PageSourceSearch

https://umami-one-delta.vercel.app/_next/static/immutable/chunks/140vrztbj_3u6.js

js umami-one-delta.vercel.app collected 2026-10-03 07:56:42 UTC 1,145,483 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,600446,e=>{"use strict";let t;var i=e.i(700519),a=(t=()=>i.isServer,{isServer:()=>t(),setIsServer(e){t=e}});e.s(["environmentManager",0,a])},593558,610934,917767,651498,e=>{"use strict";var t=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};e.s(["Subscribable",0,t],610934);var i=new class extends t{#e;#t;#i;constructor(){super(),this.#i=e=>{if("u">typeof window&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#i=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#e?this.#e:globalThis.document?.visibilityState!=="hidden"}};e.s(["focusManager",0,i],593558);var a=new class extends t{#a=!0;#t;#i;constructor(){super(),this.#i=e=>{if("u">typeof window&&window.addEventListener){let t=()=>e(!0),i=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",i)}}}}onSubscribe(){this.#t||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#i=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#a!==e&&(this.#a=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#a}};e.s(["onlineManager",0,a],917767),e.i(700519),e.s(["pendingThenable",0,function(){let e,t,i=new Promise((i,a)=>{e=i,t=a});function a(e){Object.assign(i,e),delete i.resolve,delete i.reject}return i.status="pending",i.catch(()=>{}),i.resolve=t=>{a({status:"fulfilled",value:t}),e(t)},i.reject=e=>{a({status:"rejected",reason:e}),t(e)},i}],651498)},403351,e=>{"use strict";var t=e.i(647854),i=e.i(238573),a=e.i(434938),n=class extends i.Removable{#n;#r;#o;#s;constructor(e){super(),this.#n=e.client,this.mutationId=e.mutationId,this.#o=e.mutationCache,this.#r=[],this.state=e.state||r(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#r.includes(e)||(this.#r.push(e),this.clearGcTimeout(),this.#o.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#r=this.#r.filter(t=>t!==e),this.scheduleGc(),this.#o.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#r.length||("pending"===this.state.status?this.scheduleGc():this.#o.remove(this))}continue(){return this.#s?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#l({type:"continue"})},i={client:this.#n,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#s=(0,a.createRetryer)({fn:()=>this.options.mutationFn?this.options.mutationFn(e,i):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#l({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#l({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#o.canRun(this)});let n="pending"===this.state.status,r=!this.#s.canStart();try{if(n)t();else{this.#l({type:"pending",variables:e,isPaused:r}),this.#o.config.onMutate&&await this.#o.config.onMutate(e,this,i);let t=await this.options.onMutate?.(e,i);t!==this.state.context&&this.#l({type:"pending",context:t,variables:e,isPaused:r})}let a=await this.#s.start();return await this.#o.config.onSuccess?.(a,e,this.state.context,this,i),await this.options.onSuccess?.(a,e,this.state.context,i),await this.#o.config.onSettled?.(a,null,this.state.variables,this.state.context,this,i),await this.options.onSettled?.(a,null,e,this.state.context,i),this.#l({type:"success",data:a}),a}catch(t){try{await this.#o.config.onError?.(t,e,this.state.context,this,i)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,i)}catch(e){Promise.reject(e)}try{await this.#o.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,i)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,i)}catch(e){Promise.reject(e)}throw this.#l({type:"error",error:t}),t}finally{this.#o.runNext(this)}}#l(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};
1case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),t.notifyManager.batch(()=>{this.#r.forEach(t=>{t.onMutationUpdate(e)}),this.#o.notify({mutation:this,type:"updated",action:e})})}};function r(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}e.s(["Mutation",0,n,"getDefaultState",0,r])},353433,e=>{"use strict";var t=e.i(403351),i=e.i(647854),a=e.i(610934),n=e.i(700519),r=class extends a.Subscribable{#n;#u=void 0;#d;#h;constructor(e,t){super(),this.#n=e,this.setOptions(t),this.bindMethods(),this.#c()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#n.defaultMutationOptions(e),(0,n.shallowEqualObjects)(this.options,t)||this.#n.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#d,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,n.hashKey)(t.mutationKey)!==(0,n.hashKey)(this.options.mutationKey)?this.reset():this.#d?.state.status==="pending"&&this.#d.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#d?.removeObserver(this)}onMutationUpdate(e){this.#c(),this.#m(e)}getCurrentResult(){return this.#u}reset(){this.#d?.removeObserver(this),this.#d=void 0,this.#c(),this.#m()}mutate(e,t){return this.#h=t,this.#d?.removeObserver(this),this.#d=this.#n.getMutationCache().build(this.#n,this.options),this.#d.addObserver(this),this.#d.execute(e)}#c(){let e=this.#d?.state??(0,t.getDefaultState)();this.#u={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#m(e){i.notifyManager.batch(()=>{if(this.#h&&this.hasListeners()){let t=this.#u.variables,i=this.#u.context,a={client:this.#n,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type==="success"){try{this.#h.onSuccess?.(e.data,t,i,a)}catch(e){Promise.reject(e)}try{this.#h.onSettled?.(e.data,null,t,i,a)}catch(e){Promise.reject(e)}}else if(e?.type==="error"){try{this.#h.onError?.(e.error,t,i,a)}catch(e){Promise.reject(e)}try{this.#h.onSettled?.(void 0,e.error,t,i,a)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#u)})})}};e.s(["MutationObserver",0,r])},647854,e=>{"use strict";let t,i,a,n,r,o;var s=e.i(923092).systemSetTimeoutZero,l=(t=[],i=0,a=e=>{e()},n=e=>{e()},r=s,{batch:e=>{let o;i++;try{o=e()}finally{let e;--i||(e=t,t=[],e.length&&r(()=>{n(()=>{e.forEach(e=>{a(e)})})}))}return o},batchCalls:e=>(...t)=>{o(()=>{e(...t)})},schedule:o=e=>{i?t.push(e):r(()=>{a(e)})},setNotifyFunction:e=>{a=e},setBatchNotifyFunction:e=>{n=e},setScheduler:e=>{r=e}});e.s(["notifyManager",0,l])},31616,e=>{"use strict";var t=e.i(700519),i=e.i(647854),a=e.i(434938),n=e.i(238573);function r(e,{pages:t,pageParams:i}){let a=t.length-1;return t.length>0?e.getNextPageParam(t[a],t,i[a],i):void 0}var o=class extends n.Removable{#f;#p;#g;#b;#n;#s;#v;#y;constructor(e){super(),this.#y=!1,this.#v=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#n=e.client,this.#b=this.#n.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#p=u(this.options),this.state=e.state??this.#p,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#f}get promise(){return this.#s?.promise}setOptions(e){if(this.options={...this.#v,...e},e?._type&&(this.#f=e._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=u(this.options);void 0!==e.data&&(this.setState(l(e.data,e.dataUpdatedAt)),this.#p=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#b.remove(this)}setData(e,i){let a=(0,t.replaceData)(this.state.data,e,this.options);return this.#l({data:a,type:"success",dataUpdatedAt:i?.updatedAt,manual:i?.manual}),a}setState(e){this.#l({type:"setState",state:e})}cancel(e){let i=this.#s?.promise;return this.#s?.cancel(e),i?i.then(t.noop).catch(t.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#p}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==(0,t.resolveQueryBoolean)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===t.skipToken||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
1Count>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,t.resolveStaleTime)(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!(0,t.timeUntilStale)(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#s?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#s?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#b.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#s&&(this.#y||this.#w()?this.#s.cancel({revert:!0}):this.#s.cancelRetry()),this.scheduleGc()),this.#b.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#w(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(e,i){var n;let o;if("idle"!==this.state.fetchStatus&&this.#s?.status()!=="rejected"){if(void 0!==this.state.data&&i?.cancelRefetch)this.cancel({silent:!0});else if(this.#s)return this.#s.continueRetry(),this.#s.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let s=new AbortController,l=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#y=!0,s.signal)})},u=()=>{let e,a=(0,t.ensureQueryFn)(this.options,i),n=(l(e={client:this.#n,queryKey:this.queryKey,meta:this.meta}),e);return(this.#y=!1,this.options.persister)?this.options.persister(a,n,this):a(n)},d=(l(o={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:this.#n,state:this.state,fetchFn:u}),o),h="infinite"===this.#f?(n=this.options.pages,{onFetch:(e,i)=>{let a=e.options,o=e.fetchOptions?.meta?.fetchMore?.direction,s=e.state.data?.pages||[],l=e.state.data?.pageParams||[],u={pages:[],pageParams:[]},d=0,h=async()=>{let i=!1,h=(0,t.ensureQueryFn)(e.options,e.fetchOptions),c=async(a,n,r)=>{let o;if(i)return Promise.reject(e.signal.reason);if(null==n&&a.pages.length)return Promise.resolve(a);let s=(o={client:e.client,queryKey:e.queryKey,pageParam:n,direction:r?"backward":"forward",meta:e.options.meta},(0,t.addConsumeAwareSignal)(o,()=>e.signal,()=>i=!0),o),l=await h(s),{maxPages:u}=e.options,d=r?t.addToStart:t.addToEnd;return{pages:d(a.pages,l,u),pageParams:d(a.pageParams,n,u)}};if(o&&s.length){let e="backward"===o,t={pages:s,pageParams:l},i=(e?function(e,{pages:t,pageParams:i}){return t.length>0?e.getPreviousPageParam?.(t[0],t,i[0],i):void 0}:r)(a,t);u=await c(t,i,e)}else{let e=n??s.length;do{let e=0===d?l[0]??a.initialPageParam:r(a,u);if(d>0&&null==e)break;u=await c(u,e),d++}while(d<e)}return u};e.options.persister?e.fetchFn=()=>e.options.persister?.(h,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},i):e.fetchFn=h}}):this.options.behavior;h?.onFetch(d,this),this.#g=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==d.fetchOptions?.meta)&&this.#l({type:"fetch",meta:d.fetchOptions?.meta}),this.#s=(0,a.createRetryer)({initialPromise:i?.initialPromise,fn:d.fetchFn,onCancel:e=>{e instanceof a.CancelledError&&e.revert&&this.setState({...this.#g,fetchStatus:"idle"}),s.abort()},onFail:(e,t)=>{this.#l({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0});try{let e=await this.#s.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#b.config.onSuccess?.(e,this),this.#b.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof a.CancelledError){if(e.silent)return this.#s.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#l({type:"error",error:e}),this.#b.config.onError?.(e,this),this.#b.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...s(t.data,this.options),fetchMeta:e.meta??null};case"success":let i={...t,...l(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#g=e.manual?i:void 0,i;case"error":let a=e.error;
1return{...t,error:a,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),i.notifyManager.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#b.notify({query:this,type:"updated",action:e})})}};function s(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,a.canFetch)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function l(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function u(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,i=void 0!==t,a=i?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:i?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}e.s(["Query",0,o,"fetchState",0,s],31616)},238573,e=>{"use strict";var t=e.i(923092),i=e.i(600446),a=e.i(700519),n=class{#M;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,a.isValidTimeout)(this.gcTime)&&(this.#M=t.timeoutManager.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(i.environmentManager.isServer()?1/0:3e5))}clearGcTimeout(){void 0!==this.#M&&(t.timeoutManager.clearTimeout(this.#M),this.#M=void 0)}};e.s(["Removable",0,n])},434938,e=>{"use strict";var t=e.i(593558),i=e.i(917767),a=e.i(651498),n=e.i(600446),r=e.i(700519);function o(e){return Math.min(1e3*2**e,3e4)}function s(e){return(e??"online")!=="online"||i.onlineManager.isOnline()}var l=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};e.s(["CancelledError",0,l,"canFetch",0,s,"createRetryer",0,function(e){let u,d=!1,h=0,c=(0,a.pendingThenable)(),m=()=>t.focusManager.isFocused()&&("always"===e.networkMode||i.onlineManager.isOnline())&&e.canRun(),f=()=>s(e.networkMode)&&e.canRun(),p=e=>{"pending"===c.status&&(u?.(),c.resolve(e))},g=e=>{"pending"===c.status&&(u?.(),c.reject(e))},b=()=>new Promise(t=>{u=e=>{("pending"!==c.status||m())&&t(e)},e.onPause?.()}).then(()=>{u=void 0,"pending"===c.status&&e.onContinue?.()}),v=()=>{let t;if("pending"!==c.status)return;let i=0===h?e.initialPromise:void 0;try{t=i??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(p).catch(t=>{if("pending"!==c.status)return;let i=e.retry??3*!n.environmentManager.isServer(),a=e.retryDelay??o,s="function"==typeof a?a(h,t):a,l=!0===i||"number"==typeof i&&h<i||"function"==typeof i&&i(h,t);d||!l?g(t):(h++,e.onFail?.(h,t),(0,r.sleep)(s).then(()=>m()?void 0:b()).then(()=>{d?g(t):v()}))})};return{promise:c,status:()=>c.status,cancel:t=>{if("pending"===c.status){let i=new l(t);g(i),e.onCancel?.(i)}},continue:()=>(u?.(),c),cancelRetry:()=>{d=!0},continueRetry:()=>{d=!1},canStart:f,start:()=>(f()?v():b().then(v),c)}}])},923092,e=>{"use strict";e.i(825730);var t={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},i=new class{#x=t;#k=!1;setTimeoutProvider(e){this.#x=e}setTimeout(e,t){return this.#x.setTimeout(e,t)}clearTimeout(e){this.#x.clearTimeout(e)}setInterval(e,t){return this.#x.setInterval(e,t)}clearInterval(e){this.#x.clearInterval(e)}};e.s(["systemSetTimeoutZero",0,function(e){setTimeout(e,0)},"timeoutManager",0,i])},700519,e=>{"use strict";e.i(825730);var t=e.i(923092),i="u"<typeof window||"Deno"in globalThis;function a(e,t){return(t?.queryKeyHashFn||n)(e)}function n(e){return JSON.stringify(e,(e,t)=>l(t)?Object.keys(t).sort().reduce((e,i)=>(e[i]=t[i],e),{}):t)}function r(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(Array.isArray(e)&&Array.isArray(t)){for(let i=0;i<t.length;i++)if(!r(e[i],t[i]))return!1;return!0}for(let i of Object.keys(t))if(!r(e[i],t[i]))return!1;return!0}return!1}var o=Object.prototype.hasOwnProperty;function s(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function l(e){if(!u(e))return!1;let t=e.constructor;if(void 0===t)return!0;let i=t.prototype;return!!u(i)&&!!i.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function u(e){return"[object Object]"===Object.prototype.toString.call(e)}var d=Symbol();e.s(["addConsumeAwareSignal",0,function(e,t,i){let a,n=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(a??=t(),n||(n=!0,a.aborted?i():a.addEventListener("abort",i,{once:!0})),a)}),e},"addToEnd",0,function(e,t,i=0){let a=[...e,t];return i&&a.length>i?a.slice(1):a},"addToStart",0,function(e,t,i=0){let a=[t,...e];return i&&a.length>i?a.slice(0,-1):a},"ensureQueryFn",0,function(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==d?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))},"functionalUpdate",0,function(e,t){return"function"==typeof e?e(t):e},"hashKey",0,n,"hashQueryKeyByOptions",0,a,"isServer",0,i,"isValidTimeout",0,function(e){return"number"==typeof e&&e>=0&&e!==1/0},"keepPreviousData",0,function(e){return e},"matchMutation",0,function(e,t){let{exact:i,status:a,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(i){if(n(t.options.mutationKey)!==n(s))return!1}else if(!r(t.options.mutationKey,s))return!1}return(!a||t.state.status===a)&&(!o||!!o(t))},"matchQuery",0,function(e,t){let{type:i="all",exact:n,fetchStatus:o,predicate:s,queryKey:l,stale:u}=e;if(l){if(n){if(t.queryHash!==a(l,t.options))return!1}else if(!r(t.queryKey,l))return!1}if("all"!==i){let e=t.isActive();if("active"===i&&!e||"inactive"===i&&e)return!1}return("boolean"!=typeof u||t.isStale()===u)&&(!o||o===t.state.fetchStatus)&&(!s||!!s(t))},"noop",0,function(){},"partialMatchKey",0,r,"replaceData",0,function(e,t,i){return"function"==typeof i.structuralSharing?i.structuralSharing(e,t):!1!==i.structuralSharing?function e(t,i,a=0){if(t===i)return t;if(a>500)return i;let n=s(t)&&s(i);if(!n&&!(l(t)&&l(i)))return i;let r=(n?t:Object.keys(t)).length,u=n?i:Object.keys(i),d=u.length,h=n?Array(d):{},c=0;for(let s=0;s<d;s++){let l=n?s:u[s],d=t[l],m=i[l];if(d===m){h[l]=d,(n?s<r:o.call(t,l))&&c++;continue}if(null===d||null===m||"object"!=typeof d||"object"!=typeof m){h[l]=m;continue}let f=e(d,m,a+1);h[l]=f,f===d&&c++}return r===d&&c===r?t:h}(e,t):t},"resolveQueryBoolean",0,function(e,t){return"function"==typeof e?e(t):e},"resolveStaleTime",0,function(e,t){return"function"==typeof e?e(t):e},"shallowEqualObjects",0,function(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let i in e)if(e[i]!==t[i])return!1;return!0},"shouldThrowError",0,function(e,t){return"function"==typeof e?e(...t):!!e},"skipToken",0,d,"sleep",0,function(e){return new Promise(i=>{t.timeoutManager.setTimeout(i,e)})},"timeUntilStale",0,function(e,t){return Math.max(e+(t||0)-Date.now(),0)}])},838181,e=>{"use strict";var t=e.i(866988),i=e.i(361560),a=t.createContext(void 0);e.s(["QueryClientProvider",0,({client:e,children:n})=>(t.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,i.jsx)(a.Provider,{value:e,children:n})),"useQueryClient",0,e=>{let i=t.useContext(a);if(e)return e;if(!i)throw Error("No QueryClient set, use QueryClientProvider to set one");return i}])},457725,e=>{"use strict";var t=e.i(866988),i=e.i(353433),a=e.i(700519),n=e.i(647854),r=e.i(838181);e.s(["useMutation",0,function(e,o){let s=(0,r.useQueryClient)(o),[l]=t.useState(()=>new i.MutationObserver(s,e));t.useEffect(()=>{l.setOptions(e)},[l,e]);let u=t.useSyncExternalStore(t.useCallback(e=>l.subscribe(n.notifyManager.batchCalls(e)),[l]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),d=t.useCallback((e,t)=>{l.mutate(e,t).catch(a.noop)},[l]);if(u.error&&(0,a.shouldThrowError)(l.options.throwOnError,[u.error]))throw u.error;return{...u,mutate:d,mutateAsync:u.mutate}}])},814001,846254,e=>{"use strict";let t;var i=e.i(593558),a=e.i(600446),n=e.i(647854),r=e.i(31616),o=e.i(610934),s=e.i(6
151498),l=e.i(700519),u=e.i(923092),d=class extends o.Subscribable{constructor(e,t){super(),this.options=t,this.#n=e,this.#S=null,this.#P=(0,s.pendingThenable)(),this.bindMethods(),this.setOptions(t)}#n;#T=void 0;#A=void 0;#u=void 0;#C;#E;#P;#S;#L;#R;#F;#j;#D;#N;#I=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#T.addObserver(this),h(this.#T,this.options)?this.#_():this.updateResult(),this.#B())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return c(this.#T,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return c(this.#T,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#O(),this.#W(),this.#T.removeObserver(this)}setOptions(e){let t=this.options,i=this.#T;if(this.options=this.#n.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,l.resolveQueryBoolean)(this.options.enabled,this.#T))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#z(),this.#T.setOptions(this.options),t._defaulted&&!(0,l.shallowEqualObjects)(this.options,t)&&this.#n.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#T,observer:this});let a=this.hasListeners();a&&m(this.#T,i,this.options,t)&&this.#_(),this.updateResult(),a&&(this.#T!==i||(0,l.resolveQueryBoolean)(this.options.enabled,this.#T)!==(0,l.resolveQueryBoolean)(t.enabled,this.#T)||(0,l.resolveStaleTime)(this.options.staleTime,this.#T)!==(0,l.resolveStaleTime)(t.staleTime,this.#T))&&this.#H();let n=this.#G();a&&(this.#T!==i||(0,l.resolveQueryBoolean)(this.options.enabled,this.#T)!==(0,l.resolveQueryBoolean)(t.enabled,this.#T)||n!==this.#N)&&this.#U(n)}getOptimisticResult(e){var t,i;let a=this.#n.getQueryCache().build(this.#n,e),n=this.createResult(a,e);return t=this,i=n,(0,l.shallowEqualObjects)(t.getCurrentResult(),i)||(this.#u=n,this.#E=this.options,this.#C=this.#T.state),n}getCurrentResult(){return this.#u}trackResult(e,t){return new Proxy(e,{get:(e,i)=>(this.trackProp(i),t?.(i),"promise"===i&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#P.status||this.#P.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,i))})}trackProp(e){this.#I.add(e)}getCurrentQuery(){return this.#T}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#n.defaultQueryOptions(e),i=this.#n.getQueryCache().build(this.#n,t);return i.fetch().then(()=>this.createResult(i,t))}fetch(e){return this.#_({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#u))}#_(e){this.#z();let t=this.#T.fetch(this.options,e);return e?.throwOnError||(t=t.catch(l.noop)),t}#H(){this.#O();let e=(0,l.resolveStaleTime)(this.options.staleTime,this.#T);if(a.environmentManager.isServer()||this.#u.isStale||!(0,l.isValidTimeout)(e))return;let t=(0,l.timeUntilStale)(this.#u.dataUpdatedAt,e);this.#j=u.timeoutManager.setTimeout(()=>{this.#u.isStale||this.updateResult()},t+1)}#G(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#T):this.options.refetchInterval)??!1}#U(e){this.#W(),this.#N=e,!a.environmentManager.isServer()&&!1!==(0,l.resolveQueryBoolean)(this.options.enabled,this.#T)&&(0,l.isValidTimeout)(this.#N)&&0!==this.#N&&(this.#D=u.timeoutManager.setInterval(()=>{(this.options.refetchIntervalInBackground||i.focusManager.isFocused())&&this.#_()},this.#N))}#B(){this.#H(),this.#U(this.#G())}#O(){void 0!==this.#j&&(u.timeoutManager.clearTimeout(this.#j),this.#j=void 0)}#W(){void 0!==this.#D&&(u.timeoutManager.clearInterval(this.#D),this.#D=void 0)}createResult(e,t){let i,a=this.#T,n=this.options,o=this.#u,u=this.#C,d=this.#E,c=e!==a?e.state:this.#A,{state:p}=e,g={...p},b=!1;if(t._optimisticResults){let i=this.hasListeners(),o=!i&&h(e,t),s=i&&m(e,a,t,n);(o||s)&&(g={...g,...(0,r.fetchState)(p.data,e.options)}),"isRestoring"===t._optimisticResults&&(g.fetchStatus="idle")}let{error:v,errorUpdatedAt:y,status:w}=g;i=g.data;let M=!1;if(void 0!==t.placeholderData&&void 0===i&&"pending"===w){let e;o?.isPlaceholderData&&t.placeholderData===d?.placeholderData?(e=
1o.data,M=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#F?.state.data,this.#F):t.placeholderData,void 0!==e&&(w="success",i=(0,l.replaceData)(o?.data,e,t),b=!0)}if(t.select&&void 0!==i&&!M)if(o&&i===u?.data&&t.select===this.#L)i=this.#R;else try{this.#L=t.select,i=t.select(i),i=(0,l.replaceData)(o?.data,i,t),this.#R=i,this.#S=null}catch(e){this.#S=e}this.#S&&(v=this.#S,i=this.#R,y=Date.now(),w="error");let x="fetching"===g.fetchStatus,k="pending"===w,S="error"===w,P=k&&x,T=void 0!==i,A={status:w,fetchStatus:g.fetchStatus,isPending:k,isSuccess:"success"===w,isError:S,isInitialLoading:P,isLoading:P,data:i,dataUpdatedAt:g.dataUpdatedAt,error:v,errorUpdatedAt:y,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:g.dataUpdateCount>c.dataUpdateCount||g.errorUpdateCount>c.errorUpdateCount,isFetching:x,isRefetching:x&&!k,isLoadingError:S&&!T,isPaused:"paused"===g.fetchStatus,isPlaceholderData:b,isRefetchError:S&&T,isStale:f(e,t),refetch:this.refetch,promise:this.#P,isEnabled:!1!==(0,l.resolveQueryBoolean)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=void 0!==A.data,i="error"===A.status&&!t,n=e=>{i?e.reject(A.error):t&&e.resolve(A.data)},r=()=>{n(this.#P=A.promise=(0,s.pendingThenable)())},o=this.#P;switch(o.status){case"pending":e.queryHash===a.queryHash&&n(o);break;case"fulfilled":(i||A.data!==o.value)&&r();break;case"rejected":i&&A.error===o.reason||r()}}return A}updateResult(){let e=this.#u,t=this.createResult(this.#T,this.options);if(this.#C=this.#T.state,this.#E=this.options,void 0!==this.#C.data&&(this.#F=this.#T),(0,l.shallowEqualObjects)(t,e))return;this.#u=t;let i=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,i="function"==typeof t?t():t;if("all"===i||!i&&!this.#I.size)return!0;let a=new Set(i??this.#I);return this.options.throwOnError&&a.add("error"),Object.keys(this.#u).some(t=>this.#u[t]!==e[t]&&a.has(t))};this.#m({listeners:i()})}#z(){let e=this.#n.getQueryCache().build(this.#n,this.options);if(e===this.#T)return;let t=this.#T;this.#T=e,this.#A=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#B()}#m(e){n.notifyManager.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#u)}),this.#n.getQueryCache().notify({query:this.#T,type:"observerResultsUpdated"})})}};function h(e,t){return!1!==(0,l.resolveQueryBoolean)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==(0,l.resolveQueryBoolean)(t.retryOnMount,e))||void 0!==e.state.data&&c(e,t,t.refetchOnMount)}function c(e,t,i){if(!1!==(0,l.resolveQueryBoolean)(t.enabled,e)&&"static"!==(0,l.resolveStaleTime)(t.staleTime,e)){let a="function"==typeof i?i(e):i;return"always"===a||!1!==a&&f(e,t)}return!1}function m(e,t,i,a){return(e!==t||!1===(0,l.resolveQueryBoolean)(a.enabled,e))&&(!i.suspense||"error"!==e.state.status)&&f(e,i)}function f(e,t){return!1!==(0,l.resolveQueryBoolean)(t.enabled,e)&&e.isStaleByTime((0,l.resolveStaleTime)(t.staleTime,e))}var p=e.i(866988),g=e.i(838181);e.i(361560);var b=p.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t})),v=p.createContext(!1);v.Provider;var y=(e,t,i)=>t.fetchOptimistic(e).catch(()=>{i.clearReset()});e.s(["useQuery",0,function(e,t){return function(e,t,i){let r,o=p.useContext(v),s=p.useContext(b),u=(0,g.useQueryClient)(i),d=u.defaultQueryOptions(e);u.getDefaultOptions().queries?._experimental_beforeQuery?.(d);let h=u.getQueryCache().get(d.queryHash),c=!1!==e.subscribed;if(d._optimisticResults=o?"isRestoring":c?"optimistic":void 0,d.suspense){let e=e=>"static"===e?e:Math.max(e??1e3,1e3),t=d.staleTime;d.staleTime="function"==typeof t?(...i)=>e(t(...i)):e(t),"number"==typeof d.gcTime&&(d.gcTime=Math.max(d.gcTime,1e3))}r=h?.state.error&&"function"==typeof d.throwOnError?(0,l.shouldThrowError)(d.throwOnError,[h.state.error,h]):d.throwOnError,(d.suspense||d.experimental_prefetchInRender||r)&&!s.isReset()&&(d.retryOnMount=!1),p.useEffect(()=>{s.clearReset()},[s]);let m=!u.getQueryCache().get(d.queryHash),[f]=p.useState(()=>new t(u,d)),w=f.getOptimisticResult(d),M=!o&&c;if(p.useSyncExternalStore(p.useCallback(e=>{let t=M?f.subscribe(n.notifyManager.batchCalls(e)):l.noop;return f.updateResult(),t},[f,M]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),p.useEffect(()=>{f.setOptions(d)},[d,f]),d?.suspense&&w.isPending)throw y(d,f,s);if((({result:e,errorResetBoundary:t,throwOnError:i,query:a,suspense:n})=>e.isError&&!t.isReset()&&!e.isFetching&&a&&(n&&void 0===e.data||(0,l.shouldThrowError)(i,[e.error,a])))({result:w,errorResetBoundary:s,throwOnError:d.throwOnError,query:h,suspense:d.suspense}))throw w.error;if(u.getDefaultOptions().queries?._experimental_afterQuery?.(d,w),d.experimental_prefetchInRender&&!a.environmentManager.isServer()&&w.isLoading&&w.isFetching&&!o){let e=m?y(d,f,s):h?.promise;e?.catch(l.noop).finally(()=>{f.updateResult()})}return d.notifyOnChangeProps?w:f.trackResult(w)}(e,d,t)}],814001);let w=[/^\/auth(\/|$)/,/^\/config(\/|$)/];function M(e){return e.replace(/^\/+/,"")}function x(e,t){return e?`${e.replace(/\/+$/,"")}/${M(t)}`:`/${M(t)}`}function k(e){return/^https?:\/\//i.test(e)}e.s(["getApiUrl",0,function(e,t={}){let i;if(k(e))return e;let{apiUrl:a="",basePath:n=""}=t,r=a&&(i=`/${M(e.split("?")[0])}`,!w.some(e=>e.test(i)))?k(a)?a:x(n,a):x(n,"/api");return x(r,e)}],846254)},792669,e=>{"use strict";e.s(["getRoundingMethod",0,function(e){return t=>{let i=(e?Math[e]:Math.trunc)(t);return 0===i?0:i}}])},969770,e=>{"use strict";var t=e.i(792669),i=e.i(250576),a=e.i(677417);e.s(["differenceInHours",0,function(e,n,r){let[o,s]=(0,i.normalizeDates)(r?.in,e,n),l=(o-s)/a.millisecondsInHour;return(0,t.getRoundingMethod)(r?.roundingMethod)(l)}])},11278,e=>{"use strict";var t=e.i(595053);e.s(["differenceInMilliseconds",0,function(e,i){return(0,t.toDate)(e)-(0,t.toDate)(i)}])},633521,e=>{"use strict";var t=e.i(792669),i=e.i(677417),a=e.i(11278);e.s(["differenceInMinutes",0,function(e,n,r){let o=(0,a.differenceInMilliseconds)(e,n)/i.millisecondsInMinute;return(0,t.getRoundingMethod)(r?.roundingMethod)(o)}])},617679,e=>{"use strict";var t=e.i(595053);e.s(["endOfDay",0,function(e,i){let a=(0,t.toDate)(e,i?.in);return a.setHours(23,59,59,999),a}])},874822,e=>{"use strict";var t=e.i(866988);let i=(...e)=>e.filter((e,t,i)=>!!e&&""!==e.trim()&&i.indexOf(e)===t).join(" ").trim(),a=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,i)=>i?i.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let r=(0,t.createContext)({}),o=(0,t.forwardRef)(({color:e,size:a,strokeWidth:o,absoluteStrokeWidth:s,className:l="",children:u,iconNode:d,...h},c)=>{let{size:m=24,strokeWidth:f=2,absoluteStrokeWidth:p=!1,color:g="currentColor",className:b=""}=(0,t.useContext)(r)??{},v=s??p?24*Number(o??f)/Number(a??m):o??f;return(0,t.createElement)("svg",{ref:c,...n,width:a??m??n.width,height:a??m??n.height,stroke:e??g,strokeWidth:v,className:i("lucide",b,l),...!u&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(h)&&{"aria-hidden":"true"},...h},[...d.map(([e,i])=>(0,t.createElement)(e,i)),...Array.isArray(u)?u:[u]])});e.s(["default",0,(e,n)=>{let r=(0,t.forwardRef)(({className:r,...s},l)=>(0,t.createElement)(o,{ref:l,iconNode:n,className:i(`lucide-${a(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...s}));return r.displayName=a(e),r}],874822)},215936,e=>{"use strict";let t=(0,e.i(874822).default)("align-end-horizontal",[["rect",{width:"6",height:"16",x:"4",y:"2",rx:"2",key:"z5wdxg"}],["rect",{width:"6",height:"9",x:"14",y:"9",rx:"2",key:"um7a8w"}],["path",{d:"M22 22H2",key:"19qnx5"}]]);e.s(["AlignEndHorizontal",0,t],215936)},406991,e=>{"use strict";let t=(0,e.i(874822).default)("chart-pie",[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",ke
1y:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]]);e.s(["ChartPie",0,t],406991)},194319,562949,576429,e=>{"use strict";var t=e.i(874822);let i=(0,t.default)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);e.s(["Clock",0,i],194319);let a=(0,t.default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,a],562949);let n=(0,t.default)("flame",[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]]);e.s(["Flame",0,n],576429)},702938,197930,345568,789464,e=>{"use strict";var t=e.i(874822);let i=(0,t.default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["FileText",0,i],702938);let a=(0,t.default)("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]]);e.s(["GitBranch",0,a],197930);let n=(0,t.default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);e.s(["Globe",0,n],345568);let r=(0,t.default)("panel-top",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}]]);e.s(["PanelTop",0,r],789464)},440889,e=>{"use strict";let t=(0,e.i(874822).default)("file",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]]);e.s(["File",0,t],440889)},997888,e=>{"use strict";let t=(0,e.i(874822).default)("link-2-off",[["path",{d:"M9 17H7A5 5 0 0 1 7 7",key:"10o201"}],["path",{d:"M15 7h2a5 5 0 0 1 4 8",key:"1d3206"}],["line",{x1:"8",x2:"12",y1:"12",y2:"12",key:"rvw6j4"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);e.s(["Link2Off",0,t],997888)},379702,e=>{"use strict";let t=(0,e.i(874822).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",0,t],379702)},323874,e=>{"use strict";let t=(0,e.i(874822).default)("sheet",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"3",x2:"21",y1:"9",y2:"9",key:"1vqk6q"}],["line",{x1:"3",x2:"21",y1:"15",y2:"15",key:"o2sbyz"}],["line",{x1:"9",x2:"9",y1:"9",y2:"21",key:"1ib60c"}],["line",{x1:"15",x2:"15",y1:"9",y2:"21",key:"1n26ft"}]]);e.s(["Sheet",0,t],323874)},108850,21507,443167,333062,876805,e=>{"use strict";var t=e.i(874822);let i=(0,t.default)("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);e.s(["default",0,i],21507),e.s(["Edit",0,i],108850);let a=(0,t.default)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);e.s(["default",0,a],443167),e.s(["MoreHorizontal",0,a],333062);let n=(0,t.default)("trash",[["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);e.s(["Trash",0,n],876805)},641951,e=>{"use strict";let t=(0,e.i(874822).default)("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);e.s(["Tag",0,t],641951)},124112,837450,e=>{"use strict";var t=e.i(874822);let i=(0,t.default)("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);e.s(["Target",0,i],124112);let a=(0,t.default)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);e.s(["Users",0,a],837450)},326543,477717,e=>{"use strict";var t=e.i(874822);let i=(0,t.default)("user-plus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);e.s(["UserPlus",0,i],326543);let a=(0,t.default)("video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);e.s(["Video",0,a],477717)},813692,e=>{"use strict";let t=(0,e.i(874822).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["User",0,t],813692)},417368,e=>{"use strict";let t=(0,e.i(874822).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],417368)},419582,(e,t,i)=>{"use strict";e.i(825730),Object.defineProperty(i,"__esModule",{value:!0});var a={default:function(){return b},useLinkStatus:function(){return y}};for(var n in a)Object.defineProperty(i,n,{enumerable:!0,get:a[n]});let r=e.r(744066),o=e.r(361560),s=r._(e.r(866988)),l=e.r(546450),u=e.r(36755),d=e.r(436312),h=e.r(279208),c=e.r(129372),m=e.r(471546),f=e.r(929482),p=e.r(449494),g=e.r(580448);function b(t){var i;let a,n,r,[b,y]=(0,s.useOptimistic)(f.IDLE_LINK_STATUS),w=(0,s.useRef)(null),{href:M,as:x,children:k,prefetch:S=null,passHref:P,replace:T,shallow:A,scroll:C,onClick:E,onMouseEnter:L,onTouchStart:R,legacyBehavior:F=!1,onNavigate:j,transitionTypes:D,ref:N,unstable_dynamicOnHover:I,..._}=t;a=k,F&&("string"==typeof a||"number"==typeof a)&&(a=(0,o.jsx)("a",{children:a}));let B=s.default.useContext(u.AppRouterContext),O=!1!==S,W=!1===S?"none":!0===S?"full":"auto",z="none"!==W?"auto"===W?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,H="string"==typeof(i=x||M)?i:(0,l.formatUrl)(i);if(F){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});n=s.default.Children.only(a)}let G=F?n&&"object"==typeof n&&n.ref:N,U,V=s.default.useCallback(e=>(null!==B&&(w.current=(0,f.mountLinkInstance)(e,H,B,z,O,y,U)),()=>{w.current&&((0,f.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,f.unmountPrefetchableInstance)(e)}),[O,H,B,z,y,U]),K={ref:(0,d.useMergedRef)(V,G),onClick(t){F||"function"!=typeof E||E(t),F&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(t),!B||t.defaultPrevented||function(t,i,a,n,r,o,l,u="none"){if("u">typeof window){let d,{nodeName:h}=t.currentTarget;if("A"===h.toUpperCase()&&((d=t.currentTarget.getAttribute("target"))&&"_self"!==d||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,p.isLocalURL)(i)){n&&(t.preventDefault(),location.replace(i));return}if(t.preventDefault(),o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:c}=e.r(384692);s.default.startTransition(()=>{c(i,n?"replace":"push",!1===r?m.ScrollBehavior.NoScroll:m.ScrollBehavior.Default,a.current,l,u)})}}(t,H,w,T,C,j,D,W)},onMouseEnter(e){F||"function"!=typeof L||L(e),F&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),B&&O&&(0,f.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){F||"function"!=typeof R||R(e),F&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),B&&O&&(0,f.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,h.isAbsoluteUrl)(H)?K.href=H:F&&!P&&("a"!==n.type||"href"in n.props)||(K.href=(0,c.addBasePath)(H)),r=F?s.default.cloneElement(n,K):(0,o.jsx)("a",{..._,...K,children:a}),(0,o.jsx)(v.Provider,{value:b,children:r})}let v=(0,s.createContext)(f.IDLE_LINK_STATUS),y=()=>(0,s.useContext)(v);("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},488454,e=>{"use strict";e.i(825730);var t=e.i(361560),i=e.i(419582);let a=(0,e.i(866988).forwardRef)(function({prefetch:e,...a},n){return(0,t.jsx)(i.default,{ref:n,prefetch:e,...a})});e.s(["default",0,a])},436312,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useMergedRef",{enumerable:!0,get:function(){return n}});let a=e.r(866988);function n(e,t){let i=(0,a.useRef)(null),n=(0,a.useRef)(null);return(0,a.useCallback)(a=>{if(null===a){let e=i.current;e&&(i.current=null,e());let t=n.current;t&&(n.current=null,t())}else e&&(i.current=r(e,a)),t&&(n.current=r(t,a))},[e,t])}function r(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let i=e(t);return"function"==typeof i?i:()=>e(null)}}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
1dule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},279208,(e,t,i)=>{"use strict";e.i(825730),Object.defineProperty(i,"__esModule",{value:!0});var a={DecodeError:function(){return b},MiddlewareNotFoundError:function(){return M},MissingStaticPage:function(){return w},NormalizeError:function(){return v},PageNotFoundError:function(){return y},SP:function(){return p},ST:function(){return g},WEB_VITALS:function(){return r},execOnce:function(){return o},getDisplayName:function(){return h},getLocationOrigin:function(){return u},getURL:function(){return d},isAbsoluteUrl:function(){return l},isResSent:function(){return c},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return m},stringifyError:function(){return x}};for(var n in a)Object.defineProperty(i,n,{enumerable:!0,get:a[n]});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function o(e){let t,i=!1;return(...a)=>(i||(i=!0,t=e(...a)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&s.test(e)};function u(){let{protocol:e,hostname:t,port:i}=window.location;return`${e}//${t}${i?":"+i:""}`}function d(){let{href:e}=window.location,t=u();return e.substring(t.length)}function h(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function c(e){return e.finished||e.headersSent}function m(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function f(e,t){let i=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let a=await e.getInitialProps(t);if(i&&c(i))return a;if(!a)throw Object.defineProperty(Error(`"${h(e)}.getInitialProps()" should resolve to an object. But found "${a}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return a}let p="u">typeof performance,g=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class b extends Error{}class v extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class w extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class M extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function x(e){return JSON.stringify({message:e.message,stack:e.stack})}},449494,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"isLocalURL",{enumerable:!0,get:function(){return r}});let a=e.r(279208),n=e.r(161834);function r(e){if(!(0,a.isAbsoluteUrl)(e))return!0;try{let t=(0,a.getLocationOrigin)(),i=new URL(e,t);return i.origin===t&&(0,n.hasBasePath)(i.pathname)}catch(e){return!1}}},647476,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a={assign:function(){return l},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return s}};for(var n in a)Object.defineProperty(i,n,{enumerable:!0,get:a[n]});function r(e){let t={};for(let[i,a]of e.entries()){let e=t[i];void 0===e?t[i]=a:Array.isArray(e)?e.push(a):t[i]=[e,a]}return t}function o(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function s(e){let t=new URLSearchParams;for(let[i,a]of Object.entries(e))if(Array.isArray(a))for(let e of a)t.append(i,o(e));else t.set(i,o(a));return t}function l(e,...t){for(let i of t){for(let t of i.keys())e.delete(t);for(let[t,a]of i.entries())e.append(t,a)}return e}},546450,(e,t,i)=>{"use strict";e.i(825730),Object.defineProperty(i,"__esModule",{value:!0});var a={formatUrl:function(){return s},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var n in a)Object.defineProperty(i,n,{enumerable:!0,get:a[n]});let r=e.r(744066)._(e.r(647476)),o=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:i}=e,a=e.protocol||"",n=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:i&&(u=t+(~i.indexOf(":")?`[${i}]`:i),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(r.urlQueryToSearchParams(l)));let d=e.search||l&&`?${l}`||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||o.test(a))&&!1!==u?(u="//"+(u||""),n&&"/"!==n[0]&&(n="/"+n)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),d&&"?"!==d[0]&&(d="?"+d),n=n.replace(/[?#]/g,encodeURIComponent),d=d.replace("#","%23"),`${a}${u}${n}${d}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return s(e)}},35305,(e,t,i)=>{"use strict";
1t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},561227,(e,t,i)=>{"use strict";var a=e.r(35305);function n(){}function r(){}r.resetWarningCache=n,t.exports=function(){function e(e,t,i,n,r,o){if(o!==a){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var i={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:n};return i.PropTypes=i,i}},304153,(e,t,i)=>{e.i(825730),t.exports=e.r(561227)()},621877,e=>{"use strict";e.s([],294982),e.i(294982);class t{constructor(){this._partials=new Float64Array(32),this._n=0}add(e){let t=this._partials,i=0;for(let a=0;a<this._n&&a<32;a++){let n=t[a],r=e+n,o=Math.abs(e)<Math.abs(n)?e-(r-n):n-(r-e);o&&(t[i++]=o),e=r}return t[i]=e,this._n=i+1,this}valueOf(){let e=this._partials,t=this._n,i,a,n,r=0;if(t>0){for(r=e[--t];t>0&&(r=(i=r)+(a=e[--t]),!(n=a-(r-i))););t>0&&(n<0&&e[t-1]<0||n>0&&e[t-1]>0)&&(i=r+(a=2*n),a==i-r&&(r=i))}return r}}var i=Math.PI,a=i/2,n=i/4,r=2*i,o=180/i,s=i/180,l=Math.abs,u=Math.atan,d=Math.atan2,h=Math.cos,c=Math.ceil,m=Math.exp,f=Math.hypot,p=Math.log,g=Math.pow,b=Math.sin,v=Math.sign||function(e){return e>0?1:e<0?-1:0},y=Math.sqrt,w=Math.tan;function M(e){return e>1?0:e<-1?i:Math.acos(e)}function x(e){return e>1?a:e<-1?-a:Math.asin(e)}function k(){}function S(e,t){e&&T.hasOwnProperty(e.type)&&T[e.type](e,t)}var P={Feature:function(e,t){S(e.geometry,t)},FeatureCollection:function(e,t){for(var i=e.features,a=-1,n=i.length;++a<n;)S(i[a].geometry,t)}},T={Sphere:function(e,t){t.sphere()},Point:function(e,t){e=e.coordinates,t.point(e[0],e[1],e[2])},MultiPoint:function(e,t){for(var i=e.coordinates,a=-1,n=i.length;++a<n;)e=i[a],t.point(e[0],e[1],e[2])},LineString:function(e,t){A(e.coordinates,t,0)},MultiLineString:function(e,t){for(var i=e.coordinates,a=-1,n=i.length;++a<n;)A(i[a],t,0)},Polygon:function(e,t){C(e.coordinates,t)},MultiPolygon:function(e,t){for(var i=e.coordinates,a=-1,n=i.length;++a<n;)C(i[a],t)},GeometryCollection:function(e,t){for(var i=e.geometries,a=-1,n=i.length;++a<n;)S(i[a],t)}};function A(e,t,i){var a,n=-1,r=e.length-i;for(t.lineStart();++n<r;)a=e[n],t.point(a[0],a[1],a[2]);t.lineEnd()}function C(e,t){var i=-1,a=e.length;for(t.polygonStart();++i<a;)A(e[i],t,1);t.polygonEnd()}function E(e,t){e&&P.hasOwnProperty(e.type)?P[e.type](e,t):S(e,t)}var L,R,F,j,D,N=new t,I=new t,_={point:k,lineStart:k,lineEnd:k,polygonStart:function(){N=new t,_.lineStart=B,_.lineEnd=O},polygonEnd:function(){var e=+N;I.add(e<0?r+e:e),this.lineStart=this.lineEnd=this.point=k},sphere:function(){I.add(r)}};function B(){_.point=W}function O(){z(L,R)}function W(e,t){_.point=z,L=e,R=t,e*=s,t*=s,F=e,j=h(t=t/2+n),D=b(t)}function z(e,t){e*=s,t*=s;var i=e-F,a=i>=0?1:-1,r=a*i,o=h(t=t/2+n),l=b(t),u=D*l,c=j*o+u*h(r),m=u*a*b(r);N.add(d(m,c)),F=e,j=o,D=l}function H(e){return[d(e[1],e[0]),x(e[2])]}function G(e){var t=e[0],i=e[1],a=h(i);return[a*h(t),a*b(t),b(i)]}function U(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function V(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function K(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function q(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function Y(e){var t=y(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}var X={point:$,lineStart:Q,lineEnd:J,polygonStart:function(){X.point=ee,X.lineStart=et,X.lineEnd=ei,tr=new t,_.polygonStart()},polygonEnd:function(){_.polygonEnd(),X.point=$,X.lineStart=Q,X.lineEnd=J,N<0?(e9=-(e7=180),e8=-(te=90)):tr>1e-6?te=90:tr<-1e-6&&(e8=-90),ts[0]=e9,ts[1]=e7},sphere:function(){e9=-(e7=180),e8=-(te=90)}};function $(e,t){to.push(ts=[e9=e,e7=e]),t<e8&&(e8=t),t>te&&(te=t)}function Z(e,t){var i=G([e*s,t*s]);if(tn){var a=V(tn,i),n=V([a[1],-a[0],0],a);Y(n),n=H(n);var r,u=e-tt,d=u>0?1:-1,h=n[0]*o*d,c=l(u)>180;c^(d*tt<h&&h<d*e)?(r=n[1]*o)>te&&(te=r):c^(d*tt<(h=(h+360)%360-180)&&h<d*e)?(r=-n[1]*o)<e8&&(e8=r):(t<e8&&(e8=t),t>te&&(te=t)),c?e<tt?ea(e9,e)>ea(e9,e7)&&(e7=e):ea(e,e7)>ea(e9,e7)&&(e9=e):e7>=e9?(e<e9&&(e9=e),e>e7&&(e7=e)):e>tt?ea(e9,e)>ea(e9,e7)&&(e7=e):ea(e,e7)>ea(e9,e7)&&(e9=e)}else to.push(ts=[e9=e,e7=e]);t<e8&&(e8=t),t>te&&(te=t),tn=i,tt=e}function Q(){X.point=Z}function J(){ts[0]=e9,ts[1]=e7,X.point=$,tn=null}function ee(e,t){if(tn){var i=e-tt;tr.add(l(i)>180?i+(i>0?360:-360):i)}else ti=e,ta=t;_.point(e,t),Z(e,t)}function et(){_.lineStart()}function ei(){ee(ti,ta),_.lineEnd(),l(tr)>1e-6&&(e9=-(e7=180)),ts[0]=e9,ts[1]=e7,tn=null}function ea(e,t){return(t-=e)<0?t+360:t}function en(e,t){return e[0]-t[0]}function er(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t<e[0]||e[1]<t}var eo={sphere:k,point:es,lineStart:eu,lineEnd:ec,polygonStart:function(){eo.lineStart=em,eo.lineEnd=ef},polygonEnd:function(){eo.lineStart=eu,eo.lineEnd=ec}};function es(e,t){e*=s;var i=h(t*=s);el(i*h(e),i*b(e),b(t))}function el(e,t,i){++tl,td+=(e-td)/tl,th+=(t-th)/tl,tc+=(i-tc)/tl}function eu(){eo.point=ed}function ed(e,t){e*=s;var i=h(t*=s);tM=i*h(e),tx=i*b(e),tk=b(t),eo.point=eh,el(tM,tx,tk)}function eh(e,t){e*=s;var i=h(t*=s),a=i*h(e),n=i*b(e),r=b(t),o=d(y((o=tx*r-tk*n)*o+(o=tk*a-tM*r)*o+(o=tM*n-tx*a)*o),tM*a+tx*n+tk*r);tu+=o,tm+=o*(tM+(tM=a)),tf+=o*(tx+(tx=n)),tp+=o*(tk+(tk=r)),el(tM,tx,tk)}function ec(){eo.point=es}function em(){eo.point=ep}function ef(){eg(ty,tw),eo.point=es}function ep(e,t){ty=e,tw=t,e*=s,t*=s,eo.point=eg;var i=h(t);tM=i*h(e),tx=i*b(e),tk=b(t),el(tM,tx,tk)}function eg(e,t){e*=s;var i=h(t*=s),a=i*h(e),n=i*b(e),r=b(t),o=tx*r-tk*n,l=tk*a-tM*r,u=tM*n-tx*a,d=f(o,l,u),c=x(d),m=d&&-c/d;tg.add(m*o),tb.add(m*l),tv.add(m*u),tu+=c,tm+=c*(tM+(tM=a)),tf+=c*(tx+(tx=n)),tp+=c*(tk+(tk=r)),el(tM,tx,tk)}function eb(e){return function(){return e}}function ev(e,t){function i(i,a){return t((i=e(i,a))[0],i[1])}return e.invert&&t.invert&&(i.invert=function(i,a){return(i=t.invert(i,a))&&e.invert(i[0],i[1])}),i}function ey(e,t){return[l(e)>i?e+Math.round(-e/r)*r:e,t]}function ew(e,t,i){return(e%=r)?t||i?ev(ex(e),ek(t,i)):ex(e):t||i?ek(t,i):ey}function eM(e){return function(t,a){return[(t+=e)>i?t-r:t<-i?t+r:t,a]}}function ex(e){var t=eM(e);return t.invert=eM(-e),t}function ek(e,t){var i=h(e),a=b(e),n=h(t),r=b(t);function o(e,t){var o=h(t),s=h(e)*o,l=b(e)*o,u=b(t),c=u*i+s*a;return[d(l*n-c*r,s*i-u*a),x(c*n+l*r)]}return o.invert=function(e,t){var o=h(t),s=h(e)*o,l=b(e)*o,u=b(t),c=u*n-l*r;return[d(l*n+u*r,s*i+c*a),x(c*i-s*a)]},o}function eS(e){function t(t){return t=e(t[0]*s,t[1]*s),t[0]*=o,t[1]*=o,t}return e=ew(e[0]*s,e[1]*s,e.length>2?e[2]*s:0),t.invert=function(t){return t=e.invert(t[0]*s,t[1]*s),t[0]*=o,t[1]*=o,t},t}function eP(e,t,i,a,n,o){if(i){var s=h(t),l=b(t),u=a*i;null==n?(n=t+a*r,o=t-u/2):(n=eT(s,n),o=eT(s,o),(a>0?n<o:n>o)&&(n+=a*r));for(var d,c=n;a>0?c>o:c<o;c-=u)d=H([s,-l*h(c),-l*b(c)]),e.point(d[0],d[1])}}function eT(e,t){t=G(t),t[0]-=e,Y(t);var i=M(-t[1]);return((0>-t[2]?-i:i)+r-1e-6)%r}function eA(){var e,t=[];return{point:function(t,i,a){e.push([t,i,a])},lineStart:function(){t.push(e=[])},lineEnd:k,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var i=t;return t=[],e=null,i}}}function eC(e,t){return 1e-6>l(e[0]-t[0])&&1e-6>l(e[1]-t[1])}function eE(e,t,i,a){this.x=e,this.z=t,this.o=i,this.e=a,this.v=!1,this.n=this.p=null}function eL(e,t,i,a,n){var r,o,s=[],l=[];
1if(e.forEach(function(e){if(!((t=e.length-1)<=0)){var t,i,a=e[0],o=e[t];if(eC(a,o)){if(!a[2]&&!o[2]){for(n.lineStart(),r=0;r<t;++r)n.point((a=e[r])[0],a[1]);n.lineEnd();return}o[0]+=2e-6}s.push(i=new eE(a,e,null,!0)),l.push(i.o=new eE(a,null,i,!1)),s.push(i=new eE(o,e,null,!1)),l.push(i.o=new eE(o,null,i,!0))}}),s.length){for(l.sort(t),eR(s),eR(l),r=0,o=l.length;r<o;++r)l[r].e=i=!i;for(var u,d,h=s[0];;){for(var c=h,m=!0;c.v;)if((c=c.n)===h)return;u=c.z,n.lineStart();do{if(c.v=c.o.v=!0,c.e){if(m)for(r=0,o=u.length;r<o;++r)n.point((d=u[r])[0],d[1]);else a(c.x,c.n.x,1,n);c=c.n}else{if(m)for(r=(u=c.p.z).length-1;r>=0;--r)n.point((d=u[r])[0],d[1]);else a(c.x,c.p.x,-1,n);c=c.p}u=(c=c.o).z,m=!m}while(!c.v)n.lineEnd()}}}function eR(e){if(t=e.length){for(var t,i,a=0,n=e[0];++a<t;)n.n=i=e[a],i.p=n,n=i;n.n=i=e[0],i.p=n}}function eF(e){return l(e[0])<=i?e[0]:v(e[0])*((l(e[0])+i)%r-i)}function ej(e,o){var s=eF(o),l=o[1],u=b(l),c=[b(s),-h(s),0],m=0,f=0,p=new t;1===u?l=a+1e-6:-1===u&&(l=-a-1e-6);for(var g=0,v=e.length;g<v;++g)if(w=(y=e[g]).length)for(var y,w,M=y[w-1],k=eF(M),S=M[1]/2+n,P=b(S),T=h(S),A=0;A<w;++A,k=E,P=R,T=F,M=C){var C=y[A],E=eF(C),L=C[1]/2+n,R=b(L),F=h(L),j=E-k,D=j>=0?1:-1,N=D*j,I=N>i,_=P*R;if(p.add(d(_*D*b(N),T*F+_*h(N))),m+=I?j+D*r:j,I^k>=s^E>=s){var B=V(G(M),G(C));Y(B);var O=V(c,B);Y(O);var W=(I^j>=0?-1:1)*x(O[2]);(l>W||l===W&&(B[0]||B[1]))&&(f+=I^j>=0?1:-1)}}return(m<-1e-6||m<1e-6&&p<-1e-12)^1&f}function eD(e){return Array.from(function*(e){for(let t of e)yield*t}(e))}function eN(e,t,i,a){return function(n){var r,o,s,l=t(n),u=eA(),d=t(u),h=!1,c={point:m,lineStart:p,lineEnd:g,polygonStart:function(){c.point=b,c.lineStart=v,c.lineEnd=y,o=[],r=[]},polygonEnd:function(){c.point=m,c.lineStart=p,c.lineEnd=g,o=eD(o);var e=ej(r,a);o.length?(h||(n.polygonStart(),h=!0),eL(o,e_,e,i,n)):e&&(h||(n.polygonStart(),h=!0),n.lineStart(),i(null,null,1,n),n.lineEnd()),h&&(n.polygonEnd(),h=!1),o=r=null},sphere:function(){n.polygonStart(),n.lineStart(),i(null,null,1,n),n.lineEnd(),n.polygonEnd()}};function m(t,i){e(t,i)&&n.point(t,i)}function f(e,t){l.point(e,t)}function p(){c.point=f,l.lineStart()}function g(){c.point=m,l.lineEnd()}function b(e,t){s.push([e,t]),d.point(e,t)}function v(){d.lineStart(),s=[]}function y(){b(s[0][0],s[0][1]),d.lineEnd();var e,t,i,a,l=d.clean(),c=u.result(),m=c.length;if(s.pop(),r.push(s),s=null,m){if(1&l){if((t=(i=c[0]).length-1)>0){for(h||(n.polygonStart(),h=!0),n.lineStart(),e=0;e<t;++e)n.point((a=i[e])[0],a[1]);n.lineEnd()}return}m>1&&2&l&&c.push(c.pop().concat(c.shift())),o.push(c.filter(eI))}}return c}}function eI(e){return e.length>1}function e_(e,t){return((e=e.x)[0]<0?e[1]-a-1e-6:a-e[1])-((t=t.x)[0]<0?t[1]-a-1e-6:a-t[1])}ey.invert=ey;let eB=eN(function(){return!0},function(e){var t,n=NaN,r=NaN,o=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(s,d){var c,m,f,p,g,v,y,w=s>0?i:-i,M=l(s-n);1e-6>l(M-i)?(e.point(n,r=(r+d)/2>0?a:-a),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(w,r),e.point(s,r),t=0):o!==w&&M>=i&&(1e-6>l(n-o)&&(n-=1e-6*o),1e-6>l(s-w)&&(s-=1e-6*w),c=n,m=r,f=s,p=d,r=l(y=b(c-f))>1e-6?u((b(m)*(v=h(p))*b(f)-b(p)*(g=h(m))*b(c))/(g*v*y)):(m+p)/2,e.point(o,r),e.lineEnd(),e.lineStart(),e.point(w,r),t=0),e.point(n=s,r=d),o=w},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}},function(e,t,n,r){var o;if(null==e)o=n*a,r.point(-i,o),r.point(0,o),r.point(i,o),r.point(i,0),r.point(i,-o),r.point(0,-o),r.point(-i,-o),r.point(-i,0),r.point(-i,o);else if(l(e[0]-t[0])>1e-6){var s=e[0]<t[0]?i:-i;o=n*s/2,r.point(-s,o),r.point(0,o),r.point(s,o)}else r.point(t[0],t[1])},[-i,-a]);function eO(e){var t=h(e),a=6*s,n=t>0,r=l(t)>1e-6;function o(e,i){return h(e)*h(i)>t}function u(e,a,n){var r=G(e),o=G(a),s=[1,0,0],u=V(r,o),d=U(u,u),h=u[0],c=d-h*h;if(!c)return!n&&e;var m=V(s,u),f=q(s,t*d/c);K(f,q(u,-t*h/c));var p=U(f,m),g=U(m,m),b=p*p-g*(U(f,f)-1);if(!(b<0)){var v=y(b),w=q(m,(-p-v)/g);if(K(w,f),w=H(w),!n)return w;var M,x=e[0],k=a[0],S=e[1],P=a[1];k<x&&(M=x,x=k,k=M);var T=k-x,A=1e-6>l(T-i);if(!A&&P<S&&(M=S,S=P,P=M),A||T<1e-6?A?S+P>0^w[1]<(1e-6>l(w[0]-x)?S:P):S<=w[1]&&w[1]<=P:T>i^(x<=w[0]&&w[0]<=k)){var C=q(m,(-p+v)/g);return K(C,f),[w,H(C)]}}}function d(t,a){var r=n?e:i-e,o=0;return t<-r?o|=1:t>r&&(o|=2),a<-r?o|=4:a>r&&(o|=8),o}return eN(o,function(e){var t,a,s,l,h;return{lineStart:function(){l=s=!1,h=1},point:function(c,m){var f,p,g=[c,m],b=o(c,m),v=n?b?0:d(c,m):b?d(c+(c<0?i:-i),m):0;!t&&(l=s=b)&&e.lineStart(),b!==s&&(!(p=u(t,g))||eC(t,p)||eC(g,p))&&(g[2]=1),b!==s?(h=0,b?(e.lineStart(),p=u(g,t),e.point(p[0],p[1])):(p=u(t,g),e.point(p[0],p[1],2),e.lineEnd()),t=p):r&&t&&n^b&&!(v&a)&&(f=u(g,t,!0))&&(h=0,n?(e.lineStart(),e.point(f[0][0],f[0][1]),e.point(f[1][0],f[1][1]),e.lineEnd()):(e.point(f[1][0],f[1][1]),e.lineEnd(),e.lineStart(),e.point(f[0][0],f[0][1],3))),!b||t&&eC(t,g)||e.point(g[0],g[1]),t=g,s=b,a=v},lineEnd:function(){s&&e.lineEnd(),t=null},clean:function(){return h|(l&&s)<<1}}},function(t,i,n,r){eP(r,e,a,n,t,i)},n?[0,-e]:[-i,e-i])}function eW(e,t,i,a){function n(n,r){return e<=n&&n<=i&&t<=r&&r<=a}function r(n,r,s,l){var d=0,h=0;if(null==n||(d=o(n,s))!==(h=o(r,s))||0>u(n,r)^s>0)do l.point(0===d||3===d?e:i,d>1?a:t);while((d=(d+s+4)%4)!==h)else l.point(r[0],r[1])}function o(a,n){return 1e-6>l(a[0]-e)?n>0?0:3:1e-6>l(a[0]-i)?n>0?2:1:1e-6>l(a[1]-t)?+(n>0):n>0?3:2}function s(e,t){return u(e.x,t.x)}function u(e,t){var i=o(e,1),a=o(t,1);return i!==a?i-a:0===i?t[1]-e[1]:1===i?e[0]-t[0]:2===i?e[1]-t[1]:t[0]-e[0]}return function(o){var l,u,d,h,c,m,f,p,g,b,v,y=o,w=eA(),M={point:x,lineStart:function(){M.point=k,u&&u.push(d=[]),b=!0,g=!1,f=p=NaN},lineEnd:function(){l&&(k(h,c),m&&g&&w.rejoin(),l.push(w.result())),M.point=x,g&&y.lineEnd()},polygonStart:function(){y=w,l=[],u=[],v=!0},polygonEnd:function(){var t=function(){for(var t=0,i=0,n=u.length;i<n;++i)for(var r,o,s=u[i],l=1,d=s.length,h=s[0],c=h[0],m=h[1];l<d;++l)r=c,o=m,c=(h=s[l])[0],m=h[1],o<=a?m>a&&(c-r)*(a-o)>(m-o)*(e-r)&&++t:m<=a&&(c-r)*(a-o)<(m-o)*(e-r)&&--t;return t}(),i=v&&t,n=(l=eD(l)).length;
1(i||n)&&(o.polygonStart(),i&&(o.lineStart(),r(null,null,1,o),o.lineEnd()),n&&eL(l,s,t,r,o),o.polygonEnd()),y=o,l=u=d=null}};function x(e,t){n(e,t)&&y.point(e,t)}function k(r,o){var s=n(r,o);if(u&&d.push([r,o]),b)h=r,c=o,m=s,b=!1,s&&(y.lineStart(),y.point(r,o));else if(s&&g)y.point(r,o);else{var l=[f=Math.max(-1e9,Math.min(1e9,f)),p=Math.max(-1e9,Math.min(1e9,p))],w=[r=Math.max(-1e9,Math.min(1e9,r)),o=Math.max(-1e9,Math.min(1e9,o))];!function(e,t,i,a,n,r){var o,s=e[0],l=e[1],u=t[0],d=t[1],h=0,c=1,m=u-s,f=d-l;if(o=i-s,!m&&o>0)return;if(o/=m,m<0){if(o<h)return;o<c&&(c=o)}else if(m>0){if(o>c)return;o>h&&(h=o)}if(o=n-s,m||!(o<0)){if(o/=m,m<0){if(o>c)return;o>h&&(h=o)}else if(m>0){if(o<h)return;o<c&&(c=o)}if(o=a-l,f||!(o>0)){if(o/=f,f<0){if(o<h)return;o<c&&(c=o)}else if(f>0){if(o>c)return;o>h&&(h=o)}if(o=r-l,f||!(o<0)){if(o/=f,f<0){if(o>c)return;o>h&&(h=o)}else if(f>0){if(o<h)return;o<c&&(c=o)}return h>0&&(e[0]=s+h*m,e[1]=l+h*f),c<1&&(t[0]=s+c*m,t[1]=l+c*f),!0}}}}(l,w,e,t,i,a)?s&&(y.lineStart(),y.point(r,o),v=!1):(g||(y.lineStart(),y.point(l[0],l[1])),y.point(w[0],w[1]),s||y.lineEnd(),v=!1)}f=r,p=o,g=s}return M}}var ez={sphere:k,point:k,lineStart:function(){ez.point=eG,ez.lineEnd=eH},lineEnd:k,polygonStart:k,polygonEnd:k};function eH(){ez.point=ez.lineEnd=k}function eG(e,t){e*=s,t*=s,tP=e,tT=b(t),tA=h(t),ez.point=eU}function eU(e,t){e*=s;var i=b(t*=s),a=h(t),n=l(e-tP),r=h(n),o=a*b(n),u=tA*i-tT*a*r,c=tT*i+tA*a*r;tS.add(d(y(o*o+u*u),c)),tP=e,tT=i,tA=a}function eV(e){return tS=new t,E(e,ez),+tS}var eK=[null,null],eq={type:"LineString",coordinates:eK};function eY(e,t){return eK[0]=e,eK[1]=t,eV(eq)}var eX={Feature:function(e,t){return eZ(e.geometry,t)},FeatureCollection:function(e,t){for(var i=e.features,a=-1,n=i.length;++a<n;)if(eZ(i[a].geometry,t))return!0;return!1}},e$={Sphere:function(){return!0},Point:function(e,t){var i;return i=e.coordinates,0===eY(i,t)},MultiPoint:function(e,t){for(var i,a=e.coordinates,n=-1,r=a.length;++n<r;){if(i=a[n],0===eY(i,t))return!0}return!1},LineString:function(e,t){return eQ(e.coordinates,t)},MultiLineString:function(e,t){for(var i=e.coordinates,a=-1,n=i.length;++a<n;)if(eQ(i[a],t))return!0;return!1},Polygon:function(e,t){return eJ(e.coordinates,t)},MultiPolygon:function(e,t){for(var i=e.coordinates,a=-1,n=i.length;++a<n;)if(eJ(i[a],t))return!0;return!1},GeometryCollection:function(e,t){for(var i=e.geometries,a=-1,n=i.length;++a<n;)if(eZ(i[a],t))return!0;return!1}};function eZ(e,t){return!!(e&&e$.hasOwnProperty(e.type))&&e$[e.type](e,t)}function eQ(e,t){for(var i,a,n,r=0,o=e.length;r<o;r++){if(0===(a=eY(e[r],t))||r>0&&(n=eY(e[r],e[r-1]))>0&&i<=n&&a<=n&&(i+a-n)*(1-Math.pow((i-a)/n,2))<1e-12*n)return!0;i=a}return!1}function eJ(e,t){return!!ej(e.map(e0),e1(t))}function e0(e){return(e=e.map(e1)).pop(),e}function e1(e){return[e[0]*s,e[1]*s]}function e2(e,t,i){e*=1,t*=1,i=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+i;for(var a=-1,n=0|Math.max(0,Math.ceil((t-e)/i)),r=Array(n);++a<n;)r[a]=e+a*i;return r}function e3(e,t,i){var a=e2(e,t-1e-6,i).concat(t);return function(e){return a.map(function(t){return[e,t]})}}function e4(e,t,i){var a=e2(e,t-1e-6,i).concat(t);return function(e){return a.map(function(t){return[t,e]})}}function e5(){var e,t,i,a,n,r,o,s,u,d,h,m,f=10,p=10,g=90,b=360,v=2.5;function y(){return{type:"MultiLineString",coordinates:w()}}function w(){return e2(c(a/g)*g,i,g).map(h).concat(e2(c(s/b)*b,o,b).map(m)).concat(e2(c(t/f)*f,e,f).filter(function(e){return l(e%g)>1e-6}).map(u)).concat(e2(c(r/p)*p,n,p).filter(function(e){return l(e%b)>1e-6}).map(d))}return y.lines=function(){return w().map(function(e){return{type:"LineString",coordinates:e}})},y.outline=function(){return{type:"Polygon",coordinates:[h(a).concat(m(o).slice(1),h(i).reverse().slice(1),m(s).reverse().slice(1))]}},y.extent=function(e){return arguments.length?y.extentMajor(e).extentMinor(e):y.extentMinor()},y.extentMajor=function(e){return arguments.length?(a=+e[0][0],i=+e[1][0],s=+e[0][1],o=+e[1][1],a>i&&(e=a,a=i,i=e),s>o&&(e=s,s=o,o=e),y.precision(v)):[[a,s],[i,o]]},y.extentMinor=function(i){return arguments.length?(t=+i[0][0],e=+i[1][0],r=+i[0][1],n=+i[1][1],t>e&&(i=t,t=e,e=i),r>n&&(i=r,r=n,n=i),y.precision(v)):[[t,r],[e,n]]},y.step=function(e){return arguments.length?y.stepMajor(e).stepMinor(e):y.stepMinor()},y.stepMajor=function(e){return arguments.length?(g=+e[0],b=+e[1],y):[g,b]},y.stepMinor=function(e){return arguments.length?(f=+e[0],p=+e[1],y):[f,p]},y.precision=function(l){return arguments.length?(v=+l,u=e3(r,n,90),d=e4(t,e,v),h=e3
vendor: 5,922 bytes, line 1
1(s,o,90),m=e4(a,i,v),y):v},y.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}let e6=e=>e;var e9,e8,e7,te,tt,ti,ta,tn,tr,to,ts,tl,tu,td,th,tc,tm,tf,tp,tg,tb,tv,ty,tw,tM,tx,tk,tS,tP,tT,tA,tC,tE,tL,tR,tF=new t,tj=new t,tD={point:k,lineStart:k,lineEnd:k,polygonStart:function(){tD.lineStart=tN,tD.lineEnd=tB},polygonEnd:function(){tD.lineStart=tD.lineEnd=tD.point=k,tF.add(l(tj)),tj=new t},result:function(){var e=tF/2;return tF=new t,e}};function tN(){tD.point=tI}function tI(e,t){tD.point=t_,tC=tL=e,tE=tR=t}function t_(e,t){tj.add(tR*e-tL*t),tL=e,tR=t}function tB(){t_(tC,tE)}var tO=1/0,tW=1/0,tz=-1/0,tH=tz;let tG={point:function(e,t){e<tO&&(tO=e),e>tz&&(tz=e),t<tW&&(tW=t),t>tH&&(tH=t)},lineStart:k,lineEnd:k,polygonStart:k,polygonEnd:k,result:function(){var e=[[tO,tW],[tz,tH]];return tz=tH=-(tW=tO=1/0),e}};var tU,tV,tK,tq,tY=0,tX=0,t$=0,tZ=0,tQ=0,tJ=0,t0=0,t1=0,t2=0,t3={point:t4,lineStart:t5,lineEnd:t8,polygonStart:function(){t3.lineStart=t7,t3.lineEnd=ie},polygonEnd:function(){t3.point=t4,t3.lineStart=t5,t3.lineEnd=t8},result:function(){var e=t2?[t0/t2,t1/t2]:tJ?[tZ/tJ,tQ/tJ]:t$?[tY/t$,tX/t$]:[NaN,NaN];return tY=tX=t$=tZ=tQ=tJ=t0=t1=t2=0,e}};function t4(e,t){tY+=e,tX+=t,++t$}function t5(){t3.point=t6}function t6(e,t){t3.point=t9,t4(tK=e,tq=t)}function t9(e,t){var i=e-tK,a=t-tq,n=y(i*i+a*a);tZ+=n*(tK+e)/2,tQ+=n*(tq+t)/2,tJ+=n,t4(tK=e,tq=t)}function t8(){t3.point=t4}function t7(){t3.point=it}function ie(){ii(tU,tV)}function it(e,t){t3.point=ii,t4(tU=tK=e,tV=tq=t)}function ii(e,t){var i=e-tK,a=t-tq,n=y(i*i+a*a);tZ+=n*(tK+e)/2,tQ+=n*(tq+t)/2,tJ+=n,t0+=(n=tq*e-tK*t)*(tK+e),t1+=n*(tq+t),t2+=3*n,t4(tK=e,tq=t)}function ia(e){this._context=e}ia.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,r)}},result:k};var ir,io,is,il,iu,id=new t,ih={point:k,lineStart:function(){ih.point=ic},lineEnd:function(){ir&&im(io,is),ih.point=k},polygonStart:function(){ir=!0},polygonEnd:function(){ir=null},result:function(){var e=+id;return id=new t,e}};function ic(e,t){ih.point=im,io=il=e,is=iu=t}function im(e,t){il-=e,iu-=t,id.add(y(il*il+iu*iu)),il=e,iu=t}function ip(){this._string=[]}function ig(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}function ib(e){return function(t){var i=new iv;for(var a in e)i[a]=e[a];return i.stream=t,i}}function iv(){}function iy(e,t,i){var a=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),null!=a&&e.clipExtent(null),E(i,e.stream(tG)),t(tG.result()),null!=a&&e.clipExtent(a),e}function iw(e,t,i){return iy(e,function(i){var a=t[1][0]-t[0][0],n=t[1][1]-t[0][1],r=Math.min(a/(i[1][0]-i[0][0]),n/(i[1][1]-i[0][1])),o=+t[0][0]+(a-r*(i[1][0]+i[0][0]))/2,s=+t[0][1]+(n-r*(i[1][1]+i[0][1]))/2;e.scale(150*r).translate([o,s])},i)}function iM(e,t,i){return iw(e,[[0,0],t],i)}function ix(e,t,i){return iy(e,function(i){var a=+t,n=a/(i[1][0]-i[0][0]),r=(a-n*(i[1][0]+i[0][0]))/2,o=-n*i[0][1];e.scale(150*n).translate([r,o])},i)}function ik(e,t,i){return iy(e,function(i){var a=+t,n=a/(i[1][1]-i[0][1]),r=-n*i[0][0],o=(a-n*(i[1][1]+i[0][1]))/2;e.scale(150*n).translate([r,o])},i)}ip.prototype={_radius:4.5,_circle:ig(4.5),pointRadius:function(e){return(e*=1)!==this._radius&&(this._radius=e,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=ig(this._radius)),this._string.push("M",e,",",t,this._circle)}},result:function(){if(!this._string.length)return null;var e=this._string.join("");return this._string=[],e}},iv.prototype={constructor:iv,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var iS=h(30*s);function iP(e,t){var i;return+t?function(e,t){function i(a,n,r,o,s,u,h,c,m,f,p,g,b,v){var w=h-a,M=c-n,k=w*w+M*M;if(k>4*t&&b--){var S=o+f,P=s+p,T=u+g,A=y(S*S+P*P+T*T),C=x(T/=A),E=1e-6>l(l(T)-1)||1e-6>l(r-m)?(r+m)/2:d(P,S),L=e(E,C),R=L[0],F=L[1],j=R-a,D=F-n,N=M*j-w*D;(N*N/k>t||l((w*j+M*D)/k-.5)>.3||o*f+s*p+u*g<iS)&&(i(a,n,r,o,s,u,R,F,E,S/=A,P/=A,T,b,v),v.point(R,F),i(R,F,E,S,P,T,h,c,m,f,p,g,b,v))}}return function(t){var a,n,r,o,s,l,u,d,h,c,m,f,p={point:g,lineStart:b,lineEnd:y,polygonStart:function(){t.polygonStart(),p.lineStart=w},polygonEnd:function(){t.polygonEnd(),p.lineStart=b}};function g(i,a){i=e(i,a),t.point(i[0],i[1])}function b(){d=NaN,p.point=v,t.lineStart()}function v(a,n){var r=G([a,n]),o=e(a,n);i(d,h,u,c,m,f,d=o[0],h=o[1],u=a,c=r[0],m=r[1],f=r[2],16,t),t.point(d,h)}function y(){p.point=g,t.lineEnd()}function w(){b(),p.point=M,p.lineEnd=x}function M(e,t){v(a=e,t),n=d,r=h,o=c,s=m,l=f,p.point=v}function x(){i(d,h,u,c,m,f,n,r,a,o,s,l,16,t),p.lineEnd=y,y()}return p}}(e,t):(i=e,ib({point:function(e,t){e=i(e,t),this.stream.point(e[0],e[1])}}))}var iT=ib({point:function(e,t){this.stream.point(e*s,t*s)}});function iA(e,t,i,a,n,r){if(!r){function o(r,o){return[t+e*(r*=a),i-e*(o*=n)]}return o.invert=function(r,o){return[(r-t)/e*a,(i-o)/e*n]},o}var s=h(r),l=b(r),u=s*e,d=l*e,c=s/e,m=l/e,f=(l*i-s*t)/e,p=(l*t+s*i)/e;function g(e,r){return[u*(e*=a)-d*(r*=n)+t,i-d*e-u*r]}
vendor: 4,558 bytes, line 1
1return g.invert=function(e,t){return[a*(c*e-m*t+f),n*(p-m*e-c*t)]},g}function iC(e){return iE(function(){return e})()}function iE(e){var t,i,a,n,r,l,u,d,h,c,m=150,f=480,p=250,g=0,b=0,v=0,w=0,M=0,x=0,k=1,S=1,P=null,T=eB,A=null,C=e6,E=.5;function L(e){return d(e[0]*s,e[1]*s)}function R(e){return(e=d.invert(e[0],e[1]))&&[e[0]*o,e[1]*o]}function F(){var e=iA(m,0,0,k,S,x).apply(null,t(g,b)),a=iA(m,f-e[0],p-e[1],k,S,x);return i=ew(v,w,M),u=ev(t,a),d=ev(i,u),l=iP(u,E),j()}function j(){return h=c=null,L}return L.stream=function(e){var t;return h&&c===e?h:h=iT((t=i,ib({point:function(e,i){var a=t(e,i);return this.stream.point(a[0],a[1])}}))(T(l(C(c=e)))))},L.preclip=function(e){return arguments.length?(T=e,P=void 0,j()):T},L.postclip=function(e){return arguments.length?(C=e,A=a=n=r=null,j()):C},L.clipAngle=function(e){return arguments.length?(T=+e?eO(P=e*s):(P=null,eB),j()):P*o},L.clipExtent=function(e){return arguments.length?(C=null==e?(A=a=n=r=null,e6):eW(A=+e[0][0],a=+e[0][1],n=+e[1][0],r=+e[1][1]),j()):null==A?null:[[A,a],[n,r]]},L.scale=function(e){return arguments.length?(m=+e,F()):m},L.translate=function(e){return arguments.length?(f=+e[0],p=+e[1],F()):[f,p]},L.center=function(e){return arguments.length?(g=e[0]%360*s,b=e[1]%360*s,F()):[g*o,b*o]},L.rotate=function(e){return arguments.length?(v=e[0]%360*s,w=e[1]%360*s,M=e.length>2?e[2]%360*s:0,F()):[v*o,w*o,M*o]},L.angle=function(e){return arguments.length?(x=e%360*s,F()):x*o},L.reflectX=function(e){return arguments.length?(k=e?-1:1,F()):k<0},L.reflectY=function(e){return arguments.length?(S=e?-1:1,F()):S<0},L.precision=function(e){return arguments.length?(l=iP(u,E=e*e),j()):y(E)},L.fitExtent=function(e,t){return iw(L,e,t)},L.fitSize=function(e,t){return iM(L,e,t)},L.fitWidth=function(e,t){return ix(L,e,t)},L.fitHeight=function(e,t){return ik(L,e,t)},function(){return t=e.apply(this,arguments),L.invert=t.invert&&R,F()}}function iL(e){var t=0,a=i/3,n=iE(e),r=n(t,a);return r.parallels=function(e){return arguments.length?n(t=e[0]*s,a=e[1]*s):[t*o,a*o]},r}function iR(e,t){var a=b(e),n=(a+b(t))/2;if(1e-6>l(n)){var r=h(e);function o(e,t){return[e*r,b(t)/r]}return o.invert=function(e,t){return[e/r,x(t*r)]},o}var s=1+a*(2*n-a),u=y(s)/n;function c(e,t){var i=y(s-2*n*b(t))/n;return[i*b(e*=n),u-i*h(e)]}return c.invert=function(e,t){var a=u-t,r=d(e,l(a))*v(a);return a*n<0&&(r-=i*v(e)*v(a)),[r/n,x((s-(e*e+a*a)*n*n)/(2*n))]},c}function iF(){return iL(iR).scale(155.424).center([0,33.6442])}function ij(){return iF().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function iD(e){return function(t,i){var a=h(t),n=h(i),r=e(a*n);return r===1/0?[2,0]:[r*n*b(t),r*b(i)]}}function iN(e){return function(t,i){var a=y(t*t+i*i),n=e(a),r=b(n);return[d(t*r,a*h(n)),x(a&&i*r/a)]}}var iI=iD(function(e){return y(2/(1+e))});iI.invert=iN(function(e){return 2*x(e/2)});var i_=iD(function(e){return(e=M(e))&&e/b(e)});function iB(e,t){return[e,p(w((a+t)/2))]}function iO(e){var t,a,n,r=iC(e),o=r.center,s=r.scale,l=r.translate,u=r.clipExtent,d=null;function h(){var o=i*s(),l=r(eS(r.rotate()).invert([0,0]));return u(null==d?[[l[0]-o,l[1]-o],[l[0]+o,l[1]+o]]:e===iB?[[Math.max(l[0]-o,d),t],[Math.min(l[0]+o,a),n]]:[[d,Math.max(l[1]-o,t)],[a,Math.min(l[1]+o,n)]])}return r.scale=function(e){return arguments.length?(s(e),h()):s()},r.translate=function(e){return arguments.length?(l(e),h()):l()},r.center=function(e){return arguments.length?(o(e),h()):o()},r.clipExtent=function(e){return arguments.length?(null==e?d=t=a=n=null:(d=+e[0][0],t=+e[0][1],a=+e[1][0],n=+e[1][1]),h()):null==d?null:[[d,t],[a,n]]},h()}function iW(e){return w((a+e)/2)}function iz(e,t){var n=h(e),r=e===t?b(e):p(n/h(t))/p(iW(t)/iW(e)),o=n*g(iW(e),r)/r;if(!r)return iB;function s(e,t){o>0?t<-a+1e-6&&(t=-a+1e-6):t>a-1e-6&&(t=a-1e-6);var i=o/g(iW(t),r);return[i*b(r*e),o-i*h(r*e)]}return s.invert=function(e,t){var n=o-t,s=v(r)*y(e*e+n*n),h=d(e,l(n))*v(n);return n*r<0&&(h-=i*v(e)*v(n)),[h/r,2*u(g(o/s,1/r))-a]},s}function iH(e,t){return[e,t]}function iG(e,t){var a=h(e),n=e===t?b(e):(a-h(t))/(t-e),r=a/n+e;if(1e-6>l(n))return iH;function o(e,t){var i=r-t,a=n*e;return[i*b(a),r-i*h(a)]}return o.invert=function(e,t){var a=r-t,o=d(e,l(a))*v(a);return a*n<0&&(o-=i*v(e)*v(a)),[o/n,r-v(n)*y(e*e+a*a)]},o}i_.invert=iN(function(e){return e}),iB.invert=function(e,t){return[e,2*u(m(t))-a]},iH.invert=iH;var iU=y(3)/2;function iV(e,t){var i=x(iU*b(t)),a=i*i,n=a*a*a;return[e*h(i)/(iU*(1.340264+-.24331799999999998*a+n*(.0062510000000000005+.034164*a))),i*(1.340264+-.081106*a+n*(893e-6+.003796
1*a))]}function iK(e,t){var i=h(t),a=h(e)*i;return[i*b(e)/a,b(t)/a]}function iq(e,t){var i=t*t,a=i*i;return[e*(.8707-.131979*i+a*(-.013791+a*(.003971*i-.001529*a))),t*(1.007226+i*(.015085+a*(-.044475+.028874*i-.005916*a)))]}function iY(e,t){return[h(t)*b(e),b(t)]}function iX(e,t){var i=h(t),a=1+h(e)*i;return[i*b(e)/a,b(t)/a]}function i$(e,t){return[p(w((a+t)/2)),-e]}iV.invert=function(e,t){for(var i,a,n=t,r=n*n,o=r*r*r,s=0;s<12&&(a=n*(1.340264+-.081106*r+o*(893e-6+.003796*r))-t,n-=i=a/(1.340264+-.24331799999999998*r+o*(.0062510000000000005+.034164*r)),o=(r=n*n)*r*r,!(1e-12>l(i)));++s);return[iU*e*(1.340264+-.24331799999999998*r+o*(.0062510000000000005+.034164*r))/h(n),x(b(n)/iU)]},iK.invert=iN(u),iq.invert=function(e,t){var i,a=t,n=25;do{var r=a*a,o=r*r;a-=i=(a*(1.007226+r*(.015085+o*(-.044475+.028874*r-.005916*o)))-t)/(1.007226+r*(.045255+o*(-.311325+.259866*r-.005916*11*o)))}while(l(i)>1e-6&&--n>0)return[e/(.8707+(r=a*a)*(-.131979+r*(-.013791+r*r*r*(.003971-.001529*r)))),a]},iY.invert=iN(x),iX.invert=iN(function(e){return 2*u(e)}),i$.invert=function(e,t){return[-t,2*u(m(e))-a]},e.s(["geoAlbers",0,ij,"geoAlbersUsa",0,function(){var e,t,i,a,n,r,o=ij(),s=iF().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=iF().rotate([157,0]).center([-3,19.9]).parallels([8,18]),u={point:function(e,t){r=[e,t]}};function d(e){var t=e[0],o=e[1];return r=null,i.point(t,o),r||(a.point(t,o),r)||(n.point(t,o),r)}function h(){return e=t=null,d}return d.invert=function(e){var t=o.scale(),i=o.translate(),a=(e[0]-i[0])/t,n=(e[1]-i[1])/t;return(n>=.12&&n<.234&&a>=-.425&&a<-.214?s:n>=.166&&n<.234&&a>=-.214&&a<-.115?l:o).invert(e)},d.stream=function(i){var a,n;return e&&t===i?e:(n=(a=[o.stream(t=i),s.stream(i),l.stream(i)]).length,e={point:function(e,t){for(var i=-1;++i<n;)a[i].point(e,t)},sphere:function(){for(var e=-1;++e<n;)a[e].sphere()},lineStart:function(){for(var e=-1;++e<n;)a[e].lineStart()},lineEnd:function(){for(var e=-1;++e<n;)a[e].lineEnd()},polygonStart:function(){for(var e=-1;++e<n;)a[e].polygonStart()},polygonEnd:function(){for(var e=-1;++e<n;)a[e].polygonEnd()}})},d.precision=function(e){return arguments.length?(o.precision(e),s.precision(e),l.precision(e),h()):o.precision()},d.scale=function(e){return arguments.length?(o.scale(e),s.scale(.35*e),l.scale(e),d.translate(o.translate())):o.scale()},d.translate=function(e){if(!arguments.length)return o.translate();var t=o.scale(),r=+e[0],d=+e[1];return i=o.translate(e).clipExtent([[r-.455*t,d-.238*t],[r+.455*t,d+.238*t]]).stream(u),a=s.translate([r-.307*t,d+.201*t]).clipExtent([[r-.425*t+1e-6,d+.12*t+1e-6],[r-.214*t-1e-6,d+.234*t-1e-6]]).stream(u),n=l.translate([r-.205*t,d+.212*t]).clipExtent([[r-.214*t+1e-6,d+.166*t+1e-6],[r-.115*t-1e-6,d+.234*t-1e-6]]).stream(u),h()},d.fitExtent=function(e,t){return iw(d,e,t)},d.fitSize=function(e,t){return iM(d,e,t)},d.fitWidth=function(e,t){return ix(d,e,t)},d.fitHeight=function(e,t){return ik(d,e,t)},d.scale(1070)},"geoArea",0,function(e){return I=new t,E(e,_),2*I},"geoAzimuthalEqualArea",0,function(){return iC(iI).scale(124.75).clipAngle(179.999)},"geoAzimuthalEqualAreaRaw",0,iI,"geoAzimuthalEquidistant",0,function(){return iC(i_).scale(79.4188).clipAngle(179.999)},"geoAzimuthalEquidistantRaw",0,i_,"geoBounds",0,function(e){var t,i,a,n,r,o,s;if(te=e7=-(e9=e8=1/0),to=[],E(e,X),i=to.length){for(to.sort(en),t=1,r=[a=to[0]];t<i;++t)er(a,(n=to[t])[0])||er(a,n[1])?(ea(a[0],n[1])>ea(a[0],a[1])&&(a[1]=n[1]),ea(n[0],a[1])>ea(a[0],a[1])&&(a[0]=n[0])):r.push(a=n);for(o=-1/0,i=r.length-1,t=0,a=r[i];t<=i;a=n,++t)n=r[t],(s=ea(a[1],n[0]))>o&&(o=s,e9=n[0],e7=a[1])}return to=ts=null,e9===1/0||e8===1/0?[[NaN,NaN],[NaN,NaN]]:[[e9,e8],[e7,te]]},"geoCentroid",0,function(e){tl=tu=td=th=tc=tm=tf=tp=0,tg=new t,tb=new t,tv=new t,E(e,eo);var i=+tg,a=+tb,n=+tv,r=f(i,a,n);return r<1e-12&&(i=tm,a=tf,n=tp,tu<1e-6&&(i=td,a=th,n=tc),(r=f(i,a,n))<1e-12)?[NaN,NaN]:[d(a,i)*o,x(n/r)*o]},"geoCircle",0,function(){var e,t,i=eb([0,0]),a=eb(90),n=eb(6),r={point:function(i,a){e.push(i=t(i,a)),i[0]*=o,i[1]*=o}};function l(){var o=i.apply(this,arguments),l=a.apply(this,arguments)*s,u=n.apply(this,arguments)*s;
1return e=[],t=ew(-o[0]*s,-o[1]*s,0).invert,eP(r,l,u,1),o={type:"Polygon",coordinates:[e]},e=t=null,o}return l.center=function(e){return arguments.length?(i="function"==typeof e?e:eb([+e[0],+e[1]]),l):i},l.radius=function(e){return arguments.length?(a="function"==typeof e?e:eb(+e),l):a},l.precision=function(e){return arguments.length?(n="function"==typeof e?e:eb(+e),l):n},l},"geoClipAntimeridian",0,eB,"geoClipCircle",0,eO,"geoClipExtent",0,function(){var e,t,i,a=0,n=0,r=960,o=500;return i={stream:function(i){return e&&t===i?e:e=eW(a,n,r,o)(t=i)},extent:function(s){return arguments.length?(a=+s[0][0],n=+s[0][1],r=+s[1][0],o=+s[1][1],e=t=null,i):[[a,n],[r,o]]}}},"geoClipRectangle",0,eW,"geoConicConformal",0,function(){return iL(iz).scale(109.5).parallels([30,30])},"geoConicConformalRaw",0,iz,"geoConicEqualArea",0,iF,"geoConicEqualAreaRaw",0,iR,"geoConicEquidistant",0,function(){return iL(iG).scale(131.154).center([0,13.9389])},"geoConicEquidistantRaw",0,iG,"geoContains",0,function(e,t){return(e&&eX.hasOwnProperty(e.type)?eX[e.type]:eZ)(e,t)},"geoDistance",0,eY,"geoEqualEarth",0,function(){return iC(iV).scale(177.158)},"geoEqualEarthRaw",0,iV,"geoEquirectangular",0,function(){return iC(iH).scale(152.63)},"geoEquirectangularRaw",0,iH,"geoGnomonic",0,function(){return iC(iK).scale(144.049).clipAngle(60)},"geoGnomonicRaw",0,iK,"geoGraticule",0,e5,"geoGraticule10",0,function(){return e5()()},"geoIdentity",0,function(){var e,t,i,a,n,r,l,u=1,d=0,c=0,m=1,f=1,p=0,g=null,v=1,y=1,w=ib({point:function(e,t){var i=k([e,t]);this.stream.point(i[0],i[1])}}),M=e6;function x(){return v=u*m,y=u*f,r=l=null,k}function k(i){var a=i[0]*v,n=i[1]*y;if(p){var r=n*e-a*t;a=a*e+n*t,n=r}return[a+d,n+c]}return k.invert=function(i){var a=i[0]-d,n=i[1]-c;if(p){var r=n*e+a*t;a=a*e-n*t,n=r}return[a/v,n/y]},k.stream=function(e){return r&&l===e?r:r=w(M(l=e))},k.postclip=function(e){return arguments.length?(M=e,g=i=a=n=null,x()):M},k.clipExtent=function(e){return arguments.length?(M=null==e?(g=i=a=n=null,e6):eW(g=+e[0][0],i=+e[0][1],a=+e[1][0],n=+e[1][1]),x()):null==g?null:[[g,i],[a,n]]},k.scale=function(e){return arguments.length?(u=+e,x()):u},k.translate=function(e){return arguments.length?(d=+e[0],c=+e[1],x()):[d,c]},k.angle=function(i){return arguments.length?(t=b(p=i%360*s),e=h(p),x()):p*o},k.reflectX=function(e){return arguments.length?(m=e?-1:1,x()):m<0},k.reflectY=function(e){return arguments.length?(f=e?-1:1,x()):f<0},k.fitExtent=function(e,t){return iw(k,e,t)},k.fitSize=function(e,t){return iM(k,e,t)},k.fitWidth=function(e,t){return ix(k,e,t)},k.fitHeight=function(e,t){return ik(k,e,t)},k},"geoInterpolate",0,function(e,t){var i,a,n=e[0]*s,r=e[1]*s,l=t[0]*s,u=t[1]*s,c=h(r),m=b(r),f=h(u),p=b(u),g=c*h(n),v=c*b(n),w=f*h(l),M=f*b(l),k=2*x(y((i=b((i=u-r)/2))*i+c*f*((a=b((a=l-n)/2))*a))),S=b(k),P=k?function(e){var t=b(e*=k)/S,i=b(k-e)/S,a=i*g+t*w,n=i*v+t*M;return[d(n,a)*o,d(i*m+t*p,y(a*a+n*n))*o]}:function(){return[n*o,r*o]};return P.distance=k,P},"geoLength",0,eV,"geoMercator",0,function(){return iO(iB).scale(961/r)},"geoMercatorRaw",0,iB,"geoNaturalEarth1",0,function(){return iC(iq).scale(175.295)},"geoNaturalEarth1Raw",0,iq,"geoOrthographic",0,function(){return iC(iY).scale(249.5).clipAngle(90.000001)},"geoOrthographicRaw",0,iY,"geoPath",0,function(e,t){var i,a,n=4.5;function r(e){return e&&("function"==typeof n&&a.pointRadius(+n.apply(this,arguments)),E(e,i(a))),a.result()}return r.area=function(e){return E(e,i(tD)),tD.result()},r.measure=function(e){return E(e,i(ih)),ih.result()},r.bounds=function(e){return E(e,i(tG)),tG.result()},r.centroid=function(e){return E(e,i(t3)),t3.result()},r.projection=function(t){return arguments.length?(i=null==t?(e=null,e6):(e=t).stream,r):e},r.context=function(e){return arguments.length?(a=null==e?(t=null,new ip):new ia(t=e),"function"!=typeof n&&a.pointRadius(n),r):t},r.pointRadius=function(e){return arguments.length?(n="function"==typeof e?e:(a.pointRadius(+e),+e),r):n},r.projection(e).context(t)},"geoProjection",0,iC,"geoProjectionMutator",0,iE,"geoRotation",0,eS,"geoStereographic",0,function(){return iC(iX).scale(250).clipAngle(142)},"geoStereographicRaw",0,iX,"geoStream",0,E,"geoTransform",0,function(e){return{stream
1:ib(e)}},"geoTransverseMercator",0,function(){var e=iO(i$),t=e.center,i=e.rotate;return e.center=function(e){return arguments.length?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return arguments.length?i([e[0],e[1],e.length>2?e[2]+90:90]):[(e=i())[0],e[1],e[2]-90]},i([0,0,90]).scale(159.155)},"geoTransverseMercatorRaw",0,i$],621877)},241862,e=>{"use strict";function t(e){return e}function i(e){if(null==e)return t;var i,a,n=e.scale[0],r=e.scale[1],o=e.translate[0],s=e.translate[1];return function(e,t){t||(i=a=0);var l=2,u=e.length,d=Array(u);for(d[0]=(i+=e[0])*n+o,d[1]=(a+=e[1])*r+s;l<u;)d[l]=e[l],++l;return d}}function a(e){var t,a=i(e.transform),n=1/0,r=1/0,o=-1/0,s=-1/0;function l(e){(e=a(e))[0]<n&&(n=e[0]),e[0]>o&&(o=e[0]),e[1]<r&&(r=e[1]),e[1]>s&&(s=e[1])}for(t in e.arcs.forEach(function(e){for(var t,i=-1,l=e.length;++i<l;)(t=a(e[i],i))[0]<n&&(n=t[0]),t[0]>o&&(o=t[0]),t[1]<r&&(r=t[1]),t[1]>s&&(s=t[1])}),e.objects)!function e(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(e);break;case"Point":l(t.coordinates);break;case"MultiPoint":t.coordinates.forEach(l)}}(e.objects[t]);return[n,r,o,s]}function n(e,t){var i=t.id,a=t.bbox,n=null==t.properties?{}:t.properties,o=r(e,t);return null==i&&null==a?{type:"Feature",properties:n,geometry:o}:null==a?{type:"Feature",id:i,properties:n,geometry:o}:{type:"Feature",id:i,bbox:a,properties:n,geometry:o}}function r(e,t){var a=i(e.transform),n=e.arcs;function r(e){return a(e)}function o(e){for(var t=[],i=0,r=e.length;i<r;++i)!function(e,t){t.length&&t.pop();for(var i=n[e<0?~e:e],r=0,o=i.length;r<o;++r)t.push(a(i[r],r));e<0&&function(e,t){for(var i,a=e.length,n=a-t;n<--a;)i=e[n],e[n++]=e[a],e[a]=i}(t,o)}(e[i],t);return t.length<2&&t.push(t[0]),t}function s(e){for(var t=o(e);t.length<4;)t.push(t[0]);return t}function l(e){return e.map(s)}return function e(t){var i,a=t.type;switch(a){case"GeometryCollection":return{type:a,geometries:t.geometries.map(e)};case"Point":i=r(t.coordinates);break;case"MultiPoint":i=t.coordinates.map(r);break;case"LineString":i=o(t.arcs);break;case"MultiLineString":i=t.arcs.map(o);break;case"Polygon":i=l(t.arcs);break;case"MultiPolygon":i=t.arcs.map(l);break;default:return null}return{type:a,coordinates:i}}(t)}function o(e,t){var i={},a={},n={},r=[],o=-1;function s(e,t){for(var a in e){var n=e[a];delete t[n.start],delete n.start,delete n.end,n.forEach(function(e){i[e<0?~e:e]=1}),r.push(n)}}return t.forEach(function(i,a){var n,r=e.arcs[i<0?~i:i];!(r.length<3)||r[1][0]||r[1][1]||(n=t[++o],t[o]=i,t[a]=n)}),t.forEach(function(t){var i,r,o,s,l,u,d=(i=t,s=(o=e.arcs[i<0?~i:i])[0],e.transform?(r=[0,0],o.forEach(function(e){r[0]+=e[0],r[1]+=e[1]})):r=o[o.length-1],i<0?[r,s]:[s,r]),h=d[0],c=d[1];if(l=n[h])if(delete n[l.end],l.push(t),l.end=c,u=a[c]){delete a[u.start];var m=u===l?l:l.concat(u);a[m.start=l.start]=n[m.end=u.end]=m}else a[l.start]=n[l.end]=l;else if(l=a[c])if(delete a[l.start],l.unshift(t),l.start=h,u=n[h]){delete n[u.end];var f=u===l?l:u.concat(l);a[f.start=u.start]=n[f.end=l.end]=f}else a[l.start]=n[l.end]=l;else a[(l=[t]).start=h]=n[l.end=c]=l}),s(n,a),s(a,n),t.forEach(function(e){i[e<0?~e:e]||r.push([e])}),r}function s(e,t,i){var a,n,r;if(arguments.length>1)a=function(e,t){var i,a=[],n=[];function r(e){var t=e<0?~e:e;(n[t]||(n[t]=[])).push({i:e,g:i})}function o(e){e.forEach(r)}function s(e){e.forEach(o)}return!function e(t){switch(i=t,t.type){case"GeometryCollection":t.geometries.forEach(e);break;case"LineString":o(t.arcs);break;case"MultiLineString":case"Polygon":s(t.arcs);break;case"MultiPolygon":t.arcs.forEach(s)}}(e),n.forEach(null==t?function(e){a.push(e[0].i)}:function(e){t(e[0].g,e[e.length-1].g)&&a.push(e[0].i)}),a}(t,i);else for(n=0,a=Array(r=e.arcs.length);n<r;++n)a[n]=n;return{type:"MultiLineString",arcs:o(e,a)}}function l(e,t){var i={},a=[],n=[];function s(e){e.forEach(function(t){t.forEach(function(t){(i[t=t<0?~t:t]||(i[t]=[])).push(e)})}),a.push(e)}function l(t){return function(e){for(var t,i=-1,a=e.length,n=e[a-1],r=0;++i<a;)t=n,n=e[i],r+=t[0]*n[1]-t[1]*n[0];return Math.abs(r)}(r(e,{type:"Polygon",arcs:[t]}).coordinates[0])}return t.forEach(function e(t){switch(t.type){case"GeometryCollection":t.geometries.forEac
1h(e);break;case"Polygon":s(t.arcs);break;case"MultiPolygon":t.arcs.forEach(s)}}),a.forEach(function(e){if(!e._){var t=[],a=[e];for(e._=1,n.push(t);e=a.pop();)t.push(e),e.forEach(function(e){e.forEach(function(e){i[e<0?~e:e].forEach(function(e){e._||(e._=1,a.push(e))})})})}}),a.forEach(function(e){delete e._}),{type:"MultiPolygon",arcs:n.map(function(t){var a,n=[];if(t.forEach(function(e){e.forEach(function(e){e.forEach(function(e){i[e<0?~e:e].length<2&&n.push(e)})})}),(a=(n=o(e,n)).length)>1)for(var r,s,u=1,d=l(n[0]);u<a;++u)(r=l(n[u]))>d&&(s=n[0],n[0]=n[u],n[u]=s,d=r);return n}).filter(function(e){return e.length>0})}}function u(e,t){for(var i=0,a=e.length;i<a;){var n=i+a>>>1;e[n]<t?i=n+1:a=n}return i}function d(e){if(null==e)return t;var i,a,n=e.scale[0],r=e.scale[1],o=e.translate[0],s=e.translate[1];return function(e,t){t||(i=a=0);var l=2,u=e.length,d=Array(u),h=Math.round((e[0]-o)/n),c=Math.round((e[1]-s)/r);for(d[0]=h-i,i=h,d[1]=c-a,a=c;l<u;)d[l]=e[l],++l;return d}}e.s([],434259),e.i(434259),e.s(["bbox",0,a,"feature",0,function(e,t){return"string"==typeof t&&(t=e.objects[t]),"GeometryCollection"===t.type?{type:"FeatureCollection",features:t.geometries.map(function(t){return n(e,t)})}:n(e,t)},"merge",0,function(e){return r(e,l.apply(this,arguments))},"mergeArcs",0,l,"mesh",0,function(e){return r(e,s.apply(this,arguments))},"meshArcs",0,s,"neighbors",0,function(e){var t={},i=e.map(function(){return[]});function a(e,i){e.forEach(function(e){e<0&&(e=~e);var a=t[e];a?a.push(i):t[e]=[i]})}function n(e,t){e.forEach(function(e){a(e,t)})}var r={LineString:a,MultiLineString:n,Polygon:n,MultiPolygon:function(e,t){e.forEach(function(e){n(e,t)})}};for(var o in e.forEach(function e(t,i){"GeometryCollection"===t.type?t.geometries.forEach(function(t){e(t,i)}):t.type in r&&r[t.type](t.arcs,i)}),t)for(var s=t[o],l=s.length,d=0;d<l;++d)for(var h=d+1;h<l;++h){var c,m=s[d],f=s[h];(c=i[m])[o=u(c,f)]!==f&&c.splice(o,0,f),(c=i[f])[o=u(c,m)]!==m&&c.splice(o,0,m)}return i},"quantize",0,function(e,t){if(e.transform)throw Error("already quantized");if(t&&t.scale)l=e.bbox;else{if(!((i=Math.floor(t))>=2))throw Error("n must be ≥2");var i,n=(l=e.bbox||a(e))[0],r=l[1],o=l[2],s=l[3];t={scale:[o-n?(o-n)/(i-1):1,s-r?(s-r)/(i-1):1],translate:[n,r]}}var l,u,h=d(t),c=e.objects,m={};function f(e){return h(e)}for(u in c)m[u]=function e(t){var i;switch(t.type){case"GeometryCollection":i={type:"GeometryCollection",geometries:t.geometries.map(e)};break;case"Point":i={type:"Point",coordinates:f(t.coordinates)};break;case"MultiPoint":i={type:"MultiPoint",coordinates:t.coordinates.map(f)};break;default:return t}return null!=t.id&&(i.id=t.id),null!=t.bbox&&(i.bbox=t.bbox),null!=t.properties&&(i.properties=t.properties),i}(c[u]);return{type:"Topology",bbox:l,transform:t,objects:m,arcs:e.arcs.map(function(e){var t,i=0,a=1,n=e.length,r=Array(n);for(r[0]=h(e[0],0);++i<n;)((t=h(e[i],i))[0]||t[1])&&(r[a++]=t);return 1===a&&(r[a++]=[0,0]),r.length=a,r})}},"transform",0,i,"untransform",0,d],241862)},180239,226141,985431,459338,598551,904676,812704,468370,866547,210582,518012,481979,153597,e=>{"use strict";function t(){}function i(e){return null==e?t:function(){return this.querySelector(e)}}function a(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function n(){return[]}function r(e){return null==e?n:function(){return this.querySelectorAll(e)}}function o(e){return function(){return this.matches(e)}}function s(e){return function(t){return t.matches(e)}}e.s(["Selection",()=>H,"default",()=>U,"root",()=>z],518012),e.s(["default",0,i],226141),e.s(["default",0,a],985431),e.s(["default",0,r],459338),e.s(["childMatcher",0,s,"default",0,o],598551);var l=Array.prototype.find;function u(){return this.firstElementChild}var d=Array.prototype.filter;function h(){return this.children}function c(e){return Array(e.length)}function m(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function f(e,t,i,a,n,r){for(var o,s=0,l=t.length,u=r.length;s<u;++s)(o=t[s])?(o.__data__=r[s],a[s]=o):i[s]=new m(e,r[s]);for(;s<l;++s)(o=t[s])&&(n[s]=o)}function p(e,t,i,a,n,r,o){var s,l,u,d=new Map,h=t.length,c=r.length,f=Array(h);for(s=0;s<h;
1++s)(l=t[s])&&(f[s]=u=o.call(l,l.__data__,s,t)+"",d.has(u)?n[s]=l:d.set(u,l));for(s=0;s<c;++s)u=o.call(e,r[s],s,r)+"",(l=d.get(u))?(a[s]=l,l.__data__=r[s],d.delete(u)):i[s]=new m(e,r[s]);for(s=0;s<h;++s)(l=t[s])&&d.get(f[s])===l&&(n[s]=l)}function g(e){return e.__data__}function b(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}m.prototype={constructor:m,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var v="http://www.w3.org/1999/xhtml";let y={svg:"http://www.w3.org/2000/svg",xhtml:v,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function w(e){var t=e+="",i=t.indexOf(":");return i>=0&&"xmlns"!==(t=e.slice(0,i))&&(e=e.slice(i+1)),y.hasOwnProperty(t)?{space:y[t],local:e}:e}function M(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function x(e,t,i){return arguments.length>1?this.each((null==t?function(e){return function(){this.style.removeProperty(e)}}:"function"==typeof t?function(e,t,i){return function(){var a=t.apply(this,arguments);null==a?this.style.removeProperty(e):this.style.setProperty(e,a,i)}}:function(e,t,i){return function(){this.style.setProperty(e,t,i)}})(e,t,null==i?"":i)):k(this.node(),e)}function k(e,t){return e.style.getPropertyValue(t)||M(e).getComputedStyle(e,null).getPropertyValue(t)}function S(e){return e.trim().split(/^|\s+/)}function P(e){return e.classList||new T(e)}function T(e){this._node=e,this._names=S(e.getAttribute("class")||"")}function A(e,t){for(var i=P(e),a=-1,n=t.length;++a<n;)i.add(t[a])}function C(e,t){for(var i=P(e),a=-1,n=t.length;++a<n;)i.remove(t[a])}function E(){this.textContent=""}function L(){this.innerHTML=""}function R(){this.nextSibling&&this.parentNode.appendChild(this)}function F(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function j(e){var t=w(e);return(t.local?function(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}:function(e){return function(){var t=this.ownerDocument,i=this.namespaceURI;return i===v&&t.documentElement.namespaceURI===v?t.createElement(e):t.createElementNS(i,e)}})(t)}function D(){return null}function N(){var e=this.parentNode;e&&e.removeChild(this)}function I(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function _(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function B(e){return function(){var t=this.__on;if(t){for(var i,a=0,n=-1,r=t.length;a<r;++a)(i=t[a],e.type&&i.type!==e.type||i.name!==e.name)?t[++n]=i:this.removeEventListener(i.type,i.listener,i.options);++n?t.length=n:delete this.__on}}}function O(e,t,i){return function(){var a,n=this.__on,r=function(e){t.call(this,e,this.__data__)};if(n){for(var o=0,s=n.length;o<s;++o)if((a=n[o]).type===e.type&&a.name===e.name){this.removeEventListener(a.type,a.listener,a.options),this.addEventListener(a.type,a.listener=r,a.options=i),a.value=t;return}}this.addEventListener(e.type,r,i),a={type:e.type,name:e.name,value:t,listener:r,options:i},n?n.push(a):this.__on=[a]}}function W(e,t,i){var a=M(e),n=a.CustomEvent;"function"==typeof n?n=new n(t,i):(n=a.document.createEvent("Event"),i?(n.initEvent(t,i.bubbles,i.cancelable),n.detail=i.detail):n.initEvent(t,!1,!1)),e.dispatchEvent(n)}e.s(["default",0,y,"xhtml",0,v],904676),e.s(["default",0,w],812704),e.s(["default",0,M],468370),e.s(["default",0,x,"styleValue",0,k],866547),T.prototype={add:function(e){0>this._names.indexOf(e)&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}},e.s(["default",0,j],210582);var z=[null];function H(e,t){this._groups=e,this._parents=t}function G(){return new H([[document.documentElement]],z)}H.prototype=G.prototype={constructor:H,select:function(e){"function"!=typeof e&&(e=i(e));for(var t=this._groups,a=t.length,n=Array(a),r=0;r<a;++r)for(var o,s,l=t[r],u=l.length,d=n[r]=Array(u),h=0;h<u;++h)(o=l[h])&&(s=e.call(o,o.__data__,h,l))&&("__data__"in o&&(s.__data__=o.__data__),d[h]=s);return new H(n,this._parents)},selectAll:function(e){if("function"==typeof e){var t;t=e,e=function(){var e=t.apply(this,arguments);return null==e?[]:a(e)}}else e=r(e);for(var i=this._groups,n=i.length,o=[],s=[],l=0;l<n;++l)for(var u,d=i[l],h=d.length,c=0;c<h;++c)(u=d[c])&&(o.push(e.call(u,u.__data__,c,d)),s.push(u));return new H(o,s)},selectChild:function(e){var t;return this.select(null==e?u:(t="function"==typeof e?e:s(e),function(){return l.call(this.children,t)}))},selectChildren:function(e){var t;return this.selectAll(null==e?h:(t="function"==typeof e?e:s(e),function(){return d.call(this.children,t)}))},filter:function(e){"function"!=typeof e&&(e=o(e));for(var t=this._groups,i=t.length,a=Array(i),n=0;n<i;++n)for(var r,s=t[n],l=s.length,u=a[n]=[],d=0;d<l;++d)(r=s[d])&&e.call(r,r.__data__,d,s)&&u.push(r);return new H(a,this._parents)},data:function(e,t){if(!arguments.length)return Array.from(this,g);var i=t?p:f,n=this._parents,r=this._groups;"function"!=typeof e&&(M=e,e=function(){return M});for(var o=r.length,s=Array(o),l=Array(o),u=Array(o),d=0;d<o;++d){var h=n[d],c=r[d],m=c.length,b=a(e.call(h,h&&h.__data__,d,n)),v=b.length,y=l[d]=Array(v),w=s[d]=Array(v);i(h,c,y,w,u[d]=Array(m),b,t);for(var M,x,k,S=0,P=0;S<v;++S)if(x=y[S]){for(S>=P&&(P=S+1);!(k=w[P])&&++P<v;);x._next=k||null}}return(s=new H(s,n))._enter=l,s._exit=u,s},enter:function(){return new H(this._enter||this._groups.map(c),this._parents)},exit:function(){return new H(this._exit||this._groups.map(c),this._parents)},join:function(e,t,i){var a=this.enter(),n=this,r=this.exit();return a="function"==typeof e?e(a):a.append(e+""),null!=t&&(n=t(n)),null==i?r.remove():i(r),a&&n?a.merge
1(n).order():n},merge:function(e){if(!(e instanceof H))throw Error("invalid merge");for(var t=this._groups,i=e._groups,a=t.length,n=i.length,r=Math.min(a,n),o=Array(a),s=0;s<r;++s)for(var l,u=t[s],d=i[s],h=u.length,c=o[s]=Array(h),m=0;m<h;++m)(l=u[m]||d[m])&&(c[m]=l);for(;s<a;++s)o[s]=t[s];return new H(o,this._parents)},selection:function(){return this},order:function(){for(var e=this._groups,t=-1,i=e.length;++t<i;)for(var a,n=e[t],r=n.length-1,o=n[r];--r>=0;)(a=n[r])&&(o&&4^a.compareDocumentPosition(o)&&o.parentNode.insertBefore(a,o),o=a);return this},sort:function(e){function t(t,i){return t&&i?e(t.__data__,i.__data__):!t-!i}e||(e=b);for(var i=this._groups,a=i.length,n=Array(a),r=0;r<a;++r){for(var o,s=i[r],l=s.length,u=n[r]=Array(l),d=0;d<l;++d)(o=s[d])&&(u[d]=o);u.sort(t)}return new H(n,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var e=this._groups,t=0,i=e.length;t<i;++t)for(var a=e[t],n=0,r=a.length;n<r;++n){var o=a[n];if(o)return o}return null},size:function(){let e=0;for(let t of this)++e;return e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,i=0,a=t.length;i<a;++i)for(var n,r=t[i],o=0,s=r.length;o<s;++o)(n=r[o])&&e.call(n,n.__data__,o,r);return this},attr:function(e,t){var i=w(e);if(arguments.length<2){var a=this.node();return i.local?a.getAttributeNS(i.space,i.local):a.getAttribute(i)}return this.each((null==t?i.local?function(e){return function(){this.removeAttributeNS(e.space,e.local)}}:function(e){return function(){this.removeAttribute(e)}}:"function"==typeof t?i.local?function(e,t){return function(){var i=t.apply(this,arguments);null==i?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,i)}}:function(e,t){return function(){var i=t.apply(this,arguments);null==i?this.removeAttribute(e):this.setAttribute(e,i)}}:i.local?function(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}:function(e,t){return function(){this.setAttribute(e,t)}})(i,t))},style:x,property:function(e,t){return arguments.length>1?this.each((null==t?function(e){return function(){delete this[e]}}:"function"==typeof t?function(e,t){return function(){var i=t.apply(this,arguments);null==i?delete this[e]:this[e]=i}}:function(e,t){return function(){this[e]=t}})(e,t)):this.node()[e]},classed:function(e,t){var i=S(e+"");if(arguments.length<2){for(var a=P(this.node()),n=-1,r=i.length;++n<r;)if(!a.contains(i[n]))return!1;return!0}return this.each(("function"==typeof t?function(e,t){return function(){(t.apply(this,arguments)?A:C)(this,e)}}:t?function(e){return function(){A(this,e)}}:function(e){return function(){C(this,e)}})(i,t))},text:function(e){return arguments.length?this.each(null==e?E:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}:function(e){return function(){this.textContent=e}})(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?L:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}:function(e){return function(){this.innerHTML=e}})(e)):this.node().innerHTML},raise:function(){return this.each(R)},lower:function(){return this.each(F)},append:function(e){var t="function"==typeof e?e:j(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})},insert:function(e,t){var a="function"==typeof e?e:j(e),n=null==t?D:"function"==typeof t?t:i(t);return this.select(function(){return this.insertBefore(a.apply(this,arguments),n.apply(this,arguments)||null)})},remove:function(){return this.each(N)},clone:function(e){return this.select(e?_:I)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,i){var a,n,r=(e+"").trim().split(/^|\s+/).map(function(e){var t="",i=e.indexOf(".");return i>=0&&(t=e.slice(i+1),e=e.slice(0,i)),{type:e,name:t}}),o=r.length;if(arguments.length<2){var s=this.node().__on;if(s){for(var l,u=0,d=s.length;u<d;++u)for(a=0,l=s[u];a<o;++a)if((n=r[a]).type===l.type&&n.name===l.name)return l.value}return}for(s=t?O:B,a=0;a<o;++a)this.each(s(r[a],t,i));return this},dispatch:function(e,t){return this.each(("function"==typeof t?function(e,t){return function(){return W(this,e,t.apply(this,arguments))}}:function(e,t){return function(){return W(this,e,t)}})(e,t))},[Symbol.iterator]:function*(){for(var e=this._groups,t=0,i=e.length;t<i;++t)for(var a,n=e[t],r=0,o=n.length;r<o;++r)(a=n[r])&&(yield a)}};let U=G;function V(e){let t;for(;t=e.sourceEvent;)e=t;return e}e.s(["default",0,function(e){return"string"==typeof e?new H([[document.querySelector(e)]],[document.documentElement]):new H([[e]],z)}],180239),e.s(["default",0,V],481979),e.s(["default",0,function(e,t){if(e=V(e),void 0===t&&(t=e.currentTarget),t){var i=t.ownerSVGElement||t;if(i.createSVGPoint){var a=i.createSVGPoint();return a.x=e.clientX,a.y=e.clientY,[(a=a.matrixTransform(t.getScreenCTM().inverse())).x,a.y]}if(t.getBoundingClientRect){var n=t.getBoundingClientRect();return[e.clientX-n.left-t.clientLeft,e.clientY-n.top-t.clientTop]}}return[e.pageX,e.pageY]}],153597)},27605,e=>{"use strict";var t,i={value:()=>{}};function a(){for(var e,t=0,i=arguments.length,a={};t<i;++t){if(!(e=arguments[t]+"")||e in a||/[\s.]/.test(e))throw Error("illegal type: "+e);a[e]=[]}return new n(a)}function n(e){this._=e}function r(e,t,a){for(var n=0,r=e.length;n<r;++n)if(e[n].name===t){e[n]=i,e=e.slice(0,n).concat(e.slice(n+1));break}return null!=a&&e.push({name:t,value:a}),e}n.prototype=a.prototype={constructor:n,on:function(e,t){var i,a=this._,n=(e+"").trim().split(/^|\s+/).map(function(e){var t="",i=e.indexOf(".");if(i>=0&&(t=e.slice(i+1),e=e.slice(0,i)),e&&!a.hasOwnProperty(e))throw Error("unknown type: "+e);return{type:e,name:t}}),o=-1,s=n.length;if(arguments.length<2){for(;++o<s;)if((i=(e=n[o]).type)&&(i=function(e,t){for(var i,a=0,n=e.length;a<n;++a)if((i=e[a]).name===t)return i.value}(a[i],e.name)))return i;return}if(null!=t&&"function"!=typeof t)throw Error("invalid callback: "+t);for(;++o<s;)if(i=(e=n[o]).type)a[i]=r(a[i],e.name,t);else if(null==t)for(i in a)a[i]=r(a[i],e.name,null);return this},copy:function(){var e={},t=this._;for(var i in t)e[i]=t[i].slice();return new n(e)},call:function(e,t){if((i=arguments.length-2)>0)for(var i,a,n=Array(i),r=0;r<i;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(e))throw Error("unknown type: "+e);for(a=this._[e],r=0,i=a.length;r<i;++r)a[r].value.apply(t,n)},apply:function(e,t,i){if(!this._.hasOwnProperty(e))throw Error("unknown type: "+e);for(var a=this._[e],n=0,r=a.length;n<r;++n)a[n].value.apply(t,i)}};var o=e.i(180239),o=o;function s(e){e.preventDefault(),e.stopImmediatePropagation()}function l(e){return((e=Math.exp(e))+1/e)/2}let u=function e(t,i,a){function n(e,n){var r,o,s=e[0],u=e[1],d=e[2],h=n[0],c=n[1],m=n[2],f=h-s,p=c-u,g=f*f+p*p;if(g<1e-12)o=Math.log(m/d)/t,r=function(e){return[s+e*f,u+e*p,d*Math.exp(t*e*o)]};else{var b=Math.sqrt(g),v=(m*m-d*d+a*g)/(2*d*i*b),y=(m*m-d*d-a*g)/(2*m*i*b),w=Math.log(Math.sqrt(v*v+1)-v);o=(Math.log(Math.sqrt(y*y+1)-y)-w)/t,r=function(e){var a,n,r=e*o,h=l(w),c=d/(i*b)*(h*(((a=Math.exp(2*(a=t*r+w)))-1)/(a+1))-((n=Math.exp(n=w))-1/n)/2);return[s+c*f,u+c*p,d*h/l(t*r+w)]}}return r.duration=1e3*o*t/Math.SQRT2,r}return n.rho=function(t){var i=Math.max(.001,+t),a=i*i;return e(i,a,a*a)},n}(Math.SQRT2,2,4);var d,h,o=o,c=e.i(153597),c=c,m=e.i(518012),m=m,f=0,p=0,g=0,b=0,v=0,y=0,w="object"==typeof performance&&performance.now?performance:Date,M="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function x(){return v||(M(k),v=w.now()+y)}function k(){v=0}function S(){this._call=this._time=this._next=null}function P(e,t,i){var a=new S;return a.restart(e,t,i),a}function T(){v=(b=w.now())+y,f=p=0;try{x(),++f;
1for(var e,t=d;t;)(e=v-t._time)>=0&&t._call.call(null,e),t=t._next;--f}finally{f=0,function(){for(var e,t,i=d,a=1/0;i;)i._call?(a>i._time&&(a=i._time),e=i,i=i._next):(t=i._next,i._next=null,i=e?e._next=t:d=t);h=e,C(a)}(),v=0}}function A(){var e=w.now(),t=e-b;t>1e3&&(y-=t,b=e)}function C(e){!f&&(p&&(p=clearTimeout(p)),e-v>24?(e<1/0&&(p=setTimeout(T,e-w.now()-y)),g&&(g=clearInterval(g))):(g||(b=w.now(),g=setInterval(A,1e3)),f=1,M(T)))}function E(e,t,i){var a=new S;return t=null==t?0:+t,a.restart(i=>{a.stop(),e(i+t)},t,i),a}S.prototype=P.prototype={constructor:S,restart:function(e,t,i){if("function"!=typeof e)throw TypeError("callback is not a function");i=(null==i?x():+i)+(null==t?0:+t),this._next||h===this||(h?h._next=this:d=this,h=this),this._call=e,this._time=i,C()},stop:function(){this._call&&(this._call=null,this._time=1/0,C())}};var L=a("start","end","cancel","interrupt"),R=[];function F(e,t,i,a,n,r){var o=e.__transition;if(o){if(i in o)return}else e.__transition={};!function(e,t,i){var a,n=e.__transition;function r(l){var u,d,h,c;if(1!==i.state)return s();for(u in n)if((c=n[u]).name===i.name){if(3===c.state)return E(r);4===c.state?(c.state=6,c.timer.stop(),c.on.call("interrupt",e,e.__data__,c.index,c.group),delete n[u]):+u<t&&(c.state=6,c.timer.stop(),c.on.call("cancel",e,e.__data__,c.index,c.group),delete n[u])}if(E(function(){3===i.state&&(i.state=4,i.timer.restart(o,i.delay,i.time),o(l))}),i.state=2,i.on.call("start",e,e.__data__,i.index,i.group),2===i.state){for(i.state=3,a=Array(h=i.tween.length),u=0,d=-1;u<h;++u)(c=i.tween[u].value.call(e,e.__data__,i.index,i.group))&&(a[++d]=c);a.length=d+1}}function o(t){for(var n=t<i.duration?i.ease.call(null,t/i.duration):(i.timer.restart(s),i.state=5,1),r=-1,o=a.length;++r<o;)a[r].call(e,n);5===i.state&&(i.on.call("end",e,e.__data__,i.index,i.group),s())}function s(){for(var a in i.state=6,i.timer.stop(),delete n[t],n)return;delete e.__transition}n[t]=i,i.timer=P(function(e){i.state=1,i.timer.restart(r,i.delay,i.time),i.delay<=e&&r(e-i.delay)},0,i.time)}(e,i,{name:t,index:a,group:n,on:L,tween:R,time:r.time,delay:r.delay,duration:r.duration,ease:r.ease,timer:null,state:0})}function j(e,t){var i=N(e,t);if(i.state>0)throw Error("too late; already scheduled");return i}function D(e,t){var i=N(e,t);if(i.state>3)throw Error("too late; already running");return i}function N(e,t){var i=e.__transition;if(!i||!(i=i[t]))throw Error("transition not found");return i}function I(e,t){var i,a,n,r=e.__transition,o=!0;if(r){for(n in t=null==t?null:t+"",r){if((i=r[n]).name!==t){o=!1;continue}a=i.state>2&&i.state<5,i.state=6,i.timer.stop(),i.on.call(a?"interrupt":"cancel",e,e.__data__,i.index,i.group),delete r[n]}o&&delete e.__transition}}var m=m;function _(e,t){return e*=1,t*=1,function(i){return e*(1-i)+t*i}}var B=180/Math.PI,O={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function W(e,t,i,a,n,r){var o,s,l;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(l=e*i+t*a)&&(i-=e*l,a-=t*l),(s=Math.sqrt(i*i+a*a))&&(i/=s,a/=s,l/=s),e*a<t*i&&(e=-e,t=-t,l=-l,o=-o),{translateX:n,translateY:r,rotate:Math.atan2(t,e)*B,skewX:Math.atan(l)*B,scaleX:o,scaleY:s}}function z(e,t,i,a){function n(e){return e.length?e.pop()+" ":""}return function(r,o){var s,l,u,d,h=[],c=[];return r=e(r),o=e(o),!function(e,a,n,r,o,s){if(e!==n||a!==r){var l=o.push("translate(",null,t,null,i);s.push({i:l-4,x:_(e,n)},{i:l-2,x:_(a,r)})}else(n||r)&&o.push("translate("+n+t+r+i)}(r.translateX,r.translateY,o.translateX,o.translateY,h,c),s=r.rotate,l=o.rotate,s!==l?(s-l>180?l+=360:l-s>180&&(s+=360),c.push({i:h.push(n(h)+"rotate(",null,a)-2,x:_(s,l)})):l&&h.push(n(h)+"rotate("+l+a),u=r.skewX,d=o.skewX,u!==d?c.push({i:h.push(n(h)+"skewX(",null,a)-2,x:_(u,d)}):d&&h.push(n(h)+"skewX("+d+a),!function(e,t,i,a,r,o){if(e!==i||t!==a){var s=r.push(n(r)+"scale(",null,",",null,")");o.push({i:s-4,x:_(e,i)},{i:s-2,x:_(t,a)})}else(1!==i||1!==a)&&r.push(n(r)+"scale("+i+","+a+")")}(r.scaleX,r.scaleY,o.scaleX,o.scaleY,h,c),r=o=null,function(e){for(var t,i=-1,a=c.length;++i<a;)h[(t=c[i]).i]=t.x(e);return h.join("")}}}var H=z(function(e){let t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?O:W(t.a,t.b,t.c,t.d,t.e,t.f)},"px, ","px)","deg)"),G=z(function(e){return null==e?O:(t||(t=document.createElementNS("http://www.w3.org/2000/svg","g")),t.setAttribute("transform",e),e=t.transform.baseVal.consolidate())?W((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):O},", ",")",")"),U=e.i(812704),U=U;function V(e,t,i){var a=e._id;return e.each(function(){var e=D(this,a);(e.value||(e.value={}))[t]=i.apply(this,arguments)}),function(e){return N(e,a).value[t]}}function K(e,t,i){e.prototype=t.prototype=i,i.constructor=e}function q(e,t){var i=Object.create(e.prototype);for(var a in t)i[a]=t[a];return i}function Y(){}var X="\\s*([+-]?\\d+)\\s*",$="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Z="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Q=/^#([0-9a-f]{3,8})$/,J=RegExp("^rgb\\("+[X,X,X]+"\\)$"),ee=RegExp("^rgb\\("+[Z,Z,Z]+"\\)$"),et=RegExp("^rgba\\("+[X,X,X,$]+"\\)$"),ei=RegExp("^rgba\\("+[Z,Z,Z,$]+"\\)$"),ea=RegExp("^hsl\\("+[$,Z,Z]+"\\)$"),en=RegExp("^hsla\\("+[$,Z,Z,$]+"\\)$"),er={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function eo(){return this.rgb().formatHex()}function es(){return this.rgb().formatRgb()}function el(e){var t,i;return e=(e+"").trim().toLowerCase(),(t=Q.exec(e))?(i=t[1].length,t=parseInt(t[1],16),6===i?eu(t):3===i?new e
1c(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===i?ed(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===i?ed(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=J.exec(e))?new ec(t[1],t[2],t[3],1):(t=ee.exec(e))?new ec(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=et.exec(e))?ed(t[1],t[2],t[3],t[4]):(t=ei.exec(e))?ed(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=ea.exec(e))?eg(t[1],t[2]/100,t[3]/100,1):(t=en.exec(e))?eg(t[1],t[2]/100,t[3]/100,t[4]):er.hasOwnProperty(e)?eu(er[e]):"transparent"===e?new ec(NaN,NaN,NaN,0):null}function eu(e){return new ec(e>>16&255,e>>8&255,255&e,1)}function ed(e,t,i,a){return a<=0&&(e=t=i=NaN),new ec(e,t,i,a)}function eh(e,t,i,a){var n;return 1==arguments.length?((n=e)instanceof Y||(n=el(n)),n)?new ec((n=n.rgb()).r,n.g,n.b,n.opacity):new ec:new ec(e,t,i,null==a?1:a)}function ec(e,t,i,a){this.r=+e,this.g=+t,this.b=+i,this.opacity=+a}function em(){return"#"+ep(this.r)+ep(this.g)+ep(this.b)}function ef(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function ep(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function eg(e,t,i,a){return a<=0?e=t=i=NaN:i<=0||i>=1?e=t=NaN:t<=0&&(e=NaN),new ev(e,t,i,a)}function eb(e){if(e instanceof ev)return new ev(e.h,e.s,e.l,e.opacity);if(e instanceof Y||(e=el(e)),!e)return new ev;if(e instanceof ev)return e;var t=(e=e.rgb()).r/255,i=e.g/255,a=e.b/255,n=Math.min(t,i,a),r=Math.max(t,i,a),o=NaN,s=r-n,l=(r+n)/2;return s?(o=t===r?(i-a)/s+(i<a)*6:i===r?(a-t)/s+2:(t-i)/s+4,s/=l<.5?r+n:2-r-n,o*=60):s=l>0&&l<1?0:o,new ev(o,s,l,e.opacity)}function ev(e,t,i,a){this.h=+e,this.s=+t,this.l=+i,this.opacity=+a}function ey(e,t,i){return(e<60?t+(i-t)*e/60:e<180?i:e<240?t+(i-t)*(240-e)/60:t)*255}function ew(e,t,i,a,n){var r=e*e,o=r*e;return((1-3*e+3*r-o)*t+(4-6*r+3*o)*i+(1+3*e+3*r-3*o)*a+o*n)/6}K(Y,el,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:eo,formatHex:eo,formatHsl:function(){return eb(this).formatHsl()},formatRgb:es,toString:es}),K(ec,eh,q(Y,{brighter:function(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new ec(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new ec(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:em,formatHex:em,formatRgb:ef,toString:ef})),K(ev,function(e,t,i,a){return 1==arguments.length?eb(e):new ev(e,t,i,null==a?1:a)},q(Y,{brighter:function(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new ev(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new ev(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,i=this.l,a=i+(i<.5?i:1-i)*t,n=2*i-a;return new ec(ey(e>=240?e-240:e+120,n,a),ey(e,n,a),ey(e<120?e+240:e-120,n,a),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));let eM=e=>()=>e;function ex(e,t){var i=t-e;return i?function(t){return e+t*i}:eM(isNaN(e)?t:e)}let ek=function e(t){var i,a=1==(i=+t)?ex:function(e,t){var a,n,r;return t-e?(a=e,n=t,a=Math.pow(a,r=i),n=Math.pow(n,r)-a,r=1/r,function(e){return Math.pow(a+e*n,r)}):eM(isNaN(e)?t:e)};function n(e,t){var i=a((e=eh(e)).r,(t=eh(t)).r),n=a(e.g,t.g),r=a(e.b,t.b),o=ex(e.opacity,t.opacity);return function(t){return e.r=i(t),e.g=n(t),e.b=r(t),e.opacity=o(t),e+""}}return n.gamma=e,n}(1);function eS(e){return function(t){var i,a,n=t.length,r=Array(n),o=Array(n),s=Array(n);for(i=0;i<n;++i)a=eh(t[i]),r[i]=a.r||0,o[i]=a.g||0,s[i]=a.b||0;return r=e(r),o=e(o),s=e(s),a.opacity=1,function(e){return a.r=r(e),a.g=o(e),a.b=s(e),a+""}}}eS(function(e){var t=e.length-1;return function(i){var a=i<=0?i=0:i>=1?(i=1,t-1):Math.floor(i*t),n=e[a],r=e[a+1],o=a>0?e[a-1]:2*n-r,s=a<t-1?e[a+2]:2*r-n;return ew((i-a/t)*t,o,n,r,s)}}),eS(function(e){var t=e.length;return function(i){var a=Math.floor(((i%=1)<0?++i:i)*t),n=e[(a+t-1)%t],r=e[a%t],o=e[(a+1)%t],s=e[(a+2)%t];return ew((i-a/t)*t,n,r,o,s)}});var eP=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,eT=RegExp(eP.source,"g");function eA(e,t){var i;return("number"==typeof t?_:t instanceof el?ek:(i=el(t))?(t=i,ek):function(e,t){var i,a,n,r,o,s=eP.lastIndex=eT.lastIndex=0,l=-1,u=[],d=[];for(e+="",t+="";(n=eP.exec(e))&&(r=eT.exec(t));)(o=r.index)>s&&(o=t.slice(s,o),u[l]?u[l]+=o:u[++l]=o),(n=n[0])===(r=r[0])?u[l]?u[l]+=r:u[++l]=r:(u[++l]=null,d.push({i:l,x:_(n,r)})),s=eT.lastIndex;return s<t.length&&(o=t.slice(s),u[l]?u[l]+=o:u[++l]=o),u.length<2?d[0]?(i=d[0].x,function(e){return i(e)+""}):(a=t,function(){return a}):(t=d.length,function(e){for(var i,a=0;a<t;
1++a)u[(i=d[a]).i]=i.x(e);return u.join("")})})(e,t)}var U=U,eC=e.i(598551),eC=eC,eE=e.i(226141),eE=eE,eL=e.i(459338),eL=eL,m=m,eR=m.default.prototype.constructor,eF=e.i(866547),eF=eF;function ej(e){return function(){this.style.removeProperty(e)}}var eD=0;function eN(e,t,i,a){this._groups=e,this._parents=t,this._name=i,this._id=a}var eI=m.default.prototype;eN.prototype=(function(e){return(0,m.default)().transition(e)}).prototype={constructor:eN,select:function(e){var t=this._name,i=this._id;"function"!=typeof e&&(e=(0,eE.default)(e));for(var a=this._groups,n=a.length,r=Array(n),o=0;o<n;++o)for(var s,l,u=a[o],d=u.length,h=r[o]=Array(d),c=0;c<d;++c)(s=u[c])&&(l=e.call(s,s.__data__,c,u))&&("__data__"in s&&(l.__data__=s.__data__),h[c]=l,F(h[c],t,i,c,h,N(s,i)));return new eN(r,this._parents,t,i)},selectAll:function(e){var t=this._name,i=this._id;"function"!=typeof e&&(e=(0,eL.default)(e));for(var a=this._groups,n=a.length,r=[],o=[],s=0;s<n;++s)for(var l,u=a[s],d=u.length,h=0;h<d;++h)if(l=u[h]){for(var c,m=e.call(l,l.__data__,h,u),f=N(l,i),p=0,g=m.length;p<g;++p)(c=m[p])&&F(c,t,i,p,m,f);r.push(m),o.push(l)}return new eN(r,o,t,i)},filter:function(e){"function"!=typeof e&&(e=(0,eC.default)(e));for(var t=this._groups,i=t.length,a=Array(i),n=0;n<i;++n)for(var r,o=t[n],s=o.length,l=a[n]=[],u=0;u<s;++u)(r=o[u])&&e.call(r,r.__data__,u,o)&&l.push(r);return new eN(a,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw Error();for(var t=this._groups,i=e._groups,a=t.length,n=i.length,r=Math.min(a,n),o=Array(a),s=0;s<r;++s)for(var l,u=t[s],d=i[s],h=u.length,c=o[s]=Array(h),m=0;m<h;++m)(l=u[m]||d[m])&&(c[m]=l);for(;s<a;++s)o[s]=t[s];return new eN(o,this._parents,this._name,this._id)},selection:function(){return new eR(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,i=++eD,a=this._groups,n=a.length,r=0;r<n;++r)for(var o,s=a[r],l=s.length,u=0;u<l;++u)if(o=s[u]){var d=N(o,t);F(o,e,i,u,s,{time:d.time+d.delay+d.duration,delay:0,duration:d.duration,ease:d.ease})}return new eN(a,this._parents,e,i)},call:eI.call,nodes:eI.nodes,node:eI.node,size:eI.size,empty:eI.empty,each:eI.each,on:function(e,t){var i,a,n,r,o,s,l=this._id;return arguments.length<2?N(this.node(),l).on.on(e):this.each((i=l,a=e,n=t,s=(a+"").trim().split(/^|\s+/).every(function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e})?j:D,function(){var e=s(this,i),t=e.on;t!==r&&(o=(r=t).copy()).on(a,n),e.on=o}))},attr:function(e,t){var i=(0,U.default)(e),a="transform"===i?G:eA;return this.attrTween(e,"function"==typeof t?(i.local?function(e,t,i){var a,n,r;return function(){var o,s,l=i(this);return null==l?void this.removeAttributeNS(e.space,e.local):(o=this.getAttributeNS(e.space,e.local))===(s=l+"")?null:o===a&&s===n?r:(n=s,r=t(a=o,l))}}:function(e,t,i){var a,n,r;return function(){var o,s,l=i(this);return null==l?void this.removeAttribute(e):(o=this.getAttribute(e))===(s=l+"")?null:o===a&&s===n?r:(n=s,r=t(a=o,l))}})(i,a,V(this,"attr."+e,t)):null==t?(i.local?function(e){return function(){this.removeAttributeNS(e.space,e.local)}}:function(e){return function(){this.removeAttribute(e)}})(i):(i.local?function(e,t,i){var a,n,r=i+"";return function(){var o=this.getAttributeNS(e.space,e.local);return o===r?null:o===a?n:n=t(a=o,i)}}:function(e,t,i){var a,n,r=i+"";return function(){var o=this.getAttribute(e);return o===r?null:o===a?n:n=t(a=o,i)}})(i,a,t))},attrTween:function(e,t){var i="attr."+e;if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==t)return this.tween(i,null);if("function"!=typeof t)throw Error();var a=(0,U.default)(e);return this.tween(i,(a.local?function(e,t){var i,a;function n(){var n=t.apply(this,arguments);return n!==a&&(i=(a=n)&&function(t){this.setAttributeNS(e.space,e.local,n.call(this,t))}),i}return n._value=t,n}:function(e,t){var i,a;function n(){var n=t.apply(this,arguments);return n!==a&&(i=(a=n)&&function(t){this.setAttribute(e,n.call(this,t))}),i}return n._value=t,n})(a,t))},style:function(e,t,i){var a,n,r,o,s,l,u,d,h,c,m,f,p,g,b,v,y,w,M,x,k,S="transform"==(e+="")?H:eA;return null==t?this.styleTween(e,(a=e,function(){var e=(0,eF.styleValue)(this,a),t=(this.style.removeProperty(a),(0,eF.styleValue)(this,a));return e===t?null:e===n&&t===r?o:o=S(n=e,r=t)})).on("end.style."+e,ej(e)):"function"==typeof t?this.styleTween(e,(s=e,l=V(this,"style."+e,t),function(){var e=(0,eF.styleValue)(this,s),t=l(this),i=t+"";return null==t&&(this.style.removeProperty(s),i=t=(0,eF.styleValue)(this,s)),e===i?null:e===u&&i===d?h:(d=i,h=S(u=e,t))})).each((c=this._id,y="end."+(v="style."+(m=e)),function(){var e=D(this,c),t=e.on,i=null==e.value[v]?b||(b=ej(m)):void 0;(t!==f||g!==i)&&(p=(f=t).copy()).on(y,g=i),e.on=p})):this.styleTween(e,(w=e,k=t+"",function(){var e=(0,eF.styleValue)(this,w);return e===k?null:e===M?x:x=S(M=e,t)}),i).on("end.style."+e,null)},styleTween:function(e,t,i){var a="style."+(e+="");if(arguments.length<2)return(a=this.tween(a))&&a._value;if(null==t)return this.tween(a,null);if("function"!=typeof t)throw Error();return this.tween(a,function(e,t,i){var a,n;function r(){var r=t.apply(this,arguments);return r!==n&&(a=(n=r)&&function(t){this.style.setProperty(e,r.call(this,t),i)}),a}return r._value=t,r}(e,t,null==i?"":i))},text:function(e){var t,i;return this.tween("text","function"==typeof e?(t=V(this,"text",e),function(){var e=t(this);this.textContent=null==e?"":e}):(i=null==e?"":e+"",function(){this.textContent=i}))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw Error();return this.tween(t,function(e){var t,i;function a(){var a=e.apply(this,arguments);return a!==i&&(t=(i=a)&&function(e){this.textContent=a.call(this,e)}),t}return a._value=e,a}(e))},remove:function(){var e;return this.on("end.remove",(e=this._id,function(){var t=this.parentNode;for(var i in this.__transition)if(+i!==e)return;t&&t.removeChild(this)}))},tween:function(e,t){var i=this._id;if(e+="",arguments.length<2){for(var a,n=N(this.node(),i).tween,r=0,o=n.length;r<o;++r)if((a=n[r]).name===e)return a.value;return null}return this.each((null==t?function(e,t){var i,a;return function(){var n=D(this,e),r=n.tween;if(r!==i){a=i=r;for(var o=0,s=a.length;o<s;++o)if(a[o].name===t){(a=a.slice()).splice(o,1);break}}n.tween=a}}:function(e,t,i){var a,n;if("function"!=typeof i)throw Error();return function(){var r=D(this,e),o=r.tween;if(o!==a){n=(a=o).slice();for(var s={name:t,value:i},l=0,u=n.length;l<u;++l)if(n[l].name===t){n[l]=s;break}l===u&&n.push(s)}r.tween=n}})(i,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?function(e,t){return function(){j(this,e).delay=+t.apply(this,arguments)}}:function(e,t){return t*=1,function(){j(this,e).delay=t}})(t,e)):N(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?function(e,t){return function(){D(this,e).duration=+t.apply(this,arguments)}}:function(e,t){return t*=1,function(){D(this,e).duration=t}})(t,e)):N(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw Error();return function(){D(this,e).ease=t}}(t,e)):N(this.node(),t).ease},easeVarying:function(e){var t;if("function"!=typeof e)throw Error();return this.each((t=this._id,function(){var i=e.apply(this,arguments);if("function"!=typeof i)throw Error();D(this,t).ease=i}))},end:function(){var e,t,i=this,a=i._id,n=i.size();return new Promise(function(r,o){var s={value:o},l={value:function(){0==--n&&r()}};i.each(function(){var i=D(this,a),n=i.on;n!==e&&((t=(e=n).copy())._.cancel.push(s),t._.interrupt.push(s),t._.end.push(l)),i.on=t}),0===n&&r()})},[Symbol.iterator]:eI[Symbol.iterator]};
1var e_={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};m.default.prototype.interrupt=function(e){return this.each(function(){I(this,e)})},m.default.prototype.transition=function(e){var t,i;e instanceof eN?(t=e._id,e=e._name):(t=++eD,(i=e_).time=x(),e=null==e?null:e+"");for(var a=this._groups,n=a.length,r=0;r<n;++r)for(var o,s=a[r],l=s.length,u=0;u<l;++u)(o=s[u])&&F(o,e,t,u,s,i||function(e,t){for(var i;!(i=e.__transition)||!(i=i[t]);)if(!(e=e.parentNode))throw Error(`transition ${t} not found`);return i}(o,t));return new eN(a,this._parents,e,t)};let eB=e=>()=>e;function eO(e,{sourceEvent:t,target:i,transform:a,dispatch:n}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:i,enumerable:!0,configurable:!0},transform:{value:a,enumerable:!0,configurable:!0},_:{value:n}})}function eW(e,t,i){this.k=e,this.x=t,this.y=i}eW.prototype={constructor:eW,scale:function(e){return 1===e?this:new eW(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new eW(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var ez=new eW(1,0,0);function eH(e){for(;!e.__zoom;)if(!(e=e.parentNode))return ez;return e.__zoom}function eG(e){e.stopImmediatePropagation()}function eU(e){e.preventDefault(),e.stopImmediatePropagation()}function eV(e){return(!e.ctrlKey||"wheel"===e.type)&&!e.button}function eK(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e).hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]:[[0,0],[e.clientWidth,e.clientHeight]]}function eq(){return this.__zoom||ez}function eY(e){return-e.deltaY*(1===e.deltaMode?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function eX(){return navigator.maxTouchPoints||"ontouchstart"in this}function e$(e,t,i){var a=e.invertX(t[0][0])-i[0][0],n=e.invertX(t[1][0])-i[1][0],r=e.invertY(t[0][1])-i[0][1],o=e.invertY(t[1][1])-i[1][1];return e.translate(n>a?(a+n)/2:Math.min(0,a)||Math.max(0,n),o>r?(r+o)/2:Math.min(0,r)||Math.max(0,o))}eH.prototype=eW.prototype,e.s([],684381),e.i(684381),e.s(["zoom",0,function(){var e,t,i,n=eV,r=eK,l=e$,d=eY,h=eX,m=[0,1/0],f=[[-1/0,-1/0],[1/0,1/0]],p=250,g=u,b=a("start","zoom","end"),v=0,y=10;function w(e){e.property("__zoom",eq).on("wheel.zoom",A).on("mousedown.zoom",C).on("dblclick.zoom",E).filter(h).on("touchstart.zoom",L).on("touchmove.zoom",R).on("touchend.zoom touchcancel.zoom",F).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function M(e,t){return(t=Math.max(m[0],Math.min(m[1],t)))===e.k?e:new eW(t,e.x,e.y)}function x(e,t,i){var a=t[0]-i[0]*e.k,n=t[1]-i[1]*e.k;return a===e.x&&n===e.y?e:new eW(e.k,a,n)}function k(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function S(e,t,i,a){e.on("start.zoom",function(){P(this,arguments).event(a).start()}).on("interrupt.zoom end.zoom",function(){P(this,arguments).event(a).end()}).tween("zoom",function(){var e=arguments,n=P(this,e).event(a),o=r.apply(this,e),s=null==i?k(o):"function"==typeof i?i.apply(this,e):i,l=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),u=this.__zoom,d="function"==typeof t?t.apply(this,e):t,h=g(u.invert(s).concat(l/u.k),d.invert(s).concat(l/d.k));return function(e){if(1===e)e=d;else{var t=h(e),i=l/t[2];e=new eW(i,s[0]-t[0]*i,s[1]-t[1]*i)}n.zoom(null,e)}})}function P(e,t,i){return!i&&e.__zooming||new T(e,t)}function T(e,t){this.that=e,this.args=t,this.active=0,this.sourceEvent=null,this.extent=r.apply(e,t),this.taps=0}function A(e,...t){if(n.apply(this,arguments)){var i=P(this,t).event(e),a=this.__zoom,r=Math.max(m[0],Math.min(m[1],a.k*Math.pow(2,d.apply(this,arguments)))),o=(0,c.default)(e);
1if(i.wheel)(i.mouse[0][0]!==o[0]||i.mouse[0][1]!==o[1])&&(i.mouse[1]=a.invert(i.mouse[0]=o)),clearTimeout(i.wheel);else{if(a.k===r)return;i.mouse=[o,a.invert(o)],I(this),i.start()}eU(e),i.wheel=setTimeout(function(){i.wheel=null,i.end()},150),i.zoom("mouse",l(x(M(a,r),i.mouse[0],i.mouse[1]),i.extent,f))}}function C(e,...t){if(!i&&n.apply(this,arguments)){var a,r,u,d=P(this,t,!0).event(e),h=(0,o.default)(e.view).on("mousemove.zoom",function(e){if(eU(e),!d.moved){var t=e.clientX-g,i=e.clientY-b;d.moved=t*t+i*i>v}d.event(e).zoom("mouse",l(x(d.that.__zoom,d.mouse[0]=(0,c.default)(e,p),d.mouse[1]),d.extent,f))},!0).on("mouseup.zoom",function(e){var t,i,a,n;h.on("mousemove.zoom mouseup.zoom",null),t=e.view,i=d.moved,a=t.document.documentElement,n=(0,o.default)(t).on("dragstart.drag",null),i&&(n.on("click.drag",s,!0),setTimeout(function(){n.on("click.drag",null)},0)),"onselectstart"in a?n.on("selectstart.drag",null):(a.style.MozUserSelect=a.__noselect,delete a.__noselect),eU(e),d.event(e).end()},!0),m=(0,c.default)(e,p),p=e.currentTarget,g=e.clientX,b=e.clientY;r=(a=e.view).document.documentElement,u=(0,o.default)(a).on("dragstart.drag",s,!0),"onselectstart"in r?u.on("selectstart.drag",s,!0):(r.__noselect=r.style.MozUserSelect,r.style.MozUserSelect="none"),eG(e),d.mouse=[m,this.__zoom.invert(m)],I(this),d.start()}}function E(e,...t){if(n.apply(this,arguments)){var i=this.__zoom,a=(0,c.default)(e.changedTouches?e.changedTouches[0]:e,this),s=i.invert(a),u=i.k*(e.shiftKey?.5:2),d=l(x(M(i,u),a,s),r.apply(this,t),f);eU(e),p>0?(0,o.default)(this).transition().duration(p).call(S,d,a,e):(0,o.default)(this).call(w.transform,d,a,e)}}function L(i,...a){if(n.apply(this,arguments)){var r,o,s,l,u=i.touches,d=u.length,h=P(this,a,i.changedTouches.length===d).event(i);for(eG(i),o=0;o<d;++o)s=u[o],l=[l=(0,c.default)(s,this),this.__zoom.invert(l),s.identifier],h.touch0?h.touch1||h.touch0[2]===l[2]||(h.touch1=l,h.taps=0):(h.touch0=l,r=!0,h.taps=1+!!e);e&&(e=clearTimeout(e)),r&&(h.taps<2&&(t=l[0],e=setTimeout(function(){e=null},500)),I(this),h.start())}}function R(e,...t){if(this.__zooming){var i,a,n,r,o=P(this,t).event(e),s=e.changedTouches,u=s.length;for(eU(e),i=0;i<u;++i)a=s[i],n=(0,c.default)(a,this),o.touch0&&o.touch0[2]===a.identifier?o.touch0[0]=n:o.touch1&&o.touch1[2]===a.identifier&&(o.touch1[0]=n);if(a=o.that.__zoom,o.touch1){var d=o.touch0[0],h=o.touch0[1],m=o.touch1[0],p=o.touch1[1],g=(g=m[0]-d[0])*g+(g=m[1]-d[1])*g,b=(b=p[0]-h[0])*b+(b=p[1]-h[1])*b;a=M(a,Math.sqrt(g/b)),n=[(d[0]+m[0])/2,(d[1]+m[1])/2],r=[(h[0]+p[0])/2,(h[1]+p[1])/2]}else{if(!o.touch0)return;n=o.touch0[0],r=o.touch0[1]}o.zoom("touch",l(x(a,n,r),o.extent,f))}}function F(e,...a){if(this.__zooming){var n,r,s=P(this,a).event(e),l=e.changedTouches,u=l.length;for(eG(e),i&&clearTimeout(i),i=setTimeout(function(){i=null},500),n=0;n<u;++n)r=l[n],s.touch0&&s.touch0[2]===r.identifier?delete s.touch0:s.touch1&&s.touch1[2]===r.identifier&&delete s.touch1;if(s.touch1&&!s.touch0&&(s.touch0=s.touch1,delete s.touch1),s.touch0)s.touch0[1]=this.__zoom.invert(s.touch0[0]);else if(s.end(),2===s.taps&&(r=(0,c.default)(r,this),Math.hypot(t[0]-r[0],t[1]-r[1])<y)){var d=(0,o.default)(this).on("dblclick.zoom");d&&d.apply(this,arguments)}}}return w.transform=function(e,t,i,a){var n=e.selection?e.selection():e;n.property("__zoom",eq),e!==n?S(e,t,i,a):n.interrupt().each(function(){P(this,arguments).event(a).start().zoom(null,"function"==typeof t?t.apply(this,arguments):t).end()})},w.scaleBy=function(e,t,i,a){w.scaleTo(e,function(){var e=this.__zoom.k,i="function"==typeof t?t.apply(this,arguments):t;return e*i},i,a)},w.scaleTo=function(e,t,i,a){w.transform(e,function(){var e=r.apply(this,arguments),a=this.__zoom,n=null==i?k(e):"function"==typeof i?i.apply(this,arguments):i,o=a.invert(n),s="function"==typeof t?t.apply(this,arguments):t;return l(x(M(a,s),n,o),e,f)},i,a)},w.translateBy=function(e,t,i,a){w.transform(e,function(){return l(this.__zoom.translate("function"==typeof t?t.apply(this,arguments):t,"function"==typeof i?i.apply(this,arguments):i),r.apply(this,arguments),f)},null,a)},w.translateTo=function(e,t,i,a,n){w.transform(e,function(){var e=r.apply(this,arguments),n=this.__zoom,o=null==a?k(e):"function"==typeof a?a.apply(this,arguments):a;return l(ez.translate(o[0],o[1]).scale(n.k).translate("function"==typeof t?-t.apply(this,arguments):-t,"function"==typeof i?-i.apply(this,arguments):-i),e,f)},a,n)},T.prototype={event:function(e){return e&&(this.sourceEvent=e),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit
1("start")),this},zoom:function(e,t){return this.mouse&&"mouse"!==e&&(this.mouse[1]=t.invert(this.mouse[0])),this.touch0&&"touch"!==e&&(this.touch0[1]=t.invert(this.touch0[0])),this.touch1&&"touch"!==e&&(this.touch1[1]=t.invert(this.touch1[0])),this.that.__zoom=t,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(e){var t=(0,o.default)(this.that).datum();b.call(e,this.that,new eO(e,{sourceEvent:this.sourceEvent,target:w,type:e,transform:this.that.__zoom,dispatch:b}),t)}},w.wheelDelta=function(e){return arguments.length?(d="function"==typeof e?e:eB(+e),w):d},w.filter=function(e){return arguments.length?(n="function"==typeof e?e:eB(!!e),w):n},w.touchable=function(e){return arguments.length?(h="function"==typeof e?e:eB(!!e),w):h},w.extent=function(e){return arguments.length?(r="function"==typeof e?e:eB([[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]]),w):r},w.scaleExtent=function(e){return arguments.length?(m[0]=+e[0],m[1]=+e[1],w):[m[0],m[1]]},w.translateExtent=function(e){return arguments.length?(f[0][0]=+e[0][0],f[1][0]=+e[1][0],f[0][1]=+e[0][1],f[1][1]=+e[1][1],w):[[f[0][0],f[0][1]],[f[1][0],f[1][1]]]},w.constrain=function(e){return arguments.length?(l=e,w):l},w.duration=function(e){return arguments.length?(p=+e,w):p},w.interpolate=function(e){return arguments.length?(g=e,w):g},w.on=function(){var e=b.on.apply(b,arguments);return e===b?w:e},w.clickDistance=function(e){return arguments.length?(v=(e*=1)*e,w):Math.sqrt(v)},w.tapDistance=function(e){return arguments.length?(y=+e,w):y},w},"zoomIdentity",0,ez,"zoomTransform",0,eH],27605)},192369,e=>{"use strict";e.s([],84211),e.i(84211);var t=e.i(210582),i=e.i(180239),a=0;function n(){return new r}function r(){this._="@"+(++a).toString(36)}r.prototype=n.prototype={constructor:r,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return;return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}};var o=e.i(598551),s=e.i(812704),l=e.i(904676),u=e.i(153597),d=e.i(481979),h=e.i(985431),c=e.i(518012),m=e.i(226141),f=e.i(459338),p=e.i(866547),g=e.i(468370);e.s(["create",0,function(e){return(0,i.default)((0,t.default)(e).call(document.documentElement))},"creator",()=>t.default,"local",0,n,"matcher",()=>o.default,"namespace",()=>s.default,"namespaces",()=>l.default,"pointer",()=>u.default,"pointers",0,function(e,t){return e.target&&(e=(0,d.default)(e),void 0===t&&(t=e.currentTarget),e=e.touches||[e]),Array.from(e,e=>(0,u.default)(e,t))},"select",()=>i.default,"selectAll",0,function(e){return"string"==typeof e?new c.Selection([document.querySelectorAll(e)],[document.documentElement]):new c.Selection([null==e?[]:(0,h.default)(e)],c.root)},"selection",()=>c.default,"selector",()=>m.default,"selectorAll",()=>f.default,"style",()=>p.styleValue,"window",()=>g.default],192369)},954839,(e,t,i)=>{e.e,function(e,t,i,a,n,r,o){"use strict";function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=s(t),u=s(i),d=function(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(i){if("default"!==i){var a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,a.get?a:{enumerable:!0,get:function(){return e[i]}})}}),t.default=e,Object.freeze(t)}(a);function h(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,a)}return i}function c(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?h(Object(i),!0).forEach(function(t){var a,n,r;a=e,n=t,r=i[t],n in a?Object.defineProperty(a,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[n]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):h(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){return(f=Object.assign.bind()).apply(this,arguments)}function p(e,t){if(null==e)return{};var i,a,n=function(e,t){if(null==e)return{};var i,a,n={},r=Object.keys(e);for(a=0;a<r.length;a++)i=r[a],t.indexOf(i)>=0||(n[i]=e[i]);return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)i=r[a],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var a,n,r=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(a=i.next()).done)&&(r.push(a.value),!t||r.length!==t);o=!0);}catch(e){s=!0,n=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw n}}return r}}(e,t)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if("Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return b(e,t)}}
1(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,a=Array(t);i<t;i++)a[i]=e[i];return a}var v=["width","height","projection","projectionConfig"],y=d.geoPath,w=p(d,["geoPath"]),M=t.createContext(),x=function(e){var i=e.width,a=e.height,n=e.projection,r=e.projectionConfig,o=p(e,v),s=g(r.center||[],2),u=s[0],d=s[1],h=g(r.rotate||[],3),c=h[0],m=h[1],b=h[2],x=g(r.parallels||[],2),k=x[0],S=x[1],P=r.scale||null,T=t.useMemo(function(){return function(e){var t=e.projectionConfig,i=void 0===t?{}:t,a=e.projection,n=void 0===a?"geoEqualEarth":a,r=e.width,o=e.height;if("function"==typeof n)return n;var s=w[n]().translate([(void 0===r?800:r)/2,(void 0===o?600:o)/2]);return[s.center?"center":null,s.rotate?"rotate":null,s.scale?"scale":null,s.parallels?"parallels":null].forEach(function(e){e&&(s=s[e](i[e]||s[e]()))}),s}({projectionConfig:{center:u||0===u||d||0===d?[u,d]:null,rotate:c||0===c||m||0===m?[c,m,b]:null,parallels:k||0===k||S||0===S?[k,S]:null,scale:P},projection:n,width:i,height:a})},[i,a,n,u,d,c,m,b,k,S,P]),A=t.useCallback(T,[T]),C=t.useMemo(function(){return{width:i,height:a,projection:A,path:y().projection(A)}},[i,a,A]);return l.default.createElement(M.Provider,f({value:C},o))};x.propTypes={width:u.default.number,height:u.default.number,projection:u.default.oneOfType([u.default.string,u.default.func]),projectionConfig:u.default.object};var k=["width","height","projection","projectionConfig","className"],S=t.forwardRef(function(e,t){var i=e.width,a=void 0===i?800:i,n=e.height,r=void 0===n?600:n,o=e.projection,s=e.projectionConfig,u=e.className,d=p(e,k);return l.default.createElement(x,{width:a,height:r,projection:void 0===o?"geoEqualEarth":o,projectionConfig:void 0===s?{}:s},l.default.createElement("svg",f({ref:t,viewBox:"0 0 ".concat(a," ").concat(r),className:"rsm-svg ".concat(void 0===u?"":u)},d)))});function P(e,t,i){var a=(e*i.k-e)/2,n=(t*i.k-t)/2;return[e/2-(a+i.x)/i.k,t/2-(n+i.y)/i.k]}function T(e,t){if("Topology"!==e.type)return t?t(e.features||e):e.features||e;var i=n.feature(e,e.objects[Object.keys(e.objects)[0]]).features;return t?t(i):i}function A(e){return"Topology"===e.type?{outline:n.mesh(e,e.objects[Object.keys(e.objects)[0]],function(e,t){return e===t}),borders:n.mesh(e,e.objects[Object.keys(e.objects)[0]],function(e,t){return e!==t})}:null}function C(e){var i=e.geography,a=e.parseGeographies,n=t.useContext(M).path,r=g(t.useState({}),2),o=r[0],s=r[1];t.useEffect(function(){"undefined"!==("u"<typeof window?"undefined":m(window))&&i&&("string"==typeof i?fetch(i).then(function(e){if(!e.ok)throw Error(e.statusText);return e.json()}).catch(function(e){console.log("There was a problem when fetching the data: ",e)}).then(function(e){e&&s({geographies:T(e,a),mesh:A(e)})}):s({geographies:T(i,a),mesh:A(i)}))},[i,a]);var l=t.useMemo(function(){var e,t,i,a=o.mesh||{},r=(e=a.outline,t=a.borders,e&&t?{outline:c(c({},e),{},{rsmKey:"outline",svgPath:n(e)}),borders:c(c({},t),{},{rsmKey:"borders",svgPath:n(t)})}:{});return{geographies:(i=o.geographies,i?i.map(function(e,t){return c(c({},e),{},{rsmKey:"geo-".concat(t),svgPath:n(e)})}):[]),outline:r.outline,borders:r.borders}},[o,n]);return{geographies:l.geographies,outline:l.outline,borders:l.borders}}S.displayName="ComposableMap",S.propTypes={width:u.default.number,height:u.default.number,projection:u.default.oneOfType([u.default.string,u.default.func]),projectionConfig:u.default.object,className:u.default.string};var E=["geography","children","parseGeographies","className"],L=t.forwardRef(function(e,i){var a=e.geography,n=e.children,r=e.parseGeographies,o=e.className,s=p(e,E),u=t.useContext(M),d=u.path,h=u.projection,c=C({geography:a,parseGeographies:r}),m=c.geographies,g=c.outline,b=c.borders;return l.default.createElement("g",f({ref:i,className:"rsm-geographies ".concat(void 0===o?"":o)},s),m&&m.length>0&&n({geographies:m,outline:g,borders:b,path:d,projection:h}))});L.displayName="Geographies",L.propTypes={geography:u.default.oneOfType([u.default.string,u.default.object,u.default.array]),children:u.default.func,parseGeographies:u.default.func,className:u.default.string};var R=["geography","onMouseEnter","onMouseLeave","onMouseDown","onMouseUp","onFocus","onBlur","style","className"],F=t.forwardRef(function(e,i){var a=e.geography,n=e.onMouseEnter,r=e.onMouseLeave,o=e.onMouseDown,s=e.onMouseUp,u=e.onFocus,d=e.onBlur,h=e.style,c=e.className,m=p(e,R),b=g(t.useState(!1),2),v=b[0],y=b[1],w=g(t.useState(!1),2),M=w[0],x=w[1];return l.default.createElement("path",f({ref:i,tabIndex:"0",className:"rsm-geography ".concat(void 0===c?"":c),d:a.svgPath,onMouseEnter:function(e){x(!0),n&&n(e)},onMouseLeave:function(e){x(!1),v&&y(!1),r&&r(e)},onFocus:function(e){x(!0),u&&u(e)},onBlur:function(e){x(!1),v&&y(!1),d&&d(e)},onMouseDown:function(e){y(!0),o&&o(e)},onMouseUp:function(e){y(!1),s&&s(e)},style:(void 0===h?{}:h)[v||M?v?"pressed":"hover":"default"]},m))});F.displayName="Geography",F.propTypes={geography:u.default.object,onMouseEnter:u.default.func,onMouseLeave:u.default.func,onMouseDown:u.default.func,onMouseUp:u.default.func,onFocus:u.default.func,onBlur:u.default.func,style:u.default.object,className:u.default.string};var j=t.memo(F),D=["fill","stroke","step","className"],N=t.forwardRef(function(e,i){var n=e.fill,r=e.stroke,o=e.step,s=e.className,u=p(e,D),d=t.useContext(M).path;return l.default.createElement("path",f({ref:i,d:d(a.geoGraticule().step(void 0===o?[10,10]:o)()),fill:void 0===n?"transparent":n,stroke:void 0===r?"currentcolor":r,className:"rsm-graticule ".concat(void 0===s?"":s)},u))});N.displayName="Graticule",N.propTypes={fill:u.default.string,stroke:u.default.string,step:u.default.array,className:u.default.string};var I=t.memo(N),_=["value"],B=t.createContext(),O={x:0,y:0,k:1,transformString:"translate(0 0) scale(1)"},W=function(e){var t=e.value,i=p(e,_);return l.default.createElement(B.Provider,f({value:void 0===t?O:t},i))};function z(e){var i=e.center,a=e.filterZoomEvent,n=e.onMoveStart,s=e.onMoveEnd,l=e.onMove,u=e.translateExtent,d=e.scaleExtent,h=e.zoom,c=void 0===h?1:h,m=t.useContext(M),f=m.width,p=m.height,b=m.projection,v=g(i,2),y=v[0],w=v[1],x=g(t.useState({x:0,y:0,k:1}),2),k=x[0],S=x[1],T=t.useRef({x:0,y:0,k:1}),A=t.useRef(),C=t.useRef(),E=t.useRef(!1),L=g(void 0===u?[[-1/0,-1/0],[1/0,1/0]]:u,2),R=L[0],F=L[1],j=g(R,2),D=j[0],N=j[1],I=g(F,2),_=I[0],B=I[1],O=g(void 0===d?[1,8]:d,2),W=O[0],z=O[1];return t.useEffect(function(){var e=o.select(A.current),t=r.zoom().filter(function(e){return a?a(e):!!e&&!e.ctrlKey&&!e.button}
1).scaleExtent([W,z]).translateExtent([[D,N],[_,B]]).on("start",function(e){n&&!E.current&&n({coordinates:b.invert(P(f,p,e.transform)),zoom:e.transform.k},e)}).on("zoom",function(e){if(!E.current){var t=e.transform,i=e.sourceEvent;S({x:t.x,y:t.y,k:t.k,dragging:i}),l&&l({x:t.x,y:t.y,zoom:t.k,dragging:i},e)}}).on("end",function(e){if(E.current)E.current=!1;else{var t=g(b.invert(P(f,p,e.transform)),2),i=t[0],a=t[1];T.current={x:i,y:a,k:e.transform.k},s&&s({coordinates:[i,a],zoom:e.transform.k},e)}});C.current=t,e.call(t)},[f,p,D,N,_,B,W,z,b,n,l,s,a]),t.useEffect(function(){if(y!==T.current.x||w!==T.current.y||c!==T.current.k){var e=b([y,w]),t=e[0]*c,i=e[1]*c,a=o.select(A.current);E.current=!0,a.call(C.current.transform,r.zoomIdentity.translate(f/2-t,p/2-i).scale(c)),S({x:f/2-t,y:p/2-i,k:c}),T.current={x:y,y:w,k:c}}},[y,w,c,f,p,b]),{mapRef:A,position:k,transformString:"translate(".concat(k.x," ").concat(k.y,") scale(").concat(k.k,")")}}W.propTypes={x:u.default.number,y:u.default.number,k:u.default.number,transformString:u.default.string};var H=["center","zoom","minZoom","maxZoom","translateExtent","filterZoomEvent","onMoveStart","onMove","onMoveEnd","className"],G=t.forwardRef(function(e,i){var a=e.center,n=e.zoom,r=e.minZoom,o=e.maxZoom,s=e.translateExtent,u=e.filterZoomEvent,d=e.onMoveStart,h=e.onMove,c=e.onMoveEnd,m=e.className,g=p(e,H),b=t.useContext(M),v=b.width,y=b.height,w=z({center:void 0===a?[0,0]:a,filterZoomEvent:u,onMoveStart:d,onMove:h,onMoveEnd:c,scaleExtent:[void 0===r?1:r,void 0===o?8:o],translateExtent:s,zoom:void 0===n?1:n}),x=w.mapRef,k=w.transformString,S=w.position;return l.default.createElement(W,{value:{x:S.x,y:S.y,k:S.k,transformString:k}},l.default.createElement("g",{ref:x},l.default.createElement("rect",{width:v,height:y,fill:"transparent"}),l.default.createElement("g",f({ref:i,transform:k,className:"rsm-zoomable-group ".concat(m)},g))))});G.displayName="ZoomableGroup",G.propTypes={center:u.default.array,zoom:u.default.number,minZoom:u.default.number,maxZoom:u.default.number,translateExtent:u.default.arrayOf(u.default.array),onMoveStart:u.default.func,onMove:u.default.func,onMoveEnd:u.default.func,className:u.default.string};var U=["id","fill","stroke","strokeWidth","className"],V=t.forwardRef(function(e,i){var a=e.id,n=e.fill,r=e.stroke,o=e.strokeWidth,s=e.className,u=p(e,U),d=t.useContext(M).path,h=t.useMemo(function(){return d({type:"Sphere"})},[d]);return l.default.createElement(t.Fragment,null,l.default.createElement("defs",null,l.default.createElement("clipPath",{id:void 0===a?"rsm-sphere":a},l.default.createElement("path",{d:h}))),l.default.createElement("path",f({ref:i,d:h,fill:void 0===n?"transparent":n,stroke:void 0===r?"currentcolor":r,strokeWidth:void 0===o?.5:o,style:{pointerEvents:"none"},className:"rsm-sphere ".concat(void 0===s?"":s)},u)))});V.displayName="Sphere",V.propTypes={id:u.default.string,fill:u.default.string,stroke:u.default.string,strokeWidth:u.default.number,className:u.default.string};var K=t.memo(V),q=["coordinates","children","onMouseEnter","onMouseLeave","onMouseDown","onMouseUp","onFocus","onBlur","style","className"],Y=t.forwardRef(function(e,i){var a=e.coordinates,n=e.children,r=e.onMouseEnter,o=e.onMouseLeave,s=e.onMouseDown,u=e.onMouseUp,d=e.onFocus,h=e.onBlur,c=e.style,m=e.className,b=p(e,q),v=t.useContext(M).projection,y=g(t.useState(!1),2),w=y[0],x=y[1],k=g(t.useState(!1),2),S=k[0],P=k[1],T=g(v(a),2),A=T[0],C=T[1];return l.default.createElement("g",f({ref:i,transform:"translate(".concat(A,", ").concat(C,")"),className:"rsm-marker ".concat(void 0===m?"":m),onMouseEnter:function(e){P(!0),r&&r(e)},onMouseLeave:function(e){P(!1),w&&x(!1),o&&o(e)},onFocus:function(e){P(!0),d&&d(e)},onBlur:function(e){P(!1),w&&x(!1),h&&h(e)},onMouseDown:function(e){x(!0),s&&s(e)},onMouseUp:function(e){x(!1),u&&u(e)},style:(void 0===c?{}:c)[w||S?w?"pressed":"hover":"default"]},b),n)});Y.displayName="Marker",Y.propTypes={coordinates:u.default.array,children:u.default.oneOfType([u.default.node,u.default.arrayOf(u.default.node)]),onMouseEnter:u.default.func,onMouseLeave:u.default.func,onMouseDown:u.default.func,onMouseUp:u.default.func,onFocus:u.default.func,onBlur:u.default.func,style:u.default.object,className:u.default.string};var X=["from","to","coordinates","stroke","strokeWidth","fill","className"],$=t.forwardRef(function(e,i){var a=e.from,n=e.to,r=e.coordinates,o=e.stroke,s=e.strokeWidth,u=e.fill,d=e.className,h=p(e,X),c=t.useContext(M).path,m={type:"LineString",coordinates:r||[void 0===a?[0,0]:a,void 0===n?[0,0]:n]};return l.default.createElement("path",f({ref:i,d:c(m),className:"rsm-line ".concat(void 0===d?"":d),stroke:void 0===o?"currentcolor":o,strokeWidth:void 0===s?3:s,fill:void 0===u?"transparent":u},h))});$.displayName="Line",$.propTypes={from:u.default.array,to:u.default.array,coordinates:u.default.array,stroke:u.default.string,strokeWidth:u.default.number,fill:u.default.string,className:u.default.string};var Z=["subject","children","connectorProps","dx","dy","curve","className"],Q=t.forwardRef(function(e,i){var a=e.subject,n=e.children,r=e.connectorProps,o=e.dx,s=void 0===o?30:o,u=e.dy,d=void 0===u?30:u,h=e.curve,c=e.className,m=p(e,Z),b=g((0,t.useContext(M).projection)(a),2),v=b[0],y=b[1],w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,a=Array.isArray(i)?i:[i,i],n=e/2*a[0],r=t/2*a[1];return"M".concat(0,",",0," Q",-e/2-n,",").concat(-t/2+r," ").concat(-e,",").concat(-t)}(s,d,void 0===h?0:h);return l.default.createElement("g",f({ref:i,transform:"translate(".concat(v+s,", ").concat(y+d,")"),className:"rsm-annotation ".concat(void 0===c?"":c)},m),l.default.createElement("path",f({d:w,fill:"transparent",stroke:"#000"},r)),n)});Q.displayName="Annotation",Q.propTypes={subject:u.default.array,children:u.default.oneOfType([u.default.node,u.default.arrayOf(u.default.node)]),dx:u.default.number,dy:u.default.number,curve:u.default.number,connectorProps:u.default.object,className:u.default.string},e.Annotation=Q,e.ComposableMap=S,e.Geographies=L,e.Geography=j,e.Graticule=I,e.Line=$,e.MapContext=M,e.MapProvi
1der=x,e.Marker=Y,e.Sphere=K,e.ZoomPanContext=B,e.ZoomPanProvider=W,e.ZoomableGroup=G,e.useGeographies=C,e.useMapContext=function(){return t.useContext(M)},e.useZoomPan=z,e.useZoomPanContext=function(){return t.useContext(B)},Object.defineProperty(e,"__esModule",{value:!0})}(i,e.r(866988),e.r(304153),e.r(621877),e.r(241862),e.r(27605),e.r(192369))},943572,e=>{"use strict";var t,i,a=e.i(866988);function n(e,t){let i=t&&t.cache?t.cache:u,a=t&&t.serializer?t.serializer:s;return(t&&t.strategy?t.strategy:function(e,t){var i,a;let n=1===e.length?r:o;return i=t.cache.create(),a=t.serializer,n.bind(this,e,i,a)})(e,{cache:i,serializer:a})}function r(e,t,i,a){let n=null==a||"number"==typeof a||"boolean"==typeof a?a:i(a),r=t.get(n);return void 0===r&&(r=e.call(this,a),t.set(n,r)),r}function o(e,t,i){let a=Array.prototype.slice.call(arguments,3),n=i(a),r=t.get(n);return void 0===r&&(r=e.apply(this,a),t.set(n,r)),r}let s=function(){return JSON.stringify(arguments)};var l=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}};let u={create:function(){return new l}},d={variadic:function(e,t){var i,a;return i=t.cache.create(),a=t.serializer,o.bind(this,e,i,a)},monadic:function(e,t){var i,a;return i=t.cache.create(),a=t.serializer,r.bind(this,e,i,a)}};
1class h extends Error{constructor(e,t){let i=e;t&&(i+=": "+t),super(i),this.code=e,t&&(this.originalMessage=t)}}var c=((t=c||{}).MISSING_MESSAGE="MISSING_MESSAGE",t.MISSING_FORMAT="MISSING_FORMAT",t.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",t.INSUFFICIENT_PATH="INSUFFICIENT_PATH",t.INVALID_MESSAGE="INVALID_MESSAGE",t.INVALID_KEY="INVALID_KEY",t.FORMATTING_ERROR="FORMATTING_ERROR",t);function m(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function f(e,t){return n(e,{cache:{create:()=>({get:e=>t[e],set(e,i){t[e]=i}})},strategy:d.variadic})}function p(e,t){return f((...t)=>new e(...t),t)}function g(e){return{getDateTimeFormat:p(Intl.DateTimeFormat,e.dateTime),getNumberFormat:p(Intl.NumberFormat,e.number),getPluralRules:p(Intl.PluralRules,e.pluralRules),getRelativeTimeFormat:p(Intl.RelativeTimeFormat,e.relativeTime),getListFormat:p(Intl.ListFormat,e.list),getDisplayNames:p(Intl.DisplayNames,e.displayNames)}}let b=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,v=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,y=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,w=/^(@+)?(\+|#+)?[rs]?$/g,M=/(\*)(0+)|(#+)(0+)|(0+)/g,x=/^(0+)$/;function k(e){let t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(w,function(e,i,a){return"string"!=typeof a?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):"+"===a?t.minimumSignificantDigits=i.length:"#"===i[0]?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+("string"==typeof a?a.length:0)),""}),t}function S(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function P(e){let t=S(e);return t||{}}let T=((i={})[i.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",i[i.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",i[i.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",i[i.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",i[i.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",i[i.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",i[i.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",i[i.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",i[i.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",i[i.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",i[i.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",i[i.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",i[i.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",i[i.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",i[i.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",i[i.INVALID_TAG=23]="INVALID_TAG",i[i.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",i[i.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",i[i.UNCLOSED_TAG=27]="UNCLOSED_TAG",i);function A(e){return!!(e&&"object"==typeof e&&0===e.type)}function C(e){return!!(e&&"object"==typeof e&&1===e.type)}let E=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,L={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA
1:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},R=RegExp(`^${E.source}*`),F=RegExp(`${E.source}*$`);function j(e,t){return{start:e,end:t}}let D=!!Object.fromEntries,N=!!String.prototype.trimStart,I=!!String.prototype.trimEnd,_=D?Object.fromEntries:function(e){let t={};for(let[i,a]of e)t[i]=a;return t},B=N?function(e){return e.trimStart()}:function(e){return e.replace(R,"")},O=I?function(e){return e.trimEnd()}:function(e){return e.replace(F,"")},W=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var z=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){let e=this.message.charCodeAt(0);if(35!==e&&39!==e&&60!==e&&123!==e&&125!==e){let e=function(e){if(0===e.length)return null;let t=1,i=1;for(let a=0;a<e.length;){let n=e.charCodeAt(a);switch(n){case 35:case 39:case 60:case 123:case 125:return null}if(10===n)t++,i=1,a++;else if(i++,n>=55296&&n<=56319&&a+1<e.length){let t=e.charCodeAt(a+1);a+=t>=56320&&t<=57343?2:1}else a++}return{offset:e.length,line:t,column:i}}(this.message);if(e){let t=this.clonePosition();return this.position=e,{val:[{type:0,value:this.message,location:j(t,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(e,t,i){let a=[];for(;!this.isEOF();){let n=this.char();if(123===n){let t=this.parseArgument(e,i);if(t.err)return t;a.push(t.val)}else if(125===n&&e>0)break;else if(35===n&&("plural"===t||"selectordinal"===t)){let e=this.clonePosition();this.bump(),a.push({type:7,location:j(e,this.clonePosition())})}else if(60!==n||this.ignoreTag||47!==this.peek())if(60===n&&!this.ignoreTag&&H(this.peek()||0)){let i=this.parseTag(e,t);if(i.err)return i;a.push(i.val)}else{let i=this.parseLiteral(e,t);if(i.err)return i;a.push(i.val)}else if(!i)return this.error(26,j(this.clonePosition(),this.clonePosition()));else break}return{val:a,err:null}}parseTag(e,t){let i=this.clonePosition();this.bump();let a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${a}/>`,location:j(i,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(23,j(i,this.clonePosition()));{let n=this.parseMessage(e+1,t,!0);if(n.err)return n;let r=n.val,o=this.clonePosition();if(!this.bumpIf("</"))return this.error(27,j(i,this.clonePosition()));{if(this.isEOF()||!H(this.char()))return this.error(23,j(o,this.clonePosition()));let e=this.clonePosition();return a!==this.parseTagName()?this.error(26,j(e,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:8,value:a,children:r,location:j(i,this.clonePosition())},err:null}:this.error(23,j(o,this.clonePosition()))}}}parseTagName(){var e;let t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())}parseLiteral(e,t){let i=this.clonePosition(),a="";for(;;){let i=this.tryParseQuote(t);if(i){a+=i;continue}let n=this.tryParseUnquoted(e,t);if(n){a+=n;continue}let r=this.tryParseLeftAngleBracket();if(r){a+=r;continue}break}return{val:{type:0,value:a,location:j(i,this.clonePosition())},err:null}}tryParseLeftAngleBracket(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(H(e=this.peek()||0)||47===e)?null:(this.bump(),"<")}tryParseQuote(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";
1case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(39===e)if(39===this.peek())t.push(39),this.bump();else{this.bump();break}else t.push(e);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let i=this.char();return 60===i||123===i||35===i&&("plural"===t||"selectordinal"===t)||125===i&&e>0?null:(this.bump(),String.fromCodePoint(i))}parseArgument(e,t){let i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,j(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,j(i,this.clonePosition()));let a=this.parseIdentifierIfPossible().value;if(!a)return this.error(3,j(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,j(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:a,location:j(i,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,j(i,this.clonePosition()));return this.parseArgumentOptions(e,t,a,i);default:return this.error(3,j(i,this.clonePosition()))}}parseIdentifierIfPossible(){var e;let t=this.clonePosition(),i=this.offset(),a=(e=this.message,W.lastIndex=i,W.exec(e)[1]??""),n=i+a.length;return this.bumpTo(n),{value:a,location:j(t,this.clonePosition())}}parseArgumentOptions(e,t,i,a){let n=this.clonePosition(),r=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(r){case"":return this.error(4,j(n,o));case"number":case"date":case"time":{this.bumpSpace();let e=null;if(this.bumpIf(",")){this.bumpSpace();let t=this.clonePosition(),i=this.parseSimpleArgStyleIfPossible();if(i.err)return i;let a=O(i.val);if(0===a.length)return this.error(6,j(this.clonePosition(),this.clonePosition()));e={style:a,styleLocation:j(t,this.clonePosition())}}let t=this.tryParseArgumentClose(a);if(t.err)return t;let n=j(a,this.clonePosition());if(e&&e.style.startsWith("::")){let t=B(e.style.slice(2));if("number"===r){let a=this.parseNumberSkeletonFromString(t,e.styleLocation);if(a.err)return a;return{val:{type:2,value:i,location:n,style:a.val},err:null}}{let a;if(0===t.length)return this.error(10,n);let o=t;return this.locale&&(o=function(e,t){let i="";for(let a=0;a<e.length;a++){let n=e.charAt(a);if("j"===n){let r=0;for(;a+1<e.length&&e.charAt(a+1)===n;)r++,a++;let o=1+(1&r),s=r<2?1:3+(r>>1),l=function(e){let t,i=e.hourCycle;if(void 0===i&&e.hourCycles&&e.hourCycles.length&&(i=e.hourCycles[0]),i)switch(i){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}let a=e.language;return"root"!==a&&(t=e.maximize().region),(L[t||""]||L[a||""]||L[`${a}-001`]||L["001"])[0]}(t);for(("H"==l||"k"==l)&&(s=0);s-- >0;)i+="a";for(;o-- >0;)i=l+i}else"J"===n?i+="H":i+=n}return i}(t,this.locale)),{val:{type:"date"===r?3:4,value:i,location:n,style:{type:1,pattern:o,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?(a={},o.replace(b,e=>{let t=e.length;switch(e[0]){case"G":a.era=4===t?"long":5===t?"narrow":"short";break;case"y":a.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":a.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":a.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":a.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-3];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-3];break;case"a":a.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":a.hourCycle="h12",a.hour=["numeric","2-digit"][t-1];break;case"H":a.hourCycle="h23",a.hour=["numeric","2-digit"][t-1];break;case"K":a.hourCycle="h11",a.hour=["numeric","2-digit"][t-1];break;case"k":a.hourCycle="h24",a.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":a.minute=["numeric","2-digit"][t-1];break;case"s":a.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":a.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),a):{}}},err:null}}}return{val:{type:"number"===r?2:"date"===r?3:4,value:i,location:n,style:e?.style??null},err:null}}
1case"plural":case"selectordinal":case"select":{let n=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,j(n,{...n}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),s=0;if("select"!==r&&"offset"===o.value){if(!this.bumpIf(":"))return this.error(13,j(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(13,14);if(e.err)return e;this.bumpSpace(),o=this.parseIdentifierIfPossible(),s=e.val}let l=this.tryParsePluralOrSelectOptions(e,r,t,o);if(l.err)return l;let u=this.tryParseArgumentClose(a);if(u.err)return u;let d=j(a,this.clonePosition());if("select"===r)return{val:{type:5,value:i,options:_(l.val),location:d},err:null};return{val:{type:6,value:i,options:_(l.val),offset:s,pluralType:"plural"===r?"cardinal":"ordinal",location:d},err:null}}default:return this.error(5,j(n,o))}}tryParseArgumentClose(e){return this.isEOF()||125!==this.char()?this.error(1,j(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,j(e,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let i=[];try{i=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");let t=e.split(v).filter(e=>e.length>0),i=[];for(let e of t){let t=e.split("/");if(0===t.length)throw Error("Invalid number skeleton");let[a,...n]=t;for(let e of n)if(0===e.length)throw Error("Invalid number skeleton");i.push({stem:a,options:n})}return i}(e)}catch{return this.error(7,t)}return{val:{type:0,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?function(e){let t={};for(let i of e){switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t={...t,notation:"scientific",...i.options.reduce((e,t)=>({...e,...P(t)}),{})};continue;case"engineering":t={...t,notation:"engineering",...i.options.reduce((e,t)=>({...e,...P(t)}),{})};continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw RangeError("integer-width stems only accept a single optional option");i.options[0].replace(M,function(e,i,a,n,r,o){if(i)t.minimumIntegerDigits=a.length;else if(n&&r)throw Error("We currently do not support maximum integer digits");else if(o)throw Error("We currently do not support exact integer digits");return""});continue}if(x.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(y.test(i.stem)){if(i.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(y,function(e,i,a,n,r,o){return"*"===a?t.minimumFractionDigits=i.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:r&&o?(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length+o.length):(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length),""});let e=i.options[0];
1"w"===e?t={...t,trailingZeroDisplay:"stripIfInteger"}:e&&(t={...t,...k(e)});continue}if(w.test(i.stem)){t={...t,...k(i.stem)};continue}let e=S(i.stem);e&&(t={...t,...e});let a=function(e){let t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){let i=e.slice(0,2);if("+!"===i?(t.signDisplay="always",e=e.slice(2)):"+?"===i&&(t.signDisplay="exceptZero",e=e.slice(2)),!x.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem);a&&(t={...t,...a})}return t}(i):{}},err:null}}tryParsePluralOrSelectOptions(e,t,i,a){let n=!1,r=[],o=new Set,{value:s,location:l}=a;for(;;){if(0===s.length){let e=this.clonePosition();if("select"!==t&&this.bumpIf("=")){let t=this.tryParseDecimalInteger(16,19);if(t.err)return t;l=j(e,this.clonePosition()),s=this.message.slice(e.offset,this.offset())}else break}if(o.has(s))return this.error("select"===t?21:20,l);"other"===s&&(n=!0),this.bumpSpace();let a=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?17:18,j(this.clonePosition(),this.clonePosition()));let u=this.parseMessage(e+1,t,i);if(u.err)return u;let d=this.tryParseArgumentClose(a);if(d.err)return d;r.push([s,{value:u.val,location:j(a,this.clonePosition())}]),o.add(s),this.bumpSpace(),{value:s,location:l}=this.parseIdentifierIfPossible()}return 0===r.length?this.error("select"===t?15:16,j(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(22,j(this.clonePosition(),this.clonePosition())):{val:r,err:null}}tryParseDecimalInteger(e,t){let i=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);let n=!1,r=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)n=!0,r=10*r+(e-48),this.bump();else break}let o=j(a,this.clonePosition());return n?Number.isSafeInteger(r*=i)?{val:r,err:null}:this.error(t,o):this.error(e,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");let t=this.message.codePointAt(e);if(void 0===t)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){if(this.message.startsWith(e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),i=this.message.indexOf(e,t);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(var e;!this.isEOF()&&((e=this.char())>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e);)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function H(e){return e>=97&&e<=122||e>=65&&e<=90}function G(e,t={}){let i=new z(e,t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t}).parse();if(i.err){let e=SyntaxError(T[i.err.kind]);throw e.location=i.err.location,e.originalMessage=i.err.message,e}return t?.captureLocation||function e(t){t.forEach(t=>{if(delete t.location,5===t.type||6===t.type)for(let i in t.options)delete t.options[i].location,e(t.options[i].value);else 2===t.type&&A(t.style)||(3===t.type||4===t.type)&&C(t.style)?delete t.style.location:8===t.type&&e(t.children)})}(i.val),i.val}var U=class extends Error{constructor(e,t,i){super(e),this.code=t,this.originalMessage=i}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},V=class extends U{constructor(e,t,i,a){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(i).join('", "')}"`,"INVALID_VALUE",a)}},K=class extends U{constructor(e,t,i){super(`Value for "${e}" must be of type ${t}`,"INVALID_VALUE",i)}}
1,q=class extends U{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,"MISSING_VALUE",t)}};function Y(e){return{create:()=>({get:t=>e[t],set(t,i){e[t]=i}})}}var X=class e{constructor(t,i=e.defaultLocale,a,r){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=e=>{let t=this.formatToParts(e);if(1===t.length)return t[0].value;let i=t.reduce((e,t)=>(e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e),[]);return i.length<=1?i[0]||"":i},this.formatToParts=e=>(function e(t,i,a,n,r,o,s){if(1===t.length&&0===t[0].type)return[{type:0,value:t[0].value}];let l=[];for(let u of t){if(0===u.type){l.push({type:0,value:u.value});continue}if(7===u.type){"number"==typeof o&&l.push({type:0,value:a.getNumberFormat(i).format(o)});continue}let{value:t}=u;if(!(r&&t in r))throw new q(t,s);let d=r[t];if(1===u.type){d&&"string"!=typeof d&&"number"!=typeof d&&"bigint"!=typeof d||(d="string"==typeof d||"number"==typeof d||"bigint"==typeof d?String(d):""),l.push({type:+("string"!=typeof d),value:d});continue}if(3===u.type){let e="string"==typeof u.style?n.date[u.style]:C(u.style)?u.style.parsedOptions:void 0;l.push({type:0,value:a.getDateTimeFormat(i,e).format(d)});continue}if(4===u.type){let e="string"==typeof u.style?n.time[u.style]:C(u.style)?u.style.parsedOptions:n.time.medium;l.push({type:0,value:a.getDateTimeFormat(i,e).format(d)});continue}if(2===u.type){let e="string"==typeof u.style?n.number[u.style]:A(u.style)?u.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if("bigint"==typeof d){if(!Number.isInteger(t))throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);d*=BigInt(t)}else d*=t}l.push({type:0,value:a.getNumberFormat(i,e).format(d)});continue}if(8===u.type){let{children:t,value:d}=u,h=r[d];if("function"!=typeof h)throw new K(d,"function",s);let c=h(e(t,i,a,n,r,o).map(e=>e.value));Array.isArray(c)||(c=[c]),l.push(...c.map(e=>({type:+("string"!=typeof e),value:e})))}if(5===u.type){let t=d,o=(Object.prototype.hasOwnProperty.call(u.options,t)?u.options[t]:void 0)||u.options.other;if(!o)throw new V(u.value,d,Object.keys(u.options),s);l.push(...e(o.value,i,a,n,r));continue}if(6===u.type){let t=`=${d}`,o=Object.prototype.hasOwnProperty.call(u.options,t)?u.options[t]:void 0;if(!o){if(!Intl.PluralRules)throw new U(`Intl.PluralRules is not available in this environment.
2Try polyfilling it using "@formatjs/intl-pluralrules"
3`,"MISSING_INTL_API",s);let e="bigint"==typeof d?Number(d):d,t=a.getPluralRules(i,{type:u.pluralType}).select(e-(u.offset||0));o=(Object.prototype.hasOwnProperty.call(u.options,t)?u.options[t]:void 0)||u.options.other}if(!o)throw new V(u.value,d,Object.keys(u.options),s);let h="bigint"==typeof d?Number(d):d;l.push(...e(o.value,i,a,n,r,h-(u.offset||0)));continue}}return l.length<2?l:l.reduce((e,t)=>{let i=e[e.length-1];return i&&0===i.type&&0===t.type?i.value+=t.value:e.push(t),e},[])})(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=i,this.resolvedLocale=e.resolveLocale(i),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");const{...i}=r||{};this.ast=e.__parse(t,{...i,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=function(e,t){return t?Object.keys(e).reduce((i,a)=>{var n,r;return i[a]=(n=e[a],(r=t[a])?{...n,...r,...Object.keys(n).reduce((e,t)=>(e[t]={...n[t],...r[t]},e),{})}:n),i},{...e}):e}(e.formats,a),this.formatters=r&&r.formatters||function(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:n((...e)=>new Intl.NumberFormat(...e),{cache:Y(e.number),strategy:d.variadic}),getDateTimeFormat:n((...e)=>new Intl.DateTimeFormat(...e),{cache:Y(e.dateTime),strategy:d.variadic}),getPluralRules:n((...e)=>new Intl.PluralRules(...e),{cache:Y(e.pluralRules),strategy:d.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}static{this.resolveLocale=e=>{if(void 0===Intl.Locale)return;let t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}}static{this.__parse=G}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}};function $(...[e,t,i,n]){let r;if(Array.isArray(t))throw new h(c.INVALID_MESSAGE,void 0);if("object"==typeof t)throw new h(c.INSUFFICIENT_PATH,void 0);if("string"==typeof t){let e=i||/'[{}<#|']/.test(t)?void 0:t;if(e)return e}let{cache:o,formats:s,formatters:l,globalFormats:u,locale:d,timeZone:m}=n;l.getMessageFormat||(l.getMessageFormat=f((...e)=>new X(e[0],e[1],e[2],{formatters:l,...e[3]}),o.message));try{let e,i,a,n;r=l.getMessageFormat(t,d,(e=X.formats.date,i=X.formats.time,a={...u?.dateTime,...s?.dateTime},n={date:{...e,...a},time:{...i,...a},number:{...u?.number,...s?.number}}
3,m&&["date","time"].forEach(e=>{let t=n[e];for(let[e,i]of Object.entries(t))t[e]={timeZone:m,...i}}),n),{formatters:{...l,getDateTimeFormat:(e,t)=>l.getDateTimeFormat(e,{...t,timeZone:t?.timeZone??m})}})}catch(e){throw new h(c.INVALID_MESSAGE,void 0)}let p=r.format(i);return(0,a.isValidElement)(p)||Array.isArray(p)||"string"==typeof p?p:String(p)}function Z(...e){return e.filter(Boolean).join(".")}function Q(e){return Z(e.namespace,e.key)}function J(e){console.error(e)}function ee(e,t,i,a){let n=Z(a,i);if(!t)throw Error(n);let r=t;return i.split(".").forEach(t=>{let i=r[t];if(null==t||null==i)throw Error(n+` (${e})`);r=i}),r}$.raw=!0;let et={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:2628e3,months:2628e3,quarter:7884e3,quarters:7884e3,year:31536e3,years:31536e3};var ei=e.i(361560);let ea=(0,a.createContext)(void 0);function en(){let e=(0,a.useContext)(ea);if(!e)throw Error(void 0);return e}let er=!1,eo="u"<typeof window;e.s(["IntlProvider",0,function({children:e,formats:t,getMessageFallback:i,locale:n,messages:r,now:o,onError:s,timeZone:l}){let u=(0,a.useContext)(ea),d=(0,a.useMemo)(()=>u?.cache||m(),[n,u?.cache]),h=(0,a.useMemo)(()=>u?.formatters||g(d),[d,u?.formatters]),c=(0,a.useMemo)(()=>({...function({formats:e,getMessageFallback:t,messages:i,onError:a,...n}){return{...n,formats:e||void 0,messages:i||void 0,onError:a||J,getMessageFallback:t||Q}}({locale:n,formats:void 0===t?u?.formats:t,getMessageFallback:i||u?.getMessageFallback,messages:void 0===r?u?.messages:r,now:o||u?.now,onError:s||u?.onError,timeZone:l||u?.timeZone}),formatters:h,cache:d}),[d,t,h,i,n,r,o,s,u,l]);return(0,ei.jsx)(ea.Provider,{value:c,children:e})},"useFormatter",0,function(){let{formats:e,formatters:t,locale:i,now:n,onError:r,timeZone:o}=en();return(0,a.useMemo)(()=>(function(e){let{_cache:t=m(),_formatters:i=g(t),formats:a,locale:n,onError:r=J,timeZone:o}=e;function s(e){return e?.timeZone||(o?e={...e,timeZone:o}:r(new h(c.ENVIRONMENT_FALLBACK,void 0))),e}function l(e,t,i,a,n){let o;try{o=function(e,t,i){let a;if("string"==typeof t){if(!(a=e?.[t])){let e=new h(c.MISSING_FORMAT,void 0);throw r(e),e}}else a=t;return i&&(a={...a,...i}),a}(i,e,t)}catch{return n()}try{return a(o)}catch(e){return r(new h(c.FORMATTING_ERROR,e.message)),n()}}function u(e,t,r){return l(t,r,a?.dateTime,t=>(t=s(t),i.getDateTimeFormat(n,t).format(e)),()=>String(e))}function d(){return e.now?e.now:(r(new h(c.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:u,number:function(e,t,r){return l(t,r,a?.number,t=>i.getNumberFormat(n,t).format(e),()=>String(e))},relativeTime:function(e,t){try{var a;let r,o,s,l={};t instanceof Date||"number"==typeof t?r=new Date(t):t&&(r=null!=t.now?new Date(t.now):d(),o=t.unit,l.style=t.style,l.numberingSystem=t.numberingSystem),r||(r=d());let u=(new Date(e).getTime()-r.getTime())/1e3;o||(o=(s=Math.abs(u))<60?"second":s<3600?"minute":s<86400?"hour":s<604800?"day":s<2628e3?"week":s<31536e3?"month":"year"),l.numeric="second"===o?"auto":"always";let h=(a=o,Math.round(u/et[a]));return i.getRelativeTimeFormat(n,l).format(h,o)}catch(t){return r(new h(c.FORMATTING_ERROR,t.message)),String(e)}},list:function(e,t,r){let o=[],s=new Map,u=0;for(let t of e){let e;"object"==typeof t?(e=String(u),s.set(e,t)):e=String(t),o.push(e),u++}return l(t,r,a?.list,e=>{let t=i.getListFormat(n,e).formatToParts(o).map(e=>"literal"===e.type?e.value:s.get(e.value)||e.value);return s.size>0?t:t.join("")},()=>String(e))},dateTimeRange:function(e,t,r,o){return l(r,o,a?.dateTime,a=>(a=s(a),i.getDateTimeFormat(n,a).formatRange(e,t)),()=>[u(e),u(t)].join(" – "))},displayName:function(e,t,r){return l(t,r,a?.displayName,t=>i.getDisplayNames(n,t).of(e),()=>e)}}})({formats:e,locale:i,now:n,onError:r,timeZone:o,_formatters:t}),[e,t,n,i,r,o])},"useTranslations",0,function(e){return function(e,t){let{cache:i,formats:n,formatters:r,getMessageFallback:o,locale:s,onError:l,timeZone:u}=en(),d=e["!"],m="!"===t?void 0:t.slice(2);return u||er||!eo||(er=!0,l(new h(c.ENVIRONMENT_FALLBACK,void 0))),(0,a.useMemo)(()=>{var e;let t;return t=function(e,t,i){try{if(!t)throw Error(void 0);let a=i?ee(e,t,i):t;if(!a)throw Error(i);return a}catch(e){return new h(c.MISSING_MESSAGE,e.message)}}
3((e={cache:i,formatters:r,getMessageFallback:o,messages:d,namespace:m,onError:l,formats:n,locale:s,timeZone:u}).locale,e.messages,e.namespace),function({cache:e,formats:t,formatters:i,getMessageFallback:n=Q,locale:r,messagesOrError:o,namespace:s,onError:l,timeZone:u}){let d=o instanceof h;function m(e,t,i,a){let r=new h(t,i);return l(r),a??n({error:r,key:e,namespace:s})}function f(f,p,g,b){let v;if(d){if(!b)return l(o),n({error:o,key:f,namespace:s});v=b}else try{v=ee(r,o,f,s)}catch(e){if(!b)return m(f,c.MISSING_MESSAGE,e.message,b);v=b}try{let n,o=Z(s,f);return $(o,v,p?(n={},Object.keys(p).forEach(e=>{let t,i=0,r=p[e];t="function"==typeof r?t=>{let n=r(t);return(0,a.isValidElement)(n)?(0,a.cloneElement)(n,{key:e+i++}):n}:r,n[e]=t}),n):p,{cache:e,formatters:i,globalFormats:t,formats:g,locale:r,timeZone:u})}catch(i){let e,t;return i instanceof h?(e=i.code,t=i.originalMessage):(e=c.FORMATTING_ERROR,t=i.message),m(f,e,t,b)}}function p(e,t,i,a){let n=f(e,t,i,a);return"string"!=typeof n?m(e,c.INVALID_MESSAGE,void 0):n}return p.rich=f,p.markup=(e,t,i,a)=>f(e,t,i,a),p.raw=e=>{if(d)return l(o),n({error:o,key:e,namespace:s});try{return ee(r,o,e,s)}catch(t){return m(e,c.MISSING_MESSAGE,t.message)}},p.has=e=>{if(d)return!1;try{return ee(r,o,e,s),!0}catch{return!1}},p}({...e,messagesOrError:t})},[i,r,o,d,m,l,n,s,u])}({"!":en().messages},e?`!.${e}`:"!")}],943572)},835917,e=>{"use strict";let t=new Uint8Array(16),i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));e.s(["v4",0,function(e,a,n){return a||e||!crypto.randomUUID?function(e,a,n){let r=(e=e||{}).random??e.rng?.()??crypto.getRandomValues(t);if(r.length<16)throw Error("Random bytes length must be >= 16");if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,a){if((n=n||0)<0||n+16>a.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)a[n+e]=r[e];return a}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(r)}(e,a,n):crypto.randomUUID()}],835917)},943479,(e,t,i)=>{t.exports={AF:"Afghanistan",AX:"Åland Islands",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua & Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia & Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",VG:"British Virgin Islands",BN:"Brunei",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",BQ:"Caribbean Netherlands",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Congo - Brazzaville",CD:"Congo - Kinshasa",CK:"Cook Islands",CR:"Costa Rica",CI:"Côte d’Ivoire",HR:"Croatia",CU:"Cuba",CW:"Curaçao",CY:"Cyprus",CZ:"Czechia",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",SZ:"Eswatini",ET:"Ethiopia",FK:"Falkland Islands",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard & McDonald Islands",HN:"Honduras",HK:"Hong Kong SAR China",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran",IQ:"Iraq",IE:"Ireland",IM:"Isle of Man",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JE:"Jersey",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",XK:"Kosovo",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Laos",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao SAR China",MG:"Mad
3agascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia",MD:"Moldova",MC:"Monaco",MN:"Mongolia",ME:"Montenegro",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar (Burma)",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",KP:"North Korea",MK:"North Macedonia",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestinian Territories",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn Islands",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Réunion",RO:"Romania",RU:"Russia",RW:"Rwanda",WS:"Samoa",SM:"San Marino",ST:"São Tomé & Príncipe",SA:"Saudi Arabia",SN:"Senegal",RS:"Serbia",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SX:"Sint Maarten",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia & South Sandwich Islands",KR:"South Korea",SS:"South Sudan",ES:"Spain",LK:"Sri Lanka",BL:"St. Barthélemy",SH:"St. Helena",KN:"St. Kitts & Nevis",LC:"St. Lucia",MF:"St. Martin",PM:"St. Pierre & Miquelon",VC:"St. Vincent & Grenadines",SD:"Sudan",SR:"Suriname",SJ:"Svalbard & Jan Mayen",SE:"Sweden",CH:"Switzerland",SY:"Syria",TW:"Taiwan",TJ:"Tajikistan",TZ:"Tanzania",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad & Tobago",TN:"Tunisia",TR:"Türkiye",TM:"Turkmenistan",TC:"Turks & Caicos Islands",TV:"Tuvalu",UM:"U.S. Outlying Islands",VI:"U.S. Virgin Islands",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VA:"Vatican City",VE:"Venezuela",VN:"Vietnam",WF:"Wallis & Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe"}},355039,(e,t,i)=>{t.exports={ab:"Abkhaz",aa:"Afar",af:"Afrikaans",ak:"Akan",sq:"Albanian",am:"Amharic",ar:"Arabic",an:"Aragonese",hy:"Armenian",as:"Assamese",av:"Avaric",ae:"Avestan",ay:"Aymara",az:"Azerbaijani",bm:"Bambara",ba:"Bashkir",eu:"Basque",be:"Belarusian",bn:"Bengali",bh:"Bihari",bi:"Bislama",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan; Valencian",ch:"Chamorro",ce:"Chechen",ny:"Chichewa; Chewa; Nyanja",zh:"Chinese",cv:"Chuvash",kw:"Cornish",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",dv:"Divehi; Dhivehi; Maldivian;",nl:"Dutch",en:"English",eo:"Esperanto",et:"Estonian",ee:"Ewe",fo:"Faroese",fj:"Fijian",fi:"Finnish",fr:"French",ff:"Fula; Fulah; Pulaar; Pular",gl:"Galician",ka:"Georgian",de:"German",el:"Greek, Modern",gn:"Guaraní",gu:"Gujarati",ht:"Haitian; Haitian Creole",ha:"Hausa",he:"Hebrew (modern)",hz:"Herero",hi:"Hindi",ho:"Hiri Motu",hu:"Hungarian",ia:"Interlingua",id:"Indonesian",ie:"Interlingue",ga:"Irish",ig:"Igbo",ik:"Inupiaq",io:"Ido",is:"Icelandic",it:"Italian",iu:"Inuktitut",ja:"Japanese",jv:"Javanese",kl:"Kalaallisut, Greenlandic",kn:"Kannada",kr:"Kanuri",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ki:"Kikuyu, Gikuyu",rw:"Kinyarwanda",ky:"Kirghiz, Kyrgyz",kv:"Komi",kg:"Kongo",ko:"Korean",ku:"Kurdish",kj:"Kwanyama, Kuanyama",la:"Latin",lb:"Luxembourgish, Letzeburgesch",lg:"Luganda",li:"Limburgish, Limburgan, Limburger",ln:"Lingala",lo:"Lao",lt:"Lithuanian",lu:"Luba-Katanga",lv:"Latvian",gv:"Manx",mk:"Macedonian",mg:"Malagasy",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Māori",mr:"Marathi (Marāṭhī)",mh:"Marshallese",mn:"Mongolian",na:"Nauru",nv:"Navajo, Navaho",nb:"Norwegian Bokmål",nd:"North Ndebele",ne:"Nepali",ng:"Ndonga",nn:"Norwegian Nynorsk",no:"Norwegian",ii:"Nuosu",nr:"South Ndebele",oc:"Occitan",oj:"Ojibwe, Ojibwa",cu:"Old Church Slavonic, Church Slavic, Church Slavonic, Old Bulgarian, Old Slavonic",om:"Oromo",or:"Oriya",os:"Ossetian, Ossetic",pa:"Panjabi, Punjabi",pi:"Pāli",fa:"Persian",pl:"Polish",ps:"Pashto, Pushto",pt:"Portuguese",qu:"Quechua",rm:"Romansh",rn:"Kirundi",ro:"Romanian, Moldavian, Moldovan",ru:"Russian",sa:"Sanskrit (Saṁskṛta)",sc:"Sardinian",sd:"Sindhi",se:"Northern Sami",sm:"Samoan",sg:"Sango",sr:"Serbian",gd:"Scottish Gaelic; Gaelic",sn:"Shona",si:"Sinhala, Sinhalese",sk:"Slovak",sl:"Slovene",so:"Somali",st:"Southern Sotho",es:"Spanish; Castilian",su:"Sundanese",sw:"Swahili",ss:"Swati",sv:"Swedish",ta:"Tamil",te:"Telugu",tg:"Tajik",th:"Thai",ti:"Tigrinya",bo:"Tibetan Standard, Tibetan, Central",tk:"Turkmen",tl:"Tagalog",t
3n:"Tswana",to:"Tonga (Tonga Islands)",tr:"Turkish",ts:"Tsonga",tt:"Tatar",tw:"Twi",ty:"Tahitian",ug:"Uighur, Uyghur",uk:"Ukrainian",ur:"Urdu",uz:"Uzbek",ve:"Venda",vi:"Vietnamese",vo:"Volapük",wa:"Walloon",cy:"Welsh",wo:"Wolof",fy:"Western Frisian",xh:"Xhosa",yi:"Yiddish",yo:"Yoruba",za:"Zhuang, Chuang"}},522264,(e,t,i)=>{t.exports=JSON.parse('{"label":{"access-code":"Access code","account":"Account","action":"Action","actions":"Actions","activity":"Activity","add":"Add","add-board":"Add board","add-description":"Add description","add-link":"Add link","add-member":"Add member","add-pixel":"Add pixel","add-step":"Add step","add-website":"Add website","admin":"Admin","affiliate":"Affiliate","after":"After","all":"All","all-time":"All time","analysis":"Analysis","analytics":"Analytics","application":"Application","apply":"Apply","attribution":"Attribution","attribution-description":"See how users engage with your marketing and what drives conversions.","audience":"Audience","average":"Average","back":"Back","before":"Before","behavior":"Behavior","block-selector":"Block selector","boards":"Boards","board-type":"Board type","bounce-rate":"Bounce rate","breakdown":"Breakdown","browser":"Browser","browsers":"Browsers","campaign":"Campaign","campaigns":"Campaigns","cancel":"Cancel","close":"Close","change-password":"Change password","channel":"Channel","channels":"Channels","chart":"Chart","cities":"Cities","city":"City","clear-all":"Clear all","cls":"CLS","cohort":"Cohort","cohorts":"Cohorts","compare":"Compare","compare-dates":"Compare dates","confirm":"Confirm","confirm-password":"Confirm password","contains":"Contains","regex-match":"Matches regex","regex-not-match":"Does not match regex","content":"Content","continue":"Continue","conversion":"Conversion","conversion-rate":"Conversion rate","conversion-step":"Conversion step","count":"Count","countries":"Countries","country":"Country","create":"Create","create-report":"Create report","create-team":"Create team","create-user":"Create user","created":"Created","created-by":"Created By","criteria":"Criteria","cumulative":"Cumulative","currency":"Currency","current":"Current","current-password":"Current password","custom-range":"Custom range","dashboard":"Dashboard","data":"Data","date":"Date","date-range":"Date range","day":"Day","default-date-range":"Default date range","delete":"Delete","delete-report":"Delete report","delete-team":"Delete team","delete-user":"Delete user","delete-website":"Delete website","description":"Description","desktop":"Desktop","destination-url":"Destination URL","details":"Details","device":"Device","devices":"Devices","direct":"Direct","dismiss":"Dismiss","distinct-id":"Distinct ID","documentation":"Documentation","does-not-contain":"Does not contain","does-not-include":"Does not include","doest-not-exist":"Does not exist","domain":"Domain","download":"Download","dropoff":"Dropoff","duration":"Duration","min-duration-seconds":"Minimum duration (seconds)","edit":"Edit","design":"Design","edit-member":"Edit member","email":"Email","enable-share-url":"Enable share URL","end-step":"End Step","entry":"Entry page","environment":"Environment","event":"Event","event-data":"Event data","event-properties":"Event Properties","event-name":"Event name","events":"Events","exclude-bounce":"Exclude bounce","exists":"Exists","exit":"Exit page","false":"False","fcp":"FCP","field":"Field","fields":"Fields","filter":"Filter","filter-combined":"Combined","filter-raw":"Raw","filters":"Filters","filters-enabled":"Filters enabled","property-filter":"Property Filter","activity-by-property":"Activity by property","first-click":"First click","first-seen":"First seen","funnel":"Funnel","funnel-description":"Understand the conversion and drop-off rate of users.","funnels":"Funnels","goal":"Goal","goals":"Goals","good":"Good","goals-description":"Track your goals for pageviews and events.","greater-than":"Greater than","greater-than-equals":"Greater than or equals","grouped":"Grouped","growth":"Growth","heatmap":"Heatmap","heatmap-description":"Visualize where visitors click and how far they scroll on your pages.","heatmaps":"Heatmaps","hostname":"Hostname","hour":"Hour","includes":"Includes","insight":"Insight","insights":"Insights","insights-description":"Dive deeper into your data by using segments and filters.","inp":"INP","invali
3d-url":"Invalid URL","is":"Is","is-false":"Is false","is-not":"Is not","is-not-set":"Is not set","is-set":"Is set","is-true":"Is true","join":"Join","join-team":"Join team","journey":"Journey","journey-description":"Understand how users navigate through your website.","journeys":"Journeys","language":"Language","languages":"Languages","laptop":"Laptop","last-click":"Last click","last-days":"Last {x} days","last-hours":"Last {x} hours","last-months":"Last {x} months","last-seen":"Last seen","lcp":"LCP","leave":"Leave","leave-team":"Leave team","less-than":"Less than","less-than-equals":"Less than or equals","link":"Link","links":"Links","location":"Location","login":"Login","llm":"LLM","logout":"Logout","manage":"Manage","manager":"Manager","mask-level":"Mask level","max":"Max","max-duration":"Max duration","match":"Match","match-all":"All","match-any":"Any","maximize":"Maximize","medium":"Medium","member":"Member","members":"Members","min":"Min","minute":"Minute","mobile":"Mobile","model":"Model","month":"Month","more":"More","my-account":"My account","my-websites":"My websites","name":"Name","needs-improvement":"Needs improvement","new-password":"New password","none":"None","number-of-records":"{x} {x, plural, one {record} other {records}}","ok":"OK","online":"Online","open":"Mixed","organic-search":"Organic search","organic-shopping":"Organic shopping","organic-social":"Organic social","organic-video":"Organic video","os":"OS","other":"Other","overview":"Overview","owner":"Owner","page":"Page","page-of":"Page {current} of {total}","page-views":"Page views","pageTitle":"Page title","period":"Period","pages":"Pages","paid-ads":"Paid ads","paid-search":"Paid search","paid-shopping":"Paid shopping","paid-social":"Paid social","paid-video":"Paid video","password":"Password","path":"Path","paths":"Paths","performance":"Performance","pixel":"Pixel","pixels":"Pixels","poor":"Poor","powered-by":"Powered by {name}","preferences":"Preferences","previous":"Previous","previous-period":"Previous period","previous-year":"Previous year","profile":"Profile","profiles":"Profiles","properties":"Properties","property":"Property","queries":"Queries","query":"Query","query-parameters":"Query parameters","realtime":"Realtime","recorded":"Recorded","referral":"Referral","referrer":"Referrer","referrers":"Referrers","refresh":"Refresh","regenerate":"Regenerate","region":"Region","regions":"Regions","remaining":"Remaining","remove":"Remove","remove-member":"Remove member","play":"Play","replay":"Replay","replay-id":"Replay ID","recorder-code":"Recorder code","replay-enabled":"Replay enabled","replays":"Replays","reports":"Reports","required":"Required","reset":"Reset","reset-website":"Reset website","retention":"Retention","retention-days":"Retention days","retention-description":"Measure your website stickiness by tracking how often users return.","revenue":"Revenue","revenue-description":"Look into your revenue data and how users are spending.","role":"Role","run-query":"Run query","save":"Save","save-cohort":"Save cohort","save-replay":"Save replay","save-segment":"Save segment","sample-rate":"Sample rate","sample-size":"Sample size","screen":"Screen","screens":"Screens","search":"Search","segment":"Segment","segments":"Segments","select":"Select","select-link":"Select link","select-pixel":"Select pixel","select-date":"Select date","select-filter":"Select filter","select-role":"Select role","select-component":"Select component","select-event":"Select an event","select-website":"Select website","session":"Session","session-data":"Session Properties","sessions":"Sessions","settings":"Settings","share":"Share","share-url":"Share URL","single-day":"Single day","slug":"Slug","sms":"SMS","source":"Source","sources":"Sources","start-step":"Start Step","steps":"Steps","sum":"Sum","support":"Support","switch-account":"Switch account","switch-to-card-view":"Switch to card view","switch-to-table-view":"Switch to table view","table":"Table","tablet":"Tablet","tag":"Tag","tags":"Tags","team":"Team","team-id":"Team ID","team-manager":"Team manager","team-member":"Team member","team-name":"Team name","team-owner":"Team owner","team-sett
3ings":"Team settings","team-view-only":"Team view only","team-websites":"Team websites","teams":"Teams","term":"Term","terms":"Terms","theme":"Theme","this-month":"This month","this-week":"This week","this-year":"This year","timezone":"Timezone","title":"Title","today":"Today","toggle-charts":"Toggle charts","total":"Total","total-records":"Total records","tracking-code":"Tracking code","traffic":"Traffic","transactions":"Transactions","transfer":"Transfer","transfer-website":"Transfer website","true":"True","ttfb":"TTFB","type":"Type","unique":"Unique","unique-events":"Unique events","unique-visitors":"Unique visitors","aov":"AOV","arpu":"ARPU","uniqueCustomers":"Unique Customers","customers":"Customers","orders":"Orders","saved":"Saved","unknown":"Unknown","untitled":"Untitled","upgrade":"Upgrade","update":"Update","url":"URL","user":"User","username":"Username","users":"Users","utm":"UTM","utm-campaign":"UTM Campaign","utm-content":"UTM Content","utm-description":"Track your campaigns through UTM parameters.","utm-medium":"UTM Medium","utm-source":"UTM Source","utm-term":"UTM Term","value":"Value","version":"Version","view":"View","view-details":"View details","view-only":"View only","views":"Views","views-per-visit":"Views per visit","visit-duration":"Visit duration","visitors":"Visitors","visits":"Visits","website":"Website","website-id":"Website ID","websites":"Websites","window":"Window","yesterday":"Yesterday","security":"Security","two-factor-auth":"Two-factor authentication","two-factor-setup-title":"Setup two-factor authentication","two-factor-step1":"Step 1","two-factor-step2":"Step 2","two-factor-scan-qr":"Scan QR code","two-factor-cant-scan":"Can\'t scan QR code?","two-factor-manual-entry":"Enter this secret instead:","two-factor-copy-code":"Copy code","two-factor-code-copied":"Copied!","two-factor-get-code":"Get verification code","two-factor-enter-code":"Enter verification code","two-factor-use-backup":"Use a backup code instead","two-factor-save-backup-codes":"Save your backup codes","two-factor-download-codes":"Download codes","two-factor-saved-codes":"I have saved my backup codes","two-factor-backup-file-title":"Umami - Two-factor authentication backup codes","two-factor-success-title":"Two-factor authentication enabled","two-factor-enable":"Enable 2FA","two-factor-disable":"Disable 2FA","two-factor-disable-title":"Disable two-factor authentication","two-factor-status-not-configured":"Not configured","two-factor-active":"Active","two-factor-require-global":"Require 2FA for all users","two-factor-require-user":"Require 2FA for this user","two-factor-require-team":"Require 2FA for all members of this team","two-factor-reset":"Reset 2FA","two-factor-global-active-tooltip":"Global 2FA is enabled","two-factor-verify":"Verify","two-factor-login":"Two-factor authentication"},"message":{"action-confirmation":"Type {confirmation} in the box below to confirm.","active-users":"{x} current {x, plural, one {visitor} other {visitors}}","bad-request":"Bad request","collected-data":"Collected data","confirm-delete":"Are you sure you want to delete {target}?","confirm-leave":"Are you sure you want to leave <b>{target}</b>?","confirm-remove":"Are you sure you want to remove <b>{target}</b>?","confirm-reset":"Are you sure you want to reset {target}?","delete-team-warning":"Deleting a team will also delete all team websites.","delete-website-warning":"All website data will be deleted.","error":"Something went wrong.","empty-dashboard":"Your dashboard is empty. Click Design to add your first component.","event-log":"<b>{event}</b> on <a>{url}</a>","forbidden":"Forbidden","go-to-settings":"Go to settings","incorrect-username-password":"Incorrect username and/or password.","invalid-domain":"Invalid domain. Do not include http/https.","invalid-value":"Invalid value","min-password-length":"Minimum length of {n} characters","new-version-available":"A new version of Umami {version} is available!","no-data-available":"No data available.","no-event-data":"No event data is available.","no-match-password":"Passwords do not match.","no-results-found":"No results found.","no-team-websites":"This team does not have any websites.","no-teams":"You have not created any teams.","no-users":"There are no users.","no-websites-configured":"You do not have any websites configured.","not-found":"Not found","nothing-selected":"Nothing selected.","page-not-found":"Page not found","reset-website":"To reset this website, type {confirmation} in the box below to confirm.","reset-website-warning":"All statistics for this website will be deleted, but your settings will remain intact.","saved":"Saved.","select-board-entity-first":"Select a website, pixel, or link first.","select-component-preview":"Select a component to preview","select-website-first":"Select a website first","sever-error":"Server error","share-url":"Your website stats are publicly available at the following URL:","team-already-member":"You are already a member of the team.","team-not-found":"Team not found.","team-websites-info":"Websites can be viewed by anyone on the team.","tracking-code":"To track stats for this website, place the following code in the \'<head>...</head>\' section of your HTML.","transfer-team-website-to-user":"Transfer this website to your account?","transfer-user-website-to-team":"Select the team to transfer this website to.","transfer-website":"Transfer website ownership to your account or another team.","triggered-event":"Triggered event","unauthorized":"Unauthorized","user-deleted":"User deleted.","replay-min-duration-description":"Only show replays at or above this duration.","viewed-page":"Viewed page","upgrade-required":"This feature requires a {plan} plan subscription.","visitor-log":"Visitor from <b>{country}</b> using <b>{browser}</b> on <b>{os}</b> <b>{device}</b>","two-factor-setup-description":"Each time you log in, in addition to your password, you\'ll use an authenticator app to generate and use a one-time code.","t
3wo-factor-setup-required-description":"Two-factor authentication (2FA) is required to access Umami.","two-factor-step1-description":"Scan the QR code below or manually enter the secret key into your authenticator app.","two-factor-step2-description":"Enter the 6-digit code you see in your authenticator app.","two-factor-enabled-description":"Your account is now protected with two-factor authentication. From now on, you will need to enter a code from your authenticator app each time you log in.","two-factor-backup-description":"If you lose access to your authenticator app, you can use one of these one-time backup codes to sign in. Save them somewhere safe; they will not be shown again.","two-factor-backup-codes-once":"Keep these codes safe. Each code can only be used once.","two-factor-login-description":"Enter the 6-digit code from your authenticator app.","two-factor-disable-description":"To confirm, enter your password and a verification code from your authenticator app.","two-factor-required-message":"Two-factor authentication is required for your account and cannot be disabled. Contact your administrator for help.","two-factor-override-note":"Per-user and per-team 2FA settings are overridden while global 2FA is enabled.","two-factor-admin-global-description":"Require all users to set up two-factor authentication when they next log in. Users who have not yet configured 2FA will be prompted to do so before they can access Umami.","two-factor-require-user-description":"When enabled, this user will be prompted to set up 2FA on their next login if they haven\'t already.","two-factor-require-team-description":"When enabled, all members of this team will be prompted to set up 2FA on their next login if they haven\'t already.","two-factor-user-description":"Add an extra layer of security to your account. Each time you log in, you will need your password and a code from your authenticator app.","two-factor-reset-description":"Remove this user\'s current two-factor configuration. If 2FA is still required by policy, they will be asked to scan a new QR code on their next login.","two-factor-error-invalid-code":"Invalid verification code. Please try again.","two-factor-error-missing-token":"Authentication token is missing.","two-factor-error-invalid-partial-token":"Invalid or expired authentication token.","two-factor-error-invalid-backup-code":"Invalid backup code.","two-factor-error-code-used":"This code has already been used. Wait for the next code.","two-factor-error-too-many-attempts":"Too many failed attempts. Your account is temporarily locked.","two-factor-error-disable-not-allowed":"Two-factor authentication is required and cannot be disabled.","two-factor-error-incorrect-password":"Incorrect password.","two-factor-error-already-enabled":"Two-factor authentication is already enabled.","two-factor-error-not-enabled":"Two-factor authentication is not enabled.","two-factor-error-no-pending-setup":"No pending two-factor authentication setup found.","two-factor-error-not-configured":"Two-factor authentication is not available because the server is missing a valid TWO_FACTOR_ENCRYPTION_KEY. Contact your administrator for help.","two-factor-locked-message":"Too many failed attempts. Try again at {time}.","two-factor-active-description":"Your account is protected with two-factor authentication. Each login requires a code from your authenticator app."}}')},931478,(e,t,i)=>{t.exports=JSON.parse('{"AD-02":"Canillo","AD-03":"Encamp","AD-04":"La Massana","AD-05":"Ordino","AD-06":"Sant Julia de Loria","AD-07":"Andorra la Vella","AD-08":"Escaldes-Engordany","AE-AJ":"Ajman","AE-AZ":"Abu Dhabi","AE-DU":"Dubai","AE-FU":"Al Fujairah","AE-RK":"Ras al Khaimah","AE-SH":"Sharjah","AE-UQ":"Umm al Quwain","AF-BAL":"Balkh","AF-BAM":"Bamyan","AF-BDG":"Badghis","AF-BGL":"Baghlan","AF-DAY":"Daykundi","AF-FRA":"Farah","AF-FYB":"Faryab","AF-GHA":"Ghazni","AF-GHO":"Ghor","AF-HEL":"Helmand","AF-HER":"Herat","AF-JOW":"Jowzjan","AF-KAB":"Kabul","AF-KAN":"Kandahar","AF-KDZ":"Kunduz","AF-KHO":"Khost","AF-LAG":"Laghman","AF-LOG":"Logar","AF-NAN":"Nangarhar","AF-NIM":"Nimroz","AF-PAN":"Panjshayr","AF-PAR":"Parwan","AF-PIA":"Paktiya","AF-PKA":"Paktika","AF-SAM":"Samangan","AF-SAR":"Sar-e Pul","AF-TAK":"Takhar","AF-URU":"Uruzgan","AG-03":"Saint George","AG-04":"Saint John","AG-05":"Saint Mary","AG-07":"Saint Peter","AG-08":"Saint Philip","AG-10":"Barbuda","AG-11":"Redonda","AL-01":"Berat","AL-02":"Durres","AL-03":"Elbasan","AL-04":"Fier","AL-05":"Gjirokaster","AL-06":"Korce","AL-07":"Kukes","AL-08":"Lezhe","AL-09":"Diber","AL-10":"Shkoder","AL-11":"Tirane","AL-12":"Vlore","AM-AG":"Aragacotn","AM-AR":"Ararat","AM-AV":"Armavir","AM-ER":"Erevan","AM-GR":"Gegark\'unik\'","AM-KT":"Kotayk\'","AM-LO":"Lori","AM-SH":"Sirak","AM-SU":"Syunik\'","AM-TV":"Tavus","AM-VD":"Vayoc Jor","AO-BGO":"Bengo","AO-BGU":"Benguela","AO-BIE":"Bie","AO-CAB":"Cabinda","AO-CCU":"Cuando Cubango","AO-CNN":"Cunene","AO-CNO":"Cuanza-Norte","AO-CUS":"Cuanza-Sul","AO-HUA":"Huambo","AO-HUI":"Huila","AO-LNO":"Lunda-Norte","AO-LSU":"Lunda-Sul","AO-LUA":"Luanda","AO-MAL":"Malange","AO-MOX":"Moxico","AO-NAM":"Namibe","AO-UIG":"Uige","AO-ZAI":"Zaire","AR-A":"Salta","AR-B":"Buenos Aires","AR-C":"Ciudad Autonoma de Buenos Aires","AR-D":"San Luis","AR-E":"Entre Rios","AR-F":"La Rioja","AR-G":"Santiago del Estero","AR-H":"Chaco","AR-J":"San Juan","AR-K":"Catamarca","AR-L":"La Pampa","AR-M":"Mendoza","AR-N":"Misiones","AR-P":"Formosa","AR-Q":"Neuquen","AR-R":"Rio Negro","AR-S":"Santa Fe","AR-T":"Tucuman","AR-U":"Chubut","AR-V":"Tierra del Fuego","AR-W":"Corrientes","AR-X":"Cordoba","AR-Y":"Jujuy","AR-Z":"Santa Cruz","AT-1":"Burgenland","AT-2":"Karnten","AT-3":"Niederosterreich","AT-4":"Oberosterreich","AT-5":"Salzburg","AT-6":"Steiermark","AT-7":"Tirol","AT-8":"Vorarlberg","AT-9":"Wien","AU-ACT":"Australian Capital Territory","AU-NSW":"New South Wales","AU-NT":"Northern Territory","AU-QLD":"Queensland","AU-SA":"South Australia","AU-TAS":"Tasmania","AU-VIC":"Victoria","AU-WA":"Western Australia","AZ-ABS":"Abseron","AZ-AGA":"Agstafa","AZ-AGC":"Agcabadi","AZ-AGS":"Agdas","AZ-AGU":"Agsu","AZ-AST":"Astara","AZ-BA":"Baki","AZ-BAL":"Balakan","AZ-BAR":"Barda","AZ-BEY":"Beylaqan","AZ-BIL":"Bilasuvar","AZ-DAS":"Daskasan","AZ-FUZ":"Fuzuli","AZ-GA":"Ganca","AZ-GAD":"Gadabay","AZ-GOY":"Goycay","AZ-GYG":"Goygol","AZ-IMI":"Imisli","AZ-ISM":"Ismayilli","AZ-KUR":"Kurdamir","AZ-LA":"Lankaran","AZ-MAS":"Masalli","AZ-MI":"Mingacevir","AZ-NA":"Naftalan","AZ-NEF":"Neftcala","AZ-NX":"Naxcivan","AZ-OGU":"Oguz","AZ-QAB":"Qabala","AZ-QAX":"Qax","AZ-QAZ":"Qazax","AZ-QBA":"Quba","AZ-QUS":"Qusar","AZ-SAB":"Sabirabad","AZ-SAK":"Saki","AZ-SAL":"Salyan","AZ-SAT":"Saatli","AZ-SIY":"Siyazan","AZ-SKR":"Samkir","AZ-SM":"Sumqayit","AZ-SMI":"Samaxi","AZ-SMX":"Samux","AZ-SR":"Sirvan","AZ-TAR":"Tartar","AZ-TOV":"Tovuz","AZ-UCA":"Ucar","AZ-XAC":"Xacmaz","AZ-XIZ":"Xizi","AZ-YAR":"Yardimli","AZ-YEV":"Yevlax","AZ-ZAQ":"Zaqatala","AZ-ZAR":"Zardab","BA-BIH":"Federacija Bosne i Hercegovine","BA-BRC":"Brcko distrikt","BA-SRP":"Republika Srpska","BB-01":"Christ Church","BB-02":"Saint Andrew","BB-03":"Saint George","BB-04":"Saint James","BB-05":"Saint John","BB-07":"Saint Lucy","BB-08":"Saint Michael","BB-09":"Saint Peter","BB-10":"Saint Philip","BB-11":"Saint Thomas","BD-A":"Barishal","BD-B":"Chattogram","BD-C":"Dhaka","BD-D":"Khulna","BD-E":"Rajshahi","BD-F":"Rangpur","BD-G":"Sylhet","BD-H":"Mymensingh","BD-01":"Bandarban","BD-02":"Barguna","BD-03":"Bogura","BD-04":"Brahmanbaria","BD-05":"Bagerhat","BD-06":"Barishal","BD-07":"Bhola","BD-08"
3:"Cumilla","BD-09":"Chandpur","BD-10":"Chattogram","BD-11":"Cox\'s Bazar","BD-12":"Chuadanga","BD-13":"Dhaka","BD-14":"Dinajpur","BD-15":"Faridpur","BD-16":"Feni","BD-17":"Gopalganj","BD-18":"Gazipur","BD-19":"Gaibandha","BD-20":"Habiganj","BD-21":"Jamalpur","BD-22":"Jashore","BD-23":"Jhenaidah","BD-24":"Joypurhat","BD-25":"Jhalakathi","BD-26":"Kishoreganj","BD-27":"Khulna","BD-28":"Kurigram","BD-29":"Khagrachhari","BD-30":"Kushtia","BD-31":"Lakshmipur","BD-32":"Lalmonirhat","BD-33":"Manikganj","BD-34":"Mymensingh","BD-35":"Munshiganj","BD-36":"Madaripur","BD-37":"Magura","BD-38":"Moulvibazar","BD-39":"Meherpur","BD-40":"Narayanganj","BD-41":"Netrakona","BD-42":"Narsingdi","BD-43":"Narail","BD-44":"Natore","BD-45":"Chapai Nawabganj","BD-46":"Nilphamari","BD-47":"Noakhali","BD-48":"Naogaon","BD-49":"Pabna","BD-50":"Pirojpur","BD-51":"Patuakhali","BD-52":"Panchagarh","BD-53":"Rajbari","BD-54":"Rajshahi","BD-55":"Rangpur","BD-56":"Rangamati","BD-57":"Sherpur","BD-58":"Satkhira","BD-59":"Sirajganj","BD-60":"Sylhet","BD-61":"Sunamganj","BD-62":"Shariatpur","BD-63":"Tangail","BD-64":"Thakurgaon","BE-BRU":"Brussels Hoofdstedelijk Gewest","BE-VLG":"Vlaams Gewest","BE-WAL":"Waals Gewest","BE-VAN":"Antwerpen","BE-VBR":"Vlaams-Brabant","BE-VLI":"Limburg","BE-VOV":"Oost-Vlaanderen","BE-VWV":"West-Vlaanderen","BE-WBR":"Brabant wallon","BE-WHT":"Hainaut","BE-WLG":"Liege","BE-WLX":"Luxembourg","BE-WNA":"Namur","BF-BAL":"Bale","BF-BAM":"Bam","BF-BAN":"Banwa","BF-BAZ":"Bazega","BF-BGR":"Bougouriba","BF-BLG":"Boulgou","BF-BLK":"Boulkiemde","BF-COM":"Comoe","BF-GAN":"Ganzourgou","BF-GNA":"Gnagna","BF-GOU":"Gourma","BF-HOU":"Houet","BF-KAD":"Kadiogo","BF-KEN":"Kenedougou","BF-KMP":"Kompienga","BF-KOS":"Kossi","BF-KOT":"Kouritenga","BF-KOW":"Kourweogo","BF-LER":"Leraba","BF-LOR":"Loroum","BF-MOU":"Mouhoun","BF-NAM":"Namentenga","BF-NAO":"Nahouri","BF-NAY":"Nayala","BF-OUB":"Oubritenga","BF-OUD":"Oudalan","BF-PAS":"Passore","BF-SEN":"Seno","BF-SIS":"Sissili","BF-SMT":"Sanmatenga","BF-SOM":"Soum","BF-SOR":"Sourou","BF-TAP":"Tapoa","BF-TUI":"Tuy","BF-YAT":"Yatenga","BF-ZIR":"Ziro","BF-ZON":"Zondoma","BF-ZOU":"Zoundweogo","BG-01":"Blagoevgrad","BG-02":"Burgas","BG-03":"Varna","BG-04":"Veliko Tarnovo","BG-05":"Vidin","BG-06":"Vratsa","BG-07":"Gabrovo","BG-08":"Dobrich","BG-09":"Kardzhali","BG-10":"Kyustendil","BG-11":"Lovech","BG-12":"Montana","BG-13":"Pazardzhik","BG-14":"Pernik","BG-15":"Pleven","BG-16":"Plovdiv","BG-17":"Razgrad","BG-18":"Ruse","BG-19":"Silistra","BG-20":"Sliven","BG-21":"Smolyan","BG-22":"Sofia (stolitsa)","BG-23":"Sofia","BG-24":"Stara Zagora","BG-25":"Targovishte","BG-26":"Haskovo","BG-27":"Shumen","BG-28":"Yambol","BH-13":"Al \'Asimah","BH-14":"Al Janubiyah","BH-15":"Al Muharraq","BH-17":"Ash Shamaliyah","BI-BM":"Bujumbura Mairie","BI-BR":"Bururi","BI-CI":"Cibitoke","BI-GI":"Gitega","BI-KI":"Kirundo","BI-MW":"Mwaro","BI-NG":"Ngozi","BI-RM":"Rumonge","BI-RT":"Rutana","BI-RY":"Ruyigi","BJ-AQ":"Atlantique","BJ-BO":"Borgou","BJ-CO":"Collines","BJ-LI":"Littoral","BJ-MO":"Mono","BJ-OU":"Oueme","BJ-PL":"Plateau","BJ-ZO":"Zou","BN-BE":"Belait","BN-BM":"Brunei-Muara","BN-TE":"Temburong","BN-TU":"Tutong","BO-B":"El Beni","BO-C":"Cochabamba","BO-H":"Chuquisaca","BO-L":"La Paz","BO-N":"Pando","BO-O":"Oruro","BO-P":"Potosi","BO-S":"Santa Cruz","BO-T":"Tarija","BQ-BO":"Bonaire","BQ-SA":"Saba","BQ-SE":"Sint Eustatius","BR-AC":"Acre","BR-AL":"Alagoas","BR-AM":"Amazonas","BR-AP":"Amapa","BR-BA":"Bahia","BR-CE":"Ceara","BR-DF":"Distrito Federal","BR-ES":"Espirito Santo","BR-GO":"Goias","BR-MA":"Maranhao","BR-MG":"Minas Gerais","BR-MS":"Mato Grosso do Sul","BR-MT":"Mato Grosso","BR-PA":"Para","BR-PB":"Paraiba","BR-PE":"Pernambuco","BR-PI":"Piaui","BR-PR":"Parana","BR-RJ":"Rio de Janeiro","BR-RN":"Rio Grande do Norte","BR-RO":"Rondonia","BR-RR":"Roraima","BR-RS":"Rio Grande do Sul","BR-SC":"Santa Catarina","BR-SE":"Sergipe","BR-SP":"Sao Paulo","BR-TO":"Tocantins","BS-BP":"Black Point","BS-CO":"Central Abaco","BS-EG":"East Grand Bahama","BS-FP":"City of Freeport","BS-HI":"Harbour Island","BS-LI":"Long Island","BS-NE":"North Eleuthera","BS-NP":"New Providence","BS-NS":"North Andros","BS-SE":"South Eleuthera","BS-SS":"San Salvador","BS-WG":"West Grand Bahama","BT-11":"Paro","BT-12":"Chhukha","BT-14":"Samtse","BT-15":"Thimphu","BT-21":"Tsirang","BT-22":"Dagana","BT-23":"Punakha","BT-24":"Wangdue Phodrang","BT-31":"Sarpang","BT-32":"Trongsa","BT-33":"Bumthang","BT-41":"Trashigang","BT-42":"Monggar","BT-43":"Pema Gatshel","BT-44":"Lhuentse","BT-45":"Samdrup Jongkhar","BT-GA":"Gasa","BW-CE":"Central","BW-CH":"Chobe","BW-GH":"Ghanzi","BW-KG":"Kgalagadi","BW-KL":"Kgatleng","BW-KW":"Kweneng","BW-NE":"North East","BW-NW":"North West","BW-SE":"South East","BW-SO":"Southern","BY-BR":"Brestskaya voblasts\'","BY-HM":"Horad Minsk","BY-HO":"Homyel\'skaya voblasts\'","BY-HR":"Hrodzyenskaya voblasts\'","BY-MA":"Mahilyowskaya voblasts\'","BY-MI":"Minskaya voblasts\'","BY-VI":"Vitsyebskaya voblasts\'","BZ-BZ":"Belize","BZ-CY":"Cayo","BZ-CZL":"Corozal","BZ-OW":"Orange Walk","BZ-SC":"Stann Creek","BZ-TOL":"Toledo","CA-AB":"Alberta","CA-BC":"British Columbia","CA
3-MB":"Manitoba","CA-NB":"New Brunswick","CA-NL":"Newfoundland and Labrador","CA-NS":"Nova Scotia","CA-NT":"Northwest Territories","CA-NU":"Nunavut","CA-ON":"Ontario","CA-PE":"Prince Edward Island","CA-QC":"Quebec","CA-SK":"Saskatchewan","CA-YT":"Yukon","CD-EQ":"Equateur","CD-HK":"Haut-Katanga","CD-IT":"Ituri","CD-KC":"Kasai Central","CD-KE":"Kasai Oriental","CD-KG":"Kwango","CD-KL":"Kwilu","CD-KN":"Kinshasa","CD-LU":"Lualaba","CD-MA":"Maniema","CD-NK":"Nord-Kivu","CD-SA":"Sankuru","CD-SK":"Sud-Kivu","CD-TA":"Tanganyika","CD-TO":"Tshopo","CF-AC":"Ouham","CF-BB":"Bamingui-Bangoran","CF-BGF":"Bangui","CF-HS":"Mambere-Kadei","CF-KB":"Gribingui","CF-KG":"Kemo-Gribingui","CF-NM":"Nana-Mambere","CF-OP":"Ouham-Pende","CF-SE":"Sangha","CF-UK":"Ouaka","CG-11":"Bouenza","CG-13":"Sangha","CG-16":"Pointe-Noire","CG-8":"Cuvette","CG-9":"Niari","CG-BZV":"Brazzaville","CH-AG":"Aargau","CH-AI":"Appenzell Innerrhoden","CH-AR":"Appenzell Ausserrhoden","CH-BE":"Bern","CH-BL":"Basel-Landschaft","CH-BS":"Basel-Stadt","CH-FR":"Fribourg","CH-GE":"Geneve","CH-GL":"Glarus","CH-GR":"Graubunden","CH-JU":"Jura","CH-LU":"Luzern","CH-NE":"Neuchatel","CH-NW":"Nidwalden","CH-OW":"Obwalden","CH-SG":"Sankt Gallen","CH-SH":"Schaffhausen","CH-SO":"Solothurn","CH-SZ":"Schwyz","CH-TG":"Thurgau","CH-TI":"Ticino","CH-UR":"Uri","CH-VD":"Vaud","CH-VS":"Valais","CH-ZG":"Zug","CH-ZH":"Zurich","CI-AB":"Abidjan","CI-BS":"Bas-Sassandra","CI-CM":"Comoe","CI-DN":"Denguele","CI-GD":"Goh-Djiboua","CI-LC":"Lacs","CI-LG":"Lagunes","CI-MG":"Montagnes","CI-SM":"Sassandra-Marahoue","CI-SV":"Savanes","CI-VB":"Vallee du Bandama","CI-WR":"Woroba","CI-YM":"Yamoussoukro","CI-ZZ":"Zanzan","CL-AI":"Aisen del General Carlos Ibanez del Campo","CL-AN":"Antofagasta","CL-AP":"Arica y Parinacota","CL-AR":"La Araucania","CL-AT":"Atacama","CL-BI":"Biobio","CL-CO":"Coquimbo","CL-LI":"Libertador General Bernardo O\'Higgins","CL-LL":"Los Lagos","CL-LR":"Los Rios","CL-MA":"Magallanes","CL-ML":"Maule","CL-NB":"Nuble","CL-RM":"Region Metropolitana de Santiago","CL-TA":"Tarapaca","CL-VS":"Valparaiso","CM-AD":"Adamaoua","CM-CE":"Centre","CM-EN":"Extreme-Nord","CM-ES":"Est","CM-LT":"Littoral","CM-NO":"Nord","CM-NW":"Nord-Ouest","CM-OU":"Ouest","CM-SU":"Sud","CM-SW":"Sud-Ouest","CN-AH":"Anhui","CN-BJ":"Beijing","CN-CQ":"Chongqing","CN-FJ":"Fujian","CN-GD":"Guangdong","CN-GS":"Gansu","CN-GX":"Guangxi Zhuangzu","CN-GZ":"Guizhou","CN-HA":"Henan","CN-HB":"Hubei","CN-HE":"Hebei","CN-HI":"Hainan","CN-HL":"Heilongjiang","CN-HN":"Hunan","CN-JL":"Jilin","CN-JS":"Jiangsu","CN-JX":"Jiangxi","CN-LN":"Liaoning","CN-NM":"Nei Mongol","CN-NX":"Ningxia Huizu","CN-QH":"Qinghai","CN-SC":"Sichuan","CN-SD":"Shandong","CN-SH":"Shanghai","CN-SN":"Shaanxi","CN-SX":"Shanxi","CN-TJ":"Tianjin","CN-XJ":"Xinjiang Uygur","CN-XZ":"Xizang","CN-YN":"Yunnan","CN-ZJ":"Zhejiang","CO-AMA":"Amazonas","CO-ANT":"Antioquia","CO-ARA":"Arauca","CO-ATL":"Atlantico","CO-BOL":"Bolivar","CO-BOY":"Boyaca","CO-CAL":"Caldas","CO-CAQ":"Caqueta","CO-CAS":"Casanare","CO-CAU":"Cauca","CO-CES":"Cesar","CO-CHO":"Choco","CO-COR":"Cordoba","CO-CUN":"Cundinamarca","CO-DC":"Distrito Capital de Bogota","CO-GUA":"Guainia","CO-GUV":"Guaviare","CO-HUI":"Huila","CO-LAG":"La Guajira","CO-MAG":"Magdalena","CO-MET":"Meta","CO-NAR":"Narino","CO-NSA":"Norte de Santander","CO-PUT":"Putumayo","CO-QUI":"Quindio","CO-RIS":"Risaralda","CO-SAN":"Santander","CO-SAP":"San Andres, Providencia y Santa Catalina","CO-SUC":"Sucre","CO-TOL":"Tolima","CO-VAC":"Valle del Cauca","CO-VID":"Vichada","CR-A":"Alajuela","CR-C":"Cartago","CR-G":"Guanacaste","CR-H":"Heredia","CR-L":"Limon","CR-P":"Puntarenas","CR-SJ":"San Jose","CU-01":"Pinar del Rio","CU-03":"La Habana","CU-04":"Matanzas","CU-05":"Villa Clara","CU-06":"Cienfuegos","CU-07":"Sancti Spiritus","CU-08":"Ciego de Avila","CU-09":"Camaguey","CU-10":"Las Tunas","CU-11":"Holguin","CU-12":"Granma","CU-13":"Santiago de Cuba","CU-14":"Guantanamo","CU-15":"Artemisa","CU-16":"Mayabeque","CU-99":"Isla de la Juventud","CV-BR":"Brava","CV-BV":"Boa Vista","CV-MO":"Mosteiros","CV-PN":"Porto Novo","CV-PR":"Praia","CV-RS":"Ribeira Grande de Santiago","CV-SD":"Sao Domingos","CV-SL":"Sal","CV-SV":"Sao Vicente","CV-TA":"Tarrafal","CY-01":"Lefkosia","CY-02":"Lemesos","CY-03":"Larnaka","CY-04":"Ammochostos","CY-05":"Pafos","CY-06":"Keryneia","CZ-10":"Praha, Hlavni mesto","CZ-20":"Stredocesky kraj","CZ-31":"Jihocesky kraj","CZ-32":"Plzensky kraj","CZ-41":"Karlovarsky kraj","CZ-42":"Ustecky kraj","CZ-51":"Liberecky kraj","CZ-52":"Kralovehradecky kraj","CZ-53":"Pardubicky kraj","CZ-63":"Kraj Vysocina","CZ-64":"Jihomoravsky kraj","CZ-71":"Olomoucky kraj","CZ-72":"Zlinsky kraj","CZ-80":"Moravskoslezsky kraj","DE-BB":"Brandenburg","DE-BE":"Berlin","DE-BW":"Baden-Wurttemberg","DE-BY":"Bayern","DE-HB":"Bremen","DE-HE":"Hessen","DE-HH":"Hamburg","DE-MV":"Mecklenburg-Vorpommern","DE-NI":"Niedersachsen","DE-NW":"Nordrhein-Westfalen","DE-RP":"Rheinland-Pfalz","DE-SH":"Schleswig-Holstein","DE-SL":"Sa
3arland","DE-SN":"Sachsen","DE-ST":"Sachsen-Anhalt","DE-TH":"Thuringen","DJ-AR":"Arta","DJ-DI":"Dikhil","DJ-DJ":"Djibouti","DK-81":"Nordjylland","DK-82":"Midtjylland","DK-83":"Syddanmark","DK-84":"Hovedstaden","DK-85":"Sjaelland","DM-02":"Saint Andrew","DM-04":"Saint George","DM-05":"Saint John","DM-06":"Saint Joseph","DM-07":"Saint Luke","DM-09":"Saint Patrick","DM-10":"Saint Paul","DO-01":"Distrito Nacional (Santo Domingo)","DO-02":"Azua","DO-03":"Baoruco","DO-04":"Barahona","DO-05":"Dajabon","DO-06":"Duarte","DO-07":"Elías Piña","DO-08":"El Seibo","DO-09":"Espaillat","DO-10":"Independencia","DO-11":"La Altagracia","DO-12":"La Romana","DO-13":"La Vega","DO-14":"Maria Trinidad Sanchez","DO-15":"Monte Cristi","DO-16":"Pedernales","DO-17":"Peravia","DO-18":"Puerto Plata","DO-19":"Hermanas Mirabal","DO-20":"Samana","DO-21":"San Cristobal","DO-22":"San Juan","DO-23":"San Pedro de Macoris","DO-24":"Sanchez Ramirez","DO-25":"Santiago","DO-26":"Santiago Rodriguez","DO-27":"Valverde","DO-28":"Monsenor Nouel","DO-29":"Monte Plata","DO-30":"Hato Mayor","DO-31":"San Jose de Ocoa","DO-32":"Santo Domingo","DO-33":"Cibao Nordeste","DO-34":"Cibao Noroeste","DO-35":"Cibao Norte","DO-36":"Cibao Sur","DO-37":"El Valle","DO-38":"Enriquillo","DO-39":"Higuamo","DO-40":"Ozama","DO-41":"Valdesia","DO-42":"Yuma","DZ-01":"Adrar","DZ-02":"Chlef","DZ-03":"Laghouat","DZ-04":"Oum el Bouaghi","DZ-05":"Batna","DZ-06":"Bejaia","DZ-07":"Biskra","DZ-08":"Bechar","DZ-09":"Blida","DZ-10":"Bouira","DZ-11":"Tamanrasset","DZ-12":"Tebessa","DZ-13":"Tlemcen","DZ-14":"Tiaret","DZ-15":"Tizi Ouzou","DZ-16":"Alger","DZ-17":"Djelfa","DZ-18":"Jijel","DZ-19":"Setif","DZ-20":"Saida","DZ-21":"Skikda","DZ-22":"Sidi Bel Abbes","DZ-23":"Annaba","DZ-24":"Guelma","DZ-25":"Constantine","DZ-26":"Medea","DZ-27":"Mostaganem","DZ-28":"M\'sila","DZ-29":"Mascara","DZ-30":"Ouargla","DZ-31":"Oran","DZ-32":"El Bayadh","DZ-33":"Illizi","DZ-34":"Bordj Bou Arreridj","DZ-35":"Boumerdes","DZ-36":"El Tarf","DZ-37":"Tindouf","DZ-38":"Tissemsilt","DZ-39":"El Oued","DZ-40":"Khenchela","DZ-41":"Souk Ahras","DZ-42":"Tipaza","DZ-43":"Mila","DZ-44":"Ain Defla","DZ-45":"Naama","DZ-46":"Ain Temouchent","DZ-47":"Ghardaia","DZ-48":"Relizane","DZ-49":"Timimoun","DZ-51":"Ouled Djellal","DZ-53":"In Salah","DZ-55":"Touggourt","DZ-56":"Djanet","DZ-57":"El Meghaier","EC-A":"Azuay","EC-B":"Bolivar","EC-C":"Carchi","EC-D":"Orellana","EC-E":"Esmeraldas","EC-F":"Canar","EC-G":"Guayas","EC-H":"Chimborazo","EC-I":"Imbabura","EC-L":"Loja","EC-M":"Manabi","EC-N":"Napo","EC-O":"El Oro","EC-P":"Pichincha","EC-R":"Los Rios","EC-S":"Morona Santiago","EC-SD":"Santo Domingo de los Tsachilas","EC-SE":"Santa Elena","EC-T":"Tungurahua","EC-U":"Sucumbios","EC-W":"Galapagos","EC-X":"Cotopaxi","EC-Y":"Pastaza","EC-Z":"Zamora Chinchipe","EE-37":"Harjumaa","EE-39":"Hiiumaa","EE-45":"Ida-Virumaa","EE-50":"Jogevamaa","EE-52":"Jarvamaa","EE-56":"Laanemaa","EE-60":"Laane-Virumaa","EE-64":"Polvamaa","EE-68":"Parnumaa","EE-71":"Raplamaa","EE-74":"Saaremaa","EE-79":"Tartumaa","EE-81":"Valgamaa","EE-84":"Viljandimaa","EE-87":"Vorumaa","EG-ALX":"Al Iskandariyah","EG-ASN":"Aswan","EG-AST":"Asyut","EG-BA":"Al Bahr al Ahmar","EG-BH":"Al Buhayrah","EG-BNS":"Bani Suwayf","EG-C":"Al Qahirah","EG-DK":"Ad Daqahliyah","EG-DT":"Dumyat","EG-FYM":"Al Fayyum","EG-GH":"Al Gharbiyah","EG-GZ":"Al Jizah","EG-IS":"Al Isma\'iliyah","EG-JS":"Janub Sina\'","EG-KB":"Al Qalyubiyah","EG-KFS":"Kafr ash Shaykh","EG-KN":"Qina","EG-LX":"Al Uqsur","EG-MN":"Al Minya","EG-MNF":"Al Minufiyah","EG-MT":"Matruh","EG-PTS":"Bur Sa\'id","EG-SHG":"Suhaj","EG-SHR":"Ash Sharqiyah","EG-SIN":"Shamal Sina\'","EG-SUZ":"As Suways","EG-WAD":"Al Wadi al Jadid","ER-GB":"Qash-Barkah","ER-MA":"Al Awsat","ES-AN":"Andalucia","ES-AR":"Aragon","ES-AS":"Asturias, Principado de","ES-CB":"Cantabria","ES-CE":"Ceuta","ES-CL":"Castilla y Leon","ES-CM":"Castilla-La Mancha","ES-CN":"Canarias","ES-CT":"Catalunya","ES-EX":"Extremadura","ES-GA":"Galicia","ES-IB":"Illes Balears","ES-MC":"Murcia, Region de","ES-MD":"Madrid, Comunidad de","ES-ML":"Melilla","ES-NC":"Navarra, Comunidad Foral de","ES-PV":"Pais Vasco","ES-RI":"La Rioja","ES-VC":"Valenciana, Comunidad","ET-AA":"Addis Ababa","ET-AF":"Afar","ET-AM":"Amara","ET-BE":"Benshangul-Gumaz","ET-DD":"Dire Dawa","ET-HA":"Harari People","ET-OR":"Oromia","ET-SN":"Southern Nations, Nationalities and Peoples","ET-SO":"Somali","ET-TI":"Tigrai","FI-02":"Etela-Karjala","FI-03":"Etela-Pohjanmaa","FI-04":"Etela-Savo","FI-05":"Kainuu","FI-06":"Kanta-Hame","FI-07":"Keski-Pohjanmaa","FI-08":"Keski-Suomi","FI-09":"Kymenlaakso","FI-10":"Lappi","FI-11":"Pirkanmaa","FI-12":"Pohjanmaa","FI-13":"Pohjois-Karjala","FI-14":"Pohjois-Pohjanmaa","FI-15":"Pohjois-Savo","FI-16":"Paijat-Hame","FI-17":"Satakunta","FI-18"
3:"Uusimaa","FI-19":"Varsinais-Suomi","FJ-C":"Central","FJ-E":"Eastern","FJ-N":"Northern","FJ-R":"Rotuma","FJ-W":"Western","FM-KSA":"Kosrae","FM-PNI":"Pohnpei","FM-TRK":"Chuuk","FM-YAP":"Yap","FR-20R":"Corse","FR-ARA":"Auvergne-Rhone-Alpes","FR-BFC":"Bourgogne-Franche-Comte","FR-BRE":"Bretagne","FR-CVL":"Centre-Val de Loire","FR-GES":"Grand-Est","FR-HDF":"Hauts-de-France","FR-IDF":"Ile-de-France","FR-NAQ":"Nouvelle-Aquitaine","FR-NOR":"Normandie","FR-OCC":"Occitanie","FR-PAC":"Provence-Alpes-Cote-d\'Azur","FR-PDL":"Pays-de-la-Loire","FR-PM":"Saint Pierre and Miquelon","GA-1":"Estuaire","GA-2":"Haut-Ogooue","GA-3":"Moyen-Ogooue","GA-4":"Ngounie","GA-5":"Nyanga","GA-7":"Ogooue-Lolo","GA-8":"Ogooue-Maritime","GA-9":"Woleu-Ntem","GB-ENG":"England","GB-NIR":"Northern Ireland","GB-SCT":"Scotland","GB-WLS":"Wales","GD-01":"Saint Andrew","GD-02":"Saint David","GD-03":"Saint George","GD-04":"Saint John","GD-05":"Saint Mark","GD-06":"Saint Patrick","GD-10":"Southern Grenadine Islands","GE-AB":"Abkhazia","GE-AJ":"Ajaria","GE-GU":"Guria","GE-IM":"Imereti","GE-KA":"K\'akheti","GE-KK":"Kvemo Kartli","GE-MM":"Mtskheta-Mtianeti","GE-RL":"Rach\'a-Lechkhumi-Kvemo Svaneti","GE-SJ":"Samtskhe-Javakheti","GE-SK":"Shida Kartli","GE-SZ":"Samegrelo-Zemo Svaneti","GE-TB":"Tbilisi","GH-AA":"Greater Accra","GH-AF":"Ahafo","GH-AH":"Ashanti","GH-BE":"Bono East","GH-BO":"Bono","GH-CP":"Central","GH-EP":"Eastern","GH-NP":"Northern","GH-TV":"Volta","GH-UE":"Upper East","GH-UW":"Upper West","GH-WP":"Western","GL-AV":"Avannaata Kommunia","GL-KU":"Kommune Kujalleq","GL-QE":"Qeqqata Kommunia","GL-QT":"Kommune Qeqertalik","GL-SM":"Kommuneqarfik Sermersooq","GM-B":"Banjul","GM-L":"Lower River","GM-M":"Central River","GM-N":"North Bank","GM-U":"Upper River","GM-W":"Western","GN-B":"Boke","GN-BE":"Beyla","GN-BF":"Boffa","GN-C":"Conakry","GN-DB":"Dabola","GN-DI":"Dinguiraye","GN-DU":"Dubreka","GN-FR":"Fria","GN-K":"Kankan","GN-KO":"Kouroussa","GN-LE":"Lelouma","GN-SI":"Siguiri","GQ-BN":"Bioko Norte","GQ-CS":"Centro Sur","GQ-KN":"Kie-Ntem","GQ-LI":"Litoral","GQ-WN":"Wele-Nzas","GR-69":"Agion Oros","GR-A":"Anatoliki Makedonia kai Thraki","GR-B":"Kentriki Makedonia","GR-C":"Dytiki Makedonia","GR-D":"Ipeiros","GR-E":"Thessalia","GR-F":"Ionia Nisia","GR-G":"Dytiki Ellada","GR-H":"Sterea Ellada","GR-I":"Attiki","GR-J":"Peloponnisos","GR-K":"Voreio Aigaio","GR-L":"Notio Aigaio","GR-M":"Kriti","GT-01":"Guatemala","GT-02":"El Progreso","GT-03":"Sacatepequez","GT-04":"Chimaltenango","GT-05":"Escuintla","GT-06":"Santa Rosa","GT-07":"Solola","GT-08":"Totonicapan","GT-09":"Quetzaltenango","GT-10":"Suchitepequez","GT-11":"Retalhuleu","GT-12":"San Marcos","GT-13":"Huehuetenango","GT-14":"Quiche","GT-15":"Baja Verapaz","GT-16":"Alta Verapaz","GT-17":"Peten","GT-18":"Izabal","GT-19":"Zacapa","GT-20":"Chiquimula","GT-21":"Jalapa","GT-22":"Jutiapa","GT-AV":"Alta Verapaz","GT-BV":"Baja Verapaz","GT-CM":"Chimaltenango","GT-CQ":"Chiquimula","GT-PR":"El Progreso","GT-ES":"Escuintla","GT-GU":"Guatemala Department","GT-HU":"Huehuetenango","GT-IZ":"Izabal","GT-JA":"Jalapa","GT-JU":"Jutiapa","GT-PE":"Petén","GT-QZ":"Quetzaltenango","GT-QC":"Quiché","GT-RE":"Retalhuleu","GT-SA":"Sacatepéquez","GT-SM":"San Marcos","GT-SR":"Santa Rosa","GT-SO":"Sololá","GT-SU":"Suchitepéquez","GT-TO":"Totonicapán","GT-ZA":"Zacapa","GW-BA":"Bafata","GW-BS":"Bissau","GW-GA":"Gabu","GW-OI":"Oio","GY-BA":"Barima-Waini","GY-CU":"Cuyuni-Mazaruni","GY-DE":"Demerara-Mahaica","GY-EB":"East Berbice-Corentyne","GY-ES":"Essequibo Islands-West Demerara","GY-MA":"Mahaica-Berbice","GY-PT":"Potaro-Siparuni","GY-UD":"Upper Demerara-Berbice","HK-HCW":"Central and Western","HK-HEA":"Eastern","HK-HSO":"Southern","HK-HWC":"Wan Chai","HK-KKC":"Kowloon City","HK-KKT":"Kwun Tong","HK-KSS":"Sham Shui Po","HK-KWT":"Wong Tai Sin","HK-KYT":"Yau Tsim Mong","HK-NIS":"Islands","HK-NKT":"Kwai Tsing","HK-NNO":"North","HK-NSK":"Sai Kung","HK-NST":"Sha Tin","HK-NTM":"Tuen Mun","HK-NTP":"Tai Po","HK-NTW":"Tsuen Wan","HK-NYL":"Yuen Long","HN-AT":"Atlantida","HN-CH":"Choluteca","HN-CL":"Colon","HN-CM":"Comayagua","HN-CP":"Copan","HN-CR":"Cortes","HN-EP":"El Paraiso","HN-FM":"Francisco Morazan","HN-GD":"Gracias a Dios","HN-IB":"Islas de la Bahia","HN-IN":"Intibuca","HN-LE":"Lempira","HN-LP":"La Paz","HN-OC":"Ocotepeque","HN-OL":"Olanch
3o","HN-SB":"Santa Barbara","HN-VA":"Valle","HN-YO":"Yoro","HR-01":"Zagrebacka zupanija","HR-02":"Krapinsko-zagorska zupanija","HR-03":"Sisacko-moslavacka zupanija","HR-04":"Karlovacka zupanija","HR-05":"Varazdinska zupanija","HR-06":"Koprivnicko-krizevacka zupanija","HR-07":"Bjelovarsko-bilogorska zupanija","HR-08":"Primorsko-goranska zupanija","HR-09":"Licko-senjska zupanija","HR-10":"Viroviticko-podravska zupanija","HR-11":"Pozesko-slavonska zupanija","HR-12":"Brodsko-posavska zupanija","HR-13":"Zadarska zupanija","HR-14":"Osjecko-baranjska zupanija","HR-15":"Sibensko-kninska zupanija","HR-16":"Vukovarsko-srijemska zupanija","HR-17":"Splitsko-dalmatinska zupanija","HR-18":"Istarska zupanija","HR-19":"Dubrovacko-neretvanska zupanija","HR-20":"Medimurska zupanija","HR-21":"Grad Zagreb","HT-AR":"Artibonite","HT-CE":"Centre","HT-GA":"Grande\'Anse","HT-ND":"Nord","HT-NI":"Nippes","HT-NO":"Nord-Ouest","HT-OU":"Ouest","HT-SD":"Sud","HT-SE":"Sud-Est","HU-BA":"Baranya","HU-BE":"Bekes","HU-BK":"Bacs-Kiskun","HU-BU":"Budapest","HU-BZ":"Borsod-Abauj-Zemplen","HU-CS":"Csongrad-Csanad","HU-FE":"Fejer","HU-GS":"Gyor-Moson-Sopron","HU-HB":"Hajdu-Bihar","HU-HE":"Heves","HU-JN":"Jasz-Nagykun-Szolnok","HU-KE":"Komarom-Esztergom","HU-NO":"Nograd","HU-PE":"Pest","HU-SO":"Somogy","HU-SZ":"Szabolcs-Szatmar-Bereg","HU-TO":"Tolna","HU-VA":"Vas","HU-VE":"Veszprem","HU-ZA":"Zala","ID-AC":"Aceh","ID-BA":"Bali","ID-BB":"Kepulauan Bangka Belitung","ID-BE":"Bengkulu","ID-BT":"Banten","ID-GO":"Gorontalo","ID-JA":"Jambi","ID-JB":"Jawa Barat","ID-JI":"Jawa Timur","ID-JK":"Jakarta Raya","ID-JT":"Jawa Tengah","ID-KB":"Kalimantan Barat","ID-KI":"Kalimantan Timur","ID-KR":"Kepulauan Riau","ID-KS":"Kalimantan Selatan","ID-KT":"Kalimantan Tengah","ID-KU":"Kalimantan Utara","ID-LA":"Lampung","ID-ML":"Maluku","ID-MU":"Maluku Utara","ID-NB":"Nusa Tenggara Barat","ID-NT":"Nusa Tenggara Timur","ID-PB":"Papua Barat","ID-PE":"Papua Pengunungan","ID-PP":"Papua","ID-PS":"Papua Selatan","ID-PT":"Papua Tengah","ID-RI":"Riau","ID-SA":"Sulawesi Utara","ID-SB":"Sumatera Barat","ID-SG":"Sulawesi Tenggara","ID-SN":"Sulawesi Selatan","ID-SR":"Sulawesi Barat","ID-SS":"Sumatera Selatan","ID-ST":"Sulawesi Tengah","ID-SU":"Sumatera Utara","ID-YO":"Yogyakarta","IE-C":"Connaught","IE-L":"Leinster","IE-M":"Munster","IE-U":"Ulster","IE-CE":"Clare","IE-CN":"Cavan","IE-CO":"Cork","IE-CW":"Carlow","IE-D":"Dublin","IE-DL":"Donegal","IE-G":"Galway","IE-KE":"Kildare","IE-KK":"Kilkenny","IE-KY":"Kerry","IE-LD":"Longford","IE-LH":"Louth","IE-LK":"Limerick","IE-LM":"Leitrim","IE-LS":"Laois","IE-MH":"Meath","IE-MN":"Monaghan","IE-MO":"Mayo","IE-OY":"Offaly","IE-RN":"Roscommon","IE-SO":"Sligo","IE-TA":"Tipperary","IE-WD":"Waterford","IE-WH":"Westmeath","IE-WW":"Wicklow","IE-WX":"Wexford","IL-D":"HaDarom","IL-HA":"Hefa","IL-JM":"Yerushalayim","IL-M":"HaMerkaz","IL-TA":"Tel Aviv","IL-Z":"HaTsafon","IN-AN":"Andaman and Nicobar Islands","IN-AP":"Andhra Pradesh","IN-AR":"Arunachal Pradesh","IN-AS":"Assam","IN-BR":"Bihar","IN-CH":"Chandigarh","IN-CT":"Chhattisgarh","IN-DH":"Dadra and Nagar Haveli and Daman and Diu","IN-DL":"Delhi","IN-DN":"Dadra and Nagar Haveli","IN-GA":"Goa","IN-GJ":"Gujarat","IN-HP":"Himachal Pradesh","IN-HR":"Haryana","IN-JH":"Jharkhand","IN-JK":"Jammu and Kashmir","IN-KA":"Karnataka","IN-KL":"Kerala","IN-LD":"Lakshadweep","IN-MH":"Maharashtra","IN-ML":"Meghalaya","IN-MN":"Manipur","IN-MP":"Madhya Pradesh","IN-MZ":"Mizoram","IN-NL":"Nagaland","IN-OR":"Odisha","IN-PB":"Punjab","IN-PY":"Puducherry","IN-RJ":"Rajasthan","IN-SK":"Sikkim","IN-TG":"Telangana","IN-TN":"Tamil Nadu","IN-TR":"Tripura","IN-UP":"Uttar Pradesh","IN-UT":"Uttarakhand","IN-WB":"West Bengal","IQ-AN":"Al Anbar","IQ-AR":"Arbil","IQ-BA":"Al Basrah","IQ-BB":"Babil","IQ-BG":"Baghdad","IQ-DA":"Dahuk","IQ-DI":"Diyala","IQ-DQ":"Dhi Qar","IQ-KA":"Karbala\'","IQ-KI":"Kirkuk","IQ-MA":"Maysan","IQ-MU":"Al Muthanna","IQ-NA":"An Najaf","IQ-NI":"Ninawa","IQ-QA":"Al Qadisiyah","IQ-SD":"Salah ad Din","IQ-SU":"As Sulaymaniyah","IQ-WA":"Wasit","IR-00":"Markazi","IR-01":"Gilan","IR-02":"Mazandaran","IR-03":"Azarbayjan-e Sharqi","IR-04":"Azarbayjan-e Gharbi","IR-05":"Kermanshah","IR-06":"Khuzestan","IR-07":"Fars","IR-08":"Kerman","IR-09":"Khorasan-e Razavi","IR-10":"Esfahan","IR-11":"Sistan va Baluchestan","IR-12":"Kordestan","IR-13":"Hamadan","IR-14":"Chahar Mahal va Bakhtiari","IR-15":"Lorestan","IR-16":"Ilam","IR-17":"Kohgiluyeh va Bowyer Ahmad","IR-18":"Bushehr","IR-19":"Zanjan","IR-20":"Semnan","IR-21":"Yazd","IR-22":"Hormozgan","IR-23":"Tehran","IR-24":"Ardabil","IR-25":"Qom","IR-26":"Qazvin","IR-27":"Golestan","IR-28":"Khorasan-e Shomali","IR-29":"Khorasan-e Jonubi","IR-30":"Alborz","IS-1":"Hofudborgarsvaedi","IS-2":"Sudurnes","IS-3":"Vesturland","IS-4":"Vestfirdir","IS-5":"Nordurland vestra","IS-6":"Nordurland eystra","IS-7":"Austurland","IS-8":"Sudurland","IT-21":"Piemonte","IT-23":"Valle d\'Aosta","IT-25":"Lombardia","IT-32":"Trentino-Alto Adige","IT-34":"Veneto","IT-36":"Friuli-Venezia Giulia","IT-42":"Liguria","IT-45":"Emilia-Romagna","IT-52":"Toscana","IT-55":"Umbria","IT-57":"Marche","IT-62":"Lazio","IT-65":"Abruzzo","IT-67":"Molise","IT-72":"Campania","IT-75":"Puglia","IT-77":"Basilicata","IT-78":"Calabria","IT-82":"Sicilia","IT-88":"Sardegna","JM-01":"Kingston","JM-02":"Saint Andrew","JM-03":"Saint Thomas","JM-04":"Portland","JM-05":"Saint Mary","JM-06":"Saint Ann","JM-07":"Trelawny","JM-08":"Saint James","JM-09":"Hanover","JM-10":"Westmoreland","JM-11":"Saint Elizabeth","JM-12":"Manchester","JM-13":"Clarendon","JM-14":"Saint Catherine","JO-AJ":"\'Ajlun","JO-AM":"Al \'Asimah","JO-AQ":"Al \'Aqabah","JO-AT":"At Tafilah","JO-AZ":"Az Zarqa\'","JO-BA":"Al Balqa\'","JO-IR":"Irbid","JO-JA":"Jarash","JO-KA":"Al Karak","JO-MA":"Al Mafraq","JO-MD":"Madaba","JO-MN":"Ma\'an","JP-01":"Hokkaido","JP-02":"Aomori","JP-03":"Iwate","JP-04":"Miyagi","JP-05":"Akita","JP-06":"Yamagata","JP-07":"Fukushima","JP-08":"Ibaraki","JP-09":"Tochigi","JP-10":"Gunma","JP-11":"Saitama","JP-12":"Chiba","JP-13"
3:"Tokyo","JP-14":"Kanagawa","JP-15":"Niigata","JP-16":"Toyama","JP-17":"Ishikawa","JP-18":"Fukui","JP-19":"Yamanashi","JP-20":"Nagano","JP-21":"Gifu","JP-22":"Shizuoka","JP-23":"Aichi","JP-24":"Mie","JP-25":"Shiga","JP-26":"Kyoto","JP-27":"Osaka","JP-28":"Hyogo","JP-29":"Nara","JP-30":"Wakayama","JP-31":"Tottori","JP-32":"Shimane","JP-33":"Okayama","JP-34":"Hiroshima","JP-35":"Yamaguchi","JP-36":"Tokushima","JP-37":"Kagawa","JP-38":"Ehime","JP-39":"Kochi","JP-40":"Fukuoka","JP-41":"Saga","JP-42":"Nagasaki","JP-43":"Kumamoto","JP-44":"Oita","JP-45":"Miyazaki","JP-46":"Kagoshima","JP-47":"Okinawa","KE-01":"Baringo","KE-02":"Bomet","KE-03":"Bungoma","KE-04":"Busia","KE-05":"Elgeyo/Marakwet","KE-06":"Embu","KE-07":"Garissa","KE-08":"Homa Bay","KE-09":"Isiolo","KE-10":"Kajiado","KE-11":"Kakamega","KE-12":"Kericho","KE-13":"Kiambu","KE-14":"Kilifi","KE-15":"Kirinyaga","KE-16":"Kisii","KE-17":"Kisumu","KE-18":"Kitui","KE-19":"Kwale","KE-20":"Laikipia","KE-21":"Lamu","KE-22":"Machakos","KE-23":"Makueni","KE-24":"Mandera","KE-25":"Marsabit","KE-26":"Meru","KE-27":"Migori","KE-28":"Mombasa","KE-29":"Murang\'a","KE-30":"Nairobi City","KE-31":"Nakuru","KE-32":"Nandi","KE-33":"Narok","KE-34":"Nyamira","KE-35":"Nyandarua","KE-36":"Nyeri","KE-37":"Samburu","KE-38":"Siaya","KE-39":"Taita/Taveta","KE-40":"Tana River","KE-41":"Tharaka-Nithi","KE-42":"Trans Nzoia","KE-43":"Turkana","KE-44":"Uasin Gishu","KE-45":"Vihiga","KE-46":"Wajir","KE-47":"West Pokot","KG-B":"Batken","KG-C":"Chuy","KG-GB":"Bishkek Shaary","KG-GO":"Osh Shaary","KG-J":"Jalal-Abad","KG-N":"Naryn","KG-T":"Talas","KG-Y":"Ysyk-Kol","KH-1":"Banteay Mean Choay","KH-10":"Kracheh","KH-11":"Mondol Kiri","KH-12":"Phnom Penh","KH-13":"Preah Vihear","KH-14":"Prey Veaeng","KH-15":"Pousaat","KH-17":"Siem Reab","KH-18":"Preah Sihanouk","KH-19":"Stueng Traeng","KH-2":"Baat Dambang","KH-20":"Svaay Rieng","KH-21":"Taakaev","KH-23":"Kaeb","KH-24":"Pailin","KH-3":"Kampong Chaam","KH-4":"Kampong Chhnang","KH-5":"Kampong Spueu","KH-6":"Kampong Thum","KH-7":"Kampot","KH-8":"Kandaal","KI-G":"Gilbert Islands","KI-L":"Line Islands","KM-G":"Grande Comore","KM-M":"Moheli","KN-01":"Christ Church Nichola Town","KN-02":"Saint Anne Sandy Point","KN-03":"Saint George Basseterre","KN-05":"Saint James Windward","KN-06":"Saint John Capisterre","KN-07":"Saint John Figtree","KN-08":"Saint Mary Cayon","KN-09":"Saint Paul Capisterre","KN-10":"Saint Paul Charlestown","KN-11":"Saint Peter Basseterre","KN-13":"Saint Thomas Middle Island","KN-15":"Trinity Palmetto Point","KP-01":"P\'yongyang","KR-11":"Seoul-teukbyeolsi","KR-26":"Busan-gwangyeoksi","KR-27":"Daegu-gwangyeoksi","KR-28":"Incheon-gwangyeoksi","KR-29":"Gwangju-gwangyeoksi","KR-30":"Daejeon-gwangyeoksi","KR-31":"Ulsan-gwangyeoksi","KR-41":"Gyeonggi-do","KR-42":"Gangwon-do","KR-43":"Chungcheongbuk-do","KR-44":"Chungcheongnam-do","KR-45":"Jeollabuk-do","KR-46":"Jeollanam-do","KR-47":"Gyeongsangbuk-do","KR-48":"Gyeongsangnam-do","KR-49":"Jeju-teukbyeoljachido","KW-AH":"Al Ahmadi","KW-FA":"Al Farwaniyah","KW-HA":"Hawalli","KW-JA":"Al Jahra\'","KW-KU":"Al \'Asimah","KW-MU":"Mubarak al Kabir","KZ-10":"Abay oblysy","KZ-11":"Aqmola oblysy","KZ-15":"Aqtobe oblysy","KZ-19":"Almaty oblysy","KZ-23":"Atyrau oblysy","KZ-27":"Batys Qazaqstan oblysy","KZ-31":"Zhambyl oblysy","KZ-33":"Zhetisu oblysy","KZ-35":"Qaraghandy oblysy","KZ-39":"Qostanay oblysy","KZ-43":"Qyzylorda oblysy","KZ-47":"Mangghystau oblysy","KZ-55":"Pavlodar oblysy","KZ-59":"Soltustik Qazaqstan oblysy","KZ-61":"Turkistan oblysy","KZ-62":"Ulytau oblysy","KZ-63":"Shyghys Qazaqstan oblysy","KZ-71":"Astana","KZ-75":"Almaty","KZ-79":"Shymkent","LA-AT":"Attapu","LA-BK":"Bokeo","LA-BL":"Bolikhamxai","LA-CH":"Champasak","LA-KH":"Khammouan","LA-LP":"Louangphabang","LA-OU":"Oudomxai","LA-PH":"Phongsali","LA-SV":"Savannakhet","LA-VI":"Viangchan","LA-XA":"Xaignabouli","LA-XE":"Xekong","LA-XI":"Xiangkhouang","LB-AK":"Aakkar","LB-AS":"Liban-Nord","LB-BA":"Beyrouth","LB-BH":"Baalbek-Hermel","LB-BI":"Beqaa","LB-JA":"Liban-Sud","LB-JL":"Mont-Liban","LB-NA":"Nabatiye","LC-01":"Anse la Raye","LC-02":"Castries","LC-03":"Choiseul","LC-05":"Dennery","LC-06":"Gros Islet","LC-07":"Laborie","LC-08":"Micoud","LC-10":"Soufriere","LC-11":"Vieux Fort","LI-01":"Balzers","LI-02":"Eschen","LI-03":"Gamprin","LI-04":"Mauren","LI-06":"Ruggell","LI-07":"Schaan","LI-09":"Triesen","LI-10":"Triesenberg","LI-11":"Vaduz","LK-1":"Western Province","LK-2":"Central Province","LK-3"
3:"Southern Province","LK-4":"Northern Province","LK-5":"Eastern Province","LK-6":"North Western Province","LK-7":"North Central Province","LK-8":"Uva Province","LK-9":"Sabaragamuwa Province","LR-BG":"Bong","LR-BM":"Bomi","LR-GB":"Grand Bassa","LR-GG":"Grand Gedeh","LR-MG":"Margibi","LR-MO":"Montserrado","LR-MY":"Maryland","LR-RI":"River Cess","LR-SI":"Sinoe","LS-A":"Maseru","LS-B":"Botha-Bothe","LS-C":"Leribe","LS-D":"Berea","LS-E":"Mafeteng","LS-F":"Mohale\'s Hoek","LS-G":"Quthing","LS-H":"Qacha\'s Nek","LS-J":"Mokhotlong","LS-K":"Thaba-Tseka","LT-AL":"Alytaus apskritis","LT-KL":"Klaipedos apskritis","LT-KU":"Kauno apskritis","LT-MR":"Marijampoles apskritis","LT-PN":"Panevezio apskritis","LT-SA":"Siauliu apskritis","LT-TA":"Taurages apskritis","LT-TE":"Telsiu apskritis","LT-UT":"Utenos apskritis","LT-VL":"Vilniaus apskritis","LU-CA":"Capellen","LU-CL":"Clervaux","LU-DI":"Diekirch","LU-EC":"Echternach","LU-ES":"Esch-sur-Alzette","LU-GR":"Grevenmacher","LU-LU":"Luxembourg","LU-ME":"Mersch","LU-RD":"Redange","LU-RM":"Remich","LU-VD":"Vianden","LU-WI":"Wiltz","LV-002":"Aizkraukles novads","LV-007":"Aluksnes novads","LV-011":"Adazu novads","LV-015":"Balvu novads","LV-016":"Bauskas novads","LV-022":"Cesu novads","LV-026":"Dobeles novads","LV-033":"Gulbenes novads","LV-041":"Jelgavas novads","LV-042":"Jekabpils novads","LV-047":"Kraslavas novads","LV-050":"Kuldigas novads","LV-052":"Kekavas novads","LV-054":"Limbazu novads","LV-056":"Livanu novads","LV-058":"Ludzas novads","LV-059":"Madonas novads","LV-062":"Marupes novads","LV-067":"Ogres novads","LV-068":"Olaines novads","LV-073":"Preilu novads","LV-077":"Rezeknes novads","LV-080":"Ropazu novads","LV-087":"Salaspils novads","LV-088":"Saldus novads","LV-089":"Saulkrastu novads","LV-091":"Siguldas novads","LV-094":"Smiltenes novads","LV-097":"Talsu novads","LV-099":"Tukuma novads","LV-101":"Valkas novads","LV-102":"Varaklanu novads","LV-106":"Ventspils novads","LV-111":"Augsdaugavas novads","LV-112":"Dienvidkurzemes novads","LV-113":"Valmieras novads","LV-DGV":"Daugavpils","LV-JEL":"Jelgava","LV-JUR":"Jurmala","LV-LPX":"Liepaja","LV-RIX":"Riga","LY-BA":"Banghazi","LY-BU":"Al Butnan","LY-DR":"Darnah","LY-JA":"Al Jabal al Akhdar","LY-JG":"Al Jabal al Gharbi","LY-JI":"Al Jafarah","LY-JU":"Al Jufrah","LY-KF":"Al Kufrah","LY-MB":"Al Marqab","LY-MI":"Misratah","LY-MJ":"Al Marj","LY-NL":"Nalut","LY-NQ":"An Nuqat al Khams","LY-SB":"Sabha","LY-SR":"Surt","LY-TB":"Tarabulus","LY-WA":"Al Wahat","LY-WS":"Wadi ash Shati\'","LY-ZA":"Az Zawiyah","MA-01":"Tanger-Tetouan-Al Hoceima","MA-02":"L\'Oriental","MA-03":"Fes- Meknes","MA-04":"Rabat-Sale-Kenitra","MA-05":"Beni-Mellal-Khenifra","MA-06":"Casablanca-Settat","MA-07":"Marrakech-Safi","MA-08":"Draa-Tafilalet","MA-09":"Souss-Massa","MA-10":"Guelmim-Oued Noun (EH-partial)","MA-11":"Laayoune-Sakia El Hamra (EH-partial)","MC-CO":"La Condamine","MC-FO":"Fontvieille","MC-MC":"Monte-Carlo","MC-MG":"Moneghetti","MC-MO":"Monaco-Ville","MC-SR":"Saint-Roman","MD-AN":"Anenii Noi","MD-BA":"Balti","MD-BD":"Bender","MD-BR":"Briceni","MD-BS":"Basarabeasca","MD-CA":"Cahul","MD-CL":"Calarasi","MD-CM":"Cimislia","MD-CR":"Criuleni","MD-CS":"Causeni","MD-CT":"Cantemir","MD-CU":"Chisinau","MD-DO":"Donduseni","MD-DR":"Drochia","MD-DU":"Dubasari","MD-ED":"Edinet","MD-FA":"Falesti","MD-FL":"Floresti","MD-GA":"Gagauzia, Unitatea teritoriala autonoma","MD-GL":"Glodeni","MD-HI":"Hincesti","MD-IA":"Ialoveni","MD-LE":"Leova","MD-NI":"Nisporeni","MD-OC":"Ocnita","MD-OR":"Orhei","MD-RE":"Rezina","MD-RI":"Riscani","MD-SD":"Soldanesti","MD-SI":"Singerei","MD-SN":"Stinga Nistrului, unitatea teritoriala din","MD-SO":"Soroca","MD-ST":"Straseni","MD-SV":"Stefan Voda","MD-TA":"Taraclia","MD-TE":"Telenesti","MD-UN":"Ungheni","ME-01":"Andrijevica","ME-02":"Bar","ME-03":"Berane","ME-04":"Bijelo Polje","ME-05":"Budva","ME-06":"Cetinje","ME-07":"Danilovgrad","ME-08":"Herceg-Novi","ME-09":"Kolasin","ME-10":"Kotor","ME-12":"Niksic","ME-13":"Plav","ME-14":"Pljevlja","ME-15":"Pluzine","ME-16":"Podgorica","ME-17":"Rozaje","ME-19":"Tivat","ME-20":"Ulcinj","ME-21":"Zabljak","ME-24":"Tuzi","MG-A":"Toamasina","MG-D":"Antsiranana","MG-F":"Fianarantsoa","MG-M":"Mahajanga","MG-T":"Antananarivo","MG-U":"Toliara","MH-KWA":"Kwajalein","MH-MAJ":"Majuro","MK-101":"Veles","MK-102":"Gradsko","MK-103":"Demir Kapija","MK-104":"Kavadarci","MK-105":"Lozovo","MK-106":"Negotino","MK-107":"Rosoman","MK-108":"Sveti Nikole","MK-109":"Caska","MK-201":"Berovo","MK-202":"Vinica","MK-205":"Karbinci","MK-206":"Kocani","MK-207":"Makedonska Kamenica","MK-208":"Pehcevo","MK-209":"Probistip","MK-210":"Cesinovo-Oblesevo","MK-211":"Stip","MK-301":"Vevcani","MK-303":"Debar","MK-307":"Kicevo","MK-308":"Makedonski Brod","MK-310":"Ohrid","MK-311":"Plasnica","MK-312":"Struga","MK-401":"Bogdanci","MK-402":"Bosilovo","MK-403":"Valandovo","MK-404":"Vasilevo","MK-405":"Gevgelija","MK-406":"Dojran","MK-408":"Novo Selo","MK-409":"Radovis","MK-410":"Strumica","MK-501":"Bitola","MK-502":"Demir Hisar","MK-503":"Dolneni","MK-505":"Krusevo","MK-506":"Mogila","MK-507":"Novaci","MK-508":"Prilep","MK-509":"Resen","MK-601":"Bogovinje","MK-602":"Brvenica","MK-604":"Gostivar","MK-605":"Zelino","MK-606":"Jegunovce","MK-607":"Mavrovo i Rostusa","MK-608":"Tearce","MK-609":"Tetovo","MK-701":"Kratovo","MK-702":"Kriva Palanka","MK-703":"Kumanovo","MK-704":"Lipkovo","MK-705":"Rankovce","MK-802":"Aracinovo","MK-803":"Butel","MK-804":"Gazi Baba","MK-806":"Zelenikovo","MK-807":"Ilinden","MK-809":"Kisela Voda","MK-810":"Petrovec","MK-811":"Saraj","MK-812":"Sopiste","MK-813":"Studenicani","MK-814":"Centar","MK-816":"Cucer Sandevo","ML-1":"Kayes","ML-2":"Koulikoro","ML-3":"Sikasso","ML-4":"Segou","ML-5":"Mopti","ML-6":"Tombouctou","ML-7":"Gao","ML-8":"Kidal","ML-BKO":"Bamako","MM-01":"Sagaing","MM-02":"Bago","MM-03":"Magway","MM-04":"Mandalay","MM-05":"Tanintharyi","MM-06":"Yangon","MM-07":"Ayeyarwady","MM-11":"Kachin","MM-12":"Kayah","MM-13":"Kayin","MM-15":"Mon","MM-16":"Rakhine","MM-17":"Shan","MM-18":"Nay Pyi Taw","MN-035":"Orhon","MN-043":"Hovd","MN-047":"Tov","MN-049":"Selenge","MN-055":"Ovorhangay","MN-061":"Dornod","MN-065":"Govi-Altay","MN-069":"Bayanhongor","MN-1":"Ulaanbaatar","MR-01":"Hodh ech Chargui","MR-02":"Hodh el Gharbi","MR-03":"Assaba","MR-04":"Gorgol","MR-05":"Brakna","MR-06":"Trarza","MR-07":"Adrar","MR-08":"Dakhlet Nouadhibou","MR-09":"Tagant","MR-11":"Tiris Zemmour","MR-12":"Inchiri","MR-13":"Nouakchott Ouest","MT-01":"Attard","MT-02":"Balzan","MT-03":"Birgu","MT-04":"Birkirkara","MT-05":"Birzebbuga","MT-06":"Bormla","MT-07":"Dingli","MT-08":"Fgura","MT-09":"Floriana","MT-10":"Fontana","MT-11":"Gudja","MT-12":"Gz
3ira","MT-13":"Ghajnsielem","MT-14":"Gharb","MT-15":"Gharghur","MT-16":"Ghasri","MT-17":"Ghaxaq","MT-18":"Hamrun","MT-19":"Iklin","MT-20":"Isla","MT-21":"Kalkara","MT-23":"Kirkop","MT-24":"Lija","MT-25":"Luqa","MT-26":"Marsa","MT-27":"Marsaskala","MT-28":"Marsaxlokk","MT-29":"Mdina","MT-30":"Mellieha","MT-31":"Mgarr","MT-32":"Mosta","MT-33":"Mqabba","MT-34":"Msida","MT-35":"Mtarfa","MT-36":"Munxar","MT-37":"Nadur","MT-38":"Naxxar","MT-39":"Paola","MT-40":"Pembroke","MT-41":"Pieta","MT-42":"Qala","MT-43":"Qormi","MT-44":"Qrendi","MT-45":"Rabat Gozo","MT-46":"Rabat Malta","MT-47":"Safi","MT-48":"Saint Julian\'s","MT-49":"Saint John","MT-50":"Saint Lawrence","MT-51":"Saint Paul\'s Bay","MT-52":"Sannat","MT-53":"Saint Lucia\'s","MT-54":"Santa Venera","MT-55":"Siggiewi","MT-56":"Sliema","MT-57":"Swieqi","MT-58":"Ta\' Xbiex","MT-59":"Tarxien","MT-60":"Valletta","MT-61":"Xaghra","MT-62":"Xewkija","MT-63":"Xghajra","MT-64":"Zabbar","MT-65":"Zebbug Gozo","MT-67":"Zejtun","MT-68":"Zurrieq","MU-BL":"Black River","MU-FL":"Flacq","MU-GP":"Grand Port","MU-MO":"Moka","MU-PA":"Pamplemousses","MU-PL":"Port Louis","MU-PW":"Plaines Wilhems","MU-RO":"Rodrigues Islands","MU-RR":"Riviere du Rempart","MU-SA":"Savanne","MV-00":"South Ari Atoll","MV-01":"Addu City","MV-02":"North Ari Atoll","MV-03":"Faadhippolhu","MV-04":"Felidhu Atoll","MV-05":"Hahdhunmathi","MV-07":"North Thiladhunmathi","MV-12":"Mulaku Atoll","MV-13":"North Maalhosmadulu","MV-20":"South Maalhosmadulu","MV-23":"South Thiladhunmathi","MV-25":"South Miladhunmadulu","MV-28":"South Huvadhu Atoll","MV-MLE":"Male","MW-BA":"Balaka","MW-BL":"Blantyre","MW-CK":"Chikwawa","MW-CR":"Chiradzulu","MW-DE":"Dedza","MW-DO":"Dowa","MW-KR":"Karonga","MW-LI":"Lilongwe","MW-MC":"Mchinji","MW-MG":"Mangochi","MW-MH":"Machinga","MW-MW":"Mwanza","MW-MZ":"Mzimba","MW-NE":"Neno","MW-NI":"Ntchisi","MW-NK":"Nkhotakota","MW-SA":"Salima","MW-TH":"Thyolo","MW-ZO":"Zomba","MX-AGU":"Aguascalientes","MX-BCN":"Baja California","MX-BCS":"Baja California Sur","MX-CAM":"Campeche","MX-CHH":"Chihuahua","MX-CHP":"Chiapas","MX-CMX":"Ciudad de Mexico","MX-COA":"Coahuila de Zaragoza","MX-COL":"Colima","MX-DUR":"Durango","MX-GRO":"Guerrero","MX-GUA":"Guanajuato","MX-HID":"Hidalgo","MX-JAL":"Jalisco","MX-MEX":"Mexico","MX-MIC":"Michoacan de Ocampo","MX-MOR":"Morelos","MX-NAY":"Nayarit","MX-NLE":"Nuevo Leon","MX-OAX":"Oaxaca","MX-PUE":"Puebla","MX-QUE":"Queretaro","MX-ROO":"Quintana Roo","MX-SIN":"Sinaloa","MX-SLP":"San Luis Potosi","MX-SON":"Sonora","MX-TAB":"Tabasco","MX-TAM":"Tamaulipas","MX-TLA":"Tlaxcala","MX-VER":"Veracruz de Ignacio de la Llave","MX-YUC":"Yucatan","MX-ZAC":"Zacatecas","MY-01":"Johor","MY-02":"Kedah","MY-03":"Kelantan","MY-04":"Melaka","MY-05":"Negeri Sembilan","MY-06":"Pahang","MY-07":"Pulau Pinang","MY-08":"Perak","MY-09":"Perlis","MY-10":"Selangor","MY-11":"Terengganu","MY-12":"Sabah","MY-13":"Sarawak","MY-14":"Wilayah Persekutuan Kuala Lumpur","MY-15":"Wilayah Persekutuan Labuan","MY-16":"Wilayah Persekutuan Putrajaya","MZ-A":"Niassa","MZ-B":"Manica","MZ-G":"Gaza","MZ-I":"Inhambane","MZ-L":"Maputo","MZ-N":"Nampula","MZ-P":"Cabo Delgado","MZ-Q":"Zambezia","MZ-S":"Sofala","MZ-T":"Tete","NA-CA":"Zambezi","NA-ER":"Erongo","NA-HA":"Hardap","NA-KA":"Karas","NA-KE":"Kavango East","NA-KH":"Khomas","NA-KU":"Kunene","NA-KW":"Kavango West","NA-OD":"Otjozondjupa","NA-OH":"Omaheke","NA-ON":"Oshana","NA-OS":"Omusati","NA-OT":"Oshikoto","NA-OW":"Ohangwena","NE-1":"Agadez","NE-2":"Diffa","NE-3":"Dosso","NE-5":"Tahoua","NE-6":"Tillaberi","NE-7":"Zinder","NE-8":"Niamey","NG-AB":"Abia","NG-AD":"Adamawa","NG-AK":"Akwa Ibom","NG-AN":"Anambra","NG-BA":"Bauchi","NG-BE":"Benue","NG-BO":"Borno","NG-BY":"Bayelsa","NG-CR":"Cross River","NG-DE":"Delta","NG-EB":"Ebonyi","NG-ED":"Edo","NG-EK":"Ekiti","NG-EN":"Enugu","NG-FC":"Abuja Federal Capital Territory","NG-GO":"Gombe","NG-IM":"Imo","NG-JI":"Jigawa","NG-KD":"Kaduna","NG-KE":"Kebbi","NG-KN":"Kano","NG-KO":"Kogi","NG-KT":"Katsina","NG-KW":"Kwara","NG-LA":"Lagos","NG-NA":"Nasarawa","NG-NI":"Niger","NG-OG":"Ogun","NG-ON":"Ondo","NG-OS":"Osun","NG-OY":"Oyo","NG-PL":"Plateau","NG-RI":"Rivers","NG-SO":"Sokoto","NG-TA":"Taraba","NG-YO":"Yobe","NG-ZA":"Zamfara","NI-AN":"Costa Caribe Norte","NI-AS":"Costa Caribe Sur","NI-BO":"Boaco","NI-CA":"Carazo","NI-CI":"Chinandega","NI-CO":"Chontales","NI-ES":"Esteli","NI-GR":"Granada","NI-JI":"Jinotega","NI-LE":"Leon","NI-MD":"Madriz","NI-MN":"Managua","NI-MS":"Masaya","NI-MT":"Matagalpa","NI-NS":"Nueva Segovia","NI-RI":"Rivas","NI-SJ":"Rio San Juan","NL-DR":"Drenthe","NL-FL":"Flevoland","NL-FR":"Fryslan","NL-GE":"Gelderland","NL-GR":"Groningen","NL-LI":"Limburg","NL-NB":"Noord-Brabant","NL-NH":"Noord-Holland","NL-OV":"Overijssel","NL-UT":"Utrecht","NL-ZE":"Zeeland","NL-ZH":"Zuid-Holland","NO-03":"Oslo","NO-11":"Rogaland","NO-15":"More og Romsdal","NO-18":"Nordland","NO-30":"Viken","NO-34":"Innlandet","NO-38":"Vestfold og Telemark","NO-42":"Agder","NO-46":"Vestland","NO-50":"Trondelag","NO-54":"Troms og Finnmark","NP-BA":"Bagmati","NP-BH":"Bheri","NP-DH":"Dhawalagiri","NP-GA":"Gandaki","NP-JA":"Janakpur","NP-KA":"Karnali","NP-KO":"Kosi","NP-LU":"Lumbini","NP-MA":"Mahakali","NP-ME":"Mechi","NP-NA":"Narayani","NP-RA":"Rapti","NP-SA":"Sagarmatha","NP-SE":"Seti","NR-01":"Aiwo","NR-03":"Anetan","NR-14":"Yaren","NZ-AUK":"Auckland","NZ-BOP":"Bay of Plenty","NZ-CAN":"Canterbury","NZ-CIT":"Chatham Islands Territory","NZ-GIS":"Gisborne","NZ-HKB":"Hawke\'s Bay","NZ-MBH":"Marlborough","NZ-MWT":"Manawatu-Wanganui","NZ-NSN":"Nelson","NZ-NTL":"Northland","NZ-OTA":"Otago","NZ-STL":"Southland","NZ-TAS":"Tasman","NZ-TKI":"Taranaki","NZ-WGN":"Wellington","NZ-WKO":"Waikato","NZ-WTC":"West Coast","OM-BJ":"Janub al Batinah","OM-BS":"Shamal al Batinah","OM-BU":"Al Buraymi","OM-DA":"Ad Dak
3hiliyah","OM-MA":"Masqat","OM-MU":"Musandam","OM-SJ":"Janub ash Sharqiyah","OM-SS":"Shamal ash Sharqiyah","OM-WU":"Al Wusta","OM-ZA":"Az Zahirah","OM-ZU":"Zufar","PA-1":"Bocas del Toro","PA-2":"Cocle","PA-3":"Colon","PA-4":"Chiriqui","PA-5":"Darien","PA-6":"Herrera","PA-7":"Los Santos","PA-8":"Panama","PA-9":"Veraguas","PA-KY":"Guna Yala","PA-NB":"Ngobe-Bugle","PE-AMA":"Amazonas","PE-ANC":"Ancash","PE-APU":"Apurimac","PE-ARE":"Arequipa","PE-AYA":"Ayacucho","PE-CAJ":"Cajamarca","PE-CAL":"El Callao","PE-CUS":"Cusco","PE-HUC":"Huanuco","PE-HUV":"Huancavelica","PE-ICA":"Ica","PE-JUN":"Junin","PE-LAL":"La Libertad","PE-LAM":"Lambayeque","PE-LIM":"Lima","PE-LMA":"Municipalidad Metropolitana de Lima","PE-LOR":"Loreto","PE-MDD":"Madre de Dios","PE-MOQ":"Moquegua","PE-PAS":"Pasco","PE-PIU":"Piura","PE-PUN":"Puno","PE-SAM":"San Martin","PE-TAC":"Tacna","PE-TUM":"Tumbes","PE-UCA":"Ucayali","PF-A":"Austral Islands","PF-M":"Marquesas Islands","PF-S":"Society Islands","PF-T":"Tuamotu and Gambier Islands","PF-V":"Windward Islands","PG-CPK":"Chimbu","PG-CPM":"Central","PG-EBR":"East New Britain","PG-EHG":"Eastern Highlands","PG-ESW":"East Sepik","PG-MBA":"Milne Bay","PG-MPL":"Morobe","PG-MPM":"Madang","PG-MRL":"Manus","PG-NCD":"National Capital District (Port Moresby)","PG-NIK":"New Ireland","PG-NSB":"Bougainville","PG-SAN":"West Sepik","PG-SHM":"Southern Highlands","PG-WBK":"West New Britain","PG-WHM":"Western Highlands","PG-WPD":"Western","PH-00":"National Capital Region","PH-01":"Ilocos","PH-02":"Cagayan Valley","PH-03":"Central Luzon","PH-05":"Bicol","PH-06":"Western Visayas","PH-07":"Central Visayas","PH-08":"Eastern Visayas","PH-09":"Zamboanga Peninsula","PH-10":"Northern Mindanao","PH-11":"Davao","PH-12":"Soccsksargen","PH-13":"Caraga","PH-14":"Autonomous Region in Muslim Mindanao","PH-15":"Cordillera Administrative Region","PH-40":"Calabarzon","PH-41":"Mimaropa","PH-ABR":"Abra","PH-AGN":"Agusan del Norte","PH-AGS":"Agusan del Sur","PH-AKL":"Aklan","PH-ALB":"Albay","PH-ANT":"Antique","PH-APA":"Apayao","PH-AUR":"Aurora","PH-BAN":"Bataan","PH-BAS":"Basilan","PH-BEN":"Benguet","PH-BIL":"Biliran","PH-BOH":"Bohol","PH-BTG":"Batangas","PH-BTN":"Batanes","PH-BUK":"Bukidnon","PH-BUL":"Bulacan","PH-CAG":"Cagayan","PH-CAM":"Camiguin","PH-CAN":"Camarines Norte","PH-CAP":"Capiz","PH-CAS":"Camarines Sur","PH-CAT":"Catanduanes","PH-CAV":"Cavite","PH-CEB":"Cebu","PH-COM":"Davao de Oro","PH-DAO":"Davao Oriental","PH-DAS":"Davao del Sur","PH-DAV":"Davao del Norte","PH-DIN":"Dinagat Islands","PH-EAS":"Eastern Samar","PH-GUI":"Guimaras","PH-IFU":"Ifugao","PH-ILI":"Iloilo","PH-ILN":"Ilocos Norte","PH-ILS":"Ilocos Sur","PH-ISA":"Isabela","PH-KAL":"Kalinga","PH-LAG":"Laguna","PH-LAN":"Lanao del Norte","PH-LAS":"Lanao del Sur","PH-LEY":"Leyte","PH-LUN":"La Union","PH-MAD":"Marinduque","PH-MAG":"Maguindanao","PH-MAS":"Masbate","PH-MDC":"Mindoro Occidental","PH-MDR":"Mindoro Oriental","PH-MOU":"Mountain Province","PH-MSC":"Misamis Occidental","PH-MSR":"Misamis Oriental","PH-NCO":"Cotabato","PH-NEC":"Negros Occidental","PH-NER":"Negros Oriental","PH-NSA":"Northern Samar","PH-NUE":"Nueva Ecija","PH-NUV":"Nueva Vizcaya","PH-PAM":"Pampanga","PH-PAN":"Pangasinan","PH-PLW":"Palawan","PH-QUE":"Quezon","PH-QUI":"Quirino","PH-RIZ":"Rizal","PH-ROM":"Romblon","PH-SAR":"Sarangani","PH-SCO":"South Cotabato","PH-SIG":"Siquijor","PH-SLE":"Southern Leyte","PH-SLU":"Sulu","PH-SOR":"Sorsogon","PH-SUK":"Sultan Kudarat","PH-SUN":"Surigao del Norte","PH-SUR":"Surigao del Sur","PH-TAR":"Tarlac","PH-TAW":"Tawi-Tawi","PH-WSA":"Samar","PH-ZAN":"Zamboanga del Norte","PH-ZAS":"Zamboanga del Sur","PH-ZMB":"Zambales","PH-ZSI":"Zamboanga Sibugay","PK-BA":"Balochistan","PK-GB":"Gilgit-Baltistan","PK-IS":"Islamabad","PK-JK":"Azad Jammu and Kashmir","PK-KP":"Khyber Pakhtunkhwa","PK-PB":"Punjab","PK-SD":"Sindh","PL-02":"Dolnoslaskie","PL-04":"Kujawsko-pomorskie","PL-06":"Lubelskie","PL-08":"Lubuskie","PL-10":"Lodzkie","PL-12":"Malopolskie","PL-14":"Mazowieckie","PL-16":"Opolskie","PL-18":"Podkarpackie","PL-20":"Podlaskie","PL-22":"Pomorskie","PL-24":"Slaskie","PL-26":"Swietokrzyskie","PL-28":"Warminsko-mazur
3skie","PL-30":"Wielkopolskie","PL-32":"Zachodniopomorskie","PM-P":"Saint-Pierre","PM-M":"Miquelon-Langlade","PS-BTH":"Bethlehem","PS-DEB":"Deir El Balah","PS-GZA":"Gaza","PS-HBN":"Hebron","PS-JEM":"Jerusalem","PS-JEN":"Jenin","PS-JRH":"Jericho and Al Aghwar","PS-KYS":"Khan Yunis","PS-NBS":"Nablus","PS-QQA":"Qalqilya","PS-RBH":"Ramallah","PS-RFH":"Rafah","PS-SLT":"Salfit","PS-TBS":"Tubas","PS-TKM":"Tulkarm","PT-01":"Aveiro","PT-02":"Beja","PT-03":"Braga","PT-04":"Braganca","PT-05":"Castelo Branco","PT-06":"Coimbra","PT-07":"Evora","PT-08":"Faro","PT-09":"Guarda","PT-10":"Leiria","PT-11":"Lisboa","PT-12":"Portalegre","PT-13":"Porto","PT-14":"Santarem","PT-15":"Setubal","PT-16":"Viana do Castelo","PT-17":"Vila Real","PT-18":"Viseu","PT-20":"Regiao Autonoma dos Acores","PT-30":"Regiao Autonoma da Madeira","PW-004":"Airai","PW-150":"Koror","PW-212":"Melekeok","PW-222":"Ngardmau","PY-1":"Concepcion","PY-10":"Alto Parana","PY-11":"Central","PY-12":"Neembucu","PY-13":"Amambay","PY-14":"Canindeyu","PY-15":"Presidente Hayes","PY-19":"Boqueron","PY-2":"San Pedro","PY-3":"Cordillera","PY-4":"Guaira","PY-5":"Caaguazu","PY-6":"Caazapa","PY-7":"Itapua","PY-8":"Misiones","PY-9":"Paraguari","PY-ASU":"Asuncion","QA-DA":"Ad Dawhah","QA-KH":"Al Khawr wa adh Dhakhirah","QA-MS":"Ash Shamal","QA-RA":"Ar Rayyan","QA-US":"Umm Salal","QA-WA":"Al Wakrah","QA-ZA":"Az Za\'ayin","RO-AB":"Alba","RO-AG":"Arges","RO-AR":"Arad","RO-B":"Bucuresti","RO-BC":"Bacau","RO-BH":"Bihor","RO-BN":"Bistrita-Nasaud","RO-BR":"Braila","RO-BT":"Botosani","RO-BV":"Brasov","RO-BZ":"Buzau","RO-CJ":"Cluj","RO-CL":"Calarasi","RO-CS":"Caras-Severin","RO-CT":"Constanta","RO-CV":"Covasna","RO-DB":"Dambovita","RO-DJ":"Dolj","RO-GJ":"Gorj","RO-GL":"Galati","RO-GR":"Giurgiu","RO-HD":"Hunedoara","RO-HR":"Harghita","RO-IF":"Ilfov","RO-IL":"Ialomita","RO-IS":"Iasi","RO-MH":"Mehedinti","RO-MM":"Maramures","RO-MS":"Mures","RO-NT":"Neamt","RO-OT":"Olt","RO-PH":"Prahova","RO-SB":"Sibiu","RO-SJ":"Salaj","RO-SM":"Satu Mare","RO-SV":"Suceava","RO-TL":"Tulcea","RO-TM":"Timis","RO-TR":"Teleorman","RO-VL":"Valcea","RO-VN":"Vrancea","RO-VS":"Vaslui","RS-00":"Beograd","RS-01":"Severnobacki okrug","RS-02":"Srednjebanatski okrug","RS-03":"Severnobanatski okrug","RS-04":"Juznobanatski okrug","RS-05":"Zapadnobacki okrug","RS-06":"Juznobacki okrug","RS-07":"Sremski okrug","RS-08":"Macvanski okrug","RS-09":"Kolubarski okrug","RS-10":"Podunavski okrug","RS-11":"Branicevski okrug","RS-12":"Sumadijski okrug","RS-13":"Pomoravski okrug","RS-14":"Borski okrug","RS-15":"Zajecarski okrug","RS-16":"Zlatiborski okrug","RS-17":"Moravicki okrug","RS-18":"Raski okrug","RS-19":"Rasinski okrug","RS-20":"Nisavski okrug","RS-21":"Toplicki okrug","RS-22":"Pirotski okrug","RS-23":"Jablanicki okrug","RS-24":"Pcinjski okrug","RS-26":"Pecki okrug","RS-27":"Prizrenski okrug","RS-28":"Kosovsko-Mitrovacki okrug","RU-AD":"Adygeya, Respublika","RU-AL":"Altay, Respublika","RU-ALT":"Altayskiy kray","RU-AMU":"Amurskaya oblast\'","RU-ARK":"Arkhangel\'skaya oblast\'","RU-AST":"Astrakhanskaya oblast\'","RU-BA":"Bashkortostan, Respublika","RU-BEL":"Belgorodskaya oblast\'","RU-BRY":"Bryanskaya oblast\'","RU-BU":"Buryatiya, Respublika","RU-CE":"Chechenskaya Respublika","RU-CHE":"Chelyabinskaya oblast\'","RU-CHU":"Chukotskiy avtonomnyy okrug","RU-CU":"Chuvashskaya Respublika","RU-DA":"Dagestan, Respublika","RU-IN":"Ingushetiya, Respublika","RU-IRK":"Irkutskaya oblast\'","RU-IVA":"Ivanovskaya oblast\'","RU-KAM":"Kamchatskiy kray","RU-KB":"Kabardino-Balkarskaya Respublika","RU-KC":"Karachayevo-Cherkesskaya Respublika","RU-KDA":"Krasnodarskiy kray","RU-KEM":"Kemerovskaya oblast\'","RU-KGD":"Kaliningradskaya oblast\'","RU-KGN":"Kurganskaya oblast\'","RU-KHA":"Khabarovskiy kray","RU-KHM":"Khanty-Mansiyskiy avtonomnyy okrug","RU-KIR":"Kirovskaya oblast\'","RU-KK":"Khakasiya, Respublika","RU-KL":"Kalmykiya, Respublika","RU-KLU":"Kaluzhskaya oblast\'","RU-KO":"Komi, Respublika","RU-KOS":"Kostromskaya oblast\'","RU-KR":"Kareliya, Respublika","RU-KRS":"Kurskaya oblast\'","RU-KYA":"Krasnoyarskiy kray","RU-LEN":"Leningradskaya oblast\'","RU-LIP":"Lipetskaya oblast\'","RU-MAG":"Magadanskaya oblast\'","RU-ME":"Mariy El, Respublika","RU-MO":"Mordoviya, Respublika","RU-MOS":"Moskovskaya oblast\'","RU-MOW":"Moskva","RU-MUR":"Murmanskaya oblast\'","RU-NEN":"Nenetskiy avtonomnyy okrug","RU-NGR":"Novgorodskaya oblast\'","RU-NIZ":"Nizhegorodskaya oblast\'","RU-NVS":"Novosibirskaya oblast\'","RU-OMS":"Omskaya oblast\'","RU-ORE":"Orenburgskaya oblast\'","RU-ORL":"Orlovskaya oblast\'","RU-PER":"Permskiy kray","RU-PNZ":"Penzenskaya oblast\'","RU-PRI":"Primorskiy kray","RU-PSK":"Pskovskaya oblast\'","RU-ROS":"Rostovskaya oblast\'","RU-RYA":"Ryazanskaya oblast\'","RU-SA":"Saha, Respublika","RU-SAK":"Sakhalinskaya oblast\'","RU-SAM":"Samarskaya oblast\'","RU-SAR":"Saratovskaya oblast\'","RU-SE":"Severnaya Osetiya, Respublika","RU-SMO":"Smolenskaya oblast\'","RU-SPE":"Sankt-Peterburg","RU-STA":"Stavropol\'skiy kray","RU-SVE":"Sverdlovskaya oblast\'","RU-TA":"Tatarstan, Respublika","RU-TAM":"Tambovskaya oblast\'","RU-TOM":"Tomskaya oblast\'","RU-TUL":"Tul\'skaya oblast\'","RU-TVE":"Tverskaya oblast\'","RU-TY":"Tyva, Respublika","RU-TYU":"Tyumenskaya oblast\'","RU-UD":"Udmurtskaya Respublika","RU-ULY":"Ul\'yanovskaya oblast\'","RU-VGG":"Volgogradskaya oblast\'","RU-VLA":"Vladimirskaya oblast\'","RU-VLG":"Vologodskaya oblast\'","RU-VOR":"Voronezhskaya oblast\'","RU-YAN":"Yamalo-Nenetskiy avtonomnyy okrug","RU-YAR":"Yaroslavskaya oblast\'","RU-YEV":"Yevreyskaya avtonomnaya oblast\'","RU-ZAB":"Zabaykal\'skiy kray","RW-01":"Ville de Kigali","RW-02":"Est","RW-03":"Nord","RW-04":"Ouest","RW-05":"Sud","SA-01":"Ar Riyad","SA-02":"Makkah al Mukarramah","SA-03":"Al Madinah al Munawwarah","SA-04":"Ash Sharqiyah","SA-05":"Al Qasim","SA-06":"Ha\'il","SA-07":"Tabuk","SA-08":"Al Hudud ash Shamaliyah","SA-09":"Jazan","SA-10":"Najran","SA-11":"Al Bahah","SA-12":"Al Jawf","SA-14":"\'Asir","SB-CH":"Choiseul","SB-GU":"Guadalcanal","SB-WE":"Western","SC-01":"Anse aux Pins","SC-02":"Anse Boileau","SC-05":"Anse Royale","SC-06":"Baie Lazare","SC-07":"Baie Sainte Anne","SC-08":"Beau Vallon","SC-10":"Bel Ombre","SC-11":"Cascade","SC-13":"Grand Anse Mahe","SC-14":"Grand Anse Praslin","SC-15":"La Digue","SC-16":"English River","SC-20":"Pointe Larue","SC-23":"Takamaka","SD-DC":"Central Darfur","SD-DN":"North Darfur","SD-DS":"South Darfur","SD-DW":"West Darfur","SD-GD":"Gedaref","SD-GK":"West Kordofan","SD-GZ":"Gezira","SD-KA":"Kassala","SD-KH":"Khartoum","SD-KN":"North Kordofan","SD-KS":"South Kordofan","SD-NB":"Blue Nile","SD-NO":"Northern","SD-NR":"River Nile","SD-NW":"White Nile","SD-RS":"Red Sea","SD-SI":"Sennar","SE-AB":"Stockholms lan","SE-AC":"Vasterbottens lan","SE-BD":"Norrbottens lan","SE-C":"Uppsala lan","SE-D":"Sodermanlands lan","SE-E":"Ostergotlands lan","SE-F":"Jonkopings lan","SE-G":"Kronobergs lan","SE-H":"Kalmar lan","SE-I":"Gotlands lan","SE-K":"Blekinge lan","SE-M":"Skane lan","SE-N":"Hallands lan","SE-O":"Vastra Gotalands lan","SE-S":"Varmlands lan","SE-T":"Orebro lan","SE-U":"Vastmanlands lan","SE-W":"Dalarnas lan","SE-X":"Gavleborgs lan","SE-Y":"
3Vasternorrlands lan","SE-Z":"Jamtlands lan","SH-HL":"Saint Helena","SI-001":"Ajdovscina","SI-002":"Beltinci","SI-003":"Bled","SI-004":"Bohinj","SI-005":"Borovnica","SI-006":"Bovec","SI-007":"Brda","SI-008":"Brezovica","SI-009":"Brezice","SI-010":"Tisina","SI-011":"Celje","SI-012":"Cerklje na Gorenjskem","SI-013":"Cerknica","SI-014":"Cerkno","SI-015":"Crensovci","SI-017":"Crnomelj","SI-018":"Destrnik","SI-019":"Divaca","SI-020":"Dobrepolje","SI-021":"Dobrova-Polhov Gradec","SI-023":"Domzale","SI-024":"Dornava","SI-025":"Dravograd","SI-026":"Duplek","SI-029":"Gornja Radgona","SI-031":"Gornji Petrovci","SI-032":"Grosuplje","SI-033":"Salovci","SI-034":"Hrastnik","SI-035":"Hrpelje-Kozina","SI-036":"Idrija","SI-037":"Ig","SI-038":"Ilirska Bistrica","SI-039":"Ivancna Gorica","SI-040":"Izola","SI-041":"Jesenice","SI-042":"Jursinci","SI-043":"Kamnik","SI-044":"Kanal","SI-045":"Kidricevo","SI-046":"Kobarid","SI-047":"Kobilje","SI-048":"Kocevje","SI-049":"Komen","SI-050":"Koper","SI-052":"Kranj","SI-053":"Kranjska Gora","SI-054":"Krsko","SI-055":"Kungota","SI-056":"Kuzma","SI-057":"Lasko","SI-058":"Lenart","SI-059":"Lendava","SI-060":"Litija","SI-061":"Ljubljana","SI-063":"Ljutomer","SI-064":"Logatec","SI-065":"Loska dolina","SI-066":"Loski Potok","SI-067":"Luce","SI-068":"Lukovica","SI-069":"Majsperk","SI-070":"Maribor","SI-071":"Medvode","SI-072":"Menges","SI-073":"Metlika","SI-074":"Mezica","SI-075":"Miren-Kostanjevica","SI-076":"Mislinja","SI-077":"Moravce","SI-079":"Mozirje","SI-080":"Murska Sobota","SI-081":"Muta","SI-082":"Naklo","SI-083":"Nazarje","SI-084":"Nova Gorica","SI-085":"Novo Mesto","SI-086":"Odranci","SI-087":"Ormoz","SI-090":"Piran","SI-091":"Pivka","SI-092":"Podcetrtek","SI-094":"Postojna","SI-095":"Preddvor","SI-096":"Ptuj","SI-097":"Puconci","SI-098":"Race-Fram","SI-099":"Radece","SI-100":"Radenci","SI-101":"Radlje ob Dravi","SI-102":"Radovljica","SI-103":"Ravne na Koroskem","SI-104":"Ribnica","SI-105":"Rogasovci","SI-106":"Rogaska Slatina","SI-108":"Ruse","SI-109":"Semic","SI-110":"Sevnica","SI-111":"Sezana","SI-112":"Slovenj Gradec","SI-113":"Slovenska Bistrica","SI-114":"Slovenske Konjice","SI-115":"Starse","SI-116":"Sveti Jurij ob Scavnici","SI-117":"Sencur","SI-118":"Sentilj","SI-119":"Sentjernej","SI-120":"Sentjur","SI-121":"Skocjan","SI-122":"Skofja Loka","SI-123":"Skofljica","SI-124":"Smarje pri Jelsah","SI-125":"Smartno ob Paki","SI-126":"Sostanj","SI-127":"Store","SI-128":"Tolmin","SI-129":"Trbovlje","SI-130":"Trebnje","SI-131":"Trzic","SI-132":"Turnisce","SI-133":"Velenje","SI-134":"Velike Lasce","SI-135":"Videm","SI-136":"Vipava","SI-137":"Vitanje","SI-138":"Vodice","SI-139":"Vojnik","SI-140":"Vrhnika","SI-141":"Vuzenica","SI-142":"Zagorje ob Savi","SI-143":"Zavrc","SI-144":"Zrece","SI-146":"Zelezniki","SI-147":"Ziri","SI-148":"Benedikt","SI-149":"Bistrica ob Sotli","SI-150":"Bloke","SI-151":"Braslovce","SI-152":"Cankova","SI-154":"Dobje","SI-155":"Dobrna","SI-156":"Dobrovnik","SI-158":"Grad","SI-159":"Hajdina","SI-160":"Hoce-Slivnica","SI-161":"Hodos","SI-162":"Horjul","SI-164":"Komenda","SI-165":"Kostel","SI-166":"Krizevci","SI-167":"Lovrenc na Pohorju","SI-168":"Markovci","SI-169":"Miklavz na Dravskem polju","SI-170":"Mirna Pec","SI-171":"Oplotnica","SI-172":"Podlehnik","SI-173":"Polzela","SI-174":"Prebold","SI-175":"Prevalje","SI-176":"Razkrizje","SI-179":"Sodrazica","SI-180":"Solcava","SI-182":"Sveti Andraz v Slovenskih Goricah","SI-183":"Sempeter-Vrtojba","SI-184":"Tabor","SI-185":"Trnovska Vas","SI-186":"Trzin","SI-187":"Velika Polana","SI-188":"Verzej","SI-189":"Vransko","SI-190":"Zalec","SI-191":"Zetale","SI-193":"Zuzemberk","SI-194":"Smartno pri Litiji","SI-195":"Apace","SI-196":"Cirkulane","SI-197":"Kosanjevica na Krki","SI-198":"Makole","SI-199":"Mokronog-Trebelno","SI-200":"Poljcane","SI-201":"Rence-Vogrsko","SI-203":"Straza","SI-204":"Sveta Trojica v Slovenskih goricah","SI-205":"Sveti Tomaz","SI-206":"Smarjeske Toplice","SI-207":"Gorje","SI-208":"Log-Dragomer","SI-209":"Recica ob Savinji","SI-210":"Sveti Jurij v Slovenskih goricah","SI-211":"Sentrupert","SI-212":"Mirna","SI-213":"Ankaran","SK-BC":"Banskobystricky kraj","SK-BL":"Bratislavsky kraj","SK-KI":"Kosicky kraj","SK-NI":"Nitriansky kraj","SK-PV":"Presovsky kraj","SK-TA":"Trnavsky kraj","SK-TC":"Trenciansky kraj","SK-ZI":"Zilinsky kraj","SL-E":"Eastern","SL-N":"Northern","SL-S":"Southern","SL-W":"Western Area","SM-02":"Chiesanuova","SM-04":"Faetano","SM-07":"Citta di San Marino","SM-09":"Serravalle","SN-DB":"Diourbel","SN-DK":"Dakar","SN-FK":"Fatick","SN-KA":"Kaffrine","SN-KD":"Kolda","SN-KE":"Kedougou","SN-KL":"Kaolack","SN-LG":"Louga","SN-MT":"Matam","SN-SE":"Sedhiou","SN-SL":"Saint-Louis","SN-TC":"Tambacounda","SN-TH":"Thies","SN-ZG":"Ziguinchor","SO-AW":"Awdal","SO-BN":"Banaadir","SO-BR":"Bari","SO-BY":"Bay","SO-GA":"Galguduud","SO-HI":"Hiiraan","SO-JH":"Jubbada Hoose","SO-MU":"Mudug","SO-NU":"Nugaal","SO-SA":"Sanaag","SO-SH":"Shabeellaha Hoose","SO-SO":"Sool","SO-TO":"Togdheer","SO-WO":"Woqooyi Galbeed","SR-BR":"Brokopondo","SR-CM":"Commewijne","SR-CR":"Coronie","SR-NI":"Nickerie","SR-PM":"Paramaribo","SR-SA":"Saramacca","SR-SI":"Sipaliwini","SR-WA":"Wanica","SS-BN":"Northern Bahr el Ghazal","SS-EC":"Central Equatoria","SS-EE":"Eastern Equatoria","SS-EW":"Western Equatoria","SS-NU":"Upper Nile","SS-UY":"Unity","ST-01":"Agua Grande","SV-AH":"Ahuachapan","SV-CA":"Cabanas","SV-CH":"Chalatenango","SV-CU":"Cuscatlan","SV-LI":"La Libertad","SV-MO":"Morazan","SV-PA":"La Paz","SV-SA":"Santa Ana","SV-SM":"San Miguel","SV-SO":"Sonsonate","SV-SS":"San Salvador","SV-SV":"San Vicente","SV-UN":"La Union","SV-US":"Usulutan","SY-DI":"Dimashq","SY-DR":"Dar\'a","SY-DY":"Dayr az Zawr","SY-HA":"Al Hasakah","SY-HI":"Hims","SY-HL":"Halab","SY-HM":"Hamah","SY-LA":"Al Ladhiqiyah","SY-QU":"Al Qunaytirah","SY-RA":"Ar Raqqah","SY-RD":"Rif Dimashq","SY-SU":"As Suw
3ayda\'","SY-TA":"Tartus","SZ-HH":"Hhohho","SZ-LU":"Lubombo","SZ-MA":"Manzini","SZ-SH":"Shiselweni","TD-BG":"Bahr el Ghazal","TD-CB":"Chari-Baguirmi","TD-LC":"Lac","TD-ND":"Ville de Ndjamena","TD-OD":"Ouaddai","TD-SI":"Sila","TG-C":"Centrale","TG-K":"Kara","TG-M":"Maritime","TG-P":"Plateaux","TG-S":"Savanes","TH-10":"Krung Thep Maha Nakhon","TH-11":"Samut Prakan","TH-12":"Nonthaburi","TH-13":"Pathum Thani","TH-14":"Phra Nakhon Si Ayutthaya","TH-15":"Ang Thong","TH-16":"Lop Buri","TH-17":"Sing Buri","TH-18":"Chai Nat","TH-19":"Saraburi","TH-20":"Chon Buri","TH-21":"Rayong","TH-22":"Chanthaburi","TH-23":"Trat","TH-24":"Chachoengsao","TH-25":"Prachin Buri","TH-26":"Nakhon Nayok","TH-27":"Sa Kaeo","TH-30":"Nakhon Ratchasima","TH-31":"Buri Ram","TH-32":"Surin","TH-33":"Si Sa Ket","TH-34":"Ubon Ratchathani","TH-35":"Yasothon","TH-36":"Chaiyaphum","TH-37":"Amnat Charoen","TH-38":"Bueng Kan","TH-39":"Nong Bua Lam Phu","TH-40":"Khon Kaen","TH-41":"Udon Thani","TH-42":"Loei","TH-43":"Nong Khai","TH-44":"Maha Sarakham","TH-45":"Roi Et","TH-46":"Kalasin","TH-47":"Sakon Nakhon","TH-48":"Nakhon Phanom","TH-49":"Mukdahan","TH-50":"Chiang Mai","TH-51":"Lamphun","TH-52":"Lampang","TH-53":"Uttaradit","TH-54":"Phrae","TH-55":"Nan","TH-56":"Phayao","TH-57":"Chiang Rai","TH-58":"Mae Hong Son","TH-60":"Nakhon Sawan","TH-61":"Uthai Thani","TH-62":"Kamphaeng Phet","TH-63":"Tak","TH-64":"Sukhothai","TH-65":"Phitsanulok","TH-66":"Phichit","TH-67":"Phetchabun","TH-70":"Ratchaburi","TH-71":"Kanchanaburi","TH-72":"Suphan Buri","TH-73":"Nakhon Pathom","TH-74":"Samut Sakhon","TH-75":"Samut Songkhram","TH-76":"Phetchaburi","TH-77":"Prachuap Khiri Khan","TH-80":"Nakhon Si Thammarat","TH-81":"Krabi","TH-82":"Phangnga","TH-83":"Phuket","TH-84":"Surat Thani","TH-85":"Ranong","TH-86":"Chumphon","TH-90":"Songkhla","TH-91":"Satun","TH-92":"Trang","TH-93":"Phatthalung","TH-94":"Pattani","TH-95":"Yala","TH-96":"Narathiwat","TJ-DU":"Dushanbe","TJ-GB":"Kuhistoni Badakhshon","TJ-KT":"Khatlon","TJ-RA":"Nohiyahoi Tobei Jumhuri","TJ-SU":"Sughd","TL-AN":"Ainaro","TL-CO":"Cova Lima","TL-DI":"Dili","TL-LI":"Liquica","TM-A":"Ahal","TM-B":"Balkan","TM-D":"Dasoguz","TM-L":"Lebap","TM-M":"Mary","TN-11":"Tunis","TN-12":"L\'Ariana","TN-13":"Ben Arous","TN-14":"La Manouba","TN-21":"Nabeul","TN-22":"Zaghouan","TN-23":"Bizerte","TN-31":"Beja","TN-32":"Jendouba","TN-33":"Le Kef","TN-34":"Siliana","TN-41":"Kairouan","TN-42":"Kasserine","TN-43":"Sidi Bouzid","TN-51":"Sousse","TN-52":"Monastir","TN-53":"Mahdia","TN-61":"Sfax","TN-71":"Gafsa","TN-72":"Tozeur","TN-73":"Kebili","TN-81":"Gabes","TN-82":"Medenine","TN-83":"Tataouine","TO-01":"\'Eua","TO-02":"Ha\'apai","TO-03":"Niuas","TO-04":"Tongatapu","TO-05":"Vava\'u","TR-01":"Adana","TR-02":"Adiyaman","TR-03":"Afyonkarahisar","TR-04":"Agri","TR-05":"Amasya","TR-06":"Ankara","TR-07":"Antalya","TR-08":"Artvin","TR-09":"Aydin","TR-10":"Balikesir","TR-11":"Bilecik","TR-12":"Bingol","TR-13":"Bitlis","TR-14":"Bolu","TR-15":"Burdur","TR-16":"Bursa","TR-17":"Canakkale","TR-18":"Cankiri","TR-19":"Corum","TR-20":"Denizli","TR-21":"Diyarbakir","TR-22":"Edirne","TR-23":"Elazig","TR-24":"Erzincan","TR-25":"Erzurum","TR-26":"Eskisehir","TR-27":"Gaziantep","TR-28":"Giresun","TR-29":"Gumushane","TR-30":"Hakkari","TR-31":"Hatay","TR-32":"Isparta","TR-33":"Mersin","TR-34":"Istanbul","TR-35":"Izmir","TR-36":"Kars","TR-37":"Kastamonu","TR-38":"Kayseri","TR-39":"Kirklareli","TR-40":"Kirsehir","TR-41":"Kocaeli","TR-42":"Konya","TR-43":"Kutahya","TR-44":"Malatya","TR-45":"Manisa","TR-46":"Kahramanmaras","TR-47":"Mardin","TR-48":"Mugla","TR-49":"Mus","TR-50":"Nevsehir","TR-51":"Nigde","TR-52":"Ordu","TR-53":"Rize","TR-54":"Sakarya","TR-55":"Samsun","TR-56":"Siirt","TR-57":"Sinop","TR-58":"Sivas","TR-59":"Tekirdag","TR-60":"Tokat","TR-61":"Trabzon","TR-62":"Tunceli","TR-63":"Sanliurfa","TR-64":"Usak","TR-65":"Van","TR-66":"Yozgat","TR-67":"Zonguldak","TR-68":"Aksaray","TR-69":"Bayburt","TR-70":"Karaman","TR-71":"Kirikkale","TR-72":"Batman","TR-73":"Sirnak","TR-74":"Bartin","TR-75":"Ardahan","TR-76":"Igdir","TR-77":"Yalova","TR-78":"Karabuk","TR-79":"Kilis","TR-80":"Osmaniye","TR-81":"Duzce","TT-ARI":"Arima","TT-CHA":"Chaguanas","TT-CTT":"Couva-Tabaquite-Talparo","TT-
3DMN":"Diego Martin","TT-MRC":"Mayaro-Rio Claro","TT-PED":"Penal-Debe","TT-POS":"Port of Spain","TT-PRT":"Princes Town","TT-PTF":"Point Fortin","TT-SFO":"San Fernando","TT-SGE":"Sangre Grande","TT-SIP":"Siparia","TT-SJL":"San Juan-Laventille","TT-TOB":"Tobago","TT-TUP":"Tunapuna-Piarco","TV-FUN":"Funafuti","TW-CHA":"Changhua","TW-CYQ":"Chiayi","TW-HSQ":"Hsinchu","TW-HUA":"Hualien","TW-ILA":"Yilan","TW-KEE":"Keelung","TW-KHH":"Kaohsiung","TW-KIN":"Kinmen","TW-LIE":"Lienchiang","TW-MIA":"Miaoli","TW-NAN":"Nantou","TW-NWT":"New Taipei","TW-PEN":"Penghu","TW-PIF":"Pingtung","TW-TAO":"Taoyuan","TW-TNN":"Tainan","TW-TPE":"Taipei","TW-TTT":"Taitung","TW-TXG":"Taichung","TW-YUN":"Yunlin","TZ-01":"Arusha","TZ-02":"Dar es Salaam","TZ-03":"Dodoma","TZ-04":"Iringa","TZ-05":"Kagera","TZ-06":"Kaskazini Pemba","TZ-07":"Kaskazini Unguja","TZ-08":"Kigoma","TZ-09":"Kilimanjaro","TZ-10":"Kusini Pemba","TZ-11":"Kusini Unguja","TZ-12":"Lindi","TZ-13":"Mara","TZ-14":"Mbeya","TZ-15":"Mjini Magharibi","TZ-16":"Morogoro","TZ-17":"Mtwara","TZ-18":"Mwanza","TZ-19":"Pwani","TZ-20":"Rukwa","TZ-21":"Ruvuma","TZ-22":"Shinyanga","TZ-23":"Singida","TZ-24":"Tabora","TZ-25":"Tanga","TZ-26":"Manyara","TZ-27":"Geita","TZ-28":"Katavi","TZ-29":"Njombe","TZ-30":"Simiyu","TZ-31":"Songwe","UA-05":"Vinnytska oblast","UA-07":"Volynska oblast","UA-09":"Luhanska oblast","UA-12":"Dnipropetrovska oblast","UA-14":"Donetska oblast","UA-18":"Zhytomyrska oblast","UA-21":"Zakarpatska oblast","UA-23":"Zaporizka oblast","UA-26":"Ivano-Frankivska oblast","UA-30":"Kyiv","UA-32":"Kyivska oblast","UA-35":"Kirovohradska oblast","UA-40":"Sevastopol","UA-43":"Avtonomna Respublika Krym","UA-46":"Lvivska oblast","UA-48":"Mykolaivska oblast","UA-51":"Odeska oblast","UA-53":"Poltavska oblast","UA-56":"Rivnenska oblast","UA-59":"Sumska oblast","UA-61":"Ternopilska oblast","UA-63":"Kharkivska oblast","UA-65":"Khersonska oblast","UA-68":"Khmelnytska oblast","UA-71":"Cherkaska oblast","UA-74":"Chernihivska oblast","UA-77":"Chernivetska oblast","UG-101":"Kalangala","UG-102":"Kampala","UG-103":"Kiboga","UG-104":"Luwero","UG-105":"Masaka","UG-106":"Mpigi","UG-107":"Mubende","UG-108":"Mukono","UG-109":"Nakasongola","UG-110":"Rakai","UG-111":"Sembabule","UG-112":"Kayunga","UG-113":"Wakiso","UG-114":"Lyantonde","UG-115":"Mityana","UG-116":"Nakaseke","UG-117":"Buikwe","UG-118":"Bukomansibi","UG-120":"Buvuma","UG-121":"Gomba","UG-122":"Kalungu","UG-123":"Kyankwanzi","UG-124":"Lwengo","UG-201":"Bugiri","UG-202":"Busia","UG-203":"Iganga","UG-204":"Jinja","UG-205":"Kamuli","UG-206":"Kapchorwa","UG-207":"Katakwi","UG-208":"Kumi","UG-209":"Mbale","UG-211":"Soroti","UG-212":"Tororo","UG-213":"Kaberamaido","UG-214":"Mayuge","UG-215":"Sironko","UG-218":"Bududa","UG-219":"Bukedea","UG-222":"Kaliro","UG-223":"Manafwa","UG-224":"Namutumba","UG-225":"Bulambuli","UG-226":"Buyende","UG-227":"Kibuku","UG-228":"Kween","UG-229":"Luuka","UG-230":"Namayingo","UG-301":"Adjumani","UG-302":"Apac","UG-303":"Arua","UG-304":"Gulu","UG-305":"Kitgum","UG-307":"Lira","UG-308":"Moroto","UG-309":"Moyo","UG-310":"Nebbi","UG-311":"Nakapiripirit","UG-312":"Pader","UG-313":"Yumbe","UG-314":"Abim","UG-318":"Kaabong","UG-319":"Koboko","UG-320":"Maracha","UG-321":"Oyam","UG-322":"Agago","UG-323":"Alebtong","UG-325":"Kole","UG-326":"Lamwo","UG-327":"Napak","UG-328":"Nwoya","UG-330":"Zombo","UG-401":"Bundibugyo","UG-402":"Bushenyi","UG-403":"Hoima","UG-404":"Kabale","UG-405":"Kabarole","UG-406":"Kasese","UG-407":"Kibaale","UG-408":"Kisoro","UG-409":"Masindi","UG-410":"Mbarara","UG-411":"Ntungamo","UG-412":"Rukungiri","UG-413":"Kamwenge","UG-414":"Kanungu","UG-415":"Kyenjojo","UG-417":"Ibanda","UG-418":"Isingiro","UG-419":"Kiruhura","UG-420":"Buhweju","UG-421":"Kiryandongo","UG-422":"Kyegegwa","UG-423":"Mitooma","UG-424":"Ntoroko","UG-425":"Rubirizi","UG-426":"Sheema","UM-95":"Palmyra Atoll","US-AK":"Alaska","US-AL":"Alabama","US-AR":"Arkansas","US-AZ":"Arizona","US-CA":"California","US-CO":"Colorado","US-CT":"Connecticut","US-DC":"District of Columbia","US-DE":"Delaware","US-FL":"Florida","US-GA":"Georgia","US-HI":"Hawaii","US-IA":"Iowa","US-ID":"Idaho","US-IL":"Illinois","US-IN":"Indiana","US-KS":"Kansas","US-KY":"Kentucky","US-LA":"Louisiana","US-MA":"Massachusetts","US-MD":"Maryland","US-ME":"Maine","US-MI":"Michigan","US-MN":"Minnesota","US-MO":"Missouri","US-MS":"Mississippi","US-MT":"Montana","US-NC":"North Carolina","US-ND":"North Dakota","US-NE":"Nebraska","US-NH":"New Hampshire","US-NJ":"New Jersey","US-NM":"New Mexico","US-NV":"Nevada","US-NY":"New York","US-OH":"Ohio","US-OK":"Oklahoma","US-OR":"Oregon","US-PA":"Pennsylvania","US-RI":"Rhode Island","US-SC":"South Carolina","US-SD":"South Dakota","US-TN":"Tennessee","US-TX":"Texas","US-UT":"Utah","US-VA":"Virginia","US-VT":"Vermont","US-WA":"Washington","US-WI":"Wisconsin","US-WV":"West Virginia","US-WY":"Wyoming","UY-AR":"Artigas","UY-CA":"Canelones","UY-CL":"Cerro Largo","UY-CO":"Colonia","UY-DU":"Durazno","UY-FD":"Florida","UY-FS":"Flores","UY-LA":"Lavalleja","UY-MA":"Maldonado","UY-MO":"Montevideo","UY-PA":"Paysandu","UY-RN":"Rio Negro","UY-RO":"Rocha","UY-RV":"Rivera","UY-SA":"Salto","UY-SJ":"San Jose","UY-SO":"Soriano","UY-TA":"Tacuarembo","UY-TT":"Treinta y Tres","UZ-AN":"Andijon","UZ-BU":"Buxoro","UZ-FA":"Farg\'ona","UZ-JI":"Jizzax","UZ-NG":"Namangan","UZ-NW":"Navoiy","UZ-QA":"Qashqadaryo","UZ-QR":"Qoraqalpog\'iston Respublikasi","UZ-SA":"Samarqand","UZ-SI":"Sirdaryo","UZ-SU":"Surxondaryo","UZ-TK":"Toshkent","UZ-XO":"Xorazm","VC-01":"Charlotte","VC-04":"Saint George","VC-05":"Saint Patrick","VC-06":"Grenadines","VE-A":"Distrito Capital","VE-B":"Anzoategui","VE-C":"Apure","VE-D":"Aragua","VE-E":"Barinas","VE-F":"Bolivar","VE-G":"Carabobo","VE-H":"Cojedes","VE-I":"Falcon","VE-J":"Guarico","VE-K":"Lara","VE-L":"Merida","VE-M":"Miranda","VE-N":"Monagas","VE-O":"Nueva Esparta","VE-P":"Portuguesa","VE-R":"Sucre","VE-S":"Tachira","VE-T":"Trujillo","VE-U":"Yaracuy","VE-V":"Zulia","VE-W":"Dependencias Federales","VE-X":"La Guaira","VE-Y":"Delta Amacuro","VE-Z":"Amazonas","VN-01":"Lai Chau","VN-02":"Lao Cai","VN-03":"Ha Giang","VN-04":"Cao Bang","VN-05":"Son La","VN-06":"Yen Bai","VN-07":"Tuyen Quang","VN-09":"Lang Son","VN-13":"Quang Ninh","VN-14":"Hoa Binh","VN-18":"Ninh Binh","VN-20":"Thai Binh","VN-21":"Thanh Hoa","VN-22":"Nghe An","VN-23":"Ha Tinh","VN-24":"Quang Binh","VN-25":"Quang Tri","VN-26":"Thua Thien-Hue","VN-27":"Quang Nam","VN-28":"Kon Tum","VN-29":"Quang Ngai","VN-30":"Gia Lai","VN-31":"Binh Din
3h","VN-32":"Phu Yen","VN-33":"Dak Lak","VN-34":"Khanh Hoa","VN-35":"Lam Dong","VN-36":"Ninh Thuan","VN-37":"Tay Ninh","VN-39":"Dong Nai","VN-40":"Binh Thuan","VN-41":"Long An","VN-43":"Ba Ria - Vung Tau","VN-44":"An Giang","VN-45":"Dong Thap","VN-46":"Tien Giang","VN-47":"Kien Giang","VN-49":"Vinh Long","VN-50":"Ben Tre","VN-51":"Tra Vinh","VN-52":"Soc Trang","VN-53":"Bac Kan","VN-54":"Bac Giang","VN-55":"Bac Lieu","VN-56":"Bac Ninh","VN-57":"Binh Duong","VN-58":"Binh Phuoc","VN-59":"Ca Mau","VN-61":"Hai Duong","VN-63":"Ha Nam","VN-66":"Hung Yen","VN-67":"Nam Dinh","VN-68":"Phu Tho","VN-69":"Thai Nguyen","VN-70":"Vinh Phuc","VN-71":"Dien Bien","VN-72":"Dak Nong","VN-73":"Hau Giang","VN-CT":"Can Tho","VN-DN":"Da Nang","VN-HN":"Ha Noi","VN-HP":"Hai Phong","VN-SG":"Ho Chi Minh","VU-SEE":"Shefa","VU-TAE":"Tafea","VU-TOB":"Torba","WF-SG":"Sigave","WF-UV":"Uvea","WS-AT":"Atua","WS-FA":"Fa\'asaleleaga","WS-GI":"Gagaifomauga","WS-TU":"Tuamasaga","YE-AD":"\'Adan","YE-AM":"\'Amran","YE-BA":"Al Bayda\'","YE-DA":"Ad Dali\'","YE-DH":"Dhamar","YE-HD":"Hadramawt","YE-HJ":"Hajjah","YE-HU":"Al Hudaydah","YE-IB":"Ibb","YE-JA":"Al Jawf","YE-LA":"Lahij","YE-MA":"Ma\'rib","YE-MW":"Al Mahwit","YE-SA":"Amanat al \'Asimah","YE-SD":"Sa\'dah","YE-SH":"Shabwah","YE-SN":"San\'a\'","YE-TA":"Ta\'izz","ZA-EC":"Eastern Cape","ZA-FS":"Free State","ZA-GP":"Gauteng","ZA-KZN":"Kwazulu-Natal","ZA-LP":"Limpopo","ZA-MP":"Mpumalanga","ZA-NC":"Northern Cape","ZA-NW":"North-West","ZA-WC":"Western Cape","ZM-01":"Western","ZM-02":"Central","ZM-03":"Eastern","ZM-04":"Luapula","ZM-05":"Northern","ZM-06":"North-Western","ZM-07":"Southern","ZM-08":"Copperbelt","ZM-09":"Lusaka","ZM-10":"Muchinga","ZW-BU":"Bulawayo","ZW-HA":"Harare","ZW-MA":"Manicaland","ZW-MC":"Mashonaland Central","ZW-ME":"Mashonaland East","ZW-MI":"Midlands","ZW-MN":"Matabeleland North","ZW-MS":"Matabeleland South","ZW-MV":"Masvingo","ZW-MW":"Mashonaland West"}')},77153,837972,931339,706031,e=>{"use strict";e.s(["BoardContext",()=>ed,"BoardProvider",()=>em],77153);var t=e.i(361560),i=e.i(949381),a=e.i(866988),n=e.i(835917);e.i(685521);var r=e.i(999579),o=e.i(223351),s=e.i(939850),l=e.i(666369),u=e.i(641371),d=e.i(59764);e.s(["getComponentDefinition",()=>eu,"getComponentDefinitions",()=>el],706031);var h=e.i(278795),c=e.i(622199),m=e.i(80740),f=e.i(374515),p=e.i(546414),g=e.i(327699),b=e.i(46046),v=e.i(260539),y=e.i(428848),w=e.i(509296),M=e.i(477129),x=e.i(368190),k=e.i(906315),S=e.i(447963),P=e.i(393604),T=e.i(649799),A=e.i(381833),C=e.i(200042),E=e.i(406991),L=e.i(702938),R=e.i(197930),F=e.i(345568),j=e.i(789464),D=e.i(323874),N=e.i(124112),I=e.i(837450),_=e.i(308002),B=e.i(572012);e.s(["WeeklyTraffic",()=>K],837972);var O=e.i(731896),W=e.i(132818),z=e.i(658828),H=e.i(669712),G=e.i(108761),U=e.i(892089),V=e.i(227465);function K({websiteId:e}){let{data:n,isLoading:r,error:s}=(0,U.useWeeklyTrafficQuery)(e),{dateLocale:l}=(0,G.useLocale)(),{labels:u,t:d}=(0,o.useMessages)(),{weekStartsOn:h}=l.options,c=Array(7).fill(h).map((e,t)=>(e+t)%7),[,m=1]=n?n.reduce((e,t,i)=>{let a=Math.min(...t),n=Math.max(...t);return 0===i?[a,n]:(a<e[0]&&(e[0]=a),n>e[1]&&(e[1]=n),e)},[]):[];return(0,t.jsx)(H.LoadingPanel,{data:n,isLoading:r,error:s,children:(0,t.jsx)(i.Grid,{columns:"repeat(8, 1fr)",gap:!0,children:n&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Row,{children:" "}),c.map(e=>(0,t.jsx)(i.Row,{alignItems:"center",justifyContent:"center",children:(0,t.jsx)(i.Text,{weight:"bold",align:"center",children:(0,W.format)((0,V.getDayOfWeekAsDate)(e),"EEE",{locale:l})})},e)),(0,t.jsx)(i.Grid,{rows:"repeat(24, 16px)",gap:"1",children:Array(24).fill(null).map((e,a)=>{let n=(0,W.format)((0,O.addHours)((0,z.startOfDay)(new Date),a),"haaa",{locale:l});return(0,t.jsx)(i.Row,{justifyContent:"flex-end",children:(0,t.jsx)(i.Text,{color:"muted",size:"sm",children:n})},a)})}),c.map(e=>{let r=n[e];return(0,t.jsx)(i.Grid,{rows:"repeat(24, 16px)",justifyContent:"center",alignItems:"center",gap:"1",children:r?.map((e,n)=>{let r=m?e/m:0,o=(0,t.jsx)(i.Row,{tabIndex:0,alignItems:"center",justifyContent:"center",backgroundColor:"surface-raised",width:"16px",height:"16px",borderRadius:"full",style:{margin:"0 auto"},role:"button",children:(0,t.jsx)(i.Row,{backgroundColor:"primary",width:"16px",height:"16px",borderRadius:"full",style:{opacity:r,transform:`scale(${r})`}})});return e<=0?(0,t.jsx)(a.Fragment,{children:o},n):(0,t.jsxs)(i.TooltipTrigger,{delay:0,children:[o,(0,t.jsx)(i.Tooltip,{placement:"right",style:{backgroundColor:"rgba(0,0,0,0.8)",color:"white"},children:(0,t.jsx)(i.Text,{size:"base",children:`${d(u.visitors)}: ${e}`})})]},n)})},e)})]})})})}e.s(["WorldMap",()=>et],931339);var q=e.i(992355),Y=e.i(954839),X=e.i(12723),$=e.i(918349),Z=e.i(260957),Q=e.i(685149),J=e.i(928695),ee=e.i(175379);function et({websiteId:e,data:n,...r}){let[s,l]=(0,a.useState)(),{theme:u}=(0,i.useTheme)(),{colors:d}=(0,Z.getThemeColors)(u),{locale:h}=(0,G.useLocale)(),{t:c,labels:m}=(0,o.useMessages)(),{countryNames:f}=(0,X.useCountryNames)(h),p=c(m.visitors).toLocaleLowerCase(h),g=c(m.unknown),{data:b}=(0,$.useWebsiteMetricsQuery)(e,{type:"country"}),v=(0,a.useMemo)(()=>n||b?(0,J.percentFilter)(n||b):[],[n,b]);return(0,t.jsxs)(i.Column,{...r,"data-tip":"","data-for":"world-map-tooltip",style:{margin:"auto 0",overflow:"hidden"},children:[(0,t.jsx)(Y.ComposableMap,{projection:"geoMercator",children:(0,t.jsx)(Y.ZoomableGroup,{zoom:.8,minZoom:.7,center:[0,40],children:(0,t.jsx)(Y.Geographies,{geography:`${Q.MAP_FILE}`,children:({geographies:e})=>e.map(e=>{let i=Q.ISO_COUNTRIES[e.id];return(0,t.jsx)(Y.Geography,{geography:e,fill:(e=>{if("AQ"===e)return;let t=v?.find(({x:t})=>t===e);return t?(0,q.colord)(d.map.baseColor)["light"===u?"lighten":"darken"](.4*(1-t.z/100)).toHex():d.map.fillColor})(i),stroke:d.map.strokeColor,opacity:+("AQ"!==i),style:{default:{outline:"none"},hover:{outline:"none",fill:d.map.hoverColor},pressed:{outline:"none"}},onMouseOver:()=>(e=>{if("AQ"===e)return;let t=v?.find(({x:t})=>t===e);l(`${f[e]||g}: ${(0,ee.formatLongNumber)(t?.y||0)} ${p}`)})(i),onMouseOut:()=>l(null)},e.rsmKey)})})})}),s&&(0,t.jsx)(i.FloatingTooltip,{children:(0,t.jsx)(i.Box,{style:{backgroundColor:"rgba(0,0,0,0.8)",color:"white"},padding:!0,borderRadius:"md",children:s})})]})}let ei=[{label:"Path",value:"path"},{label:"URL",value:"fullPath"},{label:"Entry page",value:"entry"},{label:"Exit page",value:"exit"},{label:"Title",value:"title"},{label:"Query",value:"query"},{label:"Referrer",value:"referrer"},{label:"Channel",value:"channel"},{label:"Country",value:"country"},{label:"Region",value:"region"},{label:"City",value:"city"},{label:"Browser",value:"browser"},{label:"OS",value:"os"},{label:"Device",value:"device"},{label:"Language",value:"language"},{label:"Screen",value:"screen"},{label:"UTM Source",value:"utmSource"},{label:"UTM Medium",value:"utmMedium"},{label:"UTM Campaign",value:"utmCampaign"},{label:"UTM Content",value:"utmContent"},{label:"UTM Term",value:"utmTerm"},{label:"Event",value:"event"},{label:"Hostname",value:"hostname"}],ea=ei.filter(({value:e})=>["referrer","channel","browser","os","device","country","region","city"].includes(e)),en=[{label:"5",value:"5"},{label:"10",value:"10"},{label:"20",value:"20"}],er=Q.CURRENCIES.map(({id:e,name:t})=>({label:`${e} - ${t}`,value:e})),eo=[{type:"WebsiteMetricsBar",name:"Metrics bar",description:"Key metrics: views, visitors, bounces, time on site",category:"overview",group:"Traffic",icon:j.PanelTop,component:P.WebsiteMetricsBar,componentByEntityType:{pixel:({websiteId:e})=>e?(0,t.jsx)(f.PixelMetricsBar,{pixelId:e}):null,link:({websiteId:e})=>e?(0,t.jsx)(m.LinkMetricsBar,{linkId:e}):null}},{type:"EventsMetricsBar",name:"Event metrics bar",description:"Key metrics: visitors, visits, events, unique events",category:"overview",group:"Events",icon:j.PanelTop,component:w.EventsMetricsBar},{type:"Goal",name:"Goal",description:"Conversion progress for a saved goal",category:"overview",group:"Behavior",icon:N.Target,component:p.BoardGoal,configFields:[{name:"reportId",label:"Saved goal",type:"report",reportType:"goal",required:!0}]},{type:"Funnel",name:"Funnel",description:"Step conversion for a saved funnel",category:"overview",group:"Behavior",icon:R.GitBranch,component:c.BoardFunnel,configFields:[{name:"reportId",label:"Saved funnel",type:"report",reportType:"funnel",required:!0}]},{type:"WebsiteChart",name:"Visitors chart",description:"Page views and visitors over time",category:"overview",group:"Traffic",icon:C.ChartColumnBig,component:S.WebsiteChart},{type:"UTM",name:"UTM",description:"List and pie chart for one UTM parameter",category:"visualization",group:"Growth",icon:E.ChartPie,component:y.BoardUTM,defaultProps:{param:"utm_source",limit:10},configFields:[{name:"param",label:"UTM param",type:"select",options:[{label:"Source",value:"utm_source"},{label:"Medium",value:"utm_medium"},{label:"Campaign",value:"utm_campaign"},{label:"Content",value:"utm_content"},{label:"Term",value:"utm_term"}],defaultValue:"utm_source"},{name:"limit",label:"Rows",type:"select",options:en,defaultValue:"10"}]},{type:"RealtimeHeader",name:"Realtime metrics bar",description:"Live views, visitors, events, and countries",category:"overview",group:"Realtime",icon:j.PanelTop,component:k.BoardRealtimeMetricsBar},{type:"RealtimeChart",name:"Realtime chart",description:"Live visitors and page views by minute",category:"visualization",group:"Realtime",icon:T.Activity,component:x.BoardRealtimeChart},{type:"RealtimeActiveUsers",name:"Active users",description:"Current visitors online",category:"overview",group:"Realtime",icon:I.Users,component:M.BoardRealtimeActiveUsers},{type:"RevenueMetricsBar",name:"Revenue metrics bar",description:"Revenue summary: total, AOV, ARPU, orders, and customers",category:"overview",group:"Revenue",icon:j.PanelTop,component:b.BoardRevenueMetricsBar,defaultProps:{currency:Q.DEFAULT_CURRENCY},configFields:[{name:"currency",label:"Currency",type:"select",options:er,defaultValue:Q.DEFAULT_CURRENCY}]},{type:"RevenueChart",name:"Revenue chart",description:"Revenue over time",category:"visualization",group:"Revenue",icon:C.ChartColumnBig,component:g.BoardRevenueChart,defaultProps:{currency:Q.DEFAULT_CURRENCY},configFields:[{name:"currency",label:"Currency",type:"select",options:er,defaultValue:Q.DEFAULT_CURRENCY}]},{type:"RevenueMetricsTable",name:"Revenue metrics table",description:"Revenue breakdown by source or location",category:"tables",group:"Revenue",icon:D.Sheet,component:v.BoardRevenueMetricsTable,defaultProps:{type:"referrer",currency:Q.DEFAULT_CURRENCY},configFields:[{name:"type",label:"Metric type",type:"select",options:[{label:"Referrers",value:"referrer"},{label:"Channels",value:"channel"},{label:"Countries",value:"country"},{label:"Regions",value:"region"}],defaultValue:"referrer"},{name:"currency",label:"Currency",type:"select",options:er,defaultValue:Q.DEFAULT_CURRENCY}]},{type:"MetricsTable",name:"Metrics table",description:"Table of metrics by dimension",category:"tables",group:"Traffic",icon:D.Sheet,component:B.MetricsTable,defaultProps:{type:"path",limit:10},configFields:[{name:"type",label:"Metric type",type:"select",options:ei,optionsByEntityType:{pixel:ea,link:ea},defaultValue:"path"},{name:"limit",label:"Rows",type:"select",options:en,defaultValue:"10"}]},{type:"WorldMap",name:"World map",description:"Geographic distribution of visitors",category:"visualization",group:"Traffic",icon:F.Globe,component:et},{type:"WeeklyTraffic",name:"Weekly traffic",description:"Traffic heatmap by day and hour",category:"visualization",group:"Traffic",icon:A.Calendar,component:K},{type:"EventsChart",name:"Events chart",description:"Custom events over time",category:"visualization",group:"Events",icon:E.ChartPie,component:_.EventsChart},{type:"TextBlock",name:"Text",description:"Free-form text content",category:"content",group:"Content",icon:L.FileText,component:h.TextBlock,requiresWebsite:!1,defaultProps:{text:""},configFields:[{name:"text",label:"Text",type:"textarea",defaultValue:""}]}],es=new Map(eo.map(e=>[e.type,e]));function el(){return eo}function eu(e){return es.get(e)}let ed=(0,a.createContext)(null),eh=()=>({type:d.BOARD_TYPES.mixed,name:"",description:"",parameters:{rows:[{id:(0,n.v4)(),columns:[{id:(0,n.v4)(),component:null}]}]}});function ec(e){return e?.rows?{...e,rows:e.rows.map(e=>({...e,columns:e.columns.map(e=>e.component&&!eu(e.component.type)?{...e,component:null}:e)}))}:e}function em({boardId:e,editing:n=!1,children:h}){let{data:c,isFetching:m,isLoading:f}=(0,u.useBoardQuery)(e),{post:p,useMutation:g}=(0,r.useApi)(),{touch:b}=(0,s.useModified)(),{toast:v}=(0,i.useToast)(),{t:y,labels:w,messages:M}=(0,o.useMessages)(),{router:x,renderUrl:k,teamId:S}=(0,l.useNavigation)(),[P,T]=(0,a.useState)(c??eh()),A=(0,a.useRef)(c??eh()),C=(0,a.useRef)(null),E=(0,a.useCallback)(e=>{C.current=e},[]);(0,a.useEffect)(()=>
3{if(c){let e={...c,type:(0,d.getBoardType)(c,{coerceDashboard:!0}),parameters:ec(c.parameters)};A.current=e,T(e)}},[c]);let{mutateAsync:L,isPending:R}=g({mutationFn:e=>e.id?p(`/boards/${e.id}`,e):p("/boards",{...e,type:e.type||d.BOARD_TYPES.mixed,slug:"",teamId:S})}),F=(0,a.useCallback)(e=>{T(t=>{let i={...t,...e};return A.current=i,i})},[]),j=(0,a.useCallback)(async()=>{let e=A.current,t=y(w.untitled),i=C.current?.(),a=ec(i?{...e.parameters,...i}:e.parameters),n=await L({...e,name:e.name||t,parameters:a});return v(y(M.saved)),b("boards"),e.id?b(`board:${e.id}`):n?.id&&x.push(k(`/boards/${n.id}`)),n},[L,v,y,w.untitled,M.saved,b,x,k]);return e&&m&&f?(0,t.jsx)(i.Loading,{placement:"absolute"}):(0,t.jsx)(ed.Provider,{value:{board:P,editing:n,updateBoard:F,saveBoard:j,isPending:R,registerLayoutGetter:E},children:h})}},80740,956601,378480,476280,173568,912285,374515,738098,390015,546414,e=>{"use strict";let t,i,a;e.s(["LinkMetricsBar",()=>rK],80740);var n,r=e.i(361560),o=e.i(669712);e.i(685521);var s=e.i(887632),l=e.i(223351),u=e.i(197888),d=e.i(949381),h=e.i(825730);function c(e,t){-1===e.indexOf(t)&&e.push(t)}function m(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}class f{constructor(){this.subscriptions=[]}add(e){return c(this.subscriptions,e),()=>m(this.subscriptions,e)}notify(e,t,i){let a=this.subscriptions.length;if(a)if(1===a)this.subscriptions[0](e,t,i);else for(let n=0;n<a;n++){let a=this.subscriptions[n];a&&a(e,t,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let p=(e,t)=>t?1e3/t*e:0,g={},b=e=>e,v=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function y(e,t){let i=!1,a=!0,n={delta:0,timestamp:0,isProcessing:!1},r=()=>i=!0,o=v.reduce((e,t)=>(e[t]=function(e){let t=new Set,i=new Set,a=!1,n=!1,r=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){r.has(t)&&(l.schedule(t),e()),t(o)}let l={schedule:(e,n=!1,o=!1)=>{let s=o&&a?t:i;return n&&r.add(e),s.add(e),e},cancel:e=>{i.delete(e),r.delete(e)},process:e=>{if(o=e,a){n=!0;return}a=!0;let r=t;t=i,i=r,t.forEach(s),t.clear(),a=!1,n&&(n=!1,l.process(e))}};return l}(r),e),{}),{setup:s,read:l,resolveKeyframes:u,preUpdate:d,update:h,preRender:c,render:m,postRender:f}=o,p=()=>{let r=g.useManualTiming,o=r?n.timestamp:performance.now();i=!1,r||(n.delta=a?1e3/60:Math.max(Math.min(o-n.timestamp,40),1)),n.timestamp=o,n.isProcessing=!0,s.process(n),l.process(n),u.process(n),d.process(n),h.process(n),c.process(n),m.process(n),f.process(n),n.isProcessing=!1,i&&t&&(a=!1,e(p))};return{schedule:v.reduce((t,r)=>{let s=o[r];return t[r]=(t,r=!1,o=!1)=>(!i&&(i=!0,a=!0,n.isProcessing||e(p)),s.schedule(t,r,o)),t},{}),cancel:e=>{for(let t=0;t<v.length;t++)o[v[t]].cancel(e)},state:n,steps:o}}let{schedule:w,cancel:M,state:x,steps:k}=y("u">typeof requestAnimationFrame?requestAnimationFrame:b,!0);function S(){t=void 0}let P={now:()=>(void 0===t&&P.set(x.isProcessing||g.useManualTiming?x.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(S)}},T={current:void 0};class A{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=P.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=P.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new f);let i=this.events[e].add(t);return"change"===e?()=>{i(),w.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return T.current&&T.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=P.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return p(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function C(e,t){return new A(e,t)}let E=(...e)=>e.reduce((e,t)=>
3i=>t(e(i))),L=(e,t,i)=>i>t?t:i<e?e:i,R=e=>1e3*e,F=()=>{},j=()=>{};h.default;let D=e=>t=>"string"==typeof t&&t.startsWith(e),N=D("--"),I=D("var(--"),_=e=>!!I(e)&&B.test(e.split("/*")[0].trim()),B=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function O(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let W={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},z={...W,transform:e=>L(0,1,e)},H={...W,default:1},G=e=>Math.round(1e5*e)/1e5,U=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,V=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,K=(e,t)=>i=>!!("string"==typeof i&&V.test(i)&&i.startsWith(e)||t&&null!=i&&Object.prototype.hasOwnProperty.call(i,t)),q=(e,t,i)=>a=>{if("string"!=typeof a)return a;let[n,r,o,s]=a.match(U);return{[e]:parseFloat(n),[t]:parseFloat(r),[i]:parseFloat(o),alpha:void 0!==s?parseFloat(s):1}},Y={...W,transform:e=>Math.round(L(0,255,e))},X={test:K("rgb","red"),parse:q("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:a=1})=>"rgba("+Y.transform(e)+", "+Y.transform(t)+", "+Y.transform(i)+", "+G(z.transform(a))+")"},$={test:K("#"),parse:function(e){let t="",i="",a="",n="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),a=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),a=e.substring(3,4),n=e.substring(4,5),t+=t,i+=i,a+=a,n+=n),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(a,16),alpha:n?parseInt(n,16)/255:1}},transform:X.transform},Z=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Q=Z("deg"),J=Z("%"),ee=Z("px"),et=Z("vh"),ei=Z("vw"),ea={...J,parse:e=>J.parse(e)/100,transform:e=>J.transform(100*e)},en={test:K("hsl","hue"),parse:q("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:a=1})=>"hsla("+Math.round(e)+", "+J.transform(G(t))+", "+J.transform(G(i))+", "+G(z.transform(a))+")"},er={test:e=>X.test(e)||$.test(e)||en.test(e),parse:e=>X.test(e)?X.parse(e):en.test(e)?en.parse(e):$.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?X.transform(e):en.transform(e),getAnimatableNone:e=>{let t=er.parse(e);return t.alpha=0,er.transform(t)}},eo=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,es="number",el="color",eu=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ed(e){let t=e.toString(),i=[],a={color:[],number:[],var:[]},n=[],r=0,o=t.replace(eu,e=>(er.test(e)?(a.color.push(r),n.push(el),i.push(er.parse(e))):e.startsWith("var(")?(a.var.push(r),n.push("var"),i.push(e)):(a.number.push(r),n.push(es),i.push(parseFloat(e))),++r,"${}")).split("${}");return{values:i,split:o,indexes:a,types:n}}function eh({split:e,types:t}){let i=e.length;return a=>{let n="";for(let r=0;r<i;r++)if(n+=e[r],void 0!==a[r]){let e=t[r];e===es?n+=G(a[r]):e===el?n+=er.transform(a[r]):n+=a[r]}return n}}let ec={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(U)?.length||0)+(e.match(eo)?.length||0)>0},parse:function(e){return ed(e).values},createTransformer:function(e){return eh(ed(e))},getAnimatableNone:function(e){let t=ed(e);return eh(t)(t.values.map((e,i)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:er.test(e)?er.getAnimatableNone(e):e)(e,t.split[i])))}};function em(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function ef(e,t){return i=>i>0?t:e}let ep=(e,t,i)=>e+(t-e)*i,eg=(e,t,i)=>{let a=e*e,n=i*(t*t-a)+a;return n<0?0:Math.sqrt(n)},eb=[$,X,en];function ev(e){let t=eb.find(t=>t.test(e));if(F(`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let i=t.parse(e);return t===en&&(i=function({hue:e,saturation:t,lightness:i,alpha:a}){e/=360,i/=100;let n=0,r=0,o=0;if(t/=100){let a=i<.5?i*(1+t):i+t-i*t,s=2*i-a;n=em(s,a,e+1/3),r=em(s,a,e),o=em(s,a,e-1/3)}else n=r=o=i;return{red:Math.round(255*n),green:Math.round(255*r),blue:Math.round(255*o),alpha:a}}(i)),i}let ey=(e,t)=>{let i=ev(e),a=ev(t);if(!i||!a)return ef(e,t);let n={...i};return e=>(n.red=eg(i.red,a.red,e),n.green=eg(i.green,a.green,e),n.blue=eg(i.blue,a.blue,e),n.alpha=ep(i.alpha,a.alpha,e),X.transform(n))},ew=new Set(["none","hidden"]);function eM(e,t){return i=>ep(e,t,i)}function ex(e){return"number"==typeof e?eM:"string"==typeof e?_(e)?ef:er.test(e)?ey:eP:Array.isArray(e)?ek:"object"==typeof e?er.test(e)?ey:eS:ef}function ek(e,t){let i=[...e],a=i.length,n=e.map((e,i)=>ex(e)(e,t[i]));return e=>{for(let t=0;t<a;t++)i[t]=n[t](e);return i}}function eS(e,t){let i={...e,...t},a={};for(let n in i)void 0!==e[n]&&void 0!==t[n]&&(a[n]=ex(e[n])(e[n],t[n]));return e=>{for(let t in a)i[t]=a[t](e);return i}}let eP=(e,t)=>{let i=ec.createTransformer(t),a=ed(e),n=ed(t);if(!(a.indexes.var.length===n.indexes.var.length&&a.indexes.color.length===n.indexes.color.length&&a.indexes.number.length>=n.indexes.number.length))return F(`Complex values '${e}' and '${t}
3' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),ef(e,t);if(ew.has(e)&&!n.values.length||ew.has(t)&&!a.values.length)return ew.has(e)?i=>i<=0?e:t:i=>i>=1?t:e;return E(ek(function(e,t){let i=[],a={color:0,var:0,number:0};for(let n=0;n<t.values.length;n++){let r=t.types[n],o=e.indexes[r][a[r]],s=e.values[o]??0;i[n]=s,a[r]++}return i}(a,n),n.values),i)};function eT(e,t,i){return"number"==typeof e&&"number"==typeof t&&"number"==typeof i?ep(e,t,i):ex(e)(e,t)}let eA=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>w.update(t,e),stop:()=>M(t),now:()=>x.isProcessing?x.timestamp:P.now()}},eC=(e,t,i=10)=>{let a="",n=Math.max(Math.round(t/i),2);for(let t=0;t<n;t++)a+=Math.round(1e4*e(t/(n-1)))/1e4+", ";return`linear(${a.substring(0,a.length-2)})`};function eE(e){let t=0,i=e.next(t);for(;!i.done&&t<2e4;)t+=50,i=e.next(t);return t>=2e4?1/0:t}let eL=.01,eR=2,eF=.005,ej=.5;function eD(e,t){return e*Math.sqrt(1-t*t)}let eN=["duration","bounce"],eI=["stiffness","damping","mass"];function e_(e,t){return t.some(t=>void 0!==e[t])}function eB(e=.3,t=.3){let i,a,n,r,o,s,l="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:u,restDelta:d}=l,h=l.keyframes[0],c=l.keyframes[l.keyframes.length-1],m={done:!1,value:h},{stiffness:f,damping:p,mass:g,duration:b,velocity:v,isResolvedFromDuration:y}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!e_(e,eI)&&e_(e,eN))if(t.velocity=0,e.visualDuration){let i=2*Math.PI/(1.2*e.visualDuration),a=i*i,n=2*L(.05,1,1-(e.bounce||0))*Math.sqrt(a);t={...t,mass:1,stiffness:a,damping:n}}else{let i=function({duration:e=800,bounce:t=.3,velocity:i=0,mass:a=1}){let n,r;F(R(10));let o=1-t;o=L(.05,1,o),e=L(.01,10,e/1e3),o<1?(n=t=>{let a=t*o,n=a*e;return .001-(a-i)/eD(t,o)*Math.exp(-n)},r=t=>{let a=t*o*e,r=Math.pow(o,2)*Math.pow(t,2)*e,s=Math.exp(-a),l=eD(Math.pow(t,2),o);return(a*i+i-r)*s*(-n(t)+.001>0?-1:1)/l}):(n=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),r=t=>e*e*(i-t)*Math.exp(-t*e));let s=function(e,t,i){let a=i;for(let i=1;i<12;i++)a-=e(a)/t(a);return a}(n,r,5/e);if(e=R(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(s,2)*a;return{stiffness:t,damping:2*o*Math.sqrt(a*t),duration:e}}}({...e,velocity:0});(t={...t,...i,mass:1}).isResolvedFromDuration=!0}return t}({...l,velocity:-((l.velocity||0)/1e3)}),w=v||0,M=p/(2*Math.sqrt(f*g)),x=c-h,k=Math.sqrt(f/g)/1e3,S=5>Math.abs(x);if(u||(u=S?eL:eR),d||(d=S?eF:ej),M<1)n=eD(k,M),r=(w+M*k*x)/n,i=e=>c-Math.exp(-M*k*e)*(r*Math.sin(n*e)+x*Math.cos(n*e)),o=M*k*r+x*n,s=M*k*x-r*n,a=e=>Math.exp(-M*k*e)*(o*Math.sin(n*e)+s*Math.cos(n*e));else if(1===M){i=e=>c-Math.exp(-k*e)*(x+(w+k*x)*e);let e=w+k*x;a=t=>Math.exp(-k*t)*(k*e*t-w)}else{let e=k*Math.sqrt(M*M-1);i=t=>{let i=Math.exp(-M*k*t),a=Math.min(e*t,300);return c-i*((w+M*k*x)*Math.sinh(a)+e*x*Math.cosh(a))/e};let t=(w+M*k*x)/e,n=M*k*t-x*e,r=M*k*x-t*e;a=t=>{let i=Math.exp(-M*k*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let P={calculatedDuration:y&&b||null,velocity:e=>R(a(e)),next:e=>{if(!y&&M<1){let t=Math.exp(-M*k*e),i=Math.sin(n*e),a=Math.cos(n*e),l=c-t*(r*i+x*a);return m.done=Math.abs(R(t*(o*i+s*a)))<=u&&Math.abs(c-l)<=d,m.value=m.done?c:l,m}let t=i(e);return y?m.done=e>=b:m.done=Math.abs(R(a(e)))<=u&&Math.abs(c-t)<=d,m.value=m.done?c:t,m},toString:()=>{let e=Math.min(eE(P),2e4),t=eC(t=>P.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return P}function eO(e,t,i){let a=Math.max(t-5,0);return p(i-e(a),t-a)}function eW({keyframes:e,velocity:t=0,power:i=.8,timeConstant:a=325,bounceDamping:n=10,bounceStiffness:r=500,modifyTarget:o,min:s,max:l,restDelta:u=.5,restSpeed:d}){let h,c,m=e[0],f={done:!1,value:m},p=i*t,g=m+p,b=void 0===o?g:o(g);b!==g&&(p=b-m);let v=e=>-p*Math.exp(-e/a),y=e=>b+v(e),w=e=>{let t=v(e),i=y(e);f.done=Math.abs(t)<=u,f.value=f.done?b:i},M=e=>{let t;if(t=f.value,void 0!==s&&t<s||void 0!==l&&t>l){var i;h=e,c=eB({keyframes:[f.value,(i=f.value,void 0===s?l:void 0===l||Math.abs(s-i)<Math.abs(l-i)?s:l)],velocity:eO(y,e,f.value),damping:n,stiffness:r,restDelta:u,restSpeed:d})}};return M(0),{calculatedDuration:null,next:e=>{let t=!1;return(c||void 0!==h||(t=!0,w(e),M(e)),void 0!==h&&e>=h)?c.next(e-h):(t||w(e),f)}}}eB.applyToOptions=e=>{let t=function(e,t=100,i){let a=i({...e,keyframes:[0,t]}),n=Math.min(eE(a),2e4);return{type:"keyframes",ease:e=>a.next(n*e).value/t,duration:n/1e3}}(e,100,eB);return e.ease=t.ease,e.duration=R(t.duration),e.type="keyframes",e};let ez=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function eH(e,t,i,a){return e===t&&i===a?b:n=>0===n||1===n?n:ez(function(e,t,i,a,n){let r,o,s=0;do(r=ez(o=t+(i-t)/2,a,n)-e)>0?i=o:t=o;while(Math.abs(r)>1e-7&&++s<12)return o}(n,0,1,e,i),t,a)}let eG=eH(.42,0,1,1),eU=eH(0,0,.58,1),eV=eH(.42,0,.58,1),eK=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,eq=e=>t=>1-e(1-t),eY=eH(.33,1.53,.69,.99),eX=eq(eY),e$=eK(eX),eZ=e=>e>=1?1:(e*=2)<1?.5*eX(e):.5*(2-Math.pow(2,-10*(e-1))),eQ=e=>1-Math.sin(Math.acos(e)),eJ=eq(eQ),e0=eK(eQ),e1=e=>Array.isArray(e)&&"number"==typeof e[0],e2={linear:b,easeIn:eG,easeInOut:eV,easeOut:eU,circIn:eQ,circInOut:e0,circOut:eJ,backIn:eX,backInOut:e$,backOut:eY,anticipate:eZ},e3=e=>{if(e1(e)){j(e.length);let[t,i,a,n]=e;return eH(t,i,a,n)}return"string"==typeof e?(j(e2[e],`Invalid easing type '${e}'`),e2[e]):e},e4=(e,t,i)=>{let a=t-e;return a?(i-e)/a:1};function e5(e,t,{clamp:i=!0,ease:a,mixer:n}={}){let r=e.length;if(j(t.length),1===r)return()=>t[0];if(2===r&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>
3e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=function(e,t,i){let a=[],n=i||g.mix||eT,r=e.length-1;for(let i=0;i<r;i++){let r=n(e[i],e[i+1]);t&&(r=E(Array.isArray(t)?t[i]||b:t,r)),a.push(r)}return a}(t,a,n),l=s.length,u=i=>{if(o&&i<e[0])return t[0];let a=0;if(l>1)for(;a<e.length-2&&!(i<e[a+1]);a++);let n=e4(e[a],e[a+1],i);return s[a](n)};return i?t=>u(L(e[0],e[r-1],t)):u}function e6({duration:e=300,keyframes:t,times:i,ease:a="easeInOut"}){var n;let r,o=Array.isArray(a)&&"number"!=typeof a[0]?a.map(e3):e3(a),s={done:!1,value:t[0]},l=e5((n=i&&i.length===t.length?i:(!function(e,t){let i=e[e.length-1];for(let a=1;a<=t;a++){let n=e4(0,t,a);e.push(ep(i,1,n))}}(r=[0],t.length-1),r),n.map(t=>t*e)),t,{ease:Array.isArray(o)?o:t.map(()=>o||eV).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=l(t),s.done=t>=e,s)}}let e9=e=>null!==e;function e8(e,{repeat:t,repeatType:i="loop"},a,n=1){let r=e.filter(e9),o=n<0||t&&"loop"!==i&&t%2==1?0:r.length-1;return o&&void 0!==a?a:r[o]}let e7={decay:eW,inertia:eW,tween:e6,keyframes:e6,spring:eB};function te(e){"string"==typeof e.type&&(e.type=e7[e.type])}class tt{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let ti=e=>e/100;class ta extends tt{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==P.now()&&this.tick(P.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;te(e);let{type:t=e6,repeat:i=0,repeatDelay:a=0,repeatType:n,velocity:r=0}=e,{keyframes:o}=e,s=t||e6;s!==e6&&"number"!=typeof o[0]&&(this.mixKeyframes=E(ti,eT(o[0],o[1])),o=[0,100]);let l=s({...e,keyframes:o});"mirror"===n&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-r})),null===l.calculatedDuration&&(l.calculatedDuration=eE(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+a,this.totalDuration=this.resolvedDuration*(i+1)-a,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let i,{generator:a,totalDuration:n,mixKeyframes:r,mirroredGenerator:o,resolvedDuration:s,calculatedDuration:l}=this;if(null===this.startTime)return a.next(0);let{delay:u=0,keyframes:d,repeat:h,repeatType:c,repeatDelay:m,type:f,onUpdate:p,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-n/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let b=this.currentTime-u*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?b<0:b>n;this.currentTime=Math.max(b,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let y=this.currentTime,w=a;if(h){let e=Math.min(this.currentTime,n)/s,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--,(t=Math.min(t,h+1))%2&&("reverse"===c?(i=1-i,m&&(i-=m/s)):"mirror"===c&&(w=o)),y=L(0,1,i)*s}v?(this.delayState.value=d[0],i=this.delayState):i=w.next(y),r&&!v&&(i.value=r(i.value));let{done:M}=i;v||null===l||(M=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let x=null===this.holdTime&&("finished"===this.state||"running"===this.state&&M);return x&&f!==eW&&(i.value=e8(d,this.options,g,this.speed)),p&&p(i.value),x&&this.finish(),i}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=R(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return eO(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(P.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=eA,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=t??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(P.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}let tn=e=>!!(e&&e.getVelocity);function tr(e){return"number"==typeof e?e:parseFloat(e)}var to=e.i(866988);
3let ts=(0,to.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function tl(e){let t=(0,to.useRef)(null);return null===t.current&&(t.current=e()),t.current}function tu(e){let t=tl(()=>C(e)),{isStatic:i}=(0,to.useContext)(ts);if(i){let[,i]=(0,to.useState)(e);(0,to.useEffect)(()=>t.on("change",i),[])}return t}let td="u">typeof window?to.useLayoutEffect:to.useEffect;function th(e,t){let i=tu(t()),a=()=>i.set(t());return a(),td(()=>{let t=()=>w.preRender(a,!1,!0),i=e.map(e=>e.on("change",t));return()=>{i.forEach(e=>e()),M(a)}}),i}function tc(e,t,i,a){if("function"==typeof e){let t;return T.current=[],e(),t=th(T.current,e),T.current=void 0,t}if(void 0!==i&&!Array.isArray(i)&&"function"!=typeof t){var n=e,r=t,o=i,s=a;let l=tl(()=>Object.keys(o)),u=tl(()=>({}));for(let e of l)u[e]=tc(n,r,o[e],s);return u}let l="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),i=t?0:-1,a=e[0+i],n=e5(e[1+i],e[2+i],e[3+i]);return t?n(a):n}(t,i,a),u=Array.isArray(e)?tm(e,l):tm([e],([e])=>l(e)),d=Array.isArray(e)?void 0:e.accelerate;return d&&!d.isTransformed&&"function"!=typeof t&&Array.isArray(i)&&a?.clamp!==!1&&(u.accelerate={...d,times:t,keyframes:i,isTransformed:!0,...a?.ease?{ease:a.ease}:{}}),u}function tm(e,t){let i=tl(()=>[]);return th(e,()=>{i.length=0;let a=e.length;for(let t=0;t<a;t++)i[t]=e[t].get();return t(i)})}function tf(e,t={}){return function(e,t={}){let{isStatic:i}=(0,to.useContext)(ts),a=()=>tn(e)?e.get():e;if(i)return tc(a);let n=tu(a());return(0,to.useInsertionEffect)(()=>(function(e,t,i={}){let a,n=e.get(),r=null,o=n,s="string"==typeof n?n.replace(/[\d.-]/g,""):void 0,l=()=>{r&&(r.stop(),r=null),e.animation=void 0},u=()=>{(()=>{let t=tr(e.get()),n=tr(o);if(t===n)return l();let s=r?r.getGeneratorVelocity():e.getVelocity();l(),r=new ta({keyframes:[t,n],velocity:s,type:"spring",restDelta:.001,restSpeed:.01,...i,onUpdate:a})})(),e.animation=r??void 0,e.events.animationStart?.notify(),r?.then(()=>{e.animation=void 0,e.events.animationComplete?.notify()})};if(e.attach((e,t)=>{o=e,a=e=>{var i,a;return t((i=e,(a=s)?i+a:i))},w.postRender(u)},l),tn(t)){let a=!0===i.skipInitialAnimation,n=t.on("change",t=>{var i,n,r,o;a?(a=!1,e.jump((i=t,(n=s)?i+n:i),!1)):e.set((r=t,(o=s)?r+o:r))}),r=e.on("destroy",n);return()=>{n(),r()}}return l})(n,e,t),[n,JSON.stringify(t)]),n}(e,{type:"spring",...t})}e.s(["useTransform",0,tc],956601),e.s(["useSpring",0,tf],378480);let tp=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],tg=new Set([...tp,"pathRotation"]),tb=new Set(["brightness","contrast","saturate","opacity"]);function tv(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[a]=i.match(U)||[];if(!a)return e;let n=i.replace(a,""),r=+!!tb.has(t);return a!==i&&(r*=100),t+"("+r+n+")"}let ty=/\b([a-z-]*)\(.*?\)/gu,tw={...ec,getAnimatableNone:e=>{let t=e.match(ty);return t?t.map(tv).join(" "):e}},tM={...ec,getAnimatableNone:e=>{let t=ec.parse(e);return ec.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},tx={...W,transform:Math.round},tk={borderWidth:ee,borderTopWidth:ee,borderRightWidth:ee,borderBottomWidth:ee,borderLeftWidth:ee,borderRadius:ee,borderTopLeftRadius:ee,borderTopRightRadius:ee,borderBottomRightRadius:ee,borderBottomLeftRadius:ee,width:ee,maxWidth:ee,height:ee,maxHeight:ee,top:ee,right:ee,bottom:ee,left:ee,inset:ee,insetBlock:ee,insetBlockStart:ee,insetBlockEnd:ee,insetInline:ee,insetInlineStart:ee,insetInlineEnd:ee,padding:ee,paddingTop:ee,paddingRight:ee,paddingBottom:ee,paddingLeft:ee,paddingBlock:ee,paddingBlockStart:ee,paddingBlockEnd:ee,paddingInline:ee,paddingInlineStart:ee,paddingInlineEnd:ee,margin:ee,marginTop:ee,marginRight:ee,marginBottom:ee,marginLeft:ee,marginBlock:ee,marginBlockStart:ee,marginBlockEnd:ee,marginInline:ee,marginInlineStart:ee,marginInlineEnd:ee,fontSize:ee,backgroundPositionX:ee,backgroundPositionY:ee,rotate:Q,pathRotation:Q,rotateX:Q,rotateY:Q,rotateZ:Q,scale:H,scaleX:H,scaleY:H,scaleZ:H,skew:Q,skewX:Q,skewY:Q,distance:ee,translateX:ee,translateY:ee,translateZ:ee,x:ee,y:ee,z:ee,perspective:ee,transformPerspective:ee,opacity:z,originX:ea,originY:ea,originZ:ee,zIndex:tx,fillOpacity:z,strokeOpacity:z,numOctaves:tx},tS={...tk,color:er,backgroundColor:er,outlineColor:er,fill:er,stroke:er,borderColor:er,borderTopColor:er,borderRightColor:er,borderBottomColor:er,borderLeftColor:er,filter:tw,WebkitFilter:tw,mask:tM,WebkitMask:tM}
3,tP=e=>tS[e],tT=()=>({translate:0,scale:1,origin:0,originPoint:0}),tA=()=>({x:tT(),y:tT()}),tC=()=>({min:0,max:0}),tE=()=>({x:tC(),y:tC()}),tL=new Set(["width","height","top","left","right","bottom",...tp]),tR=e=>t=>t.test(e),tF=[W,ee,J,Q,ei,et,{test:e=>"auto"===e,parse:e=>e}],tj=e=>tF.find(tR(e)),tD=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tN=e=>180*e/Math.PI,tI=e=>tB(tN(Math.atan2(e[1],e[0]))),t_={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:tI,rotateZ:tI,skewX:e=>tN(Math.atan(e[1])),skewY:e=>tN(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},tB=e=>((e%=360)<0&&(e+=360),e),tO=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),tW=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),tz={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tO,scaleY:tW,scale:e=>(tO(e)+tW(e))/2,rotateX:e=>tB(tN(Math.atan2(e[6],e[5]))),rotateY:e=>tB(tN(Math.atan2(-e[2],e[0]))),rotateZ:tI,rotate:tI,skewX:e=>tN(Math.atan(e[4])),skewY:e=>tN(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function tH(e){return+!!e.includes("scale")}function tG(e,t){let i,a;if(!e||"none"===e)return tH(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=tz,a=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=t_,a=t}if(!a)return tH(t);let r=i[t],o=a[1].split(",").map(tU);return"function"==typeof r?r(o):o[r]}function tU(e){return parseFloat(e.trim())}let tV=e=>e===W||e===ee,tK=new Set(["x","y","z"]),tq=tp.filter(e=>!tK.has(e)),tY={width:({x:e},{paddingLeft:t="0",paddingRight:i="0",boxSizing:a})=>{let n=e.max-e.min;return"border-box"===a?n:n-parseFloat(t)-parseFloat(i)},height:({y:e},{paddingTop:t="0",paddingBottom:i="0",boxSizing:a})=>{let n=e.max-e.min;return"border-box"===a?n:n-parseFloat(t)-parseFloat(i)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>tG(t,"x"),y:(e,{transform:t})=>tG(t,"y")};tY.translateX=tY.x,tY.translateY=tY.y;let tX=new Set,t$=!1,tZ=!1,tQ=!1;function tJ(){if(tZ){let e=Array.from(tX).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),i=new Map;t.forEach(e=>{let t,a=(t=[],tq.forEach(i=>{let a=e.getValue(i);void 0!==a&&(t.push([i,a.get()]),a.set(+!!i.startsWith("scale")))}),t);a.length&&(i.set(e,a),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=i.get(e);t&&t.forEach(([t,i])=>{e.getValue(t)?.set(i)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}tZ=!1,t$=!1,tX.forEach(e=>e.complete(tQ)),tX.clear()}function t0(){tX.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(tZ=!0)})}class t1{constructor(e,t,i,a,n,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=a,this.element=n,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(tX.add(this),t$||(t$=!0,w.read(t0),w.resolveKeyframes(tJ))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:i,motionValue:a}=this;if(null===e[0]){let n=a?.get(),r=e[e.length-1];if(void 0!==n)e[0]=n;else if(i&&t){let a=i.readValue(t,r);null!=a&&(e[0]=a)}void 0===e[0]&&(e[0]=r),a&&void 0===n&&a.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),tX.delete(this)}cancel(){"scheduled"===this.state&&(tX.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let t2=new Set([tw,tM]);function t3(e,t){let i=tP(e);return t2.has(i)||(i=ec),i.getAnimatableNone?i.getAnimatableNone(t):void 0}let t4=new Set(["auto","none","0"]);class t5 extends t1{constructor(e,t,i,a,n){super(e,t,i,a,n,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:i}=this;if(!t||!t.current)return;super.readKeyframes();for(let i=0;i<e.length;i++){let a=e[i];if("string"==typeof a&&_(a=a.trim())){let n=function e(t,i,a=1){j(`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[n,r]=function(e){let t=tD.exec(e);if(!t)return[,];let[,i,a,n]=t;return[`--${i??a}`,n]}(t);if(!n)return;let o=window.getComputedStyle(i).getPropertyValue(n);if(o){let e=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return _(r)?e(r,i,a+1):r}(a,t.current);void 0!==n&&(e[i]=n),i===e.length-1&&(this.finalKeyframe=a)}}if(this.resolveNoneKeyframes(),!tL.has(i)||2!==e.length)return;let[a,n]=e,r=tj(a),o=tj(n);if(O(a)!==O(n)&&tY[i]){this.needsMeasurement=!0;return}if(r!==o)if(tV(r)&&tV(o))for(let t=0;t<e.length;t++){let i=e[t];"string"==typeof i&&(e[t]=parseFloat(i))}else tY[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,i=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&i.push(t);i.length&&function(e,t,i){let a,n=0;for(;n<e.length&&!a;){let t=e[n];"string"==typeof t&&!t4.has(t)&&ed(t).values.length&&(a=e[n]),n++}if(a&&i)for(let n of t)e[n]=t3(i,a)}(e,i,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:i}=this;if(!e||!e.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tY[i](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let a=t[t.length-1];void 0!==a&&e.getValue(i,a).jump(a,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:i}=this;if(!e||!e.current)return;let a=e.getValue(t);a&&a.jump(this.measuredOrigin,!1);let n=i.length-1,r=i[n];i[n]=tY[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
3h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}function t6(e,t,i){t.startsWith("--")?e.style.setProperty(t,i):e.style[t]=i}function t9(e){let t;return()=>(void 0===t&&(t=e()),t)}let t8={};function t7(e,t){let i=t9(e);return()=>t8[t]??i()}let ie=t7(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),it=t7(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),ii=([e,t,i,a])=>`cubic-bezier(${e}, ${t}, ${i}, ${a})`,ia={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ii([0,.65,.55,1]),circOut:ii([.55,0,1,.45]),backIn:ii([.31,.01,.66,-.59]),backOut:ii([.33,1.53,.69,.99])};function ir(e){return"function"==typeof e&&"applyToOptions"in e}class io extends tt{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:i,keyframes:a,pseudoElement:n,allowFlatten:r=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!n,this.allowFlatten=r,this.options=e,j(e.type);const l=function({type:e,...t}){return ir(e)&&it()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,i,{delay:a=0,duration:n=300,repeat:r=0,repeatType:o="loop",ease:s="easeOut",times:l}={},u){let d={[t]:i};l&&(d.offset=l);let h=function e(t,i){if(t)return"function"==typeof t?it()?eC(t,i):"ease-out":e1(t)?ii(t):Array.isArray(t)?t.map(t=>e(t,i)||ia.easeOut):ia[t]}(s,n);Array.isArray(h)&&(d.easing=h);let c={delay:a,duration:n,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:r+1,direction:"reverse"===o?"alternate":"normal"};return u&&(c.pseudoElement=u),e.animate(d,c)}(t,i,a,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let e=e8(a,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),t6(t,i,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=R(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:i,observe:a}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&ie())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),i&&(this.animation.rangeEnd=i),b):a(this)}}let is=new Set(["opacity","clipPath","filter","transform"]),{schedule:il}=y(queueMicrotask,!1),iu=[...tF,er,ec],id=new WeakMap;function ih(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function ic(e){return"string"==typeof e||Array.isArray(e)}let im=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ip=["initial",...im];function ig(e){return ih(e.animate)||ip.some(t=>ic(e[t]))}function ib(e){return!!(ig(e)||e.variants)}let iv={current:null},iy={current:!1},iw="u">typeof window;function iM(e){let t=[{},{}];
3return e?.values.forEach((e,i)=>{t[0][i]=e.get(),t[1][i]=e.getVelocity()}),t}function ix(e,t,i,a){if("function"==typeof t){let[n,r]=iM(a);t=t(void 0!==i?i:e.custom,n,r)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[n,r]=iM(a);t=t(void 0!==i?i:e.custom,n,r)}return t}let ik=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],iS={};class iP{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:a,skipAnimations:n,blockInitialAnimation:r,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=t1,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=P.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,w.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=a,this.skipAnimationsConfig=n,this.options=s,this.blockInitialAnimation=!!r,this.isControllingVariants=ig(t),this.isVariantNode=ib(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in h){const t=h[e];void 0!==l[e]&&tn(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,id.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(iy.current||function(){if(iy.current=!0,iw)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>iv.current=e.matches;e.addEventListener("change",t),t()}else iv.current=!1}(),this.shouldReduceMotion=iv.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),M(this.notifyUpdate),M(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let i;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&is.has(e)&&this.current instanceof HTMLElement){let{factory:i,keyframes:a,times:n,ease:r,duration:o}=t.accelerate,s=new io({element:this.current,name:e,keyframes:a,times:n,ease:r,duration:R(o)}),l=i(s);this.valueSubscriptions.set(e,()=>{l(),s.cancel()});return}let a=tg.has(e);a&&this.onBindTransform&&this.onBindTransform();let n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&w.preRender(this.notifyUpdate),a&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{n(),i&&i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in iS){let t=iS[e];if(!t)continue;let{isEnabled:i,Feature:a}=t;if(!this.features[e]&&a&&i(this.props)&&(this.features[e]=new a(this)),this.features[e]){let t=this.features[e];
3t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):tE()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<ik.length;t++){let i=ik[t];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let a=e["on"+i];a&&(this.propEventSubscriptions[i]=this.on(i,a))}this.prevMotionValues=function(e,t,i){for(let a in t){let n=t[a],r=i[a];if(tn(n))e.addValue(a,n);else if(tn(r))e.addValue(a,C(n,{owner:e}));else if(r!==n)if(e.hasValue(a)){let t=e.getValue(a);!0===t.liveStyle?t.jump(n):t.hasAnimated||t.set(n)}else{let t=e.getStaticValue(a);e.addValue(a,C(void 0!==t?t:n,{owner:e}))}}for(let a in i)void 0===t[a]&&e.removeValue(a);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let i=this.values.get(e);t!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return void 0===i&&void 0!==t&&(i=C(null===t?void 0:t,{owner:this}),this.addValue(e,i)),i}readValue(e,t){let i=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=i){let a,n;if("string"==typeof i&&(a=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(a)||(n=i,/^0[^.\s]+$/u.test(n))))i=parseFloat(i);else{let a;a=i,!iu.find(tR(a))&&ec.test(t)&&(i=t3(e,t))}this.setBaseTarget(e,tn(i)?i.get():i)}return tn(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let a=ix(this.props,i,this.presenceContext?.custom);a&&(t=a[e])}if(i&&void 0!==t)return t;let a=this.getBaseTargetFromProps(this.props,e);return void 0===a||tn(a)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:a}on(e,t){return this.events[e]||(this.events[e]=new f),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){il.render(this.render)}}class iT extends iP{constructor(){super(...arguments),this.KeyframeResolver=t5}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let i=e.style;return i?i[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;tn(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function iA(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let iC=(e,t)=>t&&"number"==typeof e?t.transform(e):e,iE={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},iL=tp.length;function iR(e,t,i){let{style:a,vars:n,transformOrigin:r}=e,o=!1,s=!1;for(let e in t){let i=t[e];if(tg.has(e)){o=!0;continue}if(N(e)){n[e]=i;continue}{let t=iC(i,tk[e]);e.startsWith("origin")?(s=!0,r[e]=t):a[e]=t}}if(!t.transform&&(o||i?a.transform=function(e,t,i){let a="",n=!0;for(let r=0;r<iL;r++){let o=tp[r],s=e[o];if(void 0===s)continue;let l=!0;if("number"==typeof s)l=s===+!!o.startsWith("scale");else{let e=parseFloat(s);l=o.startsWith("scale")?1===e:0===e}if(!l||i){let e=iC(s,tk[o]);if(!l){n=!1;let t=iE[o]||o;a+=`${t}(${e}) `}i&&(t[o]=e)}}let r=e.pathRotation;return r&&(n=!1,a+=`rotate(${iC(r,tk.pathRotation)}) `),a=a.trim(),i?a=i(t,n?"":a):n&&(a="none"),a}(t,e.transform,i):a.transform&&(a.transform="none")),s){let{originX:e="50%",originY:t="50%",originZ:i=0}=r;a.transformOrigin=`${e} ${t} ${i}`}}let iF={offset:"stroke-dashoffset",array:"stroke-dasharray"},ij={offset:"strokeDashoffset",array:"strokeDasharray"},iD=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function iN(e,{attrX:t,attrY:i,attrScale:a,pathLength:n,pathSpacing:r=1,pathOffset:o=0,...s}
3,l,u,d){if(iR(e,s,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:c}=e;for(let e of(h.transform&&(c.transform=h.transform,delete h.transform),(c.transform||h.transformOrigin)&&(c.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),c.transform&&(c.transformBox=d?.transformBox??"fill-box",delete h.transformBox),iD))void 0!==h[e]&&(c[e]=h[e],delete h[e]);void 0!==t&&(h.x=t),void 0!==i&&(h.y=i),void 0!==a&&(h.scale=a),void 0!==n&&function(e,t,i=1,a=0,n=!0){e.pathLength=1;let r=n?iF:ij;e[r.offset]=`${-a}`,e[r.array]=`${t} ${i}`}(h,n,r,o,!1)}let iI=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),i_=e=>"string"==typeof e&&"svg"===e.toLowerCase();function iB(e,{style:t,vars:i},a,n){let r,o=e.style;for(r in t)o[r]=t[r];for(r in n?.applyProjectionStyles(o,a),i)o.setProperty(r,i[r])}let iO=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function iW(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let iz={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!ee.test(e))return e;else e=parseFloat(e);let i=iW(e,t.target.x),a=iW(e,t.target.y);return`${i}% ${a}%`}},iH={borderRadius:{...iz,applyTo:[...iO]},borderTopLeftRadius:iz,borderTopRightRadius:iz,borderBottomLeftRadius:iz,borderBottomRightRadius:iz,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let a=ec.parse(e);if(a.length>5)return e;let n=ec.createTransformer(e),r=+("number"!=typeof a[0]),o=i.x.scale*t.x,s=i.y.scale*t.y;a[0+r]/=o,a[1+r]/=s;let l=ep(o,s,.5);return"number"==typeof a[2+r]&&(a[2+r]/=l),"number"==typeof a[3+r]&&(a[3+r]/=l),n(a)}}};function iG(e,{layout:t,layoutId:i}){return tg.has(e)||e.startsWith("origin")||(t||void 0!==i)&&(!!iH[e]||"opacity"===e)}function iU(e,t,i){let a=e.style,n=t?.style,r={};if(!a)return r;for(let t in a)(tn(a[t])||n&&tn(n[t])||iG(t,e)||i?.getValue(t)?.liveStyle!==void 0)&&(r[t]=a[t]);return r}function iV(e,t,i){let a=iU(e,t,i);for(let i in e)(tn(e[i])||tn(t[i]))&&(a[-1!==tp.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]);return a}class iK extends iT{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=tE}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(tg.has(t)){let e=tP(t);return e&&e.default||0}return t=iI.has(t)?t:iA(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,i){return iV(e,t,i)}build(e,t,i){iN(e,t,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,t,i,a){for(let i in iB(e,t,void 0,a),t.attrs)e.setAttribute(iI.has(i)?i:iA(i),t.attrs[i])}mount(e){this.isSVGTag=i_(e.tagName),super.mount(e)}}function iq({top:e,left:t,right:i,bottom:a}){return{x:{min:t,max:i},y:{min:e,max:a}}}function iY(e){return void 0===e||1===e}function iX({scale:e,scaleX:t,scaleY:i}){return!iY(e)||!iY(t)||!iY(i)}function i$(e){return iX(e)||iZ(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function iZ(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}function iQ(e,t,i,a,n){return void 0!==n&&(e=a+n*(e-a)),a+i*(e-a)+t}function iJ(e,t=0,i=1,a,n){e.min=iQ(e.min,t,i,a,n),e.max=iQ(e.max,t,i,a,n)}function i0(e,{x:t,y:i}){iJ(e.x,t.translate,t.scale,t.originPoint),iJ(e.y,i.translate,i.scale,i.originPoint)}function i1(e,t){e.min+=t,e.max+=t}function i2(e,t,i,a,n=.5){let r=ep(e.min,e.max,n);iJ(e,t,i,r,a)}function i3(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function i4(e,t,i){let a=i??e;i2(e.x,i3(t.x,a.x),t.scaleX,t.scale,t.originX),i2(e.y,i3(t.y,a.y),t.scaleY,t.scale,t.originY)}function i5(e,t){return iq(function(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),a=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:a.y,right:a.x}}(e.getBoundingClientRect(),t))}class i6 extends iT{constructor(){super(...arguments),this.type="html",this.renderInstance=iB}readValueFromInstance(e,t){if(tg.has(t))return this.projection?.isProjecting?tH(t):((e,t)=>{let{transform:i="none"}=getComputedStyle(e);return tG(i,t)})(e,t);{let i=window.getComputedStyle(e),a=(N(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof a?a.trim():a}}measureInstanceViewportBox(e,{transformPagePoint:t}){return i5(e,t)}build(e,t,i){iR(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return iU(e,t,i)}}let i9=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function i8(e){if("string"!=typeof e||e.includes("-"));else if(i9.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}
3let i7=(0,to.createContext)({}),ae=(0,to.createContext)({strict:!1}),at=(0,to.createContext)({});function ai(e){return Array.isArray(e)?e.join(" "):e}let aa=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function an(e,t,i){for(let a in t)tn(t[a])||iG(a,i)||(e[a]=t[a])}let ar=()=>({...aa(),attrs:{}}),ao=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function as(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||ao.has(e)}let al=e=>!as(e);try{n=(()=>{let e=Error("Cannot find module '@emotion/is-prop-valid'");throw e.code="MODULE_NOT_FOUND",e})().default,"function"==typeof n&&(al=e=>e.startsWith("on")?!as(e):n(e))}catch{}function au(e){return tn(e)?e.get():e}let ad=(0,to.createContext)(null),ah=e=>(t,i)=>{let a=(0,to.useContext)(at),n=(0,to.useContext)(ad),r=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},i,a,n){return{latestValues:function(e,t,i,a){let n={},r=a(e,{});for(let e in r)n[e]=au(r[e]);let{initial:o,animate:s}=e,l=ig(e),u=ib(e);t&&u&&!l&&!1!==e.inherit&&(void 0===o&&(o=t.initial),void 0===s&&(s=t.animate));let d=!!i&&!1===i.initial,h=(d=d||!1===o)?s:o;if(h&&"boolean"!=typeof h&&!ih(h)){let t=Array.isArray(h)?h:[h];for(let i=0;i<t.length;i++){let a=ix(e,t[i]);if(a){let{transitionEnd:e,transition:t,...i}=a;for(let e in i){let t=i[e];if(Array.isArray(t)){let e=d?t.length-1:0;t=t[e]}null!==t&&(n[e]=t)}for(let t in e)n[t]=e[t]}}}return n}(i,a,n,e),renderState:t()}})(e,t,a,n);return i?r():tl(r)},ac=ah({scrapeMotionValuesFromProps:iU,createRenderState:aa}),am=ah({scrapeMotionValuesFromProps:iV,createRenderState:ar}),af={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ap=!1;function ag(){return!function(){if(ap)return;let e={};for(let t in af)e[t]={isEnabled:e=>af[t].some(t=>!!e[t])};iS=e,ap=!0}(),iS}let ab=Symbol.for("motionComponentSymbol"),av="data-"+iA("framerAppearId"),ay=(0,to.createContext)({});function aw(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function aM(e,{forwardMotionProps:t=!1,type:i}={},a,n){a&&function(e){let t=ag();for(let i in e)t[i]={...t[i],...e[i]};iS=t}(a);let o=i?"svg"===i:i8(e),s=o?am:ac;function l(i,a){var l;let u,d,h,c={...(0,to.useContext)(ts),...i,layoutId:function({layoutId:e}){let t=(0,to.useContext)(i7).id;return t&&void 0!==e?t+"-"+e:e}(i)},{isStatic:m}=c,f=function(e){let{initial:t,animate:i}=function(e,t){if(ig(e)){let{initial:t,animate:i}=e;return{initial:!1===t||ic(t)?t:void 0,animate:ic(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,to.useContext)(at));return(0,to.useMemo)(()=>({initial:t,animate:i}),[ai(t),ai(i)])}(i),p=s(i,m);if(!m&&"u">typeof window){(0,to.useContext)(ae).strict;let t=function(e){let{drag:t,layout:i}=ag();if(!t&&!i)return{};let a={...t,...i};return{MeasureLayout:t?.isEnabled(e)||i?.isEnabled(e)?a.MeasureLayout:void 0,ProjectionNode:a.ProjectionNode}}(c);u=t.MeasureLayout,f.visualElement=function(e,t,i,a,n,r){let{visualElement:o}=(0,to.useContext)(at),s=(0,to.useContext)(ae),l=(0,to.useContext)(ad),u=(0,to.useContext)(ts),d=u.reducedMotion,h=u.skipAnimations,c=(0,to.useRef)(null),m=(0,to.useRef)(!1);a=a||s.renderer,!c.current&&a&&(c.current=a(e,{visualState:t,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:d,skipAnimations:h,isSVG:r}),m.current&&c.current&&(c.current.manuallyAnimateOnMount=!0));let f=c.current,p=(0,to.useContext)(ay);f&&!f.projection&&n&&("html"===f.type||"svg"===f.type)&&function(e,t,i,a){let{layoutId:n,layout:r,drag:o,dragConstraints:s,layoutScroll:l,layoutRoot:u,layoutAnchor:d,layoutCrossfade:h}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:n,layout:r,alwaysMeasureLayout:!!o||s&&aw(s),visualElement:e,animationType:"string"==typeof r?r:"both",initialPromotionConfig:a,crossfade:h,layoutScroll:l,layoutRoot:u,layoutAnchor:d})}(c.current,i,n,p);let g=(0,to.useRef)(!1);(0,to.useInsertionEffect)(()=>{f&&g.current&&f.update(i,l)});let b=i[av],v=(0,to.useRef)(!!b&&"u">typeof window&&!window.MotionHandoffIsComplete?.(b)&&window.MotionHasOptimisedAnimation?.(b));return td(()=>{m.current=!0,f&&(g.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),v.current&&f.animationState&&f.animationState.animateChanges())}),(0,to.useEffect)(()=>{f&&(!v.current&&f.animationState&&f.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(b)}
3),v.current=!1),f.enteringChildren=void 0)}),f}(e,p,c,n,t.ProjectionNode,o)}return(0,r.jsxs)(at.Provider,{value:f,children:[u&&f.visualElement?(0,r.jsx)(u,{visualElement:f.visualElement,...c}):null,function(e,t,i,{latestValues:a},n,r=!1,o){let s=(o??i8(e)?function(e,t,i,a){let n=(0,to.useMemo)(()=>{let i=ar();return iN(i,t,i_(a),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};an(t,e.style,e),n.style={...t,...n.style}}return n}:function(e,t){let i,a,n={},r=(i=e.style||{},an(a={},i,e),Object.assign(a,function({transformTemplate:e},t){return(0,to.useMemo)(()=>{let i=aa();return iR(i,t,e),Object.assign({},i.vars,i.style)},[t])}(e,t)),a);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n})(t,a,n,e),l=function(e,t,i){let a={};for(let n in e)("values"!==n||"object"!=typeof e.values)&&!tn(e[n])&&(al(n)||!0===i&&as(n)||
3!t&&!as(n)||e.draggable&&n.startsWith("onDrag"))&&(a[n]=e[n]);return a}(t,"string"==typeof e,r),u=e!==to.Fragment?{...l,...s,ref:i}:{},{children:d}=t,h=(0,to.useMemo)(()=>tn(d)?d.get():d,[d]);return(0,to.createElement)(e,{...u,children:h})}(e,i,(l=f.visualElement,d=(0,to.useRef)(a),(0,to.useInsertionEffect)(()=>{d.current=a}),h=(0,to.useRef)(null),(0,to.useCallback)(e=>{e&&p.onMount?.(e),l&&(e?l.mount(e):l.unmount());let t=d.current;if("function"==typeof t)if(e){let i=t(e);"function"==typeof i&&(h.current=i)}else h.current?(h.current(),h.current=null):t(e);else t&&(t.current=e)},[l])),p,m,t,o)]})}l.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let u=(0,to.forwardRef)(l);return u[ab]=e,u}class ax{constructor(e){this.isMounted=!1,this.node=e}update(){}}function ak(e,t,i){let a=e.getProps();return ix(a,t,void 0!==i?i:a.custom,e)}function aS(e,t){if(e?.inherit&&t){let{inherit:i,...a}=e;return{...t,...a}}return e}function aP(e,t){let i=e?.[t]??e?.default??e;return i!==e?aS(i,e):i}let aT=e=>Array.isArray(e);function aA(e,t){let i=e.getValue("willChange");if(tn(i)&&i.add)return i.add(t);if(!i&&g.WillChange){let i=new g.WillChange("auto");e.addValue("willChange",i),i.add(t)}}let aC={anticipate:eZ,backInOut:e$,circInOut:e0};class aE extends io{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in aC&&(e.ease=aC[e.ease])}(e),te(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:i,onComplete:a,element:n,...r}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let o=new ta({...r,autoplay:!1}),s=Math.max(10,P.now()-this.startTime),l=L(0,10,s-10),u=o.sample(s).value,{name:d}=this.options;n&&d&&t6(n,d,u),t.setWithVelocity(o.sample(Math.max(0,s-l)).value,u,l),o.stop()}}let aL=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(ec.test(e)||"0"===e)&&!e.startsWith("url("));function aR(e){e.duration=0,e.type="keyframes"}let aF=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,aj=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),aD=t9(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class aN extends tt{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:a=0,repeatDelay:n=0,repeatType:r="loop",keyframes:o,name:s,motionValue:l,element:u,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=P.now();const h={autoplay:e,delay:t,type:i,repeat:a,repeatDelay:n,repeatType:r,name:s,motionValue:l,element:u,...d},c=u?.KeyframeResolver||t1;this.keyframeResolver=new c(o,(e,t,i)=>this.onKeyframesResolved(e,t,h,!i),s,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,i,a){let n;this.keyframeResolver=void 0;let{name:r,type:o,velocity:s,delay:l,isHandoff:u,onUpdate:d}=i;this.resolvedAt=P.now();let h=!0;!function(e,t,i,a){let n=e[0];if(null===n)return!1;if("display"===t||"visibility"===t)return!0;let r=e[e.length-1],o=aL(n,t),s=aL(r,t);return F(`You are trying to animate ${t} from "${n}" to "${r}". "${o?r:n}" is not an animatable value.`),!!o&&!!s&&(function(e){let t=e[0];if(1===e.length)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}(e)||("spring"===i||ir(i))&&a)}(e,r,o,s)&&(h=!1,(g.instantAnimations||!l)&&d?.(e8(e,i,t)),e[0]=e[e.length-1],aR(i),i.repeat=0);let c={startTime:a?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...i,keyframes:e},m=h&&!u&&function(e){let{motionValue:t,name:i,repeatDelay:a,repeatType:n,damping:r,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return aD()&&i&&(is.has(i)||aj.has(i)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&aF.test(e[t]))return!0;return!1}(s))&&("transform"!==i||!u)&&!l&&!a&&"mirror"!==n&&0!==r&&"inertia"!==o}(c),f=c.motionValue?.owner?.current;if(m)try{n=new aE({...c,element:f})}catch{n=new ta(c)}else n=new ta(c);n.finished.then(()=>{this.notifyFinished()}).catch(b),this.pendingTimeline&&(this.stopTimeline=n.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=n}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),tQ=!0,t0(),tJ(),tQ=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let aI={type:"spring",stiffness:500,damping:25,restSpeed:10},a_={type:"keyframes",duration:.8},aB={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},aO=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),aW=(e,t,i,a={},n,r)=>o=>{let s=aP(a,e)||{},l=s.delay||a.delay||0,{elapsed:u=0}=a;u-=R(l);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:e=>
3{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:r?void 0:n};!function(e){for(let t in e)if(!aO.has(t))return!0;return!1}(s)&&Object.assign(d,((e,{keyframes:t})=>t.length>2?a_:tg.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:aI:aB)(e,d)),d.duration&&(d.duration=R(d.duration)),d.repeatDelay&&(d.repeatDelay=R(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let h=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(aR(d),0===d.delay&&(h=!0)),(g.instantAnimations||g.skipAnimations||n?.shouldSkipAnimations||s.skipAnimations)&&(h=!0,aR(d),d.delay=0),d.allowFlatten=!s.type&&!s.ease,h&&!r&&void 0!==t.get()){let e=e8(d.keyframes,s);if(void 0!==e)return void w.update(()=>{d.onUpdate(e),d.onComplete()})}return s.isSync?new ta(d):new aN(d)};function az(e,t,{delay:i=0,transitionOverride:a,type:n}={}){let{transition:r,transitionEnd:o,...s}=t,l=e.getDefaultTransition();r=r?aS(r,l):l;let u=r?.reduceMotion,d=r?.skipAnimations;a&&(r=a);let h=[],c=n&&e.animationState&&e.animationState.getState()[n],m=r?.path;for(let t in m&&m.animateVisualElement(e,s,r,i,h),s){let a=e.getValue(t,e.latestValues[t]??null),n=s[t];if(void 0===n||c&&function({protectedKeys:e,needsAnimating:t},i){let a=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,a}(c,t))continue;let o={delay:i,...aP(r||{},t)};d&&(o.skipAnimations=!0);let l=a.get();if(void 0!==l&&!a.isAnimating()&&!Array.isArray(n)&&n===l&&!o.velocity){w.update(()=>a.set(n));continue}let m=!1;if(window.MotionHandoffAnimation){let i=e.props[av];if(i){let e=window.MotionHandoffAnimation(i,t,w);null!==e&&(o.startTime=e,m=!0)}}aA(e,t);let f=u??e.shouldReduceMotion;a.start(aW(t,a,n,f&&tL.has(t)?{type:!1}:o,e,m));let p=a.animation;p&&h.push(p)}if(o){let t=()=>w.update(()=>{o&&function(e,t){let{transitionEnd:i={},transition:a={},...n}=ak(e,t)||{};for(let t in n={...n,...i}){var r;let i=aT(r=n[t])?r[r.length-1]||0:r;e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,C(i))}}(e,o)});h.length?Promise.all(h).then(t):t()}return h}function aH(e,t,i,a=0,n=1){let r=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*a;return"function"==typeof i?i(r,o):1===n?r*a:s-r*a}function aG(e,t,i={}){let a=ak(e,t,"exit"===i.type?e.presenceContext?.custom:void 0),{transition:n=e.getDefaultTransition()||{}}=a||{};i.transitionOverride&&(n=i.transitionOverride);let r=a?()=>Promise.all(az(e,a,i)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(a=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:s}=n;return function(e,t,i=0,a=0,n=0,r=1,o){let s=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),s.push(aG(l,t,{...o,delay:i+("function"==typeof a?0:a)+aH(e.variantChildren,l,a,n,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(s)}(e,t,a,r,o,s,i)}:()=>Promise.resolve(),{when:s}=n;if(!s)return Promise.all([r(),o(i.delay)]);{let[e,t]="beforeChildren"===s?[r,o]:[o,r];return e().then(()=>t())}}let aU=ip.length;function aV(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let a=0;a<i;a++)if(t[a]!==e[a])return!1;return!0}let aK=[...im].reverse(),aq=im.length;function aY(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function aX(){return{animate:aY(!0),whileInView:aY(),whileHover:aY(),whileTap:aY(),whileDrag:aY(),whileFocus:aY(),exit:aY()}}let a$=0;function aZ(e){return[e("x"),e("y")]}function aQ(e,t,i,a={passive:!0}){return e.addEventListener(t,i,a),()=>e.removeEventListener(t,i,a)}let aJ={x:!1,y:!1};function a0(e){return e.max-e.min}function a1(e,t,i,a=.5){e.origin=a,e.originPoint=ep(t.min,t.max,e.origin),e.scale=a0(i)/a0(t),e.translate=ep(i.min,i.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function a2(e,t,i,a){a1(e.x,t.x,i.x,a?a.originX:void 0),a1(e.y,t.y,i.y,a?a.originY:void 0)}function a3(e,t,i,a=0){e.min=(a?ep(i.min,i.max,a):i.min)+t.min,e.max=e.min+a0(t)}function a4(e,t,i,a=0){let n=a?ep(i.min,i.max,a):i.min;e.min=t.min-n,e.max=e.min+a0(t)}
3function a5(e,t,i,a){a4(e.x,t.x,i.x,a?.x),a4(e.y,t.y,i.y,a?.y)}let a6=e=>"object"==typeof e&&null!==e;function a9(e){return a6(e)&&"ownerSVGElement"in e}function a8(e,t,i){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let a=document;t&&(a=t.current);let n=i?.[e]??a.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e).filter(e=>null!=e)}let a7=new WeakMap,ne=(e,t,i)=>(a,n)=>n&&n[0]?n[0][e+"Size"]:a9(a)&&"getBBox"in a?a.getBBox()[t]:a[i],nt=ne("inline","width","offsetWidth"),ni=ne("block","height","offsetHeight");function na({target:e,borderBoxSize:t}){a7.get(e)?.forEach(i=>{i(e,{get width(){return nt(e,t)},get height(){return ni(e,t)}})})}function nn(e){e.forEach(na)}let nr=new Set;function no(e,t){let n;return"function"==typeof e?(nr.add(e),a||(a=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};nr.forEach(t=>t(e))},window.addEventListener("resize",a)),()=>{nr.delete(e),nr.size||"function"!=typeof a||(window.removeEventListener("resize",a),a=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(nn)),(n=a8(e)).forEach(e=>{let a=a7.get(e);a||(a=new Set,a7.set(e,a)),a.add(t),i?.observe(e)}),()=>{n.forEach(e=>{let a=a7.get(e);a?.delete(t),a?.size||i?.unobserve(e)})})}let ns=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),nl=new Set(["INPUT","SELECT","TEXTAREA"]),nu=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function nd(e){return{point:{x:e.pageX,y:e.pageY}}}function nh(e,t,i,a){return aQ(e,t,e=>nu(e)&&i(e,nd(e)),a)}let nc=({current:e})=>e?e.ownerDocument.defaultView:null,nm=(e,t)=>Math.abs(e-t),nf=new Set(["auto","scroll"]);class np{constructor(e,t,{transformPagePoint:i,contextWindow:a=window,dragSnapToOrigin:n=!1,distanceThreshold:r=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=ng(this.lastRawMoveEventInfo,this.transformPagePoint));let i=nv(this.lastMoveEventInfo,this.history),a=null!==this.startEvent,n=(e=i.offset,t={x:0,y:0},Math.sqrt(nm(e.x,t.x)**2+nm(e.y,t.y)**2)>=this.distanceThreshold);if(!a&&!n)return;let{point:r}=i,{timestamp:o}=x;this.history.push({...r,timestamp:o});let{onStart:s,onMove:l}=this.handlers;a||(s&&s(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=ng(t,this.transformPagePoint),w.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:i,onSessionEnd:a,resumeAnimation:n}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=nv("pointercancel"===e.type?this.lastMoveEventInfo:ng(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,r),a&&a(e,r)},!nu(e))return;this.dragSnapToOrigin=n,this.handlers=t,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=a||window;const s=ng(nd(e),this.transformPagePoint),{point:l}=s,{timestamp:u}=x;this.history=[{...l,timestamp:u}];const{onSessionStart:d}=t;d&&d(e,nv(s,this.history));const h={passive:!0,capture:!0};this.removeListeners=E(nh(this.contextWindow,"pointermove",this.handlePointerMove,h),nh(this.contextWindow,"pointerup",this.handlePointerUp,h),nh(this.contextWindow,"pointercancel",this.handlePointerUp,h)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(nf.has(e.overflowX)||nf.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let i=e===window,a=i?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},n={x:a.x-t.x,y:a.y-t.y};(0!==n.x||0!==n.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=n.x,this.lastMoveEventInfo.point.y+=n.y):this.history.length>0&&(this.history[0].x-=n.x,this.history[0].y-=n.y),this.scrollPositions.set(e,a),w.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),M(this.updatePoint)}}function ng(e,t){return t?{point:t(e.point)}:e}function nb(e,t){return{x:e.x-t.x,y:e.y-t.y}}function nv({point:e},t){return{point:e,delta:nb(e,ny(t)),offset:nb(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,i=null,a=ny(e);for(;t>=0&&(i=e[t],!(a.timestamp-i.timestamp>R(.1)));)t--;if(!i)return{x:0,y:0};i===e[0]&&e.length>2&&a.timestamp-i.timestamp>
32*R(.1)&&(i=e[1]);let n=(a.timestamp-i.timestamp)/1e3;if(0===n)return{x:0,y:0};let r={x:(a.x-i.x)/n,y:(a.y-i.y)/n};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}(t)}}function ny(e){return e[e.length-1]}function nw(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function nM(e,t){let i=t.min-e.min,a=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,a]=[a,i]),{min:i,max:a}}function nx(e,t,i){return{min:nk(e,t),max:nk(e,i)}}function nk(e,t){return"number"==typeof e?e:e[t]||0}let nS=new WeakMap;class nP{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=tE(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:i}={}){let{presenceContext:a}=this.visualElement;if(a&&!1===a.isPresent)return;let n=e=>{t&&this.snapToCursor(nd(e).point),this.stopAnimation()},r=(e,t)=>{let{drag:i,dragPropagation:a,onDragStart:n}=this.getProps();if(i&&!a&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(aJ[e])return null;else return aJ[e]=!0,()=>{aJ[e]=!1};return aJ.x||aJ.y?null:(aJ.x=aJ.y=!0,()=>{aJ.x=aJ.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),aZ(e=>{let t=this.getAxisMotionValue(e).get()||0;if(J.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let a=i.layout.layoutBox[e];a&&(t=a0(a)*(parseFloat(t)/100))}}this.originPoint[e]=t}),n&&w.update(()=>n(e,t),!1,!0),aA(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:i,dragDirectionLock:a,onDirectionLock:n,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=t;if(a&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),r&&w.update(()=>r(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new np(e,{onSessionStart:n,onStart:r,onMove:o,onSessionEnd:s,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:nc(this.visualElement),element:this.visualElement.current})}stop(e,t){let i=e||this.latestPointerEvent,a=t||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!a||!i)return;let{velocity:r}=a;this.startAnimation(r);let{onDragEnd:o}=this.getProps();o&&w.postRender(()=>o(i,a))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,i){let{drag:a}=this.getProps();if(!i||!nA(e,a,this.currentDirection))return;let n=this.getAxisMotionValue(e),r=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(r=function(e,{min:t,max:i},a){return void 0!==t&&e<t?e=a?ep(t,e,a.min):Math.max(e,t):void 0!==i&&e>i&&(e=a?ep(i,e,a.max):Math.min(e,i)),e}(r,this.constraints[e],this.elastic[e])),n.set(r)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,a=this.constraints;e&&aw(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(e,{top:t,left:i,bottom:a,right:n}){return{x:nw(e.x,i,n),y:nw(e.y,t,a)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:nx(e,"left","right"),y:nx(e,"top","bottom")}}(t),a!==this.constraints&&!aw(e)&&i&&this.constraints&&!this.hasMutatedConstraints&&aZ(e=>{var t,a;let n;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=i.layoutBox[e],a=this.constraints[e],n={},void 0!==a.min&&(n.min=a.min-t.min),void 0!==a.max&&(n.max=a.max-t.min),n))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!aw(t))return!1;let a=t.current;j();let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;n.root&&(n.root.scroll=void 0,n.root.updateScroll());let r=function(e,t,i){let a=i5(e,i),{scroll:n}=t;return n&&(i1(a.x,n.offset.x),i1(a.y,n.offset.y)),a}(a,n.root,this.visualElement.getTransformPagePoint()),o=(e=n.layout.layoutBox,{x:nM(e.x,r.x),y:nM(e.
3y,r.y)});if(i){let e=i(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=iq(e))}return o}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:a,dragTransition:n,dragSnapToOrigin:r,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{};return Promise.all(aZ(o=>{if(!nA(o,t,this.currentDirection))return;let l=s&&s[o]||{};(!0===r||r===o)&&(l={min:0,max:0});let u={type:"inertia",velocity:i?e[o]:0,bounceStiffness:a?200:1e6,bounceDamping:a?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return aA(this.visualElement,e),i.start(aW(e,i,0,t,this.visualElement,!1))}stopAnimation(){aZ(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){aZ(t=>{let{drag:i}=this.getProps();if(!nA(t,i,this.currentDirection))return;let{projection:a}=this.visualElement,n=this.getAxisMotionValue(t);if(a&&a.layout){let{min:i,max:r}=a.layout.layoutBox[t],o=n.get()||0;n.set(e[t]-ep(i,r,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!aw(t)||!i||!this.constraints)return;this.stopAnimation();let a={x:0,y:0};aZ(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var i,n;let r,o,s,l=t.get();a[e]=(i={min:l,max:l},n=this.constraints[e],r=.5,o=a0(i),(s=a0(n))>o?r=e4(n.min,n.max-o,i.min):o>s&&(r=e4(i.min,i.max-s,n.min)),L(0,1,r))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),aZ(t=>{if(!nA(t,e,null))return;let i=this.getAxisMotionValue(t),{min:n,max:r}=this.constraints[t];i.set(ep(n,r,a[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;nS.set(this.visualElement,this);let t=this.visualElement.current,i=nh(t,"pointerdown",e=>{let{drag:i,dragListener:a=!0}=this.getProps(),n=e.target,r=n!==t&&(nl.has(n.tagName)||!0===n.isContentEditable);i&&a&&!r&&this.start(e)}),a=()=>{var i,a,n;let r,o,{dragConstraints:s}=this.getProps();aw(s)&&s.current&&(this.constraints=this.resolveRefConstraints(),e||(i=t,a=s.current,r=no(i,nT(n=()=>this.scalePositionWithinConstraints())),o=no(a,nT(n)),e=()=>{r(),o()}))},{projection:n}=this.visualElement,r=n.addEventListener("measure",a);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),w.read(a);let o=aQ(window,"resize",()=>this.scalePositionWithinConstraints()),s=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(aZ(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),i(),r(),s&&s(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:a=!1,dragConstraints:n=!1,dragElastic:r=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:a,dragConstraints:n,dragElastic:r,dragMomentum:o}}}function nT(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function nA(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}let nC=e=>(t,i)=>{e&&w.update(()=>e(t,i),!1,!0)},nE={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var nL=to;let nR=!1;class nF extends nL.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:a}=this.props,{projection:n}=e;n&&(t.group&&t.group.add(n),i&&i.register&&a&&i.register(n),nR&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),nE.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:a,isPresent:n}=this.props,{projection:r}=i;return r&&(r.isPresent=n,e.layoutDependency!==t&&r.setOptions({...r.options,layoutDependency:t}),nR=!0,a||e.layoutDependency!==t||void 0===t||e.isPresent!==n?r.willUpdate():this.safeToRemove(),e.isPresent!==n&&(n?r.promote():r.relegate()||w.postRender(()=>{let e=r.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:i}=e;i&&(i.options.layoutAnchor=t,i.root.didUpdate(),il.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:a}=e;nR=!0,a&&(a.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(a),i&&i.deregister&&i.deregister(a))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function nj(e){let[t,i]=function(e=!0){let t=(0,to.useContext)(ad);if(null===t)return[!0,null];let{isPresent:i,onExitComplete:a,register:n}=t,r=(0,to.useId)();(0,to.useEffect)(()=>
3{if(e)return n(r)},[e]);let o=(0,to.useCallback)(()=>e&&a&&a(r),[r,a,e]);return!i&&a?[!1,o]:[!0]}(),a=(0,nL.useContext)(i7);return(0,r.jsx)(nF,{...e,layoutGroup:a,switchLayoutGroup:(0,nL.useContext)(ay),isPresent:t,safeToRemove:i})}let nD=iO.length,nN=e=>"string"==typeof e?parseFloat(e):e,nI=e=>"number"==typeof e||ee.test(e);function n_(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let nB=nW(0,.5,eJ),nO=nW(.5,.95,b);function nW(e,t,i){return a=>a<e?0:a>t?1:i(e4(e,t,a))}function nz(e,t){e.min=t.min,e.max=t.max}function nH(e,t){nz(e.x,t.x),nz(e.y,t.y)}function nG(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function nU(e,t,i,a,n){return e-=t,e=a+1/i*(e-a),void 0!==n&&(e=a+1/n*(e-a)),e}function nV(e,t,[i,a,n],r,o){!function(e,t=0,i=1,a=.5,n,r=e,o=e){if(J.test(t)&&(t=parseFloat(t),t=ep(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let s=ep(r.min,r.max,a);e===r&&(s-=t),e.min=nU(e.min,t,i,s,n),e.max=nU(e.max,t,i,s,n)}(e,t[i],t[a],t[n],t.scale,r,o)}let nK=["x","scaleX","originX"],nq=["y","scaleY","originY"];function nY(e,t,i,a){nV(e.x,t,nK,i?i.x:void 0,a?a.x:void 0),nV(e.y,t,nq,i?i.y:void 0,a?a.y:void 0)}function nX(e){return 0===e.translate&&1===e.scale}function n$(e){return nX(e.x)&&nX(e.y)}function nZ(e,t){return e.min===t.min&&e.max===t.max}function nQ(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function nJ(e,t){return nQ(e.x,t.x)&&nQ(e.y,t.y)}function n0(e){return a0(e.x)/a0(e.y)}function n1(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class n2{constructor(){this.members=[]}add(e){c(this.members,e);for(let t=this.members.length-1;t>=0;t--){let i=this.members[t];if(i===e||i===this.lead||i===this.prevLead)continue;let a=i.instance;a&&!1!==a.isConnected||i.snapshot||(m(this.members,i),i.unmount())}e.scheduleRender()}remove(e){if(m(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.updateSnapshot(),e.scheduleRender();let{layoutDependency:a}=i.options,{layoutDependency:n}=e.options;(void 0===a||a!==n)&&(e.resumeFrom=i,t&&(i.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let n3=(e,t)=>e.depth-t.depth;class n4{constructor(){this.children=[],this.isDirty=!1}add(e){c(this.children,e),this.isDirty=!0}remove(e){m(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(n3),this.isDirty=!1,this.children.forEach(e)}}let n5=["","X","Y","Z"],n6=0;function n9(e,t,i,a){let{latestValues:n}=t;n[e]&&(i[e]=n[e],t.setStaticValue(e,0),a&&(a[e]=0))}function n8({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:a,resetTransform:n}){return class{constructor(e={},i=t?.()){this.id=n6++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
3{this.projectionUpdateScheduled=!1,this.nodes.forEach(rt),this.nodes.forEach(rd),this.nodes.forEach(rh),this.nodes.forEach(ri)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new n4)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new f),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let i=this.eventHandlers.get(e);i&&i.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=a9(t)&&!(a9(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:i,layout:a,visualElement:n}=this.options;if(n&&!n.current&&n.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(a||i)&&(this.isLayoutDirty=!0),e){let i,a=0,n=()=>this.root.updateBlockedByResize=!1;w.read(()=>{a=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==a){let t,r;a=e,this.root.updateBlockedByResize=!0,i&&i(),t=P.now(),r=({timestamp:e})=>{let i=e-t;i>=250&&(M(r),n())},w.setup(r,!0),i=()=>M(r),nE.hasAnimatedSinceResize&&(nE.hasAnimatedSinceResize=!1,this.nodes.forEach(ru))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||a)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:i,layout:a})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||n.getDefaultTransition()||rb,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=n.getProps(),l=!this.targetLayout||!nJ(this.targetLayout,a),u=!t&&i;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...aP(r,"layout"),onPlay:o,onComplete:s};(n.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u,t.path)}else t||ru(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=a})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),M(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(rc),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:i}=t.options;if(!i)return;let a=i.props[av];if(window.MotionHasOptimisedAnimation(a,"transform")){let{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(a,"transform",w,!(e||i))}let{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&e(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:i}=this.options;if(void 0===t&&!i)return;let a=this.getTransformTemplate();this.prevTransformTemplateValue=a?a(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEac
3h(rr),this.nodes.forEach(rn);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(ro);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(rs),this.nodes.forEach(rl),this.nodes.forEach(n7),this.nodes.forEach(re)):this.nodes.forEach(ro),this.clearAllSnapshots();let e=P.now();x.delta=L(0,1e3/60,e-x.timestamp),x.timestamp=e,x.isProcessing=!0,k.update.process(x),k.preRender.process(x),k.render.process(x),x.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,il.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ra),this.sharedNodes.forEach(rm)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,w.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){w.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||a0(this.snapshot.measuredBox.x)||a0(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=tE()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=a(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!n)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!n$(this.projectionDelta),i=this.getTransformTemplate(),a=i?i(this.latestValues,""):void 0,r=a!==this.prevTransformTemplateValue;e&&this.instance&&(t||i$(this.latestValues)||r)&&(n(this.instance,a),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let i=this.measurePageBox(),a=this.removeElementScroll(i);return e&&(a=this.removeTransform(a)),rw((t=a).x),rw(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:a,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return tE();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(rx))){let{scroll:e}=this.root;e&&(i1(t.x,e.offset.x),i1(t.y,e.offset.y))}return t}removeElementScroll(e){let t=tE();if(nH(t,e),this.scroll?.wasRoot)return t;for(let i=0;i<this.path.length;i++){let a=this.path[i],{scroll:n,options:r}=a;a!==this.root&&n&&r.layoutScroll&&(n.wasRoot&&nH(t,e),i1(t.x,n.offset.x),i1(t.y,n.offset.y))}return t}applyTransform(e,t=!1,i){let a=i||tE();nH(a,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(i1(a.x,-i.scroll.offset.x),i1(a.y,-i.scroll.offset.y)),i$(i.latestValues)&&i4(a,i.latestValues,i.layout?.layoutBox)}return i$(this.latestValues)&&i4(a,this.latestValues,this.layout?.layoutBox),a}removeTransform(e){let t=tE();nH(t,e);for(let e=0;e<this.path.length;e++){let i,a=this.path[e];i$(a.latestValues)&&(a.instance&&(iX(a.latestValues)&&a.updateSnapshot(),nH(i=tE(),a.measurePageBox())),nY(t,a.latestValues,a.snapshot?.layoutBox,i))}return i$(this.latestValues)&&nY(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==x.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
3isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==t;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:n}=this.options;if(!this.layout||!(a||n))return;this.resolvedRelativeTargetAt=x.timestamp;let r=this.getClosestProjectingParent();if(r&&this.linkedParentVersion!==r.layoutVersion&&!r.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&r&&r.layout?this.createRelativeTarget(r,this.layout.layoutBox,r.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=tE(),this.targetWithTransforms=tE()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,s,l,u;this.forceRelativeParentToResolveTarget(),o=this.target,s=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,a3(o.x,s.x,l.x,u?.x),a3(o.y,s.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):nH(this.target,this.layout.layoutBox),i0(this.target,this.targetDelta)):nH(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&r&&!!r.resumingFrom==!!this.resumingFrom&&!r.options.layoutScroll&&r.target&&1!==this.animationProgress?this.createRelativeTarget(r,this.target,r.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||iX(this.parent.latestValues)||iZ(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,i){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tE(),this.relativeTargetOrigin=tE(),a5(this.relativeTargetOrigin,t,i,this.options.layoutAnchor||void 0),nH(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===x.timestamp&&(i=!1),i)return;let{layout:a,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(a||n))return;nH(this.layoutCorrected,this.layout.layoutBox);let r=this.treeScale.x,o=this.treeScale.y;!function(e,t,i,a=!1){let n,r,o=i.length;if(o){t.x=t.y=1;for(let s=0;s<o;s++){r=(n=i[s]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(a&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(i1(e.x,-n.scroll.offset.x),i1(e.y,-n.scroll.offset.y)),r&&(t.x*=r.x.scale,t.y*=r.y.scale,i0(e,r)),a&&i$(n.latestValues)&&i4(e,n.latestValues,n.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=tE());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nG(this.prevProjectionDelta.x,this.projectionDelta.x),nG(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),a2(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.treeScale.x===r&&this.treeScale.y===o&&n1(this.projectionDelta.x,this.prevProjectionDelta.x)&&n1(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=tA(),this.projectionDelta=tA(),this.projectionDeltaWithTransform=tA()}setAnimationOrigin(e,t=!1,i){let a,n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},s=tA();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let l=tE(),u=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),d=this.getStack(),h=!d||d.members.length<=1,c=!!(u&&!h&&
3!0===this.options.crossfade&&!this.path.some(rg));this.animationProgress=0;let m=i?.interpolateProjection(e);this.mixTargetDelta=t=>{let i=t/1e3,n=m?.(i);if(n?(s.x.translate=n.x,s.x.scale=ep(e.x.scale,1,i),s.x.origin=e.x.origin,s.x.originPoint=e.x.originPoint,s.y.translate=n.y,s.y.scale=ep(e.y.scale,1,i),s.y.origin=e.y.origin,s.y.originPoint=e.y.originPoint):(rf(s.x,e.x,i),rf(s.y,e.y,i)),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var d,f,p,g,b,v;a5(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),p=this.relativeTarget,g=this.relativeTargetOrigin,b=l,v=i,rp(p.x,g.x,b.x,v),rp(p.y,g.y,b.y,v),a&&(d=this.relativeTarget,f=a,nZ(d.x,f.x)&&nZ(d.y,f.y))&&(this.isProjectionDirty=!1),a||(a=tE()),nH(a,this.relativeTarget)}u&&(this.animationValues=o,function(e,t,i,a,n,r){n?(e.opacity=ep(0,i.opacity??1,nB(a)),e.opacityExit=ep(t.opacity??1,0,nO(a))):r&&(e.opacity=ep(t.opacity??1,i.opacity??1,a));for(let n=0;n<nD;n++){let r=iO[n],o=n_(t,r),s=n_(i,r);(void 0!==o||void 0!==s)&&(o||(o=0),s||(s=0),0===o||0===s||nI(o)===nI(s)?(e[r]=Math.max(ep(nN(o),nN(s),a),0),(J.test(s)||J.test(o))&&(e[r]+="%")):e[r]=s)}(t.rotate||i.rotate)&&(e.rotate=ep(t.rotate||0,i.rotate||0,a))}(o,r,this.latestValues,i,c,h)),n&&void 0!==n.rotate&&(this.animationValues||(this.animationValues=o),this.animationValues.pathRotation=n.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(M(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=w.update(()=>{var t,i,a;let n;nE.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=C(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,i=[0,1e3],a={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}},(n=tn(t)?t:C(t)).start(aW("",n,i,a)),n.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:i,layout:a,latestValues:n}=e;if(t&&i&&a){if(this!==e&&this.layout&&a&&rM(this.options.animationType,this.layout.layoutBox,a.layoutBox)){i=this.target||tE();let t=a0(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let a=a0(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+a}nH(t,i),i4(t,n),a2(this.projectionDeltaWithTransform,this.layoutCorrected,t,n)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new n2),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:i}={}){let a=this.getStack();a&&a.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(t=!0),!t)return;let a={};i.z&&n9("z",e,a,this.animationValues);for(let t=0;t<n5.length;t++)n9(`rotate${n5[t]}`,e,a,this.animationValues),n9(`skew${n5[t]}`,e,a,this.animationValues);for(let t in e.render(),a)e.setStaticValue(t,a[t]),this.animationValues&&(this.animationValues[t]=a[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=au(t?.pointerEvents)||"",e.transform=i?i(this.latestValues,""):"none";return}let a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=au(t?.pointerEvents)||""),this.hasProjected&&!i$(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1);return}e.visibility="";let n=a.animationValues||a.latestValues;this.applyTransformsToTarget();let r=function(e,t,i){let a="",n=e.x.translate/t.x,r=e.y.translate/t.y,o=i?.z||0;if((n||r||o)&&(a=`translate3d(${n}px, ${r}px, ${o}px) `),(1!==t.x||1!==t.y)&&(a+=`scale(${1/t.x}, ${1/t.y}) `),i){let{transformPerspective:e,rotate:t,pathRotation:n,rotateX:r,rotateY:o,skewX:s,skewY:l}=i;e&&(a=`perspective(${e}px) ${a}`),t&&(a+=`rotate(${t}deg) `),n&&(a+=`rotate(${n}deg) `),r&&(a+=`rotateX(${r}deg) `),o&&(a+=`rotateY(${o}deg) `),s&&(a+=`skewX(${s}deg) `),l&&(a+=`skewY(${l}deg) `)}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==s||1!==l)&&(a+=`scale(${s}, ${l})`),a||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(r=i(n,r)),e.transform=r;let{x:o,y:s}=this.projectionDelta;for(let t in e.transformOrigin=`${100*o.origin}% ${100*s.origin}% 0`,a.animationValues?e.opacity=a===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:e.opacity=a===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,iH){if(void 0===n[t])continue;let{correct:i,applyTo:o,isCSSVariable:s}=iH[t],l="none"===r?n[t]:i(n[t],a);
3if(o){let t=o.length;for(let i=0;i<t;i++)e[o[i]]=l}else s?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=a===this?au(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(rn),this.root.sharedNodes.clear()}}}function n7(e){e.updateLayout()}function re(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:a}=e.layout,{animationType:n}=e.options,r=t.source!==e.layout.source;if("size"===n)aZ(e=>{let a=r?t.measuredBox[e]:t.layoutBox[e],n=a0(a);a.min=i[e].min,a.max=a.min+n});else if("x"===n||"y"===n){let e="x"===n?"y":"x";nz(r?t.measuredBox[e]:t.layoutBox[e],i[e])}else rM(n,t.layoutBox,i)&&aZ(a=>{let n=r?t.measuredBox[a]:t.layoutBox[a],o=a0(i[a]);n.max=n.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[a].max=e.relativeTarget[a].min+o)});let o=tA();a2(o,i,t.layoutBox);let s=tA();r?a2(s,e.applyTransform(a,!0),t.measuredBox):a2(s,i,t.layoutBox);let l=!n$(o),u=!1;if(!e.resumeFrom){let a=e.getClosestProjectingParent();if(a&&!a.resumeFrom){let{snapshot:n,layout:r}=a;if(n&&r){let o=e.options.layoutAnchor||void 0,s=tE();a5(s,t.layoutBox,n.layoutBox,o);let l=tE();a5(l,i,r.layoutBox,o),nJ(s,l)||(u=!0),a.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=s,e.relativeParent=a)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function rt(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function ri(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ra(e){e.clearSnapshot()}function rn(e){e.clearMeasurements()}function rr(e){e.isLayoutDirty=!0,e.updateLayout()}function ro(e){e.isLayoutDirty=!1}function rs(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function rl(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ru(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function rd(e){e.resolveTargetDelta()}function rh(e){e.calcProjection()}function rc(e){e.resetSkewAndRotation()}function rm(e){e.removeLeadSnapshot()}function rf(e,t,i){e.translate=ep(t.translate,0,i),e.scale=ep(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function rp(e,t,i,a){e.min=ep(t.min,i.min,a),e.max=ep(t.max,i.max,a)}function rg(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let rb={duration:.45,ease:[.4,0,.1,1]},rv=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ry=rv("applewebkit/")&&!rv("chrome/")?Math.round:b;function rw(e){e.min=ry(e.min),e.max=ry(e.max)}function rM(e,t,i){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(n0(t)-n0(i)))}function rx(e){return e!==e.root&&e.scroll?.wasRoot}let rk=n8({attachResizeListener:(e,t)=>aQ(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),rS={current:void 0},rP=n8({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!rS.current){let e=new rk({});e.mount(window),e.setOptions({layoutScroll:!0}),rS.current=e}return rS.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function rT(e,t){let i=a8(e),a=new AbortController;return[i,{passive:!0,...t,signal:a.signal},()=>a.abort()]}function rA(e,t,i){let{props:a}=e;e.animationState&&a.whileHover&&e.animationState.setActive("whileHover","Start"===i);let n=a["onHover"+i];n&&w.postRender(()=>n(t,nd(t)))}let rC=(e,t)=>!!t&&(e===t||rC(e,t.parentElement)),rE=new WeakSet;function rL(e){return t=>{"Enter"===t.key&&e(t)}}function rR(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function rF(e){return nu(e)&&!(aJ.x||aJ.y)}let rj=new WeakSet;function rD(e,t,i){let{props:a}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&a.whileTap&&e.animationState.setActive("whileTap","Start"===i);
3let n=a["onTap"+("End"===i?"":i)];n&&w.postRender(()=>n(t,nd(t)))}let rN=new WeakMap,rI=new WeakMap,r_=e=>{let t=rN.get(e.target);t&&t(e)},rB=e=>{e.forEach(r_)},rO={some:0,all:1},rW=function(e,t){if("u"<typeof Proxy)return aM;let i=new Map,a=(i,a)=>aM(i,a,e,t);return new Proxy((e,t)=>a(e,t),{get:(n,r)=>"create"===r?a:(i.has(r)||i.set(r,aM(r,void 0,e,t)),i.get(r))})}({animation:{Feature:class extends ax{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:i})=>(function(e,t,i={}){let a;if(e.notify("AnimationStart",t),Array.isArray(t))a=Promise.all(t.map(t=>aG(e,t,i)));else if("string"==typeof t)a=aG(e,t,i);else{let n="function"==typeof t?ak(e,t,i.custom):t;a=Promise.all(az(e,n,i))}return a.then(()=>{e.notify("AnimationComplete",t)})})(e,t,i))),i=aX(),a=!0,n=!1,r=t=>(i,a)=>{let n=ak(e,a,"exit"===t?e.presenceContext?.custom:void 0);if(n){let{transition:e,transitionEnd:t,...a}=n;i={...i,...a,...t}}return i};function o(o){let{props:s}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let i=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(i.initial=t.props.initial),i}let i={};for(let e=0;e<aU;e++){let a=ip[e],n=t.props[a];(ic(n)||!1===n)&&(i[a]=n)}return i}(e.parent)||{},u=[],d=new Set,h={},c=1/0;for(let t=0;t<aq;t++){var m,f;let p=aK[t],g=i[p],b=void 0!==s[p]?s[p]:l[p],v=ic(b),y=p===o?g.isActive:null;!1===y&&(c=t);let w=b===l[p]&&b!==s[p]&&v;if(w&&(a||n)&&e.manuallyAnimateOnMount&&(w=!1),g.protectedKeys={...h},!g.isActive&&null===y||!b&&!g.prevProp||ih(b)||"boolean"==typeof b)continue;if("exit"===p&&g.isActive&&!0!==y){g.prevResolvedValues&&(h={...h,...g.prevResolvedValues});continue}let M=(m=g.prevProp,"string"==typeof(f=b)?f!==m:!!Array.isArray(f)&&!aV(f,m)),x=M||p===o&&g.isActive&&!w&&v||t>c&&v,k=!1,S=Array.isArray(b)?b:[b],P=S.reduce(r(p),{});!1===y&&(P={});let{prevResolvedValues:T={}}=g,A={...T,...P},C=t=>{x=!0,d.has(t)&&(k=!0,d.delete(t)),g.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in A){let t=P[e],i=T[e];if(!h.hasOwnProperty(e))(aT(t)&&aT(i)?!aV(t,i)||M:t!==i)?null!=t?C(e):d.add(e):void 0!==t&&d.has(e)?C(e):g.protectedKeys[e]=!0}g.prevProp=b,g.prevResolvedValues=P,g.isActive&&(h={...h,...P}),(a||n)&&e.blockInitialAnimation&&(x=!1);let E=w&&M,L=!E||k;x&&L&&u.push(...S.map(t=>{let i={type:p};if("string"==typeof t&&(a||n)&&!E&&e.manuallyAnimateOnMount&&e.parent){let{parent:a}=e,n=ak(a,t);if(a.enteringChildren&&n){let{delayChildren:t}=n.transition||{};i.delay=aH(a.enteringChildren,e,t)}}return{animation:t,options:i}}))}if(d.size){let t={};if("boolean"!=typeof s.initial){let i=ak(e,Array.isArray(s.initial)?s.initial[0]:s.initial);i&&i.transition&&(t.transition=i.transition)}d.forEach(i=>{let a=e.getBaseTarget(i),n=e.getValue(i);n&&(n.liveStyle=!0),t[i]=a??null}),u.push({animation:t})}let p=!!u.length;return a&&(!1===s.initial||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),a=!1,n=!1,p?t(u):Promise.resolve()}return{animateChanges:o,setActive:function(t,a){if(i[t].isActive===a)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,a)),i[t].isActive=a;let n=o(t);for(let e in i)i[e].protectedKeys={};return n},setAnimateFunction:function(i){t=i(e)},getState:()=>i,reset:()=>{i=aX(),n=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();ih(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends ax{constructor(){super(...arguments),this.id=a$++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;if(e&&!1===i){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)){let i=ak(this.node,e,t);if(i){let{transition:e,transitionEnd:t,...a}=i;for(let e in a)this.node.getValue(e)?.jump(a[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let a=this.node.animationState.setActive("exit",!e);t&&!e&&a.then(()=>
3{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends ax{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:a,margin:n,amount:r="some",once:o}=i,s={root:a?a.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:rO[r]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,o&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:a}=this.node.getProps(),n=t?i:a;n&&n(e)};this.stopObserver=(e=this.node.current,t=function({root:e,...t}){let i=e||document;rI.has(i)||rI.set(i,{});let a=rI.get(i),n=JSON.stringify(t);return a[n]||(a[n]=new IntersectionObserver(rB,{root:e,...t})),a[n]}(s),rN.set(e,l),t.observe(e),()=>{rN.delete(e),t.unobserve(e)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends ax{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:i}=this.node.props;this.unmount=function(e,t,i={}){let[a,n,r]=rT(e,i),o=e=>{let a=e.currentTarget;if(!rF(e)||rj.has(e))return;rE.add(a),i.stopPropagation&&rj.add(e);let r=t(a,e),o={...n,capture:!0},s=(e,t)=>{window.removeEventListener("pointerup",l,o),window.removeEventListener("pointercancel",u,o),rE.has(a)&&rE.delete(a),rF(e)&&"function"==typeof r&&r(e,{success:t})},l=e=>{s(e,a===window||a===document||i.useGlobalTarget||rC(a,e.target))},u=e=>{s(e,!1)};window.addEventListener("pointerup",l,o),window.addEventListener("pointercancel",u,o)};return a.forEach(e=>{(i.useGlobalTarget?window:e).addEventListener("pointerdown",o,n),a6(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)&&(e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let a=rL(()=>{if(rE.has(i))return;rR(i,"down");let e=rL(()=>{rR(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>rR(i,"cancel"),t)});i.addEventListener("keydown",a,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",a),t)})(e,n)),ns.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),r}(e,(e,t)=>(rD(this.node,t,"Start"),(e,{success:t})=>rD(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends ax{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=E(aQ(this.node.current,"focus",()=>this.onFocus()),aQ(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends ax{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[a,n,r]=rT(e,i);return a.forEach(e=>{let i,a=!1,r=!1,o=t=>{i&&(i(t),i=void 0),e.removeEventListener("pointerleave",l)},s=e=>{a=!1,window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",s),r&&(r=!1,o(e))},l=e=>{if("touch"!==e.pointerType){if(a){r=!0;return}o(e)}};e.addEventListener("pointerenter",a=>{if("touch"===a.pointerType||aJ.x||aJ.y)return;r=!1;let o=t(e,a);"function"==typeof o&&(i=o,e.addEventListener("pointerleave",l,n))},n),e.addEventListener("pointerdown",()=>{a=!0,window.addEventListener("pointerup",s,n),window.addEventListener("pointercancel",s,n)},n)}),r}(e,(e,t)=>(rA(this.node,t,"Start"),e=>rA(this.node,e,"End"))))}unmount(){}}},pan:{Feature:class extends ax{constructor(){super(...arguments),this.removePointerDownListener=b}onPointerDown(e){this.session=new np(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nc(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:a}=this.node.getProps();return{onSessionStart:nC(e),onStart:nC(t),onMove:nC(i),onEnd:(e,t)=>{delete this.session,a&&w.postRender(()=>a(e,t))}}}mount(){this.removePointerDownListener=nh(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends ax{constructor(e){super(e),this.removeGroupControls=b,this.removeListeners=b,this.controls=new nP(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||b}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:rP,MeasureLayout:nj},layout:{ProjectionNode:rP,MeasureLayout:nj}},(e,t)=>t.isSVG??i8(e)?new iK(t):new i6(t,{allowProjection:e!==to.Fragment})).div;e.s(["AnimatedDiv",0,rW],476280);let rz=(0,e.i(874822).default)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);var rH=e.i(612536),rG=e.i(175379);let rU=({value:e=0,change:t=0,label:i,tooltip:a,reverseColors:n=!1,formatValue:o=rG.formatNumber,showLabel:s=!0,showChange:l=!1})=>{let u=e-t,h=0!==u?(e-u)/u*100:100*(0!==e),c=Number(e)||0,m=Number(h)||0,f=tf(0,{stiffness:170,damping:26}),p=tf(0,{stiffness:170,damping:26}),g=tc(f,e=>
3o(e)),b=tc(p,e=>`${Math.abs(~~e)}%`);return(0,to.useEffect)(()=>{f.set(c)},[c,f]),(0,to.useEffect)(()=>{p.set(m)},[m,p]),(0,r.jsxs)(d.Column,{justifyContent:"center",paddingX:"6",paddingY:"4",borderRadius:!0,backgroundColor:"surface-base",border:!0,gap:"4",children:[s&&(0,r.jsxs)(d.Row,{justifyContent:"space-between",alignItems:"flex-start",children:[(0,r.jsx)(d.Text,{weight:"bold",wrap:"nowrap",children:i}),a&&(0,r.jsxs)(d.TooltipTrigger,{delay:0,children:[(0,r.jsx)(d.Button,{size:"sm",variant:"quiet",children:(0,r.jsx)(d.Icon,{size:"sm",children:(0,r.jsx)(rz,{})})}),(0,r.jsx)(d.Tooltip,{placement:"top",children:a})]})]}),(0,r.jsx)(d.Text,{size:"4xl",weight:"bold",wrap:"nowrap",children:(0,r.jsx)(rW,{title:e?.toString(),children:g})}),l&&(0,r.jsx)(rH.ChangeLabel,{value:t,title:o(t),reverseColors:n,children:(0,r.jsx)(rW,{children:b})})]})};function rV({children:e,...t}){return(0,r.jsx)(d.Grid,{columns:"repeat(auto-fit, minmax(160px, 1fr))",gap:!0,...t,children:e})}function rK({linkId:e}){let{isAllTime:t}=(0,s.useDateRange)(),{t:i,labels:a}=(0,l.useMessages)(),{data:n,isLoading:d,isFetching:h,error:c}=(0,u.useWebsiteStatsQuery)({websiteId:e}),{pageviews:m,visitors:f,visits:p,comparison:g}=n||{},b=n?[{value:f,label:i(a.visitors),change:f-g.visitors,formatValue:rG.formatLongNumber},{value:p,label:i(a.visits),change:p-g.visits,formatValue:rG.formatLongNumber},{value:m,label:i(a.views),change:m-g.pageviews,formatValue:rG.formatLongNumber}]:null;return(0,r.jsx)(o.LoadingPanel,{data:b,isLoading:d,isFetching:h,error:c,minHeight:"136px",children:(0,r.jsx)(rV,{children:b?.map(({label:e,value:i,prev:a,change:n,formatValue:o,reverseColors:s})=>(0,r.jsx)(rU,{value:i,previousValue:a,label:e,change:n,formatValue:o,reverseColors:s,showChange:!t},e))})})}function rq({pixelId:e}){let{isAllTime:t}=(0,s.useDateRange)(),{t:i,labels:a}=(0,l.useMessages)(),{data:n,isLoading:d,isFetching:h,error:c}=(0,u.useWebsiteStatsQuery)({websiteId:e}),{pageviews:m,visitors:f,visits:p,comparison:g}=n||{},b=n?[{value:f,label:i(a.visitors),change:f-g.visitors,formatValue:rG.formatLongNumber},{value:p,label:i(a.visits),change:p-g.visits,formatValue:rG.formatLongNumber},{value:m,label:i(a.views),change:m-g.pageviews,formatValue:rG.formatLongNumber}]:null;return(0,r.jsx)(o.LoadingPanel,{data:b,isLoading:d,isFetching:h,error:c,minHeight:"136px",children:(0,r.jsx)(rV,{children:b?.map(({label:e,value:i,prev:a,change:n,formatValue:o,reverseColors:s})=>(0,r.jsx)(rU,{value:i,previousValue:a,label:e,change:n,formatValue:o,reverseColors:s,showChange:!t},e))})})}e.s(["MetricCard",0,rU],173568),e.s(["MetricsBar",0,rV],912285),e.s(["PixelMetricsBar",()=>rq],374515),e.s(["BoardGoal",()=>r7],546414);var rY=e.i(186802),rX=e.i(997888),r$=e.i(648566);e.s(["Goal",()=>r8],390015);var rZ=e.i(666369),rQ=e.i(237244),rJ=e.i(440889),r0=e.i(813692),r1=e.i(843784);e.i(284237);var r2=e.i(476662);e.s(["GoalEditForm",()=>r9],738098);var r3=e.i(435150),r4=e.i(300471),r5=e.i(75859),r6=e.i(987244);function r9({id:e,websiteId:t,onSave:i,onClose:a}){let{t:n,labels:o}=(0,l.useMessages)(),{isMobile:s}=(0,r3.useMobile)(),{data:u}=(0,r$.useReportQuery)(e),{mutateAsync:h,error:c,isPending:m,touch:f}=(0,r4.useUpdateQuery)(`/reports${e?`/${e}`:""}`),p=async n=>{await h({...n,type:"goal",websiteId:t},{onSuccess:async()=>{e&&f(`report:${e}`),f("reports:goal"),i?.(),a?.()}})};return e&&!u?(0,r.jsx)(d.Loading,{placement:"absolute"}):(0,r.jsx)(d.Form,{onSubmit:p,error:c?.message,defaultValues:u||{name:"",parameters:{type:"path",value:""}},children:({watch:e})=>{let i=e("parameters.type");return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.FormField,{name:"name",label:n(o.name),rules:{required:n(o.required)},children:(0,r.jsx)(d.TextField,{autoFocus:!0})}),(0,r.jsxs)(d.Column,{children:[(0,r.jsx)(d.Label,{children:n(o.action)}),s?(0,r.jsxs)(d.Column,{gap:!0,style:{minWidth:0},children:[(0,r.jsx)(d.FormField,{name:"parameters.type",rules:{required:n(o.required)},children:(0,r.jsx)(r5.ActionSelect,{})}),(0,r.jsx)(d.FormField,{name:"parameters.value",rules:{required:n(o.required)},children:({field:e})=>(0,r.jsx)(r6.LookupField,{websiteId:t,type:i,...e})})]}):(0,r.jsxs)(d.Grid,{columns:"260px 1fr",gap:!0,children:[(0,r.jsx)(d.
3Column,{style:{minWidth:0},children:(0,r.jsx)(d.FormField,{name:"parameters.type",rules:{required:n(o.required)},children:(0,r.jsx)(r5.ActionSelect,{})})}),(0,r.jsx)(d.Column,{style:{minWidth:0},children:(0,r.jsx)(d.FormField,{name:"parameters.value",rules:{required:n(o.required)},children:({field:e})=>(0,r.jsx)(r6.LookupField,{websiteId:t,type:i,...e})})})]})]}),(0,r.jsxs)(d.FormButtons,{children:[(0,r.jsx)(d.Button,{onPress:a,isDisabled:m,children:n(o.cancel)}),(0,r.jsx)(d.FormSubmitButton,{children:n(o.save)})]})]})}})}function r8({id:e,name:t,type:i,parameters:a,websiteId:n,startDate:s,endDate:u,allowEdit:h=!0}){let{t:c,labels:m}=(0,l.useMessages)(),{pathname:f}=(0,rZ.useNavigation)(),p=f.includes("/share/"),{data:g,error:b,isLoading:v,isFetching:y}=(0,rQ.useResultQuery)(i,{websiteId:n,startDate:s,endDate:u,...a}),w=a?.type==="path";return(0,r.jsxs)(d.Grid,{gap:!0,children:[(0,r.jsxs)(d.Grid,{columns:"1fr auto",gap:!0,children:[(0,r.jsx)(d.Column,{gap:!0,children:(0,r.jsx)(d.Row,{children:(0,r.jsx)(d.Text,{size:"lg",weight:"bold",children:t})})}),h&&!p&&(0,r.jsx)(d.Column,{children:(0,r.jsx)(r1.ReportEditButton,{id:e,name:t,type:i,title:c(m.goal),minWidth:"400px",minHeight:"300px",children:({close:t})=>(0,r.jsx)(r9,{id:e,websiteId:n,onClose:t})})})]}),(0,r.jsxs)(o.LoadingPanel,{data:g,isLoading:v,isFetching:y,error:b,children:[(0,r.jsxs)(d.Row,{alignItems:"center",justifyContent:"space-between",gap:!0,children:[(0,r.jsx)(d.Text,{color:"muted",children:c(w?m.viewedPage:m.triggeredEvent)}),(0,r.jsx)(d.Text,{color:"muted",children:c(m.conversionRate)})]}),(0,r.jsxs)(d.Row,{alignItems:"center",justifyContent:"space-between",gap:!0,children:[(0,r.jsxs)(d.Row,{alignItems:"center",gap:!0,children:[(0,r.jsx)(d.Icon,{children:"path"===a.type?(0,r.jsx)(rJ.File,{}):(0,r.jsx)(r2.Lightning,{})}),(0,r.jsx)(d.Text,{children:a.value})]}),(0,r.jsxs)(d.Row,{alignItems:"center",gap:!0,children:[(0,r.jsx)(d.Icon,{children:(0,r.jsx)(r0.User,{})}),(0,r.jsx)(d.Text,{title:`${g?.num} / ${g?.total}`,children:`${(0,rG.formatLongNumber)(g?.num)} / ${(0,rG.formatLongNumber)(g?.total)}`})]})]}),(0,r.jsxs)(d.Row,{alignItems:"center",gap:"6",children:[(0,r.jsx)(d.ProgressBar,{value:g?.num||0,min:0,max:g?.total||1,style:{width:"100%"}}),(0,r.jsxs)(d.Text,{weight:"bold",size:"4xl",children:[g?.total?Math.round(g?.num/g?.total*100):"0","%"]})]})]})]})}function r7({websiteId:e,reportId:t,isPreview:i}){let{dateRange:{startDate:a,endDate:n}}=(0,s.useDateRange)(),{data:l,isLoading:u,error:h,isFetching:c}=(0,r$.useReportQuery)(t||"");return t?l&&("goal"!==l.type||l.websiteId!==e)?(0,r.jsx)(rY.EmptyPlaceholder,{title:"Goal unavailable",description:"This saved goal is no longer available for the selected website."}):(0,r.jsx)(o.LoadingPanel,{data:l,isLoading:u,isFetching:c,error:h,children:l?(0,r.jsx)(r8,{id:l.id,name:l.name,type:l.type,parameters:l.parameters,websiteId:e,startDate:a,endDate:n,allowEdit:!1}):(0,r.jsx)(d.Text,{color:"muted",children:"Goal unavailable"})}):(0,r.jsx)(rY.EmptyPlaceholder,{...i?{title:"Select a goal",description:"Choose a saved goal to preview."}:{icon:(0,r.jsx)(rX.Link2Off,{}),title:"Reconnect goal",description:"Choose a goal for this website."}})}},855463,370837,e=>{"use strict";var t=e.i(361560),i=e.i(949381),a=e.i(866988),n=e.i(700519),r=e.i(999579),o=e.i(939850);function s(e,t){let{get:i,useQuery:a}=(0,r.useApi)(),{modified:s}=(0,o.useModified)(`website:${e}`);return a({queryKey:["website",{websiteId:e,modified:s}],queryFn:()=>i(`/websites/${e}`),enabled:!!e,placeholderData:n.keepPreviousData,...t})}e.s(["useWebsiteQuery",0,s],370837);let l=(0,a.createContext)(null);e.s(["WebsiteContext",0,l,"WebsiteProvider",0,function({websiteId:e,children:a}){let{data:n,isFetching:r,isLoading:o}=s(e);return r&&o?(0,t.jsx)(i.Loading,{placement:"absolute"}):n?(0,t.jsx)(l.Provider,{value:n,children:a}):null}],855463)},622199,987244,199128,19981,e=>{"use strict";e.s(["BoardFunnel",()=>B],622199);var t=e.i(361560),i=e.i(949381),a=e.i(186802),n=e.i(669712),r=e.i(997888),o=e.i(648566);e.s(["Funnel",()=>_],19981),e.i(685521);var s=e.i(223351),l=e.i(666369),u=e.i(480968),d=e.i(237244),h=e.i(440889),c=e.i(813692),m=e.i(843784),f=e.i(612536);e.i(284237);var p=e.i(476662),g=e.i(175379);e.s(["FunnelEditForm",()=>I],199128);var b=e.i(866988),v=e.i(999579),y=e.i(435150),w=e.i(300471),M=e.i(379702),x=e.i(417368),k=e.i(75859);e.s(["LookupField",()=>E],987244);var S=e.i(617679),P=e.i(347349),T=e.i(83303),A=e.i(785413),C=e.i(711601);function E({websiteId:e,type:a,value:n,onChange:r,onValueChange:o,...l}){let{t:u,messages:d}=(0,s.useMessages)(),[h,c]=(0,b.useState)(n),m=(0,i.useDebounce)(h,300),f=(0,P.subMonths)((0,S.endOfDay)(new Date),6),p=(0,S.endOfDay)(new Date),{data:g,isLoading:v}=(0,C.useWebsiteValuesQuery)({websiteId:e,type:a,search:m,startDate:f,endDate:p}),y=(0,b.useMemo)(()=>g?.map(({value:e})=>e)||[],[g]);return(0,t.jsx)(T.ComboBox,{"aria-label":"LookupField",...l,items:y,inputValue:n,onInputValueChange:e=>{c(e),r?.(e),o?.(e)},renderEmptyState:()=>v?(0,t.jsx)(i.Loading,{placement:"center",icon:"dots"}):(0,t.jsx)(A.Empty,{message:u(d.noResultsFound)}),children:y.map(e=>(0,t.jsx)(i.ListItem,{id:e,children:e},e))})}function L(){return{startAt:+(0,P.subMonths)((0,S.endOfDay)(new Date),6),endAt:+(0,S.endOfDay)(new Date)}}function R({websiteId:e,eventName:a,value:n,onChange:r,onPropertyChange:o}){let{get:l,useQuery:u}=(0,v.useApi)(),{t:d,messages:h}=(0,s.useMessages)(),[c,m]=(0,b.useState)(n??""),f=(0,i.useDebounce)(c,300),{startAt:p,endAt:g}=L(),{data:y,isLoading:w}=u({queryKey:["event-data:properties",{websiteId:e,eventName:a,searchValue:f,startAt:p,endAt:g}],queryFn:()=>l(`/websites/${e}/event-data/properties`,{startAt:p,endAt:g,...a?{event:a}:{},...f?{propertyName:f}:{}}),enabled:!!e}),M=Array.from(new Set(y?.map(e=>e.propertyName)??[]));return(0,t.jsx)(T.ComboBox,{"aria-label":"PropertySelect",items:M,inputValue:n,onInputValueChange:e=>{m(e),r?.(e),o?.(e)},renderEmptyState:()=>w?(0,t.jsx)(i.Loading,{placement:"center",icon:"dots"}):(0,t.jsx)(A.Empty,{message:d(h.noResultsFound)}),children:M.map(e=>(0,t.jsx)(i.ListItem,{id:e,children:e},e))})}function F({websiteId:e,eventName:a,propertyName:n,value:r,onChange:o}){let{get:l,useQuery:u}=(0,v.useApi)(),{t:d,messages:h}=(0,s.useMessages)(),{startAt:c,endAt:m}=L(),{data:f,isLoading:p}=u({queryKey:["event-data:values",{websiteId:e,eventName:a,propertyName:n,startAt:c,endAt:m}],queryFn:()=>l(`/websites/${e}/event-data/values`,{startAt:c,endAt:m,event:a,propertyName:n}),enabled:!!(e&&a&&n)}),g=f?.map(e=>e.value)??[];return(0,t.jsx)(T.ComboBox,{"aria-label":"ValueSelect",items:g,inputValue:r,onInputValueChange:e=>{o?.(e)},renderEmptyState:()=>p?(0,t.jsx)(i.Loading,{placement:"center",icon:"dots"}):(0,t.jsx)(A.Empty,{message:d(h.noResultsFound)}),children:g.map(e=>(0,t.jsx)(i.ListItem,{id:e,children:e},e))})}function j({value:e="eq",onChange:a}){let{t:n,labels:r}=(0,s.useMessages)();
3return(0,t.jsxs)(i.Select,{value:e,onChange:e=>a?.(e),children:[(0,t.jsx)(i.ListItem,{id:"eq",children:n(r.is)}),(0,t.jsx)(i.ListItem,{id:"neq",children:n(r.isNot)}),(0,t.jsx)(i.ListItem,{id:"c",children:n(r.contains)}),(0,t.jsx)(i.ListItem,{id:"dnc",children:n(r.doesNotContain)})]})}function D({stepIndex:e,filterIndex:a,websiteId:n,eventName:r,initialProperty:o,onRemove:l}){let{t:u,labels:d}=(0,s.useMessages)(),{isMobile:h}=(0,y.useMobile)(),[c,m]=(0,b.useState)(o??"");return h?(0,t.jsxs)(i.Grid,{columns:"1fr auto",gap:!0,alignItems:"start",children:[(0,t.jsxs)(i.Column,{gap:!0,children:[(0,t.jsx)(i.FormField,{name:`steps.${e}.filters.${a}.property`,rules:{required:u(d.required)},children:(0,t.jsx)(R,{websiteId:n,eventName:r,onPropertyChange:e=>m(e)})}),(0,t.jsx)(i.FormField,{name:`steps.${e}.filters.${a}.operator`,children:(0,t.jsx)(j,{})}),(0,t.jsx)(i.FormField,{name:`steps.${e}.filters.${a}.value`,children:(0,t.jsx)(F,{websiteId:n,eventName:r,propertyName:c})})]}),(0,t.jsx)(i.Button,{onPress:l,children:(0,t.jsx)(i.Icon,{size:"sm",children:(0,t.jsx)(x.X,{})})})]}):(0,t.jsxs)(i.Grid,{columns:"1fr auto 1fr auto",gap:!0,children:[(0,t.jsx)(i.Column,{style:{minWidth:0},children:(0,t.jsx)(i.FormField,{name:`steps.${e}.filters.${a}.property`,rules:{required:u(d.required)},children:(0,t.jsx)(R,{websiteId:n,eventName:r,onPropertyChange:e=>m(e)})})}),(0,t.jsx)(i.Column,{style:{minWidth:0},children:(0,t.jsx)(i.FormField,{name:`steps.${e}.filters.${a}.operator`,children:(0,t.jsx)(j,{})})}),(0,t.jsx)(i.Column,{style:{minWidth:0,overflow:"hidden"},children:(0,t.jsx)(i.FormField,{name:`steps.${e}.filters.${a}.value`,children:(0,t.jsx)(F,{websiteId:n,eventName:r,propertyName:c})})}),(0,t.jsx)(i.Button,{onPress:l,children:(0,t.jsx)(i.Icon,{size:"sm",children:(0,t.jsx)(x.X,{})})})]})}function N({index:e,websiteId:a,initialEventName:n,onRemove:r}){let{t:o,labels:l}=(0,s.useMessages)(),{isMobile:u}=(0,y.useMobile)(),{get:d,useQuery:h}=(0,v.useApi)(),[c,m]=(0,b.useState)(n??""),{startAt:f,endAt:p}=L(),{data:g}=h({queryKey:["event-data:properties",{websiteId:a,eventName:c,searchValue:"",startAt:f,endAt:p}],queryFn:()=>d(`/websites/${a}/event-data/properties`,{startAt:f,endAt:p,...c?{event:c}:{}}),enabled:!!a&&!!c}),w=(g?.length??0)>0,S=(0,t.jsx)(i.FormField,{name:`steps.${e}.value`,rules:{required:o(l.required)},children:({field:i,context:n})=>{let r=n.watch(`steps.${e}.type`);return(0,t.jsx)(E,{websiteId:a,type:r,...i,onValueChange:e=>{m(e)}})}});return(0,t.jsxs)(i.Column,{gap:!0,children:[u?(0,t.jsxs)(i.Grid,{columns:"1fr auto",gap:!0,alignItems:"start",children:[(0,t.jsxs)(i.Column,{gap:!0,children:[(0,t.jsx)(i.FormField,{name:`steps.${e}.type`,rules:{required:o(l.required)},children:(0,t.jsx)(k.ActionSelect,{})}),S]}),(0,t.jsx)(i.Button,{onPress:r,children:(0,t.jsx)(i.Icon,{size:"sm",children:(0,t.jsx)(x.X,{})})})]}):(0,t.jsxs)(i.Grid,{columns:"260px 1fr auto",gap:!0,children:[(0,t.jsx)(i.Column,{children:(0,t.jsx)(i.FormField,{name:`steps.${e}.type`,rules:{required:o(l.required)},children:(0,t.jsx)(k.ActionSelect,{})})}),(0,t.jsx)(i.Column,{children:S}),(0,t.jsx)(i.Button,{onPress:r,children:(0,t.jsx)(i.Icon,{size:"sm",children:(0,t.jsx)(x.X,{})})})]}),(0,t.jsx)(i.FormFieldArray,{name:`steps.${e}.filters`,children:({fields:n,append:r,remove:s,watch:u})=>"event"!==u(`steps.${e}.type`)?null:(0,t.jsxs)(i.Grid,{gap:!0,children:[n.map(({id:i,property:n},r)=>(0,t.jsx)(D,{stepIndex:e,filterIndex:r,websiteId:a,eventName:c,initialProperty:n,onRemove:()=>s(r)},i)),w&&(0,t.jsx)(i.Row,{children:(0,t.jsxs)(i.Button,{variant:"quiet",onPress:()=>r({property:"",operator:"eq",value:""}),children:[(0,t.jsx)(i.Icon,{size:"sm",children:(0,t.jsx)(M.Plus,{})}),(0,t.jsx)(i.Text,{children:o(l.filter)})]})})]})})]})}function I({id:e,websiteId:a,onSave:n,onClose:r}){let{t:l,labels:u}=(0,s.useMessages)(),{data:d,isLoading:h}=(0,o.useReportQuery)(e),{mutateAsync:c,error:m,isPending:f,touch:p}=(0,w.useUpdateQuery)(`/reports${e?`/${e}`:""}`),g=async({name:t,...i})=>{await c({...d,id:e,name:t,type:"funnel",websiteId:a,parameters:i},{onSuccess:async()=>{p("reports:funnel"),p(`report:${e}`),n?.(),r?.()}})};if(e&&h)return(0,t.jsx)(i.Loading,{placement:"absolute"});let v={name:d?.name||"",window:d?.parameters?.window||60,steps:(d?.parameters?.steps||[{type:"path",value:""}]).map(e=>({...e,filters:e.filters||[]}))};return(0,t.jsxs)(i.Form,{onSubmit:g,error:m?.message,defaultValues:v,children:[(0,t.jsx)(i.FormField,{name:"name",label:l(u.name),rules:{required:l(u.required)},children:(0,t.jsx)(i.TextField,{autoFocus:!0})}),(0,t.jsx)(i.FormField,{name:"window",label:l(u.window),rules:{required:l(u.required),pattern:{value:/^[1-9][0-9]*$/,message:l(u.invalidValue)||"Must be greater than 0"}},children:(0,t.jsx)(i.TextField,{})}),(0,t.jsx)(i.FormFieldArray,{name:"steps",label:l(u.steps),rules:{validate:e=>e.length>1||"At least two steps are required"},children:({fields:e,append:n,remove:r})=>(0,t.jsxs)(i.Grid,{gap:!0,children:[e.map(({id:e,value:n},o)=>(0,t.jsxs)(b.Fragment,{children:[o>0&&(0,t.jsx)(i.ListSeparator,{}),(0,t.jsx)(N,{index:o,websiteId:a,initialEventName:n,onRemove:()=>r(o)})]},e)),(0,t.jsx)(i.ListSeparator,{}),(0,t.jsx)(i.Row,{children:(0,t.jsxs)(i.Button,{onPress:()=>n({type:"path",value:"",filters:[]}),isDisabled:e.length>=8,children:[(0,t.jsx)(i.Icon,{children:(0,t.jsx)(M.Plus,{})}),(0,t.jsx)(i.Text,{children:l(u.add)})]})})]})}
3),(0,t.jsxs)(i.FormButtons,{style:{paddingBottom:"16px"},children:[(0,t.jsx)(i.Button,{onPress:r,isDisabled:f,children:l(u.cancel)}),(0,t.jsx)(i.FormSubmitButton,{children:l(u.save)})]})]})}function _({id:e,name:a,type:r,parameters:o,websiteId:b,allowEdit:v=!0}){let{t:y,labels:w}=(0,s.useMessages)(),{pathname:M}=(0,l.useNavigation)(),x=M.includes("/share/"),{data:k,error:S,isLoading:P}=(0,d.useResultQuery)(r,{websiteId:b,...o}),T=(0,u.useOperatorLabels)();return(0,t.jsxs)(i.Grid,{gap:!0,children:[(0,t.jsxs)(i.Grid,{columns:"1fr auto",gap:!0,children:[(0,t.jsx)(i.Column,{gap:!0,children:(0,t.jsx)(i.Row,{children:(0,t.jsx)(i.Text,{size:"lg",weight:"bold",children:a})})}),v&&!x&&(0,t.jsx)(i.Column,{children:(0,t.jsx)(m.ReportEditButton,{id:e,name:a,type:r,title:y(w.funnel),width:"700px",height:"600px",children:({close:i})=>(0,t.jsx)(I,{id:e,websiteId:b,onClose:i})})})]}),(0,t.jsx)(n.LoadingPanel,{data:k,isLoading:P,error:S,children:k?.map(({type:e,value:a,filters:n,visitors:r,previous:o,dropped:s,dropoff:l,remaining:u},d)=>(0,t.jsxs)(i.Grid,{columns:"auto 1fr",gap:"6",children:[(0,t.jsxs)(i.Column,{alignItems:"center",position:"relative",children:[(0,t.jsx)(i.Row,{borderRadius:"full",backgroundColor:"surface-sunken",width:"40px",height:"40px",justifyContent:"center",alignItems:"center",style:{zIndex:1},children:(0,t.jsx)(i.Text,{weight:"bold",size:"base",children:d+1})}),d>0&&(0,t.jsx)(i.Box,{position:"absolute",backgroundColor:"surface-sunken",width:"2px",height:"120px",top:"-100%"})]}),(0,t.jsxs)(i.Column,{gap:!0,children:[(0,t.jsxs)(i.Row,{alignItems:"center",justifyContent:"space-between",gap:!0,children:[(0,t.jsx)(i.Text,{color:"muted",children:y("path"===e?w.viewedPage:w.triggeredEvent)}),(0,t.jsx)(i.Text,{color:"muted",children:y(w.conversionRate)})]}),(0,t.jsxs)(i.Row,{alignItems:"center",justifyContent:"space-between",gap:!0,children:[(0,t.jsxs)(i.Column,{gap:"1",children:[(0,t.jsxs)(i.Row,{alignItems:"center",gap:!0,children:[(0,t.jsx)(i.Icon,{children:"path"===e?(0,t.jsx)(h.File,{}):(0,t.jsx)(p.Lightning,{})}),(0,t.jsx)(i.Text,{children:a})]}),n?.map((e,a)=>(0,t.jsxs)(i.Row,{gap:"1",style:{paddingLeft:28},children:[(0,t.jsx)(i.Text,{color:"muted",children:e.property}),(0,t.jsx)(i.Text,{color:"muted",transform:"lowercase",children:T[e.operator]??e.operator}),(0,t.jsx)(i.Text,{color:"muted",children:e.value})]},a))]}),(0,t.jsxs)(i.Row,{alignItems:"center",gap:!0,children:[d>0&&(0,t.jsx)(f.ChangeLabel,{value:-s,title:`${-Math.round(100*l)}%`,children:(0,g.formatLongNumber)(s)}),(0,t.jsx)(i.Icon,{children:(0,t.jsx)(c.User,{})}),(0,t.jsx)(i.Text,{title:r.toString(),transform:"lowercase",children:`${(0,g.formatLongNumber)(r)} ${y(w.visitors)}`})]})]}),(0,t.jsxs)(i.Row,{alignItems:"center",gap:"6",children:[(0,t.jsx)(i.ProgressBar,{value:r||0,min:0,max:o||1,style:{width:"100%"}}),(0,t.jsx)(i.Row,{minWidth:"90px",justifyContent:"end",children:(0,t.jsxs)(i.Text,{weight:"bold",size:"4xl",children:[Math.round(100*u),"%"]})})]})]})]},d))})]})}function B({websiteId:e,reportId:s,isPreview:l}){let{data:u,isLoading:d,error:h,isFetching:c}=(0,o.useReportQuery)(s||"");return s?u&&("funnel"!==u.type||u.websiteId!==e)?(0,t.jsx)(a.EmptyPlaceholder,{title:"Funnel unavailable",description:"This saved funnel is no longer available for the selected website."}):(0,t.jsx)(n.LoadingPanel,{data:u,isLoading:d,isFetching:c,error:h,children:u?(0,t.jsx)(_,{id:u.id,name:u.name,type:u.type,parameters:u.parameters,websiteId:e,allowEdit:!1}):(0,t.jsx)(i.Text,{color:"muted",children:"Funnel unavailable"})}):(0,t.jsx)(a.EmptyPlaceholder,{...l?{title:"Select a funnel",description:"Choose a saved funnel to preview."}:{icon:(0,t.jsx)(r.Link2Off,{}),title:"Reconnect funnel",description:"Choose a funnel for this website."}})}},327699,992355,573478,376279,623778,248574,260957,256643,805849,904214,e=>{"use strict";let t,i;e.s(["BoardRevenueChart",()=>ry],327699);var a=e.i(361560),n=e.i(669712);e.i(685521);var r=e.i(887632),o=e.i(864878),s=e.i(185194);e.s(["RevenueChart",()=>rg],805849);var l={grad:.9,turn:360,rad:360/(2*Math.PI)},u=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},d=function(e,t,i){return void 0===t&&(t=0),void 0===i&&(i=Math.pow(10,t)),Math.round(i*e)/i+0},h=function(e,t,i){return void 0===t&&(t=0),void 0===i&&(i=1),e>i?i:e>t?e:t},c=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},m=function(e){return{r:h(e.r,0,255),g:h(e.g,0,255),b:h(e.b,0,255),a:h(e.a)}},f=function(e){return{r:d(e.r),g:d(e.g),b:d(e.b),a:d(e.a,3)}},p=/^#([0-9a-f]{3,8})$/i,g=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},b=function(e){var t=e.r,i=e.g,a=e.b,n=e.a,r=Math.max(t,i,a),o=r-Math.min(t,i,a),s=o?r===t?(i-a)/o:r===i?2+(a-t)/o:4+(t-i)/o:0;return{h:60*(s<0?s+6:s),s:r?o/r*100:0,v:r/255*100,a:n}},v=function(e){var t=e.h,i=e.s,a=e.v,n=e.a;t=t/360*6,i/=100,a/=100;var r=Math.floor(t),o=a*(1-i),s=a*(1-(t-r)*i),l=a*(1-(1-t+r)*i),u=r%6;return{r:255*[a,s,o,o,l,a][u],g:255*[l,a,a,s,o,o][u],b:255*[o,o,l,a,a,s][u],a:n}},y=function(e){return{h:c(e.h),s:h(e.s,0,100),l:h(e.l,0,100),a:h(e.a)}},w=function(e){return{h:d(e.h),s:d(e.s),l:d(e.l),a:d(e.a,3)}},M=function(e){var t,i;return v((t=e.s,{h:e.h,s:(t*=((i=e.l)<50?i:100-i)/100)>0?2*t/(i+t)*100:0,v:i+t,a:e.a}))},x=function(e){var t,i,a,n;return{h:(t=b(e)).h,s:(n=(200-(i=t.s))*(a=t.v)/100)>0&&n<200?i*a/100/(n<=100?n:200-n)*100:0,l:n/2,a:t.a}},k=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,S=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,P=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\
3s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,T=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,A=[[function(e){var t=p.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?d(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?d(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=P.exec(e)||T.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:m({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t,i,a=k.exec(e)||S.exec(e);return a?M(y({h:(t=a[1],void 0===(i=a[2])&&(i="deg"),Number(t)*(l[i]||1)),s:Number(a[3]),l:Number(a[4]),a:void 0===a[5]?1:Number(a[5])/(a[6]?100:1)})):null},"hsl"]],C=[[function(e){var t=e.r,i=e.g,a=e.b,n=e.a;return u(t)&&u(i)&&u(a)?m({r:Number(t),g:Number(i),b:Number(a),a:Number(void 0===n?1:n)}):null},"rgb"],[function(e){var t=e.h,i=e.s,a=e.l,n=e.a;return u(t)&&u(i)&&u(a)?M(y({h:Number(t),s:Number(i),l:Number(a),a:Number(void 0===n?1:n)})):null},"hsl"],[function(e){var t,i=e.h,a=e.s,n=e.v,r=e.a;return u(i)&&u(a)&&u(n)?v({h:c((t={h:Number(i),s:Number(a),v:Number(n),a:Number(void 0===r?1:r)}).h),s:h(t.s,0,100),v:h(t.v,0,100),a:h(t.a)}):null},"hsv"]],E=function(e,t){for(var i=0;i<t.length;i++){var a=t[i][0](e);if(a)return[a,t[i][1]]}return[null,void 0]},L=function(e,t){var i=x(e);return{h:i.h,s:h(i.s+100*t,0,100),l:i.l,a:i.a}},R=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},F=function(e,t){var i=x(e);return{h:i.h,s:i.s,l:h(i.l+100*t,0,100),a:i.a}},j=function(){function e(e){this.parsed=("string"==typeof e?E(e.trim(),A):"object"==typeof e&&null!==e?E(e,C):[null,void 0])[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return d(R(this.rgba),2)},e.prototype.isDark=function(){return .5>R(this.rgba)},e.prototype.isLight=function(){return R(this.rgba)>=.5},e.prototype.toHex=function(){var e,t,i,a,n,r;return t=(e=f(this.rgba)).r,i=e.g,a=e.b,r=(n=e.a)<1?g(d(255*n)):"","#"+g(t)+g(i)+g(a)+r},e.prototype.toRgb=function(){return f(this.rgba)},e.prototype.toRgbString=function(){var e,t,i,a,n;return t=(e=f(this.rgba)).r,i=e.g,a=e.b,(n=e.a)<1?"rgba("+t+", "+i+", "+a+", "+n+")":"rgb("+t+", "+i+", "+a+")"},e.prototype.toHsl=function(){return w(x(this.rgba))},e.prototype.toHslString=function(){var e,t,i,a,n;return t=(e=w(x(this.rgba))).h,i=e.s,a=e.l,(n=e.a)<1?"hsla("+t+", "+i+"%, "+a+"%, "+n+")":"hsl("+t+", "+i+"%, "+a+"%)"},e.prototype.toHsv=function(){var e;return{h:d((e=b(this.rgba)).h),s:d(e.s),v:d(e.v),a:d(e.a,3)}},e.prototype.invert=function(){var e;return D({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a})},e.prototype.saturate=function(e){return void 0===e&&(e=.1),D(L(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),D(L(this.rgba,-e))},e.prototype.grayscale=function(){return D(L(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),D(F(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),D(F(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){var t;return"number"==typeof e?D({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):d(this.rgba.a,3)},e.prototype.hue=function(e){var t=x(this.rgba);return"number"==typeof e?D({h:e,s:t.s,l:t.l,a:t.a}):d(t.h)},e.prototype.isEqual=function(e){return this.toHex()===D(e).toHex()},e}(),D=function(e){return e instanceof j?e:new j(e)};e.s(["colord",0,D],992355);var N=e.i(866988);e.s(["BarChart",()=>rf],256643);var I=e.i(949381);function _(e){return e+.5|0}let B=(e,t,i)=>Math.max(Math.min(e,i),t);function O(e){return B(_(2.55*e),0,255)}function W(e){return B(_(255*e),0,255)}function z(e){return B(_(e/2.55)/100,0,1)}function H(e){return B(_(100*e),0,100)}let G={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},U=[..."0123456789ABCDEF"],V=e=>U[15&e],K=e=>U[(240&e)>>4]+U[15&e],q=e=>(240&e)>>4==(15&e),Y=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function X(e,t,i){let a=t*Math.min(i,1-i),n=(t,n=(t+e/30)%12)=>i-a*Math.max(Math.min(n-3,9-n,1),-1);return[n(0),n(8),n(4)]}function $(e,t,i){let a=(a,n=(a+e/60)%6)=>i-i*t*Math.max(Math.min(n,4-n,1),0);return[a(5),a(3),a(1)]}function Z(e,t,i){let a,n=X(e,1,.5);for(t+i>1&&(a=1/(t+i),t*=a,i*=a),a=0;a<3;a++)n[a]*=1-t-i,n[a]+=t;return n}function Q(e){let t,i,a,n=e.r/255,r=e.g/255,o=e.b/255,s=Math.max(n,r,o),l=Math.min(n,r,o),u=(s+l)/2;s!==l&&(a=s-l,i=u>.5?a/(2-s-l):a/(s+l),t=60*(t=n===s?(r-o)/a+6*(r<o):r===s?(o-n)/a+2:(n-r)/a+4)+.5);return[0|t,i||0,u]}function J(e,t,i,a){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,i,a)).map(W)}function ee(e){return(e%360+360)%360}let et={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},ei={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",K
3ocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"},ea=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,en=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,er=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function eo(e,t,i){if(e){let a=Q(e);a[t]=Math.max(0,Math.min(a[t]+a[t]*i,0===t?360:1)),e.r=(a=J(X,a,void 0,void 0))[0],e.g=a[1],e.b=a[2]}}function es(e,t){return e?Object.assign(t||{},e):e}function el(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=W(e[3]))):(t=es(e,{r:0,g:0,b:0,a:1})).a=W(t.a),t}class eu{constructor(e){let i;if(e instanceof eu)return e;const a=typeof e;"object"===a?i=el(e):"string"===a&&(i=function(e){var t,i=e.length;return"#"===e[0]&&(4===i||5===i?t={r:255&17*G[e[1]],g:255&17*G[e[2]],b:255&17*G[e[3]],a:5===i?17*G[e[4]]:255}:(7===i||9===i)&&(t={r:G[e[1]]<<4|G[e[2]],g:G[e[3]]<<4|G[e[4]],b:G[e[5]]<<4|G[e[6]],a:9===i?G[e[7]]<<4|G[e[8]]:255})),t}(e)||function(e){t||((t=function(){let e,t,i,a,n,r={},o=Object.keys(ei),s=Object.keys(et);for(e=0;e<o.length;e++){for(a=n=o[e],t=0;t<s.length;t++)i=s[t],n=n.replace(i,et[i]);i=parseInt(ei[a],16),r[n]=[i>>16&255,i>>8&255,255&i]}return r}()).transparent=[0,0,0,0]);let i=t[e.toLowerCase()];return i&&{r:i[0],g:i[1],b:i[2],a:4===i.length?i[3]:255}}(e)||function(e){return"r"===e.charAt(0)?function(e){let t,i,a,n=ea.exec(e),r=255;if(n){if(n[7]!==t){let e=+n[7];r=n[8]?O(e):B(255*e,0,255)}return t=+n[1],i=+n[3],a=+n[5],t=255&(n[2]?O(t):B(t,0,255)),{r:t,g:i=255&(n[4]?O(i):B(i,0,255)),b:a=255&(n[6]?O(a):B(a,0,255)),a:r}}}(e):function(e){let t,i=Y.exec(e),a=255;if(!i)return;i[5]!==t&&(a=i[6]?O(+i[5]):W(+i[5]));let n=ee(+i[2]),r=i[3]/100,o=i[4]/100;return{r:(t="hwb"===i[1]?J(Z,n,r,o):"hsv"===i[1]?J($,n,r,o):J(X,n,r,o))[0],g:t[1],b:t[2],a:a}}(e)}(e)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var e=es(this._rgb);return e&&(e.a=z(e.a)),e}set rgb(e){this._rgb=el(e)}rgbString(){var e;return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${z(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):void 0}hexString(){var e,t;let i,a;
3return this._valid?(t=q((i=e=this._rgb).r)&&q(i.g)&&q(i.b)&&q(i.a)?V:K,e?"#"+t(e.r)+t(e.g)+t(e.b)+(a=e.a,a<255?t(a):""):void 0):void 0}hslString(){return this._valid?function(e){if(!e)return;let t=Q(e),i=t[0],a=H(t[1]),n=H(t[2]);return e.a<255?`hsla(${i}, ${a}%, ${n}%, ${z(e.a)})`:`hsl(${i}, ${a}%, ${n}%)`}(this._rgb):void 0}mix(e,t){if(e){let i,a=this.rgb,n=e.rgb,r=t===i?.5:t,o=2*r-1,s=a.a-n.a,l=((o*s==-1?o:(o+s)/(1+o*s))+1)/2;i=1-l,a.r=255&l*a.r+i*n.r+.5,a.g=255&l*a.g+i*n.g+.5,a.b=255&l*a.b+i*n.b+.5,a.a=r*a.a+(1-r)*n.a,this.rgb=a}return this}interpolate(e,t){var i,a;let n,r,o;return e&&(this._rgb=(i=this._rgb,a=e._rgb,n=er(z(i.r)),r=er(z(i.g)),o=er(z(i.b)),{r:W(en(n+t*(er(z(a.r))-n))),g:W(en(r+t*(er(z(a.g))-r))),b:W(en(o+t*(er(z(a.b))-o))),a:i.a+t*(a.a-i.a)})),this}clone(){return new eu(this.rgb)}alpha(e){return this._rgb.a=W(e),this}clearer(e){let t=this._rgb;return t.a*=1-e,this}greyscale(){let e=this._rgb,t=_(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){let t=this._rgb;return t.a*=1+e,this}negate(){let e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return eo(this._rgb,2,e),this}darken(e){return eo(this._rgb,2,-e),this}saturate(e){return eo(this._rgb,1,e),this}desaturate(e){return eo(this._rgb,1,-e),this}rotate(e){var t=this._rgb,i=Q(t);return i[0]=ee(i[0]+e),t.r=(i=J(X,i,void 0,void 0))[0],t.g=i[1],t.b=i[2],this}}function ed(){}let eh=(i=0,()=>i++);function ec(e){return null==e}function em(e){if(Array.isArray&&Array.isArray(e))return!0;let t=Object.prototype.toString.call(e);return"[object"===t.slice(0,7)&&"Array]"===t.slice(-6)}function ef(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function ep(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)}function eg(e,t){return ep(e)?e:t}function eb(e,t){return void 0===e?t:e}let ev=(e,t)=>
3"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100*t:+e;function ey(e,t,i){if(e&&"function"==typeof e.call)return e.apply(i,t)}function ew(e,t,i,a){let n,r,o;if(em(e))if(r=e.length,a)for(n=r-1;n>=0;n--)t.call(i,e[n],n);else for(n=0;n<r;n++)t.call(i,e[n],n);else if(ef(e))for(r=(o=Object.keys(e)).length,n=0;n<r;n++)t.call(i,e[o[n]],o[n])}function eM(e,t){let i,a,n,r;if(!e||!t||e.length!==t.length)return!1;for(i=0,a=e.length;i<a;++i)if(n=e[i],r=t[i],n.datasetIndex!==r.datasetIndex||n.index!==r.index)return!1;return!0}function ex(e){if(em(e))return e.map(ex);if(ef(e)){let t=Object.create(null),i=Object.keys(e),a=i.length,n=0;for(;n<a;++n)t[i[n]]=ex(e[i[n]]);return t}return e}function ek(e){return -1===["__proto__","prototype","constructor"].indexOf(e)}function eS(e,t,i,a){if(!ek(e))return;let n=t[e],r=i[e];ef(n)&&ef(r)?eP(n,r,a):t[e]=ex(r)}function eP(e,t,i){let a,n=em(t)?t:[t],r=n.length;if(!ef(e))return e;let o=(i=i||{}).merger||eS;for(let t=0;t<r;++t){if(!ef(a=n[t]))continue;let r=Object.keys(a);for(let t=0,n=r.length;t<n;++t)o(r[t],e,a,i)}return e}function eT(e,t){return eP(e,t,{merger:eA})}function eA(e,t,i){if(!ek(e))return;let a=t[e],n=i[e];ef(a)&&ef(n)?eT(a,n):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=ex(n))}let eC={"":e=>e,x:e=>e.x,y:e=>e.y};function eE(e,t){let i;return(eC[t]||(eC[t]=(i=function(e){let t=e.split("."),i=[],a="";for(let e of t)(a+=e).endsWith("\\")?a=a.slice(0,-1)+".":(i.push(a),a="");return i}(t),e=>{for(let t of i){if(""===t)break;e=e&&e[t]}return e})))(e)}function eL(e){return e.charAt(0).toUpperCase()+e.slice(1)}let eR=e=>void 0!==e,eF=e=>"function"==typeof e,ej=(e,t)=>{if(e.size!==t.size)return!1;for(let i of e)if(!t.has(i))return!1;return!0},eD=Math.PI,eN=2*eD,eI=eN+eD,e_=1/0,eB=eD/180,eO=eD/2,eW=eD/4,ez=2*eD/3,eH=Math.log10,eG=Math.sign;function eU(e,t,i){return Math.abs(e-t)<i}function eV(e){let t=Math.round(e),i=Math.pow(10,Math.floor(eH(e=eU(e,t,e/1e3)?t:e))),a=e/i;return(a<=1?1:a<=2?2:a<=5?5:10)*i}function eK(e){return"symbol"!=typeof e&&("object"!=typeof e||null===e||!!(Symbol.toPrimitive in e||"toString"in e||"valueOf"in e))&&!isNaN(parseFloat(e))&&isFinite(e)}function eq(e,t,i){let a,n,r;for(a=0,n=e.length;a<n;a++)isNaN(r=e[a][i])||(t.min=Math.min(t.min,r),t.max=Math.max(t.max,r))}function eY(e){return eD/180*e}function eX(e){if(!ep(e))return;let t=1,i=0;for(;Math.round(e*t)/t!==e;)t*=10,i++;return i}function e$(e,t){let i=t.x-e.x,a=t.y-e.y,n=Math.sqrt(i*i+a*a),r=Math.atan2(a,i);return r<-.5*eD&&(r+=eN),{angle:r,distance:n}}function eZ(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function eQ(e,t){return(e-t+eI)%eN-eD}function eJ(e){return(e%eN+eN)%eN}function e0(e,t,i,a){let n=eJ(e),r=eJ(t),o=eJ(i),s=eJ(r-n),l=eJ(o-n),u=eJ(n-r),d=eJ(n-o);return n===r||n===o||a&&r===o||s>l&&u<d}function e1(e,t,i){return Math.max(t,Math.min(i,e))}function e2(e,t,i,a=1e-6){return e>=Math.min(t,i)-a&&e<=Math.max(t,i)+a}function e3(e,t,i){let a;i=i||(i=>e[i]<t);let n=e.length-1,r=0;for(;n-r>1;)i(a=r+n>>1)?r=a:n=a;return{lo:r,hi:n}}let e4=(e,t,i,a)=>e3(e,i,a?a=>{let n=e[a][t];return n<i||n===i&&e[a+1][t]===i}:a=>e[a][t]<i),e5=(e,t,i)=>e3(e,i,a=>e[a][t]>=i),e6=["push","pop","shift","splice","unshift"];function e9(e,t){let i=e._chartjs;if(!i)return;let a=i.listeners,n=a.indexOf(t);-1!==n&&a.splice(n,1),a.length>0||(e6.forEach(t=>{delete e[t]}),delete e._chartjs)}function e8(e){let t=new Set(e);return t.size===e.length?e:Array.from(t)}let e7="u"<typeof window?function(e){return e()}:window.requestAnimationFrame;function te(e,t){let i=[],a=!1;return function(...n){i=n,a||(a=!0,e7.call(window,()=>
3{a=!1,e.apply(t,i)}))}}let tt=e=>"start"===e?"left":"end"===e?"right":"center",ti=(e,t,i)=>"start"===e?t:"end"===e?i:(t+i)/2;function ta(e,t,i){let a=t.length,n=0,r=a;if(e._sorted){let{iScale:o,vScale:s,_parsed:l}=e,u=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,d=o.axis,{min:h,max:c,minDefined:m,maxDefined:f}=o.getUserBounds();if(m){if(n=Math.min(e4(l,d,h).lo,i?a:e4(t,d,o.getPixelForValue(h)).lo),u){let e=l.slice(0,n+1).reverse().findIndex(e=>!ec(e[s.axis]));n-=Math.max(0,e)}n=e1(n,0,a-1)}if(f){let e=Math.max(e4(l,o.axis,c,!0).hi+1,i?0:e4(t,d,o.getPixelForValue(c),!0).hi+1);if(u){let t=l.slice(e-1).findIndex(e=>!ec(e[s.axis]));e+=Math.max(0,t)}r=e1(e,n,a)-n}else r=a-n}return{start:n,count:r}}function tn(e){let{xScale:t,yScale:i,_scaleRanges:a}=e,n={xmin:t.min,xmax:t.max,ymin:i.min,ymax:i.max};if(!a)return e._scaleRanges=n,!0;let r=a.xmin!==t.min||a.xmax!==t.max||a.ymin!==i.min||a.ymax!==i.max;return Object.assign(a,n),r}let tr=e=>0===e||1===e,to=(e,t,i)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*eN/i)),ts=(e,t,i)=>Math.pow(2,-10*e)*Math.sin((e-t)*eN/i)+1,tl={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*eO)+1,easeOutSine:e=>Math.sin(e*eO),easeInOutSine:e=>-.5*(Math.cos(eD*e)-1),easeInExpo:e=>0===e?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>1===e?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>tr(e)?e:e<.5?.5*Math.pow(2,10*(2*e-1)):.5*(-Math.pow(2,-10*(2*e-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>tr(e)?e:to(e,.075,.3),easeOutElastic:e=>tr(e)?e:ts(e,.075,.3),easeInOutElastic:e=>tr(e)?e:e<.5?.5*to(2*e,.1125,.45):.5+.5*ts(2*e-1,.1125,.45),easeInBack:e=>e*e*(2.70158*e-1.70158),easeOutBack:e=>(e-=1)*e*(2.70158*e+1.70158)+1,easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-tl.easeOutBounce(1-e),easeOutBounce:e=>e<.36363636363636365?7.5625*e*e:e<.7272727272727273?7.5625*(e-=.5454545454545454)*e+.75:e<.9090909090909091?7.5625*(e-=.8181818181818182)*e+.9375:7.5625*(e-=.9545454545454546)*e+.984375,easeInOutBounce:e=>e<.5?.5*tl.easeInBounce(2*e):.5*tl.easeOutBounce(2*e-1)+.5};function tu(e){if(e&&"object"==typeof e){let t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function td(e){return tu(e)?e:new eu(e)}function th(e){return tu(e)?e:new eu(e).saturate(.5).darken(.1).hexString()}let tc=["x","y","borderWidth","radius","tension"],tm=["color","borderColor","backgroundColor"],tf=new Map;function tp(e,t,i){var a;let n,r;return(n=t+JSON.stringify(a=(a=i)||{}),!(r=tf.get(n))&&(r=new Intl.NumberFormat(t,a),tf.set(n,r)),r).format(e)}let tg={values:e=>em(e)?e:""+e,numeric(e,t,i){let a;if(0===e)return"0";let n=this.chart.options.locale,r=e;if(i.length>1){var o,s;let t,n=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(n<1e-4||n>1e15)&&(a="scientific"),o=e,Math.abs(t=(s=i).length>3?s[2].value-s[1].value:s[1].value-s[0].value)>=1&&o!==Math.floor(o)&&(t=o-Math.floor(o)),r=t}let l=eH(Math.abs(r)),u=isNaN(l)?1:Math.max(Math.min(-1*Math.floor(l),20),0),d={notation:a,minimumFractionDigits:u,maximumFractionDigits:u};return Object.assign(d,this.options.ticks.format),tp(e,n,d)},logarithmic(e,t,i){return 0===e?"0":[1,2,3,5,10,15].includes(i[t].significand||e/Math.pow(10,Math.floor(eH(e))))||t>.8*i.length?tg.numeric.call(this,e,t,i):""}},tb=Object.create(null),tv=Object.create(null);function ty(e,t){if(!t)return e;let i=t.split(".");for(let t=0,a=i.length;t<a;++t){let a=i[t];e=e[a]||(e[a]=Object.create(null))}return e}function tw(e,t,i){return"string"==typeof t?eP(ty(e,t),i):eP(ty(e,""),t)}var tM=new class{constructor(e,t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=e=>e.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={}
vendor: 4,140 bytes, line 3
3,this.hoverBackgroundColor=(e,t)=>th(t.backgroundColor),this.hoverBorderColor=(e,t)=>th(t.borderColor),this.hoverColor=(e,t)=>th(t.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return tw(this,e,t)}get(e){return ty(this,e)}describe(e,t){return tw(tv,e,t)}override(e,t){return tw(tb,e,t)}route(e,t,i,a){let n=ty(this,e),r=ty(this,i),o="_"+t;Object.defineProperties(n,{[o]:{value:n[t],writable:!0},[t]:{enumerable:!0,get(){let e=this[o],t=r[a];return ef(e)?Object.assign({},t,e):eb(e,t)},set(e){this[o]=e}}})}apply(e){e.forEach(e=>e(this))}}({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),e.set("animations",{colors:{type:"color",properties:tm},numbers:{type:"number",properties:tc}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>0|e}}}})},function(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:tg.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e&&"dash"!==e}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:e=>"backdropPadding"!==e&&"callback"!==e,_indexable:e=>"backdropPadding"!==e})}]);function tx(e,t,i,a,n){let r=t[n];return r||(r=t[n]=e.measureText(n).width,i.push(n)),r>a&&(a=r),a}function tk(e,t,i){let a=e.currentDevicePixelRatio,n=0!==i?Math.max(i/2,.5):0;return Math.round((t-n)*a)/a+n}function tS(e,t){(t||e)&&((t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function tP(e,t,i,a){tT(e,t,i,a,null)}function tT(e,t,i,a,n){let r,o,s,l,u,d,h,c,m=t.pointStyle,f=t.rotation,p=t.radius,g=(f||0)*eB;if(m&&"object"==typeof m&&("[object HTMLImageElement]"===(r=m.toString())||"[object HTMLCanvasElement]"===r)){e.save(),e.translate(i,a),e.rotate(g),e.drawImage(m,-m.width/2,-m.height/2,m.width,m.height),e.restore();return}if(!isNaN(p)&&!(p<=0)){switch(e.beginPath(),m){default:n?e.ellipse(i,a,n/2,p,0,0,eN):e.arc(i,a,p,0,eN),e.closePath();break;case"triangle":d=n?n/2:p,e.moveTo(i+Math.sin(g)*d,a-Math.cos(g)*p),g+=ez,e.lineTo(i+Math.sin(g)*d,a-Math.cos(g)*p),g+=ez,e.lineTo(i+Math.sin(g)*d,a-Math.cos(g)*p),e.closePath();break;case"rectRounded":u=.516*p,o=Math.cos(g+eW)*(l=p-u),h=Math.cos(g+eW)*(n?n/2-u:l),s=Math.sin(g+eW)*l,c=Math.sin(g+eW)*(n?n/2-u:l),e.arc(i-h,a-s,u,g-eD,g-eO),e.arc(i+c,a-o,u,g-eO,g),e.arc(i+h,a+s,u,g,g+eO),e.arc(i-c,a+o,u,g+eO,g+eD),e.closePath();break;
3case"rect":if(!f){l=Math.SQRT1_2*p,d=n?n/2:l,e.rect(i-d,a-l,2*d,2*l);break}g+=eW;case"rectRot":h=Math.cos(g)*(n?n/2:p),o=Math.cos(g)*p,s=Math.sin(g)*p,c=Math.sin(g)*(n?n/2:p),e.moveTo(i-h,a-s),e.lineTo(i+c,a-o),e.lineTo(i+h,a+s),e.lineTo(i-c,a+o),e.closePath();break;case"crossRot":g+=eW;case"cross":h=Math.cos(g)*(n?n/2:p),o=Math.cos(g)*p,s=Math.sin(g)*p,c=Math.sin(g)*(n?n/2:p),e.moveTo(i-h,a-s),e.lineTo(i+h,a+s),e.moveTo(i+c,a-o),e.lineTo(i-c,a+o);break;case"star":h=Math.cos(g)*(n?n/2:p),o=Math.cos(g)*p,s=Math.sin(g)*p,c=Math.sin(g)*(n?n/2:p),e.moveTo(i-h,a-s),e.lineTo(i+h,a+s),e.moveTo(i+c,a-o),e.lineTo(i-c,a+o),g+=eW,h=Math.cos(g)*(n?n/2:p),o=Math.cos(g)*p,s=Math.sin(g)*p,c=Math.sin(g)*(n?n/2:p),e.moveTo(i-h,a-s),e.lineTo(i+h,a+s),e.moveTo(i+c,a-o),e.lineTo(i-c,a+o);break;case"line":o=n?n/2:Math.cos(g)*p,s=Math.sin(g)*p,e.moveTo(i-o,a-s),e.lineTo(i+o,a+s);break;case"dash":e.moveTo(i,a),e.lineTo(i+Math.cos(g)*(n?n/2:p),a+Math.sin(g)*p);break;case!1:e.closePath()}e.fill(),t.borderWidth>0&&e.stroke()}}function tA(e,t,i){return i=i||.5,!t||e&&e.x>t.left-i&&e.x<t.right+i&&e.y>t.top-i&&e.y<t.bottom+i}function tC(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function tE(e){e.restore()}function tL(e,t,i,a,n){if(!t)return e.lineTo(i.x,i.y);if("middle"===n){let a=(t.x+i.x)/2;e.lineTo(a,t.y),e.lineTo(a,i.y)}else"after"===n!=!!a?e.lineTo(t.x,i.y):e.lineTo(i.x,t.y);e.lineTo(i.x,i.y)}function tR(e,t,i,a){if(!t)return e.lineTo(i.x,i.y);e.bezierCurveTo(a?t.cp1x:t.cp2x,a?t.cp1y:t.cp2y,a?i.cp2x:i.cp1x,a?i.cp2y:i.cp1y,i.x,i.y)}function tF(e,t,i,a,n,r={}){let o,s,l=em(t)?t:[t],u=r.strokeWidth>0&&""!==r.strokeColor;for(e.save(),e.font=n.string,r.translation&&e.translate(r.translation[0],r.translation[1]),ec(r.rotation)||e.rotate(r.rotation),r.color&&(e.fillStyle=r.color),r.textAlign&&(e.textAlign=r.textAlign),r.textBaseline&&(e.textBaseline=r.textBaseline),o=0;o<l.length;++o)s=l[o],r.backdrop&&function(e,t){let i=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=i}(e,r.backdrop),u&&(r.strokeColor&&(e.strokeStyle=r.strokeColor),ec(r.strokeWidth)||(e.lineWidth=r.strokeWidth),e.strokeText(s,i,a,r.maxWidth)),e.fillText(s,i,a,r.maxWidth),function(e,t,i,a,n){if(n.strikethrough||n.underline){let r=e.measureText(a),o=t-r.actualBoundingBoxLeft,s=t+r.actualBoundingBoxRight,l=i-r.actualBoundingBoxAscent,u=i+r.actualBoundingBoxDescent,d=n.strikethrough?(l+u)/2:u;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=n.decorationWidth||2,e.moveTo(o,d),e.lineTo(s,d),e.stroke()}}(e,i,a,s,r),a+=Number(n.lineHeight);e.restore()}function tj(e,t){let{x:i,y:a,w:n,h:r,radius:o}=t;e.arc(i+o.topLeft,a+o.topLeft,o.topLeft,1.5*eD,eD,!0),e.lineTo(i,a+r-o.bottomLeft),e.arc(i+o.bottomLeft,a+r-o.bottomLeft,o.bottomLeft,eD,eO,!0),e.lineTo(i+n-o.bottomRight,a+r),e.arc(i+n-o.bottomRight,a+r-o.bottomRight,o.bottomRight,eO,0,!0),e.lineTo(i+n,a+o.topRight),e.arc(i+n-o.topRight,a+o.topRight,o.topRight,0,-eO,!0),e.lineTo(i+o.topLeft,a)}let tD=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,tN=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/,tI=e=>+e||0;function t_(e,t){let i={},a=ef(t),n=a?Object.keys(t):t,r=ef(e)?a?i=>eb(e[i],e[t[i]]):t=>e[t]:()=>e;for(let e of n)i[e]=tI(r(e));return i}function tB(e){return t_(e,{top:"y",right:"x",bottom:"y",left:"x"})}function tO(e){return t_(e,["topLeft","topRight","bottomLeft","bottomRight"])}function tW(e){let t=tB(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function tz(e,t){e=e||{},t=t||tM.font;let i=eb(e.size,t.size);"string"==typeof i&&(i=parseInt(i,10));let a=eb(e.style,t.style);a&&!(""+a).match(tN)&&(console.warn('Invalid font style specified: "'+a+'"'),a=void 0);let n={family:eb(e.family,t.family),lineHeight:function(e,t){let i=(""+e).match(tD);if(!i||"normal"===i[1])return 1.2*t;switch(e=+i[2],i[3]){case"px":return e;case"%":e/=100}return t*e}(eb(e.lineHeight,t.lineHeight),i),size:i,style:a,weight:eb(e.weight,t.weight),string:""};return n.string=!n||ec(n.size)||ec(n.family)?null:(n.style?n.style+" ":"")+(n.weight?n.weight+" ":"")+n.size+"px "+n.family,n}function tH(e,t,i,a){let n,r,o,s=!0;for(n=0,r=e.length;n<r;++n)if(void 0!==(o=e[n])&&(void 0!==t&&"function"==typeof o&&(o=o(t),s=!1),void 0!==i&&em(o)&&(o=o[i%o.length],s=!1),void 0!==o))return a&&!s&&(a.cacheable=!1),o}function tG(e,t){return Object.assign(Object.create(e),t)}function tU(e,t=[""],i,a,n=()=>e[0]){let r=i||e;return void 0===a&&(a=tJ("_fallback",e)),new Proxy({[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:r,_fallback:a,_getTarget:n,override:i=>tU([i,...e],t,r,a)},{deleteProperty:(t,i)=>(delete t[i],delete t._keys,delete e[0][i],!0),get:(i,a)=>tX(i,a,()=>(function(e,t,i,a){let n;for(let r of t)if(void 0!==(n=tJ(tq(r,e),i)))return tY(e,n)?tZ(i,a,e,
3n):n})(a,t,e,i)),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e._scopes[0],t),getPrototypeOf:()=>Reflect.getPrototypeOf(e[0]),has:(e,t)=>t0(e).includes(t),ownKeys:e=>t0(e),set(e,t,i){let a=e._storage||(e._storage=n());return e[t]=a[t]=i,delete e._keys,!0}})}function tV(e,t,i,a){return new Proxy({_cacheable:!1,_proxy:e,_context:t,_subProxy:i,_stack:new Set,_descriptors:tK(e,a),setContext:t=>tV(e,t,i,a),override:n=>tV(e.override(n),t,i,a)},{deleteProperty:(t,i)=>(delete t[i],delete e[i],!0),get:(e,t,i)=>tX(e,t,()=>(function(e,t,i){let{_proxy:a,_context:n,_subProxy:r,_descriptors:o}=e,s=a[t];return eF(s)&&o.isScriptable(t)&&(s=function(e,t,i,a){let{_proxy:n,_context:r,_subProxy:o,_stack:s}=i;if(s.has(e))throw Error("Recursion detected: "+Array.from(s).join("->")+"->"+e);s.add(e);let l=t(r,o||a);return s.delete(e),tY(e,l)&&(l=tZ(n._scopes,n,e,l)),l}(t,s,e,i)),em(s)&&s.length&&(s=function(e,t,i,a){let{_proxy:n,_context:r,_subProxy:o,_descriptors:s}=i;if(void 0!==r.index&&a(e))return t[r.index%t.length];if(ef(t[0])){let i=t,a=n._scopes.filter(e=>e!==i);for(let l of(t=[],i)){let i=tZ(a,n,e,l);t.push(tV(i,r,o&&o[e],s))}}return t}(t,s,e,o.isIndexable)),tY(t,s)&&(s=tV(s,n,r&&r[t],o)),s})(e,t,i)),getOwnPropertyDescriptor:(t,i)=>t._descriptors.allKeys?Reflect.has(e,i)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,i),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,i)=>Reflect.has(e,i),ownKeys:()=>Reflect.ownKeys(e),set:(t,i,a)=>(e[i]=a,delete t[i],!0)})}function tK(e,t={scriptable:!0,indexable:!0}){let{_scriptable:i=t.scriptable,_indexable:a=t.indexable,_allKeys:n=t.allKeys}=e;return{allKeys:n,scriptable:i,indexable:a,isScriptable:eF(i)?i:()=>i,isIndexable:eF(a)?a:()=>a}}let tq=(e,t)=>e?e+eL(t):t,tY=(e,t)=>ef(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function tX(e,t,i){if(Object.prototype.hasOwnProperty.call(e,t)||"constructor"===t)return e[t];let a=i();return e[t]=a,a}let t$=(e,t)=>!0===e?t:"string"==typeof e?eE(t,e):void 0;function tZ(e,t,i,a){var n;let r=t._rootScopes,o=(n=t._fallback,eF(n)?n(i,a):n),s=[...e,...r],l=new Set;l.add(a);let u=tQ(l,s,i,o||i,a);return null!==u&&(void 0===o||o===i||null!==(u=tQ(l,s,o,u,a)))&&tU(Array.from(l),[""],r,o,()=>{var e,n,r;let o,s;return e=t,n=i,r=a,n in(o=e._getTarget())||(o[n]={}),em(s=o[n])&&ef(r)?r:s||{}})}function tQ(e,t,i,a,n){for(;i;)i=function(e,t,i,a,n){for(let o of t){let t=t$(i,o);if(t){var r;e.add(t);let o=(r=t._fallback,eF(r)?r(i,n):r);if(void 0!==o&&o!==i&&o!==a)return o}else if(!1===t&&void 0!==a&&i!==a)return null}return!1}(e,t,i,a,n);return i}function tJ(e,t){for(let i of t){if(!i)continue;let t=i[e];if(void 0!==t)return t}}function t0(e){let t=e._keys;return t||(t=e._keys=function(e){let t=new Set;for(let i of e)for(let e of Object.keys(i).filter(e=>!e.startsWith("_")))t.add(e);return Array.from(t)}(e._scopes)),t}function t1(e,t,i,a){let n,r,o,{iScale:s}=e,{key:l="r"}=this._parsing,u=Array(a);for(n=0;n<a;++n)o=t[r=n+i],u[n]={r:s.parse(eE(o,l),r)};return u}let t2=Number.EPSILON||1e-14,t3=(e,t)=>t<e.length&&!e[t].skip&&e[t],t4=e=>"x"===e?"y":"x";function t5(e,t,i){return Math.max(Math.min(e,i),t)}function t6(){return"u">typeof window&&"u">typeof document}function t9(e){let t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t}function t8(e,t,i){let a;return"string"==typeof e?(a=parseInt(e,10),-1!==e.indexOf("%")&&(a=a/100*t.parentNode[i])):a=e,a}let t7=e=>e.ownerDocument.defaultView.getComputedStyle(e,null),ie=["top","right","bottom","left"];function it(e,t,i){let a={};i=i?"-"+i:"";for(let n=0;n<4;n++){let r=ie[n];a[r]=parseFloat(e[t+"-"+r+i])||0}return a.width=a.left+a.right,a.height=a.top+a.bottom,a}function ii(e,t){if("native"in e)return e;let{canvas:i,currentDevicePixelRatio:a}=t,n=t7(i),r="border-box"===n.boxSizing,o=it(n,"padding"),s=it(n,"border","width"),{x:l,y:u,box:d}=function(e,t){let i,a,n,r=e.touches,o=r&&r.length?r[0]:e,{offsetX:s,offsetY:l}=o,u=!1;if(n=e.target,(s>0||l>0)&&(!n||!n.shadowRoot))i=s,a=l;else{let e=t.getBoundingClientRect();i=o.clientX-e.left,a=o.clientY-e.top,u=!0}return{x:i,y:a,box:u}}(e,i),h=o.left+(d&&s.left),c=o.top+(d&&s.top),{width:m,height:f}=t;return r&&(m-=o.width+s.width,f-=o.height+s.height),{x:Math.round((l-h)/m*i.width/a),y:Math.round((u-c)/f*i.height/a)}}let ia=e=>Math.round(10*e)/10;function ir(e,t,i){let a=t||1,n=ia(e.height*a),r=ia(e.width*a);e.height=ia(e.height),e.width=ia(e.width);let o=e.canvas;return o.style&&(i||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`),(e.currentDevicePixelRatio!==a||o.height!==n||o.width!==r)&&(e.currentDevicePixelRatio=a,o.height=n,o.width=r,e.ctx.setTransform(a,0,0,a,0,0),!0)}let io=function(){let e=!1;
3try{let t={get passive(){return e=!0,!1}};t6()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch(e){}return e}();function is(e,t){let i=t7(e).getPropertyValue(t),a=i&&i.match(/^(\d+)(\.\d+)?px$/);return a?+a[1]:void 0}function il(e,t,i,a){return{x:e.x+i*(t.x-e.x),y:e.y+i*(t.y-e.y)}}function iu(e,t,i,a){return{x:e.x+i*(t.x-e.x),y:"middle"===a?i<.5?e.y:t.y:"after"===a?i<1?e.y:t.y:i>0?t.y:e.y}}function id(e,t,i,a){let n={x:e.cp2x,y:e.cp2y},r={x:t.cp1x,y:t.cp1y},o=il(e,n,i),s=il(n,r,i),l=il(r,t,i),u=il(o,s,i),d=il(s,l,i);return il(u,d,i)}function ih(e,t,i){var a;return e?(a=i,{x:e=>t+t+a-e,setWidth(e){a=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,t)=>e-t,leftForLtr:(e,t)=>e-t}):{x:e=>e,setWidth(e){},textAlign:e=>e,xPlus:(e,t)=>e+t,leftForLtr:(e,t)=>e}}function ic(e,t){let i,a;("ltr"===t||"rtl"===t)&&(a=[(i=e.canvas.style).getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",t,"important"),e.prevTextDirection=a)}function im(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function ip(e){return"angle"===e?{between:e0,compare:eQ,normalize:eJ}:{between:e2,compare:(e,t)=>e-t,normalize:e=>e}}function ig({start:e,end:t,count:i,loop:a,style:n}){return{start:e%i,end:t%i,loop:a&&(t-e+1)%i==0,style:n}}function ib(e,t,i){let a,n,r;if(!i)return[e];let{property:o,start:s,end:l}=i,u=t.length,{compare:d,between:h,normalize:c}=ip(o),{start:m,end:f,loop:p,style:g}=function(e,t,i){let a,{property:n,start:r,end:o}=i,{between:s,normalize:l}=ip(n),u=t.length,{start:d,end:h,loop:c}=e;if(c){for(d+=u,h+=u,a=0;a<u&&s(l(t[d%u][n]),r,o);++a)d--,h--;d%=u,h%=u}return h<d&&(h+=u),{start:d,end:h,loop:c,style:e.style}}(e,t,i),b=[],v=!1,y=null,w=()=>v||h(s,r,a)&&0!==d(s,r),M=()=>!v||0===d(l,a)||h(l,r,a);for(let e=m,i=m;e<=f;++e)(n=t[e%u]).skip||(a=c(n[o]))!==r&&(v=h(a,s,l),null===y&&w()&&(y=0===d(a,s)?e:i),null!==y&&M()&&(b.push(ig({start:y,end:e,loop:p,count:u,style:g})),y=null),i=e,r=a);return null!==y&&b.push(ig({start:y,end:f,loop:p,count:u,style:g})),b}function iv(e,t){let i=[],a=e.segments;for(let n=0;n<a.length;n++){let r=ib(a[n],e.points,t);r.length&&i.push(...r)}return i}function iy(e,t,i,a){return a&&a.setContext&&i?function(e,t,i,a){let n=e._chart.getContext(),r=iw(e.options),{_datasetIndex:o,options:{spanGaps:s}}=e,l=i.length,u=[],d=r,h=t[0].start,c=h;function m(e,t,a,n){let r=s?-1:1;if(e!==t){for(e+=l;i[e%l].skip;)e-=r;for(;i[t%l].skip;)t+=r;e%l!=t%l&&(u.push({start:e%l,end:t%l,loop:a,style:n}),d=n,h=t%l)}}for(let e of t){let t,r=i[(h=s?h:e.start)%l];for(c=h+1;c<=e.end;c++){let s=i[c%l];(function(e,t){if(!t)return!1;let i=[],a=function(e,t){return tu(t)?(i.includes(t)||i.push(t),i.indexOf(t)):t};return JSON.stringify(e,a)!==JSON.stringify(t,a)})(t=iw(a.setContext(tG(n,{type:"segment",p0:r,p1:s,p0DataIndex:(c-1)%l,p1DataIndex:c%l,datasetIndex:o}))),d)&&m(h,c-1,e.loop,d),r=s,d=t}h<c-1&&m(h,c-1,e.loop,d)}return u}(e,t,i,a):t}function iw(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function iM(e,t,i){return e.options.clip?e[i]:t[i]}function ix(e,t){let i=t._clip;if(i.disabled)return!1;let a=function(e,t){let{xScale:i,yScale:a}=e;return i&&a?{left:iM(i,t,"left"),right:iM(i,t,"right"),top:iM(a,t,"top"),bottom:iM(a,t,"bottom")}:t}(t,e.chartArea);return{left:!1===i.left?0:a.left-(!0===i.left?0:i.left),right:!1===i.right?e.width:a.right+(!0===i.right?0:i.right),top:!1===i.top?0:a.top-(!0===i.top?0:i.top),bottom:!1===i.bottom?e.height:a.bottom+(!0===i.bottom?0:i.bottom)}}var ik=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,i,a){let n=t.listeners[a],r=t.duration;n.forEach(a=>a({chart:e,initial:t.initial,numSteps:r,currentStep:Math.min(i-t.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=e7.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;
3this._charts.forEach((i,a)=>{let n;if(!i.running||!i.items.length)return;let r=i.items,o=r.length-1,s=!1;for(;o>=0;--o)(n=r[o])._active?(n._total>i.duration&&(i.duration=n._total),n.tick(e),s=!0):(r[o]=r[r.length-1],r.pop());s&&(a.draw(),this._notify(a,i,e,"progress")),r.length||(i.running=!1,this._notify(a,i,e,"complete"),i.initial=!1),t+=r.length}),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){let t=this._charts,i=t.get(e);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,i)),i}listen(e,t,i){this._getAnims(e).listeners[t].push(i)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){let t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((e,t)=>Math.max(e,t._duration),0),this._refresh())}running(e){if(!this._running)return!1;let t=this._charts.get(e);return!!t&&!!t.running&&!!t.items.length}stop(e){let t=this._charts.get(e);if(!t||!t.items.length)return;let i=t.items,a=i.length-1;for(;a>=0;--a)i[a].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}};let iS="transparent",iP={boolean:(e,t,i)=>i>.5?t:e,color(e,t,i){let a=td(e||iS),n=a.valid&&td(t||iS);
3return n&&n.valid?n.mix(a,i).hexString():t},number:(e,t,i)=>e+(t-e)*i};class iT{constructor(e,t,i,a){const n=t[i];a=tH([e.to,a,n,e.from]);const r=tH([e.from,n,a]);this._active=!0,this._fn=e.fn||iP[e.type||typeof r],this._easing=tl[e.easing]||tl.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=i,this._from=r,this._to=a,this._promises=void 0}active(){return this._active}update(e,t,i){if(this._active){this._notify(!1);let a=this._target[this._prop],n=i-this._start,r=this._duration-n;this._start=i,this._duration=Math.floor(Math.max(r,e.duration)),this._total+=n,this._loop=!!e.loop,this._to=tH([e.to,t,a,e.from]),this._from=tH([e.from,a,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){let t,i=e-this._start,a=this._duration,n=this._prop,r=this._from,o=this._loop,s=this._to;if(this._active=r!==s&&(o||i<a),!this._active){this._target[n]=s,this._notify(!0);return}if(i<0){this._target[n]=r;return}t=i/a%2,t=o&&t>1?2-t:t,t=this._easing(Math.min(1,Math.max(0,t))),this._target[n]=this._fn(r,s,t)}wait(){let e=this._promises||(this._promises=[]);return new Promise((t,i)=>{e.push({res:t,rej:i})})}_notify(e){let t=e?"res":"rej",i=this._promises||[];for(let e=0;e<i.length;e++)i[e][t]()}}class iA{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!ef(e))return;let t=Object.keys(tM.animation),i=this._properties;Object.getOwnPropertyNames(e).forEach(a=>{let n=e[a];if(!ef(n))return;let r={};for(let e of t)r[e]=n[e];(em(n.properties)&&n.properties||[a]).forEach(e=>{e!==a&&i.has(e)||i.set(e,r)})})}_animateOptions(e,t){let i=t.options,a=function(e,t){if(!t)return;let i=e.options;if(!i){e.options=t;return}return i.$shared&&(e.options=i=Object.assign({},i,{$shared:!1,$animations:{}})),i}(e,i);if(!a)return[];let n=this._createAnimations(a,i);return i.$shared&&(function(e,t){let i=[],a=Object.keys(t);for(let t=0;t<a.length;t++){let n=e[a[t]];n&&n.active()&&i.push(n.wait())}return Promise.all(i)})(e.options.$animations,i).then(()=>{e.options=i},()=>{}),n}_createAnimations(e,t){let i,a=this._properties,n=[],r=e.$animations||(e.$animations={}),o=Object.keys(t),s=Date.now();for(i=o.length-1;i>=0;--i){let l=o[i];if("$"===l.charAt(0))continue;if("options"===l){n.push(...this._animateOptions(e,t));continue}let u=t[l],d=r[l],h=a.get(l);if(d)if(h&&d.active()){d.update(h,u,s);continue}else d.cancel();if(!h||!h.duration){e[l]=u;continue}r[l]=d=new iT(h,e,l,u),n.push(d)}return n}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);let i=this._createAnimations(e,t);if(i.length)return ik.add(this._chart,i),!0}}function iC(e,t){let i=e&&e.options||{},a=i.reverse,n=void 0===i.min?t:0,r=void 0===i.max?t:0;return{start:a?r:n,end:a?n:r}}function iE(e,t){let i,a,n=[],r=e._getSortedDatasetMetas(t);for(i=0,a=r.length;i<a;++i)n.push(r[i].index);return n}function iL(e,t,i,a={}){let n,r,o,s,l=e.keys,u="single"===a.mode;if(null===t)return;let d=!1;for(n=0,r=l.length;n<r;++n){if((o=+l[n])===i){if(d=!0,a.all)continue;break}ep(s=e.values[o])&&(u||0===t||eG(t)===eG(s))&&(t+=s)}return d||a.all?t:0}function iR(e,t){let i=e&&e.options.stacked;return i||void 0===i&&void 0!==t.stack}function iF(e,t,i,a){for(let n of t.getMatchingVisibleMetas(a).reverse()){let t=e[n.index];if(i&&t>0||!i&&t<0)return n.index}return null}function ij(e,t){let i,{chart:a,_cachedMeta:n}=e,r=a._stacks||(a._stacks={}),{iScale:o,vScale:s,index:l}=n,u=o.axis,d=s.axis,h=`${o.id}.${s.id}.${n.stack||n.type}`,c=t.length;for(let e=0;e<c;++e){let a=t[e],{[u]:o,[d]:c}=a;(i=(a._stacks||(a._stacks={}))[d]=function(e,t,i){let a=e[t]||(e[t]={});return a[i]||(a[i]={})}(r,h,o))[l]=c,i._top=iF(i,s,!0,n.type),i._bottom=iF(i,s,!1,n.type),(i._visualValues||(i._visualValues={}))[l]=c}}function iD(e,t){let i=e.scales;return Object.keys(i).filter(e=>i[e].axis===t).shift()}function iN(e,t){let i=e.controller.index,a=e.vScale&&e.vScale.axis;if(a)for(let n of t=t||e._parsed){let e=n._stacks;if(!e||void 0===e[a]||void 0===e[a][i])return;delete e[a][i],void 0!==e[a]._visualValues&&void 0!==e[a]._visualValues[i]&&delete e[a]._visualValues[i]}}let iI=e=>"reset"===e||"none"===e,i_=(e,t)=>t?e:Object.assign({},e);class iB{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=iR(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&iN(this._cachedMeta),this.index=e}linkScales(){let e=this.chart,t=this._cachedMeta,i=this.getDataset(),a=(e,t,i,a)=>"x"===e?t:"r"===e?a:i,n=t.xAxisID=eb(i.xAxisID,iD(e,"x")),r=t.yAxisID=eb(i.yAxisID,iD(e,"y")),o=t.rAxisID=eb(i.rAxisID,iD(e,"r")),s=t.indexAxis,l=t.iAxisID=a(s,n,r,o),u=t.vAxisID=a(s,r,n,o);t.xScale=this.getScaleForId(n),t.yScale=this.getScaleForId(r),t.r
3Scale=this.getScaleForId(o),t.iScale=this.getScaleForId(l),t.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){let t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){let e=this._cachedMeta;this._data&&e9(this._data,this),e._stacked&&iN(e)}_dataCheck(){let e=this.getDataset(),t=e.data||(e.data=[]),i=this._data;if(ef(t)){let e=this._cachedMeta;this._data=function(e,t){let i,a,n,{iScale:r,vScale:o}=t,s="x"===r.axis?"x":"y",l="x"===o.axis?"x":"y",u=Object.keys(e),d=Array(u.length);for(i=0,a=u.length;i<a;++i)n=u[i],d[i]={[s]:n,[l]:e[n]};return d}(t,e)}else if(i!==t){if(i){e9(i,this);let e=this._cachedMeta;iN(e),e._parsed=[]}t&&Object.isExtensible(t)&&(t._chartjs?t._chartjs.listeners.push(this):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[this]}}),e6.forEach(e=>{let i="_onData"+eL(e),a=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){let n=a.apply(this,e);return t._chartjs.listeners.forEach(t=>{"function"==typeof t[i]&&t[i](...e)}),n}})}))),this._syncList=[],this._data=t}}addElements(){let e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){let t=this._cachedMeta,i=this.getDataset(),a=!1;this._dataCheck();let n=t._stacked;t._stacked=iR(t.vScale,t),t.stack!==i.stack&&(a=!0,iN(t),t.stack=i.stack),this._resyncElements(e),(a||n!==t._stacked)&&(ij(this,t._parsed),t._stacked=iR(t.vScale,t))}configure(){let e=this.chart.config,t=e.datasetScopeKeys(this._type),i=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){let i,a,n,{_cachedMeta:r,_data:o}=this,{iScale:s,_stacked:l}=r,u=s.axis,d=0===e&&t===o.length||r._sorted,h=e>0&&r._parsed[e-1];if(!1===this._parsing)r._parsed=o,r._sorted=!0,n=o;else{n=em(o[e])?this.parseArrayData(r,o,e,t):ef(o[e])?this.parseObjectData(r,o,e,t):this.parsePrimitiveData(r,o,e,t);let s=()=>null===a[u]||h&&a[u]<h[u];for(i=0;i<t;++i)r._parsed[i+e]=a=n[i],d&&(s()&&(d=!1),h=a);r._sorted=d}l&&ij(this,n)}parsePrimitiveData(e,t,i,a){let n,r,{iScale:o,vScale:s}=e,l=o.axis,u=s.axis,d=o.getLabels(),h=o===s,c=Array(a);for(n=0;n<a;++n)r=n+i,c[n]={[l]:h||o.parse(d[r],r),[u]:s.parse(t[r],r)};return c}parseArrayData(e,t,i,a){let n,r,o,{xScale:s,yScale:l}=e,u=Array(a);for(n=0;n<a;++n)o=t[r=n+i],u[n]={x:s.parse(o[0],r),y:l.parse(o[1],r)};return u}parseObjectData(e,t,i,a){let n,r,o,{xScale:s,yScale:l}=e,{xAxisKey:u="x",yAxisKey:d="y"}=this._parsing,h=Array(a);for(n=0;n<a;++n)o=t[r=n+i],h[n]={x:s.parse(eE(o,u),r),y:l.parse(eE(o,d),r)};return h}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,i){let a=this.chart,n=this._cachedMeta,r=t[e.axis];return iL({keys:iE(a,!0),values:t._stacks[e.axis]._visualValues},r,n.index,{mode:i})}updateRangeFromParsed(e,t,i,a){let n=i[t.axis],r=null===n?NaN:n,o=a&&i._stacks[t.axis];a&&o&&(a.values=o,r=iL(a,n,this._cachedMeta.index)),e.min=Math.min(e.min,r),e.max=Math.max(e.max,r)}getMinMax(e,t){let i,a,n,r=this._cachedMeta,o=r._parsed,s=r._sorted&&e===r.iScale,l=o.length,u=this._getOtherScale(e),d=(n=this.chart,t&&!r.hidden&&r._stacked&&{keys:iE(n,!0),values:null}),h={min:1/0,max:-1/0},{min:c,max:m}=function(e){let{min:t,max:i,minDefined:a,maxDefined:n}=e.getUserBounds();return{min:a?t:-1/0,max:n?i:1/0}}(u);function f(){let t=(a=o[i])[u.axis];return!ep(a[e.axis])||c>t||m<t}for(i=0;i<l&&(f()||(this.updateRangeFromParsed(h,e,a,d),!s));++i);if(s){for(i=l-1;i>=0;--i)if(!f()){this.updateRangeFromParsed(h,e,a,d);break}}return h}getAllParsedValues(e){let t,i,a,n=this._cachedMeta._parsed,r=[];for(t=0,i=n.length;t<i;++t)ep(a=n[t][e.axis])&&r.push(a);return r}getMaxOverflow(){return!1}getLabelAndValue(e){let t=this._cachedMeta,i=t.iScale,a=t.vScale,n=this.getParsed(e);return{label:i?""+i.getLabelForValue(n[i.axis]):"",value:a?""+a.getLabelForValue(n[a.axis]):""}}_update(e){var t;let i,a,n,r,o=this._cachedMeta;this.update(e||"default"),ef(t=eb(this.options.clip,function(e,t,i){if(!1===i)return!1;let a=iC(e,i),n=iC(t,i);return{top:n.end,right:a.end,bottom:n.start,left:a.start}}(o.xScale,o.yScale,this.getMaxOverflow())))?(i=t.top,a=t.right,n=t.bottom,r=t.left):i=a=n=r=t,o._clip={top:i,right:a,bottom:n,left:r,disabled:!1===t}}update(e){}draw(){let e,t=this._ctx,i=this.chart,a=this._cachedMeta,n=a.data||[],r=i.chartArea,o=[],s=this._drawStart||0,l=this._drawCount||n.length-s,u=this.options.drawActiveElementsOnTop;for(a.dataset&&a.dataset.draw(t,r,s,l),e=s;e<s+l;++e){let i=n[e];i.hidden||(i.active&&u?o.push(i):i.draw(t,r))}for(e=0;e<o.length;++e)o[e].draw(t,r)}getStyle(e,t){let i=t?"active":"default";return void 0===e&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(e||0,i)}getContext(e,t,i){var a,n;let r,o=this.getDataset();if(e>=0&&e<this._cachedMeta.data.length){let t=this._cachedMeta.data[e];(r=t.$context||(a=this.getContext(),t.$context=tG(a,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:t,index:e,mode:"default",type:"data"}))).parsed=this.getParsed(e),r.raw=o.data[e],r.index=r.dataIndex=e}else(r=this.$context||(this.$context=tG(this.chart.getContext(),{active:!1,dataset:void 0,datasetIndex:n=this.index,index:n,mode:"default",type:"dataset"}))).dataset=o,r.index=r.datasetIndex=this.index;return r.active=!!t,r.mode=i,r}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e,t="default",i){let a="active"===t,n=this._cachedDataOpts,r=e+"-"+t,o=n[r],s=this.enableOptionSharing&&eR(i);if(o)return i_(o,s);let l=this.chart.config,u=l.datasetElementScopeKeys(this._type,e),d=a?[`${e}Hover`,"hover",e,""]:[e,""],h=l.getOptionScopes(this.getDataset(),u),
3c=Object.keys(tM.elements[e]),m=()=>this.getContext(i,a,t),f=l.resolveNamedOptions(h,c,m,d);return f.$shared&&(f.$shared=s,n[r]=Object.freeze(i_(f,s))),f}_resolveAnimations(e,t,i){let a,n=this.chart,r=this._cachedDataOpts,o=`animation-${t}`,s=r[o];if(s)return s;if(!1!==n.options.animation){let n=this.chart.config,r=n.datasetAnimationScopeKeys(this._type,t),o=n.getOptionScopes(this.getDataset(),r);a=n.createResolver(o,this.getContext(e,i,t))}let l=new iA(n,a&&a.animations);return a&&a._cacheable&&(r[o]=Object.freeze(l)),l}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||iI(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){let i=this.resolveDataElementOptions(e,t),a=this._sharedOptions,n=this.getSharedOptions(i),r=this.includeOptions(t,n)||n!==a;return this.updateSharedOptions(n,t,i),{sharedOptions:n,includeOptions:r}}updateElement(e,t,i,a){iI(a)?Object.assign(e,i):this._resolveAnimations(t,a).update(e,i)}updateSharedOptions(e,t,i){e&&!iI(t)&&this._resolveAnimations(void 0,t).update(e,i)}_setStyle(e,t,i,a){e.active=a;let n=this.getStyle(t,a);this._resolveAnimations(t,i,a).update(e,{options:!a&&this.getSharedOptions(n)||n})}removeHoverStyle(e,t,i){this._setStyle(e,i,"active",!1)}setHoverStyle(e,t,i){this._setStyle(e,i,"active",!0)}_removeDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){let t=this._data,i=this._cachedMeta.data;for(let[e,t,i]of this._syncList)this[e](t,i);this._syncList=[];let a=i.length,n=t.length,r=Math.min(n,a);r&&this.parse(0,r),n>a?this._insertElements(a,n-a,e):n<a&&this._removeElements(n,a-n)}_insertElements(e,t,i=!0){let a,n=this._cachedMeta,r=n.data,o=e+t,s=e=>{for(e.length+=t,a=e.length-1;a>=o;a--)e[a]=e[a-t]};for(s(r),a=e;a<o;++a)r[a]=new this.dataElementType;this._parsing&&s(n._parsed),this.parse(e,t),i&&this.updateElements(r,e,t,"reset")}updateElements(e,t,i,a){}_removeElements(e,t){let i=this._cachedMeta;if(this._parsing){let a=i._parsed.splice(e,t);i._stacked&&iN(i,a)}i.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{let[t,i,a]=e;this[t](i,a)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){let e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,t){t&&this._sync(["_removeElements",e,t]);let i=arguments.length-2;i&&this._sync(["_insertElements",e,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function iO(e,t,i,a){if(em(e)){let n,r,o,s,l,u;n=i.parse(e[0],a),o=Math.min(n,r=i.parse(e[1],a)),s=Math.max(n,r),l=o,u=s,Math.abs(o)>Math.abs(s)&&(l=s,u=o),t[i.axis]=u,t._custom={barStart:l,barEnd:u,start:n,end:r,min:o,max:s}}else t[i.axis]=i.parse(e,a);return t}function iW(e,t,i,a){let n,r,o,s,l=e.iScale,u=e.vScale,d=l.getLabels(),h=l===u,c=[];for(n=i,r=i+a;n<r;++n)s=t[n],(o={})[l.axis]=h||l.parse(d[n],n),c.push(iO(s,o,u,n));return c}function iz(e){return e&&void 0!==e.barStart&&void 0!==e.barEnd}function iH(e,t,i,a){var n,r,o;return a?iG((n=e,r=t,o=i,e=n===r?o:n===o?r:n),i,t):iG(e,t,i)}function iG(e,t,i){return"start"===e?t:"end"===e?i:e}class iU extends iB{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:e=>"spacing"!==e,_indexable:e=>"spacing"!==e&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data,{labels:{pointStyle:i,textAlign:a,color:n,useBorderRadius:r,borderRadius:o}}=e.legend.options;return t.labels.length&&t.datasets.length?t.labels.map((t,s)=>{let l=e.getDatasetMeta(0).controller.getStyle(s);return{text:t,fillStyle:l.backgroundColor,fontColor:n,hidden:!e.getDataVisibility(s),lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:l.borderWidth,strokeStyle:l.borderColor,textAlign:a,pointStyle:i,borderRadius:r&&(o||l.borderRadius),index:s}}):[]}},onClick(e,t,i){i.chart.toggleDataVisibility(t.index),i.chart.update(
3)}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){let i=this.getDataset().data,a=this._cachedMeta;if(!1===this._parsing)a._parsed=i;else{let n,r,o=e=>+i[e];if(ef(i[e])){let{key:e="value"}=this._parsing;o=t=>+eE(i[t],e)}for(n=e,r=e+t;n<r;++n)a._parsed[n]=o(n)}}_getRotation(){return eY(this.options.rotation-90)}_getCircumference(){return eY(this.options.circumference)}_getRotationExtents(){let e=eN,t=-eN;for(let i=0;i<this.chart.data.datasets.length;++i)if(this.chart.isDatasetVisible(i)&&this.chart.getDatasetMeta(i).type===this._type){let a=this.chart.getDatasetMeta(i).controller,n=a._getRotation(),r=a._getCircumference();e=Math.min(e,n),t=Math.max(t,n+r)}return{rotation:e,circumference:t-e}}update(e){let t,{chartArea:i}=this.chart,a=this._cachedMeta,n=a.data,r=this.getMaxBorderWidth()+this.getMaxOffset(n)+this.options.spacing,o=Math.max((Math.min(i.width,i.height)-r)/2,0),s=Math.min((t=this.options.cutout,"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:t/o),1),l=this._getRingWeight(this.index),{circumference:u,rotation:d}=this._getRotationExtents(),{ratioX:h,ratioY:c,offsetX:m,offsetY:f}=function(e,t,i){let a=1,n=1,r=0,o=0;if(t<eN){let s=e+t,l=Math.cos(e),u=Math.sin(e),d=Math.cos(s),h=Math.sin(s),c=(t,a,n)=>e0(t,e,s,!0)?1:Math.max(a,a*i,n,n*i),m=(t,a,n)=>e0(t,e,s,!0)?-1:Math.min(a,a*i,n,n*i),f=c(0,l,d),p=c(eO,u,h),g=m(eD,l,d),b=m(eD+eO,u,h);a=(f-g)/2,n=(p-b)/2,r=-(f+g)/2,o=-(p+b)/2}return{ratioX:a,ratioY:n,offsetX:r,offsetY:o}}(d,u,s),p=Math.max(Math.min((i.width-r)/h,(i.height-r)/c)/2,0),g=ev(this.options.radius,p),b=Math.max(g*s,0),v=(g-b)/this._getVisibleDatasetWeightTotal();this.offsetX=m*g,this.offsetY=f*g,a.total=this.calculateTotal(),this.outerRadius=g-v*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-v*l,0),this.updateElements(n,0,n.length,e)}_circumference(e,t){let i=this.options,a=this._cachedMeta,n=this._getCircumference();return t&&i.animation.animateRotate||!this.chart.getDataVisibility(e)||null===a._parsed[e]||a.data[e].hidden?0:this.calculateCircumference(a._parsed[e]*n/eN)}updateElements(e,t,i,a){let n,r="reset"===a,o=this.chart,s=o.chartArea,l=o.options.animation,u=(s.left+s.right)/2,d=(s.top+s.bottom)/2,h=r&&l.animateScale,c=h?0:this.innerRadius,m=h?0:this.outerRadius,{sharedOptions:f,includeOptions:p}=this._getSharedOptions(t,a),g=this._getRotation();for(n=0;n<t;++n)g+=this._circumference(n,r);for(n=t;n<t+i;++n){let t=this._circumference(n,r),i=e[n],o={x:u+this.offsetX,y:d+this.offsetY,startAngle:g,endAngle:g+t,circumference:t,outerRadius:m,innerRadius:c};p&&(o.options=f||this.resolveDataElementOptions(n,i.active?"active":a)),g+=t,this.updateElement(i,n,o,a)}}calculateTotal(){let e,t=this._cachedMeta,i=t.data,a=0;for(e=0;e<i.length;e++){let n=t._parsed[e];null!==n&&!isNaN(n)&&this.chart.getDataVisibility(e)&&!i[e].hidden&&(a+=Math.abs(n))}return a}calculateCircumference(e){let t=this._cachedMeta.total;return t>0&&!isNaN(e)?Math.abs(e)/t*eN:0}getLabelAndValue(e){let t=this._cachedMeta,i=this.chart,a=i.data.labels||[],n=tp(t._parsed[e],i.options.locale);return{label:a[e]||"",value:n}}getMaxBorderWidth(e){let t,i,a,n,r,o=0,s=this.chart;if(!e){for(t=0,i=s.data.datasets.length;t<i;++t)if(s.isDatasetVisible(t)){e=(a=s.getDatasetMeta(t)).data,n=a.controller;break}}if(!e)return 0;for(t=0,i=e.length;t<i;++t)"inner"!==(r=n.resolveDataElementOptions(t)).borderAlign&&(o=Math.max(o,r.borderWidth||0,r.hoverBorderWidth||0));return o}getMaxOffset(e){let t=0;for(let i=0,a=e.length;i<a;++i){let e=this.resolveDataElementOptions(i);t=Math.max(t,e.offset||0,e.hoverOffset||0)}return t}_getRingWeightOffset(e){let t=0;for(let i=0;i<e;++i)this.chart.isDatasetVisible(i)&&(t+=this._getRingWeight(i));return t}_getRingWeight(e){return Math.max(eb(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class iV extends iB{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data;if(t.labels.length&&t.datasets.length){let{labels:{pointStyle:i,color:a}}=e.legend.options;return t.labels.map((t,n)=>{let r=e.getDatasetMeta(0).controller.getStyle(n);return{text:t,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,fontColor:a,lineWidth:r.borderWidth,pointStyle:i,hidden:!e.getDataVisibility(n),index:n}})}return[]}},onClick(e,t,i){i.chart.toggleDataVisibility(t.index),i.chart.update(
3)}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){let t=this._cachedMeta,i=this.chart,a=i.data.labels||[],n=tp(t._parsed[e].r,i.options.locale);return{label:a[e]||"",value:n}}parseObjectData(e,t,i,a){return t1.bind(this)(e,t,i,a)}update(e){let t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){let e=this._cachedMeta,t={min:1/0,max:-1/0};return e.data.forEach((e,i)=>{let a=this.getParsed(i).r;!isNaN(a)&&this.chart.getDataVisibility(i)&&(a<t.min&&(t.min=a),a>t.max&&(t.max=a))}),t}_updateRadius(){let e=this.chart,t=e.chartArea,i=e.options,a=Math.max(Math.min(t.right-t.left,t.bottom-t.top)/2,0),n=Math.max(i.cutoutPercentage?a/100*i.cutoutPercentage:1,0),r=(a-n)/e.getVisibleDatasetCount();this.outerRadius=a-r*this.index,this.innerRadius=this.outerRadius-r}updateElements(e,t,i,a){let n,r="reset"===a,o=this.chart,s=o.options.animation,l=this._cachedMeta.rScale,u=l.xCenter,d=l.yCenter,h=l.getIndexAngle(0)-.5*eD,c=h,m=360/this.countVisibleElements();for(n=0;n<t;++n)c+=this._computeAngle(n,a,m);for(n=t;n<t+i;n++){let t=e[n],i=c,f=c+this._computeAngle(n,a,m),p=o.getDataVisibility(n)?l.getDistanceFromCenterForValue(this.getParsed(n).r):0;c=f,r&&(s.animateScale&&(p=0),s.animateRotate&&(i=f=h));let g={x:u,y:d,innerRadius:0,outerRadius:p,startAngle:i,endAngle:f,options:this.resolveDataElementOptions(n,t.active?"active":a)};this.updateElement(t,n,g,a)}}countVisibleElements(){let e=this._cachedMeta,t=0;return e.data.forEach((e,i)=>{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&t++}),t}_computeAngle(e,t,i){return this.chart.getDataVisibility(e)?eY(this.resolveDataElementOptions(e,t).angle||i):0}}var iK=Object.freeze({__proto__:null,BarController:class extends iB{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,t,i,a){return iW(e,t,i,a)}parseArrayData(e,t,i,a){return iW(e,t,i,a)}parseObjectData(e,t,i,a){let n,r,o,s,{iScale:l,vScale:u}=e,{xAxisKey:d="x",yAxisKey:h="y"}=this._parsing,c="x"===l.axis?d:h,m="x"===u.axis?d:h,f=[];for(n=i,r=i+a;n<r;++n)s=t[n],(o={})[l.axis]=l.parse(eE(s,c),n),f.push(iO(eE(s,m),o,u,n));return f}updateRangeFromParsed(e,t,i,a){super.updateRangeFromParsed(e,t,i,a);let n=i._custom;n&&t===this._cachedMeta.vScale&&(e.min=Math.min(e.min,n.min),e.max=Math.max(e.max,n.max))}getMaxOverflow(){return 0}getLabelAndValue(e){let{iScale:t,vScale:i}=this._cachedMeta,a=this.getParsed(e),n=a._custom,r=iz(n)?"["+n.start+", "+n.end+"]":""+i.getLabelForValue(a[i.axis]);return{label:""+t.getLabelForValue(a[t.axis]),value:r}}initialize(){this.enableOptionSharing=!0,super.initialize(),this._cachedMeta.stack=this.getDataset().stack}update(e){let t=this._cachedMeta;this.updateElements(t.data,0,t.data.length,e)}updateElements(e,t,i,a){let n="reset"===a,{index:r,_cachedMeta:{vScale:o}}=this,s=o.getBasePixel(),l=o.isHorizontal(),u=this._getRuler(),{sharedOptions:d,includeOptions:h}=this._getSharedOptions(t,a);for(let c=t;c<t+i;c++){let t=this.getParsed(c),i=n||ec(t[o.axis])?{base:s,head:s}:this._calculateBarValuePixels(c),m=this._calculateBarIndexPixels(c,u),f=(t._stacks||{})[o.axis],p={horizontal:l,base:i.base,enableBorderRadius:!f||iz(t._custom)||r===f._top||r===f._bottom,x:l?i.head:m.center,y:l?m.center:i.head,height:l?m.size:Math.abs(i.size),width:l?Math.abs(i.size):m.size};h&&(p.options=d||this.resolveDataElementOptions(c,e[c].active?"active":a));let g=p.options||e[c].options;!function(e,t,i,a){let n,r,o,s,l,u=t.borderSkipped,d={};if(!u){e.borderSkipped=d;return}if(!0===u){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}let{start:h,end:c,reverse:m,top:f,bottom:p}=(e.horizontal?(n=e.base>e.x,r="left",o="right"):(n=e.base<e.y,r="bottom",o="top"),n?(s="end",l="start"):(s="start",l="end"),{start:r,end:o,reverse:n,top:s,bottom:l});"middle"===u&&i&&(e.enableBorderRadius=!0,(i._top||0)===a?u=f:(i._bottom||0)===a?u=p:(d[iH(p,h,c,m)]=!0,u=f)),d[iH(u,h,c,m)]=!0,e.borderSkipped=d}
3(p,g,f,r),function(e,{inflateAmount:t},i){e.inflateAmount="auto"===t?.33*(1===i):t}(p,g,u.ratio),this.updateElement(e[c],c,p,a)}}_getStacks(e,t){let{iScale:i}=this._cachedMeta,a=i.getMatchingVisibleMetas(this._type).filter(e=>e.controller.options.grouped),n=i.options.stacked,r=[],o=this._cachedMeta.controller.getParsed(t),s=o&&o[i.axis],l=e=>{let t=e._parsed.find(e=>e[i.axis]===s),a=t&&t[e.vScale.axis];if(ec(a)||isNaN(a))return!0};for(let i of a)if(!(void 0!==t&&l(i))&&((!1===n||-1===r.indexOf(i.stack)||void 0===n&&void 0===i.stack)&&r.push(i.stack),i.index===e))break;return r.length||r.push(void 0),r}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){let e=this.chart.scales,t=this.chart.options.indexAxis;return Object.keys(e).filter(i=>e[i].axis===t).shift()}_getAxis(){let e={},t=this.getFirstScaleIdForIndexAxis();for(let i of this.chart.data.datasets)e[eb("x"===this.chart.options.indexAxis?i.xAxisID:i.yAxisID,t)]=!0;return Object.keys(e)}_getStackIndex(e,t,i){let a=this._getStacks(e,i),n=void 0!==t?a.indexOf(t):-1;return -1===n?a.length-1:n}_getRuler(){let e,t,i=this.options,a=this._cachedMeta,n=a.iScale,r=[];for(e=0,t=a.data.length;e<t;++e)r.push(n.getPixelForValue(this.getParsed(e)[n.axis],e));let o=i.barThickness;return{min:o||function(e){let t,i,a,n,r=e.iScale,o=function(e,t){if(!e._cache.$bar){let i=e.getMatchingVisibleMetas(t),a=[];for(let t=0,n=i.length;t<n;t++)a=a.concat(i[t].controller.getAllParsedValues(e));e._cache.$bar=e8(a.sort((e,t)=>e-t))}return e._cache.$bar}(r,e.type),s=r._length,l=()=>{32767!==a&&-32768!==a&&(eR(n)&&(s=Math.min(s,Math.abs(a-n)||s)),n=a)};for(t=0,i=o.length;t<i;++t)a=r.getPixelForValue(o[t]),l();for(t=0,n=void 0,i=r.ticks.length;t<i;++t)a=r.getPixelForTick(t),l();return s}(a),pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:i.grouped,ratio:o?1:i.categoryPercentage*i.barPercentage}}_calculateBarValuePixels(e){let t,i,{_cachedMeta:{vScale:a,_stacked:n,index:r},options:{base:o,minBarLength:s}}=this,l=o||0,u=this.getParsed(e),d=u._custom,h=iz(d),c=u[a.axis],m=0,f=n?this.applyStack(a,u,n):c;f!==c&&(m=f-c,f=c),h&&(c=d.barStart,f=d.barEnd-d.barStart,0!==c&&eG(c)!==eG(d.barEnd)&&(m=0),m+=c);let p=ec(o)||h?m:o,g=a.getPixelForValue(p);if(Math.abs(i=(t=this.chart.getDataVisibility(e)?a.getPixelForValue(m+f):g)-g)<s){var b;i=(0!==(b=i)?eG(b):(a.isHorizontal()?1:-1)*(a.min>=l?1:-1))*s,c===l&&(g-=i/2);let e=a.getPixelForDecimal(0),o=a.getPixelForDecimal(1),d=Math.min(e,o);t=(g=Math.max(Math.min(g,Math.max(e,o)),d))+i,n&&!h&&(u._stacks[a.axis]._visualValues[r]=a.getValueForPixel(t)-a.getValueForPixel(g))}if(g===a.getPixelForValue(l)){let e=eG(i)*a.getLineWidthForValue(l)/2;g+=e,i-=e}return{size:i,base:g,head:t,center:t+i/2}}_calculateBarIndexPixels(e,t){let i,a,n=t.scale,r=this.options,o=r.skipNull,s=eb(r.maxBarThickness,1/0),l=this._getAxisCount();if(t.grouped){var u,d;let n,h,c,m,f,p,g,b,v,y=o?this._getStackCount(e):t.stackCount,w="flex"===r.barThickness?(u=y*l,h=(n=t.pixels)[e],c=e>0?n[e-1]:null,m=e<n.length-1?n[e+1]:null,f=r.categoryPercentage,null===c&&(c=h-(null===m?t.end-t.start:m-h)),null===m&&(m=h+h-c),p=h-(h-Math.min(c,m))/2*f,{chunk:Math.abs(m-c)/2*f/u,ratio:r.barPercentage,start:p}):(d=y*l,ec(v=r.barThickness)?(g=t.min*r.categoryPercentage,b=r.barPercentage):(g=v*d,b=1),{chunk:g/d,ratio:b,start:t.pixels[e]-g/2}),M="x"===this.chart.options.indexAxis?this.getDataset().xAxisID:this.getDataset().yAxisID,x=this._getAxis().indexOf(eb(M,this.getFirstScaleIdForIndexAxis())),k=this._getStackIndex(this.index,this._cachedMeta.stack,o?e:void 0)+x;i=w.start+w.chunk*k+w.chunk/2,a=Math.min(s,w.chunk*w.ratio)}else i=n.getPixelForValue(this.getParsed(e)[n.axis],e),a=Math.min(s,t.min*t.ratio);return{base:i-a/2,head:i+a/2,center:i,size:a}}draw(){let e=this._cachedMeta,t=e.vScale,i=e.data,a=i.length,n=0;for(;n<a;++n)null===this.getParsed(n)[t.axis]||i[n].hidden||i[n].draw(this._ctx)}},BubbleController:class extends iB{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,t,i,a){let n=super.parsePrimitiveData(e,t,i,a);for(let e=0;e<n.length;e++)n[e]._custom=this.resolveDataElementOptions(e+i).radius;return n}parseArrayData(e,t,i,a){let n=super.parseArrayData(e,t,i,a);for(let e=0;e<n.length;e++){let a=t[i+e];n[e]._custom=eb(a[2],this.resolveDataElementOptions(e+i).radius)}return n}parseObjectData(e,t,i,a){let n=super.parseObjectData(e,t,i,a);for(let e=0;e<n.length;e++){let a=t[i+e];n[e]._custom=eb(a&&a.r&&+a.r,this.resolveDataElementOptions(e+i).radius)}return n}getMaxOverflow(){let e=this._cachedMeta.data,t=0;for(let i=e.length-1;i>=0;--i)t=Math.max(t,e[i].size(this.resolveDataElementOptions(i))/2);return t>0&&t}getLabelAndValue(e){let t=this._cachedMeta,i=this.chart.data.labels||[],{xScale:a,yScale:n}=t,r=this.getParsed(e),o=a.getLabelForValue(r.x),s=n.getLabelForValue(r.y),l=r._custom;return{label:i[e]||"",value:"("+o+", "+s+(l?", "+l:"")+")"}}update(e){let t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,i,a){let n="reset"===a,{iScale:r,vScale:o}=this._cachedMeta,{sharedOptions:s,includeOptions:l}=this._getSharedOptions(t,a),u=r.axis,d=o.axis;for(let h=t;h<t+i;h++){let t=e[h],i=!n&&this.getParsed(h),c={},m=c[u]=n?r.getPixelForDecimal(.5):r.getPixelForValue(i[u]),f=c[d]=n?o.getBasePixel():o.getPixelForValue(i[d]);c.skip=isNaN(m)||isNaN(f),l&&(c.options=s||this.resolveDataElementOptions(h,t.active?"active":a),n&&(c.options.radius=0)),this.updateElement(t,h,c,a)}}resolveDataElementOptions(e,t){let i=this.getParsed(e),a=super.resolveDataElementOptions(e,t);a.$shared&&(a=Object.assign({},a,{$shared:!1}));let n=a.radius;
3return"active"!==t&&(a.radius=0),a.radius+=eb(i&&i._custom,n),a}},DoughnutController:iU,LineController:class extends iB{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){let t=this._cachedMeta,{dataset:i,data:a=[],_dataset:n}=t,r=this.chart._animationsDisabled,{start:o,count:s}=ta(t,a,r);this._drawStart=o,this._drawCount=s,tn(t)&&(o=0,s=a.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!n._decimated,i.points=a;let l=this.resolveDatasetElementOptions(e);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(i,void 0,{animated:!r,options:l},e),this.updateElements(a,o,s,e)}updateElements(e,t,i,a){let n="reset"===a,{iScale:r,vScale:o,_stacked:s,_dataset:l}=this._cachedMeta,{sharedOptions:u,includeOptions:d}=this._getSharedOptions(t,a),h=r.axis,c=o.axis,{spanGaps:m,segment:f}=this.options,p=eK(m)?m:1/0,g=this.chart._animationsDisabled||n||"none"===a,b=t+i,v=e.length,y=t>0&&this.getParsed(t-1);for(let i=0;i<v;++i){let m=e[i],v=g?m:{};if(i<t||i>=b){v.skip=!0;continue}let w=this.getParsed(i),M=ec(w[c]),x=v[h]=r.getPixelForValue(w[h],i),k=v[c]=n||M?o.getBasePixel():o.getPixelForValue(s?this.applyStack(o,w,s):w[c],i);v.skip=isNaN(x)||isNaN(k)||M,v.stop=i>0&&Math.abs(w[h]-y[h])>p,f&&(v.parsed=w,v.raw=l.data[i]),d&&(v.options=u||this.resolveDataElementOptions(i,m.active?"active":a)),g||this.updateElement(m,i,v,a),y=w}}getMaxOverflow(){let e=this._cachedMeta,t=e.dataset,i=t.options&&t.options.borderWidth||0,a=e.data||[];return a.length?Math.max(i,a[0].size(this.resolveDataElementOptions(0)),a[a.length-1].size(this.resolveDataElementOptions(a.length-1)))/2:i}draw(){let e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}},PieController:class extends iU{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}},PolarAreaController:iV,RadarController:class extends iB{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(e){let t=this._cachedMeta.vScale,i=this.getParsed(e);return{label:t.getLabels()[e],value:""+t.getLabelForValue(i[t.axis])}}parseObjectData(e,t,i,a){return t1.bind(this)(e,t,i,a)}update(e){let t=this._cachedMeta,i=t.dataset,a=t.data||[],n=t.iScale.getLabels();if(i.points=a,"resize"!==e){let t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);let r={_loop:!0,_fullLoop:n.length===a.length,options:t};this.updateElement(i,void 0,r,e)}this.updateElements(a,0,a.length,e)}updateElements(e,t,i,a){let n=this._cachedMeta.rScale,r="reset"===a;for(let o=t;o<t+i;o++){let t=e[o],i=this.resolveDataElementOptions(o,t.active?"active":a),s=n.getPointPositionForValue(o,this.getParsed(o).r),l=r?n.xCenter:s.x,u=r?n.yCenter:s.y,d={x:l,y:u,angle:s.angle,skip:isNaN(l)||isNaN(u),options:i};this.updateElement(t,o,d,a)}}},ScatterController:class extends iB{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(e){let t=this._cachedMeta,i=this.chart.data.labels||[],{xScale:a,yScale:n}=t,r=this.getParsed(e),o=a.getLabelForValue(r.x),s=n.getLabelForValue(r.y);return{label:i[e]||"",value:"("+o+", "+s+")"}}update(e){let t=this._cachedMeta,{data:i=[]}=t,a=this.chart._animationsDisabled,{start:n,count:r}=ta(t,i,a);if(this._drawStart=n,this._drawCount=r,tn(t)&&(n=0,r=i.length),this.options.showLine){this.datasetElementType||this.addElements();let{dataset:n,_dataset:r}=t;n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!r._decimated,n.points=i;let o=this.resolveDatasetElementOptions(e);o.segment=this.options.segment,this.updateElement(n,void 0,{animated:!a,options:o},e)}else this.datasetElementType&&(delete t.dataset,this.datasetElementType=!1);this.updateElements(i,n,r,e)}addElements(){let{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(e,t,i,a){let n="reset"===a,{iScale:r,vScale:o,_stacked:s,_dataset:l}=this._cachedMeta,u=this.resolveDataElementOptions(t,a),d=this.getSharedOptions(u),h=this.includeOptions(a,d),c=r.axis,m=o.axis,{spanGaps:f,segment:p}=this.options,g=eK(f)?f:1/0,b=this.chart._animationsDisabled||n||"none"===a,v=t>0&&this.getParsed(t-1);for(let u=t;u<t+i;++u){let t=e[u],i=this.getParsed(u),f=b?t:{},y=ec(i[m]),w=f[c]=r.getPixelForValue(i[c],u),M=f[m]=n||y?o.getBasePixel():o.getPixelForValue(s?this.applyStack(o,i,s):i[m],u);f.skip=isNaN(w)||isNaN(M)||y,f.stop=u>0&&Math.abs(i[c]-v[c])>g,p&&(f.parsed=i,f.raw=l.data[u]),h&&(f.options=d||this.resolveDataElementOptions(u,t.active?"active":a)),b||this.updateElement(t,u,f,a),v=i}this.updateSharedOptions(d,a,u)}getMaxOverflow(){let e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let i=t.length-1;i>=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}let i=e.dataset,a=i.options&&i.options.borderWidth||0;return t.length?Math.max(a,t[0].size(this.resolveDataElementOptions(0)),t[t.length-1].size(this.resolveDataElementOptions(t.length-1)))/2:a}}});function iq(){throw Error("This method is not implemented: Check that a complete date adapter is provided.")}class iY{static override(e){Object.assign(iY.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return iq()}parse(){return iq()}format(){return iq()}add(){return iq()}diff(){return iq()}startOf(){return iq()}endOf(){return iq()}}var iX={_date:iY};function i$(e,t,i,a,n){let r=e.getSortedVisibleDatasetMetas(),o=i[t];for(let e=0,i=r.length;e<i;++e){let{index:i,data:s}=r[e],{lo:l,hi:u}=function(e,t,i,a){let{controller:n,data:r,_sorted:o}=e,s=n._cachedMeta.iScale,l=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(s&&t===s.axis&&"r"!==t&&o&&r.length){let o=s._reversePixels?e5:e4;if(a){if(n._sharedOptions){let e=r[0],a="function"==typeof e.getRange&&e.getRange(t);if(a){let e=o(r,t,i-a),n=o(r,t,i+a);return{lo:e.lo,hi:n.hi}}}}else{let a=o(r,t,i);if(l){let{vScale:t}=n._cachedMeta,{_parsed:i}=e,r=i.slice(0,a.lo+1).reverse().findIndex(e=>!ec(e[t.axis]));a.lo-=Math.max(0,r);let o=i.slice(a.hi).findIndex(e=>!ec(e[t.axis]));a.hi+=Math.max(0,o)}return a}}return{lo:0,hi:r.length-1}}(r[e],t,o,n);for(let e=l;e<=u;++e){let t=s[e];
3t.skip||a(t,i,e)}}}function iZ(e,t,i,a,n){let r=[];return(n||e.isPointInArea(t))&&i$(e,i,t,function(i,o,s){(n||tA(i,e.chartArea,0))&&i.inRange(t.x,t.y,a)&&r.push({element:i,datasetIndex:o,index:s})},!0),r}function iQ(e,t,i,a,n,r){let o,s,l,u,d,h;return r||e.isPointInArea(t)?"r"!==i||a?(o=[],s=-1!==i.indexOf("x"),l=-1!==i.indexOf("y"),u=function(e,t){return Math.sqrt(Math.pow(s?Math.abs(e.x-t.x):0,2)+Math.pow(l?Math.abs(e.y-t.y):0,2))},d=1/0,i$(e,i,t,function(i,s,l){let h=i.inRange(t.x,t.y,n);if(a&&!h)return;let c=i.getCenterPoint(n);if(!(r||e.isPointInArea(c))&&!h)return;let m=u(t,c);m<d?(o=[{element:i,datasetIndex:s,index:l}],d=m):m===d&&o.push({element:i,datasetIndex:s,index:l})}),o):(h=[],i$(e,i,t,function(e,i,a){let{startAngle:r,endAngle:o}=e.getProps(["startAngle","endAngle"],n),{angle:s}=e$(e,{x:t.x,y:t.y});e0(s,r,o)&&h.push({element:e,datasetIndex:i,index:a})}),h):[]}function iJ(e,t,i,a,n){let r=[],o="x"===i?"inXRange":"inYRange",s=!1;return(i$(e,i,t,(e,a,l)=>{e[o]&&e[o](t[i],n)&&(r.push({element:e,datasetIndex:a,index:l}),s=s||e.inRange(t.x,t.y,n))}),a&&!s)?[]:r}var i0={modes:{index(e,t,i,a){let n=ii(t,e),r=i.axis||"x",o=i.includeInvisible||!1,s=i.intersect?iZ(e,n,r,a,o):iQ(e,n,r,!1,a,o),l=[];return s.length?(e.getSortedVisibleDatasetMetas().forEach(e=>{let t=s[0].index,i=e.data[t];i&&!i.skip&&l.push({element:i,datasetIndex:e.index,index:t})}),l):[]},dataset(e,t,i,a){let n=ii(t,e),r=i.axis||"xy",o=i.includeInvisible||!1,s=i.intersect?iZ(e,n,r,a,o):iQ(e,n,r,!1,a,o);if(s.length>0){let t=s[0].datasetIndex,i=e.getDatasetMeta(t).data;s=[];for(let e=0;e<i.length;++e)s.push({element:i[e],datasetIndex:t,index:e})}return s},point(e,t,i,a){let n=ii(t,e);return iZ(e,n,i.axis||"xy",a,i.includeInvisible||!1)},nearest(e,t,i,a){let n=ii(t,e),r=i.axis||"xy",o=i.includeInvisible||!1;return iQ(e,n,r,i.intersect,a,o)},x(e,t,i,a){let n=ii(t,e);return iJ(e,n,"x",i.intersect,a)},y(e,t,i,a){let n=ii(t,e);return iJ(e,n,"y",i.intersect,a)}}};let i1=["left","top","right","bottom"];function i2(e,t){return e.filter(e=>e.pos===t)}function i3(e,t){return e.filter(e=>-1===i1.indexOf(e.pos)&&e.box.axis===t)}function i4(e,t){return e.sort((e,i)=>{let a=t?i:e,n=t?e:i;return a.weight===n.weight?a.index-n.index:a.weight-n.weight})}function i5(e,t,i,a){return Math.max(e[i],t[i])+Math.max(e[a],t[a])}function i6(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function i9(e,t,i,a){let n,r,o,s,l,u,d=[];for(n=0,r=e.length,l=0;n<r;++n){(s=(o=e[n]).box).update(o.width||t.w,o.height||t.h,function(e,t){let i=t.maxPadding;return function(e){let a={left:0,top:0,right:0,bottom:0};return e.forEach(e=>{a[e]=Math.max(t[e],i[e])}),a}(e?["left","right"]:["top","bottom"])}(o.horizontal,t));let{same:r,other:h}=function(e,t,i,a){let{pos:n,box:r}=i,o=e.maxPadding;if(!ef(n)){i.size&&(e[n]-=i.size);let t=a[i.stack]||{size:0,count:1};t.size=Math.max(t.size,i.horizontal?r.height:r.width),i.size=t.size/t.count,e[n]+=i.size}r.getPadding&&i6(o,r.getPadding());let s=Math.max(0,t.outerWidth-i5(o,e,"left","right")),l=Math.max(0,t.outerHeight-i5(o,e,"top","bottom")),u=s!==e.w,d=l!==e.h;return e.w=s,e.h=l,i.horizontal?{same:u,other:d}:{same:d,other:u}}(t,i,o,a);l|=r&&d.length,u=u||h,s.fullSize||d.push(o)}return l&&i9(d,t,i,a)||u}function i8(e,t,i,a,n){e.top=i,e.left=t,e.right=t+a,e.bottom=i+n,e.width=a,e.height=n}function i7(e,t,i,a){let n=i.padding,{x:r,y:o}=t;for(let s of e){let e=s.box,l=a[s.stack]||{count:1,placed:0,weight:1},u=s.stackWeight/l.weight||1;if(s.horizontal){let a=t.w*u,r=l.size||e.height;eR(l.start)&&(o=l.start),e.fullSize?i8(e,n.left,o,i.outerWidth-n.right-n.left,r):i8(e,t.left+l.placed,o,a,r),l.start=o,l.placed+=a,o=e.bottom}else{let a=t.h*u,o=l.size||e.width;eR(l.start)&&(r=l.start),e.fullSize?i8(e,r,n.top,o,i.outerHeight-n.bottom-n.top):i8(e,r,t.top+l.placed,o,a),l.start=r,l.placed+=a,r=e.right}}t.x=r,t.y=o}var ae={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},e.boxes.push(t)},removeBox(e,t){let i=e.boxes?e.boxes.indexOf(t):-1;-1!==i&&e.boxes.splice(i,1)},configure(e,t,i){t.fullSize=i.fullSize,t.position=i.position,t.weight=i.weight},update(e,t,i,a){let n,r,o,s,l,u,d,h;if(!e)return;let c=tW(e.options.layout.padding),m=Math.max(t-c.width,0),f=Math.max(i-c.height,0),p=(r=i4((n=function(e){let t,i,a,n,r,o,s=[];for(t=0,i=(e||[]).length;t<i;++t)a=e[t],({position:n,options:{stack:r,stackWeight:o=1}}=a),s.push({index:t,box:a,pos:n,horizontal:a.isHorizontal(),weight:a.weight,stack:r&&n+r,stackWeight:o});return s}(e.boxes)).filter(e=>e.box.fullSize),!0),o=i4(i2(n,"left"),!0),s=i4(i2(n,"right")),l=i4(i2(n,"top"),!0),u=i4(i2(n,"bottom")),d=i3(n,"x"),h=i3(n,"y"),{fullSize:r,leftAndTop:o.c
3oncat(l),rightAndBottom:s.concat(h).concat(u).concat(d),chartArea:i2(n,"chartArea"),vertical:o.concat(s).concat(h),horizontal:l.concat(u).concat(d)}),g=p.vertical,b=p.horizontal;ew(e.boxes,e=>{"function"==typeof e.beforeLayout&&e.beforeLayout()});let v=Object.freeze({outerWidth:t,outerHeight:i,padding:c,availableWidth:m,availableHeight:f,vBoxMaxWidth:m/2/(g.reduce((e,t)=>t.box.options&&!1===t.box.options.display?e:e+1,0)||1),hBoxMaxHeight:f/2}),y=Object.assign({},c);i6(y,tW(a));let w=Object.assign({maxPadding:y,w:m,h:f,x:c.left,y:c.top},c),M=function(e,t){let i,a,n,r=function(e){let t={};for(let i of e){let{stack:e,pos:a,stackWeight:n}=i;if(!e||!i1.includes(a))continue;let r=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});r.count++,r.weight+=n}return t}(e),{vBoxMaxWidth:o,hBoxMaxHeight:s}=t;for(i=0,a=e.length;i<a;++i){let{fullSize:a}=(n=e[i]).box,l=r[n.stack],u=l&&n.stackWeight/l.weight;n.horizontal?(n.width=u?u*o:a&&t.availableWidth,n.height=s):(n.width=o,n.height=u?u*s:a&&t.availableHeight)}return r}(g.concat(b),v);i9(p.fullSize,w,v,M),i9(g,w,v,M),i9(b,w,v,M)&&i9(g,w,v,M);let x=w.maxPadding;function k(e){let t=Math.max(x[e]-w[e],0);return w[e]+=t,t}w.y+=k("top"),w.x+=k("left"),k("right"),k("bottom"),i7(p.leftAndTop,w,v,M),w.x+=w.w,w.y+=w.h,i7(p.rightAndBottom,w,v,M),e.chartArea={left:w.left,top:w.top,right:w.left+w.w,bottom:w.top+w.h,height:w.h,width:w.w},ew(p.chartArea,t=>{let i=t.box;Object.assign(i,e.chartArea),i.update(w.w,w.h,{left:0,top:0,right:0,bottom:0})})}};class at{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,i){}removeEventListener(e,t,i){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,i,a){return t=Math.max(0,t||e.width),i=i||e.height,{width:t,height:Math.max(0,a?Math.floor(t/a):i)}}isAttached(e){return!0}updateConfig(e){}}class ai extends at{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}let aa="$chartjs",an={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ar=e=>null===e||""===e,ao=!!io&&{passive:!0};function as(e,t){for(let i of e)if(i===t||i.contains(t))return!0}function al(e,t,i){let a=e.canvas,n=new MutationObserver(e=>{let t=!1;for(let i of e)t=(t=t||as(i.addedNodes,a))&&!as(i.removedNodes,a);t&&i()});return n.observe(document,{childList:!0,subtree:!0}),n}function au(e,t,i){let a=e.canvas,n=new MutationObserver(e=>{let t=!1;for(let i of e)t=(t=t||as(i.removedNodes,a))&&!as(i.addedNodes,a);t&&i()});return n.observe(document,{childList:!0,subtree:!0}),n}let ad=new Map,ah=0;function ac(){let e=window.devicePixelRatio;e!==ah&&(ah=e,ad.forEach((t,i)=>{i.currentDevicePixelRatio!==e&&t()}))}function am(e,t,i){let a=e.canvas,n=a&&t9(a);if(!n)return;let r=te((e,t)=>{let a=n.clientWidth;i(e,t),a<n.clientWidth&&i()},window),o=new ResizeObserver(e=>{let t=e[0],i=t.contentRect.width,a=t.contentRect.height;(0!==i||0!==a)&&r(i,a)});return o.observe(n),ad.size||window.addEventListener("resize",ac),ad.set(e,r),o}function af(e,t,i){i&&i.disconnect(),"resize"===t&&(ad.delete(e),ad.size||window.removeEventListener("resize",ac))}function ap(e,t,i){let a=e.canvas,n=te(t=>{null!==e.ctx&&i(function(e,t){let i=an[e.type]||e.type,{x:a,y:n}=ii(e,t);return{type:i,chart:t,native:e,x:void 0!==a?a:null,y:void 0!==n?n:null}}(t,e))},e);return a&&a.addEventListener(t,n,ao),n}class ag extends at{acquireContext(e,t){let i=e&&e.getContext&&e.getContext("2d");return i&&i.canvas===e?(!function(e,t){let i=e.style,a=e.getAttribute("height"),n=e.getAttribute("width");if(e[aa]={initial:{height:a,width:n,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",ar(n)){let t=is(e,"width");void 0!==t&&(e.width=t)}if(ar(a))if(""===e.style.height)e.height=e.width/(t||2);else{let t=is(e,"height");void 0!==t&&(e.height=t)}}(e,t),i):null}releaseContext(e){let t=e.canvas;if(!t[aa])return!1;let i=t[aa].initial;["height","width"].forEach(e=>{let a=i[e];ec(a)?t.removeAttribute(e):t.setAttribute(e,a)});let a=i.style||{};
3return Object.keys(a).forEach(e=>{t.style[e]=a[e]}),t.width=t.width,delete t[aa],!0}addEventListener(e,t,i){this.removeEventListener(e,t);let a=e.$proxies||(e.$proxies={}),n={attach:al,detach:au,resize:am}[t]||ap;a[t]=n(e,t,i)}removeEventListener(e,t){let i=e.$proxies||(e.$proxies={}),a=i[t];a&&((({attach:af,detach:af,resize:af})[t]||function(e,t,i){e&&e.canvas&&e.canvas.removeEventListener(t,i,ao)})(e,t,a),i[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,i,a){return function(e,t,i,a){let n=t7(e),r=it(n,"margin"),o=t8(n.maxWidth,e,"clientWidth")||e_,s=t8(n.maxHeight,e,"clientHeight")||e_,l=function(e,t,i){let a,n;if(void 0===t||void 0===i){let r=e&&t9(e);if(r){let e=r.getBoundingClientRect(),o=t7(r),s=it(o,"border","width"),l=it(o,"padding");t=e.width-l.width-s.width,i=e.height-l.height-s.height,a=t8(o.maxWidth,r,"clientWidth"),n=t8(o.maxHeight,r,"clientHeight")}else t=e.clientWidth,i=e.clientHeight}return{width:t,height:i,maxWidth:a||e_,maxHeight:n||e_}}(e,t,i),{width:u,height:d}=l;if("content-box"===n.boxSizing){let e=it(n,"border","width"),t=it(n,"padding");u-=t.width+e.width,d-=t.height+e.height}return u=Math.max(0,u-r.width),d=Math.max(0,a?u/a:d-r.height),u=ia(Math.min(u,o,l.maxWidth)),d=ia(Math.min(d,s,l.maxHeight)),u&&!d&&(d=ia(u/2)),(void 0!==t||void 0!==i)&&a&&l.height&&d>l.height&&(u=ia(Math.floor((d=l.height)*a))),{width:u,height:d}}(e,t,i,a)}isAttached(e){let t=e&&t9(e);return!!(t&&t.isConnected)}}class ab{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){let{x:t,y:i}=this.getProps(["x","y"],e);return{x:t,y:i}}hasValue(){return eK(this.x)&&eK(this.y)}getProps(e,t){let i=this.$animations;if(!t||!i)return this;let a={};return e.forEach(e=>{a[e]=i[e]&&i[e].active()?i[e]._to:this[e]}),a}}function av(e,t,i,a,n){let r,o,s,l=eb(a,0),u=Math.min(eb(n,e.length),e.length),d=0;for(i=Math.ceil(i),n&&(i=(r=n-a)/Math.floor(r/i)),s=l;s<0;)s=Math.round(l+ ++d*i);for(o=Math.max(l,0);o<u;o++)o===s&&(t.push(e[o]),s=Math.round(l+ ++d*i))}let ay=(e,t,i)=>"top"===t||"left"===t?e[t]+i:e[t]-i,aw=(e,t)=>Math.min(t||e,e);function aM(e,t){let i=[],a=e.length/t,n=e.length,r=0;for(;r<n;r+=a)i.push(e[Math.floor(r)]);return i}function ax(e){return e.drawTicks?e.tickLength:0}function ak(e,t){if(!e.display)return 0;let i=tz(e.font,t),a=tW(e.padding);return(em(e.text)?e.text.length:1)*i.lineHeight+a.height}class aS extends ab{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:i,_suggestedMax:a}=this;return e=eg(e,1/0),t=eg(t,-1/0),i=eg(i,1/0),a=eg(a,-1/0),{min:eg(e,i),max:eg(t,a),minDefined:ep(e),maxDefined:ep(t)}}getMinMax(e){let t,{min:i,max:a,minDefined:n,maxDefined:r}=this.getUserBounds();if(n&&r)return{min:i,max:a};let o=this.getMatchingVisibleMetas();for(let s=0,l=o.length;s<l;++s)t=o[s].controller.getMinMax(this,e),n||(i=Math.min(i,t.min)),r||(a=Math.max(a,t.max));return i=r&&i>a?a:i,a=n&&i>a?i:a,{min:eg(i,eg(a,i)),max:eg(a,eg(i,a))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}
3getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){ey(this.options.beforeUpdate,[this])}update(e,t,i){let{beginAtZero:a,grace:n,ticks:r}=this.options,o=r.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(e,t,i){let{min:a,max:n}=e,r=ev(t,(n-a)/2),o=(e,t)=>i&&0===e?0:e+t;return{min:o(a,-Math.abs(r)),max:o(n,r)}}(this,n,a),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let s=o<this.ticks.length;this._convertTicksToLabels(s?aM(this.ticks,o):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),r.display&&(r.autoSkip||"auto"===r.source)&&(this.ticks=function(e,t){var i;let a,n,r=e.options.ticks,o=(a=(i=e).options.offset,n=i._tickSize(),Math.floor(Math.min(i._length/n+ +!a,i._maxLength/n))),s=Math.min(r.maxTicksLimit||o,o),l=r.major.enabled?function(e){let t,i,a=[];for(t=0,i=e.length;t<i;t++)e[t].major&&a.push(t);return a}(t):[],u=l.length,d=l[0],h=l[u-1],c=[];if(u>s)return function(e,t,i,a){let n,r=0,o=i[0];for(a=Math.ceil(a),n=0;n<e.length;n++)n===o&&(t.push(e[n]),o=i[++r*a])}(t,c,l,u/s),c;let m=function(e,t,i){let a=function(e){let t,i,a=e.length;if(a<2)return!1;for(i=e[0],t=1;t<a;++t)if(e[t]-e[t-1]!==i)return!1;return i}(e),n=t.length/i;if(!a)return Math.max(n,1);let r=function(e){let t,i=[],a=Math.sqrt(e);for(t=1;t<a;t++)e%t==0&&(i.push(t),i.push(e/t));return a===(0|a)&&i.push(a),i.sort((e,t)=>e-t).pop(),i}(a);for(let e=0,t=r.length-1;e<t;e++){let t=r[e];if(t>n)return t}return Math.max(n,1)}(l,t,s);if(u>0){let e,i,a=u>1?Math.round((h-d)/(u-1)):null;for(av(t,c,m,ec(a)?0:d-a,d),e=0,i=u-1;e<i;e++)av(t,c,m,l[e],l[e+1]);return av(t,c,m,h,ec(a)?t.length:h+a),c}return av(t,c,m),c}(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),s&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e,t,i=this.options.reverse;this.isHorizontal()?(e=this.left,t=this.right):(e=this.top,t=this.bottom,i=!i),this._startPixel=e,this._endPixel=t,this._reversePixels=i,this._length=t-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){ey(this.options.afterUpdate,[this])}beforeSetDimensions(){ey(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){ey(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),ey(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){ey(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){let t,i,a,n=this.options.ticks;for(t=0,i=e.length;t<i;t++)(a=e[t]).label=ey(n.callback,[a.value,t,e],this)}afterTickToLabelConversion(){ey(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){ey(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){let e,t,i,a=this.options,n=a.ticks,r=aw(this.ticks.length,a.ticks.maxTicksLimit),o=n.minRotation||0,s=n.maxRotation,l=o;if(!this._isVisible()||!n.display||o>=s||r<=1||!this.isHorizontal()){this.labelRotation=o;return}let u=this._getLabelSizes(),d=u.widest.width,h=u.highest.height,c=e1(this.chart.width-d,0,this.maxWidth);d+6>(e=a.offset?this.maxWidth/r:c/(r-1))&&(e=c/(r-(a.offset?.5:1)),t=this.maxHeight-ax(a.grid)-n.padding-ak(a.title,this.chart.options.font),i=Math.sqrt(d*d+h*h),l=Math.max(o,Math.min(s,l=180/eD*Math.min(Math.asin(e1((u.highest.height+6)/e,-1,1)),Math.asin(e1(t/i,-1,1))-Math.asin(e1(h/i,-1,1)))))),this.labelRotation=l}afterCalculateLabelRotation(){ey(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){ey(this.options.beforeFit,[this])}fit(){let e={width:0,height:0},{chart:t,options:{ticks:i,title:a,grid:n}}=this,r=this._isVisible(),o=this.isHorizontal();if(r){let r=ak(a,t.options.font);
3if(o?(e.width=this.maxWidth,e.height=ax(n)+r):(e.height=this.maxHeight,e.width=ax(n)+r),i.display&&this.ticks.length){let{first:t,last:a,widest:n,highest:r}=this._getLabelSizes(),s=2*i.padding,l=eY(this.labelRotation),u=Math.cos(l),d=Math.sin(l);if(o){let t=i.mirror?0:d*n.width+u*r.height;e.height=Math.min(this.maxHeight,e.height+t+s)}else{let t=i.mirror?0:u*n.width+d*r.height;e.width=Math.min(this.maxWidth,e.width+t+s)}this._calculatePadding(t,a,d,u)}}this._handleMargins(),o?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,i,a){let{ticks:{align:n,padding:r},position:o}=this.options,s=0!==this.labelRotation,l="top"!==o&&"x"===this.axis;if(this.isHorizontal()){let o=this.getPixelForTick(0)-this.left,u=this.right-this.getPixelForTick(this.ticks.length-1),d=0,h=0;s?l?(d=a*e.width,h=i*t.height):(d=i*e.height,h=a*t.width):"start"===n?h=t.width:"end"===n?d=e.width:"inner"!==n&&(d=e.width/2,h=t.width/2),this.paddingLeft=Math.max((d-o+r)*this.width/(this.width-o),0),this.paddingRight=Math.max((h-u+r)*this.width/(this.width-u),0)}else{let i=t.height/2,a=e.height/2;"start"===n?(i=0,a=e.height):"end"===n&&(i=t.height,a=0),this.paddingTop=i+r,this.paddingBottom=a+r}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){ey(this.options.afterFit,[this])}isHorizontal(){let{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,i=e.length;t<i;t++)ec(e[t].label)&&(e.splice(t,1),i--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){let t=this.options.ticks.sampleSize,i=this.ticks;t<i.length&&(i=aM(i,t)),this._labelSizes=e=this._computeLabelSizes(i,i.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,t,i){let a,n,r,o,s,l,u,d,h,c,m,{ctx:f,_longestTextCache:p}=this,g=[],b=[],v=Math.floor(t/aw(t,i)),y=0,w=0;for(a=0;a<t;a+=v){if(o=e[a].label,f.font=l=(s=this._resolveTickFontOptions(a)).string,u=p[l]=p[l]||{data:{},gc:[]},d=s.lineHeight,h=c=0,ec(o)||em(o)){if(em(o))for(n=0,r=o.length;n<r;++n)ec(m=o[n])||em(m)||(h=tx(f,u.data,u.gc,h,m),c+=d)}else h=tx(f,u.data,u.gc,h,o),c=d;g.push(h),b.push(c),y=Math.max(h,y),w=Math.max(c,w)}ew(p,e=>{let i,a=e.gc,n=a.length/2;if(n>t){for(i=0;i<n;++i)delete e.data[a[i]];a.splice(0,n)}});let M=g.indexOf(y),x=b.indexOf(w),k=e=>({width:g[e]||0,height:b[e]||0});return{first:k(0),last:k(t-1),widest:k(M),highest:k(x),widths:g,heights:b}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);let t=this._startPixel+e*this._length;return e1(this._alignToPixels?tk(this.chart,t,0):t,-32768,32767)}getDecimalForPixel(e){let t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){var t,i;let a=this.ticks||[];if(e>=0&&e<a.length){let i=a[e];return i.$context||(t=this.getContext(),i.$context=tG(t,{tick:i,index:e,type:"tick"}))}return this.$context||(this.$context=(i=this.chart.getContext(),tG(i,{scale:this,type:"scale"})))}_tickSize(){let e=this.options.ticks,t=eY(this.labelRotation),i=Math.abs(Math.cos(t)),a=Math.abs(Math.sin(t)),n=this._getLabelSizes(),r=e.autoSkipPadding||0,o=n?n.widest.width+r:0,s=n?n.highest.height+r:0;return this.isHorizontal()?s*i>o*a?o/i:s/a:s*a<o*i?s/i:o/a}_isVisible(){let e=this.options.display;return"auto"!==e?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){let t,i,a,n,r,o,s,l,u,d,h,c,m=this.axis,f=this.chart,p=this.options,{grid:g,position:b,border:v}=p,y=g.offset,w=this.isHorizontal(),M=this.ticks.length+ +!!y,x=ax(g),k=[],S=v.setContext(this.getContext()),P=S.display?S.width:0,T=P/2,A=function(e){return tk(f,e,P)};if("top"===b)t=A(this.bottom),o=this.bottom-x,l=t-T,d=A(e.top)+T,c=e.bottom;else if("bottom"===b)t=A(this.top),d=e.top,c=A(e.bottom)-T,o=t+T,l=this.top+x;else if("left"===b)t=A(this.right),r=this.right-x,s=t-T,u=A(e.left)+T,h=e.right;else if("right"===b)t=A(this.left),u=e.left,h=A(e.right)-T,r=t+T,s=this.left+x;else if("x"===m){if("center"===b)t=A((e.top+e.bottom)/2+.5);else if(ef(b)){let e=Object.keys(b)[0],i=b[e];t=A(this.chart.scales[e].getPixelForValue(i))}d=e.top,c=e.bottom,l=(o=t+T)+x}else if("y"===m){if("center"===b)t=A((e.left+e.right)/2);else if(ef(b)){let e=Object.keys(b)[0],i=b[e];t=A(this.chart.scales[e].getPixelForValue(i))}s=(r=t-T)-x,u=e.left,h=e.right}let C=eb(p.ticks.maxTicksLimit,M),E=Math.max(1,Math.ceil(M/C));for(i=0;i<M;i+=E){let e=this.getContext(i),t=g.setContext(e),m=v.setContext(e),p=t.lineWidth,b=t.color,M=m.dash||[],x=m.dashOffset,S=t.tickWidth,P=t.tickColor,T=t.tickBorderDash||[],A=t.tickBorderDashOffset;void 0!==(a=function(e,t,i){let a,n=e.ticks.length,r=Math.min(t,n-1),o=e._startPixel,s=e._endPixel,l=e.getPixelForTick(r);if(!i||(a=1===n?Math.max(l-o,s-l):0===t?(e.getPixelForTick(1)-l)/2:(l-e.getPixelForTick(r-1))/2,!((l+=r<t?a:-a)<o-1e-6)&&!(l>s+1e-6)))return l}(this,i,y))&&(n=tk(f,a,p),w?r=s=u=h=n:o=l=d=c=n,k.push({tx1:r,ty1:o,tx2:s,ty2:l,x1:u,y1:d,x2:h,y2:c,width:p,color:b,borderDash:M,borderDashOffset:x,tickWidth:S,tickColor:P,tickBorderDash:T,tickBorderDashOffset:A}))}return this._ticksLength=M,this._borderValue=t,k}_computeLabelItems(e){let t,i,a,n,r,o,s,l,u,d,h,c=this.axis,m=this.options,{position:f,ticks:p}=m,g=this.isHorizontal(),b=this.ticks,{align:v,crossAlign:y,padding:w,mirror:M}=p,x=ax(m.grid),k=x+w,S=M?-w:k,P=-eY(this.labelRotation),T=[],A="middle";if("top"===f)r=this.bottom-S,o=this._getXAxisLabelAlignment();else if("bottom"===f)r=this.top+S,o=this._getXAxisLabelAlignment();else if("left"===f){let e=this._getYAxisLabelAlignment(x);o=e.textAlign,n=e.x}else if("right"===f){let e=this._getYAxisLabelAlignment(x);o=e.textAlign,n=e.x}else if("x"===c){if("center"===f)r=(e.top+e.bottom)/2+k;else if(ef(f)){let e=Object.keys(f)[0],t=f[e];r=this.chart.scales[e].getPixelForValue(t)+k}o=this._getXAxisLabelAlignment()}else if("y"===c){if("center"===f)n=(e.left+e.right)/2-k;else if(ef(f)){let e=Object.keys(f)[0],t=f[e];n=this.chart.scales[e].getPixelForValue(t)}o=this._getYAxisLabelAlignment(x).textAlign}"y"===c&&("start"===v?A="top":"end"===v&&(A="bottom"));let C=this._getLabelSizes();for(t=0,i=b.length;t<i;++t){let e;a=b[t].label;let c=p.setContext(this.getContext(t));s=this.getPixelForTick(t)+p.labelOffset,u=(l=this._resolveTickFontOptions(t)).lineHeight;let m=(d=em(a)?a.length:1)/2,v=c.color,w=c.textStrokeColor,x=c.textStrokeWidth,k=o;
3if(g?(n=s,"inner"===o&&(k=t===i-1?this.options.reverse?"left":"right":0===t?this.options.reverse?"right":"left":"center"),h="top"===f?"near"===y||0!==P?-d*u+u/2:"center"===y?-C.highest.height/2-m*u+u:-C.highest.height+u/2:"near"===y||0!==P?u/2:"center"===y?C.highest.height/2-m*u:C.highest.height-d*u,M&&(h*=-1),0===P||c.showLabelBackdrop||(n+=u/2*Math.sin(P))):(r=s,h=(1-d)*u/2),c.showLabelBackdrop){let a=tW(c.backdropPadding),n=C.heights[t],r=C.widths[t],s=h-a.top,l=0-a.left;switch(A){case"middle":s-=n/2;break;case"bottom":s-=n}switch(o){case"center":l-=r/2;break;case"right":l-=r;break;case"inner":t===i-1?l-=r:t>0&&(l-=r/2)}e={left:l,top:s,width:r+a.width,height:n+a.height,color:c.backdropColor}}T.push({label:a,font:l,textOffset:h,options:{rotation:P,color:v,strokeColor:w,strokeWidth:x,textAlign:k,textBaseline:A,translation:[n,r],backdrop:e}})}return T}_getXAxisLabelAlignment(){let{position:e,ticks:t}=this.options;if(-eY(this.labelRotation))return"top"===e?"left":"right";let i="center";return"start"===t.align?i="left":"end"===t.align?i="right":"inner"===t.align&&(i="inner"),i}_getYAxisLabelAlignment(e){let t,i,{position:a,ticks:{crossAlign:n,mirror:r,padding:o}}=this.options,s=this._getLabelSizes(),l=e+o,u=s.widest.width;return"left"===a?r?(i=this.right+o,"near"===n?t="left":"center"===n?(t="center",i+=u/2):(t="right",i+=u)):(i=this.right-l,"near"===n?t="right":"center"===n?(t="center",i-=u/2):(t="left",i=this.left)):"right"===a?r?(i=this.left+o,"near"===n?t="right":"center"===n?(t="center",i-=u/2):(t="left",i-=u)):(i=this.left+l,"near"===n?t="left":"center"===n?(t="center",i+=u/2):(t="right",i=this.right)):t="right",{textAlign:t,x:i}}_computeLabelArea(){if(this.options.ticks.mirror)return;let e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}
3:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}drawBackground(){let{ctx:e,options:{backgroundColor:t},left:i,top:a,width:n,height:r}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(i,a,n,r),e.restore())}getLineWidthForValue(e){let t=this.options.grid;if(!this._isVisible()||!t.display)return 0;let i=this.ticks.findIndex(t=>t.value===e);return i>=0?t.setContext(this.getContext(i)).lineWidth:0}drawGrid(e){let t,i,a=this.options.grid,n=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e)),o=(e,t,i)=>{i.width&&i.color&&(n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.setLineDash(i.borderDash||[]),n.lineDashOffset=i.borderDashOffset,n.beginPath(),n.moveTo(e.x,e.y),n.lineTo(t.x,t.y),n.stroke(),n.restore())};if(a.display)for(t=0,i=r.length;t<i;++t){let e=r[t];a.drawOnChartArea&&o({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},e),a.drawTicks&&o({x:e.tx1,y:e.ty1},{x:e.tx2,y:e.ty2},{color:e.tickColor,width:e.tickWidth,borderDash:e.tickBorderDash,borderDashOffset:e.tickBorderDashOffset})}}drawBorder(){let e,t,i,a,{chart:n,ctx:r,options:{border:o,grid:s}}=this,l=o.setContext(this.getContext()),u=o.display?l.width:0;if(!u)return;let d=s.setContext(this.getContext(0)).lineWidth,h=this._borderValue;this.isHorizontal()?(e=tk(n,this.left,u)-u/2,t=tk(n,this.right,d)+d/2,i=a=h):(i=tk(n,this.top,u)-u/2,a=tk(n,this.bottom,d)+d/2,e=t=h),r.save(),r.lineWidth=l.width,r.strokeStyle=l.color,r.beginPath(),r.moveTo(e,i),r.lineTo(t,a),r.stroke(),r.restore()}drawLabels(e){if(!this.options.ticks.display)return;let t=this.ctx,i=this._computeLabelArea();for(let a of(i&&tC(t,i),this.getLabelItems(e))){let e=a.options,i=a.font;tF(t,a.label,0,a.textOffset,i,e)}i&&tE(t)}drawTitle(){let e,t,{ctx:i,options:{position:a,title:n,reverse:r}}=this;if(!n.display)return;let o=tz(n.font),s=tW(n.padding),l=n.align,u=o.lineHeight/2;"bottom"===a||"center"===a||ef(a)?(u+=s.bottom,em(n.text)&&(u+=o.lineHeight*(n.text.length-1))):u+=s.top;let{titleX:d,titleY:h,maxWidth:c,rotation:m}=function(e,t,i,a){let n,r,o,{top:s,left:l,bottom:u,right:d,chart:h}=e,{chartArea:c,scales:m}=h,f=0,p=u-s,g=d-l;if(e.isHorizontal()){if(r=ti(a,l,d),ef(i)){let e=Object.keys(i)[0],a=i[e];o=m[e].getPixelForValue(a)+p-t}else o="center"===i?(c.bottom+c.top)/2+p-t:ay(e,i,t);n=d-l}else{if(ef(i)){let e=Object.keys(i)[0],a=i[e];r=m[e].getPixelForValue(a)-g+t}else r="center"===i?(c.left+c.right)/2-g+t:ay(e,i,t);o=ti(a,u,s),f="left"===i?-eO:eO}return{titleX:r,titleY:o,maxWidth:n,rotation:f}}(this,u,a,l);tF(i,n.text,0,0,o,{color:n.color,maxWidth:c,rotation:m,textAlign:(e=tt(l),(r&&"right"!==a||!r&&"right"===a)&&(e="left"===(t=e)?"right":"right"===t?"left":t),e),textBaseline:"middle",translation:[d,h]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){let e=this.options,t=e.ticks&&e.ticks.z||0,i=eb(e.grid&&e.grid.z,-1),a=eb(e.border&&e.border.z,0);return this._isVisible()&&this.draw===aS.prototype.draw?[{z:i,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:a,draw:()=>{this.drawBorder()}},{z:t,draw:e=>{this.drawLabels(e)}}]:[{z:t,draw:e=>{this.draw(e)}}]}getMatchingVisibleMetas(e){let t,i,a=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",r=[];for(t=0,i=a.length;t<i;++t){let i=a[t];i[n]!==this.id||e&&i.type!==e||r.push(i)}return r}_resolveTickFontOptions(e){return tz(this.options.ticks.setContext(this.getContext(e)).font)}_maxDigits(){let e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class aP{constructor(e,t,i){this.type=e,this.scope=t,this.override=i,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){var t,i,a,n,r,o;let s,l,u=Object.getPrototypeOf(e);"id"in(t=u)&&"defaults"in t&&(l=this.register(u));let d=this.items,h=e.id,c=this.scope+"."+h;if(!h)throw Error("class does not have id: "+e);return h in d||(d[h]=e,i=e,a=c,n=l,s=eP(Object.create(null),[n?tM.get(n):{},tM.get(a),i.defaults]),tM.set(a,s),i.defaultRoutes&&(r=a,Object.keys(o=i.defaultRoutes).forEac
3h(e=>{let t=e.split("."),i=t.pop(),a=[r].concat(t).join("."),n=o[e].split("."),s=n.pop(),l=n.join(".");tM.route(a,i,l,s)})),i.descriptors&&tM.describe(a,i.descriptors),this.override&&tM.override(e.id,e.overrides)),c}get(e){return this.items[e]}unregister(e){let t=this.items,i=e.id,a=this.scope;i in t&&delete t[i],a&&i in tM[a]&&(delete tM[a][i],this.override&&delete tb[i])}}var aT=new class{constructor(){this.controllers=new aP(iB,"datasets",!0),this.elements=new aP(ab,"elements"),this.plugins=new aP(Object,"plugins"),this.scales=new aP(aS,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,i){[...t].forEach(t=>{let a=i||this._getRegistryForType(t);i||a.isForType(t)||a===this.plugins&&t.id?this._exec(e,a,t):ew(t,t=>{let a=i||this._getRegistryForType(t);this._exec(e,a,t)})})}_exec(e,t,i){let a=eL(e);ey(i["before"+a],[],i),t[e](i),ey(i["after"+a],[],i)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){let i=this._typedRegistries[t];if(i.isForType(e))return i}return this.plugins}_get(e,t,i){let a=t.get(e);if(void 0===a)throw Error('"'+e+'" is not a registered '+i+".");return a}};class aA{constructor(){this._init=void 0}notify(e,t,i,a){if("beforeInit"===t&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install")),void 0===this._init)return;let n=a?this._descriptors(e).filter(a):this._descriptors(e),r=this._notify(n,e,t,i);return"afterDestroy"===t&&(this._notify(n,e,"stop"),this._notify(this._init,e,"uninstall"),this._init=void 0),r}_notify(e,t,i,a){for(let n of(a=a||{},e)){let e=n.plugin;if(!1===ey(e[i],[t,a,n.options],e)&&a.cancelable)return!1}return!0}invalidate(){ec(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;let t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){let i=e&&e.config,a=eb(i.options&&i.options.plugins,{}),n=function(e){let t={},i=[],a=Object.keys(aT.plugins.items);for(let e=0;e<a.length;e++)i.push(aT.getPlugin(a[e]));let n=e.plugins||[];for(let e=0;e<n.length;e++){let a=n[e];-1===i.indexOf(a)&&(i.push(a),t[a.id]=!0)}return{plugins:i,localIds:t}}(i);return!1!==a||t?function(e,{plugins:t,localIds:i},a,n){let r=[],o=e.getContext();for(let l of t){var s;let t=l.id,u=(s=a[t],n||!1!==s?!0===s?{}:s:null);null!==u&&r.push({plugin:l,options:function(e,{plugin:t,local:i},a,n){let r=e.pluginScopeKeys(t),o=e.getOptionScopes(a,r);return i&&t.defaults&&o.push(t.defaults),e.createResolver(o,n,[""],{scriptable:!1,indexable:!1,allKeys:!0})}(e.config,{plugin:l,local:i[t]},u,o)})}return r}(e,n,a,t):[]}_notifyStateChanges(e){let t=this._oldCache||[],i=this._cache,a=(e,t)=>e.filter(e=>!t.some(t=>e.plugin.id===t.plugin.id));this._notify(a(t,i),e,"stop"),this._notify(a(i,t),e,"start")}}function aC(e,t){let i=tM.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||i.indexAxis||"x"}function aE(e){if("x"===e||"y"===e||"r"===e)return e}function aL(e,...t){if(aE(e))return e;for(let a of t){var i;let t=a.axis||("top"===(i=a.position)||"bottom"===i?"x":"left"===i||"right"===i?"y":void 0)||e.length>1&&aE(e[0].toLowerCase());if(t)return t}throw Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function aR(e,t,i){if(i[t+"AxisID"]===e)return{axis:t}}function aF(e){let t,i,a,n,r=e.options||(e.options={});r.plugins=eb(r.plugins,{}),t=tb[e.type]||{scales:{}},i=r.scales||{}
3,a=aC(e.type,r),n=Object.create(null),Object.keys(i).forEach(r=>{let o=i[r];if(!ef(o))return console.error(`Invalid scale configuration for scale: ${r}`);if(o._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${r}`);let s=aL(r,o,function(e,t){if(t.data&&t.data.datasets){let i=t.data.datasets.filter(t=>t.xAxisID===e||t.yAxisID===e);if(i.length)return aR(e,"x",i[0])||aR(e,"y",i[0])}return{}}(r,e),tM.scales[o.type]),l=s===a?"_index_":"_value_",u=t.scales||{};n[r]=eT(Object.create(null),[{axis:s},o,u[s],u[l]])}),e.data.datasets.forEach(t=>{let a=t.type||e.type,o=t.indexAxis||aC(a,r),s=(tb[a]||{}).scales||{};Object.keys(s).forEach(e=>{let a,r=(a=e,"_index_"===e?a=o:"_value_"===e&&(a="x"===o?"y":"x"),a),l=t[r+"AxisID"]||r;n[l]=n[l]||Object.create(null),eT(n[l],[{axis:r},i[l],s[e]])})}),Object.keys(n).forEach(e=>{let t=n[e];eT(t,[tM.scales[t.type],tM.scale])}),r.scales=n}function aj(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}let aD=new Map,aN=new Set;function aI(e,t){let i=aD.get(e);return i||(i=t(),aD.set(e,i),aN.add(i)),i}let a_=(e,t,i)=>{let a=eE(t,i);void 0!==a&&e.add(a)};class aB{constructor(e){this._config=function(e){return(e=e||{}).data=aj(e.data),aF(e),e}(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=aj(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){let e=this._config;this.clearCache(),aF(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return aI(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,t){return aI(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,t){return aI(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]])}pluginScopeKeys(e){let t=e.id,i=this.type;return aI(`${i}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){let i=this._scopeCache,a=i.get(e);return(!a||t)&&(a=new Map,i.set(e,a)),a}getOptionScopes(e,t,i){let{options:a,type:n}=this,r=this._cachedScopes(e,i),o=r.get(t);if(o)return o;let s=new Set;t.forEach(t=>{e&&(s.add(e),t.forEach(t=>a_(s,e,t))),t.forEach(e=>a_(s,a,e)),t.forEach(e=>a_(s,tb[n]||{},e)),t.forEach(e=>a_(s,tM,e)),t.forEach(e=>a_(s,tv,e))});let l=Array.from(s);return 0===l.length&&l.push(Object.create(null)),aN.has(t)&&r.set(t,l),l}chartOptionScopes(){let{options:e,type:t}=this;return[e,tb[t]||{},tM.datasets[t]||{},{type:t},tM,tv]}resolveNamedOptions(e,t,i,a=[""]){let n={$shared:!0},{resolver:r,subPrefixes:o}=aO(this._resolverCache,e,a),s=r;if(function(e,t){let{isScriptable:i,isIndexable:a}=tK(e);for(let n of t){let t=i(n),r=a(n),o=(r||t)&&e[n];if(t&&(eF(o)||aW(o))||r&&em(o))return!0}return!1}(r,t)){n.$shared=!1,i=eF(i)?i():i;let t=this.createResolver(e,i,o);s=tV(r,i,t)}for(let e of t)n[e]=s[e];return n}createResolver(e,t,i=[""],a){let{resolver:n}=aO(this._resolverCache,e,i);return ef(t)?tV(n,t,void 0,a):n}}function aO(e,t,i){let a=e.get(t);a||(a=new Map,e.set(t,a));let n=i.join(),r=a.get(n);return r||(r={resolver:tU(t,i),subPrefixes:i.filter(e=>!e.toLowerCase().includes("hover"))},a.set(n,r)),r}let aW=e=>ef(e)&&Object.getOwnPropertyNames(e).some(t=>eF(e[t])),az=["top","bottom","left","right","chartArea"];function aH(e,t){return"top"===e||"bottom"===e||-1===az.indexOf(e)&&"x"===t}function aG(e,t){return function(i,a){return i[e]===a[e]?i[t]-a[t]:i[e]-a[e]}}function aU(e){let t=e.chart,i=t.options.animation;t.notifyPlugins("afterRender"),ey(i&&i.onComplete,[e],t)}function aV(e){let t=e.chart,i=t.options.animation;ey(i&&i.onProgress,[e],t)}function aK(e){return t6()&&"string"==typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}let aq={},aY=e=>{let t=aK(e);return Object.values(aq).filter(e=>e.canvas===t).pop()};class aX{static defaults=tM;static instances=aq;static overrides=tb;static registry=aT;static version="4.5.1";
3static getChart=aY;static register(...e){aT.add(...e),a$()}static unregister(...e){aT.remove(...e),a$()}constructor(e,t){const i=this.config=new aB(t),a=aK(e),n=aY(a);if(n)throw Error("Canvas is already in use. Chart with ID '"+n.id+"' must be destroyed before the canvas with ID '"+n.canvas.id+"' can be reused.");const r=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||function(e){return!t6()||"u">typeof OffscreenCanvas&&e instanceof OffscreenCanvas?ai:ag}(a)),this.platform.updateConfig(i);const o=this.platform.acquireContext(a,r.aspectRatio),s=o&&o.canvas,l=s&&s.height,u=s&&s.width;if(this.id=eh(),this.ctx=o,this.canvas=s,this.width=u,this.height=l,this._options=r,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new aA,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(e,t){let i;return function(...a){return t?(clearTimeout(i),i=setTimeout(e,t,a)):e.apply(this,a),t}}(e=>this.update(e),r.resizeDelay||0),this._dataChanges=[],aq[this.id]=this,!o||!s)return void console.error("Failed to create chart: can't acquire context from the given item");ik.listen(this,"complete",aU),ik.listen(this,"progress",aV),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:e,maintainAspectRatio:t},width:i,height:a,_aspectRatio:n}=this;return ec(e)?t&&n?n:a?i/a:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return aT}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():ir(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return tS(this.canvas,this.ctx),this}stop(){return ik.stop(this),this}resize(e,t){ik.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){let i=this.options,a=this.canvas,n=i.maintainAspectRatio&&this.aspectRatio,r=this.platform.getMaximumSize(a,e,t,n),o=i.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?"resize":"attach";this.width=r.width,this.height=r.height,this._aspectRatio=this.aspectRatio,ir(this,o,!0)&&(this.notifyPlugins("resize",{size:r}),ey(i.onResize,[this,r],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){ew(this.options.scales||{},(e,t)=>{e.id=t})}buildOrUpdateScales(){let e=this.options,t=e.scales,i=this.scales,a=Object.keys(i).reduce((e,t)=>(e[t]=!1,e),{}),n=[];t&&(n=n.concat(Object.keys(t).map(e=>{let i=t[e],a=aL(e,i),n="r"===a,r="x"===a;return{options:i,dposition:n?"chartArea":r?"bottom":"left",dtype:n?"radialLinear":r?"category":"linear"}}))),ew(n,t=>{let n=t.options,r=n.id,o=aL(r,n),s=eb(n.type,t.dtype);(void 0===n.position||aH(n.position,o)!==aH(t.dposition))&&(n.position=t.dposition),a[r]=!0;let l=null;r in i&&i[r].type===s?l=i[r]:i[(l=new(aT.getScale(s))({id:r,type:s,ctx:this.ctx,chart:this})).id]=l,l.init(n,e)}),ew(a,(e,t)=>{e||delete i[t]}),ew(i,e=>{ae.configure(this,e,e.options),ae.addBox(this,e)})}_updateMetasets(){let e=this._metasets,t=this.data.datasets.length,i=e.length;if(e.sort((e,t)=>e.index-t.index),i>t){for(let e=t;e<i;++e)this._destroyDatasetMeta(e);e.splice(t,i-t)}this._sortedMetasets=e.slice(0).sort(aG("order","index"))}_removeUnreferencedMetasets(){let{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach((e,i)=>{0===t.filter(t=>t===e._dataset).length&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){let e,t,i=[],a=this.data.datasets;for(this._removeUnreferencedMetasets(),e=0,t=a.length;e<t;e++){let t=a[e],n=this.getDatasetMeta(e),r=t.type||this.config.type;if(n.type&&n.type!==r&&(this._destroyDatasetMeta(e),n=this.getDatasetMeta(e)),n.type=r,n.indexAxis=t.indexAxis||aC(r,this.options),n.order=t.order||0,n.index=e,n.label=""+t.label,n.visible=this.isDatasetVisible(e),n.controller)n.controller.updateIndex(e),n.controller.linkScales();else{let t=aT.getController(r),{datasetElementType:a,dataElementType:o}=tM.datasets[r];Object.assign(t,{dataElementType:aT.getElement(o),datasetElementType:a&&aT.getElement(a)}),n.controller=new t(this,e),i.push(n.controller)}}return this._updateMetasets(),i}_resetElements(){ew(this.data.datasets,(e,t)=>{this.getDatasetMeta(t).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){let t=this.config;
3t.update();let i=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),a=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;let n=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let r=0;for(let e=0,t=this.data.datasets.length;e<t;e++){let{controller:t}=this.getDatasetMeta(e),i=!a&&-1===n.indexOf(t);t.buildOrUpdateElements(i),r=Math.max(+t.getMaxOverflow(),r)}r=this._minPadding=i.layout.autoPadding?r:0,this._updateLayout(r),a||ew(n,e=>{e.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(aG("z","_idx"));let{_active:o,_lastEvent:s}=this;s?this._eventHandler(s,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){ew(this.scales,e=>{ae.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let e=this.options;ej(new Set(Object.keys(this._listeners)),new Set(e.events))&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:e}=this;for(let{method:i,start:a,count:n}of this._getUniformDataChanges()||[]){var t="_removeElements"===i?-n:n;for(let i of Object.keys(e)){let n=+i;if(n>=a){let r=e[i];delete e[i],(t>0||n>a)&&(e[n+t]=r)}}}}_getUniformDataChanges(){let e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];let t=this.data.datasets.length,i=t=>new Set(e.filter(e=>e[0]===t).map((e,t)=>t+","+e.splice(1).join(","))),a=i(0);for(let e=1;e<t;e++)if(!ej(a,i(e)))return;return Array.from(a).map(e=>e.split(",")).map(e=>({method:e[1],start:+e[2],count:+e[3]}))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;ae.update(this,this.width,this.height,e);let t=this.chartArea,i=t.width<=0||t.height<=0;this._layers=[],ew(this.boxes,e=>{i&&"chartArea"===e.position||(e.configure&&e.configure(),this._layers.push(...e._layers()))},this),this._layers.forEach((e,t)=>{e._idx=t}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let e=0,t=this.data.datasets.length;e<t;++e)this.getDatasetMeta(e).controller.configure();for(let t=0,i=this.data.datasets.length;t<i;++t)this._updateDataset(t,eF(e)?e({datasetIndex:t}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,t){let i=this.getDatasetMeta(e),a={meta:i,index:e,mode:t,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",a)&&(i.controller._update(t),a.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",a))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(ik.has(this)?this.attached&&!ik.running(this)&&ik.start(this):(this.draw(),aU({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){let{width:e,height:t}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(e,t)}if(this.clear(),this.width<=0||this.height<=0||!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;let t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){let t,i,a=this._sortedMetasets,n=[];for(t=0,i=a.length;t<i;++t){let i=a[t];(!e||i.visible)&&n.push(i)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;let e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){let t=this.ctx,i={meta:e,index:e.index,cancelable:!0},a=ix(this,e);!1!==this.notifyPlugins("beforeDatasetDraw",i)&&(a&&tC(t,a),e.controller.draw(),a&&tE(t),i.cancelable=!1,this.notifyPlugins("afterDatasetDraw",i))}isPointInArea(e){return tA(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,i,a){let n=i0.modes[t];return"function"==typeof n?n(this,e,i,a):[]}getDatasetMeta(e){let t=this.data.datasets[e],i=this._metasets,a=i.filter(e=>e&&e._dataset===t).pop();return a||(a={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},i.push(a)),a}getContext(){return this.$context||(this.$context=tG(null,{chart:this,type:"chart"}))}
3getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){let t=this.data.datasets[e];if(!t)return!1;let i=this.getDatasetMeta(e);return"boolean"==typeof i.hidden?!i.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,i){let a=i?"show":"hide",n=this.getDatasetMeta(e),r=n.controller._resolveAnimations(void 0,a);eR(t)?(n.data[t].hidden=!i,this.update()):(this.setDatasetVisibility(e,i),r.update(n,{visible:i}),this.update(t=>t.datasetIndex===e?a:void 0))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){let t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),ik.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");let{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),tS(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),delete aq[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){let e=this._listeners,t=this.platform,i=(i,a)=>{t.addEventListener(this,i,a),e[i]=a},a=(e,t,i)=>{e.offsetX=t,e.offsetY=i,this._eventHandler(e)};ew(this.options.events,e=>i(e,a))}bindResponsiveEvents(){let e;this._responsiveListeners||(this._responsiveListeners={});let t=this._responsiveListeners,i=this.platform,a=(e,a)=>{i.addEventListener(this,e,a),t[e]=a},n=(e,a)=>{t[e]&&(i.removeEventListener(this,e,a),delete t[e])},r=(e,t)=>{this.canvas&&this.resize(e,t)},o=()=>{n("attach",o),this.attached=!0,this.resize(),a("resize",r),a("detach",e)};e=()=>{this.attached=!1,n("resize",r),this._stop(),this._resize(0,0),a("attach",o)},i.isAttached(this.canvas)?o():e()}unbindEvents(){ew(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},ew(this._responsiveListeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,t,i){let a,n,r,o=i?"set":"remove";for("dataset"===t&&this.getDatasetMeta(e[0].datasetIndex).controller["_"+o+"DatasetHoverStyle"](),n=0,r=e.length;n<r;++n){let t=(a=e[n])&&this.getDatasetMeta(a.datasetIndex).controller;t&&t[o+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){let t=this._active||[],i=e.map(({datasetIndex:e,index:t})=>{let i=this.getDatasetMeta(e);if(!i)throw Error("No dataset found at index "+e);return{datasetIndex:e,element:i.data[t],index:t}});eM(i,t)||(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,t))}notifyPlugins(e,t,i){return this._plugins.notify(this,e,t,i)}isPluginEnabled(e){return 1===this._plugins._cache.filter(t=>t.plugin.id===e).length}_updateHoverStyles(e,t,i){let a=this.options.hover,n=(e,t)=>e.filter(e=>!t.some(t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)),r=n(t,e),o=i?e:n(e,t);r.length&&this.updateHoverStyle(r,a.mode,!1),o.length&&a.mode&&this.updateHoverStyle(o,a.mode,!0)}_eventHandler(e,t){let i={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},a=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",i,a))return;let n=this._handleEvent(e,t,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,a),(n||i.changed)&&this.render(),this}_handleEvent(e,t,i){var a;let{_active:n=[],options:r}=this,o=this._getActiveElements(e,n,i,t),s="mouseup"===e.type||"click"===e.type||"contextmenu"===e.type,l=(a=this._lastEvent,i&&"mouseout"!==e.type?s?a:e:null);i&&(this._lastEvent=null,ey(r.onHover,[e,o,this],this),s&&ey(r.onClick,[e,o,this],this));let u=!eM(o,n);return(u||t)&&(this._active=o,this._updateHoverStyles(o,n,t)),this._lastEvent=l,u}_getActiveElements(e,t,i,a){if("mouseout"===e.type)return[];if(!i)return t;let n=this.options.hover;return this.getElementsAtEventForMode(e,n.mode,n,a)}}function a$(){return ew(aX.instances,e=>e._plugins.invalidate())}function aZ(e,t,i,a){return{x:i+e*Math.cos(t),y:a+e*Math.sin(t)}}function aQ(e,t,i,a,n,r){var o,s,l,u;let d,h,c,m,{x:f,y:p,startAngle:g,pixelMargin:b,innerRadius:v}=t,y=Math.max(t.outerRadius+a+i-b,0),w=v>
30?v+a+i+b:0,M=0,x=n-g;if(a){let e=y>0?y-a:0,t=((v>0?v-a:0)+e)/2;M=(x-(0!==t?x*t/(t+a):x))/2}let k=Math.max(.001,x*y-i/eD)/y,S=(x-k)/2,P=g+S+M,T=n-S-M,{outerStart:A,outerEnd:C,innerStart:E,innerEnd:L}=(o=t,s=w,l=y,u=T-P,d=t_(o.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),c=Math.min(h=(l-s)/2,u*s/2),{outerStart:(m=e=>{let t=(l-Math.min(h,e))*u/2;return e1(e,0,Math.min(h,t))})(d.outerStart),outerEnd:m(d.outerEnd),innerStart:e1(d.innerStart,0,c),innerEnd:e1(d.innerEnd,0,c)}),R=y-A,F=y-C,j=P+A/R,D=T-C/F,N=w+E,I=w+L,_=P+E/N,B=T-L/I;if(e.beginPath(),r){let t=(j+D)/2;if(e.arc(f,p,y,j,t),e.arc(f,p,y,t,D),C>0){let t=aZ(F,D,f,p);e.arc(t.x,t.y,C,D,T+eO)}let i=aZ(I,T,f,p);if(e.lineTo(i.x,i.y),L>0){let t=aZ(I,B,f,p);e.arc(t.x,t.y,L,T+eO,B+Math.PI)}let a=(T-L/w+(P+E/w))/2;if(e.arc(f,p,w,T-L/w,a,!0),e.arc(f,p,w,a,P+E/w,!0),E>0){let t=aZ(N,_,f,p);e.arc(t.x,t.y,E,_+Math.PI,P-eO)}let n=aZ(R,P,f,p);if(e.lineTo(n.x,n.y),A>0){let t=aZ(R,j,f,p);e.arc(t.x,t.y,A,P-eO,j)}}else{e.moveTo(f,p);let t=Math.cos(j)*y+f,i=Math.sin(j)*y+p;e.lineTo(t,i);let a=Math.cos(D)*y+f,n=Math.sin(D)*y+p;e.lineTo(a,n)}e.closePath()}function aJ(e,t,i=t){e.lineCap=eb(i.borderCapStyle,t.borderCapStyle),e.setLineDash(eb(i.borderDash,t.borderDash)),e.lineDashOffset=eb(i.borderDashOffset,t.borderDashOffset),e.lineJoin=eb(i.borderJoinStyle,t.borderJoinStyle),e.lineWidth=eb(i.borderWidth,t.borderWidth),e.strokeStyle=eb(i.borderColor,t.borderColor)}function a0(e,t,i){e.lineTo(i.x,i.y)}function a1(e,t,i={}){let a=e.length,{start:n=0,end:r=a-1}=i,{start:o,end:s}=t,l=Math.max(n,o),u=Math.min(r,s);return{count:a,start:l,loop:t.loop,ilen:u<l&&!(n<o&&r<o||n>s&&r>s)?a+u-l:u-l}}function a2(e,t,i,a){let n,r,o,{points:s,options:l}=t,{count:u,start:d,loop:h,ilen:c}=a1(s,i,a),m=l.stepped?tL:l.tension||"monotone"===l.cubicInterpolationMode?tR:a0,{move:f=!0,reverse:p}=a||{};for(n=0;n<=c;++n)(r=s[(d+(p?c-n:n))%u]).skip||(f?(e.moveTo(r.x,r.y),f=!1):m(e,o,r,p,l.stepped),o=r);return h&&m(e,o,r=s[(d+(p?c:0))%u],p,l.stepped),!!h}function a3(e,t,i,a){let n,r,o,s,l,u,d=t.points,{count:h,start:c,ilen:m}=a1(d,i,a),{move:f=!0,reverse:p}=a||{},g=0,b=0,v=e=>(c+(p?m-e:e))%h,y=()=>{s!==l&&(e.lineTo(g,l),e.lineTo(g,s),e.lineTo(g,u))};for(f&&(r=d[v(0)],e.moveTo(r.x,r.y)),n=0;n<=m;++n){if((r=d[v(n)]).skip)continue;let t=r.x,i=r.y,a=0|t;a===o?(i<s?s=i:i>l&&(l=i),g=(b*g+t)/++b):(y(),e.lineTo(t,i),o=a,b=0,s=l=i),u=i}y()}function a4(e){let t=e.options,i=t.borderDash&&t.borderDash.length;return e._decimated||e._loop||t.tension||"monotone"===t.cubicInterpolationMode||t.stepped||i?a2:a3}let a5="function"==typeof Path2D;class a6 extends ab{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){let i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){let a=i.spanGaps?this._loop:this._fullLoop;!function(e,t,i,a,n){let r,o,s,l;if(t.spanGaps&&(e=e.filter(e=>!e.skip)),"monotone"===t.cubicInterpolationMode)!function(e,t="x"){let i,a,n,r=t4(t),o=e.length,s=Array(o).fill(0),l=Array(o),u=t3(e,0);for(i=0;i<o;++i)if(a=n,n=u,u=t3(e,i+1),n){if(u){let e=u[t]-n[t];s[i]=0!==e?(u[r]-n[r])/e:0}l[i]=a?u?eG(s[i-1])!==eG(s[i])?0:(s[i-1]+s[i])/2:s[i-1]:s[i]}!function(e,t,i){let a,n,r,o,s,l=e.length,u=t3(e,0);for(let d=0;d<l-1;++d)if(s=u,u=t3(e,d+1),s&&u){if(eU(t[d],0,t2)){i[d]=i[d+1]=0;continue}(o=Math.pow(a=i[d]/t[d],2)+Math.pow(n=i[d+1]/t[d],2))<=9||(r=3/Math.sqrt(o),i[d]=a*r*t[d],i[d+1]=n*r*t[d])}}(e,s,l),function(e,t,i="x"){let a,n,r,o=t4(i),s=e.length,l=t3(e,0);for(let u=0;u<s;++u){if(n=r,r=l,l=t3(e,u+1),!r)continue;let s=r[i],d=r[o];n&&(a=(s-n[i])/3,r[`cp1${i}`]=s-a,r[`cp1${o}`]=d-a*t[u]),l&&(a=(l[i]-s)/3,r[`cp2${i}`]=s+a,r[`cp2${o}`]=d+a*t[u])}}(e,l,t)}(e,n);else{let i=a?e[e.length-1]:e[0];for(r=0,o=e.length;r<o;++r)l=function(e,t,i,a){let n=e.skip?t:e,r=i.skip?t:i,o=eZ(t,n),s=eZ(r,t),l=o/(o+s),u=s/(o+s);l=isNaN(l)?0:l,u=isNaN(u)?0:u;let d=a*l,h=a*u;return{previous:{x:t.x-d*(r.x-n.x),y:t.y-d*(r.y-n.y)},next:{x:t.x+h*(r.x-n.x),y:t.y+h*(r.y-n.y)}}}(i,s=e[r],e[Math.min(r+1,o-!a)%o],t.tension),s.cp1x=l.previous.x,s.cp1y=l.previous.y,s.cp2x=l.next.x,s.cp2y=l.next.y,i=s}t.capBezierPoints&&function(e,t){let i,a,n,r,o,s=tA(e[0],t);for(i=0,a=e.length;i<a;++i)o=r,r=s,s=i<a-1&&tA(e[i+1],t),r&&(n=e[i],o&&(n.cp1x=t5(n.cp1x,t.left,t.right),n.cp1y=t5(n.cp1y,t.top,t.bottom)),s&&(n.cp2x=t5(n.cp2x,t.left,t.right),n.cp2y=t5(n.cp2y,t.top,t.bottom)))}(e,i)}(this._points,i,e,a,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(e,t){let i=e.points,a=e.options.spanGaps,n=i.length;if(!n)return[];let r=!!e._loop,{start:o,end:s}=function(e,t,i,a){let n=0,r=t-1;if(i&&!a)for(;n<t&&!e[n].skip;)n++;for(;n<t&&e[n].skip;)n++;for(n%=t,i&&(r+=n);r>n&&e[r%t].skip;)r--;return{start:n,end:r%=t}}(i,n,r,a);if(!0===a)return iy(e,[{start:o,end:s,loop:r}],i,t);let l=s<o?s+n:s,u=!!e._fullLoop&&0===o&&s===n-1;return iy(e,function(e,t,i,a){let n,r=e.length,o=[],s=t,l=e[t];for(n=t+1;n<=i;++n){let i=e[n%r];i.skip||i.stop?l.skip||(a=!1,o.push({start:t%r,end:(n-1)%r,loop:a}),t=s=i.stop?n:null):(s=n,l.skip&&(t=n)),l=i}return null!==s&&o.push({start:t%r,end:s%r,loop:a}),o}(i,o,l,u),i,t)}(this,this.options.segment))}first(){let e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){let e=this.segments,t=this.points,i=e.length;return i&&t[e[i-1].end]}interpolate(e,t){let i,a,n=this.options,r=e[t],o=this.points,s=iv(this,{property:t,start:r,end:r});if(!s.length)return;let l=[],u=n.stepped?iu:n.tension||"monotone"===n.cubicInterpolationMode?id:il;for(i=0,a=s.length;i<a;++i){let{start:a,end:d}=s[i],h=o[a],c=o[d];if(h===c){l.push(h);continue}let m=Math.abs((r-h[t])/(c[t]-h[t])),f=u(h,c,m,n.stepped);f[t]=e[t],l.push(f)}return 1===l.length?l[0]:l}pathSegment(e,t,i){return a4(this)(e,this,t,i)}path(e,t,i){let a=this.segments,n=a4(this),r=this._loop;for(let o of(t=t||0,i=i||this.points.length-t,a))r&=n(e,this,o,{start:t,end:t+i-1});return!!r}draw(e,t,i,a){let n=this.options||{};(this.points||[]).length&&n.borderWidth&&(e.save(),function(e,t,i,a){if(a5&&!t.options.segment){let n;(n=t._path)||(n=t._path=new Path2D,t.path(n,i,a)&&n.closePath()),aJ(e,t.options),e.stroke(n)}else!function(e,t,i,a){let{segments:n,options:r}=t,o=a4(t);for(let s of n)aJ(e,r,s.style),e.beginPath(),o(e,t,s,{start:i,end:i+a-1})&&e.closePath(),e.stroke()}(e,t,i,a)}
3(e,this,i,a),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function a9(e,t,i,a){let n=e.options,{[i]:r}=e.getProps([i],a);return Math.abs(t-r)<n.radius+n.hitRadius}function a8(e,t){let i,a,n,r,o,{x:s,y:l,base:u,width:d,height:h}=e.getProps(["x","y","base","width","height"],t);return e.horizontal?(o=h/2,i=Math.min(s,u),a=Math.max(s,u),n=l-o,r=l+o):(i=s-(o=d/2),a=s+o,n=Math.min(l,u),r=Math.max(l,u)),{left:i,top:n,right:a,bottom:r}}function a7(e,t,i,a){return e?0:e1(t,i,a)}function ne(e,t,i,a){let n=null===t,r=null===i,o=e&&!(n&&r)&&a8(e,a);return o&&(n||e2(t,o.left,o.right))&&(r||e2(i,o.top,o.bottom))}function nt(e,t){e.rect(t.x,t.y,t.w,t.h)}function ni(e,t,i={}){let a=e.x!==i.x?-t:0,n=e.y!==i.y?-t:0,r=(e.x+e.w!==i.x+i.w?t:0)-a,o=(e.y+e.h!==i.y+i.h?t:0)-n;return{x:e.x+a,y:e.y+n,w:e.w+r,h:e.h+o,radius:e.radius}}var na=Object.freeze({__proto__:null,ArcElement:class extends ab{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1};static defaultRoutes={backgroundColor:"backgroundColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,i){let{angle:a,distance:n}=e$(this.getProps(["x","y"],i),{x:e,y:t}),{startAngle:r,endAngle:o,innerRadius:s,outerRadius:l,circumference:u}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),d=(this.options.spacing+this.options.borderWidth)/2,h=eb(u,o-r),c=e0(a,r,o)&&r!==o,m=h>=eN||c,f=e2(n,s+d,l+d);return m&&f}getCenterPoint(e){let{x:t,y:i,startAngle:a,endAngle:n,innerRadius:r,outerRadius:o}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:s,spacing:l}=this.options,u=(a+n)/2,d=(r+o+l+s)/2;return{x:t+Math.cos(u)*d,y:i+Math.sin(u)*d}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){let{options:t,circumference:i}=this,a=(t.offset||0)/4,n=(t.spacing||0)/2,r=t.circular;if(this.pixelMargin=.33*("inner"===t.borderAlign),this.fullCircles=i>eN?Math.floor(i/eN):0,0===i||this.innerRadius<0||this.outerRadius<0)return;e.save();let o=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(o)*a,Math.sin(o)*a);let s=a*(1-Math.sin(Math.min(eD,i||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,function(e,t,i,a,n){let{fullCircles:r,startAngle:o,circumference:s}=t,l=t.endAngle;if(r){aQ(e,t,i,a,l,n);for(let t=0;t<r;++t)e.fill();isNaN(s)||(l=o+(s%eN||eN))}aQ(e,t,i,a,l,n),e.fill()}(e,this,s,n,r),function(e,t,i,a,n){let{fullCircles:r,startAngle:o,circumference:s,options:l}=t,{borderWidth:u,borderJoinStyle:d,borderDash:h,borderDashOffset:c,borderRadius:m}=l,f="inner"===l.borderAlign;if(!u)return;e.setLineDash(h||[]),e.lineDashOffset=c,f?(e.lineWidth=2*u,e.lineJoin=d||"round"):(e.lineWidth=u,e.lineJoin=d||"bevel");let p=t.endAngle;if(r){aQ(e,t,i,a,p,n);for(let t=0;t<r;++t)e.stroke();isNaN(s)||(p=o+(s%eN||eN))}f&&function(e,t,i){let{startAngle:a,pixelMargin:n,x:r,y:o,outerRadius:s,innerRadius:l}=t,u=n/s;e.beginPath(),e.arc(r,o,s,a-u,i+u),l>n?(u=n/l,e.arc(r,o,l,i+u,a-u,!0)):e.arc(r,o,n,i+eO,a-eO),e.closePath(),e.clip()}(e,t,p),l.selfJoin&&p-o>=eD&&0===m&&"miter"!==d&&function(e,t,i){let{startAngle:a,x:n,y:r,outerRadius:o,innerRadius:s,options:l}=t,{borderWidth:u,borderJoinStyle:d}=l,h=Math.min(u/o,eJ(a-i));if(e.beginPath(),e.arc(n,r,o-u/2,a+h/2,i-h/2),s>0){let t=Math.min(u/s,eJ(a-i));e.arc(n,r,s+u/2,i-t/2,a+t/2,!0)}else{let t=Math.min(u/2,o*eJ(a-i));if("round"===d)e.arc(n,r,t,i-eD/2,a+eD/2,!0);else if("bevel"===d){let o=2*t*t,s=-o*Math.cos(i+eD/2)+n,l=-o*Math.sin(i+eD/2)+r,u=o*Math.cos(a+eD/2)+n,d=o*Math.sin(a+eD/2)+r;e.lineTo(s,l),e.lineTo(u,d)}}e.closePath(),e.moveTo(0,0),e.rect(0,0,e.canvas.width,e.canvas.height),e.clip("evenodd")}(e,t,p),r||(aQ(e,t,i,a,p,n),e.stroke())}
3(e,this,s,n,r),e.restore()}},BarElement:class extends ab{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){var t,i,a;let n,r,o,s,l,u,d,h,{inflateAmount:c,options:{borderColor:m,backgroundColor:f}}=this,{inner:p,outer:g}=(r=(n=a8(this)).right-n.left,o=n.bottom-n.top,t=r/2,i=o/2,s=this.options.borderWidth,l=this.borderSkipped,u=tB(s),d={t:a7(l.top,u.top,0,i),r:a7(l.right,u.right,0,t),b:a7(l.bottom,u.bottom,0,i),l:a7(l.left,u.left,0,t)},h=function(e,t,i){let{enableBorderRadius:a}=e.getProps(["enableBorderRadius"]),n=e.options.borderRadius,r=tO(n),o=Math.min(t,i),s=e.borderSkipped,l=a||ef(n);return{topLeft:a7(!l||s.top||s.left,r.topLeft,0,o),topRight:a7(!l||s.top||s.right,r.topRight,0,o),bottomLeft:a7(!l||s.bottom||s.left,r.bottomLeft,0,o),bottomRight:a7(!l||s.bottom||s.right,r.bottomRight,0,o)}}(this,r/2,o/2),{outer:{x:n.left,y:n.top,w:r,h:o,radius:h},inner:{x:n.left+d.l,y:n.top+d.t,w:r-d.l-d.r,h:o-d.t-d.b,radius:{topLeft:Math.max(0,h.topLeft-Math.max(d.t,d.l)),topRight:Math.max(0,h.topRight-Math.max(d.t,d.r)),bottomLeft:Math.max(0,h.bottomLeft-Math.max(d.b,d.l)),bottomRight:Math.max(0,h.bottomRight-Math.max(d.b,d.r))}}}),b=(a=g.radius).topLeft||a.topRight||a.bottomLeft||a.bottomRight?tj:nt;e.save(),(g.w!==p.w||g.h!==p.h)&&(e.beginPath(),b(e,ni(g,c,p)),e.clip(),b(e,ni(p,-c,g)),e.fillStyle=m,e.fill("evenodd")),e.beginPath(),b(e,ni(p,c)),e.fillStyle=f,e.fill(),e.restore()}inRange(e,t,i){return ne(this,e,t,i)}inXRange(e,t){return ne(this,e,null,t)}inYRange(e,t){return ne(this,null,e,t)}getCenterPoint(e){let{x:t,y:i,base:a,horizontal:n}=this.getProps(["x","y","base","horizontal"],e);return{x:n?(t+a)/2:t,y:n?i:(i+a)/2}}getRange(e){return"x"===e?this.width/2:this.height/2}},LineElement:a6,PointElement:class extends ab{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,i){let a=this.options,{x:n,y:r}=this.getProps(["x","y"],i);return Math.pow(e-n,2)+Math.pow(t-r,2)<Math.pow(a.hitRadius+a.radius,2)}inXRange(e,t){return a9(this,e,"x",t)}inYRange(e,t){return a9(this,e,"y",t)}getCenterPoint(e){let{x:t,y:i}=this.getProps(["x","y"],e);return{x:t,y:i}}size(e){let t=(e=e||this.options||{}).radius||0,i=(t=Math.max(t,t&&e.hoverRadius||0))&&e.borderWidth||0;return(t+i)*2}draw(e,t){let i=this.options;!this.skip&&!(i.radius<.1)&&tA(this,t,this.size(i)/2)&&(e.strokeStyle=i.borderColor,e.lineWidth=i.borderWidth,e.fillStyle=i.backgroundColor,tP(e,i,this.x,this.y))}getRange(){let e=this.options||{};return e.radius+e.hitRadius}}});let nn=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],nr=nn.map(e=>e.replace("rgb(","rgba(").replace(")",", 0.5)"));function no(e){return nn[e%nn.length]}function ns(e){return nr[e%nr.length]}function nl(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function nu(e){if(e._decimated){let t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function nd(e){e.data.datasets.forEach(e=>{nu(e)})}function nh(e,t,i,a){if(a)return;let n=t[e],r=i[e];return"angle"===e&&(n=eJ(n),r=eJ(r)),{property:e,start:n,end:r}}function nc(e,t,i){for(;t>e;t--){let e=i[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function nm(e,t,i,a){return e&&t?a(e[i],t[i]):e?e[i]:t?t[i]:0}function nf(e,t){let i=[],a=!1;return em(e)?(a=!0,i=e):i=function(e,t){let{x:i=null,y:a=null}=e||{},n=t.points,r=[];
3return t.segments.forEach(({start:e,end:t})=>{t=nc(e,t,n);let o=n[e],s=n[t];null!==a?(r.push({x:o.x,y:a}),r.push({x:s.x,y:a})):null!==i&&(r.push({x:i,y:o.y}),r.push({x:i,y:s.y}))}),r}(e,t),i.length?new a6({points:i,options:{tension:0},_loop:a,_fullLoop:a}):null}function np(e){return e&&!1!==e.fill}class ng{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,t,i){let{x:a,y:n,radius:r}=this;return t=t||{start:0,end:eN},e.arc(a,n,r,t.end,t.start,!0),!i.bounds}interpolate(e){let{x:t,y:i,radius:a}=this,n=e.angle;return{x:t+Math.cos(n)*a,y:i+Math.sin(n)*a,angle:n}}}function nb(e,t,i){let a=function(e){var t,i,a;let{chart:n,fill:r,line:o}=e;if(ep(r)){let e;return t=n,i=r,(e=t.getDatasetMeta(i))&&t.isDatasetVisible(i)?e.dataset:null}if("stack"===r)return function(e){let{scale:t,index:i,line:a}=e,n=[],r=a.segments,o=a.points,s=function(e,t){let i=[],a=e.getMatchingVisibleMetas("line");for(let e=0;e<a.length;e++){let n=a[e];if(n.index===t)break;n.hidden||i.unshift(n.dataset)}return i}(t,i);s.push(nf({x:null,y:t.bottom},a));for(let e=0;e<r.length;e++){let t=r[e];for(let e=t.start;e<=t.end;e++)!function(e,t,i){let a=[];for(let n=0;n<i.length;n++){let{first:r,last:o,point:s}=function(e,t){let i=e.interpolate(t,"x");if(!i)return{};let a=i.x,n=e.segments,r=e.points,o=!1,s=!1;for(let e=0;e<n.length;e++){let t=n[e],i=r[t.start].x,l=r[t.end].x;if(e2(a,i,l)){o=a===i,s=a===l;break}}return{first:o,last:s,point:i}}(i[n],t);if(s&&(!r||!o)){if(r)a.unshift(s);else if(e.push(s),!o)break}}e.push(...a)}(n,o[e],s)}return new a6({points:n,options:{}})}(e);if("shape"===r)return!0;let s=((a=e).scale||{}).getPointPositionForValue?function(e){let{scale:t,fill:i}=e,a=t.options,n=t.getLabels().length,r=a.reverse?t.max:t.min,o="start"===i?r:"end"===i?t.options.reverse?t.min:t.max:ef(i)?i.value:t.getBaseValue(),s=[];if(a.grid.circular){let e=t.getPointPositionForValue(0,r);return new ng({x:e.x,y:e.y,radius:t.getDistanceFromCenterForValue(o)})}for(let e=0;e<n;++e)s.push(t.getPointPositionForValue(e,o));return s}(a):function(e){let t,{scale:i={},fill:a}=e,n=(t=null,"start"===a?t=i.bottom:"end"===a?t=i.top:ef(a)?t=i.getPixelForValue(a.value):i.getBasePixel&&(t=i.getBasePixel()),t);if(ep(n)){let e=i.isHorizontal();return{x:e?n:null,y:e?null:n}}return null}(a);return s instanceof ng?s:nf(s,o)}(t),{chart:n,index:r,line:o,scale:s,axis:l}=t,u=o.options,d=u.fill,h=u.backgroundColor,{above:c=h,below:m=h}=d||{},f=n.getDatasetMeta(r),p=ix(n,f);a&&o.points.length&&(tC(e,i),function(e,t){let{line:i,target:a,above:n,below:r,area:o,scale:s,clip:l}=t,u=i._loop?"angle":t.axis;e.save();let d=r;r!==n&&("x"===u?(nv(e,a,o.top),nw(e,{line:i,target:a,color:n,scale:s,property:u,clip:l}),e.restore(),e.save(),nv(e,a,o.bottom)):"y"===u&&(ny(e,a,o.left),nw(e,{line:i,target:a,color:r,scale:s,property:u,clip:l}),e.restore(),e.save(),ny(e,a,o.right),d=n)),nw(e,{line:i,target:a,color:d,scale:s,property:u,clip:l}),e.restore()}(e,{line:o,target:a,above:c,below:m,area:i,scale:s,axis:l,clip:p}),tE(e))}function nv(e,t,i){let{segments:a,points:n}=t,r=!0,o=!1;for(let s of(e.beginPath(),a)){let{start:a,end:l}=s,u=n[a],d=n[nc(a,l,n)];r?(e.moveTo(u.x,u.y),r=!1):(e.lineTo(u.x,i),e.lineTo(u.x,u.y)),(o=!!t.pathSegment(e,s,{move:o}))?e.closePath():e.lineTo(d.x,i)}e.lineTo(t.first().x,i),e.closePath(),e.clip()}function ny(e,t,i){let{segments:a,points:n}=t,r=!0,o=!1;for(let s of(e.beginPath(),a)){let{start:a,end:l}=s,u=n[a],d=n[nc(a,l,n)];r?(e.moveTo(u.x,u.y),r=!1):(e.lineTo(i,u.y),e.lineTo(u.x,u.y)),(o=!!t.pathSegment(e,s,{move:o}))?e.closePath():e.lineTo(i,d.y)}e.lineTo(i,t.first().y),e.closePath(),e.clip()}function nw(e,t){let{line:i,target:a,property:n,color:r,scale:o,clip:s}=t;for(let{source:t,target:l,start:u,end:d}of function(e,t,i){let a=e.segments,n=e.points,r=t.points,o=[];for(let e of a){let{start:a,end:s}=e;s=nc(a,s,n);let l=nh(i,n[a],n[s],e.loop);if(!t.segments){o.push({source:e,target:l,start:n[a],end:n[s]});continue}for(let a of iv(t,l)){let t=nh(i,r[a.start],r[a.end],a.loop);for(let r of ib(e,n,t))o.push({source:r,target:a,start:{[i]:nm(l,t,"start",Math.max)},end:{[i]:nm(l,t,"end",Math.min)}})}}return o}(i,a,n)){let h,{style:{backgroundColor:c=r}={}}=t,m=!0!==a;e.save(),e.fillStyle=c,function(e,t,i,a){let n=t.chart.chartArea,{property:r,start:o,end:s}=a||{};if("x"===r||"y"===r){let t,a,l,u;"x"===r?(t=o,a=n.top,l=s,u=n.bottom):(t=n.left,a=o,l=n.right,u=s),e.beginPath(),i&&(t=Math.max(t,i.left),l=Math.min(l,i.right),a=Math.max(a,i.top),u=Math.min(u,i.bottom)),e.rect(t,a,l-t,u-a),e.clip()}}(e,o,s,m&&nh(n,u,d)),e.beginPath();let f=!!i.pathSegment(e,t);if(m){f?e.closePath():nM(e,a,d,n);let t=!!a.pathSegment(e,l,{move:f,reverse:!0});(h=f&&t)||nM(e,a,u,n)}
3e.closePath(),e.fill(h?"evenodd":"nonzero"),e.restore()}}function nM(e,t,i,a){let n=t.interpolate(i,a);n&&e.lineTo(n.x,n.y)}let nx=(e,t)=>{let{boxHeight:i=t,boxWidth:a=t}=e;return e.usePointStyle&&(i=Math.min(i,t),a=e.pointStyleWidth||Math.min(a,t)),{boxWidth:a,boxHeight:i,itemHeight:Math.max(t,i)}};class nk extends ab{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,i){this.maxWidth=e,this.maxHeight=t,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let e=this.options.labels||{},t=ey(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(t=>e.filter(t,this.chart.data))),e.sort&&(t=t.sort((t,i)=>e.sort(t,i,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){let e,t,{options:i,ctx:a}=this;if(!i.display){this.width=this.height=0;return}let n=i.labels,r=tz(n.font),o=r.size,s=this._computeTitleHeight(),{boxWidth:l,itemHeight:u}=nx(n,o);a.font=r.string,this.isHorizontal()?(e=this.maxWidth,t=this._fitRows(s,o,l,u)+10):(t=this.maxHeight,e=this._fitCols(s,r,l,u)+10),this.width=Math.min(e,i.maxWidth||this.maxWidth),this.height=Math.min(t,i.maxHeight||this.maxHeight)}_fitRows(e,t,i,a){let{ctx:n,maxWidth:r,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],l=this.lineWidths=[0],u=a+o,d=e;n.textAlign="left",n.textBaseline="middle";let h=-1,c=-u;return this.legendItems.forEach((e,m)=>{let f=i+t/2+n.measureText(e.text).width;(0===m||l[l.length-1]+f+2*o>r)&&(d+=u,l[l.length-(m>0?0:1)]=0,c+=u,h++),s[m]={left:0,top:c,row:h,width:f,height:a},l[l.length-1]+=f+o}),d}_fitCols(e,t,i,a){let{ctx:n,maxHeight:r,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],l=this.columnSizes=[],u=r-e,d=o,h=0,c=0,m=0,f=0;return this.legendItems.forEach((e,r)=>{var p,g,b,v,y,w,M,x,k,S,P,T;let A,C,{itemWidth:E,itemHeight:L}=(p=i,g=t,b=n,v=e,y=a,{itemWidth:(w=v,M=p,x=g,k=b,(A=w.text)&&"string"!=typeof A&&(A=A.reduce((e,t)=>e.length>t.length?e:t)),M+x.size/2+k.measureText(A).width),itemHeight:(S=y,P=v,T=g.lineHeight,C=S,"string"!=typeof P.text&&(C=nS(P,T)),C)});r>0&&c+L+2*o>u&&(d+=h+o,l.push({width:h,height:c}),m+=h+o,f++,h=c=0),s[r]={left:m,top:c,col:f,width:E,height:L},h=Math.max(h,E),c+=L+o}),d+=h,l.push({width:h,height:c}),d}adjustHitBoxes(){if(!this.options.display)return;let e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:i,labels:{padding:a},rtl:n}}=this,r=ih(n,this.left,this.width);if(this.isHorizontal()){let n=0,o=ti(i,this.left+a,this.right-this.lineWidths[n]);for(let s of t)n!==s.row&&(n=s.row,o=ti(i,this.left+a,this.right-this.lineWidths[n])),s.top+=this.top+e+a,s.left=r.leftForLtr(r.x(o),s.width),o+=s.width+a}else{let n=0,o=ti(i,this.top+e+a,this.bottom-this.columnSizes[n].height);for(let s of t)s.col!==n&&(n=s.col,o=ti(i,this.top+e+a,this.bottom-this.columnSizes[n].height)),s.top=o,s.left+=this.left+a,s.left=r.leftForLtr(r.x(s.left),s.width),o+=s.height+a}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){let e=this.ctx;tC(e,this),this._draw(),tE(e)}}_draw(){let e,{options:t,columnSizes:i,lineWidths:a,ctx:n}=this,{align:r,labels:o}=t,s=tM.color,l=ih(t.rtl,this.left,this.width),u=tz(o.font),{padding:d}=o,h=u.size,c=h/2;this.drawTitle(),n.textAlign=l.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=u.string;let{boxWidth:m,boxHeight:f,itemHeight:p}=nx(o,h),g=function(e,t,i){if(isNaN(m)||m<=0||isNaN(f)||f<0)return;n.save();let a=eb(i.lineWidth,1);if(n.fillStyle=eb(i.fillStyle,s),n.lineCap=eb(i.lineCap,"butt"),n.lineDashOffset=eb(i.lineDashOffset,0),n.lineJoin=eb(i.lineJoin,"miter"),n.lineWidth=a,n.strokeStyle=eb(i.strokeStyle,s),n.setLineDash(eb(i.lineDash,[])),o.usePointStyle)tT(n,{radius:f*Math.SQRT2/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:a},l.xPlus(e,m/2),t+c,o.pointStyleWidth&&m);else{let r=t+Math.max((h-f)/2,0),o=l.leftForLtr(e,m),s=tO(i.borderRadius);n.beginPath(),Object.values(s).some(e=>0!==e)?tj(n,{x:o,y:r,w:m,h:f,radius:s}):n.rect(o,r,m,f),n.fill(),0!==a&&n.stroke()}
3n.restore()},b=function(e,t,i){tF(n,i.text,e,t+p/2,u,{strikethrough:i.hidden,textAlign:l.textAlign(i.textAlign)})},v=this.isHorizontal(),y=this._computeTitleHeight();e=v?{x:ti(r,this.left+d,this.right-a[0]),y:this.top+d+y,line:0}:{x:this.left+d,y:ti(r,this.top+y+d,this.bottom-i[0].height),line:0},ic(this.ctx,t.textDirection);let w=p+d;this.legendItems.forEach((s,h)=>{var f,p;n.strokeStyle=s.fontColor,n.fillStyle=s.fontColor;let M=n.measureText(s.text).width,x=l.textAlign(s.textAlign||(s.textAlign=o.textAlign)),k=m+c+M,S=e.x,P=e.y;if(l.setWidth(this.width),v?h>0&&S+k+d>this.right&&(P=e.y+=w,e.line++,S=e.x=ti(r,this.left+d,this.right-a[e.line])):h>0&&P+w>this.bottom&&(S=e.x=S+i[e.line].width+d,e.line++,P=e.y=ti(r,this.top+y+d,this.bottom-i[e.line].height)),g(l.x(S),P,s),f=S+m+c,p=v?S+k:this.right,S=x===(t.rtl?"left":"right")?p:"center"===x?(f+p)/2:f,b(l.x(S),P,s),v)e.x+=k+d;else if("string"!=typeof s.text){let t=u.lineHeight;e.y+=nS(s,t)+d}else e.y+=w}),im(this.ctx,t.textDirection)}drawTitle(){let e,t=this.options,i=t.title,a=tz(i.font),n=tW(i.padding);if(!i.display)return;let r=ih(t.rtl,this.left,this.width),o=this.ctx,s=i.position,l=a.size/2,u=n.top+l,d=this.left,h=this.width;if(this.isHorizontal())h=Math.max(...this.lineWidths),e=this.top+u,d=ti(t.align,d,this.right-h);else{let i=this.columnSizes.reduce((e,t)=>Math.max(e,t.height),0);e=u+ti(t.align,this.top,this.bottom-i-t.labels.padding-this._computeTitleHeight())}let c=ti(s,d,d+h);o.textAlign=r.textAlign(tt(s)),o.textBaseline="middle",o.strokeStyle=i.color,o.fillStyle=i.color,o.font=a.string,tF(o,i.text,c,e,a)}_computeTitleHeight(){let e=this.options.title,t=tz(e.font),i=tW(e.padding);return e.display?t.lineHeight+i.height:0}_getLegendItemAt(e,t){let i,a,n;if(e2(e,this.left,this.right)&&e2(t,this.top,this.bottom)){for(n=this.legendHitBoxes,i=0;i<n.length;++i)if(e2(e,(a=n[i]).left,a.left+a.width)&&e2(t,a.top,a.top+a.height))return this.legendItems[i]}return null}handleEvent(e){var t,i;let a=this.options;if(t=e.type,i=a,("mousemove"!==t&&"mouseout"!==t||!i.onHover&&!i.onLeave)&&(!i.onClick||"click"!==t&&"mouseup"!==t))return;let n=this._getLegendItemAt(e.x,e.y);if("mousemove"===e.type||"mouseout"===e.type){let t=this._hoveredItem,i=null!==t&&null!==n&&t.datasetIndex===n.datasetIndex&&t.index===n.index;t&&!i&&ey(a.onLeave,[e,t,this],this),this._hoveredItem=n,n&&!i&&ey(a.onHover,[e,n,this],this)}else n&&ey(a.onClick,[e,n,this],this)}}function nS(e,t){return t*(e.text?e.text.length:0)}class nP extends ab{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){let i=this.options;if(this.left=0,this.top=0,!i.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=t;let a=em(i.text)?i.text.length:1;this._padding=tW(i.padding);let n=a*tz(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=n:this.width=n}isHorizontal(){let e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){let t,i,a,{top:n,left:r,bottom:o,right:s,options:l}=this,u=l.align,d=0;return this.isHorizontal()?(i=ti(u,r,s),a=n+e,t=s-r):("left"===l.position?(i=r+e,a=ti(u,o,n),d=-.5*eD):(i=s-e,a=ti(u,n,o),d=.5*eD),t=o-n),{titleX:i,titleY:a,maxWidth:t,rotation:d}}draw(){let e=this.ctx,t=this.options;if(!t.display)return;let i=tz(t.font),a=i.lineHeight/2+this._padding.top,{titleX:n,titleY:r,maxWidth:o,rotation:s}=this._drawArgs(a);tF(e,t.text,0,0,i,{color:t.color,maxWidth:o,rotation:s,textAlign:tt(t.align),textBaseline:"middle",translation:[n,r]})}}let nT=new WeakMap,nA={average(e){let t,i;if(!e.length)return!1;let a=new Set,n=0,r=0;for(t=0,i=e.length;t<i;++t){let i=e[t].element;if(i&&i.hasValue()){let e=i.tooltipPosition();a.add(e.x),n+=e.y,++r}}return 0!==r&&0!==a.size&&{x:[...a].reduce((e,t)=>e+t)/a.size,y:n/r}},nearest(e,t){let i,a,n;if(!e.length)return!1;let r=t.x,o=t.y,s=1/0;for(i=0,a=e.length;i<a;++i){let a=e[i].element;if(a&&a.hasValue()){let e=eZ(t,a.getCenterPoint());e<s&&(s=e,n=a)}}if(n){let e=n.tooltipPosition();r=e.x,o=e.y}return{x:r,y:o}}};function nC(e,t){return t&&(em(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function nE(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function nL(e,t){let i=e.chart.ctx,{body:a,footer:n,title:r}=e,{boxWidth:o,boxHeight:s}=t,l=tz(t.bodyFont),u=tz(t.titleFont),d=tz(t.footerFont),h=r.length,c=n.length,m=a.length,f=tW(t.padding),p=f.height,g=0,b=a.reduce((e,t)=>
3e+t.before.length+t.lines.length+t.after.length,0);b+=e.beforeBody.length+e.afterBody.length,h&&(p+=h*u.lineHeight+(h-1)*t.titleSpacing+t.titleMarginBottom),b&&(p+=m*(t.displayColors?Math.max(s,l.lineHeight):l.lineHeight)+(b-m)*l.lineHeight+(b-1)*t.bodySpacing),c&&(p+=t.footerMarginTop+c*d.lineHeight+(c-1)*t.footerSpacing);let v=0,y=function(e){g=Math.max(g,i.measureText(e).width+v)};return i.save(),i.font=u.string,ew(e.title,y),i.font=l.string,ew(e.beforeBody.concat(e.afterBody),y),v=t.displayColors?o+2+t.boxPadding:0,ew(a,e=>{ew(e.before,y),ew(e.lines,y),ew(e.after,y)}),v=0,i.font=d.string,ew(e.footer,y),i.restore(),{width:g+=f.width,height:p}}function nR(e,t,i){let a=i.yAlign||t.yAlign||function(e,t){let{y:i,height:a}=t;return i<a/2?"top":i>e.height-a/2?"bottom":"center"}(e,i);return{xAlign:i.xAlign||t.xAlign||function(e,t,i,a){let{x:n,width:r}=i,{width:o,chartArea:{left:s,right:l}}=e,u="center";return"center"===a?u=n<=(s+l)/2?"left":"right":n<=r/2?u="left":n>=o-r/2&&(u="right"),function(e,t,i,a){let{x:n,width:r}=a,o=i.caretSize+i.caretPadding;if("left"===e&&n+r+o>t.width||"right"===e&&n-r-o<0)return!0}(u,e,t,i)&&(u="center"),u}(e,t,i,a),yAlign:a}}function nF(e,t,i,a){let{caretSize:n,caretPadding:r,cornerRadius:o}=e,{xAlign:s,yAlign:l}=i,u=n+r,{topLeft:d,topRight:h,bottomLeft:c,bottomRight:m}=tO(o),f=function(e,t){let{x:i,width:a}=e;return"right"===t?i-=a:"center"===t&&(i-=a/2),i}(t,s),p=function(e,t,i){let{y:a,height:n}=e;return"top"===t?a+=i:"bottom"===t?a-=n+i:a-=n/2,a}(t,l,u);return"center"===l?"left"===s?f+=u:"right"===s&&(f-=u):"left"===s?f-=Math.max(d,c)+n:"right"===s&&(f+=Math.max(h,m)+n),{x:e1(f,0,a.width-t.width),y:e1(p,0,a.height-t.height)}}function nj(e,t,i){let a=tW(i.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-a.right:e.x+a.left}function nD(e,t){let i=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return i?e.override(i):e}let nN={beforeTitle:ed,title(e){if(e.length>0){let t=e[0],i=t.chart.data.labels,a=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(a>0&&t.dataIndex<a)return i[t.dataIndex]}return""},afterTitle:ed,beforeBody:ed,beforeLabel:ed,label(e){if(this&&this.options&&"dataset"===this.options.mode)return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");let i=e.formattedValue;return ec(i)||(t+=i),t},labelColor(e){let t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){let t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:ed,afterBody:ed,beforeFooter:ed,footer:ed,afterFooter:ed};function nI(e,t,i,a){let n=e[t].call(i,a);return void 0===n?nN[t].call(i,a):n}class n_ extends ab{static positioners=nA;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){let e=this._cachedAnimations;if(e)return e;let t=this.chart,i=this.options.setContext(this.getContext()),a=i.enabled&&t.options.animation&&i.animations,n=new iA(this.chart,a);return a._cacheable&&(this._cachedAnimations=Object.freeze(n)),n}getContext(){var e;return this.$context||(this.$context=(e=this.chart.getContext(),tG(e,{tooltip:this,tooltipItems:this._tooltipItems,type:"tooltip"})))}getTitle(e,t){let{callbacks:i}=t,a=nI(i,"beforeTitle",this,e),n=nI(i,"title",this,e),r=nI(i,"afterTitle",this,e),o=[];return o=nC(o,nE(a)),o=nC(o,nE(n)),o=nC(o,nE(r))}getBeforeBody(e,t){return nC([],nE(nI(t.callbacks,"beforeBody",this,e)))}getBody(e,t){let{callbacks:i}=t,a=[];return ew(e,e=>{let t={before:[],lines:[],after:[]},n=nD(i,e);nC(t.before,nE(nI(n,"beforeLabel",this,e))),nC(t.lines,nI(n,"label",this,e)),nC(t.after,nE(nI(n,"afterLabel",this,e))),a.push(t)}),a}getAfterBody(e,t){return nC([],nE(nI(t.callbacks,"afterBody",this,e)))}getFooter(e,t){let{callbacks:i}=t,a=nI(i,"beforeFooter",this,e),n=nI(i,"footer",this,e),r=nI(i,"afterFooter",this,e),o=[];return o=nC(o,nE(a)),o=nC(o,nE(n)),o=nC(o,nE(r))}_createItems(e){let t,i,a=this._active,n=this.chart.data,r=[],o=[],s=[],l=[];for(t=0,i=a.length;t<i;++t)l.push(function(e,t){let{element:i,datasetIndex:a,index:n}=t,r=e.getDatasetMeta(a).controller,{label:o,value:s}=r.getLabelAndValue(n);return{chart:e,label:o,parsed:r.getParsed(n),raw:e.data.datasets[a].data[n],formattedValue:s,dataset:r.getDataset(),dataIndex:n,datasetIndex:a,element:i}}(this.chart,a[t]));return e.filter&&(l=l.filter((t,i,a)=>e.filter(t,i,a,n))),e.itemSort&&(l=l.sort((t,i)=>e.itemSort(t,i,n))),ew(l,t=>{let i=nD(e.callbacks,t);r.push(nI(i,"labelColor",this,t)),o.push(nI(i,"labelPointStyle",this,t)),s.push(nI(i,"labelTextColor",this,t))}),this.labelColors=r,this.labelPointStyles=o,this.labelTextColors=s,this.dataPoints=l,l}update(e,t){let i,a=this.options.setContext(this.getContext()),n=this._active,r=[];if(n.length){let e=nA[a.position].call(this,n,this._eventPosition);r=this._createItems(a),this.title=this.getTitle(r,a),this.beforeBody=this.getBeforeBody(r,a),this.body=this.getBody(r,a),this.afterBody=this.getAfterBody(r,a),this.footer=this.getFooter(r,a);let t=this._size=nL(this,a),o=Object.assign({},e,t),s=nR(this.chart,a,o),l=nF(a,o,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:l.x,y:l.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(i={opacity:0}
3);this._tooltipItems=r,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&a.external&&a.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,i,a){let n=this.getCaretPosition(e,i,a);t.lineTo(n.x1,n.y1),t.lineTo(n.x2,n.y2),t.lineTo(n.x3,n.y3)}getCaretPosition(e,t,i){let a,n,r,o,s,l,{xAlign:u,yAlign:d}=this,{caretSize:h,cornerRadius:c}=i,{topLeft:m,topRight:f,bottomLeft:p,bottomRight:g}=tO(c),{x:b,y:v}=e,{width:y,height:w}=t;return"center"===d?(s=v+w/2,"left"===u?(n=(a=b)-h,o=s+h,l=s-h):(n=(a=b+y)+h,o=s-h,l=s+h),r=a):(n="left"===u?b+Math.max(m,p)+h:"right"===u?b+y-Math.max(f,g)-h:this.caretX,"top"===d?(s=(o=v)-h,a=n-h,r=n+h):(s=(o=v+w)+h,a=n+h,r=n-h),l=o),{x1:a,x2:n,x3:r,y1:o,y2:s,y3:l}}drawTitle(e,t,i){let a,n,r,o=this.title,s=o.length;if(s){let l=ih(i.rtl,this.x,this.width);for(e.x=nj(this,i.titleAlign,i),t.textAlign=l.textAlign(i.titleAlign),t.textBaseline="middle",a=tz(i.titleFont),n=i.titleSpacing,t.fillStyle=i.titleColor,t.font=a.string,r=0;r<s;++r)t.fillText(o[r],l.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+n,r+1===s&&(e.y+=i.titleMarginBottom-n)}}_drawColorBox(e,t,i,a,n){let r=this.labelColors[i],o=this.labelPointStyles[i],{boxHeight:s,boxWidth:l}=n,u=tz(n.bodyFont),d=nj(this,"left",n),h=a.x(d),c=s<u.lineHeight?(u.lineHeight-s)/2:0,m=t.y+c;if(n.usePointStyle){let t={radius:Math.min(l,s)/2,pointStyle:o.pointStyle,rotation:o.rotation,borderWidth:1},i=a.leftForLtr(h,l)+l/2,u=m+s/2;e.strokeStyle=n.multiKeyBackground,e.fillStyle=n.multiKeyBackground,tP(e,t,i,u),e.strokeStyle=r.borderColor,e.fillStyle=r.backgroundColor,tP(e,t,i,u)}else{e.lineWidth=ef(r.borderWidth)?Math.max(...Object.values(r.borderWidth)):r.borderWidth||1,e.strokeStyle=r.borderColor,e.setLineDash(r.borderDash||[]),e.lineDashOffset=r.borderDashOffset||0;let t=a.leftForLtr(h,l),i=a.leftForLtr(a.xPlus(h,1),l-2),o=tO(r.borderRadius);Object.values(o).some(e=>0!==e)?(e.beginPath(),e.fillStyle=n.multiKeyBackground,tj(e,{x:t,y:m,w:l,h:s,radius:o}),e.fill(),e.stroke(),e.fillStyle=r.backgroundColor,e.beginPath(),tj(e,{x:i,y:m+1,w:l-2,h:s-2,radius:o}),e.fill()):(e.fillStyle=n.multiKeyBackground,e.fillRect(t,m,l,s),e.strokeRect(t,m,l,s),e.fillStyle=r.backgroundColor,e.fillRect(i,m+1,l-2,s-2))}e.fillStyle=this.labelTextColors[i]}drawBody(e,t,i){let a,n,r,o,s,l,{body:u}=this,{bodySpacing:d,bodyAlign:h,displayColors:c,boxHeight:m,boxWidth:f,boxPadding:p}=i,g=tz(i.bodyFont),b=g.lineHeight,v=0,y=ih(i.rtl,this.x,this.width),w=function(i){t.fillText(i,y.x(e.x+v),e.y+b/2),e.y+=b+d},M=y.textAlign(h);for(t.textAlign=h,t.textBaseline="middle",t.font=g.string,e.x=nj(this,M,i),t.fillStyle=i.bodyColor,ew(this.beforeBody,w),v=c&&"right"!==M?"center"===h?f/2+p:f+2+p:0,r=0,s=u.length;r<s;++r){for(a=u[r],t.fillStyle=this.labelTextColors[r],ew(a.before,w),n=a.lines,c&&n.length&&(this._drawColorBox(t,e,r,y,i),b=Math.max(g.lineHeight,m)),o=0,l=n.length;o<l;++o)w(n[o]),b=g.lineHeight;ew(a.after,w)}v=0,b=g.lineHeight,ew(this.afterBody,w),e.y-=d}drawFooter(e,t,i){let a,n,r=this.footer,o=r.length;if(o){let s=ih(i.rtl,this.x,this.width);for(e.x=nj(this,i.footerAlign,i),e.y+=i.footerMarginTop,t.textAlign=s.textAlign(i.footerAlign),t.textBaseline="middle",a=tz(i.footerFont),t.fillStyle=i.footerColor,t.font=a.string,n=0;n<o;++n)t.fillText(r[n],s.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+i.footerSpacing}}drawBackground(e,t,i,a){let{xAlign:n,yAlign:r}=this,{x:o,y:s}=e,{width:l,height:u}=i,{topLeft:d,topRight:h,bottomLeft:c,bottomRight:m}=tO(a.cornerRadius);t.fillStyle=a.backgroundColor,t.strokeStyle=a.borderColor,t.lineWidth=a.borderWidth,t.beginPath(),t.moveTo(o+d,s),"top"===r&&this.drawCaret(e,t,i,a),t.lineTo(o+l-h,s),t.quadraticCurveTo(o+l,s,o+l,s+h),"center"===r&&"right"===n&&this.drawCaret(e,t,i,a),t.lineTo(o+l,s+u-m),t.quadraticCurveTo(o+l,s+u,o+l-m,s+u),"bottom"===r&&this.drawCaret(e,t,i,a),t.lineTo(o+c,s+u),t.quadraticCurveTo(o,s+u,o,s+u-c),"center"===r&&"left"===n&&this.drawCaret(e,t,i,a),t.lineTo(o,s+d),t.quadraticCurveTo(o,s,o+d,s),t.closePath(),t.fill(),a.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){let t=this.chart,i=this.$animations,a=i&&i.x,n=i&&i.y;if(a||n){let i=nA[e.position].call(this,this._active,this._eventPosition);if(!i)return;let r=this._size=nL(this,e),o=Object.assign({},i,this._size),s=nR(t,e,o),l=nF(e,o,s,t);
3(a._to!==l.x||n._to!==l.y)&&(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=r.width,this.height=r.height,this.caretX=i.x,this.caretY=i.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(e){let t=this.options.setContext(this.getContext()),i=this.opacity;if(!i)return;this._updateAnimationTarget(t);let a={width:this.width,height:this.height},n={x:this.x,y:this.y};i=.001>Math.abs(i)?0:i;let r=tW(t.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&o&&(e.save(),e.globalAlpha=i,this.drawBackground(n,e,a,t),ic(e,t.textDirection),n.y+=r.top,this.drawTitle(n,e,t),this.drawBody(n,e,t),this.drawFooter(n,e,t),im(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){let i=this._active,a=e.map(({datasetIndex:e,index:t})=>{let i=this.chart.getDatasetMeta(e);if(!i)throw Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:i.data[t],index:t}}),n=!eM(i,a),r=this._positionChanged(a,t);(n||r)&&(this._active=a,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,i=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let a=this.options,n=this._active||[],r=this._getActiveElements(e,n,t,i),o=this._positionChanged(r,e),s=t||!eM(r,n)||o;return s&&(this._active=r,(a.enabled||a.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,i,a){let n=this.options;if("mouseout"===e.type)return[];if(!a)return t.filter(e=>this.chart.data.datasets[e.datasetIndex]&&void 0!==this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index));let r=this.chart.getElementsAtEventForMode(e,n.mode,n,i);return n.reverse&&r.reverse(),r}_positionChanged(e,t){let{caretX:i,caretY:a,options:n}=this,r=nA[n.position].call(this,e,t);return!1!==r&&(i!==r.x||a!==r.y)}}var nB=Object.freeze({__proto__:null,Colors:{id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,i){let a;if(!i.enabled)return;let{data:{datasets:n},options:r}=e.config,{elements:o}=r,s=nl(n)||r&&(r.borderColor||r.backgroundColor)||o&&nl(o)||"rgba(0,0,0,0.1)"!==tM.borderColor||"rgba(0,0,0,0.1)"!==tM.backgroundColor;if(!i.forceOverride&&s)return;let l=(a=0,(t,i)=>{var n,r,o;let s=e.getDatasetMeta(i).controller;s instanceof iU?(n=a,t.backgroundColor=t.data.map(()=>no(n++)),a=n):s instanceof iV?(r=a,t.backgroundColor=t.data.map(()=>ns(r++)),a=r):s&&(t.borderColor=no(o=a),t.backgroundColor=ns(o),a=++o)});n.forEach(l)}},Decimation:{id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,i)=>{if(!i.enabled)return void nd(e);let a=e.width;e.data.datasets.forEach((t,n)=>{let r,{_data:o,indexAxis:s}=t,l=e.getDatasetMeta(n),u=o||t.data;if("y"===tH([s,e.options.indexAxis])||!l.controller.supportsDecimation)return;let d=e.scales[l.xAxisID];if("linear"!==d.type&&"time"!==d.type||e.options.parsing)return;let{start:h,count:c}=function(e,t){let i,a=t.length,n=0,{iScale:r}=e,{min:o,max:s,minDefined:l,maxDefined:u}=r.getUserBounds();return l&&(n=e1(e4(t,r.axis,o).lo,0,a-1)),i=u?e1(e4(t,r.axis,s).hi+1,n,a)-n:a-n,{start:n,count:i}}(l,u);if(c<=(i.threshold||4*a))return void nu(t);switch(ec(o)&&(t._data=u,delete t.data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}})),i.algorithm){case"lttb":r=function(e,t,i,a,n){let r,o,s,l,u,d=n.samples||a;if(d>=i)return e.slice(t,t+i);let h=[],c=(i-2)/(d-2),m=0,f=t+i-1,p=t;for(h[m++]=e[p],r=0;r<d-2;r++){let a,n=0,d=0,f=Math.floor((r+1)*c)+1+t,g=Math.min(Math.floor((r+2)*c)+1,i)+t,b=g-f;for(a=f;a<g;a++)n+=e[a].x,d+=e[a].y;n/=b,d/=b;let v=Math.floor(r*c)+1+t,y=Math.min(Math.floor((r+1)*c)+1,i)+t,{x:w,y:M}=e[p];for(s=l=-1,a=v;a<y;a++)(l=.5*Math.abs((w-n)*(e[a].y-M)-(w-e[a].x)*(d-M)))>s&&(s=l,o=e[a],u=a);h[m++]=o,p=u}return h[m++]=e[f],h}(u,h,c,a,i);break;case"min-max":r=function(e,t,i,a){let n,r,o,s,l,u,d,h,c,m,f=0,p=0,g=[],b=e[t].x,v=e[t+i-1].x-b;for(n=t;n<t+i;++n){o=((r=e[n]).x-b)/v*a,s=r.y;let t=0|o;if(t===l)s<c?(c=s,u=n):s>m&&(m=s,d=n),f=(p*f+r.x)/++p;else{let i=n-1;if(!ec(u)&&!ec(d)){let t=Math.min(u,d),a=Math.max(u,d);t!==h&&t!==i&&g.push({...e[t],x:f}),a!==h&&a!==i&&g.push({...e[a],x:f})}n>
30&&i!==h&&g.push(e[i]),g.push(r),l=t,p=0,c=m=s,u=d=h=n}}return g}(u,h,c,a);break;default:throw Error(`Unsupported decimation algorithm '${i.algorithm}'`)}t._decimated=r})},destroy(e){nd(e)}},Filler:{id:"filler",afterDatasetsUpdate(e,t,i){let a,n,r,o,s=(e.data.datasets||[]).length,l=[];for(n=0;n<s;++n)r=(a=e.getDatasetMeta(n)).dataset,o=null,r&&r.options&&r instanceof a6&&(o={visible:e.isDatasetVisible(n),index:n,fill:function(e,t,i){var a,n,r,o;let s=function(e){let t=e.options,i=t.fill,a=eb(i&&i.target,i);return void 0===a&&(a=!!t.backgroundColor),!1!==a&&null!==a&&(!0===a?"origin":a)}(e);if(ef(s))return!isNaN(s.value)&&s;let l=parseFloat(s);return ep(l)&&Math.floor(l)===l?(a=s[0],n=t,r=l,o=i,("-"===a||"+"===a)&&(r=n+r),r!==n&&!(r<0)&&!(r>=o)&&r):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}(r,n,s),chart:e,axis:a.controller.options.indexAxis,scale:a.vScale,line:r}),a.$filler=o,l.push(o);for(n=0;n<s;++n)(o=l[n])&&!1!==o.fill&&(o.fill=function(e,t,i){let a,n=e[t].fill,r=[t];if(!i)return n;for(;!1!==n&&-1===r.indexOf(n);){if(!ep(n))return n;if(!(a=e[n]))break;if(a.visible)return n;r.push(n),n=a.fill}return!1}(l,n,i.propagate))},beforeDraw(e,t,i){let a="beforeDraw"===i.drawTime,n=e.getSortedVisibleDatasetMetas(),r=e.chartArea;for(let t=n.length-1;t>=0;--t){let i=n[t].$filler;i&&(i.line.updateControlPoints(r,i.axis),a&&i.fill&&nb(e.ctx,i,r))}},beforeDatasetsDraw(e,t,i){if("beforeDatasetsDraw"!==i.drawTime)return;let a=e.getSortedVisibleDatasetMetas();for(let t=a.length-1;t>=0;--t){let i=a[t].$filler;np(i)&&nb(e.ctx,i,e.chartArea)}},beforeDatasetDraw(e,t,i){let a=t.meta.$filler;np(a)&&"beforeDatasetDraw"===i.drawTime&&nb(e.ctx,a,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},Legend:{id:"legend",_element:nk,start(e,t,i){let a=e.legend=new nk({ctx:e.ctx,options:i,chart:e});ae.configure(e,a,i),ae.addBox(e,a)},stop(e){ae.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,i){let a=e.legend;ae.configure(e,a,i),a.options=i},afterUpdate(e){let t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,i){let a=t.datasetIndex,n=i.chart;n.isDatasetVisible(a)?(n.hide(a),t.hidden=!0):(n.show(a),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){let t=e.data.datasets,{labels:{usePointStyle:i,pointStyle:a,textAlign:n,color:r,useBorderRadius:o,borderRadius:s}}=e.legend.options;return e._getSortedDatasetMetas().map(e=>{let l=e.controller.getStyle(i?0:void 0),u=tW(l.borderWidth);return{text:t[e.index].label,fillStyle:l.backgroundColor,fontColor:r,hidden:!e.visible,lineCap:l.borderCapStyle,lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:l.borderColor,pointStyle:a||l.pointStyle,rotation:l.rotation,textAlign:n||l.textAlign,borderRadius:o&&(s||l.borderRadius),datasetIndex:e.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}},SubTitle:{id:"subtitle",start(e,t,i){let a=new nP({ctx:e.ctx,options:i,chart:e});ae.configure(e,a,i),ae.addBox(e,a),nT.set(e,a)},stop(e){ae.removeBox(e,nT.get(e)),nT.delete(e)},beforeUpdate(e,t,i){let a=nT.get(e);ae.configure(e,a,i),a.options=i},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},Title:{id:"title",_element:nP,start(e,t,i){let a;a=new nP({ctx:e.ctx,options:i,chart:e}),ae.configure(e,a,i),ae.addBox(e,a),e.titleBlock=a},stop(e){let t=e.titleBlock;ae.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,i){let a=e.titleBlock;ae.configure(e,a,i),a.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},Tooltip:{id:"tooltip",_element:n_,positioners:nA,afterInit(e,t,i){i&&(e.tooltip=new n_({chart:e,options:i}))},beforeUpdate(e,t,i){e.tooltip&&e.tooltip.initialize(i)},reset(e,t,i){e.tooltip&&e.tooltip.initialize(i)},afterDraw(e){let t=e.tooltip;if(t&&t._willRender()){let i={tooltip:t};
3if(!1===e.notifyPlugins("beforeTooltipDraw",{...i,cancelable:!0}))return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",i)}},afterEvent(e,t){if(e.tooltip){let i=t.replay;e.tooltip.handleEvent(t.event,i,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:nN},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>"filter"!==e&&"itemSort"!==e&&"external"!==e,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]}});function nO(e){let t=this.getLabels();return e>=0&&e<t.length?t[e]:e}function nW(e,t,{horizontal:i,minRotation:a}){let n=eY(a),r=(i?Math.sin(n):Math.cos(n))||.001,o=.75*t*(""+e).length;return Math.min(t/r,o)}class nz extends aS{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return ec(e)||("number"==typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){let{beginAtZero:e}=this.options,{minDefined:t,maxDefined:i}=this.getUserBounds(),{min:a,max:n}=this,r=e=>a=t?a:e,o=e=>n=i?n:e;if(e){let e=eG(a),t=eG(n);e<0&&t<0?o(0):e>0&&t>0&&r(0)}if(a===n){let t=0===n?1:Math.abs(.05*n);o(n+t),e||r(a-t)}this.min=a,this.max=n}getTickLimit(){let e,{maxTicksLimit:t,stepSize:i}=this.options.ticks;return i?(e=Math.ceil(this.max/i)-Math.floor(this.min/i)+1)>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3):(e=this.computeTickLimit(),t=t||11),t&&(e=Math.min(t,e)),e}computeTickLimit(){return 1/0}buildTicks(){let e=this.options,t=e.ticks,i=this.getTickLimit(),a=function(e,t){var i,a;let n,r,o,s,l,u=[],{bounds:d,step:h,min:c,max:m,precision:f,count:p,maxTicks:g,maxDigits:b,includeBounds:v}=e,y=h||1,w=g-1,{min:M,max:x}=t,k=!ec(c),S=!ec(m),P=!ec(p),T=(x-M)/(b+1),A=eV((x-M)/w/y)*y;if(A<1e-14&&!k&&!S)return[{value:M},{value:x}];(s=Math.ceil(x/A)-Math.floor(M/A))>w&&(A=eV(s*A/w/y)*y),ec(f)||(A=Math.ceil(A*(n=Math.pow(10,f)))/n),"ticks"===d?(r=Math.floor(M/A)*A,o=Math.ceil(x/A)*A):(r=M,o=x),k&&S&&h&&(i=(m-c)/h,a=A/1e3,(l=Math.round(i))-a<=i&&l+a>=i)?(s=Math.round(Math.min((m-c)/A,g)),A=(m-c)/s,r=c,o=m):P?(r=k?c:r,A=((o=S?m:o)-r)/(s=p-1)):s=eU(s=(o-r)/A,Math.round(s),A/1e3)?Math.round(s):Math.ceil(s);let C=Math.max(eX(A),eX(r));r=Math.round(r*(n=Math.pow(10,ec(f)?C:f)))/n,o=Math.round(o*n)/n;let E=0;for(k&&(v&&r!==c?(u.push({value:c}),r<c&&E++,eU(Math.round((r+E*A)*n)/n,c,nW(c,T,e))&&E++):r<c&&E++);E<s;++E){let e=Math.round((r+E*A)*n)/n;if(S&&e>m)break;u.push({value:e})}return S&&v&&o!==m?u.length&&eU(u[u.length-1].value,m,nW(m,T,e))?u[u.length-1].value=m:u.push({value:m}):S&&o!==m||u.push({value:o}),u}({maxTicks:i=Math.max(2,i),bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&eq(a,this,"value"),e.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){let e=this.ticks,t=this.min,i=this.max;if(super.configure(),this.options.offset&&e.length){let a=(i-t)/Math.max(e.length-1,1)/2;t-=a,i+=a}this._startValue=t,this._endValue=i,this._valueRange=i-t}getLabelForValue(e){return tp(e,this.chart.options.locale,this.options.ticks.format)}}class nH extends nz{static id="linear";static defaults={ticks:{callback:tg.numeric}};determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=ep(e)?e:0,this.max=ep(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let e=this.isHorizontal(),t=e?this.width:this.height,i=eY(this.options.ticks.minRotation),a=(e?Math.sin(i):Math.cos(i))||.001;return Math.ceil(t/Math.min(40,this._resolveTickFontOptions(0).lineHeight/a))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}let nG=e=>Math.floor(eH(e)),nU=(e,t)=>Math.pow(10,nG(e)+t);function nV(e){return 1==e/Math.pow(10,nG(e))}function nK(e,t,i){let a=Math.pow(10,i),n=Math.floor(e/a);return Math.ceil(t/a)-n}class nq extends aS{static id="logarithmic";static defaults={ticks:{callback:tg.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){let i=nz.prototype.parse.apply(this,[e,t]);if(0===i){this._zero=!0;return}return ep(i)&&i>0?i:null}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=ep(e)?Math.max(0,e):null,this.max=ep(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!ep(this._userMin)&&(this.min=e===nU(this.min,0)?nU(this.min,-1):nU(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),i=this.min,a=this.max,n=t=>i=e?i:t,r=e=>a=t?a:e;i===a&&(i<=0?(n(1),r(10)):(n(nU(i,-1)),r(nU(a,1)))),i<=0&&n(nU(a,-1)),a<=0&&r(nU(i,1)),this.min=i,this.max=a}buildTicks(){let e=this.options,t=function(e,{min:t,max:i}){t=eg(e.min,t);let a=[],n=nG(t),r=function(e,t){let i=nG(t-e);for(;nK(e,t,i)>10;)i++;for(;10>nK(e,t,i);)i--;return Math.min(i,nG(e))}(t,i),o=r<0?Math.pow(10,Math.abs(r)):1,s=Math.pow(10,r),l=n>r?Math.pow(10,n):0,u=Math.round((t-l)*o)/o,d=Math.floor((t-l)/s/10)*s*10,h=Math.floor((u-d)/Math.pow(10,r)),c=eg(e.min,Math.round((l+d+h*Math.pow(10,r))*o)/o);for(;c<i;)a.push({value:c,major:nV(c),significand:h}),h>=10?h=h<15?15:20:h++,h>=20&&(h=2,o=++r>=0?1:o),c=Math.round((l+d+h*Math.pow(10,r))*o)/o;let m=eg(e.max,c);return a.push({value:m,major:nV(m),significand:h}),a}({min:this._userMin,max:this._userMax},this);return"ticks"===e.bounds&&eq(t,this,"value"),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return void 0===e?"0":tp(e,this.chart.options.locale,this.options.ticks.format)}configure(){let e=this.min;super.configure(),this._startValue=eH(e),this._valueRange=eH(this.max)-eH(e)}getPixelForValue(e){return((void 0===e||0===e)&&(e=this.min),null===e||isNaN(e))?NaN:this.getPixelForDecimal(e===this.min?0:(eH(e)-this._startValue)/this._valueRange)}getValueForPixel(e){let t=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+t*this._valueRange)}}function nY(e){let t=e.ticks;if(t.display&&e.display){let e=tW(t.backdropPadding);return eb(t.font&&t.font.size,tM.font.size)+e.height}return 0}function nX(e,t,i,a,n){return e===a||e===n?{start:t-i/2,end:t+i/2}:e<a||e>n?{start:t-i,end:t}:{start:t,end:t+i}}function n$(e,t,i,a){let{ctx:n}=e;if(i)n.arc(e.xCenter,e.yCenter,t,0,eN);else{let i=e.getPointPosition(0,t);n.moveTo(i.x,i.y);for(let r=1;r<a;r++)i=e.getPointPosition(r,t),n.lineTo(i.x,i.y)}}class nZ extends nz{static id="radialLinear";
3static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:tg.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:e=>e,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){let e=this._padding=tW(nY(this.options)/2),t=this.width=this.maxWidth-e.width,i=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+i/2+e.top),this.drawingArea=Math.floor(Math.min(t,i)/2)}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!1);this.min=ep(e)&&!isNaN(e)?e:0,this.max=ep(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/nY(this.options))}generateTickLabels(e){nz.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((e,t)=>{let i=ey(this.options.pointLabels.callback,[e,t],this);return i||0===i?i:""}).filter((e,t)=>this.chart.getDataVisibility(t))}fit(){let e=this.options;e.display&&e.pointLabels.display?function(e){let t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},i=Object.assign({},t),a=[],n=[],r=e._pointLabels.length,o=e.options.pointLabels,s=o.centerPointLabels?eD/r:0;for(let d=0;d<r;d++){var l,u;let r=o.setContext(e.getPointLabelContext(d));n[d]=r.padding;let h=e.getPointPosition(d,e.drawingArea+n[d],s),c=tz(r.font),m=(l=e.ctx,u=em(u=e._pointLabels[d])?u:[u],{w:function(e,t,i,a){let n,r,o,s,l,u=(a=a||{}).data=a.data||{},d=a.garbageCollect=a.garbageCollect||[];a.font!==t&&(u=a.data={},d=a.garbageCollect=[],a.font=t),e.save(),e.font=t;let h=0,c=i.length;for(n=0;n<c;n++)if(null==(s=i[n])||em(s)){if(em(s))for(r=0,o=s.length;r<o;r++)null==(l=s[r])||em(l)||(h=tx(e,u,d,h,l))}else h=tx(e,u,d,h,s);e.restore();let m=d.length/2;if(m>i.length){for(n=0;n<m;n++)delete u[d[n]];d.splice(0,m)}return h}(l,c.string,u),h:u.length*c.lineHeight});a[d]=m;let f=eJ(e.getIndexAngle(d)+s),p=Math.round(180/eD*f);!function(e,t,i,a,n){let r=Math.abs(Math.sin(i)),o=Math.abs(Math.cos(i)),s=0,l=0;a.start<t.l?(s=(t.l-a.start)/r,e.l=Math.min(e.l,t.l-s)):a.end>t.r&&(s=(a.end-t.r)/r,e.r=Math.max(e.r,t.r+s)),n.start<t.t?(l=(t.t-n.start)/o,e.t=Math.min(e.t,t.t-l)):n.end>t.b&&(l=(n.end-t.b)/o,e.b=Math.max(e.b,t.b+l))}(i,t,f,nX(p,h.x,m.w,0,180),nX(p,h.y,m.h,90,270))}e.setCenterPoint(t.l-i.l,i.r-t.r,t.t-i.t,i.b-t.b),e._pointLabelItems=function(e,t,i){let a,n=[],r=e._pointLabels.length,o=e.options,{centerPointLabels:s,display:l}=o.pointLabels,u={extra:nY(o)/2,additionalAngle:s?eD/r:0};for(let o=0;o<r;o++){u.padding=i[o],u.size=t[o];let r=function(e,t,i){var a,n,r,o,s,l,u;let d=e.drawingArea,{extra:h,additionalAngle:c,padding:m,size:f}=i,p=e.getPointPosition(t,d+h+m,c),g=Math.round(180/eD*eJ(p.angle+eO)),b=(a=p.y,n=f.h,90===(r=g)||270===r?a-=n/2:(r>270||r<90)&&(a-=n),a),v=0===(o=g)||180===o?"center":o<180?"left":"right",y=(s=p.x,l=f.w,"right"===(u=v)?s-=l:"center"===u&&(s-=l/2),s);return{visible:!0,x:p.x,y:b,textAlign:v,left:y,top:b,right:y+f.w,bottom:b+f.h}}(e,o,u);n.push(r),"auto"===l&&(r.visible=function(e,t){if(!t)return!0;let{left:i,top:a,right:n,bottom:r}=e;return!(tA({x:i,y:a},t)||tA({x:i,y:r},t)||tA({x:n,y:a},t)||tA({x:n,y:r},t))}(r,a),r.visible&&(a=r))}return n}(e,a,n)}(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,i,a){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((i-a)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,i,a))}getIndexAngle(e){return eJ(e*(eN/(this._pointLabels.length||1))+eY(this.options.startAngle||0))}getDistanceFromCenterForValue(e){if(ec(e))return NaN;let t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(ec(e))return NaN;let t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){let t=this._pointLabels||[];if(e>=0&&e<t.length){var i;let a=t[e];return i=this.getContext(),tG(i,{label:a,index:e,type:"pointLabel"})}}getPointPosition(e,t,i=0){let a=this.getIndexAngle(e)-eO+i;return{x:Math.cos(a)*t+this.xCenter,y:Math.sin(a)*t+this.yCenter,angle:a}}getPointPositionForValue(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){let{left:t,top:i,right:a,bottom:n}=this._pointLabelItems[e];return{left:t,top:i,right:a,bottom:n}}
3drawBackground(){let{backgroundColor:e,grid:{circular:t}}=this.options;if(e){let i=this.ctx;i.save(),i.beginPath(),n$(this,this.getDistanceFromCenterForValue(this._endValue),t,this._pointLabels.length),i.closePath(),i.fillStyle=e,i.fill(),i.restore()}}drawGrid(){let e,t,i,a=this.ctx,n=this.options,{angleLines:r,grid:o,border:s}=n,l=this._pointLabels.length;if(n.pointLabels.display&&function(e,t){let{ctx:i,options:{pointLabels:a}}=e;for(let n=t-1;n>=0;n--){let t=e._pointLabelItems[n];if(!t.visible)continue;let r=a.setContext(e.getPointLabelContext(n));!function(e,t,i){let{left:a,top:n,right:r,bottom:o}=i,{backdropColor:s}=t;if(!ec(s)){let i=tO(t.borderRadius),l=tW(t.backdropPadding);e.fillStyle=s;let u=a-l.left,d=n-l.top,h=r-a+l.width,c=o-n+l.height;Object.values(i).some(e=>0!==e)?(e.beginPath(),tj(e,{x:u,y:d,w:h,h:c,radius:i}),e.fill()):e.fillRect(u,d,h,c)}}(i,r,t);let o=tz(r.font),{x:s,y:l,textAlign:u}=t;tF(i,e._pointLabels[n],s,l+o.lineHeight/2,o,{color:r.color,textAlign:u,textBaseline:"middle"})}}(this,l),o.display&&this.ticks.forEach((e,i)=>{if(0!==i||0===i&&this.min<0){t=this.getDistanceFromCenterForValue(e.value);let a=this.getContext(i),n=o.setContext(a),r=s.setContext(a);!function(e,t,i,a,n){let r=e.ctx,o=t.circular,{color:s,lineWidth:l}=t;(o||a)&&s&&l&&!(i<0)&&(r.save(),r.strokeStyle=s,r.lineWidth=l,r.setLineDash(n.dash||[]),r.lineDashOffset=n.dashOffset,r.beginPath(),n$(e,i,o,a),r.closePath(),r.stroke(),r.restore())}(this,n,t,l,r)}}),r.display){for(a.save(),e=l-1;e>=0;e--){let o=r.setContext(this.getPointLabelContext(e)),{color:s,lineWidth:l}=o;l&&s&&(a.lineWidth=l,a.strokeStyle=s,a.setLineDash(o.borderDash),a.lineDashOffset=o.borderDashOffset,t=this.getDistanceFromCenterForValue(n.reverse?this.min:this.max),i=this.getPointPosition(e,t),a.beginPath(),a.moveTo(this.xCenter,this.yCenter),a.lineTo(i.x,i.y),a.stroke())}a.restore()}}drawBorder(){}drawLabels(){let e,t,i=this.ctx,a=this.options,n=a.ticks;if(!n.display)return;let r=this.getIndexAngle(0);i.save(),i.translate(this.xCenter,this.yCenter),i.rotate(r),i.textAlign="center",i.textBaseline="middle",this.ticks.forEach((r,o)=>{if(0===o&&this.min>=0&&!a.reverse)return;let s=n.setContext(this.getContext(o)),l=tz(s.font);if(e=this.getDistanceFromCenterForValue(this.ticks[o].value),s.showLabelBackdrop){i.font=l.string,t=i.measureText(r.label).width,i.fillStyle=s.backdropColor;let a=tW(s.backdropPadding);i.fillRect(-t/2-a.left,-e-l.size/2-a.top,t+a.width,l.size+a.height)}tF(i,r.label,0,-e,l,{color:s.color,strokeColor:s.textStrokeColor,strokeWidth:s.textStrokeWidth})}),i.restore()}drawTitle(){}}let nQ={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},nJ=Object.keys(nQ);function n0(e,t){return e-t}function n1(e,t){if(ec(t))return null;let i=e._adapter,{parser:a,round:n,isoWeekday:r}=e._parseOpts,o=t;return("function"==typeof a&&(o=a(o)),ep(o)||(o="string"==typeof a?i.parse(o,a):i.parse(o)),null===o)?null:(n&&(o="week"===n&&(eK(r)||!0===r)?i.startOf(o,"isoWeek",r):i.startOf(o,n)),+o)}function n2(e,t,i,a){let n=nJ.length;for(let r=nJ.indexOf(e);r<n-1;++r){let e=nQ[nJ[r]],n=e.steps?e.steps:Number.MAX_SAFE_INTEGER;if(e.common&&Math.ceil((i-t)/(n*e.size))<=a)return nJ[r]}return nJ[n-1]}function n3(e,t,i){if(i){if(i.length){let{lo:a,hi:n}=e3(i,t);e[i[a]>=t?i[a]:i[n]]=!0}}else e[t]=!0}function n4(e,t,i){let a,n,r=[],o={},s=t.length;for(a=0;a<s;++a)o[n=t[a]]=a,r.push({value:n,major:!1});return 0!==s&&i?function(e,t,i,a){let n,r,o=e._adapter,s=+o.startOf(t[0].value,a),l=t[t.length-1].value;for(n=s;n<=l;n=+o.add(n,1,a))(r=i[n])>=0&&(t[r].major=!0);return t}(e,r,o,i):r}class n5 extends aS{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t={}){let i=e.time||(e.time={}),a=this._adapter=new iX._date(e.adapters.date);a.init(t),eT(i.displayFormats,a.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return void 0===e?null:n1(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){let e=this.options,t=this._adapter,i=e.time.unit||"day",{min:a,max:n,minDefined:r,maxDefined:o}=this.getUserBounds();function s(e){r||isNaN(e.min)||(a=Math.min(a,e.min)),o||isNaN(e.max)||(n=Math.max(n,e.max))}r&&o||(s(this._getLabelBounds()),("ticks"!==e.bounds||"labels"!==e.ticks.source)&&s(this.getMinMax(!1))),a=ep(a)&&!isNaN(a)?a:+t.startOf(Date.now(),i),n=ep(n)&&!isNaN(n)?n:+t.endOf(Date.now(),i)+1,this.min=Math.min(a,n-1),this.max=Math.max(a+1,n)}_getLabelBounds(){let e=this.getLabelTimestamps(),t=1/0,i=-1/0;return e.length&&(t=e[0],i=e[e.length-1]),{min:t,max:i}}buildTicks(){let e=this.options,t=e.time,i=e.ticks,a="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&a.length&&(this.min=this._userMin||a[0],this.max=this._userMax||a[a.length-1]);let n=this.min,r=function(e,t,i){let a=0,n=e.length;for(;a<n&&e[a]<t;)a++;for(;n>a&&e[n-1]>i;)n--;return a>0||n<e.length?e.slice(a,n):e}(a,n,this.max);return this._unit=t.unit||(i.autoSkip?n2(t.minUnit,this.min,this.max,this._getLabelCapacity(n)):function(e,t,i,a,n){for(let r=nJ.length-1;r>=nJ.indexOf(i);r--){let i=nJ[r];if(nQ[i].common&&e._adapter.diff(n,a,i)>=t-1)return i}return nJ[i?nJ.indexOf(i):0]}(this,r.length,t.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function(e){for(let t=nJ.indexOf(e)+1,i=nJ.length;t<i;++t)if(nQ[nJ[t]].common)return nJ[t]}(this._unit):void 0,this.initOffsets(a),e.reverse&&r.reverse(),n4(this,r,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let t,i,a=0,n=0;this.options.offset&&e.length&&(t=this.getDecimalForValue(e[0]),a=1===e.length?1-t:(this.getDecimalForValue(e[1])-t)/2,i=this.getDecimalForValue(e[e.length-1]),n=1===e.length?
3i:(i-this.getDecimalForValue(e[e.length-2]))/2);let r=e.length<3?.5:.25;a=e1(a,0,r),n=e1(n,0,r),this._offsets={start:a,end:n,factor:1/(a+1+n)}}_generate(){let e,t,i=this._adapter,a=this.min,n=this.max,r=this.options,o=r.time,s=o.unit||n2(o.minUnit,a,n,this._getLabelCapacity(a)),l=eb(r.ticks.stepSize,1),u="week"===s&&o.isoWeekday,d=eK(u)||!0===u,h={},c=a;if(d&&(c=+i.startOf(c,"isoWeek",u)),c=+i.startOf(c,d?"day":s),i.diff(n,a,s)>1e5*l)throw Error(a+" and "+n+" are too far apart with stepSize of "+l+" "+s);let m="data"===r.ticks.source&&this.getDataTimestamps();for(e=c,t=0;e<n;e=+i.add(e,l,s),t++)n3(h,e,m);return(e===n||"ticks"===r.bounds||1===t)&&n3(h,e,m),Object.keys(h).sort(n0).map(e=>+e)}getLabelForValue(e){let t=this._adapter,i=this.options.time;return i.tooltipFormat?t.format(e,i.tooltipFormat):t.format(e,i.displayFormats.datetime)}format(e,t){let i=this.options.time.displayFormats,a=this._unit,n=t||i[a];return this._adapter.format(e,n)}_tickFormatFunction(e,t,i,a){let n=this.options,r=n.ticks.callback;if(r)return ey(r,[e,t,i],this);let o=n.time.displayFormats,s=this._unit,l=this._majorUnit,u=s&&o[s],d=l&&o[l],h=i[t],c=l&&d&&h&&h.major;return this._adapter.format(e,a||(c?d:u))}generateTickLabels(e){let t,i,a;for(t=0,i=e.length;t<i;++t)(a=e[t]).label=this._tickFormatFunction(a.value,t,e)}getDecimalForValue(e){return null===e?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){let t=this._offsets,i=this.getDecimalForValue(e);return this.getPixelForDecimal((t.start+i)*t.factor)}getValueForPixel(e){let t=this._offsets,i=this.getDecimalForPixel(e)/t.factor-t.end;return this.min+i*(this.max-this.min)}_getLabelSize(e){let t=this.options.ticks,i=this.ctx.measureText(e).width,a=eY(this.isHorizontal()?t.maxRotation:t.minRotation),n=Math.cos(a),r=Math.sin(a),o=this._resolveTickFontOptions(0).size;return{w:i*n+o*r,h:i*r+o*n}}_getLabelCapacity(e){let t=this.options.time,i=t.displayFormats,a=i[t.unit]||i.millisecond,n=this._tickFormatFunction(e,0,n4(this,[e],this._majorUnit),a),r=this._getLabelSize(n),o=Math.floor(this.isHorizontal()?this.width/r.w:this.height/r.h)-1;return o>0?o:1}getDataTimestamps(){let e,t,i=this._cache.data||[];if(i.length)return i;let a=this.getMatchingVisibleMetas();if(this._normalized&&a.length)return this._cache.data=a[0].controller.getAllParsedValues(this);for(e=0,t=a.length;e<t;++e)i=i.concat(a[e].controller.getAllParsedValues(this));return this._cache.data=this.normalize(i)}getLabelTimestamps(){let e,t,i=this._cache.labels||[];if(i.length)return i;let a=this.getLabels();for(e=0,t=a.length;e<t;++e)i.push(n1(this,a[e]));return this._cache.labels=this._normalized?i:this.normalize(i)}normalize(e){return e8(e.sort(n0))}}function n6(e,t,i){let a,n,r,o,s=0,l=e.length-1;i?(t>=e[s].pos&&t<=e[l].pos&&({lo:s,hi:l}=e4(e,"pos",t)),{pos:a,time:r}=e[s],{pos:n,time:o}=e[l]):(t>=e[s].time&&t<=e[l].time&&({lo:s,hi:l}=e4(e,"time",t)),{time:a,pos:r}=e[s],{time:n,pos:o}=e[l]);let u=n-a;return u?r+(o-r)*(t-a)/u:r}class n9 extends n5{static id="timeseries";static defaults=n5.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=n6(t,this.min),this._tableRange=n6(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){let t,i,a,{min:n,max:r}=this,o=[],s=[];for(t=0,i=e.length;t<i;++t)(a=e[t])>=n&&a<=r&&o.push(a);if(o.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(t=0,i=o.length;t<i;++t)Math.round((o[t+1]+o[t-1])/2)!==(a=o[t])&&s.push({time:a,pos:t/(i-1)});return s}_generate(){let e=this.min,t=this.max,i=super.getDataTimestamps();return i.includes(e)&&i.length||i.splice(0,0,e),i.includes(t)&&1!==i.length||i.push(t),i.sort((e,t)=>e-t)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;let t=this.getDataTimestamps(),i=this.getLabelTimestamps();return e=t.length&&i.length?this.normalize(t.concat(i)):t.length?t:i,e=this._cache.all=e}getDecimalForValue(e){return(n6(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){let t=this._offsets,i=this.getDecimalForPixel(e)/t.factor-t.end;return n6(this._table,i*this._tableRange+this._minPos,!0)}}let n8=[iK,na,nB,Object.freeze({__proto__:null,CategoryScale:class extends aS{static id="category";static defaults={ticks:{callback:nO}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){let t=this._addedLabels;if(t.length){let e=this.getLabels();for(let{index:i,label:a}of t)e[i]===a&&e.splice(i,1);this._addedLabels=[]}super.init(e)}parse(e,t){let i,a;if(ec(e))return null;let n=this.getLabels();return i=t=isFinite(t)&&n[t]===e?t:function(e,t,i,a){let n=e.indexOf(t);if(-1===n){var r;return r=i,"string"==typeof t?(r=e.push(t)-1,a.unshift({index:r,label:t})):isNaN(t)&&(r=null),r}return n!==e.lastIndexOf(t)?i:n}(n,e,eb(t,e),this._addedLabels),a=n.length-1,null===i?null:e1(Math.round(i),0,a)}determineDataLimits(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),{min:i,max:a}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(i=0),t||(a=this.getLabels().length-1)),this.min=i,this.max=a}buildTicks(){let e=this.min,t=this.max,i=this.options.offset,a=[],n=this.getLabels();n=0===e&&t===n.length-1?n:n.slice(e,t+1),this._valueRange=Math.max(n.length-!i,1),this._startValue=this.min-.5*!!i;for(let i=e;i<=t;i++)a.push({value:i});return a}getLabelForValue(e){return nO.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}},LinearScale:nH,LogarithmicScale:nq,RadialLinearScale:nZ,TimeScale:n5,TimeSeriesScale:n9})];function n7({items:e=[],onClick:t}){return e.find(({text:e})=>e)?(0,a.jsx)(I.Row,{gap:!0,wrap:"wrap",justifyContent:"center",children:e.map(e=>{let{text:i,fillStyle:n,hidden:r}=e,o=D(n);return(0,a.jsx)(I.Row,{onClick:()=>
3t(e),children:(0,a.jsx)(I.StatusLight,{color:o.alpha(o.alpha()+.2).toHex(),children:(0,a.jsx)(I.Text,{size:"sm",color:r?"disabled":void 0,truncate:!0,style:{maxWidth:"300px"},children:i})})},i)})}):null}e.s(["Chart",0,aX,"_adapters",0,iX,"registerables",0,n8],573478),aX.register(...n8);var re=e.i(685149);function rt({type:e,chartData:t,animationDuration:i=re.DEFAULT_ANIMATION_DURATION,updateMode:n,onTooltip:r,chartOptions:o,hiddenLabels:s,onLegendClick:l,...u}){let d=(0,N.useRef)(null),h=(0,N.useRef)(null),[c,m]=(0,N.useState)([]),f=(0,N.useMemo)(()=>({responsive:!0,maintainAspectRatio:!1,animation:{duration:i,resize:{duration:0},active:{duration:0}},plugins:{legend:{display:!1},tooltip:{enabled:!1,intersect:!0,external:r}},...o}),[o]);return(0,N.useEffect)(()=>(d.current&&(h.current=new aX(d.current,{type:e,data:t,options:f}),m(h.current.legend.legendItems)),()=>{h.current?.destroy()}),[]),(0,N.useEffect)(()=>{h.current&&t&&(h.current.data.labels=t.labels,h.current.data.datasets=t.datasets,null!==t.focusLabel&&h.current.data.datasets.forEach(e=>{e.hidden=!!t.focusLabel&&e.label!==t.focusLabel}),s&&h.current.data.datasets.forEach(e=>{s.has(e.label)?e.hidden=!0:t.focusLabel||(e.hidden=!1)}),h.current.options=f,h.current.update(n),m(h.current.legend.legendItems))},[t,f,n,s]),(0,a.jsxs)(I.Column,{gap:"6",children:[(0,a.jsx)(I.Box,{...u,children:(0,a.jsx)("div",{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},children:(0,a.jsx)("canvas",{ref:d,style:{position:"absolute",top:0,left:0}})})}),(0,a.jsx)(n7,{items:c,onClick:t=>{if(l&&"bar"===e){let{datasetIndex:e}=t,i=h.current.data.datasets[e];l(i.label,!s?.has(i.label));return}if("bar"===e){let{datasetIndex:e}=t,i=h.current.getDatasetMeta(e);i.hidden=null===i.hidden?!h.current.data.datasets[e]?.hidden:null}else{let{index:e}=t,i=h.current.getDatasetMeta(0),a=!!i?.data?.[e]?.hidden;i.data[e].hidden=!a,h.current.legend.legendItems[e].hidden=!a}h.current.update(n),m(h.current.legend.legendItems)}})]})}function ri({title:e,color:t,value:i}){return(0,a.jsx)(I.FloatingTooltip,{children:(0,a.jsxs)(I.Column,{gap:"3",padding:"4",borderRadius:"md",style:{backgroundColor:"rgba(0,0,0,0.8)",color:"white"},children:[e&&(0,a.jsx)(I.Text,{size:"sm",children:e}),(0,a.jsx)(I.Row,{alignItems:"center",children:(0,a.jsx)(I.StatusLight,{color:t,children:(0,a.jsx)(I.Text,{size:"sm",children:i})})})]})})}aX.defaults.font.family="Inter",e.s(["Chart",0,rt],376279),e.s(["ChartTooltip",0,ri],623778);var ra=e.i(108761),rn=e.i(227465),rr=e.i(175379);function ro(e){return+e>1e3?(0,rr.formatLongNumber)(+e):e}function rs(e,t){return(i,a,n)=>{let r=new Date(n[a].value);switch(e){case"minute":case"hour":return(0,rn.formatDate)(r,"p",t);case"day":return(0,rn.formatDate)(r,"PP",t).replace(/\W*20\d{2}\W*/,"");case"month":return(0,rn.formatDate)(r,"MMM",t);case"year":return(0,rn.formatDate)(r,"yyyy",t);default:return i}}}function rl(e){let t=0x811c9dc5;for(let i=0;i<e.length;i++)t^=e.charCodeAt(i),t=(t>>>0)*0x1000193;return(t>>>0&0xffffff).toString(16).padStart(6,"0")}function ru(e,t=0,i=255){let a=e.replace(/^#/,""),n=i-t,r=e=>
3Math.floor(e/255*n+t),o=r(parseInt(a.substring(0,2),16));return{r:o,g:r(parseInt(a.substring(2,4),16)),b:r(parseInt(a.substring(4,6),16))}}function rd(e,t,i,a=""){return`${a}${e.toString(16)}${t.toString(16)}${i.toString(16)}`}function rh(e){let{primary:t,text:i,line:a,fill:n}=re.THEME_COLORS[e],r=D(re.THEME_COLORS[e].primary);return{colors:{theme:{...re.THEME_COLORS[e]},chart:{text:i,line:a,views:{hoverBackgroundColor:r.alpha(.7).toRgbString(),backgroundColor:r.alpha(.4).toRgbString(),borderColor:r.alpha(.7).toRgbString(),hoverBorderColor:r.toRgbString()},visitors:{hoverBackgroundColor:r.alpha(.9).toRgbString(),backgroundColor:r.alpha(.6).toRgbString(),borderColor:r.alpha(.9).toRgbString(),hoverBorderColor:r.toRgbString()}},map:{baseColor:t,fillColor:n,strokeColor:t,hoverColor:t}}}}e.s(["renderDateLabels",0,rs,"renderNumberLabels",0,ro],248574),e.s(["getColor",0,function(e,t=0,i=255){let{r:a,g:n,b:r}=ru(rl(e),t,i);return rd(a,n,r)},"getPastel",0,function(e,t=.5,i=""){let{r:a,g:n,b:r}=ru(e);return rd(a=Math.floor((a+255*t)/(1+t)),n=Math.floor((n+255*t)/(1+t)),r=Math.floor((r+255*t)/(1+t)),i)},"getThemeColors",0,rh,"hex6",0,rl],260957);let rc=(0,N.memo)(rt),rm={millisecond:"T",second:"pp",minute:"p",hour:"p - PP",day:"PPPP",week:"PPPP",month:"LLLL yyyy",quarter:"qqq",year:"yyyy"},rf=(0,N.memo)(function({chartData:e,renderXLabel:t,renderYLabel:i,unit:n,XAxisType:r="timeseries",YAxisType:o="linear",stacked:s=!1,minDate:l,maxDate:u,currency:d,...h}){let[c,m]=(0,N.useState)(null),{theme:f}=(0,I.useTheme)(),{locale:p}=(0,ra.useLocale)(),{colors:g}=(0,N.useMemo)(()=>rh(f),[f]),b=(0,N.useMemo)(()=>({__id:Date.now(),scales:{x:{type:r,stacked:!0,min:(0,rn.formatDate)(l,rn.DATE_FORMATS[n],p),max:(0,rn.formatDate)(u,rn.DATE_FORMATS[n],p),offset:!0,time:{unit:n},grid:{display:!1},border:{color:g.chart.line},ticks:{color:g.chart.text,autoSkip:!1,maxRotation:0,callback:t}},y:{type:o,min:0,beginAtZero:!0,stacked:!!s,grid:{color:g.chart.line},border:{color:g.chart.line},ticks:{color:g.chart.text,callback:i||ro}}}}),[g,n,s,t,i,l,u,p,r,o]),v=(0,N.useCallback)(({tooltip:e})=>{let{opacity:t,labelColors:i,dataPoints:a}=e,r=t?{title:(0,rn.formatDate)(new Date(a[0].raw?.d||a[0].raw?.x||a[0].raw),rm[n],p),color:i?.[0]?.borderColor||i?.[0]?.backgroundColor,value:d?(0,rr.formatLongCurrency)(a[0].raw.y,d):`${(0,rr.formatLongNumber)(a[0].raw.y)} ${a[0].dataset.label}`}:null;m(e=>e?.title===r?.title&&e?.color===r?.color&&e?.value===r?.value?e:r)},[d,p,n]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(rc,{...h,type:"bar",chartData:e,chartOptions:b,onTooltip:v}),c&&(0,a.jsx)(ri,{...c})]})});rf.displayName="BarChart";var rp=e.i(223351);function rg({data:e,mode:t="period",unit:i,minDate:n,maxDate:r,currency:o}){let{t:s,labels:l}=(0,rp.useMessages)(),{locale:u,dateLocale:d}=(0,ra.useLocale)(),h="cumulative"===t,c=(0,N.useMemo)(()=>{if(!e?.length)return{datasets:[]};if(h){let t=r>new Date?new Date:r,a=(0,rn.formatDate)(t,rn.DATE_FORMATS[i],d),o=function(e,t,i,a){let n=rn.DATE_FUNCTIONS[i].add,r=rn.DATE_FUNCTIONS[i].start,o=rn.DATE_FORMATS[i],s=new Map,l=r(e),u=r(t);for(;l<=u;)s.set((0,rn.formatDate)(l,o,a),l),l=n(l,1);return s}(n,r,i,d),u=e.reduce((e,{t,y:i})=>(e[t]=(e[t]||0)+i,e),{}),h=0,c=(0,rn.generateTimeSeries)(Object.entries(u).map(([e,t])=>({x:e,y:t})),n,r,i,d).map(e=>{let t=e.d??o.get(e.x);return e.x>a?{...e,d:t,y:null}:(h+=e.y||0,{...e,d:t,y:h})}),m=D(re.CHART_COLORS[0]);return{datasets:[{type:"line",label:s(l.revenue),data:c,backgroundColor:e=>{let{chart:t}=e,{ctx:i,chartArea:a}=t;if(!a)return m.alpha(.18).toRgbString();let n=i.createLinearGradient(0,a.top,0,a.bottom);return n.addColorStop(0,m.alpha(.22).toRgbString()),n.addColorStop(1,m.alpha(.02).toRgbString()),n},borderColor:m.alpha(.95).toRgbString(),borderWidth:2,pointRadius:2,tension:.25,fill:!0}]}}let t=e.reduce((e,{x:t,t:i,y:a})=>(e[t]||(e[t]=[]),e[t].push({x:i,y:a}),e),{});return{datasets:Object.keys(t).map((e,a)=>{let o=D(re.CHART_COLORS[a%re.CHART_COLORS.length]);return{label:e,data:(0,rn.generateTimeSeries)(t[e],n,r,i,d),backgroundColor:o.alpha(.6).toRgbString(),borderColor:o.alpha(.7).toRgbString(),borderWidth:1}})}},[e,n,r,i,d,h,s,l.revenue]),m=(0,N.useCallback)(rs(i,u),[i,u]);return(0,a.jsx)(rf,{chartData:c,unit:i,minDate:n,maxDate:r,currency:o,stacked:!h,renderXLabel:m,height:"400px"})}var rb=e.i(103053);function rv(e){return e||(0,rb.getItem)(re.CURRENCY_CONFIG)||re.DEFAULT_CURRENCY}function ry({websiteId:e,currency:t}){let i=rv(t),{timezone:l}=(0,o.useTimezone)(),{dateRange:{startDate:u,endDate:d,unit:h}}=(0,r.useDateRange)({timezone:l}),{data:c,isLoading:m,isFetching:f,error:p}=(0,s.useRevenueChartQuery)(e,i);return(0,a.jsx)(n.LoadingPanel,{data:c,isLoading:m,isFetching:f,error:p,children:c&&(0,a.jsx)(rg,{data:c.chart,unit:h,minDate:u,maxDate:d,currency:i})})}e.s(["useBoardRevenueCurrency",0,rv],904214)},46046,469241,e=>{"use strict";e.s(["BoardRevenueMetricsBar",()=>h],46046);var t=e.i(361560),i=e.i(669712);e.i(685521);var a=e.i(887632),n=e.i(140722);e.s(["RevenueMetricsBar",()=>u],469241);var r=e.i(223351),o=e.i(173568),s=e.i(912285),l=e.i(175379);function u({data:e,currency:i}){let{t:n,labels:d}=(0,r.useMessages)(),{isAllTime:h}=(0,a.useDateRange)(),{sum:c,count:m,average:f,unique_count:p,arpu:g,comparison:b}=e,v=[{value:c,label:n(d.total),change:b?c-b.sum:0,formatValue:e=>(0,l.formatLongCurrency)(e,i)},{value:f,label:n(d.aov),tooltip:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{children:"Average Order Value"}),(0,t.jsx)("div",{children:"(Total Revenue / Orders)"})]}),change:b?f-b.average:0,formatValue:e=>(0,l.formatLongCurrency)(e,i)},{value:g,label:n(d.arpu),tooltip:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{children:"Average Revenue Per User"}),(0,t.jsx)("div",{children:"(Total Revenue / All Sessions)"})]}),change:b?g-(b.arpu??0):0,formatValue:e=>(0,l.formatLongCurrency)(e,i)},{value:m,label:n(d.orders),change:b?m-b.count:0,formatValue:l.formatLongNumber},{value:p,label:n(d.uniqueCustomers),change:b?p-b.unique_count:0,formatValue:l.formatLongNumber}];return(0,t.jsx)(s.MetricsBar,{children:v.map(({label:e,value:i,change:a,formatValue:n,tooltip:r})=>(0,t.jsx)(o.MetricCard,{value:i,label:e,tooltip:r,change:a,formatValue:n,showChange:!h},e))})}var d=e.i(904214);function h({websiteId:e,currency:r}){let o=(0,d.useBoardRevenueCurrency)(r),{compare:s}=(0,a.useDateRange)(),{data:l,isLoading:c,isFetching:m,error:f}=(0,n.useRevenueStatsQuery)({websiteId:e,currency:o,compare:s});return(0,t.jsx)(i.LoadingPanel,{data:l,isLoading:c,isFetching:m,error:f,children:l&&(0,t.jsx)(u,{data:l,currency:o})})}},260539,306987,468275,910118,428848,509296,e=>{"use strict";e.s(["BoardRevenueMetricsTable",()=>D],260539);var t=e.i(361560),i=e.i(669712);e.i(685521);var a=e.i(887632),n=e.i(223351),r=e.i(140722);e.s(["RevenueMetricsTable",()=>F],468275);var o=e.i(949381),s=e.i(866988),l=e.i(273143),u=e.i(397110);e.s(["MetricLabel",()=>y],306987);
3var d=e.i(347368),h=e.i(679355),c=e.i(879982),m=e.i(12723),f=e.i(860411),p=e.i(108761),g=e.i(819047),b=e.i(685149),v=e.i(175379);function y({type:e,data:i}){switch(e){case"browser":case"os":return(0,t.jsx)(w,{type:e,data:i});case"channel":return(0,t.jsx)(M,{data:i});case"city":return(0,t.jsx)(x,{data:i});case"region":return(0,t.jsx)(k,{data:i});case"country":return(0,t.jsx)(S,{data:i});case"path":case"entry":case"exit":return(0,t.jsx)(P,{type:e,data:i});case"fullPath":return(0,t.jsx)(T,{data:i});case"device":return(0,t.jsx)(A,{data:i});case"referrer":return(0,t.jsx)(C,{data:i});case"domain":return(0,t.jsx)(E,{data:i});case"language":return(0,t.jsx)(L,{data:i});default:return(0,t.jsx)(R,{type:e,data:i})}}function w({type:e,data:i}){let{formatValue:a}=(0,f.useFormat)(),{label:n}=i;return(0,t.jsx)(h.FilterLink,{type:e,value:n,label:a(n,e),icon:(0,t.jsx)(c.TypeIcon,{type:e,value:n})})}function M({data:e}){let{t,labels:i}=(0,n.useMessages)(),{label:a}=e;return t(i[a])}function x({data:e}){let{formatCity:i}=(0,f.useFormat)(),{label:a,country:n}=e;return(0,t.jsx)(h.FilterLink,{type:"city",value:a,label:i(a,n),icon:n&&(0,t.jsx)("img",{src:`/images/country/${n?.toLowerCase()||"xx"}.png`,alt:n})})}function k({data:e}){let{locale:i}=(0,p.useLocale)(),{getRegionName:a}=(0,g.useRegionNames)(i),{label:n,country:r}=e;return(0,t.jsx)(h.FilterLink,{type:"region",value:n,label:a(n,r),icon:(0,t.jsx)(c.TypeIcon,{type:"country",value:r})})}function S({data:e}){let{formatValue:i}=(0,f.useFormat)(),{locale:a}=(0,p.useLocale)(),{countryNames:n}=(0,m.useCountryNames)(a),{label:r}=e;return(0,t.jsx)(h.FilterLink,{type:"country",value:n[r]&&r||r,label:i(r,"country"),icon:(0,t.jsx)(c.TypeIcon,{type:"country",value:r})})}function P({type:e,data:i}){let{t:a,labels:r}=(0,n.useMessages)(),{label:o,domain:s}=i;return(0,t.jsx)(h.FilterLink,{type:"entry"===e||"exit"===e?"path":e,value:o,label:!o&&a(r.none),externalUrl:s?`${s?.startsWith("http")?s:`https://${s}`}${o}`:null})}function T({data:e}){let{t,labels:i}=(0,n.useMessages)(),{label:a}=e;return a||`(${t(i.none)})`}function A({data:e}){let{formatValue:i}=(0,f.useFormat)(),{labels:a}=(0,n.useMessages)(),{label:r}=e;return(0,t.jsx)(h.FilterLink,{type:"device",value:a[r]&&r,label:i(r,"device"),icon:(0,t.jsx)(c.TypeIcon,{type:"device",value:r})})}function C({data:e}){let{t:i,labels:a}=(0,n.useMessages)(),{label:r}=e;return(0,t.jsx)(h.FilterLink,{type:"referrer",value:r,externalUrl:`https://${r}`,label:r?(0,v.decodePunycodeDomain)(r):i(a.none),icon:(0,t.jsx)(d.Favicon,{domain:r})})}function E({data:e}){let{t:i,labels:a}=(0,n.useMessages)(),{label:r}=e;if("Other"===r)return`(${i(a.other)})`;let s=b.GROUPED_DOMAINS.find(({domain:e})=>e===r)?.name;return s?(0,t.jsxs)(o.Row,{alignItems:"center",gap:"3",children:[(0,t.jsx)(d.Favicon,{domain:r}),s]}):null}function L({data:e}){let{formatValue:t}=(0,f.useFormat)(),{label:i}=e;return t(i,"language")}function R({type:e,data:i}){let{label:a}=i;return(0,t.jsx)(h.FilterLink,{type:e,value:a})}function F({websiteId:e,currency:a,type:r,title:d,totalRevenue:h,enabled:c}){let{t:m,labels:f}=(0,n.useMessages)(),{data:p,isLoading:g,isFetching:b,error:w}=(0,l.useRevenueMetricsQuery)(e,{type:r,currency:a},{enabled:c}),M=(0,s.useMemo)(()=>p?.map(({name:e,value:t,country:i})=>({label:e,country:i,count:Number(t),percent:h>0?t/h*100:0})).slice(0,10)||[],[p,h]);return(0,t.jsx)(i.LoadingPanel,{data:p,isFetching:b,isLoading:g,error:w,minHeight:"400px",children:(0,t.jsx)(o.Grid,{padding:"2",children:p&&(0,t.jsx)(u.ListTable,{title:d,metric:m(f.revenue),data:M,formatCount:e=>(0,v.formatLongCurrency)(e,a),renderLabel:e=>(0,t.jsx)(y,{type:r,data:e})})})})}var j=e.i(904214);function D({websiteId:e,type:o="referrer",currency:s}){let l=(0,j.useBoardRevenueCurrency)(s),{compare:u}=(0,a.useDateRange)(),{t:d,labels:h}=(0,n.useMessages)(),{data:c,isLoading:m,isFetching:f,error:p}=(0,r.useRevenueStatsQuery)({websiteId:e,currency:l,compare:u});return(0,t.jsx)(i.LoadingPanel,{data:c,isLoading:m,isFetching:f,error:p,children:c&&(0,t.jsx)(F,{websiteId:e,currency:l,type:o,title:function(e,t,i){switch(e){case"referrer":return i(t.referrer);case"channel":return i(t.channel);case"country":return i(t.country);case"region":return i(t.region)}}(o,h,d),totalRevenue:Number(c.sum)||0,enabled:!0})})}e.s(["BoardUTM",()=>O],428848);var N=e.i(376279),I=e.i(623778);function _({type:e="pie",height:i="300px",...a}
3){let[n,r]=(0,s.useState)(null);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(N.Chart,{...a,type:e,height:i,onTooltip:({tooltip:e})=>{let{opacity:t,labelColors:i,title:a,dataPoints:n}=e;r(t?{color:i?.[0]?.backgroundColor,value:`${a}: ${n[0].raw}`}:null)}}),n&&(0,t.jsx)(I.ChartTooltip,{...n})]})}e.s(["PieChart",0,_],910118);var B=e.i(237244);function O({websiteId:e,param:r="utm_source",limit:l=10}){let d=(0,s.useRef)(null),[h,c]=(0,s.useState)(!1),{dateRange:{startDate:m,endDate:f}}=(0,a.useDateRange)(),{t:p,labels:g}=(0,n.useMessages)(),{data:v,error:y,isLoading:w}=(0,B.useResultQuery)("utm",{websiteId:e,startDate:m,endDate:f}),M=Number(l)||10,x=(v?.[r]??[]).slice(0,M),k=x.reduce((e,{views:t})=>+e+ +t,0),S={labels:x.map(({utm:e})=>e),datasets:[{data:x.map(({views:e})=>e),backgroundColor:b.CHART_COLORS,borderWidth:0}]};return(0,s.useEffect)(()=>{let e=()=>{let e=d.current?.clientWidth??0;c(t=>{let i=e>0&&e<900;return t===i?t:i})};e();let t="u">typeof ResizeObserver?new ResizeObserver(e):null;return d.current&&t&&t.observe(d.current),window.addEventListener("resize",e),()=>{t?.disconnect(),window.removeEventListener("resize",e)}},[]),(0,t.jsx)(i.LoadingPanel,{data:x,isLoading:w,error:y,minHeight:"300px",children:(0,t.jsx)("div",{ref:d,children:(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:h?"minmax(0, 1fr)":"minmax(0, 1fr) minmax(0, 1fr)",gap:24,alignItems:"start"},children:[(0,t.jsxs)(o.Column,{style:{minWidth:0},children:[(0,t.jsx)(o.Heading,{children:(0,t.jsx)(o.Text,{transform:"capitalize",children:r.replace(/^utm_/,"")})}),(0,t.jsx)(u.ListTable,{metric:p(g.views),data:x.map(({utm:e,views:t})=>({label:e,count:t,percent:k?t/k*100:0}))})]}),(0,t.jsx)(o.Column,{style:{minWidth:0,overflow:"hidden"},children:(0,t.jsx)(_,{type:"doughnut",chartData:S,height:h?"240px":"300px"})})]})})})}e.s(["EventsMetricsBar",()=>V],509296);var W=e.i(890353),z=e.i(999579),H=e.i(265991),G=e.i(173568),U=e.i(912285);function V({websiteId:e}){let{isAllTime:r}=(0,a.useDateRange)(),{t:o,labels:s,getErrorMessage:l}=(0,n.useMessages)(),{data:u,isLoading:d,isFetching:h,error:c}=function({websiteId:e}){let{get:t,useQuery:i}=(0,z.useApi)(),{startAt:a,endAt:n}=(0,W.useDateParameters)(),r=(0,H.useFilterParameters)({includePagination:!1});return i({queryKey:["websites:events:stats",{websiteId:e,startAt:a,endAt:n,...r}],queryFn:()=>t(`/websites/${e}/events/stats`,{startAt:a,endAt:n,...r}),select:e=>e.data,enabled:!!e,...void 0})}({websiteId:e}),{events:m,visitors:f,visits:p,uniqueEvents:g,comparison:b}=u||{},y=u?[{value:f,label:o(s.visitors),change:f-b.visitors,formatValue:v.formatLongNumber},{value:p,label:o(s.visits),change:p-b.visits,formatValue:v.formatLongNumber},{value:m,label:o(s.events),change:m-b.events,formatValue:v.formatLongNumber},{value:g,label:o(s.uniqueEvents),change:g-b.uniqueEvents,formatValue:v.formatLongNumber}]:null;return(0,t.jsx)(i.LoadingPanel,{data:y,isLoading:d,isFetching:h,error:l(c),minHeight:"136px",children:(0,t.jsx)(U.MetricsBar,{children:y?.map(({label:e,value:i,change:a,formatValue:n})=>(0,t.jsx)(G.MetricCard,{value:i,label:e,change:a,formatValue:n,showChange:!r},e))})})}},447963,e=>{"use strict";e.s(["WebsiteChart",()=>l]);var t=e.i(361560),i=e.i(866988),a=e.i(669712);e.i(685521);var n=e.i(887632),r=e.i(864878),o=e.i(149143),s=e.i(899838);function l({websiteId:e,compareMode:u}){let{timezone:d}=(0,r.useTimezone)(),{dateRange:h,dateCompare:c}=(0,n.useDateRange)({timezone:d}),{startDate:m,endDate:f,unit:p,value:g}=h,{data:b,isLoading:v,isFetching:y,error:w}=(0,o.useWebsitePageviewsQuery)({websiteId:e,compare:u?c?.compare:void 0}),{pageviews:M,sessions:x,compare:k}=b||{},S=(0,i.useMemo)(()=>b?{pageviews:M,sessions:x,...k&&{compare:{pageviews:M.map(({x:e},t)=>({x:e,y:k.pageviews[t]?.y,d:k.pageviews[t]?.x})),sessions:x.map(({x:e},t)=>({x:e,y:k.sessions[t]?.y,d:k.sessions[t]?.x}))}}}:{pageviews:[],sessions:[]},[b,m,f,p]);return(0,t.jsx)(a.LoadingPanel,{data:b,isFetching:y,isLoading:v,error:w,children:(0,t.jsx)(s.PageviewsChart,{data:S,minDate:m,maxDate:f,unit:p},g)})}},393604,649799,381833,200042,e=>{"use strict";e.s(["WebsiteMetricsBar",()=>u],393604);var t=e.i(361560),i=e.i(669712);e.i(685521);var a=e.i(887632),n=e.i(223351),r=e.i(197888),o=e.i(173568),s=e.i(912285),l=e.i(175379);function u({websiteId:e,compareMode:d}){let{isAllTime:h,dateCompare:c}=(0,a.useDateRange)(),{t:m,labels:f,getErrorMessage:p}=(0,n.useMessages)(),{data:g,isLoading:b,isFetching:v,error:y}=(0,r.useWebsiteStatsQuery)({websiteId:e,compare:d?c?.compare:void 0}
3),{pageviews:w,visitors:M,visits:x,bounces:k,totaltime:S,comparison:P}=g||{},T=g?[{value:M,label:m(f.visitors),change:M-P.visitors,formatValue:l.formatLongNumber},{value:x,label:m(f.visits),change:x-P.visits,formatValue:l.formatLongNumber},{value:w,label:m(f.views),change:w-P.pageviews,formatValue:l.formatLongNumber},{label:m(f.bounceRate),value:Math.min(x,k)/x*100,prev:Math.min(P.visits,P.bounces)/P.visits*100,change:Math.min(x,k)/x*100-Math.min(P.visits,P.bounces)/P.visits*100,formatValue:e=>`${Math.round(+e)}%`,reverseColors:!0},{label:m(f.visitDuration),value:S/x,prev:P.totaltime/P.visits,change:S/x-P.totaltime/P.visits,formatValue:e=>`${0>+e?"-":""}${(0,l.formatShortTime)(Math.abs(~~e),["m","s"]," ")}`}]:null;return(0,t.jsx)(i.LoadingPanel,{data:T,isLoading:b,isFetching:v,error:p(y),minHeight:"136px",children:(0,t.jsx)(s.MetricsBar,{children:T?.map(({label:e,value:i,prev:a,change:n,formatValue:r,reverseColors:s})=>(0,t.jsx)(o.MetricCard,{value:i,previousValue:a,label:e,change:n,formatValue:r,reverseColors:s,showChange:!h},e))})})}var d=e.i(874822);let h=(0,d.default)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);e.s(["Activity",0,h],649799);let c=(0,d.default)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);e.s(["Calendar",0,c],381833);let m=(0,d.default)("chart-column-big",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["rect",{x:"15",y:"5",width:"4",height:"12",rx:"1",key:"q8uenq"}],["rect",{x:"7",y:"8",width:"4",height:"9",rx:"1",key:"sr5ea"}]]);e.s(["ChartColumnBig",0,m],200042)},477129,e=>{"use strict";e.s(["BoardRealtimeActiveUsers",()=>s]);var t=e.i(361560),i=e.i(949381),a=e.i(669712);e.i(685521);var n=e.i(313195),r=e.i(223351),o=e.i(685149);function s({websiteId:e}){let{t:l,labels:u}=(0,r.useMessages)(),{data:d,isLoading:h,error:c}=(0,n.useActiveUsersQuery)(e,{refetchInterval:o.REALTIME_INTERVAL}),m=d?.visitors??0;return(0,t.jsx)(a.LoadingPanel,{data:d,isLoading:h,error:c,minHeight:"136px",children:(0,t.jsxs)(i.Column,{alignItems:"center",justifyContent:"center",height:"100%",gap:"2",children:[(0,t.jsx)(i.Text,{size:"6xl",weight:"bold",children:m}),(0,t.jsx)(i.Text,{size:"sm",color:"muted",children:l(u.online)})]})})}},368190,899838,61148,776722,906315,e=>{"use strict";e.s(["BoardRealtimeChart",()=>y],368190);var t=e.i(361560),i=e.i(669712);e.i(685521);var a=e.i(521714);e.s(["RealtimeChart",()=>v],61148);var n=e.i(904324),r=e.i(303400),o=e.i(476704),s=e.i(866988),l=e.i(864878),u=e.i(685149);e.s(["PageviewsChart",()=>b],899838);var d=e.i(949381),h=e.i(256643),c=e.i(108761),m=e.i(223351),f=e.i(248574),p=e.i(260957),g=e.i(227465);function b({data:e,unit:i,minDate:a,maxDate:n,...r}){let{t:o,labels:l}=(0,m.useMessages)(),{theme:u}=(0,d.useTheme)(),{locale:v,dateLocale:y}=(0,c.useLocale)(),{colors:w}=(0,s.useMemo)(()=>(0,p.getThemeColors)(u),[u]),M=(0,s.useMemo)(()=>{if(e)return{__id:Date.now(),datasets:[{type:"bar",label:o(l.visitors),data:(0,g.generateTimeSeries)(e.sessions,a,n,i,y),borderWidth:1,barPercentage:.9,categoryPercentage:.9,...w.chart.visitors,order:3},{type:"bar",label:o(l.views),data:(0,g.generateTimeSeries)(e.pageviews,a,n,i,y),barPercentage:.9,categoryPercentage:.9,borderWidth:1,...w.chart.views,order:4},...e.compare?[{type:"line",label:`${o(l.views)} (${o(l.previous)})`,data:(0,g.generateTimeSeries)(e.compare.pageviews,a,n,i,y),borderWidth:2,backgroundColor:"#8601B0",borderColor:"#8601B0",order:1},{type:"line",label:`${o(l.visitors)} (${o(l.previous)})`,data:(0,g.generateTimeSeries)(e.compare.sessions,a,n,i,y),borderWidth:2,backgroundColor:"#f15bb5",borderColor:"#f15bb5",order:2}]:[]]}},[e,v]),x=(0,s.useCallback)((0,f.renderDateLabels)(i,v),[i,v]);return(0,t.jsx)(h.BarChart,{...r,chartData:M,unit:i,minDate:a,maxDate:n,renderXLabel:x,height:"400px"})}function v({data:e,unit:i,...a}){let{formatSeriesTimezone:d,fromUtc:h,timezone:c}=(0,l.useTimezone)(),m=(0,r.startOfMinute)(new Date),f=(0,o.subMinutes)(m,u.REALTIME_RANGE),p=(0,s.useRef)(m),g=(0,s.useRef)(null),y=(0,s.useMemo)(()=>e?{pageviews:d(e.series.views,"x",c),sessions:d(e.series.visitors,"x",c)}:{pageviews:[],sessions:[]},[e,f,m,i]),w=(0,s.useMemo)(()=>
3{if((0,n.isBefore)(p.current,m))return p.current=m,0;let e=JSON.stringify(y);return g.current===e?0:(g.current=e,u.DEFAULT_ANIMATION_DURATION)},[m,y]);return(0,t.jsx)(b,{...a,minDate:h(f),maxDate:h(m),unit:i,data:y,animationDuration:w})}function y({websiteId:e}){let{data:n,isLoading:r,error:o}=(0,a.useRealtimeQuery)(e);return(0,t.jsx)(i.LoadingPanel,{data:n,isLoading:r,error:o,minHeight:"320px",children:(0,t.jsx)(v,{data:n,unit:"minute"})})}e.s(["BoardRealtimeMetricsBar",()=>S],906315),e.s(["RealtimeHeader",()=>k],776722);var w=e.i(435150),M=e.i(173568),x=e.i(912285);function k({data:e}){let{t:i,labels:a}=(0,m.useMessages)(),{isPhone:n}=(0,w.useMobile)(),{totals:r}=e||{};return(0,t.jsxs)(x.MetricsBar,{columns:n?"repeat(2, minmax(0, 1fr))":"repeat(auto-fit, minmax(160px, 1fr))",children:[(0,t.jsx)(M.MetricCard,{label:i(a.views),value:r.views}),(0,t.jsx)(M.MetricCard,{label:i(a.visitors),value:r.visitors}),(0,t.jsx)(M.MetricCard,{label:i(a.events),value:r.events}),(0,t.jsx)(M.MetricCard,{label:i(a.countries),value:r.countries})]})}function S({websiteId:e}){let{data:n,isLoading:r,error:o}=(0,a.useRealtimeQuery)(e);return(0,t.jsx)(i.LoadingPanel,{data:n,isLoading:r,error:o,minHeight:"136px",children:(0,t.jsx)(k,{data:n})})}},769539,e=>{"use strict";e.s(["ShareContext",()=>l,"ShareProvider",()=>h]);var t=e.i(361560),i=e.i(949381),a=e.i(428128),n=e.i(866988);e.i(685521);var r=e.i(53956),o=e.i(685149),s=e.i(199835);let l=(0,n.createContext)(null),u=e=>e.shareToken,d=["overview","events","sessions","realtime","performance","compare","breakdown","goals","funnels","journeys","retention","utm","revenue","attribution"];function h({slug:e,children:c}){let m,f,{share:p,isLoading:g,isFetching:b}=(0,r.useShareTokenQuery)(e),v=(0,a.useRouter)(),y=(0,a.usePathname)(),w=(0,s.useApp)(u),M=(f=(m=y.split("/"))[3],f?.includes(".")?m[4]:f),x=p?.shareType===o.ENTITY_TYPE.website,k=!!p?.token&&w?.token===p.token,S=x&&p?.parameters?d.filter(e=>!0===p.parameters[e]):[],P=x&&1===S.length&&"overview"!==S[0]&&(void 0===M||""===M||"overview"===M);return((0,n.useEffect)(()=>{P&&v.replace(`/share/${e}/${S[0]}`)},[P,e,S,v]),(0,n.useEffect)(()=>()=>{(0,s.setShareData)(null,null)},[e]),b&&g||p&&!k)?(0,t.jsx)(i.Loading,{placement:"absolute"}):p&&k&&!P?(0,t.jsx)(l.Provider,{value:{...p,slug:e},children:c}):null}},473578,e=>{"use strict";var t=e.i(361560),i=e.i(949381);e.s(["ControlledDialog",0,function({children:e}){return(0,t.jsxs)(i.DialogTrigger,{children:[(0,t.jsx)("button",{type:"button",hidden:!0}),e]})}])},785413,e=>{"use strict";e.s(["Empty",()=>n]);var t=e.i(361560),i=e.i(949381);e.i(685521);var a=e.i(223351);function n({message:e}){let{t:r,messages:o}=(0,a.useMessages)();return(0,t.jsx)(i.Row,{color:"muted",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",minHeight:"70px",flexGrow:1,children:e||r(o.noDataAvailable)})}},347368,e=>{"use strict";e.s(["Favicon",()=>n]);var t=e.i(361560);e.i(685521);var i=e.i(479537),a=e.i(685149);function n({domain:e,...r}){let o,s=(0,i.useConfig)();if(s?.privateMode)return null;let l=s?.faviconUrl||a.FAVICON_URL,u=e&&(o=e.match(/^(?:https?:\/\/)?(?:[^@\n]+@)?([^:/\n?=]+)/im))&&o.length>1?o[1]:null,d=a.GROUPED_DOMAINS[u]?.domain||u,h=u?l.replace(/\{\{\s*domain\s*}}/,d):null;return u?(0,t.jsx)("img",{src:h,width:16,height:16,alt:"",...r}):null}},679355,989899,879982,e=>{"use strict";e.s(["FilterLink",()=>l],679355);var t=e.i(361560),i=e.i(949381),a=e.i(866988),n=e.i(488454);e.i(685521);var r=e.i(223351),o=e.i(666369);let s=(0,e.i(874822).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);function l({type:e,value:u,label:d,externalUrl:h,icon:c}){let[m,f]=(0,a.useState)(!1),{t:p,labels:g}=(0,r.useMessages)(),{updateParams:b,query:v}=(0,o.useNavigation)(),y=void 0!==v[e],w=v[e]===u;return(0,t.jsxs)(i.Row,{alignItems:"center",gap:!0,color:y&&!w?"muted":void 0,onMouseOver:()=>f(!0),onMouseOut:()=>f(!1),children:[c,!u&&(0,t.jsxs)(i.Text,{weight:y&&w?"bold":void 0,children:["(",d||p(g.unknown),")"]}),u&&(0,t.jsx)(i.Text,{title:d||u,truncate:!0,weight:y&&w?"bold":void 0,children:(0,t.jsx)(n.default,{href:b({[e]:`eq.${u}`}),replace:!0,children:d||u})}),h&&m&&(0,t.jsx)("a",{href:h,target:"_blank",rel:"noreferrer noopener",children:(0,t.jsx)(i.Icon,{color:"muted",children:(0,t.jsx)(s,{})})})]})}e.s(["ExternalLink",0,s],989899),e.s(["TypeIcon",0,function({type:e,value:a,children:n}){let r="browser"===e&&"browser"===a?"unknown":a;return(0,t.jsxs)(i.Row,{gap:"3",alignItems:"center",children:[(0,t.jsx)("img",{src:`/images/${e}/${r?.replaceAll(" ","-").toLowerCase()||"unknown"}.png`,onError:t=>{t.currentTarget.src=`/images/${e}/unknown.png`},alt:a,width:"country"===e?void 0:16,height:"country"===e?void 0:16}),n]})}],879982)},18770,e=>{"use strict";var t=e.i(361560),i=e.i(949381);e.s(["IconLabel",0,function({icon:e,label:a,weight:n,iconProps:r,labelProps:o,children:s,...l}){return(0,t.jsxs)(i.Row,{alignItems:"center",gap:"2",...l,children:[(0,t.jsx)(i.Icon,{...r,children:e}),a&&(0,t.jsx)(i.Text,{weight:n,...o,children:a}),s]})}])},416501,e=>{"use strict";e.s(["LinkButton",()=>r]);var t=e.i(361560),i=e.i(949381),a=e.i(488454);e.i(685521);var n=e.i(108761);function r({href:e,variant:o,scroll:s=!0,target:l,prefetch:u,children:d,asAnchor:h,...c}){let{dir:m}=(0,n.useLocale)(),f=h?(0,t.jsx)("a",{href:e,target:l,children:d}):(0,t.jsx)(a.default,{href:e,dir:m,scroll:s,target:l,prefetch:u,children:d});return(0,t.jsx)(i.Button,{...c,variant:o,nativeButton:!1,render:f})}},669712,289294,e=>{"use strict";e.s(["LoadingPanel",()=>s],669712);var t=e.i(361560),i=e.i(949381),a=e.i(785413);e.s(["ErrorMessage",()=>o],289294),e.i(685521);var n=e.i(223351);let r=(0,e.i(874822).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);function o(){let{t:e,messages:a}=(0,n.useMessages)();return(0,t.jsxs)(i.Row,{alignItems:"center",justifyContent:"center",gap:!0,children:[(0,t.jsx)(i.Icon,{children:(0,t.jsx)(r,{})}),(0,t.jsx)(i.Text,{children:e(a.error)})]})}function s({data:e,error:n,isEmpty:r,isLoading:l,isFetching:u,loadingIcon:d="dots",loadingPlacement:h="absolute",renderEmpty:c=()=>(0,t.jsx)(a.Empty,{}),children:m,...f}){var p;let g=r??(!!(p=e)&&(Array.isArray(p)?p.length<=0:"object"==typeof p?Object.keys(p).length<=0:!!p));return l||u?(0,t.jsx)(i.Column,{position:"relative",height:"100%",width:"100%",...f,children:(0,t.jsx)(i.Loading,{icon:d,placement:h})}):n?(0,t.jsx)(o,{}):n||l||u||!g?l||u||n||g?null:m:c()}},880387,e=>{"use strict";e.s(["useBoard",()=>a]);var t=e.i(866988),i=e.i(77153);function a(){return(0,t.useContext)(i.BoardContext)}},916743,358197,769025,794903,145483,805303,e=>{"use strict";var t=e.i(866988),i=e.i(361560),a=e.i(949381),n=e.i(999579),r=e.i(939850);function o(e){let{get:t,useQuery:i}=(0,n.useApi)(),{modified:a}=(0,r.useModified)(`link:${e}`);return i({queryKey:["link",{linkId:e,modified:a}],queryFn:()=>t(`/links/${e}`),enabled:!!e})}e.s(["useLinkQuery",0,o],358197);let s=(0,t.createContext)(null);function l(e){let{get:t,useQuery:i}=(0,n.useApi)(),{modified:a}=(0,r.useModified)(`pixel:${e}`);return i({queryKey:["pixel",{pixelId:e,modified:a}],queryFn:()=>t(`/pixels/${e}`),enabled:!!e})}e.s(["LinkContext",0,s,"LinkProvider",0,function({linkId:e,children:t}){let{data:n,isLoading:r,isFetching:l}=o(e);return l&&r?(0,i.jsx)(a.Loading,{placement:"absolute"}):n?(0,i.jsx)(s.Provider,{value:n,children:t}):null}],769025),e.s(["useLink",0,function(){return(0,t.useContext)(s)}],916743),e.s(["usePixelQuery",0,l],794903);let u=(0,t.createContext)(null);e.s(["PixelContext",0,u,"PixelProvider",0,function({pixelId:e,children:t}){let{data:n,isLoading:r,isFetching:o}=l(e);return o&&r?(0,i.jsx)(a.Loading,{placement:"absolute"}):n?(0,i.jsx)(u.Provider,{value:n,children:t}):null}],145483),e.s(["usePixel",0,function(){return(0,t.useContext)(u)}],805303)},810373,e=>{"use strict";e.s(["useShare",()=>a]);var t=e.i(866988),i=e.i(769539);function a(){return(0,t.useContext)(i.ShareContext)}},984153,57410,821967,912616,603603,630569,e=>{"use strict";var t=e.i(866988),i=e.i(361560),a=e.i(949381),n=e.i(700519),r=e.i(999579),o=e.i(939850);function s(e,t){let{get:i,useQuery:a}=(0,r.useApi)(),{modified:s}=(0,o.useModified)(`teams:${e}`);
3return a({queryKey:["teams",{teamId:e,modified:s}],queryFn:()=>i(`/teams/${e}`),enabled:!!e,placeholderData:n.keepPreviousData,...t})}e.s(["useTeamQuery",0,s],57410);let l=(0,t.createContext)(null);function u(e,t){let{get:i,useQuery:a}=(0,r.useApi)(),{modified:s}=(0,o.useModified)(`user:${e}`);return a({queryKey:["users",{userId:e,modified:s}],queryFn:()=>i(`/users/${e}`),enabled:!!e,placeholderData:n.keepPreviousData,...t})}e.s(["TeamContext",0,l,"TeamProvider",0,function({teamId:e,children:t}){let{data:n,isLoading:r,isFetching:o}=s(e);return o&&r?(0,i.jsx)(a.Loading,{placement:"absolute"}):n?(0,i.jsx)(l.Provider,{value:n,children:t}):null}],821967),e.s(["useTeam",0,function(){return(0,t.useContext)(l)}],984153),e.s(["useUserQuery",0,u],912616);let d=(0,t.createContext)(null);e.s(["UserContext",0,d,"UserProvider",0,function({userId:e,children:t}){let{data:n,isFetching:r,isLoading:o}=u(e);return r&&o?(0,i.jsx)(a.Loading,{placement:"absolute"}):n?(0,i.jsx)(d.Provider,{value:n,children:t}):null}],603603),e.s(["useUser",0,function(){return(0,t.useContext)(d)}],630569)},702842,e=>{"use strict";var t=e.i(866988),i=e.i(855463);e.s(["useWebsite",0,function(){return(0,t.useContext)(i.WebsiteContext)}])},685521,34867,209747,524754,839375,877044,192033,e=>{"use strict";e.s([],685521),e.i(880387),e.i(916743),e.i(805303),e.i(810373),e.i(984153),e.i(630569),e.i(702842),e.i(313195),e.i(641371),e.i(52096),e.i(911338),e.i(382761),e.i(618123),e.i(575281),e.i(230648),e.i(460547),e.i(869611),e.i(358197),e.i(378564),e.i(833227),e.i(527074),e.i(123031),e.i(436251),e.i(481747),e.i(794903),e.i(847015),e.i(747264),e.i(422260),e.i(462179),e.i(240918),e.i(271716),e.i(367458),e.i(509193),e.i(854913),e.i(521714),e.i(869310),e.i(810766),e.i(417354),e.i(648566),e.i(913065),e.i(237244),e.i(185194),e.i(273143),e.i(847653),e.i(140722),e.i(669203),e.i(970819),e.i(976925),e.i(269541),e.i(557504),e.i(713036),e.i(704604),e.i(215349),e.i(53956),e.i(537832),e.i(57410),e.i(889495),e.i(84048),e.i(300471),e.i(912616),e.i(296271),e.i(372362),e.i(449707),e.i(342497),e.i(195497),e.i(630991),e.i(921884),e.i(637998),e.i(918349),e.i(149143),e.i(238893),e.i(370837),e.i(739338),e.i(708),e.i(294695),e.i(273889),e.i(305020),e.i(670863),e.i(197888),e.i(272145),e.i(711601),e.i(892089),e.i(999579),e.i(479537),e.i(12723),e.i(890353),e.i(887632),e.i(124804),e.i(982521),e.i(265991),e.i(588369),e.i(966809),e.i(860411),e.i(637986),e.i(821630),e.i(108761),e.i(939850);var t=e.i(666369);e.i(332948),e.i(654914),e.i(819047),e.i(425992),e.i(337026),e.i(809699),e.i(864878);var i=e.i(361560),a=e.i(215936),n=e.i(406991),r=e.i(194319),o=e.i(562949),s=e.i(576429),l=e.i(323874),u=e.i(641951),d=e.i(813692),h=e.i(326543),c=e.i(477717);e.i(284237);var m=e.i(511711),f=e.i(854075),p=e.i(476662),g=e.i(540946);e.s(["Magnet",()=>g.default],34867);var g=g,b=e.i(630197);e.s(["Money",()=>b.default],209747);var b=b,v=e.i(697933);e.s(["Network",()=>v.default],524754);var v=v,y=e.i(111602);e.s(["Path",()=>y.default],839375);var y=y,w=e.i(656894);e.s(["Target",()=>w.default],877044);var w=w,M=e.i(223351);e.s(["useWebsiteNavItems",0,function(e){let{t:x,labels:k}=(0,M.useMessages)(),{pathname:S,renderUrl:P}=(0,t.useNavigation)(),T={search:void 0,page:void 0},A=t=>P(`/websites/${e}${t}`,{...T,event:void 0,compare:void 0,view:void 0,unit:void 0,excludeBounce:void 0}),C=[{label:x(k.traffic),items:[{id:"overview",label:x(k.overview),icon:(0,i.jsx)(o.Eye,{}),path:A("")},{id:"events",label:x(k.events),icon:(0,i.jsx)(p.Lightning,{}),path:A("/events")},{id:"sessions",label:x(k.sessions),icon:(0,i.jsx)(d.User,{}),path:A("/sessions")},{id:"realtime",label:x(k.realtime),icon:(0,i.jsx)(r.Clock,{}),path:A("/realtime")},{id:"performance",label:x(k.performance),icon:(0,i.jsx)(f.Gauge,{}),path:A("/performance")},{id:"compare",label:x(k.compare),icon:(0,i.jsx)(a.AlignEndHorizontal,{}),path:A("/compare")},{id:"breakdown",label:x(k.breakdown),icon:(0,i.jsx)(l.Sheet,{}),path:A("/breakdown")}]},{label:x(k.behavior),items:[{id:"goals",label:x(k.goals),icon:(0,i.jsx)(w.default,{}),path:A("/goals")},{id:"funnel",label:x(k.funnels),icon:(0,i.jsx)(m.Funnel,{}),path:A("/funnels")},{id:"journeys",label:x(k.journeys),icon:(0,i.jsx)(y.default,{}),path:A("/journeys")},{id:"retention",label:x(k.retention),icon:(0,i.jsx)(g.default,{}),path:A("/retention")},{id:"replays",label:x(k.replays),icon:(0,i.jsx)(c.Video,{}),path:A("/replays")},{id:"heatmaps",label:x(k.heatmaps),icon:(0,i.jsx)(s.Flame,{}),path:A("/heatmaps")}]}
3,{label:x(k.audience),items:[{id:"segments",label:x(k.segments),icon:(0,i.jsx)(n.ChartPie,{}),path:A("/segments")},{id:"cohorts",label:x(k.cohorts),icon:(0,i.jsx)(h.UserPlus,{}),path:A("/cohorts")}]},{label:x(k.growth),items:[{id:"utm",label:x(k.utm),icon:(0,i.jsx)(u.Tag,{}),path:A("/utm")},{id:"revenue",label:x(k.revenue),icon:(0,i.jsx)(b.default,{}),path:A("/revenue")},{id:"attribution",label:x(k.attribution),icon:(0,i.jsx)(v.default,{}),path:A("/attribution")}]}],E=C.flatMap(e=>e.items).find(({path:e})=>e&&S.endsWith(e.split("?")[0]))?.id;return{items:C,selectedKey:E,renderPath:A}}],192033)},313195,e=>{"use strict";var t=e.i(999579);e.s(["useActiveUsersQuery",0,function(e,i){let{get:a,useQuery:n}=(0,t.useApi)();return n({queryKey:["websites:active",e],queryFn:()=>a(`/websites/${e}/active`),enabled:!!e,...i})}])},641371,e=>{"use strict";var t=e.i(700519),i=e.i(999579),a=e.i(939850);e.s(["useBoardQuery",0,function(e,n){let{get:r,useQuery:o}=(0,i.useApi)(),{modified:s}=(0,a.useModified)(`board:${e}`);return o({queryKey:["boards",{boardId:e,modified:s}],queryFn:()=>r(`/boards/${e}`),enabled:!!e&&"create"!==e,placeholderData:t.keepPreviousData,...n})}])},52096,332948,911338,382761,618123,e=>{"use strict";var t=e.i(999579),i=e.i(939850),a=e.i(666369);function n({queryKey:e,queryFn:i,...r}){let{query:{page:o,search:s,orderBy:l,sortDescending:u}}=(0,a.useNavigation)(),{useQuery:d}=(0,t.useApi)();return d({queryKey:[...e,o,s,l,u],queryFn:()=>i({page:o,search:s,orderBy:l,sortDescending:u}),...r})}e.s(["usePagedQuery",0,n],332948),e.s(["useBoardSharesQuery",0,function({boardId:e},a){let{modified:r}=(0,i.useModified)("shares"),{get:o}=(0,t.useApi)();return n({queryKey:["boardShares",{boardId:e,modified:r}],queryFn:t=>o(`/boards/${e}/shares`,t),...a})}],52096),e.s(["useBoardsQuery",0,function({teamId:e},a,r){let{modified:o}=(0,i.useModified)("boards"),{get:s}=(0,t.useApi)();return n({queryKey:["boards",{teamId:e,modified:o,...a}],queryFn:t=>s(e?`/teams/${e}/boards`:"/boards",{...t,...a}),...r})}],911338);var r=e.i(700519);e.s(["useDashboardQuery",0,function(e){let{get:a,useQuery:n}=(0,t.useApi)(),{modified:o}=(0,i.useModified)("dashboard");return n({queryKey:["dashboard",{modified:o}],queryFn:()=>a("/dashboard"),placeholderData:r.keepPreviousData,...e})}],382761),e.s(["useDateRangeQuery",0,function(e,i){let{get:a,useQuery:n}=(0,t.useApi)(),{data:r}=n({queryKey:["date-range",e],queryFn:()=>a(`/websites/${e}/daterange`),enabled:!!e,...i});return{startDate:r?.startDate?new Date(r.startDate):null,endDate:r?.endDate?new Date(r.endDate):null}}],618123)},575281,e=>{"use strict";var t=e.i(999579),i=e.i(939850);e.s(["useDeleteQuery",0,function(e,a){let{del:n,useMutation:r}=(0,t.useApi)(),o=r({mutationFn:()=>n(e,a)}),{touch:s}=(0,i.useModified)();return{...o,touch:s}}])},230648,460547,869611,378564,833227,527074,123031,436251,481747,847015,747264,422260,462179,240918,271716,367458,509193,854913,e=>{"use strict";e.s(["useEventDataPivotQuery",()=>o],230648);var t=e.i(685149),i=e.i(774413),a=e.i(999579),n=e.i(890353),r=e.i(265991);function o(e,s,l=[],u){let{get:d,useQuery:h}=(0,a.useApi)(),{startAt:c,endAt:m,unit:f,timezone:p}=(0,n.useDateParameters)(),g=(0,r.useFilterParameters)();return h({queryKey:["websites:event-data-pivot",{websiteId:e,eventName:s,eventFilters:l,startAt:c,endAt:m,unit:f,timezone:p,...g}],queryFn:()=>d(`/websites/${e}/event-data-pivot`,{eventName:s,startAt:c,endAt:m,unit:f,timezone:p,...(0,i.serializeEventPropertyFilters)(l),...g,maxResults:t.MAX_PAGING_RESULTS}),enabled:!!(e&&s),...u})}function s(e,t){let{get:i,useQuery:o}=(0,a.useApi)(),{startAt:s,endAt:l,unit:u,timezone:d}=(0,n.useDateParameters)(),h=(0,r.useFilterParameters)({includePagination:!1});return o({queryKey:["websites:event-data:properties",{websiteId:e,startAt:s,endAt:l,unit:u,timezone:d,...h}],queryFn:()=>i(`/websites/${e}/event-data/properties`,{startAt:s,endAt:l,unit:u,timezone:d,...h}),enabled:!!e,...t})}function l(e,t,i){let{get:o,useQuery:s}=(0,a.useApi)(),{startAt:l,endAt:u,unit:d,timezone:h}=(0,n.useDateParameters)(),c=(0,r.useFilterParameters)();return s({queryKey:["websites:event-data",{websiteId:e,eventId:t,startAt:l,endAt:u,unit:d,timezone:h,...c}],queryFn:()=>o(`/websites/${e}/event-data/${t}`,{startAt:l,endAt:u,unit:d,timezone:h,...c}),enabled:!!(e&&t),...i})}e.s(["useEventDataPropertiesQuery",()=>s],460547),e.s(["useEventDataQuery",()=>l],869611);var u=e.i(939850),d=e.i(332948);e.s(["useLinkSharesQuery",0,function({linkId:e},t){let{modified:i}=(0,u.useModified)("shares"),{get:n}=(0,a.useApi)();return(0,d.usePagedQuery)({queryKey:["linkShares",{linkId:e,modified:i}],queryFn:t=>n(`/links/${e}/shares`,t),...t})}],378564),e.s(["useLinksQuery",0,function({teamId:e}
3,t,i){let{modified:n}=(0,u.useModified)("links"),{get:r}=(0,a.useApi)();return(0,d.usePagedQuery)({queryKey:["links",{teamId:e,modified:n,...t}],queryFn:i=>r(e?`/teams/${e}/links`:"/links",{...i,...t}),...i})}],833227);var h=e.i(199835);let c=e=>e.user;e.s(["useLoginQuery",0,function(){let{post:e,useQuery:t}=(0,a.useApi)(),i=(0,h.useApp)(c),n=t({queryKey:["login"],queryFn:async()=>{let t=await e("/auth/verify");return(0,h.setUser)(t),t},enabled:!i});return{user:i,setUser:h.setUser,...n}}],527074),e.s(["useTwoFactorStatusQuery",0,function(e){let{get:t,useQuery:i}=(0,a.useApi)();return i({queryKey:["2fa-status"],queryFn:()=>t("/2fa/status"),enabled:e,refetchOnWindowFocus:!0,refetchOnReconnect:!0})}],123031),e.s(["useTwoFactorUserStatusQuery",0,function(e){let{get:t,useQuery:i}=(0,a.useApi)();return i({queryKey:["user-2fa-status",e],queryFn:()=>t(`/admin/users/${e}/2fa`),refetchOnWindowFocus:!0,refetchOnReconnect:!0})}],436251);var m=e.i(216180);function f(e,t,o,s=[],l,u){let{get:d,useQuery:h}=(0,a.useApi)(),{startAt:c,endAt:m,unit:p,timezone:g}=(0,n.useDateParameters)(),b=(0,r.useFilterParameters)({includePagination:!1});return h({queryKey:[`websites:${e}-data:array-series`,{websiteId:t,propertyName:o,eventName:l,propertyFilters:s,startAt:c,endAt:m,unit:p,timezone:g,...b}],queryFn:()=>d("event"===e?`/websites/${t}/event-data-pivot/array-series`:`/websites/${t}/session-data/array-series`,{..."event"===e?{eventName:l}:{},propertyName:o,startAt:c,endAt:m,unit:p,timezone:g,...(0,i.serializePropertyFilters)(s),...b}),enabled:!!(t&&o&&("session"===e||l)),...u})}function p(e,t,o,s=[],l,u){let{get:d,useQuery:h}=(0,a.useApi)(),{startAt:c,endAt:m,timezone:f}=(0,n.useDateParameters)(),g=(0,r.useFilterParameters)({includePagination:!1});return h({queryKey:[`websites:${e}-data:date-series`,{websiteId:t,propertyName:o,eventName:l,propertyFilters:s,startAt:c,endAt:m,timezone:f,...g}],queryFn:()=>d("event"===e?`/websites/${t}/event-data-pivot/date-series`:`/websites/${t}/session-data/date-series`,{..."event"===e?{eventName:l}:{},propertyName:o,startAt:c,endAt:m,timezone:f,...(0,i.serializePropertyFilters)(s),...g}),enabled:!!(t&&o&&("session"===e||l)),...u})}function g(e,t,i,o){let{get:s,useQuery:l}=(0,a.useApi)(),{startAt:u,endAt:d,unit:h,timezone:c}=(0,n.useDateParameters)(),m=(0,r.useFilterParameters)({includePagination:!1});return l({queryKey:[`websites:${e}-data:fields`,{websiteId:t,eventName:i,startAt:u,endAt:d,unit:h,timezone:c,...m}],queryFn:()=>s("event"===e?`/websites/${t}/event-data/fields`:`/websites/${t}/session-data/properties`,{...m,..."event"===e&&i?{eventName:i}:{},startAt:u,endAt:d,unit:h,timezone:c}),enabled:!!t,...o})}function b(e,t,o,s,l=[],u,d){let{get:h,useQuery:c}=(0,a.useApi)(),{startAt:m,endAt:f,unit:p,timezone:g}=(0,n.useDateParameters)(),v=(0,r.useFilterParameters)({includePagination:!1});return c({queryKey:[`websites:${e}-data:numeric-series`,{websiteId:t,propertyName:o,metric:s,eventName:u,propertyFilters:l,startAt:m,endAt:f,unit:p,timezone:g,...v}],queryFn:()=>h("event"===e?`/websites/${t}/event-data-pivot/numeric-series`:`/websites/${t}/session-data/numeric-series`,{..."event"===e?{eventName:u}:{},propertyName:o,metric:s,startAt:m,endAt:f,unit:p,timezone:g,...(0,i.serializePropertyFilters)(l),...v}),enabled:!!(t&&o&&("session"===e||u)),...d})}function v(e,t,o,s=[],l,u){let{get:d,useQuery:h}=(0,a.useApi)(),{startAt:c,endAt:m,timezone:f}=(0,n.useDateParameters)(),p=(0,r.useFilterParameters)({includePagination:!1});return h({queryKey:[`websites:${e}-data:numeric-stats`,{websiteId:t,propertyName:o,eventName:l,propertyFilters:s,startAt:c,endAt:m,timezone:f,...p}],queryFn:()=>d("event"===e?`/websites/${t}/event-data-pivot/numeric-stats`:`/websites/${t}/session-data/numeric-stats`,{..."event"===e?{eventName:l}:{},propertyName:o,startAt:c,endAt:m,timezone:f,...(0,i.serializePropertyFilters)(s),...p}),enabled:!!(t&&o&&("session"===e||l)),...u})}function y(e,t,o,s=[],l,u){let{get:d,useQuery:h}=(0,a.useApi)(),{startAt:c,endAt:m,unit:f,timezone:p}=(0,n.useDateParameters)(),g=(0,r.useFilterParameters)({includePagination:!1});return h({queryKey:[`websites:${e}-data:property-series`,{websiteId:t,propertyName:o,eventName:l,propertyFilters:s,startAt:c,endAt:m,unit:f,timezone:p,...g}],queryFn:()=>d("event"===e?`/websites/${t}/event-data-pivot/property-series`:`/websites/${t}/session-data/property-series`,{..."event"===e?{eventName:l}:{},propertyName:o,startAt:c,endAt:m,unit:f,timezone:p,...(0,i.serializePropertyFilters)(s),...g}),enabled:!!(t&&o&&("session"===e||l)),...u})}function w(e,t,o,s,l=[],u,d){let{get:h,useQuery:c}=(0,a.useApi)(),{startAt:m,endAt:f,unit:p,timezone:g}=(0,n.useDateParameters)(),b=(0,r.useFilterParameters)({includePagination:!1});return c({queryKey:[`websites:${e}-data:values`,{websiteId:t,propertyName:o,dataType:s,eventName:u,propertyFilters:l,startAt:m,endAt:f,unit:p,timezone:g,...b}],queryFn:()=>h("event"===e?`/websites/${t}/event-data/values`:`/websites/${t}/session-data/values`,{...b,..."event"===e&&u?{eventName:u}:{},startAt:m,endAt:f,unit:p,timezone:g,propertyName:o,dataType:s,...(0,i.serializePropertyFilters)(l)}),enabled:!!(t&&o),...d})}e.s(["useTwoFactorVerifyMutation",0,function(){let{useMutation:e}=(0,a.useApi)();return e({mutationFn:async({partialToken:e,token:t,backupCode:i})=>{let a=await (0,m.httpPost)("/api/2fa/verify",i?{backupCode:i}:{token:t},{Authorization:`Bearer ${e}`});if(!a.ok){let{message:e,code:t,lockedUntil:i}=a?.data?.error||{};throw Object.assign(Error(e),{code:t,status:a.status,lockedUntil:i})}return a.data}})}
3],481747),e.s(["usePixelSharesQuery",0,function({pixelId:e},t){let{modified:i}=(0,u.useModified)("shares"),{get:n}=(0,a.useApi)();return(0,d.usePagedQuery)({queryKey:["pixelShares",{pixelId:e,modified:i}],queryFn:t=>n(`/pixels/${e}/shares`,t),...t})}],847015),e.s(["usePixelsQuery",0,function({teamId:e},t,i){let{modified:n}=(0,u.useModified)("pixels"),{get:r}=(0,a.useApi)();return(0,d.usePagedQuery)({queryKey:["pixels",{teamId:e,modified:n,...t}],queryFn:i=>r(e?`/teams/${e}/pixels`:"/pixels",{...i,...t}),...i})}],747264),e.s(["usePropertyArraySeriesQuery",()=>f],422260),e.s(["usePropertyDateSeriesQuery",()=>p],462179),e.s(["usePropertyFieldsQuery",()=>g],240918),e.s(["usePropertyNumericSeriesQuery",()=>b],271716),e.s(["usePropertyNumericStatsQuery",()=>v],367458),e.s(["usePropertySeriesQuery",()=>y],509193),e.s(["usePropertyValuesQuery",()=>w],854913)},521714,e=>{"use strict";var t=e.i(685149),i=e.i(999579);e.s(["useRealtimeQuery",0,function(e){let{get:a,useQuery:n}=(0,i.useApi)(),{data:r,isLoading:o,error:s}=n({queryKey:["realtime",{websiteId:e}],queryFn:async()=>a(`/realtime/${e}`),enabled:!!e,refetchInterval:t.REALTIME_INTERVAL});return{data:r,isLoading:o,error:s}}])},869310,810766,417354,e=>{"use strict";var t=e.i(999579);e.s(["useReplayQuery",0,function(e,i,a={}){let{get:n,useQuery:r}=(0,t.useApi)(),{until:o,chunkIndex:s,eventIndex:l}=a;return r({queryKey:["replay",{websiteId:e,replayId:i,until:o,chunkIndex:s,eventIndex:l}],queryFn:()=>n(`/websites/${e}/replays/${i}`,{until:o,chunkIndex:s,eventIndex:l}),enabled:!!(e&&i)})}],869310);var i=e.i(939850);e.s(["useReplaySavedQuery",0,function(e,a){let{get:n,useQuery:r}=(0,t.useApi)(),{modified:o}=(0,i.useModified)("replays");return r({queryKey:["replay:saved",{websiteId:e,replayId:a,modified:o}],queryFn:()=>n(`/websites/${e}/replays/saved/${a}`),enabled:!!(e&&a)})}],810766),e.s(["useReplaysQuery",()=>s],417354);var a=e.i(685149),n=e.i(890353),r=e.i(265991),o=e.i(332948);function s(e,s){let{get:l}=(0,t.useApi)(),{modified:u}=(0,i.useModified)("replays"),{startAt:d,endAt:h,unit:c,timezone:m}=(0,n.useDateParameters)(),f=(0,r.useFilterParameters)();return(0,o.usePagedQuery)({queryKey:["replays",{websiteId:e,modified:u,startAt:d,endAt:h,unit:c,timezone:m,...f,...s}],queryFn:t=>l(`/websites/${e}/replays`,{startAt:d,endAt:h,unit:c,timezone:m,...f,...t,...s,maxResults:a.MAX_PAGING_RESULTS})})}},648566,e=>{"use strict";var t=e.i(999579),i=e.i(939850);e.s(["useReportQuery",0,function(e){let{get:a,useQuery:n}=(0,t.useApi)(),{modified:r}=(0,i.useModified)(`report:${e}`);return n({queryKey:["report",{reportId:e,modified:r}],queryFn:()=>a(`/reports/${e}`),enabled:!!e})}])},913065,e=>{"use strict";var t=e.i(999579),i=e.i(939850),a=e.i(332948);e.s(["useReportsQuery",0,function({websiteId:e,type:n},r){let{modified:o}=(0,i.useModified)(`reports:${n}`),{get:s}=(0,t.useApi)();return(0,a.usePagedQuery)({queryKey:["reports",{websiteId:e,type:n,modified:o}],queryFn:async()=>s("/reports",{websiteId:e,type:n}),enabled:!!e&&!!n,...r})}])},237244,e=>{"use strict";e.s(["useResultQuery",()=>n]);var t=e.i(890353),i=e.i(999579),a=e.i(265991);function n(e,n,r){let{websiteId:o,...s}=n,{post:l,useQuery:u}=(0,i.useApi)(),{startDate:d,endDate:h,timezone:c,unit:m}=(0,t.useDateParameters)(),f=(0,a.useFilterParameters)({includePagination:!1});return u({queryKey:["reports",{type:e,websiteId:o,startDate:d,endDate:h,timezone:c,unit:m,...n,...f}],queryFn:()=>l(`/reports/${e}`,{websiteId:o,type:e,filters:f,parameters:{startDate:d,endDate:h,timezone:c,unit:m,...s}}),enabled:!!e,...r})}},185194,e=>{"use strict";e.s(["useRevenueChartQuery",()=>r]);var t=e.i(700519),i=e.i(999579),a=e.i(890353),n=e.i(265991);function r(e,r,o){let{get:s,useQuery:l}=(0,i.useApi)(),{startAt:u,endAt:d,timezone:h,unit:c}=(0,a.useDateParameters)(),m=(0,n.useFilterParameters)({includePagination:!1});return l({queryKey:["websites:revenue:chart",{websiteId:e,currency:r,startAt:u,endAt:d,timezone:h,unit:c,...m}],queryFn:async()=>s(`/websites/${e}/revenue/chart`,{currency:r,startAt:u,endAt:d,timezone:h,unit:c,...m}),enabled:!!(e&&r),placeholderData:t.keepPreviousData,...o})}},273143,e=>{"use strict";e.s(["useRevenueMetricsQuery",()=>r]);var t=e.i(700519),i=e.i(999579),a=e.i(890353),n=e.i(265991);function r(e,r,o){let{get:s,useQuery:l}=(0,i.useApi)(),{startAt:u,endAt:d}=(0,a.useDateParameters)(),h=(0,n.useFilterParameters)({includePagination:!1});return l({queryKey:["websites:revenue:metrics",{websiteId:e,startAt:u,endAt:d,...h,...r}],queryFn:async()=>s(`/websites/${e}/revenue/metrics`,{startAt:u,endAt:d,...h,...r}),enabled:!!(e&&r.currency&&r.type),placeholderData:t.keepPreviousData,...o})}},847653,e=>{"use strict";e.s(["useRevenueSessionsQuery",()=>s]);var t=e.i(685149),i=e.i(999579),a=e.i(890353),n=e.i(265991),r=e.i(939850),o=e.i(332948);function s(e,s,l){let{get:u}=(0,i.useApi)(),{modified:d}=(0,r.useModified)("revenue-sessions"),{startAt:h,endAt:c,unit:m,timezone:f}=(0,a.useDateParameters)(),p=(0,n.useFilterParameters)();return(0,o.usePagedQuery)({queryKey:["revenue-sessions",{websiteId:e,currency:s,modified:d,startAt:h,endAt:c,unit:m,timezone:f,...l,...p}],queryFn:i=>u(`/websites/${e}/revenue/sessions`,{currency:s,startAt:h,endAt:c,unit:m,timezone:f,...p,...i,...l,maxResults:t.MAX_PAGING_RESULTS})})}},140722,e=>{"use strict";e.s(["useRevenueStatsQuery",()=>r]);var t=e.i(700519),i=e.i(890353),a=e.i(999579),n=e.i(265991);function r({websiteId:e,currency:o,compare:s},l){let{get:u,useQuery:d}=(0,a.useApi)(),{startAt:h,endAt:c}=(0,i.useDateParameters)(),m=(0,n.useFilterParameters)({includePagination:!1});return d({queryKey:["websites:revenue:stats",{websiteId:e,currency:o,compare:s,startAt:h,endAt:c,...m}],queryFn:()=>u(`/websites/${e}/revenue/stats`,{currency:o,compare:s,startAt:h,endAt:c,...m}),enabled:!!(e&&o),placeholderData:t.keepPreviousData,...l})}},669203,970819,976925,269541,557504,713036,704604,215349,e=>{"use strict";var t=e.i(999579),i=e.i(939850),a=e.i(332948);e.s(["useSavedReplaysQuery",0,function(e){let{get:n}=(0,t.useApi)(),{modified:r}=(0,i.useModified)("replays");return(0,a.usePagedQuery)({queryKey:["replays:saved",{websiteId:e,modified:r}],queryFn:t=>n(`/websites/${e}/replays/saved`,{...t})})}],669203),e.s(["useSessionActivityQuery",0,function(e,i,a,n,r){let{get:o,useQuery:s}=(0,t.useApi)();return s({queryKey:["session:activity",{websiteId:e,sessionId:i,startDate:a,endDate:n,distinctId:r}],queryFn:()=>o(`/websites/${e}/sessions/${i}/activity`,{startAt:+new Date(a),endAt:+new Date(n),...r&&{distinctId:r}}),enabled:!!(e&&i&&a&&n)})}],970819),e.s(["useSessionDataActivityStatsQuery",()=>s],976925);var n=e.i(774413),r=e.i(890353),o=e.i(265991);function s(e,i,a=[],l){let{get:u,useQuery:d}=(0,t.useApi)(),{startAt:h,endAt:c,unit:m,timezone:f}=(0,r.useDateParameters)(),p=(0,o.useFilterParameters)({includePagination:!1});return d({queryKey:["websites:session-data:activity-stats",{websiteId:e,propertyName:i,propertyFilters:a,startAt:h,endAt:c,unit:m,timezone:f,...p}],queryFn:()=>u(`/websites/${e}/session-data/stats`,{startAt:h,endAt:c,unit:m,timezone:f,propertyName:i,...(0,n.serializePropertyFilters)(a),...p}),enabled:!!(e&&i),...l})}e.s(["useSessionDataPivotQuery",()=>u],269541);var l=e.i(685149);function u(e,i,a=[],s){let{get:d,useQuery:h}=(0,t.useApi)(),{startAt:c,endAt:m,unit:f,timezone:p}=(0,r.useDateParameters)(),g=(0,o.useFilterParameters)();return h({queryKey:["websites:session-data-pivot",{websiteId:e,propertyName:i,propertyFilters:a,startAt:c,endAt:m,unit:f,timezone:p,...g}],queryFn:()=>d(`/websites/${e}/session-data-pivot`,{startAt:c,endAt:m,unit:f,timezone:p,propertyName:i,...(0,n.serializePropertyFilters)(a),...g,maxResults:l.MAX_PAGING_RESULTS}),enabled:!!(e&&i),...s})}function d(e,i,a){let{get:s,useQuery:l}=(0,t.useApi)(),{startAt:u,endAt:d,unit:h,timezone:c}=(0,r.useDateParameters)(),m=(0,o.useFilterParameters)({includePagination:!1}),{propertyName:f,propertyFilters:p=[]}=i||{};return l({queryKey:["websites:session-data:properties",{websiteId:e,propertyName:f,propertyFilters:p,startAt:u,endAt:d,unit:h,timezone:c,...m}],queryFn:()=>s(`/websites/${e}/session-data/properties`,{startAt:u,endAt:d,unit:h,timezone:c,propertyName:f,...(0,n.serializePropertyFilters)(p),...m}),enabled:!!e,...a})}e.s(["useSessionDataPropertiesQuery",()=>d],557504),e.s(["useSessionDataQuery",0,function(e,i){let{get:a,useQuery:n}=(0,t.useApi)();return n({queryKey:["session:data",{websiteId:e,sessionId:i}],queryFn:()=>a(`/websites/${e}/sessions/${i}/properties`,{websiteId:e})})}],713036),e.s([],704604),e.s(["useSessionReplaysQuery",0,function(e,i){let{get:n}=(0,t.useApi)(),{startAt:o,endAt:s,unit:l,timezone:u}=(0,r.useDateParameters)();return(0,a.usePagedQuery)({queryKey:["session-replays",{websiteId:e,sessionId:i,startAt:o,endAt:s,unit:l,timezone:u}],queryFn:t=>n(`/websites/${e}/sessions/${i}/replays`,{startAt:o,endAt:s,unit:l,timezone:u,...t})})}],215349)},53956,e=>{"use strict";var t=e.i(866988),i=e.i(199835),a=e.i(999579);e.s(["useShareTokenQuery",0,function(e){let{get:n,useQuery:r}=(0,a.useApi)(),o=(0,i.useApp)(e=>e.share?.shareId),s=(0,i.useApp)(e=>e.shareToken?.token),l=r({queryKey:["share",e],queryFn:async()=>
3n(`/share/${e}`)});return(0,t.useEffect)(()=>{l.data?.token&&(o!==l.data.shareId||s!==l.data.token)&&(0,i.setShareData)(l.data,{token:l.data.token})},[l.data,o,s]),{share:l.data,...l}}])},537832,889495,84048,e=>{"use strict";var t=e.i(999579),i=e.i(939850),a=e.i(332948);e.s(["useTeamMembersQuery",0,function(e){let{get:n}=(0,t.useApi)(),{modified:r}=(0,i.useModified)("teams:members");return(0,a.usePagedQuery)({queryKey:["teams:members",{teamId:e,modified:r}],queryFn:t=>n(`/teams/${e}/users`,t),enabled:!!e})}],537832),e.s(["useTeamsQuery",0,function(e,n){let{get:r}=(0,t.useApi)(),{modified:o}=(0,i.useModified)("teams");return(0,a.usePagedQuery)({queryKey:["teams:admin",{modified:o,...e}],queryFn:t=>r("/admin/teams",{...t,...e}),...n})}],889495),e.s([],84048)},300471,e=>{"use strict";var t=e.i(949381),i=e.i(999579),a=e.i(939850);e.s(["useUpdateQuery",0,function(e,n){let{post:r,useMutation:o}=(0,i.useApi)(),s=o({mutationFn:t=>r(e,{...t,...n})}),{touch:l}=(0,a.useModified)(),{toast:u}=(0,t.useToast)();return{...s,touch:l,toast:u}}])},296271,372362,449707,342497,195497,630991,e=>{"use strict";var t=e.i(999579),i=e.i(939850),a=e.i(332948);e.s(["useUsersQuery",0,function(){let{get:e}=(0,t.useApi)(),{modified:n}=(0,i.useModified)("users");return(0,a.usePagedQuery)({queryKey:["users:admin",{modified:n}],queryFn:t=>e("/admin/users",{...t})})}],296271),e.s(["useUserTeamsQuery",0,function(e){let{get:n}=(0,t.useApi)(),{modified:r}=(0,i.useModified)("teams");return(0,a.usePagedQuery)({queryKey:["teams",{userId:e,modified:r}],queryFn:t=>n(`/users/${e}/teams`,t),enabled:!!e})}],372362),e.s(["useUserWebsitesQuery",0,function({userId:e,teamId:n},r,o){let{get:s}=(0,t.useApi)(),{modified:l}=(0,i.useModified)("websites");return(0,a.usePagedQuery)({queryKey:["websites",{userId:e,teamId:n,modified:l,...r}],queryFn:t=>s(n?`/teams/${n}/websites`:e?`/users/${e}/websites`:"/me/websites",{...t,...r}),...o})}],449707);var n=e.i(700519);e.s(["useWebsiteCohortQuery",0,function(e,a,r){let{get:o,useQuery:s}=(0,t.useApi)(),{modified:l}=(0,i.useModified)("cohorts");return s({queryKey:["website:cohorts",{websiteId:e,cohortId:a,modified:l}],queryFn:()=>o(`/websites/${e}/segments/${a}`),enabled:!!(e&&a),placeholderData:n.keepPreviousData,...r})}],342497),e.s(["useWebsiteCohortsQuery",()=>o],195497);var r=e.i(265991);function o(e,a,o){let{get:s,useQuery:l}=(0,t.useApi)(),{modified:u}=(0,i.useModified)("cohorts"),d=(0,r.useFilterParameters)();return l({queryKey:["website:cohorts",{websiteId:e,modified:u,...d,...a}],queryFn:t=>s(`/websites/${e}/segments`,{...t,...d,...a}),enabled:!!e,placeholderData:n.keepPreviousData,...o})}e.s(["useWebsiteEventsQuery",()=>d],630991);var s=e.i(685149),l=e.i(890353);let u={views:1,events:2};function d(e,i,n){let{get:o}=(0,t.useApi)(),{startAt:d,endAt:h,unit:c,timezone:m}=(0,l.useDateParameters)(),f=(0,r.useFilterParameters)();return(0,a.usePagedQuery)({queryKey:["websites:events",{websiteId:e,startAt:d,endAt:h,unit:c,timezone:m,...f,...i}],queryFn:t=>o(`/websites/${e}/events`,{startAt:d,endAt:h,unit:c,timezone:m,...f,...t,eventType:u[i.view],maxResults:s.MAX_PAGING_RESULTS}),enabled:!!e,...n})}},921884,e=>{"use strict";e.s(["useWebsiteEventsSeriesQuery",()=>n]);var t=e.i(999579),i=e.i(890353),a=e.i(265991);function n(e,n,r){let{get:o,useQuery:s}=(0,t.useApi)(),{startAt:l,endAt:u,unit:d,timezone:h}=(0,i.useDateParameters)(),c=(0,a.useFilterParameters)();return s({queryKey:["websites:events:series",{websiteId:e,startAt:l,endAt:u,unit:d,timezone:h,...c,...n}],queryFn:()=>o(`/websites/${e}/events/series`,{startAt:l,endAt:u,unit:d,timezone:h,...c,...n}),enabled:!!e,...r})}},637998,e=>{"use strict";e.s(["useWebsiteExpandedMetricsQuery",()=>r]);var t=e.i(700519),i=e.i(999579),a=e.i(890353),n=e.i(265991);function r(e,r,o){let{get:s,useQuery:l}=(0,i.useApi)(),{startAt:u,endAt:d}=(0,a.useDateParameters)(),h=(0,n.useFilterParameters)();return l({queryKey:["websites:metrics:expanded",{websiteId:e,startAt:u,endAt:d,...h,...r}],queryFn:async()=>s(`/websites/${e}/metrics/expanded`,{startAt:u,endAt:d,...h,...r}),enabled:!!e,placeholderData:t.keepPreviousData,...o})}},238893,739338,708,294695,273889,305020,670863,e=>{"use strict";var t=e.i(866988),i=e.i(999579),a=e.i(864878);function n(e,n,r){let{get:o,useQuery:s}=(0,i.useApi)(),{timezone:l,canonicalizeTimezone:u}=(0,a.useTimezone)(),d=(0,t.useMemo)(()=>Array.from(new Set(r.map(e=>
3e?.trim()).filter(Boolean))).sort(),[r]),h=u(l);return s({queryKey:[e,{ids:d,timezone:h}],queryFn:()=>o(n,{ids:d.join(","),timezone:h}),enabled:d.length>0,staleTime:3e5})}e.s(["useLinkListChartsQuery",0,function(e){return n("links:list:charts","/links/charts",e)},"usePixelListChartsQuery",0,function(e){return n("pixels:list:charts","/pixels/charts",e)},"useWebsiteListChartsQuery",0,function(e){return n("websites:list:charts","/websites/charts",e)}],238893);var r=e.i(700519),o=e.i(939850);e.s(["useWebsiteSegmentQuery",0,function(e,t,a){let{get:n,useQuery:s}=(0,i.useApi)(),{modified:l}=(0,o.useModified)("segments");return s({queryKey:["website:segments",{websiteId:e,segmentId:t,modified:l}],queryFn:()=>n(`/websites/${e}/segments/${t}`),enabled:!!(e&&t),placeholderData:r.keepPreviousData,...a})}],739338),e.s(["useWebsiteSegmentsQuery",()=>l],708);var s=e.i(265991);function l(e,t,a){let{get:n,useQuery:l}=(0,i.useApi)(),{modified:u}=(0,o.useModified)("segments"),d=(0,s.useFilterParameters)();return l({queryKey:["website:segments",{websiteId:e,modified:u,...d,...t}],queryFn:i=>n(`/websites/${e}/segments`,{...i,...d,...t}),enabled:!!e,placeholderData:r.keepPreviousData,...a})}e.s(["useWebsiteSessionQuery",0,function(e,t){let{get:a,useQuery:n}=(0,i.useApi)();return n({queryKey:["session",{websiteId:e,sessionId:t}],queryFn:()=>a(`/websites/${e}/sessions/${t}`),enabled:!!(e&&t)})}],294695),e.s([],273889);var u=e.i(890353);e.s(["useWebsiteSessionsQuery",()=>c],305020);var d=e.i(685149),h=e.i(332948);function c(e,t){let{get:a}=(0,i.useApi)(),{modified:n}=(0,o.useModified)("sessions"),{startAt:r,endAt:l,unit:c,timezone:m}=(0,u.useDateParameters)(),f=(0,s.useFilterParameters)();return(0,h.usePagedQuery)({queryKey:["sessions",{websiteId:e,modified:n,startAt:r,endAt:l,unit:c,timezone:m,...t,...f}],queryFn:i=>a(`/websites/${e}/sessions`,{startAt:r,endAt:l,unit:c,timezone:m,...f,...i,...t,maxResults:d.MAX_PAGING_RESULTS})})}e.s(["useWebsiteSharesQuery",0,function({websiteId:e},t){let{modified:a}=(0,o.useModified)("shares"),{get:n}=(0,i.useApi)();return(0,h.usePagedQuery)({queryKey:["websiteShares",{websiteId:e,modified:a}],queryFn:t=>n(`/websites/${e}/shares`,t),...t})}],670863)},918349,e=>{"use strict";e.s(["useWebsiteMetricsQuery",()=>r]);var t=e.i(700519),i=e.i(999579),a=e.i(890353),n=e.i(265991);function r(e,r,o){let{get:s,useQuery:l}=(0,i.useApi)(),{startAt:u,endAt:d}=(0,a.useDateParameters)(),h=(0,n.useFilterParameters)();return l({queryKey:["websites:metrics",{websiteId:e,startAt:u,endAt:d,...h,...r}],queryFn:async()=>s(`/websites/${e}/metrics`,{startAt:u,endAt:d,...h,...r}),enabled:!!e,placeholderData:t.keepPreviousData,...o})}},149143,e=>{"use strict";e.s(["useWebsitePageviewsQuery",()=>n]);var t=e.i(999579),i=e.i(890353),a=e.i(265991);function n({websiteId:e,compare:r},o){let{get:s,useQuery:l}=(0,t.useApi)(),{startAt:u,endAt:d,unit:h,timezone:c}=(0,i.useDateParameters)(),m=(0,a.useFilterParameters)();return l({queryKey:["websites:pageviews",{websiteId:e,compare:r,startAt:u,endAt:d,unit:h,timezone:c,...m}],queryFn:()=>s(`/websites/${e}/pageviews`,{compare:r,startAt:u,endAt:d,unit:h,timezone:c,...m}),enabled:!!e,...o})}},197888,e=>{"use strict";e.s(["useWebsiteStatsQuery",()=>n]);var t=e.i(890353),i=e.i(999579),a=e.i(265991);function n({websiteId:e,compare:r},o){let{get:s,useQuery:l}=(0,i.useApi)(),{startAt:u,endAt:d}=(0,t.useDateParameters)(),h=(0,a.useFilterParameters)();return l({queryKey:["websites:stats",{websiteId:e,compare:r,startAt:u,endAt:d,...h}],queryFn:()=>s(`/websites/${e}/stats`,{compare:r,startAt:u,endAt:d,...h}),enabled:!!e,...o})}},711601,12723,819047,e=>{"use strict";var t=e.i(866988),i=e.i(216180),a=e.i(943479);let n={"en-US":a.default};function r(e){let[r,o]=(0,t.useState)(n[e]||a.default);async function s(e){let{data:t}=await (0,i.httpGet)(`/intl/country/${e}.json`);t?(n[e]=t,o(n[e])):o(a.default)}return(0,t.useEffect)(()=>{n[e]?o(n[e]):s(e)},[e]),{countryNames:r}}e.s(["useCountryNames",0,r],12723);var o=e.i(931478);function s(e){let{countryNames:t}=r(e);return{regionNames:o.default,getRegionName:(e,i)=>{if(!i)return o.default[e];if(!e)return null;let a=e?.includes("-")?e:`${i}-${e}`;return o.default[a]?`${o.default[a]}, ${t[i]}`:a}}}e.s(["useRegionNames",0,s],819047);var l=e.i(999579),u=e.i(108761);e.s(["useWebsiteValuesQuery",0,function({websiteId:e,type:t,startDate:i,endDate:a,search:n}){let{get:o,useQuery:d}=(0,l.useApi)(),{locale:h}=(0,u.useLocale)(),{countryNames:c}=r(h),{regionNames:m}=s(h),f={country:c,region:m};return d({queryKey:["websites:values",{websiteId:e,type:t,startDate:i,endDate:a,search:n}],queryFn:()=>o(`/websites/${e}/values`,{type:t,startAt:+i,endAt:+a,search:((e,t)=>{if(t){let i=f[e];return i&&Object.keys(i).reduce((e,a)=>i[a].toLowerCase().includes(t.toLowerCase())?e.concat(a):e,[]).slice(0,5).join(",")||t}})(t,n)}),enabled:!!(e&&t&&i&&a)})}],711601)},272145,e=>{"use strict";var t=e.i(999579),i=e.i(939850),a=e.i(332948);e.s(["useWebsitesQuery",0,function(e,n){let{get:r}=(0,t.useApi)(),{modified:o}=(0,i.useModified)("websites");return(0,a.usePagedQuery)({queryKey:["websites:admin",{modified:o,...e}],queryFn:t=>r("/admin/websites",{...t,...e}),...n})}])},892089,e=>{"use strict";e.s(["useWeeklyTrafficQuery",()=>r]);var t=e.i(265991),i=e.i(999579),a=e.i(890353),n=e.i(939850);function r(e,r){let{get:o,useQuery:s}=(0,i.useApi)(),{modified:l}=(0,n.useModified)("sessions"),{startAt:u,endAt:d,unit:h,timezone:c}=(0,a.useDateParameters)(),m=(0,t.useFilterParameters)();return s({queryKey:["sessions",{websiteId:e,modified:l,startAt:u,endAt:d,timezone:c,...r,...m}],queryFn:()=>o(`/websites/${e}/sessions/weekly`,{startAt:u,endAt:d,timezone:c,...r,...m})})}}
3,999579,84423,787018,916659,303400,476704,347349,372570,922569,67702,344132,43496,413924,227465,199835,e=>{"use strict";var t=e.i(457725),i=e.i(814001),a=e.i(866988),n=e.i(846254),r=e.i(29481),o=e.i(685149),s=e.i(216180),l=e.i(457806),u=e.i(152542),d=e.i(731896),h=e.i(118950),c=e.i(787871),m=e.i(950466),f=e.i(550564),p=e.i(855027),g=e.i(35379),b=e.i(767146),v=e.i(440196),y=e.i(360931),w=e.i(969770),M=e.i(633521),x=e.i(617679),k=e.i(595053);function S(e,t){let i=(0,k.toDate)(e,t?.in);return i.setMinutes(59,59,999),i}function P(e,t){let i=(0,k.toDate)(e,t?.in);return i.setSeconds(59,999),i}e.s(["endOfHour",0,S],84423),e.s(["endOfMinute",0,P],787018);var T=e.i(182645),A=e.i(140181),C=e.i(280917),E=e.i(132818),L=e.i(904324),R=e.i(624060),F=e.i(772016),j=e.i(658828);function D(e,t){let i=(0,k.toDate)(e,t?.in);return i.setMinutes(0,0,0),i}function N(e,t){let i=(0,k.toDate)(e,t?.in);return i.setSeconds(0,0),i}e.s(["startOfHour",0,D],916659),e.s(["startOfMinute",0,N],303400);var I=e.i(601977),_=e.i(870460),B=e.i(199595);function O(e,t,i){return(0,u.addDays)(e,-t,i)}function W(e,t,i){return(0,d.addHours)(e,-t,i)}function z(e,t,i){return(0,h.addMinutes)(e,-t,i)}function H(e,t,i){return(0,c.addMonths)(e,-t,i)}function G(e,t,i){return(0,m.addWeeks)(e,-t,i)}function U(e,t,i){return(0,f.addYears)(e,-t,i)}e.s(["subMinutes",0,z],476704),e.s(["subMonths",0,H],347349);var V=e.i(893890);function K(){return Object.assign({},(0,V.getDefaultOptions)())}function q(e,t,i){var a,n,r,o,s;let l,u,d=K(),h=(a=e,n=i.timeZone,r=i.locale??d.locale,new Intl.DateTimeFormat(r?[r.code,"en-US"]:void 0,{timeZone:n,timeZoneName:a}));return"formatToParts"in h?function(e,t){let i=e.formatToParts(t);for(let e=i.length-1;e>=0;--e)if("timeZoneName"===i[e].type)return i[e].value}(h,t):(o=h,s=t,l=o.format(s).replace(/\u200E/g,""),(u=/ [\w-+ ]+$/.exec(l))?u[0].substr(1):"")}e.s(["getDefaultOptions",0,K],372570);let Y={year:0,month:1,day:2,hour:3,minute:4,second:5},X={},$=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),Z="06/25/2014, 00:00:00"===$||"‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00"===$;function Q(e,t,i,a,n,r,o){let s=new Date(0);return s.setUTCFullYear(e,t,i),s.setUTCHours(a,n,r,o),s}let J=/^(Z)$/,ee=/^([+-]\d{2})$/,et=/^([+-])(\d{2}):?(\d{2})$/;function ei(e,t,i){let a,n;if(!e)return 0;let r=J.exec(e);if(r)return 0;if(r=ee.exec(e))return en(a=parseInt(r[1],10))?-(36e5*a):NaN;if(r=et.exec(e)){a=parseInt(r[2],10);let e=parseInt(r[3],10);return en(a,e)?(n=36e5*Math.abs(a)+6e4*e,"+"===r[1]?-n:n):NaN}if(function(e){if(er[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),er[e]=!0,!0}catch(e){return!1}}(e)){var o;t=new Date(t||Date.now());let a=ea(i?t:Q((o=t).getFullYear(),o.getMonth(),o.getDate(),o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds()),e);return-(i?a:function(e,t,i){let a=e.getTime()-t,n=ea(new Date(a),i);if(t===n)return t;let r=ea(new Date(a-=n-t),i);return n===r?n:Math.max(n,r)}(t,a,e))}return NaN}function ea(e,t){var i,a,n;let r,o,s,l=(X[i=t]||(X[i]=Z?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:i,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:i,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),"formatToParts"in(s=X[i])?function(e,t){try{let i=e.formatToParts(t),a=[];for(let e=0;e<i.length;e++){let t=Y[i[e].type];void 0!==t&&(a[t]=parseInt(i[e].value,10))}return a}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(s,e):(a=s,n=e,r=a.format(n),[parseInt((o=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(r))[3],10),parseInt(o[1],10),parseInt(o[2],10),parseInt(o[4],10),parseInt(o[5],10),parseInt(o[6],10)])),u=Q(l[0],l[1]-1,l[2],l[3]%24,l[4],l[5],0).getTime(),d=e.getTime(),h=d%1e3;return u-(d-=h>=0?h:1e3+h)}function en(e,t){return -23<=e&&e<=23&&(null==t||0<=t&&t<=59)}let er={},eo={X:function(e,t,i){let a=es(i.timeZone,e);if(0===a)return"Z";switch(t){case"X":return ed(a);case"XXXX":case"XX":return eu(a);default:return eu(a,":")}},x:function(e,t,i){let a=es(i.timeZone,e);switch(t){case"x":return ed(a);case"xxxx":case"xx":return eu(a);default:return eu(a,":")}},O:function(e,t,i){let a=es(i.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+function(e,t=""){let i=e>0?"-":"+",a=Math.abs(e),n=Math.floor(a/60),r=a%60;return 0===r?i+String(n):i+String(n)+t+el(r,2)}(a,":");default:return"GMT"+eu(a,":")}},z:function(e,t,i){switch(t){case"z":case"zz":case"zzz":return q("short",e,i);default:return q("long",e,i)}}};function es(e,t){let i=e?ei(e,t,!0)/6e4:t?.getTimezoneOffset()??0;if(Number.isNaN(i))throw RangeError("Invalid time zone specified: "+e);return i}function el(e,t){let i=Math.abs(e).toString();for(;i.length<t;)i="0"+i;return(e<0?"-":"")+i}function eu(e,t=""){let i=Math.abs(e);return(e>0?"-":"+")+el(Math.floor(i/60),2)+t+el(Math.floor(i%60),2)}function ed(e,t){return e%60==0?(e>0?"-":"+")+el(Math.abs(e)/60,2):eu(e,t)}function eh(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e-t}let ec=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,em=/^([0-9W+-]+)(T| )(.*)/,ef=/^([0-9W+-]+)(.*)/,ep=/^(\d{2})$/,eg=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],eb=/^(\d{4})/,ev=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],ey=/^-(\d{2})$/,ew=/^-?(\d{3})$/,eM=/^-?(\d{2})-?(\d{2})$/,ex=/^-?W(\d{2})$/,ek=/^-?W(\d{2})-?(\d{1})$/,eS=/^(\d{2}([.,]\d*)?)$/,eP=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,eT=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/;function eA(e,t={}){if(arguments.length<1)throw TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);let i=null==t.additionalDigits?2:Number(t.additionalDigits);if(2!==i&&1!==i&&0!==i)throw RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);let a=function(e){let t,i={},a=em.exec(e);if(a?(i.date=a[1],t=a[3]):(a=ef.exec(e))?(i.date=a[1],t=a[2]):(i.date=null,t=e),t){let e=ec.exec(t);e?(i.time=t.replace(e[1],""),i.timeZone=e[1].trim()):i.time=t}return i}(e),{year:n,restDateString:r}=function(e,t){if(e){let i=eg[t],a=ev[t],n=eb.exec(e)||a.exec(e);if(n){let t=n[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}}if(n=ep.exec(e)||i.exec(e)){let t=n[1];return{year:100*parseInt(t,10),restDateString:e.slice(t.length)}}}return{year:null}}(a.date,i),o=function(e,t){let i,a,n;if(null===t)return null;if(!e||!e.length)return(i=new Date(0)).setUTCFullYear(t),i;let r=ey.exec(e);if(r)return(i=new Date(0),eF(t,a=parseInt(r[1],10)-1))?(i.setUTCFullYear(t,a),i):new Date(NaN);if(r=ew.exec(e)){i=new Date(0);let e=parseInt(r[1],10);return!function(e,t){if(t<1)return!1;let i=eR(e);return(!i||!(t>366))&&(!!i||!(t>365))}(t,e)?new Date(NaN):(i.setUTCFullYear(t,0,e),i)}if(r=eM.exec(e)){i=new Date(0),a=parseInt(r[1],10)-1;let e=parseInt(r[2],10);return eF(t,a,e)?(i.setUTCFullYear(t,a,e),i):new Date(NaN)}if(r=ex.exec(e))return ej(n=parseInt(r[1],10)-1)?eC(t,n):new Date(NaN);if(r=ek.exec(e)){n=parseInt(r[1],10)-1;let e=parseInt(r[2],10)-1;return ej(n,e)?eC(t,n,e):new Date(NaN)}return null}(r,n);if(null===o||isNaN(o.getTime())||!o)return new Date(NaN);{let e,i=o.getTime(),n=0;if(a.time&&(null===(n=function(e){let t,i,a=eS.exec(e);if(a)return eD(t=parseFloat(a[1].replace(",",".")))?t%24*36e5:NaN;if(a=eP.exec(e))return eD(t=parseInt(a[1],10),i=parseFloat(a[2].replace(",",".")))?t%24*36e5+6e4*i:NaN;if(a=eT.exec(e)){t=parseInt(a[1],10),i=parseInt(a[2],10);let e=parseFloat(a[3].replace(",","."));return eD(t,i,e)?t%24*36e5+6e4*i+1e3*e:NaN}return null}(a.time))||isNaN(n)))return new Date(NaN);if(a.timeZone||t.timeZone){if(isNaN(e=ei(a.timeZone||t.timeZone,new Date(i+n))
3))return new Date(NaN)}else e=eh(new Date(i+n)),e=eh(new Date(i+n+e));return new Date(i+n+e)}}function eC(e,t,i){t=t||0,i=i||0;let a=new Date(0);a.setUTCFullYear(e,0,4);let n=7*t+i+1-(a.getUTCDay()||7);return a.setUTCDate(a.getUTCDate()+n),a}let eE=[31,28,31,30,31,30,31,31,30,31,30,31],eL=[31,29,31,30,31,30,31,31,30,31,30,31];function eR(e){return e%400==0||e%4==0&&e%100!=0}function eF(e,t,i){if(t<0||t>11)return!1;if(null!=i){if(i<1)return!1;let a=eR(e);if(a&&i>eL[t]||!a&&i>eE[t])return!1}return!0}function ej(e,t){return!(e<0)&&!(e>52)&&(null==t||!(t<0)&&!(t>6))}function eD(e,t,i){return!(e<0)&&!(e>=25)&&(null==t||!(t<0)&&!(t>=60))&&(null==i||!(i<0)&&!(i>=60))}let eN=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function eI(e,t,i){let a=ei(t,e=eA(e,i),!0),n=new Date(e.getTime()-a),r=new Date(0);return r.setFullYear(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()),r.setHours(n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds(),n.getUTCMilliseconds()),r}e.s(["toZonedTime",0,eI],922569),e.s(["formatInTimeZone",0,function(e,t,i,a){return a={...a,timeZone:t,originalDate:e},function(e,t,i={}){let a=(t=String(t)).match(eN);if(a){let n=eA(i.originalDate||e,i);t=a.reduce(function(e,t){if("'"===t[0])return e;let a=e.indexOf(t),r="'"===e[a-1],o=e.replace(t,"'"+eo[t[0]](n,t,i)+"'");return r?o.substring(0,a-1)+o.substring(a+1):o},t)}return(0,E.format)(e,t,i)}(eI(e,t,{timeZone:a.timeZone}),i,a)}],67702),e.s(["fromZonedTime",0,function(e,t,i){if("string"==typeof e&&!e.match(ec))return eA(e,{...i,timeZone:t});let a=Q((e=eA(e,i)).getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()).getTime(),n=ei(t,new Date(a));return new Date(a+n)}],344132),e.s([],43496);let e_={lessThanXSeconds:{one:"أقل من ثانية واحدة",two:"أقل من ثانتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتين",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريباً",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريباً",two:"أسبوعين تقريباً",threeToTen:"{{count}} أسابيع تقريباً",other:"{{count}} أسبوع تقريباً"},xWeeks:{one:"أسبوع واحد",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريباً",threeToTen:"{{count}} أشهر تقريباً",other:"{{count}} شهر تقريباً"},xMonths:{one:"شهر واحد",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"},xYears:{one:"عام واحد",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"}};var eB=e.i(824815);let eO={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},eW={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"};var ez=e.i(591517);let eH={ordinalNumber:e=>String(e),era:(0,ez.buildLocalizeFn)({values:{narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["ي","ف","م","Ø£","م","ي","ي","Ø£","س","Ø£","ن","د"],abbreviated:["ينا","فبر","مارس","أبريل","مايو","يونـ","يولـ","أغسـ","سبتـ","أكتـ","نÙ
3ˆÙÙ€","ديسـ"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["Ø­","ن","Ø«","ر","Ø®","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"}},defaultFormattingWidth:"wide"})};var eG=e.i(253800),eU=e.i(923252);let eV={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^قبل/i,/^بعد/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[يفمأمسند]/i,abbreviated:/^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i,wide:/^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ي/i,/^ف/i,/^م/i,/^Ø£/i,/^م/i,/^ي/i,/^ي/i,/^Ø£/i,/^س/i,/^Ø£/i,/^ن/i,/^د/i],any:[/^ين/i,/^ف/i,/^مار/i,/^أب/i,/^ماي/i,/^يون/i,/^يول/i,/^أغ/i,/^س/i,/^أك/i,/^ن/i,/^د/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^Ø­/i,/^ن/i,/^Ø«/i,/^ر/i,/^Ø®/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^Ø«/i,/^أر/i,/^Ø®/i,/^ج/i,/^س/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};function eK(e,t){if(void 0!==e.one&&1===t)return e.one;let i=t%10,a=t%100;return 1===i&&11!==a?e.singularNominative.replace("{{count}}",String(t)):i>=2&&i<=4&&(a<10||a>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function eq(e){return(t,i)=>{if(!i||!i.addSuffix)return eK(e.regular,t);if(i.comparison&&i.comparison>0)if(e.future)return eK(e.future,t);else return"праз "+eK(e.regular,t);return e.past?eK(e.past,t):eK(e.regular,t)+" таму"}}let eY={lessThanXSeconds:eq({regular:{one:"менш за секунду",singularNominative:"менш за {{count}} секунду",singularGenitive:"менш за {{count}} секунды",pluralGenitive:"менш за {{count}} секунд"},future:{one:"менш, чым праз секунду",singularNominative:"менш, чым праз {{count}} секунду",singularGenitive:"менш, чым праз {{count}} секунды",pluralGenitive:"менш, чым праз {{count}} секунд"}}),xSeconds:eq({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду таму",singularGenitive:"{{count}} секунды таму",pluralGenitive:"{{count}} секунд таму"},future:{singularNominative:"праз {{count}} секунду",singularGenitive:"праз {{count}} секунды",pluralGenitive:"праз {{count}} секунд"}}),halfAMinute:(e,t)=>
3{if(t&&t.addSuffix)if(t.comparison&&t.comparison>0)return"праз паўхвіліны";else return"паўхвіліны таму";return"паўхвіліны"},lessThanXMinutes:eq({regular:{one:"менш за хвіліну",singularNominative:"менш за {{count}} хвіліну",singularGenitive:"менш за {{count}} хвіліны",pluralGenitive:"менш за {{count}} хвілін"},future:{one:"менш, чым праз хвіліну",singularNominative:"менш, чым праз {{count}} хвіліну",singularGenitive:"менш, чым праз {{count}} хвіліны",pluralGenitive:"менш, чым праз {{count}} хвілін"}}),xMinutes:eq({regular:{singularNominative:"{{count}} хвіліна",singularGenitive:"{{count}} хвіліны",pluralGenitive:"{{count}} хвілін"},past:{singularNominative:"{{count}} хвіліну таму",singularGenitive:"{{count}} хвіліны таму",pluralGenitive:"{{count}} хвілін таму"},future:{singularNominative:"праз {{count}} хвіліну",singularGenitive:"праз {{count}} хвіліны",pluralGenitive:"праз {{count}} хвілін"}}),aboutXHours:eq({regular:{singularNominative:"каля {{count}} гадзіны",singularGenitive:"каля {{count}} гадзін",pluralGenitive:"каля {{count}} гадзін"},future:{singularNominative:"прыблізна праз {{count}} гадзіну",singularGenitive:"прыблізна праз {{count}} гадзіны",pluralGenitive:"прыблізна праз {{count}} гадзін"}}),xHours:eq({regular:{singularNominative:"{{count}} гадзіна",singularGenitive:"{{count}} гадзіны",pluralGenitive:"{{count}} гадзін"},past:{singularNominative:"{{count}} гадзіну таму",singularGenitive:"{{count}} гадзіны таму",pluralGenitive:"{{count}} гадзін таму"},future:{singularNominative:"праз {{count}} гадзіну",singularGenitive:"праз {{count}} гадзіны",pluralGenitive:"праз {{count}} гадзін"}}),xDays:eq({regular:{singularNominative:"{{count}} дзень",singularGenitive:"{{count}} дні",pluralGenitive:"{{count}} дзён"}}),aboutXWeeks:eq({regular:{singularNominative:"каля {{count}} тыдні",singularGenitive:"каля {{count}} тыдняў",pluralGenitive:"каля {{count}} тыдняў"},future:{singularNominative:"прыблізна праз {{count}} тыдзень",singularGenitive:"прыблізна праз {{count}} тыдні",pluralGenitive:"прыблізна праз {{count}} тыдняў"}}),xWeeks:eq({regular:{singularNominative:"{{count}} тыдзень",singularGenitive:"{{count}} тыдні",pluralGenitive:"{{count}} тыдняў"}}),aboutXMonths:eq({regular:{singularNominative:"каля {{count}} месяца",singularGenitive:"каля {{count}} месяцаў",pluralGenitive:"каля {{count}} месяцаў"},future:{singularNominative:"прыблізна праз {{count}} месяц",singularGenitive:"прыблізна праз {{count}} месяцы",pluralGenitive:"прыблізна праз {{count}} месяцаў"}}),xMonths:eq({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяцы",pluralGenitive:"{{count}} месяцаў"}}),aboutXYears:eq({regular:{singularNominative:"каля {{count}} года",singularGenitive:"каля {{count}} гадоў",pluralGenitive:"каля {{count}} гадоў"},future:{singularNominative:"прыблізна праз {{count}} год",singularGenitive:"прыблізна праз {{count}} гады",pluralGenitive:"прыблізна праз {{count}} гадоў"}}),xYears:eq({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} гады",pluralGenitive:"{{count}} гадоў"}}),overXYears:eq({regular:{singularNominative:"больш за {{count}} год",singularGenitive:"больш за {{count}} гады",pluralGenitive:"больш за {{count}} гадоў"},future:{singularNominative:"больш, чым праз {{count}} год",singularGenitive:"больш, чым праз {{count}} гады",pluralGenitive:"больш, чым праз {{count}} гадоў"}}),almostXYears:eq({regular:{singularNominative:"амаль {{count}} год",singularGenitive:"амаль {{count}} гады",pluralGenitive:"амаль {{count}} гадоў"},future:{singularNominative:"амаль праз {{count}} год",singularGenitive:"амаль праз {{count}} гады",pluralGenitive:"амаль праз {{count}} гадоў"}})},eX={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{any:"{{date}}, {{time}}"},defaultWidth:"any"})};var e$=e.i(250576);function eZ(e,t,i){let[a,n]=(0,e$.normalizeDates)(i?.in,e,t);return+(0,_.startOfWeek)(a,i)==+(0,_.startOfWeek)(n,i)}
3let eQ=["нядзелю","панядзелак","аўторак","сераду","чацвер","пятніцу","суботу"];function eJ(e){return"'у "+eQ[e]+" а' p"}let e0={lastWeek:(e,t,i)=>{let a=(0,k.toDate)(e),n=a.getDay();if(eZ(a,t,i))return eJ(n);let r=eQ[n];switch(n){case 0:case 3:case 5:case 6:return"'у мінулую "+r+" а' p";case 1:case 2:case 4:return"'у мінулы "+r+" а' p"}},yesterday:"'учора а' p",today:"'сёння а' p",tomorrow:"'заўтра а' p",nextWeek:(e,t,i)=>{let a=(0,k.toDate)(e),n=a.getDay();if(eZ(a,t,i))return eJ(n);let r=eQ[n];switch(n){case 0:case 3:case 5:case 6:return"'у наступную "+r+" а' p";case 1:case 2:case 4:return"'у наступны "+r+" а' p"}},other:"P"},e1={code:"be",formatDistance:(e,t,i)=>(i=i||{},eY[e](t,i)),formatLong:eX,formatRelative:(e,t,i,a)=>{let n=e0[e];return"function"==typeof n?n(t,i,a):n},localize:{ordinalNumber:(e,t)=>{let i,a=String(t?.unit),n=Number(e);return i="date"===a?"-га":"hour"===a||"minute"===a||"second"===a?"-я":(n%10==2||n%10==3)&&n%100!=12&&n%100!=13?"-і":"-ы",n+i},era:(0,ez.buildLocalizeFn)({values:{narrow:["да н.э.","н.э."],abbreviated:["да н. э.","н. э."],wide:["да нашай эры","нашай эры"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["1-ы кв.","2-і кв.","3-і кв.","4-ы кв."],wide:["1-ы квартал","2-і квартал","3-і квартал","4-ы квартал"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["С","Л","С","К","М","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","май","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","снеж."],wide:["студзень","люты","сакавік","красавік","май","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","снежань"]},defaultWidth:"wide",formattingValues:{narrow:["С","Л","С","К","М","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","мая","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","снеж."],wide:["студзеня","лютага","сакавіка","красавіка","мая","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","снежня"]},defaultFormattingWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["Н","П","А","С","Ч","П","С"],short:["нд","пн","аў","ср","чц","пт","сб"],abbreviated:["нядз","пан","аўт","сер","чац","пят","суб"],wide:["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дзень",evening:"веч.",night:"ноч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дзень",evening:"веч.",night:"ноч"},wide:{am:"ДП",pm:"ПП",midnight:"поўнач",noon:"поўдзень",morning:"раніца",afternoon:"дзень",evening:"вечар",night:"ноч"}},defaultWidth:"any",formattingValues:{narrow:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дня",evening:"веч.",night:"ночы"},abbreviated:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дня",evening:"веч.",night:"ночы"},wide:{am:"ДП",pm:"ПП",midnight:"поўнач",noon:"поўдзень",morning:"раніцы",afternoon:"дня",evening:"вечара",night:"ночы"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(-?(е|я|га|і|ы|ае|ая|яя|шы|гі|ці|ты|мы))?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^((да )?н\.?\s?э\.?)/i,abbreviated:/^((да )?н\.?\s?э\.?)/i,wide:/^(да нашай эры|нашай эры|наша эра)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^д/i,/^н/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыі]?)? кв.?/i,wide:/^[1234](-?[ыі]?)? квартал/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[слкмчжв]/i,abbreviated:/^(студз|лют|сак|крас|ма[йя]|чэрв|ліп|жн|вер|кастр|ліст|снеж)\.?/i,wide:/^(студзен[ья]|лют(ы|ага)|сакавіка?|к
3расавіка?|ма[йя]|чэрвен[ья]|ліпен[ья]|жні(вень|ўня)|верас(ень|ня)|кастрычніка?|лістапада?|снеж(ань|ня))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^с/i,/^л/i,/^с/i,/^к/i,/^м/i,/^ч/i,/^л/i,/^ж/i,/^в/i,/^к/i,/^л/i,/^с/i],any:[/^ст/i,/^лю/i,/^са/i,/^кр/i,/^ма/i,/^ч/i,/^ліп/i,/^ж/i,/^в/i,/^ка/i,/^ліс/i,/^сн/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[нпасч]/i,short:/^(нд|ня|пн|па|аў|ат|ср|се|чц|ча|пт|пя|сб|су)\.?/i,abbreviated:/^(нядз?|ндз|пнд|пан|аўт|срд|сер|чцв|чац|птн|пят|суб).?/i,wide:/^(нядзел[яі]|панядзел(ак|ка)|аўтор(ак|ка)|серад[аы]|чацв(ер|ярга)|пятніц[аы]|субот[аы])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^н/i,/^п/i,/^а/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[ан]/i,/^а/i,/^с[ер]/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,abbreviated:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,wide:/^([дп]п|поўнач|поўдзень|раніц[аы]|дзень|дня|вечара?|ночы?)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^дп/i,pm:/^пп/i,midnight:/^поўн/i,noon:/^поўд/i,morning:/^р/i,afternoon:/^д[зн]/i,evening:/^в/i,night:/^н/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}},e2={lessThanXSeconds:{one:"по-малко от секунда",other:"по-малко от {{count}} секунди"},xSeconds:{one:"1 секунда",other:"{{count}} секунди"},halfAMinute:"половин минута",lessThanXMinutes:{one:"по-малко от минута",other:"по-малко от {{count}} минути"},xMinutes:{one:"1 минута",other:"{{count}} минути"},aboutXHours:{one:"около час",other:"около {{count}} часа"},xHours:{one:"1 час",other:"{{count}} часа"},xDays:{one:"1 ден",other:"{{count}} дни"},aboutXWeeks:{one:"около седмица",other:"около {{count}} седмици"},xWeeks:{one:"1 седмица",other:"{{count}} седмици"},aboutXMonths:{one:"около месец",other:"около {{count}} месеца"},xMonths:{one:"1 месец",other:"{{count}} месеца"},aboutXYears:{one:"около година",other:"около {{count}} години"},xYears:{one:"1 година",other:"{{count}} години"},overXYears:{one:"над година",other:"над {{count}} години"},almostXYears:{one:"почти година",other:"почти {{count}} години"}},e3={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, dd MMMM yyyy",long:"dd MMMM yyyy",medium:"dd MMM yyyy",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{any:"{{date}} {{time}}"},defaultWidth:"any"})},e4=["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"];function e5(e){let t=e4[e];return 2===e?"'във "+t+" в' p":"'в "+t+" в' p"}let e6={lastWeek:(e,t,i)=>{let a=(0,k.toDate)(e),n=a.getDay();if(eZ(a,t,i))return e5(n);let r=e4[n];switch(n){case 0:case 3:case 6:return"'миналата "+r+" в' p";case 1:case 2:case 4:case 5:return"'миналия "+r+" в' p"}},yesterday:"'вчера в' p",today:"'днес в' p",tomorrow:"'утре в' p",nextWeek:(e,t,i)=>{let a=(0,k.toDate)(e),n=a.getDay();if(eZ(a,t,i))return e5(n);let r=e4[n];switch(n){case 0:case 3:case 6:return"'следващата "+r+" в' p";case 1:case 2:case 4:case 5:return"'следващия "+r+" в' p"}},other:"P"};function e9(e,t,i,a,n){return e+"-"+("quarter"===t?n:"year"===t||"week"===t||"minute"===t||"second"===t?a:i)}let e8={ordinalNumber:(e,t)=>{let i=Number(e),a=t?.unit;if(0===i)return e9(0,a,"ев","ева","ево");if(i%1e3==0)return e9(i,a,"ен","на","но");if(i%100==0)return e9(i,a,"тен","тна","тно");let n=i%100;if(n>20||n<10)switch(n%10){case 1:return e9(i,a,"ви","ва","во");case 2:return e9(i,a,"ри","ра","ро");case 7:case 8:return e9(i,a,"ми","ма","мо")}return e9(i,a,"ти","та","то")},era:(0,ez.buildLocalizeFn)({values:{narrow:["пр.н.е.","н.е."],abbreviated:["преди н. е.","н. е."],wide:["преди новата ера","новата ера"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["1-во тримес.","2-ро тримес.","3-то тримес.","4-то тримес."],wide:["1-во тримесечие","2-ро тримесечие","3-то тримесечие","4-то тримесечие"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{abbreviated:["яну","фев","мар","апр","май","юни","юли","авг","сеп","окт","ное","дек"],wide:["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вто","сря","чет","пет","съб"],wide:["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{wide:{am:"преди обяд",pm:"след обяд",midnight:"в полунощ",noon:"на обяд",morning:"сутринта",afternoon:"следобед",evening:"вечерта",night:"през нощта"}},defaultWidth:"wide"})},e7={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(-?[врмт][аи]|-?т?(ен|на)|-?(ев|ева))?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^((пр)?н\.?\s?е\.?)/i,abbreviated:/^((пр)?н\.?\s?е\.?)/i,wide:/^(преди новата ера|новата ера|нова ера)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^п/i,/^н/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[врт]?o?)? тримес.?/i,wide:/^[1234](-?[врт]?о?)? тримесечие/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{abbreviated:/^(яну|фев|мар|апр|май|юни|юли|авг|сеп|окт|ное|дек)/i,wide:/^(януари|февруари|март|април|май|юни|юли|август|септември|октомври|ноември|декември)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^май/i,/^юн/i,/^юл/i,/^ав/i,/^се/i,/^окт/i,/^но/i,/^де/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)/i,abbreviated:/^(нед|пон|вто|сря|чет|пет|съб)/i,wide:/^(неделя|понеделник|вторник|сряда|четвъртък|петък|събота)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н[ед]/i,/^п[он]/i,/^вт/i,/^ср/i,/^ч[ет]/i,/^п[ет]/i,/^с[ъб]/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{any:/^(преди о|след о|в по|на о|през|веч|сут|следо)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^преди о/i,pm:/^след о/i,midnight:/^в пол/i,noon:/^на об/i,morning:/^сут/i,afternoon:/^следо/i,evening:/^веч/i,night:/^през н/i}},defaultParseWidth:"any"})},te={1:"à§§",2:"২",3:"à§©",4:"৪",5:"à§«",6:"৬",7:"à§­",8:"à§®",9:"৯",0:"০"};function tt(e){return e.toString().replace(/\d/g,function(e){return te[e]})}let ti={ordinalNumber:(e,t)=>{let i=Number(e),a=tt(i);if("date"===t?.unit){if(i>18&&i<=31)return a+"শে";switch(i){case 1:return a+"লা";case 2:case 3:return a+"রা";case 4:return a+"ঠা";default:return a+"ই"}}if(i>10||0===i)return a+"তম";switch(i%10){case 2:case 3:return a+"য়";case 4:return a+"র্থ";case 6:return a+"ষ্ঠ";default:return a+"ম"}},era:(0,ez.buildLocalizeFn)({values:{narrow:["খ্রিঃপূঃ","খ্রিঃ"],abbreviated:["খ্রিঃপূর্ব","খ্রিঃ"],wide:["খ্রিস্টপূর্ব","খ্রিস্টাব্দ"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["à§§","২","à§©","৪"],abbreviated:["১ত্রৈ","২ত্রৈ","৩ত্রৈ","৪ত্রৈ"],wide:["১ম ত্রৈমাসিক","২য় ত্রৈমাসিক","৩য় ত্রৈমাসিক","৪র্থ ত্রৈমাসিক"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্ট","অক্টো","নভে","ডিসে"],abbreviated:["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্ট","অক্টো","নভে","ডিসে"],wide:["জানুয়ারি","ফেব্রুয়ারি","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["র","সো","ম","বু","বৃ","শু","শ"],short:["রবি","সোম","মঙ্গল","বুধ","বৃহ","শুক্র","শনি"],abbreviated:["রবি","সোম","মঙ্গল","বুধ","বৃহ","শুক্র","শনি"],wide:["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার ","শুক্রবার","শনিবার"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"পূ",pm:"অপ",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},abbreviated:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},wide:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"}},defaultWidth:"wide",formattingValues:{narrow:{am:"পূ",pm:"অপ",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},abbreviated:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},wide:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"}},defaultFormattingWidth:"wide"})},ta={lessThanXSeconds:{one:"প্রায় à§§ সেকেন্ড",other:"প্রায় {{count}} সেকেন্ড"},xSeconds:{one:"à§§ সেকেন্ড",other:"{{count}} সেকেন্ড"},halfAMinute:"আধ মিনিট",lessThanXMinutes:{one:"প্রায় à§§ মিনিট",other:"প্রায় {{count}} মিনিট"},xMinutes:{one:"à§§ মিনিট",other:"{{count}} মিনিট"},aboutXHours:{one:"প্রায় à§§ ঘন্টা",other:"প্রায় {{count}} ঘন্টা"},xHours:{one:"à§§ ঘন্টা",other:"{{count}} ঘন্টা"},xDays:{one:"à§§ দিন",other:"{{count}} দিন"},aboutXWeeks:{one:"প্রায় à§§ সপ্তাহ",other:"প্রায় {{count}} সপ্তাহ"},xWeeks:{one:"à§§ সপ্তাহ",other:"{{count}} সপ্তাহ"},aboutXMonths:{one:"প্রায় à§§ মাস",other:"প্রায় {{count}} মাস"},xMonths:{one:"à§§ মাস",other:"{{count}} মাস"},aboutXYears:{one:"প্রায় à§§ বছর",other:"প্রায় {{count}} বছর"},xYears:{one:"à§§ বছর",other:"{{count}} বছর"},overXYears:{one:"à§§ বছরের বেশি",other:"{{count}} বছরের বেশি"},almostXYears:{one:"প্রায় à§§ বছর",other:"প্রায় {{count}} বছর"}},tn={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} {{time}} 'সময়'",long:"{{date}} {{time}} 'সময়'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},tr={lastWeek:"'গত' eeee 'সময়' p",yesterday:"'গতকাল' 'সময়' p",today:"'আজ' 'সময়' p",tomorrow:"'আগামীকাল' 'সময়' p",nextWeek:"eeee 'সময়' p",other:"P"},to={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(ম|য়|র্থ|ষ্ঠ|শে|ই|তম)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(খ্রিঃপূঃ|খ্রিঃ)/i,abbreviated:/^(খ্রিঃপূর্ব|খ্রিঃ)/i,wide:/^(খ্রিস্টপূর্ব|খ্রিস্টাব্দ)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^খ্রিঃপূঃ/i,/^খ্রিঃ/i],abbreviated:[/^খ্রিঃপূর্ব/i,/^খ্রিঃ/i],wide:[/^খ্রিস্টপূর্ব/i,/^খ্রিস্টাব্দ/i]},defaultParseWidth:"wide"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[১২৩৪]/i,abbreviated:/^[১২৩৪]ত্রৈ/i,wide:/^[১২৩৪](ম|য়|র্থ)? ত্রৈমাসিক/i},defaultMatchWidth:"wide",parsePatterns:{any:[/à§§/i,/২/i,/à§©/i,/৪/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i,abbreviated:/^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i,wide:/^(জানুয়ারি|ফেব্রুয়ারি|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্টেম্বর|অক্টোবর|নভেম্বর|ডিসেম্বর)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^জানু/i,/^ফেব্রু/i,/^মার্চ/i,/^এপ্রিল/i,/^মে/i,/^জুন/i,/^জুলাই/i,/^আগস্ট/i,/^সেপ্ট/i,/^অক্টো/i,/^নভে/i,/^ডিসে/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(র|সো|ম|বু|বৃ|শু|শ)+/i,short:/^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i,abbreviated:/^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i,wide:/^(à
3¦°à¦¬à¦¿à¦¬à¦¾à¦°|সোমবার|মঙ্গলবার|বুধবার|বৃহস্পতিবার |শুক্রবার|শনিবার)+/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^র/i,/^সো/i,/^ম/i,/^বু/i,/^বৃ/i,/^শু/i,/^শ/i],short:[/^রবি/i,/^সোম/i,/^মঙ্গল/i,/^বুধ/i,/^বৃহ/i,/^শুক্র/i,/^শনি/i],abbreviated:[/^রবি/i,/^সোম/i,/^মঙ্গল/i,/^বুধ/i,/^বৃহ/i,/^শুক্র/i,/^শনি/i],wide:[/^রবিবার/i,/^সোমবার/i,/^মঙ্গলবার/i,/^বুধবার/i,/^বৃহস্পতিবার /i,/^শুক্রবার/i,/^শনিবার/i]},defaultParseWidth:"wide"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(পূ|অপ|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i,abbreviated:/^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i,wide:/^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^পূ/i,pm:/^অপ/i,midnight:/^মধ্যরাত/i,noon:/^মধ্যাহ্ন/i,morning:/সকাল/i,afternoon:/বিকাল/i,evening:/সন্ধ্যা/i,night:/রাত/i}},defaultParseWidth:"any"})},ts={lessThanXSeconds:{one:{standalone:"manje od 1 sekunde",withPrepositionAgo:"manje od 1 sekunde",withPrepositionIn:"manje od 1 sekundu"},dual:"manje od {{count}} sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:{standalone:"1 sekunda",withPrepositionAgo:"1 sekunde",withPrepositionIn:"1 sekundu"},dual:"{{count}} sekunde",other:"{{count}} sekundi"},halfAMinute:"pola minute",lessThanXMinutes:{one:{standalone:"manje od 1 minute",withPrepositionAgo:"manje od 1 minute",withPrepositionIn:"manje od 1 minutu"},dual:"manje od {{count}} minute",other:"manje od {{count}} minuta"},xMinutes:{one:{standalone:"1 minuta",withPrepositionAgo:"1 minute",withPrepositionIn:"1 minutu"},dual:"{{count}} minute",other:"{{count}} minuta"},aboutXHours:{one:{standalone:"oko 1 sat",withPrepositionAgo:"oko 1 sat",withPrepositionIn:"oko 1 sat"},dual:"oko {{count}} sata",other:"oko {{count}} sati"},xHours:{one:{standalone:"1 sat",withPrepositionAgo:"1 sat",withPrepositionIn:"1 sat"},dual:"{{count}} sata",other:"{{count}} sati"},xDays:{one:{standalone:"1 dan",withPrepositionAgo:"1 dan",withPrepositionIn:"1 dan"},dual:"{{count}} dana",other:"{{count}} dana"},aboutXWeeks:{one:{standalone:"oko 1 sedmicu",withPrepositionAgo:"oko 1 sedmicu",withPrepositionIn:"oko 1 sedmicu"},dual:"oko {{count}} sedmice",other:"oko {{count}} sedmice"},xWeeks:{one:{standalone:"1 sedmicu",withPrepositionAgo:"1 sedmicu",withPrepositionIn:"1 sedmicu"},dual:"{{count}} sedmice",other:"{{count}} sedmice"},aboutXMonths:{one:{standalone:"oko 1 mjesec",withPrepositionAgo:"oko 1 mjesec",withPrepositionIn:"oko 1 mjesec"},dual:"oko {{count}} mjeseca",other:"oko {{count}} mjeseci"},xMonths:{one:{standalone:"1 mjesec",withPrepositionAgo:"1 mjesec",withPrepositionIn:"1 mjesec"},dual:"{{count}} mjeseca",other:"{{count}} mjeseci"},aboutXYears:{one:{standalone:"oko 1 godinu",withPrepositionAgo:"oko 1 godinu",withPrepositionIn:"oko 1 godinu"},dual:"oko {{count}} godine",other:"oko {{count}} godina"},xYears:{one:{standalone:"1 godina",withPrepositionAgo:"1 godine",withPrepositionIn:"1 godinu"},dual:"{{count}} godine",other:"{{count}} godina"},overXYears:{one:{standalone:"preko 1 godinu",withPrepositionAgo:"preko 1 godinu",withPrepositionIn:"preko 1 godinu"},dual:"preko {{count}} godine",other:"preko {{count}} godina"},almostXYears:{one:{standalone:"gotovo 1 godinu",withPrepositionAgo:"gotovo 1 godinu",withPrepositionIn:"gotovo 1 godinu"},dual:"gotovo {{count}} godine",other:"gotovo {{count}} godina"}},tl={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, d. MMMM yyyy.",long:"d. MMMM yyyy.",medium:"d. MMM yy.",short:"dd. MM. yy."},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'u' {{time}}",long:"{{date}} 'u' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},tu={lastWeek:e=>{switch(e.getDay()){case 0:return"'proÅ¡le nedjelje u' p";case 3:return"'proÅ¡le srijede u' p";case 6:return"'proÅ¡le subote u' p";default:return"'proÅ¡li' EEEE 'u' p"}},yesterday:"'juče u' p",today:"'danas u' p",tomorrow:"'sutra u' p",nextWeek:e=>{switch(e.getDay()){case 0:return"'sljedeće nedjelje u' p";case 3:return"'sljedeću srijedu u' p";case 6:return"'sljedeću subotu u' p";default:return"'sljedeći' EEEE 'u' p"}},other:"P"},td={ordinalNumber:(e,t)=>String(Number(e))+".",era:(0,ez.buildLocalizeFn)({values:{narrow:["pr.n.e.","AD"],abbreviated:["pr. Hr.","po. Hr."],wide:["Prije Hrista","Poslije Hrista"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1.","2.","3.","4."],abbreviated:["1. kv.","2. kv.","3. kv.","4. kv."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],wide:["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar"]},defaultWidth:"wide",formattingValues:{narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],wide:["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar"]},defaultFormattingWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["N","P","U","S","Č","P","S"],short:["ned","pon","uto","sre","čet","pet","sub"],abbreviated:["ned","pon","uto","sre","čet","pet","sub"],wide:["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","
3subota"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"poslije podne",evening:"uveče",night:"noću"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"poslije podne",evening:"uveče",night:"noću"}},defaultFormattingWidth:"wide"})},th={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)\./i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(pr\.n\.e\.|AD)/i,abbreviated:/^(pr\.\s?Hr\.|po\.\s?Hr\.)/i,wide:/^(Prije Hrista|prije nove ere|Poslije Hrista|nova era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^pr/i,/^(po|nova)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?kv\.?/i,wide:/^[1234]\. kvartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(jan|feb|mar|apr|maj|jun|jul|avg|sep|okt|nov|dec)/i,wide:/^((januar|januara)|(februar|februara)|(mart|marta)|(april|aprila)|(maj|maja)|(juni|juna)|(juli|jula)|(avgust|avgusta)|(septembar|septembra)|(oktobar|oktobra)|(novembar|novembra)|(decembar|decembra))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^1/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^avg/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[npusčc]/i,short:/^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,abbreviated:/^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,wide:/^(nedjelja|ponedjeljak|utorak|srijeda|(četvrtak|cetvrtak)|petak|subota)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{any:/^(am|pm|ponoc|ponoć|(po)?podne|uvece|uveče|noću|poslije podne|ujutru)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^pono/i,noon:/^pod/i,morning:/jutro/i,afternoon:/(poslije\s|po)+podne/i,evening:/(uvece|uveče)/i,night:/(nocu|noću)/i}},defaultParseWidth:"any"})},tc={lessThanXSeconds:{one:"menys d'un segon",eleven:"menys d'onze segons",other:"menys de {{count}} segons"},xSeconds:{one:"1 segon",other:"{{count}} segons"},halfAMinute:"mig minut",lessThanXMinutes:{one:"menys d'un minut",eleven:"menys d'onze minuts",other:"menys de {{count}} minuts"},xMinutes:{one:"1 minut",other:"{{count}} minuts"},aboutXHours:{one:"aproximadament una hora",other:"aproximadament {{count}} hores"},xHours:{one:"1 hora",other:"{{count}} hores"},xDays:{one:"1 dia",other:"{{count}} dies"},aboutXWeeks:{one:"aproximadament una setmana",other:"aproximadament {{count}} setmanes"},xWeeks:{one:"1 setmana",other:"{{count}} setmanes"},aboutXMonths:{one:"aproximadament un mes",other:"aproximadament {{count}} mesos"},xMonths:{one:"1 mes",other:"{{count}} mesos"},aboutXYears:{one:"aproximadament un any",other:"aproximadament {{count}} anys"},xYears:{one:"1 any",other:"{{count}} anys"},overXYears:{one:"més d'un any",eleven:"més d'onze anys",other:"més de {{count}} anys"},almostXYears:{one:"gairebé un any",other:"gairebé {{count}} anys"}},tm={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'a les' {{time}}",long:"{{date}} 'a les' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},tf={lastWeek:"'el' eeee 'passat a la' LT",yesterday:"'ahir a la' p",today:"'avui a la' p",tomorrow:"'demà a la' p",nextWeek:"eeee 'a la' p",other:"P"},tp={lastWeek:"'el' eeee 'passat a les' p",yesterday:"'ahir a les' p",today:"'avui a les' p",tomorrow:"'demà a les' p",nextWeek:"eeee 'a les' p",other:"P"},tg={ordinalNumber:(e,t)=>{let i=Number(e),a=i%100;if(a>20||a<10)switch(a%10){case 1:case 3:return i+"r";case 2:return i+"n";case 4:return i+"t"}return i+"è"},era:(0,ez.buildLocalizeFn)({values:{narrow:["aC","dC"],abbreviated:["a. de C.","d. de C."],wide:["abans de Crist","després de Crist"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1r trimestre","2n trimestre","3r trimestre","4t trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["GN","FB","MÇ","AB","MG","JN","JL","AG","ST","OC","NV","DS"],abbreviated:["gen.","febr.","març","abr.","maig","juny","jul.","ag.","set.","oct.","nov.","des."],wide:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],short:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],abbreviated:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],wide:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"am",pm:"pm",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"}},defaultWidth:"wide",formattingValues:{narrow:{am:"am",pm:"pm",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"},abbreviated:{am:"AM",pm:"PM",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"}},defaultFormattingWidth:"wide"})},tb={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(è|r|n|r|t)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(aC|dC)/i,abbreviated:/^(a. de C.|d. de C.)/i,wide:/^(abans de Crist|despr[eé]s de Crist)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^aC/i,/^dC/i],abbreviated:[/^(a. de C.)/i,/^(d. de C.)/i],wide:[/^(abans de Crist)/i,/^(despr[eé]s de Crist)/i]},defaultParseWidth:"wide"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](è|r|n|r|t)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(GN|FB|MÇ|AB|MG|JN|JL|AG|ST|OC|NV|DS)/i,abbreviated:/^(gen.|febr.|març|abr.|maig|juny|jul.|ag.|set.|oct.|nov.|des.)/i,wide:/^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^GN/i,/^FB/i,/^MÇ/i,/^AB/i,/^MG/i,/^JN/i,/^JL/i,/^AG/i,/^ST/i,/^OC/i,/^NV/i,/^DS/i],abbreviated:[/^gen./i,/^febr./i,/^març/i,/^abr./i,/^maig/i,/^juny/i,/^jul./i,/^ag./i,/^set./i,/^oct./i,/^nov./i,/^des./i],wide:[/^gener/i,/^febrer/i,/^març/i,/^abril/i,/^maig/i,/^juny/i,/^juliol/i,/^agost/i,/^setembre/i,/^octubre/i,/^novembre/i,/^desembre/i]},defaultParseWidth:"wide"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,short:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,abbreviated:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,wide:/^(diumenge|dilluns|dimarts|dimecres|dijous|divendres|dissabte)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^dg./i,/^dl./i,/^dt./i,/^dm./i,/^dj./i,/^dv./i,/^ds./i],abbreviated:[/^dg./i,/^dl./i,/^dt./i,/^dm./i,/^dj./i,/^dv./i,/^ds./i],wide:[/^diumenge/i,/^dilluns/i,/^dimarts/i,/^dimecres/i,/^dijous/i,/^divendres/i,/^disssabte/i]},defaultParseWidth:"wide"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(a|p|mn|md|(del|de la) (matí|tarda|vespre|nit))/i,abbreviated:/^([ap]\.?\s?m\.?|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i,wide:/^(ante meridiem|post meridiem|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mitjanit/i,noon:/^migdia/i,morning:/matí/i,afternoon:/tarda/i,evening:/vespre/i,night:/nit/i}},defaultParseWidth:"any"})},tv={lessThanXSeconds:{one:{regular:"méně než 1 sekunda",past:"před méně než 1 sekundou",future:"za méně než 1 sekundu"},few:{regular:"méně než {{count}} sekundy",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekundy"},many:{regular:"méně než {{count}} sekund",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekund"}},xSeconds:{one:{regular:"1 sekunda",past:"před 1 sekundou",future:"za 1 sekundu"},few:{regular:"{{count}} sekundy",past:"před {{count}} sekundami",future:"za {{count}} sekundy"},many:{regular:"{{count}} sekund",past:"před {{count}} sekundami",future:"za {{count}} sekund"}},halfAMinute:{type:"other",other:{regular:"půl minuty",past:"před půl minutou",future:"za půl minuty"}},lessThanXMinutes:{one:{regular:"méně než 1 minuta",past:"před méně než 1 minutou",future:"za méně než 1 minutu"},few:{regular:"méně než {{count}} minuty",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minuty"},many:{regular:"méně než {{count}} minut",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minut"}},xMinutes:{one:{regular:"1 minuta",past:"před 1 minutou",future:"za 1 minutu"},few:{regular:"{{count}} minuty",past:"před {{count}} minutami",future:"za {{count}} minuty"},many:{regular:"{{count}} minut",past:"před {{count}} minutami",future:"za {{count}} minut"}},aboutXHours:{one:{regular:"přibližně 1 hodina",past:"přibližně před 1 hodinou",future:"přibližně za 1 hodinu"},few:{regular:"přibližně {{count}} hodiny",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodiny"},many:{regular:"přibližně {{count}} hodin",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodin"}},xHours:{one:{regular:"1 hodina",past:"před 1 hodinou",future:"za 1 hodinu"},few:{regular:"{{count}} hodiny",past:"před {{count}} hodinami",future:"za {{count}} hodiny"},many:{regular:"{{count}} hodin",past:"před {{count}} hodinami",future:"za {{count}} hodin"}},xDays:{one:{regular:"1 den",past:"před 1 dnem",future:"za 1 den"},few:{regular:"{{count}} dny",past:"před {{count}} dny",future:"za {{count}} dny"},many:{regular:"{{count}} dní",past:"před {{count}} dny",future:"za {{count}} dní"}},aboutXWeeks:{one:{regular:"přibližně 1 týden",past:"přibližně před 1 týdnem",future:"přibližně za 1 týden"},few:{regular:"přibližně {{count}} týdny",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdny"},many:{regular:"přibližně {{count}} týdnů",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdnů"}},xWeeks:{one:{regular:"1 týden",past:"před 1 týdnem",future:"za 1 týden"},few:{regular:"{{count}} týdny",past:"před {{count}} týdny",future:"za {{count}} týdny"},many:{regular:"{{count}} týdnů",past:"před {{count}} týdny",future:"za {{count}} týdnů"}},aboutXMonths:{one:{regular:"přibližně 1 měsíc",past:"přibližně před 1 měsícem",future:"přibližně za 1 měsíc"},few:{regular:"přibližně {{count}} měsíce",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíce"},many:{regular:"přibližně {{count}} měsíců",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíců"}},xMonths:{one:{regular:"1 měsíc",past:"před 1 měsícem",future:"za 1 měsíc"},few:{regular:"{{count}} měsíce",past:"před {{count}} měsíci",future:"za {{count}} měsíce"},many:{regular:"{{count}} měsíců",past:"před {{count}} měsíci",future:"za {{count}} měsíců"}},aboutXYears:{one:{regular:"přibližně 1 rok",past:"přibližně před 1 rokem",future:"přibližně za 1 rok"},few:{regular:"přibližně {{count}} roky",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roky"},many:{regular:"přibližně {{count}} roků",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roků"}},xYears:{one:{regular:"1 rok",past:"před 1 rokem",future:"za 1 rok"},few:{regular:"{{count}} roky",past:"před {{count}} roky",future:"za {{count}} roky"},many:{regular:"{{count}} roků",past:"před {{count}} roky",future:"za {{count}} roků"}},overXYears:{one:{regular:"více než 1 rok",past:"před více než 1 rokem",future:"za více než 1 rok"},few:{regular:"více než {{count}} roky",past:"před více než {{count}} roky",future:"za více než {{count}} roky"},many:{regular:"více než {{count}} roků",past:"před více než {{count}} roky",future:"za více než {{count}} roků"}},almostXYears:{one:{regular:"skoro 1 rok",past:"skoro před 1 rokem",future:"skoro za 1 rok"},few:{regular:"skoro {{count}} roky",past:"skoro před {{count}} roky",future:"skoro za {{count}} roky"},many:{regular:"skoro {{count}} roků",past:"skoro před {{count}} roky",future:"skoro za {{count}} roků"}}},ty={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},tw=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],tM={lastWeek:"'poslední' eeee 've' p",yesterday:"'včera v' p",today:"'dnes v' p",tomorrow:"'zítra v' p",nextWeek:e=>"'v "+tw[e.getDay()]+" o' p",other:"P"},tx={ordinalNumber:(e,t)=>Number(e)+".",era:(0,ez.buildLocalizeFn)({values:{narrow:["př. n. l.","n. l."],abbreviated:["př. n. l.","n. l."],wide:["před naším letopočtem","našeho letopočtu"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"],wide:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["leden","únor","březen","duben","květen","červen","červenec","srpe
3n","září","říjen","listopad","prosinec"]},defaultWidth:"wide",formattingValues:{narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince"]},defaultFormattingWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["ne","po","út","st","čt","pá","so"],short:["ne","po","út","st","čt","pá","so"],abbreviated:["ned","pon","úte","stř","čtv","pát","sob"],wide:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},defaultFormattingWidth:"wide"})},tk={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(p[řr](\.|ed) Kristem|p[řr](\.|ed) na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p[řr]/i,/^(po|n)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\. [čc]tvrtlet[íi]/i,wide:/^[1234]\. [čc]tvrtlet[íi]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[lúubdkčcszřrlp]/i,abbreviated:/^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i,wide:/^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^l/i,/^[úu]/i,/^b/i,/^d/i,/^k/i,/^[čc]/i,/^[čc]/i,/^s/i,/^z/i,/^[řr]/i,/^l/i,/^p/i],any:[/^led/i,/^[úu]n/i,/^b[řr]e/i,/^dub/i,/^kv[ěe]/i,/^[čc]vn|[čc]erven(?!\w)|[čc]ervna/i,/^[čc]vc|[čc]erven(ec|ce)/i,/^srp/i,/^z[áa][řr]/i,/^[řr][íi]j/i,/^lis/i,/^pro/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[npuúsčps]/i,short:/^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i,abbreviated:/^(ned|pon|[úu]te|st[rř]|[čc]tv|p[áa]t|sob)/i,wide:/^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i}
3,defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^[úu]/i,/^s/i,/^[čc]/i,/^p/i,/^s/i],any:[/^ne/i,/^po/i,/^[úu]t/i,/^st/i,/^[čc]t/i,/^p[áa]/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{any:/^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^dop/i,pm:/^odp/i,midnight:/^p[ůu]lnoc/i,noon:/^poledne/i,morning:/r[áa]no/i,afternoon:/odpoledne/i,evening:/ve[čc]er/i,night:/noc/i}},defaultParseWidth:"any"})},tS={lessThanXSeconds:{one:"mindre end ét sekund",other:"mindre end {{count}} sekunder"},xSeconds:{one:"1 sekund",other:"{{count}} sekunder"},halfAMinute:"ét halvt minut",lessThanXMinutes:{one:"mindre end ét minut",other:"mindre end {{count}} minutter"},xMinutes:{one:"1 minut",other:"{{count}} minutter"},aboutXHours:{one:"cirka 1 time",other:"cirka {{count}} timer"},xHours:{one:"1 time",other:"{{count}} timer"},xDays:{one:"1 dag",other:"{{count}} dage"},aboutXWeeks:{one:"cirka 1 uge",other:"cirka {{count}} uger"},xWeeks:{one:"1 uge",other:"{{count}} uger"},aboutXMonths:{one:"cirka 1 måned",other:"cirka {{count}} måneder"},xMonths:{one:"1 måned",other:"{{count}} måneder"},aboutXYears:{one:"cirka 1 år",other:"cirka {{count}} år"},xYears:{one:"1 år",other:"{{count}} år"},overXYears:{one:"over 1 år",other:"over {{count}} år"},almostXYears:{one:"næsten 1 år",other:"næsten {{count}} år"}},tP={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE 'den' d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'kl'. {{time}}",long:"{{date}} 'kl'. {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},tT={lastWeek:"'sidste' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"'på' eeee 'kl.' p",other:"P"},tA={ordinalNumber:(e,t)=>Number(e)+".",era:(0,ez.buildLocalizeFn)({values:{narrow:["fvt","vt"],abbreviated:["f.v.t.","v.t."],wide:["før vesterlandsk tidsregning","vesterlandsk tidsregning"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["1. kvt.","2. kvt.","3. kvt.","4. kvt."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mar.","apr.","maj","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn.","man.","tir.","ons.","tor.","fre.","lør."],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"}},defaultFormattingWidth:"wide"})},tC={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(fKr|fvt|eKr|vt)/i,abbreviated:/^(f\.Kr\.?|f\.v\.t\.?|e\.Kr\.?|v\.t\.)/i,wide:/^(f.Kr.|før vesterlandsk t
3idsregning|e.Kr.|vesterlandsk tidsregning)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^f/i,/^(v|e)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]. kvt\./i,wide:/^[1234]\.? kvartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mar.|apr.|maj|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januar|februar|marts|april|maj|juni|juli|august|september|oktober|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[smtofl]/i,short:/^(søn.|man.|tir.|ons.|tor.|fre.|lør.)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^o/i,/^t/i,/^f/i,/^l/i],any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(a|p|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i,any:/^([ap]\.?\s?m\.?|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/midnat/i,noon:/middag/i,morning:/morgen/i,afternoon:/eftermiddag/i,evening:/aften/i,night:/nat/i}},defaultParseWidth:"any"})},tE={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},tL={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},tR={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},tF={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},tj={narrow:tF.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:tF.wide},tD={code:"de",formatDistance:(e,t,i)=>{let a,n=i?.addSuffix?tE[e].withPreposition:tE[e].standalone;if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return"in "+a;else return"vor "+a;return a},formatLong:tL,formatRelative:(e,t,i,a)=>tR[e],localize:{ordinalNumber:e=>Number(e)+".",era:(0,ez.buildLocalizeFn)({values:{narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:tF,formattingValues:tj,defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nac
3hm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},defaultWidth:"wide",formattingValues:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/i,/^n/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(jänner|januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},tN={lessThanXSeconds:{one:"λιγότερο από ένα δευτερόλεπτο",other:"λιγότερο από {{count}} δευτερόλεπτα"},xSeconds:{one:"1 δευτερόλεπτο",other:"{{count}} δευτερόλεπτα"},halfAMinute:"μισό λεπτό",lessThanXMinutes:{one:"λιγότερο από ένα λεπτό",other:"λιγότερο από {{count}} λεπτά"},xMinutes:{one:"1 λεπτό",other:"{{count}} λεπτά"},aboutXHours:{one:"περίπου 1 ώρα",other:"περίπου {{count}} ώρες"},xHours:{one:"1 ώρα",other:"{{count}} ώρες"},xDays:{one:"1 ημέρα",other:"{{count}} ημέρες"},aboutXWeeks:{one:"περίπου 1 εβδομάδα",other:"περίπου {{count}} εβδομάδες"},xWeeks:{one:"1 εβδομάδα",other:"{{count}} εβδομάδες"},aboutXMonths:{one:"περίπου 1 μήνας",other:"περίπου {{count}} μήνες"},xMonths:{one:"1 μήνας",other:"{{count}} μήνες"},aboutXYears:{one:"περίπου 1 χρόνο",other:"περίπου {{count}} χρόνια"},xYears:{one:"1 χρόνο",other:"{{count}} χρόνια"},overXYears:{one:"πάνω από 1 χρόνο",other:"πάνω από {{count}} χρόνια"},almostXYears:{one:"περίπου 1 χρόνο",other:"περίπου {{count}} χρόνια"}},tI={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"d/M/yy"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} - {{time}}",long:"{{date}} - {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},t_={lastWeek:e=>6===e.getDay()?"'το προηγούμενο' eeee 'στις' p":"'την προηγούμενη' eeee 'στις' p",yesterday:"'χθες στις' p",today:"'σήμερα στις' p",tomorrow:"'αύριο στις' p",nextWeek:"eeee 'στις' p",other:"P"},tB={ordinalNumber:(e,t)=>{let i=Number(e),a=t?.unit;return i+("year"===a||"month"===a?"ος":"week"===a||"dayOfYear"===a||"day"===a||"hour"===a||"date"===a?"η":"ο")},era:(0,ez.buildLocalizeFn)({values:{narrow:["πΧ","μΧ"],abbreviated:["π.Χ.","μ.Χ."],wide:["προ Χριστού","μετά Χριστόν"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Τ1","Τ2","Τ3","Τ4"],wide:["1ο τρίμηνο","2ο τρίμηνο","3ο τρίμηνο","4ο τρίμηνο"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["Ι","Φ","Μ","Α","Μ","Ι","Ι","Α","Σ","Ο","Ν","Δ"],abbreviated:["Ιαν","Φεβ","Μάρ","Απρ","Μάι","Ιούν","Ιούλ","Αύγ","Σεπ","Οκτ","Νοέ","Δεκ"],wide:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"]},defaultWidth:"wide",formattingValues:{narrow:["Ι","Φ","Μ","Α","Μ","Ι","Ι","Α","Σ","Ο","Ν","Δ"],abbreviated:["Ιαν","Φεβ","Μαρ","Απρ","Μαΐ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],wide:["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου"]},defaultFormattingWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["Κ","Δ","T","Τ","Π","Π","Σ"],short:["Κυ","Δε","Τρ","Τε","Πέ","Πα","Σά"],abbreviated:["Κυρ","Δευ","Τρί","Τετ","Πέμ","Παρ","Σάβ"],wide:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"πμ",pm:"μμ",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"},abbreviated:{am:"π.μ.",pm:"μ.μ.",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"},wide:{am:"π.μ.",pm:"μ.μ.",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"}},defaultWidth:"wide"})},tO={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(ος|η|ο)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(πΧ|μΧ)/i,abbreviated:/^(π\.?\s?χ\.?|π\.?\s?κ\.?\s?χ\.?|μ\.?\s?χ\.?|κ\.?\s?χ\.?)/i,wide:/^(προ Χριστο(ύ|υ)|πριν απ(ό|ο) την Κοιν(ή|η) Χρονολογ(ί|ι)α|μετ(ά|α) Χριστ(ό|ο)ν|Κοιν(ή|η) Χρονολογ(ί|ι)α)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^π/i,/^(μ|κ)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^τ[1234]/i,wide:/^[1234]ο? τρ(ί|ι)μηνο/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[ιφμαμιιασονδ]/i,abbreviated:/^(ιαν|φεβ|μ[άα]ρ|απρ|μ[άα][ιΐ]|ιο[ύυ]ν|ιο[ύυ]λ|α[ύυ]γ|σεπ|οκτ|νο[έε]|δεκ)/i,wide:/^(μ[άα][ιΐ]|α[ύυ]γο[υύ]στ)(ος|ου)|(ιανου[άα]ρ|φεβρÎ
3¿Ï…[άα]ρ|μ[άα]ρτ|απρ[ίι]λ|ιο[ύυ]ν|ιο[ύυ]λ|σεπτ[έε]μβρ|οκτ[ώω]βρ|νο[έε]μβρ|δεκ[έε]μβρ)(ιος|ίου)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ι/i,/^φ/i,/^μ/i,/^α/i,/^μ/i,/^ι/i,/^ι/i,/^α/i,/^σ/i,/^ο/i,/^ν/i,/^δ/i],any:[/^ια/i,/^φ/i,/^μ[άα]ρ/i,/^απ/i,/^μ[άα][ιΐ]/i,/^ιο[ύυ]ν/i,/^ιο[ύυ]λ/i,/^α[ύυ]/i,/^σ/i,/^ο/i,/^ν/i,/^δ/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[κδτπσ]/i,short:/^(κυ|δε|τρ|τε|π[εέ]|π[αά]|σ[αά])/i,abbreviated:/^(κυρ|δευ|τρι|τετ|πεμ|παρ|σαβ)/i,wide:/^(κυριακ(ή|η)|δευτ(έ|ε)ρα|τρ(ί|ι)τη|τετ(ά|α)ρτη|π(έ|ε)μπτη|παρασκευ(ή|η)|σ(ά|α)ββατο)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^κ/i,/^δ/i,/^τ/i,/^τ/i,/^π/i,/^π/i,/^σ/i],any:[/^κ/i,/^δ/i,/^τρ/i,/^τε/i,/^π[εέ]/i,/^π[αά]/i,/^σ/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(πμ|μμ|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i,any:/^([πμ]\.?\s?μ\.?|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^πμ|π\.\s?μ\./i,pm:/^μμ|μ\.\s?μ\./i,midnight:/^μεσάν/i,noon:/^μεσημ(έ|ε)/i,morning:/πρω(ί|ι)/i,afternoon:/απ(ό|ο)γευμα/i,evening:/βρ(ά|α)δυ/i,night:/ν(ύ|υ)χτα/i}},defaultParseWidth:"any"})};var tW=e.i(439279),tz=e.i(127280),tH=e.i(308479),tG=e.i(744067);let tU={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},tV={code:"en-GB",formatDistance:tW.formatDistance,formatLong:tU,formatRelative:tz.formatRelative,localize:tH.localize,match:tG.match,options:{weekStartsOn:1,firstWeekContainsDate:4}};var tK=e.i(823968);let tq={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},tY={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},tX={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},t$={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},tZ={code:"es",formatDistance:(e,t,i)=>{let a,n=tq[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",t.toString()),i?.addSuffix)if(i.comparison&&i.comparison>0)return"en "+a;else return"hace "+a;return a},formatLong:tY,formatRelative:(e,t,i,a)=>1!==t.getHours()?t$[e]:tX[e],localize:{ordinalNumber:(e,t)=>Number(e)+"º",era:(0,ez.buildLocalizeFn)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|de
3spu[eé]s de cristo|era com[uú]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}},tQ={lessThanXSeconds:{one:"کمتر از یک ثانیه",other:"کمتر از {{count}} ثانیه"},xSeconds:{one:"1 ثانیه",other:"{{count}} ثانیه"},halfAMinute:"نیم دقیقه",lessThanXMinutes:{one:"کمتر از یک دقیقه",other:"کمتر از {{count}} دقیقه"},xMinutes:{one:"1 دقیقه",other:"{{count}} دقیقه"},aboutXHours:{one:"حدود 1 ساعت",other:"حدود {{count}} ساعت"},xHours:{one:"1 ساعت",other:"{{count}} ساعت"},xDays:{one:"1 روز",other:"{{count}} روز"},aboutXWeeks:{one:"حدود 1 هفته",other:"حدود {{count}} هفته"},xWeeks:{one:"1 هفته",other:"{{count}} هفته"},aboutXMonths:{one:"حدود 1 ماه",other:"حدود {{count}} ماه"},xMonths:{one:"1 ماه",other:"{{count}} ماه"},aboutXYears:{one:"حدود 1 سال",other:"حدود {{count}} سال"},xYears:{one:"1 سال",other:"{{count}} سال"},overXYears:{one:"بیشتر از 1 سال",other:"بیشتر از {{count}} سال"},almostXYears:{one:"نزدیک 1 سال",other:"نزدیک {{count}} سال"}},tJ={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"yyyy/MM/dd"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'در' {{time}}",long:"{{date}} 'در' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},t0={lastWeek:"eeee 'گذشته در' p",yesterday:"'دیروز در' p",today:"'امروز در' p",tomorrow:"'فردا در' p",nextWeek:"eeee 'در' p",other:"P"},t1={ordinalNumber:(e,t)=>String(e),era:(0,ez.buildLocalizeFn)({values:{narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل از میلاد","بعد از میلاد"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["س‌م1","س‌م2","س‌م3","س‌م4"],wide:["سه‌ماهه 1","سه‌ماهه 2","سه‌ماهه 3","سه‌ماهه 4"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["ژ","ف","م","Ø¢","م","ج","ج","Ø¢","س","ا","ن","د"],abbreviated:["ژانـ","فور","مارس","آپر","می","جون","جولـ","آگو","سپتـ","اکتـ","نÙ
3ˆØ§Ù…Ù€","دسامـ"],wide:["ژانویه","فوریه","مارس","آپریل","می","جون","جولای","آگوست","سپتامبر","اکتبر","نوامبر","دسامبر"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["ی","د","س","چ","Ù¾","ج","Ø´"],short:["1Ø´","2Ø´","3Ø´","4Ø´","5Ø´","ج","Ø´"],abbreviated:["یکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],wide:["یکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"ق",pm:"ب",midnight:"ن",noon:"ظ",morning:"ص",afternoon:"ب.ظ.",evening:"ع",night:"Ø´"},abbreviated:{am:"ق.ظ.",pm:"ب.ظ.",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"},wide:{am:"قبل‌ازظهر",pm:"بعدازظهر",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ق",pm:"ب",midnight:"ن",noon:"ظ",morning:"ص",afternoon:"ب.ظ.",evening:"ع",night:"Ø´"},abbreviated:{am:"ق.ظ.",pm:"ب.ظ.",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"},wide:{am:"قبل‌ازظهر",pm:"بعدازظهر",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"}},defaultFormattingWidth:"wide"})},t2={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?د\.?\s?م\.?|م\.?\s?|د\.?\s?م\.?)/i,wide:/^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از میلاد)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^قبل/i,/^بعد/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^س‌م[1234]/i,wide:/^سه‌ماهه [1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[جژفمآاماسند]/i,abbreviated:/^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i,wide:/^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^(ژ|ج)/i,/^ف/i,/^م/i,/^(Ø¢|ا)/i,/^م/i,/^(ژ|ج)/i,/^(ج|ژ)/i,/^(Ø¢|ا)/i,/^س/i,/^ا/i,/^ن/i,/^د/i],any:[/^ژا/i,/^ف/i,/^ما/i,/^آپ/i,/^(می|مه)/i,/^(ژوئن|جون)/i,/^(ژوئی|جول)/i,/^(اوت|Ø¢Ú¯)/i,/^س/i,/^(اوک|اک)/i,/^ن/i,/^د/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[شیدسچپج]/i,short:/^(Ø´|ج|1Ø´|2Ø´|3Ø´|4Ø´|5Ø´)/i,abbreviated:/^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i,wide:/^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ی/i,/^دو/i,/^س/i,/^چ/i,/^Ù¾/i,/^ج/i,/^Ø´/i],any:[/^(ی|1Ø´|یکشنبه)/i,/^(د|2Ø´|دوشنبه)/i,/^(س|3Ø´|سه‌شنبه)/i,/^(چ|4Ø´|چهارشنبه)/i,/^(Ù¾|5Ø´|پنجشنبه)/i,/^(ج|جمعه)/i,/^(Ø´|شنبه)/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(ب|ق|ن|ظ|ص|ب.ظ.|ع|Ø´)/i,abbreviated:/^(ق.ظ.|ب.ظ.|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i,wide:/^(قبل‌ازظهر|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^(ق|ق.ظ.|قبل‌ازظهر)/i,pm:/^(ب|ب.ظ.|بعدازظهر)/i,midnight:/^(‌نیمه‌شب|ن)/i,noon:/^(ظ|ظهر)/i,morning:/(ص|صبح)/i,afternoon:/(ب|ب.ظ.|بعدازظهر)/i,evening:/(ع|عصر)/i,night:/(Ø´|شب)/i}},defaultParseWidth:"any"})};function t3(e){return e.replace(/sekuntia?/,"sekunnin")}function t4(e){return e.replace(/minuuttia?/,"minuutin")}function t5(e){return e.replace(/tuntia?/,"tunnin")}function t6(e){return e.replace(/(viikko|viikkoa)/,"viikon")}function t9(e){return e.replace(/(kuukausi|kuukautta)/,"kuukauden")}function t8(e){return e.replace(/(vuosi|vuotta)/,"vuoden")}let t7={lessThanXSeconds:{one:"alle sekunti",other:"alle {{count}} sekuntia",futureTense:t3},xSeconds:{one:"sekunti",other:"{{count}} sekuntia",futureTense:t3},halfAMinute:{one:"puoli minuuttia",other:"puoli minuuttia",futureTense:e=>"puolen minuutin"},lessThanXMinutes:{one:"alle minuutti",other:"alle {{count}} minuuttia",futureTense:t4},xMinutes:{one:"minuutti",other:"{{count}} minuuttia",futureTense:t4},aboutXHours:{one:"noin tunti",other:"noin {{count}} tuntia",futureTense:t5},xHours:{one:"tunti",other:"{{count}} tuntia",futureTense:t5},xDays:{one:"päivä",other:"{{count}} päivää",futureTense:function(e){return e.replace(/päivää?/,"päivän")}},aboutXWeeks:{one:"noin viikko",other:"noin {{count}} viikkoa",futureTense:t6},xWeeks:{one:"viikko",other:"{{count}} viikkoa",futureTense:t6},aboutXMonths:{one:"noin kuukausi",other:"noin {{count}} kuukautta",futureTense:t9},xMonths:{one:"kuukausi",other:"{{count}} kuukautta",futureTense:t9},aboutXYears:{one:"noin vuosi",other:"noin {{count}} vuotta",futureTense:t8},xYears:{one:"vuosi",other:"{{count}} vuotta",futureTense:t8},overXYears:{one:"yli vuosi",other:"yli {{count}} vuotta",futureTense:t8},almostXYears:{one:"lähes vuosi",other:"lähes {{count}} vuotta",futureTense:t8}}
3,ie={date:(0,eB.buildFormatLongFn)({formats:{full:"eeee d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"d.M.y"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH.mm.ss zzzz",long:"HH.mm.ss z",medium:"HH.mm.ss",short:"HH.mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'klo' {{time}}",long:"{{date}} 'klo' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},it={lastWeek:"'viime' eeee 'klo' p",yesterday:"'eilen klo' p",today:"'tänään klo' p",tomorrow:"'huomenna klo' p",nextWeek:"'ensi' eeee 'klo' p",other:"P"},ii={narrow:["T","H","M","H","T","K","H","E","S","L","M","J"],abbreviated:["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu"],wide:["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"]},ia={narrow:ii.narrow,abbreviated:ii.abbreviated,wide:["tammikuuta","helmikuuta","maaliskuuta","huhtikuuta","toukokuuta","kesäkuuta","heinäkuuta","elokuuta","syyskuuta","lokakuuta","marraskuuta","joulukuuta"]},ir={narrow:["S","M","T","K","T","P","L"],short:["su","ma","ti","ke","to","pe","la"],abbreviated:["sunn.","maan.","tiis.","kesk.","torst.","perj.","la"],wide:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"]},io={narrow:ir.narrow,short:ir.short,abbreviated:ir.abbreviated,wide:["sunnuntaina","maanantaina","tiistaina","keskiviikkona","torstaina","perjantaina","lauantaina"]},is={ordinalNumber:(e,t)=>Number(e)+".",era:(0,ez.buildLocalizeFn)({values:{narrow:["eaa.","jaa."],abbreviated:["eaa.","jaa."],wide:["ennen ajanlaskun alkua","jälkeen ajanlaskun alun"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartaali","2. kvartaali","3. kvartaali","4. kvartaali"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:ii,defaultWidth:"wide",formattingValues:ia,defaultFormattingWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:ir,defaultWidth:"wide",formattingValues:io,defaultFormattingWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"ap",pm:"ip",midnight:"keskiyö",noon:"keskipäivä",morning:"ap",afternoon:"ip",evening:"illalla",night:"yöllä"},abbreviated:{am:"ap",pm:"ip",midnight:"keskiyö",noon:"keskipäivä",morning:"ap",afternoon:"ip",evening:"illalla",night:"yöllä"},wide:{am:"ap",pm:"ip",midnight:"keskiyöllä",noon:"keskipäivällä",morning:"aamupäivällä",afternoon:"iltapäivällä",evening:"illalla",night:"yöllä"}},defaultWidth:"wide"})},il={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(\.)/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(e|j)/i,abbreviated:/^(eaa.|jaa.)/i,wide:/^(ennen ajanlaskun alkua|jälkeen ajanlaskun alun)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^e/i,/^j/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\.? kvartaali/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[thmkeslj]/i,abbreviated:/^(tammi|helmi|maalis|huhti|touko|kesä|heinä|elo|syys|loka|marras|joulu)/i,wide:/^(tammikuu|helmikuu|maaliskuu|huhtikuu|toukokuu|kesäkuu|heinäkuu|elokuu|syyskuu|lokakuu|marraskuu|joulukuu)(ta)?/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^t/i,/^h/i,/^m/i,/^h/i,/^t/i,/^k/i,/^h/i,/^e/i,/^s/i,/^l/i,/^m/i,/^j/i],any:[/^ta/i,/^hel/i,/^maa/i,/^hu/i,/^to/i,/^k/i,/^hei/i,/^e/i,/^s/i,/^l/i,/^mar/i,/^j/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[smtkpl]/i,short:/^(su|ma|ti|ke|to|pe|la)/i,abbreviated:/^(sunn.|maan.|tiis.|kesk.|torst.|perj.|la)/i,wide:/^(sunnuntai|maanantai|tiistai|keskiviikko|torstai|perjantai|lauantai)(na)?/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^k/i,/^t/i,/^p/i,/^l/i],any:[/^s/i,/^m/i,/^ti/i,/^k/i,/^to/i,/^p/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(ap|ip|keskiyö|keski
3päivä|aamupäivällä|iltapäivällä|illalla|yöllä)/i,any:/^(ap|ip|keskiyöllä|keskipäivällä|aamupäivällä|iltapäivällä|illalla|yöllä)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^ap/i,pm:/^ip/i,midnight:/^keskiyö/i,noon:/^keskipäivä/i,morning:/aamupäivällä/i,afternoon:/iltapäivällä/i,evening:/illalla/i,night:/yöllä/i}},defaultParseWidth:"any"})},iu={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},id={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},ih={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},ic=["MMM","MMMM"],im={preprocessor:(e,t)=>1!==e.getDate()&&t.some(e=>e.isToken&&ic.includes(e.value))?t.map(e=>e.isToken&&"do"===e.value?{isToken:!0,value:"d"}:e):t,ordinalNumber:(e,t)=>{let i,a=Number(e),n=t?.unit;return 0===a?"0":(i=1===a?n&&["year","week","hour","minute","second"].includes(n)?"ère":"er":"ème",a+i)},era:(0,ez.buildLocalizeFn)({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})},ip={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janv
3ier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})},ig={lessThanXSeconds:{one:"פחות משנייה",two:"פחות משתי שניות",other:"פחות מ־{{count}} שניות"},xSeconds:{one:"שנייה",two:"שתי שניות",other:"{{count}} שניות"},halfAMinute:"חצי דקה",lessThanXMinutes:{one:"פחות מדקה",two:"פחות משתי דקות",other:"פחות מ־{{count}} דקות"},xMinutes:{one:"דקה",two:"שתי דקות",other:"{{count}} דקות"},aboutXHours:{one:"כשעה",two:"כשעתיים",other:"כ־{{count}} שעות"},xHours:{one:"שעה",two:"שעתיים",other:"{{count}} שעות"},xDays:{one:"יום",two:"יומיים",other:"{{count}} ימים"},aboutXWeeks:{one:"כשבוע",two:"כשבועיים",other:"כ־{{count}} שבועות"},xWeeks:{one:"שבוע",two:"שבועיים",other:"{{count}} שבועות"},aboutXMonths:{one:"כחודש",two:"כחודשיים",other:"כ־{{count}} חודשים"},xMonths:{one:"חודש",two:"חודשיים",other:"{{count}} חודשים"},aboutXYears:{one:"כשנה",two:"כשנתיים",other:"כ־{{count}} שנים"},xYears:{one:"שנה",two:"שנתיים",other:"{{count}} שנים"},overXYears:{one:"יותר משנה",two:"יותר משנתיים",other:"יותר מ־{{count}} שנים"},almostXYears:{one:"כמעט שנה",two:"כמעט שנתיים",other:"כמעט {{count}} שנים"}},ib={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, d בMMMM y",long:"d בMMMM y",medium:"d בMMM y",short:"d.M.y"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'בשעה' {{time}}",long:"{{date}} 'בשעה' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},iv={lastWeek:"eeee 'שעבר בשעה' p",yesterday:"'אתמול בשעה' p",today:"'היום בשעה' p",tomorrow:"'מחר בשעה' p",nextWeek:"eeee 'בשעה' p",other:"P"},iy={ordinalNumber:(e,t)=>{let i=Number(e);if(i<=0||i>10)return String(i);let a=["year","hour","minute","second"].indexOf(String(t?.unit))>=0,n=i-1;return a?["ראשונה","שנייה","שלישית","רביעית","חמישית","שישית","שביעית","שמינית","תשיעית","עשירית"][n]:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שביעי","שמיני","תשיעי","עשירי"][n]},era:(0,ez.buildLocalizeFn)({values:{narrow:["לפנה״ס","לספירה"],abbreviated:["לפנה״ס","לספירה"],wide:["לפני הספירה","לספירה"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["רבעון 1","רבעון 2","רבעון 3","רבעון 4"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["ינו׳","פבר׳","מרץ","אפר׳","מאי","יוני","יולי","אוג׳","ספט׳","אוק׳","נוב׳","דצמ׳"],wide:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],short:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],abbreviated:["יום א׳","יום ב׳","יום ג׳","יום ד׳","יום ה׳","יום ו׳","שבת"],wide:["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","יום שבת"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"},abbreviated:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"},wide:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"}},defaultWidth:"wide",formattingValues:{narrow:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"בצהריים",evening:"בערב",night:"בלילה"},abbreviated:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"אחר הצהריים",evening:"בערב",night:"בלילה"},wide:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"אחר הצהריים",evening:"בערב",night:"בלילה"}},defaultFormattingWidth:"wide"})},iw=["רא","שנ","של","רב","ח","שי","שב","שמ","ת","×¢"],iM={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+|(ראשון|שני|שלישי|רביעי|חמישי|שישי|שביעי|שמיני|תשיעי|עשירי|ראשונה|שנייה|שלישית|רביעית|חמישית|שישית|שביעית|שמינית|תשיעית|עשירית))/i,parsePattern:/^(\d+|רא|שנ|של|רב|ח|שי|שב|שמ|ת|×¢)/i,valueCallback:e=>{let t=parseInt(e,10);return isNaN(t)?iw.indexOf(e)+1:t}}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^ל(ספירה|פנה״ס)/i,abbreviated:/^ל(ספירה|פנה״ס)/i,wide:/^ל(פני ה)?ספירה/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^לפ/i,/^לס/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^רבעון [1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^\d+/i,abbreviated:/^(ינו|פבר|מרץ|אפר|מאי|יוני|יולי|אוג|ספט|אוק|נוב|דצמ)׳?/i,wide:/^(ינואר|פברואר|מרץ|אפריל|מאי|יוני|יולי|אוגוסט|ספטמבר|אוקטובר|נובמבר|דצמבר)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^1$/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ינ/i,/^פ/i,/^מר/i,/^אפ/i,/^מא/i,/^יונ/i,/^יול/i,/^אוג/i,/^ס/i,/^אוק/i,/^× /i,/^ד/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[אבגדהוש]׳/i,short:/^[אבגדהוש]׳/i,abbreviated:/^(שבת|יום (א|ב|ג|ד|ה|ו)׳)/i,wide:/^יום (ראשון|שני|שלישי|רביעי|חמישי|שישי|שבת)/i},defaultMatchWidth:"wide",parsePatterns:{abbreviated:[/א׳$/i,/ב׳$/i,/ג׳$/i,/ד×
3³$/i,/ה׳$/i,/ו׳$/i,/^ש/i],wide:[/ן$/i,/ני$/i,/לישי$/i,/עי$/i,/מישי$/i,/שישי$/i,/ת$/i],any:[/^א/i,/^ב/i,/^ג/i,/^ד/i,/^ה/i,/^ו/i,/^ש/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{any:/^(אחר ה|ב)?(חצות|צהריים|בוקר|ערב|לילה|אחה״צ|לפנה״צ)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^לפ/i,pm:/^אחה/i,midnight:/^ח/i,noon:/^צ/i,morning:/בוקר/i,afternoon:/בצ|אחר/i,evening:/ערב/i,night:/לילה/i}},defaultParseWidth:"any"})},ix={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},ik={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function iS(e){return e.toString().replace(/\d/g,function(e){return ix[e]})}let iP={ordinalNumber:(e,t)=>iS(Number(e)),era:(0,ez.buildLocalizeFn)({values:{narrow:["ईसा-पूर्व","ईस्वी"],abbreviated:["ईसा-पूर्व","ईस्वी"],wide:["ईसा-पूर्व","ईसवी सन"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["ति1","ति2","ति3","ति4"],wide:["पहली तिमाही","दूसरी तिमाही","तीसरी तिमाही","चौथी तिमाही"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["ज","फ़","मा","अ","मई","जू","जु","अग","सि","अक्टू","न","दि"],abbreviated:["जन","फ़र","मार्च","अप्रैल","मई","जून","जुल","अग","सित","अक्टू","नव","दिस"],wide:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["र","सो","मं","बु","गु","शु","श"],short:["र","सो","मं","बु","गु","शु","श"],abbreviated:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],wide:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},abbreviated:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},wide:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"}},defaultWidth:"wide",formattingValues:{narrow:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},abbreviated:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},wide:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"}},defaultFormattingWidth:"wide"})},iT={lessThanXSeconds:{one:"१ सेकंड से कम",other:"{{count}} सेकंड से कम"},xSeconds:{one:"१ सेकंड",other:"{{count}} सेकंड"},halfAMinute:"आधा मिनट",lessThanXMinutes:{one:"१ मिनट से कम",other:"{{count}} मिनट से कम"},xMinutes:{one:"१ मिनट",other:"{{count}} मिनट"},aboutXHours:{one:"लगभग १ घंटा",other:"लगभग {{count}} घंटे"},xHours:{one:"१ घंटा",other:"{{count}} घंटे"},xDays:{one:"१ दिन",other:"{{count}} दिन"},aboutXWeeks:{one:"लगभग १ सप्ताह",other:"लगभग {{count}} सप्ताह"},xWeeks:{one:"१ सप्ताह",other:"{{count}} सप्ताह"},aboutXMonths:{one:"लगभग १ महीना",other:"लगभग {{count}} महीने"},xMonths:{one:"१ महीना",other:"{{count}} महीने"},aboutXYears:{one:"लगभग १ वर्ष",other:"लगभग {{count}} वर्ष"},xYears:{one:"१ वर्ष",other:"{{count}} वर्ष"},overXYears:{one:"१ वर्ष से अधिक",other:"{{count}} वर्ष से अधिक"},almostXYears:{one:"लगभग १ वर्ष",other:"लगभग {{count}} वर्ष"}},iA={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'को' {{time}}",long:"{{date}} 'को' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},iC={lastWeek:"'पिछले' eeee p",yesterday:"'कल' p",today:"'आज' p",tomorrow:"'कल' p",nextWeek:"eeee 'को' p",other:"P"},iE={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^[०१२३४५६७८९]+/i,parsePattern:/^[०१२३४५६७८९]+/i,valueCallback:function(e){return Number(e.toString().replace(/[१२३४५६७८९०]/g,function(e){return ik[e]}))}}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(ईसा-पूर्व|ईस्वी)/i,abbreviated:/^(ईसा\.?\s?पूर्व\.?|ईसा\.?)/i,wide:/^(ईसा-पूर्व|ईसवी पूर्व|ईसवी सन|ईसवी)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^ति[1234]/i,wide:/^[1234](पहली|दूसरी|तीसरी|चौथी)? तिमाही/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[जफ़माअप्मईजूनजुअगसिअक्तनदि]/i,abbreviated:/^(जन|फ़र|मार्च|अप्|मई|जून|जुल|अ
3ग|सित|अक्तू|नव|दिस)/i,wide:/^(जनवरी|फ़रवरी|मार्च|अप्रैल|मई|जून|जुलाई|अगस्त|सितंबर|अक्तूबर|नवंबर|दिसंबर)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ज/i,/^फ़/i,/^मा/i,/^अप्/i,/^मई/i,/^जू/i,/^जु/i,/^अग/i,/^सि/i,/^अक्तू/i,/^न/i,/^दि/i],any:[/^जन/i,/^फ़/i,/^मा/i,/^अप्/i,/^मई/i,/^जू/i,/^जु/i,/^अग/i,/^सि/i,/^अक्तू/i,/^नव/i,/^दिस/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[रविसोममंगलबुधगुरुशुक्रशनि]/i,short:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,abbreviated:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,wide:/^(रविवार|सोमवार|मंगलवार|बुधवार|गुरुवार|शुक्रवार|शनिवार)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i],any:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(पू|अ|म|द.\?|सु|दो|शा|रा)/i,any:/^(पूर्वाह्न|अपराह्न|म|द.\?|सु|दो|शा|रा)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^पूर्वाह्न/i,pm:/^अपराह्न/i,midnight:/^मध्य/i,noon:/^दो/i,morning:/सु/i,afternoon:/दो/i,evening:/शा/i,night:/रा/i}},defaultParseWidth:"any"})},iL={lessThanXSeconds:{one:{standalone:"manje od 1 sekunde",withPrepositionAgo:"manje od 1 sekunde",withPrepositionIn:"manje od 1 sekundu"},dual:"manje od {{count}} sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:{standalone:"1 sekunda",withPrepositionAgo:"1 sekunde",withPrepositionIn:"1 sekundu"},dual:"{{count}} sekunde",other:"{{count}} sekundi"},halfAMinute:"pola minute",lessThanXMinutes:{one:{standalone:"manje od 1 minute",withPrepositionAgo:"manje od 1 minute",withPrepositionIn:"manje od 1 minutu"},dual:"manje od {{count}} minute",other:"manje od {{count}} minuta"},xMinutes:{one:{standalone:"1 minuta",withPrepositionAgo:"1 minute",withPrepositionIn:"1 minutu"},dual:"{{count}} minute",other:"{{count}} minuta"},aboutXHours:{one:{standalone:"oko 1 sat",withPrepositionAgo:"oko 1 sat",withPrepositionIn:"oko 1 sat"},dual:"oko {{count}} sata",other:"oko {{count}} sati"},xHours:{one:{standalone:"1 sat",withPrepositionAgo:"1 sat",withPrepositionIn:"1 sat"},dual:"{{count}} sata",other:"{{count}} sati"},xDays:{one:{standalone:"1 dan",withPrepositionAgo:"1 dan",withPrepositionIn:"1 dan"},dual:"{{count}} dana",other:"{{count}} dana"},aboutXWeeks:{one:{standalone:"oko 1 tjedan",withPrepositionAgo:"oko 1 tjedan",withPrepositionIn:"oko 1 tjedan"},dual:"oko {{count}} tjedna",other:"oko {{count}} tjedana"},xWeeks:{one:{standalone:"1 tjedan",withPrepositionAgo:"1 tjedan",withPrepositionIn:"1 tjedan"},dual:"{{count}} tjedna",other:"{{count}} tjedana"},aboutXMonths:{one:{standalone:"oko 1 mjesec",withPrepositionAgo:"oko 1 mjesec",withPrepositionIn:"oko 1 mjesec"},dual:"oko {{count}} mjeseca",other:"oko {{count}} mjeseci"},xMonths:{one:{standalone:"1 mjesec",withPrepositionAgo:"1 mjesec",withPrepositionIn:"1 mjesec"},dual:"{{count}} mjeseca",other:"{{count}} mjeseci"},aboutXYears:{one:{standalone:"oko 1 godinu",withPrepositionAgo:"oko 1 godinu",withPrepositionIn:"oko 1 godinu"},dual:"oko {{count}} godine",other:"oko {{count}} godina"},xYears:{one:{standalone:"1 godina",withPrepositionAgo:"1 godine",withPrepositionIn:"1 godinu"},dual:"{{count}} godine",other:"{{count}} godina"},overXYears:{one:{standalone:"preko 1 godinu",withPrepositionAgo:"preko 1 godinu",withPrepositionIn:"preko 1 godinu"},dual:"preko {{count}} godine",other:"preko {{count}} godina"},almostXYears:{one:{standalone:"gotovo 1 godinu",withPrepositionAgo:"gotovo 1 godinu",withPrepositionIn:"gotovo 1 godinu"},dual:"gotovo {{count}} godine",other:"gotovo {{count}} godina"}},iR={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, d. MMMM y.",long:"d. MMMM y.",medium:"d. MMM y.",short:"dd. MM. y."},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'u' {{time}}",long:"{{date}} 'u' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},iF={lastWeek:e=>{switch(e.getDay()){case 0:return"'prošlu nedjelju u' p";case 3:return"'prošlu srijedu u' p";case 6:return"'prošlu subotu u' p";default:return"'prošli' EEEE 'u' p"}},yesterday:"'jučer u' p",today:"'danas u' p",tomorrow:"'sutra u' p",nextWeek:e=>{switch(e.getDay()){case 0:return"'iduću nedjelju u' p";case 3:return"'iduću srijedu u' p";case 6:return"'iduću subotu u' p";default:return"'prošli' EEEE 'u' p"}},other:"P"},ij={ordinalNumber:(e,t)=>Number(e)+".",era:(0,ez.buildLocalizeFn)({values:{narrow:["pr.n.e.","AD"],abbreviated:["pr. Kr.","po. Kr."],wide:["Prije Krista","Poslije Krista"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1.","2.","3.","4."],abbreviated:["1. kv.","2. kv.","3. kv.","4. kv."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["sij","velj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],wide:["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"]},defaultWidth:"wide",formattingValues:{narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["sij","velj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],wide:["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca"]},defaultFormattingWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["N","P","U","S","Č","P","S"],short:["ned","pon","uto","sri","čet","pet","sub"],abbreviated:["ned","pon","uto","sri","čet","pet","sub"],wide:["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","
3subota"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"poslije podne",evening:"navečer",night:"noću"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"poslije podne",evening:"navečer",night:"noću"}},defaultFormattingWidth:"wide"})},iD={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)\./i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(pr\.n\.e\.|AD)/i,abbreviated:/^(pr\.\s?Kr\.|po\.\s?Kr\.)/i,wide:/^(Prije Krista|prije nove ere|Poslije Krista|nova era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^pr/i,/^(po|nova)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?kv\.?/i,wide:/^[1234]\. kvartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(sij|velj|(ožu|ozu)|tra|svi|lip|srp|kol|ruj|lis|stu|pro)/i,wide:/^((siječanj|siječnja|sijecanj|sijecnja)|(veljača|veljače|veljaca|veljace)|(ožujak|ožujka|ozujak|ozujka)|(travanj|travnja)|(svibanj|svibnja)|(lipanj|lipnja)|(srpanj|srpnja)|(kolovoz|kolovoza)|(rujan|rujna)|(listopad|listopada)|(studeni|studenog)|(prosinac|prosinca))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/1/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i,/8/i,/9/i,/10/i,/11/i,/12/i],abbreviated:[/^sij/i,/^velj/i,/^(ožu|ozu)/i,/^tra/i,/^svi/i,/^lip/i,/^srp/i,/^kol/i,/^ruj/i,/^lis/i,/^stu/i,/^pro/i],wide:[/^sij/i,/^velj/i,/^(ožu|ozu)/i,/^tra/i,/^svi/i,/^lip/i,/^srp/i,/^kol/i,/^ruj/i,/^lis/i,/^stu/i,/^pro/i]},defaultParseWidth:"wide"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[npusčc]/i,short:/^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i,abbreviated:/^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i,wide:/^(nedjelja|ponedjeljak|utorak|srijeda|(četvrtak|cetvrtak)|petak|subota)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{any:/^(am|pm|ponoc|ponoć|(po)?podne|navecer|navečer|noću|poslije podne|ujutro)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^pono/i,noon:/^pod/i,morning:/jutro/i,afternoon:/(poslije\s|po)+podne/i,evening:/(navece|naveče)/i,night:/(nocu|noću)/i}},defaultParseWidth:"any"})},iN={about:"körülbelül",over:"több mint",almost:"majdnem",lessthan:"kevesebb mint"},iI={xseconds:" másodperc",halfaminute:"fél perc",xminutes:" perc",xhours:" óra",xdays:" nap",xweeks:" hét",xmonths:" hónap",xyears:" év"},i_={xseconds:{"-1":" másodperccel ezelőtt",1:" másodperc múlva",0:" másodperce"},halfaminute:{"-1":"fél perccel ezelőtt",1:"fél perc múlva",0:"fél perce"},xminutes:{"-1":" perccel ezelőtt",1:" perc múlva",0:" perce"},xhours:{"-1":" órával ezelőtt",1:" óra múlva",0:" órája"},xdays:{"-1":" nappal ezelőtt",1:" nap múlva",0:" napja"},xweeks:{"-1":" héttel ezelőtt",1:" hét múlva",0:" hete"},xmonths:{"-1":" hónappal ezelőtt",1:" hónap múlva",0:" hónapja"},xyears:{"-1":" évvel ezelőtt",1:" év múlva",0:" éve"}},iB={date:(0,eB.buildFormatLongFn)({formats:{full:"y. MMMM d., EEEE",long:"y. MMMM d.",medium:"y. MMM d.",short:"y. MM. dd."},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},iO=["vasárnap","hétfőn","kedden","szerdán","csütörtökön","pénteken","szombaton"];function iW(e){return t=>{let i=iO[t.getDay()];return`${e?"":"'múlt' "}'${i}' p'-kor'`}}let iz={lastWeek:iW(!1),yesterday:"'tegnap' p'-kor'",today:"'ma' p'-kor'",tomorrow:"'holnap' p'-kor'",nextWeek:iW(!0),other:"P"},iH={ordinalNumber:(e,t)=>Number(e)+".",era:(0,ez.buildLocalizeFn)({values:{narrow:["ie.","isz."],abbreviated:["i. e.","i. sz."],wide:["Krisztus előtt","időszámításunk szerint"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1.","2.","3.","4."],abbreviated:["1. n.év","2. n.év","3. n.év","4. n.év"],wide:["1. negyedév","2. negyedév","3. negyedév","4. negyedév"]},defaultWidth:"wide",argumentCallback:e=>e-1,formattingValues:{narrow:["I.","II.","III.","IV."],abbreviated:["I. n.év","II. n.év","III. n.év","IV. n.év"],wide:["I. negyedév","II. negyedév","III. negyedév","IV. negyedév"]},defaultFormattingWidth:"wide"}),month:(0,ez.buildLocalizeFn)({values:{narrow:["J","F","M","Á","M","J","J","A","Sz","O","N","D"],abbreviated:["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec."],wide:["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["V","H","K","Sz","Cs","P","Sz"],short:["V","H","K","Sze","Cs","P","Szo"],abbreviated:["V","H","K","Sze","Cs","P","Szo"],wide:["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"du.",evening:"este",night:"éjjel"},abbreviated:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"du.",evening:"este",night:"éjjel"},wide:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"délután",evening:"este",night:"éjjel"}},defaultWidth:"wide"})},iG={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(ie\.|isz\.)/i,abbreviated:/^(i\.\s?e\.?|b?\s?c\s?e|i\.\s?sz\.?)/i,wide:/^(Krisztus előtt|időszámításunk előtt|időszámításunk szerint|i\. sz\.)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/ie/i,/isz/i],abbreviated:[/^(i\.?\s?e\.?|b\s?ce)/i,/^(i\.?\s?sz\.?|c\s?e)/i],any:[/előtt/i,/(szerint|i. sz.)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]\.?/i,abbreviated:/^[1234]?\.?\s?n\.év/i,wide:/^([1234]|I|II|III|IV)?\.?\s?negyedév/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1|I$/i,/2|II$/i,/3|III/i,/4|IV/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[jfmaásond]|sz/i,abbreviated:/^(jan\.?|febr\.?|márc\.?|ápr\.?|máj\.?|jún\.?|júl\.?|aug\.?|szept\.?|okt\.?|nov\.?|dec\.?)/i,wide:/^(január|február|március|április|május|június|július|augusztus|szeptember|október|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a|á/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s|sz/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^már/i,/^áp/i,/^máj/i,/^jún/i,/^júl/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^([vhkpc]|sz|cs|sz)/i,short:/^([vhkp]|sze|cs|szo)/i,abbreviated:/^([vhkp]|sze|cs|szo)/i,wide:/^(vasárnap|hétfő|kedd|szerda|csütörtök|péntek|szombat)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^v/i,/^h/i,/^k/i,/^sz/i,/^c/i,/^p/i,/^sz/i],any:[/^v/i,/^h/i,/^k/i,/^sze/i,/^c/i,/^p/i,/^szo/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{any:/^((de|du)\.?|éjfél|délután|dél|reggel|este|éjjel)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^de\.?/i,pm:/^du\.?/i,midnight:/^éjf/i,noon:/^dé/i,morning:/reg/i,afternoon:/^délu\.?/i,evening:/es/i,night:/éjj/i}},defaultParseWidth:"any"})},iU={lessThanXSeconds:{one:"kurang dari 1 detik",other:"kurang dari {{count}} detik"},xSeconds:{one:"1 detik",other:"{{count}} detik"},halfAMinute:"setengah menit",lessThanXMinutes:{one:"kurang dari 1 menit",other:"kurang dari {{count}} menit"},xMinutes:{one:"1 menit",other:"{{count}} menit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},iV={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},iK={lastWeek:"eeee 'lalu pukul' p",yesterday:"'Kemarin pukul' p",today:"'Hari ini pukul' p",tomorrow:"'Besok pukul' p",nextWeek:"eeee 'pukul' p",other:"P"},iq={code:"id",formatDistance:(e,t,i)=>{let a,n=iU[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",t.toString()),i?.addSuffix)if(i.comparison&&i.comparison>0)return"dalam waktu "+a;else return a+" yang lalu";return a},formatLong:iV,formatRelative:(e,t,i,a)=>iK[e],localize:{ordinalNumber:(e,t)=>"ke-"+Number(e),era:(0,ez.buildLocalizeFn)({values:{narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masehi","Masehi"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["Kuartal ke-1","Kuartal ke-2","Kuartal ke-3","Kuartal ke-4"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agt","Sep","Okt","Nov","Des"],wide:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["M","S","S","R","K","J","S"],short:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],abbreviated:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],wide:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^ke-(\d+)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i,wide:/^(sebelum masehi|sebelum era umum|masehi|era umum)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^s/i,/^(m|e)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^K-?\s[1234]/i,wide:/^Kuartal ke-?\s?[1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,wide:/^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[srkjm]/i,short:/^(min|sen|sel|rab|kam|jum|sab)/i,abbreviated:/^(min|sen|sel|rab|kam|jum|sab)/i,wide:/^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^m/i,/^s/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^m/i,/^sen/i,/^sel/i,/^r/i,/^k/i,/^j/i,/^sa
3/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pagi/i,afternoon:/siang/i,evening:/sore/i,night:/malam/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}},iY={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},iX={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},i$=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function iZ(e){return"'"+i$[e]+" alle' p"}let iQ={lastWeek:(e,t,i)=>{let a=e.getDay();return eZ(e,t,i)?iZ(a):0===a?"'domenica scorsa alle' p":"'"+i$[a]+" scorso alle' p"},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:(e,t,i)=>{let a=e.getDay();return eZ(e,t,i)?iZ(a):0===a?"'domenica prossima alle' p":"'"+i$[a]+" prossimo alle' p"},other:"P"},iJ={ordinalNumber:(e,t)=>String(Number(e)),era:(0,ez.buildLocalizeFn)({values:{narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},defaultWidth:"wide",formattingValues:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},defaultFormattingWidth:"wide"})},i0={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^a/i,/^(d|e)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|
3set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},defaultParseWidth:"any"})},i1={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},i2={date:(0,eB.buildFormatLongFn)({formats:{full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},i3={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},i4={code:"ja",formatDistance:(e,t,i)=>{let a;i=i||{};let n=i1[e];if(a="string"==typeof n?n:1===t?i.addSuffix&&n.oneWithSuffix?n.oneWithSuffix:n.one:i.addSuffix&&n.otherWithSuffix?n.otherWithSuffix.replace("{{count}}",String(t)):n.other.replace("{{count}}",String(t)),i.addSuffix)if(i.comparison&&i.comparison>0)return a+"後";else return a+"前";return a},formatLong:i2,formatRelative:(e,t,i,a)=>i3[e],localize:{ordinalNumber:(e,t)=>{let i=Number(e);switch(String(t?.unit)){case"year":return`${i}年`;case"quarter":return`第${i}四半期`;case"month":return`${i}月`;case"week":return`第${i}週`;case"date":return`${i}日`;case"hour":return`${i}時`;case"minute":return`${i}分`;case"second":return`${i}秒`;default:return`${i}`}},era:(0,ez.buildLocalizeFn)({values:{narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultWidth:"wide",formattingValues:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},defaultMatchWidth:"wide",parsePatterns:{any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},i5={lessThanXSeconds:"តិចជាង {{count}} វិនាទី",xSeconds:"{{count}} វិនាទី",halfAMinute:"កន្លះនាទី",lessThanXMinutes:"តិចជាង {{count}} នាទី",xMinutes:"{{count}} នាទី",aboutXHours:"ប្រហែល {{count}}
3 ម៉ោង",xHours:"{{count}} ម៉ោង",xDays:"{{count}} ថ្ងៃ",aboutXWeeks:"ប្រហែល {{count}} សប្តាហ៍",xWeeks:"{{count}} សប្តាហ៍",aboutXMonths:"ប្រហែល {{count}} ខែ",xMonths:"{{count}} ខែ",aboutXYears:"ប្រហែល {{count}} ឆ្នាំ",xYears:"{{count}} ឆ្នាំ",overXYears:"ជាង {{count}} ឆ្នាំ",almostXYears:"ជិត {{count}} ឆ្នាំ"},i6={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"h:mm:ss a",long:"h:mm:ss a",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'ម៉ោង' {{time}}",long:"{{date}} 'ម៉ោង' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},i9={lastWeek:"'ថ្ងៃ'eeee'ស​ប្តា​ហ៍​មុនម៉ោង' p",yesterday:"'ម្សិលមិញនៅម៉ោង' p",today:"'ថ្ងៃនេះម៉ោង' p",tomorrow:"'ថ្ងៃស្អែកម៉ោង' p",nextWeek:"'ថ្ងៃ'eeee'ស​ប្តា​ហ៍​ក្រោយម៉ោង' p",other:"P"},i8={ordinalNumber:(e,t)=>Number(e).toString(),era:(0,ez.buildLocalizeFn)({values:{narrow:["ម.គស","គស"],abbreviated:["មុនគ.ស","គ.ស"],wide:["មុនគá
3Ÿ’រិស្តសករាជ","នៃគ្រិស្តសករាជ"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["ត្រីមាសទី 1","ត្រីមាសទី 2","ត្រីមាសទី 3","ត្រីមាសទី 4"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["ម.ក","ក.ម","មិ","ម.ស","ឧ.ស","ម.ថ","ក.ដ","សី","កញ","តុ","វិ","ធ"],abbreviated:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],wide:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["អា","ច","អ","ព","ព្រ","សុ","ស"],short:["អា","ច","អ","ព","ព្រ","សុ","ស"],abbreviated:["អា","ច","អ","ព","ព្រ","សុ","ស"],wide:["អាទិត្យ","ចន្ទ","អង្គារ","ពុធ","ព្រហស្បតិ៍","សុក្រ","សៅរ៍"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"ព្រឹក",pm:"ល្ងាច",midnight:"​ពេលកណ្ដាលអធ្រាត្រ",noon:"ពេលថ្ងៃត្រង់",morning:"ពេលព្រឹក",afternoon:"ពេលរសៀល",evening:"ពេលល្ងាច",night:"ពេលយប់"},abbreviated:{am:"ព្រឹក",pm:"ល្ងាច",midnight:"​ពេលកណ្ដាលអធ្រាត្រ",noon:"ពេលថ្ងៃត្រង់",morning:"ពេលព្រឹក",afternoon:"ពេលរសៀល",evening:"ពេលល្ងាច",night:"ពេលយប់"},wide:{am:"ព្រឹក",pm:"ល្ងាច",midnight:"​ពេលកណ្ដាលអធ្រាត្រ",noon:"ពេលថ្ងៃត្រង់",morning:"ពេលព្រឹក",afternoon:"ពេលរសៀល",evening:"ពេលល្ងាច",night:"ពេលយប់"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ព្រឹក",pm:"ល្ងាច",midnight:"​ពេលកណ្ដាលអធ្រាត្រ",noon:"ពេលថ្ងៃត្រង់",morning:"ពេលព្រឹក",afternoon:"ពេលរសៀល",evening:"ពេលល្ងាច",night:"ពេលយប់"},abbreviated:{am:"ព្រឹក",pm:"ល្ងាច",midnight:"​ពេលកណ្ដាលអធ្រាត្រ",noon:"ពេលថ្ងៃត្រង់",morning:"ពេលព្រឹក",afternoon:"ពេលរសៀល",evening:"ពេលល្ងាច",night:"ពេលយប់"},wide:{am:"ព្រឹក",pm:"ល្ងាច",midnight:"​ពេលកណ្ដាលអធ្រាត្រ",noon:"ពេលថ្ងៃត្រង់",morning:"ពេលព្រឹក",afternoon:"ពេលរសៀល",evening:"ពេលល្ងាច",night:"ពេលយប់"}},defaultFormattingWidth:"wide"})},i7={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(ម\.)?គស/i,abbreviated:/^(មុន)?គ\.ស/i,wide:/^(មុន|នៃ)គ្រិស្តសករាជ/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(ម|មុន)គ\.?ស/i,/^(នៃ)?គ\.?ស/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^(ត្រីមាស)(ទី)?\s?[1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(ម\.ក|ក\.ម|មិ|ម\.ស|ឧ\.ស|ម\.ថ|ក\.ដ|សី|កញ|តុ|វិ|ធ)/i,abbreviated:/^(មករា|កុម្ភៈ|មីនា|មេសា|ឧសភា|មិថុនា|កក្កដា|សីហា|កញ្ញា|តុលា|វិច្ឆិកា|ធ្នូ)/i,wide:/^(មករា|កុម្ភៈ|មីនា|មេសា|ឧសភា|មិថុនា|កក្កដា|សីហា|កញ្ញា|តុលា|វិច្ឆិកា|ធ្នូ)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ម\.ក/i,/^ក\.ម/i,/^មិ/i,/^ម\.ស/i,/^ឧ\.ស/i,/^ម\.ថ/i,/^ក\.ដ/i,/^សី/i,/^កញ/i,/^តុ/i,/^វិ/i,/^ធ/i],any:[/^មក/i,/^កុ/i,/^មីន/i,/^មេ/i,/^ឧស/i,/^មិថ/i,/^កក/i,/^សី/i,/^កញ/i,/^តុ/i,/^វិច/i,/^ធ/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(អា|ច|អ|ព|ព្រ|សុ|ស)/i,short:/^(អា|ច|អ|ព|ព្រ|សុ|ស)/i,abbreviated:/^(អា|ច|អ|ព|ព្រ|សុ|ស)/i,wide:/^(អាទិត្យ|ចន្ទ|អង្គារ|ពុធ|ព្រហស្បតិ៍|សុក្រ|សៅរ៍)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^អា/i,/^ច/i,/^អ/i,/^ព/i,/^ព្រ/i,/^សុ/i,/^ស/i],any:[/^អា/i,/^ច/i,/^អ/i,/^ព/i,/^ព្រ/i,/^សុ/i,/^សៅ/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(ព្រឹក|ល្ងាច|ពេលព្រឹក|ពេលថ្ងៃត្រង់|ពេលល្ងាច|ពេលរសៀល|ពេលយប់|ពេលកណ្ដាលអធ្រាត្រ)/i,any:/^(ព្រឹក|ល្ងាច|ពេលព្រឹក|ពេលថ្ងៃត្រង់|ពេលល្ងាច|ពេលរសៀល|ពេលយប់|ពេលកណ្ដាលអធ្រាត្រ)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^ព្រឹក/i,pm:/^ល្ងាច/i,midnight:/^ពេលកណ្ដាលអធ្រាត្រ/i,noon:/^ពេលថ្ងៃត្រង់/i,morning:/ពេលព្រឹក/i,afternoon:/ពេលរសៀល/i,evening:/ពេលល្ងាច/i,night:/ពេលយប់/i}},defaultParseWidth:"any"})},ae={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},at={date:(0,eB.buildFormatLongFn)({formats:{full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},ai={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},aa={ordinalNumber:(e,t)=>{let i=Number(e);switch(String(t?.unit)){case"minute":case"second":return String(i);case"date":return i+"일";default:return i+"번째"}},era:(0,ez.buildLocalizeFn)({values:{narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"ë°¤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"ë°¤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"ë°¤"}},defaultWidth:"wide",formattingValues:{narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"ë°¤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"ë°¤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"ë°¤"}},defaultFormattingWidth:"wide"})},an={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(일|번째)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(bc|기원전)/i,/^(ad|서기)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},defaultMatchWidth:"wide",parsePatterns:{any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{any:/^(am|pm|오전|오후|자
3정|정오|아침|저녁|밤)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},defaultParseWidth:"any"})},ar={xseconds_other:"sekundė_sekundžių_sekundes",xminutes_one:"minutė_minutės_minutę",xminutes_other:"minutės_minučių_minutes",xhours_one:"valanda_valandos_valandą",xhours_other:"valandos_valandų_valandas",xdays_one:"diena_dienos_dieną",xdays_other:"dienos_dienų_dienas",xweeks_one:"savaitė_savaitės_savaitę",xweeks_other:"savaitės_savaičių_savaites",xmonths_one:"mėnuo_mėnesio_mėnesį",xmonths_other:"mėnesiai_mėnesių_mėnesius",xyears_one:"metai_metų_metus",xyears_other:"metai_metų_metus",about:"apie",over:"daugiau nei",almost:"beveik",lessthan:"mažiau nei"},ao=(e,t,i,a)=>t?a?"kelių sekundžių":"kelias sekundes":"kelios sekundės",as=(e,t,i,a)=>t?a?ad(i)[1]:ad(i)[2]:ad(i)[0],al=(e,t,i,a)=>{let n=e+" ";return 1===e?n+as(e,t,i,a):t?a?n+ad(i)[1]:n+(au(e)?ad(i)[1]:ad(i)[2]):n+(au(e)?ad(i)[1]:ad(i)[0])};function au(e){return e%10==0||e>10&&e<20}function ad(e){return ar[e].split("_")}let ah={lessThanXSeconds:{one:ao,other:al},xSeconds:{one:ao,other:al},halfAMinute:"pusė minutės",lessThanXMinutes:{one:as,other:al},xMinutes:{one:as,other:al},aboutXHours:{one:as,other:al},xHours:{one:as,other:al},xDays:{one:as,other:al},aboutXWeeks:{one:as,other:al},xWeeks:{one:as,other:al},aboutXMonths:{one:as,other:al},xMonths:{one:as,other:al},aboutXYears:{one:as,other:al},xYears:{one:as,other:al},overXYears:{one:as,other:al},almostXYears:{one:as,other:al}},ac={date:(0,eB.buildFormatLongFn)({formats:{full:"y 'm'. MMMM d 'd'., EEEE",long:"y 'm'. MMMM d 'd'.",medium:"y-MM-dd",short:"y-MM-dd"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},am={lastWeek:"'Praėjusį' eeee p",yesterday:"'Vakar' p",today:"'Šiandien' p",tomorrow:"'Rytoj' p",nextWeek:"eeee p",other:"P"},af={ordinalNumber:(e,t)=>Number(e)+"-oji",era:(0,ez.buildLocalizeFn)({values:{narrow:["pr. Kr.","po Kr."],abbreviated:["pr. Kr.","po Kr."],wide:["prieš Kristų","po Kristaus"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["I ketv.","II ketv.","III ketv.","IV ketv."],wide:["I ketvirtis","II ketvirtis","III ketvirtis","IV ketvirtis"]},defaultWidth:"wide",formattingValues:{narrow:["1","2","3","4"],abbreviated:["I k.","II k.","III k.","IV k."],wide:["I ketvirtis","II ketvirtis","III ketvirtis","IV ketvirtis"]},defaultFormattingWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["S","V","K","B","G","B","L","R","R","S","L","G"],abbreviated:["saus.","vas.","kov.","bal.","geg.","birž.","liep.","rugp.","rugs.","spal.","lapkr.","gruod."],wide:["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis"]},defaultWidth:"wide",formattingValues:{narrow:["S","V","K","B","G","B","L","R","R","S","L","G"],abbreviated:["saus.","vas.","kov.","bal.","geg.","birž.","liep.","rugp.","rugs.","spal.","lapkr.","gruod."],wide:["sausio","vasario","kovo","balandžio","gegužės","birželio","liepos","rugpjūčio","rugsėjo","spalio","lapkričio","gruodžio"]},defaultFormattingWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["S","P","A","T","K","P","Š"],short:["Sk","Pr","An","Tr","Kt","Pn","Št"],abbreviated:["sk","pr","an","tr","kt","pn","št"],wide:["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"]},defaultWidth:"wide",formattingValues:{narrow:["S","P","A","T","K","P","Š"],short:["Sk","Pr","An","Tr","Kt","Pn","Št"],abbreviated:["sk","pr","an","tr","kt","pn","št"],wide:["sekmadienį","pirmadienį","antradienį","trečiadienį","ketvirtadienį","penktadienį","šeštadienį"]},defaultFormattingWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"pr. p.",pm:"pop.",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"},abbreviated:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"},wide:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"}},defaultWidth:"wide",formattingValues:{narrow:{am:"pr. p.",pm:"pop.",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"},abbreviated:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"},wide:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"}},defaultFormattingWidth:"wide"})},ap={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(-oji)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^p(r|o)\.?\s?(kr\.?|me)/i,abbreviated:/^(pr\.\s?(kr\.|m\.\s?e\.)|po\s?kr\.|mūsų eroje)/i,wide:/^(prieš Kristų|prieš mūsų erą|po Kristaus|mūsų eroje)/i},defaultMatchWidth:"wide",parsePatterns:{wide:[/prieš/i,/(po|mūsų)/i],any:[/^pr/i,/^(po|m)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^([1234])/i,abbreviated:/^(I|II|III|IV)\s?ketv?\.?/i,wide:/^(I|II|III|IV)\s?ketvirtis/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/1/i,/2/i,/3/i,/4/i],any:[/I$/i,/II$/i,/III/i,/IV/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[svkbglr]/i,abbreviated:/^(saus\.|vas\.|kov\.|bal\.|geg\.|birž\.|liep\.|rugp\.|rugs\.|spal\.|lapkr\.|gruod\.)/i,wide:/^(sausi(s|o)|vasari(s|o)|kov(a|o)s|balandž?i(s|o)|gegužės?|birželi(s|o)|liep(a|os)|rugpjū(t|č)i(s|o)|rugsėj(is|o)|spali(s|o)|lapkri(t|č)i(s|o)|gruodž?i(s|o))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^v/i,/^k/i,/^b/i,/^g/i,/^b/i,/^l/i,/^r/i,/^r/i,/^s/i,/^l/i,/^g/i],any:[/^saus/i,/^vas/i,/^kov/i,/^bal/i,/^geg/i,/^birž/i,/^liep/i,/^rugp/i,/^rugs/i,/^spal/i,/^lapkr/i,/^gruod/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[spatkš]/i,short:/^(sk|pr|an|tr|kt|pn|št)/i,abbreviated:/^(sk|pr|an|tr|kt|pn|št)/i,wide:/^(sekmadien(is|į)|pirmadien(is|į)|antradien(is|į)|trečiadien(is|į)|ketvirtadien(is|į)|penktadien(is|į)|šeštadien(is|į))/i}
3,defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^p/i,/^a/i,/^t/i,/^k/i,/^p/i,/^š/i],wide:[/^se/i,/^pi/i,/^an/i,/^tr/i,/^ke/i,/^pe/i,/^še/i],any:[/^sk/i,/^pr/i,/^an/i,/^tr/i,/^kt/i,/^pn/i,/^št/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(pr.\s?p.|pop.|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i,any:/^(priešpiet|popiet$|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i},defaultMatchWidth:"any",parsePatterns:{narrow:{am:/^pr/i,pm:/^pop./i,midnight:/^vidurnaktis/i,noon:/^(vidurdienis|perp)/i,morning:/rytas/i,afternoon:/(die|popietė)/i,evening:/vakaras/i,night:/naktis/i},any:{am:/^pr/i,pm:/^popiet$/i,midnight:/^vidurnaktis/i,noon:/^(vidurdienis|perp)/i,morning:/rytas/i,afternoon:/(die|popietė)/i,evening:/vakaras/i,night:/naktis/i}},defaultParseWidth:"any"})},ag={lessThanXSeconds:{one:"секунд хүрэхгүй",other:"{{count}} секунд хүрэхгүй"},xSeconds:{one:"1 секунд",other:"{{count}} секунд"},halfAMinute:"хагас минут",lessThanXMinutes:{one:"минут хүрэхгүй",other:"{{count}} минут хүрэхгүй"},xMinutes:{one:"1 минут",other:"{{count}} минут"},aboutXHours:{one:"ойролцоогоор 1 цаг",other:"ойролцоогоор {{count}} цаг"},xHours:{one:"1 цаг",other:"{{count}} цаг"},xDays:{one:"1 өдөр",other:"{{count}} өдөр"},aboutXWeeks:{one:"ойролцоогоор 1 долоо хоног",other:"ойролцоогоор {{count}} долоо хоног"},xWeeks:{one:"1 долоо хоног",other:"{{count}} долоо хоног"},aboutXMonths:{one:"ойролцоогоор 1 сар",other:"ойролцоогоор {{count}} сар"},xMonths:{one:"1 сар",other:"{{count}} сар"},aboutXYears:{one:"ойролцоогоор 1 жил",other:"ойролцоогоор {{count}} жил"},xYears:{one:"1 жил",other:"{{count}} жил"},overXYears:{one:"1 жил гаран",other:"{{count}} жил гаран"},almostXYears:{one:"бараг 1 жил",other:"бараг {{count}} жил"}},ab={date:(0,eB.buildFormatLongFn)({formats:{full:"y 'оны' MMMM'ын' d, EEEE 'гараг'",long:"y 'оны' MMMM'ын' d",medium:"y 'оны' MMM'ын' d",short:"y.MM.dd"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},av={lastWeek:"'өнгөрсөн' eeee 'гарагийн' p 'цагт'",yesterday:"'өчигдөр' p 'цагт'",today:"'өнөөдөр' p 'цагт'",tomorrow:"'маргааш' p 'цагт'",nextWeek:"'ирэх' eeee 'гарагийн' p 'цагт'",other:"P"},ay={ordinalNumber:(e,t)=>String(e),era:(0,ez.buildLocalizeFn)({values:{narrow:["НТӨ","НТ"],abbreviated:["НТӨ","НТ"],wide:["нийтийн тооллын өмнөх","нийтийн тооллын"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["I","II","III","IV"],abbreviated:["I улирал","II улирал","III улирал","IV улирал"],wide:["1-р улирал","2-р улирал","3-р улирал","4-р улирал"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII"],abbreviated:["1-р сар","2-р сар","3-р сар","4-р сар","5-р сар","6-р сар","7-р сар","8-р сар","9-р сар","10-р сар","11-р сар","12-р сар"],wide:["Нэгдүгээр сар","Хоёрдугаар сар","Гуравдугаар сар","Дөрөвдүгээр сар","Тавдугаар сар","Зургаадугаар сар","Долоодугаар сар","Наймдугаар сар","Есдүгээр сар","Аравдугаар сар","Арваннэгдүгээр сар","Арван хоёрдугаар сар"]},defaultWidth:"wide",formattingValues:{narrow:["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII"],abbreviated:["1-р сар","2-р сар","3-р сар","4-р сар","5-р сар","6-р сар","7-р сар","8-р сар","9-р сар","10-р сар","11-р сар","12-р сар"],wide:["нэгдүгээр сар","хоёрдугаар сар","гуравдугаар сар","дөрөвдүгээр сар","тавдугаар сар","зургаадугаар сар","долоодугаар сар","наймдугаар сар","есдүгээр сар","аравдугаар сар","арваннэгдүгээр сар","арван хоёрдугаар сар"]},defaultFormattingWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["Н","Д","М","Л","П","Б","Б"],short:["Ня","Да","Мя","Лх","Пү","Ба","Бя"],abbreviated:["Ням","Дав","Мяг","Лха","Пүр","Баа","Бям"],wide:["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"]},defaultWidth:"wide",formattingValues:{narrow:["Н","Д","М","Л","П","Б","Б"],short:["Ня","Да","Мя","Лх","Пү","Ба","Бя"],abbreviated:["Ням","Дав","Мяг","Лха","Пүр","Баа","Бям"],wide:["ням","даваа","мягмар","лхагва","пүрэв","баасан","бямба"]},defaultFormattingWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"ү.ө.",pm:"ү.х.",midnight:"шөнө дунд",noon:"үд дунд",morning:"өглөө",afternoon:"өдөр",evening:"орой",night:"шөнө"},abbreviated:{am:"ү.ө.",pm:"ү.х.",midnight:"шөнө дунд",noon:"үд дунд",morning:"өглөө",afternoon:"өдөр",evening:"орой",night:"шөнө"},wide:{am:"ү.ө.",pm:"ү.х.",midnight:"шөнө дунд",noon:"үд дунд",morning:"өглөө",afternoon:"өдөр",evening:"орой",night:"шөнө"}},defaultWidth:"wide"})},aw={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/\d+/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(нтө|нт)/i,abbreviated:/^(нтө|нт)/i,wide:/^(нийтийн тооллын өмнө|нийтийн тооллын)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(нтө|нийтийн тооллын өмнө)/i,/^(нт|нийтийн тооллын)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(iv|iii|ii|i)/i,abbreviated:/^(iv|iii|ii|i) улирал/i,wide:/^[1-4]-р улирал/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(i(\s|$)|1)/i,/^(ii(\s|$)|2)/i,/^(iii(\s|$)|3)/i,/^(iv(\s|$)|4)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(xii|xi|x|ix|viii|vii|vi|v|iv|iii|ii|i)/i,abbreviated:/^(1-р сар|2-р сар|3-р сар|4-р сар|5-р сар|6-р сар|7-р сар|8-р сар|9-р сар|10-р сар|11-р сар|12-р сар)/i,wide:/^(нэгдүгээр сар|хоёрдугаар сар|гуравдугаар сар|дөрөвдүгээр сар|тавдугаар сар|зургаадугаар сар|долоодугаар сар|наймдугаар сар|есдүгээр сар|аравдугаар сар|арван нэгдүгээр сар|арван хоёрдугаар сар)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^i$/i,/^ii$/i,/^iii$/i,/^iv$/i,/^v$/i,/^vi$/i,/^vii$/i,/^viii$/i,/^ix$/i,/^x$/i,/^xi$/i,/^xii$/i],any:[/^(1|нэгдүгээр)/i,/^(2|хоёрдугаар)/i,/^(3|гуравдугаар)/i,/^(4|дөрөвдүгээр)/i,/^(5|тавдугаар)/i,/^(6|зургаадугаар)/i,/^(7|долоодугаар)/i,/^(8|наймдугаар)/i,/^(9|есдүгээр)/i,/^(10|аравдугаар)/i,/^(11|арван нэгдүгээр)/i,/^(12|арван хоёрдугаар)/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[ндмлпбб]/i,short:/^(ня|да|мя|лх|пү|ба|бя)/i,abbreviated:/^(ням|дав|мяг|лха|пүр|баа|бям)/i,wide:/^(ням|даваа|мягмар|лхагва|пүрэв|баасан|бямба)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^н/i,/^д/i,/^м/i,/^л/i,/^п/i,/^б/i,/^б/i],any:[/^ня/i,/^да/i,/^мя/i,/^лх/i,/^пү/i,/^ба/i,/^бя/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(ү\.ө\.|ү\.х\.|шөнө дунд|үд дунд|өглөө|өдөр|орой|шөнө)/i,any:/^(ү\.ө\.|ү\.х\.|шөнө дунд|үд дунд|өглөө|өдөр|орой|шөнө)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^ү\.ө\./i,pm:/^ү\.х\./i,midnight:/^шөнө дунд/i,noon:/^үд дунд/i,morning:/өглөө/i,afternoon:/өдөр/i,evening:/орой/i,night:/шөнө/i}},defaultParseWidth:"any"})},aM={lessThanXSeconds:{one:"kurang dari 1 saat",other:"kurang dari {{count}} saat"},xSeconds:{one:"1 saat",other:"{{count}} saat"},halfAMinute:"setengah minit",lessThanXMinutes:{one:"kurang dari 1 minit",other:"kurang dari {{count}} minit"},xMinutes:{one:"1 minit",other:"{{count}} minit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},ax={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},ak={lastWeek:"eeee 'lepas pada jam' p",yesterday:"'Semalam pada jam' p",today:"'Hari ini pada jam' p",tomorrow:"'Esok pada jam' p",nextWeek:"eeee 'pada jam' p",other:"P"},aS={ordinalNumber:(e,t)=>"ke-"+Number(e),era:(0,ez.buildLocalizeFn)({values:{narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masihi","Masihi"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["S1","S2","S3","S4"],wide:["Suku pertama","Suku kedua","Suku ketiga","Suku keempat"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["J","F","M","A","M","J","J","O","S","O","N","D"],abbreviated:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],wide:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["A","I","S","R","K","J","S"],short:["Ahd","Isn","Sel","Rab","Kha","Jum","Sab"],abbreviated:["Ahd","Isn","Sel","Rab","Kha","Jum","Sab"],wide:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"am",pm:"pm",midnight:"tgh malam",noon:"tgh hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},wide:{am:"a.m.",pm:"p.m.",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"}},defaultWidth:"wide",formattingValues:{narrow:{am:"am",pm:"pm",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},wide:{am:"a.m.",pm:"p.m.",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"}},defaultFormattingWidth:"wide"})},aP={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^ke-(\d+)?/i,parsePattern:/petama|\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|m\.?)/i,wide:/^(sebelum masihi|masihi)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^s/i,/^(m)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^S[1234]/i,wide:/Suku (pertama|kedua|ketiga|keempat)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/pertama|1/i,/kedua|2/i,/ketiga|3/i,/keempat|4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mac|apr|mei|jun|jul|ogo|sep|okt|nov|dis)/i,wide:/^(januari|februari|mac|april|mei|jun|julai|ogos|september|oktober|november|disember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^o/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^og/i,/^s/i,/^ok/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[aisrkj]/i,short:/^(ahd|isn|sel|rab|kha|jum|sab)/i,abbreviated:/^(ahd|isn|sel|rab|kha|jum|sab)/i,wide:/^(ahad|isnin|selasa|rabu|khamis|jumaat|sabtu)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^a/i,/^i/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^a/i,/^i/i,/^se/i,/^r/i,/^k/i,/^j/i,/^sa
3/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(am|pm|tengah malam|tengah hari|pagi|petang|malam)/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|pagi|petang|malam)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pa/i,afternoon:/tengah h/i,evening:/pe/i,night:/m/i}},defaultParseWidth:"any"})},aT={lessThanXSeconds:{one:"mindre enn ett sekund",other:"mindre enn {{count}} sekunder"},xSeconds:{one:"ett sekund",other:"{{count}} sekunder"},halfAMinute:"et halvt minutt",lessThanXMinutes:{one:"mindre enn ett minutt",other:"mindre enn {{count}} minutter"},xMinutes:{one:"ett minutt",other:"{{count}} minutter"},aboutXHours:{one:"omtrent en time",other:"omtrent {{count}} timer"},xHours:{one:"en time",other:"{{count}} timer"},xDays:{one:"en dag",other:"{{count}} dager"},aboutXWeeks:{one:"omtrent en uke",other:"omtrent {{count}} uker"},xWeeks:{one:"en uke",other:"{{count}} uker"},aboutXMonths:{one:"omtrent en måned",other:"omtrent {{count}} måneder"},xMonths:{one:"en måned",other:"{{count}} måneder"},aboutXYears:{one:"omtrent ett år",other:"omtrent {{count}} år"},xYears:{one:"ett år",other:"{{count}} år"},overXYears:{one:"over ett år",other:"over {{count}} år"},almostXYears:{one:"nesten ett år",other:"nesten {{count}} år"}},aA={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},aC={lastWeek:"'forrige' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},aE={ordinalNumber:(e,t)=>Number(e)+".",era:(0,ez.buildLocalizeFn)({values:{narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","mai","juni","juli","aug.","sep.","okt.","nov.","des."],wide:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn","man","tir","ons","tor","fre","lør"],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"a",pm:"p",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morgenen",afternoon:"på ettermiddagen",evening:"på kvelden",night:"på natten"}},defaultWidth:"wide"})},aL={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,abbreviated:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,wide:/^(før Kristus|før vår tid|etter Kristus|vår tid)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^f/i,/^e/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,wide:/^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[smtofl]/i,short:/^(sø|ma|ti|on|to|fr|lø)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a(\.?\s?m\.?)?$/i,pm:/^p(\.?\s?m\.?)?$/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgen/i,afternoon:/ettermiddag/i,evening:/kveld/i,night:/natt/i}},defaultParseWidth:"any"})},aR={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},aF={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},aj={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},aD={ordinalNumber:(e,t)=>Number(e)+"e",era:(0,ez.buildLocalizeFn)({values:{narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},defaultWidth:"wide"})},aN={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)e?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/,/^n/]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},defaultParseWidth:"any"})},aI={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godziny",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"około tygodnia",twoFour:"około {{count}} tygodni",other:"około {{count}} tygodni"},xWeeks:{one:"tydzień",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function a_(e,t,i){let a=function(e,t){if(1===t)return e.one;let i=t%100;if(i<=20&&i>10)return e.other;let a=i%10;return a>=2&&a<=4?e.twoFour:e.other}(e,t);return("string"==typeof a?a:a[i]).replace("{{count}}",String(t))}let aB={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},aO={masculine:"ostatni",feminine:"ostatnia"},aW={masculine:"ten",feminine:"ta"},az={masculine:"następny",feminine:"następna"},aH={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function aG(e,t,i,a){let n;if(eZ(t,i,a))n=aW;else if("lastWeek"===e)n=aO;else if("nextWeek"===e)n=az;else throw Error(`Cannot determine adjectives for token ${e}`);let r=n[aH[t.getDay()]];return`'${r}' eeee 'o' p`}let aU={lastWeek:aG,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:aG,other:"P"},aV={ordinalNumber:(e,t)=>String(e),era:(0,ez.buildLocalizeFn)({values:{narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","
3naszej ery"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},defaultWidth:"wide",formattingValues:{narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia"]},defaultFormattingWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["N","P","W","Ś","C","P","S"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},defaultWidth:"wide",formattingValues:{narrow:["n","p","w","ś","c","p","s"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},defaultFormattingWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"a",pm:"p",midnight:"półn.",noon:"poł",morning:"rano",afternoon:"popoł.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"o półn.",noon:"w poł.",morning:"rano",afternoon:"po poł.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"}},defaultFormattingWidth:"wide"})},aK={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p/i,/^n/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i}
3,defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},defaultMatchWidth:"any",parsePatterns:{narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},defaultParseWidth:"any"})},aq={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"aproximadamente 1 semana",other:"aproximadamente {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"aproximadamente 1 mês",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},aY={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},aX={lastWeek:e=>{let t=e.getDay();return"'"+(0===t||6===t?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},a$={ordinalNumber:(e,t)=>Number(e)+"º",era:(0,ez.buildLocalizeFn)({values:{narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["d","s","t","q","q","s","s"],short:["dom","seg","ter","qua","qui","sex","sáb"],abbreviated:["dom","seg","ter","qua","qui","sex","sáb"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"}},defaultFormattingWidth:"wide"})},aZ={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(º|ª)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era comum|depois de cristo|era comum)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|març
3o|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ab/i,/^mai/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[dstq]/i,short:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,wide:/^(domingo|segunda-?\s?feira|terça-?\s?feira|quarta-?\s?feira|quinta-?\s?feira|sexta-?\s?feira|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^s/i,/^t/i,/^q/i,/^q/i,/^s/i,/^s/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[áa]/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(a|p|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i,any:/^([ap]\.?\s?m\.?|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^meia/i,noon:/^meio/i,morning:/manh[ãa]/i,afternoon:/tarde/i,evening:/noite/i,night:/madrugada/i}},defaultParseWidth:"any"})},aQ={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 mês",other:"cerca de {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},aJ={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a0={lastWeek:e=>{let t=e.getDay();return"'"+(0===t||6===t?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},a1={ordinalNumber:(e,t)=>{let i=Number(e);return t?.unit==="week"?i+"ª":i+"º"},era:(0,ez.buildLocalizeFn)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","terça","quarta","quinta","sexta","sábado"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},defaultFormattingWidth:"wide"})},a2={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)[ºªo]?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i}
3,defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},defaultMatchWidth:"wide",parsePatterns:{short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(d
3a) (manhã|tarde|noite))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},defaultParseWidth:"any"})},a3={lessThanXSeconds:{one:"mai puțin de o secundă",other:"mai puțin de {{count}} secunde"},xSeconds:{one:"1 secundă",other:"{{count}} secunde"},halfAMinute:"jumătate de minut",lessThanXMinutes:{one:"mai puțin de un minut",other:"mai puțin de {{count}} minute"},xMinutes:{one:"1 minut",other:"{{count}} minute"},aboutXHours:{one:"circa 1 oră",other:"circa {{count}} ore"},xHours:{one:"1 oră",other:"{{count}} ore"},xDays:{one:"1 zi",other:"{{count}} zile"},aboutXWeeks:{one:"circa o săptămână",other:"circa {{count}} săptămâni"},xWeeks:{one:"1 săptămână",other:"{{count}} săptămâni"},aboutXMonths:{one:"circa 1 lună",other:"circa {{count}} luni"},xMonths:{one:"1 lună",other:"{{count}} luni"},aboutXYears:{one:"circa 1 an",other:"circa {{count}} ani"},xYears:{one:"1 an",other:"{{count}} ani"},overXYears:{one:"peste 1 an",other:"peste {{count}} ani"},almostXYears:{one:"aproape 1 an",other:"aproape {{count}} ani"}},a4={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'la' {{time}}",long:"{{date}} 'la' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a5={lastWeek:"eeee 'trecută la' p",yesterday:"'ieri la' p",today:"'astăzi la' p",tomorrow:"'mâine la' p",nextWeek:"eeee 'viitoare la' p",other:"P"},a6={ordinalNumber:(e,t)=>String(e),era:(0,ez.buildLocalizeFn)({values:{narrow:["Î","D"],abbreviated:["Î.d.C.","D.C."],wide:["Înainte de Cristos","După Cristos"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["primul trimestru","al doilea trimestru","al treilea trimestru","al patrulea trimestru"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["I","F","M","A","M","I","I","A","S","O","N","D"],abbreviated:["ian","feb","mar","apr","mai","iun","iul","aug","sep","oct","noi","dec"],wide:["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["d","l","m","m","j","v","s"],short:["du","lu","ma","mi","jo","vi","sâ"],abbreviated:["dum","lun","mar","mie","joi","vin","sâm"],wide:["duminică","luni","marți","miercuri","joi","vineri","sâmbătă"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"ami",morning:"dim",afternoon:"da",evening:"s",night:"n"},abbreviated:{am:"AM",pm:"PM",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},wide:{am:"a.m.",pm:"p.m.",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},abbreviated:{am:"AM",pm:"PM",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},wide:{am:"a.m.",pm:"p.m.",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"}},defaultFormattingWidth:"wide"})},a9={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(Î|D)/i,abbreviated:/^(Î\.?\s?d\.?\s?C\.?|Î\.?\s?e\.?\s?n\.?|D\.?\s?C\.?|e\.?\s?n\.?)/i,wide:/^(Înainte de Cristos|Înaintea erei noastre|După Cristos|Era noastră)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ÎC/i,/^DC/i],wide:[/^(Înainte de Cristos|Înaintea erei noastre)/i,/^(După Cristos|Era noastră)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^trimestrul [1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[ifmaasond]/i,abbreviated:/^(ian|feb|mar|apr|mai|iun|iul|aug|sep|oct|noi|dec)/i,wide:/^(ianuarie|februarie|martie|aprilie|mai|iunie|iulie|august|septembrie|octombrie|noiembrie|decembrie)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^i/i,/^f/i,/^m/i,/^a/i,/^m/i,/^i/i,/^i/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ia/i,/^f/i,/^mar/i,/^ap/i,/^mai/i,/^iun/i,/^iul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(d|l|ma|mi|j|v|s)/i,abbreviated:/^(dum|lun|mar|mie|jo|vi|sâ)/i,wide:/^(duminica|luni|marţi|miercuri|joi|vineri|sâmbătă)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^mi/i,/^j/i,/^v/i,/^s/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(a|p|mn|a|(dimineaţa|după-amiaza|seara|noaptea))/i,any:/^([ap]\.?\s?m\.?|miezul nopții|amiaza|(dimineaţa|după-amiaza|seara|noaptea))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/amiaza/i,morning:/dimineaţa/i,afternoon:/după-amiaza/i,evening:/seara/i,night:/noaptea/i}},defaultParseWidth:"any"})};function a8(e,t){if(void 0!==e.one&&1===t)return e.one;let i=t%10,a=t%100;return 1===i&&11!==a?e.singularNominative.replace("{{count}}",String(t)):i>=2&&i<=4&&(a<10||a>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function a7(e){return(t,i)=>{if(!i?.addSuffix)return a8(e.regular,t);if(i.comparison&&i.comparison>0)if(e.future)return a8(e.future,t);else return"через "+a8(e.regular,t);return e.past?a8(e.past,t):a8(e.regular,t)+" назад"}}let ne={lessThanXSeconds:a7({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:a7({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:(e,t)=>
3{if(t?.addSuffix)if(t.comparison&&t.comparison>0)return"через полминуты";else return"полминуты назад";return"полминуты"},lessThanXMinutes:a7({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:a7({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:a7({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:a7({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:a7({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:a7({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:a7({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:a7({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:a7({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:a7({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:a7({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:a7({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:a7({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}}
3)},nt={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{any:"{{date}}, {{time}}"},defaultWidth:"any"})},ni=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function na(e){let t=ni[e];return 2===e?"'во "+t+" в' p":"'в "+t+" в' p"}let nn={lastWeek:(e,t,i)=>{let a=e.getDay();if(eZ(e,t,i))return na(a);let n=ni[a];switch(a){case 0:return"'в прошлое "+n+" в' p";case 1:case 2:case 4:return"'в прошлый "+n+" в' p";case 3:case 5:case 6:return"'в прошлую "+n+" в' p"}},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:(e,t,i)=>{let a=e.getDay();if(eZ(e,t,i))return na(a);let n=ni[a];switch(a){case 0:return"'в следующее "+n+" в' p";case 1:case 2:case 4:return"'в следующий "+n+" в' p";case 3:case 5:case 6:return"'в следующую "+n+" в' p"}},other:"P"},nr={ordinalNumber:(e,t)=>{let i=Number(e),a=t?.unit;return i+("date"===a?"-е":"week"===a||"minute"===a||"second"===a?"-я":"-й")},era:(0,ez.buildLocalizeFn)({values:{narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},defaultWidth:"wide",formattingValues:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},defaultFormattingWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},defaultWidth:"any",formattingValues:{narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},defaultFormattingWidth:"wide"})},no={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^д/i,/^н/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|оÐ
3ºÑ‚|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},defaultParseWidth:"any"})};function ns(e,t,i){return(1===t&&e.one?e.one:t>=2&&t<=4&&e.twoFour?e.twoFour:e.other)[i].replace("{{count}}",String(t))}function nl(e){let t="";return"almost"===e&&(t="takmer"),"about"===e&&(t="približne"),t.length>0?t+" ":""}function nu(e){let t="";return"lessThan"===e&&(t="menej než"),"over"===e&&(t="viac než"),t.length>0?t+" ":""}let nd={xSeconds:{one:{present:"sekunda",past:"sekundou",future:"sekundu"},twoFour:{present:"{{count}} sekundy",past:"{{count}} sekundami",future:"{{count}} sekundy"},other:{present:"{{count}} sekúnd",past:"{{count}} sekundami",future:"{{count}} sekúnd"}},halfAMinute:{other:{present:"pol minúty",past:"pol minútou",future:"pol minúty"}},xMinutes:{one:{present:"minúta",past:"minútou",future:"minútu"},twoFour:{present:"{{count}} minúty",past:"{{count}} minútami",future:"{{count}} minúty"},other:{present:"{{count}} minút",past:"{{count}} minútami",future:"{{count}} minút"}},xHours:{one:{present:"hodina",past:"hodinou",future:"hodinu"},twoFour:{present:"{{count}} hodiny",past:"{{count}} hodinami",future:"{{count}} hodiny"},other:{present:"{{count}} hodín",past:"{{count}} hodinami",future:"{{count}} hodín"}},xDays:{one:{present:"deň",past:"dňom",future:"deň"},twoFour:{present:"{{count}} dni",past:"{{count}} dňami",future:"{{count}} dni"},other:{present:"{{count}} dní",past:"{{count}} dňami",future:"{{count}} dní"}},xWeeks:{one:{present:"týždeň",past:"týždňom",future:"týždeň"},twoFour:{present:"{{count}} týždne",past:"{{count}} týždňami",future:"{{count}} týždne"},other:{present:"{{count}} týždňov",past:"{{count}} týždňami",future:"{{count}} týždňov"}},xMonths:{one:{present:"mesiac",past:"mesiacom",future:"mesiac"},twoFour:{present:"{{count}} mesiace",past:"{{count}} mesiacmi",future:"{{count}} mesiace"},other:{present:"{{count}} mesiacov",past:"{{count}} mesiacmi",future:"{{count}} mesiacov"}},xYears:{one:{present:"rok",past:"rokom",future:"rok"},twoFour:{present:"{{count}} roky",past:"{{count}} rokmi",future:"{{count}} roky"},other:{present:"{{count}} rokov",past:"{{count}} rokmi",future:"{{count}} rokov"}}},nh={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. M. y",short:"d. M. y"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}}, {{time}}",long:"{{date}}, {{time}}",medium:"{{date}}, {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},nc=["nedeľu","pondelok","utorok","stredu","Å¡tvrtok","piatok","sobotu"];function nm(e){let t=nc[e];return 4===e?"'vo' eeee 'o' p":"'v "+t+" o' p"}let nf={lastWeek:(e,t,i)=>{let a=e.getDay();if(eZ(e,t,i))return nm(a);let n=nc[a];switch(a){case 0:case 3:case 6:return"'minulú "+n+" o' p";default:return"'minulý' eeee 'o' p"}},yesterday:"'včera o' p",today:"'dnes o' p",tomorrow:"'zajtra o' p",nextWeek:(e,t,i)=>{let a=e.getDay();if(eZ(e,t,i))return nm(a);let n=nc[a];switch(a){case 0:case 4:case 6:return"'budúcu "+n+" o' p";default:return"'budúci' eeee 'o' p"}},other:"P"},np={ordinalNumber:(e,t)=>Number(e)+".",era:(0,ez.buildLocalizeFn)({values:{narrow:["pred Kr.","po Kr."],abbreviated:["pred Kr.","po Kr."],wide:["pred Kristom","po Kristov
3i"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. štvrťrok","2. štvrťrok","3. štvrťrok","4. štvrťrok"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec"],wide:["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"]},defaultWidth:"wide",formattingValues:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec"],wide:["januára","februára","marca","apríla","mája","júna","júla","augusta","septembra","októbra","novembra","decembra"]},defaultFormattingWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["n","p","u","s","š","p","s"],short:["ne","po","ut","st","št","pi","so"],abbreviated:["ne","po","ut","st","št","pi","so"],wide:["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"AM",pm:"PM",midnight:"poln.",noon:"pol.",morning:"ráno",afternoon:"pop.",evening:"več.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"poln.",noon:"pol.",morning:"ráno",afternoon:"popol.",evening:"večer",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"polnoc",noon:"poludnie",morning:"ráno",afternoon:"popoludnie",evening:"večer",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"o poln.",noon:"nap.",morning:"ráno",afternoon:"pop.",evening:"več.",night:"v n."},abbreviated:{am:"AM",pm:"PM",midnight:"o poln.",noon:"napol.",morning:"ráno",afternoon:"popol.",evening:"večer",night:"v noci"},wide:{am:"AM",pm:"PM",midnight:"o polnoci",noon:"napoludnie",morning:"ráno",afternoon:"popoludní",evening:"večer",night:"v noci"}},defaultFormattingWidth:"wide"})},ng={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(pred Kristom|pred na[šs][íi]m letopo[čc]tom|po Kristovi|n[áa][šs]ho letopo[čc]tu)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^pr/i,/^(po|n)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\. [šs]tvr[ťt]rok/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|m[áa]j|j[úu]n|j[úu]l|aug|sep|okt|nov|dec)/i,wide:/^(janu[áa]ra?|febru[áa]ra?|(marec|marca)|apr[íi]la?|m[áa]ja?|j[úu]na?|j[úu]la?|augusta?|(september|septembra)|(okt[óo]ber|okt[óo]bra)|(november|novembra)|(december|decembra))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^m[áa]j/i,/^j[úu]n/i,/^j[úu]l/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[npusšp]/i,short:/^(ne|po|ut|st|št|pi|so)/i,abbreviated:/^(ne|po|ut|st|št|pi|so)/i,wide:/^(nede[ľl]a|pondelok|utorok|streda|[šs]tvrtok|piatok|sobota])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^u/i,/^s/i,/^š/i,/^p/i,/^s/i],any:[/^n/i,/^po/i,/^u/i,/^st/i,/^(št|stv)/i,/^pi/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(am|pm|(o )?poln\.?|(nap\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]\.?|(v n\.?|noc))/i,abbreviated:/^(am|pm|(o )?poln\.?|(napol\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]er|(v )?noci?)/i,any:/^(am|pm|(o )?polnoci?|(na)?poludnie|r[áa]no|popoludn(ie|í|i)|ve[čc]er|(v )?noci?)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^am/i,pm:/^pm/i,midnight:/poln/i,noon:/^(nap|(na)?pol(\.|u))/i,morning:/^r[áa]no/i,afternoon:/^pop/i,evening:/^ve[čc]/i,night:/^(noc|v n\.)/i}},defaultParseWidth:"any"})},nb={lessThanXSeconds:{present:{one:"manj kot {{count}} sekunda",two:"manj kot {{count}} sekundi",few:"manj kot {{count}} sekunde",other:"manj kot {{count}} sekund"},past:{one:"manj kot {{count}} sekundo",two:"manj kot {{count}} sekundama",few:"manj kot {{count}} sekundami",other:"manj kot {{count}} sekundami"},future:{one:"manj kot {{count}} sekundo",two:"manj kot {{count}} sekundi",few:"manj kot {{count}} sekunde",other:"manj kot {{count}} sekund"}},xSeconds:{present:{one:"{{count}} sekunda",two:"{{count}} sekundi",few:"{{count}} sekunde",other:"{{count}} sekund"},past:{one:"{{count}} sekundo",two:"{{count}} sekundama",few:"{{count}} sekundami",other:"{{count}} sekundami"},future:{one:"{{count}} sekundo",two:"{{count}} sekundi",few:"{{count}} sekunde",other:"{{count}} sekund"}},halfAMinute:"pol minute",lessThanXMinutes:{present:{one:"manj kot {{count}} minuta",two:"manj kot {{count}} minuti",few:"manj kot {{count}} minute",other:"manj kot {{count}} minut"},past:{one:"manj kot {{count}} minuto",two:"manj kot {{count}} minutama",few:"manj kot {{count}} minutami",other:"manj kot {{count}} minutami"},future:{one:"manj kot {{count}} minuto",two:"manj kot {{count}} minuti",few:"manj kot {{count}} minute",other:"manj kot {{count}} minut"}},xMinutes:{present:{one:"{{count}} minuta",two:"{{count}} minuti",few:"{{count}} minute",other:"{{count}} minut"},past:{one:"{{count}} minuto",two:"{{count}} minutama",few:"{{count}} minutami",other:"{{count}} minutami"},future:{one:"{{count}} minuto",two:"{{count}} minuti",few:"{{count}} minute",other:"{{count}} minut"}}
3,aboutXHours:{present:{one:"približno {{count}} ura",two:"približno {{count}} uri",few:"približno {{count}} ure",other:"približno {{count}} ur"},past:{one:"približno {{count}} uro",two:"približno {{count}} urama",few:"približno {{count}} urami",other:"približno {{count}} urami"},future:{one:"približno {{count}} uro",two:"približno {{count}} uri",few:"približno {{count}} ure",other:"približno {{count}} ur"}},xHours:{present:{one:"{{count}} ura",two:"{{count}} uri",few:"{{count}} ure",other:"{{count}} ur"},past:{one:"{{count}} uro",two:"{{count}} urama",few:"{{count}} urami",other:"{{count}} urami"},future:{one:"{{count}} uro",two:"{{count}} uri",few:"{{count}} ure",other:"{{count}} ur"}},xDays:{present:{one:"{{count}} dan",two:"{{count}} dni",few:"{{count}} dni",other:"{{count}} dni"},past:{one:"{{count}} dnem",two:"{{count}} dnevoma",few:"{{count}} dnevi",other:"{{count}} dnevi"},future:{one:"{{count}} dan",two:"{{count}} dni",few:"{{count}} dni",other:"{{count}} dni"}},aboutXWeeks:{one:"približno {{count}} teden",two:"približno {{count}} tedna",few:"približno {{count}} tedne",other:"približno {{count}} tednov"},xWeeks:{one:"{{count}} teden",two:"{{count}} tedna",few:"{{count}} tedne",other:"{{count}} tednov"},aboutXMonths:{present:{one:"približno {{count}} mesec",two:"približno {{count}} meseca",few:"približno {{count}} mesece",other:"približno {{count}} mesecev"},past:{one:"približno {{count}} mesecem",two:"približno {{count}} mesecema",few:"približno {{count}} meseci",other:"približno {{count}} meseci"},future:{one:"približno {{count}} mesec",two:"približno {{count}} meseca",few:"približno {{count}} mesece",other:"približno {{count}} mesecev"}},xMonths:{present:{one:"{{count}} mesec",two:"{{count}} meseca",few:"{{count}} meseci",other:"{{count}} mesecev"},past:{one:"{{count}} mesecem",two:"{{count}} mesecema",few:"{{count}} meseci",other:"{{count}} meseci"},future:{one:"{{count}} mesec",two:"{{count}} meseca",few:"{{count}} mesece",other:"{{count}} mesecev"}},aboutXYears:{present:{one:"približno {{count}} leto",two:"približno {{count}} leti",few:"približno {{count}} leta",other:"približno {{count}} let"},past:{one:"približno {{count}} letom",two:"približno {{count}} letoma",few:"približno {{count}} leti",other:"približno {{count}} leti"},future:{one:"približno {{count}} leto",two:"približno {{count}} leti",few:"približno {{count}} leta",other:"približno {{count}} let"}},xYears:{present:{one:"{{count}} leto",two:"{{count}} leti",few:"{{count}} leta",other:"{{count}} let"},past:{one:"{{count}} letom",two:"{{count}} letoma",few:"{{count}} leti",other:"{{count}} leti"},future:{one:"{{count}} leto",two:"{{count}} leti",few:"{{count}} leta",other:"{{count}} let"}},overXYears:{present:{one:"več kot {{count}}
3 leto",two:"več kot {{count}} leti",few:"več kot {{count}} leta",other:"več kot {{count}} let"},past:{one:"več kot {{count}} letom",two:"več kot {{count}} letoma",few:"več kot {{count}} leti",other:"več kot {{count}} leti"},future:{one:"več kot {{count}} leto",two:"več kot {{count}} leti",few:"več kot {{count}} leta",other:"več kot {{count}} let"}},almostXYears:{present:{one:"skoraj {{count}} leto",two:"skoraj {{count}} leti",few:"skoraj {{count}} leta",other:"skoraj {{count}} let"},past:{one:"skoraj {{count}} letom",two:"skoraj {{count}} letoma",few:"skoraj {{count}} leti",other:"skoraj {{count}} leti"},future:{one:"skoraj {{count}} leto",two:"skoraj {{count}} leti",few:"skoraj {{count}} leta",other:"skoraj {{count}} let"}}},nv={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, dd. MMMM y",long:"dd. MMMM y",medium:"d. MMM y",short:"d. MM. yy"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},ny={lastWeek:e=>{switch(e.getDay()){case 0:return"'prejšnjo nedeljo ob' p";case 3:return"'prejšnjo sredo ob' p";case 6:return"'prejšnjo soboto ob' p";default:return"'prejšnji' EEEE 'ob' p"}},yesterday:"'včeraj ob' p",today:"'danes ob' p",tomorrow:"'jutri ob' p",nextWeek:e=>{switch(e.getDay()){case 0:return"'naslednjo nedeljo ob' p";case 3:return"'naslednjo sredo ob' p";case 6:return"'naslednjo soboto ob' p";default:return"'naslednji' EEEE 'ob' p"}},other:"P"},nw={ordinalNumber:(e,t)=>Number(e)+".",era:(0,ez.buildLocalizeFn)({values:{narrow:["pr. n. št.","po n. št."],abbreviated:["pr. n. št.","po n. št."],wide:["pred našim štetjem","po našem štetju"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["1. čet.","2. čet.","3. čet.","4. čet."],wide:["1. četrtletje","2. četrtletje","3. četrtletje","4. četrtletje"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan.","feb.","mar.","apr.","maj","jun.","jul.","avg.","sep.","okt.","nov.","dec."],wide:["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["n","p","t","s","č","p","s"],short:["ned.","pon.","tor.","sre.","čet.","pet.","sob."],abbreviated:["ned.","pon.","tor.","sre.","čet.","pet.","sob."],wide:["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"d",pm:"p",midnight:"24.00",noon:"12.00",morning:"j",afternoon:"p",evening:"v",night:"n"},abbreviated:{am:"dop.",pm:"pop.",midnight:"poln.",noon:"pold.",morning:"jut.",afternoon:"pop.",evening:"več.",night:"noč"},wide:{am:"dop.",pm:"pop.",midnight:"polnoč",noon:"poldne",morning:"jutro",afternoon:"popoldne",evening:"večer",night:"noč"}},defaultWidth:"wide",formattingValues:{narrow:{am:"d",pm:"p",midnight:"24.00",noon:"12.00",morning:"zj",afternoon:"p",evening:"zv",night:"po"},abbreviated:{am:"dop.",pm:"pop.",midnight:"opoln.",noon:"opold.",morning:"zjut.",afternoon:"pop.",evening:"zveč.",night:"ponoči"},wide:{am:"dop.",pm:"pop.",midnight:"opolnoči",noon:"opoldne",morning:"zjutraj",afternoon:"popoldan",evening:"zvečer",night:"ponoči"}},defaultFormattingWidth:"wide"})},nM={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)\./i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{abbreviated:/^(pr\. n\. št\.|po n\. št\.)/i,wide:/^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^pr/i,/^(po|na[sš]em)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?[čc]et\.?/i,wide:/^[1234]\. [čc]etrtletje/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan\.|feb\.|mar\.|apr\.|maj|jun\.|jul\.|avg\.|sep\.|okt\.|nov\.|dec\.)/i,wide:/^(januar|februar|marec|april|maj|junij|julij|avgust|september|oktober|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],abbreviated:[/^ja/i,/^fe/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^av/i,/^s/i,/^o/i,/^n/i,/^d/i],wide:[/^ja/i,/^fe/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^av/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"wide"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[nptsčc]/i,short:/^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,abbreviated:/^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,wide:/^(nedelja|ponedeljek|torek|sreda|[cč]etrtek|petek|sobota)/i}
3,defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^t/i,/^s/i,/^[cč]/i,/^p/i,/^s/i],any:[/^n/i,/^po/i,/^t/i,/^sr/i,/^[cč]/i,/^pe/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(d|po?|z?v|n|z?j|24\.00|12\.00)/i,any:/^(dop\.|pop\.|o?poln(\.|o[cč]i?)|o?pold(\.|ne)|z?ve[cč](\.|er)|(po)?no[cč]i?|popold(ne|an)|jut(\.|ro)|zjut(\.|raj))/i},defaultMatchWidth:"any",parsePatterns:{narrow:{am:/^d/i,pm:/^p/i,midnight:/^24/i,noon:/^12/i,morning:/^(z?j)/i,afternoon:/^p/i,evening:/^(z?v)/i,night:/^(n|po)/i},any:{am:/^dop\./i,pm:/^pop\./i,midnight:/^o?poln/i,noon:/^o?pold/i,morning:/j/i,afternoon:/^pop\./i,evening:/^z?ve/i,night:/(po)?no/i}},defaultParseWidth:"any"})},nx={lessThanXSeconds:{one:"mindre än en sekund",other:"mindre än {{count}} sekunder"},xSeconds:{one:"en sekund",other:"{{count}} sekunder"},halfAMinute:"en halv minut",lessThanXMinutes:{one:"mindre än en minut",other:"mindre än {{count}} minuter"},xMinutes:{one:"en minut",other:"{{count}} minuter"},aboutXHours:{one:"ungefär en timme",other:"ungefär {{count}} timmar"},xHours:{one:"en timme",other:"{{count}} timmar"},xDays:{one:"en dag",other:"{{count}} dagar"},aboutXWeeks:{one:"ungefär en vecka",other:"ungefär {{count}} veckor"},xWeeks:{one:"en vecka",other:"{{count}} veckor"},aboutXMonths:{one:"ungefär en månad",other:"ungefär {{count}} månader"},xMonths:{one:"en månad",other:"{{count}} månader"},aboutXYears:{one:"ungefär ett år",other:"ungefär {{count}} år"},xYears:{one:"ett år",other:"{{count}} år"},overXYears:{one:"över ett år",other:"över {{count}} år"},almostXYears:{one:"nästan ett år",other:"nästan {{count}} år"}},nk=["noll","en","två","tre","fyra","fem","sex","sju","åtta","nio","tio","elva","tolv"],nS={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"y-MM-dd"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},nP={lastWeek:"'i' EEEE's kl.' p",yesterday:"'igår kl.' p",today:"'idag kl.' p",tomorrow:"'imorgon kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},nT={ordinalNumber:(e,t)=>{let i=Number(e),a=i%100;if(a>20||a<10)switch(a%10){case 1:case 2:return i+":a"}return i+":e"},era:(0,ez.buildLocalizeFn)({values:{narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["före Kristus","efter Kristus"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1:a kvartalet","2:a kvartalet","3:e kvartalet","4:e kvartalet"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","maj","juni","juli","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["S","M","T","O","T","F","L"],short:["sö","må","ti","on","to","fr","lö"],abbreviated:["sön","mån","tis","ons","tors","fre","lör"],wide:["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"morg.",afternoon:"efterm.",evening:"kväll",night:"natt"},abbreviated:{am:"f.m.",pm:"e.m.",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"efterm.",evening:"kväll",night:"natt"},wide:{am:"förmiddag",pm:"eftermiddag",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"eftermiddag",evening:"kväll",night:"natt"}},defaultWidth:"wide",formattingValues:{narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på efterm.",evening:"på kvällen",night:"på natten"},abbreviated:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på efterm.",evening:"på kvällen",night:"på natten"},wide:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morgonen",afternoon:"på eftermiddagen",evening:"på kvällen",night:"på natten"}},defaultFormattingWidth:"wide"})},nA={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(:a|:e)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,abbreviated:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,wide:/^(före Kristus|före vår tid|efter Kristus|vår tid)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^f/i,/^[ev]/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](:a|:e)? kvartalet/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar[s]?|apr|maj|jun[i]?|jul[i]?|aug|sep|okt|nov|dec)\.?/i,wide:/^(januari|februari|mars|april|maj|juni|juli|augusti|september|oktober|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[smtofl]/i,short:/^(sö|må|ti|on|to|fr|lö)/i,abbreviated:/^(sön|mån|tis|ons|tors|fre|lör)/i,wide:/^(söndag|måndag|tisdag|onsdag|torsdag|fredag|lördag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{any:/^([fe]\.?\s?m\.?|midn(att)?|midd(ag)?|(på) (morgone
3n|eftermiddagen|kvällen|natten))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^f/i,pm:/^e/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgon/i,afternoon:/eftermiddag/i,evening:/kväll/i,night:/natt/i}},defaultParseWidth:"any"})},nC={lessThanXSeconds:{one:{default:"ஒரு வினாடிக்கு குறைவாக",in:"ஒரு வினாடிக்குள்",ago:"ஒரு வினாடிக்கு முன்பு"},other:{default:"{{count}} வினாடிகளுக்கு குறைவாக",in:"{{count}} வினாடிகளுக்குள்",ago:"{{count}} வினாடிகளுக்கு முன்பு"}},xSeconds:{one:{default:"1 வினாடி",in:"1 வினாடியில்",ago:"1 வினாடி முன்பு"},other:{default:"{{count}} விநாடிகள்",in:"{{count}} வினாடிகளில்",ago:"{{count}} விநாடிகளுக்கு முன்பு"}},halfAMinute:{default:"அரை நிமிடம்",in:"அரை நிமிடத்தில்",ago:"அரை நிமிடம் முன்பு"},lessThanXMinutes:{one:{default:"ஒரு நிமிடத்திற்கும் கà¯
3à®±à¯ˆà®µà®¾à®•",in:"ஒரு நிமிடத்திற்குள்",ago:"ஒரு நிமிடத்திற்கு முன்பு"},other:{default:"{{count}} நிமிடங்களுக்கும் குறைவாக",in:"{{count}} நிமிடங்களுக்குள்",ago:"{{count}} நிமிடங்களுக்கு முன்பு"}},xMinutes:{one:{default:"1 நிமிடம்",in:"1 நிமிடத்தில்",ago:"1 நிமிடம் முன்பு"},other:{default:"{{count}} நிமிடங்கள்",in:"{{count}} நிமிடங்களில்",ago:"{{count}} நிமிடங்களுக்கு முன்பு"}},aboutXHours:{one:{default:"சுமார் 1 மணி நேரம்",in:"சுமார் 1 மணி நேரத்தில்",ago:"சுமார் 1 மணி நேரத்திற்கு முன்பு"},other:{default:"சுமார் {{count}} மணி நேரம்",in:"சுமார் {{count}} மணி நேரத்திற்கு முன்பு",ago:"சுமார் {{count}} மணி நேரத்தில்"}},xHours:{one:{default:"1 மணி நேரம்",in:"1 மணி நேரத்தில்",ago:"1 மணி நேரத்திற்கு முன்பு"},other:{default:"{{count}} மணி நேரம்",in:"{{count}} மணி நேரத்தில்",ago:"{{count}} மணி நேரத்திற்கு முன்பு"}},xDays:{one:{default:"1 நாள்",in:"1 நாளில்",ago:"1 நாள் முன்பு"},other:{default:"{{count}} நாட்கள்",in:"{{count}} நாட்களில்",ago:"{{count}} நாட்களுக்கு முன்பு"}},aboutXWeeks:{one:{default:"சுமார் 1 வாரம்",in:"சுமார் 1 வாரத்தில்",ago:"சுமார் 1 வாரம் முன்பு"},other:{default:"சுமார் {{count}} வாரங்கள்",in:"சுமார் {{count}} வாரங்களில்",ago:"சுமார் {{count}} வாரங்களுக்கு முன்பு"}},xWeeks:{one:{default:"1 வாரம்",in:"1 வாரத்தில்",ago:"1 வாரம் முன்பு"},other:{default:"{{count}} வாரங்கள்",in:"{{count}} வாரங்களில்",ago:"{{count}} வாரங்களுக்கு முன்பு"}},aboutXMonths:{one:{default:"சுமார் 1 மாதம்",in:"சுமார் 1 மாதத்தில்",ago:"சுமார் 1 மாதத்திற்கு முன்பு"},other:{default:"சுமார் {{count}} மாதங்கள்",in:"சுமார் {{count}} மாதங்களில்",ago:"சுமார் {{count}} மாதங்களுக்கு முன்பு"}},xMonths:{one:{default:"1 மாதம்",in:"1 மாதத்தில்",ago:"1 மாதம் முன்பு"},other:{default:"{{count}} மாதங்கள்",in:"{{count}} மாதங்களில்",ago:"{{count}} மாதங்களுக்கு முன்பு"}},aboutXYears:{one:{default:"சுமார் 1 வருடம்",in:"சுமார் 1 ஆண்டில்",ago:"சுமார் 1 வருடம் முன்பு"},other:{default:"சுமார் {{count}} ஆண்டுகள்",in:"சுமார் {{count}} ஆண்டுகளில்",ago:"சுமார் {{count}} ஆண்டுகளுக்கு முன்பு"}},xYears:{one:{default:"1 வருடம்",in:"1 ஆண்டில்",ago:"1 வருடம் முன்பு"},other:{default:"{{count}} ஆண்டுகள்",in:"{{count}} ஆண்டுகளில்",ago:"{{count}} ஆண்டுகளுக்கு முன்பு"}},overXYears:{one:{default:"1 வருடத்திற்கு மேல்",in:"1 வருடத்திற்கும் மேலாக",ago:"1 வருடம் முன்பு"},other:{default:"{{count}} ஆண்டுகளுக்கும் மேலாக",in:"{{count}} ஆண்டுகளில்",ago:"{{count}} ஆண்டுகளுக்கு முன்பு"}},almostXYears:{one:{default:"கிட்டத்தட்ட 1 வருடம்",in:"கிட்டத்தட்ட 1 ஆண்டில்",ago:"கிட்டத்தட்ட 1 வருடம் முன்பு"},other:{default:"கிட்டத்தட்ட {{count}} ஆண்டுகள்",in:"கிட்டத்தட்ட {{count}} ஆண்டுகளில்",ago:"கிட்டத்தட்ட {{count}} ஆண்டுகளுக்கு முன்பு"}}},nE={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, d MMMM, y",long:"d MMMM, y",medium:"d MMM, y",short:"d/M/yy"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"a h:mm:ss zzzz",long:"a h:mm:ss z",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},nL={lastWeek:"'கடந்த' eeee p 'மணிக்கு'",yesterday:"'நேற்று ' p 'மணிக்கு'",today:"'இன்று ' p 'மணிக்கு'",tomorrow:"'நாளை ' p 'மணிக்கு'",nextWeek:"eeee p 'மணிக்கு'",other:"P"},nR={ordinalNumber:(e,t)=>String(e),era:(0,ez.buildLocalizeFn)({values:{narrow:["கி.மு.","கி.பி."],abbreviated:["கி.மு.","கி.பி."],wide:["கிறிஸ்துவுக்கு முன்","அன்னோ டோமினி"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["காலா.1","காலா.2","காலா.3","காலா.4"],wide:["ஒன்றாம் காலாண்டு","இரண்டாம் காலாண்டு","மூன்றாம் காலாண்டு","நான்காம் காலாண்டு"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["ஜ","பி","மா","ஏ","மே","ஜூ","ஜூ","ஆ","செ","அ","ந","டி"],abbreviated:["ஜன.","பிப்.","மார்.","ஏப்.","மே","ஜூன்","ஜூலை","ஆக.","செப்.","அக்.","நவ.","டிச."],wide:["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்ப
3ர்","அக்டோபர்","நவம்பர்","டிசம்பர்"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["ஞா","தி","செ","பு","வி","வெ","ச"],short:["ஞா","தி","செ","பு","வி","வெ","ச"],abbreviated:["ஞாயி.","திங்.","செவ்.","புத.","வியா.","வெள்.","சனி"],wide:["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"மு.ப",pm:"பி.ப",midnight:"நள்.",noon:"நண்.",morning:"கா.",afternoon:"மதி.",evening:"மா.",night:"இர."},abbreviated:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"},wide:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"}},defaultWidth:"wide",formattingValues:{narrow:{am:"மு.ப",pm:"பி.ப",midnight:"நள்.",noon:"நண்.",morning:"கா.",afternoon:"மதி.",evening:"மா.",night:"இர."},abbreviated:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"},wide:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"}},defaultFormattingWidth:"wide"})},nF={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(வது)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(கி.மு.|கி.பி.)/i,abbreviated:/^(கி\.?\s?மு\.?|கி\.?\s?பி\.?)/,wide:/^(கிறிஸ்துவுக்கு\sமுன்|அன்னோ\sடோமினி)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/கி\.?\s?மு\.?/,/கி\.?\s?பி\.?/]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^காலா.[1234]/i,wide:/^(ஒன்றாம்|இரண்டாம்|மூன்றாம்|நான்காம்) காலாண்டு/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/1/i,/2/i,/3/i,/4/i],any:[/(1|காலா.1|ஒன்றாம்)/i,/(2|காலா.2|இரண்டாம்)/i,/(3|காலா.3|மூன்றாம்)/i,/(4|காலா.4|நான்காம்)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(ஜ|பி|மா|ஏ|மே|ஜூ|ஆ|செ|அ|ந|டி)$/i,abbreviated:/^(ஜன.|பிப்.|மார்.|ஏப்.|மே|ஜூன்|ஜூலை|ஆக.|செப்.|அக்.|நவ.|டிச.)/i,wide:/^(ஜனவரி|பிப்ரவரி|மார்ச்|ஏப்ரல்|மே|ஜூன்|ஜூலை|ஆகஸ்ட்|செப்டம்பர்|அக்டோபர்|நவம்பர்|டிசம்பர்)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ஜ$/i,/^பி/i,/^மா/i,/^ஏ/i,/^மே/i,/^ஜூ/i,/^ஜூ/i,/^ஆ/i,/^செ/i,/^அ/i,/^ந/i,/^டி/i],any:[/^ஜன/i,/^பி/i,/^மா/i,/^ஏ/i,/^மே/i,/^ஜூன்/i,/^ஜூலை/i,/^ஆ/i,/^செ/i,/^அ/i,/^ந/i,/^டி/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(ஞா|தி|செ|பு|வி|வெ|ச)/i,short:/^(ஞா|தி|செ|பு|வி|வெ|ச)/i,abbreviated:/^(ஞாயி.|திங்.|செவ்.|புத.|வியா.|வெள்.|சனி)/i,wide:/^(ஞாயிறு|திங்கள்|செவ்வாய்|புதன்|வியாழன்|வெள்ளி|சனி)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ஞா/i,/^தி/i,/^செ/i,/^பு/i,/^வி/i,/^வெ/i,/^ச/i],any:[/^ஞா/i,/^தி/i,/^செ/i,/^பு/i,/^வி/i,/^வெ/i,/^ச/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(மு.ப|பி.ப|நள்|நண்|காலை|மதியம்|மாலை|இரவு)/i,any:/^(மு.ப|பி.ப|முற்ப
3கல்|பிற்பகல்|நள்ளிரவு|நண்பகல்|காலை|மதியம்|மாலை|இரவு)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^மு/i,pm:/^பி/i,midnight:/^நள்/i,noon:/^நண்/i,morning:/காலை/i,afternoon:/மதியம்/i,evening:/மாலை/i,night:/இரவு/i}},defaultParseWidth:"any"})},nj={lessThanXSeconds:{one:"น้อยกว่า 1 วินาที",other:"น้อยกว่า {{count}} วินาที"},xSeconds:{one:"1 วินาที",other:"{{count}} วินาที"},halfAMinute:"ครึ่งนาที",lessThanXMinutes:{one:"น้อยกว่า 1 นาที",other:"น้อยกว่า {{count}} นาที"},xMinutes:{one:"1 นาที",other:"{{count}} นาที"},aboutXHours:{one:"ประมาณ 1 ชั่วโมง",other:"ประมาณ {{count}} ชั่วโมง"},xHours:{one:"1 ชั่วโมง",other:"{{count}} ชั่วโมง"},xDays:{one:"1 วัน",other:"{{count}} วัน"},aboutXWeeks:{one:"ประมาณ 1 สัปดาห์",other:"ประมาณ {{count}} สัปดาห์"},xWeeks:{one:"1 สัปดาห์",other:"{{count}} สัปดาห์"},aboutXMonths:{one:"ประมาณ 1 เดือน",other:"ประมาณ {{count}} เดือน"},xMonths:{one:"1 เดือน",other:"{{count}} เดือน"},aboutXYears:{one:"ประมาณ 1 ปี",other:"ประมาณ {{count}} ปี"},xYears:{one:"1 ปี",other:"{{count}} ปี"},overXYears:{one:"มากกว่า 1 ปี",other:"มากกว่า {{count}} ปี"},almostXYears:{one:"เกือบ 1 ปี",other:"เกือบ {{count}} ปี"}},nD={date:(0,eB.buildFormatLongFn)({formats:{full:"วันEEEEที่ do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"H:mm:ss น. zzzz",long:"H:mm:ss น. z",medium:"H:mm:ss น.",short:"H:mm น."},defaultWidth:"medium"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'เวลา' {{time}}",long:"{{date}} 'เวลา' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},nN={lastWeek:"eeee'ที่แล้วเวลา' p",yesterday:"'เมื่อวานนี้เวลา' p",today:"'วันนี้เวลา' p",tomorrow:"'พรุ่งนี้เวลา' p",nextWeek:"eeee 'เวลา' p",other:"P"},nI={ordinalNumber:(e,t)=>String(e),era:(0,ez.buildLocalizeFn)({values:{narrow:["B","คศ"],abbreviated:["BC","ค.ศ."],wide:["ปีก่อนคริสตกาล","คริสต์ศักราช"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["ไตรมาสแรก","ไตรมาสที่สอง","ไตรมาสที่สาม","ไตรมาสที่สี่"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],abbreviated:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],wide:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],short:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],abbreviated:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],wide:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"},abbreviated:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"},wide:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"},abbreviated:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"},wide:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"}},defaultFormattingWidth:"wide"})},n_={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^\d+/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^([bB]|[aA]|คศ)/i,abbreviated:/^([bB]\.?\s?[cC]\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?|ค\.?ศ\.?)/i,wide:/^(ก่อนคริสตกาล|คริสต์ศักราช|คริสตกาล)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^[bB]/i,/^(^[aA]|ค\.?ศ\.?|คริสตกาล|คริสต์ศักราช|)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^ไตรมาส(ที่)? ?[1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|แรก|หนึ่ง)/i,/(2|สอง)/i,/(3|สาม)/i,/(4|สี่)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?)/i,abbreviated:/^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?')/i,wide:/^(มกราคม|กุมภาพันธ์|มีนาคม|เมษายน|พฤษภาคม|มิถุนายน|กรกฎาคม|สิงหาคม|กันยายน|ตุลาคม|พฤศจิกายน|ธันวาคม)/i},defaultMatchWidth:"wide",parsePatterns:{wide:[/^มก/i,/^กุม/i,/^มี/i,/^เม/i,/^พฤษ/i,/^มิ/i,/^กรก/i,/^ส/i,/^กัน/i,/^ต/i,/^พฤศ/i,/^ธ/i],any:[/^ม\.?ค\.?/i,/^ก\.?พ\.?/i,/^มี\.?ค\.?/i,/^เม\.?ย\.?/i,/^พ\.?ค\.?/i,/^มิ\.?ย\.?/i,/^ก\.?ค\.?/i,/^ส\.?ค\.?/i,/^ก\.?ย\.?/i,/^ต\.?ค\.?/i,/^พ\.?ย\.?/i,/^ธ\.?ค\.?/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,short:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,abbreviated:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,wide:/^(อาทิตย์|จันทร์|อังคาร|พุธ|พฤหัสบดี|ศุกร์|เสาร์)/i},defaultMatchWidth:"wide",parsePatterns:{wide:[/^อา/i,/^จั/i,/^อั/i,/^พุธ/i,/^พฤ/i,/^ศ/i,/^เส/i],any:[/^อา/i,/^จ/i,/^อ/i,/^พ(?!ฤ)/i,/^พฤ/i,/^ศ/i,/^ส/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{any:/^(ก่อนเที่ยง|หลังเที่ยง|เที่ยงคืน|เที่ยง|(ตอน.*?)?.*(เที่ยง|เช้า|บ่าย|เย็น|กลางคืน))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^ก่อนเที่ยง/i,pm:/^หลังเที่ยง/i,midnight:/^เที่ยงคืน/i,no
3on:/^เที่ยง/i,morning:/เช้า/i,afternoon:/บ่าย/i,evening:/เย็น/i,night:/กลางคืน/i}},defaultParseWidth:"any"})},nB={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"yaklaşık 1 hafta",other:"yaklaşık {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},nO={date:(0,eB.buildFormatLongFn)({formats:{full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},nW={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"},nz={ordinalNumber:(e,t)=>Number(e)+".",era:(0,ez.buildLocalizeFn)({values:{narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["O","Ş","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["P","P","S","Ç","P","C","C"],short:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","Çar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"},wide:{am:"Ö.Ö.",pm:"Ö.S.",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"}},defaultWidth:"wide",formattingValues:{narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"}},defaultFormattingWidth:"wide"})},nH={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek
3/i,/son çeyrek/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},defaultParseWidth:"any"})};function nG(e,t){if(void 0!==e.one&&1===t)return e.one;let i=t%10,a=t%100;return 1===i&&11!==a?e.singularNominative.replace("{{count}}",String(t)):i>=2&&i<=4&&(a<10||a>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function nU(e){return(t,i)=>{if(!i||!i.addSuffix)return nG(e.regular,t);if(i.comparison&&i.comparison>0)if(e.future)return nG(e.future,t);else return"за "+nG(e.regular,t);return e.past?nG(e.past,t):nG(e.regular,t)+" тому"}}let nV={lessThanXSeconds:nU({regular:{one:"менше секунди",singularNominative:"менше {{count}} секунди",singularGenitive:"менше {{count}} секунд",pluralGenitive:"менше {{count}} секунд"},future:{one:"менше, ніж за секунду",singularNominative:"менше, ніж за {{count}} секунду",singularGenitive:"менше, ніж за {{count}} секунди",pluralGenitive:"менше, ніж за {{count}} секунд"}}),xSeconds:nU({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунди",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду тому",singularGenitive:"{{count}} секунди тому",pluralGenitive:"{{count}} секунд тому"},future:{singularNominative:"за {{count}} секунду",singularGenitive:"за {{count}} секунди",pluralGenitive:"за {{count}} секунд"}}),halfAMinute:(e,t)=>{if(t&&t.addSuffix)if(t.comparison&&t.comparison>0)return"за півхвилини";else return"півхвилини тому";return"півхвилини"},lessThanXMinutes:nU({regular:{one:"менше хвилини",singularNominative:"менше {{count}} хвилини",singularGenitive:"менше {{count}} хвилин",pluralGenitive:"менше {{count}} хвилин"},future:{one:"менше, ніж за хвилину",singularNominative:"менше, ніж за {{count}} хвилину",singularGenitive:"менше, ніж за {{count}} хвилини",pluralGenitive:"менше, ніж за {{count}} хвилин"}}),xMinutes:nU({regular:{singularNominative:"{{count}} хвилина",singularGenitive:"{{count}} хвилини",pluralGenitive:"{{count}} хвилин"},past:{singularNominative:"{{count}} хвилину тому",singularGenitive:"{{count}} хвилини тому",pluralGenitive:"{{count}} хвилин тому"},future:{singularNominative:"за {{count}} хвилину",singularGenitive:"за {{count}} хвилини",pluralGenitive:"за {{count}} хвилин"}}),aboutXHours:nU({regular:{singularNominative:"близько {{count}} години",singularGenitive:"близько {{count}} годин",pluralGenitive:"близько {{count}} годин"},future:{singularNominative:"приблизно за {{count}} годину",singularGenitive:"приблизно за {{count}} години",pluralGenitive:"приблизно за {{count}} годин"}}),xHours:nU({regular:{singularNominative:"{{count}} годину",singularGenitive:"{{count}} години",pluralGenitive:"{{count}} годин"}}),xDays:nU({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} днi",pluralGenitive:"{{count}} днів"}}),aboutXWeeks:nU({regular:{singularNominative:"близько {{count}} тижня",singularGenitive:"близько {{count}} тижнів",pluralGenitive:"близько {{count}} тижнів"},future:{singularNominative:"приблизно за {{count}} тиждень",singularGenitive:"приблизно за {{count}} тижні",pluralGenitive:"приблизно за {{count}} тижнів"}}),xWeeks:nU({regular:{singularNominative:"{{count}} тиждень",singularGenitive:"{{count}} тижні",pluralGenitive:"{{count}} тижнів"}}),aboutXMonths:nU({regular:{singularNominative:"близько {{count}} місяця",singularGenitive:"близько {{count}} місяців",pluralGenitive:"близько {{count}} місяців"},future:{singularNominative:"приблизно за {{count}} місяць",singularGenitive:"приблизно за {{count}} місяці",pluralGenitive:"приблизно за {{count}} місяців"}}),xMonths:nU({regular:{singularNominative:"{{count}} місяць",singularGenitive:"{{count}} місяці",pluralGenitive:"{{count}} місяців"}}),aboutXYears:nU({regular:{singularNominative:"близько {{count}} року",singularGenitive:"близько {{count}} років",pluralGenitive:"близько {{count}} років"},future:{singularNominative:"приблизно за {{count}} рік",singularGenitive:"приблизно за {{count}} роки",pluralGenitive:"приблизно за {{count}} років"}}),xYears:nU({regular:{singularNominative:"{{count}} рік",singularGenitive:"{{count}} роки",pluralGenitive:"{{count}} років"}}),overXYears:nU({regular:{singularNominative:"більше {{count}} року",singularGenitive:"більше {{count}} років",pluralGenitive:"більше {{count}} років"},future:{singularNominative:"більше, ніж за {{count}} рік",singularGenitive:"більше, ніж за {{count}} роки",pluralGenitive:"більше, ніж за {{count}} років"}}),almostXYears:nU({regular:{singularNominative:"майже {{count}} рік",singularGenitive:"майже {{count}} роки",pluralGenitive:"майже {{count}} років"},future:{singularNominative:"майже за {{count}} рік",singularGenitive:"майже за {{count}} роки",pluralGenitive:"майже за {{count}} років"}})},nK={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, do MMMM y 'р.'",long:"do MMMM y 'р.'",medium:"d MMM y 'р.'",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} 'о' {{time}}",long:"{{date}} 'о' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},nq=["неділю","понеділок","вівторок","середу","четвер","п’ятницю","суботу"];function nY(e){return"'у "+nq[e]+" о' p"}let nX={lastWeek:(e,t,i)=>{let a=(0,k.toDate)(e),n=a.getDay();if(eZ(a,t,i))return nY(n);let r=nq[n];
3switch(n){case 0:case 3:case 5:case 6:return"'у минулу "+r+" о' p";case 1:case 2:case 4:return"'у минулий "+r+" о' p"}},yesterday:"'вчора о' p",today:"'сьогодні о' p",tomorrow:"'завтра о' p",nextWeek:(e,t,i)=>{let a=(0,k.toDate)(e),n=a.getDay();if(eZ(a,t,i))return nY(n);let r=nq[n];switch(n){case 0:case 3:case 5:case 6:return"'у наступну "+r+" о' p";case 1:case 2:case 4:return"'у наступний "+r+" о' p"}},other:"P"},n$={code:"uk",formatDistance:(e,t,i)=>(i=i||{},nV[e](t,i)),formatLong:nK,formatRelative:(e,t,i,a)=>{let n=nX[e];return"function"==typeof n?n(t,i,a):n},localize:{ordinalNumber:(e,t)=>{let i,a=String(t?.unit),n=Number(e);return i="date"===a?3===n||23===n?"-є":"-е":"minute"===a||"second"===a||"hour"===a?"-а":"-й",n+i},era:(0,ez.buildLocalizeFn)({values:{narrow:["до н.е.","н.е."],abbreviated:["до н. е.","н. е."],wide:["до нашої ери","нашої ери"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"]},defaultWidth:"wide",formattingValues:{narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"]},defaultFormattingWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вів","сер","чтв","птн","суб"],wide:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранок",afternoon:"день",evening:"вечір",night:"ніч"}},defaultWidth:"any",formattingValues:{narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(-?(е|й|є|а|я))?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^((до )?н\.?\s?е\.?)/i,abbreviated:/^((до )?н\.?\s?е\.?)/i,wide:/^(до нашої ери|нашої ери|наша ера)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^д/i,/^н/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[иі]?й?)? кв.?/i,wide:/^[1234](-?[иі]?й?)? квартал/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[слбктчвжг]/i,abbreviated:/^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i,wide:/^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^с/i,/^л/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^л/i,/^с/i,/^в/i,/^ж/i,/^л/i,/^г/i],any:[/^сі/i,/^лю/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^лип/i,/^се/i,/^в/i,/^ж/i,/^лис/i,/^г/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)\.?/i,abbreviated:/^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i,wide:/^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[Ñ
3Ñ–]|субот[аи])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[он]/i,/^в/i,/^с[ер]/i,/^ч/i,/^п\W*?[ят]/i,/^с[уб]/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,abbreviated:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,wide:/^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^дп/i,pm:/^пп/i,midnight:/^півн/i,noon:/^пол/i,morning:/^р/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}},nZ={lessThanXSeconds:{one:"sekunddan kam",other:"{{count}} sekunddan kam"},xSeconds:{one:"1 sekund",other:"{{count}} sekund"},halfAMinute:"yarim minut",lessThanXMinutes:{one:"bir minutdan kam",other:"{{count}} minutdan kam"},xMinutes:{one:"1 minut",other:"{{count}} minut"},aboutXHours:{one:"tahminan 1 soat",other:"tahminan {{count}} soat"},xHours:{one:"1 soat",other:"{{count}} soat"},xDays:{one:"1 kun",other:"{{count}} kun"},aboutXWeeks:{one:"tahminan 1 hafta",other:"tahminan {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"tahminan 1 oy",other:"tahminan {{count}} oy"},xMonths:{one:"1 oy",other:"{{count}} oy"},aboutXYears:{one:"tahminan 1 yil",other:"tahminan {{count}} yil"},xYears:{one:"1 yil",other:"{{count}} yil"},overXYears:{one:"1 yildan ko'p",other:"{{count}} yildan ko'p"},almostXYears:{one:"deyarli 1 yil",other:"deyarli {{count}} yil"}},nQ={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"h:mm:ss zzzz",long:"h:mm:ss z",medium:"h:mm:ss",short:"h:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{any:"{{date}}, {{time}}"},defaultWidth:"any"})},nJ={lastWeek:"'oldingi' eeee p 'da'",yesterday:"'kecha' p 'da'",today:"'bugun' p 'da'",tomorrow:"'ertaga' p 'da'",nextWeek:"eeee p 'da'",other:"P"},n0={ordinalNumber:(e,t)=>String(e),era:(0,ez.buildLocalizeFn)({values:{narrow:["M.A","M."],abbreviated:["M.A","M."],wide:["Miloddan Avvalgi","Milodiy"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["CH.1","CH.2","CH.3","CH.4"],wide:["1-chi chorak","2-chi chorak","3-chi chorak","4-chi chorak"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["Y","F","M","A","M","I","I","A","S","O","N","D"],abbreviated:["Yan","Fev","Mar","Apr","May","Iyun","Iyul","Avg","Sen","Okt","Noy","Dek"],wide:["Yanvar","Fevral","Mart","Aprel","May","Iyun","Iyul","Avgust","Sentabr","Oktabr","Noyabr","Dekabr"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["Y","D","S","CH","P","J","SH"],short:["Ya","Du","Se","Cho","Pa","Ju","Sha"],abbreviated:["Yak","Dush","Sesh","Chor","Pay","Jum","Shan"],wide:["Yakshanba","Dushanba","Seshanba","Chorshanba","Payshanba","Juma","Shanba"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"a",pm:"p",midnight:"y.t",noon:"p.",morning:"ertalab",afternoon:"tushdan keyin",evening:"kechqurun",night:"tun"},abbreviated:{am:"AM",pm:"PM",midnight:"yarim tun",noon:"peshin",morning:"ertalab",afternoon:"tushdan keyin",evening:"kechqurun",night:"tun"},wide:{am:"a.m.",pm:"p.m.",midnight:"yarim tun",noon:"peshin",morning:"ertalab",afternoon:"tushdan keyin",evening:"kechqurun",night:"tun"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"y.t",noon:"p.",morning:"ertalab",afternoon:"tushdan keyin",evening:"kechqurun",night:"tun"},abbreviated:{am:"AM",pm:"PM",midnight:"yarim tun",noon:"peshin",morning:"ertalab",afternoon:"tushdan keyin",evening:"kechqurun",night:"tun"},wide:{am:"a.m.",pm:"p.m.",midnight:"yarim tun",noon:"peshin",morning:"ertalab",afternoon:"tushdan keyin",evening:"kechqurun",night:"tun"}},defaultFormattingWidth:"wide"})},n1={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)(chi)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(m\.a|m\.)/i,abbreviated:/^(m\.a\.?\s?m\.?)/i,wide:/^(miloddan avval|miloddan keyin)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](chi)? chorak/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[yfmasond]/i,abbreviated:/^(yan|fev|mar|apr|may|iyun|iyul|avg|sen|okt|noy|dek)/i,wide:/^(yanvar|fevral|mart|aprel|may|iyun|iyul|avgust|sentabr|oktabr|noyabr|dekabr)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^y/i,/^f/i,/^m/i,/^a/i,/^m/i,/^i/i,/^i/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ya/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^iyun/i,/^iyul/i,/^av/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[ydschj]/i,short:/^(ya|du|se|cho|pa|ju|sha)
3/i,abbreviated:/^(yak|dush|sesh|chor|pay|jum|shan)/i,wide:/^(yakshanba|dushanba|seshanba|chorshanba|payshanba|juma|shanba)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^y/i,/^d/i,/^s/i,/^ch/i,/^p/i,/^j/i,/^sh/i],any:[/^ya/i,/^d/i,/^se/i,/^ch/i,/^p/i,/^j/i,/^sh/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(a|p|y\.t|p| (ertalab|tushdan keyin|kechqurun|tun))/i,any:/^([ap]\.?\s?m\.?|yarim tun|peshin| (ertalab|tushdan keyin|kechqurun|tun))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^y\.t/i,noon:/^pe/i,morning:/ertalab/i,afternoon:/tushdan keyin/i,evening:/kechqurun/i,night:/tun/i}},defaultParseWidth:"any"})},n2={lessThanXSeconds:{one:"dưới 1 giây",other:"dưới {{count}} giây"},xSeconds:{one:"1 giây",other:"{{count}} giây"},halfAMinute:"ná»­a phút",lessThanXMinutes:{one:"dưới 1 phút",other:"dưới {{count}} phút"},xMinutes:{one:"1 phút",other:"{{count}} phút"},aboutXHours:{one:"khoảng 1 giờ",other:"khoảng {{count}} giờ"},xHours:{one:"1 giờ",other:"{{count}} giờ"},xDays:{one:"1 ngày",other:"{{count}} ngày"},aboutXWeeks:{one:"khoảng 1 tuần",other:"khoảng {{count}} tuần"},xWeeks:{one:"1 tuần",other:"{{count}} tuần"},aboutXMonths:{one:"khoảng 1 tháng",other:"khoảng {{count}} tháng"},xMonths:{one:"1 tháng",other:"{{count}} tháng"},aboutXYears:{one:"khoảng 1 năm",other:"khoảng {{count}} năm"},xYears:{one:"1 năm",other:"{{count}} năm"},overXYears:{one:"hÆ¡n 1 năm",other:"hÆ¡n {{count}} năm"},almostXYears:{one:"gần 1 năm",other:"gần {{count}} năm"}},n3={date:(0,eB.buildFormatLongFn)({formats:{full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},n4={lastWeek:"eeee 'tuần trước vào lúc' p",yesterday:"'hôm qua vào lúc' p",today:"'hôm nay vào lúc' p",tomorrow:"'ngày mai vào lúc' p",nextWeek:"eeee 'tới vào lúc' p",other:"P"},n5={ordinalNumber:(e,t)=>{let i=Number(e),a=t?.unit;if("quarter"===a)switch(i){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if("day"===a)switch(i){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chá»§ nhật"}else if("week"===a)if(1===i)return"thứ nhất";else return"thứ "+i;else if("dayOfYear"===a)if(1===i)return"đầu tiên";else return"thứ "+i;return String(i)},era:(0,ez.buildLocalizeFn)({values:{narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},defaultWidth:"wide",formattingValues:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},defaultFormattingWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"]},defaultWidth:"wide",formattingValues:{narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["tháng 01","tháng 02","tháng 03","tháng 04","tháng 05","tháng 06","tháng 07","tháng 08","tháng 09","tháng 10","tháng 11","tháng 12"]},defaultFormattingWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],wide:["Chá»
3§ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"am",pm:"pm",midnight:"ná»­a đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"ná»­a đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"ná»­a đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"}},defaultWidth:"wide",formattingValues:{narrow:{am:"am",pm:"pm",midnight:"ná»­a đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"ná»­a đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"ná»­a đêm",noon:"giữa trưa",morning:"vào buổi sáng",afternoon:"vào buổi chiều",evening:"vào buổi tối",night:"vào ban đêm"}},defaultFormattingWidth:"wide"})},n6={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(\d+)/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^t/i,/^s/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},defaultParseWidth:"wide"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chá»§ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chá»§|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},defaultParseWidth:"wide"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(a|p|ná»­a đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|ná»­a đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|ná»­a đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/ná»­a đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},defaultParseWidth:"any"})},n9={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 å¹´",other:"大约 {{count}} å¹´"},xYears:{one:"1 å¹´",other:"{{count}} å¹´"},overXYears:{one:"超过 1 å¹´",other:"超过 {{count}} å¹´"},almostXYears:{one:"将近 1 å¹´",other:"将近 {{count}} å¹´"}},n8={date:(0,eB.buildFormatLongFn)({formats:{full:"y'å¹´'M'月'd'日' EEEE",long:"y'å¹´'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};function n7(e,t,i){let a="eeee p";return eZ(e,t,i)?a:e.getTime()>t.getTime()?"'下个'"+a:"'上个'"+a}let re={lastWeek:n7,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:n7,other:"PP p"},rt={ordinalNumber:(e,t)=>{let i=Number(e);switch(t?.unit){case"date":return i.toString()+"日";case"hour":return i.toString()+"时";case"minute":return i.toString()+"分";case"second":return i.toString()+"秒";default:return"第 "+i.toString()}},era:(0,ez.buildLocalizeFn)({values:{narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultWidth:"wide",formattingValues:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultFormattingWidth:"wide"})},ri={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(第\s*
3)?\d+(日|时|分|秒)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(前)/i,/^(公元)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(一|二|三|四|五|六|七|八|九|十[二一]?)/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]?|\d|1[0-2])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一]?)月/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^(一|1(?!\d))/i,/^(二|2)/i,/^(三|3)/i,/^(四|4)/i,/^(五|5)/i,/^(六|6)/i,/^(七|7)/i,/^(八|8)/i,/^(九|9)/i,/^(十(?!(一|二))|10)/i,/^(十一|11)/i,/^(十二|12)/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},defaultParseWidth:"any"})},ra={lessThanXSeconds:{one:"少於 1 秒",other:"少於 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分鐘",lessThanXMinutes:{one:"少於 1 分鐘",other:"少於 {{count}} 分鐘"},xMinutes:{one:"1 分鐘",other:"{{count}} 分鐘"},xHours:{one:"1 小時",other:"{{count}} 小時"},aboutXHours:{one:"大約 1 小時",other:"大約 {{count}} 小時"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大約 1 個星期",other:"大約 {{count}} 個星期"},xWeeks:{one:"1 個星期",other:"{{count}} 個星期"},aboutXMonths:{one:"大約 1 個月",other:"大約 {{count}} 個月"},xMonths:{one:"1 個月",other:"{{count}} 個月"},aboutXYears:{one:"大約 1 年",other:"大約 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超過 1 年",other:"超過 {{count}} 年"},almostXYears:{one:"將近 1 年",other:"將近 {{count}} 年"}},rn={date:(0,eB.buildFormatLongFn)({formats:{full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:(0,eB.buildFormatLongFn)({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,eB.buildFormatLongFn)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},rr={lastWeek:"'上個'eeee p",yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:"'下個'eeee p",other:"P"},ro={ordinalNumber:(e,t)=>{let i=Number(e);switch(t?.unit){case"date":return i+"日";case"hour":return i+"時";case"minute":return i+"分";case"second":return i+"秒";default:return"第 "+i}},era:(0,ez.buildLocalizeFn)({values:{narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},defaultWidth:"wide"}),quarter:(0,ez.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["第一刻","第二刻","第三刻","第四刻"],wide:["第一刻鐘","第二刻鐘","第三刻鐘","第四刻鐘"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,ez.buildLocalizeFn)({values:{narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},defaultWidth:"wide"}),day:(0,ez.buildLocalizeFn)({values:{narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["週日","週一","週二","週三","週四","週五","週六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},defaultWidth:"wide"}),dayPeriod:(0,ez.buildLocalizeFn)({values:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},defaultWidth:"wide",formattingValues:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},defaultFormattingWidth:"wide"})},rs={ordinalNumber:(0,eU.buildMatchPatternFn)({matchPattern:/^(第\s*
3)?\d+(日|時|分|秒)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(前)/i,/^(公元)/i]},defaultParseWidth:"any"}),quarter:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻鐘/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^(一|二|三|四|五|六|七|八|九|十[二一]?)/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]?|\d|1[0-2])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一]?)月/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^(一|1(?!\d))/i,/^(二|2)/i,/^(三|3)/i,/^(四|4)/i,/^(五|5)/i,/^(六|6)/i,/^(七|7)/i,/^(八|8)/i,/^(九|9)/i,/^(十(?!(一|二))|10)/i,/^(十一|11)/i,/^(十二|12)/i]},defaultParseWidth:"any"}),day:(0,eG.buildMatchFn)({matchPatterns:{narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^週[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},defaultParseWidth:"any"}),dayPeriod:(0,eG.buildMatchFn)({matchPatterns:{any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},defaultParseWidth:"any"})},rl={"ar-SA":{label:"العربية",dateLocale:{code:"ar-SA",formatDistance:(e,t,i)=>{let a,n=e_[e];if(a="string"==typeof n?n:1===t?n.one:2===t?n.two:t<=10?n.threeToTen.replace("{{count}}",String(t)):n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return"في خلال "+a;else return"منذ "+a;return a},formatLong:eO,formatRelative:(e,t,i,a)=>eW[e],localize:eH,match:eV,options:{weekStartsOn:0,firstWeekContainsDate:1}},dir:"rtl"},"be-BY":{label:"Беларуская",dateLocale:e1},"bg-BG":{label:"български език",dateLocale:{code:"bg",formatDistance:(e,t,i)=>{let a,n=e2[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return"след "+a;else return"преди "+a;return a},formatLong:e3,formatRelative:(e,t,i,a)=>{let n=e6[e];return"function"==typeof n?n(t,i,a):n},localize:e8,match:e7,options:{weekStartsOn:1,firstWeekContainsDate:1}}},"bn-BD":{label:"বাংলা",dateLocale:{code:"bn",formatDistance:(e,t,i)=>{let a,n=ta[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",tt(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return a+" এর মধ্যে";else return a+" আগে";return a},formatLong:tn,formatRelative:(e,t,i,a)=>tr[e],localize:ti,match:to,options:{weekStartsOn:0,firstWeekContainsDate:1}}},"bs-BA":{label:"Bosanski",dateLocale:{code:"bs",formatDistance:(e,t,i)=>{let a,n=ts[e];if(a="string"==typeof n?n:1===t?i?.addSuffix?i.comparison&&i.comparison>0?n.one.withPrepositionIn:n.one.withPrepositionAgo:n.one.standalone:t%10>1&&t%10<5&&"1"!==String(t).substr(-2,1)?n.dual.replace("{{count}}",String(t)):n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return"za "+a;else return"prije "+a;return a},formatLong:tl,formatRelative:(e,t,i,a)=>{let n=tu[e];return"function"==typeof n?n(t):n},localize:td,match:th,options:{weekStartsOn:1,firstWeekContainsDate:4}}},"ca-ES":{label:"Català",dateLocale:{code:"ca",formatDistance:(e,t,i)=>{let a,n=tc[e];if(a="string"==typeof n?n:1===t?n.one:11===t&&n.eleven?n.eleven:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return"en "+a;else return"fa "+a;return a},formatLong:tm,formatRelative:(e,t,i,a)=>1!==t.getHours()?tp[e]:tf[e],localize:tg,match:tb,options:{weekStartsOn:1,firstWeekContainsDate:4}}},"cs-CZ":{label:"Čeština",dateLocale:{code:"cs",formatDistance:(e,t,i)=>{let a,n=tv[e];a="other"===n.type?n.other:1===t?n.one:t>1&&t<5?n.few:n.many;let r=i?.addSuffix===!0,o=i?.comparison;return(r&&-1===o?a.past:r&&1===o?a.future:a.regular).replace("{{count}}",String(t))},formatLong:ty,formatRelative:(e,t)=>
3{let i=tM[e];return"function"==typeof i?i(t):i},localize:tx,match:tk,options:{weekStartsOn:1,firstWeekContainsDate:4}}},"da-DK":{label:"Dansk",dateLocale:{code:"da",formatDistance:(e,t,i)=>{let a,n=tS[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return"om "+a;else return a+" siden";return a},formatLong:tP,formatRelative:(e,t,i,a)=>tT[e],localize:tA,match:tC,options:{weekStartsOn:1,firstWeekContainsDate:4}}},"de-CH":{label:"Schwiizerdütsch",dateLocale:tD},"de-DE":{label:"Deutsch",dateLocale:tD},"el-GR":{label:"Ελληνικά",dateLocale:{code:"el",formatDistance:(e,t,i)=>{let a,n=tN[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return"σε "+a;else return a+" πριν";return a},formatLong:tI,formatRelative:(e,t)=>{let i=t_[e];return"function"==typeof i?i(t):i},localize:tB,match:tO,options:{weekStartsOn:1,firstWeekContainsDate:4}}},"en-GB":{label:"English (UK)",dateLocale:tV},"en-US":{label:"English (US)",dateLocale:tK.enUS},"es-ES":{label:"Español",dateLocale:tZ},"fa-IR":{label:"فارسی",dateLocale:{code:"fa-IR",formatDistance:(e,t,i)=>{let a,n=tQ[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return"در "+a;else return a+" قبل";return a},formatLong:tJ,formatRelative:(e,t,i,a)=>t0[e],localize:t1,match:t2,options:{weekStartsOn:6,firstWeekContainsDate:1}},dir:"rtl"},"fi-FI":{label:"Suomi",dateLocale:{code:"fi",formatDistance:(e,t,i)=>{let a=t7[e],n=1===t?a.one:a.other.replace("{{count}}",String(t));if(i?.addSuffix)if(i.comparison&&i.comparison>0)return a.futureTense(n)+" kuluttua";else return n+" sitten";return n},formatLong:ie,formatRelative:(e,t,i,a)=>it[e],localize:is,match:il,options:{weekStartsOn:1,firstWeekContainsDate:4}}},"fo-FO":{label:"Føroyskt"},"fr-FR":{label:"Français",dateLocale:{code:"fr",formatDistance:(e,t,i)=>{let a,n=iu[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return"dans "+a;else return"il y a "+a;return a},formatLong:id,formatRelative:(e,t,i,a)=>ih[e],localize:im,match:ip,options:{weekStartsOn:1,firstWeekContainsDate:4}}},"ga-ES":{label:"Galacian (Spain)",dateLocale:tZ},"he-IL":{label:"עברית",dateLocale:{code:"he",formatDistance:(e,t,i)=>{let a;if("xDays"===e&&i?.addSuffix&&t<=2)return i.comparison&&i.comparison>0?1===t?"מחר":"מחרתיים":1===t?"אתמול":"שלשום";let n=ig[e];if(a="string"==typeof n?n:1===t?n.one:2===t?n.two:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return"בעוד "+a;else return"לפני "+a;return a},formatLong:ib,formatRelative:(e,t,i,a)=>iv[e],localize:iy,match:iM,options:{weekStartsOn:0,firstWeekContainsDate:1}},dir:"rtl"},"hi-IN":{label:"हिन्दी",dateLocale:{code:"hi",formatDistance:(e,t,i)=>{let a,n=iT[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",iS(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return a+"मे ";else return a+" पहले";return a},formatLong:iA,formatRelative:(e,t,i,a)=>iC[e],localize:iP,match:iE,options:{weekStartsOn:0,firstWeekContainsDate:4}}},"hr-HR":{label:"Hrvatski",dateLocale:{code:"hr",formatDistance:(e,t,i)=>{let a,n=iL[e];if(a="string"==typeof n?n:1===t?i?.addSuffix?i.comparison&&i.comparison>0?n.one.withPrepositionIn:n.one.withPrepositionAgo:n.one.standalone:t%10>1&&t%10<5&&"1"!==String(t).substr(-2,1)?n.dual.replace("{{count}}",String(t)):n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return"za "+a;else return"prije "+a;return a},formatLong:iR,formatRelative:(e,t,i,a)=>{let n=iF[e];return"function"==typeof n?n(t):n},localize:ij,match:iD,options:{weekStartsOn:1,firstWeekContainsDate:1}}},"hu-HU":{label:"Hungarian",dateLocale:{code:"hu",formatDistance:(e,t,i)=>{let a=e.match(/about|over|almost|lessthan/i),n=a?e.replace(a[0],""):e,r=i?.addSuffix===!0,o=n.toLowerCase(),s=i?.comparison||0,l=r?i_[o][s]:iI[o],u="halfaminute"===o?l:t+l;return a&&(u=iN[a[0].toLowerCase()]+" "+u),u},formatLong:iB,formatRelative:(e,t)=>
3{let i=iz[e];return"function"==typeof i?i(t):i},localize:iH,match:iG,options:{weekStartsOn:1,firstWeekContainsDate:4}}},"id-ID":{label:"Bahasa Indonesia",dateLocale:iq},"it-IT":{label:"Italiano",dateLocale:{code:"it",formatDistance:(e,t,i)=>{let a,n=iY[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",t.toString()),i?.addSuffix)if(i.comparison&&i.comparison>0)return"tra "+a;else return a+" fa";return a},formatLong:iX,formatRelative:(e,t,i,a)=>{let n=iQ[e];return"function"==typeof n?n(t,i,a):n},localize:iJ,match:i0,options:{weekStartsOn:1,firstWeekContainsDate:4}}},"ja-JP":{label:"日本語",dateLocale:i4},"km-KH":{label:"ភាសាខ្មែរ",dateLocale:{code:"km",formatDistance:(e,t,i)=>{let a=i5[e];if("number"==typeof t&&(a=a.replace("{{count}}",t.toString())),i?.addSuffix)if(i.comparison&&i.comparison>0)return"ក្នុងរយៈពេល "+a;else return a+"មុន";return a},formatLong:i6,formatRelative:(e,t,i,a)=>i9[e],localize:i8,match:i7,options:{weekStartsOn:0,firstWeekContainsDate:1}}},"ko-KR":{label:"한국어",dateLocale:{code:"ko",formatDistance:(e,t,i)=>{let a,n=ae[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",t.toString()),i?.addSuffix)if(i.comparison&&i.comparison>0)return a+" 후";else return a+" 전";return a},formatLong:at,formatRelative:(e,t,i,a)=>ai[e],localize:aa,match:an,options:{weekStartsOn:0,firstWeekContainsDate:1}}},"lt-LT":{label:"Lietuvių",dateLocale:{code:"lt",formatDistance:(e,t,i)=>{let a,n=e.match(/about|over|almost|lessthan/i),r=n?e.replace(n[0],""):e,o=i?.comparison!==void 0&&i.comparison>0,s=ah[e];if(a="string"==typeof s?s:1===t?s.one(t,i?.addSuffix===!0,r.toLowerCase()+"_one",o):s.other(t,i?.addSuffix===!0,r.toLowerCase()+"_other",o),n&&(a=ar[n[0].toLowerCase()]+" "+a),i?.addSuffix)if(i.comparison&&i.comparison>0)return"po "+a;else return"prieš "+a;return a},formatLong:ac,formatRelative:(e,t,i,a)=>am[e],localize:af,match:ap,options:{weekStartsOn:1,firstWeekContainsDate:4}}},"mn-MN":{label:"Монгол",dateLocale:{code:"mn",formatDistance:(e,t,i)=>{let a,n=ag[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",String(t)),i?.addSuffix){let e=a.split(" "),t=e.pop();switch(a=e.join(" "),t){case"секунд":a+=" секундийн";break;case"минут":a+=" минутын";break;case"цаг":a+=" цагийн";break;case"өдөр":a+=" өдрийн";break;case"сар":a+=" сарын";break;case"жил":a+=" жилийн";break;case"хоног":a+=" хоногийн";break;case"гаран":a+=" гараны";break;case"хүрэхгүй":a+=" хүрэхгүй хугацааны";break;default:a+=t+"-н"}return i.comparison&&i.comparison>0?a+" дараа":a+" өмнө"}return a},formatLong:ab,formatRelative:(e,t,i,a)=>av[e],localize:ay,match:aw,options:{weekStartsOn:1,firstWeekContainsDate:1}}},"ms-MY":{label:"Malay",dateLocale:{code:"ms",formatDistance:(e,t,i)=>{let a,n=aM[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return"dalam masa "+a;else return a+" yang lalu";return a},formatLong:ax,formatRelative:(e,t,i,a)=>ak[e],localize:aS,match:aP,options:{weekStartsOn:1,firstWeekContainsDate:1}}},"my-MM":{label:"မြန်မာဘာသာ",dateLocale:tK.enUS},"nl-NL":{label:"Nederlands",dateLocale:{code:"nl",formatDistance:(e,t,i)=>{let a,n=aR[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return"over "+a;else return a+" geleden";return a},formatLong:aF,formatRelative:(e,t,i,a)=>aj[e],localize:aD,match:aN,options:{weekStartsOn:1,firstWeekContainsDate:4}}},"nb-NO":{label:"Norsk Bokmål",dateLocale:{code:"nb",formatDistance:(e,t,i)=>{let a,n=aT[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return"om "+a;else return a+" siden";return a},formatLong:aA,formatRelative:(e,t,i,a)=>aC[e],localize:aE,match:aL,options:{weekStartsOn:1,firstWeekContainsDate:4}}},"pl-PL":{label:"Polski",dateLocale:{code:"pl",formatDistance:(e,t,i)=>{let a=aI[e];return i?.addSuffix?i.comparison&&i.comparison>0?"za "+a_(a,t,"future"):a_(a,t,"past")+" temu":a_(a,t,"regular")},formatLong:aB,formatRelative:(e,t,i,a)=>{let n=aU[e];return"function"==typeof n?n(e,t,i,a):n},localize:aV,match:aK,options:{weekStartsOn:1,firstWeekContainsDate:4}}},"pt-BR":{label:"Português do Brasil",dateLocale:{code:"pt-BR",formatDistance:(e,t,i)=>{let a,n=aQ[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return"em "+a;else return"há "+a;return a},formatLong:aJ,formatRelative:(e,t,i,a)=>{let n=a0[e];return"function"==typeof n?n(t):n},localize:a1,match:a2,options:{weekStartsOn:0,firstWeekContainsDate:1}}},"pt-PT":{label:"Português",dateLocale:{code:"pt",formatDistance:(e,t,i)=>{let a,n=aq[e];
3if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return"daqui a "+a;else return"há "+a;return a},formatLong:aY,formatRelative:(e,t,i,a)=>{let n=aX[e];return"function"==typeof n?n(t):n},localize:a$,match:aZ,options:{weekStartsOn:0,firstWeekContainsDate:4}}},"ro-RO":{label:"Română",dateLocale:{code:"ro",formatDistance:(e,t,i)=>{let a,n=a3[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return"în "+a;else return a+" în urmă";return a},formatLong:a4,formatRelative:(e,t,i,a)=>a5[e],localize:a6,match:a9,options:{weekStartsOn:1,firstWeekContainsDate:1}}},"ru-RU":{label:"Русский",dateLocale:{code:"ru",formatDistance:(e,t,i)=>ne[e](t,i),formatLong:nt,formatRelative:(e,t,i,a)=>{let n=nn[e];return"function"==typeof n?n(t,i,a):n},localize:nr,match:no,options:{weekStartsOn:1,firstWeekContainsDate:1}}},"si-LK":{label:"සිංහල",dateLocale:iq},"sk-SK":{label:"Slovenčina",dateLocale:{code:"sk",formatDistance:(e,t,i)=>{var a;let n=["lessThan","about","over","almost"].filter(function(t){return!!e.match(RegExp("^"+t))})[0]||"",r=nd[(a=e.substring(n.length)).charAt(0).toLowerCase()+a.slice(1)];return i?.addSuffix?i.comparison&&i.comparison>0?nl(n)+"o "+nu(n)+ns(r,t,"future"):nl(n)+"pred "+nu(n)+ns(r,t,"past"):nl(n)+nu(n)+ns(r,t,"present")},formatLong:nh,formatRelative:(e,t,i,a)=>{let n=nf[e];return"function"==typeof n?n(t,i,a):n},localize:np,match:ng,options:{weekStartsOn:1,firstWeekContainsDate:4}}},"sl-SI":{label:"Slovenščina",dateLocale:{code:"sl",formatDistance:(e,t,i)=>{let a="",n="present";i?.addSuffix&&(i.comparison&&i.comparison>0?(n="future",a="čez "):(n="past",a="pred "));let r=nb[e];if("string"==typeof r)a+=r;else{let e=function(e){switch(e%100){case 1:return"one";case 2:return"two";case 3:case 4:return"few";default:return"other"}}(t);void 0!==r.one?a+=r[e].replace("{{count}}",String(t)):a+=r[n][e].replace("{{count}}",String(t))}return a},formatLong:nv,formatRelative:(e,t,i,a)=>{let n=ny[e];return"function"==typeof n?n(t):n},localize:nw,match:nM,options:{weekStartsOn:1,firstWeekContainsDate:1}}},"sv-SE":{label:"Svenska",dateLocale:{code:"sv",formatDistance:(e,t,i)=>{let a,n=nx[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",t<13?nk[t]:String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return"om "+a;else return a+" sedan";return a},formatLong:nS,formatRelative:(e,t,i,a)=>nP[e],localize:nT,match:nA,options:{weekStartsOn:1,firstWeekContainsDate:4}}},"ta-IN":{label:"தமிழ்",dateLocale:{code:"ta",formatDistance:(e,t,i)=>{let a=i?.addSuffix?i.comparison&&i.comparison>0?"in":"ago":"default",n=nC[e];return void 0===n.one?n[a]:1===t?n.one[a]:n.other[a].replace("{{count}}",String(t))},formatLong:nE,formatRelative:(e,t,i,a)=>nL[e],localize:nR,match:nF,options:{weekStartsOn:1,firstWeekContainsDate:4}}},"th-TH":{label:"ภาษาไทย",dateLocale:{code:"th",formatDistance:(e,t,i)=>{let a,n=nj[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(!i.comparison||!(i.comparison>0))return a+"ที่ผ่านมา";else if("halfAMinute"===e)return"ใน"+a;else return"ใน "+a;return a},formatLong:nD,formatRelative:(e,t,i,a)=>nN[e],localize:nI,match:n_,options:{weekStartsOn:0,firstWeekContainsDate:1}}},"tr-TR":{label:"Türkçe",dateLocale:{code:"tr",formatDistance:(e,t,i)=>{let a,n=nB[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",t.toString()),i?.addSuffix)if(i.comparison&&i.comparison>0)return a+" sonra";else return a+" önce";return a},formatLong:nO,formatRelative:(e,t,i,a)=>nW[e],localize:nz,match:nH,options:{weekStartsOn:1,firstWeekContainsDate:1}}},"uk-UA":{label:"українська",dateLocale:n$},"ur-PK":{label:"Urdu (Pakistan)",dateLocale:n$,dir:"rtl"},"uz-UZ":{label:"O‘zbekcha",dateLocale:{code:"uz",formatDistance:(e,t,i)=>{let a,n=nZ[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return a+" dan keyin";else return a+" oldin";return a},formatLong:nQ,formatRelative:(e,t,i,a)=>nJ[e],localize:n0,match:n1,options:{weekStartsOn:1,firstWeekContainsDate:1}}},"vi-VN":{label:"Tiếng Việt",dateLocale:{code:"vi",formatDistance:(e,t,i)=>{let a,n=n2[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return a+" nữa";else return a+" trước";return a},formatLong:n3,formatRelative:(e,t,i,a)=>n4[e],localize:n5,match:n6,options:{weekStartsOn:1,firstWeekContainsDate:1}}},"zh-CN":{label:"中文",dateLocale:{code:"zh-CN",formatDistance:(e,t,i)=>{let a,n=n9[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return a+"内";else return a+"前";return a},formatLong:n8,formatRelative:(e,t,i,a)=>{let n=re[e];return"function"==typeof n?n(t,i,a):n},localize:rt,match:ri,options:{weekStartsOn:1,firstWeekContainsDate:4}}},"zh-TW":{label:"中文(繁體)",dateLocale:{code:"zh-TW",formatDistance:(e,t,i)=>{let a,n=ra[e];if(a="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",String(t)),i?.addSuffix)if(i.comparison&&i.comparison>0)return a+"內";else return a+"前";return a},formatLong:rn,formatRelative:(e,t,i,a)=>rr[e],localize:ro,match:rs,options:{weekStartsOn:1,firstWeekContainsDate:4}}}};function ru(e){return rl[e]?.dateLocale||tK.enUS}e.s(["getDateLocale",0,ru,"getTextDirection",0,function(e){return rl[e]?.dir||"ltr"},"languages",0,rl],413924);let rd={minute:{diff:M.differenceInMinutes,add:h.addMinutes,sub:z,start:N,end:P},hour:{diff:w.differenceInHours,add:d.addHours,sub:W,start:D,end:S},day:{diff:p.differenceInCalendarDays,add:u.addDays,sub:O,start:j.startOfDay,end:x.endOfDay}
3,week:{diff:b.differenceInCalendarWeeks,add:m.addWeeks,sub:G,start:_.startOfWeek,end:A.endOfWeek},month:{diff:g.differenceInCalendarMonths,add:c.addMonths,sub:H,start:I.startOfMonth,end:T.endOfMonth},year:{diff:v.differenceInCalendarYears,add:f.addYears,sub:U,start:B.startOfYear,end:C.endOfYear}},rh={minute:"yyyy-MM-dd HH:mm",hour:"yyyy-MM-dd HH",day:"yyyy-MM-dd",week:"yyyy-'W'II",month:"yyyy-MM",year:"yyyy"};function rc(){return Intl.DateTimeFormat().resolvedOptions().timeZone}function rm(e){let t=e.match?.(/^(?<num>[0-9-]+)(?<unit>hour|day|week|month|year)$/);if(!t)return null;let{num:i,unit:a}=t.groups;return{num:+i,unit:a}}function rf(e,t="PPpp",i="en-US"){return(0,E.format)("string"==typeof e?new Date(e):e,t,{locale:ru(i)})}function rp(e,t){return`range:${e.getTime()}:${t.getTime()}`}e.s(["DATE_FORMATS",0,rh,"DATE_FUNCTIONS",0,rd,"formatDate",0,rf,"generateTimeSeries",0,function(e,t,i,a,n){var r;let o=rd[a].add,s=rd[a].start,l=rh[a],u=s(t),d=s(i),h=[];for(;(0,L.isBefore)(u,d)||(r=u,+(0,k.toDate)(r)==+(0,k.toDate)(d));)h.push(rf(u,l,n)),u=o(u,1);let c=new Map(e.map(({x:e,y:t,d:i})=>[rf(e,l,n),{x:e,y:t,d:i}]));return h.map(e=>{let{x:t,y:i,d:a}=c.get(e)||{};return{x:e,d:a??t,y:i??null}})},"getCompareDate",0,function(e,t,i){if("yoy"===e)return{compare:e,startDate:U(t,1),endDate:U(i,1)};if("prev"===e){let a=(0,M.differenceInMinutes)(i,t);return{compare:e,startDate:z(t,a),endDate:z(i,a)}}return{}},"getDateRangeValue",0,rp,"getDayOfWeekAsDate",0,function(e){let t=(0,_.startOfWeek)(new Date),i=[0,1,2,3,4,5,6].indexOf(e),a=(0,u.addDays)(t,i);return(0,R.isSameDay)(a,t)&&(a=(0,u.addDays)(a,7)),a},"getMaxSelectableDate",0,function(e=new Date){return(0,F.max)([(0,C.endOfYear)(e),(0,c.addMonths)(e,6)])},"getMonthDateRangeValue",0,function(e){return rp((0,I.startOfMonth)(e),(0,T.endOfMonth)(e))},"getOffsetDateRange",0,function(e,t){if(0===t)return e;let{startDate:i,endDate:a,unit:n,num:r,value:o}=e,s=r*t,{add:l}=rd[n],{unit:d}=rm(o)||{};switch(d){case"day":return{...e,offset:t,startDate:(0,u.addDays)(i,s),endDate:(0,u.addDays)(a,s)};case"week":return{...e,offset:t,startDate:(0,m.addWeeks)(i,s),endDate:(0,m.addWeeks)(a,s)};case"month":return{...e,offset:t,startDate:(0,c.addMonths)(i,s),endDate:(0,c.addMonths)(a,s)};case"year":return{...e,offset:t,startDate:(0,f.addYears)(i,s),endDate:(0,f.addYears)(a,s)};default:return{startDate:l(i,s),endDate:l(a,s),offset:t,value:o,unit:n,num:r}}},"getTimezone",0,rc,"isInvalidDate",0,function(e){return e instanceof Date&&Number.isNaN(e.getTime())},"parseDateRange",0,function(e,t,i="en-US",a){if("string"!=typeof e)return null;if(e.startsWith("range")){let[,t,i]=e.split(":"),a=new Date(+t),n=new Date(+i),r=function(e,t,i=!1){return 60>=(0,M.differenceInMinutes)(t,e)?"minute":(i?48>=(0,w.differenceInHours)(t,e):30>=(0,y.differenceInDays)(t,e))?"hour":7>=(0,g.differenceInCalendarMonths)(t,e)?"day":24>=(0,g.differenceInCalendarMonths)(t,e)?"month":"year"}(a,n,!0);return{startDate:a,endDate:n,value:e,...rm(e),unit:r}}let n=new Date,r=a?eI(n,a):n,o=ru(i),{num:s=1,unit:l}=rm(e);switch(l){case"hour":return{startDate:s?W(D(r),s):D(r),endDate:S(r),offset:0,num:s||1,unit:t||l,value:e};case"day":return{startDate:s?O((0,j.startOfDay)(r),s):(0,j.startOfDay)(r),endDate:(0,x.endOfDay)(r),unit:t||(s?"day":"hour"),offset:0,num:s||1,value:e};case"week":return{startDate:s?G((0,_.startOfWeek)(r,{locale:o}),s):(0,_.startOfWeek)(r,{locale:o}),endDate:(0,A.endOfWeek)(r,{locale:o}),unit:t||"day",offset:0,num:s||1,value:e};case"month":return{startDate:s?H((0,I.startOfMonth)(r),s):(0,I.startOfMonth)(r),endDate:(0,T.endOfMonth)(r),unit:t||(s?"month":"day"),offset:0,num:s||1,value:e};case"year":return{startDate:s?U((0,B.startOfYear)(r),s):(0,B.startOfYear)(r),endDate:(0,C.endOfYear)(r),unit:t||"month",offset:0,num:s||1,value:e}}}],227465);var rg=e.i(103053);let rb={locale:(0,rg.getItem)(o.LOCALE_CONFIG)||o.DEFAULT_LOCALE,theme:(0,rg.getItem)(o.THEME_CONFIG)||o.DEFAULT_THEME,timezone:(0,rg.getItem)(o.TIMEZONE_CONFIG)||rc(),dateRangeValue:(0,rg.getItem)(o.DATE_RANGE_CONFIG)||o.DEFAULT_DATE_RANGE_VALUE,share:null,shareToken:null,user:null,config:null},rv=(0,l.create)(()=>({...rb}));async function ry(e){if(!e.ok){let{message:t,code:i,status:a}=e?.data?.error||{};return Promise.reject(Object.assign(Error(t),{code:i,status:a}))}return Promise.resolve(e.data)}e.s(["setConfig",0,function(e){rv.setState({config:e})},"setLocale",0,function(e){rv.setState({locale:e})},"setShareData",0,function(e,t){rv.setState({share:e,shareToken:t})},"setTimezone",0,function(e){rv.setState({timezone:e})},"setUser",0,function(e){rv.setState({user:e})},"useApp",0,rv],199835),e.s(["useApi",0,function(){let e=rv(e=>e.share?.shareId),l=rv(e=>e.shareToken?.token),u=e&&l?{[o.SHARE_TOKEN_HEADER]:l,[o.SHARE_CONTEXT_HEADER]:"1"}:{},d={authorization:`Bearer ${(0,r.getClientAuthToken)()}`,...u},h=e=>(0,n.getApiUrl)(e),c=(e={})=>({...d,...e});return{get:(0,a.useCallback)(async(e,t={},i={})=>(0,s.httpGet)(h(e),t,c(i)).then(ry),[s.httpGet]),post:(0,a.useCallback)(async(e,t={},i={})=>(0,s.httpPost)(h(e),t,c(i)).then(ry),[s.httpPost]),put:(0,a.useCallback)(async(e,t={},i={})=>(0,s.httpPut)(h(e),t,c(i)).then(ry),[s.httpPut]),del:(0,a.useCallback)(async(e,t={},i={})=>(0,s.httpDelete)(h(e),t,c(i)).then(ry),[s.httpDelete]),useQuery:i.useQuery,useMutation:t.useMutation}}],999579)},479537,e=>{"use strict";var t=e.i(866988),i=e.i(999579),a=e.i(199835);e.s(["useConfig",0,function(){let{config:e}=(0,a.useApp)(),{get:n}=(0,i.useApi)();async function r(){let e=await n("/config");(0,a.setConfig)(e)}return(0,t.useEffect)(()=>{e||r()},[]),e}
3])},890353,966809,108761,887632,864878,e=>{"use strict";var t=e.i(866988),i=e.i(685149),a=e.i(216180),n=e.i(413924),r=e.i(103053),o=e.i(199835),s=e.i(522264);function l(){let[,e]=(0,t.useState)(Object.create(null));return(0,t.useCallback)(()=>{e(Object.create(null))},[e])}e.s(["useForceUpdate",0,l],966809);let u={"en-US":s.default},d=e=>e.locale;function h(){let e=(0,o.useApp)(d),s=l(),h=(0,n.getTextDirection)(e),c=(0,n.getDateLocale)(e);async function m(e){let{data:t}=await (0,a.httpGet)(`/intl/messages/${e}.json`);u[e]=t}async function f(t){u[t]||await m(t),(0,r.setItem)(i.LOCALE_CONFIG,t),e!==t?(0,o.setLocale)(t):s()}return(0,t.useEffect)(()=>{u[e]||f(e)},[e]),(0,t.useEffect)(()=>{document.documentElement.lang=e.split("-")[0],document.documentElement.setAttribute("dir",(0,n.getTextDirection)(e))},[e]),(0,t.useEffect)(()=>{let e=new URL(window?.location?.href).searchParams.get("locale");e&&f(e)},[]),{locale:e,saveLocale:f,messages:u,dir:h,dateLocale:c}}e.s(["useLocale",0,h],108761);var c=e.i(666369),m=e.i(227465);function f(e={}){let{query:{date:a="",unit:n="",offset:o=0,compare:s="prev"}}=(0,c.useNavigation)(),{locale:l}=h(),u=(0,t.useMemo)(()=>{let t=(0,m.parseDateRange)(a||(0,r.getItem)(i.DATE_RANGE_CONFIG)||i.DEFAULT_DATE_RANGE_VALUE,n,l,e.timezone);return!e.ignoreOffset&&o?(0,m.getOffsetDateRange)(t,+o):t},[a,n,o,e]),d=(0,m.getCompareDate)(s,u.startDate,u.endDate);return{date:a,unit:n,offset:o,compare:s,isAllTime:a.endsWith(":all"),isCustomRange:a.startsWith("range:"),dateRange:u,dateCompare:d}}e.s(["useDateRange",0,f],887632),e.i(43496);var p=e.i(67702),g=e.i(344132),b=e.i(922569);let v=e=>e.timezone;function y(){let e=(0,o.useApp)(v),t=(0,m.getTimezone)(),{dateLocale:a}=h();return{timezone:e,localTimeZone:t,toUtc:t=>(0,g.fromZonedTime)(t,e),fromUtc:t=>(0,b.toZonedTime)(t,e),localToUtc:e=>(0,g.fromZonedTime)(e,t),localFromUtc:e=>(0,b.toZonedTime)(e,t),saveTimezone:e=>{(0,r.setItem)(i.TIMEZONE_CONFIG,e),(0,o.setTimezone)(e)},formatTimezoneDate:(t,i)=>(0,p.formatInTimeZone)(/^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{3})?Z$/.test(t)?t:`${t.split(" ").join("T")}Z`,e,i,{locale:a}),formatSeriesTimezone:(e,t,i)=>e.map(e=>{let a=new Date(e[t]),n=new Intl.DateTimeFormat("en-US",{timeZone:i,hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).formatToParts(a),r=e=>n.find(t=>t.type===e)?.value,o=r("year"),s=r("month"),l=r("day"),u=r("hour"),d=r("minute"),h=r("second");return{...e,[t]:`${o}-${s}-${l} ${u}:${d}:${h}`}}),canonicalizeTimezone:e=>i.TIMEZONE_LEGACY[e]??e}}function w(e,t){try{return e.toISOString()}catch{return t.toISOString()}}e.s(["useTimezone",0,y],864878),e.s(["useDateParameters",0,function(){let{dateRange:{startDate:e,endDate:t,unit:i}}=f(),{timezone:a,localToUtc:n,canonicalizeTimezone:r}=y(),o=n(e),s=n(t),l=+o,u=+s,d=Number.isFinite(l),h=Number.isFinite(u);return{startAt:d?l:+e,endAt:h?u:+t,startDate:w(d?o:e,e),endDate:w(h?s:t,t),unit:i,timezone:r(a)}}],890353)},124804,982521,e=>{"use strict";var t=e.i(866988);e.s([],124804),e.s(["useEscapeKey",0,function(e){let i=(0,t.useCallback)(t=>{"Escape"===t.key&&e(t)},[]);return(0,t.useEffect)(()=>(document.addEventListener("keydown",i,!1),()=>{document.removeEventListener("keydown",i,!1)}),[i]),null}],982521)},839932,e=>{"use strict";var t=e.i(223351);e.s(["useFields",0,function(){let{t:e,labels:i}=(0,t.useMessages)();return{fields:[{name:"path",filterLabel:e(i.path),label:e(i.path),group:"url"},{name:"query",filterLabel:e(i.query),label:e(i.query),group:"url"},{name:"title",filterLabel:e(i.pageTitle),label:e(i.pageTitle),group:"url"},{name:"referrer",filterLabel:e(i.referrer),label:e(i.referrer),group:"sources"},{name:"country",filterLabel:e(i.country),label:e(i.country),group:"location"},{name:"region",filterLabel:e(i.region),label:e(i.region),group:"location"},{name:"city",filterLabel:e(i.city),label:e(i.city),group:"location"},{name:"browser",filterLabel:e(i.browser),label:e(i.browser),group:"environment"},{name:"os",filterLabel:e(i.os),label:e(i.os),group:"environment"},{name:"device",filterLabel:e(i.device),label:e(i.device),group:"environment"},{name:"utmSource",filterLabel:e(i.source),label:e(i.utmSource),group:"utm"},{name:"utmMedium",filterLabel:e(i.medium),label:e(i.utmMedium),group:"utm"},{name:"utmCampaign",filterLabel:e(i.campaign),label:e(i.utmCampaign),group:"utm"},{name:"utmContent",filterLabel:e(i.content),label:e(i.utmContent),group:"utm"},{name:"utmTerm",filterLabel:e(i.term),label:e(i.utmTerm),group:"utm"},{name:"hostname",filterLabel:e(i.hostname),label:e(i.hostname),group:"other"},{name:"distinctId",filterLabel:e(i.distinctId),label:e(i.distinctId),group:"other"},{name:"tag",filterLabel:e(i.tag),label:e(i.tag),group:"other"},{name:"event",filterLabel:e(i.event),label:e(i.event),group:"other"}],groupLabels:[{key:"url",label:e(i.url)},{key:"sources",label:e(i.sources)},{key:"location",label:e(i.location)},{key:"environment",label:e(i.environment)},{key:"utm",label:e(i.utm)},{key:"other",label:e(i.other)}]}}])},265991,e=>{"use strict";e.s(["useFilterParameters",()=>r]);var t=e.i(866988),i=e.i(685149),a=e.i(810373),n=e.i(666369);function r({includePagination:e=!0}={}){let{pathname:o,query:s}=(0,n.useNavigation)(),l=(0,a.useShare)(),u=l?.parameters?.allowFilter!==!1,d=o.endsWith("/events");return(0,t.useMemo)(()=>{let t={};if(u)for(let e of Object.keys(s)){let a=e.replace(/\d+$/,"");(i.FILTER_COLUMNS[a]||/^spf\d+$/.test(e)||d&&/^epf\d+$/.test(e))&&(t[e]=s[e])}let a={...t,search:s.search,segment:u?s.segment:void 0,cohort:u?s.cohort:void 0,excludeBounce:u?s.excludeBounce:void 0,match:u?s.match:void 0};return e&&(a.page=s.page,a.pageSize=s.pageSize),a},[u,e,d,s])}},588369,e=>{"use strict";e.s(["useFilters",()=>u]);var t=e.i(685149),i=e.i(774413),a=e.i(478011),n=e.i(810373),r=e.i(839932),o=e.i(223351),s=e.i(666369),l=e.i(480968);function u(){let{t:e,labels:u}=(0,o.useMessages)(),{pathname:d,query:h}=(0,s.useNavigation)(),{fields:c}
3=(0,r.useFields)(),m=(0,l.useOperatorLabels)(),f=(0,n.useShare)(),p=f?.parameters?.allowFilter!==!1,g=[{name:"eq",type:"string",label:e(u.is)},{name:"neq",type:"string",label:e(u.isNot)},{name:"c",type:"string",label:e(u.contains)},{name:"dnc",type:"string",label:e(u.doesNotContain)},{name:"re",type:"string",label:e(u.regexMatch)},{name:"nre",type:"string",label:e(u.regexNotMatch)},{name:"i",type:"array",label:e(u.includes)},{name:"dni",type:"array",label:e(u.doesNotInclude)},{name:"t",type:"boolean",label:e(u.isTrue)},{name:"f",type:"boolean",label:e(u.isFalse)},{name:"eq",type:"number",label:e(u.is)},{name:"neq",type:"number",label:e(u.isNot)},{name:"gt",type:"number",label:e(u.greaterThan)},{name:"lt",type:"number",label:e(u.lessThan)},{name:"gte",type:"number",label:e(u.greaterThanEquals)},{name:"lte",type:"number",label:e(u.lessThanEquals)},{name:"bf",type:"date",label:e(u.before)},{name:"af",type:"date",label:e(u.after)},{name:"eq",type:"uuid",label:e(u.is)}],b={string:[t.OPERATORS.equals,t.OPERATORS.notEquals,t.OPERATORS.contains,t.OPERATORS.doesNotContain,t.OPERATORS.regex,t.OPERATORS.notRegex],array:[t.OPERATORS.contains,t.OPERATORS.doesNotContain],boolean:[t.OPERATORS.true,t.OPERATORS.false],number:[t.OPERATORS.equals,t.OPERATORS.notEquals,t.OPERATORS.greaterThan,t.OPERATORS.lessThan,t.OPERATORS.greaterThanEquals,t.OPERATORS.lessThanEquals],date:[t.OPERATORS.before,t.OPERATORS.after],uuid:[t.OPERATORS.equals]},v=p?Object.keys(h).reduce((e,i)=>{let n=i.replace(/\d+$/,"");if(t.FILTER_COLUMNS[n]){let t="eq",r=(0,a.safeDecodeURIComponent)(h[i]),o=c.find(({name:e})=>e===n)?.label,s=r.match(/^([a-z]+)\.(.*)/);return s&&(t=s[1],r=s[2]),e.concat({name:i,type:n,operator:t,value:r,label:o})}return e},[]):[],y=p&&d.endsWith("/events")?(0,i.parseUniversalEventPropertyFilters)(h):[];return{fields:c,operators:g,filters:v,eventPropertyFilters:y,sessionPropertyFilters:p?(0,i.parseSessionPropertyFilters)(h):[],operatorLabels:m,typeFilters:b,getFilters:e=>b[e]?.map(t=>({type:e,value:t,label:m[t]}))??[]}}},860411,821630,e=>{"use strict";var t=e.i(685149),i=e.i(931478),a=e.i(12723),n=e.i(866988),r=e.i(216180),o=e.i(355039);let s={"en-US":o.default};function l(e){let[t,i]=(0,n.useState)(s[e]||o.default);async function a(e){let{data:t}=await (0,r.httpGet)(`/intl/language/${e}.json`);t?(s[e]=t,i(s[e])):i(o.default)}return(0,n.useEffect)(()=>{s[e]?i(s[e]):a(e)},[e]),{languageNames:t}}e.s(["useLanguageNames",0,l],821630);var u=e.i(108761),d=e.i(223351);e.s(["useFormat",0,function(){let{t:e,labels:n}=(0,d.useMessages)(),{locale:r}=(0,u.useLocale)(),{countryNames:o}=(0,a.useCountryNames)(r),{languageNames:s}=l(r),h=e=>t.OS_NAMES[e]||e,c=e=>t.BROWSERS[e]||e,m=t=>e(n[t]||n.unknown),f=e=>o[e]||e,p=e=>{let[t]=e?.split("-")||[];return i.default[e]?`${i.default[e]}, ${o[t]}`:e},g=(e,t)=>o[t]?`${e}, ${o[t]}`:e,b=e=>s[e?.split("-")[0]]||e;return{formatOS:h,formatBrowser:c,formatDevice:m,formatCountry:f,formatRegion:p,formatCity:g,formatLanguage:b,formatValue:(e,t,i)=>{switch(t){case"os":return h(e);case"browser":return c(e);case"device":return m(e);case"country":return f(e);case"region":return p(e);case"city":return g(e,i?.country);case"language":return b(e);default:return"string"==typeof e?e:void 0}}}}],860411)},637986,654914,425992,337026,809699,e=>{"use strict";let t=(0,e.i(457806).create)(()=>({}));e.s(["useGlobalState",0,(e,i)=>(void 0!==i&&void 0===t.getState()[e]&&t.setState({[e]:i}),[t(t=>t[e]),i=>t.setState({[e]:i})])],637986),e.i(866988),e.i(666369),e.s([],654914);var i=e.i(479537),a=e.i(685149);e.s(["useSlug",0,function(e){let t=(0,i.useConfig)(),n=t?.linksUrl,r=t?.pixelsUrl,o="link"===e?n||a.LINKS_URL:r||a.PIXELS_URL;return{getSlugUrl:e=>`${o}/${e}`,hostUrl:o}}],425992),e.s([],337026);let n={isPro:!1,isBusiness:!1,isNoBilling:!1,hasSubscription:!1,unlimitedWebsites:!1};var r=e.i(199835),o=e.i(999579);let s={replays:"isBusiness"};e.s(["useSubscription",0,function(e){let t=(0,r.useApp)(e=>e.user?.id),a=(0,i.useConfig)(),{get:l,useQuery:u}=(0,o.useApi)(),d=a?.cloudMode||!1,{data:h=n,isLoading:c,isFetching:m,error:f}=u({queryKey:["subscription",{teamId:e||null}],queryFn:()=>l("/auth/subscription",e?{teamId:e}:{}),enabled:d&&!!t,staleTime:0,gcTime:0,refetchOnMount:"always",refetchOnWindowFocus:"always"});
3return{...h,cloudMode:d,hasFeature:function(e){return!d||!!h.isNoBilling||h[s[e]]||!1},isLoading:c||m,isFetching:m,error:f}}],809699)},223351,e=>{"use strict";var t=e.i(943572);function i(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let a=i(0,t.useTranslations);i(0,t.useFormatter);let n={ok:"label.ok",unknown:"label.unknown",required:"label.required",save:"label.save",cancel:"label.cancel",close:"label.close",continue:"label.continue",delete:"label.delete",leave:"label.leave",users:"label.users",createUser:"label.create-user",deleteUser:"label.delete-user",username:"label.username",password:"label.password",role:"label.role",user:"label.user",viewOnly:"label.view-only",manage:"label.manage",admin:"label.admin",confirm:"label.confirm",details:"label.details",boardType:"label.board-type",website:"label.website",websites:"label.websites",myWebsites:"label.my-websites",teamWebsites:"label.team-websites",created:"label.created",createdBy:"label.created-by",edit:"label.edit",design:"label.design",name:"label.name",manager:"label.manager",member:"label.member",members:"label.members",accessCode:"label.access-code",teamId:"label.team-id",team:"label.team",teamName:"label.team-name",regenerate:"label.regenerate",remove:"label.remove",join:"label.join",createTeam:"label.create-team",joinTeam:"label.join-team",settings:"label.settings",owner:"label.owner",url:"label.url",teamOwner:"label.team-owner",teamManager:"label.team-manager",teamMember:"label.team-member",teamViewOnly:"label.team-view-only",enableShareUrl:"label.enable-share-url",data:"label.data",trackingCode:"label.tracking-code",shareUrl:"label.share-url",action:"label.action",actions:"label.actions",domain:"label.domain",websiteId:"label.website-id",resetWebsite:"label.reset-website",deleteWebsite:"label.delete-website",transferWebsite:"label.transfer-website",deleteReport:"label.delete-report",reset:"label.reset",addWebsite:"label.add-website",addMember:"label.add-member",editMember:"label.edit-member",removeMember:"label.remove-member",addDescription:"label.add-description",changePassword:"label.change-password",currentPassword:"label.current-password",newPassword:"label.new-password",confirmPassword:"label.confirm-password",timezone:"label.timezone",defaultDateRange:"label.default-date-range",language:"label.language",theme:"label.theme",profile:"label.profile",profiles:"label.profiles",dashboard:"label.dashboard",open:"label.open",more:"label.more",realtime:"label.realtime",queries:"label.queries",teams:"label.teams",teamSettings:"label.team-sett
3ings",analytics:"label.analytics",login:"label.login",logout:"label.logout",singleDay:"label.single-day",dateRange:"label.date-range",viewDetails:"label.view-details",deleteTeam:"label.delete-team",leaveTeam:"label.leave-team",refresh:"label.refresh",page:"label.page",pages:"label.pages",entry:"label.entry",exit:"label.exit",referrers:"label.referrers",screen:"label.screen",screens:"label.screens",browsers:"label.browsers",os:"label.os",devices:"label.devices",countries:"label.countries",languages:"label.languages",tags:"label.tags",segments:"label.segments",cohorts:"label.cohorts",count:"label.count",average:"label.average",sum:"label.sum",event:"label.event",events:"label.events",eventName:"label.event-name",excludeBounce:"label.exclude-bounce",query:"label.query",queryParameters:"label.query-parameters",back:"label.back",visitors:"label.visitors",visits:"label.visits",filterCombined:"label.filter-combined",filterRaw:"label.filter-raw",views:"label.views",none:"label.none",clearAll:"label.clear-all",property:"label.property",today:"label.today",lastHours:"label.last-hours",yesterday:"label.yesterday",thisWeek:"label.this-week",lastDays:"label.last-days",lastMonths:"label.last-months",thisMonth:"label.this-month",thisYear:"label.this-year",allTime:"label.all-time",customRange:"label.custom-range",selectEvent:"label.select-event",selectWebsite:"label.select-website",selectLink:"label.select-link",selectPixel:"label.select-pixel",selectRole:"label.select-role",selectDate:"label.select-date",selectFilter:"label.select-filter",all:"label.all",session:"label.session",sessions:"label.sessions",distinctId:"label.distinct-id",pageNotFound:"message.page-not-found",activity:"label.activity",dismiss:"label.dismiss",poweredBy:"label.powered-by",pageViews:"label.page-views",uniqueVisitors:"label.unique-visitors",uniqueEvents:"label.unique-events",bounceRate:"label.bounce-rate",viewsPerVisit:"label.views-per-visit",visitDuration:"label.visit-duration",desktop:"label.desktop",laptop:"label.laptop",tablet:"label.tablet",mobile:"label.mobile",toggleCharts:"label.toggle-charts",title:"label.title",view:"label.view",cities:"label.cities",regions:"label.regions",reports:"label.reports",eventData:"label.event-data",eventProperties:"label.event-properties",sessionData:"label.session-data",funnel:"label.funnel",funnels:"label.funnels",funnelDescription:"label.funnel-description",revenue:"label.revenue",revenueDescription:"label.revenue-description",attribution:"label.attribution",attributionDescription:"label.attribution-description",currency:"label.currency",model:"label.model",path:"label.path",paths:"label.paths",add:"label.add",update:"label.update",window:"label.window",runQuery:"label.run-query",field:"label.field",fields:"label.fields",createReport:"label.create-report",description:"label.description",untitled:"label.untitled",type:"label.type",filter:"label.filter",filters:"label.filters",filtersEnabled:"label.filters-enabled",propertyFilter:"label.property-filter",activityByProperty:"label.activity-by-property",breakdown:"label.breakdown",true:"label.true",false:"label.false",is:"label.is",isNot:"label.is-not",isSet:"label.is-set",isNotSet:"label.is-not-set",greaterThan:"label.greater-than",lessThan:"label.less-than",greaterThanEquals:"label.greater-than-equals",lessThanEquals:"label.less-than-equals",contains:"label.contains",doesNotContain:"label.does-not-contain",regexMatch:"label.regex-match",regexNotMatch:"label.regex-not-match",includes:"label.includes",doesNotInclude:"label.does-not-include",before:"label.before",after:"label.after",isTrue:"label.is-true",isFalse:"label.is-false",exists:"label.exists",doesNotExist:"label.doest-not-exist",total:"label.total",min:"label.min",max:"label.max",unique:"label.unique",value:"label.value",overview:"label.overview",totalRecords:"label.total-records",insight:"label.insight",insights:"label.insights",insightsDescription:"label.insights-description",retention:"label.retention",retentionDescription:"label.retention-description",dropoff:"label.dropoff",referrer:"label.referrer",hostname:"label.hostname",country:"label.country",regi
3on:"label.region",city:"label.city",browser:"label.browser",device:"label.device",pageTitle:"label.pageTitle",tag:"label.tag",source:"label.source",medium:"label.medium",campaign:"label.campaign",content:"label.content",term:"label.term",utmSource:"label.utm-source",utmMedium:"label.utm-medium",utmCampaign:"label.utm-campaign",utmContent:"label.utm-content",utmTerm:"label.utm-term",segment:"label.segment",cohort:"label.cohort",minute:"label.minute",hour:"label.hour",day:"label.day",month:"label.month",date:"label.date",pageOf:"label.page-of",period:"label.period",cumulative:"label.cumulative",create:"label.create",search:"label.search",numberOfRecords:"label.number-of-records",select:"label.select",myAccount:"label.my-account",transfer:"label.transfer",transactions:"label.transactions",aov:"label.aov",arpu:"label.arpu",uniqueCustomers:"label.uniqueCustomers",customers:"label.customers",orders:"label.orders",viewedPage:"message.viewed-page",collectedData:"message.collected-data",triggeredEvent:"message.triggered-event",utm:"label.utm",utmDescription:"label.utm-description",conversionStep:"label.conversion-step",conversionRate:"label.conversion-rate",steps:"label.steps",startStep:"label.start-step",endStep:"label.end-step",addStep:"label.add-step",goal:"label.goal",goals:"label.goals",goalsDescription:"label.goals-description",journey:"label.journey",journeys:"label.journeys",journeyDescription:"label.journey-description",heatmap:"label.heatmap",heatmaps:"label.heatmaps",heatmapDescription:"label.heatmap-description",compareDates:"label.compare-dates",compare:"label.compare",current:"label.current",previous:"label.previous",previousPeriod:"label.previous-period",previousYear:"label.previous-year",lastSeen:"label.last-seen",firstSeen:"label.first-seen",properties:"label.properties",channel:"label.channel",channels:"label.channels",sources:"label.sources",campaigns:"label.campaigns",terms:"label.terms",direct:"label.direct",referral:"label.referral",affiliate:"label.affiliate",email:"label.email",sms:"label.sms",llm:"label.llm",organicSearch:"label.organic-search",organicSocial:"label.organic-social",organicShopping:"label.organic-shopping",organicVideo:"label.organic-video",paidAds:"label.paid-ads",paidSearch:"label.paid-search",paidSocial:"label.paid-social",paidShopping:"label.paid-shopping",paidVideo:"label.paid-video",grouped:"label.grouped",other:"label.other",boards:"label.boards",apply:"label.apply",match:"label.match",matchAll:"label.match-all",matchAny:"label.match-any",link:"label.link",links:"label.links",pixel:"label.pixel",pixels:"label.pixels",addBoard:"label.add-board",selectComponent:"label.select-component",addLink:"label.add-link",addPixel:"label.add-pixel",maximize:"label.maximize",remaining:"label.remaining",conversion:"label.conversion",firstClick:"label.first-click",lastClick:"label.last-click",online:"label.online",preferences:"label.preferences",location:"label.location",chart:"label.chart",table:"label.table",download:"label.download",traffic:"label.traffic",behavior:"label.behavior",growth:"label.growth",account:"label.account",application:"label.application",version:"label.version",saveSegment:"label.save-segment",saveCohort:"label.save-cohort",saveReplay:"label.save-replay",analysis:"label.analysis",destinationUrl:"label.destination-url",slug:"label.slug",audience:"label.audience",invalidUrl:"label.invalid-url",invalidValue:"message.invali
3d-value",environment:"label.environment",criteria:"label.criteria",share:"label.share",support:"label.support",documentation:"label.documentation",switchAccount:"label.switch-account",switchToTableView:"label.switch-to-table-view",switchToCardView:"label.switch-to-card-view",performance:"label.performance",lcp:"label.lcp",inp:"label.inp",cls:"label.cls",fcp:"label.fcp",ttfb:"label.ttfb",good:"label.good",needsImprovement:"label.needs-improvement",poor:"label.poor",sampleSize:"label.sample-size",play:"label.play",replays:"label.replays",saved:"label.saved",replay:"label.replay",replayId:"label.replay-id",replayEnabled:"label.replay-enabled",recorderCode:"label.recorder-code",sampleRate:"label.sample-rate",minDurationSeconds:"label.min-duration-seconds",maskLevel:"label.mask-level",maxDuration:"label.max-duration",blockSelector:"label.block-selector",retentionDays:"label.retention-days",duration:"label.duration",recorded:"label.recorded",upgrade:"label.upgrade",security:"label.security",twoFactorAuth:"label.two-factor-auth",twoFactorSetupTitle:"label.two-factor-setup-title",twoFactorStep1:"label.two-factor-step1",twoFactorStep2:"label.two-factor-step2",twoFactorScanQr:"label.two-factor-scan-qr",twoFactorCantScan:"label.two-factor-cant-scan",twoFactorManualEntry:"label.two-factor-manual-entry",twoFactorCopyCode:"label.two-factor-copy-code",twoFactorCodeCopied:"label.two-factor-code-copied",twoFactorGetCode:"label.two-factor-get-code",twoFactorEnterCode:"label.two-factor-enter-code",twoFactorUseBackup:"label.two-factor-use-backup",twoFactorSaveBackupCodes:"label.two-factor-save-backup-codes",twoFactorDownloadCodes:"label.two-factor-download-codes",twoFactorSavedCodes:"label.two-factor-saved-codes",twoFactorBackupFileTitle:"label.two-factor-backup-file-title",twoFactorSuccessTitle:"label.two-factor-success-title",twoFactorEnable:"label.two-factor-enable",twoFactorDisable:"label.two-factor-disable",twoFactorDisableTitle:"label.two-factor-disable-title",twoFactorStatusNotConfigured:"label.two-factor-status-not-configured",twoFactorActive:"label.two-factor-active",twoFactorRequireGlobal:"label.two-factor-require-global",twoFactorRequireUser:"label.two-factor-require-user",twoFactorRequireTeam:"label.two-factor-require-team",twoFactorReset:"label.two-factor-reset",twoFactorGlobalActiveTooltip:"label.two-factor-global-active-tooltip",twoFactorVerify:"label.two-factor-verify",twoFactorLogin:"label.two-factor-login"},r={error:"message.error",saved:"message.saved",noUsers:"message.no-users",userDeleted:"message.user-deleted",noDataAvailable:"message.no-data-available",nothingSelected:"message.nothing-selected",confirmReset:"message.confirm-reset",confirmDelete:"message.confirm-delete",confirmRemove:"message.confirm-remove",confirmLeave:"message.confirm-leave",minPasswordLength:"message.min-password-length",noTeams:"message.no-teams",shareUrl:"message.share-url",trackingCode:"message.tracking-code",joinTeamWarning:"message.team-already-member",actionConfirmation:"message.action-confirmation",resetWebsite:"message.reset-website",invalidDomain:"message.invali
3d-domain",resetWebsiteWarning:"message.reset-website-warning",deleteWebsiteWarning:"message.delete-website-warning",deleteTeamWarning:"message.delete-team-warning",noResultsFound:"message.no-results-found",noWebsitesConfigured:"message.no-websites-configured",noTeamWebsites:"message.no-team-websites",emptyDashboard:"message.empty-dashboard",selectComponentPreview:"message.select-component-preview",selectWebsiteFirst:"message.select-website-first",selectBoardEntityFirst:"message.select-board-entity-first",teamWebsitesInfo:"message.team-websites-info",noMatchPassword:"message.no-match-password",goToSettings:"message.go-to-settings",activeUsers:"message.active-users",teamNotFound:"message.team-not-found",visitorLog:"message.visitor-log",eventLog:"message.event-log",incorrectUsernamePassword:"message.incorrect-username-password",noEventData:"message.no-event-data",newVersionAvailable:"message.new-version-available",transferWebsite:"message.transfer-website",transferTeamWebsiteToUser:"message.transfer-team-website-to-user",transferUserWebsiteToTeam:"message.transfer-user-website-to-team",unauthorized:"message.unauthorized",badRequest:"message.bad-request",forbidden:"message.forbidden",notFound:"message.not-found",serverError:"message.sever-error",upgradeRequired:"message.upgrade-required",twoFactorSetupDescription:"message.two-factor-setup-description",twoFactorSetupRequiredDescription:"message.two-factor-setup-required-description",twoFactorStep1Description:"message.two-factor-step1-description",twoFactorStep2Description:"message.two-factor-step2-description",twoFactorEnabledDescription:"message.two-factor-enabled-description",twoFactorBackupDescription:"message.two-factor-backup-description",twoFactorBackupCodesOnce:"message.two-factor-backup-codes-once",twoFactorLoginDescription:"message.two-factor-login-description",twoFactorDisableDescription:"message.two-factor-disable-description",twoFactorRequiredMessage:"message.two-factor-required-message",twoFactorOverrideNote:"message.two-factor-override-note",twoFactorAdminGlobalDescription:"message.two-factor-admin-global-description",twoFactorRequireUserDescription:"message.two-factor-require-user-description",twoFactorRequireTeamDescription:"message.two-factor-require-team-description",twoFactorUserDescription:"message.two-factor-user-description",twoFactorLockedMessage:"message.two-factor-locked-message",twoFactorActiveDescription:"message.two-factor-active-description",twoFactorResetDescription:"message.two-factor-reset-description",twoFactorErrorInvalidCode:"message.two-factor-error-invalid-code",twoFactorErrorMissingToken:"message.two-factor-error-missing-token",twoFactorErrorInvalidPartialToken:"message.two-factor-error-invalid-partial-token",twoFactorErrorInvalidBackupCode:"message.two-factor-error-invalid-backup-code",twoFactorErrorCodeUsed:"message.two-factor-error-code-used",twoFactorErrorTooManyAttempts:"message.two-factor-error-too-many-attempts",twoFactorErrorDisableNotAllowed:"message.two-factor-error-disable-not-allowed",twoFactorErrorIncorrectPassword:"message.two-factor-error-incorrect-password",twoFactorErrorAlreadyEnabled:"message.two-factor-error-already-enabled",twoFactorErrorNotEnabled:"message.two-factor-error-not-enabled",twoFactorErrorNoPendingSetup:"message.two-factor-error-no-pending-setup",twoFactorErrorNotConfigured:"message.two-factor-error-not-configured",replayMinDurationDescription:"message.replay-min-duration-description"};e.s(["useMessages",0,function(){let e=a(),t=t=>e(`message.${t}`);return{t:e,messages:r,labels:n,getMessage:t,getErrorMessage:e=>{if(!e)return;if("string"==typeof e)return e;let i=e?.code;return i?t(i):e?.message||"Unknown error"}}}],223351)},939850,e=>{"use strict";let t=(0,e.i(457806).create)(()=>({}));function i(e){t.setState({[e]:Date.now()})}e.s(["touch",0,i,"useModified",0,function(e){return{modified:t(t=>t?.[e]),touch:i}}])},666369,e=>{"use strict";var t=e.i(428128),i=e.i(866988),a=e.i(478011);e.s(["useNavigation",0,function(){let e=(0,t.useRouter)(),n=(0,t.usePathname)(),r=(0,t.useSearchParams)(),[,o]=n.match(/\/teams\/([a-f0-9-]+)/)||[],[,s]=n.match(/\/websites\/([a-f0-9-]+)/)||[],[,l]=n.match(/\/links\/([a-f0-9-]+)/)||[],[,u]=n.match(/\/pixels\/([a-f0-9-]+)/)||[],[,d]=n.match(/\/boards\/([a-f0-9-]+)/)||[],h=r.toString(),c=(0,i.useMemo)(()=>Object.fromEntries(r),[h]),m=(0,i.useCallback)(e=>(0,a.buildPath)(n,{...c,...e}),[n,c]),f=(0,i.useCallback)(e=>(0,a.buildPath)(n,e),[n]),p=(0,i.useCallback)((e,t)=>(0,a.buildPath)(o?`/teams/${o}${e}`:e,!1===t?{}:{...c,...t}),[o,c]);return{router:e,pathname:n,searchParams:r,query:c,teamId:o,websiteId:s,linkId:l,pixelId:u,boardId:d,updateParams:m,replaceParams:f,renderUrl:p}}])},480968,e=>{"use strict";var t=e.i(685149),i=e.i(223351);e.s(["useOperatorLabels",0,function(){let{t:e,labels:a}=(0,i.useMessages)();
3return{[t.OPERATORS.equals]:e(a.is),[t.OPERATORS.notEquals]:e(a.isNot),[t.OPERATORS.set]:e(a.isSet),[t.OPERATORS.notSet]:e(a.isNotSet),[t.OPERATORS.contains]:e(a.contains),[t.OPERATORS.doesNotContain]:e(a.doesNotContain),[t.OPERATORS.regex]:e(a.regexMatch),[t.OPERATORS.notRegex]:e(a.regexNotMatch),[t.OPERATORS.true]:e(a.true),[t.OPERATORS.false]:e(a.false),[t.OPERATORS.greaterThan]:e(a.greaterThan),[t.OPERATORS.lessThan]:e(a.lessThan),[t.OPERATORS.greaterThanEquals]:e(a.greaterThanEquals),[t.OPERATORS.lessThanEquals]:e(a.lessThanEquals),[t.OPERATORS.before]:e(a.before),[t.OPERATORS.after]:e(a.after)}}])},75859,83303,e=>{"use strict";e.s(["ActionSelect",()=>n],75859);var t=e.i(361560),i=e.i(949381);e.i(685521);var a=e.i(223351);function n({value:e="path",onChange:r}){let{t:o,labels:s}=(0,a.useMessages)();return(0,t.jsxs)(i.Select,{value:e,onChange:e=>r?.(e),children:[(0,t.jsx)(i.ListItem,{id:"path",children:o(s.viewedPage)}),(0,t.jsx)(i.ListItem,{id:"event",children:o(s.triggeredEvent)})]})}let r={style:{maxHeight:"min(400px, calc(100dvh - 8rem))"}};e.s(["ComboBox",0,function({listProps:e,...a}){let n={...r,...e,style:{...r.style,...e?.style}};return(0,t.jsx)(i.ComboBox,{...a,listProps:n})}],83303)},843784,435150,647190,722964,612536,e=>{"use strict";e.s(["ReportEditButton",()=>m],843784);var t=e.i(361560),i=e.i(949381),a=e.i(866988),n=e.i(473578);e.i(685521);var r=e.i(223351),o=e.i(575281),s=e.i(108850),l=e.i(333062),u=e.i(876805);e.s(["DialogButton",()=>c],647190);var d=e.i(18770);function h(){let e=(0,i.useBreakpoint)(),t=["base","sm","md"].includes(e),a=["base","sm"].includes(e);return{breakpoint:e,isMobile:t,isPhone:a}}function c({icon:e,label:a,title:r,width:o,height:s,minWidth:l,minHeight:u,isOpen:m,onOpenChange:f,children:p,...g}){let{isMobile:b}=h(),v={width:o,height:s,minWidth:l,minHeight:u,maxHeight:"min(80dvh, calc(100dvh - 40px))",overflowY:"auto",padding:"32px"};b&&(v.width="100%",v.height="100%",v.minWidth=void 0,v.minHeight=void 0,v.maxHeight="100%",v.overflowY="auto");let y=(0,t.jsx)(i.Dialog,{title:void 0===r?a:r,style:v,children:p});return void 0!==m?(0,t.jsx)(n.ControlledDialog,{children:(0,t.jsx)(i.Modal,{isOpen:m,onOpenChange:f,placement:b?"fullscreen":"center",children:y})}):(0,t.jsxs)(i.DialogTrigger,{children:[(0,t.jsx)(i.Button,{...g,children:(0,t.jsx)(d.IconLabel,{icon:e,label:a})}),(0,t.jsx)(i.Modal,{placement:b?"fullscreen":"center",children:y})]})}function m({id:e,name:d,type:h,title:f,width:p,height:g,minWidth:b,minHeight:v,children:y,onDelete:w}){let{t:M,labels:x,messages:k}=(0,r.useMessages)(),[S,P]=(0,a.useState)(!1),[T,A]=(0,a.useState)(!1),{mutateAsync:C,touch:E}=(0,o.useDeleteQuery)(`/reports/${e}`),L=e=>{"edit"===e?P(!0):"delete"===e&&A(!0)},R=()=>{P(!1),A(!1)},F=async()=>{await C(null,{onSuccess:async()=>{E(`reports:${h}`),A(!1),w?.()}})};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(i.MenuTrigger,{children:[(0,t.jsx)(i.Button,{variant:"quiet",children:(0,t.jsx)(i.Icon,{children:(0,t.jsx)(l.MoreHorizontal,{})})}),(0,t.jsx)(i.Popover,{side:"bottom",children:(0,t.jsxs)(i.Menu,{children:[(0,t.jsxs)(i.MenuItem,{id:"edit",onAction:L,children:[(0,t.jsx)(i.Icon,{children:(0,t.jsx)(s.Edit,{})}),(0,t.jsx)(i.Text,{children:M(x.edit)})]}),(0,t.jsxs)(i.MenuItem,{id:"delete",onAction:L,children:[(0,t.jsx)(i.Icon,{children:(0,t.jsx)(u.Trash,{})}),(0,t.jsx)(i.Text,{children:M(x.delete)})]})]})})]}),(0,t.jsx)(c,{isOpen:S,onOpenChange:e=>!e&&R(),title:f,width:p,height:g,minWidth:b,minHeight:v,children:y}),(0,t.jsx)(n.ControlledDialog,{children:(0,t.jsx)(i.Modal,{isOpen:T,onOpenChange:e=>!e&&R(),children:(0,t.jsx)(i.AlertDialog,{title:M(x.delete),onConfirm:F,onCancel:R,isDanger:!0,children:(0,t.jsx)(i.Row,{gap:"1",children:M(k.confirmDelete,{target:d})})})})})]})}e.s(["useMobile",0,h],435150);let f=(0,e.i(874822).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",0,f],722964);let p={positive:{color:"var(--status-success)",background:"var(--status-success-bg)"},negative:{color:"var(--status-error)",background:"var(--status-error-bg)"},neutral:{color:"var(--text-muted)",background:"var(--surface-raised)"}};e.s(["ChangeLabel",0,function({value:e,size:a,reverseColors:n,children:r,...o}
3){let s=e>=0,l=e<0,u=0===e||Number.isNaN(e),d=n?l:s,h=p[d&&"positive"]||p[!d&&"negative"]||p[u&&"neutral"];return(0,t.jsxs)(i.Row,{...o,style:h,alignItems:"center",alignSelf:"flex-start",paddingX:"2",paddingY:"1",gap:"2",children:[!u&&(0,t.jsx)(i.Icon,{rotate:s?-90:90,size:a,children:(0,t.jsx)(f,{})}),(0,t.jsx)(i.Text,{children:r||e})]})}],612536)},308002,e=>{"use strict";e.s(["EventsChart",()=>f]);var t=e.i(361560),i=e.i(992355),a=e.i(866988),n=e.i(256643),r=e.i(669712);e.i(685521);var o=e.i(887632),s=e.i(108761),l=e.i(864878),u=e.i(921884),d=e.i(248574),h=e.i(260957),c=e.i(685149),m=e.i(227465);function f({websiteId:e,focusLabel:p,limit:g}){let{timezone:b}=(0,l.useTimezone)(),{dateRange:{startDate:v,endDate:y,unit:w}}=(0,o.useDateRange)({timezone:b}),{locale:M,dateLocale:x}=(0,s.useLocale)(),{data:k,isLoading:S,error:P}=(0,u.useWebsiteEventsSeriesQuery)(e,{limit:g}),[T,A]=(0,a.useState)(p),[C,E]=(0,a.useState)(()=>new Set),L=(0,a.useCallback)((e,t)=>{E(i=>{let a=new Set(i);return t?a.add(e):a.delete(e),a})},[]),R=(0,a.useMemo)(()=>{if(!k)return;let e=k.reduce((e,{x:t,t:i,y:a})=>(e[t]||(e[t]=[]),e[t].push({x:i,y:a}),e),{});if(!e||0===Object.keys(e).length)return{datasets:[{data:(0,m.generateTimeSeries)([],v,y,w,x),lineTension:0,borderWidth:1}]};{let t={},a=new Set,n=Object.fromEntries(Object.keys(e).map(e=>[e,parseInt((0,h.hex6)(e),16)]));for(let i of[...Object.keys(e)].sort((e,t)=>n[e]-n[t])){let e=(n[i]>>>4)%c.CHART_COLORS.length,r=c.CHART_COLORS[e];for(let t=0;t<c.CHART_COLORS.length;t++){let i=c.CHART_COLORS[(e+t)%c.CHART_COLORS.length];if(!a.has(i)){r=i;break}}a.add(r),t[i]=r}return{datasets:Object.keys(e).map(a=>{let n=(0,i.colord)(t[a]);return{label:a,data:(0,m.generateTimeSeries)(e[a],v,y,w,x),lineTension:0,backgroundColor:n.alpha(.6).toRgbString(),borderColor:n.alpha(.7).toRgbString(),borderWidth:1}}),focusLabel:p}}},[k,v,y,w,p]);(0,a.useEffect)(()=>{T!==p&&A(p)},[p]);let F=(0,a.useCallback)((0,d.renderDateLabels)(w,M),[w,M]);
3return(0,t.jsx)(r.LoadingPanel,{isLoading:S,error:P,minHeight:"400px",children:R&&(0,t.jsx)(n.BarChart,{chartData:R,minDate:v,maxDate:y,unit:w,stacked:!0,renderXLabel:F,height:"400px",hiddenLabels:C,onLegendClick:L})})}},397110,460597,e=>{"use strict";e.s(["ListTable",()=>M],397110);var t=e.i(361560),i=e.i(949381),a=e.i(378480),n=e.i(956601),r=e.i(866988);let o="u">typeof window?r.useLayoutEffect:r.useEffect;function s(e){if(void 0!==e)switch(typeof e){case"number":return e;case"string":if(e.endsWith("px"))return parseFloat(e)}}let l=null;function u({containerElement:e,direction:t,isRtl:i,scrollOffset:a}){if("horizontal"===t&&i)switch(function(e=!1){if(null===l||e){let e=document.createElement("div"),t=e.style;t.width="50px",t.height="50px",t.overflow="scroll",t.direction="rtl";let i=document.createElement("div"),a=i.style;return a.width="100px",a.height="100px",e.appendChild(i),document.body.appendChild(e),e.scrollLeft>0?l="positive-descending":(e.scrollLeft=1,l=0===e.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(e),l}return l}()){case"negative":return-a;case"positive-descending":if(e){let{clientWidth:t,scrollLeft:i,scrollWidth:a}=e;return a-t-i}}return a}function d(e,t="Assertion error"){if(!e)throw console.error(t),Error(t)}function h(e,t){if(e===t)return!0;if(!!e!=!!t||(d(void 0!==e),d(void 0!==t),Object.keys(e).length!==Object.keys(t).length))return!1;for(let i in e)if(!Object.is(t[i],e[i]))return!1;return!0}function c({cachedBounds:e,itemCount:t,itemSize:i}){if(0===t)return 0;if("number"==typeof i)return t*i;{let i=e.get(0===e.size?0:e.size-1);return d(void 0!==i,"Unexpected bounds cache miss"),t*((i.scrollOffset+i.size)/e.size)}}function m({cachedBounds:e,containerScrollOffset:t,containerSize:i,itemCount:a,overscanCount:n}){let r=a-1,o=0,s=-1,l=0,u=-1,d=0;for(;d<r;){let i=e.get(d);if(i.scrollOffset+i.size>t)break;d++}for(l=Math.max(0,(o=d)-n);d<r;){let a=e.get(d);if(a.scrollOffset+a.size>=t+i)break;d++}return u=Math.min(a-1,(s=Math.min(r,d))+n),o<0&&(o=0,s=-1,l=0,u=-1),{startIndexVisible:o,stopIndexVisible:s,startIndexOverscan:l,stopIndexOverscan:u}}function f(e,t){let{ariaAttributes:i,style:a,...n}=e,{ariaAttributes:r,style:o,...s}=t;return h(i,r)&&h(a,o)&&h(n,s)}function p({children:e,className:i,defaultHeight:a=0,listRef:n,onResize:l,onRowsRendered:g,overscanCount:b=3,rowComponent:v,rowCount:y,rowHeight:w,rowKey:M,rowProps:x,tagName:k="div",style:S,...P}){let T=(0,r.useMemo)(()=>x,Object.values(x)),A=(0,r.useMemo)(()=>(0,r.memo)(v,f),[v]),[C,E]=(0,r.useState)(null),L=null!=w&&"object"==typeof w&&"getAverageRowHeight"in w&&"function"==typeof w.getAverageRowHeight,{getCellBounds:R,getEstimatedSize:F,scrollToIndex:j,startIndexOverscan:D,startIndexVisible:N,stopIndexOverscan:I,stopIndexVisible:_}=function({containerElement:e,containerStyle:t,defaultContainerSize:i=0,direction:a,isRtl:n=!1,itemCount:l,itemProps:f,itemSize:p,onResize:g,overscanCount:b}){var v;let y,{height:w=i,width:M=i}=function({box:e,defaultHeight:t,defaultWidth:i,disabled:a,element:n,mode:l,style:u}){let{styleHeight:d,styleWidth:h}=(0,r.useMemo)(()=>({styleHeight:s(u?.height),styleWidth:s(u?.width)}),[u?.height,u?.width]),[c,m]=(0,r.useState)({height:t,width:i}),f=a||"only-height"===l&&void 0!==d||"only-width"===l&&void 0!==h||void 0!==d&&void 0!==h;return o(()=>{if(null===n||f)return;let t=new ResizeObserver(e=>{for(let t of e){let{contentRect:e,target:i}=t;n===i&&m(t=>t.height===e.height&&t.width===e.width?t:{height:e.height,width:e.width})}});return t.observe(n,{box:e}),()=>{t?.unobserve(n)}},[e,f,n,d,h]),(0,r.useMemo)(()=>({height:d??c.height,width:h??c.width}),[c,d,h])}({defaultHeight:"vertical"===a?i:void 0,defaultWidth:"horizontal"===a?i:void 0,element:e,mode:"vertical"===a?"only-height":"only-width",style:t}),x=(0,r.useRef)({height:0,width:0}),k="vertical"===a?w:M,S=function({containerSize:e,itemSize:t}){let i;return"string"==typeof t?(d(t.endsWith("%"),`Invalid item size: "${t}"; string values must be percentages (e.g. "100%")`),d(void 0!==e,"Container size must be defined if a percentage item size is specified"),i=e*parseInt(t)/100):i=t,i}({containerSize:k,itemSize:p});(0,r.useLayoutEffect)(()=>
3{if("function"==typeof g){let e=x.current;(e.height!==w||e.width!==M)&&(g({height:w,width:M},{...e}),e.height=w,e.width=M)}},[w,g,M]);let P=function({itemCount:e,itemProps:t,itemSize:i}){return(0,r.useMemo)(()=>(function({itemCount:e,itemProps:t,itemSize:i}){let a=new Map;return{get(n){for(d(n<e,`Invalid index ${n}`);a.size-1<n;){let e,r=a.size;switch(typeof i){case"function":e=i(r,t);break;case"number":e=i}if(0===r)a.set(r,{size:e,scrollOffset:0});else{let t=a.get(r-1);d(void 0!==t,`Unexpected bounds cache miss for index ${n}`),a.set(r,{scrollOffset:t.scrollOffset+t.size,size:e})}}let r=a.get(n);return d(void 0!==r,`Unexpected bounds cache miss for index ${n}`),r},set(e,t){a.set(e,t)},get size(){return a.size}}})({itemCount:e,itemProps:t,itemSize:i}),[e,t,i])}({itemCount:l,itemProps:f,itemSize:S}),T=(0,r.useCallback)(e=>P.get(e),[P]),[A,C]=(0,r.useState)(()=>m({cachedBounds:P,containerScrollOffset:0,containerSize:k,itemCount:l,overscanCount:b})),{startIndexVisible:E,startIndexOverscan:L,stopIndexVisible:R,stopIndexOverscan:F}={startIndexVisible:Math.min(l-1,A.startIndexVisible),startIndexOverscan:Math.min(l-1,A.startIndexOverscan),stopIndexVisible:Math.min(l-1,A.stopIndexVisible),stopIndexOverscan:Math.min(l-1,A.stopIndexOverscan)},j=(0,r.useCallback)(()=>c({cachedBounds:P,itemCount:l,itemSize:S}),[P,l,S]),D=(0,r.useCallback)(t=>m({cachedBounds:P,containerScrollOffset:u({containerElement:e,direction:a,isRtl:n,scrollOffset:t}),containerSize:k,itemCount:l,overscanCount:b}),[P,e,k,a,n,l,b]);return o(()=>{C(D(("vertical"===a?e?.scrollTop:e?.scrollLeft)??0))},[e,a,D]),o(()=>{if(!e)return;let t=()=>{C(t=>{let{scrollLeft:i,scrollTop:r}=e,o=m({cachedBounds:P,containerScrollOffset:u({containerElement:e,direction:a,isRtl:n,scrollOffset:"vertical"===a?r:i}),containerSize:k,itemCount:l,overscanCount:b});return h(o,t)?t:o})};return e.addEventListener("scroll",t),()=>{e.removeEventListener("scroll",t)}},[P,e,k,a,l,b]),{getCellBounds:T,getEstimatedSize:j,scrollToIndex:(v=({align:t="auto",containerScrollOffset:i,index:r})=>{let o=function({align:e,cachedBounds:t,index:i,itemCount:a,itemSize:n,containerScrollOffset:r,containerSize:o}){if(i<0||i>=a)throw RangeError(`Invalid index specified: ${i}`,{cause:`Index ${i} is not within the range of 0 - ${a-1}`});let s=c({cachedBounds:t,itemCount:a,itemSize:n}),l=t.get(i),u=Math.max(0,Math.min(s-o,l.scrollOffset)),d=Math.max(0,l.scrollOffset-o+l.size);switch("smart"===e&&(e=r>=d&&r<=u?"auto":"center"),e){case"start":return u;case"end":return d;case"center":return l.scrollOffset<=o/2?0:l.scrollOffset+l.size/2>=s-o/2?s-o:l.scrollOffset+l.size/2-o/2;default:return r>=d&&r<=u?r:r<d?d:u}}({align:t,cachedBounds:P,containerScrollOffset:i,containerSize:k,index:r,itemCount:l,itemSize:S});if(e){if(o=u({containerElement:e,direction:a,isRtl:n,scrollOffset:o}),"function"!=typeof e.scrollTo){let e=D(o);h(A,e)||C(e)}return o}},y=(0,r.useRef)(()=>{throw Error("Cannot call an event handler while rendering.")}),o(()=>{y.current=v},[v]),(0,r.useCallback)((...e)=>y.current?.(...e),[y])),startIndexOverscan:L,startIndexVisible:E,stopIndexOverscan:F,stopIndexVisible:R}}({containerElement:C,containerStyle:S,defaultContainerSize:a,direction:"vertical",itemCount:y,itemProps:T,itemSize:(0,r.useMemo)(()=>L?e=>w.getRowHeight(e)??w.getAverageRowHeight():w,[L,w]),onResize:l,overscanCount:b});(0,r.useImperativeHandle)(n,()=>({get element(){return C},scrollToRow({align:e="auto",behavior:t="auto",index:i}){let a=j({align:e,containerScrollOffset:C?.scrollTop??0,index:i});"function"==typeof C?.scrollTo&&C.scrollTo({behavior:t,top:a})}}),[C,j]),o(()=>{if(!C)return;let e=Array.from(C.children).filter((e,t)=>{if(e.hasAttribute("aria-hidden"))return!1;let i=`${D+t}`;return e.setAttribute("data-react-window-index",i),!0});if(L)return w.observeRowElements(e)},[C,L,w,D,I]),(0,r.useEffect)(()=>{D>=0&&I>=0&&g&&g({startIndex:N,stopIndex:_},{startIndex:D,stopIndex:I})},[g,D,N,I,_]);let B=(0,r.useMemo)(()=>{let e=[];
3if(y>0)for(let t=D;t<=I;t++){let i=R(t);e.push((0,r.createElement)(A,{...T,ariaAttributes:{"aria-posinset":t+1,"aria-setsize":y,role:"listitem"},key:M?M(t,T):t,index:t,style:{position:"absolute",left:0,transform:`translateY(${i.scrollOffset}px)`,height:L?void 0:i.size,width:"100%"}}))}return e},[A,R,L,y,M,T,D,I]),O=(0,t.jsx)("div",{"aria-hidden":!0,style:{height:F(),width:"100%",zIndex:-1}});return(0,r.createElement)(k,{role:"list",...P,className:i,ref:E,style:{position:"relative",maxHeight:"100%",flexGrow:1,overflowY:"auto",...S}},B,e,O)}r.useState,r.useRef,r.useState,r.useRef,e.s(["List",0,p],460597);var g=e.i(476280),b=e.i(785413);e.i(685521);var v=e.i(223351),y=e.i(435150),w=e.i(175379);function M({data:e=[],title:a,metric:n,renderLabel:r,renderChange:o,animate:s=!0,virtualize:l=!1,showPercentage:u=!0,itemCount:d=10,formatCount:h}){let{t:c,labels:m}=(0,v.useMessages)(),{isPhone:f}=(0,y.useMobile)(),g=(e,i)=>{let{label:a,count:n,percent:d}=e;return(0,t.jsx)(x,{label:r?r(e,i):a??c(m.unknown),value:n,percent:d,animate:s&&!l,showPercentage:u,change:o?o(e,i):null,formatCount:h,isPhone:f},`${a}${i}`)};return(0,t.jsxs)(i.Column,{gap:!0,children:[(0,t.jsxs)(i.Grid,{alignItems:"center",justifyContent:"space-between",paddingLeft:"2",columns:"1fr 100px",children:[(0,t.jsx)(i.Text,{weight:"bold",children:a}),(0,t.jsx)(i.Text,{weight:"bold",align:"center",children:n})]}),(0,t.jsxs)(i.Column,{gap:"1",children:[e?.length===0&&(0,t.jsx)(b.Empty,{}),l&&e.length>0?(0,t.jsx)(p,{style:{width:"100%",height:30*d},defaultHeight:30*d,rowCount:e.length,rowHeight:30,rowComponent:({index:i,style:a})=>(0,t.jsx)("div",{style:a,children:g(e[i],i)}),rowProps:{}}):e.map(g)]})]})}let x=({label:e,value:o=0,percent:s,change:l,animate:u,showPercentage:d=!0,formatCount:h,isPhone:c})=>{let m=Number.isNaN(o)?0:o,f=(0,a.useSpring)(0,{stiffness:170,damping:26}),p=(0,a.useSpring)(0,{stiffness:170,damping:26}),b=(0,n.useTransform)(f,e=>h?h(e):(0,w.formatLongNumber)(e)),v=(0,n.useTransform)(p,e=>`${e?.toFixed?.(0)}%`);return(0,r.useEffect)(()=>{u?(f.set(m),p.set(s)):(f.jump(m),p.jump(s))},[m,s,u,f,p]),(0,t.jsxs)(i.Grid,{columns:d?"1fr 50px 50px":"1fr 100px",paddingLeft:"2",alignItems:"center",borderRadius:!0,gap:!0,hover:{backgroundColor:"surface-sunken"},children:[(0,t.jsx)(i.Row,{alignItems:"center",children:(0,t.jsx)(i.Text,{truncate:!0,style:{maxWidth:c?"200px":"400px"},children:e})}),(0,t.jsxs)(i.Row,{alignItems:"center",height:"30px",justifyContent:d?"flex-end":"center",children:[l,(0,t.jsx)(i.Text,{weight:"bold",children:(0,t.jsx)(g.AnimatedDiv,{title:String(o),children:b})})]}),d&&(0,t.jsx)(i.Row,{alignItems:"center",justifyContent:"flex-start",position:"relative",border:"left",borderColor:"strong",color:"muted",paddingLeft:"3",children:(0,t.jsx)(g.AnimatedDiv,{children:v})})]})}},572012,4851,928695,e=>{"use strict";e.s(["MetricsTable",()=>f],572012);var t=e.i(361560),i=e.i(949381),a=e.i(866988),n=e.i(18770),r=e.i(416501),o=e.i(669712);e.i(685521);var s=e.i(223351),l=e.i(666369),u=e.i(918349);let d=(0,e.i(874822).default)("maximize",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]]);e.s(["Maximize",0,d],4851);var h=e.i(306987);let c=e=>{if(!Array.isArray(e))return[];let t=e.reduce((e,{y:t})=>e+t,0);return e.map(({x:e,y:i,...a})=>({x:e,y:i,z:t?i/t*100:0,...a}))};e.s(["percentFilter",0,c],928695);var m=e.i(397110);function f({websiteId:e,type:p,dataFilter:g,limit:b,showMore:v=!1,filterLink:y=!0,params:w,onDataLoad:M,...x}){let{updateParams:k}=(0,l.useNavigation)(),{t:S,labels:P}=(0,s.useMessages)(),{data:T,isLoading:A,isFetching:C,error:E}=(0,u.useWebsiteMetricsQuery)(e,{type:p,limit:b,...w}),L=(0,a.useMemo)(()=>{if(T){let e=T;return g&&(e=Array.isArray(g)?g.reduce((e,t)=>t(e),e):g(e)),(e=c(e)).map(({x:e,y:t,z:i,...a})=>({label:e,count:t,percent:i,...a}))}return[]},[T,g,b,p]);return(0,a.useEffect)(()=>{T&&M?.(T)},[T]),(0,t.jsx)(o.LoadingPanel,{data:T,isFetching:C,isLoading:A,error:E,minHeight:"400px",children:(0,t.jsxs)(i.Grid,{padding:"2",children:[T&&(0,t.jsx)(m.ListTable,{...x,data:L,renderLabel:e=>y?(0,t.jsx)(h.MetricLabel,{type:p,data:e}):e.label}),v&&b&&(0,t.jsx)(i.Row,{justifyContent:"center",alignItems:"flex-end",paddingTop:"4",children:(0,t.jsx)(r.LinkButton,{href:k({view:p}),variant:"quiet",children:(0,t.jsx)(n.IconLabel,{icon:(0,t.jsx)(d,{}),children:S(P.more)})})})]})})}},511711,854075,e=>{"use strict";var t=e.i(946603);e.s(["Funnel",()=>t.default],511711);var i=e.i(987243);e.s(["Gauge",()=>i.default],854075)},476662,e=>{"use strict";var t=e.i(721351);e.s(["Lightning",()=>t.default])},284237,946603,987243,721351,724170,540946,630197,697933,111602,656894,e=>{"use strict";var t=e.i(361560);e.i(866988),e.s(["default",0,e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:512,height:512,fill:"currentColor",viewBox:"0 0 32 32",...e,children:[(0,t.jsx)("path",{d:"M29 11H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h26a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1M4 9h24V5H4z"}),(0,t.jsx)("path",{d:"M25 17H7a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1M8 15h16v-4H8z"}),(0,t.jsx)("path",{d:"M22 23H10a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1m-11-2h10v-4H11z"}),(0,t.jsx)("path",{d:"M19 29h-6a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1m-5-2h4v-4h-4z"})]})],946603),e.s(["default",0,e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",fill:"
3currentColor",viewBox:"0 0 512 512",...e,children:[(0,t.jsx)("path",{d:"M256 48C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48m0 384c-97.2 0-176-78.8-176-176S158.8 80 256 80s176 78.8 176 176-78.8 176-176 176"}),(0,t.jsx)("path",{d:"M256 128c-8.8 0-16 7.2-16 16v16c0 8.8 7.2 16 16 16s16-7.2 16-16v-16c0-8.8-7.2-16-16-16m-108.7 44.7-11.3-11.3c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l11.3 11.3c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6M144 240h-16c-8.8 0-16 7.2-16 16s7.2 16 16 16h16c8.8 0 16-7.2 16-16s-7.2-16-16-16m240 0h-16c-8.8 0-16 7.2-16 16s7.2 16 16 16h16c8.8 0 16-7.2 16-16s-7.2-16-16-16m-44.7-67.3c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l11.3 11.3c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6zM256 208c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48m0 64c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16m0 64c-8.8 0-16 7.2-16 16v16c0 8.8 7.2 16 16 16s16-7.2 16-16v-16c0-8.8-7.2-16-16-16"})]})],987243),e.s(["default",0,e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 682.667 682.667",...e,children:[(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"lightning_svg__a",clipPathUnits:"userSpaceOnUse",children:(0,t.jsx)("path",{d:"M0 512h512V0H0Z"})})}),(0,t.jsx)("g",{clipPath:"url(#lightning_svg__a)",transform:"matrix(1.33333 0 0 -1.33333 0 682.667)",children:(0,t.jsx)("path",{d:"M0 0h137.962L69.319-155.807h140.419L.242-482l55.349 222.794h-155.853z",style:{fill:"none",stroke:"currentColor",strokeWidth:30,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeDasharray:"none",strokeOpacity:1},transform:"translate(201.262 496.994)"})})]})],721351),e.s(["default",0,e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"currentColor",stroke:"currentColor",viewBox:"0 0 428 389.11",...e,children:[(0,t.jsx)("circle",{cx:214.15,cy:181,r:171,fill:"none",strokeMiterlimit:10,strokeWidth:20}),(0,t.jsx)("path",{d:"M413 134.11H15.29a15 15 0 0 0-15 15v15.3C.12 168 0 171.52 0 175.11c0 118.19 95.81 214 214 214 116.4 0 211.1-92.94 213.93-208.67 0-.44.07-.88.07-1.33v-30a15 15 0 0 0-15-15Z"})]})],724170),e.s(["default",0,e=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:512,height:512,fill:"currentColor",viewBox:"0 0 508.467 508.467",...e,children:(0,t.jsx)("path",{d:"M426.815 239.006c-11.722-11.724-30.702-11.729-42.427-.001L267.67 355.723c-53.811 53.809-142.478 19.197-140.68-54.511.547-22.415 9.826-43.738 26.129-60.041l116.717-116.717c11.724-11.722 11.728-30.702 0-42.427l-46.668-46.669c-11.725-11.725-30.702-11.726-42.427 0L60.629 155.47C21.579 194.52.047 246.44 0 301.665c-.093 110.827 88.182 206.288 206.244 206.394 56.778 0 109.204-21.924 148.29-61.01l118.948-118.948c11.724-11.722 11.728-30.702 0-42.427zM201.954 56.572l46.669 46.669-58.455 58.456-46.669-46.669zm131.367 369.264c-69.043 69.043-182.868 70.02-251.708.933-68.763-69.009-68.66-181.196.229-250.086l40.443-40.443 46.669 46.669-37.049 37.049c-45.115 45.112-46.916 116.85-3.395 160.371 43.279 43.279 115.221 41.756 160.372-3.394l37.049-37.049 46.669 46.669zm60.494-60.493-46.669-46.669 58.456-58.456 46.669 46.669zM379.357 95.099c15.199 3.839 30.418 19.07 34.336 34.192 2.089 8.058 10.303 12.828 18.283 10.758 8.02-2.078 12.836-10.264 10.758-18.283-6.651-25.662-30.176-49.223-56.03-55.753-8.032-2.027-16.188 2.838-18.217 10.869-2.029 8.032 2.837 16.189 10.87 18.217m128.627 7.025C495.968 55.749 452.769 12.62 406.239.868c-8.032-2.027-16.188 2.838-18.217 10.869-2.029 8.032 2.838 16.188 10.87 18.217 35.882 9.063 70.769 43.871 80.051 79.695 2.088 8.058 10.304 12.828 18.283 10.758 8.02-2.078 12.836-10.263 10.758-18.283"})})],540946),e.s(["default",0,e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",fill:"
3currentColor",viewBox:"0 0 512 512",...e,children:[(0,t.jsx)("path",{d:"M347 302c8.271 0 15 6.639 15 14.8h30c0-19.468-12.541-36.067-30-42.231V242h-30v32.58c-17.459 6.192-30 22.865-30 42.42 0 24.813 20.187 45 45 45 8.271 0 15 6.729 15 15s-6.729 15-15 15-15-6.729-15-15h-30c0 19.555 12.541 36.228 30 42.42v32.38h30v-32.38c17.459-6.192 30-22.865 30-42.42 0-24.813-20.187-45-45-45-8.271 0-15-6.729-15-15s6.729-15 15-15"}),(0,t.jsx)("path",{d:"M347 182c-5.057 0-10.058.242-15 .689V90c0-26.011-18.548-49.61-52.226-66.449C249.4 8.364 209.35 0 167 0 124.564 0 84.193 8.347 53.323 23.502 18.938 40.385 0 64 0 90v272c0 26 18.938 49.616 53.323 66.498C84.193 443.653 124.564 452 167 452c17.009 0 33.647-1.358 49.615-4.004C246.826 486.909 294.035 512 347 512c90.981 0 165-74.019 165-165s-74.019-165-165-165M66.545 50.432C92.992 37.447 129.606 30 167 30c79.558 0 135 31.621 135 60s-55.442 60-135 60c-37.394 0-74.008-7.447-100.455-20.432C43.32 118.166 30 103.744 30 90s13.32-28.166 36.545-39.568M30 142.265c6.724 5.137 14.512 9.907 23.323 14.233C84.193 171.653 124.564 180 167 180c42.35 0 82.4-8.364 112.774-23.551 8.359-4.18 15.783-8.776 22.226-13.722v45.51c-29.896 8.485-56.359 25.209-76.778 47.548C206.946 239.908 187.386 242 167 242c-37.394 0-74.008-7.447-100.455-20.432C43.32 210.166 30 195.744 30 182zm0 92c6.724 5.137 14.512 9.907 23.323 14.233C84.193 263.653 124.564 272 167 272c11.581 0 22.942-.621 34.021-1.839a163.7 163.7 0 0 0-18.293 61.395c-5.211.286-10.465.444-15.728.444-37.394 0-74.008-7.447-100.455-20.432C43.32 300.166 30 285.744 30 272zM167 422c-37.394 0-74.008-7.447-100.455-20.432C43.32 390.166 30 375.744 30 362v-37.736c6.724 5.137 14.512 9.907 23.323 14.233C84.193 353.653 124.564 362 167 362c5.23 0 10.459-.132 15.654-.388a163.7 163.7 0 0 0 16.486 58.557A281 281 0 0 1 167 422m180 60c-74.439 0-135-60.561-135-135s60.561-135 135-135 135 60.561 135 135-60.561 135-135 135"})]})],630197),e.s(["default",0,e=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:512,height:512,fill:"currentColor",viewBox:"0 0 32 32",...e,children:(0,t.jsx)("path",{d:"M28 19c-.809 0-1.54.325-2.08.847l-6.011-3.01c.058-.271.091-.55.091-.837s-.033-.566-.091-.837l6.011-3.01c.54.522 1.271.847 2.08.847 1.654 0 3-1.346 3-3s-1.346-3-3-3-3 1.346-3 3c0 .123.022.24.036.359L19 13.382a3.98 3.98 0 0 0-2-1.24V6.816A3 3 0 0 0 19 4c0-1.654-1.346-3-3-3s-3 1.346-3 3c0 1.302.838 2.401 2 2.815v5.327a4 4 0 0 0-2 1.24L6.963 10.36c.015-.12.037-.237.037-.36 0-1.654-1.346-3-3-3s-3 1.346-3 3 1.346 3 3 3c.809 0 1.54-.325 2.08-.847l6.011 3.01q-.089.407-.091.837c-.002.43.033.566.091.837l-6.011 3.01A2.98 2.98 0 0 0 4 19c-1.654 0-3 1.346-3 3s1.346 3 3 3 3-1.346 3-3c0-.123-.022-.24-.036-.359L13 18.618a3.98 3.98 0 0 0 2 1.24v5.326A3 3 0 0 0 13 28c0 1.654 1.346 3 3 3s3-1.346 3-3a3 3 0 0 0-2-2.816v-5.326a4 4 0 0 0 2-1.24l6.037 3.022c-.015.12-.037.237-.037.36 0 1.654 1.346 3 3 3s3-1.346 3-3-1.346-3-3-3m0-10c.551 0 1 .449 1 1s-.449 1-1 1-1-.449-1-1 .449-1 1-1M4 11c-.551 0-1-.449-1-1s.449-1 1-1 1 .449 1 1-.449 1-1 1m0 12c-.551 0-1-.449-1-1s.449-1 1-1 1 .449 1 1-.449 1-1 1M16 3c.551 0 1 .449 1 1s-.449 1-1 1-1-.449-1-1 .449-1 1-1m0 26c-.551 0-1-.449-1-1s.449-1 1-1 1 .449 1 1-.449 1-1 1m0-11c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2m12 5c-.551 0-1-.449-1-1s.449-1 1-1 1 .449 1 1-.449 1-1 1"})})],697933),e.s(["default",0,e=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:512,height:512,fill:"currentColor",viewBox:"0 0 64 64",...e,children:(0,t.jsx)("path",{d:"m56.4 47.6-6-6c-.8-.8-2-.8-2.8 0s-.8 2 0 2.8l2.6 2.6H18.5c-3.6 0-6.5-2.9-6.5-6.5s2.9-6.5 6.5-6.5h27C51.3 34 56 29.3 56 23.5S51.3 13 45.5 13H22.7c-.9-3.4-4-6-7.7-6-4.4 0-8 3.6-8 8s3.6 8 8 8c3.7 0 6.8-2.6 7.7-6h22.8c3.6 0 6.5 2.9 6.5 6.5S49.1 30 45.5 30h-27C12.7 30 8 34.7 8 40.5S12.7 51 18.5 51h31.7l-2.6 2.6c-.8.8-.8 2 0 2.8.4.4.9.6 1.4.6s1-.2 1.4-.6l6-6c.8-.8.8-2 0-2.8M15 19c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4"})})],111602),e.s(["default",0,e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:512,height:512,fill:"currentColor",fillRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:2,clipRule:"evenodd",viewBox:"0 0 24 24",...e,children:[(0,t.jsx)("path",{d:"M19.393 10.825a.75.75 0 0 1 1.458-.352c.181.75.277 1.533.277 2.338 0 5.485-4.453 9.939-9.939 9.939S1.25 18.296 1.25 12.811s4.454-9.939 9.939-9.939c.805 0 1.588.096 2.338.277
3a.75.75 0 1 1-.352 1.458A8.442 8.442 0 0 0 2.75 12.811a8.44 8.44 0 0 0 8.439 8.439 8.442 8.442 0 0 0 8.204-10.425"}),(0,t.jsx)("path",{d:"M14.764 12.811a.75.75 0 0 1 1.5 0c0 2.8-2.274 5.074-5.075 5.074a5.077 5.077 0 0 1-5.074-5.074 5.077 5.077 0 0 1 5.074-5.075.75.75 0 0 1 0 1.5 3.575 3.575 0 1 0 3.575 3.575m7.766-7.223-3.057 3.058a.75.75 0 0 1-.531.22h-3.058a.75.75 0 0 1-.75-.75V5.058a.75.75 0 0 1 .22-.531l3.058-3.057a.75.75 0 0 1 1.242.293L20.3 3.7l1.937.646a.75.75 0 0 1 .293 1.242m-1.918-.202-1.142-.381a.75.75 0 0 1-.475-.475l-.381-1.142-1.98 1.98v1.998h1.998z"}),(0,t.jsx)("path",{d:"M15.354 7.585a.75.75 0 1 1 1.061 1.061l-4.587 4.586a.749.749 0 1 1-1.06-1.06z"})]})],656894),e.s([],284237)},59764,278795,186802,e=>{"use strict";let t={EventsMetricsBar:["website"],EventsChart:["website"],Funnel:["website"],Goal:["website"],RealtimeActiveUsers:["website"],RealtimeHeader:["website"],RealtimeChart:["website"],RevenueMetricsBar:["website"],RevenueChart:["website"],RevenueMetricsTable:["website"],UTM:["website"],WeeklyTraffic:["website"]},i={dashboard:"dashboard",mixed:"mixed",website:"website",pixel:"pixel",link:"link"},a={website:"website",pixel:"pixel",link:"link"},n=new Set(Object.values(i));function r(e){return e?.pixelId?i.pixel:e?.linkId?i.link:e?.websiteId?i.website:i.mixed}function o(e,{coerceDashboard:t=!1}={}){let a=e?.type;if(a===i.dashboard&&t)return r(e?.parameters);let s="open"===a?i.mixed:a&&n.has(a)?a:void 0;return s||r(e?.parameters)}function s(e){let t=o(e);return t===i.website?{entityType:a.website,entityId:e?.parameters?.websiteId}:t===i.pixel?{entityType:a.pixel,entityId:e?.parameters?.pixelId}:t===i.link?{entityType:a.link,entityId:e?.parameters?.linkId}:{}}function l(e){return e?.entityType&&e?.entityId?{entityType:e.entityType,entityId:e.entityId}:e?.websiteId?{entityType:a.website,entityId:e.websiteId}:{}}e.s(["BOARD_ENTITY_TYPES",0,a,"BOARD_TYPES",0,i,"getBoardEntity",0,s,"getBoardType",0,o,"getComponentEntity",0,l,"getFirstBoardComponentEntity",0,function(e){for(let t of e?.parameters?.rows??[])for(let e of t.columns??[]){let t=l(e.component);if(t.entityId)return t}return{}},"getResolvedComponentEntity",0,function(e,t){let i=s(e);return i.entityId?i:l(t)},"isBoardComponentSupported",0,function(e,i){let a=t[e];return!i||!a||a.includes(i)},"isOpenBoardType",0,function(e){return e===i.mixed||e===i.dashboard||"open"===e},"requiresBoardEntity",0,function(e){return e===i.website||e===i.pixel||e===i.link},"setBoardEntity",0,function(e={},t,a){let n=function(e={}){let{websiteId:t,pixelId:i,linkId:a,...n}=e;return n}(e);return t===i.website&&a&&(n.websiteId=a),t===i.pixel&&a&&(n.pixelId=a),t===i.link&&a&&(n.linkId=a),n}],59764);var u=e.i(361560),d=e.i(949381);e.s(["TextBlock",0,function({text:e}){return e?(0,u.jsx)(d.Text,{style:{whiteSpace:"pre-wrap",wordBreak:"break-word"},children:e}):null}],278795),e.s(["EmptyPlaceholder",0,function({title:e,description:t,icon:i,children:a}){return(0,u.jsxs)(d.Column,{alignItems:"center",justifyContent:"center",gap:"5",height:"100%",width:"100%",children:[i&&(0,u.jsx)(d.Icon,{color:"muted",size:"xl",children:i}),e&&(0,u.jsx)(d.Text,{weight:"bold",size:"lg",children:e}),t&&(0,u.jsx)(d.Text,{color:"muted",children:t}),a]})}],186802)},216180,906445,731896,118950,767146,440196,360931,e=>{"use strict";var t=e.i(478011);async function i(e,t,a,n={}){return fetch(t,{method:e,cache:"no-cache",headers:{Accept:"application/json","Content-Type":"application/json",...n},body:a}).then(async e=>{let t=await e.json();return{ok:e.ok,status:e.status,data:t}})}async function a(e,n={},r={}){return i("GET",(0,t.buildPath)(e,n),void 0,r)}async function n(e,a={},r={}){return i("DELETE",(0,t.buildPath)(e,a),void 0,r)}async function r(e,t={},a={}){return i("POST",e,JSON.stringify(t),a)}async function o(e,t={},a={}){return i("PUT",e,JSON.stringify(t),a)}e.s(["httpDelete",0,n,"httpGet",0,a,"httpPost",0,r,"httpPut",0,o],216180);var s=e.i(255665),l=e.i(595053);function u(e,t,i){return(0,s.constructFrom)(i?.in||e,+(0,l.toDate)(e)+t)}e.s(["addMilliseconds",0,u],906445);var d=e.i(677417);e.s(["addHours",0,function(e,t,i){return u(e,t*d.millisecondsInHour,i)}],731896),e.s(["addMinutes",0,function(e,t,i){let a=(0,l.toDate)(e,i?.in);return a.setTime(a.getTime()+t*d.millisecondsInMinute),a}],118950);var h=e.i(745502),c=e.i(250576),m=e.i(870460);e.s(["differenceInCalendarWeeks",0,function(e,t,i){let[a,n]=(0,c.normalizeDates)(i?.in,e,t),r=(0,m.startOfWeek)(a,i),o=(0,m.startOfWeek)(n,i);return Math.round((r-(0,h.getTimezoneOffsetInMilliseconds)(r)-(o-(0,h.getTimezoneOffsetInMilliseconds)(o)))/d.millisecondsInWeek)}],767146),e.s(["differenceInCalendarYears",0,function(e,t,i){let[a,n]=(0,c.normalizeDates)(i?.in,e,t);return a.getFullYear()-n.getFullYear()}],440196);var f=e.i(855027);function p(e,t){let i=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return i<0?-1:i>0?1:i}e.s(["differenceInDays",0,function(e,t,i){let[a,n]=(0,c.normalizeDates)(i?.in,e,t),r=p(a,n),o=Math.abs((0,f.differenceInCalendarDays)(a,n));a.setDate(a.getDate()-r*o);let s=Number(p(a,n)===-r),l=r*(o-s);return 0===l?0:l}],360931)},175379,e=>{"use strict";let t=/^xn--/,i=/[\x2E\u3002\uFF0E\uFF61]/g,a={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >
3= 0x80 (not a basic code point)","invalid-input":"Invalid input"},n=Math.floor,r=String.fromCharCode;function o(e){throw RangeError(a[e])}let s=function(e,t,i){let a=0;for(e=i?n(e/700):e>>1,e+=n(e/t);e>455;a+=36)e=n(e/35);return n(a+36*e/(e+38))},l=function(e){let t=[],i=e.length,a=0,r=128,l=72,u=e.lastIndexOf("-");u<0&&(u=0);for(let i=0;i<u;++i)e.charCodeAt(i)>=128&&o("not-basic"),t.push(e.charCodeAt(i));for(let h=u>0?u+1:0;h<i;){let u=a;for(let t=1,r=36;;r+=36){var d;h>=i&&o("invalid-input");let s=(d=e.charCodeAt(h++))>=48&&d<58?26+(d-48):d>=65&&d<91?d-65:d>=97&&d<123?d-97:36;s>=36&&o("invalid-input"),s>n((0x7fffffff-a)/t)&&o("overflow"),a+=s*t;let u=r<=l?1:r>=l+26?26:r-l;if(s<u)break;let c=36-u;t>n(0x7fffffff/c)&&o("overflow"),t*=c}let c=t.length+1;l=s(a-u,c,0==u),n(a/c)>0x7fffffff-r&&o("overflow"),r+=n(a/c),a%=c,t.splice(a++,0,r)}return String.fromCodePoint(...t)};var u=e.i(685149);function d(e){return Number(e).toFixed(0)}function h(e,t,i="en-US"){let a;try{a=new Intl.NumberFormat(i,{style:"currency",currency:t})}catch{a=new Intl.NumberFormat(i,{style:"currency",currency:u.DEFAULT_CURRENCY})}return a.format(e)}e.s(["decodePunycodeDomain",0,function(e){if(!e)return e;try{var a,n;let r,o;return a=e,n=function(e){return t.test(e)?l(e.slice(4).toLowerCase()):e},r=a.split("@"),o="",r.length>1&&(o=r[0]+"@",a=r[1]),o+(function(e,t){let i=[],a=e.length;for(;a--;)i[a]=t(e[a]);return i})((a=a.replace(i,".")).split("."),n).join(".")}catch{return e}},"formatLongCurrency",0,function(e,t,i="en-US"){let a=Number(e);return a>=1e9?`${h(a/1e9,t,i)}b`:a>=1e6?`${h(a/1e6,t,i)}m`:a>=1e3?`${h(a/1e3,t,i)}k`:h(a,t,i)},"formatLongNumber",0,function(e){let t=Number(e);return t>=1e9?`${(t/1e9).toFixed(1)}b`:t>=1e6?`${(t/1e6).toFixed(1)}m`:t>=1e5?`${(t/1e3).toFixed(0)}k`:t>=1e4?`${(t/1e3).toFixed(1)}k`:t>=1e3?`${(t/1e3).toFixed(2)}k`:d(t)},"formatNumber",0,d,"formatShortTime",0,function(e,t=["m","s"],i=""){let a,n,r,{days:o,hours:s,minutes:l,seconds:u,ms:d}=(a=~~(e/86400),n=~~(e/3600)-24*a,r=~~(e/60)-1440*a-60*n,{days:a,hours:n,minutes:r,seconds:~~e-86400*a-3600*n-60*r,ms:(e-~~e)*1e3}),h="";return(o>0&&-1!==t.indexOf("d")&&(h+=`${o}d${i}`),s>0&&-1!==t.indexOf("h")&&(h+=`${s}h${i}`),l>0&&-1!==t.indexOf("m")&&(h+=`${l}m${i}`),u>0&&-1!==t.indexOf("s")&&(h+=`${u}s${i}`),d>0&&-1!==t.indexOf("ms")&&(h+=`${d}ms`),h)?h:`0${t[t.length-1]}`}],175379)},774413,e=>{"use strict";var t=e.i(685149);let i=Object.values(t.OPERATORS),a=Object.values(t.DATA_TYPE),n=/^epf\d+$/,r=/^spf\d+$/;function o(e){return a.includes(e)}function s(e){if(e)return i.find(t=>t===e)}function l(e){try{return decodeURIComponent(e)}catch{return e}}function u(e){return encodeURIComponent(e).replaceAll(".","%2E")}function d(e,t="pf"){let i={};return Object.fromEntries(e.map(e=>{let a=i[e.propertyName]??0;return i[e.propertyName]=a+1,[`${t}_${e.propertyName}${a>0?a:""}`,`${e.dataType}.${e.operator}.${e.value}`]}))}e.s(["filtersArrayToObject",0,function(e){let t={};return e.reduce((e,i)=>{let{name:a,operator:n,value:r}=i,o=t[a]??0,s=0===o?a:`${a}${o}`;return t[a]=o+1,e[s]=`${n}.${Array.isArray(r)?r.join(","):r}`,e},{})},"filtersObjectToArray",0,function(e,i={}){return e?Object.keys(e).reduce((a,n)=>{let r=e[n];if(null==r)return a;let o=n.replace(/\d+$/,""),l=n!==o?n:void 0;if(r?.name&&r?.value!==void 0)return a.concat({...r,column:i?.columns?.[o]??t.FILTER_COLUMNS[o],paramName:l??r.paramName});let{operator:u,value:d}=function(e){if("string"==typeof e){let i=Object.values(t.OPERATORS).join("|"),a=RegExp(`^(${i})\\.(.*)$`),[,n,r]=e.match(a)||[],o=s(n)??t.OPERATORS.equals,l=r??e;return o===t.OPERATORS.equals||o===t.OPERATORS.notEquals?{operator:o,value:l.split(",")}:{operator:o,value:l}}return Array.isArray(e)?{operator:t.OPERATORS.equals,value:e}:{operator:t.OPERATORS.equals,value:[e]}}(r);return a.concat({name:o,paramName:l,column:i?.columns?.[o]??t.FILTER_COLUMNS[o],operator:u,value:d,prefix:i?.prefix})},[]):[]},"isSearchOperator",0,function(e){return[t.OPERATORS.contains,t.OPERATORS.doesNotContain,t.OPERATORS.regex,t.OPERATORS.notRegex].includes(e)},"parseSessionPropertyFilters",0,function(e){return Object.entries(e).flatMap(([e,t])=>
3{if(!r.test(e))return[];let i=String(t).match(/^(\d+)\.([^.]+)\.([^.]+)\.(.*)$/),a=i?Number(i[1]):void 0,n=s(i?.[2]),u=i?.[3]?l(i[3]):void 0,d=i?.[4];return u&&n&&void 0!==a&&o(a)&&void 0!==d?[{propertyName:u,dataType:a,operator:n,value:d}]:[]})},"parseUniversalEventPropertyFilters",0,function(e){return Object.entries(e).flatMap(([e,t])=>{if(!n.test(e))return[];let i=String(t).match(/^(\d+)\.([^.]+)\.([^.]+)\.(.*)$/),a=i?Number(i[1]):void 0,r=s(i?.[2]),u=i?.[3]?l(i[3]):void 0,d=i?.[4];return u&&r&&void 0!==a&&o(a)&&void 0!==d?[{propertyName:u,dataType:a,operator:r,value:d}]:[]})},"serializeEventPropertyFilters",0,function(e){return d(e,"pf")},"serializePropertyFilters",0,d,"serializeSessionPropertyFilters",0,function(e){return Object.fromEntries(e.map((e,t)=>[`spf${t}`,`${e.dataType}.${e.operator}.${u(e.propertyName)}.${e.value}`]))},"serializeUniversalEventPropertyFilters",0,function(e){return Object.fromEntries(e.map((e,t)=>[`epf${t}`,`${e.dataType}.${e.operator}.${u(e.propertyName)}.${e.value}`]))}])},478011,e=>{"use strict";e.s(["buildPath",0,function(e,t={}){let i=function(e={}){let t=new URLSearchParams;return Object.entries(e).forEach(([e,i])=>{null==i||Number.isNaN(i)||t.append(e,i)}),t.toString()}(t);return i?`${e}?${i}`:e},"isValidUrl",0,function(e){try{return new URL(e),!0}catch{return!1}},"safeDecodeURIComponent",0,function(e){if(null==e)return e;try{return decodeURIComponent(e)}catch{return e}}])}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.