1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`4.36.0-concorso-website-concorso`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`c75fb4d9-6a50-4dac-b3dc-04fd883f1d99`,e._sentryDebugIdIdentifier=`sentry-dbid-c75fb4d9-6a50-4dac-b3dc-04fd883f1d99`)}catch{}})();var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,o)=>(o=n==null?{}:e(i(n)),l(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e);(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var f=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,p=globalThis,m=`10.74.0`;function h(){return g(p),p}function g(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||`10.74.0`,t[m]=t[`10.74.0`]||{}}function _(e,t,n=p){let r=n.__SENTRY__=n.__SENTRY__||{},i=r[m]=r[`10.74.0`]||{};return i[e]||(i[e]=t())}var v=[`debug`,`info`,`warn`,`error`,`log`,`assert`,`trace`],y=`Sentry Logger `,b={};function x(e){if(!(`console`in p))return e();let t=p.console,n={},r=Object.keys(b);r.forEach(e=>{let r=b[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function S(){k().enabled=!0}function C(){k().enabled=!1}function w(){return k().enabled}function T(...e){O(`log`,...e)}function E(...e){O(`warn`,...e)}function D(...e){O(`error`,...e)}function O(e,...t){f&&w()&&x(()=>{p.console[e](`${y}[${e}]:`,...t)})}function k(){return f?_(`loggerSettings`,()=>({enabled:!1})):{enabled:!1}}var A={enable:S,disable:C,isEnabled:w,log:T,warn:E,error:D},j=50,M=/\(error: (.*)\)/,ee=/captureMessage|captureException/;function N(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let i=[],a=e.split(` 2`);for(let e=n;e<a.length;e++){let n=a[e];n.length>1024&&(n=n.slice(0,1024));let o=M.test(n)?n.replace(M,`$1`):n;if(!o.includes(`Error: `)){for(let e of t){let t=e(o);if(t){i.push(t);break}}if(i.length>=j+r)break}}return ne(i.slice(r))}}function te(e){return Array.isArray(e)?N(...e):e}function ne(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(re(t).function||``)&&t.pop(),t.reverse(),ee.test(re(t).function||``)&&(t.pop(),ee.test(re(t).function||``)&&t.pop()),t.slice(0,j).map(e=>({...e,filename:e.filename||re(t).filename,function:e.function||`?`}))}function re(e){return e[e.length-1]||{}}var ie=`<anonymous>`;function P(e){try{return!e||typeof e!=`function`?ie:e.name||ie}catch{return ie}}function F(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}var ae={},oe={};function se(e,t){return ae[e]=ae[e]||[],ae[e].push(t),()=>{let n=ae[e];if(n){let e=n.indexOf(t);e!==-1&&n.splice(e,1)}}}function ce(e,t){if(!oe[e]){oe[e]=!0;try{t()}catch(t){f&&A.error(`Error while instrumenting ${e}`,t)}}}function le(e,t){let n=e&&ae[e];
2if(n)for(let r of n)try{r(t)}catch(t){f&&A.error(`Error while triggering instrumentation handler. 3Type: ${e} 4Name: ${P(r)} 5Error:`,t)}}var ue=null;function de(e){let t=`error`;se(t,e),ce(t,fe)}function fe(){ue=p.onerror,p.onerror=function(e,t,n,r,i){return le(`error`,{column:r,error:i,line:n,msg:e,url:t}),ue?ue.apply(this,arguments):!1},p.onerror.__SENTRY_INSTRUMENTED__=!0}var pe=null;function me(e){let t=`unhandledrejection`;se(t,e),ce(t,he)}function he(){pe=p.onunhandledrejection,p.onunhandledrejection=function(e){return le(`unhandledrejection`,e),!pe||pe.apply(this,arguments)},p.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var ge=Object.prototype.toString;function _e(e){switch(ge.call(e)){case`[object Error]`:case`[object Exception]`:case`[object DOMException]`:case`[object WebAssembly.Exception]`:return!0;default:return Ae(e,Error)}}function ve(e,t){return ge.call(e)===`[object ${t}]`}function ye(e){return ve(e,`ErrorEvent`)}function be(e){return ve(e,`DOMError`)}function xe(e){return ve(e,`DOMException`)}function Se(e){return ve(e,`String`)}function Ce(e){return typeof e==`object`&&!!e&&`__sentry_template_string__`in e&&`__sentry_template_values__`in e}function we(e){return e===null||Ce(e)||typeof e!=`object`&&typeof e!=`function`}function Te(e){return ve(e,`Object`)}function Ee(e){return typeof e==`object`&&!!e}function De(e){return typeof Event<`u`&&Ae(e,Event)}function Oe(e){return ve(e,`RegExp`)}function ke(e){return!!(e?.then&&typeof e.then==`function`)}function Ae(e,t){try{return e instanceof t}catch{return!1}}function je(e){return typeof Request<`u`&&Ae(e,Request)}function Me(e,t,n){if(!(t in e))return;let r=e[t];if(typeof r!=`function`)return;let i=n(r);typeof i==`function`&&Pe(i,r);try{e[t]=i}catch{f&&A.log(`Failed to replace method "${t}" in object`,e)}}function Ne(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{f&&A.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function Pe(e,t){try{e.prototype=t.prototype=t.prototype||{},Ne(e,`__sentry_original__`,t)}catch{}}function Fe(e){return e.__sentry_original__}function Ie(e){if(_e(e))return{message:e.message,name:e.name,stack:e.stack,...Le(e)};if(De(e)){let{type:t,target:n,currentTarget:r,detail:i}=e;return{type:t,target:n,currentTarget:r,...i?{detail:i}:{},...Le(e)}}return e}function Le(e){return Ee(e)?Object.fromEntries(Object.entries(e)):{}}function Re(e){let t=Object.keys(Ie(e));return t.sort(),t[0]?t.join(`, `):`[object has no keys]`}var ze;function Be(e){if(ze!==void 0)return ze?ze(e):e();let t=Symbol.for(`__SENTRY_SAFE_RANDOM_ID_WRAPPER__`),n=p;return t in n&&typeof n[t]==`function`?(ze=n[t],ze(e)):(ze=null,e())}function Ve(){return Be(()=>Math.random())}function He(){return Be(()=>Date.now())}var Ue=Symbol.for(`sentry.skipNormalization`),We=Symbol.for(`sentry.overrideNormalizationDepth`);function Ge(e){return!!e[Ue]}function Ke(e){let t=e[We];return typeof t==`number`?t:void 0}var qe;function Je(e){qe=e}function Ye(e,t=100,n=1/0){try{return Ze(``,e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Xe(e,t=3,n=102400){let r=Ye(e,t);return tt(r)>n?Xe(e,t-1,n):r}function Ze(e,t,n=1/0,r=1/0,i=nt()){let[a,o]=i;if(t==null||[`boolean`,`string`].includes(typeof t)||typeof t==`number`&&Number.isFinite(t))return t;let s=Qe(e,t);if(!s.startsWith(`[object `))return s;if(Ge(t))return t;let c=Ke(t),l=c===void 0?n:c;if(l===0)return s.replace(`object `,``);if(a(t))return`[Circular ~]`;let u=t;if(u&&typeof u.toJSON==`function`)try{return Ze(``,u.toJSON(),l-1,r,i)}catch{}let d=Array.isArray(t)?[]:{},f=0,p=Ie(t);for(let e in p){if(!Object.prototype.hasOwnProperty.call(p,e))continue;if(f>=r){d[e]=`[MaxProperties ~]`;break}let t=p[e];d[e]=Ze(e,t,l-1,r,i),f++}return o(t),d}function Qe(e,t){try{if(qe){let e=qe(t);if(e)return e}return typeof global<`u`&&t===global?`[Global]`:typeof t==`number`&&!Number.isFinite(t)?`[${t}]`:typeof t==`function`?`[Function: ${P(t)}]`:typeof t==`symbol`?`[${String(t)}]`:typeof t==`bigint`?`[BigInt: ${String(t)}]`:`[object ${$e(t)}]`}catch(e){return`**non-serializable** (${e})`}}function $e(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function et(e){return~-encodeURI(e).split(/%..|./).length}function tt(e){return et(JSON.stringify(e))}function nt(){let e=new WeakSet;function t(t){return e.has(t)?!0:(e.add(t),!1)}function n(t){e.delete(t)}return[t,n]}function rt(e,t=0){return typeof e!=`string`||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function it(e,t){if(!Array.isArray(e))return``;let n=[];for(let t=0;t<e.length;t++){let r=e[t];we(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(Qe(void 0,r))}return n.join(t)}function at(e,t,n=!1){return Se(e)?Oe(t)?t.test(e):Se(t)?n?e===t:e.includes(t):typeof t==`function`&&t(e):!1}function ot(e,t=[],n=!1){for(let r of t)if(at(e,r,n))return!0;return!1}function st(){let e=p;return e.crypto||e.msCrypto}var ct;function lt(){return Ve()*16}function ut(e=st()){try{if(e?.randomUUID)return Be(()=>e.randomUUID()).replace(/-/g,``)}catch{}return ct||=`10000000100040008000100000000000`,ct.replace(/[018]/g,e=>(e^(lt()&15)>>e/4).toString(16))}function dt(e){return e.exception?.values?.[0]}function ft(e){let{message:t,event_id:n}=e;if(t)return t;let r=dt(e);return r?r.type&&r.value?`${r.type}: ${r.value}
5`:r.type||r.value||n||`<unknown>`:n||`<unknown>`}function pt(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||=t||``,a.type||=n||`Error`}function mt(e,t){let n=dt(e);if(!n)return;let r={type:`generic`,handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&`data`in t){let e={...i?.data,...t.data};n.mechanism.data=e}}function ht(e){if(gt(e))return!0;try{Ne(e,`__sentry_captured__`,!0)}catch{}return!1}function gt(e){try{return e.__sentry_captured__}catch{}}var _t=1e3;function vt(){return He()/_t}function yt(){let{performance:e}=p;if(!e?.now||!e.timeOrigin)return vt;let t=e.timeOrigin;return()=>(t+Be(()=>e.now()))/_t}var bt;function xt(){return(bt??=yt())()}var St=null;function Ct(){let{performance:e}=p;if(!e?.now)return;let t=3e5,n=Be(()=>e.now()),r=He(),i=e.timeOrigin;if(typeof i==`number`&&Math.abs(i+n-r)<t)return i;let a=e.timing?.navigationStart;return typeof a==`number`&&Math.abs(a+n-r)<t?a:r-n}function wt(){return St===null&&(St=Ct()),St}function Tt(e){let t=xt(),n={sid:ut(),init:!0,timestamp:t,started:t,duration:0,status:`ok`,errors:0,ignoreDuration:!1,toJSON:()=>Ot(n)};return e&&Et(n,e),n}function Et(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||xt(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:ut()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started==`number`&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration==`number`)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors==`number`&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Dt(e,t){let n={};t?n={status:t}:e.status===`ok`&&(n={status:`exited`}),Et(e,n)}function Ot(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did==`number`||typeof e.did==`string`?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}function kt(e,t,n=2){if(!t||typeof t!=`object`||n<=0)return t;if(e&&Object.keys(t).length===0)return e;let r={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=kt(r[e],t[e],n-1));return r}function At(){return ut()}function jt(){return ut().substring(16)}function Mt(e){try{let t=p.WeakRef;if(typeof t==`function`)return new t(e)}catch{}return e}function Nt(e){if(e){if(typeof e==`object`&&`deref`in e&&typeof e.deref==`function`)try{return e.deref()}catch{return}return e}}var Pt=`_sentrySpan`;function Ft(e,t){t?Ne(e,Pt,Mt(t)):delete e[Pt]}function It(e){return Nt(e[Pt])}var Lt=100,Rt=class e{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:At(),sampleRand:Ve()}}clone(){let t=new e;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,Ft(t,It(this)),t}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Et(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return t===null?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let n=typeof t==`function`?t(this):t,{tags:r,attributes:i,extra:a,user:o,contexts:s,level:c,fingerprint:l=[],propagationContext:u,conversationId:d}=(n instanceof e?n.getScopeData():Te(n)?t:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),d&&(this._conversationId=d),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,Ft(this,void 0),this._attachments=[],this.setPropagationContext({traceId:At(),sampleRand:Ve()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n=typeof t==`number`?t:Lt;if(n<=0)return this;let r={timestamp:vt(),...e,message:e.message?rt(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent(`buffer_overflow`,`log_item`)),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:It(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=kt(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t?.event_id||ut();if(!this._client)return f&&A.warn(`No client configured on scope - will not capture exception!`),n;let r=Error(`Sentry syntheticException`);return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n?.event_id||ut();if(!this._client)return f&&A.warn(`No client configured on scope - will not capture message!`),r;let i=n?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=e.event_id||t?.event_id||ut();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(f&&A.warn(`No client configured on scope - will not capture event!`),n)}_notifyScopeListeners(){this._notifyingListeners||=(this._notifyingListeners=!0,this._scopeListeners.forEac
5h(e=>{e(this)}),!1)}};function zt(){return _(`defaultCurrentScope`,()=>new Rt)}function Bt(){return _(`defaultIsolationScope`,()=>new Rt)}var Vt=e=>e instanceof Promise&&!e[Ht],Ht=Symbol(`chained PromiseLike`),Ut=(e,t,n)=>{let r=e.then(e=>(t(e),e),e=>{throw n(e),e});return Vt(r)&&Vt(e)?r:Wt(e,r)},Wt=(e,t)=>{if(!t)return e;let n=!1;for(let r in e){if(r in t)continue;n=!0;let i=e[r];typeof i==`function`?Object.defineProperty(t,r,{value:(...t)=>i.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[r]=i}return n&&Object.assign(t,{[Ht]:!0}),t},Gt=class{constructor(e,t){let n;n=e||new Rt;let r;r=t||new Rt,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t=this._pushScope(),n;try{n=e(t)}catch(e){throw this._popScope(),e}return ke(n)?Ut(n,()=>this._popScope(),()=>this._popScope()):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}};function Kt(){let e=g(h());return e.stack=e.stack||new Gt(zt(),Bt())}function qt(e){return Kt().withScope(e)}function Jt(e,t){let n=Kt();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Yt(e){return Kt().withScope(()=>e(Kt().getIsolationScope()))}function Xt(){return{withIsolationScope:Yt,withScope:qt,withSetScope:Jt,withSetIsolationScope:(e,t)=>Yt(t),getCurrentScope:()=>Kt().getScope(),getIsolationScope:()=>Kt().getIsolationScope()}}function Zt(e){let t=g(e);return t.acs?t.acs:Xt()}function Qt(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&Object.keys(e).includes(`value`)}function $t(e,t){let{value:n,unit:r}=Qt(e)?e:{value:e,unit:void 0},i=tn(n),a=r&&typeof r==`string`?{unit:r}:{};if(i)return{...i,...a};if(!t||t===`skip-undefined`&&n===void 0)return;let o=``;try{o=JSON.stringify(n)??``}catch{}return{value:o,type:`string`,...a}}function en(e,t=!1){let n={};for(let[r,i]of Object.entries(e??{})){let e=$t(i,t);e&&(n[r]=e)}return n}function tn(e){if(Array.isArray(e))return{value:e,type:`array`};let t=typeof e==`string`?`string`:typeof e==`boolean`?`boolean`:typeof e==`number`&&!Number.isNaN(e)?Number.isInteger(e)?`integer`:`double`:null;if(t)return{value:e,type:t}}function nn(){return!1}function rn(){return Zt(h()).getCurrentScope()}function an(){return Zt(h()).getIsolationScope()}function on(){return _(`globalScope`,()=>new Rt)}function sn(...e){let t=Zt(h());if(e.length===2){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function cn(){return rn().getClient()}function ln(e){let{traceId:t,parentSpanId:n,propagationSpanId:r}=e.getPropagationContext(),i={trace_id:t,span_id:r||jt()};return n&&(i.parent_span_id=n),i}var un=`sentry.source`,dn=`sentry.sample_rate`,fn=`sentry.previous_trace_sample_rate`,pn=`sentry.op`,mn=`sentry.origin`,hn=`sentry.idle_span_finish_reason`,gn=`sentry.measurement_unit`,_n=`sentry.measurement_value`,vn=`sentry.custom_span_name`,yn=`sentry.profile_id`,bn=`sentry.exclusive_time`,xn=`sentry.link.type`,Sn=`gen_ai.conversation.id`;function Cn(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:`unauthenticated`};case 403:return{code:2,message:`permission_denied`};case 404:return{code:2,message:`not_found`};case 409:return{code:2,message:`already_exists`};case 413:return{code:2,message:`failed_precondition`};case 429:return{code:2,message:`resource_exhausted`};case 499:return{code:2,message:`cancelled`};default:return{code:2,message:`invalid_argument`}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:`unimplemented`};case 503:return{code:2,message:`unavailable`};case 504:return{code:2,message:`deadline_exceeded`};default:return{code:2,message:`internal_error`}}return{code:2,message:`internal_error`}}function wn(e,t){e.setAttribute(`http.response.status_code`,t);let n=Cn(t);n.message!==`unknown_error`&&e.setStatus(n)}var Tn=`_sentryScope`,En=`_sentryIsolationScope`,Dn=Symbol.for(`sentry.otelSourceInference`),On=Symbol.for(`sentry.otelSourceExplicitlySet`),kn=Symbol.for(`sentry.tracerProviderSpan`);
5function An(e,t,n){e&&(Ne(e,En,Mt(n)),Ne(e,Tn,t))}function jn(e){let t=e;return{scope:t[Tn],isolationScope:Nt(t[En])}}function Mn(e){return e[Dn]===!0}function Nn(e){Ne(e,On,!0)}function Pn(e){return e[kn]===!0}var Fn=`sentry-`;function In(e){let t=Rn(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>{if(t.startsWith(`sentry-`)){let r=t.slice(7);e[r]=n}return e},{});if(Object.keys(n).length>0)return n}function Ln(e){if(e)return Bn(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${Fn}${t}`]=n),e),{}))}function Rn(e){if(e&&(Se(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>{let n=zn(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{}):zn(e)}function zn(e){return e.split(`,`).map(e=>{let t=e.indexOf(`=`);return t===-1?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}function Bn(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((e,[t,n],r)=>{let i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,a=r===0?i:`${e},${i}`;return a.length>8192?(f&&A.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):a},``)}var Vn=/^o(\d+)\./,Hn=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function Un(e){return e===`http`||e===`https`}function Wn(e,t=!1){let{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:``}@${n}${a?`:${a}`:``}/${r&&`${r}/`}${o}`}function Gn(e){let t=Hn.exec(e);if(!t){x(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i=``,a=``,o=``,s=``]=t.slice(1),c=``,l=s,u=l.split(`/`);if(u.length>1&&(c=u.slice(0,-1).join(`/`),l=u.pop()),l){let e=l.match(/^\d+/);e&&(l=e[0])}return Kn({host:a,pass:i,path:c,projectId:l,port:o,protocol:n,publicKey:r})}function Kn(e){return{protocol:e.protocol,publicKey:e.publicKey||``,pass:e.pass||``,host:e.host,port:e.port||``,path:e.path||``,projectId:e.projectId}}function qn(e){if(!f)return!0;let{port:t,projectId:n,protocol:r}=e;return[`protocol`,`publicKey`,`host`,`projectId`].find(t=>!e[t]&&(A.error(`Invalid Sentry Dsn: ${t} missing`),!0))?!1:n.match(/^\d+$/)?Un(r)?t&&isNaN(parseInt(t,10))?(A.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(A.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(A.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function Jn(e){return e.match(Vn)?.[1]}function Yn(e){let t=e.getOptions(),{host:n}=e.getDsn()||{},r;return t.orgId?r=String(t.orgId):n&&(r=Jn(n)),r}function Xn(e){let t=typeof e==`string`?Gn(e):Kn(e);if(t&&qn(t))return t}function Zn(e){if(typeof e==`boolean`)return Number(e);let t=typeof e==`string`?parseFloat(e):e;if(!(typeof t!=`number`||isNaN(t)||t<0||t>1))return t}var Qn=RegExp(`^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$`);function $n(e){if(!e)return;let t=e.match(Qn);if(!t)return;let n;return t[3]===`1`?n=!0:t[3]===`0`&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function er(e,t){let n=$n(e),r=In(t);if(!n?.traceId)return{traceId:At(),sampleRand:Ve()};let i=rr(n,r);r&&(r.sample_rand=i.toString());let{traceId:a,parentSpanId:o,parentSampled:s}=n;return{traceId:a,parentSpanId:o,sampled:s,dsc:r||{},sampleRand:i}}function tr(e=At(),t=jt(),n){let r=``;return n!==void 0&&(r=n?`-1`:`-0`),`${e}-${t}${r}`}function nr(e=At(),t=jt(),n){return`00-${e}-${t}-${n?`01`:`00`}`}function rr(e,t){let n=Zn(t?.sample_rand);if(n!==void 0)return n;let r=Zn(t?.sample_rate);return r&&e?.parentSampled!==void 0?e.parentSampled?Ve()*r:r+Ve()*(1-r):Ve()}var ir=!1;function ar(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:a,status:o,origin:s,links:c}=pr(e);return{parent_span_id:a,span_id:t,trace_id:n,data:r,op:i,status:o,origin:s,links:c}}function or(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:pr(e).parent_span_id,a=jn(e).scope;return{parent_span_id:i,span_id:r?a?.getPropagationContext().propagationSpanId||jt():t,trace_id:n}}function sr(e){let{traceId:t,spanId:n}=e.spanContext();return tr(t,n,yr(e))}function cr(e){let{traceId:t,spanId:n}=e.spanContext();return nr(t,n,yr(e))}function lr(e){if(e&&e.length>0)return e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:i})=>({span_id:e,trace_id:t,sampled:n===1,attributes:i,...r}))}function ur(e){if(e?.length)return e.map(({context:{spanId:e,traceId:t,traceFlags:n},attributes:r})=>({span_id:e,trace_id:t,sampled:n===1,attributes:r}))}function dr(e){return typeof e==`number`?fr(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?fr(e.getTime()):xt()}function fr(e){return e>9999999999?e/1e3:e}function pr(e){if(vr(e))return e.getSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(_r(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:c}=e;return{span_id:t,trace_id:n,data:r,description:a,parent_span_id:hr(e),start_timestamp:dr(i),timestamp:dr(o)||void 0,status:br(s),op:r[pn],origin:r[mn],links:lr(c)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function mr(e){if(vr(e))return e.getStreamedSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(_r(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:c}=e;return{name:a,span_id:t,trace_id:n,parent_span_id:hr(e),start_timestamp:dr(i),end_timestamp:dr(o),is_segment:e===kr(e),status:xr(s),attributes:Sr(r,s),links:ur(c)}}return{span_id:t,trace_id:n,start_timestamp:0,name:``,end_timestamp:0,status:`ok`,is_segment:e===kr(e)}}function hr(e){return`parentSpanId`in e?e.parentSpanId:`parentSpanContext`in e?e.parentSpanContext?.spanId:void 0}function gr(e){return{...e,attributes:en(e.attributes),links:e.links?.map(e=>({...e,attributes:en(e.attributes)}))}}function _r(e){let t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function vr(e){return typeof e.getSpanJSON==`function`}function yr(e){let{traceFlags:t}=e.spanContext();return t===1}function br(e){if(e&&e.code!==0)return e.code===1?`ok`:e.message||`internal_error`}function xr(e){return!e||e.code===1||e.code===0||e.message===`cancelled`?`ok`:`error`}function Sr(e,t){let n=xr(t)===`error`?t?.message:void 0;return{...n&&{"sentry.status.message":n},...e}}var Cr=`_sentryChildSpans`,wr=`_sentryRootSpan`;function Tr(e,t){let n=e[wr]||e;
5Ne(t,wr,n),yr(e)&&(e.isRecording()||n.isRecording())&&(e[Cr]?e[Cr].add(t):Ne(e,Cr,new Set([t])))}function Er(e,t){e[Cr]&&e[Cr].delete(t)}function Dr(e){let t=new Set;function n(e){if(!t.has(e)&&yr(e)){t.add(e);let r=e[Cr]?Array.from(e[Cr]):[];for(let e of r)n(e)}}return n(e),Array.from(t)}var Or=kr;function kr(e){return e[wr]||e}function Ar(){let e=Zt(h());return e.getActiveSpan?e.getActiveSpan():It(rn())}function jr(){ir||=(x(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),!0)}var Mr=!1;function Nr(){if(Mr)return;function e(){let e=Ar(),t=e&&Or(e);if(t){let e=`internal_error`;f&&A.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:2,message:e})}}Mr=!0,de(e),me(e)}function Pr(e){if(typeof __SENTRY_TRACING__==`boolean`&&!__SENTRY_TRACING__)return!1;let t=e||cn()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function Fr(e){A.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function Ir(e,t){if(!t?.length)return!1;for(let n of t){if(zr(n)){if(e.description&&at(e.description,n))return f&&Fr(e),!0;continue}let t=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!t)continue;let r=!n.name||e.description&&at(e.description,n.name),i=!n.op||e.op&&at(e.op,n.op),a=!n.attributes||Object.entries(n.attributes).every(([t,n])=>Lr(e.attributes?.[t],n));if(r&&i&&a)return f&&Fr(e),!0}return!1}function Lr(e,t){return typeof e==`string`&&(typeof t==`string`||t instanceof RegExp)?at(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e===t}function Rr(e,t){let n=t.parent_span_id,r=t.span_id;if(n)for(let t of e)t.parent_span_id===r&&(t.parent_span_id=n)}function zr(e){return typeof e==`string`||e instanceof RegExp}var Br=Symbol.for(`sentry.nonRecordingSpan`),Vr=class{constructor(e={}){this._traceId=e.traceId||At(),this._spanId=e.spanId||jt(),this.dropReason=e.dropReason,Ne(this,Br,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}};function Hr(e){return!!e&&e[Br]===!0}var Ur=`production`,Wr=`_frozenDsc`;function Gr(e,t){Ne(e,Wr,t)}function Kr(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i={environment:n.environment||`production`,release:n.release,public_key:r,trace_id:e,org_id:Yn(t)};return t.emit(`createDsc`,i),i}function qr(e,t){let n=t.getPropagationContext();return n.dsc||Kr(n.traceId,e)}function Jr(e){let t=cn();if(!t)return{};let n=Or(e),r=pr(n),i=r.data,a=n.spanContext().traceState,o=a?.get(`sentry.sample_rate`)??i[`sentry.sample_rate`]??i[`sentry.previous_trace_sample_rate`];function s(e){return(typeof o==`number`||typeof o==`string`)&&(e.sample_rate=`${o}`),e}let c=n[Wr];if(c)return s(c);let l=Hr(n),u=l&&n.dropReason===`ignored`;if(l&&(!Pr(t.getOptions())||u)){let e=jn(n).scope;if(e){let n={...qr(t,e)};return u&&(n.sampled=`false`),s(n)}}let d=a?.get(`sentry.dsc`),f=d&&In(d);if(f)return s(f);let p=Kr(e.spanContext().traceId,t),m=i[`sentry.source`]??i[`sentry.segment.name.source`],h=r.description;return m!==`url`&&h&&(p.transaction=h),Pr()&&(p.sampled=String(yr(n)),p.sample_rand=a?.get(`sentry.sample_rand`)??jn(n).scope?.getPropagationContext().sampleRand.toString()),s(p),t.emit(`createDsc`,p,n),p}function Yr(e){return!!e&&typeof e==`function`&&`_streamed`in e&&!!e._streamed}function Xr(e,t=[]){return[e,t]}function Zr(e,t){let[n,r]=e;return[n,[...r,t]]}function Qr(e,t){let n=e[1];for(let e of n){let n=e[0].type;if(t(e,n))return!0}return!1}function $r(e,t){return Qr(e,(e,n)=>t.includes(n))}function ei(e){let t=g(p);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function ti(e){let[t,n]=e,r=JSON.stringify(t);function i(e){typeof r==`string`?r=typeof e==`string`?r+e:[ei(r),e]:r.push(typeof e==`string`?ei(e):e)}for(let e of n){let[t,n]=e;if(i(` 6${JSON.stringify(t)} 7`),typeof n==`string`||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch{e=JSON.stringify(Ye(n))}i(e)}}return typeof r==`string`?r:ni(r)}function ni(e){let t=e.reduce((e,t)=>
7e+t.length,0),n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}function ri(e){return[{type:`span`},e]}function ii(e){let t=typeof e.data==`string`?ei(e.data):e.data;return[{type:`attachment`,length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}var ai={sessions:`session`,event:`error`,client_report:`internal`,user_report:`default`,profile_chunk:`profile`,replay_event:`replay`,replay_recording:`replay`,check_in:`monitor`,raw_security:`security`,log:`log_item`,trace_metric:`metric`};function oi(e){return e in ai}function si(e){return oi(e)?ai[e]:e}function ci(e){if(!e?.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function li(e,t,n,r){let i=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(He()).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:Wn(r)},...i&&{trace:i}}}function ui(e,t){if(!t)return e;let n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}function di(e,t,n,r){let i=ci(n);return Xr({sent_at:new Date(He()).toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:Wn(t)}},[`aggregates`in e?[{type:`sessions`},e]:[{type:`session`},e.toJSON()]])}function fi(e,t,n,r){let i=ci(n),a=e.type&&e.type!==`replay_event`?e.type:`event`;ui(e,n?.sdk);let o=li(e,i,r,t);return delete e.sdkProcessingMetadata,Xr(o,[[{type:a},e]])}function pi(e,t){function n(e){return!!e.trace_id&&!!e.public_key}let r=Jr(e[0]),i=t?.getDsn(),a=t?.getOptions().tunnel,o={sent_at:new Date(He()).toISOString(),...n(r)&&{trace:r},...!!a&&i&&{dsn:Wn(i)}},{beforeSendSpan:s,ignoreSpans:c}=t?.getOptions()||{},l=c?.length?e.filter(e=>{let t=pr(e);return!Ir({description:t.description,op:t.op,attributes:t.data},c)}):e,u=e.length-l.length;u&&t?.recordDroppedEvent(`before_send`,`span`,u);let d=s?e=>{let t=pr(e);return(Yr(s)?t:s(t))||(jr(),t)}:pr,f=[];for(let e of l){let t=d(e);t&&f.push(ri(t))}return Xr(o,f)}function mi(e){if(!f)return;let{description:t=`< unknown name >`,op:n=`< unknown op >`,parent_span_id:r}=pr(e),{spanId:i}=e.spanContext(),a=yr(e),o=Or(e),s=o===e,c=`[Tracing] Starting ${a?`sampled`:`unsampled`} ${s?`root `:``}span`,l=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];if(r&&l.push(`parent ID: ${r}`),!s){let{op:e,description:t}=pr(o);l.push(`root ID: ${o.spanContext().spanId}`),e&&l.push(`root op: ${e}`),t&&l.push(`root description: ${t}`)}A.log(`${c} 8 ${l.join(` 9 `)}`)}function hi(e){if(!f)return;let{description:t=`< unknown name >`,op:n=`< unknown op >`}=pr(e),{spanId:r}=e.spanContext(),i=`[Tracing] Finishing "${n}" ${Or(e)===e?`root `:``}span "${t}" with ID ${r}`;A.log(i)}function gi(e,t,n,r=Ar()){let i=r&&Or(r);i&&(f&&A.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),i.addEvent(e,{[_n]:t,[gn]:n}))}function _i(e){if(!e||e.length===0)return;let t={};return e.forEach(e=>{let n=e.attributes||{},r=n[gn],i=n[_n];typeof r==`string`&&typeof i==`number`&&(t[e.name]={value:i,unit:r})}),t}function vi(){return g(h()).segmentSpanCaptureStrategy}function yi(e){return e.getOptions().traceLifecycle===`stream`}var bi=1e3,xi=class{constructor(e={}){this._traceId=e.traceId||At(),this._spanId=e.spanId||jt(),this._startTime=e.startTimestamp||xt(),this._links=e.links,this._attributes={},this.setAttributes({[mn]:`manual`,[pn]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),`sampled`in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._frozen||(this._links?this._links.push(e):this._links=[e]),this}addLinks(e){return this._frozen||(this._links?this._links.push(...e):this._links=e),this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:+!!n}}setAttribute(e,t){return this._frozen?this:(t===void 0?delete this._attributes[e]:this._attributes[e]=t,e===`sentry.source`&&t!==void 0&&Mn(this)&&Nn(this),this)}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._frozen||(this._startTime=dr(e))}setStatus(e){return this._frozen||(this._status=e),this}updateName(e){return this._frozen?this:(this._name=e,Mn(this)||this.setAttribute(un,`custom`),this)}end(e){if(this._endTime){this._frozen=Pn(this);return}this._endTime=dr(e),hi(this),this._onSpanEnded(),this._frozen=Pn(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[pn],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:br(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[mn],profile_id:this._attributes[yn],exclusive_time:this._attributes[bn],measurements:_i(this._events),is_segment:this._isStandaloneSpan&&Or(this)===this||void 0,segment_id:this._isStandaloneSpan?Or(this).spanContext().spanId:void 0,links:lr(this._links)}}getStreamedSpanJSON(){return{name:this._name??``,span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===Or(this),status:xr(this._status),attributes:Sr(this._attributes,this._status),links:ur(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){if(this._frozen)return this;f&&A.log(`[Tracing] Adding an event to span:`,e);let r=Si(t)?t:n||xt(),i=Si(t)?{}:t||{},a={name:e,time:dr(r),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=cn();e&&(e.emit(`spanEnd`,this),this._isStandaloneSpan||e.emit(`afterSpanEnd`,this));let t=Or(this),n=this._isStandaloneSpan||this===t;if(this._isStandaloneSpan){this._sampled?Ti(pi([this],e)):(f&&A.log(`[Tracing] Discarding standalone span because its trace was not chosen to be sampled.`),e&&e.recordDroppedEvent(`sample_rate`,`span`));return}if(!n){let e=vi();if(e){let n=jn(this).scope||rn();e.onChildSpanEnded(this,t,e=>this._convertSpanToTransaction(e),n)}return}if(e&&yi(e)){e.emit(`afterSegmentSpanEnd`,this);return}let r=jn(this).scope||rn(),i=vi();if(i)i.onSegmentSpanEnded(e=>this._convertSpanToTransaction(e),r);else{let e=this._convertSpanToTransaction();e&&r.captureEvent(e)}}_convertSpanToTransaction(e={}){if(!Ci(pr(this)))return;this._name||=(f&&A.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),`<unlabeled transaction>`);let{scope:t,isolationScope:n}=jn(this),r=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(this._sampled!==!0)return;e.onSpanCaptured?.(this);let i=[];for(let t of Dr(this)){if(t===this||wi(t)||e.isSpanAlreadyCaptured?.(t))continue;let n=pr(t);Ci(n)&&(e.onSpanCaptured?.(t),i.push(n))}let a=this._attributes[un];delete this._attributes[vn];let o=!1;
9i.forEach(e=>{delete e.data[vn],e.op?.startsWith(`gen_ai.`)&&(o=!0)});let s={contexts:{trace:ar(this)},spans:i.length>bi?i.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,bi):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:`transaction`,sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,dynamicSamplingContext:Jr(this),hasGenAiSpans:o},request:r,...a&&{transaction_info:{source:a}}},c=_i(this._events);return c&&Object.keys(c).length&&(f&&A.log(`[Measurements] Adding measurements to transaction event`,JSON.stringify(c,void 0,2)),s.measurements=c),s}};function Si(e){return e&&typeof e==`number`||e instanceof Date||Array.isArray(e)}function Ci(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function wi(e){return e instanceof xi&&e.isStandaloneSpan()}function Ti(e){let t=cn();if(!t)return;let n=e[1];if(!n||n.length===0){t.recordDroppedEvent(`before_send`,`span`);return}t.sendEnvelope(e)}function Ei(e,t,n){if(!Pr(e))return[!1];let r,i;typeof e.tracesSampler==`function`?(i=e.tracesSampler({...t,inheritOrSampleWith:e=>typeof t.parentSampleRate==`number`?t.parentSampleRate:typeof t.parentSampled==`boolean`?Number(t.parentSampled):e}),r=!0):t.parentSampled===void 0?e.tracesSampleRate!==void 0&&(i=e.tracesSampleRate,r=!0):i=t.parentSampled;let a=Zn(i);if(a===void 0)return f&&A.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(i)} of type ${JSON.stringify(typeof i)}.`),[!1];if(!a)return f&&A.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler==`function`?`tracesSampler returned 0 or false`:`a negative sampling decision was inherited or tracesSampleRate is set to 0`}`),[!1,a,r];let o=n<a;return o||f&&A.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(i)})`),[o,a,r]}var Di=`__SENTRY_SUPPRESS_TRACING__`;function Oi(e){let t=Fi();return t.startInactiveSpan?t.startInactiveSpan(e):ki(e)}function ki(e){let t=Pi(e),{forceTransaction:n,parentSpan:r}=e;return(e.scope?t=>sn(e.scope,t):r===void 0?e=>e():e=>Ai(r,e))(()=>{let i=rn(),a=Ri(i,r),o=cn();return e.onlyIfParent&&!a?Mi(i,o):Ni({parentSpan:a,spanArguments:t,forceTransaction:n,scope:i})})}function Ai(e,t){let n=Fi();return n.withActiveSpan?n.withActiveSpan(e,t):sn(n=>(Ft(n,e||void 0),t(n)))}function ji(e=rn()){let t=Fi();return t.isTracingSuppressed?t.isTracingSuppressed(e):e.getScopeData().sdkProcessingMetadata[Di]===!0}function Mi(e,t){t?.recordDroppedEvent(`no_parent_span`,`span`);let n=new Vr({traceId:e.getPropagationContext().traceId});return An(n,e,an()),n}function Ni({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){let i=an();if(!Pr()){let t=r.getPropagationContext(),a=new Vr({traceId:e?e.spanContext().traceId:t.traceId});return e&&!n&&Tr(e,a),An(a,r,i),a}let a=cn();if(zi(a,t)){ji(r)||a?.recordDroppedEvent(`ignored`,`span`);let t=new Vr({dropReason:`ignored`,traceId:e?.spanContext().traceId??r.getPropagationContext().traceId});return e&&!n&&Tr(e,t),An(t,r,i),t}let o;if(e&&!n)o=Li(e,r,t,i),Tr(e,o);else if(e){let n=Jr(e),{traceId:a,spanId:s}=e.spanContext(),c=yr(e);o=Ii({traceId:a,parentSpanId:s,...t},r,i,c),Gr(o,n)}else{let{traceId:e,dsc:n,parentSpanId:a,sampled:s}=r.getPropagationContext();o=Ii({traceId:e,parentSpanId:a,...t},r,i,s),n&&Gr(o,n)}return mi(o),o}function Pi(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let n={...t};return n.startTimestamp=dr(e.startTime),delete n.startTime,n}return t}function Fi(){return Zt(h())}function Ii(e,t,n,r){let i=cn(),a=i?.getOptions()||{},{name:o=``}=e,s={spanAttributes:{...e.attributes},spanName:o,parentSampled:r};i?.emit(`beforeSampling`,s,{decision:!1});let c=s.parentSampled??r,l=s.spanAttributes,u=t.getPropagationContext(),d=ji(t),[p,m,h]=d?[!1]:Ei(a,{name:o,parentSampled:c,attributes:l,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:Zn(u.dsc?.sample_rate)},u.sampleRand),g=new xi({...e,attributes:{[un]:`custom`,[dn]:m!==void 0&&h?m:void 0,...l},sampled:p});return!p&&i&&!d&&(f&&A.log(`[Tracing] Discarding root span because its trace was not chosen to be sampled.`),i.recordDroppedEvent(`sample_rate`,yi(i)?`span`:`transaction`)),An(g,t,n),i&&i.emit(`spanStart`,g),g}function Li(e,t,n,r){let{spanId:i,traceId:a}=e.spanContext(),o=ji(t),s=!o&&yr(e),c=s?new xi({...n,parentSpanId:i,traceId:a,sampled:s}):new Vr({traceId:a});Tr(e,c),An(c,t,r);let l=cn();return l?(yi(l)&&Hr(c)&&(Hr(e)&&e.dropReason?(c.dropReason=e.dropReason,l.recordDroppedEvent(e.dropReason,`span`)):o||(c.dropReason=`sample_rate`,l.recordDroppedEvent(`sample_rate`,`span`))),l.emit(`spanStart`,c),n.endTimestamp&&(l.emit(`spanEnd`,c),l.emit(`afterSpanEnd`,c)),c):c}function Ri(e,t){if(t)return t;if(t===null)return;let n=It(e);
9if(!n)return;let r=cn();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?Or(n):n}function zi(e,t){let n=e?.getOptions().ignoreSpans;return!e||!yi(e)||!n?.length?!1:Ir({description:t.name||``,op:t.attributes?.[`sentry.op`]||t.op,attributes:t.attributes},n)}function Bi(e){return Hr(e)&&e.dropReason===`ignored`}var Vi={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},Hi=`heartbeatFailed`,Ui=`idleTimeout`,Wi=`finalTimeout`,Gi=`externalFinish`;function Ki(e,t={}){let n=new Map,r=!1,i,a,o=Gi,s=!t.disableAutoFinish,c=[],{idleTimeout:l=Vi.idleTimeout,finalTimeout:u=Vi.finalTimeout,childSpanTimeout:d=Vi.childSpanTimeout,beforeSpanEnd:p,trimIdleSpanEndTimestamp:m=!0}=t,h=cn(),g=rn();if(!h||!Pr()){let e=new Vr({traceId:g.getPropagationContext().traceId});return An(e,g,an()),e}let _=Ar(),v=qi(e);v.end=new Proxy(v.end,{apply(e,t,n){if(p&&p(v),Hr(t))return;let[r,...i]=n,a=dr(r||xt()),o=Dr(v).filter(e=>e!==v),s=pr(v);if(!o.length||!m)return T(a),Reflect.apply(e,t,[a,...i]);let c=h.getOptions().ignoreSpans,l=o?.reduce((e,t)=>{let n=pr(t);return!n.timestamp||c&&Ir({description:n.description,op:n.op,attributes:n.data},c)?e:e?Math.max(e,n.timestamp):n.timestamp},void 0),d=s.start_timestamp,f=Math.min(d?d+u/1e3:1/0,Math.max(d||-1/0,Math.min(a,l||1/0)));return T(f),Reflect.apply(e,t,[f,...i])}});function y(){i&&=(clearTimeout(i),void 0)}function b(){a&&=(clearTimeout(a),void 0)}function x(e){y(),i=setTimeout(()=>{!r&&n.size===0&&s&&(o=Ui,v.end(e))},l)}function S(e){b(),a=setTimeout(()=>{!r&&s&&(o=Hi,v.end(e))},d)}function C(e){y(),n.set(e,!0),S(xt()+d/1e3)}function w(e){n.has(e)&&n.delete(e),n.size===0&&(x(xt()+l/1e3),b())}function T(e){r=!0,n.clear(),c.forEach(e=>e()),Ft(g,_);let t=pr(v),{start_timestamp:i}=t;if(!i)return;t.data[`sentry.idle_span_finish_reason`]||v.setAttribute(hn,o);let a=t.status;(!a||a===`unknown`)&&v.setStatus({code:1}),A.log(`[Tracing] Idle span "${t.op}" finished`);let s=Dr(v).filter(e=>e!==v),d=0;s.forEach(t=>{t.isRecording()&&(t.setStatus({code:2,message:`cancelled`}),t.end(e),f&&A.log(`[Tracing] Cancelling span since span ended early`,JSON.stringify(t,void 0,2)));let{timestamp:n=0,start_timestamp:r=0}=pr(t),i=r<=e,a=(u+l)/1e3,o=n-r<=a;if(f){let e=JSON.stringify(t,void 0,2);i?o||A.log(`[Tracing] Discarding span since it finished after idle span final timeout`,e):A.log(`[Tracing] Discarding span since it happened after idle span was finished`,e)}(!o||!i)&&(Er(v,t),d++)}),d>0&&v.setAttribute(`sentry.idle_span_discarded_spans`,d)}return c.push(h.on(`spanStart`,e=>{r||e===v||pr(e).timestamp||e instanceof xi&&e.isStandaloneSpan()||Dr(v).includes(e)&&C(e.spanContext().spanId)})),c.push(h.on(`spanEnd`,e=>{r||w(e.spanContext().spanId)})),c.push(h.on(`idleSpanEnableAutoFinish`,e=>{e===v&&(s=!0,x(),n.size&&S())})),t.disableAutoFinish||x(),setTimeout(()=>{r||(v.setStatus({code:2,message:`deadline_exceeded`}),o=Wi,v.end())},u),v}function qi(e){let t=Oi(e);return Ft(rn(),t),f&&A.log(`[Tracing] Started span is an idle span`),t}function Ji(e,t,n){let r,i,a,o=n?.maxWait?Math.max(n.maxWait,t):0,s=n?.setTimeoutImpl||setTimeout;function c(){return l(),r=e(),r}function l(){i!==void 0&&clearTimeout(i),a!==void 0&&clearTimeout(a),i=a=void 0}function u(){return i!==void 0||a!==void 0?c():r}function d(){return i&&clearTimeout(i),i=s(c,t),o&&a===void 0&&(a=s(c,o)),r}return d.cancel=l,d.flush=u,d}function Yi(e,t){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=t;$i(e,t),r&&na(e,r),ra(e,n),ea(e,i),ta(e,a)}function Xi(e,t){let{extra:n,tags:r,attributes:i,user:a,contexts:o,level:s,sdkProcessingMetadata:c,breadcrumbs:l,fingerprint:u,eventProcessors:d,attachments:f,propagationContext:p,transactionName:m,span:h}=t;Zi(e,`extra`,n),Zi(e,`tags`,r),Zi(e,`attributes`,i),Zi(e,`user`,a),Zi(e,`contexts`,o),e.sdkProcessingMetadata=kt(e.sdkProcessingMetadata,c,2),s&&(e.level=s),m&&(e.transactionName=m),h&&(e.span=h),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...p}}function Zi(e,t,n){e[t]=kt(e[t],n,1)}function Qi(e,t){let n=on().getScopeData();return e&&Xi(n,e.getScopeData()),t&&Xi(n,t.getScopeData()),n}function $i(e,t){let{extra:n,tags:r,user:i,contexts:a,level:o,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(a).length&&(e.contexts={...a,...e.contexts}),o&&(e.level=o),s&&e.type!==`transaction`&&(e.transaction=s)}function ea(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function ta(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function na(e,t){e.contexts={trace:or(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Jr(t),...e.sdkProcessingMetadata};let n=pr(Or(t)).description;n&&!e.transaction&&e.type===`transaction`&&(e.transaction=n)}function ra(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}var ia=`http.url`,aa=`sentry.segment.name`,oa=`sentry.transaction`,sa=`url.full`,ca=`url.template`,la=`user_agent.original`;function ua(e,t){let n=e.attributes??={};Object.entries(t).forEach(([e,t])=>{t!=null&&!(e in n)&&(n[e]=t)})}var da=0,fa=1,pa=2;function ma(e){return new ga(t=>{t(e)})}function ha(e){return new ga((t,n)=>{n(e)})}var ga=class e{constructor(e){this._state=da,this._handlers=[],this._runExecutor(e)}then(t,n){return new e((e,r)=>{this._handlers.push([!1,n=>
9{if(!t)e(n);else try{e(t(n))}catch(e){r(e)}},t=>{if(!n)r(t);else try{e(n(t))}catch(e){r(e)}}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(t){return new e((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{if(i){n(r);return}e(r)})})}_executeHandlers(){if(this._state===da)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||=(this._state===fa&&e[1](this._value),this._state===pa&&e[2](this._value),!0)})}_runExecutor(e){let t=(e,t)=>{if(this._state===da){if(ke(t)){t.then(n,r);return}this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(fa,e)},r=e=>{t(pa,e)};try{e(n,r)}catch(e){r(e)}}};function _a(e,t,n,r=0){try{let i=va(t,n,e,r);return ke(i)?i:ma(i)}catch(e){return ha(e)}}function va(e,t,n,r){let i=n[r];if(!e||!i)return e;let a=i({...e},t);return f&&a===null&&A.log(`Event processor "${i.id||`?`}" dropped event`),ke(a)?a.then(e=>va(e,t,n,r+1)):va(a,t,n,r+1)}var ya,ba,xa,Sa;function Ca(e){let t=p._sentryDebugIds,n=p._debugIds;if(!t&&!n)return{};let r=t?Object.keys(t):[],i=n?Object.keys(n):[];if(Sa&&r.length===ba&&i.length===xa)return Sa;ba=r.length,xa=i.length,Sa={},ya||={};let a=(t,n)=>{for(let r of t){let t=n[r],i=ya?.[r];if(i&&Sa&&t)Sa[i[0]]=t,ya&&(ya[r]=[i[0],t]);else if(t){let n=e(r);for(let e=n.length-1;e>=0;e--){let i=n[e]?.filename;if(i&&Sa&&ya){Sa[i]=t,ya[r]=[i,t];break}}}}};return t&&a(r,t),n&&a(i,n),Sa}function wa(e,t,n,r,i,a){let{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,c={...t,event_id:t.event_id||n.event_id||ut(),timestamp:t.timestamp||vt()},l=n.integrations||e.integrations.map(e=>e.name);Ta(c,e),Oa(c,l),i&&i.emit(`applyFrameMetadata`,t),t.type===void 0&&Ea(c,e.stackParser);let u=Aa(r,n.captureContext);n.mechanism&&mt(c,n.mechanism);let d=i?i.getEventProcessors():[],f=Qi(a,u),p=[...n.attachments||[],...f.attachments];p.length&&(n.attachments=p),Yi(c,f);let m=[...d,...f.eventProcessors];return(n.data&&n.data.__sentry__===!0?ma(c):_a(m,c,n)).then(e=>(e&&Da(e),typeof o==`number`&&o>0?ka(e,o,s):e))}function Ta(e,t){let{environment:n,release:r,dist:i,maxValueLength:a}=t;e.environment=e.environment||n||`production`,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i);let o=e.request;o?.url&&a&&(o.url=rt(o.url,a)),a&&e.exception?.values?.forEach(e=>{e.value&&=rt(e.value,a)})}function Ea(e,t){let n=Ca(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}function Da(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:`sourcemap`,code_file:e,debug_id:t})})}function Oa(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function ka(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:Ye(e.data,t,n)}}))},...e.user&&{user:Ye(e.user,t,n)},...e.contexts&&{contexts:Ye(e.contexts,t,n)},...e.extra&&{extra:Ye(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Ye(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:Ye(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=Ye(e.contexts.flags,3,n)),r}function Aa(e,t){if(!t)return e;let n=e?e.clone():new Rt;return n.update(t),n}function ja(e){if(e)return Ma(e)||Pa(e)?{captureContext:e}:e}function Ma(e){return e instanceof Rt||typeof e==`function`}var Na=[`user`,`level`,`extra`,`contexts`,`tags`,`fingerprint`,`propagationContext`];function Pa(e){return Object.keys(e).some(e=>Na.includes(e))}function Fa(e,t){return rn().captureException(e,ja(t))}function Ia(e,t){return rn().captureEvent(e,t)}function La(e,t){an().setContext(e,t)}function Ra(){return an().lastEventId()}function za(){let e=cn();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function Ba(e){an().addEventProcessor(e)}function Va(e){let t=an(),{user:n}=Qi(t,rn()),{userAgent:r}=p.navigator||{},i=Tt({user:n,...r&&{userAgent:r},...e}),a=t.getSession();return a?.status===`ok`&&Et(a,{status:`exited`}),Ha(),t.setSession(i),i}function Ha(){let e=an(),t=rn().getSession()||e.getSession();t&&Dt(t),Ua(),e.setSession()}function Ua(){let e=an(),t=cn(),n=e.getSession();n&&t&&t.captureSession(n)}function Wa(e=!1){if(e){Ha();return}Ua()}function Ga(e){return typeof e==`object`&&typeof e.unref==`function`&&e.unref(),e}function Ka(e){let t=e.protocol?`${e.protocol}:`:``,n=e.port?`:${e.port}`:``;return`${t}//${e.host}${n}${e.path?`/${e.path}`:``}/api/`}function qa(e){return`${Ka(e)}${e.projectId}/envelope/`}function Ja(e,t){let n={sentry_version:`7`};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function Ya(e,t,n){return t||`${qa(e)}?${Ja(e,n)}`}function Xa(e,t){let n=Xn(e);if(!n)return``;let r=`${Ka(n)}embed/error-page/`,i=`dsn=${Wn(n)}`;for(let e in t)if(e!==`dsn`&&e!==`onClose`){if(e===`user`){let e=t.user;if(!e)continue;e.name&&(i+=`&name=${encodeURIComponent(e.name)}
9`),e.email&&(i+=`&email=${encodeURIComponent(e.email)}`)}else i+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`}return`${r}?${i}`}var Za=[];function Qa(e){let t={};return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}function $a(e){let t=e.defaultIntegrations||[],n=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n==`function`){let e=n(t);r=Array.isArray(e)?e:[e]}else r=t;return Qa(r)}function eo(e,t){let n={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&no(e,t,n)}),n}function to(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function no(e,t,n){if(n[t.name]){f&&A.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!Za.includes(t.name)&&typeof t.setupOnce==`function`&&(t.setupOnce(),Za.push(t.name)),t.setup&&typeof t.setup==`function`&&t.setup(e),typeof t.preprocessEvent==`function`){let n=t.preprocessEvent.bind(t);e.on(`preprocessEvent`,(t,r)=>n(t,r,e))}if(typeof t.processEvent==`function`){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}[`processSpan`,`processSegmentSpan`].forEach(n=>{let r=t[n];typeof r==`function`&&e.on(n,n=>r.call(t,n,e))}),f&&A.log(`Integration installed: ${t.name}`)}function ro(e){return e}function io(){return typeof __SENTRY_BROWSER_BUNDLE__<`u`&&!!__SENTRY_BROWSER_BUNDLE__}function ao(){return`npm`}function oo(){return!io()&&Object.prototype.toString.call(typeof process<`u`?process:0)===`[object process]`}function so(){return typeof window<`u`&&(!oo()||co())}function co(){return p.process?.type===`renderer`}function lo(e,t){let n=t?`auto`:`never`;return[{type:`log`,item_count:e.length,content_type:`application/vnd.sentry.items.log+json`},{version:2,...so()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function uo(e,t,n,r,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=Wn(r)),Xr(a,[lo(e,i)])}function fo(e,t){let n=t??po(e)??[];if(n.length===0)return;let r=e.getOptions(),i=uo(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);mo().set(e,[]),e.emit(`flushLogs`),e.sendEnvelope(i)}function po(e){return mo().get(e)}function mo(){return _(`clientToLogBufferMap`,()=>new WeakMap)}function ho(e,t){let n=t?`auto`:`never`;return[{type:`trace_metric`,item_count:e.length,content_type:`application/vnd.sentry.items.trace-metric+json`},{version:2,...so()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function go(e,t,n,r,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=Wn(r)),Xr(a,[ho(e,i)])}function _o(e,t){let n=t??vo(e)??[];if(n.length===0)return;let r=e.getOptions(),i=go(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);yo().set(e,[]),e.emit(`flushMetrics`),e.sendEnvelope(i)}function vo(e){return yo().get(e)}function yo(){return _(`clientToMetricBufferMap`,()=>new WeakMap)}function bo(e){return gr({trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||``,start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:!e.status||e.status===`ok`||e.status===`cancelled`?`ok`:`error`,is_segment:!1,attributes:{...e.data},links:e.links})}function xo(e,t){if(e.type!==`transaction`||!e.spans?.length||!e.sdkProcessingMetadata?.hasGenAiSpans||t.getOptions().streamGenAiSpans===!1||yi(t))return;let n=[],r=[];for(let t of e.spans)t.op?.startsWith(`gen_ai.`)?n.push(bo(t)):r.push(t);if(n.length===0)return;e.spans=r;let i=t.getDataCollectionOptions().userInfo?`auto`:`never`;return[{type:`span`,item_count:n.length,content_type:`application/vnd.sentry.items.span.v2+json`},{version:2,...so()&&{ingest_settings:{infer_ip:i,infer_user_agent:i}},items:n}]}var So=Symbol.for(`SentryBufferFullError`);function Co(e=100){let t=new Set;function n(){return t.size<e}function r(e){t.delete(e)}function i(e){if(!n())return ha(So);let i=e();return t.add(i),i.then(()=>r(i),()=>r(i)),i}function a(e){if(!t.size)return ma(!0);let n=Promise.allSettled(Array.from(t)).then(()=>!0);if(!e)return n;let r=[n,new Promise(t=>Ga(setTimeout(()=>t(!1),e)))];return Promise.race(r)}return{get $(){return Array.from(t)},add:i,drain:a}}var wo=6e4;function To(e,t=He()){let n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;let r=Date.parse(`${e}`);return isNaN(r)?wo:r-t}function Eo(e,t){return e[t]||e.all||0}function Do(e,t,n=He()){return Eo(e,t)>n}function Oo(e,{statusCode:t,headers:n},r=He()){let i={...e},a=n?.[`x-sentry-rate-limits`],o=n?.[`retry-after`];if(a)for(let e of a.trim().split(`,`)){let[t,n,,,a]=e.split(`:`,5),o=parseInt(t,10),s=(isNaN(o)?60:o)*1e3;if(!n)i.all=r+s;else for(let e of n.split(`;`))e===`metric_bucket`?(!a||a.split(`;`).includes(`custom`))&&(i[e]=r+s):i[e]=r+s}else o?i.all=r+To(o,r):t===429&&(i.all=r+6e4);return i}function ko(e,t,n=Co(e.bufferSize||64)){let r={},i=e=>n.drain(e);function a(i){let a=[];if(Qr(i,(t,n)=>{let i=si(n);Do(r,i)?e.recordDroppedEvent(`ratelimit_backoff`,i):a.push(t)}),a.length===0)return Promise.resolve({});let o=Xr(i[0],a),s=t=>{if($r(o,[`client_report`])){f&&A.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}
9Qr(o,(n,r)=>{e.recordDroppedEvent(t,si(r))})};return n.add(()=>t({body:ti(o)}).then(e=>e.statusCode===413?(f&&A.error(`Sentry responded with status code 413. Envelope was discarded due to exceeding size limits.`),s(`send_error`),e):(f&&e.statusCode!==void 0&&(e.statusCode<200||e.statusCode>=300)&&A.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=Oo(r,e),e),e=>{throw s(`network_error`),f&&A.error(`Encountered error running transport request:`,e),e})).then(e=>e,e=>{if(e===So)return f&&A.error(`Skipped sending event because buffer is full.`),s(`queue_overflow`),Promise.resolve({});throw e})}return{send:a,flush:i}}function Ao(e,t,n){let r=[{type:`client_report`},{timestamp:n||vt(),discarded_events:e}];return Xr(t?{dsn:t}:{},[r])}function jo(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function Mo(e){let{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:a,data:o,op:s}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:s,parent_span_id:n,span_id:r??``,start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??``,origin:a,profile_id:o?.[yn],exclusive_time:o?.[bn],measurements:e.measurements,is_segment:!0}}function No(e){return{type:`transaction`,timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{"sentry.profile_id":e.profile_id},...e.exclusive_time&&{"sentry.exclusive_time":e.exclusive_time}}}},measurements:e.measurements}}var Po=[`forwarded`,`-ip`,`remote-`,`via`,`-user`];function Fo(e){return e===!0?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:[`incomingRequest`,`outgoingRequest`,`incomingResponse`,`outgoingResponse`],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:Po},httpHeaders:{request:{deny:Po},response:{deny:Po}},httpBodies:[],urlQueryParams:{deny:Po},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7}}var Io={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:[`incomingRequest`,`outgoingRequest`,`incomingResponse`,`outgoingResponse`],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5};function Lo(e){let t=e.dataCollection==null?Fo(e.sendDefaultPii):Io,n=e.dataCollection??{};return{userInfo:n.userInfo??t.userInfo,cookies:n.cookies??t.cookies,httpHeaders:{request:n.httpHeaders?.request??t.httpHeaders.request,response:n.httpHeaders?.response??t.httpHeaders.response},httpBodies:n.httpBodies??t.httpBodies,urlQueryParams:n.urlQueryParams??n.queryParams??t.urlQueryParams,graphQL:{document:n.graphQL?.document??t.graphQL.document,variables:n.graphQL?.variables??t.graphQL.variables},genAI:{inputs:n.genAI?.inputs??t.genAI.inputs,outputs:n.genAI?.outputs??t.genAI.outputs},databaseQueryData:n.databaseQueryData??t.databaseQueryData,stackFrameVariables:n.stackFrameVariables??t.stackFrameVariables,frameContextLines:n.frameContextLines??t.frameContextLines}}var Ro=`Not capturing exception because it's already been captured.`,zo=`Discarded session because of missing or non-string release`,Bo=Symbol.for(`SentryInternalError`),Vo=Symbol.for(`SentryDoNotSendEventError`),Ho=5e3;function Uo(e){return{message:e,[Bo]:!0}}function Wo(e){return{message:e,[Vo]:!0}}function Go(e){return Ee(e)&&Bo in e}function Ko(e){return Ee(e)&&Vo in e}function qo(e,t,n,r,i){let a=0,o,s=!1;e.on(n,()=>{a=0,clearTimeout(o),s=!1}),e.on(t,t=>{if(a+=r(t),a>=8e5)i(e);else if(!s){let t=e.getOptions()._flushInterval??Ho;t>0&&(s=!0,o=Ga(setTimeout(()=>{i(e)},t)))}}),e.on(`flush`,()=>{i(e)})}var Jo=class{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Co(e.transportOptions?.bufferSize??64),this._dataCollection=Lo(e),e.dsn?this._dsn=Xn(e.dsn):f&&A.warn(`No DSN provided, client will not send events.`),this._dsn){let t=Ya(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs??!0,this._options.enableLogs&&qo(this,`afterCaptureLog`,`flushLogs`,ts,fo),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&qo(this,`afterCaptureMetric`,`flushMetrics`,es,_o)}captureException(e,t,n){let r=ut();if(ht(e))return f&&A.log(Ro),r;let i={event_id:r,...t};return this._process(()=>this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n)).then(e=>e),`error`),i.event_id}captureMessage(e,t,n,r){let i={event_id:ut(),...n}
9,a=Ce(e)?e:String(e),o=we(e),s=o?this.eventFromMessage(a,t,i):this.eventFromException(e,i);return this._process(()=>s.then(e=>this._captureEvent(e,i,r)),o?`unknown`:`error`),i.event_id}captureEvent(e,t,n){let r=ut();if(t?.originalException&&ht(t.originalException))return f&&A.log(Ro),r;let i={event_id:r,...t},a=e.sdkProcessingMetadata||{},o=a.capturedSpanScope,s=a.capturedSpanIsolationScope,c=Yo(e.type);return this._process(()=>this._captureEvent(e,i,o||n,s),c),i.event_id}captureSession(e){this.sendSession(e),Et(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(this.emit(`flush`),!t)return!0;let n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit(`close`),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith(`Spotlight`)))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(e){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),no(this,e,this._integrations),t||to(this,[e])}sendEvent(e,t={}){this.emit(`beforeSendEvent`,e,t);let n=xo(e,this),r=fi(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=Zr(r,ii(e));n&&(r=Zr(r,n)),this.sendEnvelope(r).then(t=>this.emit(`afterSendEvent`,e,t))}sendSession(e){let{release:t,environment:n=Ur}=this._options;if(`aggregates`in e){let r=e.attrs||{};if(!r.release&&!t){f&&A.warn(zo);return}r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t){f&&A.warn(zo);return}e.release=e.release||t,e.environment=e.environment||n}this.emit(`beforeSendSession`,e);let r=di(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let r=`${e}:${t}`;f&&A.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:``}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit(`beforeEnvelope`,e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return f&&A.error(`Error while sending envelope:`,e),{}}return f&&A.error(`Transport disabled`),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=eo(this,e),to(this,e)}_updateSessionFromEvent(e,t){let n=t.level===`fatal`,r=!1,i=t.exception?.values;if(i){r=!0,n=!1;for(let e of i)if(e.mechanism?.handled===!1){n=!0;break}}let a=e.status===`ok`;(a&&e.errors===0||a&&n)&&(Et(e,{...n&&{status:`crashed`},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(e,t,n,r){let i=this.getOptions(),a=this.getIntegrationNames();return!t.integrations&&a.length&&(t.integrations=a),this.emit(`preprocessEvent`,e,t),e.type||r.setLastEventId(e.event_id||t.event_id),wa(i,e,t,n,this,r).then(e=>e===null?e:(this.emit(`postprocessEvent`,e,t),e.contexts={trace:{...e.contexts?.trace,...ln(n)},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:qr(this,n),...e.sdkProcessingMetadata},e))}_captureEvent(e,t={},n=rn(),r=an()){return f&&Qo(e)&&A.log(`Captured error event \`${jo(e)[0]||`<unknown>`}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{f&&(Ko(e)?A.log(e.message):Go(e)?A.warn(e.message):A.warn(e))})}_processEvent(e,t,n,r){let i=this.getOptions(),{sampleRate:a}=i,o=$o(e),s=Qo(e),c=`before send for type \`${e.type||`error`}\``,l=a===void 0?void 0:Zn(a),u=Yo(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(e===null)throw this.recordDroppedEvent(`event_processor`,u),Wo("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:Xo(Zo(this,i,e,t),c)}).then(i=>{if(i===null){if(this.recordDroppedEvent(`before_send`,u),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent(`before_send`,`span`,t)}throw Wo(`${c} returned \`null\`, will not send event.`)}
9let d=n.getSession()||r.getSession();if(s&&d&&this._updateSessionFromEvent(d,i),s&&typeof l==`number`&&Ve()>l)throw this.recordDroppedEvent(`sample_rate`,`error`),Wo(`Discarding event because it's not included in the random sample (sampling rate = ${a})`);if(o){let e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent(`before_send`,`span`,e)}let f=i.transaction_info;return o&&f&&i.transaction!==e.transaction&&(i.transaction_info={...f,source:`custom`}),this.sendEvent(i,t),i}).then(null,e=>{throw Ko(e)||Go(e)?e:(this.captureException(e,{mechanism:{handled:!1,type:`internal`},data:{__sentry__:!0},originalException:e}),Uo(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 10Reason: ${e}`))})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===So&&this.recordDroppedEvent(`queue_overflow`,t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(`:`);return{reason:n,category:r,quantity:t}})}_flushOutcomes(){f&&A.log(`Flushing outcomes...`);let e=this._clearOutcomes();if(e.length===0){f&&A.log(`No outcomes to send`);return}if(!this._dsn){f&&A.log(`No dsn provided, will not send outcomes`);return}f&&A.log(`Sending outcomes:`,e);let t=Ao(e,this._options.tunnel&&Wn(this._dsn));this.sendEnvelope(t)}};function Yo(e){return e===`replay_event`?`replay`:e||`error`}function Xo(e,t){let n=`${t} must return \`null\` or a valid event.`;if(ke(e))return e.then(e=>{if(!Te(e)&&e!==null)throw Uo(n);return e},e=>{throw Uo(`${t} rejected with ${e}`)});if(!Te(e)&&e!==null)throw Uo(n);return e}function Zo(e,t,n,r){let{beforeSend:i,beforeSendTransaction:a,ignoreSpans:o}=t,s=!Yr(t.beforeSendSpan)&&t.beforeSendSpan,c=n;if(Qo(c)&&i)return i(c,r);if($o(c)){if(s||o){let t=Mo(c);if(o?.length&&Ir({description:t.description,op:t.op,attributes:t.data},o))return null;if(s){let e=s(t);e?c=kt(n,No(e)):jr()}if(c.spans){let t=[],n=c.spans;for(let e of n){if(o?.length&&Ir({description:e.description,op:e.op,attributes:e.data},o)){Rr(n,e);continue}if(s){let n=s(e);n?t.push(n):(jr(),t.push(e))}else t.push(e)}let r=c.spans.length-t.length;r&&e.recordDroppedEvent(`before_send`,`span`,r),c.spans=t}}if(a){if(c.spans){let e=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(c,r)}}return c}function Qo(e){return e.type===void 0}function $o(e){return e.type===`transaction`}function es(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+ns(e.attributes)}function ts(e){let t=0;return e.message&&(t+=e.message.length*2),t+ns(e.attributes)}function ns(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*rs(e[0]):we(e)?t+=rs(e):t+=100}),t}function rs(e){return typeof e==`string`?e.length*2:typeof e==`number`?8:typeof e==`boolean`?4:0}function is(e,t){t.debug===!0&&(f?A.enable():x(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),rn().update(t.initialScope);let n=new e(t);return as(n),n.init(),n}function as(e){rn().setClient(e)}var os=`thismessage:/`;function ss(e){return`isRelative`in e}function cs(e,t){let n=e.indexOf(`://`)<=0&&e.indexOf(`//`)!==0,r=t??(n?os:void 0);try{if(`canParse`in URL&&!URL.canParse(e,r))return;let t=new URL(e,r);return n?{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash}:t}catch{}}function ls(e){if(ss(e))return e.pathname;let t=new URL(e);return t.search=``,t.hash=``,[`80`,`443`].includes(t.port)&&(t.port=``),t.password&&=`%filtered%`,t.username&&=`%filtered%`,t.toString()}function us(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||``,r=t[8]||``;return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function ds(e){return e.split(/[?#]/,1)[0]}function fs(e,t=!0){if(e.startsWith(`data:`)){let n=e.match(/^data:([^;,]+)/),r=n?n[1]:`text/plain`,i=e.includes(`;base64,`),a=e.indexOf(`,`),o=``;if(t&&a!==-1){let t=e.slice(a+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${i?`,base64`:``}${o?`,${o}`:``}`}return e}function ps(e,t){let n=t?.getDsn(),r=t?.getOptions().tunnel;return hs(e,n)||ms(e,r)}function ms(e,t){return t?_s(e)===_s(t):!1}function hs(e,t){let n=cs(e);return!n||ss(n)||!t?!1:gs(n.hostname,t.host)&&/(^|&|\?)sentry_key=/.test(n.search)}function gs(e,t){return e===t||t.length>0&&e.endsWith(`.${t}`)}function _s(e){return e[e.length-1]===`/`?e.slice(0,-1):e}function vs(e){`aggregates`in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:`{{auto}}`}):e.ipAddress===void 0&&(e.ipAddress=`{{auto}}`)}function ys(e,t,n=[t],r=`npm`){let i=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};i.name||(i.name=`sentry.javascript.${t}`,i.packages=n.map(e=>({name:`${r}:@sentry/${e}`,version:m})),i.version=m)}function bs(e={}){let t=e.client||cn();if(!za()||!t)return{};let n=Zt(h());if(n.getTraceData)return n.getTraceData(e);
10let r=e.scope||rn(),i=e.span||Ar(),a=Hr(i)&&!Pr(t.getOptions());if(!i&&nn())return{};let o=i&&!a?sr(i):xs(r),s=Ln(i?Jr(i):qr(t,r));if(!Qn.test(o))return A.warn(`Invalid sentry-trace data. Cannot generate trace data`),{};let c={"sentry-trace":o,baggage:s};return e.propagateTraceparent&&(c.traceparent=i&&!a?cr(i):Ss(r)),c}function xs(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return tr(t,r,n)}function Ss(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return nr(t,r,n)}var Cs=100;function ws(e,t){let n=cn(),r=an();if(!n)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:a=Cs}=n.getOptions();if(a<=0)return;let o={timestamp:vt(),...e},s=i?x(()=>i(o,t)):o;s!==null&&(n.emit&&n.emit(`beforeAddBreadcrumb`,s,t),r.addBreadcrumb(s,a))}var Ts=`FunctionToString`,Es=new WeakMap,Ds=ro((()=>({name:Ts,setupOnce(){let e=Function.prototype.toString;try{Function.prototype.toString=function(...t){let n=Fe(this),r;try{Es.has(cn())&&n!==void 0&&(r=n)}catch{}return e.apply(r??this,t)}}catch{}},setup(e){Es.set(e,!0)}}))),Os=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/Java exception was raised during method invocation$/,/Java object is gone$/],ks=`EventFilters`,As=ro((e={})=>{let t;return{name:ks,setup(n){t=Ms(e,n.getOptions())},processEvent(n,r,i){return t||=Ms(e,i.getOptions()),Ns(n,t)?null:n}}}),js=ro(((e={})=>({...As(e),name:`InboundFilters`})));function Ms(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Os],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function Ns(e,t){if(!e.type){if(Ps(e,t.ignoreErrors))return f&&A.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 11Event: ${ft(e)}`),!0;if(Bs(e))return f&&A.warn(`Event dropped due to not having an error message, error type or stacktrace. 12Event: ${ft(e)}`),!0;if(Is(e,t.denyUrls))return f&&A.warn(`Event dropped due to being matched by \`denyUrls\` option. 13Event: ${ft(e)}. 14Url: ${zs(e)}`),!0;if(!Ls(e,t.allowUrls))return f&&A.warn(`Event dropped due to not being matched by \`allowUrls\` option. 15Event: ${ft(e)}. 16Url: ${zs(e)}`),!0}else if(e.type===`transaction`&&Fs(e,t.ignoreTransactions))return f&&A.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 17Event: ${ft(e)}`),!0;return!1}function Ps(e,t){return t?.length?jo(e).some(e=>ot(e,t)):!1}function Fs(e,t){if(!t?.length)return!1;let n=e.transaction;return n?ot(n,t):!1}function Is(e,t){if(!t?.length)return!1;let n=zs(e);return n?ot(n,t):!1}function Ls(e,t){if(!t?.length)return!0;let n=zs(e);return!n||ot(n,t)}function Rs(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&n.filename!==`<anonymous>`&&n.filename!==`[native code]`)return n.filename||null}return null}function zs(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length)?.stacktrace?.frames;return t?Rs(t):null}catch{return f&&A.error(`Cannot extract url for event ${ft(e)}`),null}}function Bs(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&e.type!==`Error`||e.value):!1}function Vs(e,t,n,r,i,a){if(!i.exception?.values||!a||!_e(a.originalException))return;let o=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;o&&(i.exception.values=Hs(e,t,r,a.originalException,n,i.exception.values,o,0))}function Hs(e,t,n,r,i,a,o,s){if(a.length>=n+1)return a;let c=[...a];if(_e(r[i])){Ws(o,s,r);let a=e(t,r[i]),l=c.length;Gs(a,i,l,s),c=Hs(e,t,n,r[i],i,[a,...c],a,l)}
17return Us(r)&&r.errors.forEach((a,l)=>{if(_e(a)){Ws(o,s,r);let u=e(t,a),d=c.length;Gs(u,`errors[${l}]`,d,s),c=Hs(e,t,n,a,i,[u,...c],u,d)}}),c}function Us(e){return Array.isArray(e.errors)}function Ws(e,t,n){e.mechanism={handled:!0,type:`auto.core.linked_errors`,...Us(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function Gs(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:`chained`,source:t,exception_id:n,parent_id:r}}function Ks(e){return _e(e)&&`__sentry_fetch_url_host__`in e&&typeof e.__sentry_fetch_url_host__==`string`}function qs(e){return Ks(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}var Js=new Set([]);function Ys(e){let t=`console`,n=se(t,e);return ce(t,Zs),n}var Xs=new Set;function Zs(){`console`in p&&v.forEach(function(e){!Xs.has(e)&&e in p.console&&(Xs.add(e),Me(p.console,e,function(t){return b[e]=t,function(...t){let n=t[0],r=b[e],i=Js.size&&typeof n==`string`&&ot(n,Js);i||le(`console`,{args:t,level:e}),(!i||f&&A.isEnabled())&&r?.apply(p.console,t)}}))})}function Qs(e){return e===`warn`?`warning`:[`fatal`,`error`,`warning`,`log`,`info`,`debug`].includes(e)?e:`log`}var $s=`Dedupe`,ec=ro((()=>{let e;return{name:$s,processEvent(t){if(t.type)return t;try{if(tc(t,e))return f&&A.warn(`Event dropped due to being a duplicate of previously captured event.`),null}catch{}return e=t}}}));function tc(e,t){return t?!!(nc(e,t)||rc(e,t)):!1}function nc(e,t){let n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!ac(e,t)||!ic(e,t))}function rc(e,t){let n=oc(t),r=oc(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!ac(e,t)||!ic(e,t))}function ic(e,t){let n=F(e),r=F(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function ac(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join(``)===r.join(``)}catch{return!1}}function oc(e){return e.exception?.values?.[0]}var sc=`ConversationId`,cc=ro((()=>({name:sc,setup(e){e.on(`spanStart`,e=>{let t=rn().getScopeData(),n=an().getScopeData(),r=t.conversationId||n.conversationId;if(r){let{op:t,data:n,description:i}=pr(e);if(!t?.startsWith(`gen_ai.`)&&!n[`ai.operationId`]&&!i?.startsWith(`ai.`))return;e.setAttribute(Sn,r)}})}})));function lc(e,t,n,r,i){if(!e.fetchData)return;let{method:a,url:o}=e.fetchData,s=Pr()&&t(o);if(e.endTimestamp){let t=e.fetchData.__span;if(!t)return;let n=r[t];n&&(s&&(fc(n,e),uc(n,e,i)),delete r[t]);return}let{spanOrigin:c=`auto.http.browser`,propagateTraceparent:l=!1}=typeof i==`object`?i:{spanOrigin:i},u=cn(),d=!!Ar(),f=d||!!u&&yi(u),p=s&&f?Oi(gc(o,a,c)):new Vr,m=Bi(p)&&d?void 0:p;if(s&&!f&&u?.recordDroppedEvent(`no_parent_span`,`span`),e.fetchData.__span=p.spanContext().spanId,r[p.spanContext().spanId]=p,n(e.fetchData.url)){let t=e.args[0],n={...e.args[1]||{}},r=dc(t,n,Pr()&&f?m:void 0,l);r&&(e.args[1]=n,n.headers=r)}if(u){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};u.emit(`beforeOutgoingRequestSpan`,p,t)}return p}function uc(e,t,n){(typeof n==`object`&&n?n.onRequestSpanEnd:void 0)?.(e,{headers:t.response?.headers,error:t.error})}function dc(e,t,n,r){let i=bs({span:n,propagateTraceparent:r}),a=i[`sentry-trace`],o=i.baggage,s=i.traceparent;if(!a)return;let c=t.headers||(je(e)?e.headers:void 0);if(!c)return{"sentry-trace":a,...o&&{baggage:o},...s&&{traceparent:s}};if(mc(c)){let e=new Headers(c);if(e.get(`sentry-trace`)||e.set(`sentry-trace`,a),r&&s&&!e.get(`traceparent`)&&e.set(`traceparent`,s),o){let t=e.get(`baggage`);t?pc(t)||e.set(`baggage`,`${t},${o}`):e.set(`baggage`,o)}return e}if(hc(c)){let e=[...c];e.find(e=>e[0]===`sentry-trace`)||e.push([`sentry-trace`,a]),r&&s&&!e.find(e=>e[0]===`traceparent`)&&e.push([`traceparent`,s]);let t=c.find(e=>e[0]===`baggage`&&typeof e[1]==`string`&&pc(e[1]));return o&&!t&&e.push([`baggage`,o]),e}{let e=`sentry-trace`in c?c[`sentry-trace`]:void 0,t=`traceparent`in c?c.traceparent:void 0,n=`baggage`in c?c.baggage:void 0,i=n?Array.isArray(n)?[...n]:[n]:[],l=n&&(Array.isArray(n)?n.find(e=>pc(e)):pc(n));o&&!l&&i.push(o);let u=Object.assign({},c,{"sentry-trace":e??a,...i.length>0&&{baggage:i.join(`,`)}});return r&&s&&!t&&(u.traceparent=s),u}}function fc(e,t){if(t.response){wn(e,t.response.status);let n=t.response?.headers?.get(`content-length`);if(n){let t=parseInt(n);t>0&&e.setAttribute(`http.response_content_length`,t)}}else t.error&&e.setStatus({code:2,message:`internal_error`});e.end()}function pc(e){return typeof e==`string`&&e.split(`,`).some(e=>e.trim().startsWith(Fn))}function mc(e){return typeof Headers<`u`&&Ae(e,Headers)}function hc(e){return Array.isArray(e)?e.every(e=>Array.isArray(e)&&e.length===2&&typeof e[0]==`string`):!1}
17function gc(e,t,n){if(e.startsWith(`data:`))return{name:`${t} ${fs(e)}`,attributes:_c(e,void 0,t,n)};let r=cs(e);return{name:`${t} ${r?ls(r):e}`,attributes:_c(e,r,t,n)}}function _c(e,t,n,r){let i={url:fs(e),type:`fetch`,"http.method":n,[mn]:r,[pn]:`http.client`};return t&&(ss(t)||(i[ia]=fs(t.href),i[sa]=fs(t.href),i[`server.address`]=t.host),t.search&&(i[`http.query`]=t.search),t.hash&&(i[`http.fragment`]=t.hash)),i}function vc(e){if(e!==void 0){if(e>=400&&e<500)return`warning`;if(e>=500)return`error`}}var yc=p;function bc(){return`history`in yc&&!!yc.history}function xc(){if(!(`fetch`in yc))return!1;try{return new Headers,new Request(`data:,`),new Response,!0}catch{return!1}}function Sc(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Cc(){if(typeof EdgeRuntime==`string`)return!0;if(!xc())return!1;if(Sc(yc.fetch))return!0;let e=!1,t=yc.document;if(t&&typeof t.createElement==`function`)try{let n=t.createElement(`iframe`);n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=Sc(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){f&&A.warn(`Could not create sandbox iframe for pure fetch check, bailing to window.fetch: `,e)}return e}function wc(e,t){let n=`fetch`,r=se(n,e);return ce(n,()=>Ec(void 0,t)),r}function Tc(e){let t=`fetch-body-resolved`,n=se(t,e);return ce(t,()=>Ec(Oc)),n}function Ec(e,t=!1){(!t||Cc())&&Me(p,`fetch`,function(t){return function(...n){let r=Error(),{method:i,url:a}=jc(n),o={args:n,fetchData:{method:i,url:a},startTimestamp:xt()*1e3,virtualError:r,headers:Mc(n)};return e||le(`fetch`,{...o}),t.apply(p,n).then(async t=>(e?e(t):le(`fetch`,{...o,endTimestamp:xt()*1e3,response:t}),t),e=>{le(`fetch`,{...o,endTimestamp:xt()*1e3,error:e}),_e(e)&&e.stack===void 0&&(e.stack=r.stack,Ne(e,`framesToPop`,1));let t=cn()?.getOptions().enhanceFetchErrorMessages??`always`;if(t!==!1&&_e(e)&&e.name===`TypeError`&&(e.message===`Failed to fetch`||e.message===`Load failed`||e.message===`NetworkError when attempting to fetch resource.`))try{let n=new URL(o.fetchData.url).host;t===`always`?e.message=`${e.message} (${n})`:Ne(e,`__sentry_fetch_url_host__`,n)}catch{}throw e})}})}async function Dc(e,t){if(e?.body){let n=e.body,r=n.getReader(),i=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4),a=!0;for(;a;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:i}=await r.read();clearTimeout(e),i&&(t(),a=!1)}catch{a=!1}finally{clearTimeout(e)}}clearTimeout(i),r.releaseLock(),n.cancel().then(null,()=>{})}}function Oc(e){let t;try{t=e.clone()}catch{return}Dc(t,()=>{le(`fetch-body-resolved`,{endTimestamp:xt()*1e3,response:e})})}function kc(e,t){return Ee(e)&&!!e[t]}function Ac(e){return typeof e==`string`?e:e?kc(e,`url`)?e.url:e.toString?e.toString():``:``}function jc(e){if(e.length===0)return{method:`GET`,url:``};if(e.length===2){let[t,n]=e;return{url:Ac(t),method:kc(n,`method`)?String(n.method).toUpperCase():je(t)&&kc(t,`method`)?String(t.method).toUpperCase():`GET`}}let t=e[0];return{url:Ac(t),method:kc(t,`method`)?String(t.method).toUpperCase():`GET`}}function Mc(e){let[t,n]=e;try{if(typeof n==`object`&&n&&`headers`in n&&n.headers)return new Headers(n.headers);if(je(t))return new Headers(t.headers)}catch{}}var Nc=p;function Pc(){try{return Nc.document.location.href}catch{return``}}function Fc(e,t=5){if(!Nc.HTMLElement)return null;let n=e;for(let e=0;e<t;e++){if(!n)return null;if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}var Ic=p,Lc=0;function Rc(){return Lc>0}function zc(){Lc++,setTimeout(()=>{Lc--})}function Bc(e,t={}){function n(e){return typeof e==`function`}if(!n(e))return e;try{if(Object.prototype.hasOwnProperty.call(e,`__sentry_wrapped__`)){let t=e.__sentry_wrapped__;return typeof t==`function`?t:e}if(Fe(e))return e}catch{return e}let r=function(...n){p._sentryWrappedDepth=(p._sentryWrappedDepth||0)+1;try{let r=n.map(e=>Bc(e,t));return e.apply(this,r)}catch(e){throw zc(),sn(r=>{r.addEventProcessor(e=>(t.mechanism&&(pt(e,void 0,void 0),mt(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),Fa(e)}),e}finally{p._sentryWrappedDepth=(p._sentryWrappedDepth||0)-1}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}Pe(r,e),Ne(e,`__sentry_wrapped__`,r);try{Object.getOwnPropertyDescriptor(r,`name`).configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function Vc(){let e=Pc(),{referrer:t}=Ic.document||{},{userAgent:n}=Ic.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}function Hc(e,t){let n=Gc(e,t),r={type:Xc(t),value:Zc(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===``&&(r.value=`Unrecoverable error caught`),r}function Uc(e,t,n,r){let i=cn()?.getOptions().normalizeDepth,a=il(t),o={__serialized__:Xe(t,i)};if(a)return{exception:{values:[Hc(e,a)]},extra:o};let s={exception:{values:[{type:De(t)?t.constructor.name:r?`UnhandledRejection`:`Error`,value:nl(t,{isUnhandledRejection:r})}]},extra:o};if(n){let t=Gc(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}function Wc(e,t){return{exception:{values:[Hc(e,t)]}}}function Gc(e,t){let n=t.stacktrace||t.stack||``,r=qc(t),i=Jc(t);try{return e(n,r,i)}catch{}return[]}var Kc=/Minified React error #\d+;/i;function qc(e){return e&&Kc.test(e.message)?1:0}
17function Jc(e){return typeof e.framesToPop==`number`?e.framesToPop:0}function Yc(e){return typeof WebAssembly<`u`&&WebAssembly.Exception!==void 0&&e instanceof WebAssembly.Exception}function Xc(e){let t=e?.name;return!t&&Yc(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:`WebAssembly.Exception`:t}function Zc(e){let t=e?.message;return Yc(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:`wasm exception`:t?t.error&&typeof t.error.message==`string`?qs(t.error):qs(e):`No error message`}function Qc(e,t,n,r){let i=el(e,t,n?.syntheticException||void 0,r);return mt(i),i.level=`error`,n?.event_id&&(i.event_id=n.event_id),ma(i)}function $c(e,t,n=`info`,r,i){let a=tl(e,t,r?.syntheticException||void 0,i);return a.level=n,r?.event_id&&(a.event_id=r.event_id),ma(a)}function el(e,t,n,r,i){let a;if(ye(t)&&t.error)return Wc(e,t.error);if(be(t)||xe(t)){let i=t;if(`stack`in t){a=Wc(e,t);let i=a.exception?.values?.[0];if(r&&n&&i&&!i.stacktrace){let t=Gc(e,n);t.length&&(i.stacktrace={frames:t},mt(a,{synthetic:!0}))}}else{let t=i.name||(be(i)?`DOMError`:`DOMException`),o=i.message?`${t}: ${i.message}`:t;a=tl(e,o,n,r),pt(a,o)}return`code`in i&&(a.tags={...a.tags,"DOMException.code":`${i.code}`}),a}return _e(t)?Wc(e,t):Te(t)||De(t)?(a=Uc(e,t,n,i),mt(a,{synthetic:!0}),a):(a=tl(e,t,n,r),pt(a,`${t}`,void 0),mt(a,{synthetic:!0}),a)}function tl(e,t,n,r){let i={};if(r&&n){let r=Gc(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),mt(i,{synthetic:!0})}if(Ce(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function nl(e,{isUnhandledRejection:t}){let n=Re(e),r=t?`promise rejection`:`exception`;return ye(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:De(e)?`Event \`${rl(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function rl(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function il(e){return Object.values(e).find(_e)}var al=class extends Jo{constructor(e){let t=ol(e);ys(t,`browser`,[`browser`],Ic.SENTRY_SDK_SOURCE||ao()),super(t);let{userInfo:n}=this.getDataCollectionOptions();t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:n?`auto`:`never`,...t._metadata.sdk.settings});let{sendClientReports:r}=this._options;Ic.document&&Ic.document.addEventListener(`visibilitychange`,()=>{Ic.document.visibilityState===`hidden`&&(r&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),n&&this.on(`beforeSendSession`,vs)}eventFromException(e,t){return Qc(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t=`info`,n){return $c(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||`javascript`,super._prepareEvent(e,t,n,r)}};function ol(e){return{release:typeof __SENTRY_RELEASE__==`string`?__SENTRY_RELEASE__:Ic.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}var sl=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,cl=p,ll=(e,t)=>e>t[1]?`poor`:e>t[0]?`needs-improvement`:`good`,ul=(e,t,n,r)=>{let i,a;return o=>{t.value>=0&&(o||r)&&(a=t.value-(i??0),(a||i===void 0)&&(i=t.value,t.delta=a,t.rating=ll(t.value,n),e(t)))}},dl=(e=!0)=>{let t=cl.performance?.getEntriesByType?.(`navigation`)[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},fl=()=>dl()?.activationStart??0;function pl(e,t,n){cl.document&&cl.addEventListener(e,t,n)}function ml(e,t,n){cl.document&&cl.removeEventListener(e,t,n)}var hl=-1,gl=new Set,_l=()=>cl.document?.visibilityState===`hidden`&&!cl.document?.prerendering?0:1/0,vl=e=>{if(bl(e)&&hl>-1){if(e.type===`visibilitychange`||e.type===`pagehide`)for(let e of gl)e();isFinite(hl)||(hl=e.type===`visibilitychange`?e.timeStamp:0,ml(`prerenderingchange`,vl,!0))}},yl=()=>{if(cl.document&&hl<0){let e=fl();hl=(cl.document.prerendering?void 0:globalThis.performance.getEntriesByType(`visibility-state`).filter(t=>t.name===`hidden`&&t.startTime>e)[0]?.startTime)??_l(),pl(`visibilitychange`,vl,!0),pl(`pagehide`,vl,!0),pl(`prerenderingchange`,vl,!0)}return{get firstHiddenTime(){return hl},onHidden(e){gl.add(e)}}};function bl(e){return e.type===`pagehide`||cl.document?.visibilityState===`hidden`}var xl=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+0xe8d4a51000}
17`,Sl=(e,t=-1)=>{let n=dl(),r=`navigate`;return n&&(cl.document?.prerendering||fl()>0?r=`prerender`:cl.document?.wasDiscarded?r=`restore`:n.type&&(r=n.type.replace(/_/g,`-`))),{name:e,value:t,rating:`good`,delta:0,entries:[],id:xl(),navigationType:r}},Cl=new WeakMap;function wl(e,t){try{return Cl.get(e)||Cl.set(e,new t),Cl.get(e)}catch{return new t}}var Tl=class{constructor(){this._sessionValue=0,this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0],n=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}},El=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},Dl=e=>{let t=!1;return()=>{t||=(e(),!0)}},Ol=e=>{cl.document?.prerendering?addEventListener(`prerenderingchange`,()=>e(),!0):e()},kl=[1800,3e3],Al=(e,t={})=>{Ol(()=>{let n=yl(),r=Sl(`FCP`),i,a=El(`paint`,e=>{for(let t of e)t.name===`first-contentful-paint`&&(a.disconnect(),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-fl(),0),r.entries.push(t),i(!0)))});a&&(i=ul(e,r,kl,t.reportAllChanges))})},jl=[.1,.25],Ml=(e,t={})=>{Al(Dl(()=>{let n=Sl(`CLS`,0),r,i=yl(),a=wl(t,Tl),o=e=>{for(let t of e)a._processEntry(t);a._sessionValue>n.value&&(n.value=a._sessionValue,n.entries=a._sessionEntries,r())},s=El(`layout-shift`,o);s&&(r=ul(e,n,jl,t.reportAllChanges),i.onHidden(()=>{o(s.takeRecords()),r(!0)}),cl?.setTimeout?.(r))}))},Nl=0,Pl=1/0,Fl=0,Il=e=>{e.forEach(e=>{e.interactionId&&(Pl=Math.min(Pl,e.interactionId),Fl=Math.max(Fl,e.interactionId),Nl=Fl?(Fl-Pl)/7+1:0)})},Ll,Rl=()=>Ll?Nl:performance.interactionCount||0,zl=()=>{`interactionCount`in performance||Ll||(Ll=El(`event`,Il,{type:`event`,buffered:!0,durationThreshold:0}))},Bl=10,Vl=0,Hl=()=>Rl()-Vl,Ul=class{constructor(){this._longestInteractionList=[],this._longestInteractionMap=new Map}_resetInteractions(){Vl=Rl(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor(Hl()/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||e.entryType===`first-input`))return;let t=this._longestInteractionList.at(-1),n=this._longestInteractionMap.get(e.interactionId);if(n||this._longestInteractionList.length<Bl||e.duration>t._latency){if(n?e.duration>n._latency?(n.entries=[e],n._latency=e.duration):e.duration===n._latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(n.id,n),this._longestInteractionList.push(n)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>Bl){let e=this._longestInteractionList.splice(Bl);for(let t of e)this._longestInteractionMap.delete(t.id)}this._onAfterProcessingINPCandidate?.(n)}}},Wl=e=>{let t=cl.requestIdleCallback||cl.setTimeout;cl.document?.visibilityState===`hidden`?e():(e=Dl(e),pl(`visibilitychange`,e,{once:!0,capture:!0}),pl(`pagehide`,e,{once:!0,capture:!0}),t(()=>{e(),ml(`visibilitychange`,e,{capture:!0}),ml(`pagehide`,e,{capture:!0})}))},Gl=[200,500],Kl=40,ql=(e,t={})=>{if(!(globalThis.PerformanceEventTiming&&`interactionId`in PerformanceEventTiming.prototype))return;let n=yl();Ol(()=>{zl();let r=Sl(`INP`),i,a=wl(t,Ul),o=e=>{Wl(()=>{for(let t of e)a._processEntry(t);let t=a._estimateP98LongestInteraction();t&&t._latency!==r.value&&(r.value=t._latency,r.entries=t.entries,i())})},s=El(`event`,o,{durationThreshold:t.durationThreshold??Kl});i=ul(e,r,Gl,t.reportAllChanges),s&&(s.observe({type:`first-input`,buffered:!0}),n.onHidden(()=>{o(s.takeRecords()),i(!0)}))})},Jl=class{_processEntry(e){this._onBeforeProcessingEntry?.(e)}},Yl=[2500,4e3],Xl=(e,t={})=>{Ol(()=>{let n=yl(),r=Sl(`LCP`),i,a=wl(t,Jl),o=e=>{t.reportAllChanges||(e=e.slice(-1));for(let t of e)a._processEntry(t),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-fl(),0),r.entries=[t],i())},s=El(`largest-contentful-paint`,o);if(s){i=ul(e,r,Yl,t.reportAllChanges);let n=Dl(()=>{o(s.takeRecords()),s.disconnect(),i(!0)}),a=e=>{e.isTrusted&&(Wl(n),ml(e.type,a,{capture:!0}))};for(let e of[`keydown`,`click`,`visibilitychange`])pl(e,a,{capture:!0})}})},Zl=[800,1800],Ql=e=>{cl.document?.prerendering?Ol(()=>Ql(e)):cl.document?.readyState===`complete`?setTimeout(e):addEventListener(`load`,()=>Ql(e),!0)},$l=(e,t={})=>{let n=Sl(`TTFB`),r=ul(e,n,Zl,t.reportAllChanges);Ql(()=>{let e=dl();e&&(n.value=Math.max(e.responseStart-fl(),0),n.entries=[e],r(!0))})},eu={},tu={},nu,ru,iu,au;function ou(e,t=!1){return gu(`cls`,e,fu,nu,t)}function su(e,t=!1){return gu(`lcp`,e,pu,ru,t)}function cu(e){return gu(`ttfb`,e,mu,iu)}function lu(e){return gu(`inp`,e,hu,au)}function uu(e,t){return vu(e,t),tu[e]||(_u(e),tu[e]=!0),yu(e,t)}function du(e,t){let n=eu[e];if(n?.length)for(let r of n)try{r(t)}catch(t){sl&&A.error(`Error while triggering instrumentation handler. 18Type: ${e} 19Name: ${P(r)} 20Error:`,t)}}function fu(){return Ml(e=>{du(`cls`,{metric:e}),nu=e},{reportAllChanges:!0})}function pu(){return Xl(e=>{du(`lcp`,{metric:e}),ru=e},{reportAllChanges:!0})}
20function mu(){return $l(e=>{du(`ttfb`,{metric:e}),iu=e})}function hu(){return ql(e=>{du(`inp`,{metric:e}),au=e})}function gu(e,t,n,r,i=!1){vu(e,t);let a;return tu[e]||(a=n(),tu[e]=!0),r&&t({metric:r}),yu(e,t,i?a:void 0)}function _u(e){let t={};e===`event`&&(t.durationThreshold=0),El(e,t=>{du(e,{entries:t})},t)}function vu(e,t){eu[e]=eu[e]||[],eu[e].push(t)}function yu(e,t,n){return()=>{n&&n();let r=eu[e];if(!r)return;let i=r.indexOf(t);i!==-1&&r.splice(i,1)}}function bu(e){return`duration`in e}var xu=80,Su={};try{typeof Node<`u`&&(Su.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,`parentNode`).get),typeof Element<`u`&&(Su.tagName=Object.getOwnPropertyDescriptor(Element.prototype,`tagName`).get,Su.id=Object.getOwnPropertyDescriptor(Element.prototype,`id`).get,Su.className=Object.getOwnPropertyDescriptor(Element.prototype,`className`).get,Su.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<`u`&&(Su.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,`dataset`).get)}catch{}function Cu(e,t,n){let r=Su[t];if(r)try{return r.call(e,n)}catch{}let i=e[t];return typeof i==`function`?i.call(e,n):i}function wu(e,t={}){if(!e)return`<unknown>`;try{let n=e,r=[],i=0,a=0,o,s=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||xu;for(;n&&i++<5&&(o=Tu(n,s),!(o===`html`||i>1&&a+r.length*3+o.length>=c));)r.push(o),a+=o.length,n=Cu(n,`parentNode`);return r.reverse().join(` > `)}catch{return`<unknown>`}}function Tu(e,t){let n=[],r=Cu(e,`tagName`);if(!r)return``;if(typeof HTMLElement<`u`&&e instanceof HTMLElement){let t=Cu(e,`dataset`);if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(r.toLowerCase());let i=t?.length?t.filter(t=>Cu(e,`getAttribute`,t)).map(t=>[t,Cu(e,`getAttribute`,t)]):null;if(i?.length)i.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{let t=Cu(e,`id`);t&&n.push(`#${t}`);let r=Cu(e,`className`);if(r&&Se(r)){let e=r.split(/\s+/);for(let t of e)n.push(`.${t}`)}}for(let t of[`aria-label`,`type`,`name`,`title`,`alt`]){let r=Cu(e,`getAttribute`,t);r&&n.push(`[${t}="${r}"]`)}return n.join(``)}var Eu=e=>{let t=t=>{(t.type===`pagehide`||cl.document?.visibilityState===`hidden`)&&e(t)};pl(`visibilitychange`,t,{capture:!0,once:!0}),pl(`pagehide`,t,{capture:!0,once:!0})};function Du(e){return typeof e==`number`&&isFinite(e)}function Ou(e,t,n,{...r}){let i=pr(e).start_timestamp;return i&&i>t&&typeof e.updateStartTime==`function`&&e.updateStartTime(t),Ai(e,()=>{let e=Oi({startTime:t,...r});return e&&e.end(n),e})}function ku(e){let t=cn();if(!t)return;let{name:n,transaction:r,attributes:i,startTime:a}=e,{release:o,environment:s}=t.getOptions(),{userInfo:c}=t.getDataCollectionOptions(),l=t.getIntegrationByName(`Replay`)?.getReplayId(),u=rn(),d=u.getUser(),f=d===void 0?void 0:d.email||d.id||d.ip_address,p;try{p=u.getScopeData().contexts.profile.profile_id}catch{}return Oi({name:n,attributes:{release:o,environment:s,user:f||void 0,profile_id:p||void 0,replay_id:l||void 0,transaction:r,"user_agent.original":cl.navigator?.userAgent,"client.address":c?`{{auto}}`:void 0,...i},startTime:a,experimental:{standalone:!0}})}function Au(){return cl.addEventListener&&cl.performance}function ju(e){return e/1e3}function Mu(e){let t=`unknown`,n=`unknown`,r=``;for(let i of e){if(i===`/`){[t,n]=e.split(`/`);break}if(!isNaN(Number(i))){t=r===`h`?`http`:r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}function Nu(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function Pu(e,t){let n,r=!1;function i(e){!r&&n&&t(e,n.spanContext().spanId,n),r=!0}Eu(()=>{i(`pagehide`)});let a=e.on(`beforeStartNavigationSpan`,(e,t)=>{t?.isRedirect||(i(`navigation`),a(),o())}),o=e.on(`afterStartPageLoadSpan`,e=>{n=e,o()})}function Fu(e){let t=0,n;if(!Nu(`layout-shift`))return;let r=ou(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(t=e.value,n=r)},!0);Pu(e,(e,i)=>{Iu(t,n,i,e),r()})}function Iu(e,t,n,r){sl&&A.log(`Sending CLS span (${e})`);let i=t?ju((wt()||0)+t.startTime):xt(),a=rn().getScopeData().transactionName,o=t?wu(t.sources[0]?.node):`Layout shift`,s={[mn]:`auto.http.browser.cls`,[pn]:`ui.webvital.cls`,[bn]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};
20t?.sources&&t.sources.forEach((e,t)=>{s[`cls.source.${t+1}`]=wu(e.node)});let c=ku({name:o,transaction:a,attributes:s,startTime:i});c&&(c.addEvent(`cls`,{[gn]:``,[_n]:e}),c.end(i))}function Lu(e){return e!=null&&e>0&&e<=6e4}function Ru(e){let t=0,n;if(!Nu(`largest-contentful-paint`))return;let r=su(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&Lu(e.value)&&(t=e.value,n=r)},!0);Pu(e,(e,i)=>{zu(t,n,i,e),r()})}function zu(e,t,n,r){if(!Lu(e))return;sl&&A.log(`Sending LCP span (${e})`);let i=ju((wt()||0)+(t?.startTime||0)),a=rn().getScopeData().transactionName,o=t?wu(t.element):`Largest contentful paint`,s={[mn]:`auto.http.browser.lcp`,[pn]:`ui.webvital.lcp`,[bn]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t&&(t.element&&(s[`lcp.element`]=wu(t.element)),t.id&&(s[`lcp.id`]=t.id),t.url&&(s[`lcp.url`]=t.url),t.loadTime!=null&&(s[`lcp.loadTime`]=t.loadTime),t.renderTime!=null&&(s[`lcp.renderTime`]=t.renderTime),t.size!=null&&(s[`lcp.size`]=t.size));let c=ku({name:o,transaction:a,attributes:s,startTime:i});c&&(c.addEvent(`lcp`,{[gn]:`millisecond`,[_n]:e}),c.end(i))}function Bu(e){return e&&((wt()||performance.timeOrigin)+e)/1e3}function Vu(e){let t={};if(e.nextHopProtocol!=null){let{name:n,version:r}=Mu(e.nextHopProtocol);t[`network.protocol.version`]=r,t[`network.protocol.name`]=n}return wt()||Au()?.timeOrigin?Hu({...t,"http.request.redirect_start":Bu(e.redirectStart),"http.request.redirect_end":Bu(e.redirectEnd),"http.request.worker_start":Bu(e.workerStart),"http.request.fetch_start":Bu(e.fetchStart),"http.request.domain_lookup_start":Bu(e.domainLookupStart),"http.request.domain_lookup_end":Bu(e.domainLookupEnd),"http.request.connect_start":Bu(e.connectStart),"http.request.secure_connection_start":Bu(e.secureConnectionStart),"http.request.connection_end":Bu(e.connectEnd),"http.request.request_start":Bu(e.requestStart),"http.request.response_start":Bu(e.responseStart),"http.request.response_end":Bu(e.responseEnd),"http.request.time_to_first_byte":e.responseStart==null?void 0:e.responseStart/1e3}):t}function Hu(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!=null))}var Uu=2147483647,Wu=0,Gu={},Ku,qu;function Ju({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){let r=Au();if(r&&wt()){r.mark&&cl.performance.mark(`sentry-tracing-init`);let i=t?Ru(n):t===!1?$u():void 0,a=e?Fu(n):e===!1?Qu():void 0,o=ed(),s=td();return()=>{o(),s(),i?.(),a?.()}}return()=>void 0}function Yu(){uu(`longtask`,({entries:e})=>{let t=Ar();if(!t)return;let{op:n,start_timestamp:r}=pr(t);for(let i of e){let e=ju(wt()+i.startTime),a=ju(i.duration);n===`navigation`&&r&&e<r||Ou(t,e,e+a,{name:`Main UI thread blocked`,op:`ui.long-task`,attributes:{[mn]:`auto.ui.browser.metrics`}})}})}function Xu(){new PerformanceObserver(e=>{let t=Ar();if(t)for(let n of e.getEntries()){if(!n.scripts[0])continue;let e=ju(wt()+n.startTime),{start_timestamp:r,op:i}=pr(t);if(i===`navigation`&&r&&e<r)continue;let a=ju(n.duration),o={[mn]:`auto.ui.browser.metrics`},{invoker:s,invokerType:c,sourceURL:l,sourceFunctionName:u,sourceCharPosition:d}=n.scripts[0];o[`browser.script.invoker`]=s,o[`browser.script.invoker_type`]=c,l&&(o[`code.filepath`]=l),u&&(o[`code.function`]=u),d!==-1&&(o[`browser.script.source_char_position`]=d),Ou(t,e,e+a,{name:`Main UI thread blocked`,op:`ui.long-animation-frame`,attributes:o})}}).observe({type:`long-animation-frame`,buffered:!0})}function Zu(){uu(`event`,({entries:e})=>{let t=Ar();if(t){for(let n of e)if(n.name===`click`){let e=ju(wt()+n.startTime),r=ju(n.duration),i={name:wu(n.target),op:`ui.interaction.${n.name}`,startTime:e,attributes:{[mn]:`auto.ui.browser.metrics`}},a=Fc(n.target);a&&(i.attributes[`ui.component_name`]=a),Ou(t,e,e+r,i)}}})}function Qu(){return ou(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(Gu.cls={value:e.value,unit:``},qu=t)},!0)}function $u(){return su(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&Lu(e.value)&&(Gu.lcp={value:e.value,unit:`millisecond`},Ku=t)},!0)}function ed(){return cu(({metric:e})=>{e.entries[e.entries.length-1]&&(Gu.ttfb={value:e.value,unit:`millisecond`})})}function td(){return uu(`paint`,({entries:e})=>{let t=yl();for(let n of e){let e=n.startTime<t.firstHiddenTime;n.name===`first-paint`&&e&&(Gu.fp={value:n.startTime,unit:`millisecond`}),n.name===`first-contentful-paint`&&e&&(Gu.fcp={value:n.startTime,unit:`millisecond`})}})}
20function nd(e,t){let n=Au(),r=wt();if(!n?.getEntries||!r)return;let{spanStreamingEnabled:i,ignorePerformanceApiSpans:a,ignoreResourceSpans:o}=t,s=ju(r),c=n.getEntries(),{op:l,start_timestamp:u}=pr(e);c.slice(Wu).forEach(t=>{let n=ju(t.startTime),r=ju(Math.max(0,t.duration));if(!(l===`navigation`&&u&&s+n<u))switch(t.entryType){case`navigation`:cd(e,t,s);break;case`mark`:case`paint`:case`measure`:od(e,t,n,r,s,a);break;case`resource`:fd(e,t,t.name,n,r,s,o)}}),Wu=Math.max(c.length-1,0),pd(e,i)}function rd(e,t){let n=wt();if(!Au()?.getEntries||!n){id();return}let{spanStreamingEnabled:r,recordClsOnPageloadSpan:i,recordLcpOnPageloadSpan:a}=t,o=ju(n);if(pr(e).op===`pageload`){if(gd(Gu),r){let t=(t,n,r)=>{let i=r??`browser.web_vital.${t}.value`;e.setAttribute(i,n),sl&&A.log(`Setting web vital attribute`,{[i]:n},`on pageload span`)};[`ttfb`,`fp`,`fcp`].forEach(e=>{Gu[e]&&t(e,Gu[e].value)}),Gu[`ttfb.requestTime`]&&t(`ttfb.requestTime`,Gu[`ttfb.requestTime`].value,`browser.web_vital.ttfb.request_time`)}else i||delete Gu.cls,a||delete Gu.lcp,Object.entries(Gu).forEach(([t,n])=>{gi(t,n.value,n.unit,e)}),md(e,t);e.setAttribute(r?`browser.performance.time_origin`:`performance.timeOrigin`,o),e.setAttribute(r?`browser.performance.navigation.activation_start`:`performance.activationStart`,fl())}id()}function id(){Ku=void 0,qu=void 0,Gu={}}function ad(e){if(e?.entryType===`measure`)try{return e.detail.devtools.track===`Components â`}catch{return}}function od(e,t,n,r,i,a){if(ad(t)||[`mark`,`measure`].includes(t.entryType)&&ot(t.name,a))return;let o=dl(!1),s=ju(o?o.requestStart:0),c=i+Math.max(n,s),l=i+n,u=l+r,d={[mn]:`auto.resource.browser.metrics`};c!==l&&(d[`sentry.browser.measure_happened_before_request`]=!0,d[`sentry.browser.measure_start_time`]=c),sd(d,t),c<=u&&Ou(e,c,u,{name:t.name,op:t.entryType,attributes:d})}function sd(e,t){try{let n=t.detail;if(!n)return;if(typeof n==`object`){for(let[t,r]of Object.entries(n))if(r&&we(r))e[`sentry.browser.measure.detail.${t}`]=r;else if(r!==void 0)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(r)}catch{}return}if(we(n)){e[`sentry.browser.measure.detail`]=n;return}try{e[`sentry.browser.measure.detail`]=JSON.stringify(n)}catch{}}catch{}}function cd(e,t,n){[`unloadEvent`,`redirect`,`domContentLoadedEvent`,`loadEvent`,`connect`].forEach(r=>{ld(e,t,r,n)}),ld(e,t,`secureConnection`,n,`TLS/SSL`),ld(e,t,`fetch`,n,`cache`),ld(e,t,`domainLookup`,n,`DNS`),dd(e,t,n)}function ld(e,t,n,r,i=n){let a=t[ud(n)],o=t[`${n}Start`];o&&a&&Ou(e,r+ju(o),r+ju(a),{op:`browser.${i}`,name:t.name,attributes:{[mn]:`auto.ui.browser.metrics`,...n===`redirect`&&t.redirectCount!=null?{"http.redirect_count":t.redirectCount}:{}}})}function ud(e){return e===`secureConnection`?`connectEnd`:e===`fetch`?`domainLookupStart`:`${e}End`}function dd(e,t,n){let r=n+ju(t.requestStart),i=n+ju(t.responseEnd),a=n+ju(t.responseStart);t.responseEnd&&(Ou(e,r,i,{op:`browser.request`,name:t.name,attributes:{[mn]:`auto.ui.browser.metrics`}}),Ou(e,a,i,{op:`browser.response`,name:t.name,attributes:{[mn]:`auto.ui.browser.metrics`}}))}function fd(e,t,n,r,i,a,o){if(t.initiatorType===`xmlhttprequest`||t.initiatorType===`fetch`)return;let s=t.initiatorType?`resource.${t.initiatorType}`:`resource.other`;if(o?.includes(s))return;let c={[mn]:`auto.resource.browser.metrics`},l=us(n);l.protocol&&(c[`url.scheme`]=l.protocol.split(`:`).pop()),l.host&&(c[`server.address`]=l.host),c[`url.same_origin`]=n.includes(cl.location.origin),c[sa]=n,hd(t,c,[[`responseStatus`,`http.response.status_code`],[`transferSize`,`http.response_transfer_size`],[`encodedBodySize`,`http.response_content_length`],[`decodedBodySize`,`http.decoded_response_content_length`],[`renderBlockingStatus`,`resource.render_blocking_status`],[`deliveryType`,`http.response_delivery_type`]]);let u={...c,...Vu(t)},d=a+r;Ou(e,d,d+i,{name:n.replace(cl.location.origin,``),op:s,attributes:u})}function pd(e,t){let n=cl.navigator;if(!n)return;let r=n.connection;r&&(r.effectiveType&&e.setAttribute(t?`network.connection.effective_type`:`effectiveConnectionType`,r.effectiveType),r.type&&e.setAttribute(t?`network.connection.type`:`connectionType`,r.type),Du(r.rtt)&&(t?e.setAttribute(`network.connection.rtt`,r.rtt):pr(e).op===`pageload`&&gi(`connection.rtt`,r.rtt,`millisecond`))),Du(n.deviceMemory)&&(t?e.setAttribute(`device.memory.estimated_capacity`,n.deviceMemory):e.setAttribute(`deviceMemory`,`${n.deviceMemory} GB`)),Du(n.hardwareConcurrency)&&(t?e.setAttribute(`device.processor_count`,n.hardwareConcurrency):e.setAttribute(`hardwareConcurrency`,String(n.hardwareConcurrency)))}function md(e,t){Ku&&t.recordLcpOnPageloadSpan&&(Ku.element&&e.setAttribute(`lcp.element`,wu(Ku.element)),Ku.id&&e.setAttribute(`lcp.id`,Ku.id),Ku.url&&e.setAttribute(`lcp.url`,Ku.url.trim().slice(0,200)),Ku.loadTime!=null&&e.setAttribute(`lcp.loadTime`,Ku.loadTime),Ku.renderTime!=null&&e.setAttribute(`lcp.renderTime`,Ku.renderTime),e.setAttribute(`lcp.size`,Ku.size)),qu?.sources&&t.recordClsOnPageloadSpan&&qu.sources.forEac
20h((t,n)=>e.setAttribute(`cls.source.${n+1}`,wu(t.node)))}function hd(e,t,n){n.forEach(([n,r])=>{let i=e[n];i!=null&&(typeof i==`number`&&i<Uu||typeof i==`string`)&&(t[r]=i)})}function gd(e){let t=dl(!1);if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(e[`ttfb.requestTime`]={value:n-r,unit:`millisecond`})}var _d=[],vd=new Map,yd=new Map;function bd(){if(Au()&&wt()){let e=Sd();return()=>{e()}}return()=>void 0}var xd={click:`click`,pointerdown:`click`,pointerup:`click`,mousedown:`click`,mouseup:`click`,touchstart:`click`,touchend:`click`,mouseover:`hover`,mouseout:`hover`,mouseenter:`hover`,mouseleave:`hover`,pointerover:`hover`,pointerout:`hover`,pointerenter:`hover`,pointerleave:`hover`,dragstart:`drag`,dragend:`drag`,drag:`drag`,dragenter:`drag`,dragleave:`drag`,dragover:`drag`,drop:`drag`,keydown:`press`,keyup:`press`,keypress:`press`,input:`press`};function Sd(){return lu(Cd)}var Cd=({metric:e})=>{if(e.value==null)return;let t=ju(e.value);if(t>60)return;let n=e.entries.find(t=>t.duration===e.value&&xd[t.name]);if(!n)return;let{interactionId:r}=n,i=xd[n.name],a=ju(wt()+n.startTime),o=Ar(),s=o?Or(o):void 0,c=r==null?void 0:vd.get(r),l=c?.span||s,u=l?pr(l).description:rn().getScopeData().transactionName,d=ku({name:c?.elementName||wu(n.target),transaction:u,attributes:{[mn]:`auto.http.browser.inp`,[pn]:`ui.interaction.${i}`,[bn]:n.duration},startTime:a});d&&(d.addEvent(`inp`,{[gn]:`millisecond`,[_n]:e.value}),d.end(a+t))};function wd(e){return e==null?void 0:vd.get(e)}function Td(){let e=Object.keys(xd);so()&&e.forEach(e=>{cl.addEventListener(e,t,{capture:!0,passive:!0})});function t(e){let t=e.target;if(!t)return;let n=wu(t),r=Math.round(e.timeStamp);if(yd.set(r,n),yd.size>50){let e=yd.keys().next().value;e!==void 0&&yd.delete(e)}}function n(e){let t=Math.round(e.startTime),n=yd.get(t);if(!n)for(let e=-5;e<=5;e++){let r=yd.get(t+e);if(r){n=r;break}}return n||`<unknown>`}let r=({entries:e})=>{let t=Ar(),r=t&&Or(t);e.forEach(e=>{if(!bu(e))return;let t=e.interactionId;if(t==null||vd.has(t))return;let i=e.target?wu(e.target):n(e);if(_d.length>10){let e=_d.shift();vd.delete(e)}_d.push(t),vd.set(t,{span:r,elementName:i})})};uu(`event`,r),uu(`first-input`,r)}function Ed(e){let{name:t,op:n,origin:r,metricName:i,value:a,attributes:o,parentSpan:s,reportEvent:c,startTime:l,endTime:u}=e,d=rn().getScopeData().transactionName,f={[mn]:r,[pn]:n,[bn]:0,[`browser.web_vital.${i}.value`]:a,[oa]:d,[aa]:d,"user_agent.original":cl.navigator?.userAgent,...o};s&&mr(s).attributes?.[`sentry.op`]===`pageload`&&(f[`sentry.pageload.span_id`]=s.spanContext().spanId),c&&(f[`browser.web_vital.${i}.report_event`]=c);let p=Oi({name:t,attributes:f,startTime:l,parentSpan:s});p&&p.end(u??l)}function Dd(e){let t=0,n;if(!Nu(`largest-contentful-paint`))return;let r=su(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&Lu(e.value)&&(t=e.value,n=r)},!0);Pu(e,(e,i,a)=>{Od(t,n,a,e),r()})}function Od(e,t,n,r){if(!Lu(e))return;sl&&A.log(`Sending LCP span (${e})`);let i=wt()||0,a=ju(i),o=ju(i+(t?.startTime||0)),s=t?wu(t.element):`Largest contentful paint`,c={};t?.element&&(c[`browser.web_vital.lcp.element`]=wu(t.element)),t?.id&&(c[`browser.web_vital.lcp.id`]=t.id),t?.url&&(c[`browser.web_vital.lcp.url`]=t.url),t?.loadTime!=null&&(c[`browser.web_vital.lcp.load_time`]=t.loadTime),t?.renderTime!=null&&(c[`browser.web_vital.lcp.render_time`]=t.renderTime),t?.size!=null&&(c[`browser.web_vital.lcp.size`]=t.size),Ed({name:s,op:`ui.webvital.lcp`,origin:`auto.http.browser.lcp`,metricName:`lcp`,value:e,attributes:c,parentSpan:n,reportEvent:r,startTime:a,endTime:o})}function kd(e){let t=0,n;if(!Nu(`layout-shift`))return;let r=ou(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(t=e.value,n=r)},!0);Pu(e,(e,i,a)=>{Ad(t,n,a,e),r()})}function Ad(e,t,n,r){sl&&A.log(`Sending CLS span (${e})`);let i=t?ju((wt()||0)+t.startTime):xt(),a=t?wu(t.sources[0]?.node):`Layout shift`,o={};t?.sources&&t.sources.forEach((e,t)=>{o[`browser.web_vital.cls.source.${t+1}`]=wu(e.node)}),Ed({name:a,op:`ui.webvital.cls`,origin:`auto.http.browser.cls`,metricName:`cls`,value:e,attributes:o,parentSpan:n,reportEvent:r,startTime:i})}
20function jd(){Au()&&wt()&&lu(({metric:e})=>{if(e.value==null||ju(e.value)>60)return;let t=e.entries.find(t=>t.duration===e.value&&xd[t.name]);t&&Md(e.value,t)})}function Md(e,t){sl&&A.log(`Sending INP span (${e})`);let n=ju(wt()+t.startTime),r=ju(e),i=xd[t.name],a=wd(t.interactionId),o=Ar(),s=o?Or(o):void 0,c=a?.span||s,l=c?mr(c).name:rn().getScopeData().transactionName;Ed({name:a?.elementName||wu(t.target),op:`ui.interaction.${i}`,origin:`auto.http.browser.inp`,metricName:`inp`,value:e,attributes:{[bn]:t.duration,[oa]:l,[aa]:l},startTime:n,endTime:n+r,parentSpan:c})}var Nd=1e3,Pd,Fd,Id;function Ld(e){se(`dom`,e),ce(`dom`,Rd)}function Rd(){if(!cl.document)return;let e=le.bind(null,`dom`),t=Vd(e,!0);cl.document.addEventListener(`click`,t,!1),cl.document.addEventListener(`keypress`,t,!1),[`EventTarget`,`Node`].forEach(t=>{let n=cl[t]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(Me(n,`addEventListener`,function(t){return function(n,r,i){if(n===`click`||n==`keypress`)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){let r=Vd(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch{}return t.call(this,n,r,i)}}),Me(n,`removeEventListener`,function(e){return function(t,n,r){if(t===`click`||t==`keypress`)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),Object.keys(n).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function zd(e){if(e.type!==Fd)return!1;try{if(!e.target||e.target._sentryId!==Id)return!1}catch{}return!0}function Bd(e,t){return e===`keypress`?!t?.tagName||!(t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.isContentEditable):!1}function Vd(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=Hd(n);if(Bd(n.type,r))return;Ne(n,`_sentryCaptured`,!0),r&&!r._sentryId&&Ne(r,`_sentryId`,ut());let i=n.type===`keypress`?`input`:n.type;zd(n)||(e({event:n,name:i,global:t}),Fd=n.type,Id=r?r._sentryId:void 0),clearTimeout(Pd),Pd=cl.setTimeout(()=>{Id=void 0,Fd=void 0},Nd)}}function Hd(e){try{return e.target}catch{return null}}var Ud;function Wd(e){let t=`history`;se(t,e),ce(t,Gd)}function Gd(){if(cl.addEventListener(`popstate`,()=>{let e=cl.location.href,t=Ud;Ud=e,t!==e&&le(`history`,{from:t,to:e})}),!bc())return;function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=Ud,i=Kd(String(n));if(Ud=i,r===i)return e.apply(this,t);le(`history`,{from:r,to:i})}return e.apply(this,t)}}Me(cl.history,`pushState`,e),Me(cl.history,`replaceState`,e)}function Kd(e){try{return new URL(e,cl.location.origin).toString()}catch{return e}}var qd={};function Jd(e){let t=qd[e];if(t)return t;let n=cl[e];
20if(Sc(n))return qd[e]=n.bind(cl);let r=cl.document;if(r&&typeof r.createElement==`function`)try{let t=r.createElement(`iframe`);t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i?.[e]&&(n=i[e]),r.head.removeChild(t)}catch(t){sl&&A.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n&&(qd[e]=n.bind(cl))}function Yd(e){qd[e]=void 0}function Xd(...e){return Jd(`setTimeout`)(...e)}var Zd=`__sentry_xhr_v3__`;function Qd(e){se(`xhr`,e),ce(`xhr`,$d)}function $d(){if(!cl.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=xt()*1e3,a=Se(n[0])?n[0].toUpperCase():void 0,o=ef(n[1]);if(!a||!o)return e.apply(t,n);t[Zd]={method:a,url:o,request_headers:{}},a===`POST`&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[Zd];if(e&&t.readyState===4){try{e.status_code=t.status}catch{}le(`xhr`,{endTimestamp:xt()*1e3,startTimestamp:i,xhr:t,virtualError:r}),t.removeEventListener(`readystatechange`,s)}};return`onreadystatechange`in t&&typeof t.onreadystatechange==`function`?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply(e,t,n){return s(),e.apply(t,n)}}):t.addEventListener(`readystatechange`,s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,a=t[Zd];return a&&Se(r)&&Se(i)&&(a.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[Zd];return r?(n[0]!==void 0&&(r.body=n[0]),le(`xhr`,{startTimestamp:xt()*1e3,xhr:t}),e.apply(t,n)):e.apply(t,n)}})}function ef(e){if(Se(e))return e;try{return e.toString()}catch{}}var tf=Symbol.for(`sentry__originalRequestBody`);function nf(e){return new URLSearchParams(e).toString()}function rf(e,t=A){try{if(typeof e==`string`)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[nf(e)];if(!e)return[void 0]}catch(n){return sl&&t.error(n,`Failed to serialize body`,e),[void 0,`BODY_PARSE_ERROR`]}return sl&&t.log(`Skipping network body because of body type`,e),[void 0,`UNPARSEABLE_BODY_TYPE`]}function af(e=[]){if(e.length>=2&&e[1]&&typeof e[1]==`object`&&`body`in e[1])return e[1].body;if(e.length>=1&&e[0]instanceof Request){let t=e[0][tf];return t===void 0?void 0:t}}function of(e){let t;try{t=e.getAllResponseHeaders()}catch(t){return sl&&A.error(t,`Failed to get xhr response headers`,e),{}}return t?t.split(`\r 21`).reduce((e,t)=>{let[n,r]=t.split(`: `);return r&&(e[n.toLowerCase()]=r),e},{}):{}}function sf(e){if(typeof Element>`u`)return!1;try{return e instanceof Element}catch{return!1}}var cf=40;function lf(e,t=Jd(`fetch`)){let n=0,r=0;async function i(i){let a=i.body.length;n+=a,r++;let o={body:i.body,method:`POST`,referrerPolicy:`strict-origin`,headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{let n=await t(e.url,o);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get(`X-Sentry-Rate-Limits`),"retry-after":n.headers.get(`Retry-After`)}}}catch(e){throw Yd(`fetch`),e}finally{n-=a,r--}}return ko(e,i,Co(e.bufferSize||cf))}var uf=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,df=30,ff=50;function pf(e,t,n,r){let i={filename:e,function:t===`<anonymous>`?`?`:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var mf=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,hf=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,gf=/\((\S*)(?::(\d+))(?::(\d+))\)/,_f=/at (.+?) ?\(data:(.+?),/,vf=[df,e=>{let t=e.match(_f);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let n=mf.exec(e);if(n){let[,e,t,r]=n;return pf(e,`?`,+t,+r)}let r=hf.exec(e);if(r){if(r[2]?.indexOf(`eval`)===0){let e=gf.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=Sf(r[1]||`?`,r[2]);return pf(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],yf=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,bf=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,xf=N(vf,[ff,e=>{let t=yf.exec(e);if(t){if(t[3]&&t[3].indexOf(` > eval`)>-1){let e=bf.exec(t[3]);e&&(t[1]=t[1]||`eval`,t[3]=e[1],t[4]=e[2],t[5]=``)}let e=t[3],n=t[1]||`?`;return[n,e]=Sf(n,e),pf(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),Sf=(e,t)=>
21{let n=e.indexOf(`safari-extension`)!==-1,r=e.indexOf(`safari-web-extension`)!==-1;return n||r?[e.indexOf(`@`)===-1?`?`:e.split(`@`)[0],n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},Cf=1024,wf=`Breadcrumbs`,Tf=ro(((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:wf,setup(e){t.console&&Ys(Of(e)),t.dom&&Ld(Df(e,t.dom)),t.xhr&&Qd(kf(e)),t.fetch&&wc(Af(e)),t.history&&Wd(jf(e)),t.sentry&&e.on(`beforeSendEvent`,Ef(e))}}}));function Ef(e){return function(t){cn()===e&&ws({category:`sentry.${t.type===`transaction`?`transaction`:`event`}`,event_id:t.event_id,level:t.level,message:ft(t)},{event:t})}}function Df(e,t){return function(n){if(cn()!==e)return;let r,i,a=typeof t==`object`?t.serializeAttribute:void 0,o=typeof t==`object`&&typeof t.maxStringLength==`number`?t.maxStringLength:void 0;o&&o>Cf&&(uf&&A.warn(`\`dom.maxStringLength\` cannot exceed ${Cf}, but a value of ${o} was configured. Sentry will use ${Cf} instead.`),o=Cf),typeof a==`string`&&(a=[a]);try{let e=n.event,t=Mf(e)?e.target:e;r=wu(t,{keyAttrs:a,maxStringLength:o}),i=Fc(t)}catch{r=`<unknown>`}if(r.length===0)return;let s={category:`ui.${n.name}`,message:r};i&&(s.data={"ui.component_name":i}),ws(s,{event:n.event,name:n.name,global:n.global})}}function Of(e){return function(t){if(cn()!==e)return;let n={category:`console`,data:{arguments:t.args,logger:`console`},level:Qs(t.level),message:it(t.args,` `)};if(t.level===`assert`){if(t.args[0]===!1)n.message=`Assertion failed: ${it(t.args.slice(1),` `)||`console.assert`}`,n.data.arguments=t.args.slice(1);else return}ws(n,{input:t.args,level:t.level})}}function kf(e){return function(t){if(cn()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[Zd];if(!n||!r||!i)return;let{method:a,url:o,status_code:s,body:c}=i,l={method:a,url:o,status_code:s},u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},d={category:`xhr`,data:l,type:`http`,level:vc(s)};e.emit(`beforeOutgoingRequestBreadcrumb`,d,u),ws(d,u)}}function Af(e){return function(t){if(cn()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;if(r&&!(t.fetchData.url.match(/sentry_key/)&&t.fetchData.method===`POST`)){if(t.error){let i={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},a={category:`fetch`,data:t.fetchData,level:`error`,type:`http`};e.emit(`beforeOutgoingRequestBreadcrumb`,a,i),ws(a,i)}else{let i=t.response,a={...t.fetchData,status_code:i?.status},o={input:t.args,response:i,startTimestamp:n,endTimestamp:r},s={category:`fetch`,data:a,type:`http`,level:vc(a.status_code)};e.emit(`beforeOutgoingRequestBreadcrumb`,s,o),ws(s,o)}}}}function jf(e){return function(t){if(cn()!==e)return;let n=t.from,r=t.to,i=us(Ic.location.href),a=n?us(n):void 0,o=us(r);a?.path||(a=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),ws({category:`navigation`,data:{from:n,to:r}})}}function Mf(e){return!!e&&!!e.target}var Nf=`EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload`.split(`,`),Pf=`BrowserApiErrors`,Ff=ro(((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:Pf,setupOnce(){t.setTimeout&&Me(Ic,`setTimeout`,If),t.setInterval&&Me(Ic,`setInterval`,If),t.requestAnimationFrame&&Me(Ic,`requestAnimationFrame`,Lf),t.XMLHttpRequest&&`XMLHttpRequest`in Ic&&Me(XMLHttpRequest.prototype,`send`,Rf);let e=t.eventTarget;e&&(Array.isArray(e)?e:Nf).forEach(e=>zf(e,t))}}}));function If(e){return function(...t){let n=t[0];return t[0]=Bc(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${P(e)}`}}),e.apply(this,t)}}function Lf(e){return function(t){return e.apply(this,[Bc(t,{mechanism:{data:{handler:P(e)},handled:!1,type:`auto.browser.browserapierrors.requestAnimationFrame`}})])}}function Rf(e){return function(...t){let n=this;return[`onload`,`onerror`,`onprogress`,`onreadystatechange`].forEach(e
21=>{e in n&&typeof n[e]==`function`&&Me(n,e,function(t){let n={mechanism:{data:{handler:P(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=Fe(t);return r&&(n.mechanism.data.handler=P(r)),Bc(t,n)})}),e.apply(this,t)}}function zf(e,t){let n=Ic[e]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(Me(n,`addEventListener`,function(n){return function(r,i,a){try{Bf(i)&&(i.handleEvent=Bc(i.handleEvent,{mechanism:{data:{handler:P(i),target:e},handled:!1,type:`auto.browser.browserapierrors.handleEvent`}}))}catch{}return t.unregisterOriginalCallbacks&&Vf(this,r,i),n.apply(this,[r,Bc(i,{mechanism:{data:{handler:P(i),target:e},handled:!1,type:`auto.browser.browserapierrors.addEventListener`}}),a])}}),Me(n,`removeEventListener`,function(e){return function(t,n,r){try{if(Object.prototype.hasOwnProperty.call(n,`__sentry_wrapped__`)){let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}}catch{}return e.call(this,t,n,r)}}))}function Bf(e){return typeof e.handleEvent==`function`}function Vf(e,t,n){e&&typeof e==`object`&&`removeEventListener`in e&&typeof e.removeEventListener==`function`&&e.removeEventListener(t,n)}var Hf=ro((e={})=>{let t=e.lifecycle??`route`;return{name:`BrowserSession`,setupOnce(){if(Ic.document===void 0){uf&&A.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Va({ignoreDuration:!0});let e=!1;Wl(()=>{e||=(Wa(),!0)});let n=an(),r=n.getUser();n.addScopeListener(t=>{let n=t.getUser();(r?.id!==n?.id||r?.ip_address!==n?.ip_address)&&(r=n,e&&Wa())}),t===`route`&&Wd(({from:t,to:n})=>{t!==n&&(Va({ignoreDuration:!0}),Wa(),e=!0)})}}}),Uf=`CultureContext`,Wf=ro((()=>({name:Uf,preprocessEvent(e){let t=Gf();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=Gf();t&&ua(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}})));function Gf(){try{let e=Ic.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}var Kf=`GlobalHandlers`,qf=ro(((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:Kf,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(Jf(e),$f(`onerror`)),t.onunhandledrejection&&(Yf(e),$f(`onunhandledrejection`))}}}));function Jf(e){de(t=>{let{stackParser:n,attachStacktrace:r}=ep();if(cn()!==e||Rc())return;let{msg:i,url:a,line:o,column:s,error:c}=t,l=Qf(el(n,c||i,void 0,r,!1),a,o,s);l.level=`error`,Ia(l,{originalException:c,mechanism:{handled:!1,type:`auto.browser.global_handlers.onerror`}})})}function Yf(e){me(t=>{let{stackParser:n,attachStacktrace:r}=ep();if(cn()!==e||Rc())return;let i=Xf(t),a=we(i)?Zf(i):el(n,i,void 0,r,!0);a.level=`error`,Ia(a,{originalException:i,mechanism:{handled:!1,type:`auto.browser.global_handlers.onunhandledrejection`}})})}function Xf(e){if(we(e))return e;try{if(`reason`in e)return e.reason;if(`detail`in e&&`reason`in e.detail)return e.detail.reason}catch{}return e}function Zf(e){return{exception:{values:[{type:`UnhandledRejection`,value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function Qf(e,t,n,r){let i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},c=s.frames=s.frames||[];return c.length===0&&c.push({colno:r,lineno:n,filename:tp(t)??Pc(),function:`?`,in_app:!0}),e}function $f(e){uf&&A.log(`Global Handler attached: ${e}`)}function ep(){return cn()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function tp(e){if(Se(e)&&e.length!==0)return e.startsWith(`data:`)?`<${fs(e,!1)}>`:e}var np=ro(()=>({name:`HttpContext`,preprocessEvent(e){if(!Ic.navigator&&!Ic.location&&!Ic.document)return;let t=Vc(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}},processSpan(e){if(!Ic.navigator&&!Ic.location&&!Ic.document)return;let t=Vc();ua(e,{[la]:t.headers[`User-Agent`],...e.is_segment&&{"url.full":e.attributes?.[`sentry.op`]===`http.client`?void 0:t.url,"http.request.header.referer":t.headers.Referer}})}})),rp=`cause`,ip=5,ap=`LinkedErrors`,op=ro(((e={})=>{let t=e.limit||ip,n=e.key||rp;return{name:ap,preprocessEvent(e,r,i){Vs(Hc,i.getOptions().stackParser,n,t,e,r)}}})),sp=/^HTML(\w*)Element$/;function cp(e){if(typeof window<`u`&&e===window)return`[Window]`;if(typeof document<`u`&&e===document)return`[Document]`;if(sf(e)){let t=lp(e);if(sp.test(t))return`[HTMLElement: ${wu(e)}]`}}function lp(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function up(){return dp()?(uf&&x(()=>{console.error(`[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/`)}),!0):!1}function dp(){if(Ic.window===void 0)return!1;let e=Ic;if(e.nw||!(e.chrome||e.browser)?.runtime?.id)return!1;let t=Pc();return!(Ic===Ic.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(t))}function fp(e){return[js(),Ds(),cc(),Ff(),Tf(),qf(),op(),ec(),np(),Wf(),Hf()]}function pp(e={}){let t=!e.skipBrowserExtensionCheck&&up(),n=e.defaultIntegrations==null?fp():e.defaultIntegrations,r={...e,enabled:!t&&e.enabled,stackParser:te(e.stackParser||xf),integrations:$a({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||lf};
21return Je(cp),is(al,r)}function mp(e={}){let t=Ic.document,n=t?.head||t?.body;if(!n){uf&&A.error(`[showReportDialog] Global document not defined`);return}let r=rn(),i=cn()?.getDsn();if(!i){uf&&A.error(`[showReportDialog] DSN not configured`);return}let a={...e,user:{...r.getUser(),...e.user},eventId:e.eventId||Ra()},o=Ic.document.createElement(`script`);o.async=!0,o.crossOrigin=`anonymous`,o.src=Xa(i,a);let{onLoad:s,onClose:c}=a;if(s&&(o.onload=s),c){let e=t=>{if(t.data===`__sentry_reportdialog_closed__`)try{c()}finally{Ic.removeEventListener(`message`,e)}};Ic.addEventListener(`message`,e)}n.appendChild(o)}var hp=p,gp=`sentryReplaySession`,_p=`replay_event`,vp=`Unable to send Replay`,yp=3e5,bp=9e5,xp=5e3,Sp=5500,Cp=6e4,wp=5e3,Tp=3,Ep=15e4,Dp=5e3,Op=3e3,kp=300,Ap=2e7,jp=4999,Mp=5e4,Np=36e5,Pp=Object.defineProperty,Fp=(e,t,n)=>t in e?Pp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ip=(e,t,n)=>Fp(e,typeof t==`symbol`?t:t+``,n),Lp=(e=>(e[e.Document=0]=`Document`,e[e.DocumentType=1]=`DocumentType`,e[e.Element=2]=`Element`,e[e.Text=3]=`Text`,e[e.CDATA=4]=`CDATA`,e[e.Comment=5]=`Comment`,e))(Lp||{});function Rp(e){return e.nodeType===e.ELEMENT_NODE}function zp(e){return e?.host?.shadowRoot===e}function Bp(e){return Object.prototype.toString.call(e)===`[object ShadowRoot]`}function Vp(e){return e.includes(` background-clip: text;`)&&!e.includes(` -webkit-background-clip: text;`)&&(e=e.replace(/\sbackground-clip:\s*text;/g,` -webkit-background-clip: text; background-clip: text;`)),e}function Hp(e){let{cssText:t}=e;if(t.split(`"`).length<3)return t;let n=[`@import`,`url(${JSON.stringify(e.href)})`];return e.layerName===``?n.push(`layer`):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(` `)+`;`}function Up(e){try{let t=e.rules||e.cssRules;return t?Vp(Array.from(t,Gp).join(``)):null}catch{return null}}function Wp(e){let t=``;for(let n=0;n<e.style.length;n++){let r=e.style,i=r[n],a=r.getPropertyPriority(i);t+=`${i}:${r.getPropertyValue(i)}${a?` !important`:``};`}return`${e.selectorText} { ${t} }`}function Gp(e){let t;if(qp(e))try{t=Up(e.styleSheet)||Hp(e)}catch{}else if(Jp(e)){let t=e.cssText,n=e.selectorText.includes(`:`),r=typeof e.style.all==`string`&&e.style.all;if(r&&(t=Wp(e)),n&&(t=Kp(t)),n||r)return t}return t||e.cssText}function Kp(e){return e.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,`$1\\$2`)}function qp(e){return`styleSheet`in e}function Jp(e){return`selectorText`in e}var Yp=class{constructor(){Ip(this,`idNodeMap`,new Map),Ip(this,`nodeMetaMap`,new WeakMap)}getId(e){return e?this.getMeta(e)?.id??-1:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){let n=this.getNode(e);if(n){let e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}};function Xp(){return new Yp}function Zp({maskInputOptions:e,tagName:t,type:n}){return t===`OPTION`&&(t=`SELECT`),!!(e[t.toLowerCase()]||n&&e[n]||n===`password`||t===`INPUT`&&!n&&e.text)}function Qp({isMasked:e,element:t,value:n,maskInputFn:r}){let i=n||``;return e?(r&&(i=r(i,t)),`*`.repeat(i.length)):i}function $p(e){return e.toLowerCase()}function em(e){return e.toUpperCase()}var tm=`__rrweb_original__`;function nm(e){let t=e.getContext(`2d`);if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){let i=t.getImageData,a=tm in i?i[tm]:i;if(new Uint32Array(a.call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some(e=>e!==0))return!1}return!0}function rm(e){let t=e.type;return e.hasAttribute(`data-rr-is-password`)?`password`:t?$p(t):null}function im(e,t,n){return t===`INPUT`&&(n===`radio`||n===`checkbox`)?e.getAttribute(`value`)||``:e.value}function am(e,t){let n;try{n=new URL(e,t??window.location.href)}catch{return null}return n.pathname.match(/\.([0-9a-z]+)(?:$)/i)?.[1]??null}var om={};function sm(e){let t=om[e];if(t)return t;let n=window.document,r=window[e];if(n&&typeof n.createElement==`function`)try{let t=n.createElement(`iframe`);t.hidden=!0,n.head.appendChild(t);let i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch{}return om[e]=r.bind(window)}function cm(...e){return sm(`setTimeout`)(...e)}function lm(...e){return sm(`clearTimeout`)(...e)}function um(e){try{return e.contentDocument}catch{}}function dm(e){try{return e.contentWindow}catch{}}var fm=1,pm=RegExp(`[^a-z0-9-_:]`),mm=-2;function hm(){return fm++}function gm(e){if(e instanceof HTMLFormElement)return`form`;let t=$p(e.tagName);return pm.test(t)?`div`:t}function _m(e){let t=``;return t=e.indexOf(`//`)>-1?e.split(`/`).slice(0,3).join(`/`):e.split(`/`)[0],t=t.split(`?`)[0],t}var vm,ym,bm=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,xm=/^(?:[a-z+]+:)?\/\//i,Sm=/^www\..*/i,Cm=/^(data:)([^,]*),(.*)/i;function wm(e,t){if(!e||t.size===0)return e;try{let n=e.split(`;`),r=[];for(let e of n){if(e=e.trim(),!e)continue;let n=e.indexOf(`:`);
21if(n===-1){r.push(e);continue}let i=e.slice(0,n).trim();t.has(i)||r.push(e)}return r.join(`; `)+(r.length>0&&e.endsWith(`;`)?`;`:``)}catch(t){return console.warn(`Error filtering CSS properties:`,t),e}}function Tm(e,t){return(e||``).replace(bm,(e,n,r,i,a,o)=>{let s=r||a||o,c=n||i||``;if(!s)return e;if(xm.test(s)||Sm.test(s)||Cm.test(s))return`url(${c}${s}${c})`;if(s[0]===`/`)return`url(${c}${_m(t)+s}${c})`;let l=t.split(`/`),u=s.split(`/`);l.pop();for(let e of u)if(e===`.`)continue;else e===`..`?l.pop():l.push(e);return`url(${c}${l.join(`/`)}${c})`})}var Em=/^[^ \t\n\r\u000c]+/,Dm=/^[, \t\n\r\u000c]+/;function Om(e,t){if(t.trim()===``)return t;let n=0;function r(e){let r,i=e.exec(t.substring(n));return i?(r=i[0],n+=r.length,r):``}let i=[];for(;r(Dm),!(n>=t.length);){let a=r(Em);if(a.slice(-1)===`,`)a=Am(e,a.substring(0,a.length-1)),i.push(a);else{let r=``;a=Am(e,a);let o=!1;for(;;){let e=t.charAt(n);if(e===``){i.push((a+r).trim());break}if(o)e===`)`&&(o=!1);else{if(e===`,`){n+=1,i.push((a+r).trim());break}e===`(`&&(o=!0)}r+=e,n+=1}}}return i.join(`, `)}var km=new WeakMap;function Am(e,t){return!t||t.trim()===``?t:Mm(e,t)}function jm(e){return!!(e.tagName===`svg`||e.ownerSVGElement)}function Mm(e,t){let n=km.get(e);if(n||(n=e.createElement(`a`),km.set(e,n)),!t)t=``;else if(t.startsWith(`blob:`)||t.startsWith(`data:`))return t;return n.setAttribute(`href`,t),n.href}function Nm(e,t,n,r,i,a,o){if(!r)return r;if(n===`src`||n===`href`&&(t!==`use`||r[0]!==`#`)||n===`xlink:href`&&r[0]!==`#`||n===`background`&&(t===`table`||t===`td`||t===`th`))return Am(e,r);if(n===`srcset`)return Om(e,r);if(n===`style`){let t=Tm(r,Mm(e));return o&&o.size>0&&(t=wm(t,o)),t}return t===`object`&&n===`data`?Am(e,r):typeof a==`function`?a(n,r,i):r}function Pm(e,t,n){return(e===`video`||e===`audio`)&&t===`autoplay`}function Fm(e,t,n,r){try{if(r&&e.matches(r))return!1;if(typeof t==`string`){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch{}return!1}function Im(e,t){for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}return!1}function Lm(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:Lm(e.parentNode,t,n,r+1)}function Rm(e,t){return n=>{let r=n;if(r===null)return!1;try{if(e){if(typeof e==`string`){if(r.matches(`.${e}`))return!0}else if(Im(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}function zm(e,t,n,r,i,a){try{let o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(o===null)return!1;if(o.tagName===`INPUT`){let e=o.getAttribute(`autocomplete`);if([`current-password`,`new-password`,`cc-number`,`cc-exp`,`cc-exp-month`,`cc-exp-year`,`cc-csc`].includes(e))return!0}let s=-1,c=-1;if(a){if(c=Lm(o,Rm(r,i)),c<0)return!0;s=Lm(o,Rm(t,n),c>=0?c:1/0)}else{if(s=Lm(o,Rm(t,n)),s<0)return!1;c=Lm(o,Rm(r,i),s>=0?s:1/0)}return s>=0?c>=0?s<=c:!0:c>=0?!1:!!a}catch{}return!!a}function Bm(e,t,n){let r=dm(e);if(!r)return;let i=!1,a;try{a=r.document.readyState}catch{return}if(a!==`complete`){let r=cm(()=>{i||=(t(),!0)},n);e.addEventListener(`load`,()=>{lm(r),i=!0,t()});return}let o=`about:blank`;if(r.location.href!==o||e.src===o||e.src===``)return cm(t,0),e.addEventListener(`load`,t);e.addEventListener(`load`,t)}function Vm(e,t,n){let r=!1,i;try{i=e.sheet}catch{i=null}if(i)return;let a=cm(()=>{r||=(t(),!0)},n);e.addEventListener(`load`,()=>{lm(a),r=!0,t()})}function Hm(e,t){let{doc:n,mirror:r,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:s,maskAttributeFn:c,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f,inlineStylesheet:p,maskInputOptions:m={},maskTextFn:h,maskInputFn:g,dataURLOptions:_={},inlineImages:v,recordCanvas:y,keepIframeSrcFn:b,newlyAddedElement:x=!1,ignoreCSSAttributes:S}=t,C=Um(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode===`CSS1Compat`?{type:Lp.Document,childNodes:[]}:{type:Lp.Document,childNodes:[],compatMode:e.compatMode};case e.DOCUMENT_TYPE_NODE:return{type:Lp.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:C};case e.ELEMENT_NODE:return Gm(e,{doc:n,blockClass:i,blockSelector:a,unblockSelector:o,inlineStylesheet:p,maskAttributeFn:c,maskInputOptions:m,maskInputFn:g,dataURLOptions:_,inlineImages:v,recordCanvas:y,keepIframeSrcFn:b,newlyAddedElement:x,rootId:C,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f,ignoreCSSAttributes:S});case e.TEXT_NODE:return Wm(e,{doc:n,maskAllText:s,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f,maskTextFn:
21h,maskInputOptions:m,maskInputFn:g,rootId:C});case e.CDATA_SECTION_NODE:return{type:Lp.CDATA,textContent:``,rootId:C};case e.COMMENT_NODE:return{type:Lp.Comment,textContent:e.textContent||``,rootId:C};default:return!1}}function Um(e,t){if(!t.hasNode(e))return;let n=t.getId(e);return n===1?void 0:n}function Wm(e,t){let{maskAllText:n,maskTextClass:r,unmaskTextClass:i,maskTextSelector:a,unmaskTextSelector:o,maskTextFn:s,maskInputOptions:c,maskInputFn:l,rootId:u}=t,d=e.parentNode&&e.parentNode.tagName,f=e.textContent,p=d===`STYLE`||void 0,m=d===`SCRIPT`||void 0,h=d===`TEXTAREA`||void 0;if(p&&f){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(f=Up(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}f=Tm(f,Mm(t.doc))}m&&(f=`SCRIPT_PLACEHOLDER`);let g=zm(e,r,a,i,o,n);return!p&&!m&&!h&&f&&g&&(f=s?s(f,e.parentElement):f.replace(/[\S]/g,`*`)),h&&f&&(c.textarea||g)&&(f=l?l(f,e.parentNode):f.replace(/[\S]/g,`*`)),d===`OPTION`&&f&&(f=Qp({isMasked:zm(e,r,a,i,o,Zp({type:null,tagName:d,maskInputOptions:c})),element:e,value:f,maskInputFn:l})),{type:Lp.Text,textContent:f||``,isStyle:p,rootId:u}}function Gm(e,t){let{doc:n,blockClass:r,blockSelector:i,unblockSelector:a,inlineStylesheet:o,maskInputOptions:s={},maskAttributeFn:c,maskInputFn:l,dataURLOptions:u={},inlineImages:d,recordCanvas:f,keepIframeSrcFn:p,newlyAddedElement:m=!1,rootId:h,maskTextClass:g,unmaskTextClass:_,maskTextSelector:v,unmaskTextSelector:y,ignoreCSSAttributes:b}=t,x=Fm(e,r,i,a),S=gm(e),C={},w=e.attributes.length;for(let t=0;t<w;t++){let r=e.attributes[t];r.name&&!Pm(S,r.name,r.value)&&(C[r.name]=Nm(n,S,$p(r.name),r.value,e,c,b))}if(S===`link`&&o){let t=Array.from(n.styleSheets).find(t=>t.href===e.href),r=null;t&&(r=Up(t)),r&&(C.rel=null,C.href=null,C.crossorigin=null,C._cssText=Tm(r,t.href))}if(S===`style`&&e.sheet&&!(e.innerText||e.textContent||``).trim().length){let t=Up(e.sheet);t&&(C._cssText=Tm(t,Mm(n)))}if(S===`input`||S===`textarea`||S===`select`||S===`option`){let t=e,n=rm(t),r=im(t,em(S),n),i=t.checked;if(n!==`submit`&&n!==`button`&&r){let e=zm(t,g,v,_,y,Zp({type:n,tagName:em(S),maskInputOptions:s}));C.value=Qp({isMasked:e,element:t,value:r,maskInputFn:l})}i&&(C.checked=i)}if(S===`option`&&(e.selected&&!s.select?C.selected=!0:delete C.selected),S===`canvas`&&f){if(e.__context===`2d`)nm(e)||(C.rr_dataURL=e.toDataURL(u.type,u.quality));else if(!(`__context`in e)){let t=e.toDataURL(u.type,u.quality),r=n.createElement(`canvas`);r.width=e.width,r.height=e.height,t!==r.toDataURL(u.type,u.quality)&&(C.rr_dataURL=t)}}if(S===`img`&&d){vm||(vm=n.createElement(`canvas`),ym=vm.getContext(`2d`));let t=e,r=t.currentSrc||t.getAttribute(`src`)||`<unknown-src>`,i=t.crossOrigin,a=()=>{t.removeEventListener(`load`,a);try{vm.width=t.naturalWidth,vm.height=t.naturalHeight,ym.drawImage(t,0,0),C.rr_dataURL=vm.toDataURL(u.type,u.quality)}catch(e){if(t.crossOrigin!==`anonymous`){t.crossOrigin=`anonymous`,t.complete&&t.naturalWidth!==0?a():t.addEventListener(`load`,a);return}console.warn(`Cannot inline img src=${r}! Error: ${e}`)}t.crossOrigin===`anonymous`&&(i?C.crossOrigin=i:t.removeAttribute(`crossorigin`))};t.complete&&t.naturalWidth!==0?a():t.addEventListener(`load`,a)}if((S===`audio`||S===`video`)&&(C.rr_mediaState=e.paused?`paused`:`played`,C.rr_mediaCurrentTime=e.currentTime),m||(e.scrollLeft&&(C.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(C.rr_scrollTop=e.scrollTop)),x){let{width:t,height:n}=e.getBoundingClientRect();C={class:C.class,rr_width:`${t}px`,rr_height:`${n}px`}}S===`iframe`&&!p(C.src)&&(!x&&!um(e)&&(C.rr_src=C.src),delete C.src);let T;try{customElements.get(S)&&(T=!0)}catch{}return{type:Lp.Element,tagName:S,attributes:C,childNodes:[],isSVG:jm(e)||void 0,needBlock:x,rootId:h,isCustom:T}}function Km(e){return e==null?``:e.toLowerCase()}function qm(e,t){return!!(t.comment&&e.type===Lp.Comment||e.type===Lp.Element&&(t.script&&(e.tagName===`script`||e.tagName===`link`&&(e.attributes.rel===`preload`||e.attributes.rel===`modulepreload`)||e.tagName===`link`&&e.attributes.rel===`prefetch`&&typeof e.attributes.href==`string`&&am(e.attributes.href)===`js`)||t.headFavicon&&(e.tagName===`link`&&e.attributes.rel===`shortcut icon`||e.tagName===`meta`&&(Km(e.attributes.name).match(/^msapplication-tile(image|color)$/)||Km(e.attributes.name)===`application-name`||Km(e.attributes.rel)===`icon`||Km(e.attributes.rel)===`apple-touch-icon`||Km(e.attributes.rel)===`shortcut icon`))||e.tagName===`meta`&&(t.headMetaDescKeywords&&Km(e.attributes.name).match(/^description|keywords$/)||t.headMetaSocial&&(Km(e.attributes.property).match(/^(og|twitter|fb):/)||Km(e.attributes.name).match(/^(og|twitter):/)||Km(e.attributes.name)===`pinterest`)||t.headMetaRobots&&(Km(e.attributes.name)===`robots`||Km(e.attributes.name)===`googlebot`||Km(e.attributes.name)===`bingbot`)||t.headMetaHttpEquiv&&e.attributes[`http-equiv`]!==void 0||t.headMetaAuthorship&&(Km(e.attributes.name)===`author`||Km(e.attributes.name)===`generator`||Km(e.attributes.name)===`framework`||Km(e.attributes.name)===`publisher`||Km(e.attributes.name)===`progid`||Km(e.attributes.property).match(/^article:/)||Km(e.attributes.property).match(/^product:/))||t.headMetaVerification&&(Km(e.attributes.name)===`google-site-verification`||Km(e.attributes.name)===`yandex-verification`||Km(e.attributes.name)===`csrf-token`||Km(e.attributes.name)===`p:domain_verify`||Km(e.attributes.name)===`verify-v1`||Km(e.attributes.name)===`verification`||Km(e.attributes.name)===`shopify-checkout-api-token`)))
21)}function Jm(e,t){let{doc:n,mirror:r,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:f=!1,inlineStylesheet:p=!0,maskInputOptions:m={},maskAttributeFn:h,maskTextFn:g,maskInputFn:_,slimDOMOptions:v,dataURLOptions:y={},inlineImages:b=!1,recordCanvas:x=!1,onSerialize:S,onIframeLoad:C,iframeLoadTimeout:w=5e3,onBlockedImageLoad:T,onStylesheetLoad:E,stylesheetLoadTimeout:D=5e3,keepIframeSrcFn:O=()=>!1,newlyAddedElement:k=!1,ignoreCSSAttributes:A}=t,{preserveWhiteSpace:j=!0}=t,M=Hm(e,{doc:n,mirror:r,blockClass:i,blockSelector:a,maskAllText:s,unblockSelector:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:h,maskTextFn:g,maskInputFn:_,dataURLOptions:y,inlineImages:b,recordCanvas:x,keepIframeSrcFn:O,newlyAddedElement:k,ignoreCSSAttributes:A});if(!M)return console.warn(e,`not serialized`),null;let ee;ee=r.hasNode(e)?r.getId(e):qm(M,v)||!j&&M.type===Lp.Text&&!M.isStyle&&!M.textContent.trim().length?mm:hm();let N=Object.assign(M,{id:ee});if(r.add(e,N),ee===mm)return null;S&&S(e);let te=!f;if(N.type===Lp.Element){te&&=!N.needBlock;let t=e.shadowRoot;t&&Bp(t)&&(N.isShadowHost=!0)}if((N.type===Lp.Document||N.type===Lp.Element)&&te){v.headWhitespace&&N.type===Lp.Element&&N.tagName===`head`&&(j=!1);let t={doc:n,mirror:r,blockClass:i,blockSelector:a,maskAllText:s,unblockSelector:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:f,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:h,maskTextFn:g,maskInputFn:_,slimDOMOptions:v,dataURLOptions:y,inlineImages:b,recordCanvas:x,preserveWhiteSpace:j,onSerialize:S,onIframeLoad:C,iframeLoadTimeout:w,onBlockedImageLoad:T,onStylesheetLoad:E,stylesheetLoadTimeout:D,keepIframeSrcFn:O,ignoreCSSAttributes:A},k=e.childNodes?Array.from(e.childNodes):[];for(let e of k){let n=Jm(e,t);n&&N.childNodes.push(n)}if(Rp(e)&&e.shadowRoot)for(let n of Array.from(e.shadowRoot.childNodes)){let r=Jm(n,t);r&&(Bp(e.shadowRoot)&&(r.isShadow=!0),N.childNodes.push(r))}}if(e.parentNode&&zp(e.parentNode)&&Bp(e.parentNode)&&(N.isShadow=!0),N.type===Lp.Element&&N.tagName===`iframe`&&!N.needBlock&&Bm(e,()=>{let t=um(e);
21if(t&&C){let n=Jm(t,{doc:t,mirror:r,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:h,maskTextFn:g,maskInputFn:_,slimDOMOptions:v,dataURLOptions:y,inlineImages:b,recordCanvas:x,preserveWhiteSpace:j,onSerialize:S,onIframeLoad:C,iframeLoadTimeout:w,onStylesheetLoad:E,stylesheetLoadTimeout:D,keepIframeSrcFn:O,ignoreCSSAttributes:A});n&&C(e,n)}},w),N.type===Lp.Element&&N.tagName===`img`&&!e.complete&&N.needBlock){let t=e,n=()=>{if(t.isConnected&&!t.complete&&T)try{let e=t.getBoundingClientRect();e.width>0&&e.height>0&&T(t,N,e)}catch{}t.removeEventListener(`load`,n)};t.isConnected&&t.addEventListener(`load`,n)}return N.type===Lp.Element&&N.tagName===`link`&&typeof N.attributes.rel==`string`&&(N.attributes.rel===`stylesheet`||N.attributes.rel===`preload`&&typeof N.attributes.href==`string`&&am(N.attributes.href)===`css`)&&Vm(e,()=>{if(E){let t=Jm(e,{doc:n,mirror:r,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:h,maskTextFn:g,maskInputFn:_,slimDOMOptions:v,dataURLOptions:y,inlineImages:b,recordCanvas:x,preserveWhiteSpace:j,onSerialize:S,onIframeLoad:C,iframeLoadTimeout:w,onStylesheetLoad:E,stylesheetLoadTimeout:D,keepIframeSrcFn:O,ignoreCSSAttributes:A});t&&E(e,t)}},D),N.type===Lp.Element&&delete N.needBlock,N}function Ym(e,t){let{mirror:n=new Yp,blockClass:r=`rr-block`,blockSelector:i=null,unblockSelector:a=null,maskAllText:o=!1,maskTextClass:s=`rr-mask`,unmaskTextClass:c=null,maskTextSelector:l=null,unmaskTextSelector:u=null,inlineStylesheet:d=!0,inlineImages:f=!1,recordCanvas:p=!1,maskAllInputs:m=!1,maskAttributeFn:h,maskTextFn:g,maskInputFn:_,slimDOM:v=!1,dataURLOptions:y,preserveWhiteSpace:b,onSerialize:x,onIframeLoad:S,iframeLoadTimeout:C,onBlockedImageLoad:w,onStylesheetLoad:T,stylesheetLoadTimeout:E,keepIframeSrcFn:D=()=>!1,ignoreCSSAttributes:O=new Set([])}=t||{};return Jm(e,{doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,maskAllText:o,maskTextClass:s,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:d,maskInputOptions:m===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:m===!1?{}:m,maskAttributeFn:h,maskTextFn:g,maskInputFn:_,slimDOMOptions:v===!0||v===`all`?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:v===`all`,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:v===!1?{}:v,dataURLOptions:y,inlineImages:f,recordCanvas:p,preserveWhiteSpace:b,onSerialize:x,onIframeLoad:S,iframeLoadTimeout:C,onBlockedImageLoad:w,onStylesheetLoad:T,stylesheetLoadTimeout:E,keepIframeSrcFn:D,newlyAddedElement:!1,ignoreCSSAttributes:O})}function Xm(e,t,n=document){let r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}var Zm=`Please stop import mirror directly. Instead of that,\r 22now you can use replayer.getMirror() to access the mirror instance of a replayer,\r 23or you can use record.mirror to access the mirror instance during recording.`,Qm={map:{},getId(){return console.error(Zm),-1},getNode(){return console.error(Zm),null},removeNodeFromMap(){console.error(Zm)},has(){return console.error(Zm),!1},reset(){console.error(Zm)}};typeof window<`u`&&window.Proxy&&window.Reflect&&(Qm=new Proxy(Qm,{get(e,t,n){return t===`map`&&console.error(Zm),Reflect.get(e,t,n)}}));function $m(e,t,n={}){let r=null,i=0;return function(...a){let o=Date.now();!i&&n.leading===!1&&(i=o);let s=t-(o-i),c=this;s<=0||s>t?(r&&=(Th(r),null),i=o,e.apply(c,a)):!r&&n.trailing!==!1&&(r=wh(()=>{i=n.leading===!1?0:Date.now(),r=null,e.apply(c,a)},s))}}function eh(e,t,n,r,i=window){let a=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(e){wh(()=>{n.set.call(this,e)},0),a&&a.set&&a.set.call(this,e)}}),()=>eh(e,t,a||{},!0)}function th(e,t,n){try{if(!(t in e))return()=>{};let r=e[t],i=n(r);return typeof i==`function`&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch{return()=>{}}}var nh=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(nh=()=>new Date().getTime());function rh(e){let t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset===void 0?t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0:e.pageXOffset,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset===void 0?t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0:e.pageYOffset}}function ih(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function ah(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function oh(e){if(!e)return null;
23try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function sh(e,t,n,r,i){if(!e)return!1;let a=oh(e);if(!a)return!1;let o=Rm(t,n);if(!i){let e=r&&a.matches(r);return o(a)&&!e}let s=Lm(a,o),c=-1;return s<0?!1:(r&&(c=Lm(a,Rm(null,r))),s>-1&&c<0||s<c)}function ch(e,t){return t.getId(e)!==-1}function lh(e,t){return t.getId(e)===mm}function uh(e,t){if(zp(e))return!1;let n=t.getId(e);return t.has(n)?e.parentNode&&e.parentNode.nodeType===e.DOCUMENT_NODE?!1:!e.parentNode||uh(e.parentNode,t):!0}function dh(e){return!!e.changedTouches}function fh(e=window){`NodeList`in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),`DOMTokenList`in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw TypeError(`1 argument is required`);do if(this===t)return!0;while(t&&=t.parentNode);return!1})}function ph(e,t){return!!(e.nodeName===`IFRAME`&&t.getMeta(e))}function mh(e,t){return!!(e.nodeName===`LINK`&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute(`rel`)===`stylesheet`&&t.getMeta(e))}function hh(e){return!!e?.shadowRoot}var gh=class{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let n;return n=t===void 0?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}};function _h(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function vh(e){let t=e,n;for(;n=_h(t);)t=n;return t}function yh(e){let t=e.ownerDocument;if(!t)return!1;let n=vh(e);return t.contains(n)}function bh(e){let t=e.ownerDocument;return t?t.contains(e)||yh(e):!1}var xh={};function Sh(e){let t=xh[e];if(t)return t;let n=window.document,r=window[e];if(n&&typeof n.createElement==`function`)try{let t=n.createElement(`iframe`);t.hidden=!0,n.head.appendChild(t);let i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch{}return xh[e]=r.bind(window)}function Ch(...e){return Sh(`requestAnimationFrame`)(...e)}function wh(...e){return Sh(`setTimeout`)(...e)}function Th(...e){return Sh(`clearTimeout`)(...e)}var Eh=(e=>(e[e.DomContentLoaded=0]=`DomContentLoaded`,e[e.Load=1]=`Load`,e[e.FullSnapshot=2]=`FullSnapshot`,e[e.IncrementalSnapshot=3]=`IncrementalSnapshot`,e[e.Meta=4]=`Meta`,e[e.Custom=5]=`Custom`,e[e.Plugin=6]=`Plugin`,e))(Eh||{}),Dh=(e=>(e[e.Mutation=0]=`Mutation`,e[e.MouseMove=1]=`MouseMove`,e[e.MouseInteraction=2]=`MouseInteraction`,e[e.Scroll=3]=`Scroll`,e[e.ViewportResize=4]=`ViewportResize`,e[e.Input=5]=`Input`,e[e.TouchMove=6]=`TouchMove`,e[e.MediaInteraction=7]=`MediaInteraction`,e[e.StyleSheetRule=8]=`StyleSheetRule`,e[e.CanvasMutation=9]=`CanvasMutation`,e[e.Font=10]=`Font`,e[e.Log=11]=`Log`,e[e.Drag=12]=`Drag`,e[e.StyleDeclaration=13]=`StyleDeclaration`,e[e.Selection=14]=`Selection`,e[e.AdoptedStyleSheet=15]=`AdoptedStyleSheet`,e[e.CustomElement=16]=`CustomElement`,e))(Dh||{}),Oh=(e=>(e[e.MouseUp=0]=`MouseUp`,e[e.MouseDown=1]=`MouseDown`,e[e.Click=2]=`Click`,e[e.ContextMenu=3]=`ContextMenu`,e[e.DblClick=4]=`DblClick`,e[e.Focus=5]=`Focus`,e[e.Blur=6]=`Blur`,e[e.TouchStart=7]=`TouchStart`,e[e.TouchMove_Departed=8]=`TouchMove_Departed`,e[e.TouchEnd=9]=`TouchEnd`,e[e.TouchCancel=10]=`TouchCancel`,e))(Oh||{}),kh=(e=>(e[e.Mouse=0]=`Mouse`,e[e.Pen=1]=`Pen`,e[e.Touch=2]=`Touch`,e))(kh||{}),Ah=(e=>(e[e.Play=0]=`Play`,e[e.Pause=1]=`Pause`,e[e.Seeked=2]=`Seeked`,e[e.VolumeChange=3]=`VolumeChange`,e[e.RateChange=4]=`RateChange`,e))(Ah||{}),jh;function Mh(e){jh=e}function Nh(){jh=void 0}for(var Ph=e=>jh?((...t)=>{try{return e(...t)}catch(e){if(jh&&jh(e)===!0)return()=>{};throw e}}):e,Fh=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,Ih=typeof Uint8Array>`u`?[]:new Uint8Array(256),Lh=0;Lh<Fh.length;
23Lh++)Ih[Fh.charCodeAt(Lh)]=Lh;var Rh=class{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}};function zh(e){try{return e.contentDocument}catch{}}function Bh(e){try{return e.contentWindow}catch{}}var Vh=class{constructor(e){this.doc=e,this.unattachedDoc=null}parse(e){return this.parseWithConstructableStylesheet(e)||this.parseWithDetachedElement(e)}parseWithConstructableStylesheet(e){if(typeof CSSStyleSheet>`u`||typeof CSSStyleSheet.prototype.replaceSync!=`function`)return null;try{let t=new CSSStyleSheet;t.replaceSync(`x { ${e} }`);let n=t.cssRules[0];return!n||n.type!==CSSRule.STYLE_RULE?null:n.style}catch{return null}}parseWithDetachedElement(e){let t=this.getUnattachedDoc().createElement(`span`);return t.setAttribute(`style`,e),t.style}getUnattachedDoc(){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}return this.unattachedDoc}};function Hh(e){return`__ln`in e}var Uh=class{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw Error(`Position outside of list range`);let t=this.head;for(let n=0;n<e;n++)t=t?.next||null;return t}addNode(e){let t={value:e,previous:null,next:null};
23if(e.__ln=t,e.previousSibling&&Hh(e.previousSibling)){let n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&Hh(e.nextSibling)&&e.nextSibling.__ln.previous){let n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;t.next===null&&(this.tail=t),this.length++}removeNode(e){let t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}},Wh=(e,t)=>`${e}@${t}`,Gh=class{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let e=[],t=new Set,n=new Uh,r=e=>{let t=e,n=mm;for(;n===mm;)t&&=t.nextSibling,n=t&&this.mirror.getId(t);return n},i=i=>{if(!i.parentNode||!bh(i))return;let a=zp(i.parentNode)?this.mirror.getId(_h(i)):this.mirror.getId(i.parentNode),o=r(i);if(a===-1||o===-1)return n.addNode(i);let s=Jm(i,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{ph(e,this.mirror)&&!sh(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),mh(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),hh(i)&&this.shadowDomManager.addShadowRoot(i.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{if(sh(e,this.blockClass,this.blockSelector,this.unblockSelector,!1))return;this.iframeManager.attachIframe(e,t);let n=Bh(e);n&&this.canvasManager.addWindow(n),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})},ignoreCSSAttributes:this.ignoreCSSAttributes});s&&(e.push({parentId:a,nextId:o,node:s}),t.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!qh(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&&i(e);for(let e of this.addedSet)!Yh(this.droppedSet,e)&&!qh(this.removes,e,this.mirror)||Yh(this.movedSet,e)?i(e):this.droppedSet.add(e);let a=null;for(;n.length;){let e=null;if(a){let t=this.mirror.getId(a.value.parentNode),n=r(a.value);t!==-1&&n!==-1&&(e=a)}if(!e){let t=n.tail;for(;t;){let n=t;if(t=t.previous,n){let t=this.mirror.getId(n.value.parentNode);if(r(n.value)===-1)continue;if(t!==-1){e=n;break}{let t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let r=t.parentNode.host;if(this.mirror.getId(r)!==-1){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}a=e.previous,n.removeNode(e.value),i(e.value)}let o={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:t}=e;if(typeof t.style==`string`){let n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split(`var(`).length===t.style.split(`var(`).length&&(t.style=e.styleDiff)}
23return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(o.texts.length||o.attributes.length||o.removes.length||o.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(o))},this.processMutation=e=>{if(!lh(e.target,this.mirror))switch(e.type){case`characterData`:{let t=e.target.textContent;!sh(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&t!==e.oldValue&&this.texts.push({value:zm(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,oh(e.target)):t.replace(/[\S]/g,`*`):t,node:e.target});break}case`attributes`:{let t=e.target,n=e.attributeName,r=e.target.getAttribute(n);if(n===`value`){let n=rm(t),i=t.tagName;r=im(t,i,n);let a=Zp({maskInputOptions:this.maskInputOptions,tagName:i,type:n});r=Qp({isMasked:zm(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,a),element:t,value:r,maskInputFn:this.maskInputFn})}if(sh(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||r===e.oldValue)return;let i=this.attributeMap.get(e.target);if(t.tagName===`IFRAME`&&n===`src`&&!this.keepIframeSrcFn(r)){if(!zh(t))n=`rr_src`;else return}if(i||(i={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}}
23,this.attributes.push(i),this.attributeMap.set(e.target,i)),n===`type`&&t.tagName===`INPUT`&&(e.oldValue||``).toLowerCase()===`password`&&t.setAttribute(`data-rr-is-password`,`true`),!Pm(t.tagName,n)&&(i.attributes[n]=Nm(this.doc,$p(t.tagName),$p(n),r,t,this.maskAttributeFn),n===`style`)){let n=e.oldValue?this.styleDeclarationParser.parse(e.oldValue):null;for(let e of Array.from(t.style)){let r=t.style.getPropertyValue(e),a=t.style.getPropertyPriority(e);r!==(n?.getPropertyValue(e)||``)||a!==(n?.getPropertyPriority(e)||``)?a===``?i.styleDiff[e]=r:i.styleDiff[e]=[r,a]:i._unchangedStyles[e]=[r,a]}if(n)for(let e of Array.from(n))t.style.getPropertyValue(e)===``&&(i.styleDiff[e]=!1)}break}case`childList`:if(sh(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{let n=this.mirror.getId(t),r=zp(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);sh(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||lh(t,this.mirror)||!ch(t,this.mirror)||(this.addedSet.has(t)?(Kh(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&n===-1||uh(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[Wh(n,r)]?Kh(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:zp(e.target)&&Bp(e.target)?!0:void 0})),this.mapRemoves.push(t))})}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(lh(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&n!==-1&&(this.movedMap[Wh(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);sh(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(e.childNodes&&e.childNodes.forEach(e=>this.genAdds(e)),hh(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}init(e){`mutationCb.blockClass.blockSelector.unblockSelector.maskAllText.maskTextClass.unmaskTextClass.maskTextSelector.unmaskTextSelector.inlineStylesheet.maskInputOptions.maskAttributeFn.maskTextFn.maskInputFn.keepIframeSrcFn.recordCanvas.inlineImages.slimDOMOptions.dataURLOptions.doc.mirror.iframeManager.stylesheetManager.shadowDomManager.canvasManager.processedNodeManager.ignoreCSSAttributes`.split(`.`).forEach(t=>{this[t]=e[t]}),this.styleDeclarationParser=new Vh(this.doc)}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}};function Kh(e,t){e.delete(t),t.childNodes?.forEach(t=>Kh(e,t))}function qh(e,t,n){return e.length!==0&&Jh(e,t,n)}function Jh(e,t,n){let r=t.parentNode;for(;r;){let t=n.getId(r);if(e.some(e=>e.id===t))return!0;r=r.parentNode}return!1}function Yh(e,t){return e.size!==0&&Xh(e,t)}function Xh(e,t){let{parentNode:n}=t;return n?e.has(n)?!0:Xh(e,n):!1}var Zh=[];function Qh(e){try{if(`composedPath`in e){let t=e.composedPath();if(t.length)return t[0]}else if(`path`in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function $h(e,t){let n=new Gh;Zh.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver,i=window?.Zone?.__symbol__?.(`MutationObserver`);i&&window[i]&&(r=window[i]);let a=new r(Ph(t=>{e.onMutation&&e.onMutation(t)===!1||n.processMutations.bind(n)(t)}));return a.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),a}function eg({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=>{};let i=typeof t.mousemove==`number`?t.mousemove:50,a=typeof t.mousemoveCallback==`number`?t.mousemoveCallback:500,o=[],s,c=$m(Ph(t=>{let n=Date.now()-s;e(o.map(e=>(e.timeOffset-=n,e)),t),o=[],s=null}),a),l=Ph($m(Ph(e=>{let t=Qh(e),{clientX:n,clientY:i}=dh(e)?e.changedTouches[0]:e;s||=nh(),o.push({x:n,y:i,id:r.getId(t),timeOffset:nh()-s}),c(typeof DragEvent<`u`&&e instanceof DragEvent?Dh.Drag:e instanceof MouseEvent?Dh.MouseMove:Dh.TouchMove)}),i,{trailing:!1})),u=[Xm(`mousemove`,l,n),Xm(`touchmove`,l,n),Xm(`drag`,l,n)];return Ph(()=>
23{u.forEach(e=>e())})}function tg({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,sampling:o}){if(o.mouseInteraction===!1)return()=>{};let s=o.mouseInteraction===!0||o.mouseInteraction===void 0?{}:o.mouseInteraction,c=[],l=null,u=t=>o=>{let s=Qh(o);if(sh(s,r,i,a,!0))return;let c=null,u=t;if(`pointerType`in o){switch(o.pointerType){case`mouse`:c=kh.Mouse;break;case`touch`:c=kh.Touch;break;case`pen`:c=kh.Pen}c===kh.Touch?Oh[t]===Oh.MouseDown?u=`TouchStart`:Oh[t]===Oh.MouseUp&&(u=`TouchEnd`):kh.Pen}else dh(o)&&(c=kh.Touch);c===null?Oh[t]===Oh.Click&&(c=l,l=null):(l=c,(u.startsWith(`Touch`)&&c===kh.Touch||u.startsWith(`Mouse`)&&c===kh.Mouse)&&(c=null));let d=dh(o)?o.changedTouches[0]:o;if(!d)return;let f=n.getId(s),{clientX:p,clientY:m}=d;Ph(e)({type:Oh[u],id:f,x:p,y:m,...c!==null&&{pointerType:c}})};return Object.keys(Oh).filter(e=>Number.isNaN(Number(e))&&!e.endsWith(`_Departed`)&&s[e]!==!1).forEach(e=>{let n=$p(e),r=u(e);if(window.PointerEvent)switch(Oh[e]){case Oh.MouseDown:case Oh.MouseUp:n=n.replace(`mouse`,`pointer`);break;case Oh.TouchStart:case Oh.TouchEnd:return}c.push(Xm(n,r,t))}),Ph(()=>{c.forEach(e=>e())})}function ng({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,sampling:o}){return Xm(`scroll`,Ph($m(Ph(o=>{let s=Qh(o);if(!s||sh(s,r,i,a,!0))return;let c=n.getId(s);if(s===t&&t.defaultView){let n=rh(t.defaultView);e({id:c,x:n.left,y:n.top})}else e({id:c,x:s.scrollLeft,y:s.scrollTop})}),o.scroll||100)),t)}function rg({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return Xm(`resize`,Ph($m(Ph(()=>{let t=ih(),i=ah();(n!==t||r!==i)&&(e({width:Number(i),height:Number(t)}),n=t,r=i)}),200)),t)}var ig=[`INPUT`,`TEXTAREA`,`SELECT`],ag=new WeakMap;function og({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,ignoreClass:o,ignoreSelector:s,maskInputOptions:c,maskInputFn:l,sampling:u,userTriggeredOnInput:d,maskTextClass:f,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:h}){function g(e){let n=Qh(e),u=e.isTrusted,g=n&&em(n.tagName);if(g===`OPTION`&&(n=n.parentElement),!n||!g||ig.indexOf(g)<0||sh(n,r,i,a,!0))return;let v=n;if(v.classList.contains(o)||s&&v.matches(s))return;let y=rm(n),b=im(v,g,y),x=!1,S=Zp({maskInputOptions:c,tagName:g,type:y}),C=zm(n,f,m,p,h,S);(y===`radio`||y===`checkbox`)&&(x=n.checked),b=Qp({isMasked:C,element:n,value:b,maskInputFn:l}),_(n,d?{text:b,isChecked:x,userTriggered:u}:{text:b,isChecked:x});let w=n.name;y===`radio`&&w&&x&&t.querySelectorAll(`input[type="radio"][name="${w}"]`).forEach(e=>{if(e!==n){let t=Qp({isMasked:C,element:e,value:im(e,g,y),maskInputFn:l});_(e,d?{text:t,isChecked:!x,userTriggered:!1}:{text:t,isChecked:!x})}})}function _(t,r){let i=ag.get(t);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){ag.set(t,r);let i=n.getId(t);Ph(e)({...r,id:i})}}let v=(u.input===`last`?[`change`]:[`input`,`change`]).map(e=>Xm(e,Ph(g),t)),y=t.defaultView;if(!y)return()=>{v.forEach(e=>e())};let b=y.Object.getOwnPropertyDescriptor(y.HTMLInputElement.prototype,`value`),x=[[y.HTMLInputElement.prototype,`value`],[y.HTMLInputElement.prototype,`checked`],[y.HTMLSelectElement.prototype,`value`],[y.HTMLTextAreaElement.prototype,`value`],[y.HTMLSelectElement.prototype,`selectedIndex`],[y.HTMLOptionElement.prototype,`selected`]];return b&&b.set&&v.push(...x.map(e=>eh(e[0],e[1],{set(){Ph(g)({target:this,isTrusted:!1})}},!1,y))),Ph(()=>{v.forEach(e=>e())})}function sg(e){let t=[];function n(e,t){if(dg(`CSSGroupingRule`)&&e.parentRule instanceof CSSGroupingRule||dg(`CSSMediaRule`)&&e.parentRule instanceof CSSMediaRule||dg(`CSSSupportsRule`)&&e.parentRule instanceof CSSSupportsRule||dg(`CSSConditionRule`)&&e.parentRule instanceof CSSConditionRule){let n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){let n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}return n(e,t)}function cg(e,t,n){let r,i;return e?(e.ownerNode?r=t.getId(e.ownerNode):i=n.getId(e),{styleId:i,id:r}):{}}function lg({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};let i=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(i,{apply:Ph((r,i,a)=>{let[o,s]=a,{id:c,styleId:l}=cg(i,t,n.styleMirror);return(c&&c!==-1||l&&l!==-1)&&e({id:c,styleId:l,adds:[{rule:o,index:s}]}),r.apply(i,a)})});let a=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(a,{apply:Ph((r,i,a)=>{let[o]=a,{id:s,styleId:c}=cg(i,t,n.styleMirror);return(s&&s!==-1||c&&c!==-1)&&e({id:s,styleId:c,removes:[{index:o}]}),r.apply(i,a)})});let o;
23r.CSSStyleSheet.prototype.replace&&(o=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:Ph((r,i,a)=>{let[o]=a,{id:s,styleId:c}=cg(i,t,n.styleMirror);return(s&&s!==-1||c&&c!==-1)&&e({id:s,styleId:c,replace:o}),r.apply(i,a)})}));let s;r.CSSStyleSheet.prototype.replaceSync&&(s=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(s,{apply:Ph((r,i,a)=>{let[o]=a,{id:s,styleId:c}=cg(i,t,n.styleMirror);return(s&&s!==-1||c&&c!==-1)&&e({id:s,styleId:c,replaceSync:o}),r.apply(i,a)})}));let c={};fg(`CSSGroupingRule`)?c.CSSGroupingRule=r.CSSGroupingRule:(fg(`CSSMediaRule`)&&(c.CSSMediaRule=r.CSSMediaRule),fg(`CSSConditionRule`)&&(c.CSSConditionRule=r.CSSConditionRule),fg(`CSSSupportsRule`)&&(c.CSSSupportsRule=r.CSSSupportsRule));let l={};return Object.entries(c).forEach(([r,i])=>{l[r]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(l[r].insertRule,{apply:Ph((r,i,a)=>{let[o,s]=a,{id:c,styleId:l}=cg(i.parentStyleSheet,t,n.styleMirror);return(c&&c!==-1||l&&l!==-1)&&e({id:c,styleId:l,adds:[{rule:o,index:[...sg(i),s||0]}]}),r.apply(i,a)})}),i.prototype.deleteRule=new Proxy(l[r].deleteRule,{apply:Ph((r,i,a)=>{let[o]=a,{id:s,styleId:c}=cg(i.parentStyleSheet,t,n.styleMirror);return(s&&s!==-1||c&&c!==-1)&&e({id:s,styleId:c,removes:[{index:[...sg(i),o]}]}),r.apply(i,a)})})}),Ph(()=>{r.CSSStyleSheet.prototype.insertRule=i,r.CSSStyleSheet.prototype.deleteRule=a,o&&(r.CSSStyleSheet.prototype.replace=o),s&&(r.CSSStyleSheet.prototype.replaceSync=s),Object.entries(c).forEach(([e,t])=>{t.prototype.insertRule=l[e].insertRule,t.prototype.deleteRule=l[e].deleteRule})})}function ug({mirror:e,stylesheetManager:t},n){let r=null;r=n.nodeName===`#document`?e.getId(n):e.getId(n.host);let i=n.nodeName===`#document`?n.defaultView?.Document:n.ownerDocument?.defaultView?.ShadowRoot,a=i?.prototype?Object.getOwnPropertyDescriptor(i?.prototype,`adoptedStyleSheets`):void 0;return r===null||r===-1||!i||!a?()=>{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get(){return a.get?.call(this)},set(e){let n=a.set?.call(this,e);if(r!==null&&r!==-1)try{t.adoptStyleSheets(e,r)}catch{}return n}}),Ph(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get:a.get,set:a.set})}))}function eee({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:i}){let a=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:Ph((i,o,s)=>{let[c,l,u]=s;if(n.has(c))return a.apply(o,[c,l,u]);let{id:d,styleId:f}=cg(o.parentRule?.parentStyleSheet,t,r.styleMirror);return(d&&d!==-1||f&&f!==-1)&&e({id:d,styleId:f,set:{property:c,value:l,priority:u},index:sg(o.parentRule)}),i.apply(o,s)})});let o=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(o,{apply:Ph((i,a,s)=>{let[c]=s;if(n.has(c))return o.apply(a,[c]);let{id:l,styleId:u}=cg(a.parentRule?.parentStyleSheet,t,r.styleMirror);return(l&&l!==-1||u&&u!==-1)&&e({id:l,styleId:u,remove:{property:c},index:sg(a.parentRule)}),i.apply(a,s)})}),Ph(()=>{i.CSSStyleDeclaration.prototype.setProperty=a,i.CSSStyleDeclaration.prototype.removeProperty=o})}function tee({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:i,sampling:a,doc:o}){let s=Ph(o=>$m(Ph(a=>{let s=Qh(a);if(!s||sh(s,t,n,r,!0))return;let{currentTime:c,volume:l,muted:u,playbackRate:d}=s;e({type:o,id:i.getId(s),currentTime:c,volume:l,muted:u,playbackRate:d})}),a.media||500)),c=[Xm(`play`,s(Ah.Play),o),Xm(`pause`,s(Ah.Pause),o),Xm(`seeked`,s(Ah.Seeked),o),Xm(`volumechange`,s(Ah.VolumeChange),o),Xm(`ratechange`,s(Ah.RateChange),o)];return Ph(()=>{c.forEach(e=>e())})}function nee({fontCb:e,doc:t}){let n=t.defaultView;if(!n)return()=>{};let r=[],i=new WeakMap,a=n.FontFace;n.FontFace=function(e,t,n){let r=new a(e,t,n);return i.set(r,{family:e,buffer:typeof t!=`string`,descriptors:n,fontSource:typeof t==`string`?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};let o=th(t.fonts,`add`,function(t){return function(n){return wh(Ph(()=>{let t=i.get(n);t&&(e(t),i.delete(n))}),0),t.apply(this,[n])}});return r.push(()=>{n.FontFace=a}),r.push(o),Ph(()=>
23{r.forEach(e=>e())})}function ree(e){let{doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,selectionCb:o}=e,s=!0,c=Ph(()=>{let e=t.getSelection();if(!e||s&&e?.isCollapsed)return;s=e.isCollapsed||!1;let c=[],l=e.rangeCount||0;for(let t=0;t<l;t++){let{startContainer:o,startOffset:s,endContainer:l,endOffset:u}=e.getRangeAt(t);sh(o,r,i,a,!0)||sh(l,r,i,a,!0)||c.push({start:n.getId(o),startOffset:s,end:n.getId(l),endOffset:u})}o({ranges:c})});return c(),Xm(`selectionchange`,c)}function iee({doc:e,customElementCb:t}){let n=e.defaultView;return!n||!n.customElements?()=>{}:th(n.customElements,`define`,function(e){return function(n,r,i){try{t({define:{name:n}})}catch{}return e.apply(this,[n,r,i])}})}function aee(e,t={}){let n=e.doc.defaultView;if(!n)return()=>{};let r;e.recordDOM&&(r=$h(e,e.doc));let i=eg(e),a=tg(e),o=ng(e),s=rg(e,{win:n}),c=og(e),l=tee(e),u=()=>{},d=()=>{},f=()=>{},p=()=>{};e.recordDOM&&(u=lg(e,{win:n}),d=ug(e,e.doc),f=eee(e,{win:n}),e.collectFonts&&(p=nee(e)));let m=ree(e),h=iee(e),g=[];for(let t of e.plugins)g.push(t.observer(t.callback,n,t.options));return Ph(()=>{Zh.forEach(e=>e.reset()),r?.disconnect(),i(),a(),o(),s(),c(),l(),u(),d(),f(),p(),m(),h(),g.forEach(e=>e())})}function dg(e){return window[e]!==void 0}function fg(e){return!!(window[e]!==void 0&&window[e].prototype&&`insertRule`in window[e].prototype&&`deleteRule`in window[e].prototype)}var pg=class{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){let i=n||this.getIdToRemoteIdMap(e),a=r||this.getRemoteIdToIdMap(e),o=i.get(t);return o||(o=this.generateIdFn(),i.set(t,o),a.set(o,t)),o}getIds(e,t){let n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,n,r))}
23getRemoteId(e,t,n){let r=n||this.getRemoteIdToIdMap(e);return typeof t==`number`?r.get(t)||-1:t}getRemoteIds(e,t){let n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,n))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}},oee=class{constructor(){this.crossOriginIframeMirror=new pg(hm),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}},see=class{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new pg(hm),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new pg(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener(`message`,this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0);let t=Bh(e);t&&this.crossOriginIframeMap.set(t,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&Bh(e)?.addEventListener(`message`,this.handleMessage.bind(this)),this.loadListener?.(e);let n=zh(e);n&&n.adoptedStyleSheets&&n.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(n.adoptedStyleSheets,this.mirror.getId(n))}handleMessage(e){let t=e;if(t.data.type!==`rrweb`||t.origin!==t.data.origin||!e.source)return;let n=this.crossOriginIframeMap.get(e.source);if(!n)return;let r=this.transformCrossOriginEvent(n,t.data.event);r&&this.wrappedEmit(r,t.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case Eh.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);let n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:Eh.IncrementalSnapshot,data:{source:Dh.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case Eh.Meta:case Eh.Load:case Eh.DomContentLoaded:return!1;case Eh.Plugin:return t;case Eh.Custom:return this.replaceIds(t.data.payload,e,[`id`,`parentId`,`previousId`,`nextId`]),t;case Eh.IncrementalSnapshot:switch(t.data.source){case Dh.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,[`parentId`,`nextId`,`previousId`]),this.replaceIdOnNode(t.node,e);let n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)}),t.data.removes.forEach(t=>{this.replaceIds(t,e,[`parentId`,`id`])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,[`id`])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,[`id`])}),t;case Dh.Drag:case Dh.TouchMove:case Dh.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,[`id`])}),t;case Dh.ViewportResize:return!1;case Dh.MediaInteraction:case Dh.MouseInteraction:case Dh.Scroll:case Dh.CanvasMutation:case Dh.Input:return this.replaceIds(t.data,e,[`id`]),t;case Dh.StyleSheetRule:case Dh.StyleDeclaration:return this.replaceIds(t.data,e,[`id`]),this.replaceStyleIds(t.data,e,[`styleId`]),t;case Dh.Font:return t;case Dh.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,[`start`,`end`])}),t;case Dh.AdoptedStyleSheet:return this.replaceIds(t.data,e,[`id`]),this.replaceStyleIds(t.data,e,[`styleIds`]),t.data.styles?.forEach(t=>{this.replaceStyleIds(t,e,[`styleId`])}),t}}return!1}replace(e,t,n,r){for(let i of r)(Array.isArray(t[i])||typeof t[i]==`number`)&&(t[i]=Array.isArray(t[i])?e.getIds(n,t[i]):e.getId(n,t[i]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,[`id`,`rootId`]),`childNodes`in e&&e.childNodes.forEac
23h(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type!==Lp.Document&&!e.rootId&&(e.rootId=t),`childNodes`in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}},cee=class{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}},lee=class{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!Bp(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);let n=$h({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>n.disconnect()),this.restoreHandlers.push(ng({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),wh(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(ug({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){let t=zh(e),n=Bh(e);t&&n&&this.patchAttachShadow(n.Element,t)}patchAttachShadow(e,t){let n=this;this.restoreHandlers.push(th(e.prototype,`attachShadow`,function(e){return function(r){let i=e.call(this,r);return this.shadowRoot&&bh(this)&&n.addShadowRoot(this.shadowRoot,t),i}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}},uee=class{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new gh,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){`_cssText`in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(e.length===0)return;let n={id:t,styleIds:[]},r=[];for(let t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),r.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,t)=>({rule:Gp(e),index:t}))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}},dee=class{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){let n=this.nodeMap.get(e);return n&&Array.from(n).some(e=>e!==t)}add(e,t){this.active||(this.active=!0,Ch(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}},mg,hg;try{if(Array.from([1],e=>e*2)[0]!==2){let e=document.createElement(`iframe`);document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug(`Unable to override Array.from`,e)}var gg=Xp();function _g(e={}){let{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:i=`rr-block`,blockSelector:a=null,unblockSelector:o=null,ignoreClass:s=`rr-ignore`,ignoreSelector:c=null,maskAllText:l=!1,maskTextClass:u=`rr-mask`,unmaskTextClass:d=null,maskTextSelector:f=null,unmaskTextSelector:p=null,inlineStylesheet:m=!0,maskAllInputs:h,maskInputOptions:g,slimDOMOptions:_,maskAttributeFn:v,maskInputFn:y,maskTextFn:b,maxCanvasSize:x=null,packFn:S,sampling:C={},dataURLOptions:w={},mousemoveWait:T,recordDOM:E=!0,recordCanvas:D=!1,recordCrossOriginIframes:O=!1,recordAfter:k=e.recordAfter===`DOMContentLoaded`?e.recordAfter:`load`,userTriggeredOnInput:A=!1,collectFonts:j=!1,inlineImages:M=!1,plugins:ee,keepIframeSrcFn:N=()=>!1,ignoreCSSAttributes:te=new Set([]),errorHandler:ne,onMutation:re,getCanvasManager:ie}=e;Mh(ne);let P=!O||window.parent===window,F=!1;if(!P)try{window.parent.document&&(F=!1)}catch{F=!0}if(P&&!t)throw Error(`emit function is required`);if(!P&&!F)return()=>{};
23T!==void 0&&C.mousemove===void 0&&(C.mousemove=T),gg.reset();let ae=h===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:g===void 0?{}:g,oe=_===!0||_===`all`?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:_===`all`,headMetaDescKeywords:_===`all`}:_||{};fh();let se,ce=0,le=e=>{for(let t of ee||[])t.eventProcessor&&(e=t.eventProcessor(e));return S&&!F&&(e=S(e)),e};mg=(e,i)=>{let a=e;if(a.timestamp=nh(),Zh[0]?.isFrozen()&&a.type!==Eh.FullSnapshot&&(a.type!==Eh.IncrementalSnapshot||a.data.source!==Dh.Mutation)&&Zh.forEach(e=>e.unfreeze()),P)t?.(le(a),i);else if(F){let e={type:`rrweb`,event:le(a),origin:window.location.origin,isCheckout:i};window.parent.postMessage(e,`*`)}if(a.type===Eh.FullSnapshot)se=a,ce=0;else if(a.type===Eh.IncrementalSnapshot){if(a.data.source===Dh.Mutation&&a.data.isAttachIframe)return;ce++;let e=r&&ce>=r,t=n&&se&&a.timestamp-se.timestamp>n;(e||t)&&ve(!0)}};let ue=e=>{mg({type:Eh.IncrementalSnapshot,data:{source:Dh.Mutation,...e}})},de=e=>mg({type:Eh.IncrementalSnapshot,data:{source:Dh.Scroll,...e}}),fe=e=>mg({type:Eh.IncrementalSnapshot,data:{source:Dh.CanvasMutation,...e}}),pe=new uee({mutationCb:ue,adoptedStyleSheetCb:e=>mg({type:Eh.IncrementalSnapshot,data:{source:Dh.AdoptedStyleSheet,...e}})}),me=typeof __RRWEB_EXCLUDE_IFRAME__==`boolean`&&__RRWEB_EXCLUDE_IFRAME__?new oee:new see({mirror:gg,mutationCb:ue,stylesheetManager:pe,recordCrossOriginIframes:O,wrappedEmit:mg});for(let e of ee||[])e.getMirror&&e.getMirror({nodeMirror:gg,crossOriginIframeMirror:me.crossOriginIframeMirror,crossOriginIframeStyleMirror:me.crossOriginIframeStyleMirror});let he=new dee,ge=pee(ie,{mirror:gg,win:window,mutationCb:e=>mg({type:Eh.IncrementalSnapshot,data:{source:Dh.CanvasMutation,...e}}),recordCanvas:D,blockClass:i,blockSelector:a,unblockSelector:o,maxCanvasSize:x,sampling:C.canvas,dataURLOptions:w,errorHandler:ne}),_e=typeof __RRWEB_EXCLUDE_SHADOW_DOM__==`boolean`&&__RRWEB_EXCLUDE_SHADOW_DOM__?new cee:new lee({mutationCb:ue,scrollCb:de,bypassOptions:{onMutation:re,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:f,unmaskTextSelector:p,inlineStylesheet:m,maskInputOptions:ae,dataURLOptions:w,maskAttributeFn:v,maskTextFn:b,maskInputFn:y,recordCanvas:D,inlineImages:M,sampling:C,slimDOMOptions:oe,iframeManager:me,stylesheetManager:pe,canvasManager:ge,keepIframeSrcFn:N,processedNodeManager:he,ignoreCSSAttributes:te},mirror:gg}),ve=(e=!1)=>{if(!E)return;mg({type:Eh.Meta,data:{href:window.location.href,width:ah(),height:ih()}},e),pe.reset(),_e.init(),Zh.forEach(e=>e.lock());let t=Ym(document,{mirror:gg,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:f,unmaskTextSelector:p,inlineStylesheet:m,maskAllInputs:ae,maskAttributeFn:v,maskInputFn:y,maskTextFn:b,slimDOM:oe,dataURLOptions:w,recordCanvas:D,inlineImages:M,onSerialize:e=>{ph(e,gg)&&me.addIframe(e),mh(e,gg)&&pe.trackLinkElement(e),hh(e)&&_e.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{me.attachIframe(e,t);let n=Bh(e);n&&ge.addWindow(n),_e.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{pe.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{ue({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})},keepIframeSrcFn:N,ignoreCSSAttributes:te});if(!t)return console.warn(`Failed to snapshot the document`);mg({type:Eh.FullSnapshot,data:{node:t,initialOffset:rh(window)}}),Zh.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&pe.adoptStyleSheets(document.adoptedStyleSheets,gg.getId(document))};hg=ve;try{let e=[],t=e=>Ph(aee)({onMutation:re,mutationCb:ue,mousemoveCb:(e,t)=>mg({type:Eh.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>mg({type:Eh.IncrementalSnapshot,data:{source:Dh.MouseInteraction,...e}}),scrollCb:de,viewportResizeCb:e=>mg({type:Eh.IncrementalSnapshot,data:{source:Dh.ViewportResize,...e}}),inputCb:e=>mg({type:Eh.IncrementalSnapshot,data:{source:Dh.Input,...e}}),mediaInteractionCb:e=>mg({type:Eh.IncrementalSnapshot,data:{source:Dh.MediaInteraction,...e}}),styleSheetRuleCb:e=>mg({type:Eh.IncrementalSnapshot,data:{source:Dh.StyleSheetRule,...e}}),styleDeclarationCb:e=>mg({type:Eh.IncrementalSnapshot,data:{source:Dh.StyleDeclaration,...e}}),canvasMutationCb:fe,fontCb:e=>mg({type:Eh.IncrementalSnapshot,data:{source:Dh.Font,...e}}),selectionCb:e=>{mg({type:Eh.IncrementalSnapshot,data:{source:Dh.Selection,...e}})},customElementCb:e=>{mg({type:Eh.IncrementalSnapshot,data:{source:Dh.CustomElement,...e}})},blockClass:i,ignoreClass:s,ignoreSelector:c,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:f,unmaskTextSelector:p,maskInputOptions:ae,inlineStylesheet:m,sampling:C,recordDOM:E,recordCanvas:D,inlineImages:M,userTr
23iggeredOnInput:A,collectFonts:j,doc:e,maskAttributeFn:v,maskInputFn:y,maskTextFn:b,keepIframeSrcFn:N,blockSelector:a,unblockSelector:o,slimDOMOptions:oe,dataURLOptions:w,mirror:gg,iframeManager:me,stylesheetManager:pe,shadowDomManager:_e,processedNodeManager:he,canvasManager:ge,ignoreCSSAttributes:te,plugins:ee?.filter(e=>e.observer)?.map(e=>({observer:e.observer,options:e.options,callback:t=>mg({type:Eh.Plugin,data:{plugin:e.name,payload:t}})}))||[]},{});me.addLoadListener(n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}});let n=()=>{ve(),e.push(t(document))};return document.readyState===`interactive`||document.readyState===`complete`?n():(e.push(Xm(`DOMContentLoaded`,()=>{mg({type:Eh.DomContentLoaded,data:{}}),k===`DOMContentLoaded`&&n()})),e.push(Xm(`load`,()=>{mg({type:Eh.Load,data:{}}),k===`load`&&n()},window))),()=>{e.forEach(e=>e()),he.destroy(),hg=void 0,Nh()}}catch(e){console.warn(e)}}function fee(e){if(!hg)throw Error(`please take full snapshot after start recording`);hg(e)}_g.mirror=gg,_g.takeFullSnapshot=fee;function pee(e,t){try{return e?e(t):new Rh}catch{return console.warn(`Unable to initialize CanvasManager`),new Rh}}var mee;(function(e){e[e.NotStarted=0]=`NotStarted`,e[e.Running=1]=`Running`,e[e.Stopped=2]=`Stopped`})(mee||={});var hee=3,gee=5;function vg(e){return e>9999999999?e:e*1e3}function yg(e){return e>9999999999?e/1e3:e}function bg(e,t){t.category!==`sentry.transaction`&&([`ui.click`,`ui.input`].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:Eh.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:`breadcrumb`,payload:Ye(t,10,1e3)}}),t.category===`console`)))}var _ee=`button,a`;function xg(e){return e.closest(_ee)||e}function Sg(e){let t=Cg(e);return!t||!(t instanceof Element)?t:xg(t)}function Cg(e){return vee(e)?e.target:e}function vee(e){return Ee(e)&&`target`in e}var wg;function yee(e){return wg||(wg=[],bee()),wg.push(e),()=>{let t=wg?wg.indexOf(e):-1;t>-1&&wg.splice(t,1)}}function bee(){Me(hp,`open`,function(e){return function(...t){if(wg)try{wg.forEach(e=>e())}catch{}return e.apply(hp,t)}})}var xee=new Set([Dh.Mutation,Dh.StyleSheetRule,Dh.StyleDeclaration,Dh.AdoptedStyleSheet,Dh.CanvasMutation,Dh.Selection,Dh.MediaInteraction]);function See(e,t,n){e.handleClick(t,n)}var Cee=class{constructor(e,t,n=bg){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scrollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){let e=yee(()=>{this._lastMutation=Tg()});this._teardown=()=>{e(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){if(Tee(t,this._ignoreSelector)||!Eee(e))return;let n={timestamp:yg(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===n.node&&Math.abs(e.timestamp-n.timestamp)<1)||(this._clicks.push(n),this._clicks.length===1&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=yg(e)}registerScroll(e=Date.now()){this._lastScroll=yg(e)}registerClick(e){let t=xg(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=>t.node===e)}_checkClicks(){let e=[],t=Tg();this._clicks.forEach(n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)});for(let t of e){let e=this._clicks.indexOf(t);e>-1&&(this._generateBreadcrumbs(t),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scrollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,i=!n&&!r,{clickCount:a,clickBreadcrumb:o}=e;if(i){let n=Math.min(e.mutationAfter||this._timeout,this._timeout)*1e3,r=n<this._timeout*1e3?`mutation`:`timeout`,i={type:`default`,message:o.message,timestamp:o.timestamp,category:`ui.slowClickDetected`,data:{...o.data,url:hp.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:a||1}};this._addBreadcrumbEvent(t,i);return}if(a>1){let e={type:`default`,message:o.message,timestamp:o.timestamp,category:`ui.multiClick`,data:{...o.data,url:hp.location.href,route:t.getCurrentRoute(),clickCount:a,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=Xd(()=>this._checkClicks(),1e3)}},wee=[`A`,`BUTTON`,`INPUT`];function Tee(e,t){return!!(!wee.includes(e.tagName)||e.tagName===`INPUT`&&![`submit`,`button`].includes(e.getAttribute(`type`)||``)||e.tagName===`A`&&(e.hasAttribute(`download`)||e.hasAttribute(`target`)&&e.getAttribute(`target`)!==`_self`)||t&&e.matches(t))}
23function Eee(e){return!!(e.data&&typeof e.data.nodeId==`number`&&e.timestamp)}function Tg(){return Date.now()/1e3}function Dee(e,t){try{if(!Oee(t))return;let{source:n}=t.data;if(xee.has(n)&&e.registerMutation(t.timestamp),n===Dh.Scroll&&e.registerScroll(t.timestamp),kee(t)){let{type:n,id:r}=t.data,i=_g.mirror.getNode(r);i instanceof HTMLElement&&n===Oh.Click&&e.registerClick(i)}}catch{}}function Oee(e){return e.type===hee}function kee(e){return e.data.source===Dh.MouseInteraction}function Eg(e){return{timestamp:Date.now()/1e3,type:`default`,...e}}var Dg=(e=>(e[e.Document=0]=`Document`,e[e.DocumentType=1]=`DocumentType`,e[e.Element=2]=`Element`,e[e.Text=3]=`Text`,e[e.CDATA=4]=`CDATA`,e[e.Comment=5]=`Comment`,e))(Dg||{}),Aee=new Set([`id`,`class`,`aria-label`,`role`,`name`,`alt`,`title`,`data-test-id`,`data-testid`,`disabled`,`aria-disabled`,`data-sentry-component`]);function jee(e){let t={};!e[`data-sentry-component`]&&e[`data-sentry-element`]&&(e[`data-sentry-component`]=e[`data-sentry-element`]);for(let n in e)if(Aee.has(n)){let r=n;(n===`data-testid`||n===`data-test-id`)&&(r=`testId`),t[r]=e[n]}return t}var Mee=e=>t=>{if(!e.isEnabled())return;let n=Nee(t);if(!n)return;let r=t.name===`click`,i=r?t.event:void 0;r&&e.clickDetector&&i?.target&&!i.altKey&&!i.metaKey&&!i.ctrlKey&&!i.shiftKey&&See(e.clickDetector,n,Sg(t.event)),bg(e,n)};function Og(e,t){let n=_g.mirror.getId(e),r=n&&_g.mirror.getNode(n),i=r&&_g.mirror.getMeta(r),a=i&&Fee(i)?i:null;return{message:t,data:a?{nodeId:n,node:{id:n,tagName:a.tagName,textContent:Array.from(a.childNodes).map(e=>e.type===Dg.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(``),attributes:jee(a.attributes)}}:{}}}function Nee(e){let{target:t,message:n}=Pee(e);return Eg({category:`ui.${e.name}`,...Og(t,n)})}function Pee(e){let t=e.name===`click`,n,r=null;try{r=t?Sg(e.event):Cg(e.event),n=wu(r,{maxStringLength:200})||`<unknown>`}catch{n=`<unknown>`}return{target:r,message:n}}function Fee(e){return e.type===Dg.Element}function Iee(e,t){if(!e.isEnabled())return;e.updateUserActivity();let n=Lee(t);n&&bg(e,n)}function Lee(e){let{metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:a,target:o}=e;if(!o||Ree(o)||!a)return null;let s=t||r||i,c=a.length===1;if(!s&&c)return null;let l=wu(o,{maxStringLength:200})||`<unknown>`;return Eg({category:`ui.keyDown`,message:l,data:{...Og(o,l).data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:a}})}function Ree(e){return e.tagName===`INPUT`||e.tagName===`TEXTAREA`||e.isContentEditable}var zee={resource:Wee,paint:Hee,navigation:Uee};function kg(e,t){return({metric:n})=>void t.replayPerformanceEntries.push(e(n))}function Bee(e){return e.map(Vee).filter(Boolean)}function Vee(e){let t=zee[e.entryType];return t?t(e):null}function Ag(e){return((wt()||hp.performance.timeOrigin)+e)/1e3}function Hee(e){let{duration:t,entryType:n,name:r,startTime:i}=e,a=Ag(i);return{type:n,name:r,start:a,end:a+t,data:void 0}}function Uee(e){let{entryType:t,name:n,decodedBodySize:r,duration:i,domComplete:a,encodedBodySize:o,domContentLoadedEventStart:s,domContentLoadedEventEnd:c,domInteractive:l,loadEventStart:u,loadEventEnd:d,redirectCount:f,startTime:p,transferSize:m,type:h}=e;return i===0?null:{type:`${t}.${h}`,start:Ag(p),end:Ag(a),name:n,data:{size:m,decodedBodySize:r,encodedBodySize:o,duration:i,domInteractive:l,domContentLoadedEventStart:s,domContentLoadedEventEnd:c,loadEventStart:u,loadEventEnd:d,domComplete:a,redirectCount:f}}}function Wee(e){let{entryType:t,initiatorType:n,name:r,responseEnd:i,startTime:a,decodedBodySize:o,encodedBodySize:s,responseStatus:c,transferSize:l}=e;return[`fetch`,`xmlhttprequest`].includes(n)?null:{type:`${t}.${n}`,start:Ag(a),end:Ag(i),name:r,data:{size:l,statusCode:c,decodedBodySize:o,encodedBodySize:s}}}function Gee(e){let t=e.entries[e.entries.length-1];return jg(e,`largest-contentful-paint`,t?.element?[t.element]:void 0)}function Kee(e){return e.sources!==void 0}function qee(e){let t=[],n=[];for(let r of e.entries)if(Kee(r)){let e=[];for(let t of r.sources)if(t.node){n.push(t.node);let r=_g.mirror.getId(t.node);r&&e.push(r)}t.push({value:r.value,nodeIds:e.length?e:void 0})}return jg(e,`cumulative-layout-shift`,n,t)}function Jee(e){let t=e.entries[e.entries.length-1];return jg(e,`interaction-to-next-paint`,t?.target?[t.target]:void 0)}function jg(e,t,n,r){let i=e.value,a=e.rating,o=Ag(i);return{type:`web-vital`,name:t,start:o,end:o,data:{value:i,size:i,rating:a,nodeIds:n?n.map(e=>_g.mirror.getId(e)):void 0,attributions:r}}}function Yee(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}let r=[];
23return[`navigation`,`paint`,`resource`].forEach(e=>{r.push(uu(e,n))}),r.push(su(kg(Gee,e)),ou(kg(qee,e)),lu(kg(Jee,e))),()=>{r.forEach(e=>e())}}var Mg=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,Xee=
vendor: 10,332 bytes, line 23
23`var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}}),postMessage({id:void 0,method:"init",success:!0,response:void 0});`;
23function Zee(){let e=new Blob([Xee],{type:`text/javascript`});return URL.createObjectURL(e)}var Ng=[`log`,`warn`,`error`],Pg=`[Replay] `;function Fg(e,t=`info`){ws({category:`console`,data:{logger:`replay`},level:t,message:`${Pg}${e}`},{level:t})}function Ig(){let e=!1,t=!1,n={exception:()=>void 0,infoTick:()=>void 0,setConfig:n=>{e=!!n.captureExceptions,t=!!n.traceInternals}};return Mg?(Ng.forEach(e=>{n[e]=(...n)=>{A[e](Pg,...n),t&&Fg(n.join(``),Qs(e))}}),n.exception=(r,...i)=>{i.length&&n.error&&n.error(...i),A.error(Pg,r),e?Fa(r,{mechanism:{handled:!0,type:`auto.function.replay.debug`}}):t&&Fg(r,`error`)},n.infoTick=(...e)=>{A.log(Pg,...e),t&&setTimeout(()=>Fg(e[0]),0)}):Ng.forEach(e=>{n[e]=()=>void 0}),n}var Lg=Ig(),Rg=class extends Error{constructor(){super(`Event buffer exceeded maximum size of ${Ap}.`)}},zg=class extends Error{constructor(){super(`Worker destroyed`)}},Bg=class{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return`sync`}destroy(){this.events=[]}async addEvent(e){let t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>Ap)throw new Rg;this.events.push(e)}finish(){return new Promise(e=>{let t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=null;for(let{timestamp:t}of this.events)(e===null||t<e)&&(e=t);return e===null?e:vg(e)}},Qee=class{constructor(e){this._onMessage=({data:e})=>{let t=e;if(typeof t.id!=`number`)return;let n=this._pending.get(t.id);if(n&&n.method===t.method){if(this._pending.delete(t.id),!t.success){Mg&&Lg.error(`Error in compression worker: `,t.response),n.reject(Error(`Error in compression worker`));return}n.resolve(t.response)}},this._worker=e,this._id=0,this._pending=new Map,this._worker.addEventListener(`message`,this._onMessage)}ensureReady(){return this._ensureReadyPromise||=new Promise((e,t)=>{this._worker.addEventListener(`message`,({data:n})=>{n.success?e():(Mg&&Lg.warn(`Received worker message with unsuccessful status`,n),t(Error(`Received worker message with unsuccessful status`)))},{once:!0}),this._worker.addEventListener(`error`,e=>{Mg&&Lg.warn(`Failed to load Replay compression worker`,e),t(Error(`Failed to load Replay compression worker: ${e instanceof ErrorEvent&&e.message?e.message:`Unknown error. This can happen due to CSP policy restrictions, network issues, or the worker script failing to load.`}`))},{once:!0})}),this._ensureReadyPromise}destroy(){Mg&&Lg.log(`Destroying compression worker`),this._worker.removeEventListener(`message`,this._onMessage),this._pending.forEach(e=>e.reject(new zg)),this._pending.clear(),this._worker.terminate()}postMessage(e,t){let n=this._getAndIncrementId();return new Promise((r,i)=>{this._pending.set(n,{method:e,resolve:r,reject:i});try{this._worker.postMessage({id:n,method:e,arg:t})}catch(e){this._pending.delete(n),i(e)}})}_getAndIncrementId(){return this._id++}},$ee=class{constructor(e){this._worker=new Qee(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return`worker`}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){let t=vg(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);let n=JSON.stringify(e);return this._totalSize+=n.length,this._totalSize>Ap?Promise.reject(new Rg):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage(`clear`).then(null,e=>{Mg&&Lg.exception(e,`Sending "clear" message to worker failed`,e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage(`addEvent`,e)}async _finishRequest(){let e=await this._worker.postMessage(`finish`);return this._earliestTimestamp=null,this._totalSize=0,e}},ete=class{constructor(e){this._fallback=new Bg,this._compression=new $ee(e),this._used=this._fallback,this._ensureWorkerIsLoadedProm
23ise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}set waitForCheckout(e){this._used.waitForCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){Mg&&Lg.exception(e,`Failed to load the compression worker, falling back to simple buffer`);return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:t,waitForCheckout:n}=this._fallback,r=[];for(let t of e)r.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._compression.waitForCheckout=n,this._used=this._compression;try{await Promise.all(r),this._fallback.clear()}catch(e){if(e instanceof zg)return;Mg&&Lg.exception(e,`Failed to add events when switching buffers.`)}}};function tte({useCompression:e,workerUrl:t}){if(e&&window.Worker){let e=nte(t);if(e)return e}return Mg&&Lg.log(`Using simple buffer`),new Bg}function nte(e){try{let t=e||rte();return t?(Mg&&Lg.log(`Using compression worker${e?` from ${e}`:``}`),new ete(new Worker(t))):void 0}catch(e){Mg&&Lg.exception(e,`Failed to create compression worker`)}}function rte(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>`u`||!__SENTRY_EXCLUDE_REPLAY_WORKER__?Zee():``}function Vg(){try{return`sessionStorage`in hp&&!!hp.sessionStorage}catch{return!1}}function ite(e){ate(),e.session=void 0}function ate(){if(Vg())try{hp.sessionStorage.removeItem(gp)}catch{}}function Hg(e){return e!==void 0&&Math.random()<e}function Ug(e){if(Vg())try{hp.sessionStorage.setItem(gp,JSON.stringify(e))}catch{}}function Wg(e){let t=Date.now();return{id:e.id||ut(),started:e.started||t,lastActivity:e.lastActivity||t,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId,dirty:e.dirty||!1}}function ote(e,t){return Hg(e)?`session`:t?`buffer`:!1}function Gg({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){let i=Wg({sampled:ote(e,t),previousSessionId:r});return n&&Ug(i),i}function ste(){if(!Vg())return null;try{let e=hp.sessionStorage.getItem(gp);if(!e)return null;let t=JSON.parse(e);return Mg&&Lg.infoTick(`Loading existing session`),Wg(t)}catch{return null}}function Kg(e,t,n=+new Date){return e===null||t===void 0||t<0||t!==0&&e+t<=n}function cte(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return Kg(e.started,t,r)||Kg(e.lastActivity,n,r)}function qg(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!(!cte(e,{sessionIdleExpire:t,maxReplayDuration:n})||e.sampled===`buffer`&&e.segmentId===0)}function Jg({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){let i=r.stickySession&&ste();return i?qg(i,{sessionIdleExpire:e,maxReplayDuration:t})?(Mg&&Lg.infoTick(`Session in sessionStorage is expired, creating new one...`),Gg(r,{previousSessionId:i.id})):i:(Mg&&Lg.infoTick(`Creating new session`),Gg(r,{previousSessionId:n}))}function lte(e){return e.type===Eh.Custom}function Yg(e,t,n){return Zg(e,t)?(Xg(e,t,n),!0):!1}function ute(e,t,n){return Zg(e,t)?Xg(e,t,n):Promise.resolve(null)}async function Xg(e,t,n){let{eventBuffer:r}=e;if(!r||r.waitForCheckout&&!n)return null;let i=e.recordingMode===`buffer`;try{n&&i&&r.clear(),n&&(r.hasCheckout=!0,r.waitForCheckout=!1);let a=dte(t,e.getOptions().beforeAddRecordingEvent);return a?await r.addEvent(a):void 0}catch(t){if(!e.isEnabled())return e.handleException(t),null;let n=t&&t instanceof Rg,a=n?`eventBufferOverflow`:`eventBufferError`,o=cn();if(o){let e=n?`buffer_overflow`:`internal_sdk_error`;o.recordDroppedEvent(e,`replay`)}if(n&&i)return r.clear(),r.waitForCheckout=!0,null;e.handleException(t),await e.stop({reason:a})}}
23function Zg(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let n=vg(t.timestamp);return n+e.timeouts.sessionIdlePause<Date.now()?!1:n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration?(Mg&&Lg.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1):!0}function dte(e,t){try{if(typeof t==`function`&<e(e))return t(e)}catch(e){return Mg&&Lg.exception(e,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}var Qg=100;function $g(e,t,n){let r=e.getContext();t&&r.traceIds.size<Qg&&r.traceIds.add(t),n&&r.segmentNames.size<Qg&&r.segmentNames.add(n)}function fte(e){return t=>{e.isEnabled()&&$g(e,t.trace_id,t.name||void 0)}}function e_(e){return!e.type}function t_(e){return e.type===`transaction`}function pte(e){return e.type===`replay_event`}function n_(e){return e.type===`feedback`}function mte(e){return(t,n)=>{if(!e.isEnabled()||!e_(t)&&!t_(t))return;let r=n.statusCode;if(!(!r||r<200||r>=300)){if(t_(t)){hte(e,t);return}gte(e,t)}}}function hte(e,t){$g(e,t.contexts?.trace?.trace_id,t.transaction)}function gte(e,t){let n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),e.recordingMode!==`buffer`||!t.tags?.replayId)return;let{beforeErrorSampling:r}=e.getOptions();(typeof r!=`function`||r(t))&&Xd(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(t){e.handleException(t)}})}function _te(e){return t=>{e.isEnabled()&&e_(t)&&vte(e,t)}}function vte(e,t){let n=t.exception?.values?.[0]?.value;typeof n==`string`&&(n.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&bg(e,Eg({category:`replay.hydrate-error`,data:{url:Pc()}}))}function yte(e){let t=cn();t&&t.on(`beforeAddBreadcrumb`,t=>bte(e,t))}function bte(e,t){if(!e.isEnabled()||!r_(t))return;let n=xte(t);n&&bg(e,n)}function xte(e){return!r_(e)||[`fetch`,`xhr`,`sentry.event`,`sentry.transaction`].includes(e.category)||e.category.startsWith(`ui.`)?null:e.category===`console`?Ste(e):Eg(e)}function Ste(e){let t=e.data?.arguments;if(!Array.isArray(t)||t.length===0)return Eg(e);let n=!1,r=t.map(e=>{if(!e)return e;if(typeof e==`string`)return e.length>Dp?(n=!0,`${e.slice(0,Dp)}\u2026`):e;if(typeof e==`object`)try{let t=Ye(e,7);return JSON.stringify(t).length>Dp?(n=!0,`${JSON.stringify(t,null,2).slice(0,Dp)}\u2026`):t}catch{}return e});return Eg({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:[`CONSOLE_ARG_TRUNCATED`]}}:{}}})}function r_(e){return!!e.category}function Cte(e,t){return e.type||!e.exception?.values?.length?!1:!!t.originalException?.__rrweb__}function i_(){let e=rn().getPropagationContext().dsc;e&&delete e.replay_id;let t=Ar();if(t){let e=Jr(t);delete e.replay_id}}function a_(e){let t=rn().getPropagationContext().dsc;t&&(t.replay_id=e);let n=Ar();if(n){let t=Jr(n);t.replay_id=e}}function wte(e,t){e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:Eh.Custom,timestamp:t.timestamp*1e3,data:{tag:`breadcrumb`,payload:{timestamp:t.timestamp,type:`default`,category:`sentry.feedback`,data:{feedbackId:t.event_id}}}}),!1))}function Tte(e,t){return e.recordingMode!==`buffer`||t.message===vp||!t.exception||t.type?!1:Hg(e.getOptions().errorSampleRate)}function Ete(e){return Object.assign((t,n)=>{if(e.session&&qg(e.session,{maxReplayDuration:e.getOptions().maxReplayDuration,sessionIdleExpire:e.timeouts.sessionIdleExpire})&&i_(),!e.isEnabled()||e.isPaused())return t;if(pte(t))return delete t.breadcrumbs,t;if(!e_(t)&&!t_(t)&&!n_(t))return t;if(!e.checkAndHandleExpiredSession())return i_(),t;if(n_(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),wte(e,t),t;if(Cte(t,n)&&!e.getOptions()._experiments.captureExceptions)return Mg&&Lg.log(`Ignoring error from rrweb internals`,t),null;let r=Tte(e,t);if((r||e.recordingMode===`session`)&&(t.tags={...t.tags,replayId:e.getSessionId()}),r&&e.recordingMode===`buffer`&&e.session?.sampled===`buffer`){let t=e.session;t.dirty=!0,e.getOptions().stickySession&&Ug(t)}return t},{id:`Replay`})}function o_(e,t){return t.map(({type:t,start:n,end:r,name:i,data:a})=>{let o=e.throttledAddEvent({type:Eh.Custom,timestamp:n,data:{tag:`performanceSpan`,payload:{op:t,description:i,startTimestamp:n,endTimestamp:r,data:a}}});return typeof o==`string`?Promise.resolve(null):o})}function Dte(e){let{from:t,to:n}=e,r=Date.now()/1e3;return{type:`navigation.push`,start:r,end:r,name:n,data:{previous:t}}}function Ote(e){return t=>{if(!e.isEnabled())return;let n=Dte(t);n!==null&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(o_(e,[n]),!1)))}}function kte(e,t){return Mg&&e.getOptions()._experiments.traceInternals?!1:ps(t,cn())}function s_(e,t){e.isEnabled()&&t!==null&&(kte(e,t.name)||e.addUpdate(()=>(o_(e,[t]),!0)))}function c_(e){if(!e)return;let t=new TextEncoder;try{if(typeof e==`string`)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){let n=nf(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function l_(e){if(!e)return;let t=parseInt(e,10);return isNaN(t)?void 0:t}function u_(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};let n={...e._meta};return n.warnings=[...n.warnings||[],t],e._meta=n,e}function d_(e,t){if(!t)return null;let{startTimestamp:n,endTimestamp:r,url:i,method:a,statusCode:o,request:s,response:c}=t;return{type:e,start:n/1e3,end:r/1e3,name:i,data:{method:a,statusCode:o,request:s,response:c}}}function f_(e){return{headers:{},size:e,_meta:{warnings:[`URL_SKIPPED`]}}}function p_(e,t,n){if(!t&&Object.keys(e).length===0)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};let r={headers:e,size:t},{body:i,warnings:a}=Ate(n);return r.body=i,a?.length&&(r._meta={warnings:a}),r}function m_(e,t){return Object.entries(e).reduce((n,[r,i])=>{let a=r.toLowerCase();return t.includes(a)&&e[r]&&(n[a]=i),n},{})}function Ate(e){if(!e||typeof e!=`string`)return{body:e};let t=e.length>Ep,n=jte(e);if(t){let t=e.slice(0,Ep);return n?{body:t,warnings:[`MAYBE_JSON_TRUNCATED`]}:{body:`${t}\u2026`,warnings:[`TEXT_TRUNCATED`]}}if(n)try{return{body:JSON.parse(e)}}catch{}return{body:e}}function jte(e){let t=e[0],n=e[e.length-1];return t===`[`&&n===`]`||t===`{`&&n===`}`}function h_(e,t){return ot(Mte(e),t)}function Mte(e,t=hp.document.baseURI){if(e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(hp.location.origin))return e;let n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;let r=n.href;return!e.endsWith(`/`)&&r.endsWith(`/`)?r.slice(0,-1):r}async function Nte(e,t,n){try{let r=d_(`resource.fetch`,await Fte(e,t,n));s_(n.replay,r)}catch(e){Mg&&Lg.exception(e,`Failed to capture fetch breadcrumb`)}}
23function Pte(e,t){let{input:n,response:r}=t,i=c_(n?af(n):void 0),a=r?l_(r.headers.get(`content-length`)):void 0;i!==void 0&&(e.data.request_body_size=i),a!==void 0&&(e.data.response_body_size=a)}async function Fte(e,t,n){let r=Date.now(),{startTimestamp:i=r,endTimestamp:a=r}=t,{url:o,method:s,status_code:c=0,request_body_size:l,response_body_size:u}=e.data,d=h_(o,n.networkDetailAllowUrls)&&!h_(o,n.networkDetailDenyUrls);return{startTimestamp:i,endTimestamp:a,url:o,method:s,statusCode:c,request:d?Ite(n,t.input,l):f_(l),response:await Lte(d,n,t.response,u)}}function Ite({networkCaptureBodies:e,networkRequestHeaders:t},n,r){let i=n?Bte(n,t):{};if(!e)return p_(i,r,void 0);let[a,o]=rf(af(n),Lg),s=p_(i,r,a);return o?u_(s,o):s}async function Lte(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,i){if(!e&&i!==void 0)return f_(i);let a=r?g_(r.headers,n):{};if(!r||!t&&i!==void 0)return p_(a,i,void 0);let[o,s]=await zte(r),c=Rte(o,{networkCaptureBodies:t,responseBodySize:i,captureDetails:e,headers:a});return s?u_(c,s):c}function Rte(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:i}){try{let a=e?.length&&n===void 0?c_(e):n;return r?t?p_(i,a,e):p_(i,a,void 0):f_(a)}catch(e){return Mg&&Lg.exception(e,`Failed to serialize response body`),p_(i,n,void 0)}}async function zte(e){let t=Vte(e);if(!t)return[void 0,`BODY_PARSE_ERROR`];try{return[await Hte(t)]}catch(e){return e instanceof Error&&e.message.indexOf(`Timeout`)>-1?(Mg&&Lg.warn(`Parsing text body from response timed out`),[void 0,`BODY_PARSE_TIMEOUT`]):(Mg&&Lg.exception(e,`Failed to get text body from response`),[void 0,`BODY_PARSE_ERROR`])}}function g_(e,t){let n={};return t.forEach(t=>{e.get(t)&&(n[t]=e.get(t))}),n}function Bte(e,t){return e.length===1&&typeof e[0]!=`string`?__(e[0],t):e.length===2?__(e[1],t):{}}function __(e,t){if(!e)return{};let n=e.headers;return n?n instanceof Headers?g_(n,t):Array.isArray(n)?{}:m_(n,t):{}}function Vte(e){try{return e.clone()}catch(e){Mg&&Lg.exception(e,`Failed to clone response body`)}}function Hte(e){return new Promise((t,n)=>{let r=Xd(()=>n(Error(`Timeout while trying to read response body`)),500);Ute(e).then(e=>t(e),e=>n(e)).finally(()=>clearTimeout(r))})}async function Ute(e){return await e.text()}async function Wte(e,t,n){try{let r=d_(`resource.xhr`,Kte(e,t,n));s_(n.replay,r)}catch(e){Mg&&Lg.exception(e,`Failed to capture xhr breadcrumb`)}}function Gte(e,t){let{xhr:n,input:r}=t;if(!n)return;let i=c_(r),a=n.getResponseHeader(`content-length`)?l_(n.getResponseHeader(`content-length`)):Yte(n.response,n.responseType);i!==void 0&&(e.data.request_body_size=i),a!==void 0&&(e.data.response_body_size=a)}function Kte(e,t,n){let r=Date.now(),{startTimestamp:i=r,endTimestamp:a=r,input:o,xhr:s}=t,{url:c,method:l,status_code:u=0,request_body_size:d,response_body_size:f}=e.data;if(!c)return null;if(!s||!h_(c,n.networkDetailAllowUrls)||h_(c,n.networkDetailDenyUrls))return{startTimestamp:i,endTimestamp:a,url:c,method:l,statusCode:u,request:f_(d),response:f_(f)};let p=s[Zd],m=p?m_(p.request_headers,n.networkRequestHeaders):{},h=m_(of(s),n.networkResponseHeaders),[g,_]=n.networkCaptureBodies?rf(o,Lg):[void 0],[v,y]=n.networkCaptureBodies?qte(s):[void 0],b=p_(m,d,g),x=p_(h,f,v);return{startTimestamp:i,endTimestamp:a,url:c,method:l,statusCode:u,request:_?u_(b,_):b,response:y?u_(x,y):x}}function qte(e){let t=[];try{return[e.responseText]}catch(e){t.push(e)}try{return Jte(e.response,e.responseType)}catch(e){t.push(e)}return Mg&&Lg.warn(`Failed to get xhr response body`,...t),[void 0]}function Jte(e,t){try{if(typeof e==`string`)return[e];if(e instanceof Document)return[e.body.outerHTML];if(t===`json`&&Ee(e))return[JSON.stringify(e)];if(!e)return[void 0]}catch(t){return Mg&&Lg.exception(t,`Failed to serialize body`,e),[void 0,`BODY_PARSE_ERROR`]}return Mg&&Lg.log(`Skipping network body because of body type`,e),[void 0,`UNPARSEABLE_BODY_TYPE`]}function Yte(e,t){try{return c_(t===`json`&&Ee(e)?JSON.stringify(e):e)}catch{return}}function Xte(e){let t=cn();try{let{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:a,networkResponseHeaders:o}=e.getOptions(),s={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:a,networkResponseHeaders:o};t&&t.on(`beforeAddBreadcrumb`,(e,t)=>Zte(s,e,t))}catch{}}
23function Zte(e,t,n){if(t.data)try{Qte(t)&&ene(n)&&(Gte(t,n),Wte(t,n,e)),$te(t)&&tne(n)&&(Pte(t,n),Nte(t,n,e))}catch(e){Mg&&Lg.exception(e,`Error when enriching network breadcrumb`)}}function Qte(e){return e.category===`xhr`}function $te(e){return e.category===`fetch`}function ene(e){return e?.xhr}function tne(e){return e?.input!==void 0}function nne(e){let t=cn();Ld(Mee(e)),Wd(Ote(e)),yte(e),Xte(e),Ba(Ete(e)),t&&(t.on(`beforeSendEvent`,_te(e)),t.on(`afterSendEvent`,mte(e)),t.on(`createDsc`,t=>{let n=e.getSessionId();n&&e.isEnabled()&&e.recordingMode===`session`&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)}),t.on(`processSegmentSpan`,fte(e)),t.on(`spanStart`,t=>{e.lastActiveSpan=t}),t.on(`spanEnd`,t=>{e.lastActiveSpan=t}),t.on(`beforeSendFeedback`,async(t,n)=>{let r=e.getSessionId();n?.includeReplay&&e.isEnabled()&&r&&t.contexts?.feedback&&(t.contexts.feedback.source===`api`&&await e.sendBufferedReplayOrFlush(),t.contexts.feedback.replay_id=r)}),t.on(`openFeedbackWidget`,async()=>{await e.sendBufferedReplayOrFlush()}))}async function rne(e){try{return Promise.all(o_(e,[ine(hp.performance.memory)]))}catch{return[]}}function ine(e){let{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:`memory`,name:`memory`,start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function ane(e,t,n){return Ji(e,t,{...n,setTimeoutImpl:Xd})}var v_=p.navigator;function one(){return/iPhone|iPad|iPod/i.test(v_?.userAgent??``)||/Macintosh/i.test(v_?.userAgent??``)&&v_?.maxTouchPoints&&v_?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{}}function sne(e){let t=!1;return(n,r)=>{try{if(!e.checkAndHandleExpiredSession()){Mg&&Lg.warn(`Received replay event after session expired.`);return}let i=r||!t;t=!0,cne(n),e.clickDetector&&Dee(e.clickDetector,n),e.addUpdate(()=>{if(e.recordingMode===`buffer`&&i&&e.setInitialState(),!Yg(e,n,i))return!0;if(!i)return!1;let t=e.session;if(une(e,i),e.recordingMode===`buffer`&&t&&e.eventBuffer&&!t.dirty){let n=e.eventBuffer.getEarliestTimestamp();n&&(Mg&&Lg.log(`Updating session start time to earliest event in buffer to ${new Date(n)}`),t.started=n,e.getOptions().stickySession&&Ug(t))}return t?.previousSessionId||e.recordingMode===`session`&&e.flush(),!0})}catch(t){e.handleException(t)}}}function cne(e){let t=e.data;if(e.type===Eh.IncrementalSnapshot&&t&&typeof t==`object`&&`source`in t&&t.source===Dh.Mutation&&`attributes`in t&&Array.isArray(t.attributes))for(let e of t.attributes){let t=_g.mirror.getNode(e.id),n=t&&_g.mirror.getMeta(t);if(n?.type===Dg.Element)for(let[t,r]of Object.entries(e.attributes))r===null?delete n.attributes[t]:n.attributes[t]=r}}function lne(e){let t=e.getOptions();return{type:Eh.Custom,timestamp:Date.now(),data:{tag:`options`,payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:e.eventBuffer?e.eventBuffer.type===`worker`:!1,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}function une(e,t){t&&e.session?.segmentId===0&&Yg(e,lne(e),!1)}function dne(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function fne(e,t,n,r){return Xr(li(e,ci(e),r,n),[[{type:`replay_event`},e],[{type:`replay_recording`,length:typeof t==`string`?new TextEncoder().encode(t).length:t.length},t]])}function pne({recordingData:e,headers:t}){let n,r=`${JSON.stringify(t)} 24`;if(typeof e==`string`)n=`${r}${e}`;else{let t=new TextEncoder().encode(r);n=new Uint8Array(t.length+e.length),n.set(t),n.set(e,t.length)}return n}async function mne({client:e,scope:t,replayId:n,event:r}){let i={event_id:n,integrations:typeof e._integrations==`object`&&e._integrations!==null&&!Array.isArray(e._integrations)?Object.keys(e._integrations):void 0};e.emit(`preprocessEvent`,r,i);let a=await wa(e.getOptions(),r,i,t,e,an());if(!a)return null;e.emit(`postprocessEvent`,a,i),a.platform=a.platform||`javascript`;let{name:o,version:s,settings:c}=e.getSdkMetadata()?.sdk||{};return a.sdk={...a.sdk,name:o||`sentry.javascript.unknown`,version:s||`0.0.0`,settings:c},a}async function hne({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:i,session:a}){let o=pne({recordingData:e,headers:{segment_id:n}}),{urls:s,errorIds:c,traceIds:l,segmentNames:u,initialTimestamp:d}=r,f=cn(),p=rn(),m=f?.getTransport(),h=f?.getDsn();if(!f||!m||!h||!a.sampled)return Promise.resolve({});let g=await mne({scope:p,client:f,replayId:t,event:{type:_p,replay_start_timestamp:d/1e3,timestamp:i/1e3,error_ids:c,trace_ids:l,segment_names:u,urls:s,replay_id:t,segment_id:n,replay_type:a.sampled}});if(!g)return f.recordDroppedEvent(`event_processor`,`replay`),Mg&&Lg.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete g.sdkProcessingMetadata;let _=fne(g,o,h,f.getOptions().tunnel),v;try{v=await m.send(_)}catch(e){let t=Error(vp);try{t.cause=e}catch{}throw t}let y=Oo({},v);if(Do(y,`replay`))throw new b_(y);if(typeof v.statusCode==`number`&&(v.statusCode<200||v.statusCode>=300))throw new y_(v.statusCode);return v}
24var y_=class extends Error{constructor(e){super(`Transport returned status code ${e}`)}},b_=class extends Error{constructor(e){super(`Rate limit hit`),this.rateLimits=e}},x_=class extends Error{constructor(){super(`Session is too long, not sending replay`)}};async function S_(e,t={count:0,interval:wp}){let{recordingData:n,onError:r}=e;if(n.length)try{return await hne(e),!0}catch(n){if(n instanceof y_||n instanceof b_)throw n;if(La(`Replays`,{_retryCount:t.count}),r&&r(n),t.count>=Tp){let e=Error(`${vp} - max retries exceeded`);try{e.cause=n}catch{}throw e}return t.interval*=++t.count,new Promise((n,r)=>{Xd(async()=>{try{await S_(e,t),n(!0)}catch(e){r(e)}},t.interval)})}}var C_=`__THROTTLED`,gne=`__SKIPPED`;function _ne(e,t,n){let r=new Map,i=e=>{let t=e-n;r.forEach((e,n)=>{n<t&&r.delete(n)})},a=()=>[...r.values()].reduce((e,t)=>e+t,0),o=!1;return(...n)=>{let s=Math.floor(Date.now()/1e3);if(i(s),a()>=t){let e=o;return o=!0,e?gne:C_}o=!1;let c=r.get(s)||0;return r.set(s,c+1),e(...n)}}var vne=class{constructor({options:e,recordingOptions:t}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode=`session`,this.timeouts={sessionIdlePause:yp,sessionIdleExpire:bp},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,segmentNames:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:``},this._recordingOptions=t,this._options=e,this._debouncedFlush=ane(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=_ne((e,t)=>ute(this,e,t),300,5);let{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),i=n?{threshold:Math.min(Op,n),timeout:n,scrollTimeout:kp,ignoreSelector:r?r.join(`,`):``}:void 0;if(i&&(this.clickDetector=new Cee(this,i)),Mg){let t=e._experiments;Lg.setConfig({captureExceptions:!!t.captureExceptions,traceInternals:!!t.traceInternals})}this._handleVisibilityChange=()=>{hp.document.visibilityState===`visible`?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{let e=Eg({category:`ui.blur`});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=>{let e=Eg({category:`ui.focus`});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=>{Iee(this,e)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(e){Mg&&Lg.exception(e),this._options.onError&&this._options.onError(e)}initializeSampling(e){let{errorSampleRate:t,sessionSampleRate:n}=this._options,r=t<=0&&n<=0;if(this._requiresManualStart=r,!r){if(this._initializeSessionForSampling(e),!this.session){Mg&&Lg.exception(Error(`Unable to initialize and create session`));return}this.session.sampled!==!1&&(this.recordingMode=this.session.sampled===`buffer`&&this.session.segmentId===0?`buffer`:`session`,Mg&&Lg.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&this.recordingMode===`session`){Mg&&Lg.log(`Recording is already in progress`);return}if(this._isEnabled&&this.recordingMode===`buffer`){Mg&&Lg.log("Buffering is in progress, call `flush()` to save the replay");return}Mg&&Lg.infoTick(`Starting replay in session mode`),this._updateUserActivity();let e=Jg({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this.recordingMode=`session`,this._initializeRecording()}startBuffering(){if(this._isEnabled){Mg&&Lg.log("Buffering is in progress, call `flush()` to save the replay");return}Mg&&Lg.infoTick(`Starting replay in buffer mode`);let e=Jg({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode=`buffer`,this._initializeRecording()}startRecording(){try{let e=this._canvas;this._stopRecording=_g({...this._recordingOptions,...this.recordingMode===`buffer`?{checkoutEveryNms:Cp}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:sne(this),...one(),onMutation:this._onMutationHandler.bind(this),...e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}})}catch(e){this.handleException(e)}}stopRecording(){try{return this._stopRecording&&=(this._stopRecording(),void 0),!0}catch(e){return this.handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(!this._isEnabled)return;this._isEnabled=!1,this.recordingMode=`buffer`;let n=t??`manual`;cn()?.emit(`replayEnd`,{sessionId:this.session?.id,reason:n});try{Mg&&Lg.log(`Stopping Replay triggered by ${n}`),i_(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,ite(this)}catch(e){this.handleException(e)}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),Mg&&Lg.log(`Pausing replay`))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),Mg&&Lg.log(`Resuming replay`))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if(this.recordingMode===`session`)return this.flushImmediate();let t=Date.now();
24Mg&&Lg.log(`Converting buffer to session`),await this.flushImmediate();let n=this.stopRecording();e&&n&&this.recordingMode!==`session`&&(this.recordingMode=`session`,this.session&&(this.session.dirty=!1,this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession(),a_(this.session.id)),this.startRecording())}addUpdate(e){let t=e();this.recordingMode!==`buffer`&&this._isEnabled&&t!==!0&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return this.recordingMode===`buffer`?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(e){if(!(e&&this.session?.sampled===!1))return this.session?.id}checkAndHandleExpiredSession(){if(this._lastActivity&&Kg(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session?.sampled===`session`){this.pause();return}return!!this._checkSession()}setInitialState(){let e=`${hp.location.pathname}${hp.location.hash}${hp.location.search}`,t=`${hp.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){let n=this._throttledAddEvent(e,t);if(n===C_){let e=Eg({category:`replay.throttled`});this.addUpdate(()=>!Yg(this,{type:gee,timestamp:e.timestamp||0,data:{tag:`breadcrumb`,payload:e,metric:!0}}))}return n}getCurrentRoute(){let e=this.lastActiveSpan||Ar(),t=e&&Or(e),n=(t&&pr(t).data||{})[un];if(t&&n&&[`route`,`custom`].includes(n))return pr(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=tte({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.session&&cn()?.emit(`replayStart`,{sessionId:this.session.id,recordingMode:this.recordingMode}),this.startRecording(),this.recordingMode===`session`&&this.session&&a_(this.session.id)}_initializeSessionForSampling(e){let t=this._options.errorSampleRate>0,n=Jg({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;let e=this.session;return!qg(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:`sessionExpired`}),this.initializeSampling(e.id))}_addListeners(){try{hp.document.addEventListener(`visibilitychange`,this._handleVisibilityChange),hp.addEventListener(`blur`,this._handleWindowBlur),hp.addEventListener(`focus`,this._handleWindowFocus),hp.addEventListener(`keydown`,this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||=(nne(this),!0)}catch(e){this.handleException(e)}this._performanceCleanupCallback=Yee(this)}_removeListeners(){try{hp.document.removeEventListener(`visibilitychange`,this._handleVisibilityChange),hp.removeEventListener(`blur`,this._handleWindowBlur),hp.removeEventListener(`focus`,this._handleWindowFocus),hp.removeEventListener(`keydown`,this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this.handleException(e)}}_doChangeToBackgroundTasks(e){if(this.session){if(qg(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})){i_();return}e&&this._createCustomBreadcrumb(e),this.conditionalFlush()}}_doChangeToForegroundTasks(e){if(this.session){if(!this.checkAndHandleExpiredSession()){Mg&&Lg.log(`Document has become active, but session has expired`);return}e&&this._createCustomBreadcrumb(e)}}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:Eh.Custom,timestamp:e.timestamp||0,data:{tag:`breadcrumb`,payload:e}})})}_addPerformanceEntries(){let e=Bee(this.performanceEntries).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){let t=this._context.
24initialTimestamp/1e3;e=e.filter(e=>e.start>=t)}return Promise.all(o_(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.segmentNames.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart||e.segmentId)return;let n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){let e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),segmentNames:Array.from(this._context.segmentNames),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){let e=this.getSessionId();if(!this.session||!this.eventBuffer||!e){Mg&&Lg.error(`No session or eventBuffer found to flush.`);return}if(await this._addPerformanceEntries(),this.eventBuffer?.hasEvents&&(await rne(this),this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();let t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new x_;let n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession(),await S_({replayId:e,recordingData:await this.eventBuffer.finish(),segmentId:r,eventContext:n,session:this.session,timestamp:t,onError:e=>this.handleException(e)})}catch(e){this.handleException(e),this.stop({reason:`sendError`});let t=cn();if(t){let n;n=e instanceof b_?`ratelimit_backoff`:e instanceof x_?`invalid`:`send_error`,t.recordDroppedEvent(n,`replay`)}}}async _flush({force:e=!1}={}){if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession()){Mg&&Lg.error(`Attempting to finish replay event after session expired.`);return}if(!this.session)return;let t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();let r=n<this._options.minReplayDuration,i=n>this._options.maxReplayDuration+5e3;if(r||i){Mg&&Lg.log(`Session duration (${Math.floor(n/1e3)}s) is too ${r?`short`:`long`}, not sending replay.`),r&&this._debouncedFlush();return}let a=this.eventBuffer;a&&this.session.segmentId===0&&!a.hasCheckout&&Mg&&Lg.log(`Flushing initial segment without checkout.`);let o=!!this._flushLock;this._flushLock||=this._runFlush();try{await this._flushLock}catch(e){this.handleException(e)}finally{this._flushLock=void 0,o&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&Ug(this.session)}_onMutationHandler(e){let{ignoreMutations:t}=this._options._experiments;if(t?.length&&e.some(e=>{let n=dne(e.target),r=t.join(`,`);return n?.matches(r)}))return!1;let n=e.length,r=this._options.mutationLimit,i=this._options.mutationBreadcrumbLimit,a=r&&n>r;if(n>i||a){let e=Eg({category:`replay.mutations`,data:{count:n,limit:a}});this._createCustomBreadcrumb(e)}return!a||(this.stop({reason:`mutationLimit`,forceFlush:this.recordingMode===`session`}),!1)}};function w_(e,t){return[...e,...t].join(`,`)}function yne({mask:e,unmask:t,block:n,unblock:r,ignore:i}){return{maskTextSelector:w_(e,[`.sentry-mask`,`[data-sentry-mask]`]),unmaskTextSelector:w_(t,[]),blockSelector:w_(n,[`.sentry-block`,`[data-sentry-block]`,`base`,`iframe[srcdoc]:not([src])`]),unblockSelector:w_(r,[]),ignoreSelector:w_(i,[`.sentry-ignore`,`[data-sentry-ignore]`,`input[type="file"]`])}}function bne({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:i,value:a}){if(i.unmaskTextSelector&&e.matches(i.unmaskTextSelector))return a;let o=n.includes(t),s=r&&t===`value`&&e.tagName===`INPUT`&&[`submit`,`button`].includes(e.getAttribute(`type`)||``);return o||s?a.replace(/[\S]/g,`*`):a}var T_=`img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]`,xne=[`content-length`,`content-type`,`accept`],Sne=Symbol.for(`sentry__originalRequestBody`),E_=!1,D_=!1;function Cne(){if(typeof Request>`u`||D_)return;let e=Request;try{let t=function(t,n){let r=new e(t,n);return n?.body!=null&&(r[Sne]=n.body),r};t.prototype=e.prototype,p.Request=t,D_=!0}catch{}}var wne=(e=>new Tne(e)),Tne=class{constructor({flushMinDelay:e=xp,flushMaxDelay:t=Sp,minReplayDuration:n=jp,maxReplayDuration:r=Np,stickySession:i=!0,useCompression:a=!0,workerUrl:o,_experiments:s={},maskAllText:c=!0,maskAllInputs:l=!0,blockAllMedia:u=!0,mutationBreadcrumbLimit:d=750,mutationLimit:f=1e4,slowClickTimeout:p=7e3,slowClickIgnoreSelectors:m=[],networkDetailAllowUrls:h=[],networkDetailDenyUrls:g=[],networkCaptureBodies:_=!0,networkRequestHeaders:v=[],networkResponseHeaders:y=[],mask:b=[],maskAttributes:x=[`title`,`placeholder`,`aria-label`],unmask:S=[],block:C=[],unblock:w=[],ignore:T=[],maskFn:E,beforeAddRecordingEvent:D,beforeErrorSampling:O,onError:k,attachRawBodyFromRequest:A=!1}={}){this.name=`Replay`;let j=yne({mask:b,unmask:S,block:C,unblock:w,ignore:T});if(this._recordingOptions={maskAllInputs:l,maskAllText:c,maskInputOptions:{password:!0},maskTextFn:E,maskInputFn:E,maskAttributeFn:(e,t,n)=>bne({maskAttributes:x,maskAllText:c,privacyOptions:j,key:e,value:t,el:n}),...j,slimDOMOptions:`all`,inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!s.recordCrossOriginIframes},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,Mp),maxReplayDuration:Math.min(r,Np),stickySession:i,useCompression:a,workerUrl:o,blockAllMedia:u,maskAllInputs:l,maskAllText:c,mutationBreadcrumbLimit:d,mutationLimit:f,slowClickTimeout:p,slowClickIgnoreSelectors:m,networkDetailAllowUrls:h,networkDetailDenyUrls:g,networkCaptureBodies:_,networkRequestHeaders:O_(v),networkResponseHeaders:O_(y),beforeAddRecordingEvent:D,beforeErrorSampling:O,onError:k,attachRawBodyFromRequest:A,_experiments:s},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${T_}`:T_,this._recordingOptions.ignoreCSSAttributes=new Set([`background-image`])),this._isInitialized&&so())throw Error(`Multiple Sentry Session Replay instances are not supported`);this._isInitialized=!0}get _isInitialized(){return E_}set _isInitialized(e){E_=e}afterAllSetup(e){so()&&!this._replay&&(this._initialOptions.attachRawBodyFromRequest&&Cne(),this._setup(e),this._initialize(e))}start(){this._replay&&this._replay.start()}
24startBuffering(){this._replay&&this._replay.startBuffering()}stop(e){return this._replay?this._replay.stop({forceFlush:e?.flush??this._replay.recordingMode===`session`,reason:`manual`}):Promise.resolve()}flush(e){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(e){if(this._replay?.isEnabled())return this._replay.getSessionId(e)}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}processSpan(e){let t=this.getReplayId(!0);t&&(ua(e,{"sentry.replay_id":t}),this.getRecordingMode()===`buffer`&&ua(e,{"sentry._internal.replay_is_buffering":!0}))}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){let t=Ene(this._initialOptions,e);this._replay=new vne({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{let t=e.getIntegrationByName(`ReplayCanvas`);if(!t)return;this._replay._canvas=t.getOptions()}catch{}}};function Ene(e,t){let n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...e},i=Zn(n.replaysSessionSampleRate),a=Zn(n.replaysOnErrorSampleRate);return i==null&&a==null&&x(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),i!=null&&(r.sessionSampleRate=i),a!=null&&(r.errorSampleRate=a),r}function O_(e){return[...xne,...e.map(e=>e.toLowerCase())]}function Dne(e){return e.split(`,`).some(e=>e.trim().startsWith(`sentry-`))}function k_(e){try{return new URL(e,Ic.location.origin).href}catch{return}}function One(e){return e.entryType===`resource`&&`initiatorType`in e&&typeof e.nextHopProtocol==`string`&&(e.initiatorType===`fetch`||e.initiatorType===`xmlhttprequest`)}function A_(e){try{return new Headers(e)}catch{return}}var j_={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function kne(e,t){let{traceFetch:n,traceXHR:r,shouldCreateSpanForRequest:i,enableHTTPTimings:a,tracePropagationTargets:o,onRequestSpanStart:s,onRequestSpanEnd:c}
24={...j_,...t},l=typeof i==`function`?i:e=>!0,u=e=>jne(e,o),d={},f=e.getOptions().propagateTraceparent;n&&wc(t=>{let n=lc(t,l,u,d,{propagateTraceparent:f,onRequestSpanEnd:c});if(n){let r=k_(t.fetchData.url),i=r?us(r).host:void 0,o=r?fs(r):void 0;n.setAttributes({[ia]:o,[sa]:o,"server.address":i}),a&&M_(n,e),s?.(n,{headers:t.headers})}}),r&&Qd(t=>{let n=Mne(t,l,u,d,f,c);n&&(a&&M_(n,e),s?.(n,{headers:A_(t.xhr.__sentry_xhr_v3__?.request_headers)}))})}var Ane=300;function M_(e,t){let{url:n}=pr(e).data;if(!n||typeof n!=`string`)return;let r=()=>void setTimeout(i);if(yi(t)){let t=e.end.bind(e);e.end=e=>{let n=e??xt(),a=!1,o=()=>{a||(a=!0,setTimeout(i),t(n),clearTimeout(s))};r=o;let s=setTimeout(o,Ane)}}let i=uu(`resource`,({entries:t})=>{t.forEach(t=>{One(t)&&t.name.endsWith(n)&&(e.setAttributes(Vu(t)),r())})})}function jne(e,t){let n=Pc();if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch{return!1}let a=r.origin===i;return t?ot(r.toString(),t)||a&&ot(r.pathname,t):a}{let n=!!e.match(/^\/(?!\/)/);return t?ot(e,t):n}}function Mne(e,t,n,r,i,a){let o=e.xhr,s=o?.[Zd];if(!o||o.__sentry_own_request__||!s)return;let{url:c,method:l}=s,u=Pr()&&t(c);if(e.endTimestamp){let t=o.__sentry_xhr_span_id__;if(!t)return;let n=r[t];n&&(u&&s.status_code!==void 0&&(wn(n,s.status_code),n.end(),a?.(n,{headers:A_(of(o)),error:e.error})),delete r[t]);return}let d=k_(c),f=us(d||c),p=d?fs(d):void 0,m=fs(ds(c)),h=cn(),g=!!Ar(),_=g||!!h&&yi(h),v=u&&_?Oi({name:`${l} ${m}`,attributes:{url:fs(c),type:`xhr`,"http.method":l,"http.url":p,[sa]:p,"server.address":f?.host,[mn]:`auto.http.browser`,[pn]:`http.client`,...f?.search&&{"http.query":f?.search},...f?.hash&&{"http.fragment":f?.hash}}}):new Vr,y=Bi(v)&&g?void 0:v;return u&&!_&&h?.recordDroppedEvent(`no_parent_span`,`span`),o.__sentry_xhr_span_id__=v.spanContext().spanId,r[o.__sentry_xhr_span_id__]=v,n(c)&&Nne(o,Pr()&&_?y:void 0,i),h&&h.emit(`beforeOutgoingRequestSpan`,v,e),v}function Nne(e,t,n){let{"sentry-trace":r,baggage:i,traceparent:a}=bs({span:t,propagateTraceparent:n});r&&Pne(e,r,i,a)}function Pne(e,t,n,r){let i=e.__sentry_xhr_v3__?.request_headers;if(!i?.[`sentry-trace`]&&e.setRequestHeader)try{if(e.setRequestHeader(`sentry-trace`,t),r&&!i?.traceparent&&e.setRequestHeader(`traceparent`,r),n){let t=i?.baggage;(!t||!Dne(t))&&e.setRequestHeader(`baggage`,n)}}catch{}}var N_=new WeakMap,P_=new WeakMap,Fne=9e4,Ine=[`text/event-stream`,`application/x-ndjson`,`application/stream+json`],Lne=ro(()=>({name:`FetchStreamPerformance`,setup(){Tc(e=>{if(e.response){let t=N_.get(e.response);if(t&&e.endTimestamp){t.end(e.endTimestamp);let n=P_.get(e.response);n&&clearTimeout(n)}}}),wc(e=>{if(e.endTimestamp&&e.response){let t=e.response.headers?.get(`content-type`)||``;if(e.response.headers?.get(`content-length`)||!Ine.some(e=>t.startsWith(e)))return;let n=e.fetchData?.url||``,r=e.fetchData?.method||`GET`,i=cs(n),a=Oi({name:`${r} ${n.startsWith(`data:`)?fs(n):i?ls(i):n}`,startTime:e.endTimestamp,attributes:{url:fs(n),"http.method":r,type:`fetch`,[pn]:`http.client.stream`,[mn]:`auto.http.browser.stream`}});N_.set(e.response,a);let o=setTimeout(()=>{a.isRecording()&&a.end()},Fne);P_.set(e.response,o)}})}})),Rne=`WebVitals`,zne=ro((e={})=>{let t=new Set(e.ignore??[]);return{name:Rne,setup(n){let r=yi(n),{enableStandaloneClsSpans:i,enableStandaloneLcpSpans:a}=e._experiments??{},o=r||t.has(`cls`)?void 0:i||!1,s=r||t.has(`lcp`)?void 0:a||!1,c=Ju({recordClsStandaloneSpans:o,recordLcpStandaloneSpans:s,client:n}),l=new WeakSet;n.on(`afterStartPageLoadSpan`,e=>{l.add(e)}),n.on(`spanEnd`,e=>{l.delete(e)&&(c(),rd(e,{recordClsOnPageloadSpan:o===!1,recordLcpOnPageloadSpan:s===!1,spanStreamingEnabled:r}))}),r?(t.has(`lcp`)||Dd(n),t.has(`cls`)||kd(n),t.has(`inp`)||jd()):t.has(`inp`)||bd()},afterAllSetup(){t.has(`inp`)||Td()}}});function Bne(){Ic.document?Ic.document.addEventListener(`visibilitychange`,()=>{let e=Ar();if(!e)return;let t=Or(e);if(Ic.document.hidden&&t){let e=`cancelled`,{op:n,status:r}=pr(t);uf&&A.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:2,message:e}),t.setAttribute(`sentry.cancellation_reason`,`document.hidden`),t.end()}}):uf&&A.warn(`[Tracing] Could not set up background tab detection due to lack of global document`)}var F_=`sentry_previous_trace`,Vne=`sentry.previous_trace`;function Hne(e,{linkPreviousTrace:t,consistentTraceSampling:n}){let r=t===`session-storage`,i=r?Gne():void 0;e.on(`spanStart`,e=>{if(Or(e)!==e)return;let t=rn().getPropagationContext();i=Une(i,e,t),r&&Wne(i)});let a=!0;n&&e.on(`beforeSampling`,e=>{if(!i)return;let t=rn(),n=t.getPropagationContext();if(a&&n.parentSpanId){a=!1;return}t.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(i.sampleRate),sampled:String(I_(i.spanContext))},sampleRand:i.sampleRand}),e.parentSampled=I_(i.spanContext),e.parentSampleRate=i.sampleRate,e.spanAttributes={...e.spanAttributes,[fn]:i.sampleRate}})}function Une(e,t,n){let r=pr(t);function i(){try{let e=Number(r.data?.[`sentry.sample_rate`]??n.dsc?.sample_rate);return Number.isNaN(e)?0:e}catch{return 0}}let a={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:i(),sampleRand:n.sampleRand};if(!e)return a;let o=e.spanContext;return o.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(uf&&A.log(`Adding previous_trace \`${JSON.stringify(o)}\` link to span \`${JSON.stringify({op:r.op,...t.spanContext()})}\``),t.addLink({context:o,attributes:{[xn]:`previous_trace`}}),t.setAttribute(Vne,`${o.traceId}-${o.spanId}-${+!!I_(o)}`)),a)}function Wne(e){try{Ic.sessionStorage.setItem(F_,JSON.stringify(e))}catch(e){uf&&A.warn(`Could not store previous trace in sessionStorage`,e)}}function Gne(){try{let e=Ic.sessionStorage?.getItem(F_);return JSON.parse(e)}catch{return}}function I_(e){return e.traceFlags===1}var Kne=`BrowserTracing`,qne=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;function Jne(){let e=Ic.navigator;return e?.userAgent?qne.test(e.userAgent):!1}var Yne={...Vi,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
24dSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:`in-memory`,consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...j_},Xne=((e={})=>{`enableElementTiming`in e&&x(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});let t={name:void 0,source:void 0},n=Ic.document,{enableInp:r,enableLongTask:i,enableLongAnimationFrame:a,_experiments:{enableInteractions:o,enableStandaloneClsSpans:s,enableStandaloneLcpSpans:c},beforeStartSpan:l,idleTimeout:u,finalTimeout:d,childSpanTimeout:f,markBackgroundSpan:m,traceFetch:h,traceXHR:g,trackFetchStreamPerformance:_,shouldCreateSpanForRequest:v,enableHTTPTimings:y,ignoreResourceSpans:b,ignorePerformanceApiSpans:S,instrumentPageLoad:C,instrumentNavigation:w,detectRedirects:T,linkPreviousTrace:E,consistentTraceSampling:D,enableReportPageLoaded:O,onRequestSpanStart:k,onRequestSpanEnd:j}={...Yne,...e},M=Jne(),ee,N;function te(e,r,i=!0,a){let o=r.op===`pageload`,s=r.name,c=l?l(r):r,p=cs(a||Pc()),m={...p?.pathname&&{"url.path":p.pathname},...p&&!ss(p)&&{"url.full":p.href},...c.attributes};if(s!==c.name&&(m[un]=`custom`),c.attributes=m,!i){let e=vt();Oi({...c,startTime:e}).end(e);return}t.name=c.name,t.source=m[un];let h=Ki(c,{idleTimeout:u,finalTimeout:d,childSpanTimeout:f,disableAutoFinish:o,beforeSpanEnd:t=>{nd(t,{ignoreResourceSpans:b,ignorePerformanceApiSpans:S,spanStreamingEnabled:yi(e)}),U_(e,void 0);let n=rn(),r=n.getPropagationContext();n.setPropagationContext({...r,traceId:h.spanContext().traceId,sampled:yr(h),dsc:Jr(t)}),o&&(N=void 0)},trimIdleSpanEndTimestamp:!O});o&&O&&(N=h),U_(e,h);function g(){n&&[`interactive`,`complete`].includes(n.readyState)&&(e.emit(`idleSpanEnableAutoFinish`,h),n.removeEventListener(`readystatechange`,g))}o&&!O&&n&&(n.addEventListener(`readystatechange`,g),g())}return{name:Kne,setup(e){if(M){uf&&A.log(`[Tracing] Skipping browserTracingIntegration setup for bot user agent.`);return}if(Nr(),a&&p.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?.includes(`long-animation-frame`)?Xu():i&&Yu(),o&&Zu(),T&&n){let e=()=>{ee=xt()};addEventListener(`click`,e,{capture:!0}),addEventListener(`keydown`,e,{capture:!0,passive:!0})}function t(){let t=H_(e);t&&!pr(t).timestamp&&(uf&&A.log(`[Tracing] Finishing current active span with op: ${pr(t).op}`),t.setAttribute(hn,`cancelled`),t.end())}e.on(`startNavigationSpan`,(n,r)=>{if(cn()!==e)return;if(r?.isRedirect){uf&&A.warn(`[Tracing] Detected redirect, navigation span will not be the root span, but a child span.`),te(e,{op:`navigation.redirect`,...n},!1,r.url);return}ee=void 0,t();let i=rn();i.setPropagationContext({traceId:At(),sampleRand:Math.random(),propagationSpanId:Pr()?void 0:jt()}),i.setSDKProcessingMetadata({normalizedRequest:void 0}),te(e,{op:`navigation`,...n,parentSpan:null,forceTransaction:!0},!0,r?.url)}),e.on(`startPageLoadSpan`,(n,r={})=>{if(cn()!==e)return;t();let i=er(r.sentryTrace||z_(`sentry-trace`)||B_(`sentry-trace`),r.baggage||z_(`baggage`)||B_(`baggage`)),a=rn();a.setPropagationContext(i),Pr()||(a.getPropagationContext().propagationSpanId=jt()),a.setSDKProcessingMetadata({normalizedRequest:Vc()}),te(e,{op:`pageload`,...n})}),e.on(`endPageloadSpan`,()=>{O&&N&&(N.setAttribute(hn,`reportPageLoaded`),N.end())})},afterAllSetup(e){if(M)return;e.addIntegration&&!e.getIntegrationByName?.(`WebVitals`)&&e.addIntegration(zne({ignore:r?[]:[`inp`],_experiments:{enableStandaloneClsSpans:s,enableStandaloneLcpSpans:c}}));let n=Pc();if(E!==`off`&&Hne(e,{linkPreviousTrace:E,consistentTraceSampling:D}),Ic.location){if(C){let t=wt();L_(e,{name:Ic.location.pathname,startTime:t?t/1e3:void 0,attributes:{[un]:`url`,[mn]:`auto.pageload.browser`}})}w&&Wd(({to:t,from:r})=>{if(r===void 0&&n?.indexOf(t)!==-1){n=void 0;return}n=void 0;let i=cs(t),a=H_(e),o=a&&T&&Qne(a,ee);R_(e,{name:i?.pathname||Ic.location.pathname,attributes:{[un]:`url`,[mn]:`auto.navigation.browser`}},{url:t,isRedirect:o})})}m&&Bne(),o&&Zne(e,u,d,f,t),kne(e,{traceFetch:h,traceXHR:g,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:v,enableHTTPTimings:y,onRequestSpanStart:k,onRequestSpanEnd:j}),_&&e.addIntegration(Lne())}}});function L_(e,t,n){e.emit(`startPageLoadSpan`,t,n),rn().setTransactionName(t.name);let r=H_(e);return r&&e.emit(`afterStartPageLoadSpan`,r),r}function R_(e,t,n){let{url:r,isRedirect:i}=n||{};e.emit(`beforeStartNavigationSpan`,t,{isRedirect:i,url:r}),e.emit(`startNavigationSpan`,t,{isRedirect:i,url:r});let a=rn();return a.setTransactionName(t.name),r&&!i&&a.setSDKProcessingMetadata({normalizedRequest:{...Vc(),url:r}}),H_(e)}function z_(e){return(Ic.document?.querySelector(`meta[name=${e}]`))?.getAttribute(`content`)||void 0}function B_(e){return(Ic.performance?.getEntriesByType?.(`navigation`)[0])?.serverTiming?.find(t=>t.name===e)?.description}function Zne(e,t,n,r,i){let a=Ic.document,o;a&&addEventListener(`click`,()=>{let a=`ui.action.click`,s=H_(e);if(s){let e=pr(s).op;if([`navigation`,`pageload`].includes(e)){uf&&A.warn(`[Tracing] Did not create ${a} span because a pageload or navigation span is in progress.`);return}}if(o&&=(o.setAttribute(hn,`interactionInterrupted`),o.end(),void 0),!i.name){uf&&A.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`);return}o=Ki({name:i.name,op:a,attributes:{[un]:i.source||`url`}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r})},{capture:!0})}var V_=`_sentry_idleSpan`;function H_(e){return e[V_]}function U_(e,t){Ne(e,V_,t)}var W_=1.5;function Qne(e,t){let n=pr(e),r=vt();return!(r-n.start_timestamp>W_||t&&r-t<=W_)}var $ne=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.for(`react.view_transition`),m=Symbol.iterator;function h(e){return typeof e!=`object`||!e?null:(e=m&&e[m]||e[`@@iterator`],typeof e==`function`?e:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function b(){}b.prototype=y.prototype;function x(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}var S=x.prototype=new b;S.constructor=x,_(S,y.prototype),S.isPureReactComponent=!0;var C=Array.isArray;function w(){}var T={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function D(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function O(e,t){return D(e.type,t,e.props)}function k(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function A(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var j=/\/+/g;function M(e,t){return typeof e==`object`&&e&&e.key!=null?A(``+e.key):t.toString(36)}function ee(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(w,w):(e.status=`pending`,e.then(function(t){e.status===`pen
24ding`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function N(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,N(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+M(e,0):a,C(o)?(i=``,c!=null&&(i=c.replace(j,`$&/`)+`/`),N(o,r,i,``,function(e){return e})):o!=null&&(k(o)&&(o=O(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(j,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(C(e))for(var u=0;u<e.length;u++)a=e[u],s=l+M(a,u),c+=N(a,r,i,s,o);else if(u=h(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+M(a,u++),c+=N(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return N(ee(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function te(e,t,n){if(e==null)return e;var r=[],i=0;return N(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ne(e){if(e._status===-1){var t=e._result,n=t();n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t,n.status===void 0&&(n.status=`fulfilled`,n.value=t))},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t,n.status===void 0&&(n.status=`rejected`,n.reason=t))}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var re=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)};function ie(e){var t=T.T,n={};n.types=t===null?null:t.types,T.T=n;try{var r=e(),i=T.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(w,re)}catch(e){re(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),T.T=t}}function P(e){var t=T.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else ie(P.bind(null,e))}var F={map:te,forEach:function(e,t,n){te(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return te(e,function(){t++}),t},toArray:function(e){return te(e,function(e){return e})||[]},only:function(e){if(!k(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=F,e.Component=y,e.Fragment=r,e.Profiler=a,e.PureComponent=x,e.StrictMode=i,e.Suspense=l,e.ViewTransition=p,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return T.H.useMemoCache(e)}},e.addTransitionType=P,e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=_({},e.props),i=e.key;
24if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!E.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return D(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)E.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return D(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=k,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ne}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=ie,e.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},e.use=function(e){return T.H.use(e)},e.useActionState=function(e,t,n){return T.H.useActionState(e,t,n)},e.useCallback=function(e,t){return T.H.useCallback(e,t)},e.useContext=function(e){return T.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return T.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return T.H.useEffect(e,t)},e.useEffectEvent=function(e){return T.H.useEffectEvent(e)},e.useId=function(){return T.H.useId()},e.useImperativeHandle=function(e,t,n){return T.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return T.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return T.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return T.H.useMemo(e,t)},e.useOptimistic=function(e,t){return T.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return T.H.useReducer(e,t,n)},e.useRef=function(e){return T.H.useRef(e)},e.useState=function(e){return T.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return T.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return T.H.useTransition()},e.version=`19.3.0`})),G_=s(((e,t)=>{t.exports=$ne()}));function ere(e){return Te(e)&&`nativeEvent`in e&&`preventDefault`in e&&`stopPropagation`in e}var I=u(G_());function tre(e){let t={...e};ys(t,`react`),La(`react`,{version:I.version});let n=pp(t);return Je(nre),n}function nre(e){return ere(e)?`[SyntheticEvent]`:cp(e)}function rre(e){let t=e.match(/^([^.]+)/);return t!==null&&parseInt(t[0])>=17}function ire(e,t){let n=new WeakSet;function r(e,t){if(!n.has(e)){if(e.cause)return n.add(e),r(e.cause,t);e.cause=t}}r(e,t)}function are(e,{componentStack:t},n){if(rre(I.version)&&_e(e)&&t){let n=Error(e.message);n.name=`React ErrorBoundary ${e.name}`,n.stack=t,ire(e,n)}return Fa(e,n)}var ore={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},sre={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},cre={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},K_={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},lre=Symbol.for(`react.forward_ref`),q_=Symbol.for(`react.memo`);function ure(e){return typeof e==`object`&&!!e&&e.$$typeof===q_}var J_={};J_[lre]=cre,J_[q_]=K_;function Y_(e){if(ure(e))return K_;let t=e.$$typeof;return t&&J_[t]||ore}var dre=Object.defineProperty.bind(Object),fre=Object.getOwnPropertyNames.bind(Object),X_=Object.getOwnPropertySymbols?.bind(Object),Z_=Object.getOwnPropertyDescriptor.bind(Object),pre=Object.getPrototypeOf.bind(Object),Q_=Object.prototype;function $_(e,t,n){if(typeof t!=`string`){if(Q_){let n=pre(t);n&&n!==Q_&&$_(e,n)}let n=fre(t);X_&&(n=n.concat(X_(t)));let r=Y_(e),i=Y_(t);for(let a of n)if(!sre[a]&&!i?.[a]&&!r?.[a]&&!Z_(e,a)){let n=Z_(t,a);if(n)try{dre(e,a,n)}catch{}}}return e}var ev=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,tv={componentStack:null,error:null,eventId:null},mre=class extends I.Component{constructor(e){super(e),this.state=tv,this._openFallbackReportDialog=!0;let t=cn();t&&e.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=t.on(`afterSendEvent`,t=>{!t.type&&this._lastEventId&&t.event_id===this._lastEventId&&mp({...e.dialogOptions,eventId:this._lastEventId})}))}
24componentDidCatch(e,t){let{componentStack:n}=t,{beforeCapture:r,onError:i,showDialog:a,dialogOptions:o}=this.props;sn(s=>{r&&r(s,e,n);let c=are(e,t,{mechanism:{handled:this.props.handled==null?!!this.props.fallback:this.props.handled,type:`auto.function.react.error_boundary`}});i&&i(e,n,c),a&&(this._lastEventId=c,this._openFallbackReportDialog&&mp({...o,eventId:c})),this.setState({error:e,componentStack:n,eventId:c})})}componentDidMount(){let{onMount:e}=this.props;e&&e()}componentWillUnmount(){let{error:e,componentStack:t,eventId:n}=this.state,{onUnmount:r}=this.props;r&&(this.state===tv?r(null,null,null):r(e,t,n)),this._cleanupHook&&=(this._cleanupHook(),void 0)}resetErrorBoundary(){let{onReset:e}=this.props,{error:t,componentStack:n,eventId:r}=this.state;e&&e(t,n,r),this.setState(tv)}render(){let{fallback:e,children:t}=this.props,n=this.state;if(n.componentStack===null)return typeof t==`function`?t():t;let r=typeof e==`function`?I.createElement(e,{error:n.error,componentStack:n.componentStack,resetError:()=>this.resetErrorBoundary(),eventId:n.eventId}):e;return I.isValidElement(r)?r:(e&&ev&&A.warn(`fallback did not produce a valid ReactElement`),null)}};function nv(e,t){if(!t||t===`/`||!e.toLowerCase().startsWith(t.toLowerCase()))return e;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?e:e.slice(n)||`/`}var rv=new WeakMap;function hre(e,t,n){if(!e||!t?.length)return null;let r=n?nv(e,n):e,i=rv.get(t);i||(i=xre(t),rv.set(t,i),ev&&A.log(`[React Router] Sorted route manifest by specificity:`,i.length,`patterns`));for(let e of i)if(gre(r,e))return ev&&A.log(`[React Router] Matched pathname`,r,`to pattern`,e),e;return ev&&A.log(`[React Router] No manifest match found for pathname:`,r),null}function gre(e,t){if(t===`/`)return e===`/`||e===``;let n=av(e),r=av(t);if(r.length>0&&r[r.length-1]===`*`){let e=r.slice(0,-1);if(n.length<e.length)return!1;for(let[t,r]of e.entries())if(!iv(n[t],r))return!1;return!0}if(n.length!==r.length)return!1;for(let[e,t]of r.entries())if(!iv(n[e],t))return!1;return!0}function iv(e,t){return e===void 0||t===void 0?!1:ov.test(t)?!0:e===t}function av(e){return e.split(`/`).filter(Boolean)}var ov=/^:[\w-]+$/,_re=10,vre=3,yre=1,bre=-2;function sv(e){let t=e.split(`/`),n=t.length;t.includes(`*`)&&(n+=bre);for(let e of t)if(e===`*`)continue;else ov.test(e)?n+=vre:n+=e===``?yre:_re;return n}function xre(e){return[...e].sort((e,t)=>{let n=sv(e);return sv(t)-n})}var cv,lv=!1;function Sre(e,t=!1){cv=e,lv=t}function Cre(e){return dv(e.route.path||``)}function uv(e){return e.params[`*`]||``}function dv(e){return e[e.length-1]===`*`?e.slice(0,-1):e}function fv(e){return e[e.length-1]===`/`?e.slice(0,-1):e}function pv(e){return e.endsWith(`*`)}function mv(e){return e.includes(`/*`)||e.endsWith(`*`)}function hv(e,t){return pv(e)&&!!t.route.children?.length||!1}function gv(e){return!!(!e.children&&e.element&&e.path?.endsWith(`/*`))}function wre(e,t,n){let r=e&&e.length>0?e:lv?nv(t,n):t,i=r.slice(-2)===`/*`?r.slice(0,-2):r;return i.length>1&&i[i.length-1]===`/`&&(i=i.slice(0,-1)),[i,`route`]}function _v(e){return e.split(/\\?\//).filter(e=>e.length>0&&e!==`,`).length}function vv(e){return e[0]===`/`?e:`/${e}`}function yv(e,t){let n=cv(e,t);if(!n||n.length===0)return``;for(let r of n)if(r.route.path&&r.route.path!==`*`){let n=Cre(r),i=nv(t.pathname,vv(r.pathnameBase));return t.pathname===i?fv(i):fv(fv(n||``)+vv(yv(e.filter(e=>e!==r.route),{pathname:i})))}return``}function Tre(e,t,n){let r=t.filter(gv);if(!r.length)return;let i=cv(r,e),a=i?.[i.length-1];if(!a||!uv(a))return;let o=fv(dv(a.route.path||``));if(!o)return;let s=vv(o),c=o.split(`/`)[0],l=c?.startsWith(`:`)&&n?.split(`/`).includes(c);if(n===s||n?.startsWith(`${s}/`)||l)return;let u=nv(e.pathname,vv(a.pathnameBase))||`/`,d=yv(t.filter(e=>e!==a.route),{pathname:u});return d?vv(`${o}${vv(d)}`):void 0}function Ere(e,t){let n=cv(t,e);if(n){for(let e of n)if(gv(e.route)&&uv(e))return!0}return!1}function bv(e,t){return lv?nv(e.pathname,t):e.pathname||``}function Dre(e,t,n,r=``){if(!e||e.length===0)return[lv?nv(t.pathname,r):t.pathname,`url`];if(!n)return[bv(t,r),`url`];let i=``;for(let e of n){let n=e.route;if(!n)continue;if(n.index)return wre(i,e.pathname,r);let a=n.path;if(!a||hv(a,e))continue;let o=a[0]===`/`||i[i.length-1]===`/`?a:`/${a}`;if(i=fv(i)+vv(o),fv(t.pathname)===fv(r+e.pathname))return _v(i)!==_v(e.pathname)&&!pv(i)?[(lv?``:r)+o,`route`]:(hv(i,e)&&(i=i.slice(0,-1)),[(lv?``:r)+i,`route`])}return[bv(t,r),`url`]}function xv(e,t,n,r,i=``,a,o){if(o&&a&&a.length>0){let t=hre(e.pathname,a,i);if(t)return[(lv?``:i)+t,`route`]}let s,c=`url`,l=Ere(e,n);l&&(s=vv(yv(n,e)),c=`route`),(!l||!s)&&([s,c]=Dre(t,e,r,i));let u=Tre(e,n,s);return u?[u,`route`]:[s||e.pathname,c]}function Sv(){let e=Ar(),t=e?Or(e):void 0;if(!t)return;let n=pr(t).op;return n===`navigation`||n===`pageload`?t:void 0}var Cv,wv,Tv,Ev,Dv,Ov=!1,kv=3e3,Av,jv=new WeakSet,Mv=Ic?.document?I.useLayoutEffect:I.useEffect,Nv=new WeakMap,Pv=new Set,Ore=new WeakMap;function kre(e){return`${e.pathname}${e.search||``}${e.hash||``}`}function Fv(e){return e.includes(`:`)||e.includes(`*`)}function Are(e,t,n,r){if(!e)return{skip:!1,shouldUpdate:!1};if(e.locationKey===t&&(e.isPlaceholder||!r)){let t=!!e.routeName&&mv(e.routeName),r=mv(n),i=!!e.routeName&&Fv(e.routeName),a=Fv(n),o=t&&!r,s=!i&&a,c=n!==e.routeName&&n.length>(e.routeName?.length||0)&&!r;return{skip:!0,shouldUpdate:!!(e.routeName&&(o||s||c))}}return{skip:!1,shouldUpdate:!1}}function jre(e,t){let n=Xne({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{useEffect:r,useLocation:i,useNavigationType:a,createRoutesFromChildren:o,matchRoutes:s,stripBasename:c,enableAsyncRouteHandlers:l=!1,instrumentPageLoad:u=!0,instrumentNavigation:d=!0,lazyRouteTimeout:f,lazyRouteManifest:p}=e;return{...n,setup(t){n.setup(t);let u=e.finalTimeout??3e4,d=(e.idleTimeout??1e3)*3,m=f??d;m===1/0?(kv=u,ev&&A.log(`[React Router] lazyRouteTimeout set to Infinity, capping at finalTimeout:`,u,`ms to prevent indefinite hangs`)):Number.isNaN(m)?(ev&&A.warn(`[React Router] lazyRouteTimeout must be a number, falling back to default:`,d),kv=d):m<0?(ev&&A.warn(`[React Router] lazyRouteTimeout must be non-negative or Infinity, got:`,m,`falling back to:`,d),kv=d):kv=m,Cv=r,wv=i,Tv=a,Dv=s,Ev=o,Ov=l,Av=p,Sre(s,c||!1)},afterAllSetup(e){n.afterAllSetup(e);let r=Ic.location?.pathname;u&&r&&L_(e,{name:r,attributes:{[un]:`url`,[pn]:`pageload`,[mn]:`auto.pageload.react.reactrouter${t?`_v${t}`:``}`}}),d&&jv.add(e)}}}function Mre(e){let{location:t,routes:n,navigationType:r,version:i,matches:a,basename:o,allRoutes:s}=e,c=Array.isArray(a)?a:Dv(s||n,t,o),l=cn();if(!l||!jv.has(l))return;let u=Sv();if(!(u&&pr(u).op===`pageload`&&r===`POP`)&&(r===`PUSH`||r===`POP`)&&c){let[e,r]=xv(t,s||n,s||n,c,o,Av,Ov),a=kre(t),u=Nv.get(l),{skip:d,shouldUpdate:f}=Are(u,a,e,u&&!u.isPlaceholder?!!pr(u.span).timestamp:!1);if(d){if(f&&u){let t=u.routeName;u.isPlaceholder?(u.routeName=e,ev&&A.log(`[Tracing] Updated placeholder navigation name from "${t}" to "${e}" (will apply to real span)`)):(u.span.updateName(e),u.span.setAttribute(un,r),r===`route`&&u.span.setAttribute(ca,e),Ne(u.span,`__sentry_navigation_name_set__`,!0),u.routeName=e,ev&&A.log(`[Tracing] Updated navigation span name from "${t}" to "${e}"`))}else ev&&A.log(`[Tracing] Skipping duplicate navigation for location: ${a}`);return}let p={span:{end:()=>{}},routeName:e,pathname:t.pathname,locationKey:a,isPlaceholder:!0};Nv.set(l,p);let m;try{m=R_(l,{name:p.routeName,attributes:{[un]:r,[pn]:`navigation`,[mn]:`auto.navigation.react.reactrouter${i?`_v${i}`:``}`,...r===`route`&&{"url.template":p.routeName}}})}catch(e){throw Nv.delete(l),e}m?(Nv.set(l,{span:m,routeName:p.routeName,pathname:t.pathname,locationKey:a}),Bv(m,t,n,o,`navigation`)):Nv.delete(l)}}function Nre(e){let t=[];
24return e.forEach(e=>{Iv(e).forEach(e=>{Pv.add(e),t.push(e)})}),t}function Pre(e){e.forEach(e=>{Pv.delete(e)})}function Iv(e,t=new Set){return t.has(e)||(t.add(e),e.children&&!e.index&&e.children.forEach(e=>{Iv(e,t).forEach(e=>{t.add(e)})})),t}function Lv({activeRootSpan:e,location:t,routes:n,matches:r,basename:i,allRoutes:a}){let o=Array.isArray(r)?r:Dv(a||n,t,i);if(o){let[r,s]=xv(t,a||n,a||n,o,i,Av,Ov);rn().setTransactionName(r||`/`),e&&(e.updateName(r),e.setAttribute(un,s),s===`route`&&e.setAttribute(ca,r),Bv(e,t,n,i,`pageload`))}else e&&Bv(e,t,n,i,`pageload`)}function Rv(e,t,n,r,i=!1){return n?!!(!e&&i||e&&mv(e)&&r===`route`&&!mv(n)||t!==`route`&&r===`route`):!1}function zv(e,t,n,r,i,a,o,s){try{let c=t.data?.[un];if(c===`route`&&n&&!mv(n))return;let l=Array.from(s),u=l.length>0?l:i,d=Dv(u,r,a);if(!d)return;let[f,p]=xv(r,u,u,d,a,Av,Ov),m=Rv(n,c,f,p,!0),h=o===`pageload`||!t.timestamp;m&&h&&(e.updateName(f),e.setAttribute(un,p),p===`route`&&e.setAttribute(ca,f))}catch(e){ev&&A.warn(`Error updating span details before ending: ${e}`)}}function Bv(e,t,n,r,i){let a=`__sentry_${i}_end_patched__`;if(e?.[a]||!e.end)return;let o=e.end.bind(e),s=!1;e.end=function(...a){if(s)return;s=!0;let c=a.length>0?a[0]:Date.now()/1e3,l=pr(e),u=l.description,d=l.data?.[un],f=()=>{let t=cn();if(t&&i===`navigation`){let n=Nv.get(t);n&&n.span===e&&Nv.delete(t)}},p=Ore.get(e),m=e.__sentry_may_have_lazy_routes__;if((p&&p.size>0||m)&&u&&(mv(u)||d!==`route`)){if(kv===0){zv(e,l,u,t,n,r,i,Pv),f(),o(c);return}let a=new Promise(e=>setTimeout(e,kv)),s;if(p&&p.size>0){let e=Promise.allSettled(p).then(()=>{});s=kv===1/0?e:Promise.race([e,a])}else s=a;s.then(()=>{let a=pr(e);zv(e,a,a.description,t,n,r,i,Pv),f(),o(c)}).catch(()=>{f(),o(c)});return}zv(e,l,u,t,n,r,i,Pv),f(),o(c)},Ne(e,a,!0)}function Fre(e,t){if(!Cv||!wv||!Tv||!Ev||!Dv)return ev&&A.warn(`reactRouterV6Instrumentation was unable to wrap Routes because of one or more missing parameters. 25 useEffect: ${Cv}. useLocation: ${wv}. useNavigationType: ${Tv}. 26 createRoutesFromChildren: ${Ev}. matchRoutes: ${Dv}.`),e;let n=n=>{let r=I.useRef(!0),i=wv(),a=Tv(),o=Ev(n.children);return Mv(()=>{let e=Nre(o);return()=>Pre(e)}),Mv(()=>{r.current?(Lv({activeRootSpan:Sv(),location:i,routes:o,allRoutes:Array.from(Pv)}),r.current=!1):Mre({location:i,routes:o,navigationType:a,version:t,allRoutes:Array.from(Pv)})},[i,a]),I.createElement(e,{...n})};return $_(n,e),n}function Ire(e){return Fre(e,`6`)}function Lre(e){return jre(e,`7`)}var Rre=s((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&j(x,t.startTime-e)}}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function D(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&j(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,A=k.port2;k.port1.onmessage=D,O=function(){A.postMessage(null)}}else O=function(){_(D,0)};function j(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,j(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),zre=s(((e,t)=>{t.exports=Rre()})),Bre=s((e=>{var t=G_();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`),o=Symbol.for(`react.recoverable`),s=Symbol.for(`react.optimistic_key`);
26function c(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:r===s?s:``+r,children:e,containerInfo:t,implementation:n}}var l=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.browser=function(e){return{$$typeof:o,_reason:e}},e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return c(e,t,null,r)},e.flushSync=function(e){var t=l.T,n=i.p;try{if(l.T=null,i.p=2,e)return e()}finally{l.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=u(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`){if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=u(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}}else t??i.d.M(e)}},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=u(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`){if(t){var n=u(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}else i.d.m(e)}},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return l.H.useFormState(e,t,n)},e.useFormStatus=function(){return l.H.useHostTransitionStatus()},e.version=`19.3.0`})),Vv=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=Bre()})),Vre=s((e=>{var t=zre(),n=G_(),r=Vv();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){for(var t=e,n=t;n&&!n.alternate;)t=n,t.flags&4098&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}function f(e,t,n,r,i,a){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&n(e,r,i,a)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&f(e.child,t,n,r,i,a))return!0;e=e.sibling}return!1}function p(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function m(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),e.tag!==3&&e.tag!==5&&e.tag!==27);)e=e.return;return t}
vendor: 4,085 bytes, lines 26-28
26function h(e){var t=[null,null],n=p(e);return n===null||g(t,e,n.child,{foundSelf:!1}),t}function g(e,t,n,r){for(;n!==null;){if(n===t)r.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(r.foundSelf)return e[1]=n,!0;e[0]=n}else if((n.tag!==22||n.memoizedState===null)&&g(e,t,n.child,r))return!0;n=n.sibling}return!1}function _(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(i(559))}}var v=null,y=null;function b(e,t,n){return e===n||e===t&&(v=e,!0)}function x(e,t,n){return e===n?(y=e,!1):e===t&&(y!==null&&(v=e),!0)}function S(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function C(e,t,n){for(var r=0,i=e;i;i=n(i))r++;i=0;for(var a=t;a;a=n(a))i++;for(;0<r-i;)e=n(e),r--;for(;0<i-r;)t=n(t),i--;for(;r--;){if(e===t||t!==null&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var w=Object.assign,T=Symbol.for(`react.element`),E=Symbol.for(`react.transitional.element`),D=Symbol.for(`react.portal`),O=Symbol.for(`react.fragment`),k=Symbol.for(`react.strict_mode`),A=Symbol.for(`react.profiler`),j=Symbol.for(`react.consumer`),M=Symbol.for(`react.context`),ee=Symbol.for(`react.forward_ref`),N=Symbol.for(`react.suspense`),te=Symbol.for(`react.suspense_list`),ne=Symbol.for(`react.memo`),re=Symbol.for(`react.lazy`),ie=Symbol.for(`react.activity`),P=Symbol.for(`react.legacy_hidden`),F=Symbol.for(`react.memo_cache_sentinel`),ae=Symbol.for(`react.view_transition`),oe=Symbol.for(`react.recoverable`),se=Symbol.iterator;function ce(e){return typeof e!=`object`||!e?null:(e=se&&e[se]||e[`@@iterator`],typeof e==`function`?e:null)}var le=Symbol.for(`react.client.reference`);function ue(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===le?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case O:return`Fragment`;case A:return`Profiler`;case k:return`StrictMode`;case N:return`Suspense`;case te:return`SuspenseList`;case ie:return`Activity`;case ae:return`ViewTransition`}if(typeof e==`object`)switch(e.$$typeof){case D:return`Portal`;case M:return e.displayName||`Context`;case j:return(e._context.displayName||`Context`)+`.Consumer`;case ee:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ne:return t=e.displayName||null,t===null?ue(e.type)||`Memo`:t;case re:t=e._payload,e=e._init;try{return ue(e(t))}catch{}}return null}var de=Array.isArray,fe=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,pe=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,me={pending:!1,data:null,method:null,action:null},he=[],ge=-1;function _e(e){return{current:e}}function ve(e){0>ge||(e.current=he[ge],he[ge]=null,ge--)}function ye(e,t){ge++,he[ge]=e.current,e.current=t}var be=_e(null),xe=_e(null),Se=_e(null),Ce=_e(null);function we(e,t){switch(ye(Se,t),ye(xe,e),ye(be,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Tp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Tp(t),e=Ep(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}ve(be),ye(be,e)}function Te(){ve(be),ve(xe),ve(Se)}function Ee(e){var t=e.memoizedState;t!==null&&(Sh._currentValue=t.memoizedState,ye(Ce,e)),t=be.current;var n=Ep(t,e.type);t!==n&&(ye(xe,e),ye(be,n))}function De(e){xe.current===e&&(ve(be),ve(xe)),Ce.current===e&&(ve(Ce),Sh._currentValue=me)}var Oe,ke;function Ae(e){if(Oe===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Oe=t&&t[1]||``,ke=-1<e.stack.indexOf(` 27 at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return` 28`+Oe+e+ke}var je=!1;function Me(e,t){if(!e||je)return``;je=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}
28else{try{n.call()}catch(e){r=e}n=!1;try{var i=Object.getOwnPropertyDescriptor(e.prototype,`props`);Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),n=!0,new e}finally{n&&(i===void 0?delete e.prototype.props:Object.defineProperty(e.prototype,"props",i))}}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(` 29`),l=s.split(` 30`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=` 31`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{je=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Ae(n):``}function Ne(e,t){switch(e.tag){case 26:case 27:case 5:return Ae(e.type);case 16:return Ae(`Lazy`);case 13:return e.child!==t&&t!==null?Ae(`Suspense Fallback`):Ae(`Suspense`);case 19:return Ae(`SuspenseList`);case 0:case 15:return Me(e.type,!1);case 11:return Me(e.type.render,!1);case 1:return Me(e.type,!0);case 31:return Ae(`Activity`);case 30:return Ae(`ViewTransition`);default:return``}}function Pe(e){try{var t=``,n=null;do t+=Ne(e,n),n=e,e=e.return;while(e);return t}catch(e){return` 32Error generating stack: `+e.message+` 33`+e.stack}}var Fe=Object.prototype.hasOwnProperty,Ie=t.unstable_scheduleCallback,Le=t.unstable_cancelCallback,Re=t.unstable_shouldYield,ze=t.unstable_requestPaint,Be=t.unstable_now,Ve=t.unstable_getCurrentPriorityLevel,He=t.unstable_ImmediatePriority,Ue=t.unstable_UserBlockingPriority,We=t.unstable_NormalPriority,Ge=t.unstable_LowPriority,Ke=t.unstable_IdlePriority,qe=t.log,Je=t.unstable_setDisableYieldValue,Ye=null,Xe=null;function Ze(e){if(typeof qe==`function`&&Je(e),Xe&&typeof Xe.setStrictMode==`function`)try{Xe.setStrictMode(Ye,e)}catch{}}var Qe=Math.clz32?Math.clz32:tt,$e=Math.log,et=Math.LN2;function tt(e){return e>>>=0,e===0?32:31-($e(e)/et|0)|0}var nt=256,rt=262144,it=4194304;function at(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ot(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=at(n))):i=at(o):i=at(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=at(n))):i=at(o)):i=at(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function st(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function ct(e,t){t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var r=31-Qe(n),i=1<<r;t|=e[r],n&=~i}return t}function lt(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ut(){var e=it;return it<<=1,!(it&62914560)&&(it=4194304),e}function dt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}
vendor: 4,918 bytes, line 33
33function ft(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function pt(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Qe(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&mt(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function mt(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Qe(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function ht(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Qe(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function gt(e,t){var n=t&-t;return n=n&42?1:_t(n),(n&(e.suspendedLanes|t))===0?n:0}function _t(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function vt(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function yt(){var e=pe.p;return e===0?(e=window.event,e===void 0?32:Rh(e.type)):e}function bt(e,t){var n=pe.p;try{return pe.p=e,t()}finally{pe.p=n}}var xt=Math.random().toString(36).slice(2),St=`__reactFiber$`+xt,Ct=`__reactProps$`+xt,wt=`__reactContainer$`+xt,Tt=`__reactEvents$`+xt,Et=`__reactListeners$`+xt,Dt=`__reactHandles$`+xt,Ot=`__reactResources$`+xt,kt=`__reactMarker$`+xt,At=`__reactLoad$`+xt;function jt(e){delete e[St],delete e[Ct],delete e[Et],delete e[Dt]}function Mt(e){var t;if(t=e[St])return t;for(var n=e.parentNode;n;){if(t=n[wt]||n[St]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Dm(e);e!==null;){if(n=e[St])return n;e=Dm(e)}return t}e=n,n=e.parentNode}return null}function Nt(e){if(e=e[St]||e[wt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Pt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function Ft(e){var t=e[Ot];return t||=e[Ot]={hoistableStyles:new Map,hoistableScripts:new Map},t}function It(e){e[kt]=!0}function Lt(e){e[At]=void 0}var Rt=new Set,zt={};function Bt(e,t){Vt(e,t),Vt(e+`Capture`,t)}function Vt(e,t){for(zt[e]=t,e=0;e<t.length;e++)Rt.add(t[e])}var Ht=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),Ut={},Wt={};function Gt(e){return Fe.call(Wt,e)?!0:Fe.call(Ut,e)?!1:Ht.test(e)?Wt[e]=!0:(Ut[e]=!0,!1)}var Kt=!1;function qt(){var e=Kt;return Kt=!1,e}function Jt(e,t,n){if(Gt(t)){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,n)}}}function Yt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,n)}}function Xt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,r)}}function Zt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Qt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function $t(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function en(e){if(!e._valueTracker){var t=Qt(e)?`checked`:`value`;e._valueTracker=$t(e,t,``+e[t])}}function tn(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Qt(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}var nn=/[\n"\\]/g;function rn(e){return e.replace(nn,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}
33function an(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Zt(t)):e.value!==``+Zt(t)&&(e.value=``+Zt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):sn(e,Zt(n)):o===`number`&&e.value==t?sn(e,Zt(e.value)):sn(e,Zt(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Zt(s):e.removeAttribute(`name`)}function on(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){en(e);return}n=n==null?``:``+Zt(n),t=t==null?n:``+Zt(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),en(e)}function sn(e,t){e.defaultValue!==``+t&&(e.defaultValue=``+t)}function cn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Zt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}
vendor: 13,448 bytes, line 33
33function ln(e,t,n){if(t!=null&&(t=``+Zt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Zt(n)}function un(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(de(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=Zt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),en(e)}function dn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var fn=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function pn(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||fn.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function mn(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``,Kt=!0);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&(pn(e,a,r),Kt=!0)}else for(var o in t)t.hasOwnProperty(o)&&pn(e,o,t[o])}function hn(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var gn=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`maskType`,`mask-type`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),_n=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function vn(e){return _n.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function yn(){}var bn=null;function xn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Sn=null,Cn=null;function wn(e){var t=Nt(e);if(t&&(e=t.stateNode)){var n=e[Ct]||null;a:switch(e=t.stateNode,t.type){case`input`:if(an(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+rn(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[Ct]||null;if(!a)throw Error(i(90));an(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&tn(r)}break a;case`textarea`:ln(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&cn(e,!!n.multiple,t,!1)}}}var Tn=!1;function En(e,t,n){if(Tn)return e(t,n);Tn=!0;try{return e(t)}finally{if(Tn=!1,(Sn!==null||Cn!==null)&&(Zd(),Sn&&(t=Sn,e=Cn,Cn=Sn=null,wn(t),e)))for(t=0;t<e.length;t++)wn(e[t])}}function Dn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[Ct]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=e!==`button`&&e!==`input`&&e!==`select`&&e!==`textarea`),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var On=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),kn=!1;if(On)try{var An={};Object.defineProperty(An,"passive",{get:function(){kn=!0}}),window.addEventListener(`test`,An,An),window.removeEventListener(`test`,An,An)}catch{kn=!1}var jn=null,Mn=null,Nn=null;function Pn(){if(Nn)return Nn;var e,t=Mn,n=t.length,r,i=`value`in jn?jn.value:jn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return Nn=i.slice(e,1<r?1-r:void 0)}function Fn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function In(){return!0}function Ln(){return!1}function Rn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?In:Ln,this.isPropagationStopped=Ln,this}return w(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=In)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=In)},persist:function(){},isPersistent:In}),t}var zn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bn=Rn(zn),Vn=w({},zn,{view:0,detail:0}),Hn=Rn(Vn),Un,Wn,Gn,Kn=w({},Vn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:rr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==Gn&&(Gn&&e.type===`mousemove`?(Un=e.screenX-Gn.screenX,Wn=e.screenY-Gn.screenY):Wn=Un=0,Gn=e),Un)},movementY:function(e){return`movementY`in e?e.movementY:Wn}}),qn=Rn(Kn),Jn=Rn(w({},Kn,{dataTransfer:0})),Yn=Rn(w({},Vn,{relatedTarget:0})),Xn=Rn(w({},zn,{animationName:0,elapsedTime:0,pseudoElement:0})),Zn=Rn(w({},zn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Qn=Rn(w({},zn,{data:0})),$n={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},er={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},tr={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function nr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=tr[e])?!!t[e]:!1}function rr(){return nr}var ir=Rn(w({},Vn,{key:function(e){if(e.key){var t=$n[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=Fn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?er[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:rr,charCode:function(e){return e.type===`keypress`?Fn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?Fn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),ar=Rn(w({},Kn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),or=Rn(w({},zn,{submitter:0})),sr=Rn(w({},Vn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:rr})),cr=Rn(w({},zn,{propertyName:0,elapsedTime:0,pseudoElement:0})),lr=Rn(w({},Kn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),ur=Rn(w({},zn,{newState:0,oldState:0,source:0})),dr=[9,13,27,32],fr=On&&`CompositionEvent`in window,pr=null;On&&`documentMode`in document&&(pr=document.documentMode);var mr=On&&`TextEvent`in window&&!pr,hr=On&&(!fr||pr&&8<pr&&11>=pr),gr=` `,_r=!1;function vr(e,t){switch(e){case`keyup`:return dr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function yr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var br=!1;function xr(e,t){switch(e){case`compositionend`:return yr(t);case`keypress`:return t.which===32?(_r=!0,gr):null;case`textInput`:return e=t.data,e===gr&&_r?null:e;default:return null}}function Sr(e,t){if(br)return e===`compositionend`||!fr&&vr(e,t)?(e=Pn(),Nn=Mn=jn=null,br=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return hr&&t.locale!==`ko`?null:t.data;default:return null}}var Cr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function wr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!Cr[e.type]:t===`textarea`}function Tr(e,t,n,r){Sn?Cn?Cn.push(r):Cn=[r]:Sn=r,t=cp(t,`onChange`),0<t.length&&(n=new Bn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var Er=null,Dr=null;function Or(e){ep(e,0)}function kr(e){if(tn(Pt(e)))return e}function Ar(e,t){if(e===`change`)return t}var jr=!1;if(On){var Mr;if(On){var Nr=`oninput`in document;if(!Nr){var Pr=document.createElement(`div`);Pr.setAttribute(`oninput`,`return;`),Nr=typeof Pr.oninput==`function`}Mr=Nr}else Mr=!1;jr=Mr&&(!document.documentMode||9<document.documentMode)}function Fr(){Er&&(Er.detachEvent(`onpropertychange`,Ir),Dr=Er=null)}function Ir(e){if(e.propertyName===`value`&&kr(Dr)){var t=[];Tr(t,Dr,e,xn(e)),En(Or,t)}}function Lr(e,t,n){e===`focusin`?(Fr(),Er=t,Dr=n,Er.attachEvent(`onpropertychange`,Ir)):e===`focusout`&&Fr
vendor: 6,118 bytes, line 33
33()}function Rr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return kr(Dr)}function zr(e,t){if(e===`click`)return kr(t)}function Br(e,t){if(e===`input`||e===`change`)return kr(t)}function Vr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Hr=typeof Object.is==`function`?Object.is:Vr;function Ur(e,t){if(Hr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Fe.call(t,i)||!Hr(e[i],t[i]))return!1}return!0}function Wr(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function Gr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Kr(e,t){var n=Gr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Gr(n)}}function qr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?qr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Jr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Wr(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wr(e.document)}return t}function Yr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Xr=On&&`documentMode`in document&&11>=document.documentMode,Zr=null,Qr=null,$r=null,ei=!1;function ti(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ei||Zr==null||Zr!==Wr(r)||(r=Zr,`selectionStart`in r&&Yr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),$r&&Ur($r,r)||($r=r,r=cp(Qr,`onSelect`),0<r.length&&(t=new Bn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Zr)))}function ni(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var ri={animationend:ni(`Animation`,`AnimationEnd`),animationiteration:ni(`Animation`,`AnimationIteration`),animationstart:ni(`Animation`,`AnimationStart`),transitionrun:ni(`Transition`,`TransitionRun`),transitionstart:ni(`Transition`,`TransitionStart`),transitioncancel:ni(`Transition`,`TransitionCancel`),transitionend:ni(`Transition`,`TransitionEnd`)},ii={},ai={};On&&(ai=document.createElement(`div`).style,`AnimationEvent`in window||(delete ri.animationend.animation,delete ri.animationiteration.animation,delete ri.animationstart.animation),`TransitionEvent`in window||delete ri.transitionend.transition);function oi(e){if(ii[e])return ii[e];if(!ri[e])return e;var t=ri[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ai)return ii[e]=t[n];return e}var si=oi(`animationend`),ci=oi(`animationiteration`),li=oi(`animationstart`),ui=oi(`transitionrun`),di=oi(`transitionstart`),fi=oi(`transitioncancel`),pi=oi(`transitionend`),mi=new Map,hi=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);hi.push(`scrollEnd`);function gi(e,t){mi.set(e,t),Bt(t,[e])}var _i=0;function vi(e,t){if(e.name!=null&&e.name!==`auto`)return e.name;if(t.autoName!==null)return t.autoName;e=Md.identifierPrefix;var n=_i++;return e=`_`+e+`t_`+n.toString(32)+`_`,t.autoName=e}function yi(e){if(e==null||typeof e==`string`)return e;var t=null,n=Bd;if(n!==null)for(var r=0;r<n.length;r++){var i=e[n[r]];if(i!=null){if(i===`none`)return`none`;t=t==null?i:t+(` `+i)}}return t??e.default}function bi(e,t){return e=yi(e),t=yi(t),t==null?e===`auto`?null:e:t===`auto`?null:t}var xi=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},Si=[],Ci=0,wi=0;function Ti(){for(var e=Ci,t=wi=Ci=0;t<e;){var n=Si[t];Si[t++]=null;var r=Si[t];Si[t++]=null;var i=Si[t];Si[t++]=null;var a=Si[t];if(Si[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&ki(n,i,a)}}function Ei(e,t,n,r){Si[Ci++]=e,Si[Ci++]=t,Si[Ci++]=n,Si[Ci++]=r,wi|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function Di(e,t,n,r){return Ei(e,t,n,r),Ai(e)}function Oi(e,t){return Ei(e,null,null,t),Ai(e)}function ki(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Qe(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function Ai(e){if(50<Vd)throw Vd=0,Hd=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ji={};function Mi(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 4,131 bytes, line 33
33ype=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ni(e,t,n,r){return new Mi(e,t,n,r)}function Pi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Fi(e,t){var n=e.alternate;return n===null?(n=Ni(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&1206910976,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Ii(e,t){e.flags&=1206910978;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Li(e,t,n,r,a,o){var s=0;if(r=e,typeof r==`function`)Pi(r)&&(s=1);else if(typeof r==`string`)s=ch(e,n,be.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(r){case ie:return e=Ni(31,n,t,a),e.elementType=ie,e.lanes=o,e;case O:return Ri(n.children,a,o,t);case k:s=8,a|=24;break;case A:return e=Ni(12,n,t,a|2),e.elementType=A,e.lanes=o,e;case N:return e=Ni(13,n,t,a),e.elementType=N,e.lanes=o,e;case te:return e=Ni(19,n,t,a),e.elementType=te,e.lanes=o,e;case P:case ae:return e=a|32,e=Ni(30,n,t,e),e.elementType=ae,e.lanes=o,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof r==`object`&&r)switch(r.$$typeof){case M:s=10;break a;case j:s=9;break a;case ee:s=11;break a;case ne:s=14;break a;case re:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=Ni(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function Ri(e,t,n,r){return e=Ni(7,e,r,t),e.lanes=n,e}function zi(e,t,n){return e=Ni(6,e,null,t),e.lanes=n,e}function Bi(e){var t=Ni(18,null,null,0);return t.stateNode=e,t}function Vi(e,t,n){return t=Ni(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Hi=new WeakMap;function Ui(e,t){if(typeof e==`object`&&e){var n=Hi.get(e);return n===void 0?(t={value:e,source:t,stack:Pe(t)},Hi.set(e,t),t):n}return{value:e,source:t,stack:Pe(t)}}var Wi=[],Gi=0,Ki=null,qi=0,Ji=[],Yi=0,Xi=null,Zi=1,Qi=``;function $i(e,t){Wi[Gi++]=qi,Wi[Gi++]=Ki,Ki=e,qi=t}function ea(e,t,n){Ji[Yi++]=Zi,Ji[Yi++]=Qi,Ji[Yi++]=Xi,Xi=e;var r=Zi;e=Qi;var i=32-Qe(r)-1;r&=~(1<<i),n+=1;var a=32-Qe(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Zi=1<<32-Qe(t)+i|n<<i|r,Qi=a+e}else Zi=1<<a|n<<i|r,Qi=e}function ta(e){e.return!==null&&($i(e,1),ea(e,1,0))}function na(e){for(;e===Ki;)Ki=Wi[--Gi],Wi[Gi]=null,qi=Wi[--Gi],Wi[Gi]=null;for(;e===Xi;)Xi=Ji[--Yi],Ji[Yi]=null,Qi=Ji[--Yi],Ji[Yi]=null,Zi=Ji[--Yi],Ji[Yi]=null}function ra(e,t){Ji[Yi++]=Zi,Ji[Yi++]=Qi,Ji[Yi++]=Xi,Zi=t.id,Qi=t.overflow,Xi=e}var ia=null,aa=null,oa=!1,sa=null,ca=!1,la=Error(i(519));function ua(e){throw ga(Ui(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),la}function da(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[St]=e,t[Ct]=r,n){case`dialog`:tp(`cancel`,t),tp(`close`,t);break;case`iframe`:case`object`:case`embed`:tp(`load`,t);break;case`video`:case`audio`:for(n=0;n<Qf.length;n++)tp(Qf[n],t);break;case`source`:tp(`error`,t);break;case`img`:case`image`:case`link`:tp(`error`,t),tp(`load`,t);break;case`details`:tp(`toggle`,t);break;
vendor: 5,846 bytes, line 33
33case`input`:tp(`invalid`,t),on(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:tp(`invalid`,t);break;case`textarea`:tp(`invalid`,t),un(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||mp(t.textContent,n)?(r.popover!=null&&(tp(`beforetoggle`,t),tp(`toggle`,t)),r.onScroll!=null&&tp(`scroll`,t),r.onScrollEnd!=null&&tp(`scrollend`,t),r.onClick!=null&&(t.onclick=yn),t=!0):t=!1,t||ua(e,!0)}function fa(e){for(ia=e.return;ia;)switch(ia.tag){case 5:case 31:case 13:ca=!1;return;case 27:case 3:ca=!0;return;default:ia=ia.return}}function pa(e){if(e!==ia)return!1;if(!oa)return fa(e),oa=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||Op(e.type,e.memoizedProps)),n=!n),n&&aa&&ua(e),fa(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));aa=Em(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));aa=Em(e)}else t===27?(t=aa,Lp(e.type)?(e=Tm,Tm=null,aa=e):aa=t):aa=ia?wm(e.stateNode.nextSibling):null;return!0}function ma(){aa=ia=null,oa=!1}function ha(){var e=sa;return e!==null&&(wd===null?wd=e:wd.push.apply(wd,e),sa=null),e}function ga(e){sa===null?sa=[e]:sa.push(e)}var _a=_e(null),va=null,ya=null;function ba(e,t,n){ye(_a,t._currentValue),t._currentValue=n}function xa(e){e._currentValue=_a.current,ve(_a)}function Sa(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Ca(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Sa(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),Sa(s,n,e),s=null}else a.tag===13&&a.memoizedState!==null&&a.memoizedState.dehydrated===null?(a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Sa(a.return,n,e),s=a.child,s=s===null?null:s.sibling):s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function wa(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;Hr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===Ce.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[Sh]:e.push(Sh))}a=a.return}return e!==null&&Ca(t,e,n,r),t.flags|=262144,e!==null}function Ta(e){for(e=e.firstContext;e!==null;){if(!Hr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ea(e){va=e,ya=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Da(e){return ka(va,e)}function Oa(e,t){return va===null&&Ea(e),ka(e,t)}function ka(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},ya===null){if(e===null)throw Error(i(308));ya=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ya=ya.next=t;return n}var Aa=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},ja=t.unstable_scheduleCallback,Ma=t.unstable_NormalPriority,Na={$$typeof:M,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Pa(){return{controller:new Aa,data:new Map,refCount:0}}function Fa(e){e.refCount--,e.refCount===0&&ja(Ma,function(){e.controller.abort()})}function Ia(e,t){if(e.pendingLanes&4194048){var n=e.transitionTypes;for(n===null&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];n.indexOf(r)===-1&&n.push(r)}}}var La=null;function Ra(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var za=null,Ba=0,Va=0,Ha=null;function Ua(e,t){if(za===null){var n=za=[];Ba=0,Va=qf(),Ha={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return Ba++,t.then(Wa,Wa),t}function Wa(){if(--Ba===0&&(La=null,za!==null)){Ha!==null&&(Ha.status=`fulfilled`);var e=za;za=null,Va=0,Ha=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Ga(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var Ka=fe.S;fe.S=function(e,t){if(Dd=Be(),typeof t==`object`&&t&&typeof t.then==`function`&&Ua(e,t),La!==null)for(var n=Nf;n!==null;)Ia(n,La),n=n.next;if(n=e.types,n!==null){for(var r=Nf;r!==null;)Ia(r,n),r=r.next;if(Va!==0){r=La,r===null&&(r=La=[]);for(var i=0;i<n.length;i++){var a=n[i];r.indexOf(a)===-1&&r.push(a)}}}Ka!==null&&Ka(e,t)};var qa=_e(null);function Ja(){var e=qa.current;return e===null?cd.pooledCache:e}function Ya(e,t){t===null?ye(qa,qa.current):ye(qa,t.pool)}function Xa(){var e=Ja();return e===null?null:{parent:Na._currentValue,pool:e}}var Za=Error(i(460)),Qa=Error(i(474)),$a=Error(i(542)),eo={then:function(){}};function to(e){return e=e.status,e===`fulfilled`||e===`rejected`}function no(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(yn,yn),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,oo(e),e===void 0&&!(`reason`in t)?Error(i(600)):e;default:if(typeof t.status==`string`)t.then(yn,yn);else{if(e=cd,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));
vendor: 13,153 bytes, line 33
33e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,oo(e),e}throw io=t,Za}}function ro(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(io=e,Za):e}}var io=null;function ao(){if(io===null)throw Error(i(459));var e=io;return io=null,e}function oo(e){if(e===Za||e===$a)throw Error(i(483))}var so=null,co=0;function lo(e){var t=co;return co+=1,so===null&&(so=[]),no(so,e,t)}function uo(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function fo(e,t){throw t.$$typeof===T?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function po(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=Fi(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=134217730,n):(r=r.index,r<n?(t.flags|=2,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=134217730),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=zi(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===O?(e=d(e,t,n.props.children,r,n.key),uo(e,n),e):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===re&&ro(i)===t.type)?(t=a(t,n.props),uo(t,n),t.return=e,t):(t=Li(n.type,n.key,n.props,null,e.mode,r),uo(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Vi(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=Ri(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=zi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case E:return n=Li(t.type,t.key,t.props,null,e.mode,n),uo(n,t),n.return=e,n;case D:return t=Vi(t,e.mode,n),t.return=e,t;case re:return t=ro(t),f(e,t,n)}if(de(t)||ce(t))return t=Ri(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,lo(t),n);if(t.$$typeof===M)return f(e,Oa(e,t),n);fo(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case E:return n.key===i?l(e,t,n,r):null;case D:return n.key===i?u(e,t,n,r):null;case re:return n=ro(n),p(e,t,n,r)}if(de(n)||ce(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,lo(n),r);if(n.$$typeof===M)return p(e,t,Oa(e,n),r);fo(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case E:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case D:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case re:return r=ro(r),m(e,t,n,r,i)}if(de(r)||ce(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,lo(r),i);if(r.$$typeof===M)return m(e,t,n,Oa(t,r),i);fo(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),oa&&$i(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return oa&&$i(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&(_=g.alternate,_!==null&&d.delete(_.key===null?h:_.key)),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),oa&&$i(i,h),l}function g(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),oa&&$i(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return oa&&$i(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&(_=v.alternate,_!==null&&h.delete(_.key===null?g:_.key)),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),oa&&$i(a,g),u}function _(e,r,o,c){if(typeof o==`object`&&o&&o.type===O&&o.key===null&&o.props.ref===void 0&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case E:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===O){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),uo(c,o),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===re&&ro(l)===r.type){n(e,r.sibling),c=a(r,o.props),uo(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===O?(c=Ri(o.props.children,e.mode,c,o.key),uo(c,o),c.return=e,e=c):(c=Li(o.type,o.key,o.props,null,e.mode,c),uo(c,o),c.return=e,e=c)}return s(e);case D:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=Vi(o,e.mode,c),c.return=e,e=c}return s(e);case re:return o=ro(o),_(e,r,o,c)}if(de(o))return h(e,r,o,c);if(ce(o)){if(l=ce(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return _(e,r,lo(o),c);if(o.$$typeof===M)return _(e,r,Oa(e,o),c);fo(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=zi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{co=0;var i=_(e,t,n,r);return so=null,i}catch(t){if(t===Za||t===$a)throw t;var a=Ni(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var mo=po(!0),ho=po(!1),go=!1;function _o(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function yo(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function bo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,sd&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Ai(e),ki(e,null,n),t}return Ei(e,r,t,n),Ai(e)}function xo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ht(e,n)}}function So(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Co=!1;function wo(){if(Co){var e=Ha;if(e!==null)throw e}}function To(e,t,n,r){Co=!1;var i=e.updateQueue;go=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(ud&f)===f:(r&f)===f){f!==0&&f===Va&&(Co=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var m=e,h=s;f=t;var g=n;switch(h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(g,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(g,d,f):m,f==null)break a;d=w({},d,f);break a;case 2:go=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),vd|=o,e.lanes=o,e.memoizedState=d}}function Eo(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Do(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Eo(n[e],t)}var Oo=_e(null),ko=_e(0);function Ao(e,t){e=gd,ye(ko,e),ye(Oo,t),gd=e|t.baseLanes}function jo(){ye(ko,gd),ye(Oo,Oo.current)}function Mo(){gd=ko.current,ve(Oo),ve(ko)}var No=_e(null),Po=null;function Fo(e){var t=e.alternate;ye(Bo,Bo.current&1),ye(No,e),Po===null&&(t===null||Oo.current!==null||t.memoizedState!==null)&&(Po=e)}function Io(e){ye(Bo,Bo.current),ye(No,e),Po===null&&(Po=e)}function Lo(e){e.tag===22?(ye(Bo,Bo.current),ye(No,e),Po===null&&(Po=e)):Ro()}function Ro(){ye(Bo,Bo.current),ye(No,No.current)}function zo(e){ve(No),Po===e&&(Po=null),ve(Bo)}var Bo=_e(0);function Vo(e,t){ye(No,No.current),ye(Bo,t)}function Ho(e){ve(Bo),ve(No),Po===e&&(Po=null)}function Uo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||xm(n)||Sm(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==`independent`){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Wo=0,Go=null,Ko=null,qo=null,Jo=!1,Yo=!1,Xo=!1,Zo=0,Qo=0,$o=null,es=0;function ts(){throw Error(i(321))}function ns(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Hr(e[n],t[n]))return!1;return!0}function rs(e,t,n,r,i,a){return Wo=a,Go=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fe.H=e===null||e.memoizedState===null?bc:xc,Xo=!1,a=n(r,i),Xo=!1,Yo&&(a=as(t,n,r,i)),is(e),a}function is(e){fe.H=yc;var t=Ko!==null&&Ko.next!==null;if(Wo=0,qo=Ko=Go=null,Jo=!1,Qo=0,$o=null,t)throw Error(i(300));e===null||Rc||(e=e.dependencies,e!==null&&Ta(e)&&(Rc=!0))}function as(e,t,n,r){Go=e;var a=0;do{if(Yo&&($o=null),Qo=0,Yo=!1,25<=a)throw Error(i(301));if(a+=1,qo=Ko=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}fe.H=Sc,o=t(n,r)}while(Yo);return o}function os(){var e=fe.H,t=e.useState()[0];return t=typeof t.then==`function`?ps(t):t,e=e.useState()[0],(Ko===null?null:Ko.memoizedState)!==e&&(Go.flags|=1024),t}function ss(){var e=Zo!==0;return Zo=0,e}function cs(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ls(e){if(Jo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Jo=!1}Wo=0,qo=Ko=Go=null,Yo=!1,Qo=Zo=0,$o=null}function us(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return qo===null?Go.memoizedState=qo=e:qo=qo.next=e,qo}function ds(){if(Ko===null){var e=Go.alternate;e=e===null?null:e.memoizedState}else e=Ko.next;var t=qo===null?Go.memoizedState:qo.next;if(t!==null)qo=t,Ko=e;else{if(e===null)throw Go.alternate===null?Error(i(467)):Error(i(310));Ko=e,e={memoizedState:Ko.memoizedState,baseState:Ko.baseState,baseQueue:Ko.baseQueue,queue:Ko.queue,next:null},qo===null?Go.memoizedState=qo=e:qo=qo.next=e}return qo}function fs(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ps(e){var t=Qo;return Qo+=1,$o===null&&($o=[]),e=no($o,e,t),t=Go,(qo===null?t.memoizedState:qo.next)===null&&(t=t.alternate,fe.H=t===null||t.memoizedState===null?bc:xc),e}function ms(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return ps(e);if(e.$$typeof===oe)return;if(e.$$typeof===M)return Da(e)}throw Error(i(438,String(e)))}function hs(e){var t=null,n=Go.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=Go.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=fs(),Go.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=F;return t.index++,n}function gs(e,t){return typeof t==`function`?t(e):t}function _s(e){return vs(ds(),Ko,e)}
vendor: 6,628 bytes, line 33
33function vs(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(Wo&f)===f:(ud&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===Va&&(d=!0);else if((Wo&p)===p){u=u.next,p===Va&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,Go.lanes|=p,vd|=p;f=u.action,Xo&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,Go.lanes|=f,vd|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!Hr(o,e.memoizedState)&&(Rc=!0,d&&(n=Ha,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function ys(e){var t=ds(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Hr(o,t.memoizedState)||(Rc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function bs(e,t,n){var r=Go,a=ds(),o=oa;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!Hr((Ko||a).memoizedState,n);if(s&&(a.memoizedState=n,Rc=!0),a=a.queue,Gs(Cs.bind(null,r,a,e),[e]),e=a.getSnapshot!==t||s||qo!==null&&!!(qo.memoizedState.tag&1),Bs(e?9:8,{destroy:void 0},Ss.bind(null,r,a,n,t),null),e){if(r.flags|=2048,cd===null)throw Error(i(349));o||Wo&127||xs(r,t,n)}return n}function xs(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Go.updateQueue,t===null?(t=fs(),Go.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ss(e,t,n,r){t.value=n,t.getSnapshot=r,ws(t)&&Ts(e)}function Cs(e,t,n){return n(function(){ws(t)&&Ts(e)})}function ws(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Hr(e,n)}catch{return!0}}function Ts(e){var t=Oi(e,2);t!==null&&Kd(t,e,2)}function Es(e){var t=us();if(typeof e==`function`){var n=e;if(e=n(),Xo){Ze(!0);try{n()}finally{Ze(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:gs,lastRenderedState:e},t}function Ds(e,t,n,r){return e.baseState=n,vs(e,Ko,typeof r==`function`?r:gs)}function Os(e,t,n,r,a){if(gc(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};fe.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,ks(t,o)):(o.next=n.next,t.pending=n.next=o)}}function ks(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=fe.T,o={};o.types=a===null?null:a.types,fe.T=o;try{var s=n(i,r),c=fe.S;c!==null&&c(o,s),As(e,t,s)}catch(n){Ms(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),fe.T=a}}else try{a=n(i,r),As(e,t,a)}catch(n){Ms(e,t,n)}}function As(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){js(e,t,n)},function(n){return Ms(e,t,n)}):js(e,t,n)}function js(e,t,n){t.status=`fulfilled`,t.value=n,Ns(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,ks(e,n)))}function Ms(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Ns(t),t=t.next;while(t!==r)}e.action=null}function Ns(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Ps(e,t){return t}function Fs(e,t){if(oa){var n=cd.formState;if(n!==null){a:{var r=Go;if(oa){if(aa){b:{for(var i=aa,a=ca;i.nodeType!==8;){if(!a){i=null;break b}if(i=wm(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){aa=wm(i.nextSibling),r=i.data===`F!`;break a}}ua(r)}r=!1}r&&(t=n[0])}}return n=us(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ps,lastRenderedState:t},n.queue=r,n=pc.bind(null,Go,r),r.dispatch=n,r=Es(!1),a=hc.bind(null,Go,!1,r.queue),r=us(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Os.bind(null,Go,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Is(e){return Ls(ds(),Ko,e)}function Ls(e,t,n){if(t=vs(e,t,Ps)[0],e=_s(gs)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=ps(t)}catch(e){throw e===Za?$a:e}else r=t;t=ds();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(Go.flags|=2048,Bs(9,{destroy:void 0},Rs.bind(null,i,n),null)),[r,a,e]}function Rs(e,t){e.action=t}function zs(e){var t=ds(),n=Ko;if(n!==null)return Ls(t,n,e);ds(),t=t.memoizedState,n=ds();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Bs(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=Go.updateQueue,t===null&&(t=fs(),Go.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Vs(){return ds().memoizedState}function Hs(e,t,n,r){var i=us();Go.flags|=e,i.memoizedState=Bs(1|t,{destroy:void 0},n,r===void 0?null:r)}function Us(e,t,n,r){var i=ds();r=r===void 0?null:r;var a=i.memoizedState.inst;Ko!==null&&r!==null&&ns(r,Ko.memoizedState.deps)?i.memoizedState=Bs(t,a,n,r):(Go.flags|=e,i.memoizedState=Bs(1|t,a,n,r))}function Ws(e,t){Hs(8390656,8,e,t)}function Gs(e,t){Us(2048,8,e,t)}function Ks(e){Go.flags|=4;var t=Go.updateQueue;if(t===null)t=fs(),Go.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function qs(e){var t=ds().memoizedState;return Ks({ref:t,nextImpl:e}),function(){if(sd&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function Js(e,t){return Us(4,2,e,t)}function Ys(e,t){return Us(4,4,e,t)}function Xs(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Zs(e,t,n){n=n==null?null:n.concat([e]),Us(4,4,Xs.bind(null,t,e),n)}function Qs(){}function $s(e,t){var n=ds();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&ns(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ec(e,t){var n=ds();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&ns(t,r[1]))return r[0];if(r=e(),Xo){Ze(!0);try{e()}finally{Ze(!1)}}return n.memoizedState=[r,t],r}
vendor: 12,507 bytes, line 33
33function tc(e,t,n){return n===void 0||Wo&1073741824&&!(ud&261930)?e.memoizedState=t:(e.memoizedState=n,e=Wd(),Go.lanes|=e,vd|=e,n)}function nc(e,t,n,r){return Hr(n,t)?n:Oo.current===null?!(Wo&106)||Wo&1073741824&&!(ud&261930)?(Rc=!0,e.memoizedState=n):(e=Wd(),Go.lanes|=e,vd|=e,t):(e=tc(e,n,r),Hr(e,t)||(Rc=!0),e)}function rc(e,t,n,r,i){var a=pe.p;pe.p=a!==0&&8>a?a:8;var o=fe.T,s={};s.types=o===null?null:o.types,fe.T=s,hc(e,!1,t,n);try{var c=i(),l=fe.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?mc(e,t,Ga(c,r),Ud(e)):mc(e,t,r,Ud(e))}catch(n){mc(e,t,{then:function(){},status:`rejected`,reason:n},Ud())}finally{pe.p=a,o!==null&&s.types!==null&&(o.types=s.types),fe.T=o}}function ic(){}function ac(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=oc(e).queue;rc(e,a,t,me,n===null?ic:function(){return sc(e),n(r)})}function oc(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:me,baseState:me,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gs,lastRenderedState:me},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gs,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function sc(e){var t=oc(e);t.next===null&&(t=e.alternate.memoizedState),mc(e,t.next.queue,{},Ud())}function cc(){return Da(Sh)}function lc(){return ds().memoizedState}function uc(){return ds().memoizedState}function dc(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Ud();e=yo(n);var r=bo(t,e,n);r!==null&&(Kd(r,t,n),xo(r,t,n)),t={cache:Pa()},e.payload=t;return}t=t.return}}function fc(e,t,n){var r=Ud();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},gc(e)?_c(t,n):(n=Di(e,t,n,r),n!==null&&(Kd(n,e,r),vc(n,t,r)))}function pc(e,t,n){mc(e,t,n,Ud())}function mc(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(gc(e))_c(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Hr(s,o))return Ei(e,t,i,0),cd===null&&Ti(),!1}catch{}if(n=Di(e,t,i,r),n!==null)return Kd(n,e,r),vc(n,t,r),!0}return!1}function hc(e,t,n,r){if(r={lane:2,revertLane:qf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},gc(e)){if(t)throw Error(i(479))}else t=Di(e,n,r,2),t!==null&&Kd(t,e,2)}function gc(e){var t=e.alternate;return e===Go||t!==null&&t===Go}function _c(e,t){Yo=Jo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function vc(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ht(e,n)}}var yc={readContext:Da,use:ms,useCallback:ts,useContext:ts,useEffect:ts,useImperativeHandle:ts,useLayoutEffect:ts,useInsertionEffect:ts,useMemo:ts,useReducer:ts,useRef:ts,useState:ts,useDebugValue:ts,useDeferredValue:ts,useTransition:ts,useSyncExternalStore:ts,useId:ts,useHostTransitionStatus:ts,useFormState:ts,useActionState:ts,useOptimistic:ts,useMemoCache:ts,useCacheRefresh:ts,useEffectEvent:ts},bc={readContext:Da,use:ms,useCallback:function(e,t){return us().memoizedState=[e,t===void 0?null:t],e},useContext:Da,useEffect:Ws,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),Hs(4194308,4,Xs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Hs(4194308,4,e,t)},useInsertionEffect:function(e,t){Hs(4,2,e,t)},useMemo:function(e,t){var n=us();t=t===void 0?null:t;var r=e();if(Xo){Ze(!0);try{e()}finally{Ze(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=us();if(n!==void 0){var i=n(t);if(Xo){Ze(!0);try{n(t)}finally{Ze(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=fc.bind(null,Go,e),[r.memoizedState,e]},useRef:function(e){var t=us();return e={current:e},t.memoizedState=e},useState:function(e){e=Es(e);var t=e.queue,n=pc.bind(null,Go,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Qs,useDeferredValue:function(e,t){return tc(us(),e,t)},useTransition:function(){var e=Es(!1);return e=rc.bind(null,Go,e.queue,!0,!1),us().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=Go,a=us();if(oa){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),cd===null)throw Error(i(349));ud&127||xs(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Ws(Cs.bind(null,r,o,e),[e]),r.flags|=2048,Bs(9,{destroy:void 0},Ss.bind(null,r,o,n,t),null),n},useId:function(){var e=us(),t=cd.identifierPrefix;if(oa){var n=Qi,r=Zi;n=(r&~(1<<32-Qe(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Zo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=es++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:cc,useFormState:Fs,useActionState:Fs,useOptimistic:function(e){var t=us();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=hc.bind(null,Go,!0,n),n.dispatch=t,[e,t]},useMemoCache:hs,useCacheRefresh:function(){return us().memoizedState=dc.bind(null,Go)},useEffectEvent:function(e){var t=us(),n={impl:e};return t.memoizedState=n,function(){if(sd&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},xc={readContext:Da,use:ms,useCallback:$s,useContext:Da,useEffect:Gs,useImperativeHandle:Zs,useInsertionEffect:Js,useLayoutEffect:Ys,useMemo:ec,useReducer:_s,useRef:Vs,useState:function(){return _s(gs)},useDebugValue:Qs,useDeferredValue:function(e,t){return nc(ds(),Ko.memoizedState,e,t)},useTransition:function(){var e=_s(gs)[0],t=ds().memoizedState;return[typeof e==`boolean`?e:ps(e),t]},useSyncExternalStore:bs,useId:lc,useHostTransitionStatus:cc,useFormState:Is,useActionState:Is,useOptimistic:function(e,t){return Ds(ds(),Ko,e,t)},useMemoCache:hs,useCacheRefresh:uc,useEffectEvent:qs},Sc={readContext:Da,use:ms,useCallback:$s,useContext:Da,useEffect:Gs,useImperativeHandle:Zs,useInsertionEffect:Js,useLayoutEffect:Ys,useMemo:ec,useReducer:ys,useRef:Vs,useState:function(){return ys(gs)},useDebugValue:Qs,useDeferredValue:function(e,t){var n=ds();return Ko===null?tc(n,e,t):nc(n,Ko.memoizedState,e,t)},useTransition:function(){var e=ys(gs)[0],t=ds().memoizedState;return[typeof e==`boolean`?e:ps(e),t]},useSyncExternalStore:bs,useId:lc,useHostTransitionStatus:cc,useFormState:zs,useActionState:zs,useOptimistic:function(e,t){var n=ds();return Ko===null?(n.baseState=e,[e,n.queue.dispatch]):Ds(n,Ko,e,t)},useMemoCache:hs,useCacheRefresh:uc,useEffectEvent:qs};function Cc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:w({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var wc={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ud(),i=yo(r);i.payload=t,n!=null&&(i.callback=n),t=bo(e,i,r),t!==null&&(Kd(t,e,r),xo(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ud(),i=yo(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=bo(e,i,r),t!==null&&(Kd(t,e,r),xo(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ud(),r=yo(n);r.tag=2,t!=null&&(r.callback=t),t=bo(e,r,n),t!==null&&(Kd(t,e,n),xo(t,e,n))}};function Tc(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Ur(n,r)||!Ur(i,a):!0}function Ec(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&wc.enqueueReplaceState(t,t.state,null)}function Dc(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=w({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Oc(e){xi(e)}function kc(e){console.error(e)}function Ac(e){xi(e)}function jc(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Mc(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Nc(e,t,n){return n=yo(n),n.tag=3,n.payload={element:null},n.callback=function(){jc(e,t)},n}function Pc(e){return e=yo(e),e.tag=3,e}function Fc(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){Mc(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Mc(t,n,r),typeof i!=`function`&&(Ad===null?Ad=new Set([this]):Ad.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function Ic(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&wa(t,n,a,!0),n=No.current,n!==null){switch(n.tag){case 31:case 13:case 19:return Po===null?af():n.alternate===null&&_d===0&&(_d=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===eo?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Df(e,r,a)),!1;case 22:return n.flags|=65536,r===eo?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Df(e,r,a)),!1}throw Error(i(435,n.tag))}return Df(e,r,a),af(),!1}if(oa)return t=No.current,t===null?(r!==la&&(t=Error(i(423),{cause:r}),ga(Ui(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=Ui(r,n),a=Nc(e.stateNode,r,a),So(e,a),_d!==4&&(_d=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==la&&(e=Error(i(422),{cause:r}),ga(Ui(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=Ui(o,n),Cd===null?Cd=[o]:Cd.push(o),_d!==4&&(_d=2),t===null)return!0;r=Ui(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=Nc(n.stateNode,r,e),So(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(Ad===null||!Ad.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=Pc(a),Fc(a,e,n,r),So(n,a),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}var Lc=Error(i(461)),Rc=!1;function zc(e,t,n,r){t.child=e===null?ho(t,null,n,r):mo(t,e.child,n,r)}function Bc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return Ea(t),r=rs(e,t,n,o,a,i),s=ss(),e!==null&&!Rc?(cs(e,t,i),ml(e,t,i)):(oa&&s&&ta(t),t.flags|=1,zc(e,t,r,i),t.child)}function Vc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!Pi(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,Hc(e,t,a,r,i)):(e=Li(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!hl(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Ur:n,n(o,r)&&e.ref===t.ref)return ml(e,t,i)}return t.flags|=1,e=Fi(a,r),e.ref=t.ref,e.return=t,t.child=e}function Hc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Ur(a,r)&&e.ref===t.ref){if(Rc=!1,t.pendingProps=r=a,hl(e,i))e.flags&131072&&(Rc=!0);else return t.lanes=e.lanes,ml(e,t,i)}}return Xc(e,t,n,r,i)}function Uc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return Gc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ya(t,a===null?null:a.cachePool),a===null?jo():Ao(t,a),Lo(t);else return r=t.lanes=536870912,Gc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Ya(t,null),jo(),Ro()):(Ya(t,a.cachePool),Ao(t,a),Ro(),t.memoizedState=null);return zc(e,t,i,n),t.child}function Wc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Gc(e,t,n,r,i){var a=Ja();return a=a===null?null:{parent:Na._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Ya(t,null),jo(),Lo(t),e!==null&&wa(e,t,r,!0),t.childLanes=i,null}function Kc(e,t){return t=al({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function qc(e,t,n){return mo(t,e.child,null,n),e=Kc(t,t.pendingProps),e.flags|=2,zo(t),t.memoizedState=null,e}
vendor: 10,649 bytes, line 33
33function Jc(e,t,n){var r=t.pendingProps,a=!!(t.flags&128);if(t.flags&=-129,e===null){if(oa){if(r.mode===`hidden`)return e=Kc(t,r),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Wc(null,e);if(Io(t),(e=aa)?(e=bm(e,ca),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Xi===null?null:{id:Zi,overflow:Qi},retryLane:536870912,hydrationErrors:null},n=Bi(e),n.return=t,t.child=n,ia=t,aa=null)):e=null,e===null)throw ua(t);return t.lanes=536870912,null}return Kc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(Io(t),a){if(t.flags&256)t.flags&=-257,t=qc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558))}else if(Rc||wa(e,t,n,!1),a=(n&e.childLanes)!==0,Rc||a){if(Oo.current===null){if(r=cd,r!==null&&(s=gt(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,Oi(e,s),Kd(r,e,s),Lc;af()}t=qc(e,t,n)}else e=o.treeContext,aa=wm(s.nextSibling),ia=t,oa=!0,sa=null,ca=!1,e!==null&&ra(t,e),t=Kc(t,r),t.flags|=134221824;return t}return e=Fi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Yc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Xc(e,t,n,r,i){return Ea(t),n=rs(e,t,n,r,void 0,i),r=ss(),e!==null&&!Rc?(cs(e,t,i),ml(e,t,i)):(oa&&r&&ta(t),t.flags|=1,zc(e,t,n,i),t.child)}function Zc(e,t,n,r,i,a){return Ea(t),t.updateQueue=null,n=as(t,r,n,i),is(e),r=ss(),e!==null&&!Rc?(cs(e,t,a),ml(e,t,a)):(oa&&r&&ta(t),t.flags|=1,zc(e,t,n,a),t.child)}function Qc(e,t,n,r,i){if(Ea(t),t.stateNode===null){var a=ji,o=n.contextType;typeof o==`object`&&o&&(a=Da(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=wc,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},_o(t),o=n.contextType,a.context=typeof o==`object`&&o?Da(o):ji,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Cc(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&wc.enqueueReplaceState(a,a.state,null),To(t,r,a,i),wo(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Dc(n,s);a.props=c;var l=a.context,u=n.contextType;o=ji,typeof u==`object`&&u&&(o=Da(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Ec(t,a,r,o),go=!1;var f=t.memoizedState;a.state=f,To(t,r,a,i),wo(),l=t.memoizedState,s||f!==l||go?(typeof d==`function`&&(Cc(t,n,d,r),l=t.memoizedState),(c=go||Tc(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,vo(e,t),o=t.memoizedProps,u=Dc(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=ji,typeof l==`object`&&l&&(c=Da(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Ec(t,a,r,c),go=!1,f=t.memoizedState,a.state=f,To(t,r,a,i),wo();var p=t.memoizedState;o!==d||f!==p||go||e!==null&&e.dependencies!==null&&Ta(e.dependencies)?(typeof s==`function`&&(Cc(t,n,s,r),p=t.memoizedState),(u=go||Tc(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&Ta(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Yc(e,t),r=!!(t.flags&128),a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=mo(t,e.child,null,i),t.child=mo(t,null,n,i)):zc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=ml(e,t,i),e}function $c(e,t,n,r){return ma(),t.flags|=256,zc(e,t,n,r),t.child}var el={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function tl(e){return{baseLanes:e,cachePool:Xa()}}function nl(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=xd),e}function rl(e,t,n){var r=t.pendingProps,i=!1,a=!!(t.flags&128),o;if((o=a)||(o=e!==null&&e.memoizedState===null?!1:!!(Bo.current&2)),o&&(i=!0,t.flags&=-129),o=!!(t.flags&32),t.flags&=-33,e===null){if(oa){if(i?Fo(t):Ro(),(e=aa)?(e=bm(e,ca),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Xi===null?null:{id:Zi,overflow:Qi},retryLane:536870912,hydrationErrors:null},n=Bi(e),n.return=t,t.child=n,ia=t,aa=null)):e=null,e===null)throw ua(t);return t.lanes=Sm(e)?32:536870912,null}return a=r.children,r=r.fallback,i?(Ro(),i=t.mode,a=al({mode:`hidden`,children:a},i),r=Ri(r,i,n,null),a.return=t,r.return=t,a.sibling=r,t.child=a,r=t.child,r.memoizedState=tl(n),r.childLanes=nl(e,o,n),t.memoizedState=el,Wc(null,r)):(Fo(t),il(t,a))}var s=e.memoizedState;if(s!==null){var c=s.dehydrated;if(c!==null)return sl(e,t,a,o,r,c,s,n)}return i?(Ro(),i=r.fallback,a=t.mode,s=e.child,c=s.sibling,r=Fi(s,{mode:`hidden`,children:r.children}),r.subtreeFlags=s.subtreeFlags&1206910976,c===null?(i=Ri(i,a,n,null),i.flags|=2):i=Fi(c,i),i.return=t,r.return=t,r.sibling=i,t.child=r,Wc(null,r),r=t.child,i=e.child.memoizedState,i===null?i=tl(n):(a=i.cachePool,a===null?a=Xa():(s=Na._currentValue,a=a.parent===s?a:{parent:s,pool:s}),i={baseLanes:i.baseLanes|n,cachePool:a}),r.memoizedState=i,r.childLanes=nl(e,o,n),t.memoizedState=el,Wc(e.child,r)):(Fo(t),n=e.child,e=n.sibling,n=Fi(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function il(e,t){return t=al({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function al(e,t){return e=Ni(22,e,null,t),e.lanes=0,e}function ol(e,t,n){return mo(t,e.child,null,n),e=il(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function sl(e,t,n,r,a,o,s,c){if(n)return t.flags&256?(Fo(t),t.flags&=-257,ol(e,t,c)):t.memoizedState===null?(Ro(),o=a.fallback,s=t.mode,a=al({mode:`visible`,children:a.children},s),o=Ri(o,s,c,null),o.flags|=2,a.return=t,o.return=t,a.sibling=o,t.child=a,mo(t,e.child,null,c),a=t.child,a.memoizedState=tl(c),a.childLanes=nl(e,r,c),t.memoizedState=el,Wc(null,a)):(Ro(),t.child=e.child,t.flags|=128,null);if(Fo(t),Sm(o)){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,r!==``&&(a=Error(i(419)),a.stack=``,a.digest=r,ga({value:a,source:null,stack:null})),ol(e,t,c)}if(Rc||wa(e,t,c,!1),r=(c&e.childLanes)!==0,Rc||r){if(Oo.current!==null)return ol(e,t,c);if(r=cd,r!==null&&(a=gt(r,c),a!==0&&a!==s.retryLane))throw s.retryLane=a,Oi(e,a),Kd(r,e,a),Lc;return xm(o)||af(),ol(e,t,c)}return xm(o)?(t.flags|=192,t.child=e.child,null):(e=s.treeContext,aa=wm(o.nextSibling),ia=t,oa=!0,sa=null,ca=!1,e!==null&&ra(t,e),t=il(t,a.children),t.flags|=134221824,t)}function cl(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Sa(e.return,t,n)}function ll(e){for(var t=null;e!==null;){var n=e.alternate;n!==null&&Uo(n)===null&&(t=e),e=e.sibling}return t}function ul(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function dl(e){var t=e.child;for(e.child=null;t!==null;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function fl(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=Bo.current;if(t.flags&128)return Vo(t,o),null;var s=!!(o&2);if(s?(o=o&1|2,t.flags|=128):o&=1,Vo(t,o),i===`backwards`&&e!==null?(dl(e),zc(e,t,r,n),dl(e)):zc(e,t,r,n),r=oa?qi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&cl(e,n,t);else if(e.tag===19)cl(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`backwards`:n=ll(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null,dl(t)),ul(t,!0,i,null,a,r);break;case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Uo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ul(t,!0,n,null,a,r);break;case`together`:ul(t,!1,null,null,void 0,r);break;case`independent`:t.memoizedState=null;break;default:n=ll(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ul(t,!1,i,n,a,r)}return t.child}function pl(e,t,n){var r=t.pendingProps;return ba(t,t.type,r.value),zc(e,t,r.children,n),t.child}function ml(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),vd|=t.lanes,(n&t.childLanes)===0){if(e!==null){if(wa(e,t,n,!1),(n&t.childLanes)===0)return null}else return null}if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=Fi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Fi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}
vendor: 11,468 bytes, line 33
33function hl(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&Ta(e)))}function gl(e,t,n){switch(t.tag){case 3:we(t,t.stateNode.containerInfo),ba(t,Na,e.memoizedState.cache),ma();break;case 27:case 5:Ee(t);break;case 4:we(t,t.stateNode.containerInfo);break;case 10:ba(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Io(t),null;break;case 13:var r=t.memoizedState;if(r!==null){if(r.dehydrated!==null)return Fo(t),t.flags|=128,null;r=wa(e,t,n,!1);var i=t.child.childLanes;return r||(n&i)!==0?rl(e,t,n):(Fo(t),e=ml(e,t,n),e===null?null:e.sibling)}Fo(t);break;case 19:if(t.flags&128)return fl(e,t,n);if(i=!!(e.flags&128),r=(n&t.childLanes)!==0,r||=(wa(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return fl(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Vo(t,Bo.current),r)break;return null;case 22:return t.lanes=0,Uc(e,t,n,t.pendingProps);case 24:ba(t,Na,e.memoizedState.cache)}return ml(e,t,n)}function _l(e,t,n){if(e!==null){if(e.memoizedProps!==t.pendingProps)Rc=!0;else{if(!hl(e,n)&&!(t.flags&128))return Rc=!1,gl(e,t,n);Rc=!!(e.flags&131072)}}else Rc=!1,oa&&t.flags&1048576&&ea(t,qi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=ro(t.elementType),t.type=e,typeof e==`function`)Pi(e)?(r=Dc(e,r),t.tag=1,t=Qc(null,t,e,r,n)):(t.tag=0,t=Xc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===ee){t.tag=11,t=Bc(null,t,e,r,n);break a}if(a===ne){t.tag=14,t=Vc(null,t,e,r,n);break a}if(a===M){t.tag=10,t.type=e,t=pl(null,t,n);break a}}throw t=ue(e)||e,Error(i(306,t,``))}}return t;case 0:return Xc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Dc(r,t.pendingProps),Qc(e,t,r,a,n);case 3:a:{if(we(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,vo(e,t),To(t,r,null,n);var s=t.memoizedState;if(r=s.cache,ba(t,Na,r),r!==o.cache&&Ca(t,[Na],n,!0),wo(),r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=$c(e,t,r,n);break a}if(r!==a){a=Ui(Error(i(424)),t),ga(a),t=$c(e,t,r,n);break a}switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(aa=wm(e.firstChild),ia=t,oa=!0,sa=null,ca=!0,n=ho(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling}else{if(ma(),r===a){t=ml(e,t,n);break a}zc(e,t,r,n)}t=t.child}return t;case 26:return Yc(e,t),e===null?(n=Jm(t.type,null,t.pendingProps,null))?t.memoizedState=n:oa||(t.stateNode=Dp(t.type,t.pendingProps,Se.current,t)):t.memoizedState=Jm(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ee(t),e===null&&oa&&(r=t.stateNode=Am(t.type,t.pendingProps,Se.current),ia=t,ca=!0,a=aa,Lp(t.type)?(Tm=a,aa=wm(r.firstChild)):aa=a),zc(e,t,t.pendingProps.children,n),Yc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&oa&&((a=r=aa)&&(r=vm(r,t.type,t.pendingProps,ca),r===null?a=!1:(t.stateNode=r,ia=t,aa=wm(r.firstChild),ca=!1,a=!0)),a||ua(t)),Ee(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Op(a,o)?r=null:s!==null&&Op(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=rs(e,t,os,null,null,n),Sh._currentValue=a),Yc(e,t),zc(e,t,r,n),t.child;case 6:return e===null&&oa&&((e=n=aa)&&(n=ym(n,t.pendingProps,ca),n===null?e=!1:(t.stateNode=n,ia=t,aa=null,e=!0)),e||ua(t)),null;case 13:return rl(e,t,n);case 4:return we(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=mo(t,null,r,n):zc(e,t,r,n),t.child;case 11:return Bc(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,Yc(e,t),zc(e,t,r,n),t.child;case 8:return zc(e,t,t.pendingProps.children,n),t.child;case 12:return zc(e,t,t.pendingProps.children,n),t.child;case 10:return pl(e,t,n);case 9:return a=t.type._context,r=t.pendingProps.children,Ea(t),a=Da(a),r=r(a),t.flags|=1,zc(e,t,r,n),t.child;case 14:return Vc(e,t,t.type,t.pendingProps,n);case 15:return Hc(e,t,t.type,t.pendingProps,n);case 19:return fl(e,t,n);case 31:return Jc(e,t,n);case 22:return Uc(e,t,n,t.pendingProps);case 24:return Ea(t),r=Da(Na),e===null?(a=Ja(),a===null&&(a=cd,o=Pa(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},_o(t),ba(t,Na,a)):((e.lanes&n)!==0&&(vo(e,t),To(t,null,null,n),wo()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,ba(t,Na,r),r!==a.cache&&Ca(t,[Na],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),ba(t,Na,r))),zc(e,t,t.pendingProps.children,n),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),r=t.pendingProps,r.name!=null&&r.name!==`auto`?t.flags|=e===null?18882560:18874368:oa&&ta(t),e!==null&&e.memoizedProps.name!==r.name?t.flags|=4194816:Yc(e,t),zc(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function vl(e){e.flags|=4}function yl(e,t,n,r,i){var a;if((a=!!(e.mode&32))&&(a=n===null?lh(t,r):lh(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),a){if(e.flags|=16777216,(i&335544128)===i){if(e.stateNode.complete)e.flags|=8192;else if(tf())e.flags|=8192;else throw io=eo,Qa}}else e.flags&=-16777217}function bl(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!uh(t)){if(tf())e.flags|=8192;else throw io=eo,Qa}}function xl(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:ut(),e.lanes|=t,Sd|=t)}function Sl(e,t){if(!oa)switch(e.tailMode){case`visible`:break;case`collapsed`:for(var n=e.tail,r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(t=e.tail,n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null}}function Cl(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&1206910976,r|=i.flags&1206910976,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function wl(e,t,n){var r=t.pendingProps;switch(na(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Cl(t),null;case 1:return Cl(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),xa(Na),Te(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(pa(t)?vl(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ha())),Cl(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(vl(t),o===null?(Cl(t),yl(t,a,null,r,n)):(Cl(t),bl(t,o))):o?o===e.memoizedState?(Cl(t),t.flags&=-16777217):(vl(t),Cl(t),bl(t,o)):(e=e.memoizedProps,e!==r&&vl(t),Cl(t),yl(t,a,e,r,n)),null;case 27:if(De(t),n=Se.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&vl(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Cl(t),t.subtreeFlags&=-33554433,null}e=be.current,pa(t)?da(t,e):(e=Am(a,r,n),t.stateNode=e,vl(t))}return Cl(t),t.subtreeFlags&=-33554433,null;case 5:if(De(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&vl(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Cl(t),t.subtreeFlags&=-33554433,null}if(o=be.current,pa(t))da(t,o);else{var s=wp(Se.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[St]=t,o[Ct]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(_p(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&vl(t)}}return Cl(t),t.subtreeFlags&=-33554433,yl(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&vl(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=Se.current,pa(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=ia,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[St]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||mp(e.nodeValue,n)),e||ua(t,!0)}else e=wp(e).createTextNode(r),e[St]=t,t.stateNode=e}return Cl(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=pa(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[St]=t}else ma(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Cl(t),e=!1}else n=ha(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(zo(t),t):(zo(t),null);if(t.flags&128)throw Error(i(558))}return Cl(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=pa(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[St]=t}else ma(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Cl(t),a=!1}else a=ha(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(zo(t),t):(zo(t),null)}return zo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),xl(t,t.updateQueue),Cl(t),null);case 4:return Te(),e===null&&ip(t.stateNode.containerInfo),t.flags|=67108864,Cl(t),null;case 10:return xa(t.type),Cl(t),null;case 19:if(Ho(t),r=t.memoizedState,r===null)return Cl(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)Sl(r,!1);else{if(_d!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Uo(e),o!==null){for(t.flags|=128,Sl(r,!1),e=o.updateQueue,t.updateQueue=e,xl(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Ii(n,e),n=n.sibling;return Vo(t,Bo.current&1|2),oa&&$i(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Be()>Od&&(t.flags|=128,a=!0,Sl(r,!1),t.lanes=4194304)}}else{if(!a){if(e=Uo(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,xl(t,e),Sl(r,!0),r.tail===null&&r.tailMode!==`collapsed`&&r.tailMode!==`visible`&&!o.alternate&&!oa)return Cl(t),null}else 2*Be()-r.renderingStartTime>Od&&n!==536870912&&(t.flags|=128,a=!0,Sl(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o
vendor: 4,905 bytes, line 33
33)}if(r.tail!==null){e=r.tail;a:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break a}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Be(),e.sibling=null,o=Bo.current,o=a?o&1|2:o&1,r.tailMode===`visible`||r.tailMode===`collapsed`||!n||oa?Vo(t,o):(n=o,ye(No,t),ye(Bo,n),Po===null&&(Po=t)),oa&&$i(t,r.treeForkCount),e}return Cl(t),null;case 22:case 23:return zo(t),Mo(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Cl(t),t.subtreeFlags&6&&(t.flags|=8192)):Cl(t),n=t.updateQueue,n!==null&&xl(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&ve(qa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),xa(Na),Cl(t),null;case 25:return null;case 30:return t.flags|=33554432,Cl(t),null}throw Error(i(156,t.tag))}function Tl(e,t){switch(na(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return xa(Na),Te(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return De(t),null;case 31:if(t.memoizedState!==null){if(zo(t),t.alternate===null)throw Error(i(340));ma()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(zo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));ma()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ho(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return Te(),null;case 10:return xa(t.type),null;case 22:case 23:return zo(t),Mo(),e!==null&&ve(qa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return xa(Na),null;case 25:return null;default:return null}}function El(e,t){switch(na(t),t.tag){case 3:xa(Na),Te();break;case 26:case 27:case 5:De(t);break;case 4:Te();break;case 31:t.memoizedState!==null&&zo(t);break;case 13:zo(t);break;case 19:Ho(t);break;case 10:xa(t.type);break;case 22:case 23:zo(t),Mo(),e!==null&&ve(qa);break;case 24:xa(Na)}}function Dl(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Ef(t,t.return,e)}}function Ol(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Ef(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Ef(t,t.return,e)}}function kl(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Do(t,n)}catch(t){Ef(e,e.return,t)}}}function Al(e,t,n){n.props=Dc(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Ef(e,t,n)}}function jl(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var i=e.stateNode,a=vi(e.memoizedProps,i);(i.ref===null||i.ref.name!==a)&&(i.ref=Yp(a)),r=i.ref;break;case 7:if(e.stateNode===null){var o=new Xp(e);f(e.child,!1,pm,o,void 0,void 0),e.stateNode=o}r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Ef(e,t,n)}}function Ml(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){Ef(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Ef(e,t,n)}else n.current=null}}function Nl(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n<t.length;n++)hm(e.stateNode,t[n])}function Pl(e){for(var t=e.return;t!==null&&(Ll(t)&&hm(e.stateNode,t.stateNode),!Il(t));)t=t.return}function Fl(e){for(var t=e.return;t!==null&&(Ll(t)&&gm(e.stateNode,t.stateNode),!Il(t));)t=t.return}function Il(e){return e.tag===5||e.tag===3||e.tag===27}function Ll(e){return e&&e.tag===7&&e.stateNode!==null}function Rl(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Ef(e,e.return,t)}}function zl(e,t,n){try{var r=e.stateNode;yp(r,e.type,n,t),r[Ct]=t}catch(t){Ef(e,e.return,t)}}function Bl(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Lp(e.type)||e.tag===4}function Vl(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Bl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Lp(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Hl(e,t,n,r){var i=e.tag;
33if(i===5||i===6)i=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(i,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(i),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=yn)),Nl(e,r),Kt=!0;else if(i!==4&&(i===27&&(Nl(e,r),r=null,Lp(e.type)&&(n=e.stateNode,t=null)),e=e.child,e!==null))for(Hl(e,t,n,r),e=e.sibling;e!==null;)Hl(e,t,n,r),e=e.sibling}function Ul(e,t,n,r){var i=e.tag;if(i===5||i===6)i=e.stateNode,t?n.insertBefore(i,t):n.appendChild(i),Nl(e,r),Kt=!0;else if(i!==4&&(i===27&&(Nl(e,r),r=null,Lp(e.type)&&(n=e.stateNode)),e=e.child,e!==null))for(Ul(e,t,n,r),e=e.sibling;e!==null;)Ul(e,t,n,r),e=e.sibling}function Wl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);_p(t,r,n),t[St]=e,t[Ct]=n}catch(t){Ef(e,e.return,t)}}var Gl=!1,Kl=null;function ql(e){(e.tag===30||e.subtreeFlags&33554432)&&(Gl=!0)}var Jl=null;function Yl(){var e=Jl;return Jl=null,e}var Xl=0;function Zl(e,t,n,r,i){return Xl=0,Ql(e.child,t,n,r,i)}function Ql(e,t,n,r,i){for(var a=!1;e!==null;){if(e.tag===5){var o=e.stateNode;if(r!==null){var s=Up(o);r.push(s),s.view&&(a=!0)}else a||Up(o).view&&(a=!0);Gl=!0,Bp(o,Xl===0?t:t+`_`+Xl,n),Xl++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&i||Ql(e.child,t,n,r,i)&&(a=!0));e=e.sibling}return a}function $l(e,t){for(;e!==null;)e.tag===5?Vp(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||$l(e.child,t)),e=e.sibling}function eu(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(eu(e),e.tag===30&&e.flags&18874368&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name===`auto`)throw Error(i(544));var n=t.name;t=bi(t.default,t.share),t!==`none`&&(Zl(e,n,t,null,!1)||$l(e.child,!1))}e=e.sibling}}function tu(e,t){if(e.tag===30){var n=e.stateNode,r=e.memoizedProps,i=vi(r,n),a=bi(r.default,n.paired?r.share:r.enter);a===`none`?eu(e):Zl(e,i,a,null,!1)?(eu(e),n.paired||t||Gd(e,r.onEnter)):$l(e.child,!1)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)tu(e,t),e=e.sibling;else eu(e)}function nu(e){if(Kl!==null&&Kl.size!==0){var t=Kl;if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&e.flags&18874368){var n=e.memoizedProps,r=n.name;if(r!=null&&r!==`auto`){var i=t.get(r);if(i!==void 0){var a=bi(n.default,n.share);if(a!==`none`&&(Zl(e,r,a,null,!1)?(a=e.stateNode,i.paired=a,a.paired=i,Gd(e,n.onShare)):$l(e.child,!1)),t.delete(r),t.size===0)break}}}nu(e)}e=e.sibling}}}function ru(e){if(e.tag===30){var t=e.memoizedProps,n=vi(t,e.stateNode),r=Kl===null?void 0:Kl.get(n),i=bi(t.default,r===void 0?t.exit:t.share);i!==`none`&&(Zl(e,n,i,null,!1)?r===void 0?Gd(e,t.onExit):(i=e.stateNode,r.paired=i,i.paired=r,Kl.delete(n),Gd(e,t.onShare)):$l(e.child,!1)),Kl!==null&&nu(e)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)ru(e),e=e.sibling;else Kl!==null&&nu(e)}function iu(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,n=vi(t,e.stateNode);t=bi(t.default,t.update),e.flags&=-5,t!==`none`&&Zl(e,n,t,e.memoizedState=[],!1)}else e.subtreeFlags&33554432&&iu(e);e=e.sibling}}function au(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&e.flags&18874368){var t=e.stateNode;t.paired!==null&&(t.paired=null,$l(e.child,!1))}au(e)}e=e.sibling}}function ou(e){if(e.tag===30)e.stateNode.paired=null,$l(e.child,!1),au(e);else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)ou(e),e=e.sibling;else au(e)}function su(e){for(e=e.child;e!==null;)e.tag===30?$l(e.child,!1):e.subtreeFlags&33554432&&su(e),e=e.sibling}function cu(e,t,n,r,i,a,o){for(var s=!1;t!==null;){if(t.tag===5){var c=t.stateNode;if(a!==null&&Xl<a.length){var l=a[Xl],u=Up(c);(l.view||u.view)&&(s=!0);var d;if(d=!(e.flags&4)){if(u.clip)d=!0;else{d=l.rect;var f=u.rect;d=d.y!==f.y||d.x!==f.x||d.height!==f.height||d.width!==f.width}}d&&(e.flags|=4),u.abs?u=!l.abs:(l=l.rect,u=u.rect,u=l.height!==u.height||l.width!==u.width),u&&(e.flags|=32)}else e.flags|=32;e.flags&4&&Bp(c,Xl===0?n:n+`_`+Xl,i),s&&e.flags&4||(Jl===null&&(Jl=[]),Jl.push(c,Xl===0?r:r+`_`+Xl,t.memoizedProps)),Xl++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&o?e.flags|=t.flags&32:cu(e,t.child,n,r,i,a,o)&&(s=!0));t=t.sibling}return s}function lu(e,t){for(e=e.child;e!==null;){if(e.tag===30){var n=e.memoizedProps,r=e.stateNode,i=vi(n,r),a=bi(n.default,n.update);if(t){r=r.clones;var o=r===null?null:r.map(Wp)}else o=e.memoizedState,e.memoizedState=null;r=e;var s=e.child;Xl=0,i=cu(r,s,i,i,a,o,!1),e.flags&4&&i&&(t||Gd(e,n.onUpdate))}else e.subtreeFlags&33554432&&lu(e,t);e=e.sibling}}var uu=!1,du=!1,fu=!1,pu=!1,mu=typeof WeakSet==`function`?WeakSet:Set,hu=null,gu=!1,_u=!1,vu=!1,yu=!1;function bu(e,t,n){if(e=e.containerInfo,Sp=jh,e=Jr(e),Yr(e)){if(`selectionStart`in e)var r={start:e.selectionStart,end:e.selectionEnd};else a:{r=(r=e.ownerDocument)&&r.defaultView||window;var i=r.getSelection&&r.getSelection();if(i&&i.rangeCount!==0){r=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==r||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===r&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}r=c===-1||l===-1?null:{start:c,end:l}}else r=null}r||={start:0,end:0}}else r=null;for(Cp={focusedElem:e,selectionRange:r},jh=!1,n=(n&335544064)===n,hu=t,t=n?9270:1024;hu!==null;){if(e=hu,n&&(r=e.deletions,r!==null))for(a=0;a<r.length;a++)n&&ru(r[a]);if(e.alternate===null&&e.flags&2)n&&ql(e),xu(n);else{if(e.tag===22){if(r=e.alternate,e.memoizedState!==null){r!==null&&r.memoizedState===null&&n&&ru(r),xu(n);continue}if(r!==null&&r.memoizedState!==null){n&&ql(e),xu(n);continue}}r=e.child,(e.subtreeFlags&t)!==0&&r!==null?(r.return=e,hu=r):(n&&iu(e),xu(n))}}Kl=null}function xu(e){for(;hu!==null;){var t=hu,n=e,r=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if(a&1024&&r!==null){n=void 0,a=r.memoizedProps,r=r.memoizedState;var o=t.stateNode;try{var s=Dc(t.type,a);n=o.getSnapshotBeforeUpdate(s,r),o.__reactInternalSnapshotBeforeUpdate=n}catch(e){Ef(t,t.return,e)}}break;
vendor: 17,327 bytes, line 33
33case 3:if(a&1024){if(r=t.stateNode.containerInfo,n=r.nodeType,n===9)_m(r);else if(n===1)switch(r.nodeName){case`HEAD`:case`HTML`:case`BODY`:_m(r);break;default:r.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&r!==null&&(n=vi(r.memoizedProps,r.stateNode),a=t.memoizedProps,a=bi(a.default,a.update),a!==`none`&&Zl(r,n,a,r.memoizedState=[],!0));break;default:if(a&1024)throw Error(i(163))}if(r=t.sibling,r!==null){r.return=t.return,hu=r;break}hu=t.return}}function Su(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Hu(e,n),r&4&&Dl(5,n);break;case 1:if(Hu(e,n),r&4){if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Ef(n,n.return,e)}else{var i=Dc(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Ef(n,n.return,e)}}}r&64&&kl(n),r&512&&jl(n,n.return);break;case 3:if(Hu(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{Do(e,t)}catch(e){Ef(n,n.return,e)}}break;case 27:t===null&&r&4&&Wl(n);case 26:case 5:Hu(e,n),t===null&&r&4&&Rl(n),r&512&&jl(n,n.return);break;case 12:Hu(e,n);break;case 31:Hu(e,n),r&4&&ju(e,n);break;case 13:Hu(e,n),r&4&&Mu(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Af.bind(null,n),Cm(e,n))));break;case 22:if(r=n.memoizedState!==null||uu,!r){var a=t!==null&&t.memoizedState!==null||du;t=uu,i=du,uu=r,(du=a)&&!i?(r=2,n.subtreeFlags&8772&&(r|=1),Wu(e,n,r)):Hu(e,n),uu=t,du=i}break;case 30:Hu(e,n),r&512&&jl(n,n.return);break;case 7:r&512&&jl(n,n.return);default:Hu(e,n)}}function Cu(e,t){for(e=e.child;e!==null;)wu(e,t),e=e.sibling}function wu(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;if(t){var r=n.style;typeof r.setProperty==`function`?r.setProperty(`display`,`none`,`important`):r.display=`none`}else{var i=e.stateNode,a=e.memoizedProps.style,o=a!=null&&a.hasOwnProperty(`display`)?a.display:null;i.style.display=o==null||typeof o==`boolean`?``:(``+o).trim()}}catch(t){Ef(e,e.return,t)}Tu(e,t);break;case 6:try{e.stateNode.nodeValue=t?``:e.memoizedProps,Kt=!0}catch(t){Ef(e,e.return,t)}break;case 18:try{var s=e.stateNode;t?zp(s,!0):zp(e.stateNode,!1)}catch(t){Ef(e,e.return,t)}break;case 22:case 23:e.memoizedState===null&&Cu(e,t);break;default:Cu(e,t)}}function Tu(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){a:{var n=e,r=t;switch(n.tag){case 4:wu(n,r);break a;case 22:n.memoizedState===null&&Tu(n,r);break a;default:Tu(n,r)}}e=e.sibling}}function Eu(e){var t=e.alternate;t!==null&&(e.alternate=null,Eu(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&jt(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Du=null,Ou=!1;function ku(e,t,n){for(n=n.child;n!==null;)Au(e,t,n),n=n.sibling}function Au(e,t,n){if(Xe&&typeof Xe.onCommitFiberUnmount==`function`)try{Xe.onCommitFiberUnmount(Ye,n)}catch{}switch(n.tag){case 26:du||Ml(n,t),ku(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!du&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:du||Ml(n,t),Fl(n);var r=Du,i=Ou;Lp(n.type)&&(Du=n.stateNode,Ou=!1),ku(e,t,n),jm(n.stateNode,n.type,n.memoizedProps),Du=r,Ou=i;break;case 5:du||Ml(n,t),Fl(n);case 6:if(n.tag===6&&Fl(n),r=Du,i=Ou,Du=null,ku(e,t,n),Du=r,Ou=i,Du!==null){if(Ou)try{(Du.nodeType===9?Du.body:Du.nodeName===`HTML`?Du.ownerDocument.body:Du).removeChild(n.stateNode),Kt=!0}catch(e){Ef(n,t,e)}else try{Du.removeChild(n.stateNode),Kt=!0}catch(e){Ef(n,t,e)}}break;case 18:Du!==null&&(Ou?(e=Du,Rp(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),rg(e)):Rp(Du,n.stateNode));break;case 4:r=Du,i=Ou,Du=n.stateNode.containerInfo,Ou=!0,ku(e,t,n),Du=r,Ou=i;break;case 0:case 11:case 14:case 15:Ol(2,n,t),du||Ol(4,n,t),ku(e,t,n);break;case 1:du||(Ml(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Al(n,t,r)),ku(e,t,n);break;case 21:ku(e,t,n);break;case 22:du=(r=du)||n.memoizedState!==null,ku(e,t,n),du=r;break;case 30:Ml(n,t),ku(e,t,n);break;case 7:du||Ml(n,t),ku(e,t,n);break;default:ku(e,t,n)}}function ju(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{rg(e)}catch(e){Ef(t,t.return,e)}}}function Mu(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{rg(e)}catch(e){Ef(t,t.return,e)}}function Nu(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new mu),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new mu),t;default:throw Error(i(435,e.tag))}}function Pu(e,t){var n=Nu(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=jf.bind(null,e,t);t.then(r,r)}})}function Fu(e,t,n){var r=t.deletions;if(r!==null)for(var a=0;a<r.length;a++){var o=r[a],s=e,c=t,l=c;a:for(;l!==null;){switch(l.tag){case 27:if(Lp(l.type)){Du=l.stateNode,Ou=!1;break a}break;case 5:Du=l.stateNode,Ou=!1;break a;case 3:case 4:Du=l.stateNode.containerInfo,Ou=!0;break a}l=l.return}if(Du===null)throw Error(i(160));Au(s,c,o),Du=null,Ou=!1,s=o.alternate,s!==null&&(s.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Lu(t,e,n),t=t.sibling}var Iu=null;function Lu(e,t,n){var r=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(a&4&&(r=e.updateQueue,r=r===null?null:r.events,r!==null))for(var o=0;o<r.length;o++){var s=r[o];s.ref.impl=s.nextImpl}Fu(t,e,n),Ru(e),a&4&&(Ol(3,e,e.return),Dl(3,e),Ol(5,e,e.return));break;case 1:Fu(t,e,n),Ru(e),a&512&&(du||r===null||Ml(r,r.return)),a&64&&uu&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?t:n.concat(t))));break;case 26:if(o=Iu,Fu(t,e,n),Ru(e),a&512&&(du||r===null||Ml(r,r.return)),a&4){if(a=r===null?null:r.memoizedState,n=e.memoizedState,r===null){if(n===null){if(e.stateNode===null){if(uu)e.stateNode=Dp(e.type,e.memoizedProps,t.containerInfo,e);else{a:{t=e.type,n=e.memoizedProps,a=o.ownerDocument||o;b:switch(t){case`title`:r=a.getElementsByTagName(`title`)[0],(!r||r[kt]||r[St]||r.namespaceURI===`http://www.w3.org/2000/svg`||r.hasAttribute(`itemprop`))&&(r=a.createElement(t),a.head.insertBefore(r,a.querySelector(`head > title`))),_p(r,t,n),r[St]=e,It(r),t=r;break a;case`link`:if(o=oh(`link`,`href`,a).get(t+(n.href||``))){for(s=0;s<o.length;s++)if(r=o[s],r.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&r.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&r.getAttribute(`title`)===(n.title==null?null:n.title)&&r.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(s,1);break b}}r=a.createElement(t),_p(r,t,n),a.head.appendChild(r);break;case`meta`:if(o=oh(`meta`,`content`,a).get(t+(n.content||``))){for(s=0;s<o.length;s++)if(r=o[s],r.getAttribute(`content`)===(n.content==null?null:``+n.content)&&r.getAttribute(`name`)===(n.name==null?null:n.name)&&r.getAttribute(`property`)===(n.property==null?null:n.property)&&r.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){o.splice(s,1);break b}}r=a.createElement(t),_p(r,t,n),a.head.appendChild(r);break;default:throw Error(i(468,t))}r[St]=e,It(r),t=r}e.stateNode=t}}else uu||sh(o,e.type,e.stateNode)}else e.stateNode=th(o,n,e.memoizedProps)}else a===n?n===null&&e.stateNode!==null&&zl(e,e.memoizedProps,r.memoizedProps):(a===null?(t=r.stateNode,t===null||du||t.parentNode.removeChild(t)):a.count--,n===null?uu||sh(o,e.type,e.stateNode):th(o,n,e.memoizedProps))}break;case 27:Fu(t,e,n),Ru(e),a&512&&(du||r===null||Ml(r,r.return)),r!==null&&a&4&&zl(e,e.memoizedProps,r.memoizedProps);break;case 5:if(o=fu,fu=!1,Fu(t,e,n),fu=o,Ru(e),a&512&&(du||r===null||Ml(r,r.return)),e.flags&32){t=e.stateNode;try{dn(t,``),Kt=!0}catch(t){Ef(e,e.return,t)}}a&4&&e.stateNode!=null&&(t=e.memoizedProps,zl(e,t,r===null?t:r.memoizedProps)),a&1024&&(pu=!0);break;case 6:if(Fu(t,e,n),Ru(e),a&4){if(e.stateNode===null)throw Error(i(162));t=e.memoizedProps,n=e.stateNode;try{n.nodeValue=t,Kt=!0}catch(t){Ef(e,e.return,t)}}break;case 3:if(Kt=!1,ah=null,o=Iu,Iu=Fm(t.containerInfo),Fu(t,e,n),Iu=o,Ru(e),a&4&&r!==null&&r.memoizedState.isDehydrated)try{rg(t.containerInfo)}catch(t){Ef(e,e.return,t)}pu&&(pu=!1,zu(e)),Kt=!1;break;case 4:a=fu,fu=uu,r=qt(),o=Iu,Iu=Fm(e.stateNode.containerInfo),Fu(t,e,n),Ru(e),Iu=o,Kt&&_u&&(vu=!0),Kt=r,fu=a;break;case 12:Fu(t,e,n),Ru(e);break;case 31:Fu(t,e,n),Ru(e),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Pu(e,t)));break;case 13:Fu(t,e,n),Ru(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(Ed=Be()),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Pu(e,t)));break;case 22:o=e.memoizedState!==null,s=r!==null&&r.memoizedState!==null;var c=uu,l=du,u=fu;uu=c||o,fu=u||o,du=l||s,Fu(t,e,n),du=l,fu=u,uu=c,Ru(e),a&8192&&(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,!o||r===null||s||uu||du||(t=s||du,n=uu,r=du,uu=o||uu,du=t,Uu(e,2),uu=n,du=r),!o&&fu||Cu(e,o)),a&4&&(t=e.updateQueue,t!==null&&(n=t.retryQueue,n!==null&&(t.retryQueue=null,Pu(e,n))));break;case 19:Fu(t,e,n),Ru(e),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Pu(e,t)));break;case 30:a&512&&(du||r===null||Ml(r,r.return)),a=qt(),o=_u,s=(n&335544064)===n,c=e.memoizedProps,_u=s&&bi(c.default,c.update)!==`none`,Fu(t,e,n),Ru(e),s&&r!==null&&Kt&&(e.flags|=4),_u=o,Kt=a;break;case 21:break;case 7:a&512&&(du||r===null||Ml(r,r.return)),r&&r.stateNode!==null&&(r.stateNode._fragmentFiber=e);default:Fu(t,e,n),Ru(e)}}function Ru(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Bl(r)){n=r;break}r=r.return}r=null;for(var a=e.return;a!==null;){if(Ll(a)){var o=a.stateNode;r===null?r=[o]:r.push(o)}if(Il(a))break;a=a.return}var s=r;if(n==null)throw Error(i(160));switch(n.tag){case 27:var c=n.stateNode;Ul(e,Vl(e),c,s);break;case 5:var l=n.stateNode;n.flags&32&&(dn(l,``),n.flags&=-33),Ul(e,Vl(e),l,s);break;case 3:case 4:var u=n.stateNode.containerInfo;Hl(e,Vl(e),u,s);break;default:throw Error(i(161))}}catch(t){Ef(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function zu(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;zu(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,jh=!0,t.reset(),jh=!1),e=e.sibling}}function Bu(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)Vu(t,e),t=t.sibling;else lu(t,!1)}function Vu(e,t){var n=e.alternate;if(n===null)tu(e,!1);else switch(e.tag){case 3:if(yu=gu=!1,Yl(),Bu(t,e),!gu&&!vu){if(e=Jl,e!==null)for(var r=0;r<e.length;r+=3){n=e[r];var i=e[r+1];Vp(n,e[r+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:[`none`,`none`]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition-group(`+i+`)`})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===``&&(e.style.viewTransitionName=`none`,e.animate({opacity:[0,0],pointerEvents:[`none`,`none`]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition-group(root)`}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition`})),yu=!0}Jl=null;break;case 5:Bu(t,e);break;case 4:r=gu,gu=!1,Bu(t,e),gu&&(vu=!0),gu=r;break;case 22:e.memoizedState===null&&(n.memoizedState===null?Bu(t,e):tu(e,!1));break;case 30:r=gu,i=Yl(),gu=!1,Bu(t,e),gu&&(e.flags|=4);var a=e.memoizedProps,o=e.stateNode;t=vi(a,o),o=vi(n.memoizedProps,o);var s=bi(a.default,a.update);s===`none`?t=!1:(a=n.memoizedState,n.memoizedState=null,n=e.child,Xl=0,t=cu(e,n,t,o,s,a,!0),Xl!==(a===null?0:a.length)&&(e.flags|=32)),e.flags&4&&t?(Gd(e,e.memoizedProps.onUpdate),Jl=i):i!==null&&(i.push.apply(i,Jl),Jl=i),gu=e.flags&32?!0:r;break;default:Bu(t,e)}}function Hu(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Su(e,t.alternate,t),t=t.sibling}function Uu(e,t){for(e=e.child;e!==null;){var n=e,r=t;switch(n.tag){case 0:case 11:case 14:case 15:Ol(4,n,n.return),Uu(n,r);break;case 1:Ml(n,n.return);var i=n.stateNode;typeof i.componentWillUnmount==`function`&&Al(n,n.return,i),Uu(n,r);break;case 27:r&2&&jm(n.stateNode,n.type,n.memoizedProps);case 5:Ml(n,n.return),n.tag!==5&&n.tag!==27||Fl(n),Uu(n,r);break;case 6:Fl(n);break;case 26:Ml(n,n.return),i=n.stateNode,n.memoizedState!==null||i===null||du||i.parentNode.removeChild(i),Uu(n,r);break;case 22:n.memoizedState===null&&Uu(n,r);break;case 30:Ml(n,n.return),Uu(n,r);break;case 7:Ml(n,n.return);default:Uu(n,r)}e=e.sibling}}function Wu(e,t,n){for(n=t.subtreeFlags&8772?n:n&-2,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags,s=!!(n&1);switch(a.tag){case 0:case 11:case 15:Wu(i,a,n),Dl(4,a);break;case 1:if(Wu(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Ef(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var c=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(l!==null)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)Eo(l[i],c)}catch(e){Ef(r,r.return,e)}}s&&o&64&&kl(a),jl(a,a.return);break;case 27:n&2&&Wl(a);case 5:a.tag!==5&&a.tag!==27||Pl(a),Wu(i,a,n),s&&r===null&&o&4&&Rl(a),jl(a,a.return);break;case 6:Pl(a);break;case 26:c=a.stateNode,a.memoizedState!==null||c===null||uu||sh(Fm(c.ownerDocument),a.type,c),Wu(i,a,n),s&&r===null&&o&4&&Rl(a),jl(a,a.return);break;case 12:Wu(i,a,n);break;case 31:Wu(i,a,n),s&&o&4&&ju(i,a);break;case 13:Wu(i,a,n),s&&o&4&&Mu(i,a);break;case 22:a.memoizedState===null&&Wu(i,a,n),jl(a,a.return);break;case 30:Wu(i,a,n),jl(a,a.return);break;case 7:jl(a,a.return);default:Wu(i,a,n)}t=t.sibling}}function Gu(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Fa(n))}function Ku(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Fa(e))}function qu(e,t,n,r){var i=(n&335544064)===n;if(t.subtreeFlags&(i?10262:10256))for(t=t.child;t!==null;)Ju(e,t,n,r),t=t.sibling;else i&&su(t)}function Ju(e,t,n,r){var i=(n&335544064)===n;i&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&ou(t);var a=t.flags;switch(t.tag){case 0:case 11:case 15:qu(e,t,n,r),a&2048&&Dl(9,t);break;case 1:qu(e,t,n,r);break;case 3:qu(e,t,n,r),i&&yu&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,e.style.viewTransitionName===`root`&&(e.style.viewTransitionName=``),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===`none`&&(e.style.viewTransitionName=``)),a&2048&&(a=null,t.alternate!==null&&(a=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==a&&(t.refCount++,a!=null&&Fa(a)));break;case 12:if(a&2048){qu(e,t,n,r),a=t.stateNode;try{var o=t.memoizedProps,s=o.id,c=o.onPostCommit;typeof c==`function`&&c(s,t.alternate===null?`mount`:`update`,a.passiveEffectDuration,-0)}catch(e){Ef(t,t.return,e)}}else qu(e,t,n,r);break;case 31:qu(e,t,n,r);break;case 13:qu(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,s=t.alternate,t.memoizedState===null?(i&&s!==null&&s.memoizedState!==null&&ou(t),o._visibility&2?qu(e,t,n,r):(o._visibility|=2,Yu(e,t,n,r,!!(t.subtreeFlags&10256)||!1))):(i&&s!==null&&s.memoizedState===null&&ou(s),o._visibility&2?qu(e,t,n,r):Xu(e,t)),a&2048&&Gu(s,t);break;case 24:qu(e,t,n,r),a&2048&&Ku(t.alternate,t);break;case 30:i&&(a=t.alternate,a!==null&&($l(a.child,!0),$l(t.child,!0))),qu(e,t,n,r);break;default:qu(e,t,n,r)}}function Yu(e,t,n,r,i){for(i&&=!!(t.subtreeFlags&10256)||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:Yu(a,o,s,c,i),Dl(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Yu(a,o,s,c,i)):u._visibility&2?Yu(a,o,s,c,i):Xu(a,o),i&&l&2048&&Gu(o.alternate,o);break;case 24:Yu(a,o,s,c,i),i&&l&2048&&Ku(o.alternate,o);break;default:Yu(a,o,s,c,i)}t=t.sibling}}function Xu(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Xu(n,r),i&2048&&Gu(r.alternate,r);break;case 24:Xu(n,r),i&2048&&Ku(r.alternate,r);break;default:Xu(n,r)}t=t.sibling}}var Zu=8192;function Qu(e,t,n){if(e.subtreeFlags&Zu)for(e=e.child;e!==null;)$u(e,t,n),e=e.sibling}function $u(e,t,n){switch(e.tag){case 26:Qu(e,t,n),e.flags&Zu&&(e.memoizedState===null?(e=e.stateNode,(t&335544128)===t&&fh(n,e)):ph(n,Iu,e.memoizedState,e.memoizedProps));break;case 5:Qu(e,t,n),e.flags&Zu&&(e=e.stateNode,(t&335544128)===t&&fh(n,e));break;case 3:case 4:var r=Iu;Iu=Fm(e.stateNode.containerInfo),Qu(e,t,n),Iu=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Zu,Zu=16777216,Qu(e,t,n),Zu=r):Qu(e,t,n));break;case 30:if((e.flags&Zu)!==0&&(r=e.memoizedProps.name,r!=null&&r!==`auto`)){var i=e.stateNode;i.paired=null,Kl===null&&(Kl=new Map),Kl.set(r,i)}Qu(e,t,n);break;default:Qu(e,t,n)}}function ed(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function td(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];hu=r,id(r,e)}ed(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)nd(e),e=e.sibling}
33function nd(e){switch(e.tag){case 0:case 11:case 15:td(e),e.flags&2048&&Ol(9,e,e.return);break;case 3:td(e);break;case 12:td(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,rd(e)):td(e);break;default:td(e)}}function rd(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];hu=r,id(r,e)}ed(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ol(8,t,t.return),rd(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,rd(t));break;default:rd(t)}e=e.sibling}}function id(e,t){for(;hu!==null;){var n=hu;switch(n.tag){case 0:case 11:case 15:Ol(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:Fa(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,hu=r;else a:for(n=e;hu!==null;){r=hu;var i=r.sibling,a=r.return;if(Eu(r),r===n){hu=null;break a}if(i!==null){i.return=a,hu=i;break a}hu=a}}}var ad={getCacheForType:function(e){var t=Da(Na),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Da(Na).controller.signal}},od=typeof WeakMap==`function`?WeakMap:Map,sd=0,cd=null,ld=null,ud=0,dd=0,fd=null,pd=!1,md=!1,hd=!1,gd=0,_d=0,vd=0,yd=0,bd=0,xd=0,Sd=0,Cd=null,wd=null,Td=!1,Ed=0,Dd=0,Od=1/0,kd=null,Ad=null,jd=0,Md=null,Nd=null,Pd=0,Fd=0,Id=null,Ld=null,Rd=null,zd=null,Bd=null,Vd=0,Hd=null;function Ud(){return sd&2&&ud!==0?ud&-ud:fe.T===null?yt():qf()}function Wd(){if(xd===0){if(!(ud&536870912)||oa){var e=rt;rt<<=1,!(rt&3932160)&&(rt=262144),xd=e}else xd=536870912}return e=No.current,e!==null&&(e.flags|=32),xd}function Gd(e,t){if(t!=null){var n=e.stateNode,r=n.ref;r===null&&(r=n.ref=Yp(vi(e.memoizedProps,n))),zd===null&&(zd=[]),zd.push(t.bind(null,r))}}function Kd(e,t,n){(e===cd&&(dd===2||dd===9)||e.cancelPendingCommit!==null)&&($d(e,0),Xd(e,ud,xd,!1)),ft(e,n),(!(sd&2)||e!==cd)&&(e===cd&&(!(sd&2)&&(yd|=n),_d===4&&Xd(e,ud,xd,!1)),zf(e))}function qd(e,t,n){if(sd&6)throw Error(i(327));var r=!n&&!(t&127)&&(t&e.expiredLanes)===0||st(e,t),a=r?cf(e,t):of(e,t,!0),o=r;do{if(a===0){md&&!r&&Xd(e,t,0,!1);break}if(n=e.current.alternate,o&&!Yd(n)){a=of(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=Cd;var l=c.current.memoizedState.isDehydrated;if(l&&($d(c,s).flags|=256),s=of(c,s,!1),s!==2&&s!==6){if(hd&&!l){c.errorRecoveryDisabledLanes|=o,yd|=o,a=4;break a}o=wd,wd=a,o!==null&&(wd===null?wd=o:wd.push.apply(wd,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){$d(e,0),Xd(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:Xd(r,t,xd,!pd);break a;case 2:wd=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=Ed+300-Be(),10<a)){if(Xd(r,t,xd,!pd),ot(r,0,!0)!==0)break a;Pd=t,r.timeoutHandle=jp(Jd.bind(null,r,n,wd,kd,Td,t,xd,yd,Sd,pd,o,`Throttled`,-0,0),a);break a}Jd(r,n,wd,kd,Td,t,xd,yd,Sd,pd,o,null,-0,0)}break}while(1);zf(e)}function Jd(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.timeoutHandle=-1;var m=t.subtreeFlags,h=(a&335544064)===a;if(d=null,(h||m&8192||(m&16785408)==16785408)&&(d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:yn},Kl=null,$u(t,a,d),h&&(m=d,h=e.containerInfo,h=(h.nodeType===9?h:h.ownerDocument).__reactViewTransition,h!=null&&(m.count++,m.waitingForViewTransition=!0,m=_h.bind(m),h.finished.then(m,m))),m=(a&62914560)===a?Ed-Be():(a&4194048)===a?Dd-Be():0,m=hh(d,m),m!==null)){Pd=a,e.cancelPendingCommit=m(hf.bind(null,e,t,a,n,r,i,o,s,c,l,u,d,null,f,p)),Xd(e,a,o,!l);return}hf(e,t,a,n,r,i,o,s,c,l,u,d)}function Yd(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Hr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Xd(e,t,n,r){t=ct(e,t),t&=~bd,t&=~yd,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Qe(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&mt(e,n,t)}function Zd(){return sd&6?!0:(Bf(0,!1),!1)}function Qd(){if(ld!==null){if(dd===0)var e=ld.return;else e=ld,ya=va=null,ls(e),so=null,co=0,e=ld;for(;e!==null;)El(e.alternate,e),e=e.return;ld=null}}function $d(e,t){var n=e.timeoutHandle;return n!==-1&&(e.timeoutHandle=-1,Mp(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Pd=0,Qd(),cd=e,ld=n=Fi(e.current,null),ud=t,dd=0,fd=null,pd=!1,md=st(e,t),hd=!1,Sd=xd=bd=yd=vd=_d=0,wd=Cd=null,Td=!1,gd=ct(e,t),Ti(),n}
33function ef(e,t){Go=null,fe.H=yc,t===Za||t===$a?(t=ao(),dd=3):t===Qa?(t=ao(),dd=4):dd=t===Lc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,fd=t,ld===null&&(_d=1,jc(e,Ui(t,e.current)))}function tf(){var e=No.current;return e===null?!0:(ud&4194048)===ud?Po===null:(ud&62914560)===ud||ud&536870912?e===Po:!1}function nf(){var e=fe.H;return fe.H=yc,e===null?yc:e}function rf(){var e=fe.A;return fe.A=ad,e}function af(){_d=4,pd||(ud&4194048)!==ud&&No.current!==null||(md=!0),!(vd&134217727)&&!(yd&134217727)||cd===null||Xd(cd,ud,xd,!1)}function of(e,t,n){var r=sd;sd|=2;var i=nf(),a=rf();(cd!==e||ud!==t)&&(kd=null,$d(e,t)),t=!1;var o=_d;a:do try{if(dd!==0&&ld!==null){var s=ld,c=fd;switch(dd){case 8:Qd(),o=6;break a;case 3:case 2:case 9:case 6:No.current===null&&(t=!0);var l=dd;if(dd=0,fd=null,ff(e,s,c,l),n&&md){o=0;break a}break;default:l=dd,dd=0,fd=null,ff(e,s,c,l)}}sf(),o=_d;break}catch(t){ef(e,t)}while(1);return t&&e.shellSuspendCounter++,ya=va=null,sd=r,fe.H=i,fe.A=a,ld===null&&(cd=null,ud=0,Ti()),o}function sf(){for(;ld!==null;)uf(ld)}function cf(e,t){var n=sd;sd|=2;var r=nf(),a=rf();cd!==e||ud!==t?(kd=null,Od=Be()+500,$d(e,t)):md=st(e,t);a:do try{if(dd!==0&&ld!==null){t=ld;var o=fd;b:switch(dd){case 1:dd=0,fd=null,ff(e,t,o,1);break;case 2:case 9:if(to(o)){dd=0,fd=null,df(t);break}t=function(){dd!==2&&dd!==9||cd!==e||(dd=7),zf(e)},o.then(t,t);break a;case 3:dd=7;break a;case 4:dd=5;break a;case 7:to(o)?(dd=0,fd=null,df(t)):(dd=0,fd=null,ff(e,t,o,7));break;case 5:var s=null;switch(ld.tag){case 26:s=ld.memoizedState;case 5:case 27:var c=ld;if(s?uh(s):c.stateNode.complete){dd=0,fd=null;var l=c.sibling;if(l!==null)ld=l;else{var u=c.return;u===null?ld=null:(ld=u,pf(u))}break b}}dd=0,fd=null,ff(e,t,o,5);break;case 6:dd=0,fd=null,ff(e,t,o,6);break;case 8:Qd(),_d=6;break a;default:throw Error(i(462))}}lf();break}catch(t){ef(e,t)}while(1);return ya=va=null,fe.H=r,fe.A=a,sd=n,ld===null?(cd=null,ud=0,Ti(),_d):0}function lf(){for(;ld!==null&&!Re();)uf(ld)}function uf(e){var t=_l(e.alternate,e,gd);e.memoizedProps=e.pendingProps,t===null?pf(e):ld=t}function df(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Zc(n,t,t.pendingProps,t.type,void 0,ud);break;case 11:t=Zc(n,t,t.pendingProps,t.type.render,t.ref,ud);break;case 5:ls(t);var r=t;r===ia&&(oa?(fa(r),r.tag===5&&r.stateNode!=null&&(aa=r.stateNode)):(fa(r),oa=!0));default:El(n,t),t=ld=Ii(t,gd),t=_l(n,t,gd)}e.memoizedProps=e.pendingProps,t===null?pf(e):ld=t}function ff(e,t,n,r){ya=va=null,ls(t),so=null,co=0;var i=t.return;try{if(Ic(e,i,t,n,ud)){_d=1,jc(e,Ui(n,e.current)),ld=null;return}}catch(t){if(i!==null)throw ld=i,t;_d=1,jc(e,Ui(n,e.current)),ld=null;return}t.flags&32768?(oa||r===1?e=!0:md||ud&536870912?e=!1:(pd=e=!0,(r===2||r===9||r===3||r===6)&&(r=No.current,r!==null&&r.tag===13&&(r.flags|=16384))),mf(t,e)):pf(t)}function pf(e){var t=e;do{if(t.flags&32768){mf(t,pd);return}e=t.return;var n=wl(t.alternate,t,gd);if(n!==null){ld=n;return}if(t=t.sibling,t!==null){ld=t;return}ld=t=e}while(t!==null);_d===0&&(_d=5)}function mf(e,t){do{var n=Tl(e.alternate,e);if(n!==null){n.flags&=32767,ld=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){ld=e;return}ld=e=n}while(e!==null);_d=6,ld=null}function hf(e,t,n,r,a,o,s,c,l,u,d,f){e.cancelPendingCommit=null;do Cf();while(jd!==0);if(sd&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));e===cd&&(ld=cd=null,ud=0),Nd=t,Md=e,Pd=n,Id=a,Ld=r,gf(e,t,n,s,c,l,f)}}function gf(e,t,n,r,i,a,o){var s=t.lanes|t.childLanes;if(Fd=s,s|=wi,pt(e,n,s,r,i,a),zd=null,(n&335544064)===n?(Bd=Ra(e),r=10262):(Bd=null,r=10256),(t.subtreeFlags&r)!==0||(t.flags&r)!==0?(e.callbackNode=null,e.callbackPriority=0,Mf(We,function(){return wf(),null})):(e.callbackNode=null,e.callbackPriority=0),Gl=!1,r=!!(t.flags&13878),t.subtreeFlags&13878||r){r=fe.T,fe.T=null,i=pe.p,pe.p=2,a=sd,sd|=4;try{bu(e,t,n)}finally{sd=a,pe.p=i,fe.T=r}}jd=1,Gl?Rd=qp(o,e.containerInfo,Bd,yf,bf,vf,xf,wf,_f,null,null):(yf(),bf(),xf())}function _f(e){if(jd!==0){var t=Md.onRecoverableError;t(e,{componentStack:null})}}function vf(){jd===3&&(jd=0,Vu(Nd,Md),jd=4)}function yf(){if(jd===1){jd=0;var e=Md,t=Nd,n=Pd,r=!!(t.flags&13878);if(t.subtreeFlags&13878||r){r=fe.T,fe.T=null;var i=pe.p;pe.p=2;var a=sd;sd|=4;try{_u=vu=!1,Lu(t,e,n),n=Cp;var o=Jr(e.containerInfo),s=n.focusedElem,c=n.selectionRange;if(o!==s&&s&&s.ownerDocument&&qr(s.ownerDocument.documentElement,s)){if(c!==null&&Yr(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Kr(s,h),v=Kr(s,g);
vendor: 5,406 bytes, line 33
33if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}jh=!!Sp,Cp=Sp=null}finally{sd=a,pe.p=i,fe.T=r}}e.current=t,jd=2}}function bf(){if(jd===2){jd=0;var e=Md,t=Nd,n=!!(t.flags&8772);if(t.subtreeFlags&8772||n){n=fe.T,fe.T=null;var r=pe.p;pe.p=2;var i=sd;sd|=4;try{Su(e,t.alternate,t)}finally{sd=i,pe.p=r,fe.T=n}}jd=3}}function xf(){if(jd===4||jd===3){jd=0;var e=Rd;Rd=null,ze();var t=Md,n=Nd,r=Pd,i=Ld,a=(r&335544064)===r?10262:10256;if((n.subtreeFlags&a)!==0||(n.flags&a)!==0?jd=5:(jd=0,Nd=Md=null,Sf(t,t.pendingLanes)),a=t.pendingLanes,a===0&&(Ad=null),vt(r),n=n.stateNode,Xe&&typeof Xe.onCommitFiberRoot==`function`)try{Xe.onCommitFiberRoot(Ye,n,void 0,(n.current.flags&128)==128)}catch{}if(i!==null){n=fe.T,a=pe.p,pe.p=2,fe.T=null;try{for(var o=t.onRecoverableError,s=0;s<i.length;s++){var c=i[s];o(c.value,{componentStack:c.stack})}}finally{fe.T=n,pe.p=a}}if(i=zd,o=Bd,Bd=null,i!==null&&(zd=null,o===null&&(o=[]),e!==null))for(c=0;c<i.length;c++)n=(0,i[c])(o),n!==void 0&&e.finished.finally(n);Pd&3&&Cf(),zf(t),a=t.pendingLanes,r&261930&&a&42?t===Hd?Vd++:(Vd=0,Hd=t):(Vd=0,Hd=null),Bf(0,!1)}}function Sf(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Fa(t)))}function Cf(){return Rd!==null&&(Rd.skipTransition(),Rd=null),yf(),bf(),xf(),wf()}function wf(){if(jd!==5)return!1;var e=Md,t=Fd;Fd=0;var n=vt(Pd),r=fe.T,a=pe.p;try{pe.p=32>n?32:n,fe.T=null,n=Id,Id=null;var o=Md,s=Pd;if(jd=0,Nd=Md=null,Pd=0,sd&6)throw Error(i(331));var c=sd;if(sd|=4,nd(o.current),Ju(o,o.current,s,n),sd=c,Bf(0,!1),Xe&&typeof Xe.onPostCommitFiberRoot==`function`)try{Xe.onPostCommitFiberRoot(Ye,o)}catch{}return!0}finally{pe.p=a,fe.T=r,Sf(e,t)}}function Tf(e,t,n){t=Ui(n,t),t=Nc(e.stateNode,t,2),e=bo(e,t,2),e!==null&&(ft(e,2),zf(e))}function Ef(e,t,n){if(e.tag===3)Tf(e,e,n);else for(;t!==null;){if(t.tag===3){Tf(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(Ad===null||!Ad.has(r))){e=Ui(n,e),n=Pc(2),r=bo(t,n,2),r!==null&&(Fc(n,r,t,e),ft(r,2),zf(r));break}}t=t.return}}function Df(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new od;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(hd=!0,i.add(n),e=Of.bind(null,e,t,n),t.then(e,e))}function Of(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,cd===e&&(ud&n)===n&&(_d===4||_d===3&&(ud&62914560)===ud&&300>Be()-Ed?sd&2?bd|=n:$d(e,0):bd|=n,Sd===ud&&(Sd=0)),zf(e)}function kf(e,t){t===0&&(t=ut()),e=Oi(e,t),e!==null&&(ft(e,t),zf(e))}function Af(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),kf(e,n)}function jf(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),kf(e,n)}function Mf(e,t){return Ie(e,t)}var Nf=null,Pf=null,Ff=!1,If=!1,Lf=!1,Rf=0;function zf(e){e!==Pf&&e.next===null&&(Pf===null?Nf=Pf=e:Pf=Pf.next=e),If=!0,Ff||(Ff=!0,Kf())}function Bf(e,t){if(!Lf&&If){Lf=!0;do for(var n=!1,r=Nf;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Qe(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,Gf(r,a))}else a=ud,a=ot(r,r===cd?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||st(r,a)||(n=!0,Gf(r,a))}r=r.next}while(n);Lf=!1}}function Vf(){Hf()}function Hf(){If=Ff=!1;var e=0;Rf!==0&&Ap()&&(e=Rf);for(var t=Be(),n=null,r=Nf;r!==null;){var i=r.next,a=Uf(r,t);a===0?(r.next=null,n===null?Nf=i:n.next=i,i===null&&(Pf=n)):(n=r,(e!==0||a&3)&&(If=!0)),r=i}jd!==0&&jd!==5||Bf(e,!1),Rf!==0&&(Rf=0)}function Uf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Qe(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=lt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=cd,n=ud,n=ot(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(dd===2||dd===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Le(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||st(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Le(r),vt(n)){case 2:case 8:n=Ue;break;case 32:n=We;break;case 268435456:n=Ke;break;default:n=We}return r=Wf.bind(null,e),n=Ie(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Le(r),e.callbackPriority=2,e.callbackNode=null,2}function Wf(e,t){if(jd!==0&&jd!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Cf()&&e.callbackNode!==n)return null;var r=ud;return r=ot(e,e===cd?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(qd(e,r,t),Uf(e,Be()),e.callbackNode!=null&&e.callbackNode===n?Wf.bind(null,e):null)}function Gf(e,t){if(Cf())return null;qd(e,t,!0)}function Kf(){Fp(function(){sd&6?Ie(He,Vf):Hf()})}
vendor: 7,202 bytes, line 33
33function qf(){if(Rf===0){var e=Va;e===0&&(e=nt,nt<<=1,!(nt&261888)&&(nt=256)),Rf=e}return Rf}function Jf(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:vn(e)}function Yf(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=Jf((i[Ct]||null).action),o=r.submitter;o&&(t=(t=o[Ct]||null)?Jf(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new Bn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Rf!==0){var e=new FormData(i,o);ac(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=new FormData(i,o),ac(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var Xf=0;Xf<hi.length;Xf++){var Zf=hi[Xf];gi(Zf.toLowerCase(),`on`+(Zf[0].toUpperCase()+Zf.slice(1)))}gi(si,`onAnimationEnd`),gi(ci,`onAnimationIteration`),gi(li,`onAnimationStart`),gi(`dblclick`,`onDoubleClick`),gi(`focusin`,`onFocus`),gi(`focusout`,`onBlur`),gi(ui,`onTransitionRun`),gi(di,`onTransitionStart`),gi(fi,`onTransitionCancel`),gi(pi,`onTransitionEnd`),Vt(`onMouseEnter`,[`mouseout`,`mouseover`]),Vt(`onMouseLeave`,[`mouseout`,`mouseover`]),Vt(`onPointerEnter`,[`pointerout`,`pointerover`]),Vt(`onPointerLeave`,[`pointerout`,`pointerover`]),Bt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Bt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Bt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Bt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Bt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Bt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var Qf=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),$f=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(Qf));function ep(e,t){t=!!(t&4);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){xi(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){xi(e)}i.currentTarget=null,a=c}}}}function tp(e,t){var n=t[Tt];n===void 0&&(n=t[Tt]=new Set);var r=e+`__bubble`;n.has(r)||(ap(t,e,2,!1),n.add(r))}function np(e,t,n){var r=0;t&&(r|=4),ap(n,e,r,t)}var rp=`_reactListening`+Math.random().toString(36).slice(2);function ip(e){if(!e[rp]){e[rp]=!0,Rt.forEach(function(t){t!==`selectionchange`&&($f.has(t)||np(t,!1,e),np(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[rp]||(t[rp]=!0,np(`selectionchange`,!1,t))}}function ap(e,t,n,r){switch(Rh(t)){case 2:var i=Mh;break;case 8:i=Nh;break;default:i=Ph}n=i.bind(null,t,n,e),i=void 0,!kn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function op(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=Mt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}En(function(){var r=a,i=xn(n),s=[];a:{var c=mi.get(e);if(c!==void 0){var l=Bn,u=e;switch(e){case`keypress`:if(Fn(n)===0)break a;case`keydown`:case`keyup`:l=ir;break;case`focusin`:u=`focus`,l=Yn;break;case`focusout`:u=`blur`,l=Yn;break;case`beforeblur`:case`afterblur`:l=Yn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=qn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Jn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=sr;break;case si:case ci:case li:l=Xn;break;case pi:l=cr;break;case`scroll`:case`scrollend`:l=Hn;break;case`wheel`:l=lr;break;case`copy`:case`cut`:case`paste`:l=Zn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=ar;break;case`submit`:l=or;break;case`toggle`:case`beforetoggle`:l=ur}var d=!!(t&4),f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=Dn(m,p),g!=null&&d.push(sp(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(l=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,l&&n!==bn&&(u=n.relatedTarget||n.fromElement)&&(Mt(u)||u[wt]))break a;(c||l)&&(u=i.window===i?i:(l=i.ownerDocument)?l.defaultView||l.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?Mt(l):null,l!==null&&(f=o(l),d=l.tag,l!==f||d!==5&&d!==27&&d!==6)&&(l=null)):(c=null,l=r),c!==l&&(d=qn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=ar,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=c==null?u:Pt(c),h=l==null?u:Pt(l),u=new d(g,m+`leave`,c,n,i),u.target=f,u.relatedTarget=h,g=null,Mt(i)===r&&(d=new d(p,m+`enter`,l,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,d=c&&l?C(c,l,lp):null,c!==null&&up(s,u,c,d,!1),l!==null&&f!==null&&up(s,f,l,d,!0)))}a:{if(c=r?Pt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var _=Ar;else if(wr(c)){if(jr)_=Br;else{_=Rr;var v=Lr}}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&hn(r.elementType)&&(_=Ar):_=zr;if(_&&=_(e,r)){Tr(s,_,n,i);break a}v&&v(e,c,r)}switch(v=r?Pt(r):window,e){case`focusin`:(wr(v)||v.contentEditable===`true`)&&(Zr=v,Qr=r,$r=null);break;case`focusout`:$r=Qr=Zr=null;break;case`mousedown`:ei=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:ei=!1,ti(s,n,i);break;case`selectionchange`:if(Xr)break;case`keydown`:case`keyup`:ti(s,n,i)}var y;if(fr)b:{switch(e){case`compositionstart`:var b=`onCompositionStart`;break b;case`compositionend`:b=`onCompositionEnd`;break b;case`compositionupdate`:b=`onCompositionUpdate`;break b}b=void 0}else br?vr(e,n)&&(b=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(b=`onCompositionStart`);b&&(hr&&n.locale!==`ko`&&(br||b!==`onCompositionStart`?b===`onCompositionEnd`&&br&&(y=Pn()):(jn=i,Mn=`value`in jn?jn.value:jn.textContent,br=!0)),v=cp(r,b),0<v.length&&(b=new Qn(b,e,null,n,i),s.push({event:b,listeners:v}
vendor: 7,076 bytes, lines 33-34
33),y?b.data=y:(y=yr(n),y!==null&&(b.data=y)))),(y=mr?xr(e,n):Sr(e,n))&&(b=cp(r,`onBeforeInput`),0<b.length&&(v=new Qn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:v,listeners:b}),v.data=y)),Yf(s,e,r,n,i)}ep(s,t)})}function sp(e,t,n){return{instance:e,listener:t,currentTarget:n}}function cp(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=Dn(e,n),i!=null&&r.unshift(sp(e,i,a)),i=Dn(e,t),i!=null&&r.push(sp(e,i,a))),e.tag===3)return r;e=e.return}return[]}function lp(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function up(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=Dn(n,a),l!=null&&o.unshift(sp(n,l,c))):i||(l=Dn(n,a),l!=null&&o.push(sp(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var dp=/\r\n?/g,fp=/\u0000|\uFFFD/g;function pp(e){return(typeof e==`string`?e:``+e).replace(dp,` 34`).replace(fp,``)}function mp(e,t){return t=pp(t),pp(e)===t}function hp(e,t,n,r,a,o){switch(n){case`children`:if(typeof r==`string`)t===`body`||t===`textarea`&&r===``||dn(e,r);else if(typeof r==`number`||typeof r==`bigint`)t!==`body`&&dn(e,``+r);else return;break;case`className`:Yt(e,`class`,r);break;case`tabIndex`:Yt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Yt(e,n,r);break;case`style`:mn(e,r,o);return;case`data`:if(t!==`object`){Yt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=vn(r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}if(typeof o==`function`&&(n===`formAction`?(t!==`input`&&hp(e,t,`name`,a.name,a,null),hp(e,t,`formEncType`,a.formEncType,a,null),hp(e,t,`formMethod`,a.formMethod,a,null),hp(e,t,`formTarget`,a.formTarget,a,null)):(hp(e,t,`encType`,a.encType,a,null),hp(e,t,`method`,a.method,a,null),hp(e,t,`target`,a.target,a,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=vn(r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=yn);return;case`onScroll`:r!=null&&tp(`scroll`,e);return;case`onScrollEnd`:r!=null&&tp(`scrollend`,e);return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));o?.__html!==n&&(e.innerHTML=n)}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=vn(r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`credentialless`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:tp(`beforetoggle`,e),tp(`toggle`,e),Jt(e,`popover`,r);break;case`xlinkActuate`:Xt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Xt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Xt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Xt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Xt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Xt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Xt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Xt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Xt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Jt(e,`is`,r);break;case`innerText`:case`textContent`:return;default:if(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)n=gn.get(n)||n,Jt(e,n,r);else return}Kt=!0}function gp(e,t,n,r,a,o){switch(n){case`style`:mn(e,r,o);return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));o?.__html!==n&&(e.innerHTML=n)}}break;case`children`:if(typeof r==`string`)dn(e,r);else if(typeof r==`number`||typeof r==`bigint`)dn(e,``+r);else return;break;case`onScroll`:r!=null&&tp(`scroll`,e);return;case`onScrollEnd`:r!=null&&tp(`scrollend`,e);return;case`onClick`:r!=null&&(e.onclick=yn);return;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:return;case`innerText`:case`textContent`:return;default:if(!zt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),o=n.slice(2,a?n.length-7:void 0),t=e[Ct]||null,t=t==null?null:t[n],typeof t==`function`&&e.removeEventListener(o,t,a),typeof r==`function`)){typeof t!=`function`&&t!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(o,r,a);break a}Kt=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,``):Jt(e,n,r)}return}Kt=!0}function _p(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:tp(`error`,e),tp(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:hp(e,t,o,s,n,null)}}a&&hp(e,t,`srcSet`,n.srcSet,n,null),r&&hp(e,t,`src`,n.src,n,null);return;
vendor: 4,695 bytes, line 34
34case`input`:tp(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:hp(e,t,r,d,n,null)}}on(e,o,c,l,u,s,a,!1);return;case`select`:for(a in tp(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:hp(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&cn(e,!!r,n,!0):cn(e,!!r,t,!1);return;case`textarea`:for(s in tp(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:hp(e,t,s,c,n,null)}un(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:hp(e,t,l,r,n,null)}return;case`dialog`:tp(`beforetoggle`,e),tp(`toggle`,e),tp(`cancel`,e),tp(`close`,e);break;case`iframe`:case`object`:tp(`load`,e);break;case`video`:case`audio`:for(r=0;r<Qf.length;r++)tp(Qf[r],e);break;case`image`:tp(`error`,e),tp(`load`,e);break;case`details`:tp(`toggle`,e);break;case`embed`:case`source`:case`link`:tp(`error`,e),tp(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:hp(e,t,u,r,n,null)}return;default:if(hn(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&gp(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&hp(e,t,c,r,n,null))}var vp={};function yp(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||hp(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:m!==f&&(Kt=!0),o=m;break;case`name`:m!==f&&(Kt=!0),a=m;break;case`checked`:m!==f&&(Kt=!0),u=m;break;case`defaultChecked`:m!==f&&(Kt=!0),d=m;break;case`value`:m!==f&&(Kt=!0),s=m;break;case`defaultValue`:m!==f&&(Kt=!0),c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&hp(e,t,p,m,r,f)}}an(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||hp(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:o!==l&&(Kt=!0),p=o;break;case`defaultValue`:o!==l&&(Kt=!0),c=o;break;case`multiple`:o!==l&&(Kt=!0),s=o;default:o!==l&&hp(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?cn(e,!!n,n?[]:``,!1):cn(e,!!n,t,!0)):cn(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:hp(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:a!==o&&(Kt=!0),p=a;break;case`defaultValue`:a!==o&&(Kt=!0),m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&hp(e,t,s,a,r,o)}ln(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:hp(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:p!==m&&(Kt=!0),e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:hp(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&hp(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:hp(e,t,u,p,r,m)}return;default:if(hn(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&gp(e,t,_,void 0,r,p);
34for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||gp(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&hp(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||hp(e,t,f,p,r,m)}function bp(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function xp(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&bp(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&bp(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var Sp=null,Cp=null;function wp(e){return e.nodeType===9?e:e.ownerDocument}function Tp(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function Ep(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Dp(e,t,n,r){return n=wp(n).createElement(e),n[St]=r,n[Ct]=t,_p(n,e,t),It(n),n}function Op(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var kp=null;function Ap(){var e=window.event;return e&&e.type===`popstate`?e!==kp&&(kp=e,!0):(kp=null,!1)}var jp=typeof setTimeout==`function`?setTimeout:void 0,Mp=typeof clearTimeout==`function`?clearTimeout:void 0,Np=typeof Promise==`function`?Promise:void 0,Pp=typeof requestAnimationFrame==`function`?requestAnimationFrame:jp,Fp=typeof queueMicrotask==`function`?queueMicrotask:Np===void 0?jp:function(e){return Np.resolve(null).then(e).catch(Ip)};function Ip(e){setTimeout(function(){throw e})}function Lp(e){return e===`head`}function Rp(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8){if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),rg(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)Mm(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,Mm(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[kt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&Mm(e.ownerDocument.body)}n=i}while(n);rg(t)}function zp(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8){if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++}n=r}while(n)}function Bp(e,t,n){if(t=CSS.escape(t)===t?t:`r-`+btoa(t).replace(/=/g,``),e.style.viewTransitionName=t,n!=null&&(e.style.viewTransitionClass=n),n=getComputedStyle(e),n.display===`inline`){if(t=e.getClientRects(),t.length===1)var r=1;else for(var i=r=0;i<t.length;i++){var a=t[i];0<a.width&&0<a.height&&r++}r===1&&(e=e.style,e.display=t.length===1?`inline-block`:`block`,e.marginTop=`-`+n.paddingTop,e.marginBottom=`-`+n.paddingBottom)}}function Vp(e,t){e=e.style,t=t.style;var n=t==null?null:t.hasOwnProperty(`viewTransitionName`)?t.viewTransitionName:t.hasOwnProperty(`view-transition-name`)?t[`view-transition-name`]:null;e.viewTransitionName=n==null||typeof n==`boolean`?``:(``+n).trim(),n=t==null?null:t.hasOwnProperty(`viewTransitionClass`)?t.viewTransitionClass:t.hasOwnProperty(`view-transition-class`)?t[`view-transition-class`]:null,e.viewTransitionClass=n==null||typeof n==`boolean`?``:(``+n).trim(),e.display===`inline-block`&&(t==null?e.display=e.margin=``:(n=t.display,e.display=n==null||typeof n==`boolean`?``:n,n=t.margin,n==null?(n=t.hasOwnProperty(`marginTop`)?t.marginTop:t[`margin-top`],e.marginTop=n==null||typeof n==`boolean`?``:n,t=t.hasOwnProperty(`marginBottom`)?t.marginBottom:t[`margin-bottom`],e.marginBottom=t==null||typeof t==`boolean`?``:t):e.margin=n))}function Hp(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:t.position===`absolute`||t.position===`fixed`,clip:t.clipPath!==`none`||t.overflow!==`visible`||t.filter!==`none`||t.mask!==`none`||t.mask!==`none`||t.borderRadius!==`0px`,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function Up(e){return Hp(e.getBoundingClientRect(),getComputedStyle(e),e)}function Wp(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height);var n=getComputedStyle(e);return Hp(t,n,e)}function Gp(e){return e.documentElement.clientHeight}function Kp(e){this.addEventListener(`load`,e),this.addEventListener(`error`,e)}function qp(e,t,n,r,i,a,o,s,c){var l=t.nodeType===9?t:t.ownerDocument;try{var u=l.startViewTransition({update:function(){var t=l.defaultView,n=t.navigation&&t.navigation.transition,o=l.fonts.status;r();var s=[];if(o===`loaded`&&(Gp(l),l.fonts.status===`loading`&&s.push(l.fonts.ready)),o=s.length,e!==null)for(var c=e.suspenseyImages,u=0,d=0;d<c.length;d++){var f=c[d];if(!f.complete){var p=f.getBoundingClientRect();
vendor: 18,623 bytes, line 34
34if(0<p.bottom&&0<p.right&&p.top<t.innerHeight&&p.left<t.innerWidth){if(u+=dh(f),u>mh){s.length=o;break}f=new Promise(Kp.bind(f)),s.push(f)}}}if(0<s.length)return t=Promise.race([Promise.all(s),new Promise(function(e){return setTimeout(e,500)})]).then(i,i),(n?Promise.allSettled([n.finished,t]):t).then(a,a);if(i(),n)return n.finished.then(a,a);a()},types:n});l.__reactViewTransition=u;var d=[];return u.ready.then(function(){for(var e=l.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,i=r.pseudoElement;if(i!=null&&i.startsWith(`::view-transition`)){d.push(n),n=r.getKeyframes();for(var a=i=void 0,s=!0,c=0;c<n.length;c++){var u=n[c],f=u.width;if(i===void 0)i=f;else if(i!==f){s=!1;break}if(f=u.height,a===void 0)a=f;else if(a!==f){s=!1;break}delete u.width,delete u.height,u.transform===`none`&&delete u.transform}s&&i!==void 0&&a!==void 0&&(r.setKeyframes(n),s=getComputedStyle(r.target,r.pseudoElement),s.width!==i||s.height!==a)&&(s=n[0],s.width=i,s.height=a,s=n[n.length-1],s.width=i,s.height=a,r.setKeyframes(n))}}o()},function(e){l.__reactViewTransition===u&&(l.__reactViewTransition=null);try{if(typeof e==`object`&&e)switch(e.name){case`InvalidStateError`:(e.message===`View transition was skipped because document visibility state is hidden.`||e.message===`Skipping view transition because document visibility state has become hidden.`||e.message===`Skipping view transition because viewport size changed.`||e.message===`Transition was aborted because of invalid state`)&&(e=null)}e!==null&&c(e)}finally{r(),i(),o()}}),u.finished.finally(function(){for(var e=0;e<d.length;e++)d[e].cancel();l.__reactViewTransition===u&&(l.__reactViewTransition=null),s()}),u}catch{return r(),i(),o(),null}}function Jp(e,t){this._scope=document.documentElement,this._selector=`::view-transition-`+e+`(`+t+`)`}Jp.prototype.animate=function(e,t){return t=typeof t==`number`?{duration:t}:w({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},Jp.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],i=0;i<n.length;i++){var a=n[i].effect;a!==null&&a.target===e&&a.pseudoElement===t&&r.push(n[i])}return r},Jp.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Yp(e){return{name:e,group:new Jp(`group`,e),imagePair:new Jp(`image-pair`,e),old:new Jp(`old`,e),new:new Jp(`new`,e)}}function Xp(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}Xp.prototype.addEventListener=function(e,t,n){var r=null,i=null;if(!(n!=null&&typeof n!=`boolean`&&(r=n.signal||null,r!==null&&r.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var a=this._eventListeners;if(tm(a,e,t,n)===-1){var o=this,s=t;n!=null&&typeof n!=`boolean`&&!0===n.once&&(s=function(r){o.removeEventListener(e,t,n),typeof t==`function`?t.call(this,r):t.handleEvent(r)}),r!==null&&(i=o.removeEventListener.bind(o,e,t,n),r.addEventListener(`abort`,i,{once:!0}),i=r.removeEventListener.bind(r,`abort`,i)),r=$p(n),a.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:s,cleanup:i}),f(this._fragmentFiber.child,!1,Zp,e,s,r)}this._eventListeners=a}};function Zp(e,t,n,r){return _(e).addEventListener(t,n,r),!1}Xp.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;if(r!==null&&(t=tm(r,e,t,n),t!==-1)){var i=r[t];n=i.attachedListener;var a=i.cleanup;i=$p(i.optionsOrUseCapture),f(this._fragmentFiber.child,!1,Qp,e,n,i),r.splice(t,1),a!==null&&a()}};function Qp(e,t,n,r){return _(e).removeEventListener(t,n,r),!1}function $p(e){return e!=null&&typeof e!=`boolean`&&(!0===e.once||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function em(e){return e==null?`c=0`:typeof e==`boolean`?`c=`+(e?`1`:`0`):`c=`+(e.capture?`1`:`0`)}function tm(e,t,n,r){if(e.length===0)return-1;r=em(r);for(var i=0;i<e.length;i++){var a=e[i];if(a.type===t&&a.listener===n&&em(a.optionsOrUseCapture)===r)return i}return-1}Xp.prototype.dispatchEvent=function(e){var t=p(this._fragmentFiber);if(t===null)return!0;t=_(t);var n=this._eventListeners;if(n!==null&&0<n.length||!e.bubbles){var r=t.nodeType===9?t.createComment(``):document.createTextNode(``);if(n)for(var i=0;i<n.length;i++){var a=n[i];r.addEventListener(a.type,a.attachedListener,$p(a.optionsOrUseCapture))}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(i=0;i<n.length;i++)a=n[i],r.removeEventListener(a.type,a.attachedListener,$p(a.optionsOrUseCapture));return t.removeChild(r),e}return t.dispatchEvent(e)},Xp.prototype.focus=function(e){f(this._fragmentFiber.child,!0,nm,e,void 0,void 0)};function nm(e,t){return e.tag!==6&&(e=_(e),Om(e,t))}Xp.prototype.focusLast=function(e){var t=[];f(this._fragmentFiber.child,!0,rm,t,void 0,void 0);for(var n=t.length-1;0<=n&&!nm(t[n],e);n--);};function rm(e,t){return t.push(e),!1}Xp.prototype.blur=function(){var e=p(this._fragmentFiber);e!==null&&(e=_(e),e=wp(e).activeElement,e!==null&&f(this._fragmentFiber.child,!1,im,e,void 0,void 0))};function im(e,t){return e.tag!==6&&(e=_(e),e===t||e.contains(t)?(t.blur(),!0):!1)}Xp.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),f(this._fragmentFiber.child,!1,am,e,void 0,void 0)};function am(e,t){return e.tag!==6&&(e=_(e),t.observe(e),!1)}Xp.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),f(this._fragmentFiber.child,!1,om,e,void 0,void 0);for(var n=t=0;n<sm.length;n++){var r=sm[n];r.fragmentInstance===this&&r.observer===e?e.unobserve(r.instance):sm[t++]=r}sm.length=t}};function om(e,t){return e.tag!==6&&(e=_(e),t.unobserve(e),!1)}var sm=[],cm=!1;function lm(e,t,n){sm.push({fragmentInstance:e,observer:t,instance:n}),cm||(cm=!0,km(function(){cm=!1;var e=sm;sm=[];for(var t=0;t<e.length;t++){var n=e[t];n.observer.unobserve(n.instance)}}))}Xp.prototype.getClientRects=function(){var e=[];return f(this._fragmentFiber.child,!1,um,e,void 0,void 0),e};function um(e,t){if(e.tag===6){e=e.stateNode;var n=e.ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=_(e),t.push.apply(t,e.getClientRects());return!1}Xp.prototype.getRootNode=function(e){var t=p(this._fragmentFiber);return t===null?this:_(t).getRootNode(e)},Xp.prototype.compareDocumentPosition=function(e){var t=p(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];f(this._fragmentFiber.child,!1,rm,n,void 0,void 0);var r=_(t);if(n.length===0){if(n=r,m(this._fragmentFiber)){a:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break a}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(n=t)}t=this._fragmentFiber;var i=r=n.compareDocumentPosition(e);return n===e?i=Node.DOCUMENT_POSITION_CONTAINS:r&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=h(t)[1],n===null?i=Node.DOCUMENT_POSITION_PRECEDING:(e=_(n).compareDocumentPosition(e),i=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),i|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=_(n[0]),i=_(n[n.length-1]);var a=m(this._fragmentFiber)?t.parentElement:r;if(a==null)return Node.DOCUMENT_POSITION_DISCONNECTED;r=a.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,a=a.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY;var o=t.compareDocumentPosition(e),s=i.compareDocumentPosition(e),c=o&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY;return s=r&&a&&o&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,t=r&&t===e||a&&i===e||c||s?Node.DOCUMENT_POSITION_CONTAINED_BY:!r&&t===e||!a&&i===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:o,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||dm(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function dm(e,t,n,r,i){var a=Mt(i);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!a)a:{for(;a!==null;){if(a.tag===7&&(a===t||a.alternate===t)){n=!0;break a}a=a.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(a===null)return a=i.ownerDocument,i===a||i===a.documentElement||i===a.body;a:{for(a=t,t=p(t);a!==null;){if(!(a.tag!==5&&a.tag!==3&&a.tag!==27||a!==t&&a.alternate!==t)){a=!0;break a}a=a.return}a=!1}return a}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!a)&&!(t=a===n)&&(t=C(n,a,S),t===null?t=!1:(f(t,!0,b,a,n),a=v,v=null,t=a!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!a)&&!(t=a===r)&&(t=C(r,a,S),t===null?t=!1:(f(t,!0,x,a,r),a=v,y=v=null,t=a!==null)),t):!1}function fm(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}Xp.prototype.scrollIntoView=function(e){if(typeof e==`object`)throw Error(i(566));var t=[];f(this._fragmentFiber.child,!1,rm,t,void 0,void 0);var n=!1!==e;if(t.length===0){var r=h(this._fragmentFiber);if(r=n?r[1]||r[0]||p(this._fragmentFiber):r[0]||r[1],r===null)return;if(r.tag===6){e=_(r),fm(e,n);return}if(r=_(r),r.nodeType!==9){if(r.nodeType===11){n=`host`in r?r.host:null,n!==null&&n.scrollIntoView(e);return}r.scrollIntoView(e)}}for(r=n?t.length-1:0;r!==(n?-1:t.length);){var a=t[r];a.tag===6?(a=_(a),fm(a,n)):_(a).scrollIntoView(e),r+=n?-1:1}};function pm(e,t){return e=_(e),mm(e,t),!1}function mm(e,t){e.reactFragments??=new Set,e.reactFragments.add(t)}function hm(e,t){var n=t._eventListeners;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];e.addEventListener(i.type,i.attachedListener,$p(i.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(n){for(var r=0,i=0;i<sm.length;i++){var a=sm[i];(a.fragmentInstance!==t||a.observer!==n||a.instance!==e)&&(sm[r++]=a)}sm.length=r,n.observe(e)}),mm(e,t))}function gm(e,t){var n=t._eventListeners;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];e.removeEventListener(i.type,i.attachedListener,$p(i.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(n){typeof n.rootMargin==`string`?lm(t,n,e):n.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function _m(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:_m(n),jt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function vm(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r){if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e}else if(!e[kt])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=wm(e.nextSibling),e===null)break}return null}function ym(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=wm(e.nextSibling),e===null))return null;return e}function bm(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=wm(e.nextSibling),e===null))return null;return e}function xm(e){return e.data===`$?`||e.data===`$~`}function Sm(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function Cm(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function wm(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var Tm=null;function Em(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return wm(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function Dm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function Om(e,t){function n(){r=!0}if(e.ownerDocument.activeElement===e)return!0;var r=!1;try{e.ownerDocument.addEventListener(`focus`,n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener(`focus`,n,!0)}return r}function km(e){Pp(function(){Pp(function(t){return e(t)})})}function Am(e,t,n){switch(t=wp(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function jm(e,t,n){for(var r in n){var i=n[r];n.hasOwnProperty(r)&&i!=null&&hp(e,t,r,null,vp,i)}n.dangerouslySetInnerHTML!=null&&(e.textContent=``),e.onclick===yn&&(e.onclick=null),jt(e)}function Mm(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);jt(e)}var Nm=new Map,Pm=new Set;function Fm(e){if(typeof e.getRootNode==`function`){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var Im=pe.d;pe.d={f:Lm,r:Rm,D:Vm,C:Hm,L:Um,m:Wm,X:Km,S:Gm,M:qm};function Lm(){var e=Im.f(),t=Zd();return e||t}function Rm(e){var t=Nt(e);t!==null&&t.tag===5&&t.type===`form`?sc(t):Im.r(e)}var zm=typeof document>`u`?null:document;function Bm(e,t,n){var r=zm;if(r&&typeof t==`string`&&t){var i=rn(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),Pm.has(i)||(Pm.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),_p(t,`link`,e),It(t),r.head.appendChild(t)))}}function Vm(e){Im.D(e),Bm(`dns-prefetch`,e,null)}function Hm(e,t){Im.C(e,t),Bm(`preconnect`,e,t)}function Um(e,t,n){Im.L(e,t,n);var r=zm;if(r&&e&&t){var i=`link[rel="preload"][as="`+rn(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+rn(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+rn(n.imageSizes)+`"]`)):i+=`[href="`+rn(e)+`"]`;var a=i;switch(t){case`style`:a=Ym(e);break;case`script`:a=$m(e)}if(!(Nm.has(a)||(e=w({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),Nm.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Xm(a))||t===`script`&&r.querySelector(eh(a))))){var o=r.createElement(`link`);_p(o,`link`,e),t===`style`&&(o[At]=!0,o.onload=o.onerror=function(){Lt(o)}),It(o),r.head.appendChild(o)}}}function Wm(e,t){Im.m(e,t);var n=zm;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+rn(r)+`"][href="`+rn(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=$m(e)}if(!Nm.has(a)&&(e=w({rel:`modulepreload`,href:e},t),Nm.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(eh(a)))return}r=n.createElement(`link`),_p(r,`link`,e),It(r),n.head.appendChild(r)}}}function Gm(e,t,n){Im.S(e,t,n);var r=zm;if(r&&e){var i=Ft(r).hoistableStyles,a=Ym(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Xm(a)))s.loading=5;else{e=w({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=Nm.get(a))&&rh(e,n);var c=o=r.createElement(`link`);It(c),_p(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,nh(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Km(e,t){Im.X(e,t);var n=zm;if(n&&e){var r=Ft(n).hoistableScripts,i=$m(e),a=r.get(i);a||(a=n.querySelector(eh(i)),a||(e=w({src:e,async:!0},t),(t=Nm.get(i))&&ih(e,t),a=n.createElement(`script`),It(a),_p(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function qm(e,t){Im.M(e,t);var n=zm;if(n&&e){var r=Ft(n).hoistableScripts,i=$m(e),a=r.get(i);a||(a=n.querySelector(eh(i)),a||(e=w({src:e,async:!0,type:`module`},t),(t=Nm.get(i))&&ih(e,t),a=n.createElement(`script`),It(a),_p(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Jm(e,t,n,r){var a=(a=Se.current)?Fm(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Ym(n.href),t=Ft(a).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Ym(n.href);var o=Ft(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Xm(e)))?o._p||(s.instance=o,s.state.loading=5):(o=Nm.get(e),o||(o={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Nm.set(e,o)),Qm(a,e,o,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=$m(n),t=Ft(a).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Ym(e){return`href="`+rn(e)+`"`}function Xm(e){return`link[rel="stylesheet"][`+e+`]`}function Zm(e){return w({},e,{"data-precedence":e.precedence,precedence:null})}function Qm(e,t,n,r){if(t=e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)){
34if(!0!==t[At]){r.loading=1;return}}else t=e.createElement(`link`),t[At]=!0,t.onload=t.onerror=Lt.bind(null,t),_p(t,`link`,n),It(t),e.head.appendChild(t);r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2})}function $m(e){return`[src="`+rn(e)+`"]`}function eh(e){return`script[async]`+e}function th(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+rn(n.href)+`"]`);if(r)return t.instance=r,It(r),r;var a=w({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),It(r),_p(r,`style`,a),nh(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Ym(n.href);var o=e.querySelector(Xm(a));if(o)return t.state.loading|=4,t.instance=o,It(o),o;r=Zm(n),(a=Nm.get(a))&&rh(r,a),o=(e.ownerDocument||e).createElement(`link`),It(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),_p(o,`link`,r),t.state.loading|=4,nh(o,n.precedence,e),t.instance=o;case`script`:return o=$m(n.src),(a=e.querySelector(eh(o)))?(t.instance=a,It(a),a):(r=n,(a=Nm.get(o))&&(r=w({},n),ih(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),It(a),_p(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,nh(r,n.precedence,e));return t.instance}function nh(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function rh(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function ih(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var ah=null;function oh(e,t,n){if(ah===null){var r=new Map,i=ah=new Map;i.set(n,r)}else i=ah,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[kt]||a[St]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function sh(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function ch(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function lh(e,t){return e===`img`&&t.src!=null&&t.src!==``&&t.onLoad==null&&t.loading!==`lazy`}function uh(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function dh(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==`number`?devicePixelRatio:1)*.25}function fh(e,t){typeof t.decode==`function`&&(e.imgCount++,t.complete||(e.imgBytes+=dh(t),e.suspenseyImages.push(t)),e=vh.bind(e),t.decode().then(e,e))}function ph(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Ym(r.href),a=t.querySelector(Xm(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=_h.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,It(a);return}a=t.ownerDocument||t,r=Zm(r),(i=Nm.get(i))&&rh(r,i),a=a.createElement(`link`),It(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),_p(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),
vendor: 4,932 bytes, line 34
34(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=_h.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var mh=0;function hh(e,t){return e.stylesheets&&e.count===0&&bh(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&bh(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&mh===0&&(mh=62500*xp());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&bh(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>mh?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function gh(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)bh(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function _h(){this.count--,gh(this)}function vh(){this.imgCount--,gh(this)}var yh=null;function bh(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,yh=new Map,t.forEach(xh,e),yh=null,_h.call(e))}function xh(e,t){if(!(t.state.loading&4)){var n=yh.get(e);if(n)var r=n.get(null);else{n=new Map,yh.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=_h.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var Sh={$$typeof:M,Provider:null,Consumer:null,_currentValue:me,_currentValue2:me,_threadCount:0};function Ch(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=dt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=dt(0),this.hiddenUpdates=dt(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.transitionTypes=null,this.incompleteTransitions=new Map}function wh(e,t,n,r,i,a,o,s,c,l,u,d){return e=new Ch(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=Ni(3,null,null,t),e.current=a,a.stateNode=e,t=Pa(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},_o(a),e}function Th(e){return e?(e=ji,e):ji}function Eh(e,t,n,r,i,a){i=Th(i),r.context===null?r.context=i:r.pendingContext=i,r=yo(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=bo(e,r,t),n!==null&&(Kd(n,e,t),xo(n,e,t))}function Dh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Oh(e,t){Dh(e,t),(e=e.alternate)&&Dh(e,t)}function kh(e){if(e.tag===13||e.tag===31){var t=Oi(e,67108864);t!==null&&Kd(t,e,67108864),Oh(e,67108864)}}function Ah(e){if(e.tag===13||e.tag===31){var t=Ud();t=_t(t);var n=Oi(e,t);n!==null&&Kd(n,e,t),Oh(e,t)}}var jh=!0;function Mh(e,t,n,r){var i=fe.T;fe.T=null;var a=pe.p;try{pe.p=2,Ph(e,t,n,r)}finally{pe.p=a,fe.T=i}}function Nh(e,t,n,r){var i=fe.T;fe.T=null;var a=pe.p;try{pe.p=8,Ph(e,t,n,r)}finally{pe.p=a,fe.T=i}}function Ph(e,t,n,r){if(jh){var i=Fh(r);if(i===null)op(e,t,r,Ih,n),qh(e,r);else if(Yh(i,e,t,n,r))r.stopPropagation();else if(qh(e,r),t&4&&-1<Kh.indexOf(e)){for(;i!==null;){var a=Nt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=at(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Qe(o);s.entanglements[1]|=c,o&=~c}zf(a),!(sd&6)&&(Od=Be()+500,Bf(0,!1))}}break;case 31:case 13:s=Oi(a,2),s!==null&&Kd(s,a,2),Zd(),Oh(a,2)}if(a=Fh(r),a===null&&op(e,t,r,Ih,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else op(e,t,r,null,n)}}function Fh(e){return e=xn(e),Lh(e)}var Ih=null;function Lh(e){if(Ih=null,e=Mt(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Ih=e,null}function Rh(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`
vendor: 3,040 bytes, line 34
34:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`fullscreenerror`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`resize`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(Ve()){case He:return 2;case Ue:return 8;case We:case Ge:return 32;case Ke:return 268435456;default:return 32}default:return 32}}var zh=!1,Bh=null,Vh=null,Hh=null,Uh=new Map,Wh=new Map,Gh=[],Kh=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function qh(e,t){switch(e){case`focusin`:case`focusout`:Bh=null;break;case`dragenter`:case`dragleave`:Vh=null;break;case`mouseover`:case`mouseout`:Hh=null;break;case`pointerover`:case`pointerout`:Uh.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:Wh.delete(t.pointerId)}}function Jh(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Nt(t),t!==null&&kh(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Yh(e,t,n,r,i){switch(t){case`focusin`:return Bh=Jh(Bh,e,t,n,r,i),!0;case`dragenter`:return Vh=Jh(Vh,e,t,n,r,i),!0;case`mouseover`:return Hh=Jh(Hh,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return Uh.set(a,Jh(Uh.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,Wh.set(a,Jh(Wh.get(a)||null,e,t,n,r,i)),!0}return!1}function Xh(e){var t=Mt(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,bt(e.priority,function(){Ah(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,bt(e.priority,function(){Ah(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Zh(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Fh(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);bn=r,n.target.dispatchEvent(r),bn=null}else return t=Nt(n),t!==null&&kh(t),e.blockedOn=n,!1;t.shift()}return!0}function Qh(e,t,n){Zh(e)&&n.delete(t)}function $h(){zh=!1,Bh!==null&&Zh(Bh)&&(Bh=null),Vh!==null&&Zh(Vh)&&(Vh=null),Hh!==null&&Zh(Hh)&&(Hh=null),Uh.forEac
34h(Qh),Wh.forEach(Qh)}function eg(e,n){e.blockedOn===n&&(e.blockedOn=null,zh||(zh=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,$h)))}var tg=null;function ng(e){tg!==e&&(tg=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){tg===e&&(tg=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(Lh(r||n)===null)continue;break}var a=Nt(n);a!==null&&(e.splice(t,3),t-=3,ac(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function rg(e){function t(t){return eg(t,e)}Bh!==null&&eg(Bh,e),Vh!==null&&eg(Vh,e),Hh!==null&&eg(Hh,e),Uh.forEach(t),Wh.forEach(t);for(var n=0;n<Gh.length;n++){var r=Gh[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Gh.length&&(n=Gh[0],n.blockedOn===null);)Xh(n),n.blockedOn===null&&Gh.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[Ct]||null;if(typeof a==`function`)o||ng(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[Ct]||null)s=o.formAction;else if(Lh(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),ng(n)}}}function ig(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function ag(e){this._internalRoot=e}og.prototype.render=ag.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;Eh(n,Ud(),e,t,null,null)},og.prototype.unmount=ag.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Eh(e.current,2,null,e,null,null),Zd(),t[wt]=null}};function og(e){this._internalRoot=e}og.prototype.unstable_scheduleHydration=function(e){if(e){var t=yt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Gh.length&&t!==0&&t<Gh[n].priority;n++);Gh.splice(n,0,e),n===0&&Xh(e)}};var sg=n.version;if(sg!==`19.3.0`)throw Error(i(527,sg,`19.3.0`));pe.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:d(e),e=e===null?null:e.stateNode,e};var cg={bundleType:0,version:`19.3.0`,rendererPackageName:`react-dom`,currentDispatcherRef:fe,reconcilerVersion:`19.3.0`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var lg=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lg.isDisabled&&lg.supportsFiber)try{Ye=lg.inject(cg),Xe=lg}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Oc,s=kc,c=Ac;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=wh(e,1,!1,null,null,n,r,null,o,s,c,ig),e[wt]=t.current,ip(e),new ag(t)}})),Hre=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=Vre()})),Ure=`modulepreload`,Wre=function(e){return`/`+e},Hv={},Gre=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=Wre(t,n),t=s(t),t in Hv)return;Hv[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:Ure,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n
34)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},Uv=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,Wv=/^[\\/]{2}/;function Kre(e,t){return t+e.replace(/\\/g,`/`)}var Gv=`popstate`;function Kv(e){return typeof e==`object`&&!!e&&`pathname`in e&&`search`in e&&`hash`in e&&`state`in e&&`key`in e}function qre(e={}){function t(e,t){let n=t.state?.masked,{pathname:r,search:i,hash:a}=n||e.location;return Xv(``,{pathname:r,search:i,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||`default`,n?{pathname:e.location.pathname,search:e.location.search,hash:e.location.hash}:void 0)}function n(e,t){return typeof t==`string`?t:Zv(t)}return Yre(t,n,null,e)}function qv(e,t){if(e===!1||e==null)throw Error(t)}function Jv(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function Jre(){return Math.random().toString(36).substring(2,10)}function Yv(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Xv(e,t,n=null,r,i){return{pathname:typeof e==`string`?e:e.pathname,search:``,hash:``,...typeof t==`string`?Qv(t):t,state:n,key:t&&t.key||r||Jre(),mask:i}}function Zv({pathname:e=`/`,search:t=``,hash:n=``}){return t&&t!==`?`&&(e+=t.charAt(0)===`?`?t:`?`+t),n&&n!==`#`&&(e+=n.charAt(0)===`#`?n:`#`+n),e}function Qv(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function Yre(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=`POP`,c=null,l=u();l??(l=0,o.replaceState({...o.state,idx:l},``));function u(){return(o.state||{idx:null}).idx}function d(){s=`POP`;let e=u(),t=e==null?null:e-l;l=e,c&&c({action:s,location:h.location,delta:t})}function f(e,t){s=`PUSH`;let r=Kv(e)?e:Xv(h.location,e,t);n&&n(r,e),l=u()+1;let d=Yv(r,l),f=h.createHref(r.mask||r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=`REPLACE`;let r=Kv(e)?e:Xv(h.location,e,t);n&&n(r,e),l=u();let i=Yv(r,l),d=h.createHref(r.mask||r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){return Xre(i,e)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(Gv,d),c=e,()=>{i.removeEventListener(Gv,d),c=null}},createHref(e){return t(i,e)},createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go(e){return o.go(e)}};return h}function Xre(e,t,n=!1){let r=`http://localhost`;e&&(r=e.location.origin===`null`?e.location.href:e.location.origin),qv(r,`No window.location.(origin|href) available to create URL`);let i=typeof t==`string`?t:Zv(t);return i=i.replace(/ $/,`%20`),!n&&Wv.test(i)&&(i=r+i),new URL(i,r)}function $v(e,t,n=`/`){return Zre(e,t,n,!1)}function Zre(e,t,n,r,i){let a=oy((typeof t==`string`?Qv(t):t).pathname||`/`,n);if(a==null)return null;let o=i??Qre(e),s=null,c=lie(a);for(let e=0;s==null&&e<o.length;++e)s=cie(o[e],c,r);return s}function Qre(e){let t=ey(e);return $re(t),t}function ey(e,t=[],n=[],r=``,i=!1){let a=(e,a,o=i,s)=>{let c={relativePath:s===void 0?e.path||``:s,caseSensitive:e.caseSensitive===!0,childrenIndex:a,route:e};if(c.relativePath.startsWith(`/`)){if(!c.relativePath.startsWith(r)&&o)return;qv(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=py([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(qv(e.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),ey(e.children,t,u,l,o)),(e.path!=null||e.index)&&t.push({path:l,score:oie(l,e.index),routesMeta:u.map((e,t)=>
34{let[n,r]=ay(e.relativePath,e.caseSensitive,t===u.length-1);return{...e,matcher:n,compiledParams:r}})})};return e.forEach((e,t)=>{if(e.path===``||!e.path?.includes(`?`))a(e,t);else for(let n of ty(e.path))a(e,t,!0,n)}),t}function ty(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=ty(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function $re(e){e.sort((e,t)=>e.score===t.score?sie(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var eie=/^:[\w-]+$/,tie=3,nie=2,rie=1,iie=10,aie=-2,ny=e=>e===`*`;function oie(e,t){let n=e.split(`/`),r=n.length;return n.some(ny)&&(r+=aie),t&&(r+=nie),n.filter(e=>!ny(e)).reduce((e,t)=>e+(eie.test(t)?tie:t===``?rie:iie),r)}function sie(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function cie(e,t,n=!1){let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u={path:s.relativePath,caseSensitive:s.caseSensitive,end:c},d=s.matcher&&s.compiledParams?iy(u,l,s.matcher,s.compiledParams):ry(u,l),f=s.route;if(!d&&c&&n&&!r[r.length-1].route.index&&(d=ry({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!d)return null;
34Object.assign(i,d.params),o.push({params:i,pathname:py([a,d.pathname]),pathnameBase:die(py([a,d.pathnameBase])),route:f}),d.pathnameBase!==`/`&&(a=py([a,d.pathnameBase]))}return o}function ry(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=ay(e.path,e.caseSensitive,e.end);return iy(e,t,n,r)}function iy(e,t,n,r){let i=t.match(n);if(!i)return null;let a=i[0],o=my(a,1),s=i.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if(t===`*`){let e=s[r]||``;o=my(a.slice(0,a.length-e.length),1)}let i=s[r];return e[t]=n&&!i?void 0:(i||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function ay(e,t=!1,n=!0){Jv(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,`/*`)}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,`/*`)}".`);let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n,i,a)=>{if(r.push({paramName:t,isOptional:n!=null}),n){let t=a.charAt(i+e.length);return t&&t!==`/`?`/([^\\/]*)`:`(?:/([^\\/]*))?`}return`/([^\\/]+)`}).replace(/\/([\w-]+)\?(\/|$)/g,`(/$1)?$2`);return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function lie(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return Jv(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function oy(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}function uie(e,t=`/`){let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?Qv(e):e,a;return n?(n=fy(n),a=n.startsWith(`/`)||n.startsWith(`\\`)?sy(n.substring(1),`/`):sy(n,t)):a=t,{pathname:a,search:fie(r),hash:pie(i)}}function sy(e,t){let n=my(t).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function cy(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function ly(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function uy(e){let t=ly(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function dy(e,t,n,r=!1){let i;typeof e==`string`?i=Qv(e):(i={...e}
34,qv(!i.pathname||!i.pathname.includes(`?`),cy(`?`,`pathname`,`search`,i)),qv(!i.pathname||!i.pathname.includes(`#`),cy(`#`,`pathname`,`hash`,i)),qv(!i.search||!i.search.includes(`#`),cy(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=uie(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var fy=e=>e.replace(/[\\/]{2,}/g,`/`),py=e=>fy(e.join(`/`));function my(e,t=0){let n=e.length;for(;n>t&&e.charCodeAt(n-1)===47;)n--;return n===e.length?e:e.slice(0,n)}var die=e=>my(e).replace(/^\/*/,`/`),fie=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,pie=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,mie=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function hie(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}function gie(e){return py(e.map(e=>e.route.path).filter(Boolean))||`/`}var hy=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function gy(e,t){let n=e;if(typeof n!=`string`||!Uv.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(hy)try{let e=new URL(window.location.href),r=Wv.test(n)?new URL(Kre(n,e.protocol)):new URL(n),a=oy(r.pathname,t);r.origin===e.origin&&a!=null?n=a+r.search+r.hash:i=!0}catch{Jv(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var _y=new URL(`http://localhost`);function vy(e){if(e.createURL)return e.createURL(`/`);try{return new URL(e.createHref(`/`),_y)}catch{return _y}}function yy(e,t){return e.origin===t.origin&&(e.origin!==`null`||e.protocol===t.protocol&&e.host===t.host)}function _ie(e,t){if(e.startsWith(`//`))return!0;let n=t.protocol.toLowerCase();return e.toLowerCase().startsWith(n)?t.host===``||e.slice(n.length).startsWith(`//`):!1}function by(e,t,n,r){let i=null;try{i=e==null?null:new URL(e,n)}catch{}let a=new URL(t,n),o=i!=null&&!yy(i,n),s=!yy(a,n);if(r===`reject`){if(o||s)throw Error(`External navigation is not allowed`)}else if(s&&(i==null||!_ie(e,i)||!yy(i,a)))throw Error(`External navigation is not allowed`)}var xy=[`POST`,`PUT`,`PATCH`,`DELETE`];new Set(xy);var vie=[`GET`,...xy];new Set(vie);var yie=[`about:`,`blob:`,`chrome:`,`chrome-untrusted:`,`content:`,`data:`,`devtools:`,`file:`,`filesystem:`,`javascript:`];function bie(e){try{return yie.includes(new URL(e).protocol)}catch{return!1}}var Sy=I.createContext(null);Sy.displayName=`DataRouter`;var Cy=I.createContext(null);Cy.displayName=`DataRouterState`;var wy=I.createContext(!1);function xie(){return I.useContext(wy)}var Ty=I.createContext({isTransitioning:!1});Ty.displayName=`ViewTransition`;var Sie=I.createContext(new Map);Sie.displayName=`Fetchers`;var Cie=I.createContext(null);Cie.displayName=`Await`;var Ey=I.createContext(null);Ey.displayName=`Navigation`;var Dy=I.createContext(null);Dy.displayName=`Location`;var Oy=I.createContext({outlet:null,matches:[],isDataRoute:!1});Oy.displayName=`Route`;var ky=I.createContext(null);ky.displayName=`RouteError`;var Ay=`REACT_ROUTER_ERROR`,wie=`REDIRECT`,Tie=`ROUTE_ERROR_RESPONSE`;function Eie(e){if(e.startsWith(`${Ay}:${wie}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`&&typeof t.location==`string`&&typeof t.reloadDocument==`boolean`&&typeof t.replace==`boolean`)return t}catch{}}function Die(e){if(e.startsWith(`${Ay}:${Tie}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`)return new mie(t.status,t.statusText,t.data)}catch{}}function Oie(e,{relative:t}={}){qv(jy(),`useHref() may be used only in the context of a <Router> component.`);let{basename:n,navigator:r}=I.useContext(Ey),{hash:i,pathname:a,search:o}=Ry(e,{relative:t}),s=a;return n!==`/`&&(s=a===`/`?n:py([n,a])),r.createHref({pathname:s,search:o,hash:i})}function jy(){return I.useContext(Dy)!=null}
34function My(){return qv(jy(),`useLocation() may be used only in the context of a <Router> component.`),I.useContext(Dy).location}function Ny(){return I.useContext(Dy).navigationType}var Py=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function Fy(e){I.useContext(Ey).static||I.useLayoutEffect(e)}function Iy(){let{isDataRoute:e}=I.useContext(Oy);return e?Uie():kie()}function kie(){qv(jy(),`useNavigate() may be used only in the context of a <Router> component.`);let e=I.useContext(Sy),{basename:t,navigator:n}=I.useContext(Ey),{matches:r}=I.useContext(Oy),{pathname:i}=My(),a=JSON.stringify(uy(r)),o=I.useRef(!1);return Fy(()=>{o.current=!0}),I.useCallback((r,s={})=>{if(Jv(o.current,Py),!o.current)return;if(typeof r==`number`){n.go(r);return}let c=dy(r,JSON.parse(a),i,s.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:py([t,c.pathname])),by(typeof r==`string`?r:Zv(r),n.createHref(c),vy(n),`reject`),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,i,e])}var Aie=I.createContext(null);function jie(e){let t=I.useContext(Oy).outlet;return I.useMemo(()=>t&&I.createElement(Aie.Provider,{value:e},t),[t,e])}function Ly(){let{matches:e}=I.useContext(Oy);return e[e.length-1]?.params??{}}function Ry(e,{relative:t}={}){let{matches:n}=I.useContext(Oy),{pathname:r}=My(),i=JSON.stringify(uy(n));return I.useMemo(()=>dy(e,JSON.parse(i),r,t===`path`),[e,i,r,t])}function Mie(e,t){return zy(e,t)}function zy(e,t,n){qv(jy(),`useRoutes() may be used only in the context of a <Router> component.`);let{navigator:r}=I.useContext(Ey),{matches:i}=I.useContext(Oy),a=i[i.length-1],o=a?a.params:{},s=a?a.pathname:`/`,c=a?a.pathnameBase:`/`,l=a&&a.route;{let e=l&&l.path||``;Gy(s,!l||e.endsWith(`*`)||e.endsWith(`*?`),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${s}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 35 36Please change the parent <Route path="${e}"> to <Route path="${e===`/`?`*`:`${e}/*`}">.`)}let u=My(),d;if(t){let e=typeof t==`string`?Qv(t):t;qv(c===`/`||e.pathname?.startsWith(c),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${c}" but pathname "${e.pathname}" was given in the \`location\` prop.`),d=e}else d=u;let f=d.pathname||`/`,p=f;if(c!==`/`){let e=c.replace(/^\//,``).split(`/`);p=`/`+f.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let m=n&&n.state.matches.length?n.state.matches.map(e=>Object.assign(e,{route:n.manifest[e.route.id]||e.route})):$v(e,{pathname:p});Jv(l||m!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),Jv(m==null||m[m.length-1].route.element!==void 0||m[m.length-1].route.Component!==void 0||m[m.length-1].route.lazy!==void 0,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let h=Lie(m&&m.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:py([c,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?c:py([c,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathnameBase])})),i,n);return t&&h?I.createElement(Dy.Provider,{value:{location:{pathname:`/`,search:``,hash:``,state:null,key:`default`,mask:void 0,...d},navigationType:`POP`}},h):h}function Nie(){let e=Hie(),t=hie(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r=`rgba(200,200,200, 0.5)`,i={padding:`0.5rem`,backgroundColor:r},a={padding:`2px 4px`,backgroundColor:r},o=null;return console.error(`Error handled by React Router default ErrorBoundary:`,e),o=I.createElement(I.Fragment,null,I.createElement(`p`,null,`ð¿ Hey developer ð`),I.createElement(`p`,null,`You can provide a way better UX than this when your app throws errors by providing your own `,I.createElement(`code`,{style:a}
36,`ErrorBoundary`),` or`,` `,I.createElement(`code`,{style:a},`errorElement`),` prop on your route.`)),I.createElement(I.Fragment,null,I.createElement(`h2`,null,`Unexpected Application Error!`),I.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?I.createElement(`pre`,{style:i},n):null,o)}var Pie=I.createElement(Nie,null),By=class extends I.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error(`React Router caught the following error during render`,e)}render(){let e=this.state.error;if(this.context&&typeof e==`object`&&e&&`digest`in e&&typeof e.digest==`string`){let t=Die(e.digest);t&&(e=t)}let t=e===void 0?this.props.children:I.createElement(Oy.Provider,{value:this.props.routeContext},I.createElement(ky.Provider,{value:e,children:this.props.component}));return this.context?I.createElement(Fie,{error:e},t):t}};By.contextType=wy;var Vy=new WeakMap;function Fie({children:e,error:t}){let{basename:n,navigator:r}=I.useContext(Ey);if(typeof t==`object`&&t&&`digest`in t&&typeof t.digest==`string`){let e=Eie(t.digest);if(e){let i=Vy.get(t);if(i)throw i;let a=gy(e.location,n),o=a.absoluteURL||a.to;if(by(e.location,o,vy(r),`allow-explicit`),bie(o))throw Error(`Invalid redirect location`);if(hy&&!Vy.get(t)){if(a.isExternal||e.reloadDocument)window.location.href=o;else{let n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:e.replace}));throw Vy.set(t,n),n}}return I.createElement(`meta`,{httpEquiv:`refresh`,content:`0;url=${o}`})}}return e}function Iie({routeContext:e,match:t,children:n}){let r=I.useContext(Sy);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),I.createElement(Oy.Provider,{value:e},n)}function Lie(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r?.errors;if(a!=null){let e=i.findIndex(e=>e.route.id&&a?.[e.route.id]!==void 0);qv(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(`,`)}`),i=i.slice(0,Math.min(i.length,e+1))}let o=!1,s=-1;if(n&&r){o=r.renderFallback;for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:a}=r,c=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!a||a[t.route.id]===void 0);if(t.route.lazy||c){n.isStatic&&(o=!0),i=s>=0?i.slice(0,s+1):[i[0]];break}}}}let c=n?.onError,l=r&&c?(e,t)=>{c(e,{location:r.location,params:r.matches?.[0]?.params??{},pattern:gie(r.matches),errorInfo:t})}:void 0;return i.reduceRight((e,n,c)=>{let u,d=!1,f=null,p=null;r&&(u=a&&n.route.id?a[n.route.id]:void 0,f=n.route.errorElement||Pie,o&&(s<0&&c===0?(Gy(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):s===c&&(d=!0,p=n.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,c+1)),h=()=>{let t;return t=u?f:d?p:n.route.Component?I.createElement(n.route.Component,null):n.route.element?n.route.element:e,I.createElement(Iie,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:r!=null},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||c===0)?I.createElement(By,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:l}):h()},null)}function Hy(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Rie(e){let t=I.useContext(Sy);return qv(t,Hy(e)),t}function zie(e){let t=I.useContext(Cy);return qv(t,Hy(e)),t}function Bie(e){let t=I.useContext(Oy);return qv(t,Hy(e)),t}function Uy(e){let t=Bie(e),n=t.matches[t.matches.length-1];return qv(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Vie(){return Uy(`useRouteId`)}function Hie(){let e=I.useContext(ky),t=zie(`useRouteError`),n=Uy(`useRouteError`);return e===void 0?t.errors?.[n]:e}function Uie(){let{router:e}=Rie(`useNavigate`),t=Uy(`useNavigate`),n=I.useRef(!1);return Fy(()=>{n.current=!0}),I.useCallback(async(r,i={})=>{Jv(n.current,Py),n.current&&(typeof r==`number`?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var Wy={};function Gy(e,t,n){!t&&!Wy[e]&&(Wy[e]=!0,Jv(!1,n))}I.memo(Wie);function Wie({routes:e,manifest:t,future:n,state:r,isStatic:i,onError:a}){return zy(e,void 0,{manifest:t,state:r,isStatic:i,onError:a,future:n})}function Ky({to:e,replace:t,state:n,relative:r}){qv(jy(),`<Navigate> may be used only in the context of a <Router> component.`);let{static:i,navigator:a}=I.useContext(Ey);Jv(!i,`<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.`);let{matches:o}=I.useContext(Oy),{pathname:s}=My(),c=Iy(),l=dy(e,uy(o),s,r===`path`);by(typeof e==`string`?e:Zv(e),a.createHref(l),vy(a),`reject`);let u=JSON.stringify(l);return I.useEffect(()=>{c(JSON.parse(u),{replace:t,state:n,relative:r})},[c,u,r,t,n]),null}function qy(e){return jie(e.context)}function Jy(e){qv(!1,`A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.`)}function Gie({basename:e=`/`,children:t=null,location:n,navigationType:r=`POP`,navigator:i,static:a=!1,useTransitions:o}){qv(!jy(),`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`);let s=e.replace(/^\/*/,`/`),c=I.useMemo(()=>({basename:s,navigator:i,static:a,useTransitions:o,future:{}}),[s,i,a,o]);typeof n==`string`&&(n=Qv(n));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`,mask:m}=n,h=I.useMemo(()=>{let e=oy(l,s);return e==null?null:{location:{pathname:e,search:u,hash:d,state:f,key:p,mask:m},navigationType:r}},[s,l,u,d,f,p,r,m]);
36return Jv(h!=null,`<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`),h==null?null:I.createElement(Ey.Provider,{value:c},I.createElement(Dy.Provider,{children:t,value:h}))}function Yy({children:e,location:t}){return Mie(Xy(e),t)}I.Component;function Xy(e,t=[]){let n=[];return I.Children.forEach(e,(e,r)=>{if(!I.isValidElement(e))return;let i=[...t,r];if(e.type===I.Fragment){n.push.apply(n,Xy(e.props.children,i));return}qv(e.type===Jy,`[${typeof e.type==`string`?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),qv(!e.props.index||!e.props.children,`An index route cannot have child routes.`);let a={id:e.props.id||i.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:e.props.hasErrorBoundary===!0||e.props.ErrorBoundary!=null||e.props.errorElement!=null,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=Xy(e.props.children,i)),n.push(a)}),n}var Zy=`get`,Qy=`application/x-www-form-urlencoded`;function $y(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function Kie(e){return $y(e)&&e.tagName.toLowerCase()===`button`}function qie(e){return $y(e)&&e.tagName.toLowerCase()===`form`}function Jie(e){return $y(e)&&e.tagName.toLowerCase()===`input`}function Yie(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Xie(e,t){return e.button===0&&(!t||t===`_self`)&&!Yie(e)}function eb(e=``){return new URLSearchParams(typeof e==`string`||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}function Zie(e,t){let n=eb(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}var tb=null;function Qie(){if(tb===null)try{new FormData(document.createElement(`form`),0),tb=!1}catch{tb=!0}return tb}var $ie=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function nb(e){return e!=null&&!$ie.has(e)?(Jv(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Qy}"`),null):e}function eae(e,t){let n,r,i,a,o;if(qie(e)){let o=e.getAttribute(`action`);r=o?oy(o,t):null,n=e.getAttribute(`method`)||Zy,i=nb(e.getAttribute(`enctype`))||Qy,a=new FormData(e)}else if(Kie(e)||Jie(e)&&(e.type===`submit`||e.type===`image`)){let o=e.form;if(o==null)throw Error(`Cannot submit a <button> or <input type="submit"> without a <form>`);let s=e.getAttribute(`formaction`)||o.getAttribute(`action`);if(r=s?oy(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||Zy,i=nb(e.getAttribute(`formenctype`))||nb(o.getAttribute(`enctype`))||Qy,a=new FormData(o,e),!Qie()){let{name:t,type:n,value:r}=e;if(n===`image`){let e=t?`${t}.`:``;a.append(`${e}x`,`0`),a.append(`${e}y`,`0`)}else t&&a.append(t,r)}}else if($y(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=Zy,r=null,i=Qy,o=e;return a&&i===`text/plain`&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);function rb(e,t){if(e===!1||e==null)throw Error(t)}function ib(e,t,n,r){let i=typeof e==`string`?new URL(e,typeof window>`u`?`server://singlefetch/`:window.location.origin):e;return i.pathname=n?i.pathname.endsWith(`/`)?`${i.pathname}_.${r}`:`${i.pathname}.${r}`:i.pathname===`/`?`_root.${r}`:t&&oy(i.pathname,t)===`/`?`${my(t)}/_root.${r}`:`${my(i.pathname)}.${r}`,i}async function tae(e,t){if(e.id in t)return t[e.id];try{let n=await Gre(()=>import(e.module),[]);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.
36isSpaMode,window.location.reload(),new Promise(()=>{})}}function nae(e){return e!=null&&typeof e.page==`string`}function rae(e){return e==null?!1:e.href==null?e.rel===`preload`&&typeof e.imageSrcSet==`string`&&typeof e.imageSizes==`string`:typeof e.rel==`string`&&typeof e.href==`string`}async function iae(e,t,n){return cae((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await tae(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(rae).filter(e=>e.rel===`stylesheet`||e.rel===`preload`).map(e=>e.rel===`stylesheet`?{...e,rel:`prefetch`,as:`style`}:{...e,rel:`prefetch`}))}function ab(e,t,n,r,i,a){let o=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith(`*`)&&n[t].params[`*`]!==e.params[`*`];return a===`assets`?t.filter((e,t)=>o(e,t)||s(e,t)):a===`data`?t.filter((t,a)=>{let c=r.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(o(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if(typeof r==`boolean`)return r}return!0}):[]}function aae(e,t,{includeHydrateFallback:n}={}){return oae(e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1))}function oae(e){return[...new Set(e)]}function sae(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function cae(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!nae(i)&&i.as===`script`&&i.href&&r.has(i.href))return e;let a=JSON.stringify(sae(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}function ob(){let e=I.useContext(Sy);return rb(e,`You must render this element inside a <DataRouterContext.Provider> element`),e}function lae(){let e=I.useContext(Cy);return rb(e,`You must render this element inside a <DataRouterStateContext.Provider> element`),e}var sb=I.createContext(void 0);sb.displayName=`FrameworkContext`;function cb(){let e=I.useContext(sb);return rb(e,`You must render this element inside a <HydratedRouter> element`),e}function uae(e,t){let n=I.useContext(sb),[r,i]=I.useState(!1),[a,o]=I.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:l,onMouseLeave:u,onTouchStart:d}=t,f=I.useRef(null);I.useEffect(()=>{if(e===`render`&&o(!0),e===`viewport`){let e=new IntersectionObserver(e=>{e.forEach(e=>{o(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),I.useEffect(()=>{if(r){let e=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{i(!0)},m=()=>{i(!1),o(!1)};return n?e===`intent`?[a,f,{onFocus:lb(s,p),onBlur:lb(c,m),onMouseEnter:lb(l,p),onMouseLeave:lb(u,m),onTouchStart:lb(d,p)}]:[a,f,{}]:[!1,f,{}]}function lb(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function dae({page:e,...t}){let n=xie(),{nonce:r}=cb(),{router:i}=ob(),a=I.useMemo(()=>$v(i.routes,e,i.basename),[i.routes,e,i.basename]);return a?(t.nonce==null&&r&&(t={...t,nonce:r}),n?I.createElement(pae,{page:e,matches:a,...t}):I.createElement(mae,{page:e,matches:a,...t})):null}function fae(e){let{manifest:t,routeModules:n}=cb(),[r,i]=I.useState([]);return I.useEffect(()=>{let r=!1;return iae(e,t,n).then(e=>{r||i(e)}),()=>{r=!0}},[e,t,n]),r}function pae({page:e,matches:t,...n}){let r=My(),{future:i}=cb(),{basename:a}=ob(),o=I.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=ib(e,a,i.v8_trailingSlashAwareDataRequests,`rsc`),o=!1,s=[];for(let e of t)typeof e.route.shouldRevalidate==`function`?o=!0:s.push(e.route.id);return o&&s.length>0&&n.searchParams.set(`_routes`,s.join(`,`)),[n.pathname+n.search]},[a,i.v8_trailingSlashAwareDataRequests,e,r,t]);return I.createElement(I.Fragment,null,o.map(e=>I.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})))}function mae({page:e,matches:t,...n}){let r=My(),{future:i,manifest:a,routeModules:o}=cb(),{basename:s}=ob(),{loaderData:c,matches:l}=lae(),u=I.useMemo(()=>ab(e,t,l,a,r,`data`),[e,t,l,a,r]),d=I.useMemo(()=>ab(e,t,l,a,r,`assets`),[e,t,l,a,r]),f=I.useMemo(()=>
36{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,l=!1;if(t.forEach(e=>{let t=a.routes[e.route.id];t&&t.hasLoader&&(!u.some(t=>t.route.id===e.route.id)&&e.route.id in c&&o[e.route.id]?.shouldRevalidate||t.hasClientLoader?l=!0:n.add(e.route.id))}),n.size===0)return[];let d=ib(e,s,i.v8_trailingSlashAwareDataRequests,`data`);return l&&n.size>0&&d.searchParams.set(`_routes`,t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(`,`)),[d.pathname+d.search]},[s,i.v8_trailingSlashAwareDataRequests,c,r,a,u,t,e,o]),p=I.useMemo(()=>aae(d,a),[d,a]),m=fae(d);return I.createElement(I.Fragment,null,f.map(e=>I.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})),p.map(e=>I.createElement(`link`,{key:e,rel:`modulepreload`,href:e,...n})),m.map(({key:e,link:t})=>I.createElement(`link`,{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function hae(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e!=null&&(e.current=t)})}}I.Component;var gae=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;try{gae&&(window.__reactRouterVersion=`7.18.3`)}catch{}function _ae({basename:e,children:t,useTransitions:n,window:r}){let i=I.useRef();i.current??=qre({window:r,v5Compat:!0});let a=i.current,[o,s]=I.useState({action:a.action,location:a.location}),c=I.useCallback(e=>{n===!1?s(e):I.startTransition(()=>s(e))},[n]);return I.useLayoutEffect(()=>a.listen(c),[a,c]),I.createElement(Gie,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:a,useTransitions:n})}var ub=I.forwardRef(function({onClick:e,discover:t=`render`,prefetch:n=`none`,relative:r,reloadDocument:i,replace:a,mask:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m){let{basename:h,navigator:g,useTransitions:_}=I.useContext(Ey),v=typeof l==`string`&&Uv.test(l),y=gy(l,h);l=y.to;let b=Oie(l,{relative:r}),x=My(),S=null;if(o){let e=dy(o,[],x.mask?x.mask.pathname:`/`,!0);h!==`/`&&(e.pathname=e.pathname===`/`?h:py([h,e.pathname])),S=g.createHref(e)}let[C,w,T]=uae(n,p),E=bae(l,{replace:a,mask:o,state:s,target:c,preventScrollReset:u,relative:r,viewTransition:d,defaultShouldRevalidate:f,useTransitions:_});function D(t){e&&e(t),t.defaultPrevented||E(t)}let O=!(y.isExternal||i),k=I.createElement(`a`,{...p,...T,href:(O?S:void 0)||y.absoluteURL||b,onClick:O?D:e,ref:hae(m,w),target:c,"data-discover":!v&&t===`render`?`true`:void 0});return C&&!v?I.createElement(I.Fragment,null,k,I.createElement(dae,{page:b})):k});ub.displayName=`Link`;var db=I.forwardRef(function({"aria-current":e=`page`,caseSensitive:t=!1,className:n=``,end:r=!1,style:i,to:a,viewTransition:o,children:s,...c},l){let u=Ry(a,{relative:c.relative}),d=My(),f=I.useContext(Cy),{navigator:p,basename:m}=I.useContext(Ey),h=f!=null&&Tae(u)&&o===!0,g=p.encodeLocation?p.encodeLocation(u).pathname:u.pathname,_=d.pathname,v=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;t||(_=_.toLowerCase(),v=v?v.toLowerCase():null,g=g.toLowerCase()),v&&m&&(v=oy(v,m)||v);let y=g!==`/`&&g.endsWith(`/`)?g.length-1:g.length,b=_===g||!r&&_.startsWith(g)&&_.charAt(y)===`/`,x=v!=null&&(v===g||!r&&v.startsWith(g)&&v.charAt(g.length)===`/`),S={isActive:b,isPending:x,isTransitioning:h},C=b?e:void 0,w;w=typeof n==`function`?n(S):[n,b?`active`:null,x?`pending`:null,h?`transitioning`:null].filter(Boolean).join(` `);let T=typeof i==`function`?i(S):i;return I.createElement(ub,{...c,"aria-current":C,className:w,ref:l,style:T,to:a,viewTransition:o},typeof s==`function`?s(S):s)});db.displayName=`NavLink`;var vae=I.forwardRef(({discover:e=`render`,fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:a,method:o=Zy,action:s,onSubmit:c,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m)=>{let{useTransitions:h}=I.useContext(Ey),g=Cae(),_=wae(s,{relative:l}),v=o.toLowerCase()===`get`?`get`:`post`,y=typeof s==`string`&&Uv.test(s);return I.createElement(`form`,{ref:m,method:v,action:_,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,s=r?.getAttribute(`formmethod`)||o,p=()=>g(r||e.currentTarget,{fetcherKey:t,method:s,navigate:n,replace:i,state:a,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f});h&&n!==!1?I.startTransition(()=>p()):p()},...p,"data-discover":!y&&e===`render`?`true`:void 0})});vae.displayName=`Form`;function yae(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function fb(e){let t=I.useContext(Sy);return qv(t,yae(e)),t}function bae(e,{target:t,replace:n,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c,useTransitions:l}={}){let u=Iy(),d=My(),f=Ry(e,{relative:o});return I.useCallback(p=>{if(Xie(p,t)){p.preventDefault();let t=n===void 0?Zv(d)===Zv(f):n,m=()=>u(e,{replace:t,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c});l?I.startTransition(()=>m()):m()}},[d,u,f,n,r,i,t,e,a,o,s,c,l])}function pb(e){Jv(typeof URLSearchParams<`u`,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=I.useRef(eb(e)),n=I.useRef(!1),r=My(),i=I.useMemo(()=>Zie(r.search,n.current?null:t.current),[r.search]),a=Iy();return[i,I.useCallback((e,t)=>{let r=eb(typeof e==`function`?e(new URLSearchParams(i)):e);n.current=!0,a(`?`+r,t)},[a,i])]}var xae=0,Sae=()=>`__${String(++xae)}__`;function Cae(){let{router:e}
36=fb(`useSubmit`),{basename:t}=I.useContext(Ey),n=Vie(),r=e.fetch,i=e.navigate;return I.useCallback(async(e,a={})=>{let{action:o,method:s,encType:c,formData:l,body:u}=eae(e,t);if(a.navigate===!1){let e=a.fetcherKey||Sae();await r(e,n,a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,flushSync:a.flushSync})}else await i(a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,t,n])}function wae(e,{relative:t}={}){let{basename:n}=I.useContext(Ey),r=I.useContext(Oy);qv(r,`useFormAction must be used inside a RouteContext`);let[i]=r.matches.slice(-1),a={...Ry(e||`.`,{relative:t})},o=My();if(e==null){a.search=o.search;let e=new URLSearchParams(a.search),t=e.getAll(`index`);if(t.some(e=>e===``)){e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();a.search=n?`?${n}`:``}}return(!e||e===`.`)&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,`?index&`):`?index`),n!==`/`&&(a.pathname=a.pathname===`/`?n:py([n,a.pathname])),Zv(a)}function Tae(e,{relative:t}={}){let n=I.useContext(Ty);qv(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=fb(`useViewTransitionState`),i=Ry(e,{relative:t});if(!n.isTransitioning)return!1;let a=oy(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=oy(n.nextLocation.pathname,r)||n.nextLocation.pathname;return ry(i.pathname,o)!=null||ry(i.pathname,a)!=null}function mb(e){return e.status>=200&&e.status<=304}function Eae(e){return e.endsWith(`/`)?e.slice(0,-1):e}function hb(e){return Eae(e.map(e=>`${e}`.replace(`/`,``)).join(`/`))}function gb(e,t){return function(){return e.apply(t,arguments)}}var{toString:Dae}=Object.prototype,{getPrototypeOf:_b}=Object,{iterator:vb,toStringTag:yb}=Symbol,bb=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),xb=e=>typeof e==`string`&&(e===`__proto__`||e===`constructor`||e===`prototype`),Sb=(e,t,n)=>e===Object.prototype||!n&&t===null,Oae=e=>{if(!Object.isExtensible(e))return!1;let t=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&t.push(...Object.getOwnPropertySymbols(e)),t.every(t=>{if(xb(t))return!1;let n=Object.getOwnPropertyDescriptor(e,t);return!!n&&n.configurable&&n.writable===!0})},Cb=(e,t)=>{let n=e,r=[];for(;n!=null;){if(r.indexOf(n)!==-1)return!1;r.push(n);let i=_b(n);if(Sb(n,i,n===e))return!1;if(bb(n,t))return!0;n=i}return!1},kae=(e,t)=>e!=null&&Cb(e,t)?e[t]:void 0,Aae=e=>{if(e==null||typeof e!=`object`&&typeof e!=`function`)return e;let t=_b(e);if(t===null&&Oae(e))return e;let n=Object.create(null),r=Object.create(null),i=[],a=e;for(;a!=null&&i.indexOf(a)===-1;){i.push(a);let o=a===e?t:_b(a);if(Sb(a,o,a===e))break;let s=Object.getOwnPropertyNames(a);Object.getOwnPropertySymbols&&s.push(...Object.getOwnPropertySymbols(a));for(let t of s)xb(t)||bb(r,t)||(n[t]=e[t],r[t]=!0);a=o}return n},wb=(e=>t=>{let n=Dae.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Tb=e=>(e=e.toLowerCase(),t=>wb(t)===e),Eb=e=>t=>typeof t===e,{isArray:Db}=Array,Ob=Eb(`undefined`);function kb(e){return e!==null&&!Ob(e)&&e.constructor!==null&&!Ob(e.constructor)&&jb(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var Ab=Tb(`ArrayBuffer`);function jae(e){let t;return t=typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Ab(e.buffer),t}var Mae=Eb(`string`),jb=Eb(`function`),Mb=Eb(`number`),Nb=e=>typeof e==`object`&&!!e,Nae=e=>e===!0||e===!1,Pb=e=>{if(!Nb(e))return!1;let t=_b(e);return(t===null||t===Object.prototype||_b(t)===null)&&!Cb(e,yb)&&!Cb(e,vb)},Pae=e=>{if(!Nb(e)||kb(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Fae=Tb(`Date`),Iae=Tb(`File`),Lae=e=>!!(e&&e.uri!==void 0),Rae=e=>e&&e.getParts!==void 0,zae=Tb(`Blob`),Bae=Tb(`FileList`),Vae=Tb(`Set`),Hae=e=>Nb(e)&&jb(e.pipe);function Uae(){return typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{}}var Fb=Uae(),Ib=Fb.FormData===void 0?void 0:Fb.FormData,Wae=e=>{if(!e)return!1;if(Ib&&e instanceof Ib)return!0;let t=_b(e);if(!t||t===Object.prototype||!jb(e.append))return!1;let n=wb(e);return n===`formdata`||n===`object`&&jb(e.toString)&&e.toString()===`[object FormData]`},Gae=Tb(`URLSearchParams`),[Kae,qae,Jae,Yae]=[`ReadableStream`,`Request`,`Response`,`Headers`].map(Tb),Xae=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,``);
36function Lb(e,t,{allOwnKeys:n=!1}={}){if(e==null)return;let r,i;if(typeof e!=`object`&&(e=[e]),Db(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(kb(e))return;let i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length,o;for(r=0;r<a;r++)o=i[r],t.call(null,e[o],o,e)}}function Rb(e,t){if(kb(e))return null;t=t.toLowerCase();let n=Object.keys(e),r=n.length,i;for(;r-->0;)if(i=n[r],t===i.toLowerCase())return i;return null}var zb=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:global,Bb=e=>!Ob(e)&&e!==zb;function Vb(...e){let{caseless:t,skipUndefined:n}=Bb(this)&&this||{},r={},i=(e,i)=>{if(i===`__proto__`||i===`constructor`||i===`prototype`)return;let a=t&&typeof i==`string`&&Rb(r,i)||i,o=bb(r,a)?r[a]:void 0;Pb(o)&&Pb(e)?r[a]=Vb(o,e):Pb(e)?r[a]=Vb({},e):Db(e)?r[a]=e.slice():(!n||!Ob(e))&&(r[a]=e)};for(let t=0,n=e.length;t<n;t++){let n=e[t];if(!n||kb(n)||(Lb(n,i),typeof n!=`object`||Db(n)))continue;let r=Object.getOwnPropertySymbols(n);for(let e=0;e<r.length;e++){let t=r[e];coe.call(n,t)&&i(n[t],t)}}return r}var Zae=(e,t,n,{allOwnKeys:r}={})=>(Lb(t,(t,r)=>{n&&jb(t)?Object.defineProperty(e,r,{__proto__:null,value:gb(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),Qae=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$ae=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},eoe=(e,t,n,r)=>{let i,a,o,s={};if(t||={},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-->0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&_b(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},toe=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return r!==-1&&r===n},noe=e=>{if(!e)return null;if(Db(e))return e;let t=e.length;if(!Mb(t))return null;let n=Array(t);for(;t-->0;)n[t]=e[t];return n},roe=(e=>t=>e&&t instanceof e)(typeof Uint8Array<`u`&&_b(Uint8Array)),ioe=(e,t)=>{let n=(e&&e[vb]).call(e),r;for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},aoe=(e,t)=>{let n,r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},ooe=Tb(`HTMLFormElement`),soe=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),{propertyIsEnumerable:coe}=Object.prototype,loe=Tb(`RegExp`),Hb=(e,t)=>
36{let n=Object.getOwnPropertyDescriptors(e),r={};Lb(n,(n,i)=>{let a;(a=t(n,i,e))!==!1&&(r[i]=a||n)}),Object.defineProperties(e,r)},uoe=e=>{Hb(e,(t,n)=>{if(jb(e)&&[`arguments`,`caller`,`callee`].includes(n))return!1;let r=e[n];if(jb(r)){if(t.enumerable=!1,`writable`in t){t.writable=!1;return}t.set||=()=>{throw Error(`Can not rewrite read-only method '`+n+`'`)}}})},Ub=(e,t)=>{let n={},r=e=>{e.forEach(e=>{n[e]=!0})};return Db(e)?r(e):r(String(e).split(t)),n},Wb=()=>{},Gb=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Kb(e){return!!(e&&jb(e.append)&&e[yb]===`FormData`&&e[vb])}var qb=e=>{let t=new WeakSet,n=e=>{if(Nb(e)){if(t.has(e))return;if(kb(e))return e;if(!(`toJSON`in e)){t.add(e);let r;if(Vae(e)){r=[];for(let t of e){let e=n(t);!Ob(e)&&r.push(e)}}else r=Db(e)?[]:{},Lb(e,(e,t)=>{let i=n(e);!Ob(i)&&(r[t]=i)});return t.delete(e),r}}return e};return n(e)},Jb=Tb(`AsyncFunction`),Yb=e=>e&&(Nb(e)||jb(e))&&jb(e.then)&&jb(e.catch),Xb=((e,t)=>e?setImmediate:t?((e,t)=>(zb.addEventListener(`message`,({source:n,data:r})=>{n===zb&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),zb.postMessage(e,`*`)}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate==`function`,jb(zb.postMessage)),Zb=typeof queueMicrotask<`u`?queueMicrotask.bind(zb):typeof process<`u`&&process.nextTick||Xb,Qb=e=>e!=null&&jb(e[vb]),R={isArray:Db,isArrayBuffer:Ab,isBuffer:kb,isFormData:Wae,isArrayBufferView:jae,isString:Mae,isNumber:Mb,isBoolean:Nae,isObject:Nb,isPlainObject:Pb,isEmptyObject:Pae,isReadableStream:Kae,isRequest:qae,isResponse:Jae,isHeaders:Yae,isUndefined:Ob,isDate:Fae,isFile:Iae,isReactNativeBlob:Lae,isReactNative:Rae,isBlob:zae,isRegExp:loe,isFunction:jb,isStream:Hae,isURLSearchParams:Gae,isTypedArray:roe,isFileList:Bae,forEach:Lb,merge:Vb,extend:Zae,trim:Xae,stripBOM:Qae,inherits:$ae,toFlatObject:eoe,kindOf:wb,kindOfTest:Tb,endsWith:toe,toArray:noe,forEachEntry:ioe,matchAll:aoe,isHTMLForm:ooe,hasOwnProperty:bb,hasOwnProp:bb,hasOwnInPrototypeChain:Cb,getSafeProp:kae,toSafeFlatObject:Aae,reduceDescriptors:Hb,freezeMethods:uoe,toObjectSet:Ub,toCamelCase:soe,noop:Wb,toFiniteNumber:Gb,findKey:Rb,global:zb,isContextDefined:Bb,isSpecCompliantForm:Kb,toJSONObject:qb,isAsyncFn:Jb,isThenable:Yb,setImmediate:Xb,asap:Zb,isIterable:Qb,isSafeIterable:e=>e!=null&&Cb(e,vb)&&Qb(e)},$b=R.toObjectSet([`age`,`authorization`,`content-length`,`content-type`,`etag`,`expires`,`from`,`host`,`if-modified-since`,`if-unmodified-since`,`last-modified`,`location`,`max-forwards`,`proxy-authorization`,`referer`,`retry-after`,`user-agent`]),ex=e=>{let t={},n,r,i;return e&&e.split(` 37`).forEach(function(e){i=e.indexOf(`:`),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim();let a=R.hasOwnProp(t,n);!n||a&&R.hasOwnProp($b,n)||(n===`set-cookie`?a?t[n].push(r):t[n]=[r]:t[n]=a?t[n]+`, `+r:r)}),t};function tx(e){let t=0,n=e.length;for(;t<n;){let n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}for(;n>t;){let t=e.charCodeAt(n-1);if(t!==9&&t!==32)break;--n}return t===0&&n===e.length?e:e.slice(t,n)}var nx=RegExp(`[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+`,`g`),rx=RegExp(`[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+`,`g`);function ix(e,t){return R.isArray(e)?e.map(e=>ix(e,t)):tx(String(e).replace(t,``))}var ax=e=>ix(e,nx),ox=e=>ix(e,rx);function sx(e){let t=Object.create(null);return R.forEach(e.toJSON(),(e,n)=>{t[n]=ox(e)}),t}var cx=Symbol(`internals`);function lx(e){return e&&String(e).trim().toLowerCase()}function ux(e){return e===!1||e==null?e:R.isArray(e)?e.map(ux):ax(String(e))}function dx(e){let t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}var fx=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function px(e){let t=0,n=e.length;for(;t<n;){let n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}for(;n>t;){let t=e.charCodeAt(n-1);if(t!==9&&t!==32)break;--n}return t===0&&n===e.length?e:e.slice(t,n)}function mx(e){let t=e.length-1;if(t<1||e.charCodeAt(0)!==34||e.charCodeAt(t)!==34)return e;let n=``;for(let r=1;r<t;r++){let i=e.charCodeAt(r);if(i===34||i===92&&(r+=1,r>=t))return e;n+=e[r]}return n}function hx(e){let t=Object.create(null),n=String(e),r=0,i=!1,a=!1;function o(e){let i=px(n.slice(r,e)),a=i.indexOf(`=`);
37if(a<1)return;let o=px(i.slice(0,a));if(!fx.test(o))return;let s=o.toLowerCase();if(s===`__proto__`||s===`constructor`||s===`prototype`)return;let c=px(i.slice(a+1));t[s]=mx(c)}for(let e=0;e<n.length;e++){let t=n.charCodeAt(e);i?a?a=!1:t===92?a=!0:t===34&&(i=!1):t===34?i=!0:(t===44||t===59)&&(o(e),r=e+1)}return o(n.length),t}var gx=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function _x(e,t,n,r,i){if(R.isFunction(r))return r.call(this,t,n);if(i&&(t=n),R.isString(t)){if(R.isString(r))return t.indexOf(r)!==-1;if(R.isRegExp(r))return r.test(t)}}function vx(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function yx(e,t){let n=R.toCamelCase(` `+t);[`get`,`set`,`has`].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}var bx=class{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=lx(t);if(!i)return;let a=R.findKey(r,i);(!a||r[a]===void 0||n===!0||n===void 0&&r[a]!==!1)&&(r[a||t]=ux(e))}let a=(e,t)=>R.forEach(e,(e,n)=>i(e,n,t));if(R.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(R.isString(e)&&(e=e.trim())&&!gx(e))a(ex(e),t);else if(R.isObject(e)&&R.isSafeIterable(e)){let n=Object.create(null),r,i;for(let t of e){if(!R.isArray(t))throw TypeError(`Object iterator must return a key-value pair`);i=t[0],R.hasOwnProp(n,i)?(r=n[i],n[i]=R.isArray(r)?[...r,t[1]]:[r,t[1]]):n[i]=t[1]}a(n,t)}else e!=null&&i(t,e,n);return this}get(e,t){if(e=lx(e),e){let n=R.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(t===!0)return dx(e);if(R.isFunction(t))return t.call(this,e,n);if(R.isRegExp(t))return t.exec(e);throw TypeError(`parser must be boolean|regexp|function`)}}}has(e,t){if(e=lx(e),e){let n=R.findKey(this,e);return!(!n||this[n]===void 0||t&&!_x(this,this[n],n,t))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=lx(e),e){let i=R.findKey(n,e);i&&(!t||_x(n,n[i],i,t))&&(delete n[i],r=!0)}}return R.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||_x(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return R.forEach(this,(r,i)=>{let a=R.findKey(n,i);if(a){t[a]=ux(r),delete t[i];return}let o=e?vx(i):String(i).trim();o!==i&&delete t[i],t[o]=ux(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return R.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&R.isArray(n)?n.join(`, `):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+`: `+t).join(` 38`)}getSetCookie(){let e=this.get(`set-cookie`);return R.isArray(e)?e:e==null||e===!1?[]:[e]}get[Symbol.toStringTag](){return`AxiosHeaders`}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return hx(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[cx]=this[cx]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=lx(e);t[r]||(yx(n,e),t[r]=!0)}return R.isArray(e)?e.forEach(r):r(e),this}};bx.accessor([`Content-Type`,`Content-Length`,`Accept`,`Accept-Encoding`,`User-Agent`,`Authorization`]),R.reduceDescriptors(bx.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),R.freezeMethods(bx);var xx=`[REDACTED ****]`;function doe(e){if(R.hasOwnProp(e,`toJSON`))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(R.hasOwnProp(t,`toJSON`))return!0;t=Object.getPrototypeOf(t)}return!1}function foe(e,t){let n=new Set(t.map(e=>String(e).toLowerCase())),r=[],i=e=>{if(typeof e!=`object`||!e||R.isBuffer(e))return e;if(r.indexOf(e)!==-1)return;e instanceof bx&&(e=e.toJSON()),r.push(e);let t;if(R.isArray(e))t=[],e.forEach((e,n)=>{let r=i(e);R.isUndefined(r)||(t[n]=r)});else{if(!R.isPlainObject(e)&&doe(e))return r.pop(),e;t=Object.create(null);for(let[r,a]of Object.entries(e)){let e=n.has(r.toLowerCase())?xx:i(a);R.isUndefined(e)||(t[r]=e)}}return r.pop(),t};return i(e)}function Sx(e){try{return String(e)}catch{return``}}function poe(e){return e.errors.map(e=>{try{return e&&e.message?Sx(e.message):Sx(e)}catch{return``}}
38).filter(Boolean).join(`; `)||e.name||`AggregateError`}var Cx=class e extends Error{static from(t,n,r,i,a,o){let s=t.message;!s&&R.isArray(t.errors)&&t.errors.length&&(s=poe(t));let c=new e(s,n||t.code,r,i,a);return Object.defineProperty(c,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),c.name=t.name,t.status!=null&&c.status==null&&(c.status=t.status),o&&Object.assign(c,o),c}constructor(e,t,n,r,i){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name=`AxiosError`,this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){let e=this.config,t=e&&R.hasOwnProp(e,`redact`)?e.redact:void 0,n=R.isArray(t)&&t.length>0?foe(e,t):R.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}};Cx.ERR_BAD_OPTION_VALUE=`ERR_BAD_OPTION_VALUE`,Cx.ERR_BAD_OPTION=`ERR_BAD_OPTION`,Cx.ECONNABORTED=`ECONNABORTED`,Cx.ETIMEDOUT=`ETIMEDOUT`,Cx.ECONNREFUSED=`ECONNREFUSED`,Cx.ERR_NETWORK=`ERR_NETWORK`,Cx.ERR_FR_TOO_MANY_REDIRECTS=`ERR_FR_TOO_MANY_REDIRECTS`,Cx.ERR_DEPRECATED=`ERR_DEPRECATED`,Cx.ERR_BAD_RESPONSE=`ERR_BAD_RESPONSE`,Cx.ERR_BAD_REQUEST=`ERR_BAD_REQUEST`,Cx.ERR_CANCELED=`ERR_CANCELED`,Cx.ERR_NOT_SUPPORT=`ERR_NOT_SUPPORT`,Cx.ERR_INVALID_URL=`ERR_INVALID_URL`,Cx.ERR_FORM_DATA_DEPTH_EXCEEDED=`ERR_FORM_DATA_DEPTH_EXCEEDED`;function wx(e){return R.isPlainObject(e)||R.isArray(e)}function Tx(e){return R.endsWith(e,`[]`)?e.slice(0,-2):e}function Ex(e,t,n){return e?e.concat(t).map(function(e,t){return e=Tx(e),!n&&t?`[`+e+`]`:e}).join(n?`.`:``):t}function moe(e){return R.isArray(e)&&!e.some(wx)}var hoe=R.toFlatObject(R,{},null,function(e){return/^is[A-Z]/.test(e)});function Dx(e,t,n){if(!R.isObject(e))throw TypeError(`target must be an object`);t||=new FormData;let r=(e,t)=>{let r=R.getSafeProp(n,e);return R.isUndefined(r)?t:r},i=r(`metaTokens`,!0),a=r(`visitor`)||h,o=r(`dots`,!1),s=r(`indexes`,!1),c=r(`Blob`)||typeof Blob<`u`&&Blob,l=r(`maxDepth`,100),u=c&&R.isSpecCompliantForm(t),d=[];if(!R.isFunction(a))throw TypeError(`visitor must be a function`);function f(e){if(e===null)return``;if(R.isDate(e))return e.toISOString();if(R.isBoolean(e))return e.toString();if(!u&&R.isBlob(e))throw new Cx(`Blob is not supported. Use a Buffer instead.`);if(R.isArrayBuffer(e)||R.isTypedArray(e)){if(u&&typeof c==`function`)return new c([e]);throw new Cx(`Blob is not supported. Use a Buffer instead.`,Cx.ERR_NOT_SUPPORT)}return e}function p(e){if(e>l)throw new Cx(`Object is too deeply nested (`+e+` levels). Max depth: `+l,Cx.ERR_FORM_DATA_DEPTH_EXCEEDED)}function m(e,t){if(l===1/0)return JSON.stringify(e);let n=[];return JSON.stringify(e,function(e,r){if(!R.isObject(r))return r;for(;n.length&&n[n.length-1]!==this;)n.pop();
38return n.push(r),p(t+n.length-1),r})}function h(e,n,r){let a=e;if(R.isReactNative(t)&&R.isReactNativeBlob(e))return t.append(Ex(r,n,o),f(e)),!1;if(e&&!r&&typeof e==`object`){if(R.endsWith(n,`{}`))n=i?n:n.slice(0,-2),e=m(e,1);else if(R.isArray(e)&&moe(e)||(R.isFileList(e)||R.endsWith(n,`[]`))&&(a=R.toArray(e)))return n=Tx(n),a.forEach(function(e,r){!(R.isUndefined(e)||e===null)&&t.append(s===!0?Ex([n],r,o):s===null?n:n+`[]`,f(e))}),!1}return wx(e)?!0:(t.append(Ex(r,n,o),f(e)),!1)}let g=Object.assign(hoe,{defaultVisitor:h,convertValue:f,isVisitable:wx});function _(e,n,r=0){if(!R.isUndefined(e)){if(p(r),d.indexOf(e)!==-1)throw Error(`Circular reference detected in `+n.join(`.`));d.push(e),R.forEach(e,function(e,i){(!(R.isUndefined(e)||e===null)&&a.call(t,e,R.isString(i)?i.trim():i,n,g))===!0&&_(e,n?n.concat(i):[i],r+1)}),d.pop()}}if(!R.isObject(e))throw TypeError(`data must be an object`);return _(e),t}function Ox(e){let t={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function kx(e,t){this._pairs=[],e&&Dx(e,this,t)}var Ax=kx.prototype;Ax.append=function(e,t){this._pairs.push([e,t])},Ax.toString=function(e){let t=e?t=>e.call(this,t,Ox):Ox;return this._pairs.map(function(e){return t(e[0])+`=`+t(e[1])},``).join(`&`)};function goe(e){return encodeURIComponent(e).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`).replace(/%20/g,`+`)}function jx(e,t,n){if(!t)return e;e||=``;let r=R.isFunction(n)?{serialize:n}:n,i=R.getSafeProp(r,`encode`)||goe,a=R.getSafeProp(r,`serialize`),o;if(o=a?a(t,r):R.isURLSearchParams(t)?t.toString():new kx(t,r).toString(i),o){let t=e.indexOf(`#`);t!==-1&&(e=e.slice(0,t)),e+=(e.indexOf(`?`)===-1?`?`:`&`)+o}return e}var Mx=Symbol(`internals`);function Nx(e){return e?e.length:0}function Px(e){if(e)for(;e.length&&e[e.length-1]===null;)e.pop()}function Fx(e,t){let n=e.handlers,r=Nx(n);n===t.handlersRef?r!==t.handlersLength&&(r?t.handlerEntries.forEach(function(e,r){n[e.index]!==e.handler&&t.handlerEntries.delete(r)}):t.handlerEntries.clear()):(t.handlersRef=n,t.handlerEntries.clear()),t.handlersLength=r}var Ix=class{constructor(){this.handlers=[],this[Mx]={handlersRef:this.handlers,handlersLength:this.handlers.length,handlerEntries:new Map,iterationDepth:0,nextId:0}}use(e,t,n){let r={fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null},i=this[Mx];this.handlers??=[],Fx(this,i);let a=i.nextId++;return this.handlers.push(r),i.handlerEntries.set(a,{handler:r,index:this.handlers.length-1}),i.handlersLength=this.handlers.length,a}eject(e){let t=this[Mx];Fx(this,t);let n=t.handlerEntries.get(e);if(n){if(t.handlerEntries.delete(e),this.handlers[n.index]!==n.handler)return;this.handlers[n.index]=null,t.iterationDepth||(Px(this.handlers),t.handlersLength=this.handlers.length)}}clear(){this.handlers&&(this.handlers=[],Fx(this,this[Mx]))}forEach(e){let t=this[Mx];Fx(this,t),t.iterationDepth++;try{R.forEach(this.handlers,function(t){t!==null&&e(t)})}finally{--t.iterationDepth||(Fx(this,t),Px(this.handlers),t.handlersLength=Nx(this.handlers))}}},Lx={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},_oe={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<`u`?URLSearchParams:kx,FormData:typeof FormData<`u`?FormData:null,Blob:typeof Blob<`u`?Blob:null},protocols:[`http`,`https`,`file`,`blob`,`url`,`data`]},voe=c({hasBrowserEnv:()=>Rx,hasStandardBrowserEnv:()=>yoe,hasStandardBrowserWebWorkerEnv:()=>boe,navigator:()=>zx,origin:()=>xoe}),Rx=typeof window<`u`&&typeof document<`u`,zx=typeof navigator==`object`&&navigator||void 0,yoe=Rx&&(!zx||[`ReactNative`,`NativeScript`,`NS`].indexOf(zx.product)<0),boe=typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope&&typeof self.importScripts==`function`,xoe=Rx&&window.location.href||`http://localhost`,Bx={...voe,..._oe};function Soe(e,t){return Dx(e,new Bx.classes.URLSearchParams,{visitor:function(e,t,n,r){return Bx.isNode&&R.isBuffer(e)?(this.append(t,e.toString(`base64`)),!1):r.defaultVisitor.apply(this,arguments)},...t})}var Vx=100;function Hx(e){if(e>Vx)throw new Cx(`FormData field is too deeply nested (`+e+` levels). Max depth: `+Vx,Cx.ERR_FORM_DATA_DEPTH_EXCEEDED)}function Coe(e){let t=[],n=/[^.[\]]+|\[([^.[\]]*)]/g,r;for(;(r=n.exec(e))!==null;)Hx(t.length),t.push(r[0]===`[]`?``:r[1]||r[0]);return t}function woe(e){let t={},n=Object.keys(e),r,i=n.length,a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function Ux(e){function t(e,n,r,i){Hx(i);let a=e[i++];if(a===`__proto__`)return!0;let o=Number.isFinite(+a),s=i>=e.length;return a=!a&&R.isArray(r)?r.length:a,s?(R.hasOwnProp(r,a)?r[a]=R.isArray(r[a])?r[a].concat(n):[r[a],n]:r[a]=n,!o):((!R.hasOwnProp(r,a)||!R.isObject(r[a]))&&(r[a]=[]),t(e,n,r[a],i)&&R.isArray(r[a])&&(r[a]=woe(r[a])),!o)}if(R.isFormData(e)&&R.isFunction(e.entries)){let n={};return R.forEachEntry(e,(e,r)=>{t(Coe(e),r,n,0)}),n}return null}var Wx=Object.freeze([`get`,`delete`,`head`,`options`,`post`,`put`,`patch`,`purge`,`link`,`unlink`,`query`]),Gx=(e,t)=>e!=null&&R.hasOwnProp(e,t)?e[t]:void 0;function Toe(e,t,n){if(R.isString(e))try{return(t||JSON.parse)(e),R.trim(e)}catch(e){if(e.name!==`SyntaxError`)throw e}return(n||JSON.stringify)(e)}var Kx={transitional:Lx,adapter:[`xhr`,`http`,`fetch`],transformRequest:[function(e,t){let n=t.getContentType()||``,r=n.indexOf(`application/json`)>-1,i=R.isObject(e);
38if(i&&R.isHTMLForm(e)&&(e=new FormData(e)),R.isFormData(e))return r?JSON.stringify(Ux(e)):e;if(R.isArrayBuffer(e)||R.isBuffer(e)||R.isStream(e)||R.isFile(e)||R.isBlob(e)||R.isReadableStream(e))return e;if(R.isArrayBufferView(e))return e.buffer;if(R.isURLSearchParams(e))return t.setContentType(`application/x-www-form-urlencoded;charset=utf-8`,!1),e.toString();let a;if(i){let t=Gx(this,`formSerializer`);if(n.indexOf(`application/x-www-form-urlencoded`)>-1)return Soe(e,t).toString();if((a=R.isFileList(e))||n.indexOf(`multipart/form-data`)>-1){let n=Gx(this,`env`),r=n&&n.FormData;return Dx(a?{"files[]":e}:e,r&&new r,t)}}return i||r?(t.setContentType(`application/json`,!1),Toe(e)):e}],transformResponse:[function(e){let t=Gx(this,`transitional`)||Kx.transitional,n=t&&t.forcedJSONParsing,r=Gx(this,`responseType`),i=r===`json`;if(R.isResponse(e)||R.isReadableStream(e))return e;if(e&&R.isString(e)&&(n&&!r||i)){let n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,Gx(this,`parseReviver`))}catch(e){if(n)throw e.name===`SyntaxError`?Cx.from(e,Cx.ERR_BAD_RESPONSE,this,null,Gx(this,`response`)):e}}return e}],timeout:0,xsrfCookieName:`XSRF-TOKEN`,xsrfHeaderName:`X-XSRF-TOKEN`,maxContentLength:-1,maxBodyLength:-1,env:{FormData:Bx.classes.FormData,Blob:Bx.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:`application/json, text/plain, */*`,"Content-Type":void 0}}};R.forEach(Wx,e=>{Kx.headers[e]={}});function qx(e,t){let n=this||Kx,r=t||n,i=bx.from(r.headers),a=r.data;return R.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function Jx(e){return!!(e&&e.__CANCEL__)}var Yx=class extends Cx{constructor(e,t,n){super(e??`canceled`,Cx.ERR_CANCELED,t,n),this.name=`CanceledError`,this.__CANCEL__=!0}};function Xx(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Cx(`Request failed with status code `+n.status,n.status>=400&&n.status<500?Cx.ERR_BAD_REQUEST:Cx.ERR_BAD_RESPONSE,n.config,n.request,n))}var Eoe=/[\t\n\r]/g;function Zx(e){if(typeof e!=`string`)return e;let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t).replace(Eoe,``)}function Qx(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||``}function Doe(e,t){e||=10;let n=Array(e),r=Array(e),i=0,a=0,o;return t=t===void 0?1e3:t,function(s){let c=Date.now(),l=r[a];o||=c,n[i]=s,r[i]=c;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;let f=l&&c-l;return f?Math.round(d*1e3/f):void 0}}function Ooe(e,t){let n=0,r=1e3/t,i,a,o=(t,r=Date.now())=>{n=r,i=null,a&&=(clearTimeout(a),null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-n;s>=r?o(e,t):(i=e,a||=setTimeout(()=>{a=null,o(i)},r-s))},()=>i&&o(i),(...e)=>o(e)]}var $x=(e,t,n=3)=>{let r=0,i=Doe(50,250);return Ooe(n=>{if(!n||!R.isNumber(n.loaded))return;let a=n.loaded,o=n.lengthComputable?n.total:void 0,s=Math.max(0,o==null?a:Math.min(a,o)),c=Math.max(0,s-r),l=i(c);r=Math.max(r,s),e({loaded:s,total:o,progress:o?s/o:void 0,bytes:c,rate:l||void 0,estimated:l&&o?(o-s)/l:void 0,event:n,lengthComputable:o!=null,[t?`download`:`upload`]:!0})},n)},eS=(e,t)=>{let n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},tS=(e,t=R.asap)=>(...n)=>t(()=>e(...n)),koe=Bx.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Bx.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Bx.origin),Bx.navigator&&/(msie|trident)/i.test(Bx.navigator.userAgent)):()=>!0,Aoe=Bx.hasStandardBrowserEnv?{write(e,t,n,r,i,a,o){if(typeof document>`u`)return;let s=[`${e}=${encodeURIComponent(t)}`];R.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),R.isString(r)&&s.push(`path=${r}`),R.isString(i)&&s.push(`domain=${i}`),a===!0&&s.push(`secure`),R.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join(`; `)},read(e){if(typeof document>`u`)return null;let t=document.cookie.split(`;`);for(let n=0;n<t.length;n++){let r=t[n].replace(/^\s+/,``),i=r.indexOf(`=`);if(i!==-1&&r.slice(0,i)===e)try{return decodeURIComponent(r.slice(i+1))}catch{return r.slice(i+1)}}return null},remove(e){this.write(e,``,Date.now()-864e5,`/`)}}:{write(){},read(){return null},remove(){}};function joe(e){return typeof e==`string`&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Moe(e,t){if(!t)return e;let n=e.length;for(;n>0&&e.charCodeAt(n-1)===47;)n--;return e.slice(0,n)+`/`+t.replace(/^\/+/,``)}var Noe=/^https?:(?!\/\/)/i;function Poe(e){return e&&e.replace(/(^|&)([^=&]*=)?[^&]+/g,(e,t,n=``)=>`${t}${n}${xx}`)}function Foe(e){let t=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${xx}@`),n=t.indexOf(`#`),r=(n===-1?t:t.slice(0,n)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${xx}`);return n===-1?r:`${r}#${Poe(t.slice(n+1))}`}function nS(e,t){if(typeof e==`string`){let n=Zx(e);if(Noe.test(n))throw new Cx(`Invalid URL ${JSON.stringify(Foe(n))}: missing "//" after protocol`,Cx.ERR_INVALID_URL,t)}}function rS(e,t,n,r){nS(t,r);let i=!joe(t);return e&&(i||n===!1)?(nS(e,r),Moe(e,t)):t}var iS=e=>e instanceof bx?{...e}:e,Ioe=e=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(e).concat(Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)):Object.keys(e);function aS(e,t){e||={},t||={};let n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(e,t,n,r){return R.isPlainObject(e)&&R.isPlainObject(t)?R.merge.call({caseless:r}
38,e,t):R.isPlainObject(t)?R.merge({},t):R.isArray(t)?t.slice():t}function i(e,t,n,i){if(!R.isUndefined(t))return r(e,t,n,i);if(!R.isUndefined(e))return r(void 0,e,n,i)}function a(e,t){if(!R.isUndefined(t))return r(void 0,t)}function o(e,t){if(!R.isUndefined(t))return r(void 0,t);if(!R.isUndefined(e))return r(void 0,e)}function s(n){let r=R.hasOwnProp(t,`transitional`)?t.transitional:void 0;if(!R.isUndefined(r)){if(R.isPlainObject(r)){if(R.hasOwnProp(r,n))return r[n]}else return}let i=R.hasOwnProp(e,`transitional`)?e.transitional:void 0;if(R.isPlainObject(i)&&R.hasOwnProp(i,n))return i[n]}function c(n,i,a){if(R.hasOwnProp(t,a))return r(n,i);if(R.hasOwnProp(e,a))return r(void 0,n)}let l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutErrorMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:c,headers:(e,t,n)=>i(iS(e),iS(t),n,!0)};return R.forEach(Ioe({...e,...t}),function(r){if(r===`__proto__`||r===`constructor`||r===`prototype`)return;let a=R.hasOwnProp(l,r)?l[r]:i,o=a(R.hasOwnProp(e,r)?e[r]:void 0,R.hasOwnProp(t,r)?t[r]:void 0,r);R.isUndefined(o)&&a!==c||(n[r]=o)}),R.hasOwnProp(t,`validateStatus`)&&R.isUndefined(t.validateStatus)&&s(`validateStatusUndefinedResolves`)===!1&&(R.hasOwnProp(e,`validateStatus`)?n.validateStatus=r(void 0,e.validateStatus):delete n.val
38idateStatus),n}var Loe=[`content-type`,`content-length`];function Roe(e,t,n){if(n!==`content-only`){e.set(t);return}Object.entries(t||{}).forEach(([t,n])=>{Loe.includes(t.toLowerCase())&&e.set(t,n)})}var zoe=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16)));function oS(e){let t=aS({},e),n=e=>R.hasOwnProp(t,e)?t[e]:void 0,r=n(`data`),i=n(`withXSRFToken`),a=n(`xsrfHeaderName`),o=n(`xsrfCookieName`),s=n(`headers`),c=n(`auth`),l=n(`baseURL`),u=n(`allowAbsoluteUrls`),d=n(`url`);if(t.headers=s=bx.from(s),t.url=jx(rS(l,d,u,t),n(`params`),n(`paramsSerializer`)),c){let t=R.getSafeProp(c,`username`)||``,n=R.getSafeProp(c,`password`)||``;try{s.set(`Authorization`,`Basic `+btoa(t+`:`+(n?zoe(n):``)))}catch(t){throw Cx.from(t,Cx.ERR_BAD_OPTION_VALUE,e)}}if(R.isFormData(r)){let e=R.getSafeProp(r,`getHeaders`);Bx.hasStandardBrowserEnv||Bx.hasStandardBrowserWebWorkerEnv||R.isReactNative(r)?s.setContentType(void 0):R.isFunction(e)&&Roe(s,e.call(r),n(`formDataHeaderPolicy`))}if(Bx.hasStandardBrowserEnv&&(R.isFunction(i)&&(i=i(t)),i===!0||i==null&&koe(t.url))){let e=a&&o&&Aoe.read(o);e&&s.set(a,e)}return t}var Boe=typeof XMLHttpRequest<`u`&&function(e){return new Promise(function(t,n){let r=oS(e),i=r.data,a=bx.from(r.headers).normalize(),{responseType:o,onUploadProgress:s,onDownloadProgress:c}=r,l,u,d,f,p,m;function h(){f&&f(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener(`abort`,l)}let g=new XMLHttpRequest;g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout;function _(i){if(!g)return;if(g.status===0&&(Qx(Zx(r.url))||Qx(Bx.origin))!==`file`&&!(g.responseURL&&g.responseURL.startsWith(`file:`))){n(new Cx(`Request aborted`,Cx.ECONNABORTED,e,g)),h(),g=null;return}try{i?m&&m(i):p&&p()}catch(e){setTimeout(()=>{throw e})}if(!g)return;let a=bx.from(`getAllResponseHeaders`in g&&g.getAllResponseHeaders());Xx(function(e){t(e),h()},function(e){n(e),h()},{data:!o||o===`text`||o===`json`?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:a,config:e,request:g}),g=null}`onloadend`in g?g.onloadend=_:g.onreadystatechange=function(){g&&g.readyState===4&&(g.status!==0||g.responseURL&&g.responseURL.startsWith(`file:`))&&setTimeout(_)},g.onabort=function(){g&&=(n(new Cx(`Request aborted`,Cx.ECONNABORTED,e,g)),h(),null)},g.onerror=function(t){let r=new Cx(t&&t.message?t.message:`Network Error`,Cx.ERR_NETWORK,e,g);r.event=t||null,n(r),h(),g=null},g.ontimeout=function(){let t=r.timeout?`timeout of `+r.timeout+`ms exceeded`:`timeout exceeded`,i=r.transitional||Lx;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Cx(t,i.clarifyTimeoutError?Cx.ETIMEDOUT:Cx.ECONNABORTED,e,g)),h(),g=null},i===void 0&&a.setContentType(null),`setRequestHeader`in g&&R.forEach(sx(a),function(e,t){g.setRequestHeader(t,e)}),R.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),o&&o!==`json`&&(g.responseType=r.responseType),c&&([d,p,m]=$x(c,!0),g.addEventListener(`progress`,d)),s&&g.upload&&([u,f]=$x(s),g.upload.addEventListener(`progress`,u),g.upload.addEventListener(`loadend`,f)),(r.cancelToken||r.signal)&&(l=t=>{g&&=(n(!t||t.type?new Yx(null,e,g):t),g.abort(),h(),null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener(`abort`,l)));let v=Qx(r.url);if(v&&!Bx.protocols.includes(v)){n(new Cx(`Unsupported protocol `+v+`:`,Cx.ERR_BAD_REQUEST,e)),h();return}g.send(i||null)})},Voe=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let n=new AbortController,r=!1,i=function(e){if(!r){r=!0,o();let t=e instanceof Error?e:this.reason;n.abort(t instanceof Cx?t:new Yx(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new Cx(`timeout of ${t}ms exceeded`,Cx.ETIMEDOUT))},t),o=()=>{e&&=(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener(`abort`,i)}),null)};e.forEach(e=>{if(!r){if(e.aborted){i.call(e);return}e.addEventListener(`abort`,i,{once:!0})}});let{signal:s}=n;return s.unsubscribe=()=>R.asap(o),s},Hoe=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},Uoe=async function*(e,t){for await(let n of Woe(e))yield*Hoe(n,t)},Woe=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},sS=(e,t,n,r)=>{let i=Uoe(e,t),a=0,o,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await i.next();if(t){s(),e.close();return}let o=r.byteLength;n&&n(a+=o),e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})},cS=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,lS=(e,t,n)=>t+2<n&&cS(e.charCodeAt(t+1))&&cS(e.charCodeAt(t+2)),uS=e=>e<=57?e-48:(e&223)-55,Goe=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===47||e===45||e===95,Koe=e=>e===9||e===10||e===12||e===13||e===32,qoe=e=>{let t=Math.floor(e/4),n=e%4;return t*3+(n===2?1:n===3?2:0)},Joe=e=>{let t=e.length,n=0;return t>0&&e.charCodeAt(t-1)===61&&(n++,t>1&&e.charCodeAt(t-2)===61&&n++),Math.floor((t-n)*3/4)},Yoe=e=>{let t=e.length,n=0,r=0,i=!1;for(let a=0;a<t;a++){let o=e.charCodeAt(a);if(o===37&&lS(e,a,t)&&(o=uS(e.charCodeAt(a+1))*16+uS(e.charCodeAt(a+2)),a+=2),!Koe(o)){if(o===61){r++;continue}if(!Goe(o)||r>0){i=!0;continue}n++}}return i||r>2||r>0&&(n+r)%4!=0||n%4==1?Joe(e):qoe(n)},Xoe=(e,t)=>{if(!e||typeof e!=`string`||!e.startsWith(`data:`))return 0;let n=e.indexOf(`,`);if(n<0)return 0;let r=e.slice(5,n),i=e.slice(n+1);if(/;base64/i.test(r))return t(i);let a=0;for(let e=0,t=i.length;e<t;e++){let n=i.charCodeAt(e);if(n===37&&lS(i,e,t))a+=1,e+=2;else if(n<128)a+=1;else if(n<2048)a+=2;else if(n>=55296&&n<=56319&&e+1<t){let t=i.charCodeAt(e+1);t>
38=56320&&t<=57343?(a+=4,e++):a+=3}else a+=3}return a};function Zoe(e){let t=typeof e==`string`?e.indexOf(`#`):-1;return Xoe(t===-1?e:e.slice(0,t),Yoe)}var dS=`1.20.0`,fS=65536,Qoe={cache:`default`,redirect:`follow`,referrer:`about:client`,referrerPolicy:``,mode:`cors`,integrity:``,keepalive:!1,priority:`auto`,window:null},{isFunction:pS}=R,$oe=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))),mS=e=>{if(!R.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},hS=(e,...t)=>{try{return!!e(...t)}catch{return!1}},ese=e=>{let t=e.indexOf(`://`),n=e;return t!==-1&&(n=n.slice(t+3)),n.includes(`@`)||n.includes(`:`)},tse=e=>{let t=R.global!==void 0&&R.global!==null?R.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=R.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);let{fetch:i,Request:a,Response:o}=e,s=i?pS(i):typeof fetch==`function`,c=pS(a),l=pS(o);if(!s)return!1;let u=s&&pS(n),d=s&&(typeof r==`function`?(e=>t=>e.encode(t))(new r):async e=>new Uint8Array(await new a(e).arrayBuffer())),f=c&&u&&hS(()=>{let e=!1,t=new a(Bx.origin,{body:new n,method:`POST`,get duplex(){return e=!0,`half`}}),r=t.headers.has(`Content-Type`);return t.body!=null&&t.body.cancel(),e&&!r}),p=l&&u&&hS(()=>R.isReadableStream(new o(``).body)),m={stream:p&&(e=>e.body)};s&&[`text`,`arrayBuffer`,`blob`,`formData`,`stream`].forEach(e=>{!m[e]&&(m[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new Cx(`Response type '${e}' is not supported`,Cx.ERR_NOT_SUPPORT,n)})});let h=async e=>{if(e==null)return 0;if(R.isBlob(e))return e.size;if(R.isSpecCompliantForm(e))return(await new a(Bx.origin,{method:`POST`,body:e}).arrayBuffer()).byteLength;if(R.isArrayBufferView(e)||R.isArrayBuffer(e))return e.byteLength;if(R.isURLSearchParams(e)&&(e+=``),R.isString(e))return(await d(e)).byteLength},g=async(e,t)=>R.toFiniteNumber(e.getContentLength())??h(t);return async e=>{let{url:t,method:n,data:s,signal:l,cancelToken:d,timeout:_,onDownloadProgress:v,onUploadProgress:y,responseType:b,headers:x,withCredentials:S=`same-origin`,fetchOptions:C,maxContentLength:w,maxBodyLength:T,maxRedirects:E}=oS(e),D=R.isNumber(w)&&w>-1,O=R.isNumber(T)&&T>-1,k=t=>R.hasOwnProp(e,t)?e[t]:void 0,A=i||fetch;b=b?(b+``).toLowerCase():`text`;let j=Voe([l,d&&d.toAbortSignal()],_),M=null,ee=j&&j.unsubscribe&&(()=>{j.unsubscribe()}),N,te=null,ne=()=>new Cx(`Request body larger than maxBodyLength limit`,Cx.ERR_BAD_REQUEST,e,M);try{let i,l=k(`auth`);if(l&&(i={username:R.getSafeProp(l,`username`)||``,password:R.getSafeProp(l,`password`)||``}),ese(t)){let e=new URL(t,Bx.origin);!i&&(e.username||e.password)&&(i={username:mS(e.username),password:mS(e.password)}),(e.username||e.password)&&(e.username=``,e.password=``,t=e.href)}if(i&&(x.delete(`authorization`),x.set(`Authorization`,`Basic `+btoa($oe((i.username||``)+`:`+(i.password||``))))),D&&typeof t==`string`&&t.startsWith(`data:`)&&Zoe(t)>w)throw new Cx(`maxContentLength size of `+w+` exceeded`,Cx.ERR_BAD_RESPONSE,e,M);if(O&&n!==`get`&&n!==`head`){let e=await h(s);if(typeof e==`number`&&isFinite(e)&&(N=e,e>T))throw ne()}let d=O&&(R.isReadableStream(s)||R.isStream(s)),_=(e,t,n)=>sS(e,fS,e=>{if(O&&e>T)throw te=ne();t&&t(e)},n);if(f&&n!==`get`&&n!==`head`&&(y||d)){if(N??=await g(x,s),N!==0||d){let e=new a(t,{method:`POST`,body:s,duplex:`half`}),n;if(R.isFormData(s)&&(n=e.headers.get(`content-type`))&&x.setContentType(n),e.body){let[t,n]=y&&eS(N,$x(tS(y)))||[];s=_(e.body,t,n)}}}else if(d&&!c&&u&&n!==`get`&&n!==`head`)s=_(s);else if(d&&c&&!f&&n!==`get`&&n!==`head`)throw new Cx(`Stream request bodies are not supported by the current fetch implementation`,Cx.ERR_NOT_SUPPORT,e,M);R.isString(S)||(S=S?`include`:`omit`);let re=c&&`credentials`in a.prototype;if(R.isFormData(s)){let e=x.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&x.delete(`content-type`)}x.set(`User-Agent`,`axios/`+dS,!1);let ie=C==null?C:Object.assign(Object.create(null),C);ie&&(delete ie.body,delete ie.headers,delete ie.method,delete ie.signal,delete ie.duplex,delete ie.credentials);let P=Object.assign(Object.create(null),ie,{signal:j,method:n.toUpperCase(),headers:sx(x.normalize()),body:s,duplex:`half`,credentials:re?S:void 0});
38c&&(R.forEach(Qoe,(e,t)=>{P[t]===void 0&&(P[t]=e)}),P.signal===void 0&&(P.signal=null),P.body===void 0&&(P.body=null)),E===0&&(P.redirect=`manual`,ie&&(ie.redirect=`manual`)),M=c&&new a(t,P);let F=await(c?A(M,ie):A(t,P)),ae=bx.from(F.headers);if(D){let t=R.toFiniteNumber(ae.getContentLength());if(t!=null&&t>w)throw new Cx(`maxContentLength size of `+w+` exceeded`,Cx.ERR_BAD_RESPONSE,e,M)}let oe=p&&(b===`stream`||b===`response`);if(p&&F.body&&(v||D||oe&&ee)){let t={};[`status`,`statusText`,`headers`].forEach(e=>{t[e]=F[e]});let n=R.toFiniteNumber(ae.getContentLength()),[r,i]=v&&eS(n,$x(tS(v),!0))||[],a=0;F=new o(sS(F.body,fS,t=>{if(D&&(a=t,a>w))throw new Cx(`maxContentLength size of `+w+` exceeded`,Cx.ERR_BAD_RESPONSE,e,M);r&&r(t)},()=>{i&&i(),ee&&ee()}),t)}b||=`text`;let se=await m[R.findKey(m,b)||`text`](F,e);if(D&&!p&&!oe){let t;if(se!=null&&(typeof se.byteLength==`number`?t=se.byteLength:typeof se.size==`number`?t=se.size:typeof se==`string`&&(t=typeof r==`function`?new r().encode(se).byteLength:se.length)),typeof t==`number`&&t>w)throw new Cx(`maxContentLength size of `+w+` exceeded`,Cx.ERR_BAD_RESPONSE,e,M)}return!oe&&ee&&ee(),await new Promise((t,n)=>{Xx(t,n,{data:se,headers:bx.from(F.headers),status:F.status,statusText:F.statusText,config:e,request:M})})}catch(t){if(ee&&ee(),j&&j.aborted&&j.reason instanceof Cx){let n=j.reason;throw n.config=e,M&&(n.request=M),t!==n&&Object.defineProperty(n,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),n}if(te)throw M&&!te.request&&(te.request=M),te;if(t instanceof Cx)throw M&&!t.request&&(t.request=M),t;if(t&&t.name===`TypeError`&&/Load failed|fetch/i.test(t.message)){let n=new Cx(`Network Error`,Cx.ERR_NETWORK,e,M,t&&t.response);throw Object.defineProperty(n,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),n}throw Cx.from(t,t&&t.code,e,M,t&&t.response)}}},nse=new Map,gS=e=>{let t=e&&e.env||{},{fetch:n,Request:r,Response:i}=t,a=[r,i,n],o=a.length,s,c,l=nse;for(;o--;)s=a[o],c=l.get(s),c===void 0&&l.set(s,c=o?new Map:tse(t)),l=c;return c};gS();var _S={http:null,xhr:Boe,fetch:{get:gS}};R.forEach(_S,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var vS=e=>`- ${e}`,rse=e=>R.isFunction(e)||e===null||e===!1;function ise(e,t){e=R.isArray(e)?e:[e];let{length:n}=e,r,i,a={};for(let o=0;o<n;o++){r=e[o];let n;if(i=r,!rse(r)&&(i=_S[(n=String(r)).toLowerCase()],i===void 0))throw new Cx(`Unknown adapter '${n}'`);if(i&&(R.isFunction(i)||(i=i.get(t))))break;a[n||`#`+o]=i}if(!i){let e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(t===!1?`is not supported by the environment`:`is not available in the build`));throw new Cx(`There is no suitable adapter to dispatch the request `+(n?e.length>1?`since : 39`+e.map(vS).join(` 40`):` `+vS(e[0]):`as no adapter specified`),Cx.ERR_NOT_SUPPORT)}return i}var yS={getAdapter:ise,adapters:_S};function bS(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Yx(null,e)}function xS(e){let t=R.toSafeFlatObject(e);return bS(t),t.headers=bx.from(R.getSafeProp(t,`headers`)),t.data=qx.call(t,t.transformRequest),[`post`,`put`,`patch`].indexOf(t.method)!==-1&&t.headers.setContentType(`application/x-www-form-urlencoded`,!1),yS.getAdapter(t.adapter||Kx.adapter,t)(t).then(function(e){bS(t),t.response=e;try{e.data=qx.call(t,t.transformResponse,e)}finally{delete t.response}return e.headers=bx.from(e.headers),e},function(e){if(!Jx(e)&&(bS(t),e&&e.response)){t.response=e.response;try{e.response.data=qx.call(t,t.transformResponse,e.response)}finally{delete t.response}e.response.headers=bx.from(e.response.headers)}return Promise.reject(e)})}var SS={};[`object`,`boolean`,`number`,`function`,`string`,`symbol`].forEach((e,t)=>{SS[e]=function(n){return typeof n===e||`a`+(t<1?`n `:` `)+e}});var CS={};SS.transitional=function(e,t,n){function r(e,t){return`[Axios v`+dS+`] Transitional option '`+e+`'`+t+(n?`. `+n:``)}return(n,i,a)=>{if(e===!1)throw new Cx(r(i,` has been removed`+(t?` in `+t:``)),Cx.ERR_DEPRECATED);return t&&!CS[i]&&(CS[i]=!0,console.warn(r(i,` has been deprecated since v`+t+` and will be removed in the near future`))),!e||e(n,i,a)}},SS.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}
40`),!0)};function ase(e,t,n){if(typeof e!=`object`||!e)throw new Cx(`options must be an object`,Cx.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-->0;){let a=r[i],o=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(o){let t=e[a],n=t===void 0||o(t,a,e);if(n!==!0)throw new Cx(`option `+a+` must be `+n,Cx.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Cx(`Unknown option `+a,Cx.ERR_BAD_OPTION)}}var wS={assertOptions:ase,validators:SS},TS=wS.validators,ES=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Ix,response:new Ix}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error)try{let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let n=t.stack,r=``;if(typeof n==`string`){let e=n.indexOf(` 41`);r=e===-1?``:n.slice(e+1)}if(!e.stack)e.stack=r;else if(r){let t=r.indexOf(` 42`),n=t===-1?-1:r.indexOf(` 43`,t+1),i=n===-1?``:r.slice(n+1);String(e.stack).endsWith(i)||(e.stack+=` 44`+r)}}catch{}throw e}}_request(e,t){typeof e==`string`?(t||={},t.url=e):t=e||{},t=aS(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&wS.assertOptions(n,{silentJSONParsing:TS.transitional(TS.boolean),forcedJSONParsing:TS.transitional(TS.boolean),clarifyTimeoutError:TS.transitional(TS.boolean),legacyInterceptorReqResOrdering:TS.transitional(TS.boolean),advertiseZstdAcceptEncoding:TS.transitional(TS.boolean),validateStatusUndefinedResolves:TS.transitional(TS.boolean)},!1),r!=null&&(R.isFunction(r)?t.paramsSerializer={serialize:r}:wS.assertOptions(r,{encode:TS.function,serialize:TS.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),wS.assertOptions(t,{baseUrl:TS.spelling(`baseURL`),withXsrfToken:TS.spelling(`withXSRFToken`)},!0),t.method=(R.getSafeProp(t,`method`)||R.getSafeProp(this.defaults,`method`)||`get`).toLowerCase();let a=i&&R.merge(i.common,i[t.method]);i&&R.forEach(Wx.concat(`common`),e=>{delete i[e]}),t.headers=bx.concat(a,i);let o=[],s=!0;this.interceptors.request.forEach(function(e){if(typeof e.runWhen==`function`&&e.runWhen(t)===!1)return;s&&=e.synchronous;let n=t.transitional||Lx;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0,d;if(!s){let e=[xS.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u<d;)l=l.then(e[u++],e[u++]);return l}d=o.length;let f=t;for(;u<d;){let e=o[u++],t=o[u++];try{f=e?e(f):f}catch(e){if(!t){l=Promise.reject(e);break}try{let n=t.call(this,e);R.isThenable(n)&&(l=Promise.resolve(n).then(()=>xS.call(this,f)))}catch(e){l=Promise.reject(e)}break}}if(!l)try{l=xS.call(this,f)}catch(e){l=Promise.reject(e)}for(u=0,d=c.length;u<d;)l=l.then(c[u++],c[u++]);return l}getUri(e){return e=aS(this.defaults,e),jx(rS(e.baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}};R.forEach([`delete`,`get`,`head`,`options`],function(e){ES.prototype[e]=function(t,n){return this.request(aS(n||{},{method:e,url:t,data:n&&R.hasOwnProp(n,`data`)?n.data:void 0}))}}),R.forEach([`post`,`put`,`patch`,`query`],function(e){function t(t){return function(n,r,i){return this.request(aS(i||{},{method:e,headers:t?{"Content-Type":`multipart/form-data`}:{},url:n,data:r}))}}ES.prototype[e]=t(),e!==`query`&&(ES.prototype[e+`Form`]=t(!0))});var ose=class e{constructor(e){if(typeof e!=`function`)throw TypeError(`executor must be a function.`);let t;this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-->0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new Yx(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};function sse(e){return function(t){return e.apply(null,t)}}function cse(e){return R.isObject(e)&&e.isAxiosError===!0}var DS={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,Re
44setContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,ContentTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,UnprocessableContent:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(DS).forEach(([e,t])=>{DS[t]===void 0&&(DS[t]=e)});function OS(e){let t=new ES(e),n=gb(ES.prototype.request,t);return R.extend(n,ES.prototype,t,{allOwnKeys:!0}),R.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return OS(aS(e,t))},n}var z=OS(Kx);z.Axios=ES,z.CanceledError=Yx,z.CancelToken=ose,z.isCancel=Jx,z.VERSION=dS,z.toFormData=Dx,z.AxiosError=Cx,z.Cancel=z.CanceledError,z.all=function(e){return Promise.all(e)},z.spread=sse,z.isAxiosError=cse,z.mergeConfig=aS,z.AxiosHeaders=bx,z.formToJSON=e=>Ux(R.isHTMLForm(e)?new FormData(e):e),z.getAdapter=yS.getAdapter,z.HttpStatusCode=DS,z.default=z;var lse=Hre(),kS=e=>typeof e==`string`,AS=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},jS=e=>e==null?``:String(e),use=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},dse=/###/g,MS=e=>e&&e.includes(`###`)?e.replace(dse,`.`):e,NS=e=>!e||kS(e),PS=(e,t,n)=>{let r=kS(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(NS(e))return{};let t=MS(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return NS(e)?{}:{obj:e,k:MS(r[i])}},FS=(e,t,n)=>{let{obj:r,k:i}=PS(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=PS(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=PS(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},fse=(e,t,n,r)=>{let{obj:i,k:a}=PS(e,t,Object);i[a]=i[a]||[],i[a].push(n)},IS=(e,t)=>{let{obj:n,k:r}=PS(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},pse=(e,t,n)=>{let r=IS(e,n);return r===void 0?IS(t,n):r},LS=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(Object.prototype.hasOwnProperty.call(e,r)?kS(e[r])||e[r]instanceof String||kS(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):LS(e[r],t[r],n):e[r]=t[r]);return e},RS=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),mse={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`,"/":`/`},hse=e=>kS(e)?e.replace(/[&<>"'\/]/g,e=>mse[e]):e,gse=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},_se=[` `,`,`,`?`,`!`,`;`],vse=new gse(20),yse=(e,t,n)=>{t||=``,n||=``;let r=_se.filter(e=>!t.includes(e)&&!n.includes(e));if(r.length===0)return!0;let i=vse.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},zS=(e,t,n=`.`)=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],t!==void 0){if([`string`,`number`,`boolean`].includes(typeof t)&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},BS=e=>e?.replace(/_/g,`-`),bse={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console?.[e]?.apply?.(console,t)}},VS=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||bse,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,`log`,``,!0)}warn(...e){return this.forward(e,`warn`,``,!0)}error(...e){return this.forward(e,`error`,``)}deprecate(...e){return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}forward(e,t,n,r){return r&&!this.debug?null:(e=e.map(e=>kS(e)?e.replace(/[\r\n\x00-\x1F\x7F]/g,` `):e),kS(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},HS=class{constructor(){this.observers={}}
vendor: 12,283 bytes, line 44
44on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}once(e,t){let n=(...r)=>{t(...r),this.off(e,n)};return this.on(e,n),this}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n(e,...t)})}},US=class extends HS{constructor(e,t={ns:[`translation`],defaultNS:`translation`}){super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.includes(e)||this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){let i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o;e.includes(`.`)?o=e.split(`.`):(o=[e,t],n&&(Array.isArray(n)?o.push(...n):kS(n)&&i?o.push(...n.split(i)):o.push(n)));let s=IS(this.data,o);return!s&&!t&&!n&&e.includes(`.`)&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s||!a||!kS(n)?s:zS(this.data?.[e]?.[t],n,i)}addResource(e,t,n,r,i={silent:!1}){let a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.includes(`.`)&&(o=e.split(`.`),r=t,t=o[1]),this.addNamespaces(t),FS(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(let r in n)(kS(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let o=[e,t];e.includes(`.`)&&(o=e.split(`.`),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=IS(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?LS(s,n,i):s={...s,...n},FS(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}},WS={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}},GS=Symbol(`i18next/PATH_KEY`);function xse(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===GS?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function KS(e,t){let{[GS]:n}=e(xse()),r=t?.keySeparator??`.`,i=t?.nsSeparator??`:`,a=t?.enableSelector===`strict`;if(n.length>1&&i){let e=t?.ns,o=a?Array.isArray(e)?e:e?[e]:null:Array.isArray(e)?e:null;if(o&&(a?o:o.length>1?o.slice(1):[]).includes(n[0]))return`${n[0]}${i}${n.slice(1).join(r)}`}return n.join(r)}var qS=e=>!kS(e)&&typeof e!=`boolean`&&typeof e!=`number`,JS=class e extends HS{constructor(e,t={}){super(),use([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=VS.create(`translator`),this.checkedLoadedFor={}}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(e==null)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=qS(r.res);return!(n.returnObjects===!1&&i)}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.includes(n),o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!yse(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:kS(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.includes(a[0]))&&(i=a.shift()),e=a.join(r)}return{key:e,namespaces:kS(i)?[i]:i}}translate(t,n,r){let i=typeof n==`object`?{...n}:n;if(typeof i!=`object`&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i==`object`&&(i={...i}),i||={},t==null)return``;typeof t==`function`&&(t=KS(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?KS(e,{...this.options,...i}):String(e));let a=i.returnDetails===void 0?this.options.returnDetails:i.returnDetails,o=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,{key:s,namespaces:c}=this.extractFromKey(t[t.length-1],i),l=c[c.length-1],u=i.nsSeparator===void 0?this.options.nsSeparator:i.nsSeparator;u===void 0&&(u=`:`);let d=i.lng||this.language,f=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()===`cimode`)return f?a?{res:`${l}${u}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:`${l}${u}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:s;let p=this.resolve(t,i),m=p?.res,h=p?.usedKey||s,g=p?.exactUsedKey||s,_=[`[object Number]`,`[object Function]`,`[object RegExp]`],v=i.joinArrays===void 0?this.options.joinArrays:i.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=i.count!==void 0&&!kS(i.count),x=e.hasDefaultValue(i),S=b?this.pluralResolver.getSuffix(d,i.count,i):``,C=i.ordinal&&b?this.pluralResolver.getSuffix(d,i.count,{ordinal:!1}):``,w=b&&!i.ordinal&&i.count===0,T=w&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${S}`]||i[`defaultValue${C}`]||i.defaultValue,E=m;y&&!m&&x&&(E=T);let D=qS(E),O=Object.prototype.toString.apply(E);if(y&&E&&D&&!_.includes(O)&&!(kS(v)&&Array.isArray(E))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,E,{...i,ns:c}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(i),p):e}if(o){let e=Array.isArray(E),t=e?[]:{},n=e?g:h;for(let e in E)if(Object.prototype.hasOwnProperty.call(E,e)){let r=`${n}${o}${e}`;t[e]=x&&!m?this.translate(r,{...i,defaultValue:qS(T)?T[e]:void 0,joinArrays:!1,ns:c}):this.translate(r,{...i,joinArrays:!1,ns:c}),t[e]===r&&(t[e]=E[e])}m=t}}else if(y&&kS(v)&&Array.isArray(m))m=m.join(v),m&&=this.extendTranslation(m,t,i,r);else{let e=!1,n=!1;!this.isValidLookup(m)&&x&&(e=!0,m=T),this.isValidLookup(m)||(n=!0,m=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:m,c=x&&T!==m&&this.options.updateMissing;if(n||e||c){if(this.logger.log(c?`updateKey`:`missingKey`,d,l,b&&!c?`${s}${this.pluralResolver.getSuffix(d,i.count,i)}`:s,c?T:m),o){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let n=(e,t,n)=>{let r=x&&n!==m?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,r,c,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,r,c,i),this.emit(`missingKey`,e,l,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);w&&i[`defaultValue${this.options.pluralSeparator}zero`]&&!t.includes(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,i[`defaultValue${t}`]||T)})}):n(e,s,T))}m=this.extendTranslation(m,t,i,p,r),n&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${l}${u}${s}`),(n||e)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${s}`:s,e?m:void 0,i))}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(i),p):m}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let a=kS(e)&&(n?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:n.interpolation.skipOnVariables),o;if(a){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let s=n.replace&&!kS(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),a){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;o<r&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,(...e)=>i?.[0]===e[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):this.translate(...e,t),n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,o=kS(a)?[a]:a;return e!=null&&o?.length&&n.applyPostProcessor!==!1&&(e=WS.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,a,o;return kS(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?KS(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!kS(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&(kS(t.context)||typeof t.context==`number`)&&t.context!==``,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!this.checkedLoadedFor[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(this.checkedLoadedFor[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&e.startsWith(i)&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator||`_`}${t.context}`;o.push(r),u&&(t.ordinal&&e.startsWith(i)&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),d&&o.push(r+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}
44getUsedParamsDetails(e={}){let t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!kS(e.replace),r=n?e.replace:e;if(n&&e.count!==void 0&&(r={...r,count:e.count}),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.startsWith(`defaultValue`)&&e[t]!==void 0)return!0;return!1}},YS=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=VS.create(`languageUtils`),this.resolveHierarchyCache={}}clearCache(){this.resolveHierarchyCache={}}getScriptPartFromCode(e){if(e=BS(e),!e||!e.includes(`-`))return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=BS(e),!e||!e.includes(`-`))return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(kS(e)&&e.includes(`-`)){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.includes(e)}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>e===r?!0:!e.includes(`-`)&&!r.includes(`-`)?!1:!!(e.includes(`-`)&&!r.includes(`-`)&&e.slice(0,e.indexOf(`-`))===r||e.startsWith(r)&&r.length>1))}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),kS(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}toResolveHierarchy(e,t){let n=this.options.fallbackLng,r=Array.isArray(n)?n.join(`|`):n;r!==this._cachedFallbackLng&&(this.resolveHierarchyCache={},this._cachedFallbackLng=r);let i=t===void 0||t===!1||kS(t),a=t===void 0&&typeof this.options.fallbackLng==`function`,o=kS(e)&&i&&!a,s=null;if(o){let n;n=t===void 0?`undefined`:t===!1?`boolean:false`:`string:${t}`,s=`${e.length}:${e}|${n}`}if(s!==null){let e=this.resolveHierarchyCache[s];if(e!==void 0)return e.slice()}let c=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),l=[],u=e=>{e&&(this.isSupportedCode(e)?l.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return kS(e)&&(e.includes(`-`)||e.includes(`_`))?(this.options.load!==`languageOnly`&&u(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&u(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&u(this.getLanguagePartFromCode(e))):kS(e)&&u(this.formatLanguageCode(e)),c.forEach(e=>{l.includes(e)||u(this.formatLanguageCode(e))}),s===null?l:(this.resolveHierarchyCache[s]=l,l.slice())}},XS={zero:0,one:1,two:2,few:3,many:4,other:5},ZS={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},Sse=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=VS.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=BS(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(typeof Intl>`u`)return this.logger.error(`No Intl support, please use an Intl pol
44yfill!`),ZS;if(!e.match(/-|_/))return ZS;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}needsPlural(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?n.resolvedOptions().pluralCategories.sort((e,t)=>XS[e]-XS[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix(`dev`,t,n))}},QS=(e,t,n,r=`.`,i=!0)=>{let a=pse(e,t,n);return!a&&i&&kS(n)&&(a=zS(e,n,r),a===void 0&&(a=zS(t,n,r))),a},$S=e=>e.replace(/\$/g,`$$$$`),eC=class{constructor(e={}){this.logger=VS.create(`interpolator`),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:g,alwaysFormat:_}=e.interpolation;this.escape=t===void 0?hse:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?RS(i):a||`{{`,this.suffix=o?RS(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u?RS(u):`-`,this.unescapeSuffix=this.unescapePrefix?``:l?RS(l):``,this.nestingPrefix=d?RS(d):f||RS(`$t(`),this.nestingSuffix=p?RS(p):m||RS(`)`),this.nestingOptionsSeparator=h||`,`,this.maxReplaces=g||1e3,this.alwaysFormat=_!==void 0&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,a,o,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(!e.includes(this.formatSeparator)){let i=QS(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(QS(t,s,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp(),!this.escapeValue&&typeof e==`string`&&/\$t\([^)]*\{[^}]*\{\{/.test(e)&&this.logger.warn(`nesting options string contains interpolated variables with escapeValue: false â if any of those values are attacker-controlled they can inject additional nesting options (e.g. redirect lng/ns). Sanitise untrusted input before passing it to t(), or keep escapeValue: true.`);let l=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:r.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>e},{regex:this.regexp,safeValue:e=>this.escapeValue?this.escape(e):e}].forEach(t=>{for(o=0;i=t.regex.exec(e);){let n=i[1].trim();if(a=c(n),a===void 0){if(typeof l==`function`){let t=l(e,i,r);a=kS(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,n))a=``;else if(u){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a=``}else!kS(a)&&!this.useRawValueToEscape&&(a=jS(a));let s=t.safeValue(a);if(e=e.replace(i[0],$S(s)),u?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,a,o=(e,t)=>{let n=this.nestingOptionsSeparator;if(!e.includes(n))return e;let r=e.split(RegExp(`${RS(n)}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,a);let o=i.match(/'/g),s=i.match(/"/g);((o?.length??0)%2==0&&!s||(s?.length??0)%2!=0)&&(i=i.replace(/'/g,`"`));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.includes(this.prefix)&&delete a.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];a={...n},a=a.replace&&!kS(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;
vendor: 15,385 bytes, line 44
44let c=/{.*}/s.test(r[1])?r[1].lastIndexOf(`}`)+1:r[1].indexOf(this.formatSeparator);if(c!==-1&&(s=r[1].slice(c).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,c)),i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!kS(i))return i;kS(i)||(i=jS(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),s.length&&(i=s.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),e=e.replace(r[0],$S(jS(i))),this.regexp.lastIndex=0}return e}},Cse=e=>{let t=e.toLowerCase().trim(),n={};if(e.includes(`(`)){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].slice(0,-1);t===`currency`&&!i.includes(`:`)?n.currency||=i.trim():t===`relativetime`&&!i.includes(`:`)?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},tC=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o=r+JSON.stringify(a),s=t[o];return s||(s=e(BS(r),i),t[o]=s),s(n)}},wse=e=>(t,n,r)=>e(BS(n),r)(t),Tse=class{constructor(e={}){this.logger=VS.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?tC:wse;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=tC(t)}format(e,t,n,r={}){if(!t||e==null)return e;let i=t.split(this.formatSeparator),a=[];for(let e=0;e<i.length;e++){let t=i[e];for(;t.indexOf(`(`)>-1&&!t.includes(`)`)&&e+1<i.length;)t=`${t}${this.formatSeparator}${i[++e]}`;a.push(t)}return a.reduce((e,t)=>{let{formatName:i,formatOptions:a}=Cse(t);if(this.formats[i]){let t=e;try{let o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}},Ese=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},Dse=class extends HS{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=VS.create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{fse(n.loaded,[i],a),Ese(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit(`loaded`,o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(o&&s&&r<this.maxRetries){setTimeout(()=>{this.read(e,t,n,r+1,i*2,a)},i);return}a(o,s)},s=this.backend[n].bind(this.backend);if(s.length===2){try{let n=s(e,t);n&&typeof n.then==`function`?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}return}return s(e,t,o)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();kS(e)&&(e=this.languageUtils.toResolveHierarchy(e)),kS(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=``){let n=e.split(`|`),r=n[0],i=n[1];this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);return}if(n!=null&&n!==``){if(this.backend?.create){let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let i;i=c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}},nC=()=>({debug:!1,initAsync:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,enableSelector:!1,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),kS(e[1])&&(t.defaultValue=e[1]),kS(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),rC=e=>(kS(e.ns)&&(e.ns=[e.ns]),kS(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),kS(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&!e.supportedLngs.includes(`cimode`)&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),e),iC=()=>{},Ose=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},aC=class e extends HS{constructor(e={},t){if(super(),this.options=rC(e),this.services={},this.logger=VS,this.modules={external:[]},Ose(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e==`function`&&(t=e,e={}),e.defaultNS==null&&e.ns&&(kS(e.ns)?e.defaultNS=e.ns:e.ns.includes(`translation`)||(e.defaultNS=e.ns[0]));let n=nC();this.options={...n,...this.options,...rC(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!=`function`&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler);let r=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?VS.init(r(this.modules.logger),this.options):VS.init(null,this.options);let e;e=this.modules.formatter?this.modules.formatter:Tse;let t=new YS(this.options);this.store=new US(this.options.resources,this.options);let n=this.services;n.logger=VS,n.resourceStore=this.store,n.languageUtils=t,n.pluralResolver=new Sse(t,{prepend:this.options.pluralSeparator}),e&&(n.formatter=r(e),n.formatter.init&&n.formatter.init(n,this.options),this.options.interpolation.format=n.formatter.format.bind(n.formatter)),n.interpolator=new eC(this.options),n.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},n.backendConnector=new Dse(r(this.modules.backend),n.resourceStore,n,this.options),n.backendConnector.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(n.languageDetector=r(this.modules.languageDetector),n.languageDetector.init&&n.languageDetector.init(n,this.options.detection,this.options)),this.modules.i18nFormat&&(n.i18nFormat=r(this.modules.i18nFormat),n.i18nFormat.init&&n.i18nFormat.init(this)),this.translator=new JS(this.services,this.options),this.translator.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||=iC,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let i=AS(),a=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),i.resolve(n),t(e,n)};if((this.languages||this.isLanguageChangingTo)&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e,t=iC){let n=t,r=kS(e)?e:this.language;if(typeof e==`function`&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return n();let e=[],t=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&(e.includes(t)||e.push(t))})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=AS();return typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),e||=this.languages,t||=this.options.ns,n||=iC,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);return e.type===`backend`&&(this.modules.backend=e),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&(this.modules.languageDetector=e),e.type===`i18nFormat`&&(this.modules.i18nFormat=e),e.type===`postProcessor`&&WS.addPostProcessor(e),e.type===`formatter`&&(this.modules.formatter=e),e.type===`3rdParty`&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&![`cimode`,`dev`].includes(e)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(![`cimode`,`dev`].includes(t)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&!this.languages.includes(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=AS();this.emit(`languageChanging`,e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},a=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let n=kS(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(kS(t)?[t]:t);a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{i(e,a)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e),n}getFixedT(e,t,n,r){let i=r?.scopeNs,a=(e,t,...r)=>{let o;o=typeof t==`object`?{...t}:this.options.overloadTranslationOptionHandler([e,t].concat(r)),o.lng=o.lng||a.lng,o.lngs=o.lngs||a.lngs;let s=o.ns!==void 0&&o.ns!==null;o.ns=o.ns||a.ns,o.keyPrefix!==``&&(o.keyPrefix=o.keyPrefix||n||a.keyPrefix);let c={...this.options,...o};Array.isArray(i)&&!s&&(c.ns=i),typeof o.keyPrefix==`function`&&(o.keyPrefix=KS(o.keyPrefix,c));let l=this.options.keySeparator||`.`,u;return o.keyPrefix&&Array.isArray(e)?u=e.map(e=>(typeof e==`function`&&(e=KS(e,c)),`${o.keyPrefix}${l}${e}`)):(typeof e==`function`&&(e=KS(e,c)),u=o.keyPrefix?`${o.keyPrefix}${l}${e}`:e),this.t(u,o)};return kS(e)?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=n,a}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;
44if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,e)&&(!r||a(i,e)))}loadNamespaces(e,t){let n=AS();return this.options.ns?(kS(e)&&(e=[e]),e.forEach(e=>{this.options.ns.includes(e)||this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=AS();kS(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>!r.includes(e)&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language),!e)return`rtl`;try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch{}let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services?.languageUtils||new YS(nC());return e.toLowerCase().indexOf(`-latn`)>1?`ltr`:t.includes(n.getLanguagePartFromCode(e))||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(t={},n){let r=new e(t,n);return r.createInstance=e.createInstance,r}cloneInstance(t={},n=iC){let r=t.forkResourceStore;r&&delete t.forkResourceStore;let i={...this.options,...t,isClone:!0},a=new e(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),[`store`,`services`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new US(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{}),i),a.services.resourceStore=a.store),t.interpolation){let e={...nC().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new eC(n)}return a.translator=new JS(a.services,i),a.translator.on(`*`,(e,...t)=>{a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}.createInstance();aC.createInstance,aC.dir,aC.init,aC.loadResources,aC.reloadResources,aC.use,aC.changeLanguage,aC.getFixedT,aC.t,aC.exists,aC.setDefaultNamespace,aC.hasLoadedNamespace,aC.loadNamespaces,aC.loadLanguages;var kse={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,"!doctype":!0,"!DOCTYPE":!0},Ase=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?("[^"]*"|'[^']*')/g;function oC(e){let t={type:`tag`,name:``,voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(kse[n[1]]||e.charAt(e.length-2)===`/`)&&(t.voidElement=!0),t.name.startsWith(`!--`))){let t=e.indexOf(`-->`);return{type:`comment`,comment:t===-1?``:e.slice(4,t)}}let r=new RegExp(Ase),i=null;for(;i=r.exec(e),i!==null;)if(i[0].trim()){if(i[1]){let e=i[1].trim(),n=[e,null],a=e.indexOf(`=`);a>-1&&(n=[e.slice(0,a),e.slice(a+1)]),t.attrs[n[0]]=n[1],r.lastIndex--}else i[2]&&(t.attrs[i[2]]=i[3].trim().substring(1,i[3].length-1))}return t}var sC=/<!--[\s\S]*?-->|<[a-zA-Z0-9\-!/](?:"[^"]*"|'[^']*'|[^'">])*>/g,jse=/<\/?([^\s]+?)[/\s>]/,Mse=/^\s*$/,Nse=/^(script|style)$/i,cC=`\0`,Pse=Object.create(null);function lC(e){e.forEach(function(e){if(e.type===`text`){e.content=e.content.split(cC).join(`<`);return}if(e.type===`comment`){e.comment=e.comment.split(cC).join(`<`);return}for(let t in e.attrs){let n=e.attrs[t];typeof n==`string`&&n.indexOf(cC)>-1&&(e.attrs[t]=n.split(cC).join(`<`))}e.children.length&&lC(e.children)})}function Fse(e,t){let n=t&&t.components||Pse,r=t&&t.allowedTags,i=!1;if(r){let t=typeof r==`function`?r:function(e){return r.indexOf(e)>-1},n=``,a=0;sC.lastIndex=0;let o;for(;o=sC.exec(e);){let r=o[0];n+=e.slice(a,o.index);let s=r.match(jse);r.startsWith(`<!--`)||s&&t(s[1])?(n+=r,a=o.index+r.length):(i=!0,n+=cC,a=o.index+1,sC.lastIndex=a)}e=n+e.slice(a)}let a=[],o=[],s,c=-1,l=!1,u=0,d;if(e.indexOf(`<`)!==0){let t=e.indexOf(`<`);a.push({type:`text`,content:t===-1?e:e.substring(0,t)})}let f=[],p;for(;p=sC.exec(e);)f.push(p);return f.forEach(function(e,t){let n=e[0];if(!n||n.startsWith(`<!--`))return;let r=0,i=0,a=-1,o=null;for(let e=0;e<n.length;e++){let t=n.charAt(e);o?t===o&&(o=null):t===`"`||t===`'`?o=t:t===`<`?(r++,r===2&&(a=e)):t===`>`&&i++}let s=a>-1&&/[a-zA-Z0-9\-!/]/.test(n.charAt(a+1));if(r>i&&s){let e=n.substring(0,a),r=n.substring(e.length);f[t][0]=r,f[t].index+=e.length}}),f.forEach(function(t,r){let i=t[0];if(!i)return;let p=t.index;if(p<u)return;if(l){if(i!==`</`+s.name+`>`)return;l=!1}let m=i.charAt(1)!==`/`,h=i.startsWith(`<!--`),g=p+i.length,_=e.charAt(g),v=f[r+1],y;if(_===`<`&&v){let t=e.substring(g,v.index);y=t.split(`<`).length>t.split(`>`).length}let b;
44if(h){let t=oC(i);if(c<0)return a.push(t),a;b=o[c],b.children.push(t);let n=e.slice(g,v?v.index:void 0);return n.length>0&&b.children.push({type:`text`,content:n}),a}if(m){c++,s=oC(i),s.type===`tag`&&n[s.name]&&(s.type=`component`,l=!0);let t=!1;if(!l&&!s.voidElement&&Nse.test(s.name)){t=!0,d||=e.toLowerCase();let n=d.indexOf(`</`+s.name.toLowerCase()+`>`,g),r=n===-1?e.length:n,i=e.slice(g,r);i&&s.children.push({type:`text`,content:i}),u=r}!s.voidElement&&!l&&!t&&_&&_!==`<`&&s.children.push({type:`text`,content:e.slice(g,v?v.index:void 0)}),c===0&&a.push(s),b=o[c-1],b&&b.children.push(s),o[c]=s}if((!m||s.voidElement)&&(c>-1&&(s.voidElement||s.name===i.slice(2,-1))&&(c--,s=c===-1?a:o[c]),!l&&(_!==`<`||y)&&_)){b=c===-1?a:o[c].children;let t=v?v.index:-1,n=e.slice(g,t===-1?void 0:t);Mse.test(n)&&(n=` `),(t>-1&&c+b.length>=0||n!==` `)&&b.push({type:`text`,content:n})}}),i&&lC(a),a}function Ise(e){let t=[];for(let n in e)e[n]===null?t.push(n):t.push(n+`="`+String(e[n]).replace(/"/g,`"`)+`"`);return t.length?` `+t.join(` `):``}function uC(e,t){switch(t.type){case`text`:return e+t.content;case`tag`:{let n=t.voidElement&&t.name.toLowerCase()!==`!doctype`?`/>`:`>`;return e+=`<`+t.name+(t.attrs?Ise(t.attrs):``)+n,t.voidElement?e:e+t.children.reduce(uC,``)+`</`+t.name+`>`}case`comment`:return e+=`<!--`+t.comment+`-->`,e}}function Lse(e){return e.reduce(function(e,t){return e+uC(``,t)},``)}var Rse={parse:Fse,stringify:Lse},dC=(e,t,n,r)=>{let i=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,`warn`,`react-i18next::`,!0);_C(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)},fC={},pC=(e,t,n,r)=>{_C(n)&&fC[n]||(_C(n)&&(fC[n]=new Date),dC(e,t,n,r))},mC=(e,t)=>()=>{if(e.isInitialized)t();else{let n=()=>{setTimeout(()=>{e.off(`initialized`,n)},0),t()};e.on(`initialized`,n)}},hC=(e,t,n)=>{e.loadNamespaces(t,mC(e,n))},gC=(e,t,n,r)=>{if(_C(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return hC(e,n,r);n.forEach(t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)}),e.loadLanguages(t,mC(e,r))},zse=(e,t,n={})=>!t.languages||!t.languages.length?(pC(t,`NO_LANGUAGES`,`i18n.languages were undefined or empty`,{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf(`languageChanging`)>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}),_C=e=>typeof e==`string`,vC=e=>typeof e==`object`&&!!e,Bse=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Vse={"&":`&`,"&":`&`,"<":`<`,"<":`<`,">":`>`,">":`>`,"'":`'`,"'":`'`,""":`"`,""":`"`," ":` `," ":` `,"©":`©`,"©":`©`,"®":`®`,"®":`®`,"…":`â¦`,"…":`â¦`,"/":`/`,"/":`/`},Hse=e=>Vse[e],yC=e=>e.replace(Bse,Hse),bC={bindI18n:`languageChanged`,bindI18nStore:``,transEmptyNodeValue:``,transSupportBasicHtmlNodes:!0,transWrapTextNodes:``,transKeepBasicHtmlNodesFor:[`br`,`strong`,`i`,`p`],useSuspense:!0,unescape:yC,transDefaultProps:void 0},Use=(e={})=>{bC={...bC,...e}},xC=()=>bC,SC,Wse=e=>{SC=e},CC=()=>SC,wC=(e,t)=>{if(!e)return!1;let n=e.props?.children??e.children;return t?n.length>0:!!n},TC=e=>{if(!e)return[];let t=e.props?.children??e.children;return e.props?.i18nIsDynamicList?EC(t):t},Gse=e=>Array.isArray(e)&&e.every(I.isValidElement),EC=e=>Array.isArray(e)?e:[e],Kse=(e,t)=>{let n={...t};return n.props={...t.props,...e.props},n},qse=e=>{let t={};if(!e)return t;let n=e=>{EC(e).forEach(e=>{_C(e)||(wC(e)?n(TC(e)):vC(e)&&!(0,I.isValidElement)(e)&&Object.assign(t,e))})};return n(e),t},DC=(e,t,n,r)=>{if(!e)return``;let i=``,a=EC(e),o=t?.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return a.forEach((e,a)=>{if(_C(e)){i+=`${e}`;return}if((0,I.isValidElement)(e)){let{props:s,type:c}=e,l=Object.keys(s).length,u=o.indexOf(c)>-1,d=s.children;if(!d&&u&&!l){i+=`<${c}/>`;return}if(!d&&(!u||l)||s.i18nIsDynamicList){i+=`<${a}></${a}>`;return}if(u&&l<=1){let e=_C(d)?d:DC(d,t,n,r);i+=`<${c}>${e}</${c}>`;return}let f=DC(d,t,n,r);i+=`<${a}>${f}</${a}>`;return}if(e===null){dC(n,`TRANS_NULL_VALUE`,`Passed in a null value as child`,{i18nKey:r});return}if(vC(e)){let{format:t,...a}=e,o=Object.keys(a);if(o.length===1){let e=t?`${o[0]}, ${t}`:o[0];i+=`{{${e}}}`;return}dC(n,`TRANS_INVALID_OBJ`,`Invalid child - Object should only have keys {{ value, format }} (format is optional).`,{i18nKey:r,child:e});return}dC(n,`TRANS_INVALID_VAR`,`Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.`,{i18nKey:r,child:e})}),i},Jse=(e,t,n,r,i,a,o)=>
44{if(n===``)return[];let s=i.transKeepBasicHtmlNodesFor||[],c=n&&new RegExp(s.map(e=>`<${e}`).join(`|`)).test(n);if(!e&&!t&&!c&&!o)return[n];let l=t??{},u=e=>{EC(e).forEach(e=>{_C(e)||(wC(e)?u(TC(e)):vC(e)&&!(0,I.isValidElement)(e)&&Object.assign(l,e))})};u(e);let d=Object.keys(l),f=Rse.parse(`<0>${n}</0>`,{allowedTags:e=>/^\d+$/.test(e)||s.indexOf(e)>-1||d.indexOf(e)>-1}),p={...l,...a},m=(e,t,n)=>{let r=TC(e),i=g(r,t.children,n);return Gse(r)&&i.length===0||e.props?.i18nIsDynamicList?r:i},h=(e,t,n,r,i)=>{e.dummy?(e.children=t,n.push((0,I.cloneElement)(e,{key:r},i?void 0:t))):n.push(...I.Children.map([e],e=>{if(e.type===I.Fragment||e.props?.i18nIsDynamicList!==void 0){let n={key:r};return e&&e.props&&Object.keys(e.props).forEach(t=>{t!==`children`&&t!==`i18nIsDynamicList`&&(n[t]=e.props[t])}),(0,I.createElement)(e.type,n,i?null:t)}let n={key:r};return e&&e.props&&Object.keys(e.props).forEach(t=>{t!==`ref`&&t!==`children`&&(n[t]=e.props[t])}),(0,I.cloneElement)(e,n,i?null:t)}))},g=(e,n,a)=>{let l=EC(e),u=EC(n),d={};return u.reduce((e,n,u)=>{let f=n.children?.[0]?.content&&r.services.interpolator.interpolate(n.children[0].content,p,r.language);if(n.type===`tag`){let _=l[parseInt(n.name,10)];!_&&t&&(_=t[n.name]),a.length===1&&!_&&(_=a[0][n.name]),_||={};let v={...n.attrs};o&&Object.keys(v).forEach(e=>{let t=v[e];_C(t)&&(v[e]=yC(t))});let y=Object.keys(v).length===0?_:Kse({props:v},_),b=(0,I.isValidElement)(y),x=b&&wC(n,!0)&&!n.voidElement,S=c&&vC(y)&&y.dummy&&!b,C=vC(t)&&Object.hasOwnProperty.call(t,n.name);if(_C(y)){let t=r.services.interpolator.interpolate(y,p,r.language);e.push(t)}else if(wC(y)||x){let t=m(y,n,a);h(y,t,e,u)}else if(S){let t=g(l,n.children,a);h(y,t,e,u)}
44else if(Number.isNaN(parseFloat(n.name))){if(C){let t=m(y,n,a);h(y,t,e,u,n.voidElement)}else if(i.transSupportBasicHtmlNodes&&s.indexOf(n.name)>-1){if(n.voidElement)e.push((0,I.createElement)(n.name,{key:`${n.name}-${u}`}));else{let t=d[n.name]||0;d[n.name]=t+1;let r,i=0;for(let e=0;e<l.length;e+=1){let a=l[e];if((0,I.isValidElement)(a)&&a.type===n.name){if(i===t){r=a;break}i+=1}}let o=r?EC(TC(r)):l,s=g(o,n.children,a);e.push((0,I.createElement)(n.name,{key:`${n.name}-${u}`},s))}}else if(n.voidElement)e.push(`<${n.name} />`);else{let t=g(l,n.children,a);e.push(`<${n.name}>${t}</${n.name}>`)}}else if(vC(y)&&!b){let t=n.children[0]?f:null;t&&e.push(t)}else h(y,f,e,u,n.children.length!==1||!f)}else if(n.type===`text`){let t=i.transWrapTextNodes,a=typeof i.unescape==`function`?i.unescape:xC().unescape,s=o?a(r.services.interpolator.interpolate(n.content,p,r.language)):r.services.interpolator.interpolate(n.content,p,r.language);t?e.push((0,I.createElement)(t,{key:`${n.name}-${u}`},s)):e.push(s)}return e},[])};return TC(g([{dummy:!0,children:e||[]}],f,EC(e||[]))[0])},OC=(e,t,n)=>{let r=e.key||t,i=(0,I.cloneElement)(e,{key:r});if(!i.props||!i.props.children||n.indexOf(`${t}/>`)<0&&n.indexOf(`${t} />`)<0)return i;function a(){return(0,I.createElement)(I.Fragment,null,i)}return(0,I.createElement)(a,{key:r})},Yse=(e,t)=>e.map((e,n)=>OC(e,n,t)),Xse=(e,t)=>{let n={};return Object.keys(e).forEach(r=>{Object.assign(n,{[r]:OC(e[r],r,t)})}),n},Zse=(e,t,n,r)=>e?Array.isArray(e)?Yse(e,t):vC(e)?Xse(e,t):(pC(n,`TRANS_INVALID_COMPONENTS`,`<Trans /> "components" prop expects an object or array`,{i18nKey:r}),null):null,Qse=e=>!vC(e)||Array.isArray(e)?!1:Object.keys(e).reduce((e,t)=>e&&Number.isNaN(Number.parseFloat(t)),!0);function $se({children:e,count:t,parent:n,i18nKey:r,context:i,tOptions:a={},values:o,defaults:s,components:c,ns:l,i18n:u,t:d,shouldUnescape:f,...p}){let m=u||CC();if(!m)return pC(m,`NO_I18NEXT_INSTANCE`,`Trans: You need to pass in an i18next instance using initReactI18next or by passing it via props or context. In monorepo setups, make sure there is only one instance of react-i18next.`,{i18nKey:r}),e;let h=d||m.t.bind(m)||(e=>e),g={...xC(),...m.options?.react},_=l||h.ns||m.options?.defaultNS;_=_C(_)?[_]:_||[`translation`];let{transDefaultProps:v}=g,y=v?.tOptions?{...v.tOptions,...a}:a,b=f??v?.shouldUnescape,x=v?.values?{...v.values,...o}:o,S=v?.components?{...v.components,...c}:c,C=DC(e,g,m,r),w=s||y?.defaultValue||C||g.transEmptyNodeValue||(typeof r==`function`?KS(r):r),{hashTransKey:T}=g,E=r||(T?T(C||w):C||w);o=m.options?.interpolation?.defaultVariables?x&&Object.keys(x).length>0?{...x,...m.options.interpolation.defaultVariables}:{...m.options.interpolation.defaultVariables}:x;let D=qse(e);D&&typeof D.count==`number`&&t===void 0&&(t=D.count);let O=o||t!==void 0&&!m.options?.interpolation?.alwaysFormat||!e?y.interpolation:{interpolation:{...y.interpolation,prefix:`#$?`,suffix:`?$#`}},k={...y,context:i||y.context,count:t,...o,...O,defaultValue:w,ns:_},A=E?h(E,k):w;A===E&&w&&(A=w);let j=Zse(S,A,m,r),M=j||e,ee=null;Qse(j)&&(ee=j,M=e);let N=Jse(M,ee,A,m,g,k,b),te=n??g.defaultTransParent;return te?(0,I.createElement)(te,p,N):N}var ece={type:`3rdParty`,init(e){Use(e.options.react),Wse(e)}},kC=(0,I.createContext)(),tce=class{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}};function AC({children:e,count:t,parent:n,i18nKey:r,context:i,tOptions:a={},values:o,defaults:s,components:c,ns:l,i18n:u,t:d,shouldUnescape:f,...p}){let{i18n:m,defaultNS:h}=(0,I.useContext)(kC)||{},g=u||m||CC(),_=d||g?.t.bind(g);return $se({children:e,count:t,parent:n,i18nKey:r,context:i,tOptions:a,values:o,defaults:s,components:c,ns:l||_?.ns||h||g?.options?.defaultNS,i18n:g,t:d,shouldUnescape:f,...p})}var nce=s((e=>{var t=G_();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),rce=s(((e,t)=>{t.exports=nce()}))(),ice={t:(e,t)=>{if(_C(t))return t;if(vC(t)&&_C(t.defaultValue))return t.defaultValue;if(typeof e==`function`)return``;if(Array.isArray(e)){let t=e[e.length-1];return typeof t==`function`?``:t}return e},ready:!1},ace=()=>()=>{},B=(e,t={})=>{let{i18n:n}=t,{i18n:r,defaultNS:i}=(0,I.useContext)(kC)||{},a=n||r||CC();a&&!a.reportNamespaces&&(a.reportNamespaces=new tce),a||pC(a,`NO_I18NEXT_INSTANCE`,`useTranslation: You will need to pass in an i18next instance by using initReactI18next or by passing it via props or context. In monorepo setups, make sure there is only one instance of react-i18next.`);let o=(0,I.useMemo)(()=>({...xC(),...a?.options?.react,...t}),[a,t]),{useSuspense:s,keyPrefix:c}=o,l=e||i||a?.options?.defaultNS,u=_C(l)?[l]:l||[`translation`],d=(0,I.useMemo)(()=>u,u);
44a?.reportNamespaces?.addUsedNamespaces?.(d);let f=(0,I.useRef)(0),p=(0,I.useCallback)(e=>{if(!a)return ace;let{bindI18n:t,bindI18nStore:n}=o,r=()=>{f.current+=1,e()};return t&&a.on(t,r),n&&a.store.on(n,r),()=>{t&&t.split(` `).forEach(e=>a.off(e,r)),n&&n.split(` `).forEach(e=>a.store.off(e,r))}},[a,o]),m=(0,I.useRef)(),h=(0,I.useCallback)(()=>{if(!a)return ice;let e=!!(a.isInitialized||a.initializedStoreOnce)&&d.every(e=>zse(e,a,o)),n=t.lng||a.language,r=f.current,i=m.current;if(i&&i.ready===e&&i.lng===n&&i.keyPrefix===c&&i.revision===r)return i;let s={t:a.getFixedT(n,o.nsMode===`fallback`?d:d[0],c,{scopeNs:d}),ready:e,lng:n,keyPrefix:c,revision:r};return m.current=s,s},[a,d,c,o,t.lng]),[g,_]=(0,I.useState)(0),{t:v,ready:y}=(0,rce.useSyncExternalStore)(p,h,h);(0,I.useEffect)(()=>{if(a&&!y&&!s){let e=()=>_(e=>e+1);t.lng?gC(a,t.lng,d,e):hC(a,d,e)}},[a,t.lng,d,y,s,g]);let b=a||{},x=(0,I.useRef)(null),S=(0,I.useRef)(),C=e=>`${e.language}|${e.resolvedLanguage}|${e.languages?.join(`,`)}`,w=e=>{let t=Object.getOwnPropertyDescriptors(e);t.__original&&delete t.__original;let n=Object.create(Object.getPrototypeOf(e),t);if(!Object.prototype.hasOwnProperty.call(n,`__original`))try{Object.defineProperty(n,"__original",{value:e,writable:!1,enumerable:!1,configurable:!1})}catch{}return n},T=(0,I.useMemo)(()=>{let e=b,t=e&&C(e),n=e;e&&(x.current&&x.current.__original===e&&S.current===t?n=x.current:(n=w(e),x.current=n,S.current=t));let r=!y&&!s?(...e)=>(pC(a,`USE_T_BEFORE_READY`,`useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t.`),v(...e)):v,i=[r,n,y];return i.t=r,i.i18n=n,i.ready=y,i},[v,b,y,b.resolvedLanguage,b.language,b.languages]);if(a&&s&&!y){let e=!1;try{e=!1}catch{}throw e&&pC(a,`SUSPENDED_WHILE_LOADING`,`useTranslation: suspended while translations are loading (useSuspense is true by default). Add a <Suspense> boundary above this component, or set react.useSuspense: false in the i18next init options. https://react.i18next.com/latest/usetranslation-hook`),new Promise(e=>{let n=()=>e();t.lng?gC(a,t.lng,d,n):hC(a,d,n)})}return T};function jC({i18n:e,defaultNS:t,children:n}){let r=(0,I.useMemo)(()=>({i18n:e,defaultNS:t}),[e,t]);return(0,I.createElement)(kC.Provider,{value:r},n)}var oce=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),sce=s(((e,t)=>{t.exports=oce()})),MC;(function(e){e.UNKNOWN=`UNKNOWN`,e.LOGGING_IN=`LOGGING_IN`,e.LOGGED_IN=`LOGGED_IN`,e.LOGIN_FAILED=`LOGIN_FAILED`,e.REFRESHING=`REFRESHING`,e.REFRESH_FAILED=`REFRESH_FAILED`,e.LOGGING_OUT=`LOGGING_OUT`,e.LOGGED_OUT=`LOGGED_OUT`,e.RESETTING_PASSWORD=`RESETTING_PASSWORD`,e.RESET_PASSWORD_FAILED=`RESET_PASSWORD_FAILED`,e.REQUESTING_PASSWORD_RESET=`REQUESTING_PASSWORD_RESET`,e.REQUEST_PASSWORD_RESET_FAILED=`REQUEST_PASSWORD_RESET_FAILED`,e.REQUEST_PASSWORD_RESET_SUCCEEDED=`REQUEST_PASSWORD_RESET_SUCCEEDED`,e.INITIALIZING=`INITIALIZING`})(MC||={});var V=sce(),cce=(0,I.createContext)(void 0),lce=()=>{let e=(0,I.useContext)(cce);if(e===void 0)throw Error(`useAuth needs to be wrapped inside a AuthProvider.`);return e},NC=(0,I.createContext)(void 0),uce=({children:e})=>{let[t,n]=(0,I.useState)([]),r=(0,I.useRef)(0),i=(0,I.useCallback)(e=>{let t={id:++r.current,toast:e,close:()=>{n(e=>e.filter(e=>e!==t))}};n(e=>[...e,t])},[]);return(0,V.jsx)(NC.Provider,{value:{toasts:t,showToast:i},children:e})},PC=()=>{let e=(0,I.useContext)(NC);if(e===void 0)throw Error(`Context undefined. Did you forget to wrap your components in the ToastProvider?`);return e},FC=e=>({params:{...e.searchParams,...e.pageParams,sort:e.sortParams}}),IC=e=>{let t=t=>[...e,`${t}`];return{destroy:e=>z.delete(hb(t(e))),showKey:t}},dce=e=>({index:t=>z.get(hb(e),FC(t)),indexKey:e,listKey:[...e,`list`]}),LC=e=>{let t=[...e,`options`];return{options:(e,n,r)=>z.get(hb(t),{params:{...r,search:e,page:n}}),optionsKey:t}},RC=e=>{let t=t=>[...e,`${t}`];return{show:e=>z.get(hb(t(e))),showKey:t}},fce=e=>({store:t=>z.post(hb(e),t)}),pce=e=>{let t=t=>[...e,`${t}`];
44return{update:(e,n)=>z.put(hb(t(e)),n),showKey:t}},zC=e=>{let t=t=>[...e,`${t}`,`usages`];return{usages:e=>z.get(hb(t(e))),usagesKey:t}},BC=I.createContext(void 0),VC=e=>{let t=I.useContext(BC);if(e)return e;if(!t)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return t},mce=({client:e,children:t})=>(I.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,V.jsx)(BC.Provider,{value:e,children:t})),hce={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},HC=new class{#e=hce;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function gce(e){setTimeout(e,0)}var _ce=typeof window>`u`||`Deno`in globalThis;function UC(){}function vce(e,t){return typeof e==`function`?e(t):e}function WC(e){return typeof e==`number`&&e>=0&&e!==1/0}function GC(e,t){return Math.max(e+(t||0)-Date.now(),0)}function KC(e,t){return typeof e==`function`?e(t):e}function qC(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==YC(o,t.options))return!1}else if(!ZC(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function JC(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(XC(t.options.mutationKey)!==XC(a))return!1}else if(!ZC(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function YC(e,t){return(t?.queryKeyHashFn||XC)(e)}function XC(e){return JSON.stringify(e,(e,t)=>tw(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function ZC(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(e&&t&&typeof e==`object`&&typeof t==`object`){if(Array.isArray(e)&&Array.isArray(t)){for(let n=0;n<t.length;n++)if(!ZC(e[n],t[n]))return!1;return!0}let n=Object.keys(t);for(let r of n)if(!ZC(e[r],t[r]))return!1;return!0}return!1}var yce=Object.prototype.hasOwnProperty;function QC(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=ew(e)&&ew(t);if(!r&&!(tw(e)&&tw(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:yce.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=QC(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function $C(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function ew(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function tw(e){if(!nw(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!nw(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function nw(e){return Object.prototype.toString.call(e)===`[object Object]`}function bce(e){return new Promise(t=>{HC.setTimeout(t,e)})}function rw(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:QC(e,t)}function xce(e){return e}function Sce(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function Cce(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var iw=Symbol();function aw(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===iw?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function ow(e,t){return typeof e==`function`?e(...t):!!e}function wce(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var Tce=()=>_ce,sw=()=>Tce(),cw=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(){}},lw=new class extends cw{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();
44this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},Ece=gce;function Dce(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=Ece,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var uw=Dce(),dw=new class extends cw{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function Oce(e){return Math.min(1e3*2**e,3e4)}function fw(e){return(e??`online`)!==`online`||dw.isOnline()}var pw=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function mw(e){let t=!1,n=0,r,i=`pending`,a,o,s=new Promise((e,t)=>{a=e,o=t});s.catch(UC);let c=()=>i!==`pending`,l=t=>{if(!c()){let n=new pw(t);h(n),e.onCancel?.(n)}},u=()=>{t=!0},d=()=>{t=!1},f=()=>lw.isFocused()&&(e.networkMode===`always`||dw.isOnline())&&e.canRun(),p=()=>fw(e.networkMode)&&e.canRun(),m=e=>{c()||(r?.(),i=`resolved`,a(e))},h=e=>{c()||(r?.(),i=`rejected`,o(e))},g=()=>new Promise(t=>{r=e=>{(c()||f())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,c()||e.onContinue?.()}),_=()=>{if(c())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(m).catch(r=>{if(c())return;let i=e.retry??(sw()?0:3),a=e.retryDelay??Oce,o=typeof a==`function`?a(n,r):a,s=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!s){h(r);return}n++,e.onFail?.(n,r),bce(o).then(()=>f()?void 0:g()).then(()=>{t?h(r):_()})})};return{promise:s,status:()=>i,cancel:l,continue:()=>(r?.(),s),cancelRetry:u,continueRetry:d,canStart:p,start:()=>(p()?_():g().then(_),s)}}var hw=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),WC(this.gcTime)&&(this.#e=HC.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(sw()?1/0:3e5))}clearGcTimeout(){this.#e!==void 0&&(HC.clearTimeout(this.#e),this.#e=void 0)}};function kce(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{wce(e,()=>t.signal,()=>n=!0)},u=aw(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})(),o=await u(a),{maxPages:s}=t.options,c=i?Cce:Sce;return{pages:c(e.pages,o,s),pageParams:c(e.pageParams,r,s)}};if(i&&a.length){let e=i===`backward`,t=e?_w:gw,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:gw(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.fetchFn=t.options.persister?()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):l}}}function gw(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function _w(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function Ace(e,t){return t?gw(e,t)!=null:!1}function jce(e,t){return!t||!e.getPreviousPageParam?!1:_w(e,t)!=null}var Mce=class extends hw{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#r=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=bw(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=bw(this.options);e.data!==void 0&&(this.setState(yw(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=rw(this.state.data,e,this.options);return this.#c({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#c({type:`setState`,state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(UC).catch(UC):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>KC(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===iw||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
44Count>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>KC(e.options.staleTime,this)===`static`)}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!GC(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){let t=this.observers.indexOf(e);t!==-1&&(this.observers.splice(t,1),this.observers.length||(this.#a&&(this.#s||this.state.fetchStatus===`paused`&&this.state.status===`pending`?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#c({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#a?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},i=()=>{let e=aw(this.options,t),n=(()=>{let e={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#s=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(e),e})();(this.#e===`infinite`?kce(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#c({type:`fetch`,meta:a.fetchOptions?.meta});let o=this.#a=mw({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof pw&&e.revert&&this.setState({...this.#n,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#c({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#c({type:`pause`})},onContinue:()=>{this.#c({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await o.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof pw){if(e.silent)return this.#a.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#c({type:`error`,error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.#a===o&&(this.#a=void 0),this.scheduleGc()}}#c(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,...vw(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...yw(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),uw.batch(()=>{this.observers.slice().forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function vw(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:fw(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function yw(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function bw(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdate
44Count:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var xw=class extends cw{#e;#t=void 0;#n=void 0;#r=void 0;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p=new Set;constructor(e,t){super(),this.options=t,this.#e=e,this.#o=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Sw(this.#t,this.options)?this.#m():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Cw(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Cw(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#x(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof KC(this.options.enabled,this.#t)!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);this.#S(),this.#t.setOptions(this.options),t._defaulted&&!$C(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&ww(this.#t,n,this.options,t)&&this.#m(),this.updateResult(),r&&(this.#t!==n||KC(this.options.enabled,this.#t)!==KC(t.enabled,this.#t)||KC(this.options.staleTime,this.#t)!==KC(t.staleTime,this.#t))&&this.#g();let i=this.#_();r&&(this.#t!==n||KC(this.options.enabled,this.#t)!==KC(t.enabled,this.#t)||i!==this.#f)&&this.#v(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return $C(this.getCurrentResult(),n)||(this.#r=n,this.#a=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),Reflect.get(e,n))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t),r=()=>{},i,a=new Promise(e=>{i=e,r=this.#e.getQueryCache().subscribe(i=>{i.type===`updated`&&i.query.queryHash===n.queryHash&&n.state.data!==void 0&&(r(),e(this.createResult(n,t)))})});return Promise.race([n.fetch().then(()=>{let e=this.createResult(n,t);return i?.(e),e}).finally(()=>{r()}),a])}fetch(e){return this.#m({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#m(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(UC)),t}#h(e){return!sw()&&KC(this.options.enabled,this.#t)!==!1&&WC(e)}#g(){this.#b();let e=KC(this.options.staleTime,this.#t);if(this.#r.isStale||!this.#h(e))return;let t=GC(this.#r.dataUpdatedAt,e)+1;this.#u=HC.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#_(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#f=e,this.#f!==0&&this.#h(this.#f)&&(this.#d=HC.setInterval(()=>{(this.options.refetchIntervalInBackground||lw.isFocused())&&this.#m()},this.#f))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#u!==void 0&&(HC.clearTimeout(this.#u),this.#u=void 0)}#x(){this.#d!==void 0&&(HC.clearInterval(this.#d),this.#d=void 0)}createResult(e,t){let n=this.#t,r=this.options,i=this.#r,a=this.#i,o=this.#a,s=e===n?this.#n:e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&Sw(e,t),o=i&&ww(e,n,t,r);(a||o)&&(l={...l,...vw(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:f,errorUpdatedAt:p,status:m}=l;d=l.data;let h=!1;if(t.placeholderData!==void 0&&d===void 0&&m===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,h=!0):e=typeof t.placeholderData==`function`?t.placeholderData(this.#l?.state.data,this.#l):t.placeholderData,e!==void 0&&(m=`success`,d=rw(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!h){if(i&&d===a?.data&&t.select===this.#s)d=this.#c;else try{this.#s=t.select,d=t.select(d),d=rw(i?.data,d,t),this.#c=d,this.#o=null}catch(e){this.#o=e}}else d===void 0&&(this.#o=null);this.#o&&(f=this.#o,d=this.#c,p=Date.now(),m=`error`,u=!1);let g=l.fetchStatus===`fetching`,_=m===`pending`,v=m===`error`,y=_&&g,b=d!==void 0;return{status:m,fetchStatus:l.fetchStatus,isPending:_,isSuccess:m===`success`,isError:v,isInitialLoading:y,isLoading:y,data:d,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdate
44Count:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!_,isLoadingError:v&&!b,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:v&&b,isStale:Tw(e,t),refetch:this.refetch,isEnabled:KC(t.enabled,e)!==!1}}updateResult(){let e=this.#r,t=this.createResult(this.#t,this.options);if(this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#l=this.#t),$C(t,e))return;this.#r=t;let n=(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!this.#p.size)return!0;let r=new Set(n??this.#p);return this.options.throwOnError&&r.add(`error`),Object.keys(this.#r).some(t=>{let n=t;return this.#r[n]!==e[n]&&r.has(n)})})();uw.batch(()=>{n&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}#S(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}};function Nce(e,t){return KC(t.enabled,e)!==!1&&e.state.data===void 0&&(e.state.status!==`error`||KC(t.retryOnMount,e)!==!1)}function Sw(e,t){return Nce(e,t)||e.state.data!==void 0&&Cw(e,t,t.refetchOnMount)}function Cw(e,t,n){if(KC(t.enabled,e)!==!1&&KC(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&Tw(e,t)}return!1}function ww(e,t,n,r){return(e!==t||KC(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&Tw(e,n)}function Tw(e,t){return KC(t.enabled,e)!==!1&&e.isStaleByTime(KC(t.staleTime,e))}var Pce=class extends xw{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type=`infinite`,super.setOptions(e)}getOptimisticResult(e){return e._type=`infinite`,super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:`forward`}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:`backward`}}})}createResult(e,t){let{state:n}=e,r=super.createResult(e,t),{isFetching:i,isRefetching:a,isError:o,isRefetchError:s}=r,c=n.fetchMeta?.fetchMore?.direction,l=o&&c===`forward`,u=i&&c===`forward`,d=o&&c===`backward`,f=i&&c===`backward`;return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:Ace(t,n.data),hasPreviousPage:jce(t,n.data),isFetchNextPageError:l,isFetchingNextPage:u,isFetchPreviousPageError:d,isFetchingPreviousPage:f,isRefetchError:s&&!l&&!d,isRefetching:a&&!u&&!f}}},Fce=class extends hw{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Ice(),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.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??(this.state.status===`pending`?this.execute(this.state.variables):Promise.resolve())}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey},r=this.#r=mw({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)}
44),i=this.state.status===`pending`,a=!r.canStart();try{if(i)t();else{this.#i({type:`pending`,variables:e,isPaused:a}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:a})}let o=await r.start();return await this.#n.config.onSuccess?.(o,e,this.state.context,this,n),await this.options.onSuccess?.(o,e,this.state.context,n),await this.#n.config.onSettled?.(o,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(o,null,e,this.state.context,n),this.#i({type:`success`,data:o}),o}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#r===r&&(this.#r=void 0),this.#n.runNext(this)}}#i(e){let t=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};case`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(this.state),uw.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function Ice(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var Lce=class extends cw{#e;#t;#n;constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}build(e,t,n){let r=new Fce({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=Ew(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=Ew(e);if(typeof t==`string`){let n=this.#t.get(t);if(n){if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Ew(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}return!0}runNext(e){let t=Ew(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>
44t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){uw.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>JC(t,e))}findAll(e={}){return this.getAll().filter(t=>JC(e,t))}notify(e){uw.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return uw.batch(()=>Promise.all(e.map(e=>e.continue().catch(UC))))}};function Ew(e){return e.options.scope?.id}var Rce=class extends cw{#e;constructor(e={}){super(),this.config=e,this.#e=new Map}build(e,t,n){let r=t.queryKey,i=t.queryHash??YC(r,t),a=this.get(i);return a||(a=new Mce({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){uw.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>qC(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>qC(e,t)):t}notify(e){uw.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){uw.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){uw.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},zce=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new Rce,this.#t=e.mutationCache||new Lce,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=lw.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=dw.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(KC(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=vce(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return uw.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;uw.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return uw.batch(()=>{let r=n.findAll(e),i=new Set(r);return r.forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,predicate:e=>i.has(e)},t)})}cancelQueries(e,t={}){let n={revert:!0,...t},r=uw.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(UC).catch(UC)}invalidateQueries(e,t={}){return uw.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=uw.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(UC)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(UC)}async query(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t),r=n.isStaleByTime(KC(t.staleTime,n))?await n.fetch(t):n.state.data,i=t.select;return i?i(r):r}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(KC(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(UC).catch(UC)}infiniteQuery(e){return e._type=`infinite`,this.query(e)}
44fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(UC).catch(UC)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return dw.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(XC(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{ZC(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(XC(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{ZC(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=YC(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===iw&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Dw=I.createContext(!1),Bce=()=>I.useContext(Dw);Dw.Provider;function Vce(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var Hce=I.createContext(Vce()),Uce=()=>I.useContext(Hce),Wce=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?ow(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||r)&&(t.isReset()||(e.retryOnMount=!1))},Gce=e=>{I.useEffect(()=>{e.clearReset()},[e])},Kce=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||ow(n,[e.error,r])),qce=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},Jce=(e,t)=>e?.suspense&&t.isPending,Yce=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function Ow(e,t,n){let r=Bce(),i=Uce(),a=VC(n),o=a.defaultQueryOptions(e),s=a.getQueryCache().get(o.queryHash),c=e.subscribed!==!1;o._optimisticResults=r?`isRestoring`:c?`optimistic`:void 0,qce(o),Wce(o,i,s),Gce(i);let[l]=I.useState(()=>new t(a,o)),u=l.getOptimisticResult(o),d=!r&&c;if(I.useSyncExternalStore(I.useCallback(e=>{let t=d?l.subscribe(uw.batchCalls(e)):UC;return l.updateResult(),t},[l,d]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),I.useEffect(()=>{l.setOptions(o)},[o,l]),Jce(o,u))throw Yce(o,l,i);if(Kce({result:u,errorResetBoundary:i,throwOnError:o.throwOnError,query:s,suspense:o.suspense}))throw u.error;return o.notifyOnChangeProps?u:l.trackResult(u)}function kw(e,t){return Ow(e,xw,t)}function Aw(e,t){return Ow(e,Pce,t)}var jw=()=>{let[e,t]=(0,I.useState)(!1);return{open:e,setOpen:t,handleOpen:()=>t(!0),handleClose:()=>t(!1)}};function Xce(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Zce=o((()=>{})),Qce=c({default:()=>Nw}),Mw,Nw,$ce=o((()=>{Zce(),Mw=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
44ine|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Nw=Xce(function(e){return Mw.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91})})),Pw=`-ms-`,Fw=`-moz-`,Iw=`-webkit-`,Lw=`comm`,Rw=`rule`,zw=`decl`,ele=`@import`,tle=`@namespace`,Bw=`@keyframes`,nle=`@layer`,Vw=Math.abs,Hw=String.fromCharCode,Uw=Object.assign;function rle(e,t){return Jw(e,0)^45?(((t<<2^Jw(e,0))<<2^Jw(e,1))<<2^Jw(e,2))<<2^Jw(e,3):0}function Ww(e){return e.trim()}function Gw(e,t){return(e=t.exec(e))?e[0]:e}function Kw(e,t,n){return e.replace(t,n)}function qw(e,t,n){return e.indexOf(t,n)}function Jw(e,t){return e.charCodeAt(t)|0}function Yw(e,t,n){return e.slice(t,n)}function Xw(e){return e.length}function Zw(e){return e.length}function Qw(e,t){return t.push(e),e}function ile(e,t){return e.map(t).join(``)}function $w(e,t){return e.filter(function(e){return!Gw(e,t)})}var eT=1,tT=1,nT=0,rT=0,iT=0,aT=``;function oT(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:eT,column:tT,length:o,return:``,siblings:s}}function sT(e,t){return Uw(oT(``,null,null,``,null,null,0,e.siblings),e,{length:-e.length},t)}function cT(e){for(;e.root;)e=sT(e.root,{children:[e]});Qw(e,e.siblings)}
vendor: 7,585 bytes, lines 44-45
44function ale(){return iT}function ole(){return iT=rT>0?Jw(aT,--rT):0,tT--,iT===10&&(tT=1,eT--),iT}function lT(){return iT=rT<nT?Jw(aT,rT++):0,tT++,iT===10&&(tT=1,eT++),iT}function uT(){return Jw(aT,rT)}function dT(){return rT}function fT(e,t){return Yw(aT,e,t)}function pT(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function sle(e){return eT=tT=1,nT=Xw(aT=e),rT=0,[]}function cle(e){return aT=``,e}function mT(e){return Ww(fT(rT-1,hT(e===91?e+2:e===40?e+1:e)))}function lle(e){for(;(iT=uT())&&iT<33;)lT();return pT(e)>2||pT(iT)>3?``:` `}function ule(e,t){for(;--t&&lT()&&!(iT<48||iT>102||iT>57&&iT<65||iT>70&&iT<97););return fT(e,dT()+(t<6&&uT()==32&&lT()==32))}function hT(e){for(;lT();)switch(iT){case e:return rT;case 34:case 39:e!==34&&e!==39&&hT(iT);break;case 40:e===41&&hT(e);break;case 92:lT()}return rT}function dle(e,t){for(;lT()&&e+iT!==57&&(e+iT!==84||uT()!==47););return`/*`+fT(t,rT-1)+`*`+Hw(e===47?e:lT())}function fle(e){for(;!pT(uT());)lT();return fT(e,rT)}function ple(e){return cle(gT(``,null,null,null,[``],e=sle(e),0,[0],e))}function gT(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=lT()){case 40:if(m!=108&&Jw(C,d-1)==58){qw(C+=Kw(mT(v),`&`,`&\f`),`&\f`,Vw(l?s[l-1]:0))!=-1&&(_=-1);break}case 34:case 39:case 91:C+=mT(v);break;case 9:case 10:case 13:case 32:C+=lle(m);break;case 92:C+=ule(dT()-1,7);continue;case 47:switch(uT()){case 42:case 47:Qw(mle(dle(lT(),dT()),t,n,c),c),(pT(m||1)==5||pT(uT()||1)==5)&&Xw(C)&&Yw(C,-1,void 0)!==` `&&(C+=` `);break;default:C+=`/`}break;case 123*h:s[l++]=Xw(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=Kw(C,/\f/g,``)),p>0&&(Xw(C)-d||h===0&&m===47)&&Qw(p>32?vT(C+`;`,r,n,d-1,c):vT(Kw(C,` `,``)+`;`,r,n,d-2,c),c);break;case 59:C+=`;`;default:if(Qw(S=_T(C,t,n,l,u,i,s,y,b=[],x=[],d,a),a),v===123){if(u===0)gT(C,t,S,S,b,a,d,s,x);else{switch(f){case 99:if(Jw(C,3)===110)break;case 108:if(Jw(C,2)===97)break;default:u=0;case 100:case 109:case 115:}u?gT(e,S,S,r&&Qw(_T(e,S,S,0,0,i,s,y,i,b=[],d,x),x),i,x,d,s,r?b:x):gT(C,S,S,S,[``],x,0,s,x)}}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+Xw(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&ole()==125)continue}switch(C+=Hw(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(Xw(C)-1)*_,_=1;break;case 64:uT()===45&&(C+=mT(lT())),f=uT(),u=d=Xw(y=C+=fle(dT())),v++;break;case 45:m===45&&Xw(C)==2&&(h=0)}}return a}function _T(e,t,n,r,i,a,o,s,c,l,u,d){for(var f=i-1,p=i===0?a:[``],m=Zw(p),h=0,g=0,_=0;h<r;++h)for(var v=0,y=Yw(e,f+1,f=Vw(g=o[h])),b=e;v<m;++v)(b=Ww(g>0?p[v]+` `+y:Kw(y,/&\f/g,p[v])))&&(c[_++]=b);return oT(e,t,n,i===0?Rw:s,c,l,u,d)}function mle(e,t,n,r){return oT(e,t,n,Lw,Hw(ale()),Yw(e,2,-2),0,r)}function vT(e,t,n,r,i){return oT(e,t,n,zw,Yw(e,0,r),Yw(e,r+1,-1),r,i)}function yT(e,t,n){switch(rle(e,t)){case 5103:return Iw+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return Iw+e+e;case 4855:return Iw+e.replace(`add`,`source-over`).replace(`substract`,`source-out`).replace(`intersect`,`source-in`).replace(`exclude`,`xor`)+e;case 4789:return Fw+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Iw+e+Fw+e+Pw+e+e;case 5936:switch(Jw(e,t+11)){case 114:return Iw+e+Pw+Kw(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return Iw+e+Pw+Kw(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return Iw+e+Pw+Kw(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}case 6828:case 4268:case 2903:return Iw+e+Pw+e+e;case 6165:return Iw+e+Pw+`flex-`+e+e;case 5187:return Iw+e+Kw(e,/(\w+).+(:[^]+)/,Iw+`box-$1$2`+Pw+`flex-$1$2`)+e;case 5443:return Iw+e+Pw+`flex-item-`+Kw(e,/flex-|-self/g,``)+(Gw(e,/flex-|baseline/)?``:Pw+`grid-row-`+Kw(e,/flex-|-self/g,``))+e;case 4675:return Iw+e+Pw+`flex-line-pack`+Kw(e,/align-content|flex-|-self/g,``)+e;case 5548:return Iw+e+Pw+Kw(e,`shrink`,`negative`)+e;case 5292:return Iw+e+Pw+Kw(e,`basis`,`preferred-size`)+e;case 6060:return Iw+`box-`+Kw(e,`-grow`,``)+Iw+e+Pw+Kw(e,`grow`,`positive`)+e;case 4554:return Iw+Kw(e,/([^-])(transform)/g,`$1`+Iw+`$2`)+e;case 6187:return Kw(Kw(Kw(e,/(zoom-|grab)/,Iw+`$1`),/(image-set)/,Iw+`$1`),e,``)+e;case 5495:case 3959:return Kw(e,/(image-set\([^]*)/,Iw+"$1$`$1");case 4968:return Kw(Kw(e,/(.+:)(flex-)?(.*)/,Iw+`box-pack:$3`+Pw+`flex-pack:$3`),/space-between/,`justify`)+Iw+e+e;case 4200:if(!Gw(e,/flex-|baseline/))return Pw+`grid-column-align`+Yw(e,t)+e;break;case 2592:case 3360:return Pw+Kw(e,`template-`,``)+e;case 4384:case 3616:return n&&n.some(function(e,n){return t=n,Gw(e.props,/grid-\w+-end/)})?~qw(e+(n=n[t].value),`span`,0)?e:Pw+Kw(e,`-start`,``)+e+Pw+`grid-row-span:`+(~qw(n,`span`,0)?Gw(n,/\d+/):+Gw(n,/\d+/)-Gw(e,/\d+/))+`;`:Pw+Kw(e,`-start`,``)+e;case 4896:case 4128:return n&&n.some(function(e){return Gw(e.props,/grid-\w+-start/)})?e:Pw+Kw(Kw(e,`-end`,`-span`),`span `,``)+e;case 4095:case 3583:case 4068:case 2532:return Kw(e,/(.+)-inline(.+)/,Iw+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Xw(e)-1-t>6)switch(Jw(e,t+1)){case 109:if(Jw(e,t+4)!==45)break;case 102:return Kw(e,/(.+:)(.+)-([^]+)/,`$1`+Iw+`$2-$3$1`+Fw+(Jw(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~qw(e,`stretch`,0)?yT(Kw(e,`stretch`,`fill-available`),t,n)+e:e}break;case 5152:case 5920:return Kw(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,n,r,i,a,o,s){return Pw+n+`:`+r+s+(i?Pw+n+`-span:`+(a?o:+o-r)+s:``)+e});case 4949:if(Jw(e,t+6)===121)return Kw(e,`:`,`:`+Iw)+e;break;case 6444:switch(Jw(e,Jw(e,14)===45?18:11)){case 120:return Kw(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,`$1`+Iw+(Jw(e,14)===45?`inline-`:``)+`box$3$1`+Iw+`$2$3$1`+Pw+`$2box$3`)+e;case 100:return Kw(e,`:`,`:`+Pw)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Kw(e,`scroll-`,`scroll-snap-`)+e}return e}function bT(e,t){for(var n=``,r=0;r<e.length;r++)n+=t(e[r],r,e,t)||``;return n}function hle(e,t,n,r){switch(e.type){case nle:if(e.children.length)break;case ele:case tle:case zw:return e.return=e.return||e.value;case Lw:return``;case Bw:return e.return=e.value+`{`+bT(e.children,r)+`}`;case Rw:if(!Xw(e.value=e.props.join(`,`)))return``}return Xw(n=bT(e.children,r))?e.return=e.value+`{`+n+`}`:``}function gle(e){var t=Zw(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function _le(e){return function(t){t.root||(t=t.return)&&e(t)}}function vle(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case zw:e.return=yT(e.value,e.length,n);return;case Bw:return bT([sT(e,{value:Kw(e.value,`@`,`@`+Iw)})],r);case Rw:if(e.length)return ile(n=e.props,function(t){switch(Gw(t,r=/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:cT(sT(e,{props:[Kw(t,/:(read-\w+)/,`:`+Fw+`$1`)]})),cT(sT(e,{props:[t]})),Uw(e,{props:$w(n,r)});break;case`::placeholder`:cT(sT(e,{props:[Kw(t,/:(plac\w+)/,`:`+Iw+`input-$1`)]})),cT(sT(e,{props:[Kw(t,/:(plac\w+)/,`:`+Fw+`$1`)]})),cT(sT(e,{props:[Kw(t,/:(plac\w+)/,Pw+`input-$1`)]})),cT(sT(e,{props:[t]})),Uw(e,{props:$w(n,r)})}return``})}}var xT=typeof process<`u`&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||`data-styled`,ST=`active`,CT=`data-styled-version`,wT=`6.5.3`,TT=`/*!sc*/ 45`,ET=typeof window<`u`&&typeof document<`u`;function DT(e){if(typeof process<`u`){let t={}[e];
45if(t!==void 0&&t!==``)return t!==`false`}}var yle=!!(typeof SC_DISABLE_SPEEDY==`boolean`?SC_DISABLE_SPEEDY:DT(`REACT_APP_SC_DISABLE_SPEEDY`)??DT(`SC_DISABLE_SPEEDY`)??(typeof process<`u`&&!1)),OT=`sc-keyframes-`,ble={};function kT(e,...t){return Error(`An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#${e} for more information.${t.length>0?` Args: ${t.join(`, `)}`:``}`)}var AT=new Map,jT=new Map,MT=1,NT=e=>{if(AT.has(e))return AT.get(e);for(;jT.has(MT);)MT++;let t=MT++;return AT.set(e,t),jT.set(t,e),t},xle=e=>jT.get(e),Sle=(e,t)=>{MT=t+1,AT.set(e,t),jT.set(t,e)},PT=Object.freeze([]),FT=Object.freeze({});function IT(e,t,n=FT){return e.theme!==n.theme&&e.theme||t||n.theme}var Cle=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,wle=/(^-|-$)/g;function LT(e){return e.replace(Cle,`-`).replace(wle,``)}var Tle=/(a)(d)/gi,RT=e=>String.fromCharCode(e+(e>25?39:97));function zT(e){let t,n=``;for(t=Math.abs(e);t>52;t=t/52|0)n=RT(t%52)+n;return(RT(t%52)+n).replace(Tle,`$1-$2`)}var BT=5381,VT=(e,t)=>{let n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e},HT=e=>VT(BT,e);function UT(e){return zT(HT(e)>>>0)}function Ele(e){return e.displayName||e.name||`Component`}function WT(e){return typeof e==`string`&&!0}function Dle(e){return WT(e)?`styled.${e}`:`Styled(${Ele(e)})`}var GT=Symbol.for(`react.memo`),Ole=Symbol.for(`react.forward_ref`),kle={contextType:!0,defaultProps:!0,displayName:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},Ale={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},KT={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},jle={[Ole]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[GT]:KT};function qT(e){return(`type`in(t=e)&&t.type.$$typeof)===GT?KT:`$$typeof`in e?jle[e.$$typeof]:kle;var t}var Mle=Object.defineProperty,Nle=Object.getOwnPropertyNames,Ple=Object.getOwnPropertySymbols,Fle=Object.getOwnPropertyDescriptor,Ile=Object.getPrototypeOf,Lle=Object.prototype;function JT(e,t,n){if(typeof t!=`string`){let r=Ile(t);r&&r!==Lle&&JT(e,r,n);let i=Nle(t).concat(Ple(t)),a=qT(e),o=qT(t);for(let r=0;r<i.length;++r){let s=i[r];if(!(s in Ale||n&&n[s]||o&&s in o||a&&s in a)){let n=Fle(t,s);try{Mle(e,s,n)}catch{}}}}return e}function YT(e){return typeof e==`function`}var Rle=Symbol.for(`react.forward_ref`);function XT(e){return e!=null&&(typeof e==`object`||typeof e==`function`)&&e.$$typeof===Rle&&`styledComponentId`in e}function ZT(e,t){return e&&t?e+` `+t:e||t||``}function QT(e,t){return e.join(t||``)}function $T(e){return typeof e==`object`&&!!e&&e.constructor.name===Object.name&&!(`props`in e&&e.$$typeof)}function eE(e,t,n=!1){if(!n&&!$T(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(let n=0;n<t.length;n++)e[n]=eE(e[n],t[n]);else if($T(t))for(let n in t)e[n]=eE(e[n],t[n]);return e}function tE(e,t){Object.defineProperty(e,"toString",{value:t})}var zle=class{constructor(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0}indexOfGroup(e){if(e===this._cGroup)return this._cIndex;let t=this._cIndex;if(e>this._cGroup)for(let n=this._cGroup;n<e;n++)t+=this.groupSizes[n];else for(let n=this._cGroup-1;n>=e;n--)t-=this.groupSizes[n];return this._cGroup=e,this._cIndex=t,t}insertRules(e,t){if(e>=this.groupSizes.length){let t=this.groupSizes,n=t.length,r=n;for(;e>=r;)if(r<<=1,r<0)throw kT(16,`${e}`);this.groupSizes=new Uint32Array(r),this.groupSizes.set(t),this.length=r;for(let e=n;e<r;e++)this.groupSizes[e]=0}let n=this.indexOfGroup(e+1),r=0;for(let i=0,a=t.length;i<a;i++)this.tag.insertRule(n,t[i])&&(this.groupSizes[e]++,n++,r++);r>0&&this._cGroup>e&&(this._cIndex+=r)}clearGroup(e){if(e<this.length){let t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(let e=n;e<r;e++)this.tag.deleteRule(n);t>0&&this._cGroup>e&&(this._cIndex-=t)}}getGroup(e){let t=``;if(e>=this.length||this.groupSizes[e]===0)return t;let n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n;for(let e=r;e<i;e++)t+=this.tag.getRule(e)+TT;return t}},Ble=`style[${xT}
45][${CT}="${wT}"]`,Vle=RegExp(`^${xT}\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)`),nE=e=>typeof ShadowRoot<`u`&&e instanceof ShadowRoot||`host`in e&&e.nodeType===11,rE=e=>{if(!e)return document;if(nE(e))return e;if(`getRootNode`in e){let t=e.getRootNode();if(nE(t))return t}return document},Hle=(e,t,n)=>{let r=n.split(`,`),i;for(let n=0,a=r.length;n<a;n++)(i=r[n])&&e.registerName(t,i)},Ule=(e,t)=>{let n=(t.textContent??``).split(TT),r=[];for(let t=0,i=n.length;t<i;t++){let i=n[t].trim();if(!i)continue;let a=i.match(Vle);if(a){let t=0|parseInt(a[1],10),n=a[2];t!==0&&(Sle(n,t),Hle(e,n,a[3]),e.getTag().insertRules(t,r)),r.length=0}else r.push(i)}},iE=e=>{let t=rE(e.options.target).querySelectorAll(Ble);for(let n=0,r=t.length;n<r;n++){let r=t[n];r&&r.getAttribute(xT)!==ST&&(Ule(e,r),r.parentNode&&r.parentNode.removeChild(r))}},aE=!1;function Wle(){if(!1!==aE)return aE;if(typeof document<`u`){let e=document.head.querySelector(`meta[property="csp-nonce"]`);if(e)return aE=e.nonce||e.getAttribute(`content`)||void 0;let t=document.head.querySelector(`meta[name="sc-nonce"]`);if(t)return aE=t.getAttribute(`content`)||void 0}return aE=typeof __webpack_nonce__<`u`?__webpack_nonce__:void 0}var oE=(e,t)=>{let n=document.head,r=e||n,i=document.createElement(`style`),a=(e=>{let t=Array.from(e.querySelectorAll(`style[${xT}]`));return t[t.length-1]})(r),o=a===void 0?null:a.nextSibling;i.setAttribute(xT,ST),i.setAttribute(CT,wT);let s=t||Wle();return s&&i.setAttribute(`nonce`,s),r.insertBefore(i,o),i},Gle=class{constructor(e,t){this.element=oE(e,t),this.element.appendChild(document.createTextNode(``)),this.sheet=(e=>{if(e.sheet)return e.sheet;let t=e.getRootNode().styleSheets??document.styleSheets;for(let n=0,r=t.length;n<r;n++){let r=t[n];if(r.ownerNode===e)return r}throw kT(17)})(this.element),this.length=0}insertRule(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch{return!1}}deleteRule(e){this.sheet.deleteRule(e),this.length--}getRule(e){let t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:``}},Kle=class{constructor(e,t){this.element=oE(e,t),this.nodes=this.element.childNodes,this.length=0}insertRule(e,t){if(e<=this.length&&e>=0){let n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1}deleteRule(e){this.element.removeChild(this.nodes[e]),this.length--}getRule(e){return e<this.length?this.nodes[e].textContent:``}},sE=ET,qle={isServer:!ET,useCSSOMInjection:!yle},cE=class e{static registerId(e){return NT(e)}constructor(e=FT,t={},n){this.options=Object.assign(Object.assign({},qle),e),this.gs=t,this.keyframeIds=new Set,this.names=new Map(n),this.server=!!e.isServer,!this.server&&ET&&sE&&(sE=!1,iE(this)),tE(this,()=>(e=>{let t=e.getTag(),{length:n}=t,r=``;for(let i=0;i<n;i++){let n=xle(i);if(n===void 0)continue;let a=e.names.get(n);if(a===void 0||!a.size)continue;let o=t.getGroup(i);if(o.length===0)continue;let s=xT+`.g`+i+`[id="`+n+`"]`,c=``;for(let e of a)e.length>0&&(c+=e+`,`);r+=o+s+`{content:"`+c+`"}/*!sc*/ 46`}return r})(this))}rehydrate(){!this.server&&ET&&iE(this)}reconstructWithOptions(t,n=!0){let r=new e(Object.assign(Object.assign({},this.options),t),this.gs,n&&this.names||void 0);return r.keyframeIds=new Set(this.keyframeIds),!this.server&&ET&&t.target!==this.options.target&&rE(this.options.target)!==rE(t.target)&&iE(r),r}allocateGSInstance(e){return this.gs[e]=(this.gs[e]||0)+1}getTag(){return this.tag||=(e=(({useCSSOMInjection:e,target:t,nonce:n})=>e?new Gle(t,n):new Kle(t,n))(this.options),new zle(e));var e}hasNameForId(e,t){var n;return(n=this.names.get(e)?.has(t))!=null&&n}registerName(e,t){NT(e),e.startsWith(OT)&&this.keyframeIds.add(e);let n=this.names.get(e);n?n.add(t):this.names.set(e,new Set([t]))}insertRules(e,t,n){this.registerName(e,t),this.getTag().insertRules(NT(e),n)}clearNames(e){this.names.has(e)&&this.names.get(e).clear()}clearRules(e){this.getTag().clearGroup(NT(e)),this.clearNames(e)}clearTag(){this.tag=void 0}},lE=new WeakSet,Jle={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexShrink:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Yle(e,t){return t==null||typeof t==`boolean`||t===``?``:typeof t!=`number`||t===0||e in Jle||e.startsWith(`--`)?String(t).trim():t+`px`}var uE=47;function dE(e){if(e.charCodeAt(0)===45&&e.charCodeAt(1)===45)return e;let t=``;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t+=r>=65&&r<=90?`-`+String.fromCharCode(r+32):e[n]}return t.startsWith(`ms-`)?`-`+t:t}var fE=Symbol.for(`sc-keyframes`);function Xle(e){return typeof e==`object`&&!!e&&fE in e}function pE(e){return YT(e)&&!(e.prototype&&e.prototype.isReactComponent)}var mE=e=>e==null||!1===e||e===``,Zle=Symbol.for(`react.client.reference`);function hE(e){return e.$$typeof===Zle}function gE(e,t){for(let n in e){let r=e[n];e.hasOwnProperty(n)&&!mE(r)&&(Array.isArray(r)&&lE.has(r)||YT(r)?t.push(dE(n)+`:`,r,`;`):$T(r)?(t.push(n+` {`),gE(r,t),t.push(`}`)):t.push(dE(n)+`: `+Yle(n,r)+`;`))}}function _E(e,t,n,r,i=[]){if(mE(e))return i;let a=typeof e;if(a===`string`)return i.push(e),i;if(a===`function`)return hE(e)?i:pE(e)&&t?_E(e(t),t,n,r,i):(i.push(e),i);if(Array.isArray(e)){for(let a=0;a<e.length;a++)_E(e[a],t,n,r,i);return i}return XT(e)?(i.push(`.${e.styledComponentId}`),i):Xle(e)?(n?(e.inject(n,r),i.push(e.getName(r))):i.push(e),i):hE(e)?i:$T(e)&&e.toString===Object.prototype.toString?(gE(e,i),i):(i.push(e.toString()),i)}var Qle=HT(wT),$le=class{constructor(e,t,n){this.rules=e,this.componentId=t,this.baseHash=VT(Qle,t),this.baseStyle=n,cE.registerId(t)}
46generateAndInjectStyles(e,t,n){let r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):``;{let i=``;for(let r=0;r<this.rules.length;r++){let a=this.rules[r];if(typeof a==`string`)i+=a;else if(a){if(pE(a)){let r=a(e);typeof r==`string`?i+=r:r!=null&&!1!==r&&(i+=QT(_E(r,e,t,n)))}else i+=QT(_E(a,e,t,n))}}if(i){this.dynamicNameCache||=new Map;let e=n.hash?n.hash+i:i,a=this.dynamicNameCache.get(e);if(!a){if(a=zT(VT(VT(this.baseHash,n.hash),i)>>>0),this.dynamicNameCache.size>=200){let e=this.dynamicNameCache.keys().next().value;e!==void 0&&this.dynamicNameCache.delete(e)}this.dynamicNameCache.set(e,a)}if(!t.hasNameForId(this.componentId,a)){let e=n(i,`.`+a,void 0,this.componentId);t.insertRules(this.componentId,a,e)}r=ZT(r,a)}}return r}},eue=/&/g;function vE(e,t){let n=0;for(;--t>=0&&e.charCodeAt(t)===92;)n++;return!(1&~n)}function yE(e){let t=e.length,n=``,r=0,i=0,a=0,o=!1,s=!1;for(let c=0;c<t;c++){let l=e.charCodeAt(c);if(a!==0||o||l!==uE||e.charCodeAt(c+1)!==42){if(o)l===42&&e.charCodeAt(c+1)===uE&&(o=!1,c++);else if(l!==34&&l!==39||vE(e,c)){if(a===0){if(l===123)i++;else if(l===125){if(i--,i<0){s=!0;let n=c+1;for(;n<t;){let t=e.charCodeAt(n);if(t===59||t===10)break;n++}n<t&&e.charCodeAt(n)===59&&n++,i=0,c=n-1,r=n;continue}i===0&&(n+=e.substring(r,c+1),r=c+1)}else l===59&&i===0&&(n+=e.substring(r,c+1),r=c+1)}}else a===0?a=l:a===l&&(a=0)}else o=!0,c++}return s||i!==0||a!==0?(r<t&&i===0&&a===0&&(n+=e.substring(r)),n):e}function bE(e,t){let n=t+` `,r=`,`+n;for(let i=0;i<e.length;i++){let a=e[i];if(a.type===`rule`){a.value=(n+a.value).replaceAll(`,`,r);let e=a.props,t=[];for(let r=0;r<e.length;r++)t[r]=n+e[r];a.props=t}Array.isArray(a.children)&&a.type!==`@keyframes`&&bE(a.children,t)}return e}function tue({options:e=FT,plugins:t=PT}=FT){let n,r,i,a=(e,t,i)=>i.startsWith(r)&&i.endsWith(r)&&i.replaceAll(r,``).length>0?`.${n}`:e,o=t.slice();o.push(e=>{e.type===`rule`&&e.value.includes(`&`)&&(i||=RegExp(`\\${r}\\b`,`g`),e.props[0]=e.props[0].replace(eue,r).replace(i,a))}),e.prefix&&o.push(vle),o.push(hle);let s=[],c=gle(o.concat(_le(e=>s.push(e)))),l=(t,a=``,o=``,l=`&`)=>{n=l,r=a,i=void 0;let u=function(e){let t=e.indexOf(`//`)!==-1,n=e.indexOf(`}`)!==-1;if(!t&&!n)return e;if(!t)return yE(e);let r=e.length,i=``,a=0,o=0,s=0,c=0,l=0,u=!1;for(;o<r;){let t=e.charCodeAt(o);if(t!==34&&t!==39||vE(e,o)){if(s===0){if(t===uE&&o+1<r&&e.charCodeAt(o+1)===42){for(o+=2;o+1<r&&(e.charCodeAt(o)!==42||e.charCodeAt(o+1)!==uE);)o++;o+=2}else if(t!==40){if(t!==41){if(c>0)o++;else if(t===42&&o+1<r&&e.charCodeAt(o+1)===uE)i+=e.substring(a,o),o+=2,a=o,u=!0;else if(t===uE&&o+1<r&&e.charCodeAt(o+1)===uE){for(i+=e.substring(a,o);o<r&&e.charCodeAt(o)!==10;)o++;a=o,u=!0}else t===123?l++:t===125&&l--,o++}else c>0&&c--,o++}else c++,o++}else o++}else s===0?s=t:s===t&&(s=0),o++}return u?(a<r&&(i+=e.substring(a)),l===0?i:yE(i)):l===0?e:yE(e)}(t),d=ple(o||a?o+` `+a+` { `+u+` }`:u);return e.namespace&&(d=bE(d,e.namespace)),s=[],bT(d,c),s},u=e,d=BT;for(let e=0;e<t.length;e++)t[e].name||kT(15),d=VT(d,t[e].name);return u!=null&&u.namespace&&(d=VT(d,u.namespace)),u!=null&&u.prefix&&(d=VT(d,`p`)),l.hash=d===BT?``:d.toString(),l}var nue=new cE,xE=tue(),SE=I.createContext({shouldForwardProp:void 0,styleSheet:nue,stylis:xE,stylisPlugins:void 0});SE.Consumer;function CE(){return I.useContext(SE)}var wE=I.createContext(void 0);wE.Consumer;function TE(){let e=I.useContext(wE);if(!e)throw kT(18);return e}function rue(e){let t=I.useContext(wE),n=I.useMemo(()=>function(e,t){if(!e)throw kT(14);if(YT(e))return e(t);if(Array.isArray(e)||typeof e!=`object`)throw kT(8);return t?Object.assign(Object.assign({},t),e):e}(e.theme,t),[e.theme,t]);return e.children?I.createElement(wE.Provider,{value:n},e.children):null}var EE=Object.prototype.hasOwnProperty,DE={};function iue(e,t){let n=typeof e==`string`?LT(e):`sc`;DE[n]=(DE[n]||0)+1;let r=n+`-`+UT(wT+n+DE[n]);return t?t+`-`+r:r}function aue(e,t,n){let r=XT(e),i=e,a=!WT(e),{attrs:o=PT,componentId:s=iue(t.displayName,t.parentComponentId),displayName:c=Dle(e)}=t,l=t.displayName&&t.componentId?LT(t.displayName)+`-`+t.componentId:t.componentId||s,u=r&&i.attrs?i.attrs.concat(o).filter(
46Boolean):o,{shouldForwardProp:d}=t;if(r&&i.shouldForwardProp){let e=i.shouldForwardProp;if(t.shouldForwardProp){let n=t.shouldForwardProp;d=(t,r)=>e(t,r)&&n(t,r)}else d=e}let f=new $le(n,l,r?i.componentStyle:void 0);function p(e,t){return function(e,t,n){let{attrs:r,componentStyle:i,defaultProps:a,foldedComponentIds:o,styledComponentId:s,target:c}=e,l=I.useContext(wE),u=CE(),d=e.shouldForwardProp||u.shouldForwardProp,f=IT(t,l,a)||FT,p,m;{let e=I.useRef(null),n=e.current;if(n!==null&&n[1]===f&&n[2]===u.styleSheet&&n[3]===u.stylis&&n[7]===i&&function(e,t,n){let r=e,i=t,a=0;for(let e in i)if(EE.call(i,e)&&(a++,r[e]!==i[e]))return!1;return a===n}(n[0],t,n[4]))p=n[5],m=n[6];else{p=function(e,t,n){let r=Object.assign(Object.assign({},t),{className:void 0,theme:n}),i=e.length>1;for(let n=0;n<e.length;n++){let a=e[n],o=YT(a)?a(i?Object.assign({},r):r):a;for(let e in o)e===`className`?r.className=ZT(r.className,o[e]):e===`style`?r.style=Object.assign(Object.assign({},r.style),o[e]):e in t&&t[e]===void 0||(r[e]=o[e])}return`className`in t&&typeof t.className==`string`&&(r.className=ZT(r.className,t.className)),r}(r,t,f),m=i.generateAndInjectStyles(p,u.styleSheet,u.stylis);let n=0;for(let e in t)EE.call(t,e)&&n++;e.current=[t,f,u.styleSheet,u.stylis,n,p,m,i]}}let h=p.as||c,g=function(e,t,n,r){let i={};for(let a in e)e[a]===void 0||a[0]===`$`||a===`as`||a===`theme`&&e.theme===n||(a===`forwardedAs`?i.as=e.forwardedAs:r&&!r(a,t)||(i[a]=e[a]));return i}(p,h,f,d),_=ZT(o,s);return m&&(_+=` `+m),p.className&&(_+=` `+p.className),g[WT(h)&&h.includes(`-`)?`class`:`className`]=_,n&&(g.ref=n),(0,I.createElement)(h,g)}(m,e,t)}p.displayName=c;let m=I.forwardRef(p);return m.attrs=u,m.componentStyle=f,m.displayName=c,m.shouldForwardProp=d,m.foldedComponentIds=r?ZT(i.foldedComponentIds,i.styledComponentId):``,m.styledComponentId=l,m.target=r?i.target:e,Object.defineProperty(m,"defaultProps",{get(){return this._foldedDefaultProps},set(e){this._foldedDefaultProps=r?function(e,...t){for(let n of t)eE(e,n,!0);return e}({},i.defaultProps,e):e}}),tE(m,()=>`.${m.styledComponentId}`),a&&JT(m,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),m}var oue=new Set(`a.abbr.address.area.article.aside.audio.b.bdi.bdo.blockquote.body.button.br.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.label.legend.li.main.map.mark.menu.meter.nav.object.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.slot.small.span.strong.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.u.ul.var.video.wbr.circle.clipPath.defs.ellipse.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.filter.foreignObject.g.image.line.linearGradient.marker.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.switch.symbol.text.textPath.tspan.use`.split(`.`));function OE(e,t){let n=[e[0]];for(let r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}var kE=e=>(lE.add(e),e);function H(e,...t){if(YT(e)||$T(e))return kE(_E(OE(PT,[e,...t])));let n=e;return t.length===0&&n.length===1&&typeof n[0]==`string`?_E(n):kE(_E(OE(n,t)))}function AE(e,t,n=FT){if(!t)throw kT(1,t);let r=(r,...i)=>e(t,n,H(r,...i));return r.attrs=r=>AE(e,t,Object.assign(Object.assign({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)})),r.withConfig=r=>AE(e,t,Object.assign(Object.assign({},n),r)),r}var jE=e=>AE(aue,e),U=jE;oue.forEach(e=>{U[e]=jE(e)});var sue=class{constructor(e,t){this.instanceRules=new Map,this.rules=e,this.componentId=t,this.isStatic=function(e){for(let t=0;t<e.length;t+=1){let n=e[t];if(YT(n)&&!XT(n))return!1}return!0}(e),cE.registerId(this.componentId)}removeStyles(e,t){this.instanceRules.delete(e),this.rebuildGroup(t)}renderStyles(e,t,n,r){let i=this.componentId;if(this.isStatic){if(n.hasNameForId(i,i+e))this.instanceRules.has(e)||this.computeRules(e,t,n,r);else{let a=this.computeRules(e,t,n,r);n.insertRules(i,a.name,a.rules)}return}let a=this.instanceRules.get(e);if(this.computeRules(e,t,n,r),!n.server&&a){let t=a.rules,n=this.instanceRules.get(e).rules;if(t.length===n.length){let e=!0;for(let r=0;r<t.length;r++)if(t[r]!==n[r]){e=!1;break}if(e)return}}this.rebuildGroup(n)}computeRules(e,t,n,r){let i=QT(_E(this.rules,t,n,r)),a={name:this.componentId+e,rules:r(i,``)};return this.instanceRules.set(e,a),a}rebuildGroup(e){let t=this.componentId;e.clearRules(t);for(let n of this.instanceRules.values())e.insertRules(t,n.name,n.rules)}};function cue(e,...t){let n=H(e,...t),r=`sc-global-${UT(JSON.stringify(n))}`,i=new sue(n,r),a=e=>{let t=CE(),n=I.useContext(wE),a;{let e=I.useRef(null);e.current===null&&(e.current=t.styleSheet.allocateGSInstance(r)),a=e.current}t.styleSheet.server&&o(a,e,t.styleSheet,n,t.stylis);{let s=i.isStatic?[a,t.styleSheet,i]:[a,e,t.styleSheet,n,t.stylis,i],c=I.useRef(i);I.useLayoutEffect(()=>{t.styleSheet.server||(c.current!==i&&(t.styleSheet.clearRules(r),c.current=i),o(a,e,t.styleSheet,n,t.stylis))},s),I.useLayoutEffect(()=>()=>{t.styleSheet.server||i.removeStyles(a,t.styleSheet)},[a,t.styleSheet,i])}return t.styleSheet.server&&i.instanceRules.delete(a),null};function o(e,t,n,r,o){if(i.isStatic)i.renderStyles(e,ble,n,o);else{let s=Object.assign(Object.assign({},t),{theme:IT(t,r,a.defaultProps)});i.renderStyles(e,s,n,o)}}return I.memo(a)}var ME,lue=class{constructor(e,t){this[ME]=!0,this.inject=(e,t=xE)=>{let n=this.getName(t);if(!e.hasNameForId(this.id,n)){let r=t(this.rules,n,`@keyframes`);e.insertRules(this.id,n,r)}}
46,this.name=e,this.id=OT+e,this.rules=t,NT(this.id),tE(this,()=>{throw kT(12,String(this.name))})}getName(e=xE){return e.hash?this.name+zT(e.hash>>>0):this.name}};function NE(e,...t){let n=QT(H(e,...t));return new lue(UT(n),n)}ME=fE,`${xT}`,`${xT}`,`${xT}`;var uue=U.span` 47 ${({theme:e})=>e.buttons.container}; 48`,due=U.div` 49 ${({theme:e})=>e.buttons.prefix}; 50 ${({$color:e,theme:t})=>t.buttons.colors[e].prefix}; 51 ${({$size:e,theme:t})=>e===`small`?t.buttons.small.prefix:``}; 52`,PE=({children:e,prefix:t,color:n=`default`,size:r=`small`,className:i,style:a})=>(0,V.jsxs)(uue,{$hasPrefix:!!t,className:i,style:a,children:[t&&(0,V.jsx)(due,{$color:n,$size:r,children:t}),e]}),fue=U.button` 53 ${({theme:e})=>e.buttons.base}; 54 ${({$color:e,theme:t})=>t.buttons.colors[e].base}; 55 ${({$size:e,theme:t})=>e===`small`?t.buttons.small.base:``}; 56`,FE=I.forwardRef(function({children:e,prefix:t,color:n=`default`,size:r=`default`,style:i,...a},o){return(0,V.jsx)(fue,{$color:n,$size:r,...a,ref:o,children:(0,V.jsx)(PE,{color:n,size:r,prefix:t,style:i,children:e})})}),IE=(0,I.createContext)(()=>()=>void 0),pue=({children:e})=>{let t=(0,I.useRef)([]),n=(0,I.useRef)(0);(0,I.useEffect)(()=>{let e=e=>{e.key===`Escape`&&t.current.length!==0&&(e.preventDefault(),e.stopPropagation(),t.current[t.current.length-1]())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[]);let r=(0,I.useCallback)((e,r=!1)=>{let i=document.getElementById(`root`);return t.current.push(e),r&&(n.current++,i&&(i.inert=!0)),()=>{t.current.pop(),r&&(n.current--,i&&(i.inert=n.current>0))}},[]);return(0,V.jsx)(IE.Provider,{value:r,children:e})},LE=(e,t,n=!1)=>{let r=(0,I.useContext)(IE),i=(0,I.useRef)(t);(0,I.useEffect)(()=>{i.current=t},[t]),(0,I.useEffect)(()=>{if(e)return r(i.current,n)},[e,r,n])},RE={mobile:`36rem`,tablet:`48rem`,desktop:`62rem`,largeDesktop:`75rem`};function mue(e){return Object.keys(RE).reduce((t,n)=>({...t,[n]:parseInt(RE[n].replace(`rem`,``))*e}),{})}var zE={mobile:`@container root (min-width: ${RE.mobile})`,tablet:`@container root (min-width: ${RE.tablet})`,desktop:`@container root (min-width: ${RE.desktop})`,largeDesktop:`@container root (min-width: ${RE.largeDesktop})`},BE=u(Vv()),VE=(0,I.forwardRef)(function({styles:e},t){return(0,BE.createPortal)((0,I.createElement)(`style`,{ref:t},e),document.head)}),HE=(...e)=>e.filter(e=>!!e).join(` `),hue=e=>`src: url("${e}")`,gue={small:`14px`,normal:`16px`,large:`20px`},_ue={normal:`400`,bold:`700`},vue={default:`1.5`,headlines:`1.2`},yue=[{fontFamily:`"Open Sans"`,src:{urlType:`static`,url:`OpenSans-Regular.ttf`},fontWeight:400,fontStyle:`normal`},{fontFamily:`"Open Sans"`,src:{urlType:`static`,url:`OpenSans-Italic.ttf`},fontWeight:400,fontStyle:`italic`},{fontFamily:`"Open Sans"`,src:{urlType:`static`,url:`OpenSans-Bold.ttf`},fontWeight:700,fontStyle:`normal`},{fontFamily:`"Open Sans"`,src:{urlType:`static`,url:`OpenSans-BoldItalic.ttf`},fontWeight:700,fontStyle:`italic`}],bue=e=>e.map(e=>` 57 @font-face { 58 font-family: ${e.fontFamily}; 59 font-display: fallback; 60 font-style: ${e.fontStyle}; 61 ${e.fontWeight!==`variable`&&`font-weight: ${e.fontWeight};`} 62 unicode-range: U+020-21b, U+1e0c-203a; 63 ${hue(e.url)}; 64 } 65 `).join(` 66`),UE=(e,t,n)=>({body:e,headline:t,fontFaces:n,weights:_ue,sizes:gue,lineHeights:vue}),WE=()=>{let e=TE();return(0,I.useMemo)(()=>{let t=`${e.assets.basePath}/fonts/${e.assets.fonts}`;return bue(e.fonts.fontFaces.map(({src:e,...n})=>{let r=e.urlType===`static`?`${t}/${e.url}`:e.url;return{...n,url:r}}))},[e.assets.basePath,e.assets.fonts,e.fonts.fontFaces])},xue=U.div` 67 ${({theme:e})=>e.containers.root}; 68 container: root / inline-size; 69 contain: layout; //https://issues.chromium.org/issues/369781727#comment7 70`,GE=(0,I.createContext)(void 0),KE=({children:e,className:t})=>{let n=WE(),r=(0,I.useRef)(null),i=getComputedStyle(document.documentElement).fontSize,a=mue(parseInt(i)),[o,s]=(0,I.useState)(null),[c,l]=(0,I.useState)(null),u=(0,I.useMemo)(()=>new ResizeObserver(e=>{for(let t of e){let e=t.contentRect.width;if(l(e),e<=a.mobile){s(`mobile`);return}if(e<=a.tablet){s(`tablet`);return}if(e<=a.desktop){s(`desktop`);return}s(`largeDesktop`)}}),[a]);return(0,I.useEffect)(()=>{let e=r.current;if(e)return u.observe(e),()=>{u.unobserve(e)}},[u]),(0,V.jsxs)(GE.Provider,{value:{size:o,width:c},children:[(0,V.jsx)(VE,{styles:n}),(0,V.jsx)(xue,{ref:r,className:t,children:e})]})},qE=()=>{let e=(0,I.useContext)(GE);if(e===void 0)throw Error(`useRootContainer needs to be wrapped inside a RootContainerContext`);return e},JE=U(KE)` 71 background-color: transparent; 72 z-index: ${({theme:e})=>e.zIndices.portal}; 73`,YE=(e,t)=>(0,BE.createPortal)((0,V.jsx)(JE,{children:e}),t),XE=({children:e,container:t,open:n=!0,onClose:r=()=>{}})=>
73(LE(n,r,!0),(0,BE.createPortal)((0,V.jsx)(JE,{children:e}),t)),ZE=U.div` 74 position: absolute; 75 display: flex; 76 justify-content: center; 77 align-items: center; 78 top: 0; 79 left: 0; 80 width: 100%; 81 height: 100%; 82 max-height: 100%; 83 overflow: hidden; 84`,Sue=U(ZE)` 85 z-index: ${({theme:e})=>e.zIndices.portal}; 86`,QE=({children:e,className:t,onClose:n})=>{let r=(0,I.useCallback)(e=>e.stopPropagation(),[]);return LE(!0,n),(0,V.jsx)(Sue,{className:t,onMouseDown:n,onTouchStart:n,children:e({onMouseDown:r,onTouchStart:r,onClick:r})})},$E=e=>{let t=e||document.body,n=t.querySelector(`#portals`);return n||(n=document.createElement(`div`),n.id=`portals`,t.appendChild(n)),n},Cue=U(QE)` 87 ${({theme:e})=>e.modal.background}; 88 z-index: ${({theme:e})=>e.zIndices.portal}; 89`,eD=({children:e,onClose:t,className:n,rootElement:r})=>(0,V.jsx)(XE,{onClose:t,container:$E(r),children:(0,V.jsx)(Cue,{onClose:t,className:n,children:e})}),tD=U.i.attrs(({title:e})=>({title:e}))` 90 display: block; 91 width: 100%; 92 height: 100%; 93 background: currentColor; 94 mask-image: url(${({src:e})=>e}); 95 mask-size: contain; 96 mask-repeat: no-repeat; 97`,nD=U.i.attrs(({title:e})=>({title:e}))` 98 display: block; 99 width: 100%; 100 height: 100%; 101 background: currentColor; 102 mask-image: url("${({theme:e,$icon:t})=>`${e.assets.basePath}/icons/${e.assets.icons}/${t}.svg`}"); 103 mask-size: contain; 104 mask-repeat: no-repeat; 105`,wue=U.span` 106 ${({theme:e})=>e.iconButtons.container}; 107`,rD=({children:e,color:t=`default`,size:n=`small`})=>(0,V.jsx)(wue,{$color:t,$size:n,children:e}),Tue=U.button` 108 ${({theme:e})=>e.iconButtons.base}; 109 ${({$color:e,theme:t})=>t.iconButtons.colors[e].base}; 110 ${({$size:e,theme:t})=>e===`small`?t.iconButtons.small.base:``}; 111`,iD=I.forwardRef(function({color:e=`default`,size:t=`default`,ariaLabel:n,icon:r,iconSrc:i,iconComponent:a,...o},s){let c;return c=r?(0,V.jsx)(nD,{$icon:r}):i?(0,V.jsx)(tD,{src:i}):a,(0,V.jsx)(Tue,{"aria-label":n,$color:e,$size:t,...o,ref:s,children:(0,V.jsx)(rD,{color:e,size:t,children:c})})}),Eue=U.div` 112 ${({theme:e})=>e.modal.header}; 113`,Due=U.h2` 114 ${({theme:e})=>e.modal.heading}; 115`,Oue=({title:e,onClose:t})=>{let{t:n}=B();return(0,V.jsxs)(Eue,{children:[(0,V.jsx)(Due,{children:e}),(0,V.jsx)(iD,{title:n(`Close`),onClick:t,size:`small`,icon:`close`})]})},kue=U.div` 116 ${({theme:e})=>e.modal.container}; 117 ${({theme:e})=>e.modal.overflowContainer}; 118`,aD=({heading:e,onClose:t,children:n,className:r,rootElement:i})=>(0,V.jsx)(eD,{onClose:t,className:r,rootElement:i,children:r=>(0,V.jsxs)(kue,{...r,children:[(0,V.jsx)(Oue,{title:e,onClose:t}),n]})}),oD=U.div` 119 ${({theme:e})=>e.modal.body}; 120`,sD=U.div` 121 ${({theme:e})=>e.modal.footer}; 122`,cD=({action:e,open:t,onClose:n,children:r,heading:i,labels:a,className:o,disabled:s=!1})=>t?(0,V.jsxs)(aD,{heading:i,onClose:n,className:o,children:[(0,V.jsx)(oD,{children:r}),(0,V.jsxs)(sD,{children:[(0,V.jsx)(FE,{type:`button`,onClick:e=>{n(),e.stopPropagation()},children:a.close}),(0,V.jsx)(FE,{disabled:s,type:`button`,color:`danger`,onClick:t=>{e(n),t.stopPropagation()},children:a.confirm})]})]}):null,Aue={tiny:15,small:30,medium:60,large:90},jue=U.div` 123 ${({theme:e})=>e.loading.loading} 124`,lD=({variant:e=`medium`,color:t=`default`,className:n})=>(0,V.jsx)(jue,{$size:Aue[e],$color:t,"data-testid":`loading-spinner`,className:n}),uD=U.div` 125 ${({theme:e})=>e.drawer.heading}; 126 flex: 1; 127`,Mue=U.button` 128 ${({theme:e})=>e.iconButtons.flat}; 129 ${({$size:e,theme:t})=>e===`small`?t.iconButtons.small.base:``}; 130`,dD=I.forwardRef(function({icon:e,iconSrc:t,iconComponent:n,color:r=`default`,size:i=`default`,type:a=`button`,ariaLabel:o,...s},c){let l;return l=e?(0,V.jsx)(nD,{$icon:e}):t?(0,V.jsx)(tD,{src:t}):n,(0,V.jsx)(Mue,{"aria-label":o,$color:r,$size:i,type:a,...s,ref:c,children:l})}),Nue=U.div` 131 ${({theme:e})=>e.drawer.header}; 132`,Pue=U(dD)` 133 margin-right: ${({theme:e})=>e.spacing(2)}; 134`,fD=({children:e,onClose:t})=>{let{t:n}=B();return(0,V.jsxs)(Nue,{children:[t&&(0,V.jsx)(Pue,{title:n(`Close drawer`),onClick:t,icon:`close`}),e]})},pD=(0,I.createContext)({});function mD(e){let t=(0,I.useRef)(null);return t.current===null&&(t.current=e()),t.current}var hD=typeof window<`u`?I.useLayoutEffect:I.useEffect,gD=(0,I.createContext)(null);function _D(e,t){e.indexOf(t)===-1&&e.push(t)}function vD(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var yD=(e,t,n)=>n>t?t:n<e?e:n,bD={},xD=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),SD=e=>typeof e==`object`&&!!e,CD=e=>/^0[^.\s]+$/u.test(e);function wD(e){let t;return()=>(t===void 0&&(t=e()),t)}var TD=e=>e,ED=(...e)=>e.reduce((e,t)=>
134n=>t(e(n))),DD=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},OD=class{constructor(){this.subscriptions=[]}add(e){return _D(this.subscriptions,e),()=>vD(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},kD=e=>e*1e3,AD=e=>e/1e3,jD=(e,t)=>t?1e3/t*e:0,MD=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Fue=1e-7,Iue=12;function Lue(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=MD(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>Fue&&++s<Iue);return o}function ND(e,t,n,r){if(e===t&&n===r)return TD;let i=t=>Lue(t,0,1,e,n);return e=>e===0||e===1?e:MD(i(e),t,r)}var PD=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,FD=e=>t=>1-e(1-t),ID=ND(.33,1.53,.69,.99),LD=FD(ID),RD=PD(LD),zD=e=>e>=1?1:(e*=2)<1?.5*LD(e):.5*(2-2**(-10*(e-1))),BD=e=>1-Math.sin(Math.acos(e)),VD=FD(BD),HD=PD(BD),Rue=ND(.42,0,1,1),zue=ND(0,0,.58,1),UD=ND(.42,0,.58,1),Bue=e=>Array.isArray(e)&&typeof e[0]!=`number`,WD=e=>Array.isArray(e)&&typeof e[0]==`number`,GD={linear:TD,easeIn:Rue,easeInOut:UD,easeOut:zue,circIn:BD,circInOut:HD,circOut:VD,backIn:LD,backInOut:RD,backOut:ID,anticipate:zD},Vue=e=>typeof e==`string`,KD=e=>{if(WD(e)){e.length;let[t,n,r,i]=e;return ND(t,n,r,i)}return Vue(e)?(GD[e],`${e}`,GD[e]):e},qD=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`];function Hue(e){let t=new Set,n=new Set,r=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(c.schedule(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}var Uue=40;function JD(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=qD.reduce((e,t)=>(e[t]=Hue(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=bD.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,Uue),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:qD.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<qD.length;t++)o[qD[t]].cancel(e)},state:i,steps:o}}var{schedule:YD,cancel:XD,state:ZD,steps:QD}=JD(typeof requestAnimationFrame<`u`?requestAnimationFrame:TD,!0),$D;function Wue(){$D=void 0}var eO={now:()=>($D===void 0&&eO.set(ZD.isProcessing||bD.useManualTiming?ZD.timestamp:performance.now()),$D),set:e=>{$D=e,queueMicrotask(Wue)}},tO=e=>t=>typeof t==`string`&&t.startsWith(e),nO=tO(`--`),Gue=tO(`var(--`),rO=e=>Gue(e)?Kue.test(e.split(`/*`)[0].trim()):!1,Kue=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function iO(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var aO={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},oO={...aO,transform:e=>yD(0,1,e)},sO={...aO,default:1},cO=e=>Math.round(e*1e5)/1e5,lO=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function que(e){return e==null}var Jue=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,uO=(e,t)=>n=>!!(typeof n==`string`&&Jue.test(n)&&n.startsWith(e)||t&&!que(n)&&Object.prototype.hasOwnProperty.call(n,t)),dO=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(lO);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},Yue=e=>yD(0,255,e),fO={...aO,transform:e=>Math.round(Yue(e))},pO={test:uO(`rgb`,`red`),parse:dO(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+fO.transform(e)+`, `+fO.transform(t)+`, `+fO.transform(n)+`, `+cO(oO.transform(r))+`)`};function Xue(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alph
134a:i?parseInt(i,16)/255:1}}var mO={test:uO(`#`),parse:Xue,transform:pO.transform},hO=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),gO=hO(`deg`),_O=hO(`%`),vO=hO(`px`),Zue=hO(`vh`),Que=hO(`vw`),yO={..._O,parse:e=>_O.parse(e)/100,transform:e=>_O.transform(e*100)},bO={test:uO(`hsl`,`hue`),parse:dO(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+_O.transform(cO(t))+`, `+_O.transform(cO(n))+`, `+cO(oO.transform(r))+`)`},xO={test:e=>pO.test(e)||mO.test(e)||bO.test(e),parse:e=>pO.test(e)?pO.parse(e):bO.test(e)?bO.parse(e):mO.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?pO.transform(e):bO.transform(e),getAnimatableNone:e=>{let t=xO.parse(e);return t.alpha=0,xO.transform(t)}},$ue=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ede(e){return isNaN(e)&&typeof e==`string`&&(e.match(lO)?.length||0)+(e.match($ue)?.length||0)>0}var SO=`number`,CO=`color`,tde=`var`,nde=`var(`,wO="${}",rde=/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 TO(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(rde,e=>(xO.test(e)?(r.color.push(a),i.push(CO),n.push(xO.parse(e))):e.startsWith(nde)?(r.var.push(a),i.push(tde),n.push(e)):(r.number.push(a),i.push(SO),n.push(parseFloat(e))),++a,wO)).split(wO),indexes:r,types:i}}function ide(e){return TO(e).values}function EO({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];i+=e===SO?cO(r[a]):e===CO?xO.transform(r[a]):r[a]}return i}}function ade(e){return EO(TO(e))}var ode=e=>typeof e==`number`?0:xO.test(e)?xO.getAnimatableNone(e):e,DO=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:ode(e);function sde(e){let t=TO(e);return EO(t)(t.values.map((e,n)=>DO(e,t.split[n])))}var OO={test:ede,parse:ide,createTransformer:ade,getAnimatableNone:sde};function kO(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function cde({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=kO(s,r,e+1/3),a=kO(s,r,e),o=kO(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function AO(e,t){return n=>n>0?t:e}var jO=(e,t,n)=>e+(t-e)*n,MO=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},lde=[mO,pO,bO],ude=e=>lde.find(t=>t.test(e));function NO(e){let t=ude(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===bO&&(n=cde(n)),n}var PO=(e,t)=>{let n=NO(e),r=NO(t);if(!n||!r)return AO(e,t);let i={...n};return e=>(i.red=MO(n.red,r.red,e),i.green=MO(n.green,r.green,e),i.blue=MO(n.blue,r.blue,e),i.alpha=jO(n.alpha,r.alpha,e),pO.transform(i))},FO=new Set([`none`,`hidden`]);function dde(e,t){return FO.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function fde(e,t){return n=>jO(e,t,n)}function IO(e){return typeof e==`number`?fde:typeof e==`string`?rO(e)?AO:xO.test(e)?PO:hde:Array.isArray(e)?LO:typeof e==`object`?xO.test(e)?PO:pde:AO}function LO(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>IO(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function pde(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=IO(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function mde(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]],s=e.values[o]??0;n[i]=s,r[a]++}return n}var hde=(e,t)=>{let n=OO.createTransformer(t),r=TO(e),i=TO(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?FO.has(e)&&!i.values.length||FO.has(t)&&!r.values.length?dde(e,t):ED(LO(mde(r,i),i.values),n):(`${e}${t}`,AO(e,t))};function RO(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`
134number`?jO(e,t,n):IO(e)(e,t)}var gde=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>YD.update(t,e),stop:()=>XD(t),now:()=>ZD.isProcessing?ZD.timestamp:eO.now()}},zO=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},BO=2e4;function VO(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function _de(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(VO(r),BO);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:AD(i)}}var HO={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function UO(e,t){return e*Math.sqrt(1-t*t)}var vde=12;function yde(e,t,n){let r=n;for(let n=1;n<vde;n++)r-=e(r)/t(r);return r}var WO=.001;function bde({duration:e=HO.duration,bounce:t=HO.bounce,velocity:n=HO.velocity,mass:r=HO.mass}){let i,a;HO.maxDuration;let o=1-t;o=yD(HO.minDamping,HO.maxDamping,o),e=yD(HO.minDuration,HO.maxDuration,AD(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=UO(t,o),c=Math.exp(-i);return WO-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=UO(t**2,o);return(-i(t)+WO>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=yde(i,a,s);if(e=kD(e),isNaN(c))return{stiffness:HO.stiffness,damping:HO.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var xde=[`duration`,`bounce`],GO=[`stiffness`,`damping`,`mass`];function KO(e,t){return t.some(t=>e[t]!==void 0)}function qO(e){let t={velocity:HO.velocity,stiffness:HO.stiffness,damping:HO.damping,mass:HO.mass,isResolvedFromDuration:!1,...e};if(!KO(e,GO)&&KO(e,xde)){if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*yD(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:HO.mass,stiffness:i,damping:a}}else{let n=bde({...e,velocity:0});t={...t,...n,mass:HO.mass},t.isResolvedFromDuration=!0}}return t}function JO(e=HO.visualDuration,t=HO.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=qO({...n,velocity:-AD(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=AD(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?HO.restSpeed.granular:HO.restSpeed.default,i||=v?HO.restDelta.granular:HO.restDelta.default;let y,b,x,S,C,w;if(h<1)x=UO(_,h),S=(m+h*_*g)/x,y=e=>{let t=Math.exp(-h*_*e);return o-t*(S*Math.sin(x*e)+g*Math.cos(x*e))},C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>kD(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=kD(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=kD(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(VO(T),BO),t=zO(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}JO.applyToOptions=e=>{let t=_de(e,100,JO);return e.ease=t.ease,e.duration=kD(t.duration),e.type=`keyframes`,e};var Sde=5;function YO(e,t,n){let r=Math.max(t-Sde,0);return jD(n-e(r),t-r)}function XO({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=JO({keyframes:[f.value,m(f.value)],velocity:YO(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function Cde(e,t,n){let r=[],i=n||bD.mix||RO,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=ED(Array.isArray(t)?t[n]||TD:t,a)),r.push(a)}return r}function wde(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Cde(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=DD(e[r],e[r+1],n);return s[r](i)};return n?t=>l(yD(e[0],e[a-1],t)):l}function Tde(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=DD(0,t,r);e.push(jO(n,1,i))}}function Ede(e){let t=[0];return Tde(t,e.length-1),t}function Dde(e,t){return e.map(e=>e*t)}function Ode(e,t){return e.map(()=>t||UD).splice(0,e.length-1)}function ZO({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=Bue(r)?r.map(KD):KD(r),a={done:!1,value:t[0]},o=wde(Dde(n&&n.length===t.length?n:Ede(t),e),t,{ease:Array.isArray(i)?i:Ode(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var kde=e=>e!==null;function QO(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(kde),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var Ade={decay:XO,inertia:XO,tween:ZO,keyframes:ZO,spring:JO};function $O(e){typeof e.type==`string`&&(e.type=Ade[e.type])}var ek=class{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)}},jde=e=>e/100,tk=class extends ek{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!==eO.now()&&this.tick(eO.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;$O(e);let{type:t=ZO,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||ZO;s!==ZO&&typeof o[0]!=`number`&&(this.mixKeyframes=ED(jde,RO(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=VO(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.currentTime=this.holdTime===null?t:this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=yD(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==XO&&(b.value=QO(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return AD(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+AD(e)}get time(){return AD(this.currentTime)}set time(e){e=kD(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?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 YO(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(eO.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=AD(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=gde,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(eO.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&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(),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)}};function Mde(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var nk=e=>e*180/Math.PI,rk=e=>ik(nk(Math.atan2(e[1],e[0]))),Nde={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:rk,rotateZ:rk,skewX:e=>nk(Math.atan(e[1])),skewY:e=>nk(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ik=e=>(e%=360,e<0&&(e+=360),e),ak=rk,ok=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),sk=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Pde={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ok,scaleY:sk,scale:e=>(ok(e)+sk(e))/2,rotateX:e=>ik(nk(Math.atan2(e[6],e[5]))),rotateY:e=>ik(nk(Math.atan2(-e[2],e[0]))),rotateZ:ak,rotate:ak,skewX:e=>nk(Math.atan(e[4])),skewY:e=>nk(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ck(e){return+!!e.includes(`scale`)}
134function lk(e,t){if(!e||e===`none`)return ck(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Pde,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Nde,i=t}if(!i)return ck(t);let a=r[t],o=i[1].split(`,`).map(Ide);return typeof a==`function`?a(o):o[a]}var Fde=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return lk(n,t)};function Ide(e){return parseFloat(e.trim())}var uk=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],dk=new Set([...uk,`pathRotation`]),fk=e=>e===aO||e===vO,Lde=new Set([`x`,`y`,`z`]),Rde=uk.filter(e=>!Lde.has(e));function zde(e){let t=[];return Rde.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var pk={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},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})=>lk(t,`x`),y:(e,{transform:t})=>lk(t,`y`)};pk.translateX=pk.x,pk.translateY=pk.y;var mk=new Set,hk=!1,gk=!1,_k=!1;function vk(){if(gk){let e=Array.from(mk).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=zde(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}gk=!1,hk=!1,mk.forEach(e=>e.complete(_k)),mk.clear()}function yk(){mk.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(gk=!0)})}function Bde(){_k=!0,yk(),vk(),_k=!1}var bk=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(mk.add(this),hk||(hk=!0,YD.read(yk),YD.resolveKeyframes(vk))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}Mde(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),mk.delete(this)}cancel(){this.state===`scheduled`&&(mk.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Vde=e=>e.startsWith(`--`);function xk(e,t,n){Vde(t)?e.style.setProperty(t,n):e.style[t]=n}var Hde={};function Sk(e,t){let n=wD(e);return()=>Hde[t]??n()}var Ude=Sk(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),Ck=Sk(()=>{try{document.createElement(`div`).animate({opacity:0}
134,{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),wk=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Tk={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:wk([0,.65,.55,1]),circOut:wk([.55,0,1,.45]),backIn:wk([.31,.01,.66,-.59]),backOut:wk([.33,1.53,.69,.99])};function Ek(e,t){if(e)return typeof e==`function`?Ck()?zO(e,t):`ease-out`:WD(e)?wk(e):Array.isArray(e)?e.map(e=>Ek(e,t)||Tk.easeOut):Tk[e]}function Wde(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=Ek(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function Dk(e){return typeof e==`function`&&`applyToOptions`in e}function Gde({type:e,...t}){return Dk(e)&&Ck()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var Ok=class extends ek{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=Gde(e);this.animation=Wde(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=QO(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),xk(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e!==`idle`&&e!==`finished`&&(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(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return AD(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+AD(e)}get time(){return AD(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=kD(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 this.finishedTime===null?this.animation.playState:`f
134inished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&Ude()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),TD):r(this)}},kk={anticipate:zD,backInOut:RD,circInOut:HD};function Kde(e){return e in kk}function qde(e){typeof e.ease==`string`&&Kde(e.ease)&&(e.ease=kk[e.ease])}var Ak=10,Jde=class extends Ok{constructor(e){qde(e),$O(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new tk({...a,autoplay:!1}),s=Math.max(Ak,eO.now()-this.startTime),c=yD(0,Ak,s-Ak),l=o.sample(s).value,{name:u}=this.options;i&&u&&xk(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},jk=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(OO.test(e)||e===`0`)&&!e.startsWith(`url(`));function Yde(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Xde(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=jk(i,t),s=jk(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:Yde(e)||(n===`spring`||Dk(n))&&r}function Mk(e){e.duration=0,e.type=`keyframes`}var Nk=new Set([`opacity`,`clipPath`,`filter`,`transform`,`backgroundColor`]),Zde=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Qde(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&Zde.test(e[t]))return!0;return!1}var $de=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),efe=wD(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function tfe(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e,c=t?.owner?.current;if(!(c instanceof HTMLElement)&&!(c instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return efe()&&n&&(Nk.has(n)||$de.has(n)&&Qde(s))&&(n!==`transform`||!u)&&!l&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var nfe=40,rfe=class extends ek{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=eO.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||bk;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=eO.now();let u=!0;Xde(e,i,a,o)||(u=!1,(bD.instantAnimations||!s)&&l?.(QO(e,n,t)),e[0]=e[e.length-1],Mk(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>nfe?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&tfe(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new Jde({...d,element:p})}catch{m=new tk(d)}else m=new tk(d);m.finished.then(()=>{this.notifyFinished()}).catch(TD),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}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(),Bde()),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()}};function Pk(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>
134e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var Fk=30,ife=e=>!isNaN(parseFloat(e)),Ik={current:void 0},Lk=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=eO.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=eO.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=ife(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 OD);let n=this.events[e].add(t);return e===`change`?()=>{n(),YD.read(()=>{this.events.change.getSize()||this.stop()})}:n}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,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}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||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Ik.current&&Ik.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=eO.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Fk)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Fk);return jD(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 Rk(e,t){return new Lk(e,t)}function zk(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function Bk(e,t){let n=e?.[t]??e?.default??e;return n===e?n:zk(n,e)}var Vk={type:`spring`,stiffness:500,damping:25,restSpeed:10},Hk=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Uk={type:`keyframes`,duration:.8},Wk={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Gk=(e,{keyframes:t})=>t.length>2?Uk:dk.has(e)?e.startsWith(`scale`)?Hk(t[1]):Vk:Wk,Kk=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function qk(e){for(let t in e)if(!Kk.has(t))return!0;return!1}var Jk=(e,t,n,r={},i,a)=>o=>{let s=Bk(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=kD(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};qk(s)||Object.assign(u,Gk(e,u)),u.duration&&=kD(u.duration),u.repeatDelay&&=kD(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Mk(u),u.delay===0&&(d=!0)),(bD.instantAnimations||bD.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,Mk(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=QO(u.keyframes,s);if(e!==void 0){YD.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new tk(u):new rfe(u)},Yk=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Xk(e){let t=Yk.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Zk(e,t,n=1){`${e}`;let[r,i]=Xk(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return xD(e)?parseFloat(e):e}return rO(i)?Zk(i,t,n+1):i}function Qk(e){let t=[{},{}];
134return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function $k(e,t,n,r){if(typeof t==`function`){let[i,a]=Qk(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=Qk(r);t=t(n===void 0?e.custom:n,i,a)}return t}function eA(e,t,n){let r=e.getProps();return $k(r,t,n===void 0?r.custom:n,e)}var tA=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...uk]),nA=e=>Array.isArray(e);function afe(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Rk(n))}function ofe(e){return nA(e)?e[e.length-1]||0:e}function sfe(e,t){let{transitionEnd:n={},transition:r={},...i}=eA(e,t)||{};i={...i,...n};for(let t in i)afe(e,t,ofe(i[t]))}var rA=e=>!!(e&&e.getVelocity);function cfe(e){return!!(rA(e)&&e.add)}function iA(e,t){let n=e.getValue(`willChange`);if(cfe(n))return n.add(t);if(!n&&bD.WillChange){let n=new bD.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function aA(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var oA=`data-`+aA(`framerAppearId`);function sA(e){return e.props[oA]}function lfe({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function cA(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?zk(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&lfe(f,t))continue;let o={delay:n,...Bk(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){YD.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=sA(e);if(n){let e=window.MotionHandoffAnimation(n,t,YD);e!==null&&(o.startTime=e,p=!0)}}iA(e,t);let m=l??e.shouldReduceMotion;r.start(Jk(t,r,i,m&&tA.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>YD.update(()=>{o&&sfe(e,o)});d.length?Promise.all(d).then(t):t()}return d}function lA(e,t,n={}){let r=eA(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(cA(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return ufe(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}return Promise.all([a(),o(n.delay)])}function ufe(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(lA(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Pk(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function dfe(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>lA(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=lA(e,t,n);else{let i=typeof t==`function`?eA(e,t,n.custom):t;r=Promise.all(cA(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var ffe={test:e=>e===`auto`,parse:e=>e},uA=e=>t=>t.test(e),dA=[aO,vO,_O,gO,Que,Zue,ffe],fA=e=>dA.find(uA(e));function pfe(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||CD(e)}var mfe=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function hfe(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(lO)||[];if(!r)return e;let i=n.replace(r,``),a=+!!mfe.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var gfe=/\b([a-z-]*)\(.*?\)/gu,pA={...OO,getAnimatableNone:e=>{let t=e.match(gfe);return t?t.map(hfe).join(` `):e}},mA={...OO,getAnimatableNone:e=>{let t=OO.parse(e);return OO.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},hA={...aO,transform:Math.round},gA={borderWidth:vO,borderTopWidth:vO,borderRightWidth:vO,borderBottomWidth:vO,borderLeftWidth:vO,borderRadius:vO,borderTopLeftRadius:vO,borderTopRightRadius:vO,borderBottomRightRadius:vO,borderBottomLeftRadius:vO,width:vO,maxWidth:vO,height:vO,maxHeight:vO,top:vO,right:vO,bottom:vO,left:vO,inset:vO,insetBlock:vO,insetBlockStart:vO,insetBlockEnd:vO,insetInline:vO,insetInlineStart:vO,insetInlineEnd:vO,padding:vO,paddingTop:vO,paddingRight:vO,paddingBottom:vO,paddingLeft:vO,paddingBlock:vO,paddingBlockStart:vO,paddingBlockEnd:vO,paddingInline:vO,paddingInlineStart:vO,paddingInlineEnd:vO,margin:vO,marginTop:vO,marginRight:vO,marginBottom:vO,marginLeft:vO,marginBlock:vO,marginBlockStart:vO,marginBlockEnd:vO,marginInline:vO,marginInlineStart:vO,marginInlineEnd:vO,fontSize:vO,backgroundPositionX:vO,backgroundPositionY:vO,rotate:gO,pathRotation:gO,rotateX:gO,rotateY:gO,rotateZ:gO,scale:sO,scaleX:sO,scaleY:sO,scaleZ:sO,skew:gO,skewX:gO,skewY:gO,distance:vO,translateX:vO,translateY:vO,translateZ:vO,x:vO,y:vO,z:vO,perspective:vO,transformPerspective:vO,opacity:oO,originX:yO,originY:yO,originZ:vO,zIndex:hA,fillOpacity:oO,strokeOpacity:oO,numOctaves:hA},_fe={...gA,color:xO,backgroundColor:xO,outlineColor:xO,fill:xO,stroke:xO,borderColor:xO,borderTopColor:xO,borderRightColor:xO,borderBottomColor:xO,borderLeftColor:xO,filter:pA,WebkitFilter:pA,mask:mA,WebkitMask:mA},_A=e=>_fe[e],vfe=new Set([pA,mA]);function vA(e,t){let n=_A(e);return vfe.has(n)||(n=OO),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var yfe=new Set([`auto`,`none`,`0`]);function bfe(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!yfe.has(t)&&TO(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=vA(n,i)}var xfe=class extends bk{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),rO(r))){let i=Zk(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!tA.has(n)||e.length!==2)return;let[r,i]=e,a=fA(r),o=fA(i);if(iO(r)!==iO(i)&&pk[n]){this.needsMeasurement=!0;return}if(a!==o){if(fk(a)&&fk(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else pk[n]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||pfe(e[t]))&&n.push(t);n.length&&bfe(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=pk[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=pk[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEac
134h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}},yA=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`];function bA(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var xA=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function SA(e){return SD(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:CA,cancel:Sfe}=JD(queueMicrotask,!1),wA={x:!1,y:!1};function TA(){return wA.x||wA.y}function Cfe(e){return e===`x`||e===`y`?wA[e]?null:(wA[e]=!0,()=>{wA[e]=!1}):wA.x||wA.y?null:(wA.x=wA.y=!0,()=>{wA.x=wA.y=!1})}function EA(e,t){let n=bA(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function wfe(e){return!(e.pointerType===`touch`||TA())}function Tfe(e,t,n={}){let[r,i,a]=EA(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!wfe(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var DA=(e,t)=>t?e===t||DA(e,t.parentElement):!1,OA=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,Efe=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function Dfe(e){return Efe.has(e.tagName)||e.isContentEditable===!0}var Ofe=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function kfe(e){return Ofe.has(e.tagName)||e.isContentEditable===!0}var kA=new WeakSet;function AA(e){return t=>{t.key===`Enter`&&e(t)}}function jA(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Afe=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=AA(()=>{if(kA.has(n))return;jA(n,`down`);let e=AA(()=>{jA(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>jA(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function MA(e){return OA(e)&&!TA()}var NA=new WeakSet;function jfe(e,t,n={}){let[r,i,a]=EA(e,n),o=e=>{let r=e.currentTarget;if(!MA(e)||NA.has(e))return;kA.add(r),n.stopPropagation&&NA.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),kA.has(r)&&kA.delete(r),MA(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||DA(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),SA(e)&&(e.addEventListener(`focus`,e=>Afe(e,i)),!Dfe(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function PA(e){return SD(e)&&`ownerSVGElement`in e}var FA=new WeakMap,IA,LA=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:PA(r)&&`getBBox`in r?r.getBBox()[t]:r[n],Mfe=LA(`inline`,`width`,`offsetWidth`),Nfe=LA(`block`,`height`,`offsetHeight`);function Pfe({target:e,borderBoxSize:t}){FA.get(e)?.forEach(n=>{n(e,{get width(){return Mfe(e,t)},get height(){return Nfe(e,t)}})})}function Ffe(e){e.forEach(Pfe)}function Ife(){typeof ResizeObserver>`u`||(IA=new ResizeObserver(Ffe))}function Lfe(e,t){IA||Ife();let n=bA(e);return n.forEach(e=>{let n=FA.get(e);n||(n=new Set,FA.set(e,n)),n.add(t),IA?.observe(e)}),()=>{n.forEach(e=>{let n=FA.get(e);n?.delete(t),n?.size||IA?.unobserve(e)})}}var RA=new Set,zA;function Rfe(){zA=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};RA.forEach(t=>t(e))},window.addEventListener(`resize`,zA)}function zfe(e){return RA.add(e),zA||Rfe(),()=>{RA.delete(e),!RA.size&&typeof zA==`function`&&(window.removeEventListener(`resize`,zA),zA=void 0)}}function BA(e,t){return typeof e==`function`?zfe(e):Lfe(e,t)}var VA={value:null,addProjectionMetrics:null};function Bfe(e){return PA(e)&&e.tagName===`svg`}var Vfe=[...dA,xO,OO],Hfe=e=>Vfe.find(uA(e)),HA=()=>({translate:0,scale:1,origin:0,originPoint:0}),UA=()=>({x:HA(),y:HA()}),WA=()=>({min:0,max:0}),GA=()=>({x:WA(),y:WA()}),Ufe=new WeakMap;function KA(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function qA(e){return typeof e==`string`||Array.isArray(e)}var JA=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],YA=[`initial`,...JA];function XA(e){return KA(e.animate)||YA.some(t=>qA(e[t]))}function ZA(e){return!!(XA(e)||e.variants)}function Wfe(e,t,n){for(let r in t){let i=t[r],a=n[r];if(rA(i))e.addValue(r,i);
134else if(rA(a))e.addValue(r,Rk(i,{owner:e}));else if(a!==i){if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,Rk(t===void 0?i:t,{owner:e}))}}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var QA={current:null},$A={current:!1},Gfe=typeof window<`u`;function Kfe(){if($A.current=!0,Gfe){if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>QA.current=e.matches;e.addEventListener(`change`,t),t()}else QA.current=!1}}var ej=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],tj={};function nj(e){tj=e}function qfe(){return tj}var Jfe=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,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=bk,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=eO.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,YD.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=XA(t),this.isVariantNode=ZA(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&rA(t)&&t.set(c[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,Ufe.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)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:($A.current||Kfe(),this.shouldReduceMotion=QA.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),XD(this.notifyUpdate),XD(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in 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??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Nk.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new Ok({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:kD(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=dk.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&YD.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in tj){let t=tj[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];
134t.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):GA()}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<ej.length;t++){let n=ej[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Wfe(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 n=this.values.get(e);t!==n&&(n&&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 n=this.values.get(e);return n===void 0&&t!==void 0&&(n=Rk(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(xD(n)||CD(n))?n=parseFloat(n):!Hfe(n)&&OO.test(t)&&(n=vA(e,t)),this.setBaseTarget(e,rA(n)?n.get():n)),rA(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=$k(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!rA(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new OD),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){CA.render(this.render)}},rj=class extends Jfe{constructor(){super(...arguments),this.KeyframeResolver=xfe}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;rA(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},ij=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function aj({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Yfe({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Xfe(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function oj(e){return e===void 0||e===1}function sj({scale:e,scaleX:t,scaleY:n}){return!oj(e)||!oj(t)||!oj(n)}function cj(e){return sj(e)||lj(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function lj(e){return uj(e.x)||uj(e.y)}function uj(e){return e&&e!==`0%`}function dj(e,t,n){return n+t*(e-n)}function fj(e,t,n,r,i){return i!==void 0&&(e=dj(e,i,r)),dj(e,n,r)+t}function pj(e,t=0,n=1,r,i){e.min=fj(e.min,t,n,r,i),e.max=fj(e.max,t,n,r,i)}function mj(e,{x:t,y:n}){pj(e.x,t.translate,t.scale,t.originPoint),pj(e.y,n.translate,n.scale,n.originPoint)}var hj=.999999999999,gj=1.0000000000001;function Zfe(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(_j(e.x,-a.scroll.offset.x),_j(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,mj(e,o)),r&&cj(a.latestValues)&&bj(e,a.latestValues,a.layout?.layoutBox))}t.x<gj&&t.x>hj&&(t.x=1),t.y<gj&&t.y>hj&&(t.y=1)}function _j(e,t){e.min+=t,e.max+=t}function vj(e,t,n,r,i=.5){pj(e,t,n,jO(e.min,e.max,i),r)}function yj(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function bj(e,t,n){let r=n??e;vj(e.x,yj(t.x,r.x),t.scaleX,t.scale,t.originX),vj(e.y,yj(t.y,r.y),t.scaleY,t.scale,t.originY)}function xj(e,t){return aj(Xfe(e.getBoundingClientRect(),t))}function Qfe(e,t,n){let r=xj(e,n),{scroll:i}=t;return i&&(_j(r.x,i.offset.x),_j(r.y,i.offset.y)),r}var $fe={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},epe=uk.length;function tpe(e,t,n){let r=``,i=!0;for(let a=0;a<epe;a++){let o=uk[a],s=e[o];if(s===void 0)continue;let c=!0;
134if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=xA(s,gA[o]);if(!c){i=!1;let t=$fe[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${xA(a,gA.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function Sj(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(dk.has(e)){o=!0;continue}if(nO(e)){i[e]=n;continue}{let t=xA(n,gA[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=tpe(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function Cj(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function wj(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Tj={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`){if(vO.test(e))e=parseFloat(e);else return e}return`${wj(e,t.target.x)}% ${wj(e,t.target.y)}%`}},npe={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=OO.parse(e);if(i.length>5)return r;let a=OO.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=jO(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},Ej={borderRadius:{...Tj,applyTo:[...yA]},borderTopLeftRadius:Tj,borderTopRightRadius:Tj,borderBottomLeftRadius:Tj,borderBottomRightRadius:Tj,boxShadow:npe};function Dj(e,{layout:t,layoutId:n}){return dk.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!Ej[e]||e===`opacity`)}function Oj(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(rA(r[t])||i&&rA(i[t])||Dj(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function rpe(e){return window.getComputedStyle(e)}var ipe=class extends rj{constructor(){super(...arguments),this.type=`html`,this.renderInstance=Cj}mount(e){e.style,super.mount(e)}readValueFromInstance(e,t){if(dk.has(t))return this.projection?.isProjecting?ck(t):Fde(e,t);{let n=rpe(e),r=(nO(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return xj(e,t)}build(e,t,n){Sj(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Oj(e,t,n)}},ape={offset:`stroke-dashoffset`,array:`stroke-dasharray`},ope={offset:`strokeDashoffset`,array:`strokeDasharray`};function spe(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?ape:ope;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var cpe=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function kj(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(Sj(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of cpe)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&spe(d,i,a,o,!1)}var Aj=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`]),jj=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function lpe(e,t,n,r){Cj(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Aj.has(n)?n:aA(n),t.attrs[n])}function Mj(e,t,n){let r=Oj(e,t,n);for(let n in e)if(rA(e[n])||rA(t[n])){let t=uk.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var upe=class extends rj{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=GA}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(dk.has(t)){let e=_A(t);return e&&e.default||0}return t=Aj.has(t)?t:aA(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Mj(e,t,n)}
134build(e,t,n){kj(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){lpe(e,t,n,r)}mount(e){this.isSVGTag=jj(e.tagName),super.mount(e)}},dpe=YA.length;function Nj(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Nj(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<dpe;n++){let r=YA[n],i=e.props[r];(qA(i)||i===!1)&&(t[r]=i)}return t}function Pj(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var fpe=[...JA].reverse(),ppe=JA.length;function mpe(e){return t=>Promise.all(t.map(({animation:t,options:n})=>dfe(e,t,n)))}function hpe(e){let t=mpe(e),n=Ij(),r=!0,i=!1,a=t=>(n,r)=>{let i=eA(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=Nj(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<ppe;t++){let p=fpe[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=qA(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||KA(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=gpe(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=nA(t)&&nA(n)?!Pj(t,n)||y:t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let D=v&&y;b&&(!D||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!D&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=eA(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Pk(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=eA(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Ij(),i=!0}}}function gpe(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Pj(t,e):!1}function Fj(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ij(){return{animate:Fj(!0),whileInView:Fj(),whileHover:Fj(),whileTap:Fj(),whileDrag:Fj(),whileFocus:Fj(),exit:Fj()}}function Lj(e,t){e.min=t.min,e.max=t.max}function Rj(e,t){Lj(e.x,t.x),Lj(e.y,t.y)}function zj(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var _pe=.9999,vpe=1.0001,ype=-.01,bpe=.01;function Bj(e){return e.max-e.min}function xpe(e,t,n){return Math.abs(e-t)<=n}function Vj(e,t,n,r=.5){e.origin=r,e.originPoint=jO(t.min,t.max,e.origin),e.scale=Bj(n)/Bj(t),e.translate=jO(n.min,n.max,e.origin)-e.originPoint,(e.scale>=_pe&&e.scale<=vpe||isNaN(e.scale))&&(e.scale=1),(e.translate>=ype&&e.translate<=bpe||isNaN(e.translate))&&(e.translate=0)}function Hj(e,t,n,r){Vj(e.x,t.x,n.x,r?r.originX:void 0),Vj(e.y,t.y,n.y,r?r.originY:void 0)}function Uj(e,t,n,r=0){e.min=(r?jO(n.min,n.max,r):n.min)+t.min,e.max=e.min+Bj(t)}function Spe(e,t,n,r){Uj(e.x,t.x,n.x,r?.x),Uj(e.y,t.y,n.y,r?.y)}function Wj(e,t,n,r=0){let i=r?jO(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Bj(t)}function Gj(e,t,n,r){Wj(e.x,t.x,n.x,r?.x),Wj(e.y,t.y,n.y,r?.y)}function Kj(e,t,n,r,i){return e-=t,e=dj(e,1/n,r),i!==void 0&&(e=dj(e,1/i,r)),e}function Cpe(e,t=0,n=1,r=.5,i,a=e,o=e){if(_O.test(t)&&(t=parseFloat(t),t=jO(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=jO(a.min,a.max,r);e===a&&(s-=t),e.min=Kj(e.min,t,n,s,i),e.max=Kj(e.max,t,n,s,i)}function qj(e,t,[n,r,i],a,o){Cpe(e,t[n],t[r],t[i],t.scale,a,o)}var wpe=[`x`,`scaleX`,`originX`],Tpe=[`y`,`scaleY`,`originY`];function Jj(e,t,n,r){qj(e.x,t,wpe,n?n.x:void 0,r?r.x:void 0),qj(e.
134y,t,Tpe,n?n.y:void 0,r?r.y:void 0)}function Yj(e){return e.translate===0&&e.scale===1}function Xj(e){return Yj(e.x)&&Yj(e.y)}function Zj(e,t){return e.min===t.min&&e.max===t.max}function Epe(e,t){return Zj(e.x,t.x)&&Zj(e.y,t.y)}function Qj(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function $j(e,t){return Qj(e.x,t.x)&&Qj(e.y,t.y)}function eM(e){return Bj(e.x)/Bj(e.y)}function tM(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function nM(e){return[e(`x`),e(`y`)]}function Dpe(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var Ope=yA.length,rM=e=>typeof e==`string`?parseFloat(e):e,iM=e=>typeof e==`number`||vO.test(e);function kpe(e,t,n,r,i,a){i?(e.opacity=jO(0,n.opacity??1,Ape(r)),e.o
134pacityExit=jO(t.opacity??1,0,jpe(r))):a&&(e.opacity=jO(t.opacity??1,n.opacity??1,r));for(let i=0;i<Ope;i++){let a=yA[i],o=aM(t,a),s=aM(n,a);(o!==void 0||s!==void 0)&&(o||=0,s||=0,o===0||s===0||iM(o)===iM(s)?(e[a]=Math.max(jO(rM(o),rM(s),r),0),(_O.test(s)||_O.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=jO(t.rotate||0,n.rotate||0,r))}function aM(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Ape=oM(0,.5,VD),jpe=oM(.5,.95,TD);function oM(e,t,n){return r=>r<e?0:r>t?1:n(DD(e,t,r))}function Mpe(e,t,n){let r=rA(e)?e:Rk(e);return r.start(Jk(``,r,t,n)),r.animation}function sM(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var cM=(e,t)=>e.depth-t.depth,lM=class{constructor(){this.children=[],this.isDirty=!1}add(e){_D(this.children,e),this.isDirty=!0}remove(e){vD(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(cM),this.isDirty=!1,this.children.forEach(e)}};function uM(e,t){let n=eO.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(XD(r),e(a-t))};return YD.setup(r,!0),()=>XD(r)}function dM(e){return rA(e)?e.get():e}var fM=class{constructor(){this.members=[]}add(e){_D(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(vD(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(vD(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(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.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)}},pM={hasAnimatedSinceResize:!0,hasEverUpdated:!1},mM={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},hM=[``,`X`,`Y`,`Z`],gM=1e3,_M=0;function vM(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function yM(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=sA(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,YD,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&yM(r)}function bM({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=_M++,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=()=>{this.projectionUpdateScheduled=!1,VA.value&&(mM.nodes=mM.calculatedTargetDeltas=mM.calculatedProjections=0),this.nodes.forEach(CM),this.nodes.forEach(MM),this.nodes.forEach(NM),this.nodes.forEach(wM),VA.addProjectionMetrics&&VA.addProjectionMetrics(mM)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new lM)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new OD),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=PA(t)&&!Bfe(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;YD.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=uM(i,250),pM.hasAnimatedSinceResize&&(pM.hasAnimatedSinceResize=!1,this.nodes.forEac
134h(jM)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||BM,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!$j(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...Bk(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||jM(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}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(),XD(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(PM),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&&yM(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,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(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.forEach(DM),this.nodes.forEach(EM);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(OM);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(kM),this.nodes.forEach(AM),this.nodes.forEach(xM),this.nodes.forEach(SM)):this.nodes.forEach(OM),this.clearAllSnapshots();let e=eO.now();ZD.delta=yD(0,1e3/60,e-ZD.timestamp),ZD.timestamp=e,ZD.isProcessing=!0,QD.update.process(ZD),QD.preRender.process(ZD),QD.render.process(ZD),ZD.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,CA.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(TM),this.sharedNodes.forEach(FM)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,YD.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){YD.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),this.snapshot&&!Bj(this.snapshot.measuredBox.x)&&!Bj(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||=GA(),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=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!Xj(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||cj(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),WM(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return GA();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(KM))){let{scroll:e}=this.root;e&&(_j(t.x,e.offset.x),_j(t.y,e.offset.y))}return t}removeElementScroll(e){let t=GA();if(Rj(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Rj(t,e),_j(t.x,i.offset.x),_j(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||GA();Rj(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(_j(r.x,-n.scroll.offset.x),_j(r.y,-n.scroll.offset.y)),cj(n.latestValues)&&bj(r,n.latestValues,n.layout?.layoutBox)}return cj(this.latestValues)&&bj(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=GA();Rj(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!cj(n.latestValues))continue;let r;n.instance&&(sj(n.latestValues)&&n.updateSnapshot(),r=GA(),Rj(r,n.measurePageBox())),Jj(t,n.latestValues,n.snapshot?.layoutBox,r)}return cj(this.latestValues)&&Jj(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0||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!==ZD.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;
134if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=ZD.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=GA(),this.targetWithTransforms=GA()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Spe(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Rj(this.target,this.layout.layoutBox),mj(this.target,this.targetDelta)):Rj(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),VA.value&&mM.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||sj(this.parent.latestValues)||lj(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=GA(),this.relativeTargetOrigin=GA(),Gj(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Rj(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===ZD.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Rj(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;Zfe(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=GA());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(zj(this.prevProjectionDelta.x,this.projectionDelta.x),zj(this.prevProjectionDelta.y,this.projectionDelta.y)),Hj(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!tM(this.projectionDelta.x,this.prevProjectionDelta.x)||!tM(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),VA.value&&mM.calculatedProjections++}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=UA(),this.projectionDelta=UA(),this.projectionDeltaWithTransform=UA()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=UA();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=GA(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!(!c||u||this.options.crossfade!==!0||this.path.some(zM));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=jO(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=jO(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(IM(o.x,e.x,n),IM(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Gj(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),RM(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&Epe(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=GA(),Rj(f,this.relativeTarget)),c&&(this.animationValues=a,kpe(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(XD(this.pendingAnimation),void 0),this.pendingAnimation=YD.update(()=>
134{pM.hasAnimatedSinceResize=!0,this.motionValue||=Rk(0),this.motionValue.jump(0,!1),this.currentAnimation=Mpe(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),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(gM),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&GM(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||GA();let t=Bj(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Bj(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Rj(t,n),bj(t,i),Hj(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new fM),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.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:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&vM(`z`,e,r,this.animationValues);for(let t=0;t<hM.length;t++)vM(`rotate${hM[t]}`,e,r,this.animationValues),vM(`skew${hM[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=dM(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=dM(t?.pointerEvents)||``),this.hasProjected&&!cj(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=Dpe(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,e.opacity=r.animationValues?r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in Ej){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=Ej[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?dM(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
134resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(EM),this.root.sharedNodes.clear()}}}function xM(e){e.updateLayout()}function SM(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)nM(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Bj(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Lj(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else GM(i,t.layoutBox,n)&&nM(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Bj(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=UA();Hj(o,n,t.layoutBox);let s=UA();a?Hj(s,e.applyTransform(r,!0),t.measuredBox):Hj(s,n,t.layoutBox);let c=!Xj(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=GA();Gj(s,t.layoutBox,i.layoutBox,o);let c=GA();Gj(c,n,a.layoutBox,o),$j(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function CM(e){VA.value&&mM.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function wM(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function TM(e){e.clearSnapshot()}function EM(e){e.clearMeasurements()}function DM(e){e.isLayoutDirty=!0,e.updateLayout()}function OM(e){e.isLayoutDirty=!1}function kM(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function AM(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function jM(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function MM(e){e.resolveTargetDelta()}function NM(e){e.calcProjection()}function PM(e){e.resetSkewAndRotation()}function FM(e){e.removeLeadSnapshot()}function IM(e,t,n){e.translate=jO(t.translate,0,n),e.scale=jO(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function LM(e,t,n,r){e.min=jO(t.min,n.min,r),e.max=jO(t.max,n.max,r)}function RM(e,t,n,r){LM(e.x,t.x,n.x,r),LM(e.y,t.y,n.y,r)}function zM(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var BM={duration:.45,ease:[.4,0,.1,1]},VM=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),HM=VM(`applewebkit/`)&&!VM(`chrome/`)?Math.round:TD;function UM(e){e.min=HM(e.min),e.max=HM(e.max)}function WM(e){UM(e.x),UM(e.y)}function GM(e,t,n){return e===`position`||e===`preserve-aspect`&&!xpe(eM(t),eM(n),.2)}function KM(e){return e!==e.root&&e.scroll?.wasRoot}var Npe=bM({attachResizeListener:(e,t)=>sM(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),qM={current:void 0},JM=bM({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!qM.current){let e=new Npe({});e.mount(window),e.setOptions({layoutScroll:!0}),qM.current=e}return qM.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),YM=(0,I.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function XM(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Ppe(...e){return t=>{let n=!1,r=e.map(e=>{let r=XM(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():XM(e[t],null)}}}}function Fpe(...e){return I.useCallback(Ppe(...e),e)}var Ipe=class extends I.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(SA(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=SA(e)&&e.offsetWidth||0,r=SA(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top,a.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}};function Lpe({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,I.useId)(),s=(0,I.useRef)(null),c=(0,I.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,I.useContext)(YM),u=Fpe(s,a===!1?void 0:e.props?.ref??e?.ref);return(0,I.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m,direction:h}=c.current;if(t||a===!1||!s.current||!e||!u)return;let g=h===`rtl`,_=n===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let y=document.createElement(`style`);l&&(y.nonce=l);let b=i??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(` 135 [data-motion-pop-id="${o}"] { 136 position: absolute !important; 137 width: ${e}px !important; 138 height: ${u}px !important; 139 ${_}px !important; 140 ${v}px !important; 141 } 142 `),()=>{s.current?.removeAttribute(`data-motion-pop-id`),b.contains(y)&&b.removeChild(y)}},[t]),(0,V.jsx)(Ipe,{isPresent:t,childRef:s,sizeRef:c,pop:a,children:a===!1?e:I.cloneElement(e,{ref:u})})}var Rpe=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:o,anchorX:s,anchorY:c,root:l})=>{let u=mD(zpe),d=(0,I.useId)(),f=(0,I.useRef)(n),p=(0,I.useRef)(r);hD(()=>{f.current=n,p.current=r});let m=!0,h=(0,I.useMemo)(()=>(m=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:e=>{u.set(e,!0);for(let e of u.values())if(!e)return;r&&r()},register:e=>(u.set(e,!1),()=>{u.delete(e),!f.current&&!u.size&&p.current?.()})}),[n,u,r]);return a&&m&&(h={...h}),(0,I.useMemo)(()=>{u.forEach((e,t)=>u.set(t,!1))},[n]),I.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=(0,V.jsx)(Lpe,{pop:o===`popLayout`,isPresent:n,anchorX:s,anchorY:c,root:l,children:e}),(0,V.jsx)(gD.Provider,{value:h,children:e})};function zpe(){return new Map}function ZM(e=!0){let t=(0,I.useContext)(gD);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,I.useId)();(0,I.useEffect)(()=>
142{if(e)return i(a)},[e]);let o=(0,I.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var QM=e=>e.key||``;function $M(e){let t=[];return I.Children.forEach(e,e=>{(0,I.isValidElement)(e)&&t.push(e)}),t}var Bpe=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a=`sync`,propagate:o=!1,anchorX:s=`left`,anchorY:c=`top`,root:l})=>{let[u,d]=ZM(o),f=(0,I.useMemo)(()=>$M(e),[e]),p=o&&!u?[]:f.map(QM),m=(0,I.useRef)(!0),h=(0,I.useRef)(f),g=mD(()=>new Map),_=(0,I.useRef)(new Set),[v,y]=(0,I.useState)(f),[b,x]=(0,I.useState)(f);hD(()=>{m.current=!1,h.current=f;for(let e=0;e<b.length;e++){let t=QM(b[e]);p.includes(t)?(g.delete(t),_.current.delete(t)):g.get(t)!==!0&&g.set(t,!1)}},[b,p.length,p.join(`-`)]);let S=[];if(f!==v){let e=[...f];for(let t=0;t<b.length;t++){let n=b[t],r=QM(n);p.includes(r)||(e.splice(t,0,n),S.push(n))}return a===`wait`&&S.length&&(e=S),x($M(e)),y(f),null}let{forceRender:C}=(0,I.useContext)(pD);return(0,V.jsx)(V.Fragment,{children:b.map(e=>{let v=QM(e),y=o&&!u?!1:f===b||p.includes(v);return(0,V.jsx)(Rpe,{isPresent:y,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:l,onExitComplete:y?void 0:()=>{if(_.current.has(v))return;if(g.has(v))_.current.add(v),g.set(v,!0);else return;let e=!0;g.forEach(t=>{t||(e=!1)}),e&&(C?.(),x(h.current),o&&d?.(),r&&r())},anchorX:s,anchorY:c,children:e},v)})})},eN=(0,I.createContext)({strict:!1}),tN={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`]},nN=!1;function Vpe(){if(nN)return;let e={};for(let t in tN)e[t]={isEnabled:e=>tN[t].some(t=>!!e[t])};nj(e),nN=!0}function rN(){return Vpe(),qfe()}function Hpe(e){let t=rN();for(let n in e)t[n]={...t[n],...e[n]};nj(t)}var Upe=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`.split(`.`));function iN(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Upe.has(e)}var aN=e=>!iN(e);function Wpe(e){typeof e==`function`&&(aN=t=>t.startsWith(`on`)?!iN(t):e(t))}try{Wpe(($ce(),d(Qce)).default)}catch{}function Gpe(e,t,n){let r={};for(let i in e)(i!==`values`||typeof e.values!=`object`)&&(rA(e[i])||(aN(i)||n===!0&&iN(i)||!t&&!iN(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]));return r}var oN=(0,I.createContext)({});function Kpe(e,t){if(XA(e)){let{initial:t,animate:n}=e;return{initial:t===!1||qA(t)?t:void 0,animate:qA(n)?n:void 0}}return e.inherit===!1?{}:t}function qpe(e){let{initial:t,animate:n}=Kpe(e,(0,I.useContext)(oN));return(0,I.useMemo)(()=>({initial:t,animate:n}),[sN(t),sN(n)])}function sN(e){return Array.isArray(e)?e.join(` `):e}var cN=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function lN(e,t,n){for(let r in t)!rA(t[r])&&!Dj(r,n)&&(e[r]=t[r])}function Jpe({transformTemplate:e},t){return(0,I.useMemo)(()=>{let n=cN();return Sj(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Ype(e,t){let n=e.style||{},r={};return lN(r,n,e),Object.assign(r,Jpe(e,t)),r}function Xpe(e,t){let n={},r=Ype(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var uN=()=>({...cN(),attrs:{}});function Zpe(e,t,n,r){let i=(0,I.useMemo)(()=>{let n=uN();return kj(n,t,jj(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};lN(t,e.style,e),i.style={...t,...i.style}}return i}var Qpe=[`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 dN(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(Qpe.indexOf(e)>-1||/[A-Z]/u.test(e))}function $pe(e,t,n,{latestValues:r},i,a=!1,o){let s=(o??dN(e)?Zpe:Xpe)(t,r,i,e),c=Gpe(t,typeof e==`string`,a),l=e===I.Fragment?{}:{...c,...s,ref:n},{children:u}=t,d=(0,I.useMemo)(()=>rA(u)?u.get():u,[u]);return(0,I.createElement)(e,{...l,children:d})}function eme({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:tme(n,r,i,e),renderState:t()}}function tme(e,t,n,r){let i={}
142,a=r(e,{});for(let e in a)i[e]=dM(a[e]);let{initial:o,animate:s}=e,c=XA(e),l=ZA(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!KA(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=$k(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var fN=e=>(t,n)=>{let r=(0,I.useContext)(oN),i=(0,I.useContext)(gD),a=()=>eme(e,t,r,i);return n?a():mD(a)},nme=fN({scrapeMotionValuesFromProps:Oj,createRenderState:cN}),rme=fN({scrapeMotionValuesFromProps:Mj,createRenderState:uN}),ime=Symbol.for(`motionComponentSymbol`);function ame(e,t,n){let r=(0,I.useRef)(n);(0,I.useInsertionEffect)(()=>{r.current=n});let i=(0,I.useRef)(null);return(0,I.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`){if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n)}else a&&(a.current=n)},[t])}var pN=(0,I.createContext)({});function mN(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function ome(e,t,n,r,i,a){let{visualElement:o}=(0,I.useContext)(oN),s=(0,I.useContext)(eN),c=(0,I.useContext)(gD),l=(0,I.useContext)(YM),u=l.reducedMotion,d=l.skipAnimations,f=(0,I.useRef)(null),p=(0,I.useRef)(!1);r||=s.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let m=f.current,h=(0,I.useContext)(pN);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&sme(f.current,n,i,h);let g=(0,I.useRef)(!1);(0,I.useInsertionEffect)(()=>{m&&g.current&&m.update(n,c)});let _=n[oA],v=(0,I.useRef)(!!_&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return hD(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,I.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),!1),m.enteringChildren=void 0)}),m}function sme(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:hN(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&mN(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function hN(e){if(e)return e.options.allowProjection===!1?hN(e.parent):e.projection}function gN(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Hpe(r);let a=n?n===`svg`:dN(e),o=a?rme:nme;function s(n,s){let c,l={...(0,I.useContext)(YM),...n,layoutId:cme(n)},{isStatic:u}=l,d=qpe(n),f=o(n,u);if(!u&&typeof window<`u`){lme(l,r);let t=ume(l);c=t.MeasureLayout,d.visualElement=ome(e,f,l,i,t.ProjectionNode,a)}return(0,V.jsxs)(oN.Provider,{value:d,children:[c&&d.visualElement?(0,V.jsx)(c,{visualElement:d.visualElement,...l}):null,$pe(e,n,ame(f,d.visualElement,s),f,u,t,a)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,I.forwardRef)(s);return c[ime]=e,c}function cme({layoutId:e}){let t=(0,I.useContext)(pD).id;return t&&e!==void 0?t+`-`+e:e}function lme(e,t){(0,I.useContext)(eN).strict}function ume(e){let{drag:t,layout:n}=rN();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function dme(e,t){if(typeof Proxy>`u`)return gN;let n=new Map,r=(n,r)=>gN(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,gN(a,void 0,e,t)),n.get(a))})}var fme=(e,t)=>t.isSVG??dN(e)?new upe(t):new ipe(t,{allowProjection:e!==I.Fragment}),pme=class extends ij{constructor(e){super(e),e.animationState||=hpe(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();KA(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?.()}},mme=0,hme={animation:{Feature:pme},exit:{Feature:class extends ij{constructor(){super(...arguments),this.id=mme++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`||typeof e==`object`&&e&&!Array.isArray(e)){let n=eA(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(`exit`,!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>
142{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(){}}}};function _N(e){return{point:{x:e.pageX,y:e.pageY}}}var gme=e=>t=>OA(t)&&e(t,_N(t));function vN(e,t,n,r){return sM(e,t,gme(n),r)}var yN=({current:e})=>e?e.ownerDocument.defaultView:null,bN=(e,t)=>Math.abs(e-t);function _me(e,t){let n=bN(e.x,t.x),r=bN(e.y,t.y);return Math.sqrt(n**2+r**2)}var xN=new Set([`auto`,`scroll`]),SN=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=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=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=CN(this.lastRawMoveEventInfo,this.transformPagePoint));let e=TN(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=_me(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=ZD;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=CN(t,this.transformPagePoint),YD.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=TN(e.type===`pointercancel`?this.lastMoveEventInfo:CN(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!OA(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=CN(_N(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=ZD;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,TN(s,this.history));let d={passive:!0,capture:!0};this.removeListeners=ED(vN(this.contextWindow,`pointermove`,this.handlePointerMove,d),vN(this.contextWindow,`pointerup`,this.handlePointerUp,d),vN(this.contextWindow,`pointercancel`,this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(xN.has(e.overflowX)||xN.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 n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};(i.x!==0||i.y!==0)&&(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),YD.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),XD(this.updatePoint)}};function CN(e,t){return t?{point:t(e.point)}:e}function wN(e,t){return{x:e.x-t.x,y:e.y-t.y}}function TN({point:e},t){return{point:e,delta:wN(e,EN(t)),offset:wN(e,vme(t)),velocity:yme(t,.1)}}function vme(e){return e[0]}function EN(e){return e[e.length-1]}function yme(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=EN(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>kD(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>kD(t)*2&&(r=e[1]);let a=AD(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function bme(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?jO(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?jO(n,e,r.max):Math.min(e,n)),e}function DN(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function xme(e,{top:t,left:n,bottom:r,right:i}){return{x:DN(e.x,n,i),y:DN(e.y,t,r)}}function ON(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Sme(e,t){return{x:ON(e.x,t.x),y:ON(e.y,t.y)}}function Cme(e,t){let n=.5,r=Bj(e),i=Bj(t);return i>r?n=DD(t.min,t.max-r,e.min):r>i&&(n=DD(e.min,e.max-i,t.min)),yD(0,1,n)}function wme(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var kN=.35;function Tme(e=kN){return e===!1?e=0:e===!0&&(e=kN),{x:AN(e,`left`,`right`),y:AN(e,`top`,`bottom`)}}
142function AN(e,t,n){return{min:jN(e,t),max:jN(e,n)}}function jN(e,t){return typeof e==`number`?e:e[t]||0}var Eme=new WeakMap,Dme=class{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=GA(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(_N(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Cfe(n),!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),nM(e=>{let t=this.getAxisMotionValue(e).get()||0;if(_O.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=Bj(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&YD.update(()=>i(e,t),!1,!0),iA(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=kme(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&YD.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new SN(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:yN(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&YD.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&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,n){let{drag:r}=this.getProps();if(!n||!NN(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=bme(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&mN(e)?this.constraints||=this.resolveRefConstraints():this.constraints=e&&n?xme(n.layoutBox,e):!1,this.elastic=Tme(t),r!==this.constraints&&!mN(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&nM(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=wme(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!mN(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let i=Qfe(n,r.root,this.visualElement.getTransformPagePoint()),a=Sme(r.layout.layoutBox,i);if(t){let e=t(Yfe(a));this.hasMutatedConstraints=!!e,e&&(a=aj(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=nM(o=>{if(!NN(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return iA(this.visualElement,e),n.start(Jk(e,n,0,t,this.visualElement,!1))}stopAnimation(){nM(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){nM(t=>{let{drag:n}=this.getProps();if(!NN(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-jO(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!mN(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};nM(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=Cme({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),nM(t=>{if(!NN(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(jO(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Eme.set(this.visualElement,this);let e=this.visualElement.current,t=vN(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&kfe(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();mN(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=Ome(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),YD.read(r);let o=sM(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(nM(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=kN,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function MN(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function Ome(e,t,n){let r=BA(e,MN(n)),i=BA(t,MN(n));return()=>{r(),i()}}function NN(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function kme(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var Ame=class extends ij{constructor(e){super(e),this.removeGroupControls=TD,this.removeListeners=TD,this.controls=new Dme(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||TD}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()}},PN=e=>(t,n)=>{e&&YD.update(()=>e(t,n),!1,!0)},jme=class extends ij{constructor(){super(...arguments),this.removePointerDownListener=TD}onPointerDown(e){this.session=new SN(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:yN(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:PN(e),onStart:PN(t),onMove:PN(n),onEnd:(e,t)=>{delete this.session,r&&YD.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=vN(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},FN=!1,Mme=class extends I.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),FN&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),pM.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),FN=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||YD.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),CA.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;FN=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function IN(e){let[t,n]=ZM(),r=(0,I.useContext)(pD);return(0,V.jsx)(Mme,{...e,layoutGroup:r,switchLayoutGroup:(0,I.useContext)(pN),isPresent:t,safeToRemove:n})}var Nme={pan:{Feature:jme},drag:{Feature:Ame,ProjectionNode:JM,MeasureLayout:IN}};function LN(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&YD.postRender(()=>i(t,_N(t)))}var Pme=class extends ij{mount(){let{current:e}=this.node;e&&(this.unmount=Tfe(e,(e,t)=>(LN(this.node,t,`Start`),e=>LN(this.node,e,`End`))))}unmount(){}},Fme=class extends ij{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{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=ED(sM(this.node.current,`focus`,()=>this.onFocus()),sM(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function RN(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&YD.postRender(()=>i(t,_N(t)))}var Ime=class extends ij{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=jfe(e,(e,t)=>(RN(this.node,t,`Start`),(e,{success:t})=>RN(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},zN=new WeakMap,BN=new WeakMap,Lme=e=>{let t=zN.get(e.target);t&&t(e)},Rme=e=>{e.forEach(Lme)};function zme({root:e,...t}){let n=e||document;BN.has(n)||BN.set(n,{});let r=BN.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Rme,{root:e,...t})),r[i]}function Bme(e,t,n){let r=zme(t);return zN.set(e,n),r.observe(e),()=>{zN.delete(e),r.unobserve(e)}}var Vme={some:0,all:1},Hme=class extends ij{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:Vme[r]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)};this.stopObserver=Bme(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(Ume(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function Ume({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var Wme={inView:{Feature:Hme},tap:{Feature:Ime},focus:{Feature:Fme},hover:{Feature:Pme}},Gme={layout:{ProjectionNode:JM,MeasureLayout:IN}},VN=dme({...hme,...Wme,...Nme,...Gme},fme),Kme=U(VN.div)` 143 z-index: ${({theme:e})=>e.zIndices.portal}; 144 ${({theme:e})=>e.overlayDrawer.overlay}; 145`,qme=U(VN.div)` 146 z-index: ${({theme:e})=>e.zIndices.portal}; 147 ${({theme:e})=>e.overlayDrawer.wrapper}; 148`,Jme={hidden:{opacity:0,transition:{duration:.2,ease:`easeIn`}},visible:{opacity:.2,transition:{duration:.2,ease:`easeOut`}}},Yme={hidden:{x:`100%`,transition:{duration:.2,ease:`easeIn`}},visible:{x:`0%`,transition:{duration:.2,ease:`easeOut`}}},HN=({open:e,children:t,className:n,onClose:r,onOpened:i,onClosed:a,rootElement:o})=>(0,V.jsx)(Bpe,{onExitComplete:a,children:e&&(0,V.jsxs)(XE,{onClose:r,container:$E(o),children:[(0,V.jsx)(Kme,{variants:Jme,initial:`hidden`,exit:`hidden`,animate:`visible`,onClick:e=>{e.stopPropagation(),r&&r()}}),(0,V.jsx)(qme,{variants:Yme,initial:`hidden`,exit:`hidden`,animate:`visible`,onAnimationComplete:e=>{e===`visible`&&i?.call(void 0)},className:n,onClick:e=>{e.stopPropagation()},children:t})]})}),UN=U.div` 149 ${({theme:e})=>e.drawer.body}; 150`,WN=U.div` 151 display: grid; 152 grid-auto-flow: column; 153 grid-auto-columns: max-content; 154 gap: ${({theme:e})=>e.spacing(4)}; 155`,GN=U.div` 156 display: grid; 157 grid-template-columns: 1fr max-content; 158 gap: ${({theme:e})=>e.spacing(4)}; 159 padding: ${({theme:e})=>e.spacing(4)}; 160`,KN=U.div` 161 ${({theme:e})=>e.accordion.body}
161; 162`,Xme=U(VN.section)` 163 ${({theme:e})=>e.accordion.content}; 164`,Zme=({open:e=!1,withActions:t,id:n,children:r})=>{let i=(0,I.useRef)(null),[a,o]=(0,I.useState)(0),s=(0,I.useCallback)(()=>{i.current&&o(i.current.scrollHeight)},[]),c=(0,I.useMemo)(()=>new MutationObserver(s),[s]);return(0,I.useEffect)(()=>(s(),window.addEventListener(`resize`,s),i.current&&c.observe(i.current,{subtree:!0,characterData:!0,childList:!0,attributes:!0,attributeFilter:[`class`,`style`]}),()=>{window.removeEventListener(`resize`,s),c.disconnect()}),[s,c]),(0,V.jsx)(Xme,{ref:i,id:n,"aria-expanded":e,$withActions:t,initial:{maxHeight:0},animate:{maxHeight:e?a:0},transition:{duration:.15},children:r})},Qme=U.button` 165 ${({theme:e})=>e.accordion.header}; 166`,$me=U.span` 167 ${({theme:e})=>e.accordion.headerTitle}; 168`,ehe=U(nD)` 169 ${({theme:e})=>e.accordion.indicator}; 170`,the=e=>(0,V.jsx)(ehe,{...e,$icon:`caret`}),nhe=U(VN.span)` 171 ${({theme:e})=>e.accordion.toggle}; 172`,rhe=({open:e=!1,className:t})=>(0,V.jsx)(nhe,{className:t,initial:{rotate:`90deg`},animate:{rotate:e?`-90deg`:`90deg`},transition:{duration:.15},children:(0,V.jsx)(the,{})}),ihe=U.div` 173 ${({theme:e})=>e.accordion.wrapper}; 174`,ahe=U.span` 175 ${({theme:e})=>e.accordion.actions}; 176`,ohe={$colorSchema:{colorSchemaType:`content`},$borderBottom:!1,$showShadow:!1},she=({body:e,title:t,actions:n,open:r,onToggle:i,className:a,accordionWrapperProps:o=ohe})=>{let{t:s}=B(),c=(0,I.useId)();return(0,V.jsxs)(ihe,{className:a,$colorSchema:o.$colorSchema,$borderBottomColor:o.$borderBottomColor,$borderBottom:o.$borderBottom,$showShadow:o.$showShadow,children:[(0,V.jsxs)(Qme,{"aria-controls":c,title:s(r?`Close accordion`:`Open accordion`),onClick:i,$withActions:!!n,type:`button`,children:[(0,V.jsx)(rhe,{open:r}),(0,V.jsx)($me,{children:t})]}),n&&(0,V.jsx)(ahe,{children:n}),(0,V.jsx)(Zme,{id:c,withActions:!!n,open:r,children:e})]})},qN=({initialOpen:e=!1,onToggle:t,...n})=>{let[r,i]=(0,I.useState)(e),a=(0,I.useCallback)(()=>{i(!r),t&&t(!r)},[t,r]);return(0,V.jsx)(she,{...n,open:r,onToggle:a})},che=U.a` 177 ${({theme:e})=>e.buttons.base}; 178 ${({$color:e,theme:t})=>t.buttons.colors[e].base}; 179 ${({$size:e,theme:t})=>e===`small`?t.buttons.small.base:``}; 180`,JN=I.forwardRef(function({children:e,prefix:t,color:n=`default`,size:r=`default`,...i},a){return(0,V.jsx)(che,{$color:n,$size:r,...i,ref:a,children:(0,V.jsx)(PE,{color:n,size:r,prefix:t,children:e})})}),lhe=U.div` 181 ${({theme:e})=>e.content.section.outer}; 182`,uhe=U.div` 183 ${({theme:e})=>e.content.position}; 184 ${({theme:e})=>e.content.section.inner}; 185`,YN=({color:e=`background`,children:t,className:n,customColor:r,customTextColor:i})=>(0,V.jsx)(lhe,{$color:e,$customColor:r,$customTextColor:i,children:(0,V.jsx)(uhe,{className:n,children:t})}),XN=U.h1` 186 ${({theme:e})=>e.headings.base}; 187 ${({theme:e})=>e.headings.h1}; 188`,ZN=U.h4` 189 ${({theme:e})=>e.headings.base}; 190 ${({theme:e})=>e.headings.h4}; 191`,dhe=function(e){return fhe(e)&&!phe(e)};function fhe(e){return!!e&&typeof e==`object`}function phe(e){var t=Object.prototype.toString.call(e);return t===`[object RegExp]`||t===`[object Date]`||hhe(e)}var mhe=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.element`):60103;function hhe(e){return e.$$typeof===mhe}function ghe(e){return Array.isArray(e)?[]:{}}function QN(e,t){return t.clone!==!1&&t.isMergeableObject(e)?$N(ghe(e),e,t):e}function _he(e,t,n){return e.concat(t).map(function(e){return QN(e,n)})}function vhe(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(t){r[t]=QN(e[t],n)}),Object.keys(t).forEach(function(i){r[i]=!n.isMergeableObject(t[i])||!e[i]?QN(t[i],n):$N(e[i],t[i],n)}),r}function $N(e,t,n){n||={},n.arrayMerge=n.arrayMerge||_he,n.isMergeableObject=n.isMergeableObject||dhe;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):vhe(e,t,n):QN(t,n)}$N.all=function(e,t){if(!Array.isArray(e))throw Error(`first argument should be an array`);return e.reduce(function(e,n){return $N(e,n,t)},{})};var eP=$N,tP=typeof global==`object`&&global&&global.Object===Object&&global,yhe=typeof self==`object`&&self&&self.Object===Object&&self,nP=tP||yhe||Function(`return this`)(),rP=nP.Symbol,iP=Object.prototype,bhe=iP.hasOwnProperty,xhe=iP.toString,aP=rP?rP.toStringTag:void 0;function She(e){var t=bhe.call(e,aP),n=e[aP];try{e[aP]=void 0;var r=!0}catch{}var i=xhe.call(e);return r&&(t?e[aP]=n:delete e[aP]),i}var Che=Object.prototype.toString;function whe(e){return Che.call(e)}
vendor: 6,314 bytes, line 191
191var The=`[object Null]`,Ehe=`[object Undefined]`,oP=rP?rP.toStringTag:void 0;function sP(e){return e==null?e===void 0?Ehe:The:oP&&oP in Object(e)?She(e):whe(e)}function cP(e,t){return function(n){return e(t(n))}}var lP=cP(Object.getPrototypeOf,Object);function uP(e){return typeof e==`object`&&!!e}var Dhe=`[object Object]`,Ohe=Function.prototype,khe=Object.prototype,dP=Ohe.toString,Ahe=khe.hasOwnProperty,jhe=dP.call(Object);function fP(e){if(!uP(e)||sP(e)!=Dhe)return!1;var t=lP(e);if(t===null)return!0;var n=Ahe.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&dP.call(n)==jhe}function Mhe(){this.__data__=[],this.size=0}function pP(e,t){return e===t||e!==e&&t!==t}function mP(e,t){for(var n=e.length;n--;)if(pP(e[n][0],t))return n;return-1}var Nhe=Array.prototype.splice;function Phe(e){var t=this.__data__,n=mP(t,e);return n<0?!1:(n==t.length-1?t.pop():Nhe.call(t,n,1),--this.size,!0)}function Fhe(e){var t=this.__data__,n=mP(t,e);return n<0?void 0:t[n][1]}function Ihe(e){return mP(this.__data__,e)>-1}function Lhe(e,t){var n=this.__data__,r=mP(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function hP(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}hP.prototype.clear=Mhe,hP.prototype.delete=Phe,hP.prototype.get=Fhe,hP.prototype.has=Ihe,hP.prototype.set=Lhe;function Rhe(){this.__data__=new hP,this.size=0}function zhe(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Bhe(e){return this.__data__.get(e)}function Vhe(e){return this.__data__.has(e)}function gP(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var Hhe=`[object AsyncFunction]`,Uhe=`[object Function]`,Whe=`[object GeneratorFunction]`,Ghe=`[object Proxy]`;function _P(e){if(!gP(e))return!1;var t=sP(e);return t==Uhe||t==Whe||t==Hhe||t==Ghe}var vP=nP[`__core-js_shared__`],yP=function(){var e=/[^.]+$/.exec(vP&&vP.keys&&vP.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function Khe(e){return!!yP&&yP in e}var qhe=Function.prototype.toString;function bP(e){if(e!=null){try{return qhe.call(e)}catch{}try{return e+``}catch{}}return``}var Jhe=/[\\^$.*+?()[\]{}|]/g,Yhe=/^\[object .+?Constructor\]$/,Xhe=Function.prototype,Zhe=Object.prototype,Qhe=Xhe.toString,$he=Zhe.hasOwnProperty,ege=RegExp(`^`+Qhe.call($he).replace(Jhe,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function tge(e){return!gP(e)||Khe(e)?!1:(_P(e)?ege:Yhe).test(bP(e))}function nge(e,t){return e?.[t]}function xP(e,t){var n=nge(e,t);return tge(n)?n:void 0}var SP=xP(nP,`Map`),CP=xP(Object,`create`);function rge(){this.__data__=CP?CP(null):{},this.size=0}function ige(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}var age=`__lodash_hash_undefined__`,oge=Object.prototype.hasOwnProperty;function sge(e){var t=this.__data__;if(CP){var n=t[e];return n===age?void 0:n}return oge.call(t,e)?t[e]:void 0}var cge=Object.prototype.hasOwnProperty;function lge(e){var t=this.__data__;return CP?t[e]!==void 0:cge.call(t,e)}var uge=`__lodash_hash_undefined__`;function dge(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=CP&&t===void 0?uge:t,this}function wP(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}wP.prototype.clear=rge,wP.prototype.delete=ige,wP.prototype.get=sge,wP.prototype.has=lge,wP.prototype.set=dge;function fge(){this.size=0,this.__data__={hash:new wP,map:new(SP||hP),string:new wP}}function pge(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function TP(e,t){var n=e.__data__;return pge(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function mge(e){var t=TP(this,e).delete(e);return this.size-=+!!t,t}function hge(e){return TP(this,e).get(e)}function gge(e){return TP(this,e).has(e)}function _ge(e,t){var n=TP(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function EP(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}EP.prototype.clear=fge,EP.prototype.delete=mge,EP.prototype.get=hge,EP.prototype.has=gge,EP.prototype.set=_ge;var vge=200;function yge(e,t){var n=this.__data__;if(n instanceof hP){var r=n.__data__;if(!SP||r.length<vge-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new EP(r)}return n.set(e,t),this.size=n.size,this}function DP(e){var t=this.__data__=new hP(e);this.size=t.size}DP.prototype.clear=Rhe,DP.prototype.delete=zhe,DP.prototype.get=Bhe,DP.prototype.has=Vhe,DP.prototype.set=yge;function bge(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var OP=function(){try{var e=xP(Object,`defineProperty`);return e({},``,{}),e}catch{}}();function kP(e,t,n){t==`__proto__`&&OP?OP(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var xge=Object.prototype.hasOwnProperty;function AP(e,t,n){var r=e[t];(!(xge.call(e,t)&&pP(r,n))||n===void 0&&!(t in e))&&kP(e,t,n)}function jP(e,t,n,r){var i=!n;n||={};for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?kP(n,s,c):AP(n,s,c)}return n}function Sge(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var Cge=`[object Arguments]`;function MP(e){return uP(e)&&sP(e)==Cge}var NP=Object.prototype,wge=NP.hasOwnProperty,Tge=NP.propertyIsEnumerable,Ege=MP(function(){return arguments}())?MP:function(e){return uP(e)&&wge.call(e,`callee`)&&!Tge.call(e,`callee`)},PP=Array.isArray;function Dge(){return!1}var FP=typeof exports==`object`&&exports&&!exports.nodeType&&exports,IP=FP&&typeof module==`object`&&module&&!module.nodeType&&module,LP=IP&&IP.exports===FP?nP.Buffer:void 0,RP=(LP?LP.isBuffer:void 0)||Dge,Oge=9007199254740991,kge=/^(?:0|[1-9]\d*)$/;function Age(e,t){var n=typeof e;return t??=Oge,!!t&&(n==`number`||n!=`symbol`&&kge.test(e))&&e>-1&&e%1==0&&e<t}var jge=9007199254740991;function zP(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=jge}var Mge=`[object Arguments]`,Nge=`[object Array]`,Pge=`[object Boolean]`,Fge=`[object Date]`,Ige=`[object Error]`,Lge=`[object Function]`,Rge=`[object Map]`,zge=`[object Number]`,Bge=`[object Object]`,Vge=`[object RegExp]`,Hge=`[object Set]`,Uge=`[object String]`,Wge=`[object WeakMap]`,Gge=`[object ArrayBuffer]`,Kge=`[object DataView]`,qge=`[object Float32Array]`,Jge=`[object Float64Array
191]`,Yge=`[object Int8Array]`,Xge=`[object Int16Array]`,Zge=`[object Int32Array]`,Qge=`[object Uint8Array]`,$ge=`[object Uint8ClampedArray]`,e_e=`[object Uint16Array]`,t_e=`[object Uint32Array]`,BP={};BP[qge]=BP[Jge]=BP[Yge]=BP[Xge]=BP[Zge]=BP[Qge]=BP[$ge]=BP[e_e]=BP[t_e]=!0,BP[Mge]=BP[Nge]=BP[Gge]=BP[Pge]=BP[Kge]=BP[Fge]=BP[Ige]=BP[Lge]=BP[Rge]=BP[zge]=BP[Bge]=BP[Vge]=BP[Hge]=BP[Uge]=BP[Wge]=!1;function n_e(e){return uP(e)&&zP(e.length)&&!!BP[sP(e)]}function VP(e){return function(t){return e(t)}}var HP=typeof exports==`object`&&exports&&!exports.nodeType&&exports,UP=HP&&typeof module==`object`&&module&&!module.nodeType&&module,WP=UP&&UP.exports===HP&&tP.process,GP=function(){try{return UP&&UP.require&&UP.require(`util`).types||WP&&WP.binding&&WP.binding(`util`)}catch{}}(),KP=GP&&GP.isTypedArray,r_e=KP?VP(KP):n_e,i_e=Object.prototype.hasOwnProperty;function qP(e,t){var n=PP(e),r=!n&&Ege(e),i=!n&&!r&&RP(e),a=!n&&!r&&!i&&r_e(e),o=n||r||i||a,s=o?Sge(e.length,String):[],c=s.length;for(var l in e)(t||i_e.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||Age(l,c)))&&s.push(l);return s}var a_e=Object.prototype;function JP(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||a_e)}var o_e=cP(Object.keys,Object),s_e=Object.prototype.hasOwnProperty;function c_e(e){if(!JP(e))return o_e(e);var t=[];for(var n in Object(e))s_e.call(e,n)&&n!=`constructor`&&t.push(n);return t}function YP(e){return e!=null&&zP(e.length)&&!_P(e)}function XP(e){return YP(e)?qP(e):c_e(e)}function l_e(e,t){return e&&jP(t,XP(t),e)}function u_e(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var d_e=Object.prototype.hasOwnProperty;function f_e(e){if(!gP(e))return u_e(e);var t=JP(e),n=[];for(var r in e)(r!=`constructor`||!t&&d_e.call(e,r))&&n.push(r);return n}function ZP(e){return YP(e)?qP(e,!0):f_e(e)}function p_e(e,t){return e&&jP(t,ZP(t),e)}var QP=typeof exports==`object`&&exports&&!exports.nodeType&&exports,$P=QP&&typeof module==`object`&&module&&!module.nodeType&&module,eF=$P&&$P.exports===QP?nP.Buffer:void 0,tF=eF?eF.allocUnsafe:void 0;function m_e(e,t){if(t)return e.slice();var n=e.length,r=tF?tF(n):new e.constructor(n);return e.copy(r),r}function nF(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}function h_e(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function rF(){return[]}var g_e=Object.prototype.propertyIsEnumerable,iF=Object.getOwnPropertySymbols,aF=iF?function(e){return e==null?[]:(e=Object(e),h_e(iF(e),function(t){return g_e.call(e,t)}))}:rF;function __e(e,t){return jP(e,aF(e),t)}function oF(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var sF=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)oF(t,aF(e)),e=lP(e);return t}:rF;function v_e(e,t){return jP(e,sF(e),t)}function cF(e,t,n){var r=t(e);return PP(e)?r:oF(r,n(e))}function y_e(e){return cF(e,XP,aF)}function b_e(e){return cF(e,ZP,sF)}var lF=xP(nP,`DataView`),uF=xP(nP,`Promise`),dF=xP(nP,`Set`),fF=xP(nP,`WeakMap`),pF=`[object Map]`,x_e=`[object Object]`,mF=`[object Promise]`,hF=`[object Set]`,gF=`[object WeakMap]`,_F=`[object DataView]`,S_e=bP(lF),C_e=bP(SP),w_e=bP(uF),T_e=bP(dF),E_e=bP(fF),vF=sP;(lF&&vF(new lF(new ArrayBuffer(1)))!=_F||SP&&vF(new SP)!=pF||uF&&vF(uF.resolve())!=mF||dF&&vF(new dF)!=hF||fF&&vF(new fF)!=gF)&&(vF=function(e){var t=sP(e),n=t==x_e?e.constructor:void 0,r=n?bP(n):``;if(r)switch(r){case S_e:return _F;case C_e:return pF;case w_e:return mF;case T_e:return hF;case E_e:return gF}return t});var yF=vF,D_e=Object.prototype.hasOwnProperty;function O_e(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&D_e.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}var bF=nP.Uint8Array;function xF(e){var t=new e.constructor(e.byteLength);return new bF(t).set(new bF(e)),t}function k_e(e,t){var n=t?xF(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var A_e=/\w*$/;function j_e(e){var t=new e.constructor(e.source,A_e.exec(e));return t.lastIndex=e.lastIndex,t}
191var SF=rP?rP.prototype:void 0,CF=SF?SF.valueOf:void 0;function M_e(e){return CF?Object(CF.call(e)):{}}function N_e(e,t){var n=t?xF(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var P_e=`[object Boolean]`,F_e=`[object Date]`,I_e=`[object Map]`,L_e=`[object Number]`,R_e=`[object RegExp]`,z_e=`[object Set]`,B_e=`[object String]`,V_e=`[object Symbol]`,H_e=`[object ArrayBuffer]`,U_e=`[object DataView]`,W_e=`[object Float32Array]`,G_e=`[object Float64Array]`,K_e=`[object Int8Array]`,q_e=`[object Int16Array]`,J_e=`[object Int32Array]`,Y_e=`[object Uint8Array]`,X_e=`[object Uint8ClampedArray]`,Z_e=`[object Uint16Array]`,Q_e=`[object Uint32Array]`;function $_e(e,t,n){var r=e.constructor;switch(t){case H_e:return xF(e);case P_e:case F_e:return new r(+e);case U_e:return k_e(e,n);case W_e:case G_e:case K_e:case q_e:case J_e:case Y_e:case X_e:case Z_e:case Q_e:return N_e(e,n);case I_e:return new r;case L_e:case B_e:return new r(e);case R_e:return j_e(e);case z_e:return new r;case V_e:return M_e(e)}}var wF=Object.create,eve=function(){function e(){}return function(t){if(!gP(t))return{};if(wF)return wF(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function tve(e){return typeof e.constructor==`function`&&!JP(e)?eve(lP(e)):{}}var nve=`[object Map]`;function rve(e){return uP(e)&&yF(e)==nve}var TF=GP&&GP.isMap,ive=TF?VP(TF):rve,ave=`[object Set]`;function ove(e){return uP(e)&&yF(e)==ave}var EF=GP&&GP.isSet,sve=EF?VP(EF):ove,cve=1,lve=2,uve=4,DF=`[object Arguments]`,dve=`[object Array]`,fve=`[object Boolean]`,pve=`[object Date]`,mve=`[object Error]`,OF=`[object Function]`,hve=`[object GeneratorFunction]`,gve=`[object Map]`,_ve=`[object Number]`,kF=`[object Object]`,vve=`[object RegExp]`,yve=`[object Set]`,bve=`[object String]`,xve=`[object Symbol]`,Sve=`[object WeakMap]`,Cve=`[object ArrayBuffer]`,wve=`[object DataView]`,Tve=`[object Float32Array]`,Eve=`[object Float64Array]`,Dve=`[object Int8Array]`,Ove=`[object Int16Array]`,kve=`[object Int32Array]`,Ave=`[object Uint8Array]`,jve=`[object Uint8ClampedArray]`,Mve=`[object Uint16Array]`,Nve=`[object Uint32Array]`,AF={};AF[DF]=AF[dve]=AF[Cve]=AF[wve]=AF[fve]=AF[pve]=AF[Tve]=AF[Eve]=AF[Dve]=AF[Ove]=AF[kve]=AF[gve]=AF[_ve]=AF[kF]=AF[vve]=AF[yve]=AF[bve]=AF[xve]=AF[Ave]=AF[jve]=AF[Mve]=AF[Nve]=!0,AF[mve]=AF[OF]=AF[Sve]=!1;function jF(e,t,n,r,i,a){var o,s=t&cve,c=t&lve,l=t&uve;if(n&&(o=i?n(e,r,i,a):n(e)),o!==void 0)return o;if(!gP(e))return e;var u=PP(e);if(u){if(o=O_e(e),!s)return nF(e,o)}else{var d=yF(e),f=d==OF||d==hve;if(RP(e))return m_e(e,s);if(d==kF||d==DF||f&&!i){if(o=c||f?{}:tve(e),!s)return c?v_e(e,p_e(o,e)):__e(e,l_e(o,e))}else{if(!AF[d])return i?e:{};o=$_e(e,d,s)}}a||=new DP;var p=a.get(e);if(p)return p;a.set(e,o),sve(e)?e.forEach(function(r){o.add(jF(r,t,n,r,e,a))}):ive(e)&&e.forEach(function(r,i){o.set(i,jF(r,t,n,i,e,a))});var m=u?void 0:(l?c?b_e:y_e:c?ZP:XP)(e);return bge(m||e,function(r,i){m&&(i=r,r=e[i]),AP(o,i,jF(r,t,n,i,e,a))}),o}var Pve=1,Fve=4;function MF(e){return jF(e,Pve|Fve)}var NF=u(s(((e,t)=>{var n=Array.isArray,r=Object.keys,i=Object.prototype.hasOwnProperty,a=typeof Element<`u`;function o(e,t){if(e===t)return!0;if(e&&t&&typeof e==`object`&&typeof t==`object`){var s=n(e),c=n(t),l,u,d;if(s&&c){if(u=e.length,u!=t.length)return!1;for(l=u;l--!==0;)if(!o(e[l],t[l]))return!1;return!0}if(s!=c)return!1;var f=e instanceof Date,p=t instanceof Date;if(f!=p)return!1;if(f&&p)return e.getTime()==t.getTime();var m=e instanceof RegExp,h=t instanceof RegExp;if(m!=h)return!1;if(m&&h)return e.toString()==t.toString();var g=r(e);if(u=g.length,u!==r(t).length)return!1;for(l=u;l--!==0;)if(!i.call(t,g[l]))return!1;if(a&&e instanceof Element&&t instanceof Element)return e===t;for(l=u;l--!==0;)if(d=g[l],!(d===`_owner`&&e.$$typeof)&&!o(e[d],t[d]))return!1;return!0}return e!==e&&t!==t}t.exports=function(e,t){try{return o(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||e.number===-2146828260)return console.warn(`Warning: react-fast-compare does not handle circular references.`,e.name,e.message),!1;throw e}}}))()),Ive=4;function PF(e){return jF(e,Ive)}function FF(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var Lve=`[object Symbol]`;function IF(e){return typeof e==`symbol`||uP(e)&&sP(e)==Lve}var Rve=`Expected a function`;function LF(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(Rve);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(LF.Cache||EP),n}LF.Cache=EP;var zve=500;function Bve(e){var t=LF(e,function(e){return n.size===zve&&n.clear(),e}),n=t.cache;return t}var Vve=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Hve=/\\(\\)?/g,Uve=Bve(function(e){var t=[];
191return e.charCodeAt(0)===46&&t.push(``),e.replace(Vve,function(e,n,r,i){t.push(r?i.replace(Hve,`$1`):n||e)}),t}),Wve=1/0;function Gve(e){if(typeof e==`string`||IF(e))return e;var t=e+``;return t==`0`&&1/e==-Wve?`-0`:t}var Kve=1/0,RF=rP?rP.prototype:void 0,zF=RF?RF.toString:void 0;function BF(e){if(typeof e==`string`)return e;if(PP(e))return FF(e,BF)+``;if(IF(e))return zF?zF.call(e):``;var t=e+``;return t==`0`&&1/e==-Kve?`-0`:t}function qve(e){return e==null?``:BF(e)}function VF(e){return PP(e)?FF(e,Gve):IF(e)?[e]:nF(Uve(qve(e)))}var Jve=s((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),Yve=s(((e,t)=>{t.exports=Jve()})),Xve=u(s(((e,t)=>{var n=Yve(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}))());function HF(){return HF=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HF.apply(this,arguments)}function UF(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function WF(e,t){if(e==null)return{};for(var n={},r=Object.keys(e),i,a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function GF(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}var KF=(0,I.createContext)(void 0);KF.displayName=`FormikContext`;var Zve=KF.Provider,Qve=KF.Consumer;function qF(){return(0,I.useContext)(KF)}var JF=function(e){return Array.isArray(e)&&e.length===0},YF=function(e){return typeof e==`function`},XF=function(e){return typeof e==`object`&&!!e},$ve=function(e){return String(Math.floor(Number(e)))===e},ZF=function(e){return Object.prototype.toString.call(e)===`[object String]`},QF=function(e){return I.Children.count(e)===0},$F=function(e){return XF(e)&&YF(e.then)};function eI(e,t,n,r){r===void 0&&(r=0);for(var i=VF(t);e&&r<i.length;)e=e[i[r++]];return r!==i.length&&!e||e===void 0?n:e}function tI(e,t,n){for(var r=PF(e),i=r,a=0,o=VF(t);a<o.length-1;a++){var s=o[a],c=eI(e,o.slice(0,a+1));if(c&&(XF(c)||Array.isArray(c)))i=i[s]=PF(c);else{var l=o[a+1];i=i[s]=$ve(l)&&Number(l)>=0?[]:{}}}return(a===0?e:i)[o[a]]===n?e:(n===void 0?delete i[o[a]]:i[o[a]]=n,a===0&&n===void 0&&delete r[o[a]],r)}
191function nI(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var i=0,a=Object.keys(e);i<a.length;i++){var o=a[i],s=e[o];XF(s)?n.get(s)||(n.set(s,!0),r[o]=Array.isArray(s)?[]:{},nI(s,t,n,r[o])):r[o]=t}return r}function eye(e,t){switch(t.type){case`SET_VALUES`:return HF({},e,{values:t.payload});case`SET_TOUCHED`:return HF({},e,{touched:t.payload});case`SET_ERRORS`:return(0,NF.default)(e.errors,t.payload)?e:HF({},e,{errors:t.payload});case`SET_STATUS`:return HF({},e,{status:t.payload});case`SET_ISSUBMITTING`:return HF({},e,{isSubmitting:t.payload});case`SET_ISVALIDATING`:return HF({},e,{isValidating:t.payload});case`SET_FIELD_VALUE`:return HF({},e,{values:tI(e.values,t.payload.field,t.payload.value)});case`SET_FIELD_TOUCHED`:return HF({},e,{touched:tI(e.touched,t.payload.field,t.payload.value)});case`SET_FIELD_ERROR`:return HF({},e,{errors:tI(e.errors,t.payload.field,t.payload.value)});case`RESET_FORM`:return HF({},e,t.payload);case`SET_FORMIK_STATE`:return t.payload(e);case`SUBMIT_ATTEMPT`:return HF({},e,{touched:nI(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case`SUBMIT_FAILURE`:return HF({},e,{isSubmitting:!1});case`SUBMIT_SUCCESS`:return HF({},e,{isSubmitting:!1});default:return e}}var rI={},iI={};function tye(e){var t=e.validateOnChange,n=t===void 0||t,r=e.validateOnBlur,i=r===void 0||r,a=e.validateOnMount,o=a!==void 0&&a,s=e.isInitialValid,c=e.enableReinitialize,l=c!==void 0&&c,u=e.onSubmit,d=WF(e,[`validateOnChange`,`validateOnBlur`,`validateOnMount`,`isInitialValid`,`enableReinitialize`,`onSubmit`]),f=HF({validateOnChange:n,validateOnBlur:i,validateOnMount:o,onSubmit:u},d),p=(0,I.useRef)(f.initialValues),m=(0,I.useRef)(f.initialErrors||rI),h=(0,I.useRef)(f.initialTouched||iI),g=(0,I.useRef)(f.initialStatus),_=(0,I.useRef)(!1),v=(0,I.useRef)({});(0,I.useEffect)(function(){return _.current=!0,function(){_.current=!1}},[]);var y=(0,I.useState)(0)[1],b=(0,I.useRef)({values:MF(f.initialValues),errors:MF(f.initialErrors)||rI,touched:MF(f.initialTouched)||iI,status:MF(f.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),x=b.current,S=(0,I.useCallback)(function(e){var t=b.current;b.current=eye(t,e),t!==b.current&&y(function(e){return e+1})},[]),C=(0,I.useCallback)(function(e,t){return new Promise(function(n,r){var i=f.validate(e,t);i==null?n(rI):$F(i)?i.then(function(e){n(e||rI)},function(e){r(e)}):n(i)})},[f.validate]),w=(0,I.useCallback)(function(e,t){var n=f.validationSchema,r=YF(n)?n(t):n,i=t&&r.validateAt?r.validateAt(t,e):rye(e,r);return new Promise(function(e,t){i.then(function(){e(rI)},function(n){n.name===`ValidationError`?e(nye(n)):t(n)})})},[f.validationSchema]),T=(0,I.useCallback)(function(e,t){return new Promise(function(n){return n(v.current[e].validate(t))})},[]),E=(0,I.useCallback)(function(e){var t=Object.keys(v.current).filter(function(e){return YF(v.current[e].validate)}),n=t.length>0?t.map(function(t){return T(t,eI(e,t))}):[Promise.resolve(`DO_NOT_DELETE_YOU_WILL_BE_FIRED`)];return Promise.all(n).then(function(e){return e.reduce(function(e,n,r){return n===`DO_NOT_DELETE_YOU_WILL_BE_FIRED`||n&&(e=tI(e,t[r],n)),e},{})})},[T]),D=(0,I.useCallback)(function(e){return Promise.all([E(e),f.validationSchema?w(e):{},f.validate?C(e):{}]).then(function(e){var t=e[0],n=e[1],r=e[2];return eP.all([t,n,r],{arrayMerge:iye})})},[f.validate,f.validationSchema,E,C,w]),O=sI(function(e){return e===void 0&&(e=x.values),S({type:`SET_ISVALIDATING`,payload:!0}),D(e).then(function(e){return _.current&&(S({type:`SET_ISVALIDATING`,payload:!1}),S({type:`SET_ERRORS`,payload:e})),e})});(0,I.useEffect)(function(){o&&_.current===!0&&(0,NF.default)(p.current,f.initialValues)&&O(p.current)},[o,O]);var k=(0,I.useCallback)(function(e){var t=e&&e.values?e.values:p.current,n=e&&e.errors?e.errors:m.current?m.current:f.initialErrors||{},r=e&&e.touched?e.touched:h.current?h.current:f.initialTouched||{},i=e&&e.status?e.status:g.current?g.current:f.initialStatus;p.current=t,m.current=n,h.current=r,g.current=i;var a=function(){S({type:`RESET_FORM`,payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:i,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&typeof e.submitCount==`number`?e.submitCount:0}})};if(f.onReset){var o=f.onReset(x.values,fe);$F(o)?o.then(a):a()}else a()},[f.initialErrors,f.initialStatus,f.initialTouched,f.onReset]);(0,I.useEffect)(function(){_.current===!0&&!(0,NF.default)(p.current,f.initialValues)&&l&&(p.current=f.initialValues,k(),o&&O(p.current))},[l,f.initialValues,k,o,O]),(0,I.useEffect)(function(){l&&_.current===!0&&!(0,NF.default)(m.current,f.initialErrors)&&(m.current=f.initialErrors||rI,S({type:`SET_ERRORS`,payload:f.initialErrors||rI}))},[l,f.initialErrors]),(0,I.useEffect)(function(){l&&_.current===!0&&!(0,NF.default)(h.current,f.initialTouched)&&(h.current=f.initialTouched||iI,S({type:`SET_TOUCHED`,payload:f.initialTouched||iI}))},[l,f.initialTouched]),(0,I.useEffect)(function(){l&&_.current===!0&&!(0,NF.default)(g.current,f.initialStatus)&&(g.current=f.initialStatus,S({type:`SET_STATUS`,payload:f.initialStatus}))},[l,f.initialStatus,f.initialTouched]);var A=sI(function(e){if(v.current[e]&&YF(v.current[e].validate)){var t=eI(x.values,e),n=v.current[e].validate(t);return $F(n)?(S({type:`SET_ISVALIDATING`,payload:!0}),n.then(function(e){return e}).then(function(t){S({type:`SET_FIELD_ERROR`,payload:{field:e,value:t}}),S({type:`SET_ISVALIDATING`,payload:!1})})):(S({type:`SET_FIELD_ERROR`,payload:{field:e,value:n}}),Promise.resolve(n))}return f.validationSchema?(S({type:`SET_ISVALIDATING`,payload:!0}),w(x.values,e).then(function(e){return e}).then(function(t){S({type:`SET_FIELD_ERROR`,payload:{field:e,value:eI(t,e)}}),S({type:`SET_ISVALIDATING`,payload:!1})})):Promise.resolve()}),j=(0,I.useCallback)(function(e,t){var n=t.validate;v.current[e]={validate:n}},[]),M=(0,I.useCallback)(function(e){delete v.current[e]},[]),ee=sI(function(e,t){return S({type:`SET_TOUCHED`,payload:e}),(t===void 0?i:t)?O(x.values):Promise.resolve()}
191),N=(0,I.useCallback)(function(e){S({type:`SET_ERRORS`,payload:e})},[]),te=sI(function(e,t){var r=YF(e)?e(x.values):e;return S({type:`SET_VALUES`,payload:r}),(t===void 0?n:t)?O(r):Promise.resolve()}),ne=(0,I.useCallback)(function(e,t){S({type:`SET_FIELD_ERROR`,payload:{field:e,value:t}})},[]),re=sI(function(e,t,r){var i=YF(t)?t(eI(x.values,e)):t;return S({type:`SET_FIELD_VALUE`,payload:{field:e,value:i}}),(r===void 0?n:r)?O(tI(x.values,e,i)):Promise.resolve()}),ie=(0,I.useCallback)(function(e,t){var n=t,r=e,i;if(!ZF(e)){e.persist&&e.persist();var a=e.target?e.target:e.currentTarget,o=a.type,s=a.name,c=a.id,l=a.value,u=a.checked;a.outerHTML;var d=a.options,f=a.multiple;n=t||s||c,r=/number|range/.test(o)?(i=parseFloat(l),isNaN(i)?``:i):/checkbox/.test(o)?oye(eI(x.values,n),u,l):d&&f?aye(d):l}n&&re(n,r)},[re,x.values]),P=sI(function(e){if(ZF(e))return function(t){return ie(t,e)};ie(e)}),F=sI(function(e,t,n){return t===void 0&&(t=!0),S({type:`SET_FIELD_TOUCHED`,payload:{field:e,value:t}}),(n===void 0?i:n)?O(x.values):Promise.resolve()}),ae=(0,I.useCallback)(function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,i=n.id;n.outerHTML,F(t||r||i,!0)},[F]),oe=sI(function(e){if(ZF(e))return function(t){return ae(t,e)};ae(e)}),se=(0,I.useCallback)(function(e){YF(e)?S({type:`SET_FORMIK_STATE`,payload:e}):S({type:`SET_FORMIK_STATE`,payload:function(){return e}})},[]),ce=(0,I.useCallback)(function(e){S({type:`SET_STATUS`,payload:e})},[]),le=(0,I.useCallback)(function(e){S({type:`SET_ISSUBMITTING`,payload:e})},[]),ue=sI(function(){return S({type:`SUBMIT_ATTEMPT`}),O().then(function(e){var t=e instanceof Error;if(!t&&Object.keys(e).length===0){var n;try{if(n=pe(),n===void 0)return}catch(e){throw e}return Promise.resolve(n).then(function(e){return _.current&&S({type:`SUBMIT_SUCCESS`}),e}).catch(function(e){if(_.current)throw S({type:`SUBMIT_FAILURE`}),e})}if(_.current&&(S({type:`SUBMIT_FAILURE`}),t))throw e})}),de=sI(function(e){e&&e.preventDefault&&YF(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&YF(e.stopPropagation)&&e.stopPropagation(),ue().catch(function(e){console.warn(`Warning: An unhandled error was caught from submitForm()`,e)})}),fe={resetForm:k,validateForm:O,validateField:A,setErrors:N,setFieldError:ne,setFieldTouched:F,setFieldValue:re,setStatus:ce,setSubmitting:le,setTouched:ee,setValues:te,setFormikState:se,submitForm:ue},pe=sI(function(){return u(x.values,fe)}),me=sI(function(e){e&&e.preventDefault&&YF(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&YF(e.stopPropagation)&&e.stopPropagation(),k()}),he=(0,I.useCallback)(function(e){return{value:eI(x.values,e),error:eI(x.errors,e),touched:!!eI(x.touched,e),initialValue:eI(p.current,e),initialTouched:!!eI(h.current,e),initialError:eI(m.current,e)}},[x.errors,x.touched,x.values]),ge=(0,I.useCallback)(function(e){return{setValue:function(t,n){return re(e,t,n)},setTouched:function(t,n){return F(e,t,n)},setError:function(t){return ne(e,t)}}},[re,F,ne]),_e=(0,I.useCallback)(function(e){var t=XF(e),n=t?e.name:e,r=eI(x.values,n),i={name:n,value:r,onChange:P,onBlur:oe};if(t){var a=e.type,o=e.value,s=e.as,c=e.multiple;a===`checkbox`?o===void 0?i.checked=!!r:(i.checked=!!(Array.isArray(r)&&~r.indexOf(o)),i.value=o):a===`radio`?(i.checked=r===o,i.value=o):s===`select`&&c&&(i.value=i.value||[],i.multiple=!0)}return i},[oe,P,x.values]),ve=(0,I.useMemo)(function(){return!(0,NF.default)(p.current,x.values)},[p.current,x.values]),ye=(0,I.useMemo)(function(){return s===void 0||ve?x.errors&&Object.keys(x.errors).length===0:s!==!1&&YF(s)?s(f):s},[s,ve,x.errors,f]);return HF({},x,{initialValues:p.current,initialErrors:m.current,initialTouched:h.current,initialStatus:g.current,handleBlur:oe,handleChange:P,handleReset:me,handleSubmit:de,resetForm:k,setErrors:N,setFormikState:se,setFieldTouched:F,setFieldValue:re,setFieldError:ne,setStatus:ce,setSubmitting:le,setTouched:ee,setValues:te,submitForm:ue,validateForm:O,validateField:A,isValid:ye,dirty:ve,unregisterField:M,registerField:j,getFieldProps:_e,getFieldMeta:he,getFieldHelpers:ge,validateOnBlur:i,validateOnChange:n,validateOnMount:o})}function aI(e){var t=tye(e),n=e.component,r=e.children,i=e.render,a=e.innerRef;return(0,I.useImperativeHandle)(a,function(){return t}),(0,I.createElement)(Zve,{value:t},n?(0,I.createElement)(n,t):i?i(t):r?YF(r)?r(t):QF(r)?null:I.Children.only(r):null)}function nye(e){var t={};if(e.inner){if(e.inner.length===0)return tI(t,e.path,e.message);for(var n=e.inner,r=Array.isArray(n),i=0,n=r?n:n[Symbol.iterator]();;){var a;if(r){if(i>=n.length)break;a=n[i++]}else{if(i=n.next(),i.done)break;a=i.value}var o=a;eI(t,o.path)||(t=tI(t,o.path,o.message))}}return t}function rye(e,t,n,r){n===void 0&&(n=!1);var i=oI(e);return t[n?`validateSync`:`validate`](i,{abortEarly:!1,context:r||i})}function oI(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);t[r]=Array.isArray(e[r])===!0?e[r].map(function(e){return Array.isArray(e)===!0||fP(e)?oI(e):e===``?void 0:e}):fP(e[r])?oI(e[r]):e[r]===``?void 0:e[r]}return t}function iye(e,t,n){var r=e.slice();return t.forEach(function(t,i){r[i]===void 0?r[i]=n.clone!==!1&&n.isMergeableObject(t)?eP(Array.isArray(t)?[]:{},t,n):t:n.isMergeableObject(t)?r[i]=eP(e[i],t,n):e.indexOf(t)===-1&&r.push(t)}),r}function aye(e){return Array.from(e).filter(function(e){return e.selected}).map(function(e){return e.value})}function oye(e,t,n){if(typeof e==`boolean`)return!!t;var r=[],i=!1,a=-1;if(Array.isArray(e))r=e,a=e.indexOf(n),i=a>=0;
191else if(!n||n==`true`||n==`false`)return!!t;return t&&n&&!i?r.concat(n):i?r.slice(0,a).concat(r.slice(a+1)):r}var sye=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0?I.useLayoutEffect:I.useEffect;function sI(e){var t=(0,I.useRef)(e);return sye(function(){t.current=e}),(0,I.useCallback)(function(){var e=[...arguments];return t.current.apply(void 0,e)},[])}function cI(e){var t=qF(),n=t.getFieldProps,r=t.getFieldMeta,i=t.getFieldHelpers,a=t.registerField,o=t.unregisterField,s=XF(e)?e:{name:e},c=s.name,l=s.validate;(0,I.useEffect)(function(){return c&&a(c,{validate:l}),function(){c&&o(c)}},[a,o,c,l]);var u=(0,I.useMemo)(function(){return i(c)},[i,c]);return[n(s),r(c),u]}var lI=(0,I.forwardRef)(function(e,t){var n=e.action,r=WF(e,[`action`]),i=n??`#`,a=qF(),o=a.handleReset,s=a.handleSubmit;return(0,I.createElement)(`form`,HF({onSubmit:s,ref:t,onReset:o,action:i},r))});lI.displayName=`Form`;function uI(e){var t=function(t){return(0,I.createElement)(Qve,null,function(n){return(0,I.createElement)(e,HF({},t,{formik:n}))})},n=e.displayName||e.name||e.constructor&&e.constructor.name||`Component`;return t.WrappedComponent=e,t.displayName=`FormikConnect(`+n+`)`,(0,Xve.default)(t,e)}var cye=function(e,t,n){var r=fI(e),i=r[t];return r.splice(t,1),r.splice(n,0,i),r},lye=function(e,t,n){var r=fI(e),i=r[t];return r[t]=r[n],r[n]=i,r},dI=function(e,t,n){var r=fI(e);return r.splice(t,0,n),r},uye=function(e,t,n){var r=fI(e);return r[t]=n,r},fI=function(e){if(!e)return[];if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map(function(e){return parseInt(e)}).reduce(function(e,t){return t>e?t:e},0);return Array.from(HF({},e,{length:t+1}))},pI=function(e,t){var n=typeof e==`function`?e:t;return function(e){return Array.isArray(e)||XF(e)?n(fI(e)):e}},mI=function(e){UF(t,e);function t(t){var n=e.call(this,t)||this;return n.updateArrayField=function(e,t,r){var i=n.props,a=i.name,o=i.formik.setFormikState;o(function(n){var i=pI(r,e),o=pI(t,e),s=tI(n.values,a,e(eI(n.values,a))),c=r?i(eI(n.errors,a)):void 0,l=t?o(eI(n.touched,a)):void 0;return JF(c)&&(c=void 0),JF(l)&&(l=void 0),HF({},n,{values:s,errors:r?tI(n.errors,a,c):n.errors,touched:t?tI(n.touched,a,l):n.touched})})},n.push=function(e){return n.updateArrayField(function(t){return[].concat(fI(t),[MF(e)])},!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField(function(n){return lye(n,e,t)},!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField(function(n){return cye(n,e,t)},!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField(function(n){return dI(n,e,t)},function(t){return dI(t,e,null)},function(t){return dI(t,e,null)})},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField(function(n){return uye(n,e,t)},!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField(function(n){var r=n?[e].concat(n):[e];return t=r.length,r},function(e){return e?[null].concat(e):[null]},function(e){return e?[null].concat(e):[null]}),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(GF(n)),n.pop=n.pop.bind(GF(n)),n}var n=t.prototype;return n.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!(0,NF.default)(eI(e.formik.values,e.name),eI(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(e){var t;return this.updateArrayField(function(n){var r=n?fI(n):[];return t||=r[e],YF(r.splice)&&r.splice(e,1),YF(r.every)&&r.every(function(e){return e===void 0})?[]:r},!0,!0),t},n.pop=function(){var e;return this.updateArrayField(function(t){var n=t.slice();return e||=n&&n.pop&&n.pop(),n},!0,!0),e},n.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,n=t.component,r=t.render,i=t.children,a=t.name,o=t.formik,s=WF(o,[`validate`,`validationSchema`]),c=HF({},e,{form:s,name:a});return n?(0,I.createElement)(n,c):r?r(c):i?typeof i==`function`?i(c):QF(i)?null:I.Children.only(i):null},t}(I.Component);mI.defaultProps={validateOnChange:!0};var hI=uI(mI),dye=uI(function(e){UF(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.shouldComponentUpdate=function(e){return eI(this.props.formik.errors,this.props.name)!==eI(e.formik.errors,this.props.name)||eI(this.props.formik.touched,this.props.name)!==eI(e.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(e).length},n.render=function(){var e=this.props,t=e.component,n=e.formik,r=e.render,i=e.children,a=e.name,o=WF(e,[`component`,`formik`,`render`,`children`,`name`]),s=eI(n.touched,a),c=eI(n.errors,a);return s&&c?r?YF(r)?r(c):null:i?YF(i)?i(c):null:t?(0,I.createElement)(t,o,c):c:null},t}(I.Component)),gI=U.h2` 192 ${({theme:e})=>e.headings.base}; 193 ${({theme:e})=>e.headings.h2}; 194`,fye=/^[A-Z0-9äöüÃÃÃ._%!#'=`´~()+-]+@[A-Z\d.-]+\.[A-Z]{2,}$/i,_I=e=>fye.test(e),vI=I.forwardRef(function({children:e,color:t=`primary`,isLoading:n,disabled:r,...i},a){let{isSubmitting:o}=qF();return(0,V.jsx)(FE,{...i,ref:a,color:t,type:`submit`,disabled:r||o||n,prefix:(o||n)&&(0,V.jsx)(lD,{variant:`tiny`,color:`current`}),children:e})});function yI(){return typeof window<`u`}function bI(e){return CI(e)?(e.nodeName||``).toLowerCase():`#document`}function xI(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function SI(e){return((CI(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function CI(e){return yI()?e instanceof Node||e instanceof xI(e).Node:!1}function wI(e){return yI()?e instanceof Element||e instanceof xI(e).Element:!1}function TI(e){return yI()?e instanceof HTMLElement||e instanceof xI(e).HTMLElement:!1}function EI(e){return!yI()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof xI(e).ShadowRoot}function DI(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=PI(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function pye(e){return/^(table|td|th)$/.test(bI(e))}function OI(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var mye=/transform|translate|scale|rotate|perspective|filter/,hye=/paint|layout|strict|content/,kI=e=>!!e&&e!==`none`,AI;function jI(e){let t=wI(e)?PI(e):e;return kI(t.transform)||kI(t.translate)||kI(t.scale)||kI(t.rotate)||kI(t.perspective)||!MI()&&(kI(t.backdropFilter)||kI(t.filter))||mye.test(t.willChange||``)||hye.test(t.contain||``)}function gye(e){let t=II(e);for(;TI(t)&&!NI(t);){if(jI(t))return t;if(OI(t))return null;t=II(t)}return null}function MI(){return AI??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),AI}function NI(e){return/^(html|body|#document)$/.test(bI(e))}function PI(e){return xI(e).getComputedStyle(e)}function FI(e){return wI(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function II(e){if(bI(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||EI(e)&&e.host||SI(e);return EI(t)?t.host:t}function LI(e){let t=II(e);return NI(t)?(e.ownerDocument||e).body:TI(t)&&DI(t)?t:LI(t)}
194function RI(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=LI(e),i=r===e.ownerDocument?.body,a=xI(r);if(i){let e=zI(a);return t.concat(a,a.visualViewport||[],DI(r)?r:[],e&&n?RI(e):[])}return t.concat(r,RI(r,[],n))}function zI(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var _ye=[`top`,`right`,`bottom`,`left`],BI=[`start`,`end`],VI=_ye.reduce((e,t)=>e.concat(t,t+`-`+BI[0],t+`-`+BI[1]),[]),HI=Math.min,UI=Math.max,WI=Math.round,GI=Math.floor,KI=e=>({x:e,y:e}),vye={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function yye(e,t,n){return UI(e,HI(t,n))}function qI(e,t){return typeof e==`function`?e(t):e}function JI(e){return e.split(`-`)[0]}function YI(e){return e.split(`-`)[1]}function XI(e){return e===`x`?`y`:`x`}function ZI(e){return e===`y`?`height`:`width`}function QI(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function $I(e){return XI(QI(e))}function eL(e,t,n){n===void 0&&(n=!1);let r=YI(e),i=$I(e),a=ZI(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=iL(o)),[o,iL(o)]}function bye(e){let t=iL(e);return[tL(e),t,tL(t)]}function tL(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var nL=[`left`,`right`],rL=[`right`,`left`],xye=[`top`,`bottom`],Sye=[`bottom`,`top`];function Cye(e,t,n){switch(e){case`top`:case`bottom`:return n?t?rL:nL:t?nL:rL;case`left`:case`right`:return t?xye:Sye;default:return[]}}function wye(e,t,n,r){let i=YI(e),a=Cye(JI(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(tL)))),a}function iL(e){let t=JI(e);return vye[t]+e.slice(t.length)}function Tye(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function Eye(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Tye(e)}function aL(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}var oL=[`input:not([inert]):not([inert] *)`,`select:not([inert]):not([inert] *)`,`textarea:not([inert]):not([inert] *)`,`a[href]:not([inert]):not([inert] *)`,`area[href]:not([inert]):not([inert] *)`,`button:not([inert]):not([inert] *)`,`[tabindex]:not(slot):not([inert]):not([inert] *)`,`audio[controls]:not([inert]):not([inert] *)`,`video[controls]:not([inert]):not([inert] *)`,`[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)`,`details>summary:first-of-type:not([inert]):not([inert] *)`,`details:not([inert]):not([inert] *)`].join(`,`),sL=typeof Element>`u`,cL=sL?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,lL=!sL&&Element.prototype.getRootNode?function(e){return e?.getRootNode?.call(e)}:function(e){return e?.ownerDocument},uL=function(e,t){t===void 0&&(t=!0);var n=e?.getAttribute?.call(e,`inert`);return n===``||n===`true`||t&&e&&(typeof e.closest==`function`?e.closest(`[inert]`):uL(e.parentNode))},Dye=function(e){var t=e?.getAttribute?.call(e,`contenteditable`);return t===``||t===`true`},dL=function(e,t,n){if(uL(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(oL));return t&&cL.call(e,oL)&&r.unshift(e),r=r.filter(n),r},fL=function(e,t,n){for(var r=[],i=Array.from(e);i.length;){var a=i.shift();if(!uL(a,!1)){if(a.tagName===`SLOT`){var o=a.assignedElements(),s=fL(o.length?o:a.children,!0,n);
194n.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{cL.call(a,oL)&&n.filter(a)&&(t||!e.includes(a))&&r.push(a);var c=a.shadowRoot||typeof n.getShadowRoot==`function`&&n.getShadowRoot(a),l=!uL(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(c&&l){var u=fL(c===!0?a.children:c.children,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:a,candidates:u})}else i.unshift.apply(i,a.children)}}}return r},pL=function(e){return!isNaN(parseInt(e.getAttribute(`tabindex`),10))},mL=function(e){if(!e)throw Error(`No node provided`);return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Dye(e))&&!pL(e)?0:e.tabIndex},Oye=function(e,t){var n=mL(e);return n<0&&t&&!pL(e)?0:n},kye=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},hL=function(e){return e.tagName===`INPUT`},Aye=function(e){return hL(e)&&e.type===`hidden`},jye=function(e){return e.tagName===`DETAILS`&&Array.prototype.slice.apply(e.children).some(function(e){return e.tagName===`SUMMARY`})},Mye=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},Nye=function(e){if(!e.name)return!0;var t=e.form||lL(e),n=function(e){return t.querySelectorAll(`input[type="radio"][name="`+e+`"]`)},r;if(typeof window<`u`&&window.CSS!==void 0&&typeof window.CSS.escape==`function`)r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(e){return console.error(`Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s`,e.message),!1}var i=Mye(r,e.form);return!i||i===e},Pye=function(e){return hL(e)&&e.type===`radio`},Fye=function(e){return Pye(e)&&!Nye(e)},Iye=function(e){var t=e&&lL(e),n=t?.host,r=!1;if(t&&t!==e){var i,a,o;for(r=!!((i=n)!=null&&(a=i.ownerDocument)!=null&&a.contains(n)||e!=null&&(o=e.ownerDocument)!=null&&o.contains(e));!r&&n;){var s,c;t=lL(n),n=t?.host,r=!!((s=n)!=null&&(c=s.ownerDocument)!=null&&c.contains(n))}}return r},gL=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},Lye=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(n===`full-native`&&`checkVisibility`in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var i=getComputedStyle(e).visibility;if(i===`hidden`||i===`collapse`)return!0;var a=cL.call(e,`details>summary:first-of-type`)?e.parentElement:e;if(cL.call(a,`details:not([open]) *`))return!0;if(!n||n===`full`||n===`full-native`||n===`legacy-full`){if(typeof r==`function`){for(var o=e;e;){var s=e.parentElement,c=lL(e);if(s&&!s.shadowRoot&&r(s)===!0)return gL(e);e=e.assignedSlot?e.assignedSlot:!s&&c!==e.ownerDocument?c.host:s}e=o}if(Iye(e))return!e.getClientRects().length;if(n!==`legacy-full`)return!0}else if(n===`non-zero-area`)return gL(e);return!1},Rye=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName===`FIELDSET`&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName===`LEGEND`)return cL.call(t,`fieldset[disabled] *`)?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},_L=function(e,t){return!(t.disabled||Aye(t)||Lye(t,e)||jye(t)||Rye(t))},vL=function(e,t){return!(Fye(t)||mL(t)<0||!_L(e,t))},zye=function(e){var t=parseInt(e.getAttribute(`tabindex`),10);return!!(isNaN(t)||t>=0)},yL=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,a=i?e.scopeParent:e,o=Oye(a,i),s=i?yL(e.candidates):a;o===0?i?t.push.apply(t,s):t.push(a):n.push({documentOrder:r,tabIndex:o,item:e,isScope:i,content:s})}),n.sort(kye).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},bL=function(e,t){return t||={},yL(t.getShadowRoot?fL([e],t.includeContainer,{filter:vL.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:zye}):dL(e,t.includeContainer,vL.bind(null,t)))},Bye=function(e,t){return t||={},t.getShadowRoot?fL([e],t.includeContainer,{filter:_L.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):dL(e,t.includeContainer,_L.bind(null,t))},xL=function(e,t){if(t||={},!e)throw Error(`No node provided`);return cL.call(e,oL)!==!1&&vL(t,e)};function Vye(){let e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function SL(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+`/`+n}).join(` `):navigator.userAgent}function Hye(){return/apple/i.test(navigator.vendor)}function CL(){let e=/android/i;return e.test(Vye())||e.test(SL())}function Uye(){return SL().includes(`jsdom/`)}var wL=`data-floating-ui-focusable`,Wye=`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`;function TL(e){let t=e.activeElement;for(;((n=t)==null||(n=n.shadowRoot)==null?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function EL(e,t){if(!e||!t)return!1;let n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;
194if(n&&EI(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function DL(e){return`composedPath`in e?e.composedPath()[0]:e.target}function OL(e,t){if(t==null)return!1;if(`composedPath`in e)return e.composedPath().includes(t);let n=e;return n.target!=null&&t.contains(n.target)}function Gye(e){return e.matches(`html,body`)}function kL(e){return e?.ownerDocument||document}function AL(e){return TI(e)&&e.matches(Wye)}function jL(e){return e?e.getAttribute(`role`)===`combobox`&&AL(e):!1}function ML(e){return e?e.hasAttribute(wL)?e:e.querySelector(`[`+wL+`]`)||e:null}function NL(e,t,n){return n===void 0&&(n=!0),e.filter(e=>e.parentId===t&&(!n||e.context?.open)).flatMap(t=>[t,...NL(e,t.id,n)])}function PL(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}function FL(e){e.preventDefault(),e.stopPropagation()}function Kye(e){return`nativeEvent`in e}function qye(e){return e.mozInputSource===0&&e.isTrusted?!0:CL()&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function Jye(e){return Uye()?!1:!CL()&&e.width===0&&e.height===0||CL()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType===`mouse`||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType===`touch`}function IL(e,t){let n=[`mouse`,`pen`];return t||n.push(``,void 0),n.includes(e)}var LL=typeof document<`u`?I.useLayoutEffect:function(){},Yye={...I};function RL(e){let t=I.useRef(e);return LL(()=>{t.current=e}),t}var Xye=Yye.useInsertionEffect||(e=>e());function zL(e){let t=I.useRef(()=>{});return Xye(()=>{t.current=e}),I.useCallback(function(){var e=[...arguments];return t.current==null?void 0:t.current(...e)},[])}var BL=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver==`function`&&ResizeObserver.toString().includes(`[native code]`)?`full`:`none`});function VL(e,t){let n=bL(e,BL()),r=n.length;if(r===0)return;let i=TL(kL(e)),a=n.indexOf(i);return n[a===-1?t===1?0:r-1:a+t]}function HL(e){return VL(kL(e).body,1)||e}function UL(e){return VL(kL(e).body,-1)||e}function WL(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!EL(n,r)}function Zye(e){bL(e,BL()).forEach(e=>{e.dataset.tabindex=e.getAttribute(`tabindex`)||``,e.setAttribute(`tabindex`,`-1`)})}function GL(e){e.querySelectorAll(`[data-tabindex]`).forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute(`tabindex`,t):e.removeAttribute(`tabindex`)})}function KL(e,t,n){let{reference:r,floating:i}=e,a=QI(t),o=$I(t),s=ZI(o),c=JI(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=YI(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function Qye(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=qI(t,e),p=Eye(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=aL(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=aL(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var $ye=50,ebe=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Qye},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}
vendor: 4,525 bytes, line 194
194),{x:u,y:d}=KL(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<$ye&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=KL(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}};function tbe(e,t,n){return(e?[...n.filter(t=>YI(t)===e),...n.filter(t=>YI(t)!==e)]:n.filter(e=>JI(e)===e)).filter(n=>!e||YI(n)===e||(t?tL(n)!==n:!1))}var nbe=function(e){return e===void 0&&(e={}),{name:`autoPlacement`,options:e,async fn(t){let{rects:n,middlewareData:r,placement:i,platform:a,elements:o}=t,{crossAxis:s=!1,alignment:c,allowedPlacements:l=VI,autoAlignment:u=!0,...d}=qI(e,t),f=c!==void 0||l===VI?tbe(c||null,u,l):l,p=r.autoPlacement?.index||0,m=f[p];if(m==null)return{};if(i!==m)return{reset:{placement:f[0]}};let h=await a.detectOverflow(t,d),g=eL(m,n,await(a.isRTL==null?void 0:a.isRTL(o.floating))),_=[h[JI(m)],h[g[0]],h[g[1]]],v=[...r.autoPlacement?.overflows||[],{placement:m,overflows:_}],y=f[p+1];if(y)return{data:{index:p+1,overflows:v},reset:{placement:y}};let b=v.map(e=>{let t=YI(e.placement);return[e.placement,t&&s?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),x=b.filter(e=>e[2].slice(0,YI(e[0])?2:3).every(e=>e<=0))[0]?.[0]||b[0][0];return x===i?{}:{data:{index:p+1,overflows:v},reset:{placement:x}}}}},rbe=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=qI(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=JI(r),_=QI(o),v=JI(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[iL(o)]:bye(o)),x=p!==`none`;!d&&x&&b.push(...wye(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=eL(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===QI(t)||T.every(e=>QI(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=QI(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}},ibe=new Set([`left`,`top`]);async function abe(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=JI(n),s=YI(n),c=QI(n)===`y`,l=ibe.has(o)?-1:1,u=a&&c?-1:1,d=qI(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var obe=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await abe(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},sbe=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=qI(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=QI(i),p=XI(f),m=u[p],h=u[f],g=(e,t)=>yye(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},cbe=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=qI(e,t),c=await i.detectOverflow(t,s),l=JI(n),u=YI(n),d=QI(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);
vendor: 8,625 bytes, line 194
194let g=p-c.top-c.bottom,_=f-c.left-c.right,v=HI(p-c[m],g),y=HI(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*UI(c.left,c.right):S=p-2*UI(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function qL(e){let t=PI(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=TI(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=WI(n)!==a||WI(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function JL(e){return wI(e)?e:e.contextElement}function YL(e){let t=JL(e);if(!TI(t))return KI(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=qL(t),o=(a?WI(n.width):n.width)/r,s=(a?WI(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var lbe=KI(0);function XL(e){let t=xI(e);return!MI()||!t.visualViewport?lbe:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ube(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===xI(e)}function ZL(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=JL(e),o=KI(1);t&&(r?wI(r)&&(o=YL(r)):o=YL(e));let s=ube(a,n,r)?XL(a):KI(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=xI(a),t=wI(r)?xI(r):r,n=e,i=zI(n);for(;i&&t!==n;){let e=YL(i),t=i.getBoundingClientRect(),r=PI(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=xI(i),i=zI(n)}}return aL({width:u,height:d,x:c,y:l})}function QL(e,t){let n=FI(e).scrollLeft;return t?t.left+n:ZL(SI(e)).left+n}function $L(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-QL(e,n),y:n.top+t.scrollTop}}function dbe(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=SI(r),s=t?OI(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=KI(1),u=KI(0),d=TI(r);if((d||!a)&&((bI(r)!==`body`||DI(o))&&(c=FI(r)),d)){let e=ZL(r);l=YL(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?$L(o,c):KI(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function fbe(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function pbe(e){let t=FI(e),n=e.ownerDocument.body,r=UI(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=UI(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+QL(e),o=-t.scrollTop;return PI(n).direction===`rtl`&&(a+=UI(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var mbe=25;function hbe(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=xI(e),a=SI(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!MI()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(QL(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=mbe&&(s-=o)}return{width:s,height:c,x:l,y:u}}function gbe(e,t){let n=ZL(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=YL(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function eR(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=hbe(e,n,t);else if(t===`document`)r=pbe(SI(e));else if(wI(t))r=gbe(t,n);else{let n=XL(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return aL(r)}function _be(e,t){let n=t.get(e);if(n)return n;let r=RI(e,[],!1).filter(e=>wI(e)&&bI(e)!==`body`),i=null,a=PI(e).position===`fixed`,o=a?II(e):e;for(;wI(o)&&!NI(o);){let e=PI(o),t=jI(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=II(o)}return t.set(e,r),r}function vbe(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?OI(t)?[]:_be(t,this._c):[].concat(n),r],o=eR(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=eR(t,a[e],i);s=UI(n.top,s),c=HI(n.right,c),l=HI(n.bottom,l),u=UI(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function ybe(e){let{width:t,height:n}=qL(e);return{width:t,height:n}}function bbe(e,t,n){let r=TI(t),i=SI(t),a=n===`fixed`,o=ZL(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=KI(0);if((r||!a)&&((bI(t)!==`body`||DI(i))&&(s=FI(t)),r)){let e=ZL(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=QL(i));let l=i&&!r&&!a?$L(i,s):KI(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function tR(e){return PI(e).position===`static`}function nR(e,t){if(!TI(e)||PI(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return SI(e)===n&&(n=n.ownerDocument.body),n}function rR(e,t){let n=xI(e);if(OI(e))return n;if(!TI(e)){let t=II(e);for(;t&&!NI(t);){if(wI(t)&&!tR(t))return t;t=II(t)}return n}let r=nR(e,t);for(;r&&pye(r)&&tR(r);)r=nR(r,t);return r&&NI(r)&&tR(r)&&!jI(r)?n:r||gye(e)||n}var xbe=async function(e){let t=this.getOffsetParent||rR,n=this.getDimensions,r=await n(e.floating);return{reference:bbe(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Sbe(e){return PI(e).direction===`rtl`}var Cbe={convertOffsetParentRelativeRectToViewportRelativeRect:dbe,getDocumentElement:SI,getClippingRect:vbe,getOffsetParent:rR,getElementRects:xbe,getClientRects:fbe,getDimensions:ybe,getScale:YL,isElement:wI,isRTL:Sbe};function iR(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function wbe(e,t,n){let r=null,i,a=SI(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=GI(d),h=GI(a.clientWidth-(u+f)),g=GI(a.clientHeight-(d+p)),_=GI(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:UI(0,HI(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!iR(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=xI(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function aR(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=JL(e),u=i||a?[...l?RI(l):[],...t?RI(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?wbe(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?ZL(e):null;c&&g();function g(){let t=ZL(e);h&&!iR(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Tbe=obe,Ebe=nbe,Dbe=sbe,Obe=rbe,kbe=cbe,Abe=(e,t,n)=>{let r=new Map,i=n??{},a={...Cbe,...i.platform,_c:r};return ebe(e,t,{...i,platform:a})},oR=typeof document<`u`?I.useLayoutEffect:function(){};function sR(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!sR(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!sR(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function cR(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function lR(e,t){let n=cR(e);return Math.round(t*n)/n}function uR(e){let t=I.useRef(e);return oR(()=>{t.current=e}),t}function jbe(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=I.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=I.useState(r);sR(f,r)||p(r);
vendor: 1,347 bytes, line 194
194let[m,h]=I.useState(null),[g,_]=I.useState(null),v=I.useCallback(e=>{e!==S.current&&(S.current=e,h(e))},[]),y=I.useCallback(e=>{e!==C.current&&(C.current=e,_(e))},[]),b=a||m,x=o||g,S=I.useRef(null),C=I.useRef(null),w=I.useRef(u),T=c!=null,E=uR(c),D=uR(i),O=uR(l),k=I.useCallback(()=>{if(!S.current||!C.current)return;let e={placement:t,strategy:n,middleware:f};D.current&&(e.platform=D.current),Abe(S.current,C.current,e).then(e=>{let t={...e,isPositioned:O.current!==!1};A.current&&!sR(w.current,t)&&(w.current=t,BE.flushSync(()=>{d(t)}))})},[f,t,n,D,O]);oR(()=>{l===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[l]);let A=I.useRef(!1);oR(()=>(A.current=!0,()=>{A.current=!1}),[]),oR(()=>{if(b&&(S.current=b),x&&(C.current=x),b&&x){if(E.current)return E.current(b,x,k);k()}},[b,x,k,E,T]);let j=I.useMemo(()=>({reference:S,floating:C,setReference:v,setFloating:y}),[v,y]),M=I.useMemo(()=>({reference:b,floating:x}),[b,x]),ee=I.useMemo(()=>{let e={position:n,left:0,top:0};if(!M.floating)return e;let t=lR(M.floating,u.x),r=lR(M.floating,u.y);return s?{...e,transform:`translate(`+t+`px, `+r+`px)`,...cR(M.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,s,M.floating,u.x,u.y]);return I.useMemo(()=>({...u,update:k,refs:j,elements:M,floatingStyles:ee}),[u,k,j,M,ee])}var Mbe=(e,t)=>
194{let n=Tbe(e);return{name:n.name,fn:n.fn,options:[e,t]}},dR=(e,t)=>{let n=Dbe(e);return{name:n.name,fn:n.fn,options:[e,t]}},fR=(e,t)=>{let n=Obe(e);return{name:n.name,fn:n.fn,options:[e,t]}},Nbe=(e,t)=>{let n=kbe(e);return{name:n.name,fn:n.fn,options:[e,t]}},pR=(e,t)=>{let n=Ebe(e);return{name:n.name,fn:n.fn,options:[e,t]}},Pbe=`data-floating-ui-focusable`,mR=`active`,hR=`selected`,Fbe=`ArrowLeft`,Ibe=`ArrowRight`,Lbe=`ArrowUp`,Rbe=`ArrowDown`,zbe=[Fbe,Ibe],Bbe=[Lbe,Rbe];[...zbe,...Bbe];var Vbe={...I},gR=!1,Hbe=0,_R=()=>`floating-ui-`+Math.random().toString(36).slice(2,6)+Hbe++;function Ube(){let[e,t]=I.useState(()=>gR?_R():void 0);return LL(()=>{e??t(_R())},[]),I.useEffect(()=>{gR=!0},[]),e}var vR=Vbe.useId||Ube;function Wbe(){let e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;(r=e.get(t))==null||r.delete(n)}}}var Gbe=I.createContext(null),Kbe=I.createContext(null),yR=()=>I.useContext(Gbe)?.id||null,bR=()=>I.useContext(Kbe);function xR(e){return`data-floating-ui-`+e}function qbe(e){e.current!==-1&&(clearTimeout(e.current),e.current=-1)}var SR=0;function CR(e,t){t===void 0&&(t={});let{preventScroll:n=!1,cancelPrevious:r=!0,sync:i=!1}=t;r&&cancelAnimationFrame(SR);let a=()=>e?.focus({preventScroll:n});i?a():SR=requestAnimationFrame(a)}function Jbe(e){return e?.ownerDocument||document}var wR={inert:new WeakMap,"aria-hidden":new WeakMap,none:new WeakMap};function TR(e){return e===`inert`?wR.inert:e===`aria-hidden`?wR[`aria-hidden`]:wR.none}var ER=new WeakSet,DR={},OR=0,Ybe=()=>typeof HTMLElement<`u`&&`inert`in HTMLElement.prototype;function kR(e){return e?EI(e)?e.host:kR(e.parentNode):null}var Xbe=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=kR(t);return e.contains(n)?n:null}).filter(e=>e!=null);function Zbe(e,t,n,r){let i=`data-floating-ui-inert`,a=r?`inert`:n?`aria-hidden`:null,o=Xbe(t,e),s=new Set,c=new Set(o),l=[];DR[i]||(DR[i]=new WeakMap);let u=DR[i];o.forEach(d),f(t),s.clear();function d(e){e&&!s.has(e)&&(s.add(e),e.parentNode&&d(e.parentNode))}function f(e){e&&!c.has(e)&&[].forEach.call(e.children,e=>{if(bI(e)!==`script`){if(s.has(e))f(e);else{let t=a?e.getAttribute(a):null,n=t!==null&&t!==`false`,r=TR(a),o=(r.get(e)||0)+1,s=(u.get(e)||0)+1;r.set(e,o),u.set(e,s),l.push(e),o===1&&n&&ER.add(e),s===1&&e.setAttribute(i,``),!n&&a&&e.setAttribute(a,a===`inert`?``:`true`)}}})}return OR++,()=>{l.forEach(e=>{let t=TR(a),n=(t.get(e)||0)-1,r=(u.get(e)||0)-1;t.set(e,n),u.set(e,r),n||(!ER.has(e)&&a&&e.removeAttribute(a),ER.delete(e)),r||e.removeAttribute(i)}),OR--,OR||(wR.inert=new WeakMap,wR[`aria-hidden`]=new WeakMap,wR.none=new WeakMap,ER=new WeakSet,DR={})}}function AR(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);let r=Jbe(e[0]).body;return Zbe(e.concat(Array.from(r.querySelectorAll(`[aria-live],[role="status"],output`))),r,t,n)}var jR={border:0,clip:`rect(0 0 0 0)`,height:`1px`,margin:`-1px`,overflow:`hidden`,padding:0,position:`fixed`,whiteSpace:`nowrap`,width:`1px`,top:0,left:0},MR=I.forwardRef(function(e,t){let[n,r]=I.useState();LL(()=>{Hye()&&r(`button`)},[]);let i={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[xR(`focus-guard`)]:``,style:jR};return(0,V.jsx)(`span`,{...e,...i})}),Qbe={clipPath:`inset(50%)`,position:`fixed`,top:0,left:0},NR=I.createContext(null),PR=xR(`portal`);function $be(e){e===void 0&&(e={});let{id:t,root:n}=e,r=vR(),i=FR(),[a,o]=I.useState(null),s=I.useRef(null);return LL(()=>()=>{a?.remove(),queueMicrotask(()=>{s.current=null})},[a]),LL(()=>{if(!r||s.current)return;let e=t?document.getElementById(t):null;if(!e)return;let n=document.createElement(`div`);n.id=r,n.setAttribute(PR,``),e.appendChild(n),s.current=n,o(n)},[t,r]),LL(()=>{if(n===null||!r||s.current)return;let e=n||i?.portalNode;e&&!CI(e)&&(e=e.current),e||=document.body;let a=null;t&&(a=document.createElement(`div`),a.id=t,e.appendChild(a));let c=document.createElement(`div`);c.id=r,c.setAttribute(PR,``),e=a||e,e.appendChild(c),s.current=c,o(c)},[t,n,r,i]),a}function exe(e){let{children:t,id:n,root:r,preserveTabOrder:i=!0}=e,a=$be({id:n,root:r}),[o,s]=I.useState(null),c=I.useRef(null),l=I.useRef(null),u=I.useRef(null),d=I.useRef(null),f=o?.modal,p=o?.open,m=!!o&&!o.modal&&o.open&&i&&!!(r||a);return I.useEffect(()=>{if(!a||!i||f)return;function e(e){a&&WL(e)&&(e.type===`focusin`?GL:Zye)(a)}return a.addEventListener(`focusin`,e,!0),a.addEventListener(`focusout`,e,!0),()=>{a.removeEventListener(`focusin`,e,!0),a.removeEventListener(`focusout`,e,!0)}},[a,i,f]),I.useEffect(()=>{a&&(p||GL(a))},[p,a]),(0,V.jsxs)(NR.Provider,{value:I.useMemo(()=>({preserveTabOrder:i,beforeOutsideRef:c,afterOutsideRef:l,beforeInsideRef:u,afterInsideRef:d,portalNode:a,setFocusManagerState:s}),[i,a]),children:[m&&a&&(0,V.jsx)(MR,{"data-type":`outside`,ref:c,onFocus:e=>{if(WL(e,a)){var t;(t=u.current)==null||t.focus()}else UL(o?o.domReference:null)?.focus()}}),m&&a&&(0,V.jsx)(`span`,{"aria-owns":a.id,style:Qbe}),a&&BE.createPortal(t,a),m&&a&&(0,V.jsx)(MR,{"data-type":`outside`,ref:l,onFocus:e=>{if(WL(e,a)){var t;(t=d.current)==null||t.focus()}else HL(o?o.domReference:null)?.focus(),o!=null&&o.closeOnFocusOut&&o?.onOpenChange(!1,e.nativeEvent,`focus-out`)}})]})}var FR=()=>I.useContext(NR);function IR(e){return I.useMemo(()=>t=>
194{e.forEach(e=>{e&&(e.current=t)})},e)}var txe=20,LR=[];function RR(){LR=LR.filter(e=>e.deref()?.isConnected)}function nxe(e){RR(),e&&bI(e)!==`body`&&(LR.push(new WeakRef(e)),LR.length>txe&&(LR=LR.slice(-20)))}function zR(){return RR(),LR[LR.length-1]?.deref()}function rxe(e){let t=BL();return xL(e,t)?e:bL(e,t)[0]||e}function BR(e,t){var n;if(!t.current.includes(`floating`)&&!((n=e.getAttribute(`role`))!=null&&n.includes(`dialog`)))return;let r=BL(),i=Bye(e,r).filter(e=>{let t=e.getAttribute(`data-tabindex`)||``;return xL(e,r)||e.hasAttribute(`data-tabindex`)&&!t.startsWith(`-`)}),a=e.getAttribute(`tabindex`);t.current.includes(`floating`)||i.length===0?a!==`0`&&e.setAttribute(`tabindex`,`0`):(a!==`-1`||e.hasAttribute(`data-tabindex`)&&e.getAttribute(`data-tabindex`)!==`-1`)&&(e.setAttribute(`tabindex`,`-1`),e.setAttribute(`data-tabindex`,`-1`))}var ixe=I.forwardRef(function(e,t){return(0,V.jsx)(`button`,{...e,type:`button`,ref:t,tabIndex:-1,style:jR})});function axe(e){let{context:t,children:n,disabled:r=!1,order:i=[`content`],guards:a=!0,initialFocus:o=0,returnFocus:s=!0,restoreFocus:c=!1,modal:l=!0,visuallyHiddenDismiss:u=!1,closeOnFocusOut:d=!0,outsideElementsInert:f=!1,getInsideElements:p=()=>[]}=e,{open:m,onOpenChange:h,events:g,dataRef:_,elements:{domReference:v,floating:y}}
194=t,b=zL(()=>_.current.floatingContext?.nodeId),x=zL(p),S=typeof o==`number`&&o<0,C=jL(v)&&S,w=Ybe(),T=!w||a,E=!T||w&&f,D=RL(i),O=RL(o),k=RL(s),A=bR(),j=FR(),M=I.useRef(null),ee=I.useRef(null),N=I.useRef(!1),te=I.useRef(!1),ne=I.useRef(-1),re=I.useRef(-1),ie=j!=null,P=ML(y),F=zL(function(e){return e===void 0&&(e=P),e?bL(e,BL()):[]}),ae=zL(e=>{let t=F(e);return D.current.map(e=>v&&e===`reference`?v:P&&e===`floating`?P:t).filter(Boolean).flat()});I.useEffect(()=>{if(r||!l)return;function e(e){if(e.key===`Tab`){EL(P,TL(kL(P)))&&F().length===0&&!C&&FL(e);let t=ae(),n=DL(e);D.current[0]===`reference`&&n===v&&(FL(e),e.shiftKey?CR(t[t.length-1]):CR(t[1])),D.current[1]===`floating`&&n===P&&e.shiftKey&&(FL(e),CR(t[0]))}}let t=kL(P);return t.addEventListener(`keydown`,e),()=>{t.removeEventListener(`keydown`,e)}},[r,v,P,l,D,C,F,ae]),I.useEffect(()=>{if(r||!y)return;function e(e){let t=DL(e),n=F().indexOf(t);n!==-1&&(ne.current=n)}return y.addEventListener(`focusin`,e),()=>{y.removeEventListener(`focusin`,e)}},[r,y,F]),I.useEffect(()=>{if(r||!d)return;function e(){te.current=!0,setTimeout(()=>{te.current=!1})}function t(e){let t=e.relatedTarget,n=e.currentTarget,r=DL(e);queueMicrotask(()=>{let i=b(),a=!(EL(v,t)||EL(y,t)||EL(t,y)||EL(j?.portalNode,t)||t!=null&&t.hasAttribute(xR(`focus-guard`))||A&&(NL(A.nodesRef.current,i).find(e=>EL(e.context?.elements.floating,t)||EL(e.context?.elements.domReference,t))||PL(A.nodesRef.current,i).find(e=>[e.context?.elements.floating,ML(e.context?.elements.floating)].includes(t)||e.context?.elements.domReference===t)));if(n===v&&P&&BR(P,D),c&&n!==v&&!(r!=null&&r.isConnected)&&TL(kL(P))===kL(P).body){TI(P)&&P.focus();let e=ne.current,t=F(),n=t[e]||t[t.length-1]||P;TI(n)&&n.focus()}if(_.current.insideReactTree){_.current.insideReactTree=!1;return}(C||!l)&&t&&a&&!te.current&&t!==zR()&&(N.current=!0,h(!1,e,`focus-out`))})}let n=!(A||!j);function i(){qbe(re),_.current.insideReactTree=!0,re.current=window.setTimeout(()=>{_.current.insideReactTree=!1})}if(y&&TI(v))return v.addEventListener(`focusout`,t),v.addEventListener(`pointerdown`,e),y.addEventListener(`focusout`,t),n&&y.addEventListener(`focusout`,i,!0),()=>{v.removeEventListener(`focusout`,t),v.removeEventListener(`pointerdown`,e),y.removeEventListener(`focusout`,t),n&&y.removeEventListener(`focusout`,i,!0)}},[r,v,y,P,l,A,j,h,d,c,F,C,b,D,_]);let oe=I.useRef(null),se=I.useRef(null),ce=IR([oe,j?.beforeInsideRef]),le=IR([se,j?.afterInsideRef]);I.useEffect(()=>{var e,t;if(r||!y)return;let n=Array.from((j==null||(e=j.portalNode)==null?void 0:e.querySelectorAll(`[`+xR(`portal`)+`]`))||[]),i=(t=(A?PL(A.nodesRef.current,b()):[]).find(e=>jL(e.context?.elements.domReference||null)))==null||(t=t.context)==null?void 0:t.elements.domReference,a=[y,i,...n,...x(),M.current,ee.current,oe.current,se.current,j?.beforeOutsideRef.current,j?.afterOutsideRef.current,D.current.includes(`reference`)||C?v:null].filter(e=>e!=null),o=l||C?AR(a,!E,E):AR(a);return()=>{o()}},[r,v,y,l,D,j,C,T,E,A,b,x]),LL(()=>{if(r||!TI(P))return;let e=TL(kL(P));queueMicrotask(()=>{let t=ae(P),n=O.current,r=(typeof n==`number`?t[n]:n.current)||P,i=EL(P,e);!S&&!i&&m&&CR(r,{preventScroll:r===P})})},[r,m,P,S,ae,O]),LL(()=>{if(r||!P)return;let e=kL(P);nxe(TL(e));function t(e){let{reason:t,event:n,nested:r}=e;if([`hover`,`safe-polygon`].includes(t)&&n.type===`mouseleave`&&(N.current=!0),t===`outside-press`){if(r)N.current=!1;else if(qye(n)||Jye(n))N.current=!1;else{let e=!1;document.createElement(`div`).focus({get preventScroll(){return e=!0,!1}}),e?N.current=!1:N.current=!0}}}g.on(`openchange`,t);let n=e.createElement(`span`);n.setAttribute(`tabindex`,`-1`),n.setAttribute(`aria-hidden`,`true`),Object.assign(n.style,jR),ie&&v&&v.insertAdjacentElement(`afterend`,n);function i(){if(typeof k.current==`boolean`){let e=v||zR();return e&&e.isConnected?e:n}return k.current.current||n}return()=>{g.off(`openchange`,t);let r=TL(e),a=EL(y,r)||A&&NL(A.nodesRef.current,b(),!1).some(e=>EL(e.context?.elements.floating,r)),o=i();queueMicrotask(()=>{let t=rxe(o);
194k.current&&!N.current&&TI(t)&&(t===r||r===e.body||a)&&t.focus({preventScroll:!0}),n.remove()})}},[r,y,P,k,_,g,A,ie,v,b]),I.useEffect(()=>(queueMicrotask(()=>{N.current=!1}),()=>{queueMicrotask(RR)}),[r]),LL(()=>{if(!r&&j)return j.setFocusManagerState({modal:l,closeOnFocusOut:d,open:m,onOpenChange:h,domReference:v}),()=>{j.setFocusManagerState(null)}},[r,j,l,m,h,d,v]),LL(()=>{r||P&&BR(P,D)},[r,P,D]);function ue(e){return r||!u||!l?null:(0,V.jsx)(ixe,{ref:e===`start`?M:ee,onClick:e=>h(!1,e.nativeEvent),children:typeof u==`string`?u:`Dismiss`})}let de=!r&&T&&(!l||!C)&&(ie||l);return(0,V.jsxs)(V.Fragment,{children:[de&&(0,V.jsx)(MR,{"data-type":`inside`,ref:ce,onFocus:e=>{if(l){let e=ae();CR(i[0]===`reference`?e[0]:e[e.length-1])}else if(j!=null&&j.preserveTabOrder&&j.portalNode){if(N.current=!1,WL(e,j.portalNode))HL(v)?.focus();else{var t;(t=j.beforeOutsideRef.current)==null||t.focus()}}}}),!C&&ue(`start`),n,ue(`end`),de&&(0,V.jsx)(MR,{"data-type":`inside`,ref:le,onFocus:e=>{if(l)CR(ae()[0]);else if(j!=null&&j.preserveTabOrder&&j.portalNode){if(d&&(N.current=!0),WL(e,j.portalNode))UL(v)?.focus();else{var t;(t=j.afterOutsideRef.current)==null||t.focus()}}}})]})}function VR(e){return TI(e.target)&&e.target.tagName===`BUTTON`}function oxe(e){return TI(e.target)&&e.target.tagName===`A`}function HR(e){return AL(e)}function sxe(e,t){t===void 0&&(t={});let{open:n,onOpenChange:r,dataRef:i,elements:{domReference:a}}=e,{enabled:o=!0,event:s=`click`,toggle:c=!0,ignoreMouse:l=!1,keyboardHandlers:u=!0,stickIfOpen:d=!0}=t,f=I.useRef(),p=I.useRef(!1),m=I.useMemo(()=>({onPointerDown(e){f.current=e.pointerType},onMouseDown(e){let t=f.current;
194e.button===0&&s!==`click`&&(IL(t,!0)&&l||(n&&c&&(!(i.current.openEvent&&d)||i.current.openEvent.type===`mousedown`)?r(!1,e.nativeEvent,`click`):(e.preventDefault(),r(!0,e.nativeEvent,`click`))))},onClick(e){let t=f.current;if(s===`mousedown`&&f.current){f.current=void 0;return}IL(t,!0)&&l||(n&&c&&(!(i.current.openEvent&&d)||i.current.openEvent.type===`click`)?r(!1,e.nativeEvent,`click`):r(!0,e.nativeEvent,`click`))},onKeyDown(e){f.current=void 0,!(e.defaultPrevented||!u||VR(e))&&(e.key===` `&&!HR(a)&&(e.preventDefault(),p.current=!0),!oxe(e)&&e.key===`Enter`&&r(!(n&&c),e.nativeEvent,`click`))},onKeyUp(e){e.defaultPrevented||!u||VR(e)||HR(a)||e.key===` `&&p.current&&(p.current=!1,r(!(n&&c),e.nativeEvent,`click`))}}),[i,a,s,l,u,r,n,d,c]);return I.useMemo(()=>o?{reference:m}:{},[o,m])}var cxe={pointerdown:`onPointerDown`,mousedown:`onMouseDown`,click:`onClick`},lxe={pointerdown:`onPointerDownCapture`,mousedown:`onMouseDownCapture`,click:`onClickCapture`},UR=e=>({escapeKey:typeof e==`boolean`?e:e?.escapeKey??!1,outsidePress:typeof e==`boolean`?e:e?.outsidePress??!0});function uxe(e,t){t===void 0&&(t={});let{open:n,onOpenChange:r,elements:i,dataRef:a}=e,{enabled:o=!0,escapeKey:s=!0,outsidePress:c=!0,outsidePressEvent:l=`pointerdown`,referencePress:u=!1,referencePressEvent:d=`pointerdown`,ancestorScroll:f=!1,bubbles:p,capture:m}=t,h=bR(),g=zL(typeof c==`function`?c:()=>!1),_=typeof c==`function`?g:c,v=I.useRef(!1),{escapeKey:y,outsidePress:b}=UR(p),{escapeKey:x,outsidePress:S}=UR(m),C=I.useRef(!1),w=zL(e=>{if(!n||!o||!s||e.key!==`Escape`||C.current)return;let t=a.current.floatingContext?.nodeId,i=h?NL(h.nodesRef.current,t):[];if(!y&&(e.stopPropagation(),i.length>0)){let e=!0;if(i.forEach(t=>{var n;if((n=t.context)!=null&&n.open&&!t.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}r(!1,Kye(e)?e.nativeEvent:e,`escape-key`)}),T=zL(e=>{var t;let n=()=>{var t;w(e),(t=DL(e))==null||t.removeEventListener(`keydown`,n)};(t=DL(e))==null||t.addEventListener(`keydown`,n)}),E=zL(e=>{let t=a.current.insideReactTree;a.current.insideReactTree=!1;let n=v.current;if(v.current=!1,l===`click`&&n||t||typeof _==`function`&&!_(e))return;let o=DL(e),s=`[`+xR(`inert`)+`]`,c=kL(i.floating).querySelectorAll(s),u=wI(o)?o:null;for(;u&&!NI(u);){let e=II(u);if(NI(e)||!wI(e))break;u=e}if(c.length&&wI(o)&&!Gye(o)&&!EL(o,i.floating)&&Array.from(c).every(e=>!EL(u,e)))return;if(TI(o)&&k){let t=NI(o),n=PI(o),r=/auto|scroll/,i=t||r.test(n.overflowX),a=t||r.test(n.overflowY),s=i&&o.clientWidth>0&&o.scrollWidth>o.clientWidth,c=a&&o.clientHeight>0&&o.scrollHeight>o.clientHeight,l=n.direction===`rtl`,u=c&&(l?e.offsetX<=o.offsetWidth-o.clientWidth:e.offsetX>o.clientWidth),d=s&&e.offsetY>o.clientHeight;if(u||d)return}let d=a.current.floatingContext?.nodeId,f=h&&NL(h.nodesRef.current,d).some(t=>OL(e,t.context?.elements.floating));if(OL(e,i.floating)||OL(e,i.domReference)||f)return;let p=h?NL(h.nodesRef.current,d):[];if(p.length>0){let e=!0;if(p.forEach(t=>{var n;if((n=t.context)!=null&&n.open&&!t.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}r(!1,e,`outside-press`)}),D=zL(e=>{var t;let n=()=>{var t;E(e),(t=DL(e))==null||t.removeEventListener(l,n)};(t=DL(e))==null||t.addEventListener(l,n)});I.useEffect(()=>{if(!n||!o)return;a.current.__escapeKeyBubbles=y,a.current.__outsidePressBubbles=b;let e=-1;function t(e){r(!1,e,`ancestor-scroll`)}function c(){window.clearTimeout(e),C.current=!0}function u(){e=window.setTimeout(()=>{C.current=!1},MI()?5:0)}let d=kL(i.floating);s&&(d.addEventListener(`keydown`,x?T:w,x),d.addEventListener(`compositionstart`,c),d.addEventListener(`compositionend`,u)),_&&d.addEventListener(l,S?D:E,S);let p=[];return f&&(wI(i.domReference)&&(p=RI(i.domReference)),wI(i.floating)&&(p=p.concat(RI(i.floating))),!wI(i.reference)&&i.reference&&i.reference.contextElement&&(p=p.concat(RI(i.reference.contextElement)))),p=p.filter(e=>e!==d.defaultView?.visualViewport),p.forEach(e=>{e.addEventListener(`scroll`,t)}),()=>{s&&(d.removeEventListener(`keydown`,x?T:w,x),d.removeEventListener(`compositionstart`,c),d.removeEventListener(`compositionend`,u)),_&&d.removeEventListener(l,S?D:E,S),p.forEach(e
194=>{e.removeEventListener(`scroll`,t)}),window.clearTimeout(e)}},[a,i,s,_,l,n,r,f,o,y,b,w,x,T,E,S,D]),I.useEffect(()=>{a.current.insideReactTree=!1},[a,_,l]);let O=I.useMemo(()=>({onKeyDown:w,...u&&{[cxe[d]]:e=>{r(!1,e.nativeEvent,`reference-press`)},...d!==`click`&&{onClick(e){r(!1,e.nativeEvent,`reference-press`)}}}}),[w,r,u,d]),k=I.useMemo(()=>{function e(e){e.button===0&&(v.current=!0)}return{onKeyDown:w,onMouseDown:e,onMouseUp:e,[lxe[l]]:()=>{a.current.insideReactTree=!0}}},[w,l,a]);return I.useMemo(()=>o?{reference:O,floating:k}:{},[o,O,k])}function dxe(e){let{open:t=!1,onOpenChange:n,elements:r}=e,i=vR(),a=I.useRef({}),[o]=I.useState(()=>Wbe()),s=yR()!=null,[c,l]=I.useState(r.reference),u=zL((e,t,r)=>{a.current.openEvent=e?t:void 0,o.emit(`openchange`,{open:e,event:t,reason:r,nested:s}),n?.(e,t,r)}),d=I.useMemo(()=>({setPositionReference:l}),[]),f=I.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return I.useMemo(()=>({dataRef:a,open:t,onOpenChange:u,elements:f,events:o,floatingId:i,refs:d}),[t,u,f,o,i,d])}function WR(e){let{elements:t,...n}=e===void 0?{}:e,{nodeId:r}=n,i=dxe({...n,elements:{reference:t?.reference??null,floating:t?.floating??null}}),a=n.rootContext||i,o=a.elements,[s,c]=I.useState(null),[l,u]=I.useState(null),d=o?.domReference||s,f=I.useRef(null),p=bR();LL(()=>{d&&(f.current=d)},[d]);let m=jbe({...n,elements:{...o,...l&&{reference:l}}}),h=I.useCallback(e=>{let t=wI(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;u(t),m.refs.setReference(t)},[m.refs]),g=I.useCallback(e=>{(wI(e)||e===null)&&(f.current=e,c(e)),(wI(m.refs.reference.current)||m.refs.reference.current===null||e!==null&&!wI(e))&&m.refs.setReference(e)},[m.refs]),_=I.useMemo(()=>({...m.refs,setReference:g,setPositionReference:h,domReference:f}),[m.refs,g,h]),v=I.useMemo(()=>({...m.elements,domReference:d}),[m.elements,d]),y=I.useMemo(()=>({...m,...a,refs:_,elements:v,nodeId:r}),[m,_,v,r,a]);return LL(()=>{a.dataRef.current.floatingContext=y;let e=p?.nodesRef.current.find(e=>e.id===r);e&&(e.context=y)}),I.useMemo(()=>({...m,context:y,refs:_,elements:v}),[m,_,v,y])}function GR(e,t,n){let r=new Map,i=n===`item`,a=e;if(i&&e){let{[mR]:t,[hR]:n,...r}=e;a=r}return{...n===`floating`&&{tabIndex:-1,[Pbe]:``},...a,...t.map(t=>{let r=t?t[n]:null;return typeof r==`function`?e?r(e):null:r}).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,a]=t;if(!(i&&[mR,hR].includes(n))){if(n.indexOf(`on`)===0){if(r.has(n)||r.set(n,[]),typeof a==`function`){var o;(o=r.get(n))==null||o.push(a),e[n]=function(){var e=[...arguments];return r.get(n)?.map(t=>t(...e)).find(e=>e!==void 0)}}}else e[n]=a}}),e),{})}}function fxe(e){e===void 0&&(e=[]);let t=e.map(e=>e?.reference),n=e.map(e=>e?.floating),r=e.map(e=>e?.item),i=I.useCallback(t=>GR(t,e,`reference`),t),a=I.useCallback(t=>GR(t,e,`floating`),n),o=I.useCallback(t=>GR(t,e,`item`),r);return I.useMemo(()=>({getReferenceProps:i,getFloatingProps:a,getItemProps:o}),[i,a,o])}var pxe=new Map([[`select`,`listbox`],[`combobox`,`listbox`],[`label`,!1]]);function mxe(e,t){t===void 0&&(t={});let{open:n,elements:r,floatingId:i}=e,{enabled:a=!0,role:o=`dialog`}=t,s=vR(),c=r.domReference?.id||s,l=I.useMemo(()=>ML(r.floating)?.id||i,[r.floating,i]),u=pxe.get(o)??o,d=yR()!=null,f=I.useMemo(()=>u===`tooltip`||o===`label`?{[`aria-`+(o===`label`?`labelledby`:`describedby`)]:n?l:void 0}:{"aria-expanded":n?`true`:`false`,"aria-haspopup":u===`alertdialog`?`dialog`:u,"aria-controls":n?l:void 0,...u===`listbox`&&{role:`combobox`},...u===`menu`&&{id:c},...u===`menu`&&d&&{role:`menuitem`},...o===`select`&&{"aria-autocomplete":`none`},...o===`combobox`&&{"aria-autocomplete":`list`}},[u,l,d,n,c,o]),p=I.useMemo(()=>{let e={id:l,...u&&{role:u}};return u===`tooltip`||o===`label`?e:{...e,...u===`menu`&&{"aria-labelledby":c}}},[u,l,c,o]),m=I.useCallback(e=>{let{active:t,selected:n}=e,r={role:`option`,...t&&{id:l+`-fui-option`}};switch(o){case`select`:case`combobox`:return{...r,"aria-selected":n}}return{}},[l,o]);return I.useMemo(()=>a?{reference:f,floating:p,item:m}:{},[a,f,p,m])}var hxe=U.div` 195 ${({theme:e})=>e.containers.styles}; 196`,KR=({children:e})=>{let t=WE();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(VE,{styles:t}),(0,V.jsx)(hxe,{children:e})]})},gxe=U.div` 197 z-index: ${({theme:e})=>e.zIndices.portal}; 198`,qR=({anchor:e,middlewares:t=[pR(),dR()],children:n,onClose:r,rootElement:i})=>{let{refs:a,floatingStyles:o,placement:s,middlewareData:c}=WR({whileElementsMounted:aR,elements:{reference:e},middleware:t}),l={...o};return c.shift&&(l={...l,"--dgs-core-tooltip-shift-x":`${c.shift.x}px`}),YE((0,V.jsx)(KR,{children:r?(0,V.jsx)(QE,{onClose:r,children:e=>(0,V.jsx)(`div`,{ref:a.setFloating,style:l,className:`popover-placement-${s}`,...e,children:n})}):(0,V.jsx)(gxe,{ref:a.setFloating,style:o,className:`popover-placement-${s}`,children:n})}),$E(i))},_xe=U.div` 199 ${({theme:e})=>e.tooltips.wrapper}; 200`,vxe=U.div` 201 ${({theme:e})=>e.tooltips.content}; 202`,yxe=({children:e,className:t})=>(0,V.jsx)(_xe,{role:`tooltip`,className:t,children:(0,V.jsx)(vxe,{children:e})}),bxe=U.button` 203 color: inherit; 204 cursor: pointer; 205 background: transparent; 206 width: 1.25rem; 207 height: 1.25rem; 208 vertical-align: text-bottom; 209`,xxe=U(yxe)` 210 max-width: 400px; 211`,JR=({children:e,...t})=>{let[n,r]=(0,I.useState)(null),{t:i}=B();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(bxe,{type:`button`,title:i(`Click for more information`),onClick:e=>{e.preventDefault(),e.stopPropagation(),r(e.currentTarget)},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},...t,children:(0,V.jsx)(nD,{$icon:`info`})}),n&&(0,V.jsx)(qR,{anchor:n,middlewares:[pR({allowedPlacements:[`top`,`bottom`]}
211),dR()],onClose:()=>r(null),children:(0,V.jsx)(xxe,{children:e})})]})},YR=U.label` 212 ${({theme:e})=>e.forms.label}; 213`,Sxe=U.div` 214 ${({theme:e})=>e.forms.control}; 215`,Cxe=U.div` 216 ${({theme:e})=>e.forms.prefixContainer}; 217`,wxe=U.div` 218 ${({theme:e})=>e.forms.suffixContainer}; 219`,XR=U(YR)` 220 ${({theme:e})=>e.forms.controlLabel}; 221 display: flex; 222`,Txe=U.div` 223 ${({theme:e})=>e.forms.error}; 224`,Exe=U.div` 225 ${({theme:e})=>e.forms.description}; 226`,Dxe=U.div` 227 ${({theme:e})=>e.forms.chars}; 228`,Oxe=U.div` 229 ${({theme:e})=>e.forms.fieldContainer}; 230`,ZR=U.span` 231 margin-left: ${({theme:e})=>e.spacing(1)}; 232`,kxe=U.div` 233 display: grid; 234 grid-template-columns: ${({$withMaxChars:e})=>e?`1fr max-content`:`1fr`}; 235 gap: ${({theme:e})=>e.spacing(4)}; 236`,QR=({label:e,name:t,error:n,infoText:r,description:i,className:a,hasValue:o,disabled:s,chars:c,maxChars:l,children:u,prefix:d,suffix:f,required:p,readOnly:m,...h})=>{let{t:g}=B();return(0,V.jsxs)(Sxe,{$hasTopRow:!!e,$hasBottomRow:!!n||!!i,className:HE(s&&`is-disabled`,o&&`has-value`,m&&`read-only`,a),...h,children:[e&&(0,V.jsxs)(XR,{$hasPrefix:!!d,$hasSuffix:!!f,htmlFor:t,className:`label`,children:[(0,V.jsxs)(`div`,{className:`disableable`,children:[e,p&&(0,V.jsx)(`span`,{title:g(`Field is required`),children:`*`})]}),m&&(0,V.jsxs)(ZR,{className:`disableable`,children:[`(`,g(`Read only`),`)`]}),r&&(0,V.jsx)(ZR,{children:(0,V.jsx)(JR,{className:`infoIcon`,children:r})})]}),(0,V.jsxs)(Oxe,{$hasValue:!!o,$hasSuffix:!!f,$hasPrefix:!!d,className:HE(!!n&&`has-error`,`disableable`),children:[d?(0,V.jsx)(Cxe,{children:d}):null,u,f?(0,V.jsx)(wxe,{children:f}):null]}),(!!n||!!i||!!l)&&(0,V.jsxs)(kxe,{className:`disableable`,$withMaxChars:!!l,children:[n&&(0,V.jsx)(Txe,{id:`${t}_error`,children:n}),!n&&i&&(0,V.jsx)(Exe,{children:i}),l&&(0,V.jsxs)(Dxe,{children:[c,` / `,l]})]})]})},Axe=U.input` 237 ${({theme:e})=>e.forms.field}; 238`,$R=I.forwardRef(function({value:e,name:t,placeholder:n,description:r,maxChars:i,label:a,disabled:o,readOnly:s,error:c,infoText:l,className:u,prefix:d,suffix:f,autoFocus:p,required:m,...h},g){let _=(0,I.useRef)(null),v=(0,I.useCallback)(e=>{p&&e&&document.activeElement!==e&&e.focus(),_.current=e,typeof g==`function`?g(e):g&&(g.current=e)},[p,g]);return(0,V.jsx)(QR,{prefix:d,suffix:f,label:a,name:t,error:c,infoText:l,description:r,chars:e&&typeof e==`string`?e.length:0,maxChars:i,disabled:o,hasValue:e===0||!!e||!!n,className:u,required:m,readOnly:s,children:(0,V.jsx)(Axe,{...h,$hasLabel:!!a,className:HE(s&&`read-only`),maxLength:i,name:t,id:t,placeholder:n,disabled:o,readOnly:s,value:e,ref:v,"aria-required":m,"aria-invalid":!!c,"aria-errormessage":`${t}_error`})})});function ez(e,t){let[n,r,i]=cI(e),a=(0,I.useCallback)(e=>{e.target.value===``&&!t?i.setValue(null):n.onChange(e)},[i,n,t]);return[(0,I.useMemo)(()=>({...n,onChange:a}),[a,n]),r,i]}var jxe=({autoFocus:e=!1,disabled:t=!1,readOnly:n=!1,label:r,infoText:i,max:a,min:o,step:s,name:c,placeholder:l,description:u,maxChars:d,type:f,prefix:p,suffix:m,className:h,autoComplete:g,required:_,nonNullable:v})=>({controlProps:{label:r,infoText:i,placeholder:l,description:u,maxChars:d,disabled:t,readOnly:n,type:f,autoFocus:e,min:o,max:a,step:s,prefix:p,suffix:m,className:h,autoComplete:g,required:_},useFieldProps:{name:c,nonNullable:v}}),tz=I.forwardRef(function(e,t){let{controlProps:n,useFieldProps:r}=jxe(e),[i,a]=ez(r.name,r.nonNullable);return(0,V.jsx)($R,{ref:t,...n,...i,error:a.touched&&a.error?a.error:void 0,value:i.value??``})}),Mxe=U(lI)` 239 ${({theme:e})=>e.modal.overflowContainer}; 240`,Nxe=U(ub)` 241 ${({theme:e})=>e.buttons.base}; 242 ${({$color:e,theme:t})=>t.buttons.colors[e].base}; 243 ${({$size:e,theme:t})=>e===`small`?t.buttons.small.base:``}; 244`,nz=I.forwardRef(function({children:e,prefix:t,color:n=`default`,size:r=`default`,...i},a){return(0,V.jsx)(Nxe,{$color:n,$size:r,...i,ref:a,children:(0,V.jsx)(PE,{color:n,size:r,prefix:t,children:e})})}),Pxe=()=>null;function Fxe(e,t,n){let r=(0,I.useMemo)(()=>e.map(e=>window.matchMedia(e)),[e]),i=(0,I.useCallback)(()=>{let e=r.findIndex(e=>e.matches);return t[e]===void 0?n:t[e]},[n,r,t]),[a,o]=(0,I.useState)(i);return(0,I.useEffect)(()=>{let e=()=>
244o(i);return r.forEach(t=>t.addEventListener?t.addEventListener(`change`,e):t.addListener(e)),()=>r.forEach(t=>t.removeEventListener?t.removeEventListener(`change`,e):t.removeListener(e))},[i,r]),a}var Ixe=()=>Pxe,Lxe=({children:e,fallback:t,redirectUrl:n=`/auth/login`,redirectBack:r=!1})=>{let{state:{phase:i}}=lce(),{pathname:a}=My();return i!==MC.LOGGED_IN&&i!==MC.REFRESHING?t??(0,V.jsx)(Ky,{to:r?`${n}?redirect=${a}`:n}):(0,V.jsx)(V.Fragment,{children:e})},rz=U.div` 245 ${({theme:e})=>e.buttonGroups.base} 246`,Rxe=U.a` 247 ${({theme:e})=>e.iconButtons.base}; 248 ${({$color:e,theme:t})=>t.iconButtons.colors[e].base}; 249 ${({$size:e,theme:t})=>e===`small`?t.iconButtons.small.base:``}; 250`,zxe=I.forwardRef(function({icon:e,iconSrc:t,iconComponent:n,color:r=`default`,size:i=`default`,...a},o){let s;return s=e?(0,V.jsx)(nD,{$icon:e}):t?(0,V.jsx)(tD,{src:t}):n,(0,V.jsx)(Rxe,{$color:r,$size:i,...a,ref:o,children:(0,V.jsx)(rD,{color:r,size:i,children:s})})}),Bxe=U.div` 251 z-index: ${({theme:e})=>e.zIndices.portal}; 252`,Vxe=({renderContent:e,renderTrigger:t,middlewares:n=[],modal:r=!1})=>{let{open:i,handleClose:a,setOpen:o}=jw(),{refs:s,floatingStyles:c,context:l}=WR({open:i,onOpenChange:o,middleware:[Mbe(10),fR(),dR({padding:10}),...n],whileElementsMounted:aR}),{getReferenceProps:u,getFloatingProps:d}=fxe([sxe(l),uxe(l),mxe(l)]),f=u(),p=e=>{e.preventDefault(),e.stopPropagation(),f.onClick(e)};return(0,V.jsxs)(V.Fragment,{children:[t({ref:s.setReference,...f,onClick:p}),i&&(0,V.jsx)(exe,{root:$E(),children:(0,V.jsx)(KR,{children:(0,V.jsx)(axe,{context:l,modal:r,children:(0,V.jsx)(Bxe,{ref:s.setFloating,style:c,...d(),children:e(a)})})})})]})},Hxe=U.div` 253 ${({theme:e})=>e.dropdown.container}; 254`,iz=({middlewares:e=[],className:t,ariaRole:n,id:r,renderTrigger:i,renderContent:a})=>(0,V.jsx)(Vxe,{middlewares:e,renderTrigger:i,renderContent:e=>(0,V.jsx)(Hxe,{id:r,role:n,className:t,children:a(e)})}),Uxe=U.button` 255 width: 100%; 256 border: none; 257 display: block; 258 text-align: left; 259 background-color: transparent; 260 font-family: ${({theme:e})=>e.fonts.body}; 261 font-style: normal; 262 font-variant: normal; 263 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 264 font-size: inherit; 265 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 266 color: ${({theme:e})=>e.colors.buttons.default.text}; 267`,Wxe=U.div` 268 ${({theme:e})=>e.dropdown.item}; 269`,az=I.forwardRef(function({children:e,className:t,...n},r){return(0,V.jsx)(Uxe,{...n,ref:r,type:`button`,children:(0,V.jsx)(Wxe,{className:t,$disabled:n.disabled||!1,title:n.title,children:e})})}),Gxe=365.2425,oz=6048e5,Kxe=864e5,sz=6e4,cz=36e5,qxe=1e3,lz=86400;lz*7,lz*Gxe/12*3;var uz=Symbol.for(`constructDateFrom`);function dz(e,t){return typeof e==`function`?e(t):e&&typeof e==`object`&&uz in e?e[uz](t):e instanceof Date?new e.constructor(t):new Date(t)}function fz(e,t){return dz(t||e,e)}function pz(e,t,n){let r=fz(e,n?.in);return isNaN(t)?dz(n?.in||e,NaN):(t&&r.setDate(r.getDate()+t),r)}var Jxe={};function mz(){return Jxe}function hz(e,t){let n=mz(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=fz(e,t?.in),a=i.getDay(),o=(a<r?7:0)+a-r;return i.setDate(i.getDate()-o),i.setHours(0,0,0,0),i}function gz(e,t){return hz(e,{...t,weekStartsOn:1})}function _z(e,t){let n=fz(e,t?.in),r=n.getFullYear(),i=dz(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);let a=gz(i),o=dz(n,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);let s=gz(o);return n.getTime()>=a.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function vz(e){let t=fz(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-n}function yz(e,...t){let n=dz.bind(null,e||t.find(e=>typeof e==`object`));return t.map(n)}function bz(e,t){let n=fz(e,t?.in);return n.setHours(0,0,0,0),n}function xz(e,t,n){let[r,i]=yz(n?.in,e,t),a=bz(r),o=bz(i),s=+a-vz(a),c=+o-vz(o);return Math.round((s-c)/Kxe)}function Sz(e,t){let n=_z(e,t),r=dz(t?.in||e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),gz(r)}function Cz(e,t,n){let r=fz(e,n?.in);return r.setTime(r.getTime()+t*sz),r}function wz(e,t,n){return pz(e,t*7,n)}function Tz(e,t,n){let[r,i]=yz(n?.in,e,t);return+bz(r)==+bz(i)}function Ez(e){return e instanceof Date||typeof e==`object`&&Object.prototype.toString.call(e)===`[object Date]`}function Dz(e){return!(!Ez(e)&&typeof e!=`number`||isNaN(+fz(e)))}function Oz(e,t,n){let[r,i]=yz(n?.in,e,t),a=kz(r,i),o=Math.abs(xz(r,i));r.setDate(r.getDate()-a*o);let s=a*(o-Number(kz(r,i)===-a));return s===0?0:s}function kz(e,t){let n=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 n<0?-1:n>0?1:n}function Az(e){return t=>{let n=(e?Math[e]:Math.trunc)(t);return n===0?0:n}}function jz(e,t,n){let[r,i]=yz(n?.in,e,t),a=(+r-i)/cz;return Az(n?.roundingMethod)(a)}function Mz(e,t){return+fz(e)-fz(t)}function Nz(e,t,n){let r=Mz(e,t)/sz;return Az(n?.roundingMethod)(r)}function Pz(e,t,n){let r=Mz(e,t)/1e3;return Az(n?.roundingMethod)(r)}function Fz(e,t){let n=fz(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}var Iz={lessThanXSeconds:{one:`less than a second`,other:`less than {{count}} seconds`},xSeconds:{one:`1 second`,other:`{{count}} seconds`},halfAMinute:`half a minute`,lessThanXMinutes:{one:`less than a minute`,other:`less than {{count}} minutes`},xMinutes:{one:`1 minute`,other:`{{count}} minutes`},aboutXHours:{one:`about 1 hour`,other:`about {{count}} hours`},xHours:{one:`1 hour`,other:`{{count}} hours`},xDays:{one:`1 day`,other:`{{count}} days`},aboutXWeeks:{one:`about 1 week`,other:`about {{count}} weeks`},xWeeks:{one:`1 week`,other:`{{count}} weeks`},aboutXMonths:{one:`about 1 month`,other:`about {{count}} months`},xMonths:{one:`1 month`,other:`{{count}} months`},aboutXYears:{one:`about 1 year`,other:`about {{count}} years`},xYears:{one:`1 year`,other:`{{count}} years`},overXYears:{one:`over 1 year`,other:`over {{count}} years`},almostXYears:{one:`almost 1 year`,other:`almost {{count}} years`}}
vendor: 36,156 bytes, line 269
269,Lz=(e,t,n)=>{let r,i=Iz[e];return r=typeof i==`string`?i:t===1?i.one:i.other.replace(`{{count}}`,t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?`in `+r:r+` ago`:r};function Rz(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var zz={date:Rz({formats:{full:`EEEE, MMMM do, y`,long:`MMMM do, y`,medium:`MMM d, y`,short:`MM/dd/yyyy`},defaultWidth:`full`}),time:Rz({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:Rz({formats:{full:`{{date}} 'at' {{time}}`,long:`{{date}} 'at' {{time}}`,medium:`{{date}}, {{time}}`,short:`{{date}}, {{time}}`},defaultWidth:`full`})},Bz={lastWeek:`'last' eeee 'at' p`,yesterday:`'yesterday at' p`,today:`'today at' p`,tomorrow:`'tomorrow at' p`,nextWeek:`eeee 'at' p`,other:`P`},Vz=(e,t,n,r)=>Bz[e];function Hz(e){return(t,n)=>{let r=n?.context?String(n.context):`standalone`,i;if(r===`formatting`&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,r=n?.width?String(n.width):t;i=e.formattingValues[r]||e.formattingValues[t]}else{let t=e.defaultWidth,r=n?.width?String(n.width):e.defaultWidth;i=e.values[r]||e.values[t]}let a=e.argumentCallback?e.argumentCallback(t):t;return i[a]}}var Uz={ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+`st`;case 2:return n+`nd`;case 3:return n+`rd`}return n+`th`},era:Hz({values:{narrow:[`B`,`A`],abbreviated:[`BC`,`AD`],wide:[`Before Christ`,`Anno Domini`]},defaultWidth:`wide`}),quarter:Hz({values:{narrow:[`1`,`2`,`3`,`4`],abbreviated:[`Q1`,`Q2`,`Q3`,`Q4`],wide:[`1st quarter`,`2nd quarter`,`3rd quarter`,`4th quarter`]},defaultWidth:`wide`,argumentCallback:e=>e-1}),month:Hz({values:{narrow:[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],abbreviated:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],wide:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]},defaultWidth:`wide`}),day:Hz({values:{narrow:[`S`,`M`,`T`,`W`,`T`,`F`,`S`],short:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],abbreviated:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],wide:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`]},defaultWidth:`wide`}),dayPeriod:Hz({values:{narrow:{am:`a`,pm:`p`,midnight:`mi`,noon:`n`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},abbreviated:{am:`AM`,pm:`PM`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`}},defaultWidth:`wide`,formattingValues:{narrow:{am:`a`,pm:`p`,midnight:`mi`,noon:`n`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`},abbreviated:{am:`AM`,pm:`PM`,midnight:`midnight`,noon:`noon`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`midnight`,noon:`noon`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`}},defaultFormattingWidth:`wide`})};function Wz(e){return(t,n={})=>{let r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;let o=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?Kz(s,e=>e.test(o)):Gz(s,e=>e.test(o)),l;l=e.valueCallback?e.valueCallback(c):c,l=n.valueCallback?n.valueCallback(l):l;let u=t.slice(o.length);return{value:l,rest:u}}}function Gz(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Kz(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function qz(e){return(t,n={})=>{let r=t.match(e.matchPattern);if(!r)return null;let i=r[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;let s=t.slice(i.length);return{value:o,rest:s}}}var Jz={code:`en-US`,formatDistance:Lz,formatLong:zz,formatRelative:Vz,localize:Uz,match:{ordinalNumber:qz({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:Wz({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:`any`}),quarter:Wz({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:`any`,valueCallback:e=>e+1}),month:Wz({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|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,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:`any`}),day:Wz({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/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:Wz({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`})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function Yz(e,t){let n=fz(e,t?.in);return xz(n,Fz(n))+1}function Xz(e,t){let n=fz(e,t?.in),r=+gz(n)-Sz(n);return Math.round(r/oz)+1}function Zz(e,t){let n=fz(e,t?.in),r=n.getFullYear(),i=mz(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,o=dz(t?.in||e,0);o.setFullYear(r+1,0,a),o.setHours(0,0,0,0);let s=hz(o,t),c=dz(t?.in||e,0);c.setFullYear(r,0,a),c.setHours(0,0,0,0);let l=hz(c,t);return+n>=+s?r+1:+n>=+l?r:r-1}function Qz(e,t){let n=mz(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=Zz(e,t),a=dz(t?.in||e,0);return a.setFullYear(i,0,r),a.setHours(0,0,0,0),hz(a,t)}function $z(e,t){let n=fz(e,t?.in),r=+hz(n,t)-Qz(n,t);return Math.round(r/oz)+1}function eB(e,t){return(e<0?`-`:``)+Math.abs(e).toString().padStart(t,`0`)}var tB={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return eB(t===`yy`?r%100:r,t.length)},M(e,t){let n=e.getMonth();return t===`M`?String(n+1):eB(n+1,2)},d(e,t){return eB(e.getDate(),t.length)},a(e,t){let n=e.getHours()/12>=1?`pm`:`am`;switch(t){case`a`:case`aa`:return n.toUpperCase();case`aaa`:return n;case`aaaaa`:return n[0];default:return n===`am`?`a.m.`:`p.m.`}},h(e,t){return eB(e.getHours()%12||12,t.length)},H(e,t){return eB(e.getHours(),t.length)},m(e,t){return eB(e.getMinutes(),t.length)},s(e,t){return eB(e.getSeconds(),t.length)},S(e,t){let n=t.length,r=e.getMilliseconds();return eB(Math.trunc(r*10**(n-3)),t.length)}},nB={am:`am`,pm:`pm`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},rB={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case`G`:case`GG`:case`GGG`:return n.era(r,{width:`abbreviated`});case`GGGGG`:return n.era(r,{width:`narrow`});default:return n.era(r,{width:`wide`})}},y:function(e,t,n){if(t===`yo`){let t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:`year`})}return tB.y(e,t)},Y:function(e,t,n,r){let i=Zz(e,r),a=i>0?i:1-i;return t===`YY`?eB(a%100,2):t===`Yo`?n.ordinalNumber(a,{unit:`year`}):eB(a,t.length)},R:function(e,t){return eB(_z(e),t.length)},u:function(e,t){return eB(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case`Q`:return String(r);case`QQ`:return eB(r,2);case`Qo`:return n.ordinalNumber(r,{unit:`quarter`});case`QQQ`:return n.quarter(r,{width:`abbreviated`,context:`formatting`});case`QQQQQ`:return n.quarter(r,{width:`narrow`,context:`formatting`});default:return n.quarter(r,{width:`wide`,context:`formatting`})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case`q`:return String(r);case`qq`:return eB(r,2);case`qo`:return n.ordinalNumber(r,{unit:`quarter`});case`qqq`:return n.quarter(r,{width:`abbreviated`,context:`standalone`});case`qqqqq`:return n.quarter(r,{width:`narrow`,context:`standalone`});default:return n.quarter(r,{width:`wide`,context:`standalone`})}},M:function(e,t,n){let r=e.getMonth();switch(t){case`M`:case`MM`:return tB.M(e,t);case`Mo`:return n.ordinalNumber(r+1,{unit:`month`});case`MMM`:return n.month(r,{width:`abbreviated`,context:`formatting`});case`MMMMM`:return n.month(r,{width:`narrow`,context:`formatting`});default:return n.month(r,{width:`wide`,context:`formatting`})}},L:function(e,t,n){let r=e.getMonth();switch(t){case`L`:return String(r+1);case`LL`:return eB(r+1,2);case`Lo`:return n.ordinalNumber(r+1,{unit:`month`});case`LLL`:return n.month(r,{width:`abbreviated`,context:`standalone`});case`LLLLL`:return n.month(r,{width:`narrow`,context:`standalone`});default:return n.month(r,{width:`wide`,context:`standalone`})}},w:function(e,t,n,r){let i=$z(e,r);return t===`wo`?n.ordinalNumber(i,{unit:`week`}):eB(i,t.length)},I:function(e,t,n){let r=Xz(e);return t===`Io`?n.ordinalNumber(r,{unit:`week`}):eB(r,t.length)},d:function(e,t,n){return t===`do`?n.ordinalNumber(e.getDate(),{unit:`date`}):tB.d(e,t)},D:function(e,t,n){let r=Yz(e);return t===`Do`?n.ordinalNumber(r,{unit:`dayOfYear`}):eB(r,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case`E`:case`EE`:case`EEE`:return n.day(r,{width:`abbreviated`,context:`formatting`});case`EEEEE`:return n.day(r,{width:`narrow`,context:`formatting`});case`EEEEEE`:return n.day(r,{width:`short`,context:`formatting`});default:return n.day(r,{width:`wide`,context:`formatting`})}},e:function(e,t,n,r){let i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case`e`:return String(a);case`ee`:return eB(a,2);case`eo`:return n.ordinalNumber(a,{unit:`day`});case`eee`:return n.day(i,{width:`abbreviated`,context:`formatting`});case`eeeee`:return n.day(i,{width:`narrow`,context:`formatting`});case`eeeeee`:return n.day(i,{width:`short`,context:`formatting`});default:return n.day(i,{width:`wide`,context:`formatting`})}},c:function(e,t,n,r){let i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case`c`:return String(a);case`cc`:return eB(a,t.length);case`co`:return n.ordinalNumber(a,{unit:`day`});case`ccc`:return n.day(i,{width:`abbreviated`,context:`standalone`});case`ccccc`:return n.day(i,{width:`narrow`,context:`standalone`});case`cccccc`:return n.day(i,{width:`short`,context:`standalone`});default:return n.day(i,{width:`wide`,context:`standalone`})}},i:function(e,t,n){let r=e.getDay(),i=r===0?7:r;switch(t){case`i`:return String(i);case`ii`:return eB(i,t.length);case`io`:return n.ordinalNumber(i,{unit:`day`});case`iii`:return n.day(r,{width:`abbreviated`,context:`formatting`});case`iiiii`:return n.day(r,{width:`narrow`,context:`formatting`});case`iiiiii`:return n.day(r,{width:`short`,context:`formatting`});default:return n.day(r,{width:`wide`,context:`formatting`})}},a:function(e,t,n){let r=e.getHours()/12>=1?`pm`:`am`;switch(t){case`a`:case`aa`:return n.dayPeriod(r,{width:`abbreviated`,context:`formatting`});case`aaa`:return n.dayPeriod(r,{width:`abbreviated`,context:`formatting`}).toLowerCase();case`aaaaa`:return n.dayPeriod(r,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(r,{width:`wide`,context:`formatting`})}},b:function(e,t,n){let r=e.getHours(),i;switch(i=r===12?nB.noon:r===0?nB.midnight:r/12>=1?`pm`:`am`,t){case`b`:case`bb`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`});case`bbb`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`}).toLowerCase();case`bbbbb`:return n.dayPeriod(i,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(i,{width:`wide`,context:`formatting`})}},B:function(e,t,n){let r=e.getHours(),i;switch(i=r>=17?nB.evening:r>=12?nB.afternoon:r>=4?nB.morning:nB.night,t){case`B`:case`BB`:case`BBB`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`});case`BBBBB`:return n.dayPeriod(i,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(i,{width:`wide`,context:`formatting`})}},h:function(e,t,n){if(t===`ho`){let t=e.getHours()%12;return t===0&&(t=12),n.ordinalNumber(t,{unit:`hour`})}return tB.h(e,t)},H:function(e,t,n){return t===`Ho`?n.ordinalNumber(e.getHours(),{unit:`hour`}):tB.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return t===`Ko`?n.ordinalNumber(r,{unit:`hour`}):eB(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t===`ko`?n.ordinalNumber(r,{unit:`hour`}):eB(r,t.length)},m:function(e,t,n){return t===`mo`?n.ordinalNumber(e.getMinutes(),{unit:`minute`}):tB.m(e,t)},s:function(e,t,n){return t===`so`?n.ordinalNumber(e.getSeconds(),{unit:`second`}):tB.s(e,t)},S:function(e,t){return tB.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(r===0)return`Z`;switch(t){case`X`:return aB(r);case`XXXX`:case`XX`:return oB(r);default:return oB(r,`:`)}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`x`:return aB(r);case`xxxx`:case`xx`:return oB(r);default:return oB(r,`:`)}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`O`:case`OO`:case`OOO`:return`GMT`+iB(r,`:`);default:return`GMT`+oB(r,`:`)}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`z`:case`zz`:case`zzz`:return`GMT`+iB(r,`:`);default:return`GMT`+oB(r,`:`)}},t:function(e,t,n){return eB(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return eB(+e,t.length)}};function iB(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=Math.trunc(r/60),a=r%60;return a===0?n+String(i):n+String(i)+t+eB(a,2)}function aB(e,t){return e%60==0?(e>0?`-`:`+`)+eB(Math.abs(e)/60,2):oB(e,t)}function oB(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=eB(Math.trunc(r/60),2),a=eB(r%60,2);return n+i+t+a}var sB=(e,t)=>{switch(e){case`P`:return t.date({width:`short`});case`PP`:return t.date({width:`medium`});case`PPP`:return t.date({width:`long`});default:return t.date({width:`full`})}},cB=(e,t)=>{switch(e){case`p`:return t.time({width:`short`});case`pp`:return t.time({width:`medium`});case`ppp`:return t.time({width:`long`});default:return t.time({width:`full`})}},lB={p:cB,P:(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return sB(e,t);let a;switch(r){case`P`:a=t.dateTime({width:`short`});break;case`PP`:a=t.dateTime({width:`medium`});break;case`PPP`:a=t.dateTime({width:`long`});break;default:a=t.dateTime({width:`full`})}return a.replace(`{{date}}`,sB(r,t)).replace(`{{time}}`,cB(i,t))}},uB=/^D+$/,dB=/^Y+$/,fB=[`D`,`DD`,`YY`,`YYYY`];function pB(e){return uB.test(e)}function mB(e){return dB.test(e)}function hB(e,t,n){let r=gB(e,t,n);if(console.warn(r),fB.includes(e))throw RangeError(r)}function gB(e,t,n){let r=e[0]===`Y`?`years`:`days of the month`;return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var _B=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,vB=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,yB=/^'([^]*?)'?$/,bB=/''/g,xB=/[a-zA-Z]/;function SB(e,t,n){let r=mz(),i=n?.locale??r.locale??Jz,a=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=fz(e,n?.in);if(!Dz(s))throw RangeError(`Invalid time value`);let c=t.match(vB).map(e=>{let t=e[0];if(t===`p`||t===`P`){let n=lB[t];return n(e,i.formatLong)}return e}).join(``).match(_B).map(e=>{if(e===`''`)return{isToken:!1,value:`'`};let t=e[0];if(t===`'`)return{isToken:!1,value:CB(e)};if(rB[t])return{isToken:!0,value:e};if(t.match(xB))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});i.localize.preprocessor&&(c=i.localize.preprocessor(s,c));let l={firstWeekContainsDate:a,weekStartsOn:o,locale:i};return c.map(r=>{if(!r.isToken)return r.value;let a=r.value;(!n?.useAdditionalWeekYearTokens&&mB(a)||!n?.useAdditionalDayOfYearTokens&&pB(a))&&hB(a,t,String(e));let o=rB[a[0]];return o(s,a,i.localize,l)}).join(``)}function CB(e){let t=e.match(yB);return t?t[1].replace(bB,`'`):e}function wB(){return Object.assign({},mz())}function TB(e,t){let n=fz(e,t?.in).getDay();return n===0?7:n}function EB(e,t){return+fz(e)>+fz(t)}function DB(e,t){return+fz(e)<+fz(t)}function OB(e,t){return+fz(e)==+fz(t)}function kB(e){return+fz(e)>Date.now()}function AB(e,t){let n=jB(t)?new t(0):dz(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}function jB(e){return typeof e==`function`&&e.prototype?.constructor===e}var MB=10,NB=class{subPriority=0;validate(e,t){return!0}},PB=class extends NB{constructor(e,t,n,r,i){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=r,i&&(this.subPriority=i)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}},FB=class extends NB{priority=MB;subPriority=-1;constructor(e,t){super(),this.context=e||(e=>dz(t,e))}set(e,t){return t.timestampIsSet?e:dz(e,AB(e,this.context))}},IB=class{run(e,t,n,r){let i=this.parse(e,t,n,r);return i?{setter:new PB(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,n){return!0}},LB=class extends IB{priority=140;parse(e,t,n){switch(t){case`G`:case`GG`:case`GGG`:return n.era(e,{width:`abbreviated`})||n.era(e,{width:`narrow`});case`GGGGG`:return n.era(e,{width:`narrow`});default:return n.era(e,{width:`wide`})||n.era(e,{width:`abbreviated`})||n.era(e,{width:`narrow`})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=[`R`,`u`,`t`,`T`]},RB={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},zB={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function BB(e,t){return e&&{value:t(e.value),rest:e.rest}}function VB(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function HB(e,t){let n=t.match(e);if(!n)return null;if(n[0]===`Z`)return{value:0,rest:t.slice(1)};let r=n[1]===`+`?1:-1,i=n[2]?parseInt(n[2],10):0,a=n[3]?parseInt(n[3],10):0,o=n[5]?parseInt(n[5],10):0;return{value:r*(i*cz+a*sz+o*qxe),rest:t.slice(n[0].length)}}function UB(e){return VB(RB.anyDigitsSigned,e)}function WB(e,t){switch(e){case 1:return VB(RB.singleDigit,t);case 2:return VB(RB.twoDigits,t);case 3:return VB(RB.threeDigits,t);case 4:return VB(RB.fourDigits,t);default:return VB(RegExp(`^\\d{1,`+e+`}`),t)}}function GB(e,t){switch(e){case 1:return VB(RB.singleDigitSigned,t);case 2:return VB(RB.twoDigitsSigned,t);case 3:return VB(RB.threeDigitsSigned,t);case 4:return VB(RB.fourDigitsSigned,t);default:return VB(RegExp(`^-?\\d{1,`+e+`}`),t)}}function KB(e){switch(e){case`morning`:return 4;case`evening`:return 17;case`pm`:case`noon`:case`afternoon`:return 12;default:return 0}}function qB(e,t){let n=t>0,r=n?t:1-t,i;if(r<=50)i=e||100;else{let t=r+50,n=Math.trunc(t/100)*100,a=e>=t%100;i=e+n-(a?100:0)}return n?i:1-i}function JB(e){return e%400==0||e%4==0&&e%100!=0}var YB=class extends IB{priority=130;incompatibleTokens=[`Y`,`R`,`u`,`w`,`I`,`i`,`e`,`c`,`t`,`T`];parse(e,t,n){let r=e=>({year:e,isTwoDigitYear:t===`yy`});switch(t){case`y`:return BB(WB(4,e),r);case`yo`:return BB(n.ordinalNumber(e,{unit:`year`}),r);default:return BB(WB(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){let r=e.getFullYear();if(n.isTwoDigitYear){let t=qB(n.year,r);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}let i=!(`era`in t)||t.era===1?n.year:1-n.year;return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}},XB=class extends IB{priority=130;parse(e,t,n){let r=e=>({year:e,isTwoDigitYear:t===`YY`});switch(t){case`Y`:return BB(WB(4,e),r);case`Yo`:return BB(n.ordinalNumber(e,{unit:`year`}),r);default:return BB(WB(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,r){let i=Zz(e,r);if(n.isTwoDigitYear){let t=qB(n.year,i);return e.setFullYear(t,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),hz(e,r)}let a=!(`era`in t)||t.era===1?n.year:1-n.year;return e.setFullYear(a,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),hz(e,r)}incompatibleTokens=[`y`,`R`,`u`,`Q`,`q`,`M`,`L`,`I`,`d`,`D`,`i`,`t`,`T`]},ZB=class extends IB{priority=130;parse(e,t){return GB(t===`R`?4:t.length,e)}set(e,t,n){let r=dz(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),gz(r)}incompatibleTokens=[`G`,`y`,`Y`,`u`,`Q`,`q`,`M`,`L`,`w`,`d`,`D`,`e`,`c`,`t`,`T`]},QB=class extends IB{priority=130;parse(e,t){return GB(t===`u`?4:t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=[`G`,`y`,`Y`,`R`,`w`,`I`,`i`,`e`,`c`,`t`,`T`]},$B=class extends IB{priority=120;parse(e,t,n){switch(t){case`Q`:case`QQ`:return WB(t.length,e);case`Qo`:return n.ordinalNumber(e,{unit:`quarter`});case`QQQ`:return n.quarter(e,{width:`abbreviated`,context:`formatting`})||n.quarter(e,{width:`narrow`,context:`formatting`});case`QQQQQ`:return n.quarter(e,{width:`narrow`,context:`formatting`});default:return n.quarter(e,{width:`wide`,context:`formatting`})||n.quarter(e,{width:`abbreviated`,context:`formatting`})||n.quarter(e,{width:`narrow`,context:`formatting`})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=[`Y`,`R`,`q`,`M`,`L`,`w`,`I`,`d`,`D`,`i`,`e`,`c`,`t`,`T`]},eV=class extends IB{priority=120;parse(e,t,n){switch(t){case`q`:case`qq`:return WB(t.length,e);case`qo`:return n.ordinalNumber(e,{unit:`quarter`});case`qqq`:return n.quarter(e,{width:`abbreviated`,context:`standalone`})||n.quarter(e,{width:`narrow`,context:`standalone`});case`qqqqq`:return n.quarter(e,{width:`narrow`,context:`standalone`});default:return n.quarter(e,{width:`wide`,context:`standalone`})||n.quarter(e,{width:`abbreviated`,context:`standalone`})||n.quarter(e,{width:`narrow`,context:`standalone`})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=[`Y`,`R`,`Q`,`M`,`L`,`w`,`I`,`d`,`D`,`i`,`e`,`c`,`t`,`T`]},tV=class extends IB{incompatibleTokens=[`Y`,`R`,`q`,`Q`,`L`,`w`,`I`,`D`,`i`,`e`,`c`,`t`,`T`];priority=110;parse(e,t,n){let r=e=>e-1;switch(t){case`M`:return BB(VB(RB.month,e),r);case`MM`:return BB(WB(2,e),r);case`Mo`:return BB(n.ordinalNumber(e,{unit:`month`}),r);case`MMM`:return n.month(e,{width:`abbreviated`,context:`formatting`})||n.month(e,{width:`narrow`,context:`formatting`});case`MMMMM`:return n.month(e,{width:`narrow`,context:`formatting`});default:return n.month(e,{width:`wide`,context:`formatting`})||n.month(e,{width:`abbreviated`,context:`formatting`})||n.month(e,{width:`narrow`,context:`formatting`})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}},nV=class extends IB{priority=110;parse(e,t,n){let r=e=>e-1;switch(t){case`L`:return BB(VB(RB.month,e),r);case`LL`:return BB(WB(2,e),r);case`Lo`:return BB(n.ordinalNumber(e,{unit:`month`}),r);case`LLL`:return n.month(e,{width:`abbreviated`,context:`standalone`})||n.month(e,{width:`narrow`,context:`standalone`});case`LLLLL`:return n.month(e,{width:`narrow`,context:`standalone`});default:return n.month(e,{width:`wide`,context:`standalone`})||n.month(e,{width:`abbreviated`,context:`standalone`})||n.month(e,{width:`narrow`,context:`standalone`})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}incompatibleTokens=[`Y`,`R`,`q`,`Q`,`M`,`w`,`I`,`D`,`i`,`e`,`c`,`t`,`T`]};function rV(e,t,n){let r=fz(e,n?.in),i=$z(r,n)-t;return r.setDate(r.getDate()-i*7),fz(r,n?.in)}var iV=class extends IB{priority=100;parse(e,t,n){switch(t){case`w`:return VB(RB.week,e);case`wo`:return n.ordinalNumber(e,{unit:`week`});default:return WB(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,r){return hz(rV(e,n,r),r)}incompatibleTokens=[`y`,`R`,`u`,`q`,`Q`,`M`,`L`,`I`,`d`,`D`,`i`,`t`,`T`]};function aV(e,t,n){let r=fz(e,n?.in),i=Xz(r,n)-t;return r.setDate(r.getDate()-i*7),r}var oV=class extends IB{priority=100;parse(e,t,n){switch(t){case`I`:return VB(RB.week,e);case`Io`:return n.ordinalNumber(e,{unit:`week`});default:return WB(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return gz(aV(e,n))}incompatibleTokens=[`y`,`Y`,`u`,`q`,`Q`,`M`,`L`,`w`,`d`,`D`,`e`,`c`,`t`,`T`]},sV=[31,28,31,30,31,30,31,31,30,31,30,31],cV=[31,29,31,30,31,30,31,31,30,31,30,31],lV=class extends IB{priority=90;subPriority=1;parse(e,t,n){switch(t){case`d`:return VB(RB.date,e);case`do`:return n.ordinalNumber(e,{unit:`date`});default:return WB(t.length,e)}}validate(e,t){let n=JB(e.getFullYear()),r=e.getMonth();return n?t>=1&&t<=cV[r]:t>=1&&t<=sV[r]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}incompatibleTokens=[`Y`,`R`,`q`,`Q`,`w`,`I`,`D`,`i`,`e`,`c`,`t`,`T`]},uV=class extends IB{priority=90;subpriority=1;parse(e,t,n){switch(t){case`D`:case`DD`:return VB(RB.dayOfYear,e);case`Do`:return n.ordinalNumber(e,{unit:`date`});default:return WB(t.length,e)}}validate(e,t){return JB(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}incompatibleTokens=[`Y`,`R`,`q`,`Q`,`M`,`L`,`w`,`I`,`d`,`E`,`i`,`e`,`c`,`t`,`T`]};function dV(e,t,n){let r=mz(),i=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=fz(e,n?.in),o=a.getDay(),s=(t%7+7)%7,c=7-i;return pz(a,t<0||t>6?t-(o+c)%7:(s+c)%7-(o+c)%7,n)}var fV=class extends IB{priority=90;parse(e,t,n){switch(t){case`E`:case`EE`:case`EEE`:return n.day(e,{width:`abbreviated`,context:`formatting`})||n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`});case`EEEEE`:return n.day(e,{width:`narrow`,context:`formatting`});case`EEEEEE`:return n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`});default:return n.day(e,{width:`wide`,context:`formatting`})||n.day(e,{width:`abbreviated`,context:`formatting`})||n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return e=dV(e,n,r),e.setHours(0,0,0,0),e}incompatibleTokens=[`D`,`i`,`e`,`c`,`t`,`T`]},pV=class extends IB{priority=90;parse(e,t,n,r){let i=e=>{let t=Math.floor((e-1)/7)*7;return(e+r.weekStartsOn+6)%7+t};switch(t){case`e`:case`ee`:return BB(WB(t.length,e),i);case`eo`:return BB(n.ordinalNumber(e,{unit:`day`}),i);case`eee`:return n.day(e,{width:`abbreviated`,context:`formatting`})||n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`});case`eeeee`:return n.day(e,{width:`narrow`,context:`formatting`});case`eeeeee`:return n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`});default:return n.day(e,{width:`wide`,context:`formatting`})||n.day(e,{width:`abbreviated`,context:`formatting`})||n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return e=dV(e,n,r),e.setHours(0,0,0,0),e}incompatibleTokens=[`y`,`R`,`u`,`q`,`Q`,`M`,`L`,`I`,`d`,`D`,`E`,`i`,`c`,`t`,`T`]},mV=class extends IB{priority=90;parse(e,t,n,r){let i=e=>{let t=Math.floor((e-1)/7)*7;return(e+r.weekStartsOn+6)%7+t};switch(t){case`c`:case`cc`:return BB(WB(t.length,e),i);case`co`:return BB(n.ordinalNumber(e,{unit:`day`}),i);case`ccc`:return n.day(e,{width:`abbreviated`,context:`standalone`})||n.day(e,{width:`short`,context:`standalone`})||n.day(e,{width:`narrow`,context:`standalone`});case`ccccc`:return n.day(e,{width:`narrow`,context:`standalone`});case`cccccc`:return n.day(e,{width:`short`,context:`standalone`})||n.day(e,{width:`narrow`,context:`standalone`});default:return n.day(e,{width:`wide`,context:`standalone`})||n.day(e,{width:`abbreviated`,context:`standalone`})||n.day(e,{width:`short`,context:`standalone`})||n.day(e,{width:`narrow`,context:`standalone`})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return e=dV(e,n,r),e.setHours(0,0,0,0),e}incompatibleTokens=[`y`,`R`,`u`,`q`,`Q`,`M`,`L`,`I`,`d`,`D`,`E`,`i`,`e`,`t`,`T`]};function hV(e,t,n){let r=fz(e,n?.in);return pz(r,t-TB(r,n),n)}var gV=class extends IB{priority=90;parse(e,t,n){let r=e=>e===0?7:e;switch(t){case`i`:case`ii`:return WB(t.length,e);case`io`:return n.ordinalNumber(e,{unit:`day`});case`iii`:return BB(n.day(e,{width:`abbreviated`,context:`formatting`})||n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`}),r);case`iiiii`:return BB(n.day(e,{width:`narrow`,context:`formatting`}),r);case`iiiiii`:return BB(n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`}),r);default:return BB(n.day(e,{width:`wide`,context:`formatting`})||n.day(e,{width:`abbreviated`,context:`formatting`})||n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`}),r)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return e=hV(e,n),e.setHours(0,0,0,0),e}incompatibleTokens=[`y`,`Y`,`u`,`q`,`Q`,`M`,`L`,`w`,`d`,`D`,`E`,`e`,`c`,`t`,`T`]},_V=class extends IB{priority=80;parse(e,t,n){switch(t){case`a`:case`aa`:case`aaa`:return n.dayPeriod(e,{width:`abbreviated`,context:`formatting`})||n.dayPeriod(e,{width:`narrow`,context:`formatting`});case`aaaaa`:return n.dayPeriod(e,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(e,{width:`wide`,context:`formatting`})||n.dayPeriod(e,{width:`abbreviated`,context:`formatting`})||n.dayPeriod(e,{width:`narrow`,context:`formatting`})}}set(e,t,n){return e.setHours(KB(n),0,0,0),e}incompatibleTokens=[`b`,`B`,`H`,`k`,`t`,`T`]},vV=class extends IB{priority=80;parse(e,t,n){switch(t){case`b`:case`bb`:case`bbb`:return n.dayPeriod(e,{width:`abbreviated`,context:`formatting`})||n.dayPeriod(e,{width:`narrow`,context:`formatting`});case`bbbbb`:return n.dayPeriod(e,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(e,{width:`wide`,context:`formatting`})||n.dayPeriod(e,{width:`abbreviated`,context:`formatting`})||n.dayPeriod(e,{width:`narrow`,context:`formatting`})}}set(e,t,n){return e.setHours(KB(n),0,0,0),e}incompatibleTokens=[`a`,`B`,`H`,`k`,`t`,`T`]},yV=class extends IB{priority=80;parse(e,t,n){switch(t){case`B`:case`BB`:case`BBB`:return n.dayPeriod(e,{width:`abbreviated`,context:`formatting`})||n.dayPeriod(e,{width:`narrow`,context:`formatting`});case`BBBBB`:return n.dayPeriod(e,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(e,{width:`wide`,context:`formatting`})||n.dayPeriod(e,{width:`abbreviated`,context:`formatting`})||n.dayPeriod(e,{width:`narrow`,context:`formatting`})}}set(e,t,n){return e.setHours(KB(n),0,0,0),e}incompatibleTokens=[`a`,`b`,`t`,`T`]},bV=class extends IB{priority=70;parse(e,t,n){switch(t){case`h`:return VB(RB.hour12h,e);case`ho`:return n.ordinalNumber(e,{unit:`hour`});default:return WB(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){let r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):!r&&n===12?e.setHours(0,0,0,0):e.setHours(n,0,0,0),e}incompatibleTokens=[`H`,`K`,`k`,`t`,`T`]},xV=class extends IB{priority=70;parse(e,t,n){switch(t){case`H`:return VB(RB.hour23h,e);case`Ho`:return n.ordinalNumber(e,{unit:`hour`});default:return WB(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}incompatibleTokens=[`a`,`b`,`h`,`K`,`k`,`t`,`T`]},SV=class extends IB{priority=70;parse(e,t,n){switch(t){case`K`:return VB(RB.hour11h,e);case`Ko`:return n.ordinalNumber(e,{unit:`hour`});default:return WB(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}incompatibleTokens=[`h`,`H`,`k`,`t`,`T`]},CV=class extends IB{priority=70;parse(e,t,n){switch(t){case`k`:return VB(RB.hour24h,e);case`ko`:return n.ordinalNumber(e,{unit:`hour`});default:return WB(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){let r=n<=24?n%24:n;return e.setHours(r,0,0,0),e}incompatibleTokens=[`a`,`b`,`h`,`H`,`K`,`t`,`T`]},wV=class extends IB{priority=60;parse(e,t,n){switch(t){case`m`:return VB(RB.minute,e);case`mo`:return n.ordinalNumber(e,{unit:`minute`});default:return WB(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}incompatibleTokens=[`t`,`T`]},TV=class extends IB{priority=50;parse(e,t,n){switch(t){case`s`:return VB(RB.second,e);case`so`:return n.ordinalNumber(e,{unit:`second`});default:return WB(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}incompatibleTokens=[`t`,`T`]},EV=class extends IB{priority=30;parse(e,t){return BB(WB(t.length,e),e=>Math.trunc(e*10**(-t.length+3)))}set(e,t,n){return e.setMilliseconds(n),e}incompatibleTokens=[`t`,`T`]},DV=class extends IB{priority=10;parse(e,t){switch(t){case`X`:return HB(zB.basicOptionalMinutes,e);case`XX`:return HB(zB.basic,e);case`XXXX`:return HB(zB.basicOptionalSeconds,e);case`XXXXX`:return HB(zB.extendedOptionalSeconds,e);default:return HB(zB.extended,e)}}set(e,t,n){return t.timestampIsSet?e:dz(e,e.getTime()-vz(e)-n)}incompatibleTokens=[`t`,`T`,`x`]},OV=class extends IB{priority=10;parse(e,t){switch(t){case`x`:return HB(zB.basicOptionalMinutes,e);case`xx`:return HB(zB.basic,e);case`xxxx`:return HB(zB.basicOptionalSeconds,e);case`xxxxx`:return HB(zB.extendedOptionalSeconds,e);default:return HB(zB.extended,e)}}set(e,t,n){return t.timestampIsSet?e:dz(e,e.getTime()-vz(e)-n)}incompatibleTokens=[`t`,`T`,`X`]},kV=class extends IB{priority=40;parse(e){return UB(e)}set(e,t,n){return[dz(e,n*1e3),{timestampIsSet:!0}]}incompatibleTokens=`*`},AV=class extends IB{priority=20;parse(e){return UB(e)}set(e,t,n){return[dz(e,n),{timestampIsSet:!0}]}incompatibleTokens=`*`},jV={G:new LB,y:new YB,Y:new XB,R:new ZB,u:new QB,Q:new $B,q:new eV,M:new tV,L:new nV,w:new iV,I:new oV,d:new lV,D:new uV,E:new fV,e:new pV,c:new mV,i:new gV,a:new _V,b:new vV,B:new yV,h:new bV,H:new xV,K:new SV,k:new CV,m:new wV,s:new TV,S:new EV,X:new DV,x:new OV,t:new kV,T:new AV},MV=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,NV=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,PV=/^'([^]*?)'?$/,FV=/''/g,IV=/\S/,LV=/[a-zA-Z]/;function RV(e,t,n,r){let i=()=>dz(r?.in||n,NaN),a=wB(),o=r?.locale??a.locale??Jz,s=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,c=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0;if(!t)return e?i():fz(n,r?.in);let l={firstWeekContainsDate:s,weekStartsOn:c,locale:o},u=[new FB(r?.in,n)],d=t.match(NV).map(e=>{let t=e[0];if(t in lB){let n=lB[t];return n(e,o.formatLong)}return e}).join(``).match(MV),f=[];for(let n of d){!r?.useAdditionalWeekYearTokens&&mB(n)&&hB(n,t,e),!r?.useAdditionalDayOfYearTokens&&pB(n)&&hB(n,t,e);let a=n[0],s=jV[a];if(s){let{incompatibleTokens:t}=s;if(Array.isArray(t)){let e=f.find(e=>t.includes(e.token)||e.token===a);
269if(e)throw RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${n}\` at the same time`)}else if(s.incompatibleTokens===`*`&&f.length>0)throw RangeError(`The format string mustn't contain \`${n}\` and any other token at the same time`);f.push({token:a,fullToken:n});let r=s.run(e,n,o.match,l);if(!r)return i();u.push(r.setter),e=r.rest}else{if(a.match(LV))throw RangeError("Format string contains an unescaped latin alphabet character `"+a+"`");if(n===`''`?n=`'`:a===`'`&&(n=zV(n)),e.indexOf(n)===0)e=e.slice(n.length);else return i()}}if(e.length>0&&IV.test(e))return i();let p=u.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,n)=>n.indexOf(e)===t).map(e=>u.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]),m=fz(n,r?.in);if(isNaN(+m))return i();let h={};for(let e of p){if(!e.validate(m,l))return i();let t=e.set(m,h,l);Array.isArray(t)?(m=t[0],Object.assign(h,t[1])):m=t}return m}function zV(e){return e.match(PV)[1].replace(FV,`'`)}function BV(e,t){let n=()=>dz(t?.in,NaN),r=t?.additionalDigits??2,i=GV(e),a;if(i.date){let e=KV(i.date,r);a=qV(e.restDateString,e.year)}if(!a||isNaN(+a))return n();let o=+a,s=0,c;if(i.time&&(s=YV(i.time),isNaN(s)))return n();if(i.timezone){if(c=ZV(i.timezone),isNaN(c))return n()}else{let e=new Date(o+s),n=fz(0,t?.in);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}return fz(o+s+c,t?.in)}var VV={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},HV=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,UV=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,WV=/^([+-])(\d{2})(?::?(\d{2}))?$/;function GV(e){let t={},n=e.split(VV.dateTimeDelimiter),r;if(n.length>2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],VV.timeZoneDelimiter.test(t.date)&&(t.date=e.split(VV.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){let e=VV.timezone.exec(r);e?(t.time=r.replace(e[1],``),t.timezone=e[1]):t.time=r}return t}function KV(e,t){let n=RegExp(`^(?:(\\d{4}|[+-]\\d{`+(4+t)+`})|(\\d{2}|[+-]\\d{`+(2+t)+`})$)`),r=e.match(n);if(!r)return{year:NaN,restDateString:``};let i=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:a===null?i:a*100,restDateString:e.slice((r[1]||r[2]).length)}}function qV(e,t){if(t===null)return new Date(NaN);let n=e.match(HV);if(!n)return new Date(NaN);let r=!!n[4],i=JV(n[1]),a=JV(n[2])-1,o=JV(n[3]),s=JV(n[4]),c=JV(n[5])-1;if(r)return rH(t,s,c)?QV(t,s,c):new Date(NaN);{let e=new Date(0);return!tH(t,a,o)||!nH(t,i)?new Date(NaN):(e.setUTCFullYear(t,a,Math.max(i,o)),e)}}function JV(e){return e?parseInt(e):1}function YV(e){let t=e.match(UV);if(!t)return NaN;let n=XV(t[1]),r=XV(t[2]),i=XV(t[3]);return iH(n,r,i)?n*cz+r*sz+i*1e3:NaN}function XV(e){return e&&parseFloat(e.replace(`,`,`.`))||0}function ZV(e){if(e===`Z`)return 0;let t=e.match(WV);if(!t)return 0;let n=t[1]===`+`?-1:1,r=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return aH(r,i)?n*(r*cz+i*sz):NaN}function QV(e,t,n){let r=new Date(0);r.setUTCFullYear(e,0,4);let i=r.getUTCDay()||7,a=(t-1)*7+n+1-i;return r.setUTCDate(r.getUTCDate()+a),r}var $V=[31,null,31,30,31,30,31,31,30,31,30,31];function eH(e){return e%400==0||e%4==0&&e%100!=0}function tH(e,t,n){return t>=0&&t<=11&&n>=1&&n<=($V[t]||(eH(e)?29:28))}function nH(e,t){return t>=1&&t<=(eH(e)?366:365)}function rH(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function iH(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function aH(e,t){return t>=0&&t<=59}function oH(e,t,n){return Cz(e,-t,n)}var sH={day:`2-digit`,month:`2-digit`,year:`numeric`},cH={day:`2-digit`,month:`2-digit`,year:`numeric`,hour:`2-digit`,minute:`2-digit`},lH=z.create({baseURL:`/`}),uH=[`config.json`],dH=[`config`],fH=(e=uH)=>()=>lH.get(hb(e)).then(e=>e.data),pH=(e=dH)=>t=>()=>lH.get(`${t.apiUrl}/${hb(e)}`).then(e=>e.data.data),mH=(e,t)=>{let{data:n,isLoading:r}=kw({queryKey:uH,queryFn:e||fH()}),i=t||pH(),{data:a,isLoading:o}=kw({queryKey:dH,enabled:!!n,queryFn:n?i(n):()=>Promise.resolve(void 0)});return{localConfig:n,remoteConfig:a,isLocalConfigLoading:r,isRemoteConfigLoading:o}},hH=(0,I.createContext)(void 0),Yxe=({children:e,localConfigQueryFn:t,remoteConfigQueryFn:n})=>{let{localConfig:r,remoteConfig:i}=mH(t,n),a=(0,I.useMemo)(()=>r===void 0||i===void 0?null:{...r,...i},[r,i]);return(0,V.jsx)(hH.Provider,{value:a,children:typeof e==`function`?e(!!a):a&&e})},gH=()=>{let e=(0,I.useContext)(hH);if(e===void 0)throw Error(`useDynamicConfig needs to be wrapped inside a DynamicConfigProvider.`);if(e===null)throw Error(`accessed useDynamicConfig before config was loaded.`);return e},_H=(0,I.createContext)(void 0),Xxe=(e,t)=>{let n=e.availableLanguages.find(e=>e===t||e.replace(`_`,`-`)===t),r=e.availableLanguages.find(e=>t.substring(0,2)===e.substring(0,2));return n||r||e.fallback},Zxe=({children:e,initialLanguage:t=Intl.DateTimeFormat().resolvedOptions().locale,initialFormatLocale:n=Intl.DateTimeFormat().resolvedOptions().locale,initialTimeZone:r=Intl.DateTimeFormat().resolvedOptions().timeZone,showTimeZone:i=!1,onChange:a})=>{let{languageSettings:o}=gH(),[s,c]=(0,I.useState)(t),[l,u]=(0,I.useState)(r),d=(0,I.useMemo)(()=>Xxe(o,s),[s,o]);return(0,I.useEffect)(()=>{a&&a(d,n,l)},[n,d,a,l]),(0,V.jsx)(_H.Provider,{value:{language:d,setLanguage:c,formatLocale:n,timeZone:l,setTimeZone:u,showTimeZone:i},children:e})},vH=()=>{let e=(0,I.useContext)(_H);if(e===void 0)throw Error(`useLocale should be wrapped inside LocaleProvider`);return e},yH=(e=``)=>{let{t}=B(),{formatLocale:n,timeZone:r}=vH();return(i,a=sH)=>{if(!i)return e;let o=typeof i==`string`?RV(i,`yyyy-MM-dd`,new Date):i;try{return Intl.DateTimeFormat(n,{timeZone:r,...a}
vendor: 39,026 bytes, lines 269-273
269).format(o)}catch{return t(`Invalid date`)}}},bH=({date:e,placeholder:t,format:n,as:r,...i})=>{let a=r??I.Fragment,o=yH(t);return(0,V.jsx)(a,{...i,children:o(e,n)})};function Qxe({onClose:e,renderCreateForm:t,selectNewOption:n,search:r,open:i}){let[a,o]=(0,I.useState)(!1),[s,c]=(0,I.useState)(!1),[l,u]=(0,I.useState)(null);return(0,I.useEffect)(()=>{l&&!a&&s&&(l.focus(),o(!0))},[l,a,s]),(0,V.jsx)(HN,{onClose:e,open:i,onOpened:()=>{c(!0)},onClosed:()=>{c(!1),o(!1)},children:t(n,e,r,u)})}var $xe=U.div` 270 ${({theme:e})=>e.iconButtons.flat}; 271 ${({theme:e})=>e.forms.select.indicator}; 272 ${({$open:e})=>e?`transform: rotate(-90deg)`:`transform: rotate(90deg)`}; 273`,eSe=({open:e})=>{let{t}=B(),n=t(e?`Close`:`Open`);return(0,V.jsx)($xe,{title:n,$open:e,children:(0,V.jsx)(nD,{title:n,$icon:`caret`})})},xH=0,SH=1,CH=2,wH=4;function tSe(e){return()=>e}function nSe(e){e()}function TH(e,t){return n=>e(t(n))}function rSe(e,t){return()=>e(t)}function iSe(e,t){return n=>e(t,n)}function EH(e){return e!==void 0}function aSe(...e){return()=>{e.map(nSe)}}function DH(){}function OH(e,t){return t(e),e}function oSe(e,t){return t(e)}function kH(...e){return e}function AH(e,t){return e(SH,t)}function jH(e,t){e(xH,t)}function MH(e){e(CH)}function NH(e){return e(wH)}function PH(e,t){return AH(e,iSe(t,xH))}function FH(e,t){let n=e(SH,e=>{n(),t(e)});return n}function IH(e){let t,n;return r=>i=>{t=i,n&&clearTimeout(n),n=setTimeout(()=>{r(t)},e)}}function LH(e,t){return e===t}function RH(e=LH){let t;return n=>r=>{e(t,r)||(t=r,n(r))}}function zH(e){return t=>n=>{e(n)&&t(n)}}function BH(e){return t=>TH(t,e)}function VH(e){return t=>()=>{t(e)}}function W(e,...t){let n=sSe(...t);return((t,r)=>{switch(t){case CH:MH(e);return;case SH:return AH(e,n(r))}})}function HH(e,t){return n=>r=>{n(t=e(t,r))}}function UH(e){return t=>n=>{e>0?e--:t(n)}}function WH(e){let t=null,n;return r=>i=>{t=i,!n&&(n=setTimeout(()=>{n=void 0,r(t)},e))}}function GH(...e){let t=Array.from({length:e.length}),n=0,r=null,i=2**e.length-1;return e.forEach((e,a)=>{let o=2**a;AH(e,e=>{let s=n;n|=o,t[a]=e,s!==i&&n===i&&r&&(r(),r=null)})}),e=>a=>{let o=()=>{e([a].concat(t))};n===i?o():r=o}}function sSe(...e){return t=>e.reduceRight(oSe,t)}function cSe(e){let t,n,r=()=>t?.();return function(i,a){switch(i){case SH:return a?n===a?void 0:(r(),n=a,t=AH(e,a),t):(r(),DH);case CH:r(),n=null;return}}}function G(e){let t=e,n=qH();return((e,r)=>{switch(e){case xH:t=r;break;case SH:r(t);break;case wH:return t}return n(e,r)})}function KH(e,t){return OH(G(t),t=>PH(e,t))}function qH(){let e=[];return((t,n)=>{switch(t){case xH:e.slice().forEach(e=>{e(n)});return;case CH:e.splice(0);return;case SH:return e.push(n),()=>{let t=e.indexOf(n);t>-1&&e.splice(t,1)}}})}function JH(e){return OH(qH(),t=>PH(e,t))}var lSe={singleton:!0};function YH(e,t=[],n=lSe){let{singleton:r}=n;return{constructor:e,dependencies:t,id:uSe(),singleton:r}}var uSe=()=>Symbol(`id`);function dSe(e){let t=new Map,n=({constructor:e,dependencies:r,id:i,singleton:a})=>{if(a&&t.has(i))return t.get(i);let o=e(r.map(e=>n(e)));return a&&t.set(i,o),o};return n(e)}function XH(...e){let t=qH(),n=Array.from({length:e.length}),r=0,i=2**e.length-1;return e.forEach((e,a)=>{let o=2**a;AH(e,e=>{n[a]=e,r|=o,r===i&&jH(t,n)})}),function(e,a){switch(e){case CH:MH(t);return;case SH:return r===i&&a(n),AH(t,a)}}}function ZH(e,t=LH){return W(e,RH(t))}function QH(...e){return function(t,n){switch(t){case CH:return;case SH:return aSe(...e.map(e=>AH(e,n)))}}}var $H={DEBUG:0,INFO:1,WARN:2,ERROR:3},fSe={[$H.DEBUG]:`debug`,[$H.ERROR]:`error`,[$H.INFO]:`log`,[$H.WARN]:`warn`},pSe=()=>typeof globalThis>`u`?window:globalThis,eU=YH(()=>{let e=G($H.ERROR);return{log:G((t,n,r=$H.INFO)=>{r>=(pSe().VIRTUOSO_LOG_LEVEL??NH(e))&&console[fSe[r]](`%creact-virtuoso: %c%s %o`,`color: #0253b3; font-weight: bold`,`color: initial`,t,n)}),logLevel:e}},[],{singleton:!0});function mSe(e){return`self`in e?e.document.documentElement:e}function tU(e){let t=mSe(e);return t.ownerDocument.defaultView.getComputedStyle(t).direction===`rtl`}function nU(e,t){return tU(e)?-t:t}function rU(e,t){return tU(e)?-t:t}function iU(e,t,n){return aU(e,t,n).callbackRef}function aU(e,t,n){let r=I.useRef(null),i=e=>{},a=I.useMemo(()=>typeof ResizeObserver<`u`?new ResizeObserver(t=>{let r=()=>{let n=t[0].target;n.offsetParent!==null&&e(n)};n?r():requestAnimationFrame(r)}):null,[e,n]);return i=e=>{e&&t?(a?.observe(e),r.current=e):(r.current&&a?.unobserve(r.current),r.current=null)},{callbackRef:i,ref:r}}function oU(e,t,n,r,i,a,o,s,c){return aU(I.useCallback(n=>{let c=hSe(n.children,t,s?`offsetWidth`:`offsetHeight`,i),l=n.parentElement;for(;l.dataset.virtuosoScroller===void 0;)l=l.parentElement;let u=l.lastElementChild?.dataset.viewportType===`window`,d;u&&(d=l.ownerDocument.defaultView);let f=o?s?o.scrollWidth:o.scrollHeight:u?s?d.document.documentElement.scrollWidth:d.document.documentElement.scrollHeight:s?l.scrollWidth:l.scrollHeight,p=o?s?o.offsetWidth:o.offsetHeight:u?s?d.innerWidth:d.innerHeight:s?l.offsetWidth:l.offsetHeight,m=o?s?nU(o,o.scrollLeft):o.scrollTop:u?s?nU(d,d.scrollX||d.document.documentElement.scrollLeft):d.scrollY||d.document.documentElement.scrollTop:s?nU(l,l.scrollLeft):l.scrollTop;r({scrollHeight:f,scrollTop:Math.max(m,0),viewportHeight:p}),a?.(s?sU(`column-gap`,getComputedStyle(n).columnGap,i):sU(`row-gap`,getComputedStyle(n).rowGap,i)),c!==null&&e(c)},[e,t,i,a,o,r,s]),n,c)}function hSe(e,t,n,r){let i=e.length;if(i===0)return null;let a=[];for(let o=0;o<i;o++){let i=e.item(o);if(i.dataset.index===void 0)continue;let s=parseInt(i.dataset.index,10),c=parseFloat(i.dataset.knownSize),l=t(i,n);if(l===0&&r(`Zero-sized element, this should not happen`,{child:i},$H.ERROR),l===c)continue;let u=a[a.length-1];a.length===0||u.size!==l||u.endIndex!==s-1?a.push({endIndex:s,size:l,startIndex:s}):a[a.length-1].endIndex++}return a}function sU(e,t,n){return t!==`normal`&&t?.endsWith(`px`)!==!0&&n(`${e} was not resolved to pixel value correctly`,t,$H.WARN),t===`normal`?0:parseInt(t??`0`,10)}var cU=typeof document>`u`?I.useEffect:I.useLayoutEffect;function lU(e,t,n){let r=I.useRef(null),i=I.useCallback(n=>{if(!n?.offsetParent)return;let i=n.getBoundingClientRect(),a=i.width,s,c;if(t){let e=t.getBoundingClientRect(),n=i.top-e.top;c=e.height-Math.max(0,n),s=n+t.scrollTop}else{let e=o.current.ownerDocument.defaultView;c=e.innerHeight-Math.max(0,i.top),s=i.top+e.scrollY}r.current={listHeight:i.height,offsetTop:s,visibleHeight:c,visibleWidth:a},e(r.current)},[e,t]),{callbackRef:a,ref:o}=aU(i,!0,n),s=I.useCallback(()=>{i(o.current)},[i,o]);return I.useEffect(()=>{if(t){t.addEventListener(`scroll`,s);let e=new ResizeObserver(()=>{requestAnimationFrame(s)});return e.observe(t),()=>{t.removeEventListener(`scroll`,s),e.unobserve(t)}}let e=o.current?.ownerDocument.defaultView;return e?.addEventListener(`scroll`,s),e?.addEventListener(`resize`,s),()=>{e?.removeEventListener(`scroll`,s),e?.removeEventListener(`resize`,s)}},[s,t,o]),a}var uU=YH(()=>{let e=qH(),t=qH(),n=G(0),r=qH(),i=qH(),a=G(0),o=qH(),s=qH(),c=G(0),l=G(0),u=G(0),d=G(0),f=qH(),p=qH(),m=G(!1),h=G(!1),g=G(!1);return PH(W(e,BH(({scrollTop:e})=>e)),t),PH(W(e,BH(({scrollHeight:e})=>e)),s),PH(t,a),{deviation:n,deviationCommitted:r,fixedFooterHeight:u,fixedHeaderHeight:l,footerHeight:d,headerHeight:c,horizontalDirection:h,scrollBy:p,scrollContainerState:e,scrollHeight:s,scrollingInProgress:m,scrollTo:f,scrollTop:t,skipAnimationFrameInResizeObserver:g,smoothScrollTargetReached:i,statefulScrollTop:a,viewportHeight:o}},[],{singleton:!0}),dU={lvl:0};function fU(e,t){let n=e.length;if(n===0)return[];let{index:r,value:i}=t(e[0]),a=[];for(let o=1;o<n;o++){let{index:n,value:s}=t(e[o]);a.push({end:n-1,start:r,value:i}),r=n,i=s}return a.push({end:1/0,start:r,value:i}),a}function pU(e){return e===dU}function mU(e,t){if(!pU(e))return t===e.k?e.v:t<e.k?mU(e.l,t):mU(e.r,t)}function hU(e,t,n=`k`){if(pU(e))return[-1/0,void 0];if(Number(e[n])===t)return[e.k,e.v];if(Number(e[n])<t){let r=hU(e.r,t,n);return r[0]===-1/0?[e.k,e.v]:r}return hU(e.l,t,n)}function gU(e,t,n){return pU(e)?DU(t,n,1):t===e.k?CU(e,{k:t,v:n}):t<e.k?OU(CU(e,{l:gU(e.l,t,n)})):OU(CU(e,{r:gU(e.r,t,n)}))}function _U(){return dU}function vU(e,t,n){if(pU(e))return[];let r=hU(e,t)[0];return gSe(xU(e,r,n))}function yU(e,t){if(pU(e))return dU;let{k:n,l:r,r:i}=e;if(t===n){if(pU(r))return i;if(pU(i))return r;let[t,n]=EU(r);return SU(CU(e,{k:t,l:wU(r),v:n}))}return SU(t<n?CU(e,{l:yU(r,t)}):CU(e,{r:yU(i,t)}))}function bU(e){return pU(e)?[]:[...bU(e.l),{k:e.k,v:e.v},...bU(e.r)]}function xU(e,t,n){if(pU(e))return[];let{k:r,l:i,r:a,v:o}=e,s=[];return r>t&&(s=s.concat(xU(i,t,n))),r>=t&&r<=n&&s.push({k:r,v:o}),r<=n&&(s=s.concat(xU(a,t,n))),s}function SU(e){let{l:t,lvl:n,r}=e;if(r.lvl>=n-1&&t.lvl>=n-1)return e;if(n>r.lvl+1){if(TU(t))return kU(CU(e,{lvl:n-1}));if(!pU(t)&&!pU(t.r))return CU(t.r,{l:CU(t,{r:t.r.l}),lvl:n,r:CU(e,{l:t.r.r,lvl:n-1})});throw Error(`Unexpected empty nodes`)}if(TU(e))return AU(CU(e,{lvl:n-1}));if(!pU(r)&&!pU(r.l)){let t=r.l,i=TU(t)?r.lvl-1:r.lvl;return CU(t,{l:CU(e,{lvl:n-1,r:t.l}),lvl:t.lvl+1,r:AU(CU(r,{l:t.r,lvl:i}))})}throw Error(`Unexpected empty nodes`)}function CU(e,t){return DU(t.k===void 0?e.k:t.k,t.v===void 0?e.v:t.v,t.lvl===void 0?e.lvl:t.lvl,t.l===void 0?e.l:t.l,t.r===void 0?e.r:t.r)}function wU(e){return pU(e.r)?e.l:SU(CU(e,{r:wU(e.r)}))}function TU(e){return pU(e)||e.lvl>e.r.lvl}function EU(e){return pU(e.r)?[e.k,e.v]:EU(e.r)}function DU(e,t,n,r=dU,i=dU){return{k:e,l:r,lvl:n,r:i,v:t}}function OU(e){return AU(kU(e))}function kU(e){let{l:t}=e;return!pU(t)&&t.lvl===e.lvl?CU(t,{r:CU(e,{l:t.r})}):e}function AU(e){let{lvl:t,r:n}=e;return!pU(n)&&!pU(n.r)&&n.lvl===t&&n.r.lvl===t?CU(n,{l:CU(e,{r:n.l}),lvl:t+1}):e}function gSe(e){return fU(e,({k:e,v:t})=>({index:e,value:t}))}function jU(e,t){return!!(e&&e.startIndex===t.startIndex&&e.endIndex===t.endIndex)}function MU(e,t){return!!(e&&e[0]===t[0]&&e[1]===t[1])}var NU=YH(()=>({recalcInProgress:G(!1)}),[],{singleton:!0});function PU(e,t,n){return e[FU(e,t,n)]}function FU(e,t,n,r=0){let i=e.length-1;for(;r<=i;){let a=Math.floor((r+i)/2),o=e[a],s=n(o,t);if(s===0)return a;if(s===-1){if(i-r<2)return a-1;i=a-1}else{if(i===r)return a;r=a+1}}throw Error(`Failed binary finding record in array - ${e.join(`,`)}, searched for ${t}`)}function _Se(e,t,n,r){let i=FU(e,t,r),a=FU(e,n,r,i);return e.slice(i,a+1)}function IU(e,t){return Math.round(e.getBoundingClientRect()[t])}function LU(e){return!pU(e.groupOffsetTree)}function RU({index:e},t){return t===e?0:t<e?-1:1}function vSe(){return{groupIndices:[],groupOffsetTree:_U(),lastIndex:0,lastOffset:0,lastSize:0,offsetTree:[],sizeTree:_U()}}function ySe(e,t){let n=pU(e)?0:1/0;for(let r of t){let{endIndex:t,size:i,startIndex:a}=r;if(n=Math.min(n,a),pU(e)){e=gU(e,0,i);continue}let o=vU(e,a-1,t+1);if(o.some(ESe(r)))continue;let s=!1,c=!1;for(let{end:n,start:r,value:a}of o)s?(t>=r||i===a)&&(e=yU(e,r)):(c=a!==i,s=!0),n>t&&t>=r&&a!==i&&(e=gU(e,t+1,a));c&&(e=gU(e,a,i))}return[e,n]}function bSe(e){return e.groupIndex!==void 0}function xSe({offset:e},t){return t===e?0:t<e?-1:1}function zU(e,t,n){if(t.length===0)return 0;let{index:r,offset:i,size:a}=PU(t,e,RU),o=e-r,s=a*o+(o-1)*n+i;return s>0?s+n:s}function BU(e,t){if(!LU(t))return e;let n=0;for(;t.groupIndices[n]<=e+n;)n++;return e+n}function VU(e,t,n){if(bSe(e))return t.groupIndices[e.groupIndex]+1;let r=BU(e.index===`LAST`?n:e.index,t);return r=Math.max(0,Math.min(n,r)),r}function SSe(e,t,n,r=0){return r>0&&(t=Math.max(t,PU(e,r,RU).offset)),fU(_Se(e,t,n,xSe),TSe)}function CSe(e,[t,n,r,i]){t.length>0&&r(`received item sizes`,t,$H.DEBUG);let a=e.sizeTree,o=a,s=0;if(n.length>0&&pU(a)&&t.length===2){let e=t[0].size,r=t[1].size;o=n.reduce((t,n)=>gU(gU(t,n,e),n+1,r),o)}else[o,s]=ySe(o,t);if(o===a)return e;let{lastIndex:c,lastOffset:l,lastSize:u,offsetTree:d}=UU(e.offsetTree,s,o,i);return{groupIndices:n,groupOffsetTree:n.reduce((e,t)=>gU(e,t,zU(t,d,i)),_U()),lastIndex:c,lastOffset:l,lastSize:u,offsetTree:d,sizeTree:o}}function wSe(e){return bU(e).map(({k:e,v:t},n,r)=>{let i=r[n+1];return{endIndex:i===void 0?1/0:i.k-1,size:t,startIndex:e}})}function HU(e,t){let n=0,r=0;for(;n<e;)n+=t[r+1]-t[r]-1,r++;return r-(n===e?0:1)}function UU(e,t,n,r){let i=e,a=0,o=0,s=0,c=0;if(t===0)i=[];else{c=FU(i,t-1,RU),s=i[c].offset;let e=hU(n,t-1);a=e[0],o=e[1],i.length&&i[c].size===hU(n,t)[1]&&--c,i=i.slice(0,c+1)}for(let{start:e,value:c}of vU(n,t,1/0)){let t=e-a,n=t*o+s+t*r;i.push({index:e,offset:n,size:c}),a=e,s=n,o=c}return{lastIndex:a,lastOffset:s,lastSize:o,offsetTree:i}}function TSe(e){return{index:e.index,value:e}}function ESe(e){let{endIndex:t,size:n,startIndex:r}=e;return e=>e.start===r&&(e.end===t||e.end===1/0)&&e.value===n}var DSe={offsetHeight:`height`,offsetWidth:`width`},WU=YH(([{log:e},{recalcInProgress:t}])=>{let n=qH(),r=qH(),i=KH(r,0),a=qH(),o=qH(),s=G(0),c=G([]),l=G(void 0),u=G(void 0),d=G(void 0),f=G(void 0),p=G((e,t)=>IU(e,DSe[t])),m=G(void 0),h=G(0),g=vSe(),_=KH(W(n,GH(c,e,h),HH(CSe,g),RH()),g),v=KH(W(c,RH(),HH((e,t)=>({current:t,prev:e.current}),{current:[],prev:[]}),BH(({prev:e})=>e)),[]);PH(W(c,zH(e=>e.length>0),GH(_,h),BH(([e,t,n])=>{let r=e.reduce((e,r,i)=>gU(e,r,zU(r,t.offsetTree,n)||i),_U());return{...t,groupIndices:e,groupOffsetTree:r}})),_),PH(W(r,GH(_),zH(([e,{lastIndex:t}])=>e<t),BH(([e,{lastIndex:t,lastSize:n}])=>[{endIndex:t,size:n,startIndex:e}])),n),PH(l,u);let y=KH(W(l,BH(e=>e===void 0)),!0);PH(W(u,zH(e=>e!==void 0&&pU(NH(_).sizeTree)),BH(e=>{let t=NH(d),n=NH(c).length>0;return t!==void 0&&t!==0?n?[{endIndex:0,size:t,startIndex:0},{endIndex:1,size:e,startIndex:1}]:[]:[{endIndex:0,size:e,startIndex:0}]})),n),PH(W(f,zH(e=>e!==void 0&&e.length>0&&pU(NH(_).sizeTree)),BH(e=>{let t=[],n=e[0],r=0;for(let i=1;i<e.length;i++){let a=e[i];a!==n&&(t.push({endIndex:i-1,size:n,startIndex:r}),n=a,r=i)}return t.push({endIndex:e.length-1,size:n,startIndex:r}),t})),n),PH(W(c,GH(d,u),zH(([,e,t])=>e!==void 0&&t!==void 0),BH(([e,t,n])=>{let r=[];for(let i=0;i<e.length;i++){let a=e[i],o=e[i+1];r.push({startIndex:a,endIndex:a,size:t}),o!==void 0&&r.push({startIndex:a+1,endIndex:o-1,size:n})}return r})),n);let b=JH(W(n,GH(_),HH(({sizes:e},[t,n])=>({changed:n!==e,sizes:n}),{changed:!1,sizes:g}),BH(e=>e.changed)));AH(W(s,HH((e,t)=>({diff:e.prev-t,prev:t}),{diff:0,prev:0}),BH(e=>e.diff)),e=>{let{groupIndices:n}=NH(_);if(e>0)jH(t,!0),jH(a,e+HU(e,n));else if(e<0){let t=NH(v);t.length>0&&(e-=HU(-e,t)),jH(o,e)}}),AH(W(s,GH(e)),([e,t])=>{e<0&&t("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:s},$H.ERROR)});let x=JH(a);PH(W(a,GH(_),BH(([e,t])=>{let n=t.groupIndices.length>0,r=[],i=t.lastSize;if(n){let n=mU(t.sizeTree,0),a=0,o=0;for(;a<e;){let e=t.groupIndices[o],s=t.groupIndices.length===o+1?1/0:t.groupIndices[o+1]-e-1;r.push({endIndex:e,size:n,startIndex:e}),r.push({endIndex:e+1+s-1,size:i,startIndex:e+1}),o++,a+=s+1}let s=bU(t.sizeTree);return a!==e&&s.shift(),s.reduce((t,{k:n,v:r})=>{let i=t.ranges;return t.prevSize!==0&&(i=[...t.ranges,{endIndex:n+e-1,size:t.prevSize,startIndex:t.prevIndex}]),{prevIndex:n+e,prevSize:r,ranges:i}},{prevIndex:e,prevSize:0,ranges:r}).ranges}return bU(t.sizeTree).reduce((t,{k:n,v:r})=>({prevIndex:n+e,prevSize:r,ranges:[...t.ranges,{endIndex:n+e-1,size:t.prevSize,startIndex:t.prevIndex}]}),{prevIndex:0,prevSize:i,ranges:[]}).ranges})),n);let S=JH(W(o,GH(_,h),BH(([e,{offsetTree:t},n])=>zU(-e,t,n))));return PH(W(o,GH(_,h),BH(([e,t,n])=>{if(t.groupIndices.length>0){if(pU(t.sizeTree))return t;let r=_U(),i=NH(v),a=0,o=0,s=0;for(;a<-e;){s=i[o];let e=i[o+1]-s-1;o++,a+=e+1}if(r=bU(t.sizeTree).reduce((t,{k:n,v:r})=>gU(t,Math.max(0,n+e),r),r),a!==-e){let n=mU(t.sizeTree,s);r=gU(r,0,n);let i=hU(t.sizeTree,-e+1)[1];r=gU(r,1,i)}return{...t,sizeTree:r,...UU(t.offsetTree,0,r,n)}}let r=bU(t.sizeTree).reduce((t,{k:n,v:r})=>gU(t,Math.max(0,n+e),r),_U());return{...t,sizeTree:r,...UU(t.offsetTree,0,r,n)}})),_),{beforeUnshiftWith:x,data:m,defaultItemSize:u,firstItemIndex:s,fixedItemSize:l,fixedGroupSize:d,gap:h,groupIndices:c,heightEstimates:f,itemSize:p,listRefresh:b,shiftWith:o,shiftWithOffset:S,sizeRanges:n,sizes:_,statefulTotalCount:i,totalCount:r,trackItemSizes:y,unshiftWith:a}},kH(eU,NU),{singleton:!0});function OSe(e){return e.reduce((e,t)=>(e.groupIndices.push(e.totalCount),e.totalCount+=t+1,e),{groupIndices:[],totalCount:0})}var GU=YH(([{groupIndices:e,sizes:t,totalCount:n},{headerHeight:r,scrollTop:i}])=>{let a=qH(),o=qH(),s=JH(W(a,BH(OSe)));return PH(W(s,BH(e=>e.totalCount)),n),PH(W(s,BH(e=>e.groupIndices)),e),PH(W(XH(i,t,r),zH(([e,t])=>LU(t)),BH(([e,t,n])=>hU(t.groupOffsetTree,Math.max(e-n,0),`v`)[0]),RH(),BH(e=>[e])),o),{groupCounts:a,topItemsIndexes:o}},kH(WU,uU)),KU=YH(([{log:e}])=>{let t=G(!1),n=JH(W(t,zH(e=>e),RH()));return AH(t,t=>{t&&NH(e)(`props updated`,{},$H.DEBUG)}),{didMount:n,propsReady:t}},kH(eU),{singleton:!0}),kSe=typeof document<`u`&&`scrollBehavior`in document.documentElement.style;function qU(e){let t=typeof e==`number`?{index:e}:{...e};return t.align||=`start`,(!t.behavior||!kSe)&&(t.behavior=`auto`),t.offset===void 0&&(t.offset=0),t}var JU=YH(([{gap:e,listRefresh:t,sizes:n,totalCount:r},{fixedFooterHeight:i,fixedHeaderHeight:a,footerHeight:o,headerHeight:s,scrollingInProgress:c,scrollTo:l,smoothScrollTargetReached:u,viewportHeight:d},{log:f}])=>{let p=qH(),m=qH(),h=G(0),g=null,_=null,v=null;function y(){g!==null&&(g(),g=null),v!==null&&(v(),v=null),_&&=(clearTimeout(_),null),jH(c,!1)}return PH(W(p,GH(n,d,r,h,s,o,f),GH(e,a,i),BH(([[e,n,r,i,a,o,s,l],d,f,h])=>{let b=qU(e),{align:x,behavior:S,offset:C}=b,w=i-1,T=VU(b,n,w),E=zU(T,n.offsetTree,d)+o;x===`end`?(E+=f+hU(n.sizeTree,T)[1]-r+h,T===w&&(E+=s)):x===`center`?E+=(f+hU(n.sizeTree,T)[1]-r+h)/2:E-=a,C!==void 0&&C!==0&&(E+=C);let D=t=>{y(),t?(l(`retrying to scroll to`,{location:e},$H.DEBUG),jH(p,e)):(jH(m,!0),l(`list did not change, scroll successful`,{},$H.DEBUG))};if(y(),S===`smooth`){let e=!1;v=AH(t,t=>{e||=t}),g=FH(u,()=>{D(e)})}else g=FH(W(t,ASe(150)),D);return _=setTimeout(()=>{y()},1200),jH(c,!0),l(`scrolling from index to`,{behavior:S,index:T,top:E},$H.DEBUG),{behavior:S,top:E}})),l),{scrollTargetReached:m,scrollToIndex:p,topListHeight:h}},kH(WU,uU,eU),{singleton:!0});function ASe(e){return t=>{let n=setTimeout(()=>{t(!1)},e);return e=>{e&&(t(!0),clearTimeout(n))}}}function YU(e,t){e===0?t():requestAnimationFrame(()=>{YU(e-1,t)})}function XU(e,t){if(e===void 0)return 0;let n=t-1,r=typeof e==`number`?e:e.index===`LAST`?n:e.index;return Math.max(0,Math.min(r,n))}function ZU(e){return e===void 0?!0:typeof e==`number`?e===0:e.index===0&&(e.align===void 0||e.align===`start`)&&(e.offset===void 0||e.offset===0)}var QU=YH(([{defaultItemSize:e,listRefresh:t,sizes:n},{scrollTop:r},{scrollTargetReached:i,scrollToIndex:a},{didMount:o}])=>{let s=G(!0),c=G(0),l=G(!0);return PH(W(o,GH(c),zH(([e,t])=>!ZU(t)),VH(!1)),s),PH(W(o,GH(c),zH(([e,t])=>!ZU(t)),VH(!1)),l),AH(W(XH(t,o),GH(s,n,e,l),zH(([[,e],t,{sizeTree:n},r,i])=>e&&(!pU(n)||EH(r))&&!t&&!i),GH(c)),([,e])=>{if(e===void 0){jH(s,!0),jH(l,!0);return}FH(i,()=>{jH(l,!0)}),YU(4,()=>{FH(r,()=>{jH(s,!0)}),jH(a,e)})}),{initialItemFinalLocationReached:l,initialTopMostItemIndex:c,scrolledToInitialItem:s}},kH(WU,uU,JU,KU),{singleton:!0});function $U(e,t){return Math.abs(e-t)<1.01}var eW=`up`,tW=`down`,jSe=`none`,MSe={atBottom:!1,notAtBottomBecause:`NOT_SHOWING_LAST_ITEM`,state:{offsetBottom:0,scrollHeight:0,scrollTop:0,viewportHeight:0}},NSe=0,nW=YH(([{footerHeight:e,headerHeight:t,scrollBy:n,scrollContainerState:r,scrollTop:i,viewportHeight:a}])=>{let o=G(!1),s=G(!0),c=qH(),l=qH(),u=G(4),d=G(NSe),f=KH(W(QH(W(ZH(i),UH(1),VH(!0)),W(ZH(i),UH(1),VH(!1),IH(100))),RH()),!1),p=KH(W(QH(W(n,VH(!0)),W(n,VH(!1),IH(200))),RH()),!1);PH(W(XH(ZH(i),ZH(d)),BH(([e,t])=>e<=t),RH()),s),PH(W(s,WH(50)),l);let m=JH(W(XH(r,ZH(a),ZH(t),ZH(e),ZH(u)),HH((e,[{scrollHeight:t,scrollTop:n},r,i,a,o])=>{let s=n+r-t>-o,c={scrollHeight:t,scrollTop:n,viewportHeight:r};if(s){let t,r;return n>e.state.scrollTop?(t=`SCROLLED_DOWN`,r=e.state.scrollTop-n):(t=`SIZE_DECREASED`,r=e.state.scrollTop-n||e.scrollTopDelta),{atBottom:!0,atBottomBecause:t,scrollTopDelta:r,state:c}}let l;return l=c.scrollHeight>e.state.scrollHeight?`SIZE_INCREASED`:r<e.state.viewportHeight?`VIEWPORT_HEIGHT_DECREASING`:n<e.state.scrollTop?`SCROLLING_UPWARDS`:`NOT_FULLY_SCROLLED_TO_LAST_ITEM_BOTTOM`,{atBottom:!1,notAtBottomBecause:l,state:c}},MSe),RH((e,t)=>e!==void 0&&e.atBottom===t.atBottom))),h=KH(W(r,HH((e,{scrollHeight:t,scrollTop:n,viewportHeight:r})=>{if(!$U(e.scrollHeight,t)){let i=t-(n+r)<1;return e.scrollTop!==n&&i?{changed:!0,jump:e.scrollTop-n,scrollHeight:t,scrollTop:n}:{changed:!0,jump:0,scrollHeight:t,scrollTop:n}}return{changed:!1,jump:0,scrollHeight:t,scrollTop:n}},{changed:!1,jump:0,scrollHeight:0,scrollTop:0}),zH(e=>e.changed),BH(e=>e.jump)),0);PH(W(m,BH(e=>e.atBottom)),o),PH(W(o,WH(50)),c);let g=G(tW);PH(W(r,BH(({scrollTop:e})=>e),RH(),HH((e,t)=>NH(p)?{direction:e.direction,prevScrollTop:t}:{direction:t<e.prevScrollTop?eW:tW,prevScrollTop:t},{direction:tW,prevScrollTop:0}),BH(e=>e.direction)),g),PH(W(r,WH(50),VH(jSe)),g);let _=G(0);return PH(W(f,zH(e=>!e),VH(0)),_),PH(W(i,WH(100),GH(f),zH(([e,t])=>t),HH(([e,t],[n])=>[t,n],[0,0]),BH(([e,t])=>t-e)),_),{atBottomState:m,atBottomStateChange:c,atBottomThreshold:u,atTopStateChange:l,atTopThreshold:d,isAtBottom:o,isAtTop:s,isScrolling:f,lastJumpDueToItemResize:h,scrollDirection:g,scrollVelocity:_}},kH(uU)),rW=`top`,iW=`bottom`,aW=`none`;function oW(e,t,n){return typeof e==`number`?n===eW&&t===rW||n===tW&&t===iW?e:0:n===eW?t===rW?e.main:e.reverse:t===iW?e.main:e.reverse}function sW(e,t){return typeof e==`number`?e:e[t]??0}var cW=YH(([{deviation:e,fixedHeaderHeight:t,headerHeight:n,scrollTop:r,viewportHeight:i}])=>{let a=qH(),o=G(0),s=G(0),c=G(0);return{increaseViewportBy:s,listBoundary:a,overscan:c,topListHeight:o,visibleRange:KH(W(XH(ZH(r),ZH(i),ZH(n),ZH(a,MU),ZH(c),ZH(o),ZH(t),ZH(e),ZH(s)),BH(([e,t,n,[r,i],a,o,s,c,l])=>{let u=e-c,d=o+s,f=Math.max(n-u,0),p=aW,m=sW(l,rW),h=sW(l,iW);return r-=c,r+=n+s,i+=n+s,i-=c,r>e+d-m&&(p=eW),i<e-f+t+h&&(p=tW),p===aW?null:[Math.max(u-n-oW(a,rW,p)-m,0),u-f-s+t+oW(a,iW,p)+h]}),zH(e=>e!==null),RH(MU)),[0,0])}},kH(uU),{singleton:!0});function PSe(e,t,n){if(LU(t)){let r=BU(e,t);return[{index:hU(t.groupOffsetTree,r)[0],offset:0,size:0},{data:n?.[0],index:r,offset:0,size:0}]}return[{data:n?.[0],index:e,offset:0,size:0}]}var lW={bottom:0,firstItemIndex:0,items:[],offsetBottom:0,offsetTop:0,top:0,topItems:[],topListHeight:0,totalCount:0};function uW(e,t,n,r,i,a){let{lastIndex:o,lastOffset:s,lastSize:c}=i,l=0,u=0;if(e.length>0){l=e[0].offset;let t=e[e.length-1];u=t.offset+t.size}let d=n-o,f=s+d*c+(d-1)*r,p=l,m=f-u;return{bottom:u,firstItemIndex:a,items:fW(e,i,a),offsetBottom:m,offsetTop:l,top:p,topItems:fW(t,i,a),topListHeight:t.reduce((e,t)=>t.size+e,0),totalCount:n}}function dW(e,t,n,r,i,a){let o=0;if(n.groupIndices.length>0)for(let t of n.groupIndices){if(t-o>=e)break;o++}let s=e+o,c=XU(t,s);return uW(Array.from({length:s}).map((e,t)=>({data:a[t+c],index:t+c,offset:0,size:0})),[],s,i,n,r)}function fW(e,t,n){if(e.length===0)return[];if(!LU(t))return e.map(e=>({...e,index:e.index+n,originalIndex:e.index}));let r=e[0].index,i=e[e.length-1].index,a=[],o=vU(t.groupOffsetTree,r,i),s,c=0;for(let r of e){(!s||s.end<r.index)&&(s=o.shift(),c=t.groupIndices.indexOf(s.start));let e;e=r.index===s.start?{index:c,type:`group`}:{groupIndex:c,index:r.index-(c+1)+n},a.push({...e,data:r.data,offset:r.offset,originalIndex:r.index,size:r.size})}return a}function pW(e,t){return e===void 0?0:typeof e==`number`?e:e[t]??0}var mW=YH(([{data:e,firstItemIndex:t,gap:n,sizes:r,totalCount:i},a,{listBoundary:o,topListHeight:s,visibleRange:c},{initialTopMostItemIndex:l,scrolledToInitialItem:u},{topListHeight:d},f,{didMount:p},{recalcInProgress:m}])=>{let h=G([]),g=G(0),_=qH(),v=G(0);PH(a.topItemsIndexes,h);let y=KH(W(XH(p,m,ZH(c,MU),ZH(i),ZH(r),ZH(l),u,ZH(h),ZH(t),ZH(n),ZH(v),e),zH(([e,t,,n,,,,,,,,r])=>{let i=r!==void 0&&r.length!==n;return e&&!t&&!i}),BH(([,,[e,t],n,r,i,a,o,s,c,l,u])=>{let d=r,{offsetTree:f,sizeTree:p}=d,m=NH(g);if(n===0)return{...lW,totalCount:n};if(e===0&&t===0)return m===0?{...lW,totalCount:n}:dW(m,i,r,s,c,u||[]);if(pU(p))return m>0?null:uW(PSe(XU(i,n),d,u),[],n,c,d,s);let h=[];if(o.length>0){let e=o[0],t=o[o.length-1],n=0;for(let r of vU(p,e,t)){let i=r.value,a=Math.max(r.start,e),o=Math.min(r.end,t);for(let e=a;e<=o;e++)h.push({data:u?.[e],index:e,offset:n,size:i}),n+=i}}if(!a)return uW([],h,n,c,d,s);let _=o.length>0?o[o.length-1]+1:0,v=SSe(f,e,t,_);if(v.length===0)return null;let y=n-1,b=OH([],n=>{for(let r of v){let i=r.value,a=i.offset,o=r.start,s=i.size;if(i.offset<e){o+=Math.floor((e-i.offset+c)/(s+c));let t=o-r.start;a+=t*s+t*c}o<_&&(a+=(_-o)*s,o=_);let l=Math.min(r.end,y);for(let e=o;e<=l&&!(a>=t);e++)n.push({data:u?.[e],index:e,offset:a,size:s}),a+=s+c}}),x=pW(l,rW),S=pW(l,iW);if(b.length>0&&(x>0||S>0)){let e=b[0],t=b[b.length-1];if(x>0&&e.index>_){let t=Math.min(x,e.index-_),n=[],r=e.offset;for(let i=e.index-1;i>=e.index-t;i--){let t=vU(p,i,i)[0]?.value??e.size;r-=t+c,n.unshift({data:u?.[i],index:i,offset:r,size:t})}b.unshift(...n)}if(S>0&&t.index<y){let e=Math.min(S,y-t.index),n=t.offset+t.size+c;for(let r=t.index+1;r<=t.index+e;r++){let e=vU(p,r,r)[0]?.value??t.size;b.push({data:u?.[r],index:r,offset:n,size:e}),n+=e+c}}}return uW(b,h,n,c,d,s)}),zH(e=>e!==null),RH()),lW);PH(W(e,zH(EH),BH(e=>e?.length)),i),PH(W(y,BH(e=>e.topListHeight)),d),PH(d,s),PH(W(y,BH(e=>[e.top,e.bottom])),o),PH(W(y,BH(e=>e.items)),_);let b=JH(W(y,zH(({items:e})=>e.length>0),GH(i,e),zH(([{items:e},t])=>e[e.length-1].originalIndex===t-1),BH(([,e,t])=>[e-1,t]),RH(MU),BH(([e])=>e))),x=JH(W(y,WH(200),zH(({items:e,topItems:t})=>e.length>0&&e[0].originalIndex===t.length),BH(({items:e})=>e[0].index),RH()));return{endReached:b,initialItemCount:g,itemsRendered:_,listState:y,minOverscanItemCount:v,rangeChanged:JH(W(y,zH(({items:e})=>e.length>0),BH(({items:e})=>{let t=0,n=e.length-1;for(;e[t].type===`group`&&t<n;)t++;for(;e[n].type===`group`&&n>t;)n--;return{endIndex:e[n].index,startIndex:e[t].index}}),RH(jU))),startReached:x,topItemsIndexes:h,...f}},kH(WU,GU,cW,QU,JU,nW,KU,NU),{singleton:!0}),hW=YH(([{fixedFooterHeight:e,fixedHeaderHeight:t,footerHeight:n,headerHeight:r},{listState:i}])=>{let a=qH(),o=KH(W(XH(n,e,r,t,i),BH(([e,t,n,r,i])=>e+t+n+r+i.offsetBottom+i.bottom)),0);return PH(ZH(o),a),{totalListHeight:o,totalListHeightChanged:a}},kH(uU,mW),{singleton:!0}),FSe=YH(([{viewportHeight:e},{totalListHeight:t}])=>{let n=G(!1);return{alignToBottom:n,paddingTopAddition:KH(W(XH(n,e,t),zH(([e])=>e),BH(([,e,t])=>Math.max(0,e-t)),WH(0),RH()),0)}},kH(uU,hW),{singleton:!0}),gW=YH(()=>({context:G(null)})),ISe=({itemBottom:e,itemTop:t,locationParams:{align:n,behavior:r,...i},viewportBottom:a,viewportTop:o})=>t<o?{...i,align:n??`start`,...r===void 0?{}:{behavior:r}}:e>a?{...i,align:n??`end`,...r===void 0?{}:{behavior:r}}:null,_W=YH(([{gap:e,sizes:t,totalCount:n},{fixedFooterHeight:r,fixedHeaderHeight:i,headerHeight:a,scrollingInProgress:o,scrollTop:s,viewportHeight:c},{scrollToIndex:l}])=>{let u=qH();return PH(W(u,GH(t,c,n,a,i,r,s),GH(e),BH(([[e,t,n,r,i,a,s,c],l])=>{let{calculateViewLocation:u=ISe,done:d,...f}=e,p=VU(e,t,r-1),m=zU(p,t.offsetTree,l)+i+a,h=m+hU(t.sizeTree,p)[1],g=c+a,_=u({itemBottom:h,itemTop:m,locationParams:f,viewportBottom:c+n-s,viewportTop:g});return _===null?d?.():d&&FH(W(o,zH(e=>!e),UH(NH(o)?1:2)),d),_}),zH(e=>e!==null)),l),{scrollIntoView:u}},kH(WU,uU,JU,mW,eU),{singleton:!0});function vW(e){return e===!1?!1:e===`smooth`?`smooth`:`auto`}var LSe=(e,t)=>typeof e==`function`?vW(e(t)):t&&vW(e),RSe=YH(([{listRefresh:e,totalCount:t,fixedItemSize:n,data:r},{atBottomState:i,isAtBottom:a},{scrollToIndex:o},{scrolledToInitialItem:s},{didMount:c,propsReady:l},{log:u},{scrollingInProgress:d},{context:f},{scrollIntoView:p}])=>{let m=G(!1),h=qH(),g=null;function _(e){jH(o,{align:`end`,behavior:e,index:`LAST`})}AH(W(XH(W(ZH(t),UH(1)),c),GH(ZH(m),a,s,d),BH(([[e,t],n,r,i,a])=>{let o=t&&i,s=`auto`;return o&&(s=LSe(n,r||a),o&&=s!==!1),{followOutputBehavior:s,shouldFollow:o,totalCount:e}}),zH(({shouldFollow:e})=>e)),({followOutputBehavior:t,totalCount:r})=>{g!==null&&(g(),g=null),NH(n)===void 0?g=FH(e,()=>{NH(u)(`following output to `,{totalCount:r},$H.DEBUG),_(t),g=null}):requestAnimationFrame(()=>{NH(u)(`following output to `,{totalCount:r},$H.DEBUG),_(t)})});function v(e){let t=FH(i,t=>{e&&!t.atBottom&&t.notAtBottomBecause===`SIZE_INCREASED`&&g===null&&(NH(u)(`scrolling to bottom due to increased size`,{},$H.DEBUG),_(`auto`))});setTimeout(t,100)}AH(W(XH(ZH(m),t,l),zH(([e,,t])=>e!==!1&&t),HH(({value:e},[,t])=>({refreshed:e===t,value:t}),{refreshed:!1,value:0}),zH(({refreshed:e})=>e),GH(m,t)),([,e])=>{NH(s)&&v(e!==!1)}),AH(h,()=>{v(NH(m)!==!1)}),AH(XH(ZH(m),i),([e,t])=>{e!==!1&&!t.atBottom&&t.notAtBottomBecause===`VIEWPORT_HEIGHT_DECREASING`&&_(`auto`)});let y=G(null),b=qH();return PH(QH(W(ZH(r),BH(e=>e?.length??0)),W(ZH(t))),b),AH(W(XH(W(b,UH(1)),c),GH(ZH(y),s,d,f),BH(([[e,t],n,r,i,a])=>t&&r&&n?.({context:a,totalCount:e,scrollingInProgress:i})),zH(e=>!!e),WH(0)),t=>{g!==null&&(g(),g=null),NH(n)===void 0?g=FH(e,()=>{NH(u)(`scrolling into view`,{}),jH(p,t),g=null}):requestAnimationFrame(()=>{NH(u)(`scrolling into view`,{}),jH(p,t)})}),{autoscrollToBottom:h,followOutput:m,scrollIntoViewOnChange:y}},kH(WU,nW,JU,QU,KU,eU,uU,gW,_W)),zSe=YH(([{data:e,firstItemIndex:t,gap:n,sizes:r},{initialTopMostItemIndex:i},{initialItemCount:a,listState:o},{didMount:s}])=>(PH(W(s,GH(a),zH(([,e])=>e!==0),GH(i,r,t,n,e),BH(([[,e],t,n,r,i,a=[]])=>dW(e,t,n,r,i,a))),o),{}),kH(WU,QU,mW,KU),{singleton:!0}),BSe=YH(([{didMount:e},{scrollTo:t},{listState:n}])=>{let r=G(0);return AH(W(e,GH(r),zH(([,e])=>e!==0),BH(([,e])=>({top:e}))),e=>{FH(W(n,UH(1),zH(e=>e.items.length>1)),()=>{requestAnimationFrame(()=>{jH(t,e)})})}),{initialScrollTop:r}},kH(KU,uU,mW),{singleton:!0}),yW=YH(([{scrollVelocity:e}])=>{let t=G(!1),n=qH(),r=G(!1);return PH(W(e,GH(r,t,n),zH(([e,t])=>t!==!1&&t!==void 0),BH(([e,t,n,r])=>{let{enter:i,exit:a}=t;if(n){if(a(e,r))return!1}else if(i(e,r))return!0;return n}),RH()),t),AH(W(XH(t,e,n),GH(r)),([[e,t,n],r])=>{e&&r!==!1&&r!==void 0&&r.change&&r.change(t,n)}),{isSeeking:t,scrollSeekConfiguration:r,scrollSeekRangeChanged:n,scrollVelocity:e}},kH(nW),{singleton:!0}),bW=YH(([{scrollContainerState:e,scrollTo:t}])=>{let n=qH(),r=qH(),i=qH(),a=G(!1),o=G(void 0);return PH(W(XH(n,r),BH(([{scrollTop:e,viewportHeight:t},{offsetTop:n,listHeight:r}])=>({scrollHeight:r,scrollTop:Math.max(0,e-n),viewportHeight:t}))),e),PH(W(t,GH(r),BH(([e,{offsetTop:t}])=>({...e,top:e.top+t}))),i),{customScrollParent:o,useWindowScroll:a,windowScrollContainerState:n,windowScrollTo:i,windowViewportRect:r}},kH(uU)),VSe=YH(([{sizeRanges:e,sizes:t},{headerHeight:n,scrollTop:r},{initialTopMostItemIndex:i},{didMount:a},{useWindowScroll:o,windowScrollContainerState:s,windowViewportRect:c}])=>{let l=qH(),u=G(void 0),d=G(null),f=G(null);return PH(s,d),PH(c,f),AH(W(l,GH(t,r,o,d,f,n)),([e,t,n,r,i,a,o])=>{let s=wSe(t.sizeTree);r&&i!==null&&a!==null&&(n=i.scrollTop-a.offsetTop),n-=o,e({ranges:s,scrollTop:n})}),PH(W(u,zH(EH),BH(HSe)),i),PH(W(a,GH(u),zH(([,e])=>e!==void 0),RH(),BH(([,e])=>e.ranges)),e),{getState:l,restoreStateFrom:u}},kH(WU,uU,QU,KU,bW));function HSe(e){return{align:`start`,index:0,offset:e.scrollTop}}var USe=YH(([{topItemsIndexes:e}])=>{let t=G(0);return PH(W(t,zH(e=>e>=0),BH(e=>Array.from({length:e}).map((e,t)=>t))),e),{topItemCount:t}},kH(mW));function xW(e){let t=!1,n;return(()=>(t||(t=!0,n=e()),n))}var WSe=xW(()=>/iP(ad|od|hone)/i.test(navigator.userAgent)&&/WebKit/i.test(navigator.userAgent)),SW=YH(([{data:e,defaultItemSize:t,firstItemIndex:n,fixedItemSize:r,fixedGroupSize:i,gap:a,groupIndices:o,heightEstimates:s,itemSize:c,sizeRanges:l,sizes:u,statefulTotalCount:d,totalCount:f,trackItemSizes:p},{initialItemFinalLocationReached:m,initialTopMostItemIndex:h,scrolledToInitialItem:g},_,v,y,b,{scrollToIndex:x},S,{topItemCount:C},{groupCounts:w},T])=>{let{listState:E,minOverscanItemCount:D,topItemsIndexes:O,rangeChanged:k,...A}=b;return PH(k,T.scrollSeekRangeChanged),PH(W(XH(T.windowViewportRect,_.headerHeight,_.fixedHeaderHeight),BH(([e,t,n])=>Math.max(t+n+1,e.visibleHeight))),_.viewportHeight),{data:e,defaultItemHeight:t,firstItemIndex:n,fixedItemHeight:r,fixedGroupHeight:i,gap:a,groupCounts:w,heightEstimates:s,initialItemFinalLocationReached:m,initialTopMostItemIndex:h,scrolledToInitialItem:g,sizeRanges:l,topItemCount:C,topItemsIndexes:O,totalCount:f,...y,groupIndices:o,itemSize:c,listState:E,minOverscanItemCount:D,scrollToIndex:x,statefulTotalCount:d,trackItemSizes:p,rangeChanged:k,...A,...T,..._,sizes:u,...v}},kH(WU,QU,uU,VSe,RSe,mW,JU,YH(([{deviation:e,deviationCommitted:t,scrollBy:n,scrollingInProgress:r,scrollTop:i},{isAtBottom:a,isScrolling:o,lastJumpDueToItemResize:s,scrollDirection:c},{listState:l},{beforeUnshiftWith:u,gap:d,shiftWithOffset:f,sizes:p},{log:m},{recalcInProgress:h}])=>{let g=JH(W(l,GH(s),HH(([,e,t,n],[{bottom:r,items:i,offsetBottom:a,totalCount:o},s])=>{let c=r+a,l=0;return t===o&&e.length>0&&i.length>0&&(i[0].originalIndex===0&&e[0].originalIndex===0||(l=c-n,l!==0&&(l+=s))),[l,i,o,c]},[0,[],0,0]),zH(([e])=>e!==0),GH(i,c,r,a,m,h),zH(([,e,t,n,,,r])=>!r&&!n&&e!==0&&t===eW),BH(([[e],,,,,t])=>(t(`Upward scrolling compensation`,{amount:e},$H.DEBUG),e))));function _(t){t>0?(jH(n,{behavior:`auto`,top:-t}),jH(e,0)):(jH(e,0),jH(n,{behavior:`auto`,top:-t}))}AH(W(g,GH(e,o)),([t,n,r])=>{r&&WSe()?jH(e,n-t):_(-t)}),AH(W(XH(KH(o,!1),e,h),zH(([e,t,n])=>!e&&!n&&t!==0),BH(([e,t])=>t),WH(1)),_),PH(W(f,BH(e=>({top:-e}))),n);let v=null;function y(){if(v===null)return;let{offset:t}=v;v=null,jH(n,{top:t}),requestAnimationFrame(()=>{jH(e,0),jH(h,!1)})}return AH(t,e=>{v===null||!v.acknowledgeable||e===v.offset&&y()}),AH(W(u,GH(p,d),BH(([e,{groupIndices:t,lastSize:n,sizeTree:r},i])=>{function a(e){return e*(n+i)}if(t.length===0)return a(e);let o=0,s=mU(r,0),c=0,l=0;for(;c<e;){c++,o+=s;let n=t.length===l+1?1/0:t[l+1]-t[l]-1;c+n>e&&(o-=s,n=e-c+1),c+=n,o+=a(n),l++}return o})),t=>{v={acknowledgeable:NH(e)!==t,offset:t},jH(e,t),requestAnimationFrame(y)}),{deviation:e}},kH(uU,nW,mW,WU,eU,NU)),USe,GU,YH(([e,t,n,r,i,a,o,s,c,l,u])=>({...e,...t,...n,...r,...i,...a,...o,...s,...c,...l,...u}),kH(cW,zSe,KU,yW,hW,BSe,FSe,bW,_W,eU,gW))));function GSe(e,t){let n={},r={},i=0,a=e.length;for(;i<a;)r[e[i]]=1,i+=1;for(let e in t)Object.hasOwn(r,e)||(n[e]=t[e]);return n}var CW=typeof document>`u`?I.useEffect:I.useLayoutEffect;function wW(e,t,n){let r=Object.keys(t.required||{}),i=Object.keys(t.optional||{}),a=Object.keys(t.methods||{}),o=Object.keys(t.events||{}),s=I.createContext({});function c(e,n){e.propsReady!==void 0&&jH(e.propsReady,!1);for(let i of r){let r=e[t.required[i]];jH(r,n[i])}for(let r of i)if(r in n){let i=e[t.optional[r]];jH(i,n[r])}e.propsReady!==void 0&&jH(e.propsReady,!0)}function l(e){return a.reduce((n,r)=>(n[r]=n=>{let i=e[t.methods[r]];jH(i,n)},n),{})}function u(e){return o.reduce((n,r)=>(n[r]=cSe(e[t.events[r]]),n),{})}return{Component:I.forwardRef(function(t,a){let{children:d,...f}=t,[p]=I.useState(()=>OH(dSe(e),e=>{c(e,f)})),[m]=I.useState(rSe(u,p));CW(()=>{for(let e of o)e in f&&AH(m[e],f[e]);return()=>{Object.values(m).map(MH)}},[f,m,p]),CW(()=>{c(p,f)}),I.useImperativeHandle(a,tSe(l(p)));let h=n;return(0,V.jsx)(s.Provider,{value:p,children:n===void 0?d:(0,V.jsx)(h,{...GSe([...r,...i,...o],f),children:d})})}),useEmitter:(e,t)=>{let n=I.useContext(s)[e];CW(()=>AH(n,t),[t,n])},useEmitterValue:e=>{let t=I.useContext(s)[e],n=I.useCallback(e=>AH(t,e),[t]);return I.useSyncExternalStore(n,()=>NH(t),()=>NH(t))},usePublisher:e=>{let t=I.useContext(s);return I.useCallback(n=>{jH(t[e],n)},[t,e])}}}var TW=I.createContext(void 0),EW=I.createContext(void 0),DW=`-webkit-sticky`,OW=`sticky`,kW=xW(()=>{if(typeof document>`u`)return OW;let e=document.createElement(`div`);return e.style.position=DW,e.style.position===DW?DW:OW});function AW(e){return`self`in e}function KSe(e){return`body`in e}function jW(e,t,n,r=DH,i,a){let o=I.useRef(null),s=I.useRef(null),c=I.useRef(null),l=I.useCallback(n=>{let r,i,o,l=n.target;if(KSe(l)||AW(l)){let e=AW(l)?l:l.defaultView;o=a===!0?nU(e,e.scrollX):e.scrollY,r=a===!0?e.document.documentElement.scrollWidth:e.document.documentElement.scrollHeight,i=a===!0?e.innerWidth:e.innerHeight}else o=a===!0?nU(l,l.scrollLeft):l.scrollTop,r=a===!0?l.scrollWidth:l.scrollHeight,i=a===!0?l.offsetWidth:l.offsetHeight;let u=()=>{e({scrollHeight:r,scrollTop:Math.max(o,0),viewportHeight:i})};n.suppressFlushSync===!0?u():BE.flushSync(u),s.current!==null&&(o===s.current||o<=0||o===r-i)&&(s.current=null,t(!0),c.current&&=(clearTimeout(c.current),null))},[e,t,a]);I.useEffect(()=>{let e=i??o.current;return r(i??o.current),l({suppressFlushSync:!0,target:e}),e.addEventListener(`scroll`,l,{passive:!0}),()=>{r(null),e.removeEventListener(`scroll`,l)}},[o,l,n,r,i]);function u(n){let r=o.current;if(!r||(a===!0?`offsetWidth`in r&&r.offsetWidth===0:`offsetHeight`in r&&r.offsetHeight===0))return;let i=n.behavior===`smooth`,l,u,d;AW(r)?(u=Math.max(IU(r.document.documentElement,a===!0?`width`:`height`),a===!0?r.document.documentElement.scrollWidth:r.document.documentElement.scrollHeight),l=a===!0?r.innerWidth:r.innerHeight,d=a===!0?nU(r,r.scrollX):r.scrollY):(u=r[a===!0?`scrollWidth`:`scrollHeight`],l=IU(r,a===!0?`width`:`height`),d=a===!0?nU(r,r.scrollLeft):r.scrollTop);let f=u-l;if(n.top===void 0){r.scrollTo(n);return}let p=Math.ceil(Math.max(Math.min(f,n.top),0));if(n.top=p,$U(l,u)||p===d){e({scrollHeight:u,scrollTop:d,viewportHeight:l}),i&&t(!0);return}i?(s.current=p,c.current&&clearTimeout(c.current),c.current=setTimeout(()=>{c.current=null,s.current=null,t(!0)},1e3)):s.current=null,a===!0&&(n={...n.behavior===void 0?{}:{behavior:n.behavior},left:rU(r,p)}),r.scrollTo(n)}return{scrollByCallback:I.useCallback(e=>{a===!0&&(e={...e.behavior===void 0?{}:{behavior:e.behavior},...e.top===void 0?{}:{left:rU(o.current,e.top)}}),o.current.scrollBy(e)},[a]),scrollerRef:o,scrollToCallback:u}}function MW(e){return e}var qSe=YH(([e,t])=>({...e,...t}),kH(SW,YH(()=>{let e=G(e=>`Item ${e}`),t=G(e=>`Group ${e}`),n=G({}),r=G(MW),i=G(`div`),a=G(DH),o=(e,t=null)=>KH(W(n,BH(t=>t[e]),RH()),t);return{components:n,computeItemKey:r,EmptyPlaceholder:o(`EmptyPlaceholder`),FooterComponent:o(`Footer`),GroupComponent:o(`Group`,`div`),groupContent:t,HeaderComponent:o(`Header`),HeaderFooterTag:i,ItemComponent:o(`Item`,`div`),itemContent:e,ListComponent:o(`List`,`div`),ScrollerComponent:o(`Scroller`,`div`),scrollerRef:a,ScrollSeekPlaceholder:o(`ScrollSeekPlaceholder`),TopItemListComponent:o(`TopItemList`)}}))),JSe=({height:e})=>(0,V.jsx)(`div`,{style:{height:e}}),YSe={overflowAnchor:`none`,position:kW(),zIndex:1},NW={overflowAnchor:`none`},XSe={...NW,display:`inline-block`,height:`100%`},PW=I.memo(function({showTopList:e=!1}){let t=HW(`listState`),n=UW(`sizeRanges`),r=HW(`useWindowScroll`),i=HW(`customScrollParent`),a=UW(`windowScrollContainerState`),o=UW(`scrollC
273ontainerState`),s=i||r?a:o,c=HW(`itemContent`),l=HW(`context`),u=HW(`groupContent`),d=HW(`trackItemSizes`),f=HW(`itemSize`),p=HW(`log`),m=UW(`gap`),h=HW(`horizontalDirection`),{callbackRef:g}=oU(n,f,d,e?DH:s,p,m,i,h,HW(`skipAnimationFrameInResizeObserver`)),[_,v]=I.useState(0);VW(`deviation`,e=>{_!==e&&v(e)});let y=UW(`deviationCommitted`);cU(()=>{y(_)},[_,y]);let b=HW(`EmptyPlaceholder`),x=HW(`ScrollSeekPlaceholder`)??JSe,S=HW(`ListComponent`),C=HW(`ItemComponent`),w=HW(`GroupComponent`),T=HW(`computeItemKey`),E=HW(`isSeeking`),D=HW(`groupIndices`).length>0,O=HW(`alignToBottom`),k=HW(`initialItemFinalLocationReached`),A=e?{}:{boxSizing:`border-box`,...h?{display:`inline-block`,height:`100%`,marginInlineStart:_===0?O?`auto`:0:_,paddingInlineEnd:t.offsetBottom,paddingInlineStart:t.offsetTop,whiteSpace:`nowrap`}:{marginTop:_===0?O?`auto`:0:_,paddingBottom:t.offsetBottom,paddingTop:t.offsetTop},...k?{}:{visibility:`hidden`}};return!e&&t.totalCount===0&&b!=null?(0,V.jsx)(b,{...LW(b,l)}):(0,V.jsx)(S,{...LW(S,l),"data-testid":e?`virtuoso-top-item-list`:`virtuoso-item-list`,ref:g,style:A,children:(e?t.topItems:t.items).map(e=>{let n=e.originalIndex,r=T(n+t.firstItemIndex,e.data,l);return E?(0,I.createElement)(x,{...LW(x,l),height:e.size,index:e.index,key:r,type:e.type||`item`,...e.type===`group`?{}:{groupIndex:e.groupIndex}}):e.type===`group`?(0,I.createElement)(w,{...LW(w,l),"data-index":n,"data-item-index":e.index,"data-known-size":e.size,key:r,style:YSe},u(e.index,l)):(0,I.createElement)(C,{...LW(C,l),...RW(C,e.data),"data-index":n,"data-item-group-index":e.groupIndex,"data-item-index":e.index,"data-known-size":e.size,key:r,style:h?XSe:NW},D?c(e.index,e.groupIndex,e.data,l):c(e.index,e.data,l))})})}),ZSe={height:`100%`,outline:`none`,overflowY:`auto`,position:`relative`,WebkitOverflowScrolling:`touch`},QSe={outline:`none`,overflowX:`auto`,position:`relative`},FW=e=>({height:`100%`,position:`absolute`,top:0,width:`100%`,...e?{display:`flex`,flexDirection:`column`}:void 0}),IW=(e,t,n=0)=>({...FW(e),position:t?`relative`:`absolute`,top:t?-n:0}),$Se={position:kW(),top:0,width:`100%`,zIndex:1};function LW(e,t){if(typeof e!=`string`)return{context:t}}function RW(e,t){return{item:typeof e==`string`?void 0:t}}var eCe=I.memo(function(){let e=HW(`HeaderComponent`),t=UW(`headerHeight`),n=HW(`HeaderFooterTag`),r=iU(I.useMemo(()=>e=>{t(IU(e,`height`))},[t]),!0,HW(`skipAnimationFrameInResizeObserver`)),i=HW(`context`);return e==null?null:(0,V.jsx)(n,{ref:r,children:(0,V.jsx)(e,{...LW(e,i)})})}),tCe=I.memo(function(){let e=HW(`FooterComponent`),t=UW(`footerHeight`),n=HW(`HeaderFooterTag`),r=iU(I.useMemo(()=>e=>{t(IU(e,`height`))},[t]),!0,HW(`skipAnimationFrameInResizeObserver`)),i=HW(`context`);return e==null?null:(0,V.jsx)(n,{ref:r,children:(0,V.jsx)(e,{...LW(e,i)})})});function zW({useEmitter:e,useEmitterValue:t,usePublisher:n}){return I.memo(function({children:r,style:i,context:a,...o}){let s=n(`scrollContainerState`),c=t(`ScrollerComponent`),l=n(`smoothScrollTargetReached`),u=t(`scrollerRef`),d=t(`horizontalDirection`)||!1,{scrollByCallback:f,scrollerRef:p,scrollToCallback:m}=jW(s,l,c,u,void 0,d);return e(`scrollTo`,m),e(`scrollBy`,f),(0,V.jsx)(c,{"data-testid":`virtuoso-scroller`,"data-virtuoso-scroller":!0,ref:p,style:{...d?QSe:ZSe,...i},tabIndex:0,...o,...LW(c,a),children:r})})}function BW({useEmitter:e,useEmitterValue:t,usePublisher:n}){return I.memo(function({children:r,style:i,context:a,...o}){let s=n(`windowScrollContainerState`),c=t(`ScrollerComponent`),l=n(`smoothScrollTargetReached`),u=t(`totalListHeight`),d=t(`deviation`),f=t(`customScrollParent`),p=I.useRef(null),{scrollByCallback:m,scrollerRef:h,scrollToCallback:g}=jW(s,l,c,t(`scrollerRef`),f);return cU(()=>(h.current=f??p.current?.ownerDocument.defaultView,()=>{h.current=null}),[h,f]),e(`windowScrollTo`,g),e(`scrollBy`,m),(0,V.jsx)(c,{ref:p,"data-virtuoso-scroller":!0,style:{position:`relative`,...i,...u===0?void 0:{height:u+d}},...o,...LW(c,a),children:r})})}var nCe=({children:e})=>{let t=I.useContext(TW),n=UW(`viewportHeight`),r=UW(`fixedItemHeight`),i=HW(`alignToBottom`),a=HW(`horizontalDirection`),o=iU(I.useMemo(()=>TH(n,e=>
vendor: 8,536 bytes, line 273
273IU(e,a?`width`:`height`)),[n,a]),!0,HW(`skipAnimationFrameInResizeObserver`));return I.useEffect(()=>{t&&(n(t.viewportHeight),r(t.itemHeight))},[t,n,r]),(0,V.jsx)(`div`,{"data-viewport-type":`element`,ref:o,style:FW(i),children:e})},rCe=({children:e})=>{let t=I.useContext(TW),n=UW(`windowViewportRect`),r=UW(`fixedItemHeight`),i=HW(`customScrollParent`),a=HW(`useWindowScroll`),o=HW(`topListHeight`),s=lU(n,i,HW(`skipAnimationFrameInResizeObserver`)),c=HW(`alignToBottom`);return I.useEffect(()=>{t&&(r(t.itemHeight),n({listHeight:0,offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,n,r]),(0,V.jsx)(`div`,{"data-viewport-type":`window`,ref:s,style:IW(c,a,o),children:e})},iCe=({children:e})=>{let t=HW(`TopItemListComponent`)??`div`,n=HW(`headerHeight`),r={...$Se,marginTop:`${n}px`},i=HW(`context`);return(0,V.jsx)(t,{style:r,...LW(t,i),children:e})},{Component:aCe,useEmitter:VW,useEmitterValue:HW,usePublisher:UW}=wW(qSe,{optional:{restoreStateFrom:`restoreStateFrom`,context:`context`,followOutput:`followOutput`,scrollIntoViewOnChange:`scrollIntoViewOnChange`,itemContent:`itemContent`,groupContent:`groupContent`,overscan:`overscan`,increaseViewportBy:`increaseViewportBy`,minOverscanItemCount:`minOverscanItemCount`,totalCount:`totalCount`,groupCounts:`groupCounts`,topItemCount:`topItemCount`,firstItemIndex:`firstItemIndex`,initialTopMostItemIndex:`initialTopMostItemIndex`,components:`components`,atBottomThreshold:`atBottomThreshold`,atTopThreshold:`atTopThreshold`,computeItemKey:`computeItemKey`,defaultItemHeight:`defaultItemHeight`,fixedGroupHeight:`fixedGroupHeight`,fixedItemHeight:`fixedItemHeight`,heightEstimates:`heightEstimates`,itemSize:`itemSize`,scrollSeekConfiguration:`scrollSeekConfiguration`,headerFooterTag:`HeaderFooterTag`,data:`data`,initialItemCount:`initialItemCount`,initialScrollTop:`initialScrollTop`,alignToBottom:`alignToBottom`,useWindowScroll:`useWindowScroll`,customScrollParent:`customScrollParent`,scrollerRef:`scrollerRef`,logLevel:`logLevel`,horizontalDirection:`horizontalDirection`,skipAnimationFrameInResizeObserver:`skipAnimationFrameInResizeObserver`},methods:{scrollToIndex:`scrollToIndex`,scrollIntoView:`scrollIntoView`,scrollTo:`scrollTo`,scrollBy:`scrollBy`,autoscrollToBottom:`autoscrollToBottom`,getState:`getState`},events:{isScrolling:`isScrolling`,endReached:`endReached`,startReached:`startReached`,rangeChanged:`rangeChanged`,atBottomStateChange:`atBottomStateChange`,atTopStateChange:`atTopStateChange`,totalListHeightChanged:`totalListHeightChanged`,itemsRendered:`itemsRendered`,groupIndices:`groupIndices`}},I.memo(function(e){let t=HW(`useWindowScroll`),n=HW(`topItemsIndexes`).length>0,r=HW(`customScrollParent`),i=HW(`context`);return(0,V.jsxs)(r||t?sCe:oCe,{...e,context:i,children:[n&&(0,V.jsx)(iCe,{children:(0,V.jsx)(PW,{showTopList:!0})}),(0,V.jsxs)(r||t?rCe:nCe,{children:[(0,V.jsx)(eCe,{}),(0,V.jsx)(PW,{}),(0,V.jsx)(tCe,{})]})]})})),oCe=zW({useEmitter:VW,useEmitterValue:HW,usePublisher:UW}),sCe=BW({useEmitter:VW,useEmitterValue:HW,usePublisher:UW}),cCe=aCe,lCe=YH(([e,t])=>({...e,...t}),kH(SW,YH(()=>{let e=G(e=>(0,V.jsxs)(`td`,{children:[`Item $`,e]})),t=G(null),n=G(e=>(0,V.jsxs)(`td`,{colSpan:1e3,children:[`Group `,e]})),r=G(null),i=G(null),a=G({}),o=G(MW),s=G(DH),c=(e,t=null)=>KH(W(a,BH(t=>t[e]),RH()),t);return{components:a,computeItemKey:o,context:t,EmptyPlaceholder:c(`EmptyPlaceholder`),FillerRow:c(`FillerRow`),fixedFooterContent:i,fixedHeaderContent:r,itemContent:e,groupContent:n,ScrollerComponent:c(`Scroller`,`div`),scrollerRef:s,ScrollSeekPlaceholder:c(`ScrollSeekPlaceholder`),TableBodyComponent:c(`TableBody`,`tbody`),TableComponent:c(`Table`,`table`),TableFooterComponent:c(`TableFoot`,`tfoot`),TableHeadComponent:c(`TableHead`,`thead`),TableRowComponent:c(`TableRow`,`tr`),GroupComponent:c(`Group`,`tr`)}}))),uCe=({height:e})=>(0,V.jsx)(`tr`,{children:(0,V.jsx)(`td`,{style:{height:e}})}),dCe=({height:e})=>(0,V.jsx)(`tr`,{children:(0,V.jsx)(`td`,{style:{border:0,height:e,padding:0}})}),fCe={overflowAnchor:`none`},WW={position:kW(),zIndex:2,overflowAnchor:`none`},GW=I.memo(function({showTopList:e=!1}){let t=qW(`listState`),n=qW(`computeItemKey`),r=qW(`firstItemIndex`),i=qW(`context`),a=qW(`isSeeking`),o=qW(`fixedHeaderHeight`),s=qW(`groupIndices`).length>0,c=qW(`itemContent`),l=qW(`groupContent`),u=qW(`ScrollSeekPlaceholder`)??uCe,d=qW(`GroupComponent`),f=qW(`TableRowComponent`),p=(e?t.topItems:[]).reduce((e,t,n)=>(n===0?e.push(t.size):e.push(e[n-1]+t.size),e),[]);return(e?t.topItems:t.items).map(t=>{let m=t.originalIndex,h=n(m+r,t.data,i),g=e?m===0?0:p[m-1]:0;return a?(0,I.createElement)(u,{...LW(u,i),height:t.size,index:t.index,key:h,type:t.type||`item`}):t.type===`group`?(0,I.createElement)(d,{...LW(d,i),"data-index":m,"data-item-index":t.index,"data-known-size":t.size,key:h,style:{...WW,top:o}},l(t.index,i)):(0,I.createElement)(f,{...LW(f,i),...RW(f,t.data),"data-index":m,"data-item-index":t.index,"data-known-size":t.size,"data-item-group-index":t.groupIndex,key:h,style:e?{...WW,top:o+g}:fCe},s?c(t.index,t.groupIndex,t.data,i):c(t.index,t.data,i))})}),pCe=I.memo(function(){let e=qW(`listState`),t=qW(`topItemsIndexes`).length>0,n=JW(`sizeRanges`),r=qW(`useWindowScroll`),i=qW(`customScrollParent`),a=JW(`windowScrollContainerState`),o=JW(`scrollContainerState`),s=i||r?a:o,c=qW(`trackItemSizes`),{callbackRef:l,ref:u}=oU(n,qW(`itemSize`),c,s,qW(`log`),void 0,i,!1,qW(`skipAnimationFrameInResizeObserver`)),[d,f]=I.useState(0);KW(`deviation`,e=>{d!==e&&(u.current.style.marginTop=`${e}px`,f(e))});let p=JW(`deviationCommitted`);cU(()=>{p(d)},[d,p]);let m=qW(`EmptyPlaceholder`),h=qW(`FillerRow`)??dCe,g=qW(`TableBodyComponent`),_=qW(`paddingTopAddition`),v=qW(`statefulTotalCount`),y=qW(`context`);if(v===0&&m!=null)return(0,V.jsx)(m,{...LW(m,y)});let b=(t?e.topItems:[]).reduce((e,t)=>e+t.size,0),x=e.offsetTop+_+d-b,S=e.offsetBottom,C=x>0?(0,V.jsx)(h,{context:y,height:x},`padding-top`):null,w=S>0?(0,V.jsx)(h,{context:y,height:S},`padding-bottom`):null;return(0,V.jsxs)(g,{"data-testid":`virtuoso-item-list`,ref:l,...LW(g,y),children:[C,t&&(0,V.jsx)(GW,{showTopList:!0}),(0,V.jsx)(GW,{}),w]})}),mCe=({children:e})=>{let t=I.useContext(TW),n=JW(`viewportHeight`),r=JW(`fixedItemHeight`),i=iU(I.useMemo(()=>TH(n,e=>IU(e,`height`)),[n]),!0,qW(`skipAnimationFrameInResizeObserver`));return I.useEffect(()=>{t&&(n(t.viewportHeight),r(t.itemHeight))},[t,n,r]),(0,V.jsx)(`div`,{"data-viewport-type":`element`,ref:i,style:FW(!1),children:e})},hCe=({children:e})=>{let t=I.useContext(TW),n=JW(`windowViewportRect`),r=JW(`fixedItemHeight`),i=qW(`customScrollParent`),a=qW(`useWindowScroll`),o=lU(n,i,qW(`skipAnimationFrameInResizeObserver`));return I.useEffect(()=>{t&&(r(t.itemHeight),n({listHeight:0,offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,n,r]),(0,V.jsx)(`div`,{"data-viewport-type":`window`,ref:o,style:IW(!1,a),children:e})},{Component:gCe,useEmitter:KW,useEmitterValue:qW,usePublisher:JW}=wW(lCe,{optional:{restoreStateFrom:`restoreStateFrom`,context:`context`,followOutput:`followOutput`,firstItemIndex:`firstItemIndex`,itemContent:`itemContent`,groupContent:`groupContent`,fixedHeaderContent:`fixedHeaderContent`,fixedFooterContent:`fixedFooterContent`,overscan:`overscan`,increaseViewportBy:`increaseViewportBy`,minOverscanItemCount:`minOverscanItemCount`,totalCount:`totalCount`,topItemCount:`topItemCount`,initialTopMostItemIndex:`initialTopMostItemIndex`,components:`components`,groupCounts:`groupCounts`,atBottomThreshold:`atBottomThreshold`,atTopThreshold:`atTopThreshold`,computeItemKey:`computeItemKey`,defaultItemHeight:`defaultItemHeight`,fixedGroupHeight:`fixedGroupHeight`,fixedItemHeight:`fixedItemHeight`,itemSize:`itemSize`,scrollSeekConfiguration:`scrollSeekConfiguration`,data:`data`,initialItemCount:`initialItemCount`,initialScrollTop:`initialScrollTop`,alignToBottom:`alignToBottom`,useWindowScroll:`useWindowScroll`,customScrollParent:`customScrollParent`,scrollerRef:`scrollerRef`,logLevel:`logLevel`},methods:{scrollToIndex:`scrollToIndex`,scrollIntoView:`scrollIntoView`,scrollTo:`scrollTo`,scrollBy:`scrollBy`,getState:`getState`},events:{isScrolling:`isScrolling`,endReached:`endReached`,startReached:`startReached`,rangeChanged:`rangeChanged`,atBottomStateChange:`atBottomStateChange`,atTopStateChange:`atTopStateChange`,totalListHeightChanged:`totalListHeightChanged`,itemsRendered:`itemsRendered`,groupIndices:`groupIndices`}},I.memo(function(e){let t=qW(`useWindowScroll`),n=qW(`customScrollParent`),r=JW(`fixedHeaderHeight`),i=JW(`f
273ixedFooterHeight`),a=qW(`fixedHeaderContent`),o=qW(`fixedFooterContent`),s=qW(`context`),c=iU(I.useMemo(()=>TH(r,e=>IU(e,`height`)),[r]),!0,qW(`skipAnimationFrameInResizeObserver`)),l=iU(I.useMemo(()=>TH(i,e=>IU(e,`height`)),[i]),!0,qW(`skipAnimationFrameInResizeObserver`)),u=n||t?vCe:_Ce,d=n||t?hCe:mCe,f=qW(`TableComponent`),p=qW(`TableHeadComponent`),m=qW(`TableFooterComponent`),h=a?(0,V.jsx)(p,{ref:c,style:{position:`sticky`,top:0,zIndex:2},...LW(p,s),children:a()},`TableHead`):null,g=o?(0,V.jsx)(m,{ref:l,style:{bottom:0,position:`sticky`,zIndex:1},...LW(m,s),children:o()},`TableFoot`):null;return(0,V.jsx)(u,{...e,...LW(u,s),children:(0,V.jsx)(d,{children:(0,V.jsxs)(f,{style:{borderSpacing:0,overflowAnchor:`none`},...LW(f,s),children:[h,(0,V.jsx)(pCe,{},`TableBody`),g]})})})})),_Ce=zW({useEmitter:KW,useEmitterValue:qW,usePublisher:JW}),vCe=BW({useEmitter:KW,useEmitterValue:qW,usePublisher:JW}),YW={bottom:0,itemHeight:0,items:[],itemWidth:0,offsetBottom:0,offsetTop:0,top:0},yCe={bottom:0,itemHeight:0,items:[{index:0}],itemWidth:0,offsetBottom:0,offsetTop:0,top:0},{ceil:XW,floor:ZW,max:QW,min:$W,round:eG}=Math;function tG(e,t,n){return Array.from({length:t-e+1}).map((t,r)=>({data:n===null?null:n[r+e],index:r+e}))}function bCe(e){return{...yCe,items:e}}function nG(e,t){return e!==void 0&&e.width===t.width&&e.height===t.height}function xCe(e,t){return e!==void 0&&e.column===t.column&&e.row===t.row}var SCe=YH(([{increaseViewportBy:e,listBoundary:t,overscan:n,visibleRange:r},{footerHeight:i,headerHeight:a,scrollBy:o,scrollContainerState:s,scrollTo:c,scrollTop:l,smoothScrollTargetReached:u,viewportHeight:d},f,p,{didMount:m,propsReady:h},{customScrollParent:g,useWindowScroll:_,windowScrollContainerState:v,windowScrollTo:y,windowViewportRect:b},x])=>{let S=G(0),C=G(0),w=G(YW),T=G({height:0,width:0}),E=G({height:0,width:0}),D=qH(),O=qH(),k=G(0),A=G(null),j=G({column:0,row:0}),M=qH(),ee=qH(),N=G(!1),te=G(0),ne=G(!0),re=G(!1),ie=G(!1);AH(W(m,GH(te),zH(([e,t])=>!ZU(t))),()=>{jH(ne,!1)}),AH(W(XH(m,ne,E,T,te,re),zH(([e,t,n,r,,i])=>e&&!t&&n.height!==0&&r.height!==0&&!i)),([,,,,e])=>{if(e===void 0){jH(ne,!0);return}jH(re,!0),YU(1,()=>{jH(D,e)}),FH(W(l),()=>{jH(t,[0,0]),jH(ne,!0)})}),PH(W(ee,zH(e=>e!=null&&e.scrollTop>0),VH(0)),C),AH(W(m,GH(ee),zH(([,e])=>e!=null)),([,e])=>{e&&(jH(T,e.viewport),jH(E,e.item),jH(j,e.gap),e.scrollTop>0&&(jH(N,!0),FH(W(l,UH(1)),e=>{jH(N,!1)}),jH(c,{top:e.scrollTop})))}),PH(W(T,BH(({height:e})=>e)),d),PH(W(XH(ZH(T,nG),ZH(E,nG),ZH(j,(e,t)=>e!==void 0&&e.column===t.column&&e.row===t.row),ZH(l)),BH(([e,t,n,r])=>({gap:n,item:t,scrollTop:r,viewport:e}))),M),PH(W(XH(ZH(S),r,ZH(j,xCe),ZH(E,nG),ZH(T,nG),ZH(A),ZH(C),ZH(N),ZH(ne),ZH(te)),zH(([,,,,,,,e])=>!e),BH(([e,[t,n],r,i,a,o,s,,c,l])=>{let{column:u,row:d}=r,{height:f,width:p}=i,{width:m}=a;if(s===0&&(e===0||m===0))return YW;if(p===0){let t=XU(l,e);return bCe(tG(t,t+Math.max(s-1,0),o))}let h=rG(m,p,u),g,_;c?t===0&&n===0&&s>0?(g=0,_=s-1):(g=h*ZW((t+d)/(f+d)),_=h*XW((n+d)/(f+d))-1,_=$W(e-1,QW(_,h-1)),g=$W(_,QW(0,g))):(g=0,_=-1);let v=tG(g,_,o),{bottom:y,top:b}=iG(a,r,i,v),x=XW(e/h);return{bottom:y,itemHeight:f,items:v,itemWidth:p,offsetBottom:x*f+(x-1)*d-y,offsetTop:b,top:b}})),w),PH(W(A,zH(e=>e!==null),BH(e=>e.length)),S),PH(W(XH(T,E,w,j),zH(([e,t,{items:n}])=>n.length>0&&t.height!==0&&e.height!==0),BH(([e,t,{items:n},r])=>{let{bottom:i,top:a}=iG(e,r,t,n);return[a,i]}),RH(MU)),t);let P=G(!1);PH(W(l,GH(P),BH(([e,t])=>t||e!==0)),P);let F=JH(W(XH(w,S),zH(([{items:e}])=>e.length>0),GH(P),zH(([[e,t],n])=>{let r=e.items[e.items.length-1].index===t-1;return(n||e.bottom>0&&e.itemHeight>0&&e.offsetBottom===0&&e.items.length===t)&&r}),BH(([[,e]])=>e-1),RH())),ae=JH(W(ZH(w),zH(({items:e})=>e.length>0&&e[0].index===0),VH(0),RH())),oe=JH(W(ZH(w),GH(N),zH(([{items:e},t])=>e.length>0&&!t),BH(([{items:e}])=>({endIndex:e[e.length-1].index,startIndex:e[0].index})),RH(jU),WH(0)));PH(oe,p.scrollSeekRangeChanged),PH(W(D,GH(T,E,S,j),BH(([e,t,n,r,i])=>{let a=qU(e),{align:o,behavior:s,offset:c}=a,l=a.index;l===`LAST`&&(l=r-1),l=QW(0,l,$W(r-1,l));let u=aG(t,i,n,l);return o===`end`?u=eG(u-t.height+n.height):o===`center`&&(u=eG(u-t.height/2+n.height/2)),c!==void 0&&c!==0&&(u+=c),{behavior:s,top:u}})),c);let se=KH(W(w,BH(e=>
vendor: 4,437 bytes, line 273
273e.offsetBottom+e.bottom)),0);return PH(W(b,BH(e=>({height:e.visibleHeight,width:e.visibleWidth}))),T),{customScrollParent:g,data:A,deviation:k,footerHeight:i,gap:j,headerHeight:a,increaseViewportBy:e,initialItemCount:C,itemDimensions:E,overscan:n,restoreStateFrom:ee,scrollBy:o,scrollContainerState:s,scrollHeight:O,scrollTo:c,scrollToIndex:D,scrollTop:l,smoothScrollTargetReached:u,totalCount:S,useWindowScroll:_,viewportDimensions:T,windowScrollContainerState:v,windowScrollTo:y,windowViewportRect:b,...p,gridState:w,horizontalDirection:ie,initialTopMostItemIndex:te,totalListHeight:se,...f,endReached:F,propsReady:h,rangeChanged:oe,startReached:ae,stateChanged:M,stateRestoreInProgress:N,...x}},kH(cW,uU,nW,yW,KU,bW,eU));function rG(e,t,n){return QW(1,ZW((e+n)/(ZW(t)+n)))}function iG(e,t,n,r){let{height:i}=n;if(i===void 0||r.length===0)return{bottom:0,top:0};let a=aG(e,t,n,r[0].index);return{bottom:aG(e,t,n,r[r.length-1].index)+i,top:a}}function aG(e,t,n,r){let i=ZW(r/rG(e.width,n.width,t.column)),a=i*n.height+QW(0,i-1)*t.row;return a>0?a+t.row:a}var CCe=YH(([e,t])=>({...e,...t}),kH(SCe,YH(()=>{let e=G(e=>`Item ${e}`),t=G({}),n=G(null),r=G(`virtuoso-grid-item`),i=G(`virtuoso-grid-list`),a=G(MW),o=G(`div`),s=G(DH),c=(e,n=null)=>KH(W(t,BH(t=>t[e]),RH()),n),l=G(!1),u=G(!1);return PH(ZH(u),l),{components:t,computeItemKey:a,context:n,FooterComponent:c(`Footer`),HeaderComponent:c(`Header`),headerFooterTag:o,itemClassName:r,ItemComponent:c(`Item`,`div`),itemContent:e,listClassName:i,ListComponent:c(`List`,`div`),readyStateChanged:l,reportReadyState:u,ScrollerComponent:c(`Scroller`,`div`),scrollerRef:s,ScrollSeekPlaceholder:c(`ScrollSeekPlaceholder`,`div`)}}))),wCe=I.memo(function(){let e=sG(`gridState`),t=sG(`listClassName`),n=sG(`itemClassName`),r=sG(`itemContent`),i=sG(`computeItemKey`),a=sG(`isSeeking`),o=cG(`scrollHeight`),s=sG(`ItemComponent`),c=sG(`ListComponent`),l=sG(`ScrollSeekPlaceholder`),u=sG(`context`),d=cG(`itemDimensions`),f=cG(`gap`),p=sG(`log`),m=sG(`stateRestoreInProgress`),h=cG(`reportReadyState`),g=iU(I.useMemo(()=>e=>{let t=e.parentElement.parentElement.scrollHeight;o(t);let n=e.firstChild;if(n!==null){let{height:e,width:t}=n.getBoundingClientRect();d({height:e,width:t})}f({column:lG(`column-gap`,getComputedStyle(e).columnGap,p),row:lG(`row-gap`,getComputedStyle(e).rowGap,p)})},[o,d,f,p]),!0,!1);return cU(()=>{e.itemHeight>0&&e.itemWidth>0&&h(!0)},[e]),m?null:(0,V.jsx)(c,{className:t,ref:g,...LW(c,u),"data-testid":`virtuoso-item-list`,style:{paddingBottom:e.offsetBottom,paddingTop:e.offsetTop},children:e.items.map(t=>{let o=i(t.index,t.data,u);return a?(0,V.jsx)(l,{...LW(l,u),height:e.itemHeight,index:t.index,width:e.itemWidth},o):(0,I.createElement)(s,{...LW(s,u),className:n,"data-index":t.index,key:o},r(t.index,t.data,u))})})}),TCe=I.memo(function(){let e=sG(`HeaderComponent`),t=cG(`headerHeight`),n=sG(`headerFooterTag`),r=iU(I.useMemo(()=>e=>{t(IU(e,`height`))},[t]),!0,!1),i=sG(`context`);return e==null?null:(0,V.jsx)(n,{ref:r,children:(0,V.jsx)(e,{...LW(e,i)})})}),ECe=I.memo(function(){let e=sG(`FooterComponent`),t=cG(`footerHeight`),n=sG(`headerFooterTag`),r=iU(I.useMemo(()=>e=>{t(IU(e,`height`))},[t]),!0,!1),i=sG(`context`);return e==null?null:(0,V.jsx)(n,{ref:r,children:(0,V.jsx)(e,{...LW(e,i)})})}),DCe=({children:e})=>{let t=I.useContext(EW),n=cG(`itemDimensions`),r=cG(`viewportDimensions`),i=iU(I.useMemo(()=>e=>{r(e.getBoundingClientRect())},[r]),!0,!1);return I.useEffect(()=>{t&&(r({height:t.viewportHeight,width:t.viewportWidth}),n({height:t.itemHeight,width:t.itemWidth}))},[t,r,n]),(0,V.jsx)(`div`,{ref:i,style:FW(!1),children:e})},OCe=({children:e})=>{let t=I.useContext(EW),n=cG(`windowViewportRect`),r=cG(`itemDimensions`),i=sG(`customScrollParent`),a=sG(`useWindowScroll`),o=lU(n,i,!1);return I.useEffect(()=>{t&&(r({height:t.itemHeight,width:t.itemWidth}),n({listHeight:0,offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:t.viewportWidth}))},[t,n,r]),(0,V.jsx)(`div`,{ref:o,style:IW(!1,a),children:e})},{Component:kCe,useEmitter:oG,useEmitterValue:sG,usePublisher:cG}=wW(CCe,{optional:{context:`context`,totalCount:`totalCount`,overscan:`overscan`,itemContent:`itemContent`,components:`components`,computeItemKey:`computeItemKey`,data:`data`,initialItemCount:`initialItemCount`,scrollSeekConfiguration:`scrollSeekConfiguration`,headerFooterTag:`headerFooterTag`,listClassName:`listClassName`,itemClassName:`itemClassName`,useWindowScroll:`useW
273indowScroll`,customScrollParent:`customScrollParent`,scrollerRef:`scrollerRef`,logLevel:`logLevel`,restoreStateFrom:`restoreStateFrom`,initialTopMostItemIndex:`initialTopMostItemIndex`,increaseViewportBy:`increaseViewportBy`},methods:{scrollTo:`scrollTo`,scrollBy:`scrollBy`,scrollToIndex:`scrollToIndex`},events:{isScrolling:`isScrolling`,endReached:`endReached`,startReached:`startReached`,rangeChanged:`rangeChanged`,atBottomStateChange:`atBottomStateChange`,atTopStateChange:`atTopStateChange`,stateChanged:`stateChanged`,readyStateChanged:`readyStateChanged`}},I.memo(function({...e}){let t=sG(`useWindowScroll`),n=sG(`customScrollParent`),r=n||t?jCe:ACe,i=n||t?OCe:DCe,a=sG(`context`);return(0,V.jsx)(r,{...e,...LW(r,a),children:(0,V.jsxs)(i,{children:[(0,V.jsx)(TCe,{}),(0,V.jsx)(wCe,{}),(0,V.jsx)(ECe,{})]})})})),ACe=zW({useEmitter:oG,useEmitterValue:sG,usePublisher:cG}),jCe=BW({useEmitter:oG,useEmitterValue:sG,usePublisher:cG});function lG(e,t,n){return t!==`normal`&&t?.endsWith(`px`)!==!0&&n(`${e} was not resolved to pixel value correctly`,t,$H.WARN),t===`normal`?0:parseInt(t??`0`,10)}var uG=U.div` 274 ${({theme:e})=>e.content.empty} 275`,MCe=U.div` 276 ${({theme:e})=>e.dropdown.container}; 277`,NCe=({children:e,middlewares:t=[],onClose:n,anchor:r,className:i,ariaRole:a,id:o})=>(0,V.jsx)(qR,{onClose:n,anchor:r,middlewares:t,children:(0,V.jsx)(MCe,{id:o,role:a,className:i,children:e})}),PCe=Nbe({apply:({rects:e,elements:t})=>{Object.assign(t.floating.style,{minWidth:`${e.reference.width}px`})}});function dG(e){return!!e.disable}var FCe=U.span` 278 ${({theme:e,$isSelected:t})=>t?`color: ${e.colors.dropdown.active}`:``}; 279`;function fG(e,t,n,r,i){let a=i(e);return t?(0,V.jsx)(FCe,{$isSelected:t,$isHovered:n,children:a}):a}function pG(e,t){return JSON.stringify(e)===JSON.stringify(t)}function mG(e){return e}function hG(e){return e.name}function gG(e,t){if(!e)return;if(!t)return e.map(e=>({type:`option`,option:e,group:null}));let n=new Map;return e.forEach(e=>{let r=t(e)||null,i=n.get(r);i?i.push(e):n.set(r,[e])}),[...n].flatMap(([e,t])=>[...e===null?[]:[{type:`group`,group:e}],...t.map(t=>({type:`option`,option:t,group:e}))])}function ICe(e){return e?.type===`option`}var LCe=U.div.attrs({$disabled:!0})` 280 ${({theme:e})=>e.dropdown.item}; 281 cursor: default; 282 user-select: none; 283 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 284`,RCe=U.div` 285 padding-left: ${({theme:e})=>e.spacing(4)}; 286`;function zCe(e){return e}var _G=60,BCe=U(`div`)` 287 display: flex; 288 align-items: center; 289 justify-content: center; 290 height: 100%; 291`,VCe=U(NCe)` 292 height: ${({$totalListHeight:e,$loading:t})=>t?_G:e+`px`}; 293 overflow: inherit; 294`;function HCe({id:e,anchor:t,open:n,options:r,onSelect:i,renderOption:a,getValue:o,getLabel:s,getGroup:c,renderGroup:l=zCe,endReached:u,virtuosoRef:d,scrollerRef:f,onClose:p,selectedIndex:m,isSelected:h,value:g,compare:_,search:v,onCreate:y,loading:b,initial:x,...S}){let[C,w]=(0,I.useState)(_G),T=(0,I.useRef)(100),{t:E}=B(),D=!b&&r&&r.length===0&&!y,O=(0,I.useMemo)(()=>gG(r,c),[c,r]),k=O&&g?.length?O.findIndex(e=>e.type===`option`&&_(o(e.option),g[0])):-1;return!n||!t.current?null:(0,V.jsx)(VCe,{id:e,$loading:b,$totalListHeight:C,anchor:t.current,middlewares:[PCe,fR(),dR()],onClose:p,ariaRole:`listbox`,...S,children:!O&&!x?(0,V.jsx)(lD,{}):O?(0,V.jsx)(cCe,{ref:d,data:O,components:{EmptyPlaceholder:()=>D?(0,V.jsx)(BCe,{children:(0,V.jsx)(uG,{children:E(`No options available`)})}):null,Footer:()=>v&&y?(0,V.jsx)(az,{onMouseDown:e=>e.preventDefault(),onClick:()=>y(v,i),children:E(`Create {{option}}`,{option:v})}):null},endReached:u,scrollerRef:f,initialTopMostItemIndex:k>0?k:0,totalListHeightChanged:e=>w(e||T.current),itemSize:e=>{let t=e.getBoundingClientRect().height;return T.current=t,t},computeItemKey:e=>e,itemContent:(e,t)=>{if(t.type===`group`)return(0,V.jsx)(LCe,{onMouseDown:e=>e.preventDefault(),role:`presentation`,children:l(t.group)});let{option:n,group:r}=t,c=a(n,h(n),m===e,o,s);return(0,V.jsx)(az,{className:HE(m===e&&`selected`),onMouseDown:e=>e.preventDefault(),onClick:()=>i(n),role:`option`,"aria-selected":h(n),disabled:dG(n)&&n.disable.disabled,title:dG(n)?n.disable.info:void 0,children:r===null?c:(0,V.jsx)(RCe,{children:c})})}}):null})}var UCe=({selectedIndex:e,length:t,disabled:n,isSelectable:r,onMoveSelection:i,onSelect:a,isOpen:o})=>{let s=(0,I.useCallback)((e,n)=>{if(t===0)return;let a=(e%t+t)%t;for(let e=0;e<t;e++){if(!r||r(a)){i(a);return}a=(a+n+t)%t}},[r,t,i]);return{handleKeyDown:(0,I.useCallback)(t=>{if(!n)switch(t.key){case`ArrowDown`:t.preventDefault(),s(e===`no-selection`?0:e+1,1);break;case`ArrowUp`:t.preventDefault(),e===`no-selection`?s(0,1):s(e-1,-1);break;case`Enter`:t.preventDefault(),o&&a(e);break;case`Escape`:t.preventDefault()}},[n,e,o,s,a])}},WCe=U(lD).attrs({variant:`tiny`})` 295 margin-right: ${({theme:e})=>e.spacing(3)}; 296`,GCe=U.div` 297 display: flex;
298 height: 100%; 299 align-items: center; 300`,KCe=U.div` 301 display: flex; 302 align-items: center; 303`,vG=I.forwardRef(function({className:e,clearable:t,compare:n,disabled:r,readOnly:i,error:a,infoText:o,getLabel:s,getValue:c,getGroup:l,renderGroup:u,handleFirstLoad:d,label:f,loading:p,name:m,onClear:h,onClose:g,onEndReached:_,onSearch:v,onSelect:y,options:b,renderValue:x,renderOption:S,value:C,autoComplete:w,search:T,onCreate:E,required:D,placeholder:O,renderCreateForm:k,onBlur:A,description:j,createButtonTitle:M,initial:ee=!1},N){let{t:te}=B(),{open:ne,handleOpen:re,handleClose:ie}=jw(),{open:P,handleOpen:F,handleClose:ae}=jw(),oe=(0,I.useRef)(null),[se,ce]=(0,I.useState)(null),le=(0,I.useRef)(null),ue=(0,I.useRef)(null),de=(0,I.useMemo)(()=>gG(b,l),[l,b]),[fe,pe]=(0,I.useState)(()=>!de||de.length===0||C?.length===0?`no-selection`:C?de.findIndex(e=>e.type===`option`&&n(C[0],c(e.option))):-1),me=(0,I.useCallback)(e=>C?.some(t=>n(t,c(e)))??!1,[n,c,C]),he=(0,I.useCallback)(()=>{ie(),pe(`no-selection`),g&&g()},[ie,g]),ge=(0,I.useCallback)(()=>v&&v(``),[v]),_e=(0,I.useCallback)(e=>{!i&&re(),pe(de?.length?e:`no-selection`),ue.current?.scrollToIndex({index:e,align:`center`})},[de?.length,re,i]),ve=(0,I.useCallback)(e=>{let t=e===`no-selection`?void 0:de?.[e];t?.type===`option`&&y(t.option,{closeSelect:he,clearSearch:ge})},[ge,he,de,y]),ye=(0,I.useCallback)(e=>ICe(de?.[e]),[de]),{handleKeyDown:be}=UCe({selectedIndex:fe,length:de?de.length:0,isSelectable:ye,onSelect:ve,onClose:he,onMoveSelection:_e,disabled:r||i,isOpen:ne}),xe=(0,I.useCallback)(e=>{pe(`no-selection`),v&&v(e),re()},[v,re]),Se=(0,I.useCallback)(()=>{let e=N&&typeof N!=`function`?N.current:le.current,t=C&&C.length>0||T&&T.length>0;e&&t&&e.select()}
303,[N,T,C]),Ce=(0,I.useCallback)(e=>{(e.relatedTarget===null||e.relatedTarget!==se)&&ie(),ge(),A&&A(e)},[ge,ie,A,se]);return(0,I.useEffect)(()=>{ne&&d&&(!b||b.length===0)&&d()},[d,ne,b]),(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(QR,{label:f,name:m,error:a,infoText:o,disabled:r,hasValue:!!C?.length||!!O,className:e,onClick:()=>{le.current?.focus(),!i&&!r&&re()},"aria-haspopup":!0,"aria-expanded":ne,"aria-busy":p,required:D,description:j,readOnly:i,children:(0,V.jsxs)(KCe,{ref:oe,children:[x({expanded:ne,hasError:!!a,id:m,inputRef:N||le,onBlur:Ce,onFocus:Se,onKeyDown:be,onSearch:v?xe:void 0,value:C,autoComplete:w||`off`,disabled:r,readOnly:i,hasLabel:!!f}),(0,V.jsxs)(GCe,{children:[k&&(0,V.jsx)(dD,{size:`small`,title:M??te(`Create`),onClick:e=>{e.stopPropagation(),F()},icon:`plus`}),!i&&t&&h&&C!==null&&Array.isArray(C)&&C.length>0&&(0,V.jsx)(dD,{title:te(`Clear`),size:`small`,type:`button`,onClick:e=>{e.stopPropagation(),h()},icon:`close`}),p?(0,V.jsx)(WCe,{}):(0,V.jsx)(eSe,{open:ne})]})]})}),(0,V.jsx)(HCe,{id:`${m}_dropdown`,anchor:oe,options:b,onSelect:e=>y(e,{closeSelect:he,clearSearch:ge}),open:ne,onClose:he,isSelected:me,selectedIndex:fe,virtuosoRef:ue,scrollerRef:ce,getValue:c,getLabel:s,getGroup:l,renderGroup:u,renderOption:S,endReached:_,"aria-busy":p,loading:p,value:C,compare:n,search:T,onCreate:k?F:E,initial:ee}),k&&(0,V.jsx)(Qxe,{onClose:ae,open:P,search:T||``,renderCreateForm:k,selectNewOption:e=>y(e,{clearSearch:ge,closeSelect:he})})]})}),yG=U.div` 304 ${({theme:e})=>e.forms.select.container}; 305 align-items: center; 306 gap: 0.25rem; 307 flex: 1; 308`,bG=U.input` 309 ${({theme:e})=>e.forms.select.input}; 310 margin: 0; 311 width: 100%; 312 min-width: inherit; 313 314 &:focus { 315 min-width: 50px; 316 } 317`;function qCe({id:e,hasError:t,placeholder:n,search:r=``,onSearch:i,onKeyDown:a,renderValue:o,value:s,tabIndex:c,disabled:l,readOnly:u,inputRef:d,expanded:f,onFocus:p,onBlur:m,autoComplete:h,hasLabel:g=!0}){return(0,V.jsxs)(yG,{$hasLabel:g,children:[o(s),i&&(0,V.jsx)(bG,{id:e,disabled:l,tabIndex:c,placeholder:n,ref:d,onKeyDown:a,onChange:e=>i(e.target.value),value:r,onFocus:p,onBlur:m,role:`combobox`,"aria-controls":`${e}_dropdown`,"aria-expanded":f,"aria-errormessage":`${e}_error`,"aria-invalid":t,autoComplete:h,readOnly:u,className:HE(u&&`read-only`)})]})}function JCe({id:e,hasError:t,placeholder:n,search:r,onSearch:i,onKeyDown:a,renderValue:o,value:s,tabIndex:c,disabled:l,readOnly:u,inputRef:d,expanded:f,onFocus:p,onBlur:m,autoComplete:h,hasLabel:g=!0}){return(0,V.jsx)(yG,{$hasLabel:g,children:(0,V.jsx)(bG,{id:e,disabled:l,tabIndex:c,placeholder:n,ref:d,onKeyDown:a,onChange:e=>i&&i(e.target.value),value:r||o(s),onFocus:p,onBlur:m,readOnly:u||!i,role:`combobox`,"aria-controls":`${e}_dropdown`,"aria-expanded":f,"aria-errormessage":`${e}_error`,"aria-invalid":t,autoComplete:h,className:HE(u&&`read-only`)})})}var xG=I.forwardRef(function({getLabel:e=hG,className:t,clearable:n=!0,compare:r=pG,disabled:i,error:a,infoText:o,getValue:s=mG,getGroup:c,renderGroup:l,handleFirstLoad:u,label:d,loading:f,name:p,onClear:m,onChange:h,onEndReached:g,onSearch:_,options:v,placeholder:y,renderOption:b=fG,search:x,value:S,autoComplete:C,shouldClearSearch:w=!0,onCreate:T,required:E,renderCreateForm:D,onBlur:O,description:k,createButtonTitle:A,initial:j,readOnly:M},ee){let N=(0,I.useCallback)((e,t)=>{h({target:{name:p,value:s(e)}}),t.closeSelect(),w&&t.clearSearch()},[s,p,h,w]),te=(0,I.useCallback)(()=>{n&&(h({target:{name:p,value:null}}),m&&m())},[n,p,h,m]),ne=(0,I.useCallback)(t=>{if(t===null)return``;let n=v?.find(e=>r(t,s(e)));return e(n??t)},[r,e,s,v]);return(0,V.jsx)(vG,{handleFirstLoad:u,compare:r,onSelect:N,value:S==null?[]:[S],placeholder:y,description:k,renderValue:({onKeyDown:e,...t})=>(0,V.jsx)(JCe,{...t,renderValue:e=>e?.length?ne(e[0]):``,search:x,placeholder:y,onKeyDown:t=>{t.key===`Backspace`&&(x?.length===1||document.getSelection()?.toString()===ne(S))&&!M&&!i&&h({target:{name:p,value:null}}),e(t)}}),getLabel:e,getValue:s,getGroup:c,renderGroup:l,renderOption:b,options:v,name:p,error:a,disabled:i,label:d,infoText:o,onClear:te,className:t,onSearch:_,clearable:n,loading:f,onEndReached:g,autoComplete:C,search:x,onCreate:T,required:E,renderCreateForm:D,createButtonTitle:A,onBlur:O,initial:j,readOnly:M,ref:ee})}),SG=(e=``)=>{let{t}=B(),{formatLocale:n,timeZone:r}=vH();return(i,a=cH)=>{if(!i)return e;let o=typeof i==`string`?new Date(i):i;try{return Intl.DateTimeFormat(n,{timeZone:r,...a}
317).format(o)}catch{return t(`Invalid date`)}}},CG=({dateTime:e,placeholder:t,format:n,as:r,...i})=>{let a=r??I.Fragment,o=SG(t);return(0,V.jsx)(a,{...i,children:o(e,n)})},wG=U.div` 318 ${({theme:e})=>e.card.container} 319`,TG=U.div` 320 ${({theme:e})=>e.card.body} 321`,EG=U.div` 322 ${({theme:e})=>e.card.footer} 323`,DG=U.div` 324 ${({theme:e})=>e.card.header} 325`,OG=U.h2` 326 ${({theme:e})=>e.card.heading} 327`,kG=U.div` 328 ${({theme:e})=>e.card.headerActions} 329`,AG=U.div` 330 display: flex; 331 flex-direction: column; 332 row-gap: ${({theme:e,$gap:t=4,$rowGap:n})=>e.spacing(n===void 0?t:n)}; 333 column-gap: ${({theme:e,$gap:t=4,$columnGap:n})=>e.spacing(n===void 0?t:n)}; 334 align-items: ${({$alignItems:e})=>e??`stretch`}; 335 flex-wrap: wrap; 336`,jG=U.div` 337 display: flex; 338 row-gap: ${({theme:e,$gap:t=4,$rowGap:n})=>e.spacing(n===void 0?t:n)}; 339 column-gap: ${({theme:e,$gap:t=4,$columnGap:n})=>e.spacing(n===void 0?t:n)}; 340 align-items: center; 341 justify-content: ${({$justifyContent:e})=>e??`start`}; 342 flex-wrap: wrap; 343`,YCe=U(nD)` 344 height: 1.25rem; 345 width: 1.25rem; 346`,XCe=U(wG)` 347 grid-column: span 2; 348 background-color: ${({theme:e})=>e.colors.palette.warning.main.base}; 349`,ZCe=U(TG)` 350 display: grid; 351 grid-template-columns: max-content 1fr max-content; 352 gap: ${({theme:e})=>e.spacing(2)}; 353 align-items: center; 354`,QCe=U.div` 355 display: flex; 356 gap: ${({theme:e})=>e.spacing(2)}; 357 align-items: center; 358`,MG=({className:e,warning:t,hasIcon:n=!0,actions:r=null})=>(0,V.jsx)(XCe,{className:e,children:(0,V.jsxs)(ZCe,{children:[n?(0,V.jsx)(YCe,{$icon:`warning`}):(0,V.jsx)(`div`,{}),t,(0,V.jsx)(QCe,{children:r})]})}),NG=(e,t)=>{switch(t.colorSchemaType){case`background`:case`content`:return e.colors.layout[t.colorSchemaType].text;case`transparent`:return`inherit`;case`custom`:return t.textColor}},PG=(e,t)=>{switch(t.colorSchemaType){case`background`:case`content`:return e.colors.layout[t.colorSchemaType].background;case`transparent`:return`transparent`;case`custom`:switch(t.backgroundColorStops.length){case 0:return``;case 1:return t.backgroundColorStops[0];default:return`linear-gradient(${t.backgroundColorStops.join(`,`)})`}}},FG=e=>e.value.colorSchemaType===`custom`?{colorSchemaType:e.value.colorSchemaType,backgroundColorStops:e.value.backgroundColorStops,textColor:e.value.textColor}:{colorSchemaType:e.value.colorSchemaType},$Ce=U.div` 359 display: grid; 360 grid-auto-flow: column; 361 grid-auto-columns: 1fr; 362 gap: ${({theme:e})=>e.spacing(2)}; 363 max-width: 500px; 364 margin: 0 auto; 365`,IG=U.div` 366 display: flex; 367 flex-direction: column; 368 justify-content: center; 369 line-height: 1; 370`,LG=U.div` 371 ${({theme:e})=>e.headings.h1}; 372 text-align: center; 373 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 374`,RG=U.div` 375 text-align: center; 376 margin-top: ${({theme:e})=>e.spacing(1)}; 377`,zG=e=>`0${e}`.slice(-2),ewe=U.div` 378 display: flex; 379 flex-direction: row; 380 align-items: ${({$countdownTheme:e})=>e.verticalAlignment}; 381 padding: ${({theme:e})=>e.spacing(1)} 0; 382 color: ${({theme:e,$countdownTheme:t})=>NG(e,t)}; 383 background: ${({theme:e,$countdownTheme:t})=>PG(e,t)}; 384`,twe=U.div` 385 width: 100%; 386`,BG=U(ZN)` 387 text-align: center; 388 ${({$titlePosition:e,theme:t})=>e===`above`?`margin-bottom: ${t.spacing(4)};`:`margin-top: ${t.spacing(4)};`} 389`,nwe=({countdown:e,className:t,title:n,showSeconds:r=!0,countdownTheme:i})=>{let{t:a}=B(),{days:o,hours:s,minutes:c,seconds:l}=e;return(0,V.jsx)(ewe,{className:t,$countdownTheme:i,children:(0,V.jsxs)(twe,{children:[n&&i.titlePosition===`above`&&(0,V.jsx)(BG,{$titlePosition:`above`,children:n}),(0,V.jsxs)($Ce,{children:[(0,V.jsxs)(IG,{children:[(0,V.jsx)(LG,{children:o}),(0,V.jsx)(RG,{children:a(`Days`)})]}),(0,V.jsxs)(IG,{children:[(0,V.jsx)(LG,{children:zG(s)}),(0,V.jsx)(RG,{children:a(`Hours`)})]}),(0,V.jsxs)(IG,{children:[(0,V.jsx)(LG,{children:zG(c)}),(0,V.jsx)(RG,{children:a(`Min`)})]}),r&&(0,V.jsxs)(IG,{children:[(0,V.jsx)(LG,{children:zG(l)}),(0,V.jsx)(RG,{children:a(`Sec`)})]})]}),n&&i.titlePosition===`below`&&(0,V.jsx)(BG,{$titlePosition:`below`,children:n})]})})},rwe=(e,t=0)=>{let n=(0,I.useCallback)(()=>{let t=new Date;return{days:Oz(e,t),hours:jz(e,t)%24,minutes:Nz(e,t)%60,seconds:Pz(e,t)%60}},[e]),[r,i]=(0,I.useState)(n()),[a,o]=(0,I.useState)(()=>e?DB(new Date,oH(e,t)):!1);return(0,I.useEffect)(()=>{let r;return a&&e&&(r=setInterval(()=>{let r=new Date;i(n()),o(e?DB(r,oH(e,t)):!1)},1e3)),()=>{r&&clearInterval(r)}},[e,a,t,n]),{...r,hasTimeLeft:a}};function VG(e,t,n){let r=[e,t,n].map(function(e){return e/=255,e<=.03928?e/12.92:((e+.055)/1.055)**2.4});return r[0]*.2126+r[1]*.7152+r[2]*.0722}function HG(e){return/^#?([a-f\d])([a-f\d])([a-f\d])$/i.test(e)||/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.test(e)}function UG(e){e=`${e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,n,r){return t+t+n+n+r+r})}`;let t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[1,2,3]}function WG(e,t){let n=Array.isArray(e)?e:UG(e),r=Array.isArray(t)?t:UG(t),i=VG(n[0],n[1],n[2]),a=VG(r[0],r[1],r[2]),o=Math.max(i,a),s=Math.min(i,a);return(o+.05)/(s+.05)}var iwe=(e,t,n)=>({backgroundColor:e,color:WG(e,n)>WG(e,t)?`white`:`black`});function GG(e){let[t,n,r,i]=e;return`rgb`+(i?`a(`:`(`)+t+`,`+n+`,`+r+(i?`,`+i:`)`)}function KG(e){return e.replace(`rgba(`,``).replace(`rgb(`,``).replace(`)`,``).split(`,`).map(Number)}function qG([e,t,n]){return`#${(e<<16|t<<8|n).toString(16).padStart(6,`0`)}`}function JG(e){return HG(e)?e:qG(KG(e))}function YG(e,t){let n=Array.isArray(t)?t:UG(t),r=Math.round,[i,a,o,s]=n,c=e<0,l=c?0:255*e,u=c?1+e:1-e,d=s?[r(i*u+l),r(a*u+l),r(o*u+l),s]:[r(i*u+l),r(a*u+l),r(o*u+l)];return Array.isArray(t)?d:qG(d)}function awe(e,t,n){let r=Math.round,i=[n[0]-t[0],n[1]-t[1],n[2]-t[2]];return[r(e*i[0]+t[0]),r(e*i[1]+t[1]),r(e*i[2]+t[2])]}
389var XG=(e,t,n)=>{let r;r=n.contrast?n.contrast:WG(n.base,e)>WG(n.base,t)?e:t;let i;return i=n.contrastHover?n.contrastHover:WG(n.base,e)>WG(n.base,t)?YG(QG,r):YG(ZG,r),{base:GG(n.base),contrast:GG(r),contrastHover:GG(i)}},ZG=-.2,QG=.2,$G=(e,t,n)=>({main:XG(e,t,n),dark:XG(e,t,{...n,base:YG(ZG,n.base)}),light:XG(e,t,{...n,base:YG(QG,n.base)})}),owe=(e,t,n)=>[10,20,30,40,50,60,70,80,90].reduce((r,i)=>{let a=(i/100)**n;return{...r,[i]:GG(awe(a,e,t))}},{}),eK=({white:e,black:t,gamma:n,colors:r})=>{let i=owe(e,t,n),a={light:XG(e,t,{base:e}),dark:{base:i[20],contrast:i[90],contrastHover:GG(t)},main:{base:i[10],contrast:i[90],contrastHover:GG(t)}},o={light:{base:i[10],contrast:i[90],contrastHover:GG(t)},dark:{base:i[30],contrast:i[90],contrastHover:GG(t)},main:{base:i[20],contrast:i[90],contrastHover:GG(t)}};return{white:GG(e),black:GG(t),grey:i,content:a,background:o,primary:$G(e,t,r.primary),secondary:$G(e,t,r.secondary),success:$G(e,t,r.success),warning:$G(e,t,r.warning),danger:$G(e,t,r.danger)}},tK=(e,t,n,r)=>{let[i,a]=(0,I.useState)(``),o=(0,I.useCallback)(()=>{a(``),r&&r()},[r]);return{search:i,onSearch:a,options:(0,I.useMemo)(()=>i?e.filter(e=>t(e).toLowerCase().includes(i.toLowerCase())):e,[t,e,i]),onClear:o}},nK=I.forwardRef(function({name:e,options:t,clearable:n=!0,getValue:r=mG,getLabel:i=hG,...a},o){let[{onChange:s,...c},{touched:l,error:u}]=cI(e),{onClear:d,...f}=tK(t,i,r,(0,I.useCallback)(()=>s({target:{name:e,value:null}}),[e,s])),p=n?{clearable:!0,onClear:d}:{clearable:!1,onClear:void 0};return(0,V.jsx)(xG,{...a,...c,...f,...p,ref:o,error:l?u:void 0,getValue:r,getLabel:i,onChange:e=>{s(e),a.onChange&&a.onChange(e)}})}),rK=U.div` 390 border-bottom: 1px solid ${({theme:e})=>e.colors.palette.grey[20]}; 391`,swe=U.ul` 392 display: grid; 393 overflow: auto; 394 list-style: none; 395 ${({$columns:e})=>e&&H` 396 grid-template-columns: repeat(${e}, 1fr); 397 `} 398`,cwe=U(uG)` 399 width: 100%; 400 min-height: 10rem; 401`,lwe=({children:e})=>(0,V.jsx)(cwe,{children:e}),uwe=U(I.forwardRef(function({children:e,isEmpty:t,empty:n,className:r,columns:i,...a},o){return t?(0,V.jsx)(lwe,{children:n}):(0,V.jsx)(swe,{$columns:i,className:r,...a,ref:o,children:e})}))` 402 grid-template-columns: ${({$columns:e})=>e}; 403 overflow: auto; 404`,dwe=U.div` 405 ${({theme:e})=>e.loading.bar.wrapper}; 406`,fwe=U.div` 407 ${({theme:e})=>e.loading.bar.background}; 408`,pwe=U.div` 409 ${({theme:e})=>e.loading.bar.barOne}; 410`,mwe=U.div` 411 ${({theme:e})=>e.loading.bar.barTwo}; 412`,hwe=({loading:e})=>(0,V.jsxs)(dwe,{children:[(0,V.jsx)(fwe,{}),e&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(pwe,{}),(0,V.jsx)(mwe,{})]})]}),gwe=({actions:e,heading:t,setBulkEditing:n,search:r})=>{let{t:i}=B();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(OG,{children:t}),(0,V.jsxs)(kG,{children:[r,e,n&&(0,V.jsx)(iD,{size:`small`,title:i(`Enable bulk edit`),onClick:()=>n(e=>!e),icon:`checklist`})]})]})},_we=U.span` 413 padding-left: ${({$padding:e})=>e?`16px`:`0`}; 414 display: block; 415 flex: 1; 416`;function vwe({selectedRows:e,selectedRowsCount:t,setSelectedRow:n,actions:r,bulkEditing:i,showSelectAllAction:a=!0,closeBulkEditing:o}){let{t:s}=B(),c=e===`all`,l=s(c?`Deselect all`:`Select all`);return(0,V.jsxs)(V.Fragment,{children:[a&&(0,V.jsx)(iD,{size:`small`,title:l,onClick:()=>n(c?`none`:`all`),icon:c?`check_all`:`uncheck_all`}),(0,V.jsx)(_we,{$padding:a,children:`${t} ${s(`item(s) selected`,{count:t})}`}),(0,V.jsxs)(kG,{children:[r,i&&(0,V.jsx)(iD,{size:`small`,title:s(`Disable bulk edit`),onClick:o,icon:`close`})]})]})}var ywe=U(DG)` 417 transition: ${({theme:e})=>e.transitions.default}; 418 ${({theme:e,$isEditing:t})=>t?H` 419 background-color: ${e.colors.palette.primary.main.base}; 420 color: ${e.colors.palette.primary.main.contrast}; 421 `:``} 422`,bwe=U.div` 423 width: 100%; 424`;function xwe({heading:e,children:t,loading:n=!1,actions:r,className:i,enableBulkEdit:a,bulkEditing:o=!1,closeBulkEditing:s,setBulkEditing:c,bulkEditActions:l,selectedRowsCount:u,setSelectedRow:d,selectedRows:f,search:p,showSelectAllAction:m}){let h=(0,V.jsx)(gwe,{heading:e,setBulkEditing:c,actions:r,search:p});return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(ywe,{$isEditing:o,className:i,children:[a&&o?(0,V.jsx)(vwe,{selectedRowsCount:u,actions:l,bulkEditing:o,setSelectedRow:d,selectedRows:f,showSelectAllAction:m,closeBulkEditing:s}):h,t&&(0,V.jsx)(bwe,{children:t})]}),(0,V.jsx)(hwe,{loading:n})]})}var Swe=U.li` 425 ${({theme:e})=>e.dataList.columnTitle} 426 position: sticky; 427 top: 0; 428 grid-row: 1; 429 z-index: 1; 430 ${({$column:e})=>e===void 0?``:H` 431 grid-column: ${e}; 432 `} 433`;function Cwe(e,t){let n=t.split(`.`);for(;n.length>
4330&&(e=e[n.shift()]););return e}var wwe=U.div` 434 ${({theme:e})=>e.forms.checkbox.boxWrapper}; 435`,Twe=U.input` 436 z-index: 2; 437 cursor: pointer; 438 opacity: 0; 439`,Ewe=U(nD)` 440 ${({theme:e})=>e.forms.checkbox.icon}; 441`,Dwe=U.div` 442 ${({theme:e})=>e.forms.checkbox.box}; 443`,iK=({name:e,disabled:t,value:n,ariaControls:r,hasError:i=!1,onChange:a,className:o})=>{let s=(0,I.useRef)(null);return(0,V.jsxs)(wwe,{children:[(0,V.jsx)(Twe,{ref:s,type:`checkbox`,name:e,id:e,disabled:t,checked:n,"aria-controls":r,onChange:n=>{!t&&a({target:{name:e,value:n.target.checked}})}}),(0,V.jsx)(Dwe,{$checked:n,className:HE(i&&`has-error`,o),onClick:e=>{e.stopPropagation(),e.preventDefault(),!t&&s.current&&s.current.click()},children:n&&(0,V.jsx)(Ewe,{$icon:`check`})})]})},aK=U.li` 444 ${({theme:e})=>e.dataList.actionsItem} 445 ${({$isSticky:e})=>e&&` 446 position: sticky; 447 right: 0; 448 `} 449 ${({theme:e,$backgroundColor:t,$color:n})=>`background-color: ${t??(n?e.colors.card[n].background:`transparent`)};`} 450`,Owe=U.div` 451 display: contents; 452`,oK=U.li` 453 ${({theme:e})=>e.dataList.item} 454 ${({$backgroundColor:e})=>`background-color: ${e};`} 455`,kwe=U(ub)` 456 display: contents; 457 text-decoration: none; 458 color: inherit; 459`,Awe=U(iK)` 460 ${({disabled:e})=>e?H` 461 opacity: 0.4; 462 pointer-events: none; 463 `:``} 464`,jwe=U.div` 465 ${({theme:e})=>e.dataList.clickableRow} 466`;function sK({row:e,index:t,bulkEditing:n,selectedRows:r,setSelectedRow:i,backgroundColor:a}){let o=r?r===`all`||r.includes(e.id):!1,s=(0,I.useCallback)(n=>{switch(n.type){case`actions`:return(0,V.jsx)(aK,{$backgroundColor:a,children:n.action?n.action(e.value,t):null},`${e.id}-actions`);case`value`:return(0,V.jsx)(oK,{$backgroundColor:a,children:n.render?n.render(e.value,t):Cwe(e.value,n.valueKey)},`${e.id}-${String(n.valueKey)}`)}},[a,t,e.id,e.value]),c=(0,I.useCallback)(e=>{let t=[],n=[],r=e[0].type;return e.forEach(e=>{e.type===r?n.push(e):(t.push(n),n=[e],r=e.type)}),t.push(n),t},[]),l=(0,I.useCallback)((t,a)=>{let c=[n&&a===0?(0,V.jsx)(oK,{onClick:e=>e.stopPropagation(),children:(0,V.jsx)(Awe,{disabled:r===`all`,name:`selectAll`,value:o,onChange:()=>i&&i(e.id)})},`${e.id}_checkbox`):null].concat(t.map(s));return e.to&&!e.onClick&&t[0].type!==`actions`?(0,V.jsx)(kwe,{to:e.to(e.value),children:c},`${e.id}_${a}`):e.onClick&&t[0].type!==`actions`?(0,V.jsx)(Owe,{onClick:()=>e.onClick&&e.onClick(e.value),children:c},`${e.id}_${a}`):(0,V.jsx)(I.Fragment,{children:c},`${e.id}_${a}`)},[n,s,e,o,r,i]);return e.to||e.onClick?(0,V.jsx)(jwe,{children:c(e.columns).map(l)}):c(e.columns).map(l)}var Mwe=U(wG)` 467 overflow: hidden; 468 max-height: 100%; 469 display: flex; 470 flex-direction: column; 471`,Nwe=U.div` 472 overflow: auto; 473 display: grid; 474`,Pwe=({children:e,...t})=>(0,V.jsx)(Mwe,{...t,children:(0,V.jsx)(Nwe,{children:e})}),Fwe=U.div` 475 display: flex; 476 justify-content: space-between; 477 width: 100%; 478`;function Iwe({columns:e,data:t,isEmpty:n,empty:r,heading:i,headerActions:a,renderRow:o,...s}){let c=(0,I.useMemo)(()=>e.map(e=>e.size||`1fr`).join(` `),[e]),l=t.map(t=>({id:t.id,columns:e,value:t})),u=!!i||!!a;return(0,V.jsxs)(Pwe,{...s,children:[u&&(0,V.jsx)(xwe,{heading:i,actions:a}),(0,V.jsxs)(uwe,{$columns:c,isEmpty:n,empty:r,children:[e.map(e=>(0,V.jsx)(Swe,{$color:s.$color,children:e.type===`value`?(0,V.jsxs)(Fwe,{children:[e.heading,e.headingInfo]}):e.heading},e.heading)),l.map((e,t)=>o?o(e,t):(0,V.jsx)(sK,{row:e,index:t},e.id))]})]})}var cK=e=>({page:e.current_page,size:e.per_page,last:e.last_page||0,total:e.total||0,from:e.from||0,to:e.to||0});function lK(e,t){return{dataMapper:e=>e.data,queryKey:e,queryFn:t,paginationMapper:e=>cK(e.meta)}}function Lwe(e){return{dataMapper:e=>e.data,queryKey:e.optionsKey,queryFn:(t,n)=>e.options(t,n).then(e=>e.data),paginationMapper:e=>cK(e.meta)}}var uK=()=>{let{breakpointWidths:e}=TE();return Fxe((0,I.useMemo)(()=>Object.values(e).map(e=>`(min-width: ${e})`).reverse(),[e]),[`largeDesktop`,`desktop`,`tablet`,`mobile`],`mobile`)},Rwe=U.div` 479 ${({theme:e})=>e.forms.inlineControl}; 480`,zwe=U.label` 481 ${({theme:e})=>e.forms.inlineLabel}; 482`,Bwe=U.div` 483 ${({theme:e})=>e.forms.error}; 484`,dK=I.forwardRef(function({children:e,name:t,label:n,infoText:r,disabled:i,error:a,showErrorMessage:o=!1,className:s,required:c},l){let{t:u}=B();return(0,V.jsxs)(Rwe,{ref:l,className:HE(!!a&&`has-error`,i&&`is-disabled`,s),children:[e,(0,V.jsxs)(zwe,{htmlFor:t,children:[n,` `,c&&(0,V.jsx)(`span`,{title:u(`Field is required`),children:`*`}),r&&(0,V.jsx)(JR,{children:r}),a&&o&&(0,V.jsx)(Bwe,{id:`${t}_error`,children:a})]})]})}),fK=({label:e,value:t,onChange:n,name:r,disabled:i,error:a,className:o,ariaControl
484s:s,infoText:c})=>(0,V.jsx)(dK,{label:e,name:r,disabled:i,error:a,className:o,infoText:c,children:(0,V.jsx)(iK,{hasError:!!a,disabled:i,name:r,value:t,onChange:n,ariaControls:s})}),pK=({label:e,name:t,disabled:n,onChange:r,...i})=>{let[a]=cI({name:t}),o=e=>{a.onChange?.(e),r?.(e)};return(0,V.jsx)(fK,{label:e,...i,...a,onChange:o,disabled:n})},mK=U.span` 485 ${({theme:e})=>e.forms.label}; 486 text-overflow: unset; 487 white-space: unset; 488 overflow: unset; 489`,Vwe=U.div` 490 ${({theme:e})=>e.forms.error}; 491`,Hwe=U.div` 492 ${({theme:e})=>e.forms.description}; 493`,Uwe=U.div` 494 ${({theme:e})=>e.forms.inlineGroup}; 495`,Wwe=U.div` 496 display: grid; 497 grid-auto-rows: max-content; 498`,Gwe=H` 499 margin-bottom: 0; 500 padding: ${({theme:e})=>e.spacing(1)} 0; 501`,Kwe=U(fK)` 502 ${Gwe}; 503`,hK=({label:e,name:t,options:n,required:r,disabled:i,description:a})=>{let[{value:o,onChange:s},{error:c,touched:l},{setTouched:u}]=cI(t),{t:d}=B(),f=e=>{s({target:{value:(o??[]).filter(t=>t!==e),name:t}}),u(!0,!1)},p=e=>{s({target:{value:[...o??[],e],name:t}}),u(!0,!1)};return(0,V.jsxs)(Uwe,{children:[e&&(0,V.jsxs)(mK,{children:[e,r&&(0,V.jsx)(`span`,{title:d(`Field is required`),children:`*`})]}),(0,V.jsx)(Wwe,{children:n.map(e=>(0,V.jsx)(Kwe,{name:`${t}_${e.value}`,value:o?.includes(e.value)??!1,label:e.name,onChange:t=>t.target.value?p(e.value):f(e.value),disabled:i},e.value))}),l&&c&&(0,V.jsx)(Vwe,{children:c}),(!c||!l)&&a&&(0,V.jsx)(Hwe,{children:a})]})},qwe=U.div` 504 margin: 0 0 1.5rem 0; 505`,Jwe=U(dK)` 506 margin: 0; 507`,Ywe=U.div` 508 ${({theme:e})=>e.forms.error}; 509`,Xwe=e=>{let t;return e||(t=`You need to consent`),t},Zwe=({label:e,name:t,disabled:n,ariaControls:r,className:i,headline:a,required:o})=>{let[s,c]=cI({name:t,validate:Xwe}),{t:l}=B();return(0,V.jsxs)(qwe,{children:[a,(0,V.jsx)(Jwe,{label:e,name:t,disabled:n,error:c.error,className:i,required:o,children:(0,V.jsx)(iK,{hasError:!!c.error,disabled:n,name:t,value:s.value,onChange:s.onChange,ariaControls:r})}),c.error&&(0,V.jsx)(Ywe,{id:`${t}_error`,children:l(c.error)})]})},Qwe=({label:e,value:t,onChange:n,name:r,disabled:i,error:a,className:o,ariaControls:s,required:c})=>(0,V.jsx)(dK,{label:e,name:r,disabled:i,error:a,className:o,required:c,showErrorMessage:!0,children:(0,V.jsx)(iK,{hasError:!!a,disabled:i,name:r,value:t,onChange:n,ariaControls:s})}),$we=({name:e,disabled:t,...n})=>{let[r,{touched:i,error:a}]=cI(e);return(0,V.jsx)(Qwe,{...n,...r,disabled:t,error:i?a:void 0})};function eTe(e,t){return nTe(rTe(t),e)}var tTe={year:0,month:1,day:2,hour:3,minute:4,second:5};function nTe(e,t){try{let n=e.formatToParts(t),r=[];for(let e=0;e<n.length;e++){let t=tTe[n[e].type];t>=0&&(r[t]=parseInt(n[e].value,10))}return r}catch(e){if(e instanceof RangeError)return[NaN];throw e}}var gK={};function rTe(e){return gK[e]||(gK[e]=new Intl.DateTimeFormat(`en-US`,{hour12:!1,timeZone:e,year:`numeric`,month:`numeric`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`})),gK[e]}function _K(e,t){return aTe(e)?-iTe(new Date(t||Date.now()),e):NaN}function iTe(e,t){let n=eTe(e,t),r=new Date(Date.UTC(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0)).getTime(),i=e.getTime(),a=i%1e3;return i-=a>=0?a:1e3+a,r-i}var vK={};function aTe(e){if(vK[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),vK[e]=!0,!0}catch{return!1}}function yK(e,t){let n=typeof e==`string`?BV(e):e,r=_K(t,n),i=new Date(n.getTime()-r),a=new Date(0);return a.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),a.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),a}function oTe(e,t){let n=typeof e==`string`?BV(e):e,r=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds())).getTime(),i=_K(t,new Date(r));return new Date(r+i)}var sTe=window.btoa(`<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M19,19H5V8H19M16,1V3H8V1H6V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3H18V1M17,12H12V17H17V12Z" /></svg>`),bK=U.input` 510 ${({theme:e})=>e.forms.field}; 511 512 &::-webkit-calendar-picker-indicator { 513 background: currentColor; 514 mask-image: url("data:image/svg+xml;base64,${sTe}"); 515 mask-repeat: no-repeat; 516 mask-origin: content-box; 517 mask-size: contain; 518 } 519`,xK=`yyyy-MM-dd'T'HH:mm`,cTe=U.div` 520 display: flex;
521 height: 100%; 522 align-items: center; 523 524 > * { 525 margin-right: ${({theme:e})=>e.spacing(3)}; 526 } 527`,lTe=U.small` 528 font-size: ${({theme:e})=>e.fonts.sizes.small}; 529 white-space: nowrap; 530`,uTe=U.div` 531 display: flex; 532 align-items: center; 533`,SK=I.forwardRef(function({value:e,onChange:t,name:n,placeholder:r,description:i,maxChars:a,label:o,disabled:s,readOnly:c,error:l,infoText:u,className:d,prefix:f,suffix:p,required:m,clearable:h=!0,showTimeZone:g,..._},v){let{t:y}=B(),{timeZone:b,showTimeZone:x}=vH(),S=g??x,[C,w]=(0,I.useState)(e?SB(yK(BV(e),b),xK):``);(0,I.useEffect)(()=>{w(e?SB(yK(BV(e),b),xK):``)},[b,e]);let T=(0,I.useCallback)(e=>{w(e.target.value)},[]),E=async e=>{let r=e.target.value;await t({target:{name:n,value:oTe(RV(r,xK,new Date),b).toISOString()}}),_.onBlur&&_.onBlur(e)},D=(0,I.useCallback)(async()=>{w(``),await t({target:{name:n,value:null}})},[n,t]);return(0,V.jsx)(QR,{prefix:f,suffix:p,label:o,name:n,error:l,infoText:u,description:i,maxChars:a,disabled:s,hasValue:!0,className:d,required:m,readOnly:c,children:(0,V.jsxs)(uTe,{children:[(0,V.jsx)(bK,{..._,ref:v,$hasLabel:!!o,max:_.max??`9999-12-31T23:59`,type:`datetime-local`,maxLength:a,name:n,id:n,placeholder:r,disabled:s,readOnly:c,value:C,"aria-required":m,"aria-invalid":!!l,"aria-errormessage":`${n}_error`,onChange:T,className:HE(c&&`read-only`),onBlur:E}),(0,V.jsxs)(cTe,{children:[S&&(0,V.jsx)(lTe,{children:b}),h&&!!e&&!c&&(0,V.jsx)(dD,{title:y(`Clear`),size:`small`,type:`button`,onClick:D,icon:`close`})]})]})})}),dTe=({autoFocus:e=!1,disabled:t=!1,readOnly:n=!1,label:r,infoText:i,max:a,min:o,step:s,name:c,placeholder:l,description:u,maxChars:d,prefix:f,suffix:p,className:m,autoComplete:h,required:g,clearable:_,showTimeZone:v})=>({controlProps:{label:r,infoText:i,placeholder:l,description:u,maxChars:d,disabled:t,readOnly:n,autoFocus:e,min:o,max:a,step:s,prefix:f,suffix:p,className:m,autoComplete:h,required:g,clearable:_,showTimeZone:v},useFieldProps:{name:c}}),CK=I.forwardRef(function(e,t){let{controlProps:n,useFieldProps:r}=dTe(e),[i,a,o]=cI(r);return(0,V.jsx)(SK,{...n,...i,ref:t,error:a.touched&&a.error?a.error:void 0,onChange:e=>o.setValue(e.target.value)})}),wK=(0,I.createContext)(void 0),fTe=({initialLanguage:e,children:t})=>{let{languageSettings:n}=gH(),[r,i]=(0,I.useState)(e||n.fallback),a={languages:n.availableLanguages,fallbackLanguage:n.fallback,setCurrentLanguage:i,isMainForm:r===n.fallback,currentLanguage:r,resetToInitialLanguage:()=>i(e||n.fallback)};return(0,V.jsx)(wK.Provider,{value:a,children:typeof t==`function`?t(a):t})},TK=()=>{let e=(0,I.useContext)(wK);if(e===void 0)throw Error(`useI18nForm needs to be wrapped inside a I18nFormProvider.`);return e},EK=e=>{let{values:{translations:t}}=qF();return(0,I.useMemo)(()=>t.findIndex(t=>t.locale===e),[e,t])},DK=({translationPath:e=``,name:t,children:n})=>{let{fallbackLanguage:r,currentLanguage:i}=TK(),a=EK(r),o=EK(i),[{value:s}]=cI(`${e}translations.${a}.${t}`);if(I.Children.count(n)!==1)throw Error(`Only one child is supported`);return n&&s&&i!==r?I.cloneElement(n,{description:`Fallback: `+s,key:`${e}translations.${o}.${t}`}):n},OK=(e,t)=>{let n=e.reduce((e,n,r)=>{let i=t(n.locale,n);return Object.keys(i).length>0&&(e[r]={locale:n.locale,...i}),e},[]);return n.length?{translations:n}:{}},kK=e=>{for(let t of Object.values(e))if(typeof t==`boolean`&&t)return!0;else if(typeof t==`object`)return kK(t);return!1},AK=U(az)` 534 color: ${({theme:e,$color:t})=>t!=="default"&&e.colors.palette[t].main.base}; 535 display: flex; 536 justify-content: space-between; 537`,pTe=U(FE)` 538 cursor: default; 539`,mTe=({emptyTranslation:e})=>{let{fallbackLanguage:t,languages:n,currentLanguage:r,setCurrentLanguage:i}=TK(),{values:a,touched:o,errors:s}=qF(),{t:c}=B(),l=e=>{let t=a.translations.findIndex(t=>t.locale===e),n=s.translations?.at(t),r=(o.translations??[])[t];return n&&r&&kK(r)?`danger`:`default`};return(0,V.jsx)(hI,{name:`translations`,render:({push:o})=>(0,V.jsxs)(rz,{children:[(0,V.jsxs)(pTe,{title:r,type:`button`,size:`small`,children:[r,r===t&&`*`]},r),(0,V.jsx)(iz,{renderTrigger:e=>(0,V.jsx)(iD,{size:`small`,title:c(`Select option`),type:`button`,color:n.some(e=>l(e)===`danger`)?`danger`:`default`,icon:`caret_down`,...e}),renderContent:s=>(0,V.jsx)(V.Fragment,{children:n.map(n=>a.translations.find(e=>e.locale===n)?(0,V.jsxs)(AK,{$color:l(n),className:HE(r===n&&`selected`),onClick:()=>{i(n),s()},children:[n,t===n&&`*`]},n):(0,V.jsx)(AK,{$color:`default`,onClick:()=>{o({...e,locale:n}),i(n),s()},children:c(`Add "{{locale}}"`,{locale:n})},n))})})]})})},hTe=U.button` 540 font-family: ${({theme:e})=>e.fonts.body}; 541 font-style: normal; 542 font-variant: normal; 543 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 544 font-size: inherit; 545 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 546 background-color: transparent; 547 border: none; 548 outline: none; 549 text-align: left; 550 display: grid; 551`,gTe=U.div` 552 ${({theme:e})=>e.tags.base}; 553 ${({theme:e})=>e.tags.colors.medium}; 554 display: flex; 555 overflow: hidden; 556 height: auto;
557 min-height: 26px; 558`,_Te=U.span` 559 overflow: hidden; 560 text-overflow: ellipsis; 561 flex: 1; 562`,vTe=U.div` 563 ${({theme:e})=>e.tags.closeable}; 564`,yTe=I.forwardRef(function({children:e,onClose:t,className:n,style:r,...i},a){return(0,V.jsx)(hTe,{...i,type:`button`,ref:a,children:(0,V.jsxs)(gTe,{className:n,style:r,children:[(0,V.jsx)(_Te,{children:e}),t&&(0,V.jsx)(vTe,{onClick:e=>{e.stopPropagation(),t()},children:(0,V.jsx)(nD,{$icon:`close`})})]})})}),bTe=I.forwardRef(function({className:e,clearable:t=!0,compare:n=pG,disabled:r,error:i,infoText:a,getLabel:o=hG,getValue:s=mG,getGroup:c,renderGroup:l,handleFirstLoad:u,label:d,loading:f,name:p,onChange:m,onClear:h,onEndReached:g,onSearch:_,options:v,placeholder:y,renderOption:b=fG,search:x,value:S,autoComplete:C,shouldClearSearch:w=!0,onCreate:T,required:E,renderValueItem:D,renderCreateForm:O,onBlur:k,description:A,createButtonTitle:j,initial:M,readOnly:ee},N){let te=(0,I.useCallback)((e,t)=>{S?.some(t=>n(t,s(e)))?m({target:{name:p,value:S.filter(t=>!n(t,s(e)))}}):m({target:{name:p,value:[...S??[],s(e)]}}),w&&t.clearSearch()},[n,s,p,m,w,S]),ne=(0,I.useCallback)(()=>{t&&(m({target:{name:p,value:[]}}),h&&h())},[t,p,m,h]);return(0,V.jsx)(vG,{handleFirstLoad:u,compare:n,onSelect:te,value:S,placeholder:y,description:A,renderValue:e=>(0,V.jsx)(qCe,{...e,renderValue:e=>(0,V.jsx)(V.Fragment,{children:e&&e.map((t,i)=>{let a=v?v.find(e=>n(t,s(e))):null;return D?D(t):(0,V.jsx)(yTe,{title:o(a??t),onClose:()=>!ee&&!r&&m({target:{name:p,value:(e??[]).filter(e=>!n(e,t))}}),children:o(a??t)},i)})}),search:x,placeholder:S?.length?void 0:y}),getLabel:o,getValue:s,getGroup:c,renderGroup:l,renderOption:b,options:v,name:p,error:i,disabled:r,label:d,infoText:a,onClear:ne,className:e,onSearch:_,clearable:t,loading:f,onEndReached:g,autoComplete:C,search:x,onCreate:T,required:E,renderCreateForm:O,createButtonTitle:j,onBlur:k,initial:M,readOnly:ee,ref:N})}),jK=I.forwardRef(function({name:e,options:t,getValue:n=mG,getLabel:r=hG,clearable:i=!0,...a},o){let[{onChange:s,...c},{error:l,touched:u}]=cI(e),{onClear:d,...f}=tK(t,r,n,(0,I.useCallback)(()=>s({target:{name:e,value:[]}}),[s,e])),p=i?{clearable:!0,onClear:d}:{clearable:!1,onClear:void 0};return(0,V.jsx)(bTe,{...a,...c,...f,...p,ref:o,getLabel:r,getValue:n,error:u?l:void 0,onChange:e=>{s(e),a.onChange&&a.onChange(e)}})}),MK=({children:e})=>{let{isMainForm:t}=TK();return t?(0,V.jsx)(V.Fragment,{children:e}):null},NK=Symbol.for(`immer-nothing`),PK=Symbol.for(`immer-draftable`),FK=Symbol.for(`immer-state`);function IK(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var LK=Object.getPrototypeOf;function RK(e){return!!e&&!!e[FK]}function zK(e){return e?VK(e)||Array.isArray(e)||!!e[PK]||!!e.constructor?.[PK]||KK(e)||qK(e):!1}var xTe=Object.prototype.constructor.toString(),BK=new WeakMap;function VK(e){if(!e||typeof e!=`object`)return!1;let t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;let n=Object.hasOwnProperty.call(t,`constructor`)&&t.constructor;if(n===Object)return!0;if(typeof n!=`function`)return!1;let r=BK.get(n);return r===void 0&&(r=Function.toString.call(n),BK.set(n,r)),r===xTe}function HK(e,t,n=!0){UK(e)===0?(n?Reflect.ownKeys(e):Object.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function UK(e){let t=e[FK];return t?t.type_:Array.isArray(e)?1:KK(e)?2:qK(e)?3:0}function WK(e,t){return UK(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function GK(e,t,n){let r=UK(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function STe(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}function KK(e){return e instanceof Map}function qK(e){return e instanceof Set}function JK(e){return e.copy_||e.base_}function YK(e,t){if(KK(e))return new Map(e);if(qK(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let n=VK(e);if(t===!0||t===`class_only`&&!n){let t=Object.getOwnPropertyDescriptors(e);delete t[FK];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(LK(e),t)}{let t=LK(e);if(t!==null&&n)return{...e};let r=Object.create(t);return Object.assign(r,e)}}function XK(e,t=!1){return QK(e)||RK(e)||!zK(e)?e:(UK(e)>
5641&&Object.defineProperties(e,{set:ZK,add:ZK,clear:ZK,delete:ZK}),Object.freeze(e),t&&Object.values(e).forEach(e=>XK(e,!0)),e)}function CTe(){IK(2)}var ZK={value:CTe};function QK(e){return typeof e!=`object`||!e||Object.isFrozen(e)}var wTe={};function $K(e){let t=wTe[e];return t||IK(0,e),t}var eq;function tq(){return eq}function TTe(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function nq(e,t){t&&($K(`Patches`),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function rq(e){iq(e),e.drafts_.forEach(ETe),e.drafts_=null}function iq(e){e===eq&&(eq=e.parent_)}function aq(e){return eq=TTe(eq,e)}function ETe(e){let t=e[FK];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function oq(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];return e!==void 0&&e!==n?(n[FK].modified_&&(rq(t),IK(4)),zK(e)&&(e=sq(t,e),t.parent_||lq(t,e)),t.patches_&&$K(`Patches`).generateReplacementPatches_(n[FK].base_,e,t.patches_,t.inversePatches_)):e=sq(t,n,[]),rq(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===NK?void 0:e}function sq(e,t,n){if(QK(t))return t;let r=e.immer_.shouldUseStrictIteration(),i=t[FK];if(!i)return HK(t,(r,a)=>cq(e,i,t,r,a,n),r),t;if(i.scope_!==e)return t;if(!i.modified_)return lq(e,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;let t=i.copy_,a=t,o=!1;i.type_===3&&(a=new Set(t),t.clear(),o=!0),HK(a,(r,a)=>cq(e,i,t,r,a,n,o),r),lq(e,t,!1),n&&e.patches_&&$K(`Patches`).generatePatches_(i,n,e.patches_,e.inversePatches_)}return i.copy_}function cq(e,t,n,r,i,a,o){if(i==null||typeof i!=`object`&&!o)return;let s=QK(i);if(!s||o){if(RK(i)){let o=sq(e,i,a&&t&&t.type_!==3&&!WK(t.assigned_,r)?a.concat(r):void 0);if(GK(n,r,o),RK(o))e.canAutoFreeze_=!1;else return}else o&&n.add(i);if(zK(i)&&!s){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[r]===i&&s)return;sq(e,i),(!t||!t.scope_.parent_)&&typeof r!=`symbol`&&(KK(n)?n.has(r):Object.prototype.propertyIsEnumerable.call(n,r))&&lq(e,i)}}}function lq(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&XK(t,n)}function DTe(e,t){let n=Array.isArray(e),r={type_:+!!n,scope_:t?t.scope_:tq(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},i=r,a=uq;n&&(i=[r],a=dq);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,s}var uq={get(e,t){if(t===FK)return e;let n=JK(e);if(!WK(n,t))return OTe(e,n,t);let r=n[t];return e.finalized_||!zK(r)?r:r===fq(e.base_,t)?(hq(e),e.copy_[t]=gq(r,e)):r},has(e,t){return t in JK(e)},ownKeys(e){return Reflect.ownKeys(JK(e))},set(e,t,n){let r=pq(JK(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=fq(JK(e),t),i=r?.[FK];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(STe(n,r)&&(n!==void 0||WK(e.base_,t)))return!0;hq(e),mq(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_[t]=!0,!0)},deleteProperty(e,t){return fq(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,hq(e),mq(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=JK(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!==`length`,enumerable:r.enumerable,value:n[t]}},defineProperty(){IK(11)},getPrototypeOf(e){return LK(e.base_)},setPrototypeOf(){IK(12)}},dq={};HK(uq,(e,t)=>{dq[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),dq.deleteProperty=function(e,t){return dq.set.call(this,e,t,void 0)},dq.set=function(e,t,n){return uq.set.call(this,e[0],t,n,e[0])};function fq(e,t){let n=e[FK];return(n?JK(n):e)[t]}function OTe(e,t,n){let r=pq(t,n);return r?`value`in r?r.value:r.get?.call(e.draft_):void 0}function pq(e,t){if(!(t in e))return;let n=LK(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=LK(n)}}function mq(e){e.modified_||(e.modified_=!0,e.parent_&&mq(e.parent_))}function hq(e){e.copy_||=YK(e.base_,e.scope_.immer_.useStrictShallowCopy_)}var kTe=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(e,t,n)=>{if(typeof e==`function`&&typeof t!=`function`){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}typeof t!=`function`&&IK(6),n!==void 0&&typeof n!=`function`&&IK(7);let r;if(zK(e)){let i=aq(this),a=gq(e,void 0),o=!0;try{r=t(a),o=!1}finally{o?rq(i):iq(i)}return nq(i,n),oq(r,i)}if(!e||typeof e!=`object`){if(r=t(e),r===void 0&&(r=e),r===NK&&(r=void 0),this.autoFreeze_&&XK(r,!0),n){let t=[],i=[];$K(`Patches`).generateReplacementPatches_(e,r,t,i),n(t,i)}return r}IK(1,e)},this.produceWithPatches=(e,t)=>{if(typeof e==`function`)return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},typeof e?.autoFreeze==`boolean`&&this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy==`boolean`&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof e?.useStrictIteration==`boolean`&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){zK(e)||IK(8),RK(e)&&(e=ATe(e));let t=aq(this),n=gq(e,void 0);return n[FK].isManual_=!0,iq(t),n}finishDraft(e,t){let n=e&&e[FK];(!n||!n.isManual_)&&IK(9);let{scope_:r}=n;return nq(r,t),oq(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>
564-1&&(t=t.slice(n+1));let r=$K(`Patches`).applyPatches_;return RK(e)?r(e,t):this.produce(e,e=>r(e,t))}};function gq(e,t){let n=KK(e)?$K(`MapSet`).proxyMap_(e,t):qK(e)?$K(`MapSet`).proxySet_(e,t):DTe(e,t);return(t?t.scope_:tq()).drafts_.push(n),n}function ATe(e){return RK(e)||IK(10,e),_q(e)}function _q(e){if(!zK(e)||QK(e))return e;let t=e[FK],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=YK(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=YK(e,!0);return HK(n,(e,t)=>{GK(n,e,_q(t))},r),t&&(t.finalized_=!1),n}var jTe=new kTe().produce,MTe={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var i=K.transform(n,t,{affinity:r});e.current=i,i??e.unref()}}},NTe={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var i=Kq.transform(n,t,{affinity:r});e.current=i,i??e.unref()}}},PTe={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var i=q.transform(n,t,{affinity:r});e.current=i,i??e.unref()}}},vq=new WeakMap,yq=new WeakMap,bq=new WeakMap,xq=new WeakMap,Sq=new WeakMap,Cq=new WeakMap,wq=new WeakMap,K={ancestors(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,r=K.levels(e,t);return r=n?r.slice(1):r.slice(0,-1),r},common(e,t){for(var n=[],r=0;r<e.length&&r<t.length;r++){var i=e[r];if(i!==t[r])break;n.push(i)}return n},compare(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){if(e[r]<t[r])return-1;if(e[r]>t[r])return 1}return 0},endsAfter(e,t){var n=e.length-1,r=e.slice(0,n),i=t.slice(0,n),a=e[n],o=t[n];return K.equals(r,i)&&a>o},endsAt(e,t){var n=e.length,r=e.slice(0,n),i=t.slice(0,n);return K.equals(r,i)},endsBefore(e,t){var n=e.length-1,r=e.slice(0,n),i=t.slice(0,n),a=e[n],o=t[n];return K.equals(r,i)&&a<o},equals(e,t){return e.length===t.length&&e.every((e,n)=>e===t[n])},hasPrevious(e){return e[e.length-1]>0},isAfter(e,t){return K.compare(e,t)===1},isAncestor(e,t){return e.length<t.length&&K.compare(e,t)===0},isBefore(e,t){return K.compare(e,t)===-1},isChild(e,t){return e.length===t.length+1&&K.compare(e,t)===0},isCommon(e,t){return e.length<=t.length&&K.compare(e,t)===0},isDescendant(e,t){return e.length>t.length&&K.compare(e,t)===0},isParent(e,t){return e.length+1===t.length&&K.compare(e,t)===0},isPath(e){return Array.isArray(e)&&(e.length===0||typeof e[0]==`number`)},isSibling(e,t){if(e.length!==t.length)return!1;var n=e.slice(0,-1),r=t.slice(0,-1);return e[e.length-1]!==t[t.length-1]&&K.equals(n,r)},levels(e){for(var{reverse:t=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=0;r<=e.length;r++)n.push(e.slice(0,r));return t&&n.reverse(),n},next(e){if(e.length===0)throw Error(`Cannot get the next path of a root path [${e}], because it has no next index.`);var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},operationCanTransformPath(e){switch(e.type){case`insert_node`:case`remove_node`:case`merge_node`:case`split_node`:case`move_node`:return!0;default:return!1}},parent(e){if(e.length===0)throw Error(`Cannot get the parent path of the root path [${e}].`);return e.slice(0,-1)},previous(e){if(e.length===0)throw Error(`Cannot get the previous path of a root path [${e}], because it has no previous index.`);var t=e[e.length-1];if(t<=0)throw Error(`Cannot get the previous path of a first child path [${e}] because it would result in a negative index.`);return e.slice(0,-1).concat(t-1)},relative(e,t){if(!K.isAncestor(t,e)&&!K.equals(e,t))throw Error(`Cannot get the relative path of [${e}] inside ancestor [${t}], because it is not above or equal to the path.`);return e.slice(t.length)},transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!e)return null;var r=[...e],{affinity:i=`forward`}=n;if(e.length===0)return r;switch(t.type){case`insert_node`:var{path:a}=t;(K.equals(a,r)||K.endsBefore(a,r)||K.isAncestor(a,r))&&(r[a.length-1]+=1);break;case`remove_node`:var{path:o}=t;if(K.equals(o,r)||K.isAncestor(o,r))return null;K.endsBefore(o,r)&&--r[o.length-1];break;case`merge_node`:var{path:s,position:c}=t;K.equals(s,r)||K.endsBefore(s,r)?--r[s.length-1]:K.isAncestor(s,r)&&(--r[s.length-1],r[s.length]+=c);break;case`split_node`:var{path:l,position:u}=t;if(K.equals(l,r)){if(i===`forward`)r[r.length-1]+=1;else if(i!==`backward`)return null}else K.endsBefore(l,r)?r[l.length-1]+=1:K.isAncestor(l,r)&&e[l.length]>=u&&(r[l.length-1]+=1,r[l.length]-=u);break;case`move_node`:var{path:d,newPath:f}=t;if(K.equals(d,f))return r;if(K.isAncestor(d,r)||K.equals(d,r)){var p=f.slice();return K.endsBefore(d,f)&&d.length<f.length&&--p[d.length-1],p.concat(r.slice(d.length))}K.isSibling(d,f)&&(K.isAncestor(f,r)||K.equals(f,r))?K.endsBefore(d,r)?--r[d.length-1]:r[d.length-1]+=1:K.endsBefore(f,r)||K.equals(f,r)||K.isAncestor(f,r)?(K.endsBefore(d,r)&&--r[d.length-1],r[f.length-1]+=1):K.endsBefore(d,r)&&(K.equals(f,r)&&(r[f.length-1]+=1),--r[d.length-1])}return r}};function Tq(e){"@babel/helpers - typeof";return Tq=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Tq(e)}function FTe(e,t){if(Tq(e)!==`object`||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Tq(r)!==`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function ITe(e){var t=FTe(e,`string`);return Tq(t)===`symbol`?t:String(t)}function Eq(e,t,n){return t=ITe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Oq(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
564t%2?Dq(Object(n),!0).forEach(function(t){Eq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dq(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var kq=function(e,t){var n=[...arguments].slice(2);return[...e.slice(0,t),...n,...e.slice(t)]},Aq=function(e,t,n){var r=[...arguments].slice(3);return[...e.slice(0,t),...r,...e.slice(t+n)]},jq=Aq,Mq=(e,t,n)=>{if(t.length===0)throw Error(`Cannot modify the editor`);for(var r=Y.get(e,t),i=t.slice(),a=n(r);i.length>1;){var o=i.pop(),s=Y.get(e,i);a=Oq(Oq({},s),{},{children:Aq(s.children,o,1,a)})}var c=i.pop();e.children=Aq(e.children,c,1,a)},Nq=(e,t,n)=>{t.length===0?e.children=n(e.children):Mq(e,t,e=>{if(Zq.isText(e))throw Error(`Cannot get the element at path [${t}] because it refers to a leaf node: ${Jq.stringify(e)}`);return Oq(Oq({},e),{},{children:n(e.children)})})},Pq=(e,t,n)=>Mq(e,t,e=>{if(!Zq.isText(e))throw Error(`Cannot get the leaf node at path [${t}] because it refers to a non-leaf node: ${Jq.stringify(e)}`);return n(e)}),LTe={transform(e,t){var n=!1;switch(t.type){case`insert_node`:var{path:r,node:i}=t;Nq(e,K.parent(r),e=>{var t=r[r.length-1];if(t>e.length)throw Error(`Cannot apply an "insert_node" operation at path [${r}] because the destination is past the end of the node.`);return kq(e,t,i)}),n=!0;break;case`insert_text`:var{path:a,offset:o,text:s}=t;if(s.length===0)break;Pq(e,a,e=>{var t=e.text.slice(0,o),n=e.text.slice(o);return Oq(Oq({},e),{},{text:t+s+n})}),n=!0;break;case`merge_node`:var{path:c}=t,l=c[c.length-1],u=K.previous(c),d=u[u.length-1];Nq(e,K.parent(c),e=>{var t=e[l],n=e[d],r;if(Zq.isText(t)&&Zq.isText(n))r=Oq(Oq({},n),{},{text:n.text+t.text});else if(!Zq.isText(t)&&!Zq.isText(n))r=Oq(Oq({},n),{},{children:n.children.concat(t.children)});else throw Error(`Cannot apply a "merge_node" operation at path [${c}] to nodes of different interfaces: ${Jq.stringify(t)} ${Jq.stringify(n)}`);return Aq(e,d,2,r)}),n=!0;break;case`move_node`:var{path:f,newPath:p}=t,m=f[f.length-1];if(K.isAncestor(f,p))throw Error(`Cannot move a path [${f}] to new path [${p}] because the destination is inside itself.`);var h=Y.get(e,f);Nq(e,K.parent(f),e=>jq(e,m,1));var g=K.transform(f,t),_=g[g.length-1];Nq(e,K.parent(g),e=>kq(e,_,h)),n=!0;break;case`remove_node`:var{path:v}=t,y=v[v.length-1];if(Nq(e,K.parent(v),e=>jq(e,y,1)),e.selection){var b=Oq({},e.selection);for(var[x,S]of q.points(b)){var C=Kq.transform(x,t);if(b!=null&&C!=null)b[S]=C;else{var w=void 0,T=void 0;for(var[E,D]of Y.texts(e))if(K.compare(D,v)===-1)w=[E,D];else{T=[E,D];break}var O=!1;w&&T&&(O=K.equals(T[1],v)?!K.hasPrevious(T[1]):K.common(w[1],v).length<K.common(T[1],v).length),w&&!O?b[S]={path:w[1],offset:w[0].text.length}:T?b[S]={path:T[1],offset:0}:b=null}}(!b||!q.equals(b,e.selection))&&(e.selection=b)}break;case`remove_text`:var{path:k,offset:A,text:j}=t;if(j.length===0)break;Pq(e,k,e=>{var t=e.text.slice(0,A),n=e.text.slice(A+j.length);return Oq(Oq({},e),{},{text:t+n})}),n=!0;break;case`set_node`:var{path:M,properties:ee,newProperties:N}=t;if(M.length===0)throw Error(`Cannot set properties on the root node!`);Mq(e,M,e=>{var t=Oq({},e);for(var n in N){if(n===`children`||n===`text`)throw Error(`Cannot set the "${n}" property of nodes!`);var r=N[n];r==null?delete t[n]:t[n]=r}for(var i in ee)N.hasOwnProperty(i)||delete t[i];return t});break;case`set_selection`:var{newProperties:te}=t;if(te==null){e.selection=null;break}if(e.selection==null){if(!q.isRange(te))throw Error(`Cannot apply an incomplete "set_selection" operation properties ${Jq.stringify(te)} when there is no current selection.`);e.selection=Oq({},te);break}var ne=Oq({},e.selection);for(var re in te){var ie=te[re];if(ie==null){if(re===`anchor`||re===`focus`)throw Error(`Cannot remove the "${re}" selection property`);delete ne[re]}else ne[re]=ie}e.selection=ne;break;case`split_node`:var{path:P,position:F,properties:ae}=t,oe=P[P.length-1];if(P.length===0)throw Error(`Cannot apply a "split_node" operation at path [${P}] because the root node cannot be split.`);Nq(e,K.parent(P),e=>{var t=e[oe],n,r;if(Zq.isText(t)){var i=t.text.slice(0,F),a=t.text.slice(F);n=Oq(Oq({},t),{},{text:i}),r=Oq(Oq({},ae),{},{text:a})}else{var o=t.children.slice(0,F),s=t.children.slice(F);n=Oq(Oq({},t),{},{children:o}),r=Oq(Oq({},ae),{},{children:s})}return Aq(e,oe,1,n,r)}),n=!0}if(n&&e.selection){var se=Oq({},e.selection);for(var[ce,le]of q.points(se))se[le]=Kq.transform(ce,t);q.equals(se,e.selection)||(e.selection=se)}}}
564,RTe={insertNodes(e,t,n){e.insertNodes(t,n)},liftNodes(e,t){e.liftNodes(t)},mergeNodes(e,t){e.mergeNodes(t)},moveNodes(e,t){e.moveNodes(t)},removeNodes(e,t){e.removeNodes(t)},setNodes(e,t,n){e.setNodes(t,n)},splitNodes(e,t){e.splitNodes(t)},unsetNodes(e,t,n){e.unsetNodes(t,n)},unwrapNodes(e,t){e.unwrapNodes(t)},wrapNodes(e,t,n){e.wrapNodes(t,n)}},zTe={collapse(e,t){e.collapse(t)},deselect(e){e.deselect()},move(e,t){e.move(t)},select(e,t){e.select(t)},setPoint(e,t,n){e.setPoint(t,n)},setSelection(e,t){e.setSelection(t)}},Fq=e=>typeof e==`object`&&!!e,Iq=(e,t)=>{for(var n in e){var r=e[n],i=t[n];if(Array.isArray(r)&&Array.isArray(i)){if(r.length!==i.length)return!1;for(var a=0;a<r.length;a++)if(r[a]!==i[a])return!1}else if(Fq(r)&&Fq(i)){if(!Iq(r,i))return!1}else if(r!==i)return!1}for(var o in t)if(e[o]===void 0&&t[o]!==void 0)return!1;return!0};function BTe(e,t){if(e==null)return{};for(var n={},r=Object.keys(e),i,a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Lq(e,t){if(e==null)return{};var n=BTe(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var VTe=[`anchor`,`focus`];function Rq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function HTe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Rq(Object(n),!0).forEach(function(t){Eq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rq(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var q={edges(e){var{reverse:t=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{anchor:n,focus:r}=e;return q.isBackward(e)===t?[n,r]:[r,n]},end(e){var[,t]=q.edges(e);return t},equals(e,t){return Kq.equals(e.anchor,t.anchor)&&Kq.equals(e.focus,t.focus)},surrounds(e,t){var n=q.intersection(e,t);return n?q.equals(n,t):!1},includes(e,t){if(q.isRange(t)){if(q.includes(e,t.anchor)||q.includes(e,t.focus))return!0;var[n,r]=q.edges(e),[i,a]=q.edges(t);return Kq.isBefore(n,i)&&Kq.isAfter(r,a)}var[o,s]=q.edges(e),c=!1,l=!1;return Kq.isPoint(t)?(c=Kq.compare(t,o)>=0,l=Kq.compare(t,s)<=0):(c=K.compare(t,o.path)>=0,l=K.compare(t,s.path)<=0),c&&l},intersection(e,t){var n=Lq(e,VTe),[r,i]=q.edges(e),[a,o]=q.edges(t),s=Kq.isBefore(r,a)?a:r,c=Kq.isBefore(i,o)?i:o;return Kq.isBefore(c,s)?null:HTe({anchor:s,focus:c},n)},isBackward(e){var{anchor:t,focus:n}=e;return Kq.isAfter(t,n)},isCollapsed(e){var{anchor:t,focus:n}=e;return Kq.equals(t,n)},isExpanded(e){return!q.isCollapsed(e)},isForward(e){return!q.isBackward(e)},isRange(e){return Fq(e)&&Kq.isPoint(e.anchor)&&Kq.isPoint(e.focus)},*points(e){yield[e.anchor,`anchor`],yield[e.focus,`focus`]},start(e){var[t]=q.edges(e);return t},transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(e===null)return null;var{affinity:r=`inward`}=n,i,a;if(r===`inward`){var o=q.isCollapsed(e);q.isForward(e)?(i=`forward`,a=o?i:`backward`):(i=`backward`,a=o?i:`forward`)}else r===`outward`?q.isForward(e)?(i=`backward`,a=`forward`):(i=`forward`,a=`backward`):(i=r,a=r);var s=Kq.transform(e.anchor,t,{affinity:i}),c=Kq.transform(e.focus,t,{affinity:a});return!s||!c?null:{anchor:s,focus:c}}},zq=function(e){var{deep:t=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return!Fq(e)||typeof e.apply==`function`?!1:t?Y.isNodeList(e.children):Array.isArray(e.children)},J={isAncestor(e){var{deep:t=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Fq(e)&&Y.isNodeList(e.children,{deep:t})},isElement:zq,isElementList(e){var{deep:t=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Array.isArray(e)&&e.every(e=>J.isElement(e,{deep:t}))},isElementProps(e){return e.children!==void 0},isElementType:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:`type`;return zq(e)&&e[n]===t},matches(e,t){for(var n in t)if(n!==`children`&&e[n]!==t[n])return!1;return!0}},UTe=[`children`],WTe=[`text`],Y={ancestor(e,t){var n=Y.get(e,t);if(Zq.isText(n))throw Error(`Cannot get the ancestor node at path [${t}] because it refers to a text node instead: ${Jq.stringify(n)}`);return n},ancestors(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return function*(){for(var r of K.ancestors(t,n))yield[Y.ancestor(e,r),r]}()},child(e,t){if(Zq.isText(e))throw Error(`Cannot get the child of a text node: ${Jq.stringify(e)}`);var n=e.children[t];if(n==null)throw Error(`Cannot get child at index \`${t}\` in node: ${Jq.stringify(e)}`);return n},children(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return function*(){for(var{reverse:r=!1}=n,i=Y.ancestor(e,t),{children:a}=i,o=r?a.length-1:0;r?o>=0:o<a.length;)yield[Y.child(i,o),t.concat(o)],o=r?o-1:o+1}()},common(e,t,n){var r=K.common(t,n);return[Y.get(e,r),r]},descendant(e,t){var n=Y.get(e,t);if(X.isEditor(n))throw Error(`Cannot get the descendant node at path [${t}] because it refers to the root editor node instead: ${Jq.stringify(n)}`);return n},descendants(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};
564return function*(){for(var[n,r]of Y.nodes(e,t))r.length!==0&&(yield[n,r])}()},elements(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function*(){for(var[n,r]of Y.nodes(e,t))J.isElement(n)&&(yield[n,r])}()},extractProps(e){if(J.isAncestor(e)){var t=Lq(e,UTe);return t}var t=Lq(e,WTe);return t},first(e,t){for(var n=t.slice(),r=Y.get(e,n);r&&!(Zq.isText(r)||r.children.length===0);)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){if(Zq.isText(e))throw Error(`Cannot get a fragment starting from a root text node: ${Jq.stringify(e)}`);return jTe({children:e.children},e=>{var[n,r]=q.edges(t);for(var[,i]of Y.nodes(e,{reverse:!0,pass:e=>{var[,n]=e;return!q.includes(t,n)}})){if(!q.includes(t,i)){var a=Y.parent(e,i),o=i[i.length-1];a.children.splice(o,1)}if(K.equals(i,r.path)){var s=Y.leaf(e,i);s.text=s.text.slice(0,r.offset)}if(K.equals(i,n.path)){var c=Y.leaf(e,i);c.text=c.text.slice(n.offset)}}X.isEditor(e)&&(e.selection=null)}).children},get(e,t){var n=Y.getIf(e,t);if(n===void 0)throw Error(`Cannot find a descendant at path [${t}] in node: ${Jq.stringify(e)}`);return n},getIf(e,t){for(var n=e,r=0;r<t.length;r++){var i=t[r];if(Zq.isText(n)||!n.children[i])return;n=n.children[i]}return n},has(e,t){for(var n=e,r=0;r<t.length;r++){var i=t[r];if(Zq.isText(n)||!n.children[i])return!1;n=n.children[i]}return!0},isNode(e){var{deep:t=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Zq.isText(e)||J.isElement(e,{deep:t})||X.isEditor(e,{deep:t})},isNodeList(e){var{deep:t=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Array.isArray(e)&&e.every(e=>Y.isNode(e,{deep:t}))},last(e,t){for(var n=t.slice(),r=Y.get(e,n);r&&!(Zq.isText(r)||r.children.length===0);){var i=r.children.length-1;r=r.children[i],n.push(i)}return[r,n]},leaf(e,t){var n=Y.get(e,t);if(!Zq.isText(n))throw Error(`Cannot get the leaf node at path [${t}] because it refers to a non-leaf node: ${Jq.stringify(n)}`);return n},levels(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return function*(){for(var r of K.levels(t,n))yield[Y.get(e,r),r]}()},matches(e,t){return J.isElement(e)&&J.isElementProps(t)&&J.matches(e,t)||Zq.isText(e)&&Zq.isTextProps(t)&&Zq.matches(e,t)},nodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function*(){for(var{pass:n,reverse:r=!1}=t,{from:i=[],to:a}=t,o=new Set,s=[],c=e;!(a&&(r?K.isBefore(s,a):K.isAfter(s,a)));){if(o.has(c)||(yield[c,s]),!o.has(c)&&!Zq.isText(c)&&c.children.length!==0&&(n==null||n([c,s])===!1)){o.add(c);var l=r?c.children.length-1:0;K.isAncestor(s,i)&&(l=i[s.length]),s=s.concat(l),c=Y.get(e,s);continue}if(s.length===0)break;if(!r){var u=K.next(s);if(Y.has(e,u)){s=u,c=Y.get(e,s);continue}}if(r&&s[s.length-1]!==0){s=K.previous(s),c=Y.get(e,s);continue}s=K.parent(s),c=Y.get(e,s),o.add(c)}}()},parent(e,t){var n=K.parent(t),r=Y.get(e,n);if(Zq.isText(r))throw Error(`Cannot get the parent of path [${t}] because it does not exist in the root.`);return r},string(e){return Zq.isText(e)?e.text:e.children.map(Y.string).join(``)},texts(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function*(){for(var[n,r]of Y.nodes(e,t))Zq.isText(n)&&(yield[n,r])}()}};function Bq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Vq(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Bq(Object(n),!0).forEach(function(t){Eq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bq(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Hq={isNodeOperation(e){return Hq.isOperation(e)&&e.type.endsWith(`_node`)},isOperation(e){if(!Fq(e))return!1;switch(e.type){case`insert_node`:return K.isPath(e.path)&&Y.isNode(e.node);case`insert_text`:return typeof e.offset==`number`&&typeof e.text==`string`&&K.isPath(e.path);case`merge_node`:return typeof e.position==`number`&&K.isPath(e.path)&&Fq(e.properties);case`move_node`:return K.isPath(e.path)&&K.isPath(e.newPath);case`remove_node`:return K.isPath(e.path)&&Y.isNode(e.node);case`remove_text`:return typeof e.offset==`number`&&typeof e.text==`string`&&K.isPath(e.path);case`set_node`:return K.isPath(e.path)&&Fq(e.properties)&&Fq(e.newProperties);case`set_selection`:return e.properties===null&&q.isRange(e.newProperties)||e.newProperties===null&&q.isRange(e.properties)||Fq(e.properties)&&Fq(e.newProperties);case`split_node`:return K.isPath(e.path)&&typeof e.position==`number`&&Fq(e.properties);default:return!1}},isOperationList(e){return Array.isArray(e)&&e.every(e=>Hq.isOperation(e))},isSelectionOperation(e){return Hq.isOperation(e)&&e.type.endsWith(`_selection`)},isTextOperation(e){return Hq.isOperation(e)&&e.type.endsWith(`_text`)},inverse(e){switch(e.type){case`insert_node`:return Vq(Vq({},e),{},{type:`remove_node`});case`insert_text`:return Vq(Vq({},e),{},{type:`remove_text`});case`merge_node`:return Vq(Vq({},e),{},{type:`split_node`,path:K.previous(e.path)});case`move_node`:var{newPath:t,path:n}=e;if(K.equals(t,n))return e;if(K.isSibling(n,t))return Vq(Vq({},e),{},{path:t,newPath:n});var r=K.transform(n,e),i=K.transform(K.next(n),e);return Vq(Vq({},e),{},{path:r,newPath:i});case`remove_node`:return Vq(Vq({},e),{},{type:`insert_node`});case`remove_text`:return Vq(Vq({},e),{},{type:`insert_text`});case`set_node`:var{properties:a,newProperties:o}=e;return Vq(Vq({},e),{},{properties:o,newProperties:a});case`set_selection`:var{properties:s,newProperties:c}=e;return s==null?Vq(Vq({},e),{},{properties:c,newProperties:null}):c==null?Vq(Vq({},e),{},{properties:null,newProperties:s}):Vq(Vq({},e),{},{properties:c,newProperties:s});case`split_node`:return Vq(Vq({},e),{},{type:`merge_node`,path:K.next(e.path)})}}},GTe=function(e){var{deep:t=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Fq(e)?typeof e.addMark==`function`&&typeof e.apply==`function`&&typeof e.deleteFragment==`function`&&typeof e.insertBreak==`function`&&typeof e.insertSoftBreak==`function`&&typeof e.insertFragment==`function`&&typeof e.insertN
564ode==`function`&&typeof e.insertText==`function`&&typeof e.isElementReadOnly==`function`&&typeof e.isInline==`function`&&typeof e.isSelectable==`function`&&typeof e.isVoid==`function`&&typeof e.normalizeNode==`function`&&typeof e.onChange==`function`&&typeof e.removeMark==`function`&&typeof e.getDirtyPaths==`function`&&(e.marks===null||Fq(e.marks))&&(e.selection===null||q.isRange(e.selection))&&(!t||Y.isNodeList(e.children))&&Hq.isOperationList(e.operations):!1},X={above(e,t){return e.above(t)},addMark(e,t,n){e.addMark(t,n)},after(e,t,n){return e.after(t,n)},before(e,t,n){return e.before(t,n)},deleteBackward(e){var{unit:t=`character`}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};e.deleteBackward(t)},deleteForward(e){var{unit:t=`character`}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};e.deleteForward(t)},deleteFragment(e,t){e.deleteFragment(t)},edges(e,t){return e.edges(t)},elementReadOnly(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.elementReadOnly(t)},end(e,t){return e.end(t)},first(e,t){return e.first(t)},fragment(e,t){return e.fragment(t)},hasBlocks(e,t){return e.hasBlocks(t)},hasInlines(e,t){return e.hasInlines(t)},hasPath(e,t){return e.hasPath(t)},hasTexts(e,t){return e.hasTexts(t)},insertBreak(e){e.insertBreak()},insertFragment(e,t,n){e.insertFragment(t,n)},insertNode(e,t){e.insertNode(t)},insertSoftBreak(e){e.insertSoftBreak()},insertText(e,t){e.insertText(t)},isBlock(e,t){return e.isBlock(t)},isEdge(e,t,n){return e.isEdge(t,n)},isEditor(e){return GTe(e)},isElementReadOnly(e,t){return e.isElementReadOnly(t)},isEmpty(e,t){return e.isEmpty(t)},isEnd(e,t,n){return e.isEnd(t,n)},isInline(e,t){return e.isInline(t)},isNormalizing(e){return e.isNormalizing()},isSelectable(e,t){return e.isSelectable(t)},isStart(e,t,n){return e.isStart(t,n)},isVoid(e,t){return e.isVoid(t)},last(e,t){return e.last(t)},leaf(e,t,n){return e.leaf(t,n)},levels(e,t){return e.levels(t)},marks(e){return e.getMarks()},next(e,t){return e.next(t)},node(e,t,n){return e.node(t,n)},nodes(e,t){return e.nodes(t)},normalize(e,t){e.normalize(t)},parent(e,t,n){return e.parent(t,n)},path(e,t,n){return e.path(t,n)},pathRef(e,t,n){return e.pathRef(t,n)},pathRefs(e){return e.pathRefs()},point(e,t,n){return e.point(t,n)},pointRef(e,t,n){return e.pointRef(t,n)},pointRefs(e){return e.pointRefs()},positions(e,t){return e.positions(t)},previous(e,t){return e.previous(t)},range(e,t,n){return e.range(t,n)},rangeRef(e,t,n){return e.rangeRef(t,n)},rangeRefs(e){return e.rangeRefs()},removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){e.setNormalizing(t)},start(e,t){return e.start(t)},string(e,t,n){return e.string(t,n)},unhangRange(e,t,n){return e.unhangRange(t,n)},void(e,t){return e.void(t)},withoutNormalizing(e,t){e.withoutNormalizing(t)},shouldMergeNodesRemovePrevNode:(e,t,n)=>e.shouldMergeNodesRemovePrevNode(t,n)},Uq={isSpan(e){return Array.isArray(e)&&e.length===2&&e.every(K.isPath)}};function Wq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Gq(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Wq(Object(n),!0).forEach(function(t){Eq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wq(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Kq={compare(e,t){var n=K.compare(e.path,t.path);return n===0?e.offset<t.offset?-1:+(e.offset>t.offset):n},isAfter(e,t){return Kq.compare(e,t)===1},isBefore(e,t){return Kq.compare(e,t)===-1},equals(e,t){return e.offset===t.offset&&K.equals(e.path,t.path)},isPoint(e){return Fq(e)&&typeof e.offset==`number`&&K.isPath(e.path)},transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(e===null)return null;var{affinity:r=`forward`}=n,{path:i,offset:a}=e;switch(t.type){case`insert_node`:case`move_node`:i=K.transform(i,t,n);break;case`insert_text`:K.equals(t.path,i)&&(t.offset<a||t.offset===a&&r===`forward`)&&(a+=t.text.length);break;case`merge_node`:K.equals(t.path,i)&&(a+=t.position),i=K.transform(i,t,n);break;case`remove_text`:K.equals(t.path,i)&&t.offset<=a&&(a-=Math.min(a-t.offset,t.text.length));break;case`remove_node`:if(K.equals(t.path,i)||K.isAncestor(t.path,i))return null;i=K.transform(i,t,n);break;case`split_node`:if(K.equals(t.path,i)){if(t.position===a&&r==null)return null;(t.position<a||t.position===a&&r===`forward`)&&(a-=t.position,i=K.transform(i,t,Gq(Gq({},n),{},{affinity:`forward`})))}else i=K.transform(i,t,n);break;default:return e}return{path:i,offset:a}}},qq=void 0,Jq={setScrubber(e){qq=e},stringify(e){return JSON.stringify(e,qq)}},KTe=[`text`],qTe=[`anchor`,`focus`,`merge`];function Yq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Xq(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
564t%2?Yq(Object(n),!0).forEach(function(t){Eq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yq(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Zq={equals(e,t){var{loose:n=!1}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};function r(e){return Lq(e,KTe)}return Iq(n?r(e):e,n?r(t):t)},isText(e){return Fq(e)&&typeof e.text==`string`},isTextList(e){return Array.isArray(e)&&e.every(e=>Zq.isText(e))},isTextProps(e){return e.text!==void 0},matches(e,t){for(var n in t)if(n!==`text`&&(!e.hasOwnProperty(n)||e[n]!==t[n]))return!1;return!0},decorations(e,t){var n=[{leaf:Xq({},e)}];for(var r of t){var{anchor:i,focus:a,merge:o}=r,s=Lq(r,qTe),[c,l]=q.edges(r),u=[],d=0,f=c.offset,p=l.offset,m=o??Object.assign;for(var{leaf:h}of n){var{length:g}=h.text,_=d;if(d+=g,f<=_&&d<=p){m(h,s),u.push({leaf:h});continue}if(f!==p&&(f===d||p===_)||f>d||p<_||p===_&&_!==0){u.push({leaf:h});continue}var v=h,y=void 0,b=void 0;if(p<d){var x=p-_;b={leaf:Xq(Xq({},v),{},{text:v.text.slice(x)})},v=Xq(Xq({},v),{},{text:v.text.slice(0,x)})}if(f>_){var S=f-_;y={leaf:Xq(Xq({},v),{},{text:v.text.slice(0,S)})},v=Xq(Xq({},v),{},{text:v.text.slice(S)})}m(v,s),y&&u.push(y),u.push({leaf:v}),b&&u.push(b)}n=u}if(n.length>1){var C=0;for(var[w,T]of n.entries()){var E=C,D=E+T.leaf.text.length,O={start:E,end:D};w===0&&(O.isFirst=!0),w===n.length-1&&(O.isLast=!0),T.position=O,C=D}}return n}},Qq=e=>e.selection?e.selection:e.children.length>0?X.end(e,[]):[0],$q=(e,t)=>{var[n]=X.node(e,t);return e=>e===n},eJ=function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=!t,r=t?$Te(e):e,i=nJ.None,a=nJ.None,o=0,s=null,c=null;for(var l of r){var u=l.codePointAt(0);if(!u)break;var d=dEe(l,u);if([i,a]=n?[a,d]:[d,i],rJ(i,nJ.ZWJ)&&rJ(a,nJ.ExtPict)&&(s=hEe(n?e.substring(0,o):e.substring(0,e.length-o)),!s)||rJ(i,nJ.RI)&&rJ(a,nJ.RI)&&(c=c===null?n?!0:_Ee(e.substring(0,e.length-o)):!c,!c)||i!==nJ.None&&a!==nJ.None&&pEe(i,a))break;o+=l.length}return o||1},JTe=/\s/,YTe=/[\u002B\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,XTe=/['\u2018\u2019]/,ZTe=function(e){for(var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=0,r=!1;e.length>0;){var i=eJ(e,t),[a,o]=tJ(e,i,t);if(QTe(a,o,t))r=!0,n+=i;else if(!r)n+=i;else break;e=o}return n},tJ=(e,t,n)=>{if(n){var r=e.length-t;return[e.slice(r,e.length),e.slice(0,r)]}return[e.slice(0,t),e.slice(t)]},QTe=function e(t,n){var r=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(JTe.test(t))return!1;if(XTe.test(t)){var[i,a]=tJ(n,eJ(n,r),r);if(e(i,a,r))return!0}return!YTe.test(t)},$Te=function*(e){for(var t=e.length-1,n=0;n<e.length;n++){var r=e.charAt(t-n);if(tEe(r.charCodeAt(0))){var i=e.charAt(t-n-1);if(eEe(i.charCodeAt(0))){yield i+r,n++;continue}}yield r}},eEe=e=>e>=55296&&e<=56319,tEe=e=>e>=56320&&e<=57343,nJ;(function(e){e[e.None=0]=`None`,e[e.Extend=1]=`Extend`,e[e.ZWJ=2]=`ZWJ`,e[e.RI=4]=`RI`,e[e.Prepend=8]=`Prepend`,e[e.SpacingMark=16]=`SpacingMark`,e[e.L=32]=`
564L`,e[e.V=64]=`V`,e[e.T=128]=`T`,e[e.LV=256]=`LV`,e[e.LVT=512]=`LVT`,e[e.ExtPict=1024]=`ExtPict`,e[e.Any=2048]=`Any`})(nJ||={});var nEe=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDEFD-\uDEFF\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC01\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDE41\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4\uDF00\uDF01\uDF36-\uDF3A\uDF40\uDF42]|\uD80D[\uDC40\uDC47-\uDC55]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC8F\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD839[\uDCEC-\uDCEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,rEe=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,iEe=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u
5640CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,aEe=/^[\u1100-\u115F\uA960-\uA97C]$/,oEe=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,sEe=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,cEe=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,lEe=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\u
564C2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,uEe=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,dEe=(e,t)=>{var n=nJ.Any;return e.search(nEe)!==-1&&(n|=nJ.Extend),t===8205&&(n|=nJ.ZWJ),t>=127462&&t<=127487&&(n|=nJ.RI),e.search(rEe)!==-1&&(n|=nJ.Prepend),e.search(iEe)!==-1&&(n|=nJ.SpacingMark),e.search(aEe)!==-1&&(n|=nJ.L),e.search(oEe)!==-1&&(n|=nJ.V),e.search(sEe)!==-1&&(n|=nJ.T),e.search(cEe)!==-1&&(n|=nJ.LV),e.search(lEe)!==-1&&(n|=nJ.LVT),e.search(uEe)!==-1&&(n|=nJ.ExtPict),n};function rJ(e,t){return(e&t)!==0}var fEe=[[nJ.L,nJ.L|nJ.V|nJ.LV|nJ.LVT],[nJ.LV|nJ.V,nJ.V|nJ.T],[nJ.LVT|nJ.T,nJ.T],[nJ.Any,nJ.Extend|nJ.ZWJ],[nJ.Any,nJ.SpacingMark],[nJ.Prepend,nJ.Any],[nJ.ZWJ,nJ.ExtPict],[nJ.RI,nJ.RI]];function pEe(e,t){return fEe.findIndex(n=>rJ(e,n[0])&&rJ(t,n[1]))===-1}var mEe=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u
5640591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDEFD-\uDEFF\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC01\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDE41\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4\uDF00\uDF01\uDF36-\uDF3A\uDF40\uDF42]|\uD80D[\uDC40\uDC47-\uDC55]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC8F\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD839[\uDCEC-\uDCEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,hEe=e=>e.search(mEe)!==-1,gEe=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,_Ee=e=>{var t=e.match(gEe);return t!==null&&t[0].length/2%2==1},vEe={delete(e,t){e.delete(t)},insertFragment(e,t,n){e.insertFragment(t,n)},insertText(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};X.withoutNormalizing(e,()=>{var{voids:r=!1}=n,{at:i=Qq(e)}=n;
564if(K.isPath(i)&&(i=X.range(e,i)),q.isRange(i)){if(q.isCollapsed(i))i=i.anchor;else{var a=q.end(i);if(!r&&X.void(e,{at:a}))return;var o=q.start(i),s=X.pointRef(e,o),c=X.pointRef(e,a);Z.delete(e,{at:i,voids:r});var l=s.unref(),u=c.unref();i=l||u,Z.setSelection(e,{anchor:i,focus:i})}}if(!(!r&&X.void(e,{at:i})||X.elementReadOnly(e,{at:i}))){var{path:d,offset:f}=i;t.length>0&&e.apply({type:`insert_text`,path:d,offset:f,text:t})}})}};function iJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function aJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?iJ(Object(n),!0).forEach(function(t){Eq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Z=aJ(aJ(aJ(aJ({},LTe),RTe),zTe),vEe),oJ=new WeakMap,yEe=e=>oJ.get(e)||!1,bEe=(e,t,n)=>{var r=oJ.get(e)||!1;oJ.set(e,!0);try{t(),n()}finally{oJ.set(e,r)}};function sJ(e,t,n){var r=vq.get(e)||[],i=yq.get(e)||new Set,a,o,s=e=>{if(e){var t=e.join(`,`);o.has(t)||(o.add(t),a.push(e))}};if(n){a=[],o=new Set;for(var c of r)s(n(c))}else a=r,o=i;for(var l of t)s(l);vq.set(e,a),yq.set(e,o)}var xEe=(e,t)=>{for(var n of X.pathRefs(e))MTe.transform(n,t);for(var r of X.pointRefs(e))NTe.transform(r,t);for(var i of X.rangeRefs(e))PTe.transform(i,t);if(!yEe(e)){var a=K.operationCanTransformPath(t)?e=>K.transform(e,t):void 0;sJ(e,e.getDirtyPaths(t),a)}Z.transform(e,t),e.operations.push(t),X.normalize(e,{operation:t}),t.type===`set_selection`&&(e.marks=null),bq.get(e)||(bq.set(e,!0),Promise.resolve().then(()=>{bq.set(e,!1),e.onChange({operation:t}),e.operations=[]}))},SEe=(e,t)=>{switch(t.type){case`insert_text`:case`remove_text`:case`set_node`:var{path:n}=t;return K.levels(n);case`insert_node`:var{node:r,path:i}=t,a=K.levels(i),o=Zq.isText(r)?[]:Array.from(Y.nodes(r),e=>{var[,t]=e;return i.concat(t)});return[...a,...o];case`merge_node`:var{path:s}=t,c=K.ancestors(s),l=K.previous(s);return[...c,l];case`move_node`:var{path:u,newPath:d}=t;if(K.equals(u,d))return[];var f=[],p=[];for(var m of K.ancestors(u)){var h=K.transform(m,t);f.push(h)}for(var g of K.ancestors(d)){var _=K.transform(g,t);p.push(_)}var v=p[p.length-1],y=d[d.length-1],b=v.concat(y);return[...f,...p,b];case`remove_node`:var{path:x}=t;return[...K.ancestors(x)];case`split_node`:var{path:S}=t,C=K.levels(S),w=K.next(S);return[...C,w];default:return[]}},CEe=e=>{var{selection:t}=e;return t?Y.fragment(e,t):[]},wEe=(e,t,n)=>{var[r,i]=t;if(!Zq.isText(r)){if(J.isElement(r)&&r.children.length===0){Z.insertNodes(e,{text:``},{at:i.concat(0),voids:!0});return}for(var a=!X.isEditor(r)&&J.isElement(r)&&(e.isInline(r)||r.children.length===0||Zq.isText(r.children[0])||e.isInline(r.children[0])),o=0,s=0;s<r.children.length;s++,o++){var c=Y.get(e,i);if(!Zq.isText(c)){var l=c.children[o],u=c.children[o-1],d=s===r.children.length-1,f=Zq.isText(l)||J.isElement(l)&&e.isInline(l);if(f!==a)f?n!=null&&n.fallbackElement?Z.wrapNodes(e,n.fallbackElement(),{at:i.concat(o),voids:!0}):Z.removeNodes(e,{at:i.concat(o),voids:!0}):Z.unwrapNodes(e,{at:i.concat(o),voids:!0}),o--;else if(J.isElement(l))e.isInline(l)&&(u==null||!Zq.isText(u)?(Z.insertNodes(e,{text:``},{at:i.concat(o),voids:!0}),o++):d&&(Z.insertNodes(e,{text:``},{at:i.concat(o+1),voids:!0}),o++));else{if(!Zq.isText(l)&&!(`children`in l)){var p=l;p.children=[]}u!=null&&Zq.isText(u)&&(Zq.equals(l,u,{loose:!0})?(Z.mergeNodes(e,{at:i.concat(o),voids:!0}),o--):u.text===``?(Z.removeNodes(e,{at:i.concat(o-1),voids:!0}),o--):l.text===``&&(Z.removeNodes(e,{at:i.concat(o),voids:!0}),o--))}}}}},TEe=(e,t)=>{var{iteration:n,initialDirtyPathsLength:r}=t,i=r*42;if(n>i)throw Error(`Could not completely normalize the editor after ${i} iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.`);return!0},EEe=function(e){var{voids:t=!1,mode:n=`lowest`,at:r=e.selection,match:i}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(r){var a=X.path(e,r);if(!q.isRange(r)||K.equals(r.focus.path,r.anchor.path)){if(a.length===0)return;a=K.parent(a)}var o=n===`lowest`,[s]=X.levels(e,{at:a,voids:t,match:i,reverse:o});return s}};function cJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
564t%2?cJ(Object(n),!0).forEach(function(t){Eq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var DEe=(e,t,n)=>{var{selection:r}=e;if(r){var i=(t,n)=>{if(!Zq.isText(t))return!1;var[r,i]=X.parent(e,n);return!e.isVoid(r)||e.markableVoid(r)},a=q.isExpanded(r),o=!1;if(!a){var[s,c]=X.node(e,r);if(s&&i(s,c)){var[l]=X.parent(e,c);o=l&&e.markableVoid(l)}}a||o?Z.setNodes(e,{[t]:n},{match:i,split:!0,voids:!0}):(e.marks=lJ(lJ({},X.marks(e)||{}),{},{[t]:n}),bq.get(e)||e.onChange())}};function uJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function dJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?uJ(Object(n),!0).forEach(function(t){Eq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var OEe=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r={anchor:X.point(e,t,{edge:`end`}),focus:X.end(e,[])},{distance:i=1}=n,a=0,o;for(var s of X.positions(e,dJ(dJ({},n),{},{at:r}))){if(a>i)break;a!==0&&(o=s),a++}return o};function fJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function pJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?fJ(Object(n),!0).forEach(function(t){Eq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var kEe=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r={anchor:X.start(e,[]),focus:X.point(e,t,{edge:`start`})},{distance:i=1}=n,a=0,o;for(var s of X.positions(e,pJ(pJ({},n),{},{at:r,reverse:!0}))){if(a>i)break;a!==0&&(o=s),a++}return o},AEe=(e,t)=>{var{selection:n}=e;n&&q.isCollapsed(n)&&Z.delete(e,{unit:t,reverse:!0})},jEe=(e,t)=>{var{selection:n}=e;n&&q.isCollapsed(n)&&Z.delete(e,{unit:t})},MEe=function(e){var{direction:t=`forward`}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=e;n&&q.isExpanded(n)&&Z.delete(e,{reverse:t===`backward`})},NEe=(e,t)=>[X.start(e,t),X.end(e,t)];function mJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function hJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?mJ(Object(n),!0).forEach(function(t){Eq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var PEe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return X.above(e,hJ(hJ({},t),{},{match:t=>J.isElement(t)&&X.isElementReadOnly(e,t)}))},FEe=(e,t)=>X.point(e,t,{edge:`end`}),IEe=(e,t)=>{var n=X.path(e,t,{edge:`start`});return X.node(e,n)},LEe=(e,t)=>{var n=X.range(e,t);return Y.fragment(e,n)};function gJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _J(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?gJ(Object(n),!0).forEach(function(t){Eq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var REe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return X.above(e,_J(_J({},t),{},{match:t=>J.isElement(t)&&X.isVoid(e,t)}))},zEe=(e,t)=>t.children.some(t=>J.isElement(t)&&X.isBlock(e,t)),BEe=(e,t)=>t.children.some(t=>Zq.isText(t)||X.isInline(e,t)),VEe=(e,t)=>Y.has(e,t),HEe=(e,t)=>t.children.every(e=>Zq.isText(e)),UEe=e=>{Z.splitNodes(e,{always:!0})},WEe=(e,t,n)=>{Z.insertNodes(e,t,n)},GEe=e=>{Z.splitNodes(e,{always:!0})};function vJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function KEe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
564t%2?vJ(Object(n),!0).forEach(function(t){Eq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var qEe=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:r,marks:i}=e;if(r){if(i){var a=KEe({text:t},i);Z.insertNodes(e,a,{at:n.at,voids:n.voids})}else Z.insertText(e,t,n);e.marks=null}},JEe=(e,t)=>!e.isInline(t),YEe=(e,t,n)=>X.isStart(e,t,n)||X.isEnd(e,t,n),XEe=(e,t)=>{var{children:n}=t,[r]=n;return n.length===0||n.length===1&&Zq.isText(r)&&r.text===``&&!e.isVoid(t)},ZEe=(e,t,n)=>{var r=X.end(e,n);return Kq.equals(t,r)},QEe=e=>{var t=xq.get(e);return t===void 0||t},$Ee=(e,t,n)=>{if(t.offset!==0)return!1;var r=X.start(e,n);return Kq.equals(t,r)},eDe=(e,t)=>{var n=X.path(e,t,{edge:`end`});return X.node(e,n)},tDe=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=X.path(e,t,n);return[Y.leaf(e,r),r]};function nDe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function*(){var{at:n=e.selection,reverse:r=!1,voids:i=!1}=t,{match:a}=t;if(a??=()=>!0,n){var o=[],s=X.path(e,n);for(var[c,l]of Y.levels(e,s))if(a(c,l)&&(o.push([c,l]),!i&&J.isElement(c)&&X.isVoid(e,c)))break;r&&o.reverse(),yield*o}}()}var rDe=[`text`],iDe=[`text`],aDe=function(e){var{marks:t,selection:n}=e;if(!n)return null;var{anchor:r,focus:i}=n;if(t)return t;if(q.isExpanded(n)){if(q.isBackward(n)&&([i,r]=[r,i]),X.isEnd(e,r,r.path)){var a=X.after(e,r);a&&(r=a)}var[o]=X.nodes(e,{match:Zq.isText,at:{anchor:r,focus:i}});if(o){var[s]=o;return Lq(s,rDe)}return{}}var{path:c}=r,[l]=X.leaf(e,c);if(r.offset===0){var u=X.previous(e,{at:c,match:Zq.isText});if(!X.above(e,{match:t=>J.isElement(t)&&X.isVoid(e,t)&&e.markableVoid(t)})){var d=X.above(e,{match:t=>J.isElement(t)&&X.isBlock(e,t)});if(u&&d){var[f,p]=u,[,m]=d;K.isAncestor(m,p)&&(l=f)}}}return Lq(l,iDe)},oDe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n=`lowest`,voids:r=!1}=t,{match:i,at:a=e.selection}=t;if(a){var o=X.after(e,a,{voids:r});if(o){var[,s]=X.last(e,[]),c=[o.path,s];if(K.isPath(a)&&a.length===0)throw Error(`Cannot get the next node from the root node!`);if(i==null){if(K.isPath(a)){var[l]=X.parent(e,a);i=e=>l.children.includes(e)}else i=()=>!0}var[u]=X.nodes(e,{at:c,match:i,mode:n,voids:r});return u}}},sDe=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=X.path(e,t,n);return[Y.get(e,r),r]};function cDe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function*(){var{at:n=e.selection,mode:r=`all`,universal:i=!1,reverse:a=!1,voids:o=!1,pass:s}=t,{match:c}=t;if(c||=()=>!0,n){var l,u;if(Uq.isSpan(n))l=n[0],u=n[1];else{var d=X.path(e,n,{edge:`start`}),f=X.path(e,n,{edge:`end`});l=a?f:d,u=a?d:f}var p=Y.nodes(e,{reverse:a,from:l,to:u,pass:t=>{var[n,r]=t;return s&&s([n,r])?!0:J.isElement(n)?!(o||!X.isVoid(e,n)&&!X.isElementReadOnly(e,n)):!1}}),m=[],h;for(var[g,_]of p){var v=h&&K.compare(_,h[1])===0;if(!(r===`highest`&&v)){if(!c(g,_)){if(i&&!v&&Zq.isText(g))return;continue}if(r===`lowest`&&v){h=[g,_];continue}var y=r===`lowest`?h:[g,_];y&&(i?m.push(y):yield y),h=[g,_]}}r===`lowest`&&h&&(i?m.push(h):yield h),i&&(yield*m)}}()}var lDe=function(e){var{force:t=!1,operation:n}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e=>vq.get(e)||[],i=e=>yq.get(e)||new Set,a=e=>{var t=r(e).pop(),n=t.join(`,`);return i(e).delete(n),t};if(X.isNormalizing(e)){if(t){var o=Array.from(Y.nodes(e),e=>{var[,t]=e;return t}),s=new Set(o.map(e=>e.join(`,`)));vq.set(e,o),yq.set(e,s)}r(e).length!==0&&X.withoutNormalizing(e,()=>{for(var t of r(e))if(Y.has(e,t)){var i=X.node(e,t),[o,s]=i;J.isElement(o)&&o.children.length===0&&e.normalizeNode(i,{operation:n})}for(var c=r(e),l=c.length,u=0;c.length!==0;){if(!e.shouldNormalize({dirtyPaths:c,iteration:u,initialDirtyPathsLength:l,operation:n}))return;var d=a(e);if(Y.has(e,d)){var f=X.node(e,d);e.normalizeNode(f,{operation:n})}u++,c=r(e)}})}},uDe=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=X.path(e,t,n),i=K.parent(r);return X.node(e,i)},dDe=function(e,t){var{affinity:n=`forward`}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r={current:t,affinity:n,unref(){var{current:t}=r;return X.pathRefs(e).delete(r),r.current=null,t}};return X.pathRefs(e).add(r),r},fDe=e=>{var t=Sq.get(e);return t||(t=new Set,Sq.set(e,t)),t},pDe=function(e,t){var{depth:n,edge:r}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(K.isPath(t)){if(r===`start`){var[,i]=Y.first(e,t);t=i}else if(r===`end`){var[,a]=Y.last(e,t);t=a}}return q.isRange(t)&&(t=r===`start`?q.start(t):r===`end`?q.end(t):K.
564common(t.anchor.path,t.focus.path)),Kq.isPoint(t)&&(t=t.path),n!=null&&(t=t.slice(0,n)),t},mDe=function(e,t){var{affinity:n=`forward`}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r={current:t,affinity:n,unref(){var{current:t}=r;return X.pointRefs(e).delete(r),r.current=null,t}};return X.pointRefs(e).add(r),r},hDe=e=>{var t=Cq.get(e);return t||(t=new Set,Cq.set(e,t)),t},gDe=function(e,t){var{edge:n=`start`}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(K.isPath(t)){var r;if(n===`end`){var[,i]=Y.last(e,t);r=i}else{var[,a]=Y.first(e,t);r=a}var o=Y.get(e,r);if(!Zq.isText(o))throw Error(`Cannot get the ${n} point in the node at path [${t}] because it has no ${n} text node.`);return{path:r,offset:n===`end`?o.text.length:0}}if(q.isRange(t)){var[s,c]=q.edges(t);return n===`start`?s:c}return t};function _De(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function*(){var{at:n=e.selection,unit:r=`offset`,reverse:i=!1,voids:a=!1}=t;if(!n)return;var o=X.range(e,n),[s,c]=q.edges(o),l=i?c:s,u=!1,d=``,f=0,p=0,m=0;for(var[h,g]of X.nodes(e,{at:n,reverse:i,voids:a})){if(J.isElement(h)){if(!e.isSelectable(h)){if(i){yield X.end(e,K.previous(g));continue}yield X.start(e,K.next(g));continue}if(!a&&(e.isVoid(h)||e.isElementReadOnly(h))){yield X.start(e,g);continue}if(e.isInline(h))continue;if(X.hasInlines(e,h)){var _=K.isAncestor(g,c.path)?c:X.end(e,g),v=K.isAncestor(g,s.path)?s:X.start(e,g);d=X.string(e,{anchor:v,focus:_},{voids:a}),u=!0}}if(Zq.isText(h)){var y=K.equals(g,l.path);for(y?(p=i?l.offset:h.text.length-l.offset,m=l.offset):(p=h.text.length,m=i?p:0),(y||u||r===`offset`)&&(yield{path:g,offset:m},u=!1);;){if(f===0){if(d===``)break;f=b(d,r,i),d=tJ(d,f,i)[1]}if(m=i?m-f:m+f,p-=f,p<0){f=-p;break}f=0,yield{path:g,offset:m}}}}function b(e,t,n){return t===`character`?eJ(e,n):t===`word`?ZTe(e,n):t===`line`||t===`block`?e.length:1}}()}var vDe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n=`lowest`,voids:r=!1}=t,{match:i,at:a=e.selection}=t;if(a){var o=X.before(e,a,{voids:r});if(o){var[,s]=X.first(e,[]),c=[o.path,s];if(K.isPath(a)&&a.length===0)throw Error(`Cannot get the previous node from the root node!`);if(i==null){if(K.isPath(a)){var[l]=X.parent(e,a);i=e=>l.children.includes(e)}else i=()=>!0}var[u]=X.nodes(e,{reverse:!0,at:c,match:i,mode:n,voids:r});return u}}},yDe=function(e,t){var{affinity:n=`forward`}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r={current:t,affinity:n,unref(){var{current:t}=r;return X.rangeRefs(e).delete(r),r.current=null,t}};return X.rangeRefs(e).add(r),r},bDe=e=>{var t=wq.get(e);return t||(t=new Set,wq.set(e,t)),t},xDe=(e,t,n)=>q.isRange(t)&&!n?t:{anchor:X.start(e,t),focus:X.end(e,n||t)};function yJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function SDe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?yJ(Object(n),!0).forEach(function(t){Eq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var CDe=(e,t)=>{var{selection:n}=e;if(n){var r=(t,n)=>{if(!Zq.isText(t))return!1;var[r,i]=X.parent(e,n);return!e.isVoid(r)||e.markableVoid(r)},i=q.isExpanded(n),a=!1;if(!i){var[o,s]=X.node(e,n);if(o&&r(o,s)){var[c]=X.parent(e,s);a=c&&e.markableVoid(c)}}if(i||a)Z.unsetNodes(e,t,{match:r,split:!0,voids:!0});else{var l=SDe({},X.marks(e)||{});delete l[t],e.marks=l,bq.get(e)||e.onChange()}}},wDe=(e,t)=>{xq.set(e,t)},TDe=(e,t)=>X.point(e,t,{edge:`start`}),EDe=function(e,t){var{voids:n=!1}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=X.range(e,t),[i,a]=q.edges(r),o=``;for(var[s,c]of X.nodes(e,{at:r,match:Zq.isText,voids:n})){var l=s.text;K.equals(c,a.path)&&(l=l.slice(0,a.offset)),K.equals(c,i.path)&&(l=l.slice(i.offset)),o+=l}return o},DDe=function(e,t){var{voids:n=!1}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},[r,i]=q.edges(t);if(r.offset!==0||i.offset!==0||q.isCollapsed(t)||K.hasPrevious(i.path))return t;var a=X.above(e,{at:i,match:t=>J.isElement(t)&&X.isBlock(e,t),voids:n}),o=a?a[1]:[],s={anchor:X.start(e,r),focus:i},c=!0;for(var[l,u]of X.nodes(e,{at:s,match:Zq.isText,reverse:!0,voids:n})){if(c){c=!1;continue}if(l.text!==``||K.isBefore(u,o)){i={path:u,offset:l.text.length};break}}return{anchor:r,focus:i}},ODe=(e,t)=>{var n=X.isNormalizing(e);X.setNormalizing(e,!1);try{t()}finally{X.setNormalizing(e,n)}X.normalize(e)},kDe=(e,t,n)=>{var[r,i]=t;return J.isElement(r)&&X.isEmpty(e,r)||Zq.isText(r)&&r.text===``&&i[i.length-1]!==0},ADe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};X.withoutNormalizing(e,()=>{var{reverse:n=!1,unit:r=`character`,distance:i=1,voids:a=!1}=t,{at:o=e.selection,hanging:s=!1}=t;if(o){var c=!1;if(q.isRange(o)&&q.isCollapsed(o)&&(c=!0,o=o.anchor),Kq.isPoint(o)){var l=X.void(e,{at:o,mode:`highest`});if(!a&&l){var[,u]=l;o=u}else{var d={unit:r,distance:i},f=n?X.before(e,o,d)||X.start(e,[]):X.after(e,o,d)||X.end(e,[]);o={anchor:o,focus:f},s=!0}}if(K.isPath(o)){Z.removeNodes(e,{at:o,voids:a});return}if(!q.isCollapsed(o)){if(!s){var[,p]=q.edges(o),m=X.end(e,[]);Kq.equals(p,m)||(o=X.unhangRange(e,o,{voids:a}))}var[h,g]=q.edges(o),_=X.above(e,{match:t=>J.isElement(t)&&X.isBlock(e,t),at:h,voids:a}),v=X.above(e,{match:t=>J.isElement(t)&&X.isBlock(e,t),at:g,voids:a}),y=_&&v&&!K.equals(_[1],v[1]),b=K.equals(h.path,g.path),x=a?null:X.void(e,{at:h,mode:`highest`})??X.elementReadOnly(e,{at:h,mode:`highest`}),S=a?null:X.void(e,{at:g,mode:`highest`})??X.elementReadOnly(e,{at:g,mode:`highest`});if(x){var C=X.before(e,h);C&&_&&K.isAncestor(_[1],C.path)&&(h=C)}if(S){var w=X.after(e,g);w&&v&&K.isAncestor(v[1],w.path)&&(g=w)}var T=[],E;for(var D of X.nodes(e,{at:o,voids:a})){var[O,k]=D;E&&K.compare(k,E)===0||(!a&&J.isElement(O)&&(X.isVoid(e,O)||X.isElementReadOnly(e,O))||!K.isCommon(k,h.path)&&!K.isCommon(k,g.path))&&(T.push(D),E=k)}var A=Array.from(T,t=>{var[,n]=t;return X.pathRef(e,n)}),j=X.pointRef(e,h),M=X.pointRef(e,g),ee=``;if(!b&&!x){var N=j.current,[te]=X.leaf(e,N),{path:ne}=N,{offset:re}=h,ie=te.text.slice(re);ie.length>0&&(e.apply({type:`remove_text`,path:ne,offset:re,text:ie}),ee=ie)}if(A.reverse().map(e=>e.unref()).filter(e=>e!==null).forEach(t=>Z.removeNodes(e,{at:t,voids:a})),!S){var P=M.current,[F]=X.leaf(e,P),{path:ae}=P,oe=b?h.offset:0,se=F.text.slice(oe,g.offset);se.length>0&&(e.apply({type:`remove_text`,path:ae,offset:oe,text:se}),ee=se)}!b&&y&&M.current&&j.current&&Z.mergeNodes(e,{at:M.current,hanging:!0,voids:a}),c&&n&&r===`character`&&ee.length>1&&ee.match(/[\u0980-\u09FF\u0E00-\u0E7F\u1000-\u109F\u0900-\u097F\u1780-\u17FF\u0D00-\u0D7F\u0B00-\u0B7F\u0A00-\u0A7F\u0B80-\u0BFF\u0C00-\u0C7F]+/)&&Z.insertText(e,ee.slice(0,ee.length-i));var ce=j.unref(),le=M.unref(),ue=n?ce||le:le||ce;t.at==null&&ue&&Z.select(e,ue)}}})},jDe=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};X.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:i=!1}=n,{at:a=Qq(e),batchDirty:o=!0}=n;if(t.length){if(q.isRange(a)){if(r||(a=X.unhangRange(e,a,{voids:i})),q.isCollapsed(a))a=a.anchor;else{var[,s]=q.edges(a);if(!i&&X.void(e,{at:s}))return;var c=X.pointRef(e,s);Z.delete(e,{at:a}),a=c.unref()}}else K.isPath(a)&&(a=X.start(e,a));if(i||!X.void(e,{at:a})){var l=X.above(e,{at:a,match:t=>J.isElement(t)&&X.isInline(e,t),mode:`highest`,voids:i});if(l){var[,u]=l;X.isEnd(e,a,u)?a=X.after(e,u):X.isStart(e,a,u)&&(a=X.before(e,u))}var[,d]=X.above(e,{match:t=>J.isElement(t)&&X.isBlock(e,t),at:a,voids:i}),f=X.isStart(e,a,d),p=X.isEnd(e,a,d),m=f&&p,[,h]=Y.first({children:t},[]),[,g]=Y.last({children:t},[]),_=t=>{var[n,r]=t;return r.length===0?!1:m?!0:!(!f&&K.isAncestor(r,h)&&J.isElement(n)&&!e.isVoid(n)&&!e.isInline(n)||!p&&K.isAncestor(r,g)&&J.
564isElement(n)&&!e.isVoid(n)&&!e.isInline(n))},v=!0,y=[],b=[],x=[];for(var S of Y.nodes({children:t},{pass:_})){var[C,w]=S;v&&J.isElement(C)&&!e.isInline(C)&&!K.isAncestor(w,h)&&(v=!1),_(S)&&(J.isElement(C)&&!e.isInline(C)?(v=!1,b.push(C)):v?y.push(C):x.push(C))}var[T]=X.nodes(e,{at:a,match:t=>Zq.isText(t)||X.isInline(e,t),mode:`highest`,voids:i}),[,E]=T,D=X.isStart(e,a,E),O=X.isEnd(e,a,E),k=X.pathRef(e,p&&!x.length?K.next(d):d),A=X.pathRef(e,O?K.next(E):E),j=x.length>0;Z.splitNodes(e,{at:a,match:t=>j?J.isElement(t)&&X.isBlock(e,t):Zq.isText(t)||X.isInline(e,t),mode:j?`lowest`:`highest`,always:j&&(!f||y.length>0)&&(!p||x.length>0),voids:i});var M=X.pathRef(e,!D||D&&O?K.next(E):E);if(Z.insertNodes(e,y,{at:M.current,match:t=>Zq.isText(t)||X.isInline(e,t),mode:`highest`,voids:i,batchDirty:o}),m&&!y.length&&b.length&&!x.length&&Z.delete(e,{at:d,voids:i}),Z.insertNodes(e,b,{at:k.current,match:t=>J.isElement(t)&&X.isBlock(e,t),mode:`lowest`,voids:i,batchDirty:o}),Z.insertNodes(e,x,{at:A.current,match:t=>Zq.isText(t)||X.isInline(e,t),mode:`highest`,voids:i,batchDirty:o}),!n.at){var ee;if(x.length>0&&A.current?ee=K.previous(A.current):b.length>0&&k.current?ee=K.previous(k.current):M.current&&(ee=K.previous(M.current)),ee){var N=X.end(e,ee);Z.select(e,N)}}M.unref(),k.unref(),A.unref()}}})},MDe=function(e){var{edge:t=`anchor`}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=e;if(n){if(t===`anchor`)Z.select(e,n.anchor);else if(t===`focus`)Z.select(e,n.focus);else if(t===`start`){var[r]=q.edges(n);Z.select(e,r)}else if(t===`end`){var[,i]=q.edges(n);Z.select(e,i)}}},NDe=e=>{var{selection:t}=e;t&&e.apply({type:`set_selection`,properties:t,newProperties:null})},PDe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=e,{distance:r=1,unit:i=`character`,reverse:a=!1}=t,{edge:o=null}=t;if(n){o===`start`&&(o=q.isBackward(n)?`focus`:`anchor`),o===`end`&&(o=q.isBackward(n)?`anchor`:`focus`);var{anchor:s,focus:c}=n,l={distance:r,unit:i},u={};if(o==null||o===`anchor`){var d=a?X.before(e,s,l):X.after(e,s,l);d&&(u.anchor=d)}if(o==null||o===`focus`){var f=a?X.before(e,c,l):X.after(e,c,l);f&&(u.focus=f)}Z.setSelection(e,u)}},FDe=(e,t)=>{var{selection:n}=e;if(t=X.range(e,t),n){Z.setSelection(e,t);return}if(!q.isRange(t))throw Error(`When setting the selection and the current selection is \`null\` you must provide at least an \`anchor\` and \`focus\`, but you passed: ${Jq.stringify(t)}`);e.apply({type:`set_selection`,properties:n,newProperties:t})};function bJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?bJ(Object(n),!0).forEach(function(t){Eq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var IDe=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:r}=e,{edge:i=`both`}=n;if(r){i===`start`&&(i=q.isBackward(r)?`focus`:`anchor`),i===`end`&&(i=q.isBackward(r)?`anchor`:`focus`);var{anchor:a,focus:o}=r,s=i===`anchor`?a:o;Z.setSelection(e,{[i===`anchor`?`anchor`:`focus`]:xJ(xJ({},s),t)})}},LDe=(e,t)=>{var{selection:n}=e,r={},i={};if(n){for(var a in t)(a===`anchor`&&t.anchor!=null&&!Kq.equals(t.anchor,n.anchor)||a===`focus`&&t.focus!=null&&!Kq.equals(t.focus,n.focus)||a!==`anchor`&&a!==`focus`&&t[a]!==n[a])&&(r[a]=n[a],i[a]=t[a]);Object.keys(r).length>0&&e.apply({type:`set_selection`,properties:r,newProperties:i})}},RDe=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};X.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:i=!1,mode:a=`lowest`,batchDirty:o=!0}=n,{at:s,match:c,select:l}=n;if(Y.isNode(t)&&(t=[t]),t.length!==0){var[u]=t;if(s||(s=Qq(e),l!==!1&&(l=!0)),l??=!1,q.isRange(s)){if(r||(s=X.unhangRange(e,s,{voids:i})),q.isCollapsed(s))s=s.anchor;else{var[,d]=q.edges(s),f=X.pointRef(e,d);Z.delete(e,{at:s}),s=f.unref()}}if(Kq.isPoint(s)){c??=Zq.isText(u)?e=>Zq.isText(e):e.isInline(u)?t=>Zq.isText(t)||X.isInline(e,t):t=>J.isElement(t)&&X.isBlock(e,t);var[p]=X.nodes(e,{at:s.path,match:c,mode:a,voids:i});if(p){var[,m]=p,h=X.pathRef(e,m),g=X.isEnd(e,s,m);Z.splitNodes(e,{at:s,match:c,mode:a,voids:i});var _=h.unref();s=g?K.next(_):_}else return}var v=K.parent(s),y=s[s.length-1];if(i||!X.void(e,{at:v}
564)){if(o){var b=[],x=K.levels(v);bEe(e,()=>{var n=function(){var t=v.concat(y);y++;var n={type:`insert_node`,path:t,node:r};e.apply(n),s=K.next(s),b.push(n),Zq.isText(r)?x.push(t):x.push(...Array.from(Y.nodes(r),e=>{var[,n]=e;return t.concat(n)}))};for(var r of t)n()},()=>{sJ(e,x,e=>{var t=e;for(var n of b)if(K.operationCanTransformPath(n)&&(t=K.transform(t,n),!t))return null;return t})})}else for(var S of t){var C=v.concat(y);y++,e.apply({type:`insert_node`,path:C,node:S}),s=K.next(s)}if(s=K.previous(s),l){var w=X.end(e,s);w&&Z.select(e,w)}}}})},zDe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};X.withoutNormalizing(e,()=>{var{at:n=e.selection,mode:r=`lowest`,voids:i=!1}=t,{match:a}=t;if(a??=K.isPath(n)?$q(e,n):t=>J.isElement(t)&&X.isBlock(e,t),n){var o=X.nodes(e,{at:n,match:a,mode:r,voids:i});for(var s of Array.from(o,t=>{var[,n]=t;return X.pathRef(e,n)})){var c=s.unref();if(c.length<2)throw Error(`Cannot lift node at a path [${c}] because it has a depth of less than \`2\`.`);var[l,u]=X.node(e,K.parent(c)),d=c[c.length-1],{length:f}=l.children;if(f===1){var p=K.next(u);Z.moveNodes(e,{at:c,to:p,voids:i}),Z.removeNodes(e,{at:u,voids:i})}else if(d===0)Z.moveNodes(e,{at:c,to:u,voids:i});else if(d===f-1){var m=K.next(u);Z.moveNodes(e,{at:c,to:m,voids:i})}else{var h=K.next(c),g=K.next(u);Z.splitNodes(e,{at:h,voids:i}),Z.moveNodes(e,{at:c,to:g,voids:i})}}}})},BDe=[`text`],VDe=[`children`],SJ=(e,t)=>{if(J.isElement(t)){var n=t;return X.isVoid(e,t)?!0:n.children.length===1&&SJ(e,n.children[0])}return!X.isEditor(t)},HDe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};X.withoutNormalizing(e,()=>{var{match:n,at:r=e.selection}=t,{hanging:i=!1,voids:a=!1,mode:o=`lowest`}=t;if(r){if(n==null){if(K.isPath(r)){var[s]=X.parent(e,r);n=e=>s.children.includes(e)}else n=t=>J.isElement(t)&&X.isBlock(e,t)}if(!i&&q.isRange(r)&&(r=X.unhangRange(e,r,{voids:a})),q.isRange(r)){if(q.isCollapsed(r))r=r.anchor;else{var[,c]=q.edges(r),l=X.pointRef(e,c);Z.delete(e,{at:r}),r=l.unref(),t.at??Z.select(e,r)}}var[u]=X.nodes(e,{at:r,match:n,voids:a,mode:o}),d=X.previous(e,{at:r,match:n,voids:a,mode:o});if(u&&d){var[f,p]=u,[m,h]=d;if(p.length!==0&&h.length!==0){var g=K.next(h),_=K.common(p,h),v=K.isSibling(p,h),y=Array.from(X.levels(e,{at:p}),e=>{var[t]=e;return t}).slice(_.length).slice(0,-1),b=X.above(e,{at:p,mode:`highest`,match:t=>y.includes(t)&&SJ(e,t)}),x=b&&X.pathRef(e,b[1]),S,C;if(Zq.isText(f)&&Zq.isText(m)){var w=Lq(f,BDe);C=m.text.length,S=w}else if(J.isElement(f)&&J.isElement(m)){var w=Lq(f,VDe);C=m.children.length,S=w}else throw Error(`Cannot merge the node at path [${p}] with the previous sibling because it is not the same kind: ${Jq.stringify(f)} ${Jq.stringify(m)}`);v||Z.moveNodes(e,{at:p,to:g,voids:a}),x&&Z.removeNodes(e,{at:x.current,voids:a}),X.shouldMergeNodesRemovePrevNode(e,d,u)?Z.removeNodes(e,{at:h,voids:a}):e.apply({type:`merge_node`,path:g,position:C,properties:S}),x&&x.unref()}}}})},UDe=(e,t)=>{X.withoutNormalizing(e,()=>{var{to:n,at:r=e.selection,mode:i=`lowest`,voids:a=!1}=t,{match:o}=t;if(r){o??=K.isPath(r)?$q(e,r):t=>J.isElement(t)&&X.isBlock(e,t);var s=X.pathRef(e,n),c=X.nodes(e,{at:r,match:o,mode:i,voids:a});for(var l of Array.from(c,t=>{var[,n]=t;return X.pathRef(e,n)})){var u=l.unref(),d=s.current;u.length!==0&&e.apply({type:`move_node`,path:u,newPath:d}),s.current&&K.isSibling(d,u)&&K.isAfter(d,u)&&(s.current=K.next(s.current))}s.unref()}})},WDe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};X.withoutNormalizing(e,()=>{var{hanging:n=!1,voids:r=!1,mode:i=`lowest`}=t,{at:a=e.selection,match:o}=t;if(a){o??=K.isPath(a)?$q(e,a):t=>J.isElement(t)&&X.isBlock(e,t),!n&&q.isRange(a)&&(a=X.unhangRange(e,a,{voids:r}));var s=X.nodes(e,{at:a,match:o,mode:i,voids:r});for(var c of Array.from(s,t=>{var[,n]=t;return X.pathRef(e,n)})){var l=c.unref();if(l){var[u]=X.node(e,l);e.apply({type:`remove_node`,path:l,node:u})}}}})},GDe=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};X.withoutNormalizing(e,()=>{var{match:r,at:i=e.selection,compare:a,merge:o}=n,{hanging:s=!1,mode:c=`lowest`,split:l=!1,voids:u=!1}=n;if(i){if(r??=K.isPath(i)?$q(e,i):t=>J.isElement(t)&&X.isBlock(e,t),!s&&q.isRange(i)&&(i=X.unhangRange(e,i,{voids:u}
564)),l&&q.isRange(i)){if(q.isCollapsed(i)&&X.leaf(e,i.anchor)[0].text.length>0)return;var d=X.rangeRef(e,i,{affinity:`inward`}),[f,p]=q.edges(i),m=c===`lowest`?`lowest`:`highest`,h=X.isEnd(e,p,p.path);Z.splitNodes(e,{at:p,match:r,mode:m,voids:u,always:!h});var g=X.isStart(e,f,f.path);Z.splitNodes(e,{at:f,match:r,mode:m,voids:u,always:!g}),i=d.unref(),n.at??Z.select(e,i)}a||=(e,t)=>e!==t;for(var[_,v]of X.nodes(e,{at:i,match:r,mode:c,voids:u})){var y={},b={};if(v.length!==0){var x=!1;for(var S in t)S!==`children`&&S!==`text`&&a(t[S],_[S])&&(x=!0,_.hasOwnProperty(S)&&(y[S]=_[S]),o?t[S]!=null&&(b[S]=o(_[S],t[S])):t[S]!=null&&(b[S]=t[S]));x&&e.apply({type:`set_node`,path:v,properties:y,newProperties:b})}}}})},KDe=(e,t)=>{if(q.isCollapsed(t))return t.anchor;var[,n]=q.edges(t),r=X.pointRef(e,n);return Z.delete(e,{at:t}),r.unref()},qDe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};X.withoutNormalizing(e,()=>{var{mode:n=`lowest`,voids:r=!1}=t,{match:i,at:a=e.selection,height:o=0,always:s=!1}=t;if(i??=t=>J.isElement(t)&&X.isBlock(e,t),q.isRange(a)&&(a=KDe(e,a)),K.isPath(a)){var c=a,l=X.point(e,c),[u]=X.parent(e,c);i=e=>e===u,o=l.path.length-c.length+1,a=l,s=!0}if(a){var d=X.pointRef(e,a,{affinity:`backward`}),f;try{var[p]=X.nodes(e,{at:a,match:i,mode:n,voids:r});if(!p)return;var m=X.void(e,{at:a,mode:`highest`}),h=0;if(!r&&m){var[g,_]=m;if(J.isElement(g)&&e.isInline(g)){var v=X.after(e,_);if(!v){var y={text:``},b=K.next(_);Z.insertNodes(e,y,{at:b,voids:r}),v=X.point(e,b)}a=v,s=!0}o=a.path.length-_.length+1,s=!0}f=X.pointRef(e,a);var x=a.path.length-o,[,S]=p,C=a.path.slice(0,x),w=o===0?a.offset:a.path[x]+h;for(var[T,E]of X.levels(e,{at:C,reverse:!0,voids:r})){var D=!1;if(E.length<S.length||E.length===0||!r&&J.isElement(T)&&X.isVoid(e,T))break;var O=d.current,k=X.isEnd(e,O,E);if(s||!d||!X.isEdge(e,O,E)){D=!0;var A=Y.extractProps(T);e.apply({type:`split_node`,path:E,position:w,properties:A})}w=E[E.length-1]+(D||k?1:0)}if(t.at==null){var j=f.current||X.end(e,[]);Z.select(e,j)}}finally{var M;d.unref(),(M=f)==null||M.unref()}}})},JDe=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Array.isArray(t)||(t=[t]);var r={};for(var i of t)r[i]=null;Z.setNodes(e,r,n)},YDe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};X.withoutNormalizing(e,()=>{var{mode:n=`lowest`,split:r=!1,voids:i=!1}=t,{at:a=e.selection,match:o}=t;if(a){o??=K.isPath(a)?$q(e,a):t=>J.isElement(t)&&X.isBlock(e,t),K.isPath(a)&&(a=X.range(e,a));var s=q.isRange(a)?X.rangeRef(e,a):null,c=X.nodes(e,{at:a,match:o,mode:n,voids:i}),l=Array.from(c,t=>{var[,n]=t;return X.pathRef(e,n)}).reverse(),u=function(){var t=d.unref(),[n]=X.node(e,t),a=X.range(e,t);r&&s&&(a=q.intersection(s.current,a)),Z.liftNodes(e,{at:a,match:e=>J.isAncestor(n)&&n.children.includes(e),voids:i})};for(var d of l)u();s&&s.unref()}})};function CJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function wJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?CJ(Object(n),!0).forEach(function(t){Eq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var XDe=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};X.withoutNormalizing(e,()=>{var{mode:r=`lowest`,split:i=!1,voids:a=!1}=n,{match:o,at:s=e.selection}=n;if(s){if(o??=K.isPath(s)?$q(e,s):e.isInline(t)?t=>J.isElement(t)&&X.isInline(e,t)||Zq.isText(t):t=>J.isElement(t)&&X.isBlock(e,t),i&&q.isRange(s)){var[c,l]=q.edges(s),u=X.rangeRef(e,s,{affinity:`inward`});Z.splitNodes(e,{at:l,match:o,voids:a}),Z.splitNodes(e,{at:c,match:o,voids:a}),s=u.unref(),n.at??Z.select(e,s)}var d=Array.from(X.nodes(e,{at:s,match:e.isInline(t)?t=>J.isElement(t)&&X.isBlock(e,t):e=>X.isEditor(e),mode:`lowest`,voids:a})),f=function(){var n=q.isRange(s)?q.intersection(s,X.range(e,p)):s;if(!n)return 0;var i=Array.from(X.nodes(e,{at:n,match:o,mode:r,voids:a}));if(i.length>0){var[c]=i,l=i[i.length-1],[,u]=c,[,d]=l;if(u.length===0&&d.length===0)return 0;var f=K.equals(u,d)?K.parent(u):K.common(u,d),m=X.range(e,u,d),[h]=X.node(e,f),g=f.length+1,_=K.next(d.slice(0,g)),v=wJ(wJ({},t),{},{children:[]});Z.insertNodes(e,v,{at:_,voids:a}),Z.moveNodes(e,{at:m,match:e=>
564J.isAncestor(h)&&h.children.includes(e),to:_.concat(0),voids:a})}};for(var[,p]of d)f()}})},TJ=()=>{var e={children:[],operations:[],selection:null,marks:null,isElementReadOnly:()=>!1,isInline:()=>!1,isSelectable:()=>!0,isVoid:()=>!1,markableVoid:()=>!1,onChange:()=>{},apply:function(){return xEe(e,...arguments)},addMark:function(){return DEe(e,...arguments)},deleteBackward:function(){return AEe(e,...arguments)},deleteForward:function(){return jEe(e,...arguments)},deleteFragment:function(){return MEe(e,...arguments)},getFragment:function(){return CEe(e,...arguments)},insertBreak:function(){return UEe(e,...arguments)},insertSoftBreak:function(){return GEe(e,...arguments)},insertFragment:function(){return jDe(e,...arguments)},insertNode:function(){return WEe(e,...arguments)},insertText:function(){return qEe(e,...arguments)},normalizeNode:function(){return wEe(e,...arguments)},removeMark:function(){return CDe(e,...arguments)},getDirtyPaths:function(){return SEe(e,...arguments)},shouldNormalize:function(){return TEe(e,...arguments)},above:function(){return EEe(e,...arguments)},after:function(){return OEe(e,...arguments)},before:function(){return kEe(e,...arguments)},collapse:function(){return MDe(e,...arguments)},delete:function(){return ADe(e,...arguments)},deselect:function(){return NDe(e,...arguments)},edges:function(){return NEe(e,...arguments)},elementReadOnly:function(){return PEe(e,...arguments)},end:function(){return FEe(e,...arguments)},first:function(){return IEe(e,...arguments)},fragment:function(){return LEe(e,...arguments)},getMarks:function(){return aDe(e,...arguments)},hasBlocks:function(){return zEe(e,...arguments)},hasInlines:function(){return BEe(e,...arguments)},hasPath:function(){return VEe(e,...arguments)},hasTexts:function(){return HEe(e,...arguments)},insertNodes:function(){return RDe(e,...arguments)},isBlock:function(){return JEe(e,...arguments)},isEdge:function(){return YEe(e,...arguments)},isEmpty:function(){return XEe(e,...arguments)},isEnd:function(){return ZEe(e,...arguments)},isNormalizing:function(){return QEe(e,...arguments)},isStart:function(){return $Ee(e,...arguments)},last:function(){return eDe(e,...arguments)},leaf:function(){return tDe(e,...arguments)},levels:function(){return nDe(e,...arguments)},liftNodes:function(){return zDe(e,...arguments)},mergeNodes:function(){return HDe(e,...arguments)},move:function(){return PDe(e,...arguments)},moveNodes:function(){return UDe(e,...arguments)},next:function(){return oDe(e,...arguments)},node:function(){return sDe(e,...arguments)},nodes:function(){return cDe(e,...arguments)},normalize:function(){return lDe(e,...arguments)},parent:function(){return uDe(e,...arguments)},path:function(){return pDe(e,...arguments)},pathRef:function(){return dDe(e,...arguments)},pathRefs:function(){return fDe(e,...arguments)},point:function(){return gDe(e,...arguments)},pointRef:function(){return mDe(e,...arguments)},pointRefs:function(){return hDe(e,...arguments)},positions:function(){return _De(e,...arguments)},previous:function(){return vDe(e,...arguments)},range:function(){return xDe(e,...arguments)},rangeRef:function(){return yDe(e,...arguments)},rangeRefs:function(){return bDe(e,...arguments)},removeNodes:function(){return WDe(e,...arguments)},select:function(){return FDe(e,...arguments)},setNodes:function(){return GDe(e,...arguments)},setNormalizing:function(){return wDe(e,...arguments)},setPoint:function(){return IDe(e,...arguments)},setSelection:function(){return LDe(e,...arguments)},splitNodes:function(){return qDe(e,...arguments)},start:function(){return TDe(e,...arguments)},string:function(){return EDe(e,...arguments)},unhangRange:function(){return DDe(e,...arguments)},unsetNodes:function(){return JDe(e,...arguments)},unwrapNodes:function(){return YDe(e,...arguments)},void:function(){return REe(e,...arguments)},withoutNormalizing:function(){return ODe(e,...arguments)},wrapNodes:function(){return XDe(e,...arguments)},shouldMergeNodesRemovePrevNode:function(){return kDe(e,...arguments)}};return e};function EJ(e,t,n=e.selection){if(!n)return[];let r=ZDe(n),i=X.nodes(e,{at:n,match:t.isListItemNode});return Array.from(i).filter(([,e])=>{let[,t]=K.ancestors(r,{reverse:!0}),n=K.equals(e,t),i=K.isDescendant(r,e),a=K.isAfter(r,e);return i?!a&&n:!a})}function ZDe(e){if(q.isRange(e))return q.start(e).path;if(Kq.isPoint(e))return e.path;if(Uq.isSpan(e)){let[t,n]=e;return K.compare(t,n)<=0?t:n}return e}function DJ(e,t,n){return X.above(e,{at:n,match:e=>t.isListItemNode(e)})??null}function OJ(e,t){let n;try{n=K.previous(t)}catch{return null}return Y.has(e,n)?[Y.get(e,n),n]:null}function kJ(e,t){return t?q.isRange(t)?q.isCollapsed(t)?t.focus:null:Uq.isSpan(t)?K.equals(t[0],t[1])?kJ(e,t[0]):null:K.isPath(t)?X.point(e,t,{edge:`start`}):t:null}function AJ(e,t,n){let r=X.start(e,n),i=X.end(e,n),a=Kq.equals(t,r);return{isEnd:Kq.equals(t,i),isStart:a}}function jJ(e,t,n=e.selection){let r=kJ(e,n);if(!r)return!1;let i=EJ(e,t,r);if(i.length!==1)return!1;let[[,a]]=i,{isStart:o}=AJ(e,r,a);return o}function MJ(e,t,n=e.selection){let r=EJ(e,t,n);if(r.length===0)return!0;let[[,i]]=r,a=DJ(e,t,i)!==null,o=OJ(e,i)===null;return a||!o||!jJ(e,t)}function NJ(e,t,n){return X.above(e,{at:n,match:e=>t.isListNode(e)})??null}function PJ(e,t,n){return EJ(e,t,n).map(([,n])=>NJ(e,t,n)).filter(e=>e!==null)}var FJ;(function(e){e.ORDERED=`ol`,e.UNORDERED=`ul`})(FJ||={});function IJ(e,t){let n=J.isElement(t);return n&&e.isListNode(t,FJ.ORDERED)?FJ.ORDERED:(n&&e.isListNode(t,FJ.UNORDERED),FJ.UNORDERED)}function LJ(e,t,n){let r=[...n,1];if(!Y.has(e,r))return null;let i=Y.get(e,r);return J.isElement(i)&&t.isListNode(i)?[i,r]:null}function QDe(e,t){let n;try{n=K.next(t)}catch{return null}return Y.has(e,n)?[Y.get(e,n),n]:null}function RJ(e,t,n){return J.isElement(n)&&t.isListItemNode(n)?n.children.some(n=>J.isElement(n)&&t.isListItemTextNode(n)&&!X.isEmpty(e,n)):!1}function zJ(e,t,n=e.selection){let r=kJ(e,n);if(!r)return!1;let i=EJ(e,t,r);if(i.length!==1)return!1;let[[a]]=i;return!RJ(e,t,a)}function BJ(e){return e.children.some(Zq.isText)}function VJ(e){return`children`in e}function $De(e,t,n=e.selection){if(!n)return!1;for(let[r]of X.levels(e,{at:n}))if(t.isListNode(r))return!0;return!1}function HJ(e){return e.filter(([,t])=>!K.ancestors(t).some(t=>e.some(([,e])=>K.equals(e,t))))}var UJ=new WeakMap;function eOe(e,t){UJ.set(e,t)}function WJ(e){return UJ.has(e)}function GJ(e){let t=UJ.get(e);if(!t)throw Error(`This editor instance does not have a ListsSchema associated. Make sure you initialize it with withLists() before using ListsEditor functionality.`);return t}function KJ(e,t,n){let r=OJ(e,n);if(!r)return!1;let[i,a]=r;if(!t.isListItemNode(i))return!1;let o=[...a,1],s=Y.has(e,o),c=!1;return X.withoutNormalizing(e,()=>{if(!s){let r=K.ancestors(n,{reverse:!0})[0],i=Y.get(e,r);Z.insertNodes(e,t.createListNode(IJ(t,i),{children:[]}),{at:o}),c=!0}let r=Y.get(e,o);if(J.isElement(r)&&t.isListNode(r)){let t=s?r.children.length:0;Z.moveNodes(e,{at:n,to:[...o,t]}),c=!0}}),c}function qJ(e,t,n){let r=NJ(e,t,n);if(!r)return!1;let[i,a]=r,o=DJ(e,t,n),s=n[n.length-1],c=i.children.slice(0,s),l=i.children.slice(s+1);return X.withoutNormalizing(e,()=>{if(l.forEach(()=>{KJ(e,t,[...a,s+1])}),o){let[,t]=o;Z.moveNodes(e,{at:n,to:K.next(t)}),c.length===0&&Z.removeNodes(e,{at:a})}else{let r=[...n,0],a=[...n,1];Y.has(e,a)&&(Z.setNodes(e,t.createListNode(IJ(t,i),{children:[]}),{at:a}),Z.liftNodes(e,{at:a}),Z.liftNodes(e,{at:K.next(n)})),Y.has(e,r)&&(Z.setNodes(e,t.createDefaultTextNode(),{at:r}),Z.liftNodes(e,{at:r}),Z.liftNodes(e,{at:n}))}}),!0}function JJ(e,t,n=e.selection){if(!n)return!1;let r=HJ(EJ(e,t,n)).map(([t,n])=>X.pathRef(e,n)),i=!1;return r.forEach(n=>
564{n.current&&(i=qJ(e,t,n.current)||i),n.unref()}),i}function YJ(e,t,n,r=e.selection){if(!r)return!1;let i=Array.from(X.nodes(e,{at:r,match:e=>J.isElement(e)&&!t.isListNode(e)&&!t.isListItemNode(e)&&!t.isListItemTextNode(e)&&t.isConvertibleToListTextNode(e)}));return i.length!==0&&(i.map(([t,n])=>X.pathRef(e,n)).forEach(r=>{let i=r.current;i&&X.withoutNormalizing(e,()=>{Z.setNodes(e,t.createListItemTextNode(),{at:i}),Z.wrapNodes(e,t.createListItemNode(),{at:i}),Z.wrapNodes(e,t.createListNode(n),{at:i})}),r.unref()}),!0)}function XJ(e,t,n=e.selection){if(!n)return!1;let r=EJ(e,t,n).filter(([,t])=>OJ(e,t)!==null);if(r.length===0)return!1;let i=HJ(r).map(([t,n])=>X.pathRef(e,n));return X.withoutNormalizing(e,()=>{YJ(e,t,FJ.UNORDERED),i.forEach(n=>{n.current&&KJ(e,t,n.current),n.unref()})}),!0}function ZJ(e,t,[n,r]){if(!t.isListNode(n))return!1;let i=OJ(e,r);if(!i)return!1;let[a]=i;if(!t.isListNode(a))return!1;let o=!!DJ(e,t,r);return IJ(t,a)!==IJ(t,n)&&!o?!1:(Z.mergeNodes(e,{at:r}),!0)}function QJ(e,t,n){let[r,i]=n.at,[a,o]=n.to;if(J.isElement(r)&&J.isElement(a)&&t.isListNode(r)&&t.isListNode(a)&&r.children.length>0){for(let t=0;t<r.children.length;++t)Z.moveNodes(e,{at:[...i,0],to:[...o,a.children.length+t]});return!0}return!1}function $J(e,t,n){let[r,i]=n.at,[a,o]=n.to;t.isListNode(r)&&t.isListItemNode(a)&&Z.moveNodes(e,{at:i,to:[...o,1]})}function tOe(e,t,n,r=e.selection){if(!r)return!1;let i=PJ(e,t,r);return i.length!==0&&(i.map(([t,n])=>X.pathRef(e,n)).forEach(r=>{let i=r.current,a=i?Y.get(e,i):null;a&&i&&Z.setNodes(e,t.createListNode(n,a),{at:i}),r.unref()}),!0)}function eY(e,t,n=e.selection){if(!n)return!1;let r=kJ(e,q.isRange(n)?q.start(n):n);if(!r)return!1;q.isRange(n)&&q.isExpanded(n)&&Z.delete(e);let i=EJ(e,t,e.selection);if(i.length!==1)return!1;let[[a,o]]=i,s=[...o,0],{isEnd:c,isStart:l}=AJ(e,r,s);if(l){let n=t.createListItemNode({children:[t.createListItemTextNode()]});return Z.insertNodes(e,n,{at:o}),!0}let u=K.next(o),d=K.next(s),f=Y.has(a,[1]);return X.withoutNormalizing(e,()=>{if(c){let n=t.createListItemNode({children:[t.createListItemTextNode()]});Z.insertNodes(e,n,{at:u}),Z.select(e,u)}else Z.splitNodes(e),Z.wrapNodes(e,t.createListItemNode(),{at:d}),Z.moveNodes(e,{at:d,to:u});f&&Z.moveNodes(e,{at:K.next(s),to:[...u,1]})}),!0}function nOe(e,t,n=e.selection){if(!n)return!1;let r=0,i=rOe(n),a=X.pathRef(e,i[0]),o=X.pathRef(e,i[1]);return X.withoutNormalizing(e,()=>{do{if(!a.current||!o.current)break;let n=[a.current,o.current];if(EJ(e,t,n).length===0)break;r++,JJ(e,t,n)}while(r<1e3);if(r>=1e3)throw Error(`Too many iterations. Most likely there is a bug causing an infinite loop.`)}),a.unref(),o.unref(),r>0}function rOe(e){if(q.isRange(e)){let[t,n]=q.edges(e);return[t.path,n.path]}return Kq.isPoint(e)?[e.path,e.path]:[e,e]}function tY(e){return GJ(e)}var nY={isListsEnabled(e){return WJ(e)},getListsSchema(e){return WJ(e)?GJ(e):void 0},isConvertibleToListTextNode(e,t){return tY(e).isConvertibleToListTextNode(t)},isDefaultTextNode(e,t){return tY(e).isDefaultTextNode(t)},isListNode(e,t,n){return tY(e).isListNode(t,n)},isListItemNode(e,t){return tY(e).isListItemNode(t)},isListItemTextNode(e,t){return tY(e).isListItemTextNode(t)},createDefaultTextNode(e,t){return tY(e).createDefaultTextNode(t)},createListNode(e,t,n){return tY(e).createListNode(t,n)},createListItemNode(e,t){return tY(e).createListItemNode(t)},createListItemTextNode(e,t){return tY(e).createListItemTextNode(t)},isDeleteBackwardAllowed(e,t){return MJ(e,tY(e),t)},isAtStartOfListItem(e,t){return jJ(e,tY(e),t)},isAtEmptyListItem(e,t){return zJ(e,tY(e),t)},isAtList(e,t){return $De(e,tY(e),t)},isListItemContainingText(e,t){return RJ(e,tY(e),t)},getLists(e,t){return PJ(e,tY(e),t)},getListItems(e,t){return EJ(e,tY(e),t)},getListType(e,t){return IJ(tY(e),t)},getNestedList(e,t){return LJ(e,tY(e),t)},getParentList(e,t){return NJ(e,tY(e),t)},getParentListItem(e,t){return DJ(e,tY(e),t)},increaseDepth(e,t){return XJ(e,tY(e),t)},increaseListItemDepth(e,t){return KJ(e,tY(e),t)},decreaseDepth(e,t){return JJ(e,tY(e),t)},decreaseListItemDepth(e,t){return qJ(e,tY(e),t)},mergeListWithPreviousSiblingList(e,t){return ZJ(e,tY(e),t)},moveListItemsToAnotherList(e,t){return QJ(e,tY(e),t)},moveListToListItem(e,t){return $J(e,tY(e),t)},setListType(e,t,n){return tOe(e,tY(e),t,n)},splitListItem(e,t){return eY(e,tY(e),t)},unwrapList(e,t){return nOe(e,tY(e),t)},wrapInList(e,t=FJ.UNORDERED,n){return YJ(e,tY(e),t,n)}};function iOe(e,t,[n,r]){if(!t.isListNode(n))return!1;let i=Array.from(Y.children(e,r));for(let[n,a]of i){if(Zq.isText(n))return n.text.trim()===``?(i.length>1?Z.removeNodes(e,{at:a}):Z.removeNodes(e,{at:r}),!0):(Z.wrapNodes(e,t.createListItemNode({children:[t.createListItemTextNode({children:[n]})]}),{at:a}),!0);if(t.isListItemTextNode(n)||t.isListNode(n))return Z.wrapNodes(e,t.createListItemNode(),{at:a}),!0;if(!t.isListItemNode(n))return Z.setNodes(e,t.createListItemTextNode(),{at:a}),Z.wrapNodes(e,t.createListItemNode(),{at:a}),!0}return!1}function aOe(e,t,[n,r]){if(!t.isListItemNode(n))return!1;let i=Array.from(Y.children(e,r));for(let[n,[r,a]]of i.entries()){if(Zq.isText(r)||e.isInline(r)){let o=t.createListItemTextNode({children:[r]});if(Z.wrapNodes(e,o,{at:a}),n>0){let[r]=i[n-1];t.isListItemTextNode(r)&&Z.mergeNodes(e,{at:a})}return!0}if(t.isListItemNode(r))return Z.liftNodes(e,{at:a}),!0;if(t.isListItemTextNode(r)&&n!==0)return Z.wrapNodes(e,t.createListItemNode(),{at:a}),!0;if(!t.isListItemTextNode(r)&&!t.isListNode(r))return Z.setNodes(e,t.createListItemTextNode(),{at:a}),!0}return!1}function oOe(e,t,[n,r]){if(!t.isListItemTextNode(n))return!1;for(let[t,n]of Y.children(e,r))if(J.isElement(t)&&!X.isInline(e,t))return Z.unwrapNodes(e,{at:n}),!0;return!1}function sOe(e,t,[n,r]){if(VJ(n)&&!t.isListNode(n)){for(let[i,a]of n.children.entries())if(J.isElement(a)&&t.isListItemNode(a))return BJ(a)?Z.setNodes(e,t.createDefaultTextNode(),{at:[...r,i]}):Z.unwrapNodes(e,{at:[...r,i],mode:`highest`}),!0}return!1}function cOe(e,t,[n,r]){if(VJ(n)&&!t.isListItemNode(n)){for(let[i,a]of n.children.entries())if(J.isElement(a)&&t.isListItemTextNode(a))return BJ(a)?Z.setNodes(e,t.createDefaultTextNode(),{at:[...r,i]}):Z.unwrapNodes(e,{at:[...r,i],mode:`highest`}),!0}return!1}function lOe(e,t,[n,r]){if(!t.isListItemNode(n))return!1;let i=Array.from(Y.children(e,r));if(i.length!==1)return!1;let[a]=i,[o,s]=a;if(!t.isListNode(o))return!1;let c=OJ(e,r);if(c){let[,n]=c,i=LJ(e,t,n);i?QJ(e,t,{at:a,to:i}):$J(e,t,{at:a,to:c}),Z.removeNodes(e,{at:r})}else Z.unwrapNodes(e,{at:s}),Z.unwrapNodes(e,{at:r});return!0}function uOe(e,t,n){if(ZJ(e,t,n))return!0;let[,r]=n,i=QDe(e,r);return i?ZJ(e,t,i):!1}function rY(e,t){let n=nY.getListsSchema(e);return n?rY.normalizeListChildren(e,n,t)||rY.normalizeListItemChildren(e,n,t)||rY.normalizeListItemTextChildren(e,n,t)||rY.normalizeOrphanListItem(e,n,t)||rY.normalizeOrphanListItemText(e,n,t)||rY.normalizeOrphanNestedList(e,n,t)||rY.normalizeSiblingLists(e,n,t):!1}(function(e){e.normalizeListChildren=iOe,e.normalizeListItemChildren=aOe,e.normalizeListItemTextChildren=oOe,e.normalizeOrphanListItem=sOe,e.normalizeOrphanListItemText=cOe,e.normalizeOrphanNestedList=lOe,e.normalizeSiblingLists=uOe})(rY||={});var iY=s((e=>
564{Object.defineProperty(e,"__esModule",{value:!0});for(var t=typeof window<`u`&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),n={alt:`altKey`,control:`ctrlKey`,meta:`metaKey`,shift:`shiftKey`},r={add:`+`,break:`pause`,cmd:`meta`,command:`meta`,ctl:`control`,ctrl:`control`,del:`delete`,down:`arrowdown`,esc:`escape`,ins:`insert`,left:`arrowleft`,mod:t?`meta`:`control`,opt:`alt`,option:`alt`,return:`enter`,right:`arrowright`,space:` `,spacebar:` `,up:`arrowup`,win:`meta`,windows:`meta`},i={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},a=1;a<20;a++)i[`f`+a]=111+a;function o(e,t,n){t&&!(`byKey`in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map(function(e){return s(e,t)}),i=function(e){return r.some(function(t){return c(t,e)})};return n==null?i:i(n)}function s(e,t){var a=t&&t.byKey,o={};e=e.replace(`++`,`+add`);var s=e.split(`+`),c=s.length;for(var d in n)o[n[d]]=!1;var f=!0,p=!1,m=void 0;try{for(var h=s[Symbol.iterator](),g;!(f=(g=h.next()).done);f=!0){var _=g.value,v=_.endsWith(`?`)&&_.length>1;v&&(_=_.slice(0,-1));var y=u(_),b=n[y];if(_.length>1&&!b&&!r[_]&&!i[y])throw TypeError(`Unknown modifier: "`+_+`"`);(c===1||!b)&&(a?o.key=y:o.which=l(_)),b&&(o[b]=!v||null)}}catch(e){p=!0,m=e}finally{try{!f&&h.return&&h.return()}finally{if(p)throw m}}return o}function c(e,t){for(var n in e){var r=e[n],i=void 0;if(r!=null&&(i=n===`key`&&t.key!=null?t.key.toLowerCase():n===`which`?r===91&&t.which===93?91:t.which:t[n],(i!=null||r!==!1)&&i!==r))return!1}return!0}function l(e){return e=u(e),i[e]||e.toUpperCase().charCodeAt(0)}function u(e){return e=e.toLowerCase(),e=r[e]||e,e}e.isHotkey=o}))();function dOe(e,t){let n=nY.getListsSchema(e);return n&&(0,iY.isHotkey)(`backspace`,t.nativeEvent)&&!MJ(e,n)?(t.preventDefault(),JJ(e,n)):!1}function fOe(e,t){let n=nY.getListsSchema(e);return n&&(0,iY.isHotkey)(`enter`,t.nativeEvent)&&zJ(e,n)?(t.preventDefault(),JJ(e,n)):!1}function pOe(e,t){let n=nY.getListsSchema(e);return n&&(0,iY.isHotkey)(`enter`,t.nativeEvent)&&EJ(e,n,e.selection).length>0?(t.preventDefault(),eY(e,n)):!1}function mOe(e,t){let n=nY.getListsSchema(e);return n&&(0,iY.isHotkey)(`shift+tab`,t.nativeEvent)?(t.preventDefault(),JJ(e,n)):!1}function hOe(e,t){let n=nY.getListsSchema(e);return n&&(0,iY.isHotkey)(`tab`,t.nativeEvent)?(t.preventDefault(),XJ(e,n)):!1}function aY(e,t){if(nY.isListsEnabled(e))try{return aY.onTabIncreaseListDepth(e,t)||aY.onShiftTabDecreaseListDepth(e,t)||aY.onBackspaceDecreaseListDepth(e,t)||aY.onEnterEscapeFromEmptyList(e,t)||aY.onEnterSplitNonEmptyList(e,t)}finally{X.normalize(e,{force:!0})}}(function(e){e.onTabIncreaseListDepth=hOe,e.onShiftTabDecreaseListDepth=mOe,e.onBackspaceDecreaseListDepth=dOe,e.onEnterEscapeFromEmptyList=fOe,e.onEnterSplitNonEmptyList=pOe})(aY||={});function gOe(e){let t={normalizeNode:e.normalizeNode};return e.normalizeNode=(n,r)=>rY(e,n)||t.normalizeNode(n,r),e}function oY(e){let t=document.createDocumentFragment();return t.append(...e),t}function sY(e,t){let n=document.createElement(t);return n.append(...e),n}function _Oe(e){let t=document.createElement(`li`);return t.append(...e),t}function vOe(){let e=Range.prototype.cloneContents;return Range.prototype.cloneContents=function(){let t=e.apply(this);return this.commonAncestorContainer.nodeName===`OL`||this.commonAncestorContainer.nodeName===`UL`?oY([sY([...t.childNodes],this.commonAncestorContainer.nodeName)]):this.commonAncestorContainer.nodeName===`LI`&&this.commonAncestorContainer.parentElement&&(this.commonAncestorContainer.parentElement.nodeName===`OL`||this.commonAncestorContainer.parentElement.nodeName===`UL`)?oY([sY([_Oe([...t.childNodes])],this.commonAncestorContainer.parentElement.nodeName)]):t},function(){Range.prototype.cloneContents=e}}function yOe(e){let t=vOe();try{e()}finally{t()}}function cY(e){let{setFragmentData:t}=e;return e.setFragmentData=e=>{yOe(function(){t(e)})},e}function bOe(e){return function(t){return eOe(t,e),t}}function xOe(e){return t=>cY(gOe(bOe(e)(t)))}function lY(e){return Object.prototype.toString.call(e)===`[object Object]`}function SOe(e){var t,n;return lY(e)!==!1&&(t=e.constructor,t===void 0||(n=t.prototype,lY(n)!==!1&&n.hasOwnProperty(`isPrototypeOf`)!==!1))}var COe={isHistory(e){return SOe(e)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(e.redos.length===0||Hq.isOperationList(e.redos[0].operations))&&(e.undos.length===0||Hq.isOperationList(e.undos[0].operations))}},uY=new WeakMap,dY=new WeakMap,fY=new WeakMap,pY={isHistoryEditor(e){return COe.isHistory(e.history)&&X.isEditor(e)},isMerging(e){return dY.get(e)}
564,isSplittingOnce(e){return fY.get(e)},setSplittingOnce(e,t){fY.set(e,t)},isSaving(e){return uY.get(e)},redo(e){e.redo()},undo(e){e.undo()},withMerging(e,t){var n=pY.isMerging(e);dY.set(e,!0),t(),dY.set(e,n)},withNewBatch(e,t){var n=pY.isMerging(e);dY.set(e,!0),fY.set(e,!0),t(),dY.set(e,n),fY.delete(e)},withoutMerging(e,t){var n=pY.isMerging(e);dY.set(e,!1),t(),dY.set(e,n)},withoutSaving(e,t){var n=pY.isSaving(e);uY.set(e,!1);try{t()}finally{uY.set(e,n)}}},wOe=e=>{var t=e,{apply:n}=t;return t.history={undos:[],redos:[]},t.redo=()=>{var{history:e}=t,{redos:n}=e;if(n.length>0){var r=n[n.length-1];r.selectionBefore&&Z.setSelection(t,r.selectionBefore),pY.withoutSaving(t,()=>{X.withoutNormalizing(t,()=>{for(var e of r.operations)t.apply(e)})}),e.redos.pop(),t.writeHistory(`undos`,r)}},t.undo=()=>{var{history:e}=t,{undos:n}=e;if(n.length>0){var r=n[n.length-1];pY.withoutSaving(t,()=>{X.withoutNormalizing(t,()=>{for(var e of r.operations.map(Hq.inverse).reverse())t.apply(e);r.selectionBefore&&Z.setSelection(t,r.selectionBefore)})}),t.writeHistory(`redos`,r),e.undos.pop()}},t.apply=e=>{var{operations:r,history:i}=t,{undos:a}=i,o=a[a.length-1],s=o&&o.operations[o.operations.length-1],c=pY.isSaving(t),l=pY.isMerging(t);if(c??=EOe(e),c){if(l??=o==null?!1:r.length!==0||TOe(e,s),pY.isSplittingOnce(t)&&(l=!1,pY.setSplittingOnce(t,void 0)),o&&l)o.operations.push(e);else{var u={operations:[e],selectionBefore:t.selection};t.writeHistory(`undos`,u)}for(;a.length>100;)a.shift();i.redos=[]}n(e)},t.writeHistory=(e,n)=>{t.history[e].push(n)},t},TOe=(e,t)=>!!(t&&e.type===`insert_text`&&t.type===`insert_text`&&e.offset===t.offset+t.text.length&&K.equals(e.path,t.path)||t&&e.type===`remove_text`&&t.type===`remove_text`&&e.offset+e.text.length===t.offset&&K.equals(e.path,t.path)),EOe=(e,t)=>e.type!==`set_selection`,DOe=s(((e,t)=>{t.exports=o;var n=`Ö-ß¿ï¬-﷽ﹰ-ﻼ`,r=`A-Za-zÃ-ÃÃ-öø-ʸÌ-Öà -á¿¿ââ°-ï¬ï¸-﹯﻽-ï¿¿`,i=RegExp(`^[^`+r+`]*[`+n+`]`),a=RegExp(`^[^`+n+`]*[`+r+`]`);function o(e){return e=String(e||``),i.test(e)?`rtl`:a.test(e)?`ltr`:`neutral`}})),mY=s(((e,t)=>{function n(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}t.exports=n})),OOe=s(((e,t)=>{t.exports=typeof global==`object`&&global&&global.Object===Object&&global})),hY=s(((e,t)=>{var n=OOe(),r=typeof self==`object`&&self&&self.Object===Object&&self;t.exports=n||r||Function(`return this`)()})),kOe=s(((e,t)=>{var n=hY();t.exports=function(){return n.Date.now()}})),AOe=s(((e,t)=>{var n=/\s/;function r(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}t.exports=r})),jOe=s(((e,t)=>{var n=AOe(),r=/^\s+/;function i(e){return e&&e.slice(0,n(e)+1).replace(r,``)}t.exports=i})),gY=s(((e,t)=>{t.exports=hY().Symbol})),MOe=s(((e,t)=>{var n=gY(),r=Object.prototype,i=r.hasOwnProperty,a=r.toString,o=n?n.toStringTag:void 0;function s(e){var t=i.call(e,o),n=e[o];try{e[o]=void 0;var r=!0}catch{}var s=a.call(e);return r&&(t?e[o]=n:delete e[o]),s}t.exports=s})),NOe=s(((e,t)=>{var n=Object.prototype.toString;function r(e){return n.call(e)}t.exports=r})),POe=s(((e,t)=>{var n=gY(),r=MOe(),i=NOe(),a=`[object Null]`,o=`[object Undefined]`,s=n?n.toStringTag:void 0;function c(e){return e==null?e===void 0?o:a:s&&s in Object(e)?r(e):i(e)}t.exports=c})),FOe=s(((e,t)=>{function n(e){return typeof e==`object`&&!!e}t.exports=n})),IOe=s(((e,t)=>{var n=POe(),r=FOe(),i=`[object Symbol]`;function a(e){return typeof e==`symbol`||r(e)&&n(e)==i}t.exports=a})),LOe=s(((e,t)=>{var n=jOe(),r=mY(),i=IOe(),a=NaN,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;function u(e){if(typeof e==`number`)return e;if(i(e))return a;if(r(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=r(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=n(e);var u=s.test(e);return u||c.test(e)?l(e.slice(2),u?2:8):o.test(e)?a:+e}t.exports=u})),_Y=s(((e,t)=>{var n=mY(),r=kOe(),i=LOe(),a=`Expected a function`,o=Math.max,s=Math.min;function c(e,t,c){var l,u,d,f,p,m,h=0,g=!1,_=!1,v=!0;if(typeof e!=`function`)throw TypeError(a);t=i(t)||0,n(c)&&(g=!!c.leading,_=`maxWait`in c,d=_?o(i(c.maxWait)||0,t):d,v=`trailing`in c?!!c.trailing:v);function y(t){var n=l,r=u;return l=u=void 0,h=t,f=e.apply(r,n),f}function b(e){return h=e,p=setTimeout(C,t),g?y(e):f}function x(e){var n=e-m,r=e-h,i=t-n;return _?s(i,d-r):i}function S(e){var n=e-m,r=e-h;return m===void 0||n>=t||n<0||_&&r>=d}function C(){var e=r();if(S(e))return w(e);p=setTimeout(C,x(e))}function w(e){return p=void 0,v&&l?y(e):(l=u=void 0,f)}function T(){p!==void 0&&clearTimeout(p),h=0,l=m=u=p=void 0}function E(){return p===void 0?f:w(r())}function D(){var e=r(),n=S(e);if(l=arguments,u=this,m=e,n){if(p===void 0)return b(m);if(_)return clearTimeout(p),p=setTimeout(C,t),y(m)}return p===void 0&&(p=setTimeout(C,t)),f}return D.cancel=T,D.flush=E,D}t.exports=c})),ROe=s(((e,t)=>{var n=_Y(),r=mY(),i=`Expected a function`;function a(e,t,a){var o=!0,s=!0;if(typeof e!=`function`)throw TypeError(i);return r(a)&&(o=`leading`in a?!!a.leading:o,s=`trailing`in a?!!a.trailing:s),n(e,t,{leading:o,maxWait:t,trailing:s})}t.exports=a})),vY=e=>typeof e==`object`&&!!e&&e.nodeType===1,yY=(e,t)=>(!t||e!==`hidden`)&&e!==`visible`&&e!==`clip`,bY=(e,t)=>
564{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n=getComputedStyle(e,null);return yY(n.overflowY,t)||yY(n.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch{return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},xY=(e,t,n,r,i,a,o,s)=>a<e&&o>t||a>e&&o<t?0:a<=e&&s<=n||o>=t&&s>=n?a-e-r:o>t&&s<n||a<e&&s>n?o-t+i:0,zOe=e=>e.parentElement??(e.getRootNode().host||null),SY=(e,t)=>{if(typeof document>`u`)return[];let{scrollMode:n,block:r,inline:i,boundary:a,skipOverflowHiddenElements:o}=t,s=typeof a==`function`?a:e=>e!==a;if(!vY(e))throw TypeError(`Invalid target`);let c=document.scrollingElement||document.documentElement,l=[],u=e;for(;vY(u)&&s(u);){if(u=zOe(u),u===c){l.push(u);break}u!=null&&u===document.body&&bY(u)&&!bY(document.documentElement)||u!=null&&bY(u,o)&&l.push(u)}let d=window.visualViewport?.width??innerWidth,f=window.visualViewport?.height??innerHeight,{scrollX:p,scrollY:m}=window,{height:h,width:g,top:_,right:v,bottom:y,left:b}=e.getBoundingClientRect(),{top:x,right:S,bottom:C,left:w}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),T=r===`start`||r===`nearest`?_-x:r===`end`?y+C:_+h/2-x+C,E=i===`center`?b+g/2-w+S:i===`end`?v+S:b-w,D=[];for(let e=0;e<l.length;e++){let t=l[e],{height:a,width:o,top:s,right:u,bottom:x,left:S}=t.getBoundingClientRect();if(n===`if-needed`&&_>=0&&b>=0&&y<=f&&v<=d&&(t===c&&!bY(t)||_>=s&&y<=x&&b>=S&&v<=u))return D;let C=getComputedStyle(t),w=parseInt(C.borderLeftWidth,10),O=parseInt(C.borderTopWidth,10),k=parseInt(C.borderRightWidth,10),A=parseInt(C.borderBottomWidth,10),j=0,M=0,ee=`offsetWidth`in t?t.offsetWidth-t.clientWidth-w-k:0,N=`offsetHeight`in t?t.offsetHeight-t.clientHeight-O-A:0,te=`offsetWidth`in t?t.offsetWidth===0?0:o/t.offsetWidth:0,ne=`offsetHeight`in t?t.offsetHeight===0?0:a/t.offsetHeight:0;if(c===t)j=r===`start`?T:r===`end`?T-f:r===`nearest`?xY(m,m+f,f,O,A,m+T,m+T+h,h):T-f/2,M=i===`start`?E:i===`center`?E-d/2:i===`end`?E-d:xY(p,p+d,d,w,k,p+E,p+E+g,g),j=Math.max(0,j+m),M=Math.max(0,M+p);else{j=r===`start`?T-s-O:r===`end`?T-x+A+N:r===`nearest`?xY(s,x,a,O,A+N,T,T+h,h):T-(s+a/2)+N/2,M=i===`start`?E-S-w:i===`center`?E-(S+o/2)+ee/2:i===`end`?E-u+k+ee:xY(S,u,o,w,k+ee,E,E+g,g);let{scrollLeft:e,scrollTop:n}=t;j=ne===0?0:Math.max(0,Math.min(n+j/ne,t.scrollHeight-a/ne+N)),M=te===0?0:Math.max(0,Math.min(e+M/te,t.scrollWidth-o/te+ee)),T+=n-j,E+=e-M}D.push({el:t,top:j,left:M})}return D},BOe=e=>!1===e?{block:`end`,inline:`nearest`}:(e=>e===Object(e)&&Object.keys(e).length!==0)(e)?e:{block:`start`,inline:`nearest`};function VOe(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let n=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if((e=>typeof e==`object`&&typeof e.behavior==`function`)(t))return t.behavior(SY(e,t));let r=typeof t==`boolean`||t==null?void 0:t.behavior;for(let{el:i,top:a,left:o}of SY(e,BOe(t))){let e=a-n.top+n.bottom,t=o-n.left+n.right;i.scroll({top:e,left:t,behavior:r})}}var CY=globalThis.Node;globalThis.Element;var HOe=globalThis.Text;globalThis.Range,globalThis.Selection,globalThis.StaticRange;var wY=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,UOe=e=>EY(e)&&e.nodeType===8,TY=e=>EY(e)&&e.nodeType===1,EY=e=>{var t=wY(e);return!!t&&e instanceof t.Node},DY=e=>{var t=e&&e.anchorNode&&wY(e.anchorNode);return!!t&&e instanceof t.Selection},OY=e=>EY(e)&&e.nodeType===3,WOe=e=>e.clipboardData&&e.clipboardData.getData(`text/plain`)!==``&&e.clipboardData.types.length===1,GOe=e=>{var[t,n]=e;if(TY(t)&&t.childNodes.length){var r=n===t.childNodes.length,i=r?n-1:n;for([t,i]=kY(t,i,r?`backward`:`forward`),r=i<n;TY(t)&&t.childNodes.length;){var a=r?t.childNodes.length-1:0;t=qOe(t,a,r?`backward`:`forward`)}n=r&&t.textContent!=null?t.textContent.length:0}return[t,n]},KOe=e=>{for(var t=e&&e.parentNode;t;){if(t.toString()===`[object ShadowRoot]`)return!0;t=t.parentNode}return!1},kY=(e,t,n)=>{for(var{childNodes:r}=e,i=r[t],a=t,o=!1,s=!1;(UOe(i)||TY(i)&&i.childNodes.length===0||TY(i)&&i.getAttribute(`contenteditable`)===`false`)&&!(o&&s);){if(a>=r.length){o=!0,a=t-1,n=`backward`;continue}if(a<0){s=!0,a=t+1,n=`forward`;continue}i=r[a],t=a,a+=n===`forward`?1:-1}return[i,t]}
564,qOe=(e,t,n)=>{var[r]=kY(e,t,n);return r},AY=e=>{var t=``;if(OY(e)&&e.nodeValue)return e.nodeValue;if(TY(e)){for(var n of Array.from(e.childNodes))t+=AY(n);var r=getComputedStyle(e).getPropertyValue(`display`);(r===`block`||r===`list`||e.tagName===`BR`)&&(t+=` 565`)}return t},JOe=/data-slate-fragment="(.+?)"/m,YOe=e=>{var[,t]=e.getData(`text/html`).match(JOe)||[];return t},jY=e=>e.getSelection==null?document.getSelection():e.getSelection(),MY=(e,t,n)=>{var{target:r}=t;if(TY(r)&&r.matches(`[contentEditable="false"]`))return!1;var{document:i}=gX.getWindow(e);if(i.contains(r))return gX.hasDOMNode(e,r,{editable:!0});var a=n.find(e=>{var{addedNodes:t,removedNodes:n}=e;for(var i of t)if(i===r||i.contains(r))return!0;for(var a of n)if(a===r||a.contains(r))return!0});return!a||a===t?!1:MY(e,a,n)},XOe=()=>{for(var e=document.activeElement;(t=e)!=null&&t.shadowRoot&&(n=e.shadowRoot)!=null&&n.activeElement;){var t,n,r;e=(r=e)==null||(r=r.shadowRoot)==null?void 0:r.activeElement}return e},NY=(e,t)=>!!(e.compareDocumentPosition(t)&CY.DOCUMENT_POSITION_PRECEDING),ZOe=(e,t)=>!!(e.compareDocumentPosition(t)&CY.DOCUMENT_POSITION_FOLLOWING),PY,QOe=typeof navigator<`u`&&typeof window<`u`&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,FY=typeof navigator<`u`&&/Mac OS X/.test(navigator.userAgent),IY=typeof navigator<`u`&&/Android/.test(navigator.userAgent),LY=typeof navigator<`u`&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),RY=typeof navigator<`u`&&/AppleWebKit(?!.*Chrome)/i.test(navigator.userAgent),$Oe=typeof navigator<`u`&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),zY=typeof navigator<`u`&&/Chrome/i.test(navigator.userAgent),BY=typeof navigator<`u`&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),eke=IY&&typeof navigator<`u`&&/Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent),tke=typeof navigator<`u`&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),nke=typeof navigator<`u`&&/.*UCBrowser/.test(navigator.userAgent),rke=typeof navigator<`u`&&/.*Wechat/.test(navigator.userAgent)&&!/.*MacWechat/.test(navigator.userAgent)&&(!zY||BY),VY=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;typeof navigator<`u`&&/Safari/.test(navigator.userAgent)&&/Version\/(\d+)/.test(navigator.userAgent)&&(PY=navigator.userAgent.match(/Version\/(\d+)/))!=null&&PY[1]&&parseInt(navigator.userAgent.match(/Version\/(\d+)/)?.[1],10);var HY=(!BY||!eke)&&!$Oe&&typeof globalThis<`u`&&globalThis.InputEvent&&typeof globalThis.InputEvent.prototype.getTargetRanges==`function`;function UY(e){"@babel/helpers - typeof";return UY=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},UY(e)}function ike(e,t){if(UY(e)!==`object`||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(UY(r)!==`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function ake(e){var t=ike(e,`string`);return UY(t)===`symbol`?t:String(t)}function WY(e,t,n){return t=ake(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oke=0,GY=class{constructor(){WY(this,`id`,void 0),this.id=`${oke++}`}},KY=new WeakMap,qY=new WeakMap,JY=new WeakMap,YY=new WeakMap,XY=new WeakMap,ZY=new WeakMap,QY=new WeakMap,$Y=new WeakMap,eX=new WeakMap,tX=new WeakMap,nX=new WeakMap,rX=new WeakMap,iX=new WeakMap,aX=new WeakMap,oX=new WeakMap,sX=new WeakMap,cX=new WeakMap,lX=new WeakMap,uX=new WeakMap,dX=new WeakMap,fX=new WeakMap,pX=new WeakMap,mX=Symbol(`placeholder`),hX=Symbol(`mark-placeholder`),gX={androidPendingDiffs:e=>uX.get(e),androidScheduleFlush:e=>{var t;(t=sX.get(e))==null||t()},blur:e=>{var t=gX.toDOMNode(e,e),n=gX.findDocumentOrShadowRoot(e);rX.set(e,!1),n.activeElement===t&&t.blur()},deselect:e=>{var{selection:t}=e,n=jY(gX.findDocumentOrShadowRoot(e));n&&n.rangeCount>0&&n.removeAllRanges(),t&&Z.deselect(e)},findDocumentOrShadowRoot:e=>{var t=gX.toDOMNode(e,e),n=t.getRootNode();return n instanceof Document||n instanceof ShadowRoot?n:t.ownerDocument},findEventRange:(e,t)=>
565{`nativeEvent`in t&&(t=t.nativeEvent);var{clientX:n,clientY:r,target:i}=t;if(n==null||r==null)throw Error(`Cannot resolve a Slate range from a DOM event: ${t}`);var a=gX.toSlateNode(e,t.target),o=gX.findPath(e,a);if(J.isElement(a)&&X.isVoid(e,a)){var s=i.getBoundingClientRect(),c=e.isInline(a)?n-s.left<s.left+s.width-n:r-s.top<s.top+s.height-r,l=X.point(e,o,{edge:c?`start`:`end`}),u=c?X.before(e,l):X.after(e,l);if(u)return X.range(e,u)}var d,{document:f}=gX.getWindow(e);if(f.caretRangeFromPoint)d=f.caretRangeFromPoint(n,r);else{var p=f.caretPositionFromPoint(n,r);p&&(d=f.createRange(),d.setStart(p.offsetNode,p.offset),d.setEnd(p.offsetNode,p.offset))}if(!d)throw Error(`Cannot resolve a Slate range from a DOM event: ${t}`);return gX.toSlateRange(e,d,{exactMatch:!1,suppressThrow:!1})},findKey:(e,t)=>{var n=eX.get(t);return n||(n=new GY,eX.set(t,n)),n},findPath:(e,t)=>{for(var n=[],r=t;;){var i=JY.get(r);if(i==null){if(X.isEditor(r))return n;break}var a=qY.get(r);if(a==null)break;n.unshift(a),r=i}throw Error(`Unable to find the path for Slate node: ${Jq.stringify(t)}`)},focus:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{retries:5};if(!rX.get(e)&&XY.get(e)){if(t.retries<=0)throw Error(`Could not set focus, editor seems stuck with pending operations`);if(e.operations.length>0){setTimeout(()=>{gX.focus(e,{retries:t.retries-1})},10);return}var n=gX.toDOMNode(e,e),r=gX.findDocumentOrShadowRoot(e);if(r.activeElement!==n){if(e.selection&&r instanceof Document){var i=jY(r),a=gX.toDOMRange(e,e.selection);i?.removeAllRanges(),i?.addRange(a)}e.selection||Z.select(e,X.start(e,[])),rX.set(e,!0),n.focus({preventScroll:!0})}}},getWindow:e=>{var t=YY.get(e);if(!t)throw Error(`Unable to find a host window element for this editor`);return t},hasDOMNode:function(e,t){var{editable:n=!1}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=gX.toDOMNode(e,e),i;try{i=TY(t)?t:t.parentElement}catch(e){if(e instanceof Error&&!e.message.includes(`Permission denied to access property "nodeType"`))throw e}return i?i.closest(`[data-slate-editor]`)===r&&(!n||i.isContentEditable?!0:typeof i.isContentEditable==`boolean`&&i.closest(`[contenteditable="false"]`)===r||!!i.getAttribute(`data-slate-zero-width`)):!1},hasEditableTarget:(e,t)=>EY(t)&&gX.hasDOMNode(e,t,{editable:!0}),hasRange:(e,t)=>
565{var{anchor:n,focus:r}=t;return X.hasPath(e,n.path)&&X.hasPath(e,r.path)},hasSelectableTarget:(e,t)=>gX.hasEditableTarget(e,t)||gX.isTargetInsideNonReadonlyVoid(e,t),hasTarget:(e,t)=>EY(t)&&gX.hasDOMNode(e,t),insertData:(e,t)=>{e.insertData(t)},insertFragmentData:(e,t)=>e.insertFragmentData(t),insertTextData:(e,t)=>e.insertTextData(t),isComposing:e=>!!iX.get(e),isFocused:e=>!!rX.get(e),isReadOnly:e=>!!nX.get(e),isTargetInsideNonReadonlyVoid:(e,t)=>{if(nX.get(e))return!1;var n=gX.hasTarget(e,t)&&gX.toSlateNode(e,t);return J.isElement(n)&&X.isVoid(e,n)},setFragmentData:(e,t,n)=>e.setFragmentData(t,n),toDOMNode:(e,t)=>{var n=tX.get(e),r=X.isEditor(t)?XY.get(e):n?.get(gX.findKey(e,t));if(!r)throw Error(`Cannot resolve a DOM node from Slate node: ${Jq.stringify(t)}`);return r},toDOMPoint:(e,t)=>{var[n]=X.node(e,t.path),r=gX.toDOMNode(e,n),i;X.void(e,{at:t})&&(t={path:t.path,offset:0});for(var a=Array.from(r.querySelectorAll(`[data-slate-string], [data-slate-zero-width]`)),o=0,s=0;s<a.length;s++){var c=a[s],l=c.childNodes[0];if(l!=null&&l.textContent!=null){var{length:u}=l.textContent,d=c.getAttribute(`data-slate-length`),f=o+(d==null?u:parseInt(d,10)),p=a[s+1];if(t.offset===f&&p!=null&&p.hasAttribute(`data-slate-mark-placeholder`)){var m,h=p.childNodes[0];i=[h instanceof HOe?h:p,(m=p.textContent)!=null&&m.startsWith(``)?1:0];break}if(t.offset<=f){i=[l,Math.min(u,Math.max(0,t.offset-o))];break}o=f}}if(!i)throw Error(`Cannot resolve a DOM point from Slate point: ${Jq.stringify(t)}`);return i},toDOMRange:(e,t)=>
565{var{anchor:n,focus:r}=t,i=q.isBackward(t),a=gX.toDOMPoint(e,n),o=q.isCollapsed(t)?a:gX.toDOMPoint(e,r),s=gX.getWindow(e).document.createRange(),[c,l]=i?o:a,[u,d]=i?a:o,f=!!(TY(c)?c:c.parentElement).getAttribute(`data-slate-zero-width`),p=!!(TY(u)?u:u.parentElement).getAttribute(`data-slate-zero-width`);return s.setStart(c,f?1:l),s.setEnd(u,p?1:d),s},toSlateNode:(e,t)=>{var n=TY(t)?t:t.parentElement;n&&!n.hasAttribute(`data-slate-node`)&&(n=n.closest(`[data-slate-node]`));var r=n?QY.get(n):null;if(!r)throw Error(`Cannot resolve a Slate node from DOM node: ${n}`);return r},toSlatePoint:(e,t,n)=>{var{exactMatch:r,suppressThrow:i,searchDirection:a=`backward`}=n,[o,s]=r?t:GOe(t),c=o.parentNode,l=null,u=0;if(c){var d,f,p=gX.toDOMNode(e,e),m=c.closest(`[data-slate-void="true"]`),h=m&&p.contains(m)?m:null,g=c.closest(`[contenteditable="false"]`),_=g&&p.contains(g)?g:null,v=c.closest(`[data-slate-leaf]`),y=null;if(v){if(l=v.closest(`[data-slate-node="text"]`),l){var b=gX.getWindow(e).document.createRange();b.setStart(l,0),b.setEnd(o,s);var x=b.cloneContents();[...Array.prototype.slice.call(x.querySelectorAll(`[data-slate-zero-width]`)),...Array.prototype.slice.call(x.querySelectorAll(`[contenteditable=false]`))].forEach(e=>{if(IY&&!r&&e.hasAttribute(`data-slate-zero-width`)&&e.textContent.length>0&&e.textContext!==``){e.textContent.startsWith(``)&&(e.textContent=e.textContent.slice(1));return}e.parentNode.removeChild(e)}),u=x.textContent.length,y=l}}else if(h){for(var S=h.querySelectorAll(`[data-slate-leaf]`),C=0;C<S.length;C++){var w=S[C];if(gX.hasDOMNode(e,w)){v=w;break}}v?(l=v.closest(`[data-slate-node="text"]`),y=v,u=y.textContent.length,y.querySelectorAll(`[data-slate-zero-width]`).forEach(e=>{u-=e.textContent.length})):u=1}else if(_){var T=e=>e?e.querySelectorAll(`[data-slate-leaf]:not(:scope [data-slate-editor] [data-slate-leaf])`):[],E=_.closest(`[data-slate-node="element"]`);v=a===`forward`?[...T(E),...T(E?.nextElementSibling)].find(e=>ZOe(_,e))??null:[...T(E?.previousElementSibling),...T(E)].findLast(e=>NY(_,e))??null,v&&(l=v.closest(`[data-slate-node="text"]`),y=v,a===`forward`?u=0:(u=y.textContent.length,y.querySelectorAll(`[data-slate-zero-width]`).forEach(e=>{u-=e.textContent.length})))}y&&u===y.textContent.length&&IY&&y.getAttribute(`data-slate-zero-width`)===`z`&&(d=y.textContent)!=null&&d.startsWith(``)&&(c.hasAttribute(`data-slate-zero-width`)||LY&&(f=y.textContent)!=null&&f.endsWith(` 566 567`))&&u--}if(IY&&!l&&!r){var D=c.hasAttribute(`data-slate-node`)?c:c.closest(`[data-slate-node]`);if(D&&gX.hasDOMNode(e,D,{editable:!0})){var O=gX.toSlateNode(e,D),{path:k,offset:A}=X.start(e,gX.findPath(e,O));return D.querySelector(`[data-slate-leaf]`)||(A=s),{path:k,offset:A}}}if(!l){if(i)return null;throw Error(`Cannot resolve a Slate point from DOM point: ${t}`)}var j=gX.toSlateNode(e,l);return{path:gX.findPath(e,j),offset:u}},toSlateRange:(e,t,n)=>{var r,{exactMatch:i,suppressThrow:a}=n,o=DY(t)?t.anchorNode:t.startContainer,s,c,l,u,d;if(o){if(DY(t)){if(LY&&t.rangeCount>1){l=t.focusNode;var f=t.getRangeAt(0),p=t.getRangeAt(t.rangeCount-1);if(l instanceof HTMLTableRowElement&&f.startContainer instanceof HTMLTableRowElement&&p.startContainer instanceof HTMLTableRowElement){function e(t){return t.childElementCount>0?e(t.children[0]):t}var m=f.startContainer,h=p.startContainer,g=e(m.children[f.startOffset]),_=e(h.children[p.startOffset]);u=0,s=_.childNodes.length>0?_.childNodes[0]:_,l=g.childNodes.length>0?g.childNodes[0]:g,c=_ instanceof HTMLElement?_.innerHTML.length:0}else f.startContainer===l?(s=p.endContainer,c=p.endOffset,u=f.startOffset):(s=f.startContainer,c=f.endOffset,u=p.startOffset)}else s=t.anchorNode,c=t.anchorOffset,l=t.focusNode,u=t.focusOffset;d=zY&&KOe(s)||LY?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed}else s=t.startContainer,c=t.startOffset,l=t.endContainer,u=t.endOffset,d=t.collapsed}if(s==null||l==null||c==null||u==null)throw Error(`Cannot resolve a Slate range from DOM range: ${t}`);LY&&(r=l.textContent)!=null&&r.endsWith(` 568 569`)&&u===l.textContent.length&&u--;var v=gX.toSlatePoint(e,[s,c],{exactMatch:i,suppressThrow:a});if(!v)return null;var y=NY(s,l)||s===l&&u<c,b=d?v:gX.toSlatePoint(e,[l,u],{exactMatch:i,suppressThrow:a,searchDirection:y?`forward`:`backward`});if(!b)return null;var x={anchor:v,focus:b};
569return q.isExpanded(x)&&q.isForward(x)&&TY(l)&&X.void(e,{at:x.focus,mode:`highest`})&&(x=X.unhangRange(e,x,{voids:!0})),x}};function ske(e,t){var{path:n,diff:r}=t;if(!X.hasPath(e,n))return!1;var i=Y.get(e,n);if(!Zq.isText(i))return!1;if(r.start!==i.text.length||r.text.length===0)return i.text.slice(r.start,r.start+r.text.length)===r.text;var a=K.next(n);if(!X.hasPath(e,a))return!1;var o=Y.get(e,a);return Zq.isText(o)&&o.text.startsWith(r.text)}function _X(e){return[...arguments].slice(1).reduce((e,t)=>e.slice(0,t.start)+t.text+e.slice(t.end),e)}function cke(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return n}function lke(e,t,n){for(var r=Math.min(e.length,t.length,n),i=0;i<r;i++)if(e.charAt(e.length-i-1)!==t.charAt(t.length-i-1))return i;return r}function vX(e,t){var{start:n,end:r,text:i}=t,a=e.slice(n,r),o=cke(a,i),s=lke(a,i,Math.min(a.length-o,i.length-o)),c={start:n+o,end:r-s,text:i.slice(o,i.length-s)};return c.start===c.end&&c.text.length===0?null:c}function uke(e,t,n){var r=Math.min(t.start,n.start),i=Math.max(0,Math.min(t.start+t.text.length,n.end)-n.start),a=_X(e,t,n),o=Math.max(n.start+n.text.length,t.start+t.text.length+(t.start+t.text.length>n.start?n.text.length:0)-i),s=a.slice(r,o);return vX(e,{start:r,end:Math.max(t.end,n.end-t.text.length+(t.end-t.start)),text:s})}function dke(e){var{path:t,diff:n}=e;return{anchor:{path:t,offset:n.start},focus:{path:t,offset:n.end}}}function yX(e,t){var{path:n,offset:r}=t;if(!X.hasPath(e,n))return null;var i=Y.get(e,n);if(!Zq.isText(i))return null;var a=X.above(e,{match:t=>J.isElement(t)&&X.isBlock(e,t),at:n});if(!a)return null;for(;r>i.text.length;){var o=X.next(e,{at:n,match:Zq.isText});if(!o||!K.isDescendant(o[1],a[1]))return null;r-=i.text.length,i=o[0],n=o[1]}return{path:n,offset:r}}function bX(e,t){var n=yX(e,t.anchor);if(!n)return null;if(q.isCollapsed(t))return{anchor:n,focus:n};var r=yX(e,t.focus);return r?{anchor:n,focus:r}:null}function xX(e,t,n){var r=uX.get(e)?.find(e=>{var{path:n}=e;return K.equals(n,t.path)});if(!r||t.offset<=r.diff.start)return Kq.transform(t,n,{affinity:`backward`});var{diff:i}=r;if(t.offset<=i.start+i.text.length){var a={path:t.path,offset:i.start},o=Kq.transform(a,n,{affinity:`backward`});return o?{path:o.path,offset:o.offset+t.offset-i.start}:null}var s={path:t.path,offset:t.offset-i.text.length+i.end-i.start},c=Kq.transform(s,n,{affinity:`backward`});return c?n.type===`split_node`&&K.equals(n.path,t.path)&&s.offset<n.position&&i.start<n.position?c:{path:c.path,offset:c.offset+i.text.length-i.end+i.start}:null}function SX(e,t,n){var r=xX(e,t.anchor,n);if(!r)return null;if(q.isCollapsed(t))return{anchor:r,focus:r};var i=xX(e,t.focus,n);return i?{anchor:r,focus:i}:null}function fke(e,t){var{path:n,diff:r,id:i}=e;switch(t.type){case`insert_text`:return!K.equals(t.path,n)||t.offset>=r.end?e:t.offset<=r.start?{diff:{start:t.text.length+r.start,end:t.text.length+r.end,text:r.text},id:i,path:n}:{diff:{start:r.start,end:r.end+t.text.length,text:r.text},id:i,path:n};case`remove_text`:return!K.equals(t.path,n)||t.offset>=r.end?e:t.offset+t.text.length<=r.start?{diff:{start:r.start-t.text.length,end:r.end-t.text.length,text:r.text},id:i,path:n}:{diff:{start:r.start,end:r.end-t.text.length,text:r.text},id:i,path:n};case`split_node`:return!K.equals(t.path,n)||t.position>=r.end?{diff:r,id:i,path:K.transform(n,t,{affinity:`backward`})}:t.position>r.start?{diff:{start:r.start,end:Math.min(t.position,r.end),text:r.text},id:i,path:n}:{diff:{start:r.start-t.position,end:r.end-t.position,text:r.text},id:i,path:K.transform(n,t,{affinity:`forward`})};case`merge_node`:return K.equals(t.path,n)?{diff:{start:r.start+t.position,end:r.end+t.position,text:r.text},id:i,path:K.transform(n,t)}:{diff:r,id:i,path:K.transform(n,t)}}var a=K.transform(n,t);return a?{diff:r,path:a,id:i}:null}var CX=(e,t)=>{var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},wX=(e,t,n)=>{var r=gX.toDOMRange(e,t).getBoundingClientRect(),i=gX.toDOMRange(e,n).getBoundingClientRect();return CX(r,i)&&CX(i,r)},pke=(e,t)=>{var n=X.range(e,q.end(t)),r=Array.from(X.positions(e,{at:t})),i=0,a=r.length,o=Math.floor(a/2);if(wX(e,X.range(e,r[i]),n))return X.range(e,r[i],n);if(r.length<2)return X.range(e,r[r.length-1],n);for(;o!==r.length&&o!==i;)wX(e,X.range(e,r[o]),n)?a=o:i=o,o=Math.floor((i+a)/2);return X.range(e,r[i],n)};function TX(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function EX(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
569t%2?TX(Object(n),!0).forEach(function(t){WY(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):TX(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var mke=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`x-slate-fragment`,n=e,{apply:r,onChange:i,deleteBackward:a,addMark:o,removeMark:s}=n;return tX.set(n,new WeakMap),n.addMark=(e,t)=>{var r,i;(r=sX.get(n))==null||r(),!cX.get(n)&&(i=uX.get(n))!=null&&i.length&&cX.set(n,null),lX.delete(n),o(e,t)},n.removeMark=e=>{var t;!cX.get(n)&&(t=uX.get(n))!=null&&t.length&&cX.set(n,null),lX.delete(n),s(e)},n.deleteBackward=e=>{if(e!==`line`)return a(e);if(n.selection&&q.isCollapsed(n.selection)){var t=X.above(n,{match:e=>J.isElement(e)&&X.isBlock(n,e),at:n.selection});if(t){var[,r]=t,i=pke(n,X.range(n,r,n.selection.anchor));q.isCollapsed(i)||Z.delete(n,{at:i})}}},n.apply=t=>{var i=[],a=[],o=uX.get(n);if(o!=null&&o.length){var s=o.map(e=>fke(e,t)).filter(Boolean);uX.set(n,s)}var c=fX.get(n);c&&fX.set(n,SX(n,c,t));var l=dX.get(n);if(l!=null&&l.at){var u=Kq.isPoint(l?.at)?xX(n,l.at,t):SX(n,l.at,t);dX.set(n,u?EX(EX({},l),{},{at:u}):null)}switch(t.type){case`insert_text`:case`remove_text`:case`set_node`:case`split_node`:i.push(...DX(n,t.path));break;case`set_selection`:var d;(d=aX.get(n))==null||d.unref(),aX.delete(n);break;case`insert_node`:case`remove_node`:i.push(...DX(n,K.parent(t.path)));break;case`merge_node`:var f=K.previous(t.path);i.push(...DX(n,f));break;case`move_node`:var p=K.common(K.parent(t.path),K.parent(t.newPath));i.push(...DX(n,p));var m;K.isBefore(t.path,t.newPath)?(i.push(...DX(n,K.parent(t.path))),m=t.newPath):(i.push(...DX(n,K.parent(t.newPath))),m=t.path);var h=Y.get(e,K.parent(m)),g=gX.findKey(n,h),_=X.pathRef(n,K.parent(m));a.push([_,g])}switch(r(t),t.type){case`insert_node`:case`remove_node`:case`merge_node`:case`move_node`:case`split_node`:case`insert_text`:case`remove_text`:case`set_selection`:KY.set(n,!0)}for(var[v,y]of i){var[b]=X.node(n,v);eX.set(b,y)}for(var[x,S]of a){if(x.current){var[C]=X.node(n,x.current);eX.set(C,S)}x.unref()}},n.setFragmentData=e=>{var{selection:r}=n;if(r){var[i,a]=q.edges(r),o=X.void(n,{at:i.path}),s=X.void(n,{at:a.path});if(!q.isCollapsed(r)||o){var c=gX.toDOMRange(n,r),l=c.cloneContents(),u=l.childNodes[0];if(l.childNodes.forEach(e=>{e.textContent&&e.textContent.trim()!==``&&(u=e)}),s){var[d]=s,f=c.cloneRange(),p=gX.toDOMNode(n,d);f.setEndAfter(p),l=f.cloneContents()}if(o&&(u=l.querySelector(`[data-slate-spacer]`)),Array.from(l.querySelectorAll(`[data-slate-zero-width]`)).forEac
569h(e=>{e.textContent=e.getAttribute(`data-slate-zero-width`)===`n`?` 570`:``}),OY(u)){var m=u.ownerDocument.createElement(`span`);m.style.whiteSpace=`pre`,m.appendChild(u),l.appendChild(m),u=m}var h=n.getFragment(),g=JSON.stringify(h),_=window.btoa(encodeURIComponent(g));u.setAttribute(`data-slate-fragment`,_),e.setData(`application/${t}`,_);var v=l.ownerDocument.createElement(`div`);return v.appendChild(l),v.setAttribute(`hidden`,`true`),l.ownerDocument.body.appendChild(v),e.setData(`text/html`,v.innerHTML),e.setData(`text/plain`,AY(v)),l.ownerDocument.body.removeChild(v),e}}},n.insertData=e=>{n.insertFragmentData(e)||n.insertTextData(e)},n.insertFragmentData=e=>{var r=e.getData(`application/${t}`)||YOe(e);if(r){var i=decodeURIComponent(window.atob(r)),a=JSON.parse(i);return n.insertFragment(a),!0}return!1},n.insertTextData=e=>{var t=e.getData(`text/plain`);if(t){var r=t.split(/\r\n|\r|\n/),i=!1;for(var a of r)i&&Z.splitNodes(n,{always:!0}),n.insertText(a),i=!0;return!0}return!1},n.onChange=e=>{var t=oX.get(n);t&&t(e),i(e)},n},DX=(e,t)=>{var n=[];for(var[r,i]of X.levels(e,{at:t})){var a=gX.findKey(e,r);n.push([i,a])}return n},hke={bold:`mod+b`,compose:[`down`,`left`,`right`,`up`,`backspace`,`enter`],moveBackward:`left`,moveForward:`right`,moveWordBackward:`ctrl+left`,moveWordForward:`ctrl+right`,deleteBackward:`shift?+backspace`,deleteForward:`shift?+delete`,extendBackward:`shift+left`,extendForward:`shift+right`,italic:`mod+i`,insertSoftBreak:`shift+enter`,splitBlock:`enter`,undo:`mod+z`},gke={moveLineBackward:`opt+up`,moveLineForward:`opt+down`,moveWordBackward:`opt+left`,moveWordForward:`opt+right`,deleteBackward:[`ctrl+backspace`,`ctrl+h`],deleteForward:[`ctrl+delete`,`ctrl+d`],deleteLineBackward:`cmd+shift?+backspace`,deleteLineForward:[`cmd+shift?+delete`,`ctrl+k`],deleteWordBackward:`opt+shift?+backspace`,deleteWord
570Forward:`opt+shift?+delete`,extendLineBackward:`opt+shift+up`,extendLineForward:`opt+shift+down`,redo:`cmd+shift+z`,transposeCharacter:`ctrl+t`},_ke={deleteWordBackward:`ctrl+shift?+backspace`,deleteWordForward:`ctrl+shift?+delete`,redo:[`ctrl+y`,`ctrl+shift+z`]},OX=e=>{var t=hke[e],n=gke[e],r=_ke[e],i=t&&(0,iY.isHotkey)(t),a=n&&(0,iY.isHotkey)(n),o=r&&(0,iY.isHotkey)(r);return e=>!!(i&&i(e)||FY&&a&&a(e)||!FY&&o&&o(e))},kX={isBold:OX(`bold`),isCompose:OX(`compose`),isMoveBackward:OX(`moveBackward`),isMoveForward:OX(`moveForward`),isDeleteBackward:OX(`deleteBackward`),isDeleteForward:OX(`deleteForward`),isDeleteLineBackward:OX(`deleteLineBackward`),isDeleteLineForward:OX(`deleteLineForward`),isDeleteWordBackward:OX(`deleteWordBackward`),isDeleteWordForward:OX(`deleteWordForward`),isExtendBackward:OX(`extendBackward`),isExtendForward:OX(`extendForward`),isExtendLineBackward:OX(`extendLineBackward`),isExtendLineForward:OX(`extendLineForward`),isItalic:OX(`italic`),isMoveLineBackward:OX(`moveLineBackward`),isMoveLineForward:OX(`moveLineForward`),isMoveWordBackward:OX(`moveWordBackward`),isMoveWordForward:OX(`moveWordForward`),isRedo:OX(`redo`),isSoftBreak:OX(`insertSoftBreak`),isSplitBlock:OX(`splitBlock`),isTransposeCharacter:OX(`transposeCharacter`),isUndo:OX(`undo`)};function vke(e,t){if(e==null)return{};for(var n={},r=Object.keys(e),i,a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function AX(e,t){if(e==null)return{};var n=vke(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var yke=[`anchor`,`focus`],bke=[`anchor`,`focus`];function jX(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function MX(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?jX(Object(n),!0).forEach(function(t){WY(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jX(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var xke=(e,t)=>Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(n=>t.hasOwnProperty(n)&&e[n]===t[n]),NX=(e,t)=>{var n=AX(e,yke),r=AX(t,bke);return e[mX]===t[mX]&&xke(n,r)},PX=(e,t)=>{if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],i=t[n];if(!q.equals(r,i)||!NX(r,i))return!1}return!0},FX=(e,t)=>{if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],i=t[n];if(r.anchor.offset!==i.anchor.offset||r.focus.offset!==i.focus.offset||!NX(r,i))return!1}return!0},Ske=(e,t,n)=>{var r=Array.from(t.children,()=>[]);if(n.length===0)return r;var i=gX.findPath(e,t),a=i.length,o=X.range(e,i),s=Array(t.children.length),c=t=>{var n=s[t];if(n)return n;var r=X.range(e,[...i,t]);return s[t]=r,r};for(var l of n){var u=q.intersection(o,l);if(u)for(var[d,f]=q.edges(u),p=d.path[a],m=f.path[a],h=p;h<=m;h++){var g=r[h];if(g){var _=c(h),v=q.intersection(_,l);v&&g.push(MX(MX({},l),v))}}}return r},IX=[],Cke=function(){return IX.some(function(e){return e.activeTargets.length>0})},wke=function(){return IX.some(function(e){return e.skippedTargets.length>0})},LX=`ResizeObserver loop completed with undelivered notifications.`,Tke=function(){var e;typeof ErrorEvent==`function`?e=new ErrorEvent(`error`,{message:LX}):(e=document.createEvent(`Event`),e.initEvent(`error`,!1,!1),e.message=LX),window.dispatchEvent(e)},RX;(function(e){e.BORDER_BOX=`border-box`,e.CONTENT_BOX=`content-box`,e.DEVICE_PIXEL_CONTENT_BOX=`device-pixel-content-box`})(RX||={});var zX=function(e){return Object.freeze(e)},Eke=function(){function e(e,t){this.inlineSize=e,this.blockSize=t,zX(this)}return e}(),BX=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,zX(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),VX=function(e){return e instanceof SVGElement&&`getBBox`in e},HX=function(e){if(VX(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,a=i.offsetWidth,o=i.offsetHeight;return!(a||o||e.getClientRects().length)},UX=function(e){if(e instanceof Element)return!0;var t=e?.ownerDocument?.defaultView;return!!(t&&e instanceof t.Element)},Dke=function(e){switch(e.tagName){case`INPUT`:if(e.type!==`image`)break;case`VIDEO`:case`AUDIO`:case`EMBED`:case`OBJECT`:case`CANVAS`:case`IFRAME`:case`IMG`:return!0}return!1},WX=typeof window<`u`?window:{},GX=new WeakMap,KX=/auto|scroll/,Oke=/^tb|vertical/,kke=/msie|trident/i.test(WX.navigator&&WX.navigator.userAgent),qX=function(e){return parseFloat(e||`0`)},JX=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new Eke((n?t:e)||0,(n?e:t)||0)},YX=zX({devicePixelContentBoxSize:JX(),borderBoxSize:JX(),contentBoxSize:JX(),contentRect:new BX(0,0,0,0)}),XX=function(e,t){if(t===void 0&&(t=!1),GX.has(e)&&!t)return GX.get(e);if(HX(e))return GX.set(e,YX),YX;var n=getComputedStyle(e),r=VX(e)&&e.ownerSVGElement&&e.getBBox(),i=!kke&&n.boxSizing===`border-box`,a=Oke.test(n.writingMode||``),o=!r&&KX.test(n.overflowY||``),s=!r&&KX.test(n.overflowX||``),c=r?0:qX(n.paddingTop),l=r?0:qX(n.paddingRight),u=r?0:qX(n.paddingBottom),d=r?0:qX(n.paddingLeft),f=r?0:qX(n.borderTopWidth),p=r?0:qX(n.borderRightWidth),m=r?0:qX(n.borderBottomWidth),h=r?0:qX(n.borderLeftWidth),g=d+l,_=c+u,v=h+p,y=f+m,b=s?e.offsetHeight-y-e.clientHeight:0,x=o?e.offsetWidth-v-e.clientWidth:0,S=i?g+v:0,C=i?_+y:0,w=r?r.width:qX(n.width)-S-x,T=r?r.height:qX(n.height)-C-b,E=w+g+x+v,D=T+_+b+y,O=zX({devicePixelContentBoxSize:JX(Math.round(w*devicePixelRatio),Math.round(T*devicePixelRatio),a),borderBoxSize:JX(E,D,a),contentBoxSize:JX(w,T,a),contentRect:new BX(d,c,w,T)});return GX.set(e,O),O},ZX=function(e,t,n){var r=XX(e,n),i=r.borderBoxSize,a=r.contentBoxSize,o=r.devicePixelContentBoxSize;switch(t){case RX.DEVICE_PIXEL_CONTENT_BOX:return o;case RX.BORDER_BOX:return i;default:return a}},Ake=function(){function e(e){var t=XX(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=zX([t.borderBoxSize]),this.contentBoxSize=zX([t.contentBoxSize]),this.devicePixelContentBoxSize=zX([t.devicePixelContentBoxSize])}return e}(),QX=function(e){if(HX(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},jke=function(){var e=1/0,t=[];IX.forEach(function(n){if(n.activeTargets.length!==0){var r=[];
570n.activeTargets.forEach(function(t){var n=new Ake(t.target),i=QX(t.target);r.push(n),t.lastReportedSize=ZX(t.target,t.observedBox),i<e&&(e=i)}),t.push(function(){n.callback.call(n.observer,r,n.observer)}),n.activeTargets.splice(0,n.activeTargets.length)}});for(var n=0,r=t;n<r.length;n++){var i=r[n];i()}return e},$X=function(e){IX.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(n){n.isActive()&&(QX(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))})})},Mke=function(){var e=0;for($X(e);Cke();)e=jke(),$X(e);return wke()&&Tke(),e>0},eZ,tZ=[],Nke=function(){return tZ.splice(0).forEach(function(e){return e()})},Pke=function(e){if(!eZ){var t=0,n=document.createTextNode(``);new MutationObserver(function(){return Nke()}).observe(n,{characterData:!0}),eZ=function(){n.textContent=`${t?t--:t++}`}}tZ.push(e),eZ()},Fke=function(e){Pke(function(){requestAnimationFrame(e)})},nZ=0,Ike=function(){return!!nZ},Lke=250,Rke={attributes:!0,characterData:!0,childList:!0,subtree:!0},rZ=[`resize`,`load`,`transitionend`,`animationend`,`animationstart`,`animationiteration`,`keyup`,`keydown`,`mouseup`,`mousedown`,`mouseover`,`mouseout`,`blur`,`focus`],iZ=function(e){return e===void 0&&(e=0),Date.now()+e},aZ=!1,oZ=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(e===void 0&&(e=Lke),!aZ){aZ=!0;var n=iZ(e);Fke(function(){var r=!1;try{r=Mke()}finally{if(aZ=!1,e=n-iZ(),!Ike())return;r?t.run(1e3):e>0?t.run(e):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,Rke)};document.body?t():WX.addEventListener(`DOMContentLoaded`,t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),rZ.forEach(function(t){return WX.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||=(this.observer&&this.observer.disconnect(),rZ.forEach(function(t){return WX.removeEventListener(t,e.listener,!0)}),!0)},e}()),sZ=function(e){!nZ&&e>0&&oZ.start(),nZ+=e,!nZ&&oZ.stop()},zke=function(e){return!VX(e)&&!Dke(e)&&getComputedStyle(e).display===`inline`},Bke=function(){function e(e,t){this.target=e,this.observedBox=t||RX.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e=ZX(this.target,this.observedBox,!0);return zke(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},e}(),Vke=function(){function e(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t}return e}(),cZ=new WeakMap,lZ=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},uZ=function(){function e(){}return e.connect=function(e,t){var n=new Vke(e,t);cZ.set(e,n)},e.observe=function(e,t,n){var r=cZ.get(e),i=r.observationTargets.length===0;lZ(r.observationTargets,t)<0&&(i&&IX.push(r),r.observationTargets.push(new Bke(t,n&&n.box)),sZ(1),oZ.schedule())},e.unobserve=function(e,t){var n=cZ.get(e),r=lZ(n.observationTargets,t),i=n.observationTargets.length===1;r>=0&&(i&&IX.splice(IX.indexOf(n),1),n.observationTargets.splice(r,1),sZ(-1))},e.disconnect=function(e){var t=this,n=cZ.get(e);n.observationTargets.slice().forEach(function(n){return t.unobserve(e,n.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Hke=function(){function e(e){if(arguments.length===0)throw TypeError(`Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.`);if(typeof e!=`function`)throw TypeError(`Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.`);uZ.connect(this,e)}return e.prototype.observe=function(e,t){if(arguments.length===0)throw TypeError(`Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.`);if(!UX(e))throw TypeError(`Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element`);uZ.observe(this,e,t)},e.prototype.unobserve=function(e){if(arguments.length===0)throw TypeError(`Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.`);if(!UX(e))throw TypeError(`Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element`);uZ.unobserve(this,e)},e.prototype.disconnect=function(){uZ.disconnect(this)},e.toString=function(){return`function ResizeObserver () { [polyfill code] }`},e}(),dZ=u(DOe()),Uke=u(_Y()),Wke=u(ROe());function Gke(e,t){if(e==null)return{};for(var n={},r=Object.keys(e),i,a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function fZ(e,t){if(e==null)return{};var n=Gke(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function pZ(e){"@babel/helpers - typeof";return pZ=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},pZ(e)}function Kke(e,t){if(pZ(e)!==`object`||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(pZ(r)!==`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function qke(e){var t=Kke(e,`string`);return pZ(t)===`symbol`?t:String(t)}function mZ(e,t,n){return t=qke(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hZ=(0,I.createContext)(null),gZ=()=>{var e=(0,I.useContext)(hZ);if(!e)throw Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return e},Q=gX;function _Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function vZ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
570t%2?_Z(Object(n),!0).forEach(function(t){mZ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_Z(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Jke=25,Yke=200,Xke=e=>e?.constructor.name===`DataTransfer`;function Zke(e){var{editor:t,scheduleOnDOMSelectionChange:n,onDOMSelectionChange:r}=e,i=!1,a=null,o=null,s=null,c=0,l=!1,u=()=>{var e=fX.get(t);if(fX.delete(t),e){var{selection:n}=t,r=bX(t,e);r&&(!n||!q.equals(r,n))&&Z.select(t,r)}},d=()=>{var e=dX.get(t);if(dX.delete(t),e){if(e.at){var n=Kq.isPoint(e.at)?yX(t,e.at):bX(t,e.at);if(!n)return;var r=X.range(t,n);(!t.selection||!q.equals(t.selection,r))&&Z.select(t,n)}e.run()}},f=()=>{if(o&&=(clearTimeout(o),null),s&&=(clearTimeout(s),null),!b()&&!y()){u();return}i||(i=!0,setTimeout(()=>i=!1)),y()&&(i=`action`);var e=t.selection&&X.rangeRef(t,t.selection,{affinity:`forward`});lX.set(t,t.marks),dX.get(t),uX.get(t);for(var a=b(),c;c=(f=uX.get(t))?.[0];){var f,p=cX.get(t);p!==void 0&&(cX.delete(t),t.marks=p),p&&l===!1&&(l=null);var m=dke(c);(!t.selection||!q.equals(t.selection,m))&&Z.select(t,m),c.diff.text?X.insertText(t,c.diff.text):X.deleteFragment(t),uX.set(t,uX.get(t)?.filter(e=>{var{id:t}=e;return t!==c.id})),ske(t,c)||(a=!1,dX.delete(t),lX.delete(t),i=`action`,fX.delete(t),n.cancel(),r.cancel(),e?.unref())}var h=e?.unref();if(h&&!fX.get(t)&&(!t.selection||!q.equals(h,t.selection))&&Z.select(t,h),y()){d();return}a&&n(),n.flush(),r.flush(),u();var g=lX.get(t);lX.delete(t),g!==void 0&&(t.marks=g,t.onChange())},p=e=>{a&&clearTimeout(a),a=setTimeout(()=>{iX.set(t,!1),f()},Jke)},m=e=>{iX.set(t,!0),a&&=(clearTimeout(a),null)},h=function(){var e=arguments.length>0&&arguments[0]!==void 0&&arguments[0],n=ZY.get(t);if(n){if(b()||e){n.style.display=`none`;return}n.style.removeProperty(`display`)}},g=(e,n)=>{var r=uX.get(t)??[];uX.set(t,r);var i=Y.leaf(t,e),a=r.findIndex(t=>K.equals(t.path,e));if(a<0){vX(i.text,n)&&r.push({path:e,diff:n,id:c++}),h();return}var o=uke(i.text,r[a].diff,n);if(!o){r.splice(a,1),h();return}r[a]=vZ(vZ({},r[a]),{},{diff:o})},_=function(e){var{at:i}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};l=!1,fX.delete(t),n.cancel(),r.cancel(),y()&&f(),dX.set(t,{at:i,run:e}),s=setTimeout(f)},v=e=>{if(o&&=(clearTimeout(o),null),!KY.get(t)){var{inputType:n}=e,r=null,i=e.dataTransfer||e.data||void 0;l!==!1&&n!==`insertText`&&n!==`insertCompositionText`&&(l=!1);var[a]=e.getTargetRanges();a&&(r=Q.toSlateRange(t,a,{exactMatch:!1,suppressThrow:!0}));var s=Q.getWindow(t).getSelection();if(!r&&s&&(a=s,r=Q.toSlateRange(t,s,{exactMatch:!1,suppressThrow:!0})),r??=t.selection,r){var c=!0;if(n.startsWith(`delete`)){var u=n.endsWith(`Backward`)?`backward`:`forward`,[d,f]=q.edges(r),[p,m]=X.leaf(t,d.path);if(q.isExpanded(r)&&p.text.length===d.offset&&f.offset===0){var h=X.next(t,{at:d.path,match:Zq.isText});h&&K.equals(h[1],f.path)&&(u===`backward`?(r={anchor:f,focus:f},d=f,[p,m]=h):(r={anchor:d,focus:d},f=d))}var v={text:``,start:d.offset,end:f.offset},y=uX.get(t)?.find(e=>K.equals(e.path,m)),b=y?[y.diff,v]:[v];if(_X(p.text,...b).length===0&&(c=!1),q.isExpanded(r)){if(c&&K.equals(r.anchor.path,r.focus.path)){var x={path:r.anchor.path,offset:d.offset};return C(X.range(t,x,x)),g(r.anchor.path,{text:``,end:f.offset,start:d.offset})}return _(()=>X.deleteFragment(t,{direction:u}),{at:r})}}switch(n){case`deleteByComposition`:case`deleteByCut`:case`deleteByDrag`:return _(()=>X.deleteFragment(t),{at:r});case`deleteContent`:case`deleteContentForward`:var{anchor:S}=r;if(c&&q.isCollapsed(r)){var w=Y.leaf(t,S.path);if(S.offset<w.text.length)return g(S.path,{text:``,start:S.offset,end:S.offset+1})}return _(()=>X.deleteForward(t),{at:r});case`deleteContentBackward`:var T,{anchor:D}=r,O=DY(a)?a.isCollapsed:!!((T=a)!=null&&T.collapsed);return c&&O&&q.isCollapsed(r)&&D.offset>0?g(D.path,{text:``,start:D.offset-1,end:D.offset}):_(()=>X.deleteBackward(t),{at:r});case`deleteEntireSoftLine`:return _(()=>{X.deleteBackward(t,{unit:`line`}),X.deleteForward(t,{unit:`line`})},{at:r});case`deleteHardLineBackward`:return _(()=>X.deleteBackward(t,{unit:`block`}),{at:r});case`deleteSoftLineBackward`:return _(()=>X.deleteBackward(t,{unit:`line`}),{at:r});case`deleteHardLineForward`:return _(()=>X.deleteForward(t,{unit:`block`}),{at:r});case`deleteSoftLineForward`:return _(()=>X.deleteForward(t,{unit:`line`}),{at:r});case`deleteWordBackward`:return _(()=>X.deleteBackward(t,{unit:`word`}),{at:r});
570case`deleteWordForward`:return _(()=>X.deleteForward(t,{unit:`word`}),{at:r});case`insertLineBreak`:return _(()=>X.insertSoftBreak(t),{at:r});case`insertParagraph`:return _(()=>X.insertBreak(t),{at:r});case`insertCompositionText`:case`deleteCompositionText`:case`insertFromComposition`:case`insertFromDrop`:case`insertFromPaste`:case`insertFromYank`:case`insertReplacementText`:case`insertText`:if(Xke(i))return _(()=>Q.insertData(t,i),{at:r});var k=i??``;if(cX.get(t)&&(k=k.replace(``,``)),n===`insertText`&&/.*\n.*\n$/.test(k)&&(k=k.slice(0,-1)),k.includes(` 571`))return _(()=>{var e=k.split(` 572`);e.forEach((n,r)=>{n&&X.insertText(t,n),r!==e.length-1&&X.insertSoftBreak(t)})},{at:r});if(K.equals(r.anchor.path,r.focus.path)){var[A,j]=q.edges(r),M={start:A.offset,end:j.offset,text:k};if(k&&l&&n===`insertCompositionText`){var ee=l.start+l.text.search(/\S|$/);M.start+M.text.search(/\S|$/)===ee+1&&M.end===l.start+l.text.length?(--M.start,l=null,E()):l=!1}else l=n===`insertText`?l===null?M:l&&q.isCollapsed(r)&&l.end+l.text.length===A.offset?vZ(vZ({},l),{},{text:l.text+k}):!1:!1;if(c){var N=t.selection;if(g(A.path,M),N){var te={path:A.path,offset:A.offset+k.length};_(()=>{Z.select(t,{anchor:te,focus:te})},{at:te})}return}}return _(()=>X.insertText(t,k),{at:r})}}}},y=()=>!!dX.get(t),b=()=>{var e;return!!((e=uX.get(t))!=null&&e.length)},x=()=>y()||b(),S=()=>i,C=e=>{fX.set(t,e),o&&=(clearTimeout(o),null);var{selection:n}=t;if(e){var r=!n||!K.equals(n.anchor.path,e.anchor.path),i=!n||!K.equals(n.anchor.path.slice(0,-1),e.anchor.path.slice(0,-1));(r&&l||i)&&(l=!1),(r||b())&&(o=setTimeout(f,Yke))}},w=()=>{(y()||!b())&&f()},T=e=>
572{b()||(h(!0),setTimeout(h))},E=()=>{y()||(s=setTimeout(f))};return{flush:f,scheduleFlush:E,hasPendingDiffs:b,hasPendingAction:y,hasPendingChanges:x,isFlushing:S,handleUserSelect:C,handleCompositionEnd:p,handleCompositionStart:m,handleDOMBeforeInput:v,handleKeyDown:T,handleDomMutations:e=>{if(!(b()||y())&&e.some(n=>MY(t,n,e))){var n;(n=pX.get(t))==null||n()}},handleInput:w}}function Qke(){var e=(0,I.useRef)(!1);return(0,I.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),e.current}var yZ=VY?I.useLayoutEffect:I.useEffect;function $ke(e,t,n){var[r]=(0,I.useState)(()=>new MutationObserver(t));yZ(()=>{r.takeRecords()}),(0,I.useEffect)(()=>{if(!e.current)throw Error("Failed to attach MutationObserver, `node` is undefined");return r.observe(e.current,n),()=>r.disconnect()},[r,e,n])}var eAe=[`node`];function bZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tAe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?bZ(Object(n),!0).forEach(function(t){mZ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bZ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var nAe={subtree:!0,childList:!0,characterData:!0},rAe=IY?e=>{var{node:t}=e,n=fZ(e,eAe);if(!IY)return null;var r=gZ(),i=Qke(),[a]=(0,I.useState)(()=>Zke(tAe({editor:r},n)));return $ke(t,a.handleDomMutations,nAe),sX.set(r,a.scheduleFlush),i&&a.flush(),a}:()=>null;function xZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function iAe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?xZ(Object(n),!0).forEach(function(t){mZ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xZ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var aAe=e=>{var{isLast:t,leaf:n,parent:r,text:i}=e,a=gZ(),o=Q.findPath(a,i),s=K.parent(o),c=!!n[hX];return a.isVoid(r)?I.createElement(CZ,{length:Y.string(r).length}):n.text===``&&r.children[r.children.length-1]===i&&!a.isInline(r)&&X.string(a,s)===``?I.createElement(CZ,{isLineBreak:!0,isMarkPlaceholder:c}):n.text===``?I.createElement(CZ,{isMarkPlaceholder:c}):t&&n.text.slice(-1)===` 573`?I.createElement(SZ,{isTrailing:!0,text:n.text}):I.createElement(SZ,{text:n.text})},SZ=e=>{var{text:t,isTrailing:n=!1}=e,r=(0,I.useRef)(null),i=()=>`${t??``}${n?` 574`:``}`,[a]=(0,I.useState)(i);return yZ(()=>{var e=i();r.current&&r.current.textContent!==e&&(r.current.textContent=e)}),I.createElement(oAe,{ref:r},a)},oAe=(0,I.memo)((0,I.forwardRef)((e,t)=>I.createElement(`span`,{"data-slate-string":!0,ref:t},e.children))),CZ=e=>{var{length:t=0,isLineBreak:n=!1,isMarkPlaceholder:r=!1}=e,i={"data-slate-zero-width":n?`n`:`z`,"data-slate-length":t};return r&&(i[`data-slate-mark-placeholder`]=!0),I.createElement(`span`,iAe({},i),!IY||!n?``:null,n?I.createElement(`br`,null):null)};function wZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function TZ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?wZ(Object(n),!0).forEach(function(t){mZ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wZ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var sAe=IY?300:0;function cAe(e,t){e.current&&(e.current.disconnect(),t&&(e.current=null))}function EZ(e){e.current&&=(clearTimeout(e.current),null)}var lAe=e=>I.createElement(dAe,TZ({},e)),uAe=I.memo(e=>{var{leaf:t,isLast:n,text:r,parent:i,renderPlaceholder:a,renderLeaf:o=lAe,leafPosition:s}=e,c=gZ(),l=(0,I.useRef)(null),u=(0,I.useRef)(null),[d,f]=(0,I.useState)(!1),p=(0,I.useRef)(null),m=(0,I.useCallback)(e=>{if(cAe(l,e==null),e==null){var n;ZY.delete(c),(n=t.onPlaceholderResize)==null||n.call(t,null)}else ZY.set(c,e),l.current||=new(window.ResizeObserver||Hke)(()=>{var n;(n=t.onPlaceholderResize)==null||n.call(t,e)}),l.current.observe(e),u.current=e},[u,t,c]),h=I.createElement(aAe,{isLast:n,leaf:t,parent:i,text:r}),g=!!t[mX];if((0,I.useEffect)(()=>(g?p.current||=setTimeout(()=>{f(!0),p.current=null},sAe):(EZ(p),f(!1)),()=>EZ(p)),[g,f]),g&&d){var _={children:t.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:`absolute`,top:0,pointerEvents:`none`,width:`100%`,maxWidth:`100%`,dis
574play:`block`,opacity:`0.333`,userSelect:`none`,textDecoration:`none`,WebkitUserModify:RY?`inherit`:void 0},contentEditable:!1,ref:m}};h=I.createElement(I.Fragment,null,h,a(_))}return o({attributes:{"data-slate-leaf":!0},children:h,leaf:t,text:r,leafPosition:s})},(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&Zq.equals(t.leaf,e.leaf)&&t.leaf[mX]===e.leaf[mX]),dAe=e=>{var{attributes:t,children:n}=e;return I.createElement(`span`,TZ({},t),n)};function fAe(e,t){var[,n]=(0,I.useReducer)(e=>e+1,0),r=(0,I.useRef)(),i=(0,I.useRef)(()=>null),a=(0,I.useRef)(null),o;try{if(e!==i.current||r.current){var s=e();o=t(a.current,s)?a.current:s}else o=a.current}catch(e){throw r.current&&pAe(e)&&(e.message+=` 575The error may be correlated with this previous error: 576${r.current.stack} 577 578`),e}i.current=e,a.current=o,r.current=void 0;var c=(0,I.useCallback)(()=>{try{var e=i.current();if(t(a.current,e))return;a.current=e}catch(e){r.current=e instanceof Error?e:Error(String(e))}n()},[]);return[o,c]}function pAe(e){return e instanceof Error}var DZ=(0,I.createContext)({}),OZ=(e,t)=>{var n=gZ(),{decorate:r,addEventListener:i}=(0,I.useContext)(DZ),[a,o]=fAe(()=>r([e,Q.findPath(n,e)]),Zq.isText(e)?FX:PX);return yZ(()=>{var e=i(o);return o(),e},[i,o]),(0,I.useMemo)(()=>[...a,...t],[a,t])},mAe=e=>{var t=(0,I.useRef)(new Set),n=(0,I.useRef)(e);yZ(()=>{n.current=e,t.current.forEach(e=>e())},[e]);var r=(0,I.useCallback)(e=>n.current(e),[]),i=(0,I.useCallback)(e=>(t.current.add(e),()=>{t.current.delete(e)}),[]);return(0,I.useMemo)(()=>({decorate:r,addEventListener:i}),[r,i])};function kZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function AZ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?kZ(Object(n),!0).forEach(function(t){mZ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kZ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var hAe=e=>I.createElement(gAe,AZ({},e)),jZ=I.memo(e=>{for(var{decorations:t,isLast:n,parent:r,renderPlaceholder:i,renderLeaf:a,renderText:o=hAe,text:s}=e,c=gZ(),l=(0,I.useRef)(null),u=OZ(s,t),d=Zq.decorations(s,u),f=Q.findKey(c,s),p=[],m=0;m<d.length;m++){var{leaf:h,position:g}=d[m];p.push(I.createElement(uAe,{isLast:n&&m===d.length-1,key:`${f.id}-${m}`,renderPlaceholder:i,leaf:h,leafPosition:g,text:s,parent:r,renderLeaf:a}))}return o({text:s,children:p,attributes:{"data-slate-node":`text`,ref:(0,I.useCallback)(e=>{var t=tX.get(c);e?(t?.set(f,e),$Y.set(s,e),QY.set(e,s)):(t?.delete(f),$Y.delete(s),l.current&&QY.delete(l.current)),l.current=e},[l,c,f,s])}})},(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderText===e.renderText&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&FX(t.decorations,e.decorations)),gAe=e=>{var{attributes:t,children:n}=e;return I.createElement(`span`,AZ({},t),n)};function MZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function NZ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?MZ(Object(n),!0).forEach(function(t){mZ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MZ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var _Ae=e=>I.createElement(yAe,NZ({},e)),vAe=I.memo(e=>{var{decorations:t,element:n,renderElement:r=_Ae,renderChunk:i,renderPlaceholder:a,renderLeaf:o,renderText:s}=e,c=gZ(),l=kAe(),u=c.isInline(n),d=OZ(n,t),f=Q.findKey(c,n),p=(0,I.useCallback)(e=>{var t=tX.get(c);e?(t?.set(f,e),$Y.set(n,e),QY.set(e,n)):(t?.delete(f),$Y.delete(n))},[c,f,n]),m=RZ({decorations:d,node:n,renderElement:r,renderChunk:i,renderPlaceholder:a,renderLeaf:o,renderText:s}),h={"data-slate-node":`element`,ref:p};if(u&&(h[`data-slate-inline`]=!0),!u&&X.hasInlines(c,n)){var g=Y.string(n),_=(0,dZ.default)(g);_===`rtl`&&(h.dir=_)}if(X.isVoid(c,n)){h[`data-slate-void`]=!0,!l&&u&&(h.contentEditable=!1);var v=u?`span`:`div`,[[y]]=Y.texts(n);m=I.createElement(v,{"data-slate-spacer":!0,style:{height:`0`,color:`transparent`,outline:`none`,position:`absolute`}},I.createElement(jZ,{renderPlaceholder:a,decorations:[],isLast:!1,parent:n,text:y})),qY.set(y,0),JY.set(y,n)}return r({attributes:h,children:m,element:n})},(e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderChunk===t.renderChunk&&e.renderText===t.renderText&&e.renderLeaf===t.renderLeaf&&e.renderPlaceholder===t.renderPlaceholder&&PX(e.decorations,t.decorations)),yAe=e=>{var{attributes:t,children:n,element:r}=e,i=gZ().isInline(r)?`span`:`div`;return I.createElement(i,NZ(NZ({},t),{},{style:{position:`relative`}}),n)},bAe=class{constructor(e,t){var{chunkSize:n,debug:r}=t;mZ(this,`root`,void 0),mZ(this,`chunkSize`,void 0),mZ(this,`debug`,void 0),mZ(this,`reachedEnd`,void 0),mZ(this,`pointerChunk`,void 0),mZ(this,`pointerIndex`,void 0),mZ(this,`pointerIndexStack`,void 0),mZ(this,`cachedPointerNode`,void 0),this.root=e,this.chunkSize=n,this.debug=r??!1,this.pointerChunk=e,this.pointerIndex=-1,this.pointerIndexStack=[],this.reachedEnd=!1,this.validateState()}readLeaf(){if(this.reachedEnd)return null;for(;;)if(this.pointerIndex+1<this.pointerSiblings.length){this.pointerIndex++,this.cachedPointerNode=void 0;break}else if(this.pointerChunk.type===`root`)return this.reachedEnd=!0,null;else this.exitChunk();return this.validateState(),this.enterChunkUntilLeaf(!1),this.pointerNode}returnToPreviousLeaf(){if(this.reachedEnd){this.reachedEnd=!1,this.enterChunkUntilLeaf(!0);return}for(;;)if(this.pointerIndex>=1){this.pointerIndex--,this.cachedPointerNode=void 0;break}else if(this.pointerChunk.type===`root`){this.pointerIndex=-1;return}else this.exitChunk();this.validateState(),this.enterChunkUntilLeaf(!0)}insertBefore(e){this.returnToPreviousLeaf(),this.insertAfter(e),this.readLeaf()}insertAfter(e){if(e.length!==0){for(var t=0,n=0;this.pointerChunk.type===`chunk`&&this.pointerIndex===this.pointerSiblings.length-1;){var r=this.chunkSize-this.pointerSiblings.length,i=Math.min(r,e.length);if(i>0){var a=e.splice(0,i);this.rawInsertAfter(a,t)}this.exitChunk(),t++}if(e.length!==0){var o=this.savePointer(),s=null;if(this.readLeaf())for(;this.pointerChunk.type===`chunk`&&this.pointerIndex===0;){var c=this.chunkSize-this.pointerSiblings.length,l=Math.min(c,e.length);if(l>0){var u=e.splice(-l,l);this.pointerIndex=-1,this.cachedPointerNode=void 0,this.rawInsertAfter(u,n),s||=this.savePointer()}this.exitChunk(),n++}this.restorePointer(o);var d=Math.max(t,n);this.rawInsertAfter(e,d),s&&this.restorePointer(s),this.validateState()}}}remove(){this.pointerSiblings.splice(this.pointerIndex--,1),this.cachedPointerNode=void 0,this.pointerSiblings.length===0&&this.pointerChunk.type===`chunk`?(this.exitChunk(),this.remove()):this.invalidateChunk(),this.validateState()}invalidateChunk(){for(var e=this.pointerChunk;e.type===`chunk`;e=e.parent)this.root.modifiedChunks.add(e)}get atStart(){return this.pointerChunk.type===`root`&&this.pointerIndex===-1}get pointerSiblings(){return this.pointerChunk.children}getPointerNode(){return this.reachedEnd||this.pointerIndex===-1?null:this.pointerSiblings[this.pointerIndex]}get pointerNode(){if(this.cachedPointerNode!==void 0)return this.cachedPointerNode;var e=this.getPointerNode();return this.cachedPointerNode=e,e}getChunkPath(e){for(var t=[],n=e;n.type===`chunk`;n=n.parent){var r=n.parent.children.indexOf(n);if(r===-1)return null;t.unshift(r)}return t}savePointer(){if(this.atStart)return`start`;if(!this.pointerNode)throw Error(`Cannot save pointer when pointerNode is null`);return{chunk:this.pointerChunk,node:this.pointerNode}}restorePointer(e){if(e===`start`){this.pointerChunk=this.root,this.pointerIndex=-1,this.pointerIndexStack=[],this.reachedEnd=!1,this.cachedPointerNode=void 0;return}var{chunk:t,node:n}=e,r=t.children.indexOf(n);if(r===-1)throw Error(`Cannot restore point because saved node is no longer in saved chunk`);var i=this.getChunkPath(t);if(!i)throw Error(`Cannot restore point because saved chunk is no longer connected to root`);this.pointerChunk=t,this.pointerIndex=r,this.pointerIndexStack=i,this.reachedEnd=!1,this.cachedPointerNode=n,this.validateState()}enterChunk(e){if(this.pointerNode?.type!==`chunk`)throw Error(`Cannot enter non-chunk`);if(this.pointerIndexStack.push(this.pointerIndex),this.pointerChunk=this.pointerNode,this.pointerIndex=e?this.pointerSiblings.length-1:0,this.cachedPointerNode=void 0,this.validateState(),this.pointerChunk.children.length===0)throw Error(`Cannot enter empty chunk`)}enterChunkUntilLeaf(e){for(;(t=this.pointerNode)?.type===`chunk`;){var t;this.enterChunk(e)}}exitChunk(){if(this.pointerChunk.type===`root`)throw Error(`Cannot exit root`);var e=this.pointerChunk;this.pointerChunk=e.parent,this.pointerIndex=this.pointerIndexStack.pop(),this.cachedPointerNode=void 0,this.validateState()}rawInsertAfter(e,t){if(e.length!==0){for(var n=(e,t,r)=>{if(r===1)return e;for(var i=[],a=0;a<this.chunkSize;a++){var o=e.slice(a*r,(a+1)*r);if(o.length===0)break;var s={type:`chunk`,key:new GY,parent:t,children:[]};s.children=n(o,s,r/this.chunkSize),i.push(s)}return i},r=this.pointerSiblings.length+e.length,i=0,a=this.chunkSize;a<r;a*=this.chunkSize)i++;var o=Math.max(i,t),s=this.chunkSize**+o,c=n(e,this.pointerChunk,s);this.pointerSiblings.splice(this.pointerIndex+1,0,...c),this.pointerIndex+=c.length,this.cachedPointerNode=void 0,this.invalidateChunk(),this.validateState()}}validateState(){if(this.debug){var e=t=>{if(t.type===`chunk`){var{parent:n,children:r}=t;if(!n.children.includes(t))throw Error(`Debug: Chunk ${t.key.id} has an incorrect parent property`);r.forEach(e)}};
578if(this.root.children.forEach(e),this.cachedPointerNode!==void 0&&this.cachedPointerNode!==this.getPointerNode())throw Error(`Debug: The cached pointer is incorrect and has not been invalidated`);var t=this.getChunkPath(this.pointerChunk);if(!t)throw Error(`Debug: The pointer chunk is not connected to the root`);if(!K.equals(this.pointerIndexStack,t))throw Error(`Debug: The cached index stack [${this.pointerIndexStack.join(`, `)}] does not match the path of the pointer chunk [${t.join(`, `)}]`)}}},xAe=class{constructor(e,t){mZ(this,`editor`,void 0),mZ(this,`children`,void 0),mZ(this,`cachedKeys`,void 0),mZ(this,`pointerIndex`,void 0),this.editor=e,this.children=t,this.cachedKeys=Array(t.length),this.pointerIndex=0}read(e){if(e===1)return[this.children[this.pointerIndex++]];var t=this.remaining(e);return this.pointerIndex+=e,t}remaining(e){return e===void 0?this.children.slice(this.pointerIndex):this.children.slice(this.pointerIndex,this.pointerIndex+e)}get reachedEnd(){return this.pointerIndex>=this.children.length}lookAhead(e,t){var n=this.children.indexOf(e,this.pointerIndex);if(n>-1)return n-this.pointerIndex;for(var r=this.pointerIndex;r<this.children.length;r++){var i=this.children[r];if(this.findKey(i,r)===t)return r-this.pointerIndex}return-1}toChunkLeaves(e,t){return e.map((e,n)=>({type:`leaf`,node:e,key:this.findKey(e,t+n),index:t+n}))}findKey(e,t){var n=this.cachedKeys[t];if(n)return n;var r=Q.findKey(this.editor,e);return this.cachedKeys[t]=r,r}},SAe=(e,t)=>{var{chunkTree:n,children:r,chunkSize:i,rerenderChildren:a=[],onInsert:o,onUpdate:s,onIndexChange:c,debug:l}=t;n.modifiedChunks.clear();for(var u=new bAe(n,{chunkSize:i,debug:l}),d=new xAe(e,r),f,p=function(){var e=d.lookAhead(f.node,f.key),t=e>0&&n.movedNodeKeys.has(f.key);if(e===-1||t)return u.remove(),1;var r=d.pointerIndex,i=d.read(e+1),l=i.pop();if(i.length){var p=d.toChunkLeaves(i,r);
578u.insertBefore(p),i.forEach((e,t)=>{o?.(e,r+t)})}var m=d.pointerIndex-1;f.node!==l&&(f.node=l,u.invalidateChunk(),s?.(l,m)),f.index!==m&&(f.index=m,c?.(l,m)),a.includes(m)&&u.invalidateChunk()};f=u.readLeaf();)if(p())continue;if(!d.reachedEnd){var m=d.remaining(),h=d.toChunkLeaves(m,d.pointerIndex);u.returnToPreviousLeaf(),u.insertAfter(h),m.forEach((e,t)=>{o?.(e,d.pointerIndex+t)})}n.movedNodeKeys.clear()};function PZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function CAe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?PZ(Object(n),!0).forEach(function(t){mZ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PZ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var FZ=new WeakMap,IZ=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Q.findKey(e,t),i=FZ.get(r);return i||(i={type:`root`,movedNodeKeys:new Set,modifiedChunks:new Set,children:[]},FZ.set(r,i)),n.reconcile&&SAe(e,CAe({chunkTree:i,children:t.children},n.reconcile)),i},wAe=e=>{var{children:t}=e;return t},LZ=e=>{var{root:t,ancestor:n,renderElement:r,renderChunk:i=wAe}=e;return n.children.map(e=>{if(e.type===`chunk`){var a=e.key.id,o=i({highest:n===t,lowest:e.children.some(e=>e.type===`leaf`),attributes:{"data-slate-chunk":!0},children:I.createElement(EAe,{root:t,ancestor:e,renderElement:r,renderChunk:i})});return I.createElement(I.Fragment,{key:a},o)}var s=e.node;return r(s,e.index,e.key)})},TAe=LZ,EAe=I.memo(LZ,(e,t)=>e.root===t.root&&e.renderElement===t.renderElement&&e.renderChunk===t.renderChunk&&!t.root.modifiedChunks.has(t.ancestor)),DAe=(0,I.createContext)(null),RZ=e=>{var{decorations:t,node:n,renderElement:r,renderChunk:i,renderPlaceholder:a,renderText:o,renderLeaf:s}=e,c=gZ();KY.set(c,!1);var l=!X.isEditor(n)&&J.isElement(n)&&!c.isInline(n)&&X.hasInlines(c,n)?null:c.getChunkSize(n),u=!!l,{decorationsByChild:d,childrenToRedecorate:f}=OAe(c,n,t);u||n.children.forEach((e,t)=>{qY.set(e,t),JY.set(e,n)});var p=(0,I.useCallback)((e,t,n)=>{var l=n??Q.findKey(c,e);return I.createElement(DAe.Provider,{key:`provider-${l.id}`,value:e},I.createElement(vAe,{decorations:d[t],element:e,key:l.id,renderElement:r,renderChunk:i,renderPlaceholder:a,renderLeaf:s,renderText:o}))},[c,d,r,i,a,s,o]),m=(e,t)=>{var r=Q.findKey(c,e);return I.createElement(jZ,{decorations:d[t],key:r.id,isLast:t===n.children.length-1,parent:n,renderPlaceholder:a,renderLeaf:s,renderText:o,text:e})};if(!u)return n.children.map((e,t)=>Zq.isText(e)?m(e,t):p(e,t));var h=IZ(c,n,{reconcile:{chunkSize:l,rerenderChildren:f,onInsert:(e,t)=>{qY.set(e,t),JY.set(e,n)},onUpdate:(e,t)=>{qY.set(e,t),JY.set(e,n)},onIndexChange:(e,t)=>
578{qY.set(e,t)}}});return I.createElement(TAe,{root:h,ancestor:h,renderElement:p,renderChunk:i})},OAe=(e,t,n)=>{var r=Ske(e,t,n),i=(0,I.useRef)(r).current,a=[];i.length=r.length;for(var o=0;o<r.length;o++){var s=r[o];PX(i[o]??null,s)||(i[o]=s,a.push(o))}return{decorationsByChild:i,childrenToRedecorate:a}},zZ=(0,I.createContext)(!1),kAe=()=>(0,I.useContext)(zZ),BZ=(0,I.createContext)({});function AAe(){var e=(0,I.useRef)(new Set),t=(0,I.useRef)(new Set),n=(0,I.useCallback)(()=>{e.current.forEach(e=>e())},[]),r=(0,I.useCallback)(()=>{t.current.forEach(e=>e()),t.current.clear()},[]),i=(0,I.useCallback)(function(n){var{deferred:r=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r?()=>t.current.add(n):n;return e.current.add(i),()=>{e.current.delete(i)}},[]);return{selectorContext:(0,I.useMemo)(()=>({addEventListener:i,flushDeferred:r}),[i,r]),onChange:n}}function jAe(){var{flushDeferred:e}=(0,I.useContext)(BZ);yZ(e)}var VZ=()=>{var{addEventListener:e}=(0,I.useContext)(BZ),[,t]=(0,I.useReducer)(e=>e+1,0);if(!e)throw Error("The `useSlate` hook must be used inside the <Slate> component's context.");return yZ(()=>e(t),[e]),gZ()};function MAe(){var e=gZ(),t=(0,I.useRef)(!1),n=(0,I.useRef)(0),r=(0,I.useCallback)(()=>{if(!t.current){t.current=!0;var r=Q.getWindow(e);r.cancelAnimationFrame(n.current),n.current=r.requestAnimationFrame(()=>{t.current=!1})}},[e]);return(0,I.useEffect)(()=>()=>cancelAnimationFrame(n.current),[]),{receivedUserInput:t,onUserInput:r}}var NAe=(e,t)=>{var n=[],r=()=>{n=[]},i=r=>{if(t.current){var i=r.filter(t=>MY(e,t,r));n.push(...i)}};function a(){n.length>0&&(n.reverse().forEach(e=>{e.type!==`characterData`&&(e.removedNodes.forEach(t=>{e.target.insertBefore(t,e.nextSibling)}),e.addedNodes.forEach(t=>{e.target.removeChild(t)}))}),r())}return{registerMutations:i,restoreDOM:a,clear:r}},PAe={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0},HZ=class extends I.Component{constructor(){super(...arguments),mZ(this,`context`,null),mZ(this,`manager`,null),mZ(this,`mutationObserver`,null)}observe(){var e,{node:t}=this.props;if(!t.current)throw Error("Failed to attach MutationObserver, `node` is undefined");(e=this.mutationObserver)==null||e.observe(t.current,PAe)}componentDidMount(){var{receivedUserInput:e}=this.props,t=this.context;this.manager=NAe(t,e),this.mutationObserver=new MutationObserver(this.manager.registerMutations),this.observe()}getSnapshotBeforeUpdate(){var e,t,n=this.mutationObserver?.takeRecords();if(n!=null&&n.length){var r;(r=this.manager)==null||r.registerMutations(n)}return(e=this.mutationObserver)==null||e.disconnect(),(t=this.manager)==null||t.restoreDOM(),null}componentDidUpdate(){var e;(e=this.manager)==null||e.clear(),this.observe()}componentWillUnmount(){var e;(e=this.mutationObserver)==null||e.disconnect()}render(){return this.props.children}};mZ(HZ,`contextType`,hZ);var FAe=IY?HZ:e=>{var{children:t}=e;return I.createElement(I.Fragment,null,t)},IAe=(0,I.createContext)(!1),LAe=[`autoFocus`,`decorate`,`onDOMBeforeInput`,`placeholder`,`readOnly`,`renderElement`,`renderChunk`,`renderLeaf`,`renderText`,`renderPlaceholder`,`scrollSelectionIntoView`,`style`,`as`,`disableDefaultStyles`],RAe=[`text`];function UZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function WZ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?UZ(Object(n),!0).forEach(function(t){mZ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UZ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var zAe=e=>I.createElement(I.Fragment,null,RZ(e)),GZ=(0,I.forwardRef)((e,t)=>{var n=(0,I.useCallback)(e=>I.createElement(BAe,WZ({},e)),[]),{autoFocus:r,decorate:i=VAe,onDOMBeforeInput:a,placeholder:o,readOnly:s=!1,renderElement:c,renderChunk:l,renderLeaf:u,renderText:d,renderPlaceholder:f=n,scrollSelectionIntoView:p=HAe,style:m={},as:h=`div`,disableDefaultStyles:g=!1}=e,_=fZ(e,LAe),v=VZ(),[y,b]=(0,I.useState)(!1),x=(0,I.useRef)(null),S=(0,I.useRef)([]),[C,w]=(0,I.useState)(),T=(0,I.useRef)(!1),{onUserInput:E,receivedUserInput:D}=MAe(),[,O]=(0,I.useReducer)(e=>e+1,0);pX.set(v,O),nX.set(v,s);var k=(0,I.useMemo)(()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1}),[]);(0,I.useEffect)(()=>{x.current&&r&&x.current.focus()},[r]);var A=(0,I.useRef)(),j=(0,I.useMemo)(()=>(0,Wke.default)(()=>
578{if(KY.get(v)){j();return}var e=Q.toDOMNode(v,v).getRootNode();if(!T.current&&RY&&e instanceof ShadowRoot){T.current=!0,XOe()?document.execCommand(`indent`):Z.deselect(v),T.current=!1;return}var t=A.current;if((IY||!Q.isComposing(v))&&(!k.isUpdatingSelection||t!=null&&t.isFlushing())&&!k.isDraggingInternally){var n=Q.findDocumentOrShadowRoot(v),{activeElement:r}=n,i=Q.toDOMNode(v,v),a=jY(n);if(r===i?(k.latestElement=r,rX.set(v,!0)):rX.delete(v),!a)return Z.deselect(v);var{anchorNode:o,focusNode:c}=a,l=Q.hasEditableTarget(v,o)||Q.isTargetInsideNonReadonlyVoid(v,o),u=Q.hasTarget(v,c);if(l&&u){var d=Q.toSlateRange(v,a,{exactMatch:!1,suppressThrow:!0});d&&(!Q.isComposing(v)&&!(t!=null&&t.hasPendingChanges())&&!(t!=null&&t.isFlushing())?Z.select(v,d):t?.handleUserSelect(d))}s&&(!l||!u)&&Z.deselect(v)}},100),[v,s,k]),M=(0,I.useMemo)(()=>(0,Uke.default)(j,0),[j]);A.current=rAe({node:x,onDOMSelectionChange:j,scheduleOnDOMSelectionChange:M}),yZ(()=>{var e,t;x.current&&(t=wY(x.current))?(YY.set(v,t),XY.set(v,x.current),$Y.set(v,x.current),QY.set(x.current,v)):$Y.delete(v);var{selection:n}=v,r=jY(Q.findDocumentOrShadowRoot(v));if(!(!r||!Q.isFocused(v)||(e=A.current)!=null&&e.hasPendingAction())){var i=e=>{var t=r.type!==`None`;if(n||t){var i=r.focusNode,a;if(LY&&r.rangeCount>1){var o=r.getRangeAt(0),s=r.getRangeAt(r.rangeCount-1);a=o.startContainer===i?s.endContainer:o.startContainer}else a=r.anchorNode;var c=XY.get(v),l=!1;if(c.contains(a)&&c.contains(i)&&(l=!0),t&&l&&n&&!e){var u=Q.toSlateRange(v,r,{exactMatch:!0,suppressThrow:!0});if(u&&q.equals(u,n)){var d;if(!k.hasMarkPlaceholder||(d=a)!=null&&(d=d.parentElement)!=null&&d.hasAttribute(`data-slate-mark-placeholder`))return}}if(n&&!Q.hasRange(v,n)){v.selection=Q.toSlateRange(v,r,{exactMatch:!1,suppressThrow:!0});return}k.isUpdatingSelection=!0;var f=null;try{f=n&&Q.toDOMRange(v,n)}catch{}return f?(Q.isComposing(v)&&!IY?r.collapseToEnd():q.isBackward(n)?r.setBaseAndExtent(f.endContainer,f.endOffset,f.startContainer,f.startOffset):r.setBaseAndExtent(f.startContainer,f.startOffset,f.endContainer,f.endOffset),p(v,f)):r.removeAllRanges(),f}};r.rangeCount<=1&&i();var a=A.current?.isFlushing()===`action`;if(!IY||!a){setTimeout(()=>{k.isUpdatingSelection=!1});return}var o=null,s=requestAnimationFrame(()=>{if(a){var e=e=>{try{Q.toDOMNode(v,v).focus(),i(e)}catch{}};e(),o=setTimeout(()=>{e(!0),k.isUpdatingSelection=!1})}});return()=>{cancelAnimationFrame(s),o&&clearTimeout(o)}}});var ee=(0,I.useCallback)(e=>{JZ(v,e);var t=Q.toDOMNode(v,v).getRootNode();if(T!=null&&T.current&&RY&&t instanceof ShadowRoot){var n=e.getTargetRanges()[0],r=new window.Range;r.setStart(n.startContainer,n.startOffset),r.setEnd(n.endContainer,n.endOffset);var i=Q.toSlateRange(v,r,{exactMatch:!1,suppressThrow:!1});Z.select(v,i),e.preventDefault(),e.stopImmediatePropagation();return}if(E(),!s&&Q.hasEditableTarget(v,e.target)&&!UAe(e,a)){if(A.current)return A.current.handleDOMBeforeInput(e);M.flush(),j.flush();var{selection:o}=v,{inputType:c}=e,l=e.dataTransfer||e.data||void 0,u=c===`insertCompositionText`||c===`deleteCompositionText`;if(u&&Q.isComposing(v))return;var d=!1;if(c===`insertText`&&o&&q.isCollapsed(o)&&e.data&&e.data.length===1&&/[a-z ]/i.test(e.data)&&o.anchor.offset!==0&&(d=!0,v.marks&&(d=!1),!KY.get(v))){var f,{anchor:p}=o,[m,h]=Q.toDOMPoint(v,p),g=m.parentElement?.closest(`a`),_=Q.getWindow(v);if(d&&g&&Q.hasDOMNode(v,g)){var y=_?.document.createTreeWalker(g,NodeFilter.SHOW_TEXT).lastChild();y===m&&y.textContent?.length===h&&(d=!1)}if(d&&m.parentElement&&(_==null||(f=_.getComputedStyle(m.parentElement))==null?void 0:f.whiteSpace)===`pre`){var x=X.above(v,{at:p.path,match:e=>J.isElement(e)&&X.isBlock(v,e)});x&&Y.string(x[0]).includes(` `)&&(d=!1)}}if((!c.startsWith(`delete`)||c.startsWith(`deleteBy`))&&!KY.get(v)){var[C]=e.getTargetRanges();if(C){var w=Q.toSlateRange(v,C,{exactMatch:!1,suppressThrow:!1});if(!o||!q.equals(o,w)){d=!1;var D=!u&&v.selection&&X.rangeRef(v,v.selection);Z.select(v,w),D&&aX.set(v,D)}}}if(u)return;if(d||e.preventDefault(),o&&q.isExpanded(o)&&c.startsWith(`delete`)){var O=c.endsWith(`Backward`)?`backward`:`forward`;X.deleteFragment(v,{direction:O});return}switch(c){case`deleteByComposition`:case`deleteByCut`:case`deleteByDrag`:X.deleteFragment(v);break;case`deleteContent`:case`deleteContentForward`:X.deleteForward(v);break;case`deleteContentBackward`:X.deleteBackward(v);break;case`deleteEntireSoftLine`:X.deleteBackward(v,{unit:`line`}),X.deleteForward(v,{unit:`line`});break;case`deleteHardLineBackward`:X.deleteBackward(v,{unit:`block`});break;case`deleteSoftLineBackward`:X.deleteBackward(v,{unit:`line`});break;case`deleteHardLineForward`:X.deleteForward(v,{unit:`block`});break;case`deleteSoftLineForward`:X.deleteForward(v,{unit:`line`});break;case`deleteWordBackward`:X.deleteBackward(v,{unit:`word`});break;
578case`deleteWordForward`:X.deleteForward(v,{unit:`word`});break;case`insertLineBreak`:X.insertSoftBreak(v);break;case`insertParagraph`:X.insertBreak(v);break;case`insertFromComposition`:case`insertFromDrop`:case`insertFromPaste`:case`insertFromYank`:case`insertReplacementText`:case`insertText`:c===`insertFromComposition`&&Q.isComposing(v)&&(b(!1),iX.set(v,!1)),l?.constructor.name===`DataTransfer`?Q.insertData(v,l):typeof l==`string`&&(d?S.current.push(()=>X.insertText(v,l)):X.insertText(v,l))}var k=aX.get(v)?.unref();aX.delete(v),k&&(!v.selection||!q.equals(v.selection,k))&&Z.select(v,k)}},[v,j,E,a,s,M]),N=(0,I.useCallback)(e=>{e==null?(j.cancel(),M.cancel(),XY.delete(v),$Y.delete(v),x.current&&HY&&x.current.removeEventListener(`beforeinput`,ee)):HY&&e.addEventListener(`beforeinput`,ee),x.current=e,typeof t==`function`?t(e):t&&(t.current=e)},[j,M,v,ee,t]);yZ(()=>{var e=Q.getWindow(v),t=e=>{var{target:t}=e,n=(t instanceof HTMLElement?t:null)?.tagName;n!==`INPUT`&&n!==`TEXTAREA`&&M()};e.document.addEventListener(`selectionchange`,t);var n=()=>{k.isDraggingInternally=!1};return e.document.addEventListener(`dragend`,n),e.document.addEventListener(`drop`,n),()=>{e.document.removeEventListener(`selectionchange`,t),e.document.removeEventListener(`dragend`,n),e.document.removeEventListener(`drop`,n)}},[M,k]);var te=i([v,[]]),ne=mAe(i),re=o&&v.children.length===1&&Array.from(Y.texts(v)).length===1&&Y.string(v)===``&&!y,ie=(0,I.useCallback)(e=>{w(e&&re?e.getBoundingClientRect()?.height:void 0)},[re]);if(re){var P=X.start(v,[]);te.push({[mX]:!0,placeholder:o,onPlaceholderResize:ie,anchor:P,focus:P})}var{marks:F}=v;if(k.hasMarkPlaceholder=!1,v.selection&&q.isCollapsed(v.selection)&&F){var{anchor:ae}=v.selection,oe=Y.leaf(v,ae.path),se=fZ(oe,RAe);if(!Zq.equals(oe,F,{loose:!0})){k.hasMarkPlaceholder=!0;var ce=Object.fromEntries(Object.keys(se).map(e=>[e,null]));te.push(WZ(WZ(WZ({[hX]:!0},ce),F),{},{anchor:ae,focus:ae}))}}return(0,I.useEffect)(()=>{setTimeout(()=>{var{selection:e}=v;if(e){var{anchor:t}=e,n=Y.leaf(v,t.path);if(F&&!Zq.equals(n,F,{loose:!0})){cX.set(v,F);return}}cX.delete(v)})}),jAe(),I.createElement(zZ.Provider,{value:s},I.createElement(IAe.Provider,{value:y},I.createElement(DZ.Provider,{value:ne},I.createElement(FAe,{node:x,receivedUserInput:D},I.createElement(h,WZ(WZ({role:s?void 0:`textbox`,"aria-multiline":!s||void 0},_),{},{spellCheck:HY||!VY?_.spellCheck:!1,autoCorrect:HY||!VY?_.autoCorrect:`false`,autoCapitalize:HY||!VY?_.autoCapitalize:`false`,"data-slate-editor":!0,"data-slate-node":`value`,contentEditable:!s,zindex:-1,suppressContentEditableWarning:!0,ref:N,style:WZ(WZ({},g?{}:WZ({position:`relative`,whiteSpace:`pre-wrap`,wordWrap:`break-word`},C?{minHeight:C}:{})),m),onBeforeInput:(0,I.useCallback)(e=>{if(!HY&&!s&&!KZ(e,_.onBeforeInput)&&Q.hasSelectableTarget(v,e.target)&&(e.preventDefault(),!Q.isComposing(v))){var t=e.data;X.insertText(v,t)}},[_.onBeforeInput,v,s]),onInput:(0,I.useCallback)(e=>{if(!KZ(e,_.onInput)){if(A.current){A.current.handleInput();return}for(var t of S.current)t();S.current=[],Q.isFocused(v)||JZ(v,e.nativeEvent)}},[_.onInput,v]),onBlur:(0,I.useCallback)(e=>{if(!(s||k.isUpdatingSelection||!Q.hasSelectableTarget(v,e.target)||KZ(e,_.onBlur))){var t=Q.findDocumentOrShadowRoot(v);if(k.latestElement!==t.activeElement){var{relatedTarget:n}=e;if(n!==Q.toDOMNode(v,v)&&!(TY(n)&&n.hasAttribute(`data-slate-spacer`))){if(n!=null&&EY(n)&&Q.hasDOMNode(v,n)){var r=Q.toSlateNode(v,n);if(J.isElement(r)&&!v.isVoid(r))return}RY&&jY(t)?.removeAllRanges(),rX.delete(v)}}}},[s,k.isUpdatingSelection,k.latestElement,v,_.onBlur]),onClick:(0,I.useCallback)(e=>{if(Q.hasTarget(v,e.target)&&!KZ(e,_.onClick)&&EY(e.target)){var t=Q.toSlateNode(v,e.target),n=Q.findPath(v,t);if(!X.hasPath(v,n)||Y.get(v,n)!==t)return;if(e.detail===3&&n.length>=1){var r=n;J.isElement(t)&&X.isBlock(v,t)||(r=X.above(v,{match:e=>J.isElement(e)&&X.isBlock(v,e),at:n})?.[1]??n.slice(0,1));var i=X.range(v,r);Z.select(v,i);return}if(s)return;var a=X.start(v,n),o=X.end(v,n),c=X.void(v,{at:a}),l=X.void(v,{at:o});if(c&&l&&K.equals(c[1],l[1])){var u=X.range(v,a);Z.select(v,u)}}},[v,_.onClick,s]),onCompositionEnd:(0,I.useCallback)(e=>{if(Q.hasSelectableTarget(v,e.target)){var t;if(Q.isComposing(v)&&Promise.resolve().then(()=>{b(!1),iX.set(v,!1)}),(t=A.current)==null||t.handleCompositionEnd(e),KZ(e,_.onCompositionEnd)||IY)return;if(!RY&&!tke&&!QOe&&!rke&&!nke&&e.data){var n=cX.get(v);cX.delete(v),n!==void 0&&(lX.set(v,v.marks),v.marks=n),X.insertText(v,e.data);var r=lX.get(v);lX.delete(v),r!==void 0&&(v.marks=r)}}},[_.onCompositionEnd,v]),onCompositionUpdate:(0,I.useCallback)(e=>{Q.hasSelectableTarget(v,e.target)&&!KZ(e,_.onCompositionUpdate)&&(Q.isComposing(v)||(b(!0),iX.set(v,!0)))},[_.onCompositionUpdate,v]),onCompositionStart:(0,I.useCallback)(e=>{if(Q.hasSelectableTarget(v,e.target)){var t;if((t=A.current)==null||t.handleCompositionStart(e),KZ(e,_.onCompositionStart)||IY)return;b(!0);var{selection:n}=v;if(n&&q.isExpanded(n)){X.deleteFragment(v);return}}},[_.onCompositionStart,v]),onCopy:(0,I.useCallback)(e=>
578{Q.hasSelectableTarget(v,e.target)&&!KZ(e,_.onCopy)&&!qZ(e)&&(e.preventDefault(),Q.setFragmentData(v,e.clipboardData,`copy`))},[_.onCopy,v]),onCut:(0,I.useCallback)(e=>{if(!s&&Q.hasSelectableTarget(v,e.target)&&!KZ(e,_.onCut)&&!qZ(e)){e.preventDefault(),Q.setFragmentData(v,e.clipboardData,`cut`);var{selection:t}=v;if(t){if(q.isExpanded(t))X.deleteFragment(v);else{var n=Y.parent(v,t.anchor.path);X.isVoid(v,n)&&Z.delete(v)}}}},[s,v,_.onCut]),onDragOver:(0,I.useCallback)(e=>{if(Q.hasTarget(v,e.target)&&!KZ(e,_.onDragOver)){var t=Q.toSlateNode(v,e.target);J.isElement(t)&&X.isVoid(v,t)&&e.preventDefault()}},[_.onDragOver,v]),onDragStart:(0,I.useCallback)(e=>{if(!s&&Q.hasTarget(v,e.target)&&!KZ(e,_.onDragStart)){var t=Q.toSlateNode(v,e.target),n=Q.findPath(v,t);if(J.isElement(t)&&X.isVoid(v,t)||X.void(v,{at:n,voids:!0})){var r=X.range(v,n);Z.select(v,r)}k.isDraggingInternally=!0,Q.setFragmentData(v,e.dataTransfer,`drag`)}},[s,v,_.onDragStart,k]),onDrop:(0,I.useCallback)(e=>{if(!s&&Q.hasTarget(v,e.target)&&!KZ(e,_.onDrop)){e.preventDefault();var t=v.selection,n=Q.findEventRange(v,e),r=e.dataTransfer;Z.select(v,n),k.isDraggingInternally&&t&&!q.equals(t,n)&&!X.void(v,{at:n,voids:!0})&&Z.delete(v,{at:t}),Q.insertData(v,r),Q.isFocused(v)||Q.focus(v)}},[s,v,_.onDrop,k]),onDragEnd:(0,I.useCallback)(e=>{!s&&k.isDraggingInternally&&_.onDragEnd&&Q.hasTarget(v,e.target)&&_.onDragEnd(e)},[s,k,_,v]),onFocus:(0,I.useCallback)(e=>{if(!s&&!k.isUpdatingSelection&&Q.hasEditableTarget(v,e.target)&&!KZ(e,_.onFocus)){var t=Q.toDOMNode(v,v);if(k.latestElement=Q.findDocumentOrShadowRoot(v).activeElement,LY&&e.target!==t){t.focus();return}rX.set(v,!0)}},[s,k,v,_.onFocus]),onKeyDown:(0,I.useCallback)(e=>{if(!s&&Q.hasEditableTarget(v,e.target)){var t;(t=A.current)==null||t.handleKeyDown(e);var{nativeEvent:n}=e;if(Q.isComposing(v)&&n.isComposing===!1&&(iX.set(v,!1),b(!1)),KZ(e,_.onKeyDown)||Q.isComposing(v))return;var{selection:r}=v,i=v.children[r===null?0:r.focus.path[0]],a=(0,dZ.default)(Y.string(i))===`rtl`;if(kX.isRedo(n)){e.preventDefault();var o=v;typeof o.redo==`function`&&o.redo();return}if(kX.isUndo(n)){e.preventDefault();var c=v;typeof c.undo==`function`&&c.undo();return}if(kX.isMoveLineBackward(n)){e.preventDefault(),Z.move(v,{unit:`line`,reverse:!0});return}if(kX.isMoveLineForward(n)){e.preventDefault(),Z.move(v,{unit:`line`});return}if(kX.isExtendLineBackward(n)){e.preventDefault(),Z.move(v,{unit:`line`,edge:`focus`,reverse:!0});return}if(kX.isExtendLineForward(n)){e.preventDefault(),Z.move(v,{unit:`line`,edge:`focus`});return}if(kX.isMoveBackward(n)){e.preventDefault(),r&&q.isCollapsed(r)?Z.move(v,{reverse:!a}):Z.collapse(v,{edge:a?`end`:`start`});return}if(kX.isMoveForward(n)){e.preventDefault(),r&&q.isCollapsed(r)?Z.move(v,{reverse:a}):Z.collapse(v,{edge:a?`start`:`end`});return}if(kX.isMoveWordBackward(n)){e.preventDefault(),r&&q.isExpanded(r)&&Z.collapse(v,{edge:`focus`}),Z.move(v,{unit:`word`,reverse:!a});return}if(kX.isMoveWordForward(n)){e.preventDefault(),r&&q.isExpanded(r)&&Z.collapse(v,{edge:`focus`}),Z.move(v,{unit:`word`,reverse:a});return}if(!HY){if(kX.isBold(n)||kX.isItalic(n)||kX.isTransposeCharacter(n)){e.preventDefault();return}if(kX.isSoftBreak(n)){e.preventDefault(),X.insertSoftBreak(v);return}if(kX.isSplitBlock(n)){e.preventDefault(),X.insertBreak(v);return}if(kX.isDeleteBackward(n)){e.preventDefault(),r&&q.isExpanded(r)?X.deleteFragment(v,{direction:`backward`}):X.deleteBackward(v);return}if(kX.isDeleteForward(n)){e.preventDefault(),r&&q.isExpanded(r)?X.deleteFragment(v,{direction:`forward`}):X.deleteForward(v);return}if(kX.isDeleteLineBackward(n)){e.preventDefault(),r&&q.isExpanded(r)?X.deleteFragment(v,{direction:`backward`}):X.deleteBackward(v,{unit:`line`});return}if(kX.isDeleteLineForward(n)){e.preventDefault(),r&&q.isExpanded(r)?X.deleteFragment(v,{direction:`forward`}):X.deleteForward(v,{unit:`line`});return}if(kX.isDeleteWordBackward(n)){e.preventDefault(),r&&q.isExpanded(r)?X.deleteFragment(v,{direction:`backward`}):X.deleteBackward(v,{unit:`word`});return}if(kX.isDeleteWordForward(n)){e.preventDefault(),r&&q.isExpanded(r)?X.deleteFragment(v,{direction:`forward`}):X.deleteForward(v,{unit:`word`});return}}else if((zY||RY)&&r&&(kX.isDeleteBackward(n)||kX.isDeleteForward(n))&&q.isCollapsed(r)){var l=Y.parent(v,r.anchor.path);if(J.isElement(l)&&X.isVoid(v,l)&&(X.isInline(v,l)||X.isBlock(v,l))){e.preventDefault(),X.deleteBackward(v,{unit:`block`});return}}}},[s,v,_.onKeyDown]),onPaste:(0,I.useCallback)(e=>{!s&&Q.hasEditableTarget(v,e.target)&&!KZ(e,_.onPaste)&&(!HY||WOe(e.nativeEvent)||RY)&&(e.preventDefault(),Q.insertData(v,e.clipboardData))},[s,v,_.onPaste])}),I.createElement(zAe,{decorations:te,node:v,renderElement:c,renderChunk:l,renderPlaceholder:f,renderLeaf:u,renderText:d}))))))}),BAe=e=>{var{attributes:t,children:n}=e;return I.createElement(`span`,WZ({},t),n,IY&&I.createElement(`br`,null))},VAe=()=>[],HAe=(e,t)=>
578{if(t.getBoundingClientRect&&(!e.selection||e.selection&&q.isCollapsed(e.selection))){var n=t.startContainer.parentElement,r=t.getBoundingClientRect();if(r.width===0&&r.height===0&&r.x===0&&r.y===0){var i=n.getBoundingClientRect();if(i.width>0||i.height>0)return}n.getBoundingClientRect=t.getBoundingClientRect.bind(t),VOe(n,{scrollMode:`if-needed`}),delete n.getBoundingClientRect}},KZ=(e,t)=>t?t(e)??(e.isDefaultPrevented()||e.isPropagationStopped()):!1,qZ=e=>EY(e.target)&&(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement),UAe=(e,t)=>t?t(e)??e.defaultPrevented:!1,JZ=(e,t)=>{var n=e;if(t.inputType===`historyUndo`&&typeof n.undo==`function`){n.undo();return}if(t.inputType===`historyRedo`&&typeof n.redo==`function`){n.redo();return}},WAe=(0,I.createContext)(!1),YZ=parseInt(`19.3.0`.split(`.`)[0],10),GAe=[`editor`,`children`,`onChange`,`onSelectionChange`,`onValueChange`,`initialValue`],XZ=e=>{var{editor:t,children:n,onChange:r,onSelectionChange:i,onValueChange:a,initialValue:o}=e,s=fZ(e,GAe);I.useState(()=>{if(!Y.isNodeList(o))throw Error(`[Slate] initialValue is invalid! Expected a list of elements but got: ${Jq.stringify(o)}`);if(!X.isEditor(t))throw Error(`[Slate] editor is invalid! You passed: ${Jq.stringify(t)}`);t.children=o,Object.assign(t,s)});var{selectorContext:c,onChange:l}=AAe(),u=(0,I.useCallback)(e=>{var n;switch(r&&r(t.children),e==null||(n=e.operation)==null?void 0:n.type){case`set_selection`:i?.(t.selection);break;default:a?.(t.children)}l()},[t,l,r,i,a]);(0,I.useEffect)(()=>(oX.set(t,u),()=>{oX.set(t,()=>{})}),[t,u]);var[d,f]=(0,I.useState)(Q.isFocused(t));return(0,I.useEffect)(()=>{f(Q.isFocused(t))},[t]),yZ(()=>{var e=()=>f(Q.isFocused(t));return YZ>=17?(document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,e),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,e)}):(document.addEventListener(`focus`,e,!0),document.addEventListener(`blur`,e,!0),()=>{document.removeEventListener(`focus`,e,!0),document.removeEventListener(`blur`,e,!0)})},[]),I.createElement(BZ.Provider,{value:c},I.createElement(hZ.Provider,{value:t},I.createElement(WAe.Provider,{value:d},n)))},ZZ=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`x-slate-fragment`,n=e;n=mke(n,t);var{onChange:r,apply:i,insertText:a}=n;return n.getChunkSize=()=>null,IY&&(n.insertText=(e,t)=>(fX.delete(n),a(e,t))),n.onChange=e=>{(YZ<18?BE.unstable_batchedUpdates:e=>e())(()=>{r(e)})},n.apply=e=>{if(e.type===`move_node`){var t=Y.parent(n,e.path);if(n.getChunkSize(t)){var r=Y.get(n,e.path),a=IZ(n,t),o=Q.findKey(n,r);a.movedNodeKeys.add(o)}}i(e)},n},KAe=U(iD)` 579 background-color: ${({$isActive:e,theme:t})=>e?t.colors.iconButtons.default.active:t.colors.iconButtons.default.background}; 580`,QZ=({isActive:e,...t})=>(0,V.jsx)(KAe,{onMouseDown:e=>e.preventDefault(),type:`button`,size:`small`,$isActive:e,...t}),$Z=[`numbered-list`,`bulleted-list`],eQ=(e,t)=>{let{selection:n}=e;if(!n)return!1;let[r]=Array.from(X.nodes(e,{at:X.unhangRange(e,n),match:e=>!X.isEditor(e)&&J.isElement(e)&&e.type===t}));return!!r},tQ=(e,t)=>{let n=eQ(e,t),r=$Z.includes(t);Z.unwrapNodes(e,{match:e=>!X.isEditor(e)&&J.isElement(e)&&$Z.includes(e.type),split:!0});let i={type:n?`paragraph`:r?`list-item`:t};if(Z.setNodes(e,i),!n&&r){let n={type:t,children:[]};Z.wrapNodes(e,n)}},nQ=({title:e,format:t,icon:n})=>{let r=VZ();return(0,V.jsx)(QZ,{title:e,onClick:()=>{tQ(r,t),Q.focus(r)},icon:n,isActive:eQ(r,t)})},qAe=U.span` 581 ${({$color:e})=>e&&H` 582 color: ${e}; 583 `} 584 585 ${({theme:e,$bold:t})=>t&&H` 586 font-weight: ${e.fonts.weights.bold}; 587 `} 588 589 ${({$underline:e})=>e&&H` 590 text-decoration: underline; 591 `} 592 593 ${({$italic:e})=>e&&H` 594 font-style: italic; 595 `} 596 597 ${({$protected:e})=>e&&H` 598 display: inline-block; 599 `} 600`,JAe=({attributes:e,children:t,leaf:n})=>(0,V.jsx)(qAe,{$protected:n.protected,$color:n.color,$bold:n.bold,$italic:n.italic,$underline:n.underline,...e,children:t}),rQ=class{payload;constructor(e){this.payload=e}},iQ=class extends rQ{type=`PAGE_VIEWED`;constructor(e,t){super({pageUrl:e,language:t})}},aQ=console.log,oQ=(0,I.createContext)({listen:()=>aQ,track:aQ});function YAe({children:e}){let[t,n]=(0,I.useState)([]),r=(0,I.useCallback)(e=>(n(t=>[...t,e]),()=>n(t=>t.filter(t=>t!==e))),[]),i=(0,I.useCallback)(e=>{t.forEach(t=>t(e))},[t]);return(0,V.jsx)(oQ.Provider,{value:{track:i,listen:r},children:e})}var sQ=()=>{let e=(0,I.useContext)(oQ);if(e===void 0)throw Error(`AnalyticsContext undefined. Are you missing the analytics provider?`);return e},cQ=e=>{let t=/^[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)+$/;try{if(!e.startsWith(`https://`))return!1;let n=new URL(e);return t.test(n.hostname)}catch{return!1}},lQ=U.h3` 601 ${({theme:e})=>e.headings.base}; 602 ${({theme:e})=>e.headings.h3}; 603`,uQ=U.h5` 604 ${({theme:e})=>e.headings.base}; 605 ${({theme:e})=>e.headings.h5}; 606`,dQ=U.h6` 607 ${({theme:e})=>e.headings.base}; 608 ${({theme:e})=>e.headings.h6}; 609`,XAe=U.ol` 610 ${({theme:e})=>e.slate.orderedList}; 611`,ZAe=U.ul` 612 ${({theme:e})=>e.slate.unorderedList}; 613`,QAe=U.a` 614 ${({theme:e})=>e.links.inline}; 615`,fQ=U.span` 616 display: inline-block; 617 background-color: ${({theme:e})=>e.colors.palette.grey[10]}; 618`,$Ae=U.span` 619 ${({theme:e})=>e.links.inline}; 620`,eje=U(ub)` 621 ${({theme:e})=>e.links.inline}; 622`,tje=U.p` 623 text-align: center; 624`,nje=U.p` 625 text-align: right; 626`,pQ=({attributes:e,children:t,element:n,isViewer:r=!1})=>{let{track:i}=sQ(),{language:a}=vH();switch(n.type){case`bulleted-list`:return(0,V.jsx)(ZAe,{...e,children:t});case`heading-one`:return(0,V.jsx)(XN,{...e,children:t});case`heading-two`:return(0,V.jsx)(gI,{...e,children:t});case`heading-three`:return(0,V.jsx)(lQ,{...e,children:t});case`heading-four`:return(0,V.jsx)(ZN,{...e,children:t});case`heading-five`:return(0,V.jsx)(uQ,{...e,children:t});case`heading-six`:return(0,V.jsx)(dQ,{...e,children:t});case`list-item`:return(0,V.jsx)(`li`,{...e,children:t});case`list-item-text`:return(0,V.jsx)(`div`,{...e,children:t});case`subscript`:return(0,V.jsx)(`sub`,{...e,children:t});case`superscript`:return(0,V.jsx)(`sup`,{...e,children:t});case`numbered-list`:return(0,V.jsx)(XAe,{...e,children:t});case`hyperlink`:return r?cQ(n.href)||n.openInNewTab?(0,V.jsx)(QAe,{...e,target:n.openInNewTab?`_blank`:`_self`,onClick:()=>i(new iQ(n.href,a)),href:n.href,rel:`noreferrer`,children:t}):(0,V.jsx)(eje,{...e,to:n.href,children:t}):(0,V.jsx)($Ae,{...e,children:t});case`centered-paragraph`:return(0,V.jsx)(tje,{...e,children:t});case`right-aligned-paragraph`:return(0,V.jsx)(nje,{...e,children:t});case`datetime`:if(r){let{date:t,formatOption:r,timeZone:i,showLocalTime:a}=n;return(0,V.jsx)(fQ,{...e,children:mQ(t,a,i,r)})}return(0,V.jsx)(fQ,{...e,children:t});default:return(0,V.jsx)(`p`,{...e,children:t})}},mQ=(e,t,n,r)=>{let i=Intl.DateTimeFormat(navigator.language,r).format(BV(e)),a=Intl.DateTimeFormat(navigator.language,{...r,timeZone:n}).format(BV(e));return t?`${i} ${Intl.DateTimeFormat().resolvedOptions().timeZone} (${a} ${n})`:`${i} ${Intl.DateTimeFormat().resolvedOptions().timeZone}`},rje=(e,t)=>({type:`hyperlink`,href:e,openInNewTab:t,children:[{text:``}]}),ije=(e,t,n,r)=>({type:`datetime`,showLocalTime:t,date:e,formatOption:n,timeZone:r,children:[]}),hQ=(e=[{text:``}])=>({type:`paragraph`,children:e}),gQ=(e,t)=>!X.isEditor(e)&&J.isElement(e)&&e.type===t,aje=e=>(0,V.jsx)(pQ,{...e}),oje=e=>(0,V.jsx)(pQ,{...e,isViewer:!0}),_Q=e=>(0,V.jsx)(JAe,{...e}),vQ=(e,t)=>{Z.unwrapNodes(e,{match:e=>gQ(e,t)})},yQ=e=>{let[t]=X.nodes(e,{match:e=>gQ(e,`hyperlink`)});return!!t},bQ=e=>{let[t]=X.nodes(e,{match:e=>gQ(e,`datetime`)});return!!t},xQ=(e,t)=>
626{let[n]=X.nodes(e,{match:e=>gQ(e,t)});return J.isElement(n[0])&&n[0].type===t?n[0]:null},sje=(e,t,n)=>{if(!t)return;let{selection:r}=e,i=rje(t,n);if(r){let[n,a]=X.parent(e,r.focus?.path);J.isElement(n)&&n.type===`hyperlink`&&vQ(e,`hyperlink`),J.isElement(n)&&e.isVoid(n)?Z.insertNodes(e,hQ([i]),{at:K.next(a),select:!0}):q.isCollapsed(r)?Z.insertNodes(e,{...i,children:[{text:t}]},{select:!0}):(Z.wrapNodes(e,i,{split:!0}),Z.collapse(e,{edge:`end`}))}else Z.insertNodes(e,hQ([i]))},cje=(e,t)=>{let{selection:n}=e,r={type:t,children:[{text:``}]};if(n){let[i,a]=X.parent(e,n.focus?.path);J.isElement(i)&&i.type===t?vQ(e,t):J.isElement(i)&&e.isVoid(i)?Z.insertNodes(e,hQ([r]),{at:K.next(a),select:!0}):q.isCollapsed(n)?Z.insertNodes(e,{...r,children:[{text:``}]},{select:!0}):(Z.wrapNodes(e,r,{split:!0}),Z.collapse(e,{edge:`end`}))}else Z.insertNodes(e,hQ([r]))},lje=(e,t,n,r,i)=>{if(!t)return;let{selection:a}=e,o=ije(t,n,r,i);if(a){let[s]=X.parent(e,a.focus?.path);J.isElement(s)&&s.type===`datetime`&&vQ(e,`datetime`),Z.insertNodes(e,{...o,type:`datetime`,children:[{text:mQ(t,n,i,r)}]},{select:!0})}},uje=(e,t)=>{let n=nY.getListItems(t,t.selection);(0,iY.isHotkey)(`esc`,e.nativeEvent)&&(e.preventDefault(),Q.blur(t)),(0,iY.isHotkey)(`tab`,e.nativeEvent)&&(e.preventDefault(),nY.isAtList(t)?nY.increaseDepth(t):X.insertText(t,` `)),(0,iY.isHotkey)(`shift+tab`,e.nativeEvent)&&(e.preventDefault(),nY.decreaseDepth(t)),(0,iY.isHotkey)(`enter`,e.nativeEvent)&&(nY.isAtEmptyListItem(t)?(e.preventDefault(),nY.decreaseDepth(t)):n.length>0&&(e.preventDefault(),nY.splitListItem(t)))};function SQ(e){return e.map(e=>e.text===void 0?{...e,children:SQ(e.children)}:{...e,text:e.text||``})}var dje=U.div` 627 padding: 0 1rem; 628 box-shadow: 0 10px 24px 0 rgba(0, 0, 0, 0.1); 629 background-color: ${({theme:e})=>e.colors.palette.white}; 630 border-radius: 0.25rem; 631`,fje=U.div` 632 display: flex; 633 flex-direction: row; 634 padding: ${({theme:e})=>e.spacing(2)} 0; 635 gap: ${({theme:e})=>e.spacing(2)}; 636 justify-content: flex-end; 637`,CQ=[{weekday:`long`,day:`numeric`,month:`long`,hour:`numeric`},{day:`2-digit`,month:`2-digit`,year:`numeric`,hour:`numeric`,minute:`2-digit`}];function pje({setTimeZone:e,timeZone:t}){let{t:n}=B(),r=Intl.supportedValuesOf(`timeZone`);return(0,V.jsx)(xG,{onChange:t=>t.target.value&&e(t.target.value),getLabel:e=>e,value:t,label:n(`Timezone`),name:`timeZone`,options:r,clearable:!1})}function mje({datetimeValue:e,formatOption:t,setFormatOption:n}){let{t:r}=B();return(0,V.jsx)(xG,{onChange:e=>e.target.value&&n(e.target.value),getLabel:t=>Intl.DateTimeFormat(navigator.language,t).format(BV(e)),value:t,label:r(`Date time format`),name:`datetimeformat`,options:CQ,clearable:!1})}var hje=()=>{let{t:e}=B(),t=VZ(),[n,r]=(0,I.useState)(Intl.DateTimeFormat().resolvedOptions().timeZone),[i,a]=(0,I.useState)(CQ[0]),[o,s]=(0,I.useState)(!1),[c,l]=(0,I.useState)(new Date().toISOString()),[u,d]=(0,I.useState)(null),f=bQ(t)?xQ(t,`datetime`):null,p=()=>{s(!1),r(Intl.DateTimeFormat().resolvedOptions().timeZone),a(CQ[0]),d(null),l(new Date().toISOString())},m=(0,I.useCallback)(e=>{bQ(t)?vQ(t,`datetime`):d(e.currentTarget)},[t]),h=(0,I.useCallback)(()=>{bQ(t)&&vQ(t,`datetime`),p(),Q.focus(t)},[t]),g=(0,I.useCallback)(()=>{lje(t,c,o,i,n),Q.deselect(t),p(),Q.focus(t)},[t,o,c,i,n]);return(0,I.useEffect)(()=>{if(f){if(t.selection&&q.isCollapsed(t.selection)){let[,e]=X.parent(t,t.selection?.focus?.path);Z.select(t,X.range(t,e)),s(f.showLocalTime),r(f.timeZone),a(f.formatOption),l(f.date),d(Q.toDOMNode(t,f))}}else p()},[t,f]),(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(QZ,{onClick:e=>m(e),icon:`calendar`,isActive:bQ(t),title:e(`Add date time`)}),u&&(0,V.jsx)(qR,{onClose:p,anchor:u,children:(0,V.jsxs)(dje,{children:[(0,V.jsx)(pje,{setTimeZone:r,timeZone:n}),(0,V.jsx)(SK,{clearable:!1,name:`datetime`,label:e(`Date time ({{timeZone}})`,{timeZone:n}),value:c,onChange:async e=>e.target.value&&l(e.target.value)}),(0,V.jsx)(mje,{datetimeValue:c,formatOption:i,setFormatOption:a}),(0,V.jsx)(fK,{label:e(`Show local time`),name:`showLocalTime`,value:o,onChange:e=>s(e.target.value)}),(0,V.jsxs)(fje,{children:[(0,V.jsx)(iD,{title:bQ(t)?e(`Delete`):e(`Close`),size:`small`,color:`danger`,onClick:h,icon:bQ(t)?`delete`:`close`}),(0,V.jsx)(iD,{title:e(`Add date time`),size:`small`,color:`primary`,onClick:g,icon:`check`})]})]})})]})},wQ=U(az)` 638 background-color: ${({$isActive:e,theme:t})=>e?t.colors.palette.grey[20]:t.colors.dropdown.background}; 639 color: ${({$isActive:e,theme:t})=>e?t.colors.palette.primary.main.base:t.colors.buttons.text.background}; 640`,gje=e=>eQ(e,`heading-one`)||eQ(e,`heading-two`)||eQ(e,`heading-three`)||eQ(e,`heading-four`)||eQ(e,`heading-five`)||eQ(e,`heading-six`),_je=()=>{let{t:e}=B(),t=VZ();return(0,V.jsx)(V.Fragment,{children:(0,V.jsx)(iz,{renderTrigger:n=>(0,V.jsx)(QZ,{title:e(`Format headline`),icon:`format_size`,isActive:gje(t),...n}),renderContent:e=>(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(wQ,{$isActive:eQ(t,`heading-one`),onClick:()=>{tQ(t,`heading-one`),e()},children:`H1`}),(0,V.jsx)(wQ,{$isActive:eQ(t,`heading-two`),onClick:()=>{tQ(t,`heading-two`),e()},children:`H2`}),(0,V.jsx)(wQ,{$isActive:eQ(t,`heading-three`),onClick:()=>{tQ(t,`heading-three`),e()},children:`H3`}),(0,V.jsx)(wQ,{$isActive:eQ(t,`heading-four`),onClick:()=>{tQ(t,`heading-four`),e()},children:`H4`}),(0,V.jsx)(wQ,{$isActive:eQ(t,`heading-five`),onClick:()=>{tQ(t,`heading-five`),e()},children:`H5`}),(0,V.jsx)(wQ,{$isActive:eQ(t,`heading-six`),onClick:()=>{tQ(t,`heading-six`),e()},children:`H6`})]})})})},vje=U.div` 641 display: grid; 642 grid-auto-flow: column; 643 align-items: center; 644 grid-auto-columns: 1fr max-content max-content max-content; 645 gap: ${({theme:e})=>e.spacing(2)}; 646 padding: 1rem; 647`,yje=U.div` 648 box-shadow: ${({theme:e})=>e.shadows.l3}; 649 background-color: ${({theme:e})=>e.colors.palette.white}; 650 border-radius: 0.25rem; 651`,bje=U($R)` 652 padding-bottom: 0; 653`,xje=U(fK)` 654 margin: 0; 655`,Sje=()=>{let e=VZ(),{t}=B(),[n,r]=(0,I.useState)(null),[i,a]=(0,I.useState)(``),[o,s]=(0,I.useState)(!1),c=yQ(e)?xQ(e,`hyperlink`):null,l=()=>{a(``),s(!1),r(null)},u=(0,I.useCallback)(t=>{yQ(e)?vQ(e,`hyperlink`):r(t.currentTarget)},[e]),d=(0,I.useCallback)(()=>{yQ(e)&&vQ(e,`hyperlink`),l(),Q.focus(e)},[e]),f=(0,I.useCallback)(()=>{sje(e,i,o),Q.deselect(e),l(),Q.focus(e)},[e,o,i]);return(0,I.useEffect)(()=>
655{if(c&&c.type===`hyperlink`){if(e.selection&&q.isCollapsed(e.selection)){let[,t]=X.parent(e,e.selection?.focus?.path);Z.select(e,X.range(e,t)),a(c.href),s(c.openInNewTab),r(Q.toDOMNode(e,c))}}else l()},[e,c]),(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(QZ,{onClick:e=>u(e),icon:`link`,isActive:yQ(e),title:t(`Add hyperlink`)}),n&&(0,V.jsx)(qR,{onClose:l,anchor:n,children:(0,V.jsx)(yje,{children:(0,V.jsxs)(vje,{children:[(0,V.jsx)(bje,{name:`url`,placeholder:t(`Url`),value:i,onChange:e=>a(e.target.value)}),(0,V.jsx)(xje,{label:t(`New tab`),name:`openInNewTab`,value:o,onChange:e=>s(e.target.value)}),(0,V.jsx)(iD,{title:yQ(e)?t(`Delete`):t(`Close`),size:`small`,color:`danger`,onClick:d,icon:yQ(e)?`delete`:`close`}),(0,V.jsx)(iD,{title:t(`Add link`),size:`small`,color:`primary`,onClick:f,icon:`check`})]})})})]})},TQ=(e,t)=>{let{selection:n}=e;if(!n)return!1;let[r]=Array.from(X.nodes(e,{at:X.unhangRange(e,n),match:e=>!X.isEditor(e)&&J.isElement(e)&&e.type===t}));return!!r},EQ=({title:e,format:t,icon:n})=>{let r=VZ();return(0,V.jsx)(QZ,{title:e,onClick:()=>{TQ(r,t===`superscript`?`subscript`:`superscript`)&&vQ(r,t===`superscript`?`subscript`:`superscript`),cje(r,t),Q.focus(r)},icon:n,isActive:TQ(r,t)})},DQ=(e,t)=>{let n=X.marks(e);return!!n&&!!n[t]},Cje=(e,t)=>{DQ(e,t)?X.removeMark(e,t):X.addMark(e,t,!0)},OQ=({title:e,format:t,icon:n})=>{let r=VZ();return(0,V.jsx)(QZ,{title:e,onClick:()=>{Cje(r,t),Q.focus(r)},icon:n,isActive:DQ(r,t)})},kQ=U($R)` 656 margin: 0.25rem; 657 width: auto; 658 flex: 1; 659`,wje=({shortcuts:e})=>{let{t}=B(),n=VZ(),[r,i]=(0,I.useState)(``),a=(0,I.useMemo)(()=>e.filter(e=>e.label.toLowerCase().includes(r.toLowerCase())),[r,e]),o=(0,I.useCallback)(e=>{n.insertText(e)},[n]);return(0,V.jsx)(V.Fragment,{children:(0,V.jsx)(iz,{renderTrigger:e=>(0,V.jsx)(QZ,{title:t(`Add shortcut`),icon:`text_snippet`,isActive:!1,...e}),renderContent:e=>(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(kQ,{autoFocus:!0,autoComplete:`off`,label:``,name:`search`,value:r,onChange:e=>i(e.target.value),placeholder:t(`Search`)}),a.map((t,n)=>(0,V.jsx)(az,{onClick:()=>{o(t.value),e()},children:t.label},n))]})})})},AQ=`#000000`,Tje=6,Eje=U.div` 660 justify-content: center; 661 align-items: center; 662 padding: 1rem; 663 box-shadow: ${({theme:e})=>e.shadows.l3}; 664 background-color: ${({theme:e})=>e.colors.layout.content.background}; 665 border-radius: 0.25rem; 666`,Dje=U($R).attrs({type:`color`})` 667 padding: 0; 668`,Oje=U.div` 669 display: grid; 670 grid-template-columns: 1fr max-content; 671 align-items: center; 672 gap: ${({theme:e})=>e.spacing(1)}; 673 margin-top ${({theme:e})=>e.spacing(2)}; 674`,kje=U.button.attrs({type:`button`})`
675 cursor: pointer; 676 width: 1rem; 677 height: 1rem; 678 background: ${({$color:e})=>e}; 679`,Aje=U.div` 680 display: flex; 681 flex-wrap: wrap; 682 gap: ${({theme:e})=>e.spacing(2)}; 683 margin-bottom: ${({theme:e})=>e.spacing(2)}; 684 max-width: calc( 685 ${Tje} * 1rem + ${5} * ${({theme:e})=>e.spacing(2)} 686 ); 687`,jje=({predefinedColors:e})=>{let{t}=B(),n=VZ(),[r,i]=(0,I.useState)(AQ),[a,o]=(0,I.useState)(null),s=(0,I.useCallback)(()=>{i(AQ),o(null)},[]),c=(0,I.useCallback)(()=>{X.addMark(n,`color`,r),s()},[r,n,s]);return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(QZ,{title:t(`Color`),onClick:e=>{o(e.currentTarget)},icon:`format_color_text`,isActive:!1}),a&&(0,V.jsx)(qR,{onClose:s,anchor:a,children:(0,V.jsxs)(Eje,{children:[e.length>0&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(Aje,{children:e.map((e,t)=>(0,V.jsx)(kje,{$color:e,onClick:()=>i(e)},t))}),(0,V.jsx)(rK,{})]}),(0,V.jsxs)(Oje,{children:[(0,V.jsx)(Dje,{name:`color`,value:r,onChange:e=>i(e.target.value)}),(0,V.jsx)(iD,{title:t(`Apply color`),size:`small`,color:`primary`,onClick:c,icon:`check`})]})]})})]})},jQ=U.div` 688 display: flex; 689 gap: ${({theme:e})=>e.spacing(2)}; 690 flex-wrap: wrap; 691`,MQ=U.div` 692 border-right: 1px solid ${({theme:e})=>e.colors.palette.grey[20]}; 693 margin: 0 ${({theme:e})=>e.spacing(1)}; 694`,Mje=U.div` 695 display: flex; 696 flex-direction: row; 697 flex-wrap: wrap; 698 gap: ${({theme:e})=>e.spacing(2)}; 699 padding-bottom: ${({theme:e})=>e.spacing(3)}; 700 margin-bottom: ${({theme:e})=>e.spacing(3)}; 701 border-bottom: 1px solid ${({theme:e})=>e.colors.palette.grey[20]}; 702`,Nje=({config:e})=>{let{t}=B();return(0,V.jsxs)(Mje,{children:[(0,V.jsxs)(jQ,{children:[!e.excludedFunctions.includes(`bold`)&&(0,V.jsx)(OQ,{title:t(`Bold`),format:`bold`,icon:`format_bold`}),!e.excludedFunctions.includes(`italic`)&&(0,V.jsx)(OQ,{title:t(`Italic`),format:`italic`,icon:`format_italic`}),!e.excludedFunctions.includes(`underline`)&&(0,V.jsx)(OQ,{title:t(`Underline`),format:`underline`,icon:`format_underlined`}),!e.excludedFunctions.includes(`superscript`)&&(0,V.jsx)(EQ,{title:t(`Subscript`),format:`subscript`,icon:`subscript`}),!e.excludedFunctions.includes(`subscript`)&&(0,V.jsx)(EQ,{title:t(`Superscript`),format:`superscript`,icon:`superscript`}),!e.excludedFunctions.includes(`protected`)&&(0,V.jsx)(OQ,{title:t(`Prevent line breaks`),format:`protected`,icon:`lock_closed`}),!e.excludedFunctions.includes(`colors`)&&(0,V.jsx)(jje,{predefinedColors:e.predefinedColors}),!e.excludedFunctions.includes(`hyperlink`)&&(0,V.jsx)(Sje,{}),!e.excludedFunctions.includes(`dateTime`)&&(0,V.jsx)(hje,{}),!e.excludedFunctions.includes(`headlines`)&&(0,V.jsx)(_je,{}),!e.excludedFunctions.includes(`shortcuts`)&&e.shortcuts.length>0&&(0,V.jsx)(wje,{shortcuts:e.shortcuts}),(0,V.jsx)(MQ,{})]}),!e.excludedFunctions.includes(`alignment`)&&(0,V.jsx)(V.Fragment,{children:(0,V.jsxs)(jQ,{children:[(0,V.jsx)(nQ,{title:t(`Align left`),format:`paragraph`,icon:`format_align_left`}),(0,V.jsx)(nQ,{title:t(`Align center`),format:`centered-paragraph`,icon:`format_align_center`}),(0,V.jsx)(nQ,{title:t(`Align right`),format:`right-aligned-paragraph`,icon:`format_align_right`})]})}),!e.excludedFunctions.includes(`numbered-lists`)&&!e.excludedFunctions.includes(`bulleted-list`)&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(MQ,{}),(0,V.jsxs)(jQ,{children:[!e.excludedFunctions.includes(`numbered-lists`)&&(0,V.jsx)(nQ,{title:t(`Numbered list`),format:`numbered-list`,icon:`format_list_numbered`}),!e.excludedFunctions.includes(`bulleted-list`)&&(0,V.jsx)(nQ,{title:t(`Bulleted list`),format:`bulleted-list`,icon:`format_list_bulleted`})]})]})]})},Pje=[`hyperlink`,`subscript`,`superscript`,`datetime`],Fje=e=>{let{isInline:t}=e;return e.isInline=e=>Pje.includes(e.type)?!0:t(e),e},Ije=I.createContext(void 0),NQ=()=>{let e=(0,I.useContext)(Ije);if(e===void 0)throw Error(`BlockMetaContext undefined. Did you forget to wrap your components in BlockMetaProvider?`);return e},PQ={shortcuts:[],predefinedColors:[],excludedFunctions:[]},Lje=()=>{let{frontendTheme:e}=NQ();return(0,I.useMemo)(()=>{let t=[JG(e.colors.palette.primary.main.base),JG(e.colors.palette.secondary.main.base)];return{...PQ,predefinedColors:t}},[e])},Rje=U.div` 703 padding: ${({theme:e})=>e.spacing(3)}; 704 overflow: hidden; 705`,zje=U.div` 706 position: absolute; 707 background-color: white; 708 opacity: 0.7; 709 top: 0; 710 left: 0; 711 width: 100%; 712 height: 100%; 713 z-index: 2; 714`,Bje=U(QR)` 715 position: relative; 716 717 label { 718 position: static; 719 transition: none; 720 transform: none !important; 721 } 722`,Vje={createDefaultTextNode({children:e}={}){return hQ(e)},createListItemNode({children:e}={}){return{type:`list-item`,children:e??[this.createListItemTextNode()]}},createListItemTextNode({children:e}={}){return{type:`list-item-text`,children:e??[{text:``}]}},createListNode(e,{children:t}={}){return{type:e===FJ.UNORDERED?`bulleted-list`:`numbered-list`,children:t??[this.createListItemNode()]}},isConvertibleToListTextNode(e){return J.isElementType(e,`paragraph`)},isDefaultTextNode(e){return J.isElementType(e,`paragraph`)},isListNode(e,t){return t===FJ.UNORDERED?J.isElementType(e,`bulleted-list`):t===FJ.ORDERED?J.isElementType(e,`numbered-list`):J.isElementType(e,`bulleted-list`)||J.isElementType(e,`numbered-list`)},isListItemTextNode(e){return J.isElementType(e,`list-item-text`)},isListItemNode(e){return J.isElementType(e,`list-item`)}},Hje=[{type:`paragraph`,children:[{text:``}]}],Uje=I.forwardRef(function({name:e,initialValue:t,onChange:n,errors:r,infoText:i,label:a,disabled:o=!1,required:s=!1,toolbarConfig:c=PQ,onBlur:l},u){let d=(0,I.useMemo)(()=>cY(xOe(Vje)(ZZ(wOe(Fje(TJ()))))),[]);return(0,V.jsxs)(Bje,{name:e,label:a,error:r,required:s,infoText:i,children:[(0,V.jsx)(Rje,{ref:u,children:(0,V.jsxs)(XZ,{editor:d,onChange:n,initialValue:t?SQ(t):Hje,children:[(0,V.jsx)(Nje,{config:c}
722),(0,V.jsx)(GZ,{onKeyDown:e=>uje(e,d),renderElement:aje,renderLeaf:_Q,onBlur:l})]})}),o&&(0,V.jsx)(zje,{})]})}),Wje=I.forwardRef(function({label:e,name:t,disabled:n=!1,required:r=!1,toolbarConfig:i},a){let[o,s,c]=cI(t);return(0,V.jsx)(Uje,{ref:a,name:t,initialValue:o.value,onChange:c.setValue,errors:s.touched&&s.error,label:e,disabled:n,required:r,toolbarConfig:i,onBlur:()=>{c.setTouched(!0,!0)}})}),Gje=I.forwardRef(function({name:e,required:t,...n},r){let{currentLanguage:i,isMainForm:a}=TK(),o=EK(i),s=typeof t==`string`?t===`onlyOnMainForm`&&a:t;return(0,V.jsx)(DK,{name:e,children:(0,V.jsx)(Wje,{name:`translations.${o}.${e}`,required:s,ref:r,...n},`translations.${i}.${e}`)})}),Kje=U.textarea` 723 ${({theme:e})=>e.forms.field}; 724`,qje=I.forwardRef(function({autoGrow:e=!0,value:t,name:n,placeholder:r,label:i,disabled:a,error:o,infoText:s,className:c,readOnly:l,description:u,required:d,...f},p){return(0,V.jsx)(QR,{label:i,name:n,error:o,infoText:s,disabled:a,hasValue:!!t||!!r,className:c,required:d,description:u,readOnly:l,children:(0,V.jsx)(Kje,{...f,$hasLabel:!!i,name:n,id:n,placeholder:r,disabled:a,readOnly:l,value:t,ref:p,"aria-invalid":!!o,"aria-errormessage":`${n}_error`,"aria-required":d,onInput:t=>{let n=t.target;e&&(n.style.height=`${n.scrollHeight}px`)},className:HE(l&&`read-only`)})})}),Jje=({autoFocus:e=!1,disabled:t=!1,readOnly:n=!1,label:r,infoText:i,name:a,placeholder:o,className:s,rows:c,description:l,required:u})=>({controlProps:{label:r,infoText:i,placeholder:o,disabled:t,readOnly:n,autoFocus:e,className:s,rows:c,description:l,required:u},useFieldProps:{name:a}}),FQ=I.forwardRef((e,t)=>{let{controlProps:n,useFieldProps:r}=Jje(e),[i,a]=ez(r.name);return(0,V.jsx)(qje,{...n,...i,ref:t,error:a.touched&&a.error?a.error:void 0,value:i.value||``})});FQ.displayName=`TextareaField`;var IQ=I.forwardRef(({name:e,required:t,...n},r)=>{let{currentLanguage:i,isMainForm:a}=TK(),o=EK(i),s=typeof t==`string`?t===`onlyOnMainForm`&&a:t;return(0,V.jsx)(DK,{name:e,children:(0,V.jsx)(FQ,{name:`translations.${o}.${e}`,required:s,ref:r,...n},`translations.${o}.${e}`)})});IQ.displayName=`I18nTextareaField`;var LQ=I.forwardRef(function({translationPath:e=``,name:t,required:n,...r},i){let{currentLanguage:a,isMainForm:o}=TK(),s=EK(a),c=typeof n==`string`?n===`onlyOnMainForm`&&o:n,l=`${e}translations.${s}.${t}`;return(0,V.jsx)(DK,{translationPath:e,name:t,children:(0,V.jsx)(tz,{name:l,required:c,ref:i,...r},l)})}),Yje=()=>{let{t:e}=B(),{currentLanguage:t,setCurrentLanguage:n,fallbackLanguage:r}=TK(),i=EK(t);return t===r?null:(0,V.jsx)(hI,{name:`translations`,render:({remove:t})=>(0,V.jsx)(FE,{title:e(`Discard language`),type:`button`,onClick:()=>{t(i),n(r)},prefix:(0,V.jsx)(nD,{$icon:`delete`}),children:e(`Discard language`)})})},RQ=U.div` 725 width: 100%; 726 padding-top: ${({$aspect:e})=>100/e}%; 727 position: relative; 728`,zQ={x:0,y:0,width:0,height:0,unit:`px`},BQ=(e,t,n)=>Math.min(Math.max(e,t),n),Xje=(...e)=>e.filter(e=>e&&typeof e==`string`).join(` `),VQ=(e,t)=>e===t||e.width===t.width&&e.height===t.height&&e.x===t.x&&e.y===t.y&&e.unit===t.unit;function HQ(e,t,n,r){let i=GQ(e,n,r);return e.width&&(i.height=i.width/t),e.height&&(i.width=i.height*t),i.y+i.height>r&&(i.height=r-i.y,i.width=i.height*t),i.x+i.width>n&&(i.width=n-i.x,i.height=i.width/t),e.unit===`%`?WQ(i,n,r):i}function UQ(e,t,n){let r=GQ(e,t,n);return r.x=(t-r.width)/2,r.y=(n-r.height)/2,e.unit===`%`?WQ(r,t,n):r}function WQ(e,t,n){return e.unit===`%`?{...zQ,...e,unit:`%`}:{unit:`%`,x:e.x?e.x/t*100:0,y:e.y?e.y/n*100:0,width:e.width?e.width/t*100:0,height:e.height?e.height/n*100:0}}function GQ(e,t,n){return!e.unit||e.unit===`px`?{...zQ,...e,unit:`px`}:{unit:`px`,x:e.x?e.x*t/100:0,y:e.y?e.y*n/100:0,width:e.width?e.width*t/100:0,height:e.height?e.height*n/100:0}}function KQ(e,t,n,r,i,a=0,o=0,s=r,c=i){let l={...e},u=Math.min(a,r),d=Math.min(o,i),f=Math.min(s,r),p=Math.min(c,i);t&&(t>1?(u=o?o*t:u,d=u/t,f=s*t):(d=a?a/t:d,u=d*t,p=c/t)),l.y<0&&(l.height=Math.max(l.height+l.y,d),l.y=0),l.x<0&&(l.width=Math.max(l.width+l.x,u),l.x=0);let m=r-(l.x+l.width);m<0&&(l.x=Math.min(l.x,r-u),l.width+=m);let h=i-(l.y+l.height);if(h<0&&(l.y=Math.min(l.y,i-d),l.height+=h),l.width<u&&((n===`sw`||n==`
728nw`)&&(l.x-=u-l.width),l.width=u),l.height<d&&((n===`nw`||n==`ne`)&&(l.y-=d-l.height),l.height=d),l.width>f&&((n===`sw`||n==`nw`)&&(l.x-=f-l.width),l.width=f),l.height>p&&((n===`nw`||n==`ne`)&&(l.y-=p-l.height),l.height=p),t){let e=l.width/l.height;if(e<t){let e=Math.max(l.width/t,d);(n===`nw`||n==`ne`)&&(l.y-=e-l.height),l.height=e}else if(e>t){let e=Math.max(l.height*t,u);(n===`sw`||n==`nw`)&&(l.x-=e-l.width),l.width=e}}return l}function Zje(e,t,n,r){let i={...e};return t===`ArrowLeft`?r===`nw`?(i.x-=n,i.y-=n,i.width+=n,i.height+=n):r===`w`?(i.x-=n,i.width+=n):r===`sw`?(i.x-=n,i.width+=n,i.height+=n):r===`ne`?(i.y+=n,i.width-=n,i.height-=n):r===`e`?i.width-=n:r===`se`&&(i.width-=n,i.height-=n):t===`ArrowRight`&&(r===`nw`?(i.x+=n,i.y+=n,i.width-=n,i.height-=n):r===`w`?(i.x+=n,i.width-=n):r===`sw`?(i.x+=n,i.width-=n,i.height-=n):r===`ne`?(i.y-=n,i.width+=n,i.height+=n):r===`e`?i.width+=n:r===`se`&&(i.width+=n,i.height+=n)),t===`ArrowUp`?r===`nw`?(i.x-=n,i.y-=n,i.width+=n,i.height+=n):r===`n`?(i.y-=n,i.height+=n):r===`ne`?(i.y-=n,i.width+=n,i.height+=n):r===`sw`?(i.x+=n,i.width-=n,i.height-=n):r===`s`?i.height-=n:r===`se`&&(i.width-=n,i.height-=n):t===`ArrowDown`&&(r===`nw`?(i.x+=n,i.y+=n,i.width-=n,i.height-=n):r===`n`?(i.y+=n,i.height-=n):r===`ne`?(i.y+=n,i.width-=n,i.height-=n):r===`sw`?(i.x-=n,i.width+=n,i.height+=n):r===`s`?i.height+=n:r===`se`&&(i.width+=n,i.height+=n)),i}var qQ={capture:!0,passive:!1},Qje=0,$je=class e extends I.PureComponent{static xOrds=[`e`,`w`];static yOrds=[`n`,`s`];static xyOrds=[`nw`,`ne`,`se`,`sw`];static nudgeStep=1;static nudgeStepMedium=10;static nudgeStepLarge=100;static defaultProps={ariaLabels:{cropArea:`Use the arrow keys to move the crop selection area`,nwDragHandle:`Use the arrow keys to move the north west drag handle to change the crop selection area`,nDragHandle:`Use the up and down arrow keys to move the north drag handle to change the crop selection area`,neDragHandle:`Use the arrow keys to move the north east drag handle to change the crop selection area`,eDragHandle:`Use the up and down arrow keys to move the east drag handle to change the crop selection area`,seDragHandle:`Use the arrow keys to move the south east drag handle to change the crop selection area`,sDragHandle:`Use the up and down arrow keys to move the south drag handle to change the crop selection area`,swDragHandle:`Use the arrow keys to move the south west drag handle to change the crop selection area`,wDragHandle:`Use the up and down arrow keys to move the west drag handle to change the crop selection area`}};get document(){return document}docMoveBound=!1;mouseDownOnCrop=!1;dragStarted=!1;evData={startClientX:0,startClientY:0,startCropX:0,startCropY:0,clientX:0,clientY:0,isResize:!0};componentRef=(0,I.createRef)();mediaRef=(0,I.createRef)();resizeObserver;initChangeCalled=!1;instanceId=`rc-${Qje++}`;state={cropIsActive:!1,newCropIsBeingDrawn:!1};getBox(){let e=this.mediaRef.current;if(!e)return{x:0,y:0,width:0,height:0};let{x:t,y:n,width:r,height:i}=e.getBoundingClientRect();return{x:t,y:n,width:r,height:i}}componentDidUpdate(e){let{crop:t,onComplete:n}=this.props;if(n&&!e.crop&&t){let{width:e,height:r}=this.getBox();e&&r&&n(GQ(t,e,r),WQ(t,e,r))}}componentWillUnmount(){this.resizeObserver&&this.resizeObserver.disconnect(),this.unbindDocMove()}bindDocMove(){this.docMoveBound||=(this.document.addEventListener(`pointermove`,this.onDocPointerMove,qQ),this.document.addEventListener(`pointerup`,this.onDocPointerDone,qQ),this.document.addEventListener(`pointercancel`,this.onDocPointerDone,qQ),!0)}unbindDocMove(){this.docMoveBound&&=(this.document.removeEventListener(`pointermove`,this.onDocPointerMove,qQ),this.document.removeEventListener(`pointerup`,this.onDocPointerDone,qQ),this.document.removeEventListener(`pointercancel`,this.onDocPointerDone,qQ),!1)}onCropPointerDown=e=>{let{crop:t,disabled:n}=this.props,r=this.getBox();if(!t)return;let i=GQ(t,r.width,r.height);if(n)return;e.cancelable&&e.preventDefault(),this.bindDocMove(),this.componentRef.current.focus({preventScroll:!0});let a=e.target.dataset.ord,o=!!a,s=e.clientX,c=e.clientY,l=i.x,u=i.y;if(a){let t=e.clientX-r.x,n=e.clientY-r.y,o=0,d=0;a===`ne`||a==`e`?(o=t-(i.x+i.width),d=n-i.y,l=i.x,u=i.y+i.height):a===`se`||a===`s`?(o=t-(i.x+i.width),d=n-(i.y+i.height),l=i.x,u=i.y):a===`sw`||a==`w`?(o=t-i.x,d=n-(i.y+i.height),l=i.x+i.width,u=i.y):(a===`nw`||a==`n`)&&(o=t-i.x,d=n-i.y,l=i.x+i.width,u=i.y+i.height),s=l+r.x+o,c=u+r.y+d}this.evData={startClientX:s,startClientY:c,startCropX:l,startCropY:u,clientX:e.clientX,clientY:e.clientY,isResize:o,ord:a},this.mouseDownOnCrop=!0,this.setState({cropIsActive:!0})};onComponentPointerDown=e=>{let{crop:t,disabled:n,locked:r,keepSelection:i,onChange:a}=this.props,o=this.getBox();if(n||r||i&&t)return;e.cancelable&&e.preventDefault(),this.bindDocMove(),this.componentRef.current.focus({preventScroll:!0});let s=e.clientX-o.x,c=e.clientY-o.y,l={unit:`px`,x:s,y:c,width:0,height:0};this.evData={startClientX:e.clientX,startClientY:e.clientY,startCropX:s,startCropY:c,clientX:e.clientX,clientY:e.clientY,isResize:!0},this.mouseDownOnCrop=!0,a(GQ(l,o.width,o.height),WQ(l,o.width,o.height)),this.setState({cropIsActive:!0,newCropIsBeingDrawn:!0})};onDocPointerMove=e=>{let{crop:t,disabled:n,onChange:r,onDragStart:i}=this.props,a=this.getBox();if(n||!t||!this.mouseDownOnCrop)return;e.cancelable&&e.preventDefault(),this.dragStarted||(this.dragStarted=!0,i&&i(e));let{evData:o}=this;o.clientX=e.clientX,o.clientY=e.clientY;let s;s=o.isResize?this.resizeCrop():this.dragCrop(),VQ(t,s)||r(GQ(s,a.width,a.height),WQ(s,a.width,a.height))};onComponentKeyDown=t=>{let{crop:n,disabled:r,onChange:i,onComplete:a}=this.props;if(r)return;let o=t.key,s=!1;if(!n)return;let c=this.getBox(),l=this.makePixelCrop(c),u=(navigator.platform.match(`Mac`)?t.metaKey:t.ctrlKey)?e.nudgeStepLarge:t.shiftKey?e.nudgeStepMedium:e.nudgeStep;if(o===`ArrowLeft`?(l.x-=u,s=!0):o===`ArrowRight`?(l.x+=u,s=!0):o===`ArrowUp`?(l.y-=u,s=!0):o===`ArrowDown`&&(l.y+=u,s=!0),s){t.cancelable&&t.preventDefault(),l.x=BQ(l.x,0,c.width-l.width),l.y=BQ(l.y,0,c.height-l.height);let e=GQ(l,c.width,c.height),n=WQ(l,c.width,c.height);i(e,n),a&&a(e,n)}};onHandlerKeyDown=(t,n)=>{let{aspect:r=0,crop:i,disabled:a,minWidth:o=0,minHeight:s=0,maxWidth:c,maxHeight:l,onCh
728ange:u,onComplete:d}=this.props,f=this.getBox();if(a||!i)return;if(t.key===`ArrowUp`||t.key===`ArrowDown`||t.key===`ArrowLeft`||t.key===`ArrowRight`)t.stopPropagation(),t.preventDefault();else return;let p=(navigator.platform.match(`Mac`)?t.metaKey:t.ctrlKey)?e.nudgeStepLarge:t.shiftKey?e.nudgeStepMedium:e.nudgeStep,m=KQ(Zje(GQ(i,f.width,f.height),t.key,p,n),r,n,f.width,f.height,o,s,c,l);if(!VQ(i,m)){let e=WQ(m,f.width,f.height);u(m,e),d&&d(m,e)}};onDocPointerDone=e=>{let{crop:t,disabled:n,onComplete:r,onDragEnd:i}=this.props,a=this.getBox();this.unbindDocMove(),!n&&t&&this.mouseDownOnCrop&&(this.mouseDownOnCrop=!1,this.dragStarted=!1,i&&i(e),r&&r(GQ(t,a.width,a.height),WQ(t,a.width,a.height)),this.setState({cropIsActive:!1,newCropIsBeingDrawn:!1}))};onDragFocus=()=>{this.componentRef.current?.scrollTo(0,0)};getCropStyle(){let{crop:e}=this.props;if(e)return{top:`${e.y}${e.unit}`,left:`${e.x}${e.unit}`,width:`${e.width}${e.unit}`,height:`${e.height}${e.unit}`}}dragCrop(){let{evData:e}=this,t=this.getBox(),n=this.makePixelCrop(t),r=e.clientX-e.startClientX,i=e.clientY-e.startClientY;return n.x=BQ(e.startCropX+r,0,t.width-n.width),n.y=BQ(e.startCropY+i,0,t.height-n.height),n}getPointRegion(e,t,n,r){let{evData:i}=this,a=i.clientX-e.x,o=i.clientY-e.y,s;s=r&&t?t===`nw`||t===`n`||t===`ne`:o<i.startCropY;let c;return c=n&&t?t===`nw`||t===`w`||t===`sw`:a<i.startCropX,c?s?`nw`:`sw`:s?`ne`:`se`}resolveMinDimensions(e,t,n=0,r=0){let i=Math.min(n,e.width),a=Math.min(r,e.height);return!t||!i&&!a?[i,a]:t>1?i?[i,i/t]:[a*t,a]:a?[a*t,a]:[i,i/t]}resizeCrop(){let{evData:t}=this,{aspect:n=0,maxWidth:r,maxHeight:i}=this.props,a=this.getBox(),[o,s]=this.resolveMinDimensions(a,n,this.props.minWidth,this.props.minHeight),c=this.makePixelCrop(a),l=this.getPointRegion(a,t.ord,o,s),u=t.ord||l,d=t.clientX-t.startClientX,f=t.clientY-t.startClientY;(o&&u===`nw`||u===`w`||u===`sw`)&&(d=Math.min(d,-o)),(s&&u===`nw`||u===`n`||u===`ne`)&&(f=Math.min(f,-s));let p={unit:`px`,x:0,y:0,width:0,height:0};l===`ne`?(p.x=t.startCropX,p.width=d,n?(p.height=p.width/n,p.y=t.startCropY-p.height):(p.height=Math.abs(f),p.y=t.startCropY-p.height)):l===`se`?(p.x=t.startCropX,p.y=t.startCropY,p.width=d,p.height=n?p.width/n:f):l===`sw`?(p.x=t.startCropX+d,p.y=t.startCropY,p.width=Math.abs(d),p.height=n?p.width/n:f):l===`nw`&&(p.x=t.startCropX+d,p.width=Math.abs(d),n?(p.height=p.width/n,p.y=t.startCropY-p.height):(p.height=Math.abs(f),p.y=t.startCropY+f));let m=KQ(p,n,l,a.width,a.height,o,s,r,i);return n||e.xyOrds.indexOf(u)>-1?c=m:e.xOrds.indexOf(u)>-1?(c.x=m.x,c.width=m.width):e.yOrds.indexOf(u)>-1&&(c.y=m.y,c.height=m.height),c.x=BQ(c.x,0,a.width-c.width),c.y=BQ(c.y,0,a.height-c.height),c}renderCropSelection(){let{ariaLabels:t=e.defaultProps.ariaLabels,disabled:n,locked:r,renderSelectionAddon:i,ruleOfThirds:a,crop:o}=this.props,s=this.getCropStyle();if(o)return I.createElement(`div`,{style:s,className:`ReactCrop__crop-selection`,onPointerDown:this.onCropPointerDown,"aria-label":t.cropArea,tabIndex:0,onKeyDown:this.onComponentKeyDown,role:`group`},!n&&!r&&I.createElement(`div`,{className:`ReactCrop__drag-elements`,onFocus:this.onDragFocus},I.createElement(`div`,{className:`ReactCrop__drag-bar ord-n`,"data-ord":`n`}),I.createElement(`div`,{className:`ReactCrop__drag-bar ord-e`,"data-ord":`e`}),I.createElement(`div`,{className:`ReactCrop__drag-bar ord-s`,"data-ord":`s`}),I.createElement(`div`,{className:`ReactCrop__drag-bar ord-w`,"data-ord":`w`}),I.createElement(`div`,{className:`ReactCrop__drag-handle ord-nw`,"data-ord":`nw`,tabIndex:0,"aria-label":t.nwDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,`nw`),role:`button`}),I.createElement(`div`,{className:`ReactCrop__drag-handle ord-n`,"data-ord":`n`,tabIndex:0,"aria-label":t.nDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,`n`),role:`button`}),I.createElement(`div`,{className:`ReactCrop__drag-handle ord-ne`,"data-ord":`ne`,tabIndex:0,"aria-label":t.neDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,`ne`),role:`button`}),I.createElement(`div`,{className:`ReactCrop__drag-handle ord-e`,"data-ord":`e`,tabIndex:0,"aria-label":t.eDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,`e`),role:`button`}),I.createElement(`div`,{className:`ReactCrop__drag-handle ord-se`,"data-ord":`se`,tabIndex:0,"aria-label":t.seDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,`se`),role:`button`}),I.createElement(`div`,{className:`ReactCrop__drag-handle ord-s`,"data-ord":`s`,tabIndex:0,"aria-label":t.sDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,`s`),role:`button`}),I.createElement(`div`,{className:`ReactCrop__drag-handle ord-sw`,"data-ord":`sw`,tabIndex:0,"aria-label":t.swDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,`sw`),role:`button`}),I.createElement(`div`,{className:`ReactCrop__drag-handle ord-w`,"data-ord":`w`,tabIndex:0,"aria-label":t.wDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,`w`),role:`button`})),i&&I.createElement(`div`,{className:`ReactCrop__selection-addon`,onPointerDown:e=>e.stopPropagation()},i(this.state)),a&&I.createElement(I.Fragment,null,I.createElement(`div`,{className:`ReactCrop__rule-of-thirds-hz`}),I.createElement(`div`,{className:`ReactCrop__rule-of-thirds-vt`})))}makePixelCrop(e){return GQ({...zQ,...this.props.crop||{}},e.width,e.height)}render(){let{aspect:e,children:t,circularCrop:n,className:r,crop:i,disabled:a,locked:o,style:s,ruleOfThirds:c}=this.props,{cropIsActive:l,newCropIsBeingDrawn:u}=this.state,d=i?this.renderCropSelection():null,f=Xje(`ReactCrop`,r,l&&`ReactCrop--active`,a&&`ReactCrop--disabled`,o&&`ReactCrop--locked`,u&&`ReactCrop--new-crop`,i&&e&&`ReactCrop--fixed-aspect`,i&&n&&`ReactCrop--circular-crop`,i&&c&&`ReactCrop--rule-of-thirds`,!this.dragStarted&&i&&!i.width&&!i.height&&`ReactCrop--invisible-crop`,n&&`ReactCrop--no-animate`);return I.createElement(`div`,{ref:this.componentRef,className:f,style:s},I.createElement(`div`,{ref:this.mediaRef,className:`ReactCrop__child-wrapper`,onPointerDown:this.onComponentPointerDown},t),i?I.createElement(`svg`,{className:`ReactCrop__crop-mask`,width:`100%`,height:`100%`},I.createElement(`defs`,null,I.createElement(`mask`,{id:`hole-${this.instanceId}`},I.createElement(`rect`,{width:`100%`,height:`100%`,fill:`white`}),n?I.createElement(`ellipse`,{cx:`${i.x+i.width/2}${i.unit}`,cy:`${i.y+i.height/2}${i.unit}`,rx:`${i.width/2}${i.unit}`,ry:`${i.height/2}${i.unit}`,fill:`black`}):I.createElement(`rect`,{x:`${i.x}${i.unit}`,y:`${i.y}${i.unit}`,width:`${i.width}${i.unit}`,height:`${i.height}${i.unit}`,fill:`black`}))),I.createElement(`rect`,{fill:`black`,fillOpacity:.5,width:`100%`,height:`100%`,mask:`url(#hole-${this.instanceId})`})):void 0,d)}};Math.PI/180;var JQ=`custom`,YQ=e=>{switch(e){case 4:return`4/1`;case 1:return`1/1`;
728case 16/9:return`16/9`;case 9/16:return`9/16`;case 4/3:return`4/3`;case`all`:return`all`;case JQ:return JQ;default:return``}},eMe=({aspectRatio:e})=>{switch(e){case`4/1`:return 4;case`1/1`:return 1;case`16/9`:return 16/9;case`9/16`:return 9/16;case`4/3`:return 4/3;default:return}},tMe=U.div` 729 color: ${({theme:e})=>e.colors.palette.warning.main.base}; 730`,XQ={minCroppedWidth:300,minNaturalWidth:1280},nMe=e=>{let{minCroppedWidth:t=XQ.minCroppedWidth,minNaturalWidth:n=XQ.minNaturalWidth}=e??XQ,[r,i]=(0,I.useState)(null),[a,o]=(0,I.useState)(null),s=(0,I.useRef)(null),{t:c}=B(),l=(0,I.useCallback)(e=>{s.current&&(s.current.naturalWidth*e/100<t?i(c(`Your selection is under {{pixel}}px wide and may not display optimally. Please select a larger area if possible.`,{pixel:t})):i(null))},[t,c]),u=(0,I.useCallback)(e=>{o(e<n?c(`The selected image is under {{pixel}}px wide and may not display optimally. Please use a larger image if possible.`,{pixel:n}):null)},[n,c]);return{onImageLoad:(0,I.useCallback)(e=>{s.current=e,i(null),o(null),u(e.naturalWidth)},[u]),checkMinCroppedWidth:l,warning:a??r}},rMe=U.div` 731 display: flex; 732 flex-direction: column; 733`,iMe=e=>!!e.height&&!!e.width&&(e.x===0||!!e.x)&&(!!e.y||e.y===0),aMe={unit:`%`,width:50,height:50,x:25,y:25},oMe=({value:e,src:t,alt:n,onChange:r,onImageLoad:i,circularCrop:a,aspect:o,minWidths:s,maxHeight:c})=>{let[l,u]=(0,I.useState)(()=>e||aMe),{warning:d,checkMinCroppedWidth:f,...p}=nMe(s),m=(0,I.useRef)(null),h=(0,I.useCallback)(e=>{let t=e.currentTarget;m.current=t;let{width:n,height:a}=t,s=o===`custom`?{unit:`%`,width:100,height:100,x:0,y:0}:UQ(HQ({unit:`%`,width:100},o,n,a),n,a);i&&i(t),p.onImageLoad(t),u(s),r(s)},[o,r,i,p]);return(0,I.useEffect)(()=>{let e=m.current;if(e){let t=o===`custom`?{unit:`%`,width:100,height:100,x:0,y:0}:UQ(HQ({unit:`%`,width:100},o,e.width,e.height),e.width,e.height);u(t),r(t)}},[o]),(0,V.jsxs)(rMe,{children:[(0,V.jsx)($je,{aspect:o===`custom`?void 0:o,style:{margin:`auto`,maxHeight:c?`${c}px`:void 0},crop:l,circularCrop:a,onChange:(e,t)=>
733{u(t),f(t.width)},onComplete:(e,t)=>{iMe(t)&&r(t)},children:(0,V.jsx)(`img`,{src:t,alt:n,onLoad:h})}),d&&(0,V.jsx)(tMe,{children:d})]})},sMe=U.span` 734 ${({theme:e})=>e.forms.radioButton.wrapper}; 735`,cMe=U.input` 736 z-index: 2; 737 cursor: pointer; 738 opacity: 0; 739`,lMe=U.div` 740 margin: 0; 741 position: absolute; 742`,uMe=U(dK)` 743 ${({theme:e})=>e.forms.radioButton.control}; 744 margin: 0; 745`,dMe=({id:e,label:t,value:n,checked:r,onChange:i,name:a,disabled:o,error:s,infoText:c,ariaControls:l})=>{let u=(0,I.useRef)(null);return(0,V.jsx)(uMe,{label:t,name:e,disabled:o,error:s,infoText:c,children:(0,V.jsxs)(sMe,{children:[(0,V.jsx)(cMe,{ref:u,type:`radio`,name:a,id:e,disabled:o,value:n,checked:r,onChange:e=>{!o&&i({target:{name:a,value:e.target.value}})},"aria-controls":l}),(0,V.jsx)(lMe,{className:HE(!!s&&`has-error`,`button`),onClick:e=>{e.stopPropagation(),e.preventDefault(),!o&&u.current&&u.current.click()}})]})})},ZQ=({id:e,label:t,value:n,name:r,onChange:i,...a})=>{if(!r)throw Error(`Name is required for radio field with label "${t}".`);let[o,s]=cI(r);return(0,V.jsx)(dMe,{label:t,...a,...o,id:e||r,checked:o.value===n,value:n,onChange:e=>{i&&i(e),o.onChange(e)},error:s.touched&&s.error})},fMe=U.div` 746 padding-bottom: 1.5rem; 747 display: grid; 748 grid-template-columns: 1fr; 749 justify-content: start; 750 gap: ${({theme:e})=>e.spacing(3)}; 751`,QQ=({children:e,name:t,className:n})=>(0,V.jsx)(fMe,{role:`radiogroup`,className:n,children:I.Children.map(e,({props:e},n)=>{if(e.name)throw Error(`Radio field with label "${e.label}" does have a name. Radio fields inside a group must not define their own name.`);return(0,V.jsx)(ZQ,{id:e.id||`${t}-${n}`,name:t,...e})})}),pMe=U.div` 752 ${({theme:e})=>e.forms.error}; 753`,mMe=U.div` 754 ${({theme:e})=>e.forms.description}; 755`,hMe=U.div` 756 ${({theme:e})=>e.forms.inlineGroup} 757`,gMe=U.div` 758 display: grid; 759 grid-auto-rows: max-content; 760 gap: ${({theme:e})=>e.spacing(3)}; 761`,$Q=({name:e,label:t,onChange:n,required:r=!1,options:i,description:a,disabled:o})=>{let[,{touched:s,error:c}]=cI(e),{t:l}=B();return(0,V.jsxs)(hMe,{role:`radiogroup`,children:[t&&(0,V.jsxs)(mK,{children:[t,r&&(0,V.jsx)(`span`,{title:l(`Field is required`),children:`*`})]}),(0,V.jsx)(gMe,{children:i.map(t=>(0,V.jsx)(ZQ,{id:`${e}_${t.value}`,name:e,value:t.value,label:t.name,onChange:n,disabled:o},t.value))}),s&&c&&(0,V.jsx)(pMe,{children:c}),(!c||!s)&&a&&(0,V.jsx)(mMe,{children:a})]})};function e$(e,t){let[n,r]=(0,I.useState)(e);return(0,I.useEffect)(()=>{let n=setTimeout(()=>{r(e)},t);return()=>{clearTimeout(n)}},[t,e]),n}var _Me=(e,t)=>{let{queryFn:n,queryKey:r,paginationMapper:i,dataMapper:a}=e,[o,s]=(0,I.useState)(!1),[c,l]=(0,I.useState)(``),u=e$(c,500),{fetchNextPage:d,data:f,isLoading:p}=Aw({gcTime:0,refetchOnMount:t,staleTime:0,initialPageParam:1,queryKey:[...r,u],enabled:o,queryFn:({pageParam:e})=>n(u,e),getNextPageParam:e=>{let t=i(e);return!t||t.last===t.page?null:t.page+1}}),m=(0,I.useMemo)(()=>f?.pages?f.pages.flatMap(e=>a(e)):[],[f?.pages,a]),h=(0,I.useCallback)(()=>{l(``)},[]);return{handleFirstLoad:(0,I.useCallback)(async()=>{s(!0)},[]),options:m,loading:p,search:c,onSearch:l,onEndReached:d,onClear:h}},t$=I.forwardRef(function({name:e,fetchConfig:t,disabled:n,clearable:r,onClear:i,...a},o){let{onClear:s,...c}=_Me(t,n),l=r?{clearable:!0,onClear:()=>{r&&i&&i(),s()}}:{clearable:!1,onClear:void 0};return(0,V.jsx)(xG,{...a,...c,...l,ref:o,disabled:n,name:e})});function vMe({onCreate:e,...t}){return(0,V.jsx)(t$,{renderCreateForm:e,...t})}var n$=I.forwardRef(function({name:e,...t},n){let[r,{touched:i,error:a}]=cI(e);return(0,V.jsx)(t$,{...t,...r,ref:n,onClear:t.clearable?()=>r.onChange({target:{name:e,value:null}}):void 0,error:i?a:void 0,onChange:e=>{r.onChange(e),t.onChange&&t.onChange(e)}})});function yMe({onCreate:e,...t}){return(0,V.jsx)(n$,{renderCreateForm:e,...t})}var bMe=({onClose:e,open:t,action:n})=>{let{t:r}=B();return(0,V.jsx)(cD,{heading:r(`Discard changes`),labels:{confirm:r(`Discard changes`),close:r(`Stay on page`)},open:t,onClose:e,action:n,children:r(`You have not saved your changes. Do you really want to discard them?`)})},xMe=U.input` 762 ${({theme:e})=>e.forms.field}; 763`,SMe=I.forwardRef(function({name:e,description:t,handleInput:n,label:r,disabled:i,error:a,infoText:o,className:s,prefix:c,suffix:l,required:u,readOnly:d,...f},p){return(0,V.jsx)(QR,{prefix:c,suffix:l,label:r,name:e,error:a,infoText:o,description:t,disabled:i,className:s,hasValue:!0,required:u,readOnly:d,children:(0,V.jsx)(xMe,{...f,$hasLabel:!!r,type:`file`,ref:p,id:e,name:e,"data-testid":`fileInput`,onChange:n,disabled:i,"aria-errormessage":`${e}_error`,className:HE(d&&`read-only`)})})}),CMe=U.div` 764 display: flex;
765 height: 100%; 766 align-items: center; 767 padding-right: ${({theme:e})=>e.spacing(3)}; 768`,wMe=U.div` 769 display: flex; 770 align-items: center; 771`,r$=e=>{if(!e)return``;if(e.length>10){let[t,n,r]=e.split(`-`);return`${t.slice(0,4)}-${n}-${r}`}return e},i$=I.forwardRef(function({value:e,onChange:t,name:n,placeholder:r,description:i,label:a,disabled:o,error:s,infoText:c,className:l,prefix:u,suffix:d,autoFocus:f,required:p,clearable:m=!0,readOnly:h,...g},_){let v=(0,I.useRef)(null),{t:y}=B(),[b,x]=(0,I.useState)(r$(e));(0,I.useEffect)(()=>{x(r$(e))},[e]);let S=(0,I.useCallback)(e=>{f&&e&&document.activeElement!==e&&e.focus(),v.current=e,typeof _==`function`?_(e):_&&(_.current=e)},[f,_]),C=(0,I.useCallback)(e=>{x(r$(e.target.value))},[]),w=async e=>{let r=e.target.value;await t({target:{name:n,value:r||null}}),g.onBlur&&g.onBlur(e)},T=(0,I.useCallback)(async()=>{await t({target:{name:n,value:null}})},[n,t]);return(0,V.jsx)(QR,{prefix:u,suffix:d,label:a,name:n,error:s,infoText:c,description:i,disabled:o,hasValue:!0,className:l,required:p,readOnly:h,children:(0,V.jsxs)(wMe,{children:[(0,V.jsx)(bK,{...g,$hasLabel:!!a,max:g.max??`9999-12-31T23:59`,name:n,id:n,placeholder:r,disabled:o,type:`date`,value:b,ref:S,onChange:C,onBlur:w,"data-testid":`${n}`,"aria-required":p,"aria-invalid":!!s,"aria-errormessage":`${n}_error`,required:p,readOnly:h,className:HE(h&&`read-only`)}),m&&!!e&&!h&&(0,V.jsx)(CMe,{children:(0,V.jsx)(dD,{title:y(`Clear`),size:`small`,type:`button`,onClick:T,icon:`close`})})]})})}),TMe=({autoFocus:e=!1,disabled:t=!1,readOnly:n=!1,clearable:r,label:i,infoText:a,max:o,min:s,name:c,placeholder:l,description:u,maxChars:d,prefix:f,suffix:p,className:m,autoComplete:h,required:g})=>({controlProps:{label:i,infoText:a,placeholder:l,description:u,maxChars:d,disabled:t,readOnly:n,autoFocus:e,min:s,max:o,prefix:f,suffix:p,className:m,autoComplete:h,required:g,clearable:r},useFieldProps:{name:c}}),a$=I.forwardRef(function(e,t){let{controlProps:n,useFieldProps:r}=TMe(e),[i,a,o]=cI(r);return(0,V.jsx)(i$,{ref:t,...n,...i,error:a.touched&&a.error?a.error:void 0,onChange:e=>o.setValue(e.target.value)})}),EMe=U.div` 772 display: flex; 773 height: 100%; 774 align-items: center; 775 776 > * { 777 margin-right: ${({theme:e})=>e.spacing(3)}; 778 } 779`,DMe=U.div` 780 display: flex; 781 align-items: center; 782`,OMe=({value:e,onChange:t,name:n,placeholder:r,description:i,maxChars:a,label:o,disabled:s,readOnly:c,error:l,className:u,prefix:d,suffix:f,required:p,clearable:m=!0,...h})=>{let{t:g}=B(),_=(0,I.useMemo)(()=>e?RV(e,xK,new Date):null,[e]),v=(0,I.useCallback)(async e=>{let r=e.target.value;if(!r){await t({target:{name:n,value:null}});return}if(r.length>16){let e=r.split(`-`);if(e.length>=3){let[r,i,a]=e;await t({target:{name:n,value:`${r.slice(0,4)}-${i}-${a}`}})}return}await t({target:{name:n,value:r}})},[n,t]),y=(0,I.useCallback)(async()=>{await t({target:{name:n,value:null}})},[n,t]);return(0,V.jsx)(QR,{prefix:d,suffix:f,label:o,name:n,error:l,description:i,maxChars:a,disabled:s,hasValue:!0,className:u,required:p,readOnly:c,children:(0,V.jsxs)(DMe,{children:[(0,V.jsx)(bK,{...h,$hasLabel:!!o,max:`9999-12-31T23:59`,type:`datetime-local`,maxLength:a,name:n,id:n,placeholder:r,disabled:s,readOnly:c,value:_?SB(_,xK):``,"aria-required":p,"aria-invalid":!!l,"aria-errormessage":`${n}_error`,onChange:v,className:HE(c&&`read-only`)}),(0,V.jsx)(EMe,{children:m&&!!e&&!c&&(0,V.jsx)(dD,{title:g(`Clear`),size:`small`,type:`button`,onClick:y,icon:`close`})})]})})},kMe=({disabled:e=!1,readOnly:t=!1,label:n,max:r,min:i,step:a,name:o,placeholder:s,description:c,maxChars:l,prefix:u,suffix:d,className:f,autoComplete:p,required:m,clearable:h})=>({controlProps:{label:n,placeholder:s,description:c,maxChars:l,disabled:e,readOnly:t,min:i,max:r,step:a,prefix:u,suffix:d,className:f,autoComplete:p,required:m,clearable:h},useFieldProps:{name:o}}),AMe=e=>{let{controlProps:t,useFieldProps:n}=kMe(e),[r,i]=cI(n);return(0,V.jsx)(OMe,{...t,...r,onChange:async e=>r.onChange(e),error:i.touched&&i.error?i.error:void 0})},jMe=({autoFocus:e=!1,disabled:t=!1,label:n,infoText:r,name:i,description:a,prefix:o,suffix:s,accept:c,required:l})=>
782({controlProps:{label:n,infoText:r,description:a,disabled:t,autoFocus:e,prefix:o,suffix:s,accept:c,required:l},useFieldProps:{name:i}}),MMe=(e,t)=>{if(!t)return!0;let n=e.type.toLowerCase();return t.split(`,`).some(e=>e.trim().toLowerCase()===n)},o$=e=>{let{t}=B(),{controlProps:n,useFieldProps:r}=jMe(e),[i,a,o]=cI(r),s=(0,I.useCallback)(async n=>{n.target.files&&n.target.files[0]&&(MMe(n.target.files[0],e.accept)?(await o.setValue(n.target.files[0]),await o.setTouched(!0,!1)):(n.target.value=``,n.preventDefault(),await o.setValue(null),await o.setTouched(!0,!1),o.setError(t(`The file type is not supported.`))))},[o,e.accept,t]);return(0,V.jsx)(SMe,{...n,multiple:i.multiple,onChange:i.onChange,checked:i.checked,onBlur:i.onBlur,name:i.name,error:a.touched&&a.error?a.error:void 0,handleInput:s})},NMe=window.btoa(`<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#e3e3e3"><path d="m612-292 56-56-148-148v-184h-80v216l172 172ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-400Zm0 320q133 0 226.5-93.5T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 133 93.5 226.5T480-160Z"/></svg>`),PMe=U.input` 783 ${({theme:e})=>e.forms.field}; 784 785 &::-webkit-calendar-picker-indicator { 786 background: currentColor; 787 mask-image: url("data:image/svg+xml;base64,${NMe}"); 788 mask-repeat: no-repeat; 789 mask-origin: content-box; 790 mask-size: contain; 791 } 792`,FMe=U.div` 793 display: flex; 794 height: 100%; 795 align-items: center; 796 padding-right: ${({theme:e})=>e.spacing(3)}; 797`,IMe=U.div` 798 display: flex; 799 align-items: center; 800`,LMe=I.forwardRef(function({value:e,onChange:t,name:n,placeholder:r,description:i,maxChars:a,label:o,disabled:s,readOnly:c,error:l,infoText:u,className:d,prefix:f,suffix:p,autoFocus:m,required:h,clearable:g=!0,..._},v){let y=(0,I.useRef)(null),{t:b}=B(),x=(0,I.useCallback)(e=>{m&&e&&document.activeElement!==e&&e.focus(),y.current=e,typeof v==`function`?v(e):v&&(v.current=e)},[m,v]),S=(0,I.useCallback)(()=>{t({target:{name:n,value:null}})},[n,t]);return(0,V.jsx)(QR,{prefix:f,suffix:p,label:o,name:n,error:l,infoText:u,required:h,description:i,disabled:s,hasValue:!0,className:d,readOnly:c,children:(0,V.jsxs)(IMe,{children:[(0,V.jsx)(PMe,{..._,$hasLabel:!!o,maxLength:a,name:n,id:n,placeholder:r,disabled:s,readOnly:c,type:`time`,value:e??``,ref:x,onChange:e=>{t({target:{name:n,value:e.target.value||null}})},"data-testid":`${n}`,"aria-errormessage":`${n}_error`,"aria-invalid":!!l,className:HE(c&&`read-only`)}),g&&!!e&&!c&&(0,V.jsx)(FMe,{children:(0,V.jsx)(dD,{title:b(`Clear`),size:`small`,type:`button`,onClick:S,icon:`close`})})]})})}),RMe=({autoFocus:e=!1,disabled:t=!1,readOnly:n=!1,label:r,infoText:i,max:a,min:o,name:s,placeholder:c,description:l,maxChars:u,prefix:d,suffix:f,className:p,autoComplete:m,required:h,clearable:g})=>({controlProps:{label:r,infoText:i,placeholder:c,description:l,maxChars:u,disabled:t,readOnly:n,autoFocus:e,min:o,max:a,prefix:d,suffix:f,className:p,autoComplete:m,required:h,clearable:g},useFieldProps:{name:s}}),s$=I.forwardRef(function(e,t){let{controlProps:n,useFieldProps:r}=RMe(e),[i,a]=cI(r);return(0,V.jsx)(LMe,{ref:t,...n,...i,error:a.touched&&a.error?a.error:void 0})}),c$=(0,I.createContext)(void 0),zMe={isoCode:`EUR`,minorUnit:2},l$=({children:e,currencyType:t=zMe})=>(0,V.jsx)(c$.Provider,{value:{currencyType:t},children:e}),BMe=e=>{let t=(0,I.useContext)(c$);if(e)return e;if(t===void 0)throw Error(`useCurrencyType should be wrapped inside CurrencyProvider`);return t.currencyType},VMe=U.p` 801 padding-bottom: ${({theme:e})=>e.spacing(6)}; 802 font-size: 0.875rem; 803`,u$=({value:e,onChange:t,showAllAspectRatiosOption:n=!1,showLabel:r=!0,className:i,readonly:a=!1,options:o=[],disabled:s})=>{let{t:c}=B(),l=(0,I.useMemo)(()=>n||o.length<1?[{name:c(`All aspect ratios`),aspect:`all`},...o]:o,[n,c,o]),u=o.find(t=>t.aspect===e);return a?(0,V.jsxs)(VMe,{children:[c(`Aspect ratio`),`: `,u?.name||c(`Unknown aspect ratio`)]}):(0,V.jsx)(xG,{disabled:s,className:i,value:e,clearable:!1,getValue:e=>e.aspect,onChange:e=>{t(e.target.value||`all`)},label:r?c(`Aspect ratio`):void 0,name:`aspectRatio`,options:l,getLabel:e=>e.name})},HMe=U.img` 804 width: 100%; 805 height: 100%; 806 object-fit: cover; 807 position: absolute; 808 top: 0; 809 left: 0; 810`;function d$(e){let[t,n]=e.split(`/`,2),r=parseInt(t),i=parseInt(n);return isNaN(r)||isNaN(i)||i===0?16/9:r/i}var f$=({image:e,alt:t,className:n,aspectRatio:r})=>e?(0,V.jsx)(RQ,{$aspect:d$(e.aspectRatio),children:(0,V.jsx)(HMe,{src:e.url,alt:t||e.alt||e.name,className:n})}):(0,V.jsx)(RQ,{$aspect:d$(r??`16/9`)}),UMe=U.div` 811 ${({theme:e})=>e.forms.control}; 812`,WMe=U(QR)` 813 padding-bottom: 0; 814`,GMe=U.input` 815 ${({theme:e})=>e.forms.field};
816`,KMe=({name:e,onChange:t,renderPreview:n,className:r,defaultPreview:i,label:a,infoText:o})=>{let[s,c]=cI(e),[l,u]=(0,I.useState)(null);return(0,I.useEffect)(()=>{let e=s.value&&URL.createObjectURL(s.value);return u(e),()=>{e&&URL.revokeObjectURL(e)}},[s.value]),(0,V.jsxs)(UMe,{children:[(0,V.jsx)(WMe,{error:c.error,label:a,name:e,className:r,infoText:o,hasValue:!0,children:(0,V.jsx)(GMe,{$hasLabel:!!a,accept:`image/*`,type:`file`,id:e,name:e,"data-testid":`fileInput`,onChange:t,"aria-errormessage":`${e}_error`})}),l&&n&&n(l),!l&&i]})},qMe=({name:e,aspect:t,circularCrop:n=!1,className:r,defaultPreview:i,label:a,alt:o,minWidths:s})=>{let[{value:c},,{setValue:l}]=cI(e),u=(0,I.useCallback)(e=>{c&&l({file:c.file,cropping:e,type:`ready`})},[c]),d=(0,I.useCallback)(e=>{let t=e.target.files&&e.target.files[0];t&&l({file:t,type:`loading`})},[]),f=(0,I.useMemo)(()=>{if(t===`custom`)return JQ;if(typeof t==`string`){let[e,n]=t.split(`/`,2);return parseInt(e)/parseInt(n)}return t},[t]);return(0,V.jsx)(V.Fragment,{children:(0,V.jsx)(KMe,{label:a,name:`${e}.file`,className:r,defaultPreview:i,onChange:d,renderPreview:e=>(0,V.jsx)(oMe,{src:e,alt:o,circularCrop:n,aspect:f,value:c?.type===`ready`?c.cropping:null,onChange:u,minWidths:s})})})},JMe=U.div` 817 background-color: ${({$backgroundColor:e})=>e}; 818`,YMe=U.div` 819 padding: 0; 820 ${({theme:e})=>e.content.position}; 821`,XMe=U.img` 822 position: absolute; 823 width: 100%; 824 height: 100%; 825 left: 0; 826 top: 0; 827`,ZMe=({keyVisualImage:e,keyVisualBackgroundColor:t})=>(0,V.jsx)(JMe,{$backgroundColor:t,children:(0,V.jsx)(YMe,{children:(0,V.jsx)(RQ,{$aspect:4,children:e&&(0,V.jsx)(XMe,{src:e?.url,alt:e?.alt||e?.name})})})}),QMe=U.span` 828 ${({theme:e})=>e.labels.base}; 829 ${({theme:e,$color:t})=>e.labels.colors[t]}; 830 ${({theme:e,$size:t})=>e.labels.sizes[t]}; 831`,$Me=U.span` 832 ${({theme:e})=>e.labels.base}; 833 background-color: ${({$colors:e})=>e.backgroundColor}; 834 color: ${({$colors:e})=>e.color}; 835 ${({theme:e,$size:t})=>e.labels.sizes[t]}; 836`,p$=I.forwardRef(function({children:e,color:t=`medium`,size:n=`medium`,...r},i){let a=TE();return HG(t)?(0,V.jsx)($Me,{$size:n,$colors:iwe(t,KG(a.colors.palette.black),KG(a.colors.palette.white)),...r,ref:i,children:e}):(0,V.jsx)(QMe,{$color:t,$size:n,...r,ref:i,children:e})}),eNe=U.div` 837 position: relative; 838 z-index: ${({theme:e})=>e.zIndices.content.base}; 839 display: grid; 840 width: 100%; 841 height: 100%; 842 overflow: auto; 843 grid-template-areas: 844 "header" 845 "navigation" 846 "content" 847 "footer"; 848 grid-template-rows: max-content max-content 1fr max-content; 849`,tNe=U.div` 850 grid-area: content; 851`,nNe=({children:e})=>(0,V.jsx)(tNe,{children:e}),rNe=U.div` 852 grid-area: footer; 853`,iNe=({children:e})=>(0,V.jsx)(rNe,{children:e}),aNe=U.div` 854 grid-area: header; 855`,oNe=({children:e})=>(0,V.jsx)(aNe,{children:e}),sNe=U.div` 856 grid-area: navigation; 857 ${({$isSticky:e})=>e?H` 858 position: sticky; 859 top: 0; 860 z-index: 10; 861 `:``}; 862`,cNe=({children:e,isSticky:t=!1})=>(0,V.jsx)(sNe,{$isSticky:t,children:e}),lNe=({content:e,header:t,navigation:n,footer:r,withStickyNavigation:i})=>(0,V.jsxs)(eNe,{id:`scroll-container`,children:[(0,V.jsx)(oNe,{children:t}),(0,V.jsx)(cNe,{isSticky:i,children:n}),(0,V.jsx)(nNe,{children:e}),r&&(0,V.jsx)(iNe,{children:r})]}),uNe=U(ub)` 863 ${({theme:e})=>e.links.base}; 864`,dNe=U.div` 865 ${({theme:e})=>e.links.container}; 866`,fNe=U.div` 867 ${({theme:e})=>e.links.prefix}; 868`,pNe=I.forwardRef(function({children:e,prefix:t,...n},r){return(0,V.jsx)(uNe,{...n,ref:r,children:(0,V.jsxs)(dNe,{$hasPrefix:!!t,children:[t&&(0,V.jsx)(fNe,{children:t}),e]})})}),m$=e=>{let{formatLocale:t}=vH(),n=BMe(e);return e=>new Intl.NumberFormat(t,{style:`currency`,currency:n.isoCode,minimumFractionDigits:n.minorUnit,maximumFractionDigits:n.minorUnit}).format(e/10**n.minorUnit)},h$=({value:e,as:t,currencyType:n,...r})=>{let i=t??I.Fragment,a=m$(n);return(0,V.jsx)(i,{...r,children:a(e)})};function mNe(){var e=[...arguments];return(0,I.useMemo)(()=>t=>{e.forEach(e=>e(t))},e)}var g$=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function _$(e){let t=Object.prototype.toString.call(e);return t===`[object Window]`||t===`[object global]`}function v$(e){return`nodeType`in e}function y$(e){return e?_$(e)?e:v$(e)?e.ownerDocument?.defaultView??window:window:window}function b$(e){let{Document:t}=y$(e);return e instanceof t}function x$(e){return!_$(e)&&e instanceof y$(e).HTMLElement}function S$(e){return e instanceof y$(e).SVGElement}function C$(e){return e?_$(e)?e.document:v$(e)?b$(e)?e:x$(e)||S$(e)?e.ownerDocument:document:document:document}var w$=g$?I.useLayoutEffect:I.useEffect;function T$(e){let t=(0,I.useRef)(e);return w$(()=>{t.current=e}),(0,I.useCallback)(function(){var e=[...arguments];return t.current==null?void 0:t.current(...e)},[])}function hNe(){let e=(0,I.useRef)(null);return[(0,I.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,I.useCallback)(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[])]}function E$(e,t){t===void 0&&(t=[e]);let n=(0,I.useRef)(e);return w$(()=>{n.current!==e&&(n.current=e)},t),n}function D$(e,t){let n=(0,I.useRef)();return(0,I.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function O$(e){let t=T$(e),n=(0,I.useRef)(null);return[n,(0,I.useCallback)(e=>{e!==n.current&&t?.(e,n.current),n.current=e},[])]}function k$(e){let t=(0,I.useRef)();return(0,I.useEffect)(()=>{t.current=e},[e]),t.current}var A$={};function j$(e,t){return(0,I.useMemo)(()=>
vendor: 39,652 bytes, lines 868-872
868{if(t)return t;let n=A$[e]==null?0:A$[e]+1;return A$[e]=n,e+`-`+n},[e,t])}function M$(e){return function(t){return[...arguments].slice(1).reduce((t,n)=>{let r=Object.entries(n);for(let[n,i]of r){let r=t[n];r!=null&&(t[n]=r+e*i)}return t},{...t})}}var N$=M$(1),P$=M$(-1);function gNe(e){return`clientX`in e&&`clientY`in e}function F$(e){if(!e)return!1;let{KeyboardEvent:t}=y$(e.target);return t&&e instanceof t}function _Ne(e){if(!e)return!1;let{TouchEvent:t}=y$(e.target);return t&&e instanceof t}function I$(e){if(_Ne(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){let{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return gNe(e)?{x:e.clientX,y:e.clientY}:null}var L$=Object.freeze({Translate:{toString(e){if(!e)return;let{x:t,y:n}=e;return`translate3d(`+(t?Math.round(t):0)+`px, `+(n?Math.round(n):0)+`px, 0)`}},Scale:{toString(e){if(!e)return;let{scaleX:t,scaleY:n}=e;return`scaleX(`+t+`) scaleY(`+n+`)`}},Transform:{toString(e){if(e)return[L$.Translate.toString(e),L$.Scale.toString(e)].join(` `)}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+` `+n+`ms `+r}}}),R$=`a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]`;function vNe(e){return e.matches(R$)?e:e.querySelector(R$)}var yNe={display:`none`};function bNe(e){let{id:t,value:n}=e;return I.createElement(`div`,{id:t,style:yNe},n)}function xNe(e){let{id:t,announcement:n,ariaLiveType:r=`assertive`}=e;return I.createElement(`div`,{id:t,style:{position:`fixed`,top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:`hidden`,clip:`rect(0 0 0 0)`,clipPath:`inset(100%)`,whiteSpace:`nowrap`},role:`status`,"aria-live":r,"aria-atomic":!0},n)}function SNe(){let[e,t]=(0,I.useState)(``);return{announce:(0,I.useCallback)(e=>{e!=null&&t(e)},[]),announcement:e}}var z$=(0,I.createContext)(null);function CNe(e){let t=(0,I.useContext)(z$);(0,I.useEffect)(()=>{if(!t)throw Error(`useDndMonitor must be used within a children of <DndContext>`);return t(e)},[e,t])}function wNe(){let[e]=(0,I.useState)(()=>new Set),t=(0,I.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,I.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>e[n]?.call(e,r))},[e]),t]}var TNe={draggable:` 869 To pick up a draggable item, press the space bar. 870 While dragging, use the arrow keys to move the item. 871 Press space again to drop the item in its new position, or press escape to cancel. 872 `},ENe={onDragStart(e){let{active:t}=e;return`Picked up draggable item `+t.id+`.`},onDragOver(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was moved over droppable area `+n.id+`.`:`Draggable item `+t.id+` is no longer over a droppable area.`},onDragEnd(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was dropped over droppable area `+n.id:`Draggable item `+t.id+` was dropped.`},onDragCancel(e){let{active:t}=e;return`Dragging was cancelled. Draggable item `+t.id+` was dropped.`}};function DNe(e){let{announcements:t=ENe,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=TNe}=e,{announce:a,announcement:o}=SNe(),s=j$(`DndLiveRegion`),[c,l]=(0,I.useState)(!1);if((0,I.useEffect)(()=>{l(!0)},[]),CNe((0,I.useMemo)(()=>({onDragStart(e){let{active:n}=e;a(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&a(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;a(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;a(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;a(t.onDragCancel({active:n,over:r}))}}),[a,t])),!c)return null;let u=I.createElement(I.Fragment,null,I.createElement(bNe,{id:r,value:i.draggable}),I.createElement(xNe,{id:s,announcement:o}));return n?(0,BE.createPortal)(u,n):u}var B$;(function(e){e.DragStart=`dragStart`,e.DragMove=`dragMove`,e.DragEnd=`dragEnd`,e.DragCancel=`dragCancel`,e.DragOver=`dragOver`,e.RegisterDroppable=`registerDroppable`,e.SetDroppableDisabled=`setDroppableDisabled`,e.UnregisterDroppable=`unregisterDroppable`})(B$||={});function V$(){}var H$=Object.freeze({x:0,y:0});function ONe(e,t){return Math.sqrt((e.x-t.x)**2+(e.y-t.y)**2)}function kNe(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function ANe(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function jNe(e,t){if(!e||e.length===0)return null;let[n]=e;return t?n[t]:n}function U$(e,t,n){return t===void 0&&(t=e.left),n===void 0&&(n=e.top),{x:t+e.width*.5,y:n+e.height*.5}}var MNe=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=U$(t,t.left,t.top),a=[];for(let e of r){let{id:t}=e,r=n.get(t);if(r){let n=ONe(U$(r),i);a.push({id:t,data:{droppableContainer:e,value:n}})}}return a.sort(kNe)};function NNe(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),o=i-r,s=a-n;if(r<i&&n<a){let n=t.width*t.height,r=e.width*e.height,i=o*s,a=i/(n+r-i);return Number(a.toFixed(4))}return 0}var PNe=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=[];for(let e of r){let{id:r}=e,a=n.get(r);if(a){let n=NNe(a,t);n>0&&i.push({id:r,data:{droppableContainer:e,value:n}})}}return i.sort(ANe)};function FNe(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function W$(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:H$}function INe(e){return function(t){return[...arguments].slice(1).reduce((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x}),{...t})}}var LNe=INe(1);function RNe(e){if(e.startsWith(`matrix3d(`)){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith(`matrix(`)){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function zNe(e,t,n){let r=RNe(t);if(!r)return e;let{scaleX:i,scaleY:a,x:o,y:s}=r,c=e.left-o-(1-i)*parseFloat(n),l=e.top-s-(1-a)*parseFloat(n.slice(n.indexOf(` `)+1)),u=i?e.width/i:e.width,d=a?e.height/a:e.height;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c}}var BNe={ignoreTransform:!1};function G$(e,t){t===void 0&&(t=BNe);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{transform:t,transformOrigin:r}=y$(e).getComputedStyle(e);t&&(n=zNe(n,t,r))}let{top:r,left:i,width:a,height:o,bottom:s,right:c}=n;return{top:r,left:i,width:a,height:o,bottom:s,right:c}}function K$(e){return G$(e,{ignoreTransform:!0})}function VNe(e){let t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function HNe(e,t){return t===void 0&&(t=y$(e).getComputedStyle(e)),t.position===`fixed`}function UNe(e,t){t===void 0&&(t=y$(e).getComputedStyle(e));let n=/(auto|scroll|overlay)/;return[`overflow`,`overflowX`,`overflowY`].some(e=>{let r=t[e];return typeof r==`string`&&n.test(r)})}function q$(e,t){let n=[];function r(i){if(t!=null&&n.length>=t||!i)return n;if(b$(i)&&i.scrollingElement!=null&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!x$(i)||S$(i)||n.includes(i))return n;let a=y$(e).getComputedStyle(i);return i!==e&&UNe(i,a)&&n.push(i),HNe(i,a)?n:r(i.parentNode)}return e?r(e):n}function J$(e){let[t]=q$(e,1);return t??null}function Y$(e){return!g$||!e?null:_$(e)?e:v$(e)?b$(e)||e===C$(e).scrollingElement?window:x$(e)?e:null:null}function X$(e){return _$(e)?e.scrollX:e.scrollLeft}function Z$(e){return _$(e)?e.scrollY:e.scrollTop}function Q$(e){return{x:X$(e),y:Z$(e)}}var $$;(function(e){e[e.Forward=1]=`Forward`,e[e.Backward=-1]=`Backward`})($$||={});function e1(e){return!g$||!e?!1:e===document.scrollingElement}function t1(e){let t={x:0,y:0},n=e1(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}var WNe={x:.2,y:.2};function GNe(e,t,n,r,i){let{top:a,left:o,right:s,bottom:c}=n;r===void 0&&(r=10),i===void 0&&(i=WNe);let{isTop:l,isBottom:u,isLeft:d,isRight:f}=t1(e),p={x:0,y:0},m={x:0,y:0},h={height:t.height*i.y,width:t.width*i.x};return!l&&a<=t.top+h.height?(p.y=$$.Backward,m.y=r*Math.abs((t.top+h.height-a)/h.height)):!u&&c>=t.bottom-h.height&&(p.y=$$.Forward,m.y=r*Math.abs((t.bottom-h.height-c)/h.height)),!f&&s>=t.right-h.width?(p.x=$$.Forward,m.x=r*Math.abs((t.right-h.width-s)/h.width)):!d&&o<=t.left+h.width&&(p.x=$$.Backward,m.x=r*Math.abs((t.left+h.width-o)/h.width)),{direction:p,speed:m}}function KNe(e){if(e===document.scrollingElement){let{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}let{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}function n1(e){return e.reduce((e,t)=>N$(e,Q$(t)),H$)}function qNe(e){return e.reduce((e,t)=>e+X$(t),0)}function JNe(e){return e.reduce((e,t)=>e+Z$(t),0)}function YNe(e,t){if(t===void 0&&(t=G$),!e)return;let{top:n,left:r,bottom:i,right:a}=t(e);J$(e)&&(i<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:`center`,inline:`center`})}var XNe=[[`x`,[`left`,`right`],qNe],[`y`,[`top`,`bottom`],JNe]],r1=class{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;let n=q$(t),r=n1(n);this.rect={...e},this.width=e.width,this.height=e.height;for(let[e,t,i]of XNe)for(let a of t)Object.defineProperty(this,a,{get:()=>{let t=i(n),o=r[e]-t;return this.rect[a]+o},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}},i1=class{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>this.target?.removeEventListener(...e))},this.target=e}add(e,t,n){var r;(r=this.target)==null||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}};function ZNe(e){let{EventTarget:t}=y$(e);return e instanceof t?e:C$(e)}function a1(e,t){let n=Math.abs(e.x),r=Math.abs(e.y);return typeof t==`number`?Math.sqrt(n**2+r**2)>t:`x`in t&&`y`in t?n>t.x&&r>t.y:`x`in t?n>t.x:`y`in t&&r>t.y}var o1;(function(e){e.Click=`click`,e.DragStart=`dragstart`,e.Keydown=`keydown`,e.ContextMenu=`contextmenu`,e.Resize=`resize`,e.SelectionChange=`selectionchange`,e.VisibilityChange=`visibilitychange`})(o1||={});function s1(e){e.preventDefault()}function QNe(e){e.stopPropagation()}var c1;(function(e){e.Space=`Space`,e.Down=`ArrowDown`,e.Right=`ArrowRight`,e.Left=`ArrowLeft`,e.Up=`ArrowUp`,e.Esc=`Escape`,e.Enter=`Enter`,e.Tab=`Tab`})(c1||={});var l1={start:[c1.Space,c1.Enter],cancel:[c1.Esc],end:[c1.Space,c1.Enter,c1.Tab]},$Ne=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case c1.Right:return{...n,x:n.x+25};case c1.Left:return{...n,x:n.x-25};case c1.Down:return{...n,y:n.y+25};case c1.Up:return{...n,y:n.y-25}}},u1=class{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;let{event:{target:t}}=e;this.props=e,this.listeners=new i1(C$(t)),this.windowListeners=new i1(y$(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(o1.Resize,this.handleCancel),this.windowListeners.add(o1.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(o1.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&YNe(n),t(H$)}handleKeyDown(e){if(F$(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:i=l1,coordinateGetter:a=$Ne,scrollBehavior:o=`smooth`}=r,{code:s}=e;if(i.end.includes(s)){this.handleEnd(e);return}if(i.cancel.includes(s)){this.handleCancel(e);return}let{collisionRect:c}=n.current,l=c?{x:c.left,y:c.top}:H$;this.referenceCoordinates||=l;let u=a(e,{active:t,context:n.current,currentCoordinates:l});if(u){let t=P$(u,l),r={x:0,y:0},{scrollableAncestors:i}=n.current;for(let n of i){let i=e.code,{isTop:a,isRight:s,isLeft:c,isBottom:l,maxScroll:d,minScroll:f}=t1(n),p=KNe(n),m={x:Math.min(i===c1.Right?p.right-p.width/2:p.right,Math.max(i===c1.Right?p.left:p.left+p.width/2,u.x)),y:Math.min(i===c1.Down?p.bottom-p.height/2:p.bottom,Math.max(i===c1.Down?p.top:p.top+p.height/2,u.y))},h=i===c1.Right&&!s||i===c1.Left&&!c,g=i===c1.Down&&!l||i===c1.Up&&!a;if(h&&m.x!==u.x){let e=n.scrollLeft+t.x,a=i===c1.Right&&e<=d.x||i===c1.Left&&e>=f.x;if(a&&!t.y){n.scrollTo({left:e,behavior:o});return}r.x=a?n.scrollLeft-e:i===c1.Right?n.scrollLeft-d.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:o});break}if(g&&m.y!==u.y){let e=n.scrollTop+t.y,a=i===c1.Down&&e<=d.y||i===c1.Up&&e>=f.y;if(a&&!t.x){n.scrollTo({top:e,behavior:o});return}r.y=a?n.scrollTop-e:i===c1.Down?n.scrollTop-d.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:o});break}}this.handleMove(e,N$(P$(u,this.referenceCoordinates),r))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}};u1.activators=[{eventName:`onKeyDown`,handler:(e,t,n)=>{let{keyboardCodes:r=l1,onActivation:i}=t,{active:a}=n,{code:o}=e.nativeEvent;if(r.start.includes(o)){let t=a.activatorNode.current;return t&&e.target!==t?!1:(e.preventDefault(),i?.({event:e.nativeEvent}),!0)}return!1}}];function d1(e){return!!(e&&`distance`in e)}function f1(e){return!!(e&&`delay`in e)}var p1=class{constructor(e,t,n){n===void 0&&(n=ZNe(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;let{event:r}=e,{target:i}=r;this.props=e,this.events=t,this.document=C$(i),this.documentListeners=new i1(this.document),this.listeners=new i1(n),this.windowListeners=new i1(y$(i)),this.initialCoordinates=I$(r)??H$,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(o1.Resize,this.handleCancel),this.windowListeners.add(o1.DragStart,s1),this.windowListeners.add(o1.VisibilityChange,this.handleCancel),this.windowListeners.add(o1.ContextMenu,s1),this.documentListeners.add(o1.Keydown,this.handleKeydown),t){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(f1(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(d1(t)){this.handlePending(t);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){let{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(o1.Click,QNe,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(o1.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){let{activated:t,initialCoordinates:n,props:r}=this,{onMove:i,options:{activationConstraint:a}}=r;if(!n)return;let o=I$(e)??H$,s=P$(n,o);if(!t&&a){if(d1(a)){if(a.tolerance!=null&&a1(s,a.tolerance))return this.handleCancel();if(a1(s,a.distance))return this.handleStart()}if(f1(a)&&a1(s,a.tolerance))return this.handleCancel();this.handlePending(a,s);return}e.cancelable&&e.preventDefault(),i(o)}handleEnd(){let{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){let{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===c1.Esc&&this.handleCancel()}removeTextSelection(){var e;(e=this.document.getSelection())==null||e.removeAllRanges()}},ePe={cancel:{name:`pointercancel`},move:{name:`pointermove`},end:{name:`pointerup`}},m1=class extends p1{constructor(e){let{event:t}=e,n=C$(t.target);super(e,ePe,n)}};m1.activators=[{eventName:`onPointerDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r?.({event:n}),!0)}}];var tPe={move:{name:`mousemove`},end:{name:`mouseup`}},h1;(function(e){e[e.RightClick=2]=`RightClick`})(h1||={});var nPe=class extends p1{constructor(e){super(e,tPe,C$(e.event.target))}};nPe.activators=[{eventName:`onMouseDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==h1.RightClick&&(r?.({event:n}),!0)}}];var g1={cancel:{name:`touchcancel`},move:{name:`touchmove`},end:{name:`touchend`}},rPe=class extends p1{constructor(e){super(e,g1)}static setup(){return window.addEventListener(g1.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(g1.move.name,e)};function e(){}}};rPe.activators=[{eventName:`onTouchStart`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t,{touches:i}=n;return i.length>1?!1:(r?.({event:n}),!0)}}];var _1;(function(e){e[e.Pointer=0]=`Pointer`,e[e.DraggableRect=1]=`DraggableRect`})(_1||={});var v1;(function(e){e[e.TreeOrder=0]=`TreeOrder`,e[e.ReversedTreeOrder=1]=`ReversedTreeOrder`})(v1||={});function iPe(e){let{acceleration:t,activator:n=_1.Pointer,canScroll:r,draggingRect:i,enabled:a,interval:o=5,order:s=v1.TreeOrder,pointerCoordinates:c,scrollableAncestors:l,scrollableAncestorRects:u,delta:d,threshold:f}=e,p=oPe({delta:d,disabled:!a}),[m,h]=hNe(),g=(0,I.useRef)({x:0,y:0}),_=(0,I.useRef)({x:0,y:0}),v=(0,I.useMemo)(()=>{switch(n){case _1.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case _1.DraggableRect:return i}},[n,i,c]),y=(0,I.useRef)(null),b=(0,I.useCallback)(()=>{let e=y.current;if(!e)return;let t=g.current.x*_.current.x,n=g.current.y*_.current.y;e.scrollBy(t,n)},[]),x=(0,I.useMemo)(()=>s===v1.TreeOrder?[...l].reverse():l,[s,l]);(0,I.useEffect)(()=>{if(!a||!l.length||!v){h();return}for(let e of x){if(r?.(e)===!1)continue;let n=l.indexOf(e),i=u[n];if(!i)continue;let{direction:a,speed:s}=GNe(e,i,v,t,f);for(let e of[`x`,`y`])p[e][a[e]]||(s[e]=0,a[e]=0);if(s.x>0||s.y>0){h(),y.current=e,m(b,o),g.current=s,_.current=a;return}}g.current={x:0,y:0},_.current={x:0,y:0},h()},[t,b,r,h,a,o,JSON.stringify(v),JSON.stringify(p),m,l,x,u,JSON.stringify(f)])}var aPe={x:{[$$.Backward]:!1,[$$.Forward]:!1},y:{[$$.Backward]:!1,[$$.Forward]:!1}};function oPe(e){let{delta:t,disabled:n}=e,r=k$(t);return D$(e=>{if(n||!r||!e)return aPe;let i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[$$.Backward]:e.x[$$.Backward]||i.x===-1,[$$.Forward]:e.x[$$.Forward]||i.x===1},y:{[$$.Backward]:e.y[$$.Backward]||i.y===-1,[$$.Forward]:e.y[$$.Forward]||i.y===1}}},[n,t,r])}function sPe(e,t){let n=t==null?void 0:e.get(t),r=n?n.node.current:null;return D$(e=>t==null?null:r??e??null,[r,t])}function cPe(e,t){return(0,I.useMemo)(()=>e.reduce((e,n)=>{let{sensor:r}=n,i=r.activators.map(e=>({eventName:e.eventName,handler:t(e.handler,n)}));return[...e,...i]},[]),[e,t])}var y1;(function(e){e[e.Always=0]=`Always`,e[e.BeforeDragging=1]=`BeforeDragging`,e[e.WhileDragging=2]=`WhileDragging`})(y1||={});var b1;(function(e){e.Optimized=`optimized`})(b1||={});var x1=new Map;function lPe(e,t){let{dragging:n,dependencies:r,config:i}=t,[a,o]=(0,I.useState)(null),{frequency:s,measure:c,strategy:l}=i,u=(0,I.useRef)(e),d=g(),f=E$(d),p=(0,I.useCallback)(function(e){e===void 0&&(e=[]),!f.current&&o(t=>t===null?e:t.concat(e.filter(e=>!t.includes(e))))},[f]),m=(0,I.useRef)(null),h=D$(t=>{if(d&&!n)return x1;if(!t||t===x1||u.current!==e||a!=null){let t=new Map;for(let n of e){if(!n)continue;if(a&&a.length>0&&!a.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}let e=n.node.current,r=e?new r1(c(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,a,n,d,c]);return(0,I.useEffect)(()=>{u.current=e},[e]),(0,I.useEffect)(()=>{d||p()},[n,d]),(0,I.useEffect)(()=>{a&&a.length>0&&o(null)},[JSON.stringify(a)]),(0,I.useEffect)(()=>{d||typeof s!=`number`||m.current!==null||(m.current=setTimeout(()=>{p(),m.current=null},s))},[s,d,p,...r]),{droppableRects:h,measureDroppableContainers:p,measuringScheduled:a!=null};function g(){switch(l){case y1.Always:return!1;case y1.BeforeDragging:return n;default:return!n}}}function S1(e,t){return D$(n=>e?n||(typeof t==`function`?t(e):e):null,[t,e])}function uPe(e,t){return S1(e,t)}function dPe(e){let{callback:t,disabled:n}=e,r=T$(t),i=(0,I.useMemo)(()=>{if(n||typeof window>`u`||window.MutationObserver===void 0)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,I.useEffect)(()=>()=>i?.disconnect(),[i]),i}function C1(e){let{callback:t,disabled:n}=e,r=T$(t),i=(0,I.useMemo)(()=>{if(n||typeof window>`u`||window.ResizeObserver===void 0)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,I.useEffect)(()=>()=>i?.disconnect(),[i]),i}function fPe(e){return new r1(G$(e),e)}function w1(e,t,n){t===void 0&&(t=fPe);let[r,i]=(0,I.useState)(null);function a(){i(r=>{if(!e)return null;if(e.isConnected===!1)return r??n??null;let i=t(e);return JSON.stringify(r)===JSON.stringify(i)?r:i})}let o=dPe({callback(t){if(e)for(let n of t){let{type:t,target:r}=n;if(t===`childList`&&r instanceof HTMLElement&&r.contains(e)){a();break}}}}),s=C1({callback:a});return w$(()=>{a(),e?(s?.observe(e),o?.observe(document.body,{childList:!0,subtree:!0})):(s?.disconnect(),o?.disconnect())},[e]),r}function pPe(e){return W$(e,S1(e))}var T1=[];function mPe(e){let t=(0,I.useRef)(e),n=D$(n=>e?n&&n!==T1&&e&&t.current&&e.parentNode===t.current.parentNode?n:q$(e):T1,[e]);return(0,I.useEffect)(()=>{t.current=e},[e]),n}function hPe(e){let[t,n]=(0,I.useState)(null),r=(0,I.useRef)(e),i=(0,I.useCallback)(e=>{let t=Y$(e.target);t&&n(e=>e?(e.set(t,Q$(t)),new Map(e)):null)},[]);return(0,I.useEffect)(()=>{let t=r.current;if(e!==t){a(t);let o=e.map(e=>{let t=Y$(e);return t?(t.addEventListener(`scroll`,i,{passive:!0}),[t,Q$(t)]):null}).filter(e=>e!=null);n(o.length?new Map(o):null),r.current=e}return()=>{a(e),a(t)};function a(e){e.forEach(e=>{Y$(e)?.removeEventListener(`scroll`,i)})}},[i,e]),(0,I.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>N$(e,t),H$):n1(e):H$,[e,t])}function E1(e,t){t===void 0&&(t=[]);let n=(0,I.useRef)(null);return(0,I.useEffect)(()=>{n.current=null},t),(0,I.useEffect)(()=>{let t=e!==H$;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?P$(e,n.current):H$}function gPe(e){(0,I.useEffect)(()=>{if(!g$)return;let t=e.map(e=>{let{sensor:t}=e;return t.setup==null?void 0:t.setup()});return()=>{for(let e of t)e?.()}},e.map(e=>{let{sensor:t}=e;return t}))}function _Pe(e,t){return(0,I.useMemo)(()=>e.reduce((e,n)=>{let{eventName:r,handler:i}=n;return e[r]=e=>{i(e,t)},e},{}),[e,t])}function D1(e){return(0,I.useMemo)(()=>e?VNe(e):null,[e])}var O1=[];function vPe(e,t){t===void 0&&(t=G$);let[n]=e,r=D1(n?y$(n):null),[i,a]=(0,I.useState)(O1);function o(){a(()=>e.length?e.map(e=>e1(e)?r:new r1(t(e),e)):O1)}let s=C1({callback:o});return w$(()=>{s?.disconnect(),o(),e.forEach(e=>s?.observe(e))},[e]),i}function yPe(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return x$(t)?t:e}function bPe(e){let{measure:t}=e,[n,r]=(0,I.useState)(null),i=C1({callback:(0,I.useCallback)(e=>{for(let{target:n}of e)if(x$(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),[a,o]=O$((0,I.useCallback)(e=>{let n=yPe(e);i?.disconnect(),n&&i?.observe(n),r(n?t(n):null)},[t,i]));return(0,I.useMemo)(()=>({nodeRef:a,rect:n,setRef:o}),[n,a,o])}var xPe=[{sensor:m1,options:{}},{sensor:u1,options:{}}],SPe={current:{}},k1={draggable:{measure:K$},droppable:{measure:K$,strategy:y1.WhileDragging,frequency:b1.Optimized},dragOverlay:{measure:G$}},A1=class extends Map{get(e){return e==null?void 0:super.get(e)??void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){return this.get(e)?.node.current??void 0}},CPe={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new A1,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:V$},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:k1,measureDroppableContainers:V$,windowRect:null,measuringScheduled:!1},wPe={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:``},dispatch:V$,draggableNodes:new Map,over:null,measureDroppableContainers:V$},j1=(0,I.createContext)(wPe),M1=(0,I.createContext)(CPe);function TPe(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new A1}}}function EPe(e,t){switch(t.type){case B$.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case B$.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case B$.DragEnd:case B$.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case B$.RegisterDroppable:{let{element:n}=t,{id:r}=n,i=new A1(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case B$.SetDroppableDisabled:{let{id:n,key:r,disabled:i}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;let o=new A1(e.droppable.containers);return o.set(n,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:o}}}case B$.UnregisterDroppable:{let{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;let a=new A1(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function DPe(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:i}=(0,I.useContext)(j1),a=k$(r),o=k$(n?.id);return(0,I.useEffect)(()=>{if(!t&&!r&&a&&o!=null){if(!F$(a)||document.activeElement===a.target)return;let e=i.get(o);if(!e)return;let{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame(()=>{for(let e of[t.current,n.current]){if(!e)continue;let t=vNe(e);if(t){t.focus();break}}})}},[r,t,i,o,a]),null}function OPe(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}function kPe(e){return(0,I.useMemo)(()=>({draggable:{...k1.draggable,...e?.draggable},droppable:{...k1.droppable,...e?.droppable},dragOverlay:{...k1.dragOverlay,...e?.dragOverlay}}),[e?.draggable,e?.droppable,e?.dragOverlay])}function APe(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e,a=(0,I.useRef)(!1),{x:o,y:s}=typeof i==`boolean`?{x:i,y:i}:i;w$(()=>{if(!o&&!s||!t){a.current=!1;return}if(a.current||!r)return;let e=t?.node.current;if(!e||e.isConnected===!1)return;let i=W$(n(e),r);if(o||(i.x=0),s||(i.y=0),a.current=!0,Math.abs(i.x)>0||Math.abs(i.y)>0){let t=J$(e);t&&t.scrollBy({top:i.y,left:i.x})}},[t,o,s,r,n])}var N1=(0,I.createContext)({...H$,scaleX:1,scaleY:1}),P1;(function(e){e[e.Uninitialized=0]=`Uninitialized`,e[e.Initializing=1]=`Initializing`,e[e.Initialized=2]=`Initialized`})(P1||={});var jPe=(0,I.memo)(function(e){let{id:t,accessibility:n,autoScroll:r=!0,children:i,sensors:a=xPe,collisionDetection:o=PNe,measuring:s,modifiers:c,...l}=e,[u,d]=(0,I.useReducer)(EPe,void 0,TPe),[f,p]=wNe(),[m,h]=(0,I.useState)(P1.Uninitialized),g=m===P1.Initialized,{draggable:{active:_,nodes:v,translate:y},droppable:{containers:b}}=u,x=_==null?null:v.get(_),S=(0,I.useRef)({initial:null,translated:null}),C=(0,I.useMemo)(()=>_==null?null:{id:_,data:x?.data??SPe,rect:S},[_,x]),w=(0,I.useRef)(null),[T,E]=(0,I.useState)(null),[D,O]=(0,I.useState)(null),k=E$(l,Object.values(l)),A=j$(`DndDescribedBy`,t),j=(0,I.useMemo)(()=>b.getEnabled(),[b]),M=kPe(s),{droppableRects:ee,measureDroppableContainers:N,measuringScheduled:te}=lPe(j,{dragging:g,dependencies:[y.x,y.y],config:M.droppable}),ne=sPe(v,_),re=(0,I.useMemo)(()=>D?I$(D):null,[D]),ie=Ne(),P=uPe(ne,M.draggable.measure);APe({activeNode:_==null?null:v.get(_),config:ie.layoutShiftCompensation,initialRect:P,measure:M.draggable.measure});let F=w1(ne,M.draggable.measure,P),ae=w1(ne?ne.parentElement:null),oe=(0,I.useRef)({activatorEvent:null,active:null,activeNode:ne,collisionRect:null,collisions:null,droppableRects:ee,draggableNodes:v,draggingNode:null,draggingNodeRect:null,droppableContainers:b,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),se=b.getNodeFor(oe.current.over?.id),ce=bPe({measure:M.dragOverlay.measure}),le=ce.nodeRef.current??ne,ue=g?ce.rect??F:null,de=!!(ce.nodeRef.current&&ce.rect),fe=pPe(de?null:F),pe=D1(le?y$(le):null),me=mPe(g?se??ne:null),he=vPe(me),ge=OPe(c,{transform:{x:y.x-fe.x,y:y.y-fe.y,scaleX:1,scaleY:1},activatorEvent:D,active:C,activeNodeRect:F,containerNodeRect:ae,draggingNodeRect:ue,over:oe.current.over,overlayNodeRect:ce.rect,scrollableAncestors:me,scrollableAncestorRects:he,windowRect:pe}),_e=re?N$(re,y):null,ve=hPe(me),ye=E1(ve),be=E1(ve,[F]),xe=N$(ge,ye),Se=ue?LNe(ue,ge):null,Ce=C&&Se?o({active:C,collisionRect:Se,droppableRects:ee,droppableContainers:j,pointerCoordinates:_e}):null,we=jNe(Ce,`id`),[Te,Ee]=(0,I.useState)(null),De=FNe(de?ge:N$(ge,be),Te?.rect??null,F),Oe=(0,I.useRef)(null),ke=(0,I.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(w.current==null)return;let i=v.get(w.current);if(!i)return;let a=e.nativeEvent,o=new n({active:w.current,activeNode:i,event:a,options:r,context:oe,onAbort(e){if(!v.get(e))return;let{onDragAbort:t}=k.current,n={id:e};t?.(n),f({type:`onDragAbort`,event:n})},onPending(e,t,n,r){if(!v.get(e))return;let{onDragPending:i}=k.current,a={id:e,constraint:t,initialCoordinates:n,offset:r};i?.(a),f({type:`onDragPending`,event:a})},onStart(e){let t=w.current;if(t==null)return;let n=v.get(t);if(!n)return;let{onDragStart:r}=k.current,i={activatorEvent:a,active:{id:t,data:n.data,rect:S}};(0,BE.unstable_batchedUpdates)(()=>{r?.(i),h(P1.Initializing),d({type:B$.DragStart,initialCoordinates:e,active:t}),f({type:`onDragStart`,event:i}),E(Oe.current),O(a)})},onMove(e){d({type:B$.DragMove,coordinates:e})},onEnd:s(B$.DragEnd),onCancel:s(B$.DragCancel)});Oe.current=o;function s(e){return async function(){let{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=oe.current,o=null;if(t&&i){let{cancelDrop:s}=k.current;o={activatorEvent:a,active:t,collisions:n,delta:i,over:r},e===B$.DragEnd&&typeof s==`function`&&await Promise.resolve(s(o))&&(e=B$.DragCancel)}w.current=null,(0,BE.unstable_batchedUpdates)(()=>{d({type:e}),h(P1.Uninitialized),Ee(null),E(null),O(null),Oe.current=null;let t=e===B$.DragEnd?`onDragEnd`:`onDragCancel`;if(o){let e=k.current[t];e?.(o),f({type:t,event:o})}})}}},[v]),Ae=cPe(a,(0,I.useCallback)((e,t)=>(n,r)=>{let i=n.nativeEvent,a=v.get(r);if(w.current!==null||!a||i.dndKit||i.defaultPrevented)return;let o={active:a};e(n,t.options,o)===!0&&(i.dndKit={capturedBy:t.sensor},w.current=r,ke(n,t))},[v,ke]));gPe(a),w$(()=>{F&&m===P1.Initializing&&h(P1.Initialized)},[F,m]),(0,I.useEffect)(()=>{let{onDragMove:e}=k.current,{active:t,activatorEvent:n,collisions:r,over:i}=oe.current;if(!t||!n)return;let a={active:t,activatorEvent:n,collisions:r,delta:{x:xe.x,y:xe.y},over:i};(0,BE.unstable_batchedUpdates)(()=>{e?.(a),f({type:`onDragMove`,event:a})})},[xe.x,xe.y]),(0,I.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=oe.current;if(!e||w.current==null||!t||!i)return;let{onDragOver:a}=k.current,o=r.get(we),s=o&&o.rect.current?{id:o.id,rect:o.rect.current,data:o.data,disabled:o.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:s};(0,BE.unstable_batchedUpdates)(()=>{Ee(s),a?.(c),f({type:`onDragOver`,event:c})})},[we]),w$(()=>{oe.current={activatorEvent:D,active:C,activeNode:ne,collisionRect:Se,collisions:Ce,droppableRects:ee,draggableNodes:v,draggingNode:le,draggingNodeRect:ue,droppableContainers:b,over:Te,scrollableAncestors:me,scrollAdjustedTranslate:xe},S.current={initial:ue,translated:Se}},[C,ne,Ce,Se,v,le,ue,ee,b,Te,me,xe]),iPe({...ie,delta:y,draggingRect:Se,pointerCoordinates:_e,scrollableAncestors:me,scrollableAncestorRects:he});let je=(0,I.useMemo)(()=>({active:C,activeNode:ne,activeNodeRect:F,activatorEvent:D,collisions:Ce,containerNodeRect:ae,dragOverlay:ce,draggableNodes:v,droppableContainers:b,droppableRects:ee,over:Te,measureDroppableContainers:N,scrollableAncestors:me,scrollableAncestorRects:he,measuringConfiguration:M,measuringScheduled:te,windowRect:pe}),[C,ne,F,D,Ce,ae,ce,v,b,ee,Te,N,me,he,M,te,pe]),Me=(0,I.useMemo)(()=>({activatorEvent:D,activators:Ae,active:C,activeNodeRect:F,ariaDescribedById:{draggable:A},dispatch:d,draggableNodes:v,over:Te,measureDroppableContainers:N}),[D,Ae,C,F,d,A,v,Te,N]);return I.createElement(z$.Provider,{value:p},I.createElement(j1.Provider,{value:Me},I.createElement(M1.Provider,{value:je},I.createElement(N1.Provider,{value:De},i)),I.createElement(DPe,{disabled:n?.restoreFocus===!1})),I.createElement(DNe,{...n,hiddenTextDescribedById:A}));function Ne(){let e=T?.autoScrollEnabled===!1,t=typeof r==`object`?r.enabled===!1:r===!1,n=g&&!e&&!t;return typeof r==`object`?{...r,enabled:n}:{enabled:n}}}),MPe=(0,I.createContext)(null),F1=`button`,NPe=`Draggable`;function PPe(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e,a=j$(NPe),{activators:o,activatorEvent:s,active:c,activeNodeRect:l,ariaDescribedById:u,draggableNodes:d,over:f}=(0,I.useContext)(j1),{role:p=F1,roleDescription:m=`draggable`,tabIndex:h=0}=i??{},g=c?.id===t,_=(0,I.useContext)(g?N1:MPe),[v,y]=O$(),[b,x]=O$(),S=_Pe(o,t),C=E$(n);return w$(()=>(d.set(t,{id:t,key:a,node:v,activatorNode:b,data:C}),()=>{let e=d.get(t);e&&e.key===a&&d.delete(t)}),[d,t]),{active:c,activatorEvent:s,activeNodeRect:l,attributes:(0,I.useMemo)(()=>({role:p,tabIndex:h,"aria-disabled":r,"aria-pressed":g&&p===F1?!0:void 0,"aria-roledescription":m,"aria-describedby":u.draggable}),[r,p,h,g,m,u.draggable]),isDragging:g,listeners:r?void 0:S,node:v,over:f,setNodeRef:y,setActivatorNodeRef:x,transform:_}}function FPe(){return(0,I.useContext)(M1)}var IPe=`Droppable`,LPe={timeout:25};function RPe(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e,a=j$(IPe),{active:o,dispatch:s,over:c,measureDroppableContainers:l}=(0,I.useContext)(j1),u=(0,I.useRef)({disabled:n}),d=(0,I.useRef)(!1),f=(0,I.useRef)(null),p=(0,I.useRef)(null),{disabled:m,updateMeasurementsFor:h,timeout:g}={...LPe,...i},_=E$(h??r),v=C1({callback:(0,I.useCallback)(()=>{if(!d.current){d.current=!0;return}p.current!=null&&clearTimeout(p.current),p.current=setTimeout(()=>{l(Array.isArray(_.current)?_.current:[_.current]),p.current=null},g)},[g]),disabled:m||!o}),[y,b]=O$((0,I.useCallback)((e,t)=>{v&&(t&&(v.unobserve(t),d.current=!1),e&&v.observe(e))},[v])),x=E$(t);return(0,I.useEffect)(()=>{v&&y.current&&(v.disconnect(),d.current=!1,v.observe(y.current))},[y,v]),(0,I.useEffect)(()=>(s({type:B$.RegisterDroppable,element:{id:r,key:a,disabled:n,node:y,rect:f,data:x}}),()=>s({type:B$.UnregisterDroppable,key:a,id:r})),[r]),(0,I.useEffect)(()=>{n!==u.current.disabled&&(s({type:B$.SetDroppableDisabled,id:r,key:a,disabled:n}),u.current.disabled=n)},[r,a,n,s]),{active:o,rect:f,isOver:c?.id===r,node:y,over:c,setNodeRef:b}}function I1(e,t,n){let r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function zPe(e,t){return e.reduce((e,n,r)=>{let i=t.get(n);return i&&(e[r]=i),e},Array(e.length))}function L1(e){return e!==null&&e>=0}function BPe(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function VPe(e){return typeof e==`boolean`?{draggable:e,droppable:e}:e}var R1=e=>{let{rects:t,activeIndex:n,overIndex:r,index:i}=e,a=I1(t,r,n),o=t[i],s=a[i];return!s||!o?null:{x:s.left-o.left,y:s.top-o.top,scaleX:s.width/o.width,scaleY:s.height/o.height}},z1=`Sortable`,B1=I.createContext({activeIndex:-1,containerId:z1,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:R1,disabled:{draggable:!1,droppable:!1}});function HPe(e){let{children:t,id:n,items:r,strategy:i=R1,disabled:a=!1}=e,{active:o,dragOverlay:s,droppableRects:c,over:l,measureDroppableContainers:u}=FPe(),d=j$(z1,n),f=s.rect!==null,p=(0,I.useMemo)(()=>r.map(e=>typeof e==`object`&&`id`in e?e.id:e),[r]),m=o!=null,h=o?p.indexOf(o.id):-1,g=l?p.indexOf(l.id):-1,_=(0,I.useRef)(p),v=!BPe(p,_.current),y=g!==-1&&h===-1||v,b=VPe(a);w$(()=>{v&&m&&u(p)},[v,p,m,u]),(0,I.useEffect)(()=>{_.current=p},[p]);let x=(0,I.useMemo)(()=>({activeIndex:h,containerId:d,disabled:b,disableTransforms:y,items:p,overIndex:g,useDragOverlay:f,sortedRects:zPe(p,c),strategy:i}),[h,d,b.draggable,b.droppable,y,p,g,c,f,i]);return I.createElement(B1.Provider,{value:x},t)}var UPe=e=>{let{id:t,items:n,activeIndex:r,overIndex:i}=e;return I1(n,r,i).indexOf(t)},WPe=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:i,items:a,newIndex:o,previousItems:s,previousContainerId:c,transition:l}=e;return!l||!r||s!==a&&i===o?!1:n?!0:o!==i&&t===c},GPe={duration:200,easing:`ease`},V1=`transform`,KPe=L$.Transition.toString({property:V1,duration:0,easing:`linear`}),qPe={roleDescription:`sortable`};function JPe(e){let{disabled:t,index:n,node:r,rect:i}=e,[a,o]=(0,I.useState)(null),s=(0,I.useRef)(n);return w$(()=>{if(!t&&n!==s.current&&r.current){let e=i.current;if(e){let t=G$(r.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&o(n)}}n!==s.current&&(s.current=n)},[t,n,r,i]),(0,I.useEffect)(()=>{a&&o(null)},[a]),a}function YPe(e){let{animateLayoutChanges:t=WPe,attributes:n,disabled:r,data:i,getNewIndex:a=UPe,id:o,strategy:s,resizeObserverConfig:c,transition:l=GPe}=e,{items:u,containerId:d,activeIndex:f,disabled:p,disableTransforms:m,sortedRects:h,overIndex:g,useDragOverlay:_,strategy:v}=(0,I.useContext)(B1),y=XPe(r,p),b=u.indexOf(o),x=(0,I.useMemo)(()=>({sortable:{containerId:d,index:b,items:u},...i}),[d,i,b,u]),S=(0,I.useMemo)(()=>u.slice(u.indexOf(o)),[u,o]),{rect:C,node:w,isOver:T,setNodeRef:E}=RPe({id:o,data:x,disabled:y.droppable,resizeObserverConfig:{updateMeasurementsFor:S,...c}}),{active:D,activatorEvent:O,activeNodeRect:k,attributes:A,setNodeRef:j,listeners:M,isDragging:ee,over:N,setActivatorNodeRef:te,transform:ne}=PPe({id:o,data:x,attributes:{...qPe,...n},disabled:y.draggable}),re=mNe(E,j),ie=!!D,P=ie&&!m&&L1(f)&&L1(g),F=!_&&ee,ae=P?(F&&P?ne:null)??(s??v)({rects:h,activeNodeRect:k,activeIndex:f,overIndex:g,index:b}):null,oe=L1(f)&&L1(g)?a({id:o,items:u,activeIndex:f,overIndex:g}):b,se=D?.id,ce=(0,I.useRef)({activeId:se,items:u,newIndex:oe,containerId:d}),le=u!==ce.current.items,ue=t({active:D,containerId:d,isDragging:ee,isSorting:ie,id:o,index:b,items:u,newIndex:ce.current.newIndex,previousItems:ce.current.items,previousContainerId:ce.current.containerId,transition:l,wasDragging:ce.current.activeId!=null}
872),de=JPe({disabled:!ue,index:b,node:w,rect:C});return(0,I.useEffect)(()=>{ie&&ce.current.newIndex!==oe&&(ce.current.newIndex=oe),d!==ce.current.containerId&&(ce.current.containerId=d),u!==ce.current.items&&(ce.current.items=u)},[ie,oe,d,u]),(0,I.useEffect)(()=>{if(se===ce.current.activeId)return;if(se!=null&&ce.current.activeId==null){ce.current.activeId=se;return}let e=setTimeout(()=>{ce.current.activeId=se},50);return()=>clearTimeout(e)},[se]),{active:D,activeIndex:f,attributes:A,data:x,rect:C,index:b,newIndex:oe,items:u,isOver:T,isSorting:ie,isDragging:ee,listeners:M,node:w,overIndex:g,over:N,setNodeRef:re,setActivatorNodeRef:te,setDroppableNodeRef:E,setDraggableNodeRef:j,transform:de??ae,transition:fe()};function fe(){if(de||le&&ce.current.newIndex===b)return KPe;if(!(F&&!F$(O)||!l)&&(ie||ue))return L$.Transition.toString({...l,property:V1})}}function XPe(e,t){return typeof e==`boolean`?{draggable:e,droppable:!1}:{draggable:e?.draggable??t.draggable,droppable:e?.droppable??t.droppable}}c1.Down,c1.Right,c1.Up,c1.Left;var ZPe=U(GZ)` 873 overflow: hidden; 874`,H1=({className:e,content:t})=>{let[n,r]=(0,I.useState)(0),i=(0,I.useMemo)(()=>ZZ(TJ()),[]);return(0,I.useEffect)(()=>{r(e=>e+1)},[t]),(0,V.jsx)(XZ,{editor:i,initialValue:SQ(t),children:(0,V.jsx)(ZPe,{readOnly:!0,renderElement:oje,renderLeaf:_Q,className:e})},n)};function U1(e,t,n){return e[t]?e[t][0]?e[t][0][n]:e[t][n]:t===`contentBoxSize`?e.contentRect[n===`inlineSize`?`width`:`height`]:void 0}function QPe(e,t){let n=(0,I.useRef)(null),r=(0,I.useRef)(null);r.current=t;let i=(0,I.useRef)(null),a=(0,I.useCallback)(()=>{let t=i.current,a=r.current,o=t||(a?a instanceof Element?a:a.current:null);n.current&&n.current.element===o&&n.current.subscriber===e||(n.current&&n.current.cleanup&&n.current.cleanup(),n.current={element:o,subscriber:e,cleanup:o?e(o):void 0})},[e]);return(0,I.useEffect)(()=>{a()}),(0,I.useEffect)(()=>()=>{n.current&&n.current.cleanup&&(n.current.cleanup(),n.current=null)},[]),(0,I.useCallback)(e=>{i.current=e,a()},[a])}function $Pe(e={}){let t=e.onResize,n=(0,I.useRef)(void 0);n.current=t;let r=e.round||Math.round,i=(0,I.useRef)(null),[a,o]=(0,I.useState)({width:void 0,height:void 0}),s=(0,I.useRef)(!1);(0,I.useEffect)(()=>(s.current=!1,()=>{s.current=!0}),[]);let c=(0,I.useRef)({width:void 0,height:void 0}),l=QPe((0,I.useCallback)(t=>((!i.current||i.current.box!==e.box||i.current.round!==r)&&(i.current={box:e.box,round:r,instance:new ResizeObserver(t=>{let i=t[0],a=e.box===`border-box`?`borderBoxSize`:e.box===`device-pixel-content-box`?`devicePixelContentBoxSize`:`contentBoxSize`,l=U1(i,a,`inlineSize`),u=U1(i,a,`blockSize`),d=l?r(l):void 0,f=u?r(u):void 0;if(c.current.width!==d||c.current.height!==f){let e={width:d,height:f};c.current.width=d,c.current.height=f,n.current?n.current(e):s.current||o(e)}})}),i.current.instance.observe(t,{box:e.box}),()=>{i.current&&i.current.instance.unobserve(t)}),[e.box,r]),e.ref);return(0,I.useMemo)(()=>({ref:l,width:a.width,height:a.height}),[l,a.width,a.height])}var eFe=U.div` 875 ${({theme:e})=>e.toast.container}; 876`,tFe=U.div` 877 ${({theme:e})=>e.toast.header}; 878`,nFe=U.div` 879 ${({theme:e})=>e.toast.title}; 880`,rFe=U.div` 881 ${({theme:e})=>e.toast.body}; 882`,iFe=U.div` 883 ${({theme:e})=>e.toast.footer}; 884`,aFe=({headerActions:e,footerActions:t,type:n,body:r,title:i,className:a})=>{let o=(0,I.useMemo)(()=>Array.isArray(r)?r:[r],[r]);return(0,V.jsxs)(eFe,{$type:n,className:a,role:`alert`,children:[(0,V.jsxs)(tFe,{children:[(0,V.jsx)(nFe,{children:i}),e]}),o.map((e,t)=>(0,V.jsx)(rFe,{children:e},t)),t&&(0,V.jsx)(iFe,{children:t})]})},oFe=e=>(0,V.jsx)(nD,{...e,$icon:`close`}),sFe=U.button` 885 ${({theme:e})=>e.toast.closeButton}; 886`,cFe=({onClose:e,type:t,body:n,title:r,timeout:i=5e3,actions:a,className:o})=>((0,I.useEffect)(()=>{if(!i)return;let t=setTimeout(e,i);return()=>{clearTimeout(t)}},[i,e]),(0,V.jsx)(aFe,{headerActions:(0,V.jsx)(sFe,{"data-testid":`toast-close-icon`,onClick:e,children:(0,V.jsx)(oFe,{})}),type:t,title:r,body:n,footerActions:a&&I.createElement(a,{close:e}),className:o})),lFe=U.div` 887 ${({theme:e})=>e.toast.list}; 888`,uFe=({rootElement:e})=>{let{toasts:t}=PC();return t.length===0?null:(0,BE.createPortal)((0,V.jsx)(KR,{children:(0,V.jsx)(lFe,{children:t.map(({toast:e,id:t,close:n})=>(0,V.jsx)(cFe,{onClose:n,...e},t))})}),$E(e))}
888,dFe=({iconButton:e=!1,buttonLabel:t,action:n,title:r,children:i,labels:a,heading:o,size:s=`default`})=>{let{t:c}=B(),[l,u]=(0,I.useState)(!1),d=(0,I.useCallback)(e=>{u(!0),e.stopPropagation()},[]),f=(0,I.useCallback)(()=>{u(!1)},[]);return(0,V.jsxs)(V.Fragment,{children:[e?(0,V.jsx)(iD,{ariaLabel:c(`Delete`),type:`button`,size:s,color:`danger`,onClick:d,title:r,icon:`delete`}):(0,V.jsx)(FE,{type:`button`,size:s,color:`danger`,onClick:d,title:r,prefix:(0,V.jsx)(nD,{title:r,$icon:`delete`}),children:t}),(0,V.jsx)(cD,{open:l,onClose:f,action:n,heading:o,labels:a,children:i})]})},W1=({children:e,render:t})=>{let{open:n,handleOpen:r,handleClose:i}=jw(),a=(0,I.useMemo)(()=>({onClick:r}),[r]),o=(0,I.useMemo)(()=>({open:n,handleOpen:r,handleClose:i}),[i,r,n]);return(0,V.jsxs)(V.Fragment,{children:[e(a),t(o)]})},fFe=e=>{let t=kw(e);return(0,V.jsx)(V.Fragment,{children:e.children(t)})},G1=e=>({palette:e,layout:{content:{background:e.content.light.base,text:e.content.light.contrast,separator:e.content.dark.base},background:{background:e.background.light.base,text:e.background.light.contrast,separator:e.background.dark.base}},applicationBar:{background:e.primary.main.base,text:e.primary.main.contrast},buttons:{default:{text:e.background.light.contrast,prefix:e.background.light.contrast,background:e.background.light.base,active:e.background.main.base},primary:{text:e.primary.main.contrast,prefix:e.primary.main.contrast,background:e.primary.main.base,active:e.primary.dark.base},secondary:{text:e.secondary.main.contrast,prefix:e.secondary.main.contrast,background:e.secondary.main.base,active:e.secondary.dark.base},warning:{text:e.warning.main.contrast,prefix:e.warning.main.contrast,background:e.warning.main.base,active:e.warning.dark.base},success:{text:e.success.main.contrast,prefix:e.success.main.contrast,background:e.success.main.base,active:e.success.dark.base},danger:{text:e.danger.main.contrast,prefix:e.danger.main.contrast,background:e.danger.main.base,active:e.danger.dark.base},text:{text:e.content.light.contrast,prefix:e.content.light.contrast,background:`none`,active:e.primary.main.base}},iconButtons:{default:{text:e.background.light.contrast,background:e.background.light.base,active:e.background.main.base},primary:{text:e.primary.main.contrast,background:e.primary.main.base,active:e.primary.dark.base},secondary:{text:e.secondary.main.contrast,background:e.secondary.main.base,active:e.secondary.dark.base},warning:{text:e.warning.main.contrast,background:e.warning.main.base,active:e.warning.dark.base},success:{text:e.success.main.contrast,background:e.success.main.base,active:e.success.dark.base},danger:{text:e.danger.main.contrast,background:e.danger.main.base,active:e.danger.dark.base},flat:{text:e.background.light.contrast,background:`transparent`,active:e.background.main.base}},textButtons:{default:{text:e.background.main.contrast,prefix:e.background.main.contrast,active:e.background.dark.base},primary:{text:e.primary.main.base,prefix:e.primary.main.base,active:e.primary.dark.base},secondary:{text:e.secondary.main.base,prefix:e.secondary.main.base,active:e.secondary.dark.base},warning:{text:e.warning.main.base,prefix:e.warning.main.base,active:e.warning.dark.base},success:{text:e.success.main.base,prefix:e.success.main.base,active:e.success.dark.base},danger:{text:e.danger.main.base,prefix:e.danger.main.base,active:e.danger.dark.base}},calendar:{text:e.background.light.contrast,day:{border:e.black,outsideMonth:e.grey[50],selectableText:e.primary.main.base,background:`transparent`,selectedText:e.primary.main.contrast,selectedBackground:e.primary.main.base,selectedHover:e.primary.dark.base,hover:e.content.dark.base}},card:{background:{background:e.content.light.base,text:e.content.light.contrast,border:e.content.main.base,outline:e.grey[30]},content:{background:e.content.main.base,text:e.content.main.contrast,border:e.content.dark.base,outline:e.grey[30]}},dataList:{border:e.grey[10],hover:e.grey[20]},dropdown:{background:e.content.light.base,text:e.content.light.contrast,active:e.primary.main.base,hover:e.content.main.base},forms:{placeholder:e.grey[60],controlBorder:e.grey[40],controlBorderActive:e.primary.main.base,controlBorderError:e.danger.main.base,controlBackgroun
888d:e.content.light.base,controlText:e.content.light.contrast,controlTextError:e.danger.main.base,label:e.grey[80],labelError:e.danger.main.base,checkboxBackground:e.content.light.base,checkboxBorder:e.grey[60],checkboxCheckedBackground:e.primary.main.base,checkboxCheckedBorder:e.primary.main.base,checkboxIndicatorChecked:e.primary.main.contrast,radioButtonBackground:e.content.light.base,radioButtonBorder:e.grey[60],radioButtonCheckedBackground:e.primary.main.base,radioButtonCheckedBorder:e.primary.main.base,radioButtonIndicatorChecked:e.primary.main.contrast,selectText:e.content.light.contrast,switch:{track:{background:e.grey[20]},toggle:{active:e.primary.main.base,inactive:e.grey[70]}}},labels:{light:{background:e.white,text:e.grey[90],border:e.white},medium:{background:e.content.main.base,text:e.content.main.contrast,border:e.content.main.base},dark:{background:e.black,text:e.white,border:e.black},danger:{background:e.danger.main.base,text:e.danger.main.contrast,border:e.danger.main.base},warning:{background:e.warning.main.base,text:e.warning.main.contrast,border:e.warning.main.base},success:{background:e.success.main.base,text:e.success.main.contrast,border:e.success.main.base},primary:{background:e.primary.main.base,text:e.primary.main.contrast,border:e.primary.main.base},secondary:{background:e.secondary.main.base,text:e.secondary.main.contrast,border:e.secondary.main.base}},auth:{errorBackground:e.danger.main.base,errorText:e.danger.main.contrast},links:{text:`inherit`,active:e.primary.main.base,prefix:e.primary.main.base},loading:{bar:e.primary.main.base,spinner:e.primary.main.base},sidebar:{background:e.white,itemText:e.black,itemTextDisabled:e.grey[60],itemActive:e.primary.main.base,itemHover:e.grey[10],groups:{background:e.grey[10],itemText:e.grey[90],itemActive:e.primary.main.base,itemHover:e.grey[20]}},tags:{light:{background:e.white,text:e.grey[80],border:e.grey[30],active:e.grey[10]},medium:{background:e.grey[10],text:e.grey[90],border:e.grey[30],active:e.grey[20]},dark:{background:e.black,text:e.grey[10],border:e.grey[80],active:e.grey[80]},danger:{background:e.danger.main.base,text:e.danger.main.contrast,border:e.danger.dark.base,active:e.danger.dark.base},warning:{background:e.warning.main.base,text:e.warning.main.contrast,border:e.warning.dark.base,active:e.warning.dark.base},success:{background:e.success.main.base,text:e.success.main.contrast,border:e.success.dark.base,active:e.success.dark.base},primary:{background:e.primary.main.base,text:e.primary.main.contrast,border:e.primary.dark.base,active:e.primary.dark.base},secondary:{background:e.secondary.main.base,text:e.secondary.main.contrast,border:e.secondary.dark.base,active:e.secondary.dark.base}},toasts:{error:{background:e.danger.main.base,text:e.danger.main.contrast},success:{background:e.success.main.base,text:e.success.main.contrast},warning:{background:e.warning.main.base,text:e.warning.main.contrast},info:{background:e.primary.main.base,text:e.primary.main.contrast}}}),pFe=H` 889 &:hover { 890 cursor: pointer; 891 box-shadow: ${({theme:e})=>e.shadows.l2}; 892 transition: ${({theme:e})=>e.transitions.default}; 893 } 894`,K1={wrapper:H` 895 width: 100%; 896 overflow: hidden; 897 ${({theme:e})=>e.borderRadius.medium} 898 ${({$clickable:e})=>e?pFe:``} 899 display: grid; 900 grid-template-columns: 1fr max-content; 901 align-items: center; 902 color: ${({theme:e,$colorSchema:t})=>NG(e,t)}; 903 background: ${({theme:e,$colorSchema:t})=>PG(e,t)}; 904 border-bottom: ${({$borderBottom:e})=>e?`2px solid`:``}; 905 border-bottom-color: ${({$borderBottomColor:e,theme:t})=>e||t.colors.palette.primary.main.base}; 906 box-shadow: ${({theme:e,$showShadow:t})=>t?e.shadows.l2:``}; 907 `,header:H` 908 cursor: pointer; 909 text-align: unset; 910 width: 100%; 911 display: grid; 912 grid-template-columns: ${({$withActions:e})=>e?`max-content 1fr max-content`:`max-content 1fr`}; 913 font-family: inherit; 914 font-style: normal; 915 font-variant: normal; 916 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 917 font-size: inherit; 918 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 919 color: inherit; 920 background-color: inherit; 921 align-items: center; 922 grid-column: ${({$withActions:e})=>e?`1 / span 1`:`1 / span 2`}; 923 border: 2px solid transparent; 924 925 &:focus { 926 border: 2px solid ${({theme:e})=>e.colors.palette.primary.main.base}; 927 } 928 `,headerTitle:H` 929 display: block; 930 padding: ${({theme:e})=>e.spacing(4)} ${({theme:e})=>e.spacing(4)} ${({theme:e})=>e.spacing(4)} 0; 931 `,toggle:H` 932 display: block; 933 padding: ${({theme:e})=>e.spacing(2)} ${({theme:e})=>e.spacing(4)}; 934 `,indicator:H`
935 width: 20px; 936 height: 20px; 937 `,content:H` 938 display: block; 939 overflow: hidden; 940 grid-column: ${({$withActions:e})=>e?`1 / span 2`:`1 / span 1`}; 941 `,body:H` 942 border-top: 1px solid rgba(0, 0, 0, 0.1); 943 display: block; 944 padding: ${({theme:e})=>e.spacing(4)}; 945 `,actions:H` 946 display: block; 947 padding: 0 ${({theme:e})=>e.spacing(4)}; 948 `},mFe=H` 949 display: flex; 950 overflow: hidden; 951 height: 4rem; 952 background: ${({theme:e})=>e.colors.applicationBar.background}; 953 color: ${({theme:e})=>e.colors.applicationBar.text}; 954 padding: 0.5rem 1rem; 955 align-items: center; 956`,hFe={container:H` 957 width: 100%; 958 height: 100%; 959 display: flex; 960 justify-content: center; 961 align-items: center; 962 background: ${({theme:e})=>e.colors.layout.background.background}; 963 padding: ${({theme:e})=>e.spacing(12)} ${({theme:e})=>e.spacing(2)}; 964 965 ${({theme:e})=>e.breakpoints.tablet} { 966 padding: ${({theme:e})=>e.spacing(12)}; 967 } 968 `,header:H` 969 text-align: left; 970 margin-bottom: ${({theme:e})=>e.spacing(4)}; 971 `,description:H` 972 font-size: 0.875rem; 973 text-align: center; 974 margin-bottom: ${({theme:e})=>e.spacing(4)}; 975 `,card:H` 976 ${({theme:e})=>e.card.container}; 977 padding: ${({theme:e})=>e.spacing(6)}; 978 max-width: 500px; 979 width: 100%; 980 margin-bottom: 0; 981 982 ${({theme:e})=>e.breakpoints.desktop} { 983 width: 500px; 984 } 985 `,error:H` 986 color: ${({theme:e})=>e.colors.auth.errorText}; 987 background: ${({theme:e})=>e.colors.auth.errorBackground}; 988 ${({theme:e})=>e.borderRadius.medium} 989 padding: ${({theme:e})=>e.spacing(4)}; 990 margin-bottom: ${({theme:e})=>e.spacing(4)}; 991 `,wrapper:H` 992 width: 100%; 993 height: 100%; 994 display: grid; 995 grid-template-columns: 1fr; 996 997 ${({theme:e})=>e.breakpoints.tablet} { 998 grid-template-columns: ${({$showImage:e})=>e?`max-content 1fr`:`1fr`}; 999 } 1000 `,image:H` 1001 height: 0; 1002 min-height: 100%; 1003 width: 100%; 1004 object-fit: cover; 1005 display: none; 1006 1007 ${({theme:e})=>e.breakpoints.tablet} { 1008 display: block; 1009 } 1010 `},gFe={small:H` 1011 border-radius: ${({theme:e})=>e.spacing(.5)}; 1012 `,medium:H` 1013 border-radius: ${({theme:e})=>e.spacing(1)}; 1014 `,large:H` 1015 border-radius: ${({theme:e})=>e.spacing(1.5)}; 1016 `},_Fe={base:H` 1017 display: flex; 1018 1019 > button { 1020 border-radius: 0; 1021 1022 &:first-child { 1023 border-bottom-left-radius: 2px; 1024 border-top-left-radius: 2px; 1025 } 1026 1027 &:last-child { 1028 border-bottom-right-radius: 2px; 1029 border-top-right-radius: 2px; 1030 } 1031 } 1032 `},q1=H` 1033 height: 100%; 1034 display: grid; 1035 justify-content: center; 1036 align-items: center; 1037 text-align: center; 1038 gap: 0.5rem; 1039 grid-template-columns: ${({$hasPrefix:e})=>e?`max-content 1fr`:`1fr`}; 1040 overflow: hidden; 1041`,J1=e=>H` 1042 color: ${e.text}; 1043 background: ${e.background}; 1044 ${e.border&&`border: 1px solid ${e.border}`}; 1045 1046 &:hover, 1047 &:active { 1048 background: ${e.active}; 1049 } 1050 1051 &:focus { 1052 * { 1053 color: ${e.background}; 1054 } 1055 color: ${e.background}; 1056 background: ${e.text}; 1057 } 1058`,Y1=e=>H` 1059 color: ${e.text}; 1060 1061 &:hover, 1062 &:active { 1063 color: ${e.active}; 1064 } 1065 1066 &:focus { 1067 color: ${e.active}; 1068 outline: 2px solid ${e.active}; 1069 } 1070`,vFe={base:H` 1071 display: flex; 1072 justify-content: center; 1073 align-items: center; 1074 cursor: pointer; 1075 border: none; 1076 outline: none; 1077 ${({theme:e})=>e.borderRadius.small} 1078 font-family: inherit; 1079 font-size: 0.875rem; 1080 text-transform: uppercase; 1081 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 1082 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 1083 text-decoration: none; 1084 box-shadow: ${({theme:e})=>e.shadows.l1}; 1085 transition: ${({theme:e})=>e.transitions.default}; 1086 padding: 0 1.25rem; 1087 min-height: 2.5rem; 1088 1089 &:disabled { 1090 opacity: 0.65; 1091 box-shadow: none; 1092 pointer-events: auto; 1093 cursor: not-allowed; 1094 } 1095 1096 &:focus { 1097 outline: ${({theme:e})=>e.colors.buttons.default.background} solid 2px; 1098 } 1099 `,container:q1,prefix:H` 1100 line-height: ${({theme:e})=>e.fonts.lineHeights.headlines}; 1101 width: 1rem; 1102 height: 1rem; 1103 `,colors:{default:{base:H` 1104 ${({theme:e})=>J1(e.colors.buttons.default)}; 1105 `,prefix:H` 1106 color: ${({theme:e})=>e.colors.buttons.default.prefix}; 1107 `},primary:{base:H` 1108 ${({theme:e})=>J1(e.colors.buttons.primary)}; 1109 `,prefix:H` 1110 color: ${({theme:e})=>e.colors.buttons.primary.prefix}; 1111 `},secondary:{base:H` 1112 ${({theme:e})=>J1(e.colors.buttons.secondary)}; 1113 `,prefix:H` 1114 color: ${({theme:e})=>e.colors.buttons.secondary.prefix}; 1115 `},warning:{base:H` 1116 ${({theme:e})=>J1(e.colors.buttons.warning)}; 1117 `,prefix:H` 1118 color: ${({theme:e})=>e.colors.buttons.warning.prefix}; 1119 `},success:{base:H` 1120 ${({theme:e})=>J1(e.colors.buttons.success)}; 1121 `,prefix:H` 1122 color: ${({theme:e})=>e.colors.buttons.success.prefix}; 1123 `},danger:{base:H` 1124 ${({theme:e})=>J1(e.colors.buttons.danger)}; 1125 `,prefix:H` 1126 color: ${({theme:e})=>e.colors.buttons.danger.prefix}; 1127 `}}
1127,small:{base:H` 1128 min-width: inherit; 1129 font-size: 0.75rem; 1130 padding: 0.25rem 0.75rem; 1131 min-height: 2rem; 1132 `,prefix:H` 1133 width: 1rem; 1134 height: 1rem; 1135 `},text:{base:H` 1136 cursor: pointer; 1137 padding: 0; 1138 background: ${({theme:e})=>e.colors.buttons.text.background}; 1139 border: none; 1140 display: flex; 1141 justify-content: center; 1142 text-decoration: none; 1143 text-transform: uppercase; 1144 font-family: inherit; 1145 font-size: 1rem; 1146 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 1147 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 1148 transition: ${({theme:e})=>e.transitions.default}; 1149 1150 &:disabled { 1151 opacity: 0.4; 1152 pointer-events: auto; 1153 cursor: not-allowed; 1154 } 1155 `,container:q1,prefix:H` 1156 width: 1rem; 1157 height: 1rem; 1158 color: ${({theme:e})=>e.colors.buttons.text.prefix}; 1159 line-height: ${({theme:e})=>e.fonts.lineHeights.headlines}; 1160 `,small:{base:H` 1161 min-width: inherit; 1162 font-size: 0.75rem; 1163 `,prefix:H` 1164 width: 0.75rem; 1165 height: 0.75rem; 1166 `},colors:{default:{base:H` 1167 ${({theme:e})=>Y1(e.colors.textButtons.default)}; 1168 `,prefix:H` 1169 color: ${({theme:e})=>e.colors.textButtons.default.prefix}; 1170 `},primary:{base:H` 1171 ${({theme:e})=>Y1(e.colors.textButtons.primary)}; 1172 `,prefix:H` 1173 color: ${({theme:e})=>e.colors.textButtons.primary.prefix}; 1174 `},secondary:{base:H` 1175 ${({theme:e})=>Y1(e.colors.textButtons.secondary)}; 1176 `,prefix:H` 1177 color: ${({theme:e})=>e.colors.textButtons.secondary.prefix}; 1178 `},warning:{base:H` 1179 ${({theme:e})=>Y1(e.colors.textButtons.warning)}; 1180 `,prefix:H` 1181 color: ${({theme:e})=>e.colors.textButtons.warning.prefix}; 1182 `},success:{base:H` 1183 ${({theme:e})=>Y1(e.colors.textButtons.success)}; 1184 `,prefix:H` 1185 color: ${({theme:e})=>e.colors.textButtons.success.prefix}; 1186 `},danger:{base:H` 1187 ${({theme:e})=>Y1(e.colors.textButtons.danger)}; 1188 `,prefix:H` 1189 color: ${({theme:e})=>e.colors.textButtons.danger.prefix}; 1190 `}}}},yFe={picker:{dayPicker:{day:{button:H` 1191 width: 100%; 1192 height: 100%; 1193 cursor: pointer; 1194 background-color: transparent; 1195 font-family: inherit; 1196 font-style: normal; 1197 font-variant: normal; 1198 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 1199 font-size: inherit; 1200 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 1201 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 1202 `,main:H` 1203 display: flex; 1204 justify-content: center; 1205 align-items: center; 1206 color: ${({theme:e})=>e.colors.calendar.text}; 1207 border-radius: 50%; 1208 line-height: ${({theme:e})=>e.fonts.lineHeights.headlines}; 1209 width: 2.5rem; 1210 height: 2.5rem; 1211 margin: 0.25rem; 1212 ${({theme:e})=>e.transitions.default} 1213 `},grid:H` 1214 display: grid; 1215 grid-template-columns: repeat(7, 1fr); 1216 list-style: none; 1217 justify-items: center; 1218 padding: 0 ${({theme:e})=>e.spacing(2)} ${({theme:e})=>e.spacing(2)} 1219 ${({theme:e})=>e.spacing(2)}; 1220 `,header:{wrapper:H` 1221 gap: ${({theme:e})=>e.spacing(4)}; 1222 align-items: center; 1223 justify-items: center; 1224 padding: ${({theme:e})=>e.spacing(2)} ${({theme:e})=>e.spacing(2)} 0 1225 ${({theme:e})=>e.spacing(2)}; 1226 `},weekDay:H` 1227 color: #666666; 1228 display: flex; 1229 justify-content: center; 1230 align-items: center; 1231 padding: ${({theme:e})=>e.spacing(3)}; 1232 `},loading:{background:H` 1233 position: absolute; 1234 top: 0; 1235 left: 0; 1236 width: 100%; 1237 height: 100%; 1238 background-color: ${({theme:e})=>e.colors.palette.primary.main.contrast}; 1239 opacity: 0.5; 1240 `,overlay:H` 1241 position: absolute; 1242 top: 0; 1243 left: 0; 1244 width: 100%; 1245 height: 100%; 1246 display: flex; 1247 justify-content: center; 1248 align-items: center; 1249 `},timePicker:{header:H` 1250 height: 50px; 1251 display: grid; 1252 align-content: center; 1253 justify-content: center; 1254 padding: ${({theme:e})=>e.spacing(2)} ${({theme:e})=>e.spacing(2)} 0 1255 ${({theme:e})=>e.spacing(2)}; 1256 `,options:H` 1257 display: grid; 1258 grid-gap: ${({theme:e})=>e.spacing(2)}; 1259 overflow-y: scroll; 1260 height: 100%; 1261 `,timesContainer:H` 1262 display: flex; 1263 justify-content: space-between; 1264 padding: ${({theme:e})=>e.spacing(2)}; 1265 overflow-y: hidden; 1266 height: 100%; 1267 `,timeWrapper:H` 1268 position: absolute; 1269 width: 100%; 1270 top: 0; 1271 bottom: 0; 1272 overflow-y: hidden; 1273 `}},view:{container:{grid:H` 1274 height: max-content; 1275 position: relative; 1276 `,main:H` 1277 display: grid; 1278 grid-template-columns: max-content auto; 1279 `,times:H` 1280 display: grid; 1281 grid-template-columns: 1fr; 1282 grid-template-rows: max-content auto; 1283 position: relative; 1284 width: 150px; 1285 `},wrapper:H` 1286 display: inline-block; 1287 background-color: ${({theme:e})=>e.colors.palette.primary.main.contrast}; 1288 `}},bFe=H` 1289 &:hover { 1290 cursor: pointer; 1291 box-shadow: ${({theme:e})=>e.shadows.l2}; 1292 transition: ${({theme:e})=>e.transitions.default}; 1293 } 1294`,xFe={container:H` 1295 overflow: hidden; 1296 ${({theme:e})=>e.borderRadius.medium} 1297 color: ${({theme:e,$color:t=`background`})=>e.colors.card[t].text}; 1298 background-color: ${({theme:e,$color:t=`background`})=>e.colors.card[t].background}; 1299 ${({$clickable:e})=>e?bFe:``} 1300 ${({$variant:e=`elevated`})=>e===`elevated`&&H` 1301 box-shadow: ${({theme:e})=>e.shadows.l1}; 1302 `} 1303 ${({$variant:e=`elevated`,theme:t,$color:n=`background`})=>e===`outlined`&&H` 1304 border: 1px solid ${t.colors.card[n].outline}; 1305 `} 1306 `,body:H` 1307 color: inherit; 1308 padding: ${({theme:e})=>e.spacing(4)}; 1309 `,header:H` 1310 color: inherit; 1311 display: flex; 1312 flex-wrap: wrap; 1313 align-items: center; 1314 padding: ${({theme:e})=>e.spacing(2)} ${({theme:e})=>e.spacing(4)}; 1315 border-bottom: 1px solid ${({theme:e,$color:t=`background`})=>e.colors.card[t].border}; 1316 justify-content: space-between; 1317 `,heading:H` 1318 color: inherit; 1319 font-family: inherit; 1320 font-style: normal; 1321 font-variant: normal; 1322 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 1323 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 1324 font-size: ${({theme:e})=>e.fonts.sizes.large}; 1325 margin: 0; 1326 padding: 0; 1327 `,headerActions:H` 1328 color: inherit; 1329 display: grid; 1330 grid-auto-columns: max-content; 1331 grid-auto-flow: column; 1332 gap: ${({theme:e})=>e.spacing(2)}; 1333 align-items: center;
1334 `,footer:H` 1335 color: inherit; 1336 display: grid; 1337 grid-auto-flow: column; 1338 grid-auto-columns: max-content; 1339 align-items: center; 1340 justify-content: end; 1341 gap: ${({theme:e})=>e.spacing(2)}; 1342 border-top: 1px solid ${({theme:e,$color:t=`background`})=>e.colors.card[t].border}; 1343 padding: ${({theme:e})=>e.spacing(4)} ${({theme:e})=>e.spacing(5)}; 1344 `},X1=H` 1345 background: ${({theme:e})=>e.colors.layout.background.background}; 1346 color: ${({theme:e})=>e.colors.layout.background.text}; 1347 font-family: 1348 "${({theme:e})=>e.fonts.body}", 1349 "Open Sans", 1350 -apple-system, 1351 BlinkMacSystemFont, 1352 sans-serif; 1353 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 1354 font-size: ${({theme:e})=>e.fonts.sizes.normal}; 1355`,SFe={root:H` 1356 ${X1}; 1357 position: absolute; 1358 left: 0; 1359 right: 0; 1360 overflow: hidden; 1361 width: 100%; 1362 height: 100%; 1363`,styles:X1},CFe={padding:H` 1364 padding: 0 ${({theme:e})=>e.spacing(5)}; 1365 `,position:H` 1366 margin: 0 auto; 1367 width: 100%; 1368 max-width: 75rem; 1369 ${({theme:e})=>e.content.padding}; 1370 `,empty:H` 1371 display: flex; 1372 align-items: center; 1373 justify-content: center; 1374 opacity: 0.5; 1375 `,section:{inner:H``,outer:H` 1376 width: 100%; 1377 color: ${({theme:e,$color:t,$customTextColor:n})=>n||e.colors.layout[t].text}; 1378 background: ${({theme:e,$color:t,$customColor:n})=>n||e.colors.layout[t].background}; 1379 `},text:H` 1380 max-width: 930px; 1381 `},wFe={columnTitle:H` 1382 display: flex; 1383 padding: ${({theme:e})=>e.spacing(2)} ${({theme:e})=>e.spacing(4)}; 1384 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 1385 font-size: 0.75rem; 1386 text-transform: uppercase; 1387 border-top: 1px solid ${({theme:e})=>e.colors.dataList.border}; 1388 align-items: center; 1389 background-color: ${({theme:e,$color:t=`background`})=>e.colors.card[t].background}; 1390 `,header:{container:H` 1391 display: flex; 1392 flex-wrap: wrap; 1393 width: 100%; 1394 align-items: center; 1395 `,filterIcon:H` 1396 width: 24px; 1397 height: 24px; 1398 `,filterContainer:H` 1399 width: 100%; 1400 `},item:H` 1401 display: flex; 1402 align-items: center; 1403 padding: ${({theme:e})=>e.spacing(2)} ${({theme:e})=>e.spacing(4)}; 1404 font-size: 0.8125rem; 1405 border-top: 1px solid ${({theme:e})=>e.colors.dataList.border}; 1406 `,actionsItem:H` 1407 padding: ${({theme:e})=>e.spacing(2)} ${({theme:e})=>e.spacing(4)}; 1408 font-size: 0.8125rem; 1409 border-top: 1px solid ${({theme:e})=>e.colors.dataList.border}; 1410 display: grid; 1411 justify-content: end; 1412 grid-auto-columns: max-content; 1413 grid-auto-flow: column; 1414 gap: 0.5rem; 1415 align-items: center; 1416 `,clickableRow:H` 1417 display: contents; 1418 transition: ${({theme:e})=>e.transitions.default}; 1419 &:hover { 1420 ${oK}, ${aK} { 1421 background-color: ${({theme:e})=>e.colors.dataList.hover}; 1422 cursor: pointer; 1423 } 1424 } 1425 `,sortButton:H` 1426 display: grid; 1427 grid-template-columns: max-content max-content; 1428 gap: ${({theme:e})=>e.spacing(1)}; 1429 cursor: pointer; 1430 color: inherit; 1431 background-color: transparent; 1432 align-items: center; 1433 font-family: inherit; 1434 font-style: normal; 1435 font-variant: normal; 1436 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 1437 font-size: inherit; 1438 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 1439 text-transform: uppercase; 1440 1441 ${nD} { 1442 width: 1.25rem; 1443 height: 1.25rem; 1444 transform: rotate(${({$sortDirection:e})=>e===`asc`?`-90deg`:`90deg`}); 1445 transition: ${({theme:e})=>e.transitions.default}; 1446 opacity: ${({$active:e})=>e?.8:0}; 1447 1448 &:hover { 1449 opacity: ${({$active:e})=>e?.8:.5}; 1450 } 1451 } 1452 1453 &:hover { 1454 ${nD} { 1455 opacity: ${({$active:e})=>e?.8:.5}; 1456 } 1457 } 1458 `},TFe={daySwitcher:{container:H` 1459 width: 10em; 1460 display: flex; 1461 flex-direction: row; 1462 justify-content: space-between; 1463 font-size: 24px; 1464 line-height: 1.25; 1465 `}},EFe=(e,t)=>NE` 1466 0% { 1467 margin-${e}: -${t}; 1468 } 1469 100% { 1470 margin-${e}: 0; 1471 } 1472`,DFe=(e,t)=>NE` 1473 0% { 1474 margin-${e}: 0; 1475 } 1476 100% { 1477 margin-${e}: -${t}; 1478 } 1479`,OFe=NE` 1480 0% { 1481 opacity: 0; 1482 } 1483 100% { 1484 opacity: 100%; 1485 } 1486`,Z1=e=>({$open:t,$position:n,$initialRender:r})=>r?t?EFe(n,e):DFe(n,e):`none`,kFe=e=>({$open:t,$position:n})=>`margin-${n}: ${t?0:`-${e}px`}`,AFe={drawerWidth:580,wrapper:H` 1487 color: ${({theme:e})=>e.colors.layout.content.text}; 1488 background-color: ${({theme:e})=>e.colors.layout.content.background}; 1489 animation: ${Z1(`100%`)} 0.2s linear; 1490 width: 100%; 1491 height: 100%; 1492 ${e=>kFe(`${e.theme.drawer.drawerWidth}px`)(e)}; 1493 overflow: auto; 1494 1495 ${({theme:e})=>e.breakpoints.tablet} { 1496 width: ${({theme:e})=>e.drawer.drawerWidth}px; 1497 animation: ${e=>Z1(`${e.theme.drawer.drawerWidth}px`)(e)} 0.2s linear; 1498 } 1499 `,header:H` 1500 ${({theme:e})=>e.card.header}; 1501 `,heading:H` 1502 ${({theme:e})=>e.card.heading}; 1503 `,body:H` 1504 ${({theme:e})=>e.card.body}
1504; 1505 overflow: auto; 1506 `,overlay:H` 1507 animation: ${OFe} 0.2s linear; 1508 background-color: rgba(0, 0, 0, 0.5); 1509 `},jFe={wrapper:H` 1510 position: absolute; 1511 right: 0; 1512 color: ${({theme:e})=>e.colors.layout.content.text}; 1513 background-color: ${({theme:e})=>e.colors.layout.content.background}; 1514 width: 500px; 1515 height: 100%; 1516 max-width: 100%; 1517 overflow: hidden; 1518 box-shadow: ${({theme:e})=>e.shadows.l2}; 1519 display: flex; 1520 flex-direction: column; 1521 `,overlay:H` 1522 position: absolute; 1523 left: 0; 1524 top: 0; 1525 width: 100%; 1526 height: 100%; 1527 background-color: black; 1528 opacity: 0; 1529 `},MFe={container:H` 1530 display: flex; 1531 flex-direction: column; 1532 position: relative; 1533 color: ${({theme:e})=>e.colors.dropdown.text}; 1534 background-color: ${({theme:e})=>e.colors.dropdown.background}; 1535 box-shadow: ${({theme:e})=>e.shadows.l2}; 1536 ${({theme:e})=>e.borderRadius.small} 1537 max-height: 200px; 1538 min-width: 200px; 1539 overflow-y: auto; 1540 overflow-x: hidden; 1541 z-index: ${({theme:e})=>e.zIndices.portal}; 1542 `,item:H` 1543 display: grid; 1544 grid-auto-columns: 1fr; 1545 grid-auto-flow: column; 1546 gap: ${({theme:e})=>e.spacing(2)}; 1547 align-items: center; 1548 padding: ${({theme:e})=>e.spacing(3)} ${({theme:e})=>e.spacing(4)}; 1549 cursor: ${({$disabled:e})=>e?`not-allowed`:`pointer`}; 1550 color: ${({theme:e,$disabled:t})=>t?e.colors.palette.grey[60]:e.colors.dropdown.text}; 1551 transition: ${({theme:e})=>e.transitions.default}; 1552 pointer-events: auto; 1553 &.active { 1554 color: ${({theme:e})=>e.colors.dropdown.active}; 1555 } 1556 &.selected, 1557 &:hover { 1558 background-color: ${({theme:e,$disabled:t})=>t?`inherit`:e.colors.dropdown.hover}; 1559 } 1560 `,link:H` 1561 ${({theme:e})=>e.dropdown.item}; 1562 text-decoration: none; 1563 color: inherit; 1564 1565 &:active, 1566 :visited { 1567 color: inherit; 1568 } 1569 `,offsetSpacing:2},NFe=({$hasPrefix:e,$hasSuffix:t})=>!e&&t?`1fr max-content`:e&&!t?`max-content 1fr`:e&&t?`max-content 1fr max-content`:`1fr`,Q1=H` 1570 color: ${({theme:e})=>e.colors.palette.grey[80]}; 1571 min-width: 20px; 1572 height: 20px; 1573 overflow: hidden; 1574 line-height: ${({theme:e})=>e.fonts.lineHeights.headlines}; 1575`,PFe={placeholder:H` 1576 opacity: 1; 1577 color: ${({theme:e})=>e.colors.forms.placeholder}; 1578 font-family: inherit; 1579 font-style: normal; 1580 font-variant: normal; 1581 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 1582 font-size: inherit; 1583 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 1584 `,control:H` 1585 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 1586 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 1587 display: grid; 1588 grid-template-rows: ${({$hasTopRow:e,$hasBottomRow:t})=>`${e?`max-content`:``} max-content ${t?`max-content`:``}`}; 1589 width: 100%; 1590 ${({theme:e})=>e.borderRadius.small}; 1591 color: ${({theme:e})=>e.colors.forms.controlText}; 1592 gap: ${({theme:e})=>e.spacing(1)}; 1593 padding-bottom: ${({theme:e})=>e.spacing(5)}; 1594 1595 &.has-error { 1596 border-color: ${({theme:e})=>e.colors.forms.controlBorderError}; 1597 } 1598 1599 &.is-disabled .disableable { 1600 opacity: 0.6; 1601 pointer-events: none; 1602 } 1603 1604 &.is-disabled .infoIcon { 1605 pointer-events: auto; 1606 } 1607 1608 &.read-only { 1609 cursor: not-allowed; 1610 } 1611 `,inlineControl:H` 1612 display: grid; 1613 grid-template-columns: max-content minmax(0, 1fr); 1614 margin: 0 0 1.5rem 0; 1615 gap: ${({theme:e})=>e.spacing(2)}; 1616 align-items: center; 1617 position: relative; 1618 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 1619 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 1620 1621 &.is-disabled { 1622 opacity: 0.4; 1623 pointer-events: none; 1624 } 1625 1626 &.has-error { 1627 color: ${({theme:e})=>e.colors.forms.controlBorderError}; 1628 } 1629 `,inlineLabel:H` 1630 transition: ${({theme:e})=>e.transitions.default}; 1631 max-width: fit-content; 1632 `,prefixContainer:H` 1633 ${Q1}; 1634 margin-left: 12px; 1635 `,suffixContainer:H` 1636 ${Q1}; 1637 margin-right: 12px; 1638 `,field:H` 1639 background-color: transparent; 1640 width: 100%; 1641 font-family: inherit; 1642 font-style: normal; 1643 font-variant: normal; 1644 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 1645 font-size: inherit; 1646 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 1647 color: ${({theme:e})=>e.colors.forms.controlText}; 1648 padding: 0.625rem 0.75rem; 1649 min-height: 2.5rem; 1650 1651 &::placeholder { 1652 ${({theme:e})=>e.forms.placeholder}; 1653 } 1654 1655 &.read-only {
1656 cursor: not-allowed; 1657 } 1658 `,fieldContainer:H` 1659 background-color: ${({theme:e})=>e.colors.forms.controlBackground}; 1660 flex: 1; 1661 display: grid; 1662 align-items: center; 1663 grid-template-columns: ${NFe}; 1664 border: 1px solid ${({theme:e})=>e.colors.forms.controlBorder}; 1665 1666 &:focus-within { 1667 border-color: transparent; 1668 outline: 2px solid ${({theme:e})=>e.colors.forms.controlBorderActive}; 1669 } 1670 1671 &.has-error { 1672 border-color: ${({theme:e})=>e.colors.forms.controlBorderError}; 1673 } 1674 `,label:H` 1675 line-height: ${({theme:e})=>e.fonts.lineHeights.headlines}; 1676 color: ${({theme:e})=>e.colors.forms.label}; 1677 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 1678 `,controlLabel:H` 1679 line-break: auto; 1680 `,error:H` 1681 line-height: ${({theme:e})=>e.fonts.lineHeights.headlines}; 1682 color: ${({theme:e})=>e.colors.forms.labelError}; 1683 font-size: ${({theme:e})=>e.fonts.sizes.small}; 1684 `,description:H` 1685 line-height: ${({theme:e})=>e.fonts.lineHeights.headlines}; 1686 font-size: ${({theme:e})=>e.fonts.sizes.small}; 1687 color: ${({theme:e})=>e.colors.forms.label}; 1688 opacity: 0.9; 1689 `,chars:H` 1690 line-height: ${({theme:e})=>e.fonts.lineHeights.headlines}; 1691 font-size: ${({theme:e})=>e.fonts.sizes.small}; 1692 color: ${({theme:e})=>e.colors.forms.label}; 1693 opacity: 0.9; 1694 `,disabled:H` 1695 opacity: 0.4; 1696 pointer-events: none; 1697 cursor: default; 1698 `,checkbox:{boxWrapper:H` 1699 display: inline-flex; 1700 position: relative; 1701 height: 20px; 1702 width: 20px; 1703 input:focus + div { 1704 ${({theme:e})=>e.forms.checkbox.focus}; 1705 } 1706 `,box:H` 1707 display: flex; 1708 align-items: center; 1709 justify-content: center; 1710 cursor: pointer; 1711 border: 1px solid ${({theme:e})=>e.colors.forms.checkboxBorder}; 1712 background-color: ${({theme:e})=>e.colors.forms.checkboxBackground}; 1713 color: transparent; 1714 ${({theme:e})=>e.borderRadius.small}; 1715 width: 20px; 1716 height: 20px; 1717 transition: ${({theme:e})=>e.transitions.default}; 1718 position: absolute; 1719 top: 0; 1720 left: 0; 1721 1722 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 1723 1724 &.has-error { 1725 border-color: ${({theme:e})=>e.colors.forms.controlBorderError}; 1726 } 1727 1728 ${({$checked:e})=>e?H` 1729 border-color: ${({theme:e})=>e.colors.forms.checkboxCheckedBorder}; 1730 background-color: ${({theme:e})=>e.colors.forms.checkboxCheckedBackground}; 1731 color: ${({theme:e})=>e.colors.forms.checkboxIndicatorChecked}; 1732 `:``} 1733 `,icon:H` 1734 width: 18px; 1735 height: 18px; 1736 `,focus:H` 1737 outline: 2px solid ${({theme:e})=>e.colors.palette.primary.main.base}; 1738 box-shadow: 0 0 0 0.25rem ${({theme:e})=>e.colors.palette.grey[30]}; 1739 `},switch:{track:H` 1740 position: absolute; 1741 cursor: pointer; 1742 height: 24px; 1743 border-radius: 12px; 1744 width: 40px; 1745 background-color: ${({theme:e})=>e.colors.forms.switch.track.background}; 1746 `,toggle:H` 1747 position: absolute; 1748 left: ${({$checked:e})=>e?`18px`:`2px`}; 1749 top: 2px; 1750 height: 20px; 1751 width: 20px; 1752 border-radius: 10px; 1753 background-color: ${({theme:e,$checked:t})=>t?e.colors.forms.switch.toggle.active:e.colors.forms.switch.toggle.inactive}; 1754 transition: ${({theme:e})=>e.transitions.default}; 1755 `,focus:H` 1756 outline: 2px solid ${({theme:e})=>e.colors.palette.primary.main.base}; 1757 box-shadow: 0 0 0 0.25rem ${({theme:e})=>e.colors.palette.grey[30]}; 1758 `},radioButton:{wrapper:H` 1759 width: 20px; 1760 height: 20px; 1761 display: inline-flex; 1762 position: relative; 1763 justify-content: center; 1764 align-items: center; 1765 1766 input:focus + div { 1767 box-shadow: 0 0 0 0.25rem ${({theme:e})=>e.colors.palette.grey[30]}; 1768 ${({theme:e})=>e.forms.radioButton.focus}; 1769 } 1770 `,control:H` 1771 .button { 1772 position: absolute; 1773 cursor: pointer; 1774 border: 1px solid ${({theme:e})=>e.colors.forms.radioButtonBorder}; 1775 border-radius: 50%; 1776 background-color: ${({theme:e})=>e.colors.forms.radioButtonBackground}; 1777 width: 20px; 1778 height: 20px; 1779 transition: ${({theme:e})=>e.transitions.default}; 1780 1781 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 1782 &:focus { 1783 box-shadow: 0 0 0 0.25rem #949494; 1784 } 1785 1786 &::after { 1787 line-height: 1; 1788 display: block; 1789 position: absolute; 1790 top: 50%; 1791 left: 50%; 1792 content: ""; 1793 width: 0; 1794 height: 0; 1795 background: ${({theme:e})=>e.colors.forms.radioButtonIndicatorChecked}; 1796 transform: translate(-50%, -50%); 1797 border-radius: 50%; 1798 transition: ${({theme:e})=>e.transitions.default}; 1799 } 1800 } 1801
1802 input:checked ~ .button { 1803 border-color: ${({theme:e})=>e.colors.forms.radioButtonCheckedBorder}; 1804 background-color: ${({theme:e})=>e.colors.forms.radioButtonCheckedBackground}; 1805 1806 &::after { 1807 width: 50%; 1808 height: 50%; 1809 } 1810 } 1811 `,focus:H` 1812 box-shadow: 0 0 0 0.25rem ${({theme:e})=>e.colors.palette.grey[30]}; 1813 `},inlineGroup:H` 1814 display: grid; 1815 grid-template-rows: max-content 1fr max-content; 1816 gap: ${({theme:e})=>e.spacing(1)}; 1817 padding-bottom: ${({theme:e})=>e.spacing(5)}; 1818 `,select:{input:H` 1819 color: ${({theme:e})=>e.colors.forms.selectText}; 1820 min-width: 8rem; 1821 flex: 1; 1822 background: none; 1823 font-family: inherit; 1824 font-style: normal; 1825 font-variant: normal; 1826 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 1827 font-size: inherit; 1828 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 1829 margin: 0.25rem; 1830 `,tag:H` 1831 margin: 0.25rem; 1832 height: auto; 1833 min-height: 1.875rem; 1834 `,container:H` 1835 display: flex; 1836 flex-wrap: wrap; 1837 width: 100%; 1838 padding: 0.625rem 0.75rem; 1839 `,indicator:H` 1840 color: ${({theme:e})=>e.colors.forms.selectText}; 1841 margin-right: ${({theme:e})=>e.spacing(2)}; 1842 transform: rotate(90deg); 1843 `}},FFe=H` 1844 html, 1845 body { 1846 font-size: ${({theme:e})=>e.fonts.sizes.normal}; 1847 } 1848 * { 1849 margin: 0; 1850 padding: 0; 1851 border: none; 1852 outline: none; 1853 box-sizing: border-box; 1854 } 1855 1856 *, 1857 *::before, 1858 *::after { 1859 -webkit-font-smoothing: antialiased; 1860 } 1861 1862 body, 1863 #root { 1864 position: absolute; 1865 left: 0; 1866 right: 0; 1867 overflow: hidden; 1868 width: 100%; 1869 height: 100%; 1870 } 1871 1872 :root { 1873 --rc-drag-handle-size: 12px; 1874 --rc-drag-handle-mobile-size: 24px; 1875 --rc-drag-handle-bg-colour: rgba(0, 0, 0, 0.2); 1876 --rc-drag-bar-size: 6px; 1877 --rc-border-color: rgba(255, 255, 255, 0.7); 1878 --rc-focus-color: #0088ff; 1879 } 1880 1881 .ReactCrop { 1882 position: relative; 1883 display: inline-block; 1884 cursor: crosshair; 1885 max-width: 100%; 1886 } 1887 1888 .ReactCrop *, 1889 .ReactCrop *::before, 1890 .ReactCrop *::after { 1891 box-sizing: border-box; 1892 } 1893 1894 .ReactCrop--disabled, 1895 .ReactCrop--locked { 1896 cursor: inherit; 1897 } 1898 1899 .ReactCrop__child-wrapper { 1900 overflow: hidden; 1901 max-height: inherit; 1902 } 1903 1904 .ReactCrop__child-wrapper > img, 1905 .ReactCrop__child-wrapper > video { 1906 display: block; 1907 max-width: 100%; 1908 max-height: inherit; 1909 } 1910 1911 .ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper > img, 1912 .ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper > video { 1913 touch-action: none; 1914 } 1915 1916 .ReactCrop:not(.ReactCrop--disabled) .ReactCrop__crop-selection { 1917 touch-action: none; 1918 } 1919 1920 .ReactCrop__crop-mask { 1921 position: absolute; 1922 top: 0; 1923 right: 0; 1924 bottom: 0; 1925 left: 0; 1926 pointer-events: none; 1927 } 1928 1929 .ReactCrop__crop-selection { 1930 position: absolute; 1931 top: 0; 1932 left: 0; 1933 transform: translateZ(0); 1934 cursor: move; 1935 } 1936 1937 .ReactCrop--disabled .ReactCrop__crop-selection { 1938 cursor: inherit; 1939 } 1940 1941 .ReactCrop--circular-crop .ReactCrop__crop-selection { 1942 border-radius: 50%; 1943 } 1944 1945 .ReactCrop--circular-crop .ReactCrop__crop-selection::after { 1946 pointer-events: none; 1947 content: ""; 1948 position: absolute; 1949 top: -1px; 1950 right: -1px; 1951 bottom: -1px; 1952 left: -1px; 1953 border: 1px solid var(--rc-border-color); 1954 opacity: 0.3; 1955 } 1956 1957 .ReactCrop--no-animate .ReactCrop__crop-selection { 1958 outline: 1px dashed white; 1959 } 1960 1961 .ReactCrop__crop-selection:not(.ReactCrop--no-animate .ReactCrop__crop-selection) { 1962 animation: marching-ants 1s; 1963 background-image: linear-gradient(to right, #fff 50%, #444 50%), linear-gradient(to right, #fff 50%, #444 50%), 1964 linear-gradient(to bottom, #fff 50%, #444 50%), linear-gradient(to bottom, #fff 50%, #444 50%); 1965 background-size: 1966 10px 1px, 1967 10px 1px, 1968 1px 10px, 1969 1px 10px; 1970 background-position: 1971 0 0, 1972 0 100%, 1973 0 0, 1974 100% 0; 1975 background-repeat: repeat-x, repeat-x, repeat-y, repeat-y; 1976 color: #fff; 1977 animation-play-state: running; 1978 animation-timing-function: linear; 1979 animation-iteration-count: infinite; 1980 } 1981 1982 @keyframes marching-ants { 1983 0% { 1984 background-position: 1985 0 0, 1986 0 100%, 1987 0 0, 1988 100% 0; 1989 } 1990 1991 to { 1992 background-position: 1993 20px 0, 1994 -20px 100%, 1995 0 -20px, 1996 100% 20px; 1997 } 1998 } 1999 2000 .ReactCrop__crop-selection:focus { 2001 outline: 2px solid var(--rc-focus-color); 2002 outline-offset: -1px; 2003 } 2004 2005 .ReactCrop--invisible-crop .ReactCrop__crop-selection { 2006 display: none; 2007 } 2008 2009 .ReactCrop__rule-of-thirds-vt::before, 2010 .ReactCrop__rule-of-thirds-vt::after, 2011 .ReactCrop__rule-of-thirds-hz::before, 2012 .ReactCrop__rule-of-thirds-hz::after { 2013 content: ""; 2014 display: block; 2015 position: absolute; 2016 background-color: #fff6; 2017 } 2018 2019 .ReactCrop__rule-of-thirds-vt::before, 2020 .ReactCrop__rule-of-thirds-vt::after { 2021 width: 1px; 2022 height: 100%; 2023 } 2024 2025 .ReactCrop__rule-of-thirds-vt::before { 2026 left: 33.3333333333%; 2027 } 2028 2029 .ReactCrop__rule-of-thirds-vt::after { 2030 left: 66.6666666667%; 2031 } 2032 2033 .ReactCrop__rule-of-thirds-hz::before, 2034 .ReactCrop__rule-of-thirds-hz::after { 2035 width: 100%; 2036 height: 1px; 2037 } 2038 2039 .ReactCrop__rule-of-thirds-hz::before { 2040 top: 33.3333333333%; 2041 } 2042 2043 .ReactCrop__rule-of-thirds-hz::after { 2044 top: 66.6666666667%; 2045 } 2046 2047 .ReactCrop__drag-handle { 2048 position: absolute; 2049 width: var(--rc-drag-handle-size); 2050 height: var(--rc-drag-handle-size); 2051 background-color: var(--rc-drag-handle-bg-colour); 2052 border: 1px solid var(--rc-border-color); 2053 } 2054 2055 .ReactCrop__drag-handle:focus { 2056 background: var(--rc-focus-color); 2057 } 2058 2059 .ReactCrop .ord-nw { 2060 top: 0; 2061 left: 0; 2062 transform: translate(-50%, -50%); 2063 cursor: nw-resize; 2064 } 2065 2066 .ReactCrop .ord-n { 2067 top: 0; 2068 left: 50%; 2069 transform: translate(-50%, -50%); 2070 cursor: n-resize; 2071 } 2072 2073 .ReactCrop .ord-ne { 2074 top: 0; 2075 right: 0; 2076 transform: translate(50%, -50%); 2077 cursor: ne-resize; 2078 } 2079 2080 .ReactCrop .ord-e { 2081 top: 50%; 2082 right: 0; 2083 transform: translate(50%, -50%); 2084 cursor: e-resize; 2085 } 2086 2087 .ReactCrop .ord-se { 2088 bottom: 0; 2089 right: 0; 2090 transform: translate(50%, 50%); 2091 cursor: se-resize; 2092 } 2093 2094 .ReactCrop .ord-s { 2095 bottom: 0; 2096 left: 50%; 2097 transform: translate(-50%, 50%); 2098 cursor: s-resize; 2099 } 2100 2101 .ReactCrop .ord-sw { 2102 bottom: 0; 2103 left: 0; 2104 transform: translate(-50%, 50%); 2105 cursor: sw-resize; 2106 } 2107 2108 .ReactCrop .ord-w { 2109 top: 50%; 2110 left: 0; 2111 transform: translate(-50%, -50%); 2112 cursor: w-resize; 2113 } 2114 2115 .ReactCrop__disabled .ReactCrop__drag-handle { 2116 cursor: inherit; 2117 } 2118 2119 .ReactCrop__drag-bar { 2120 position: absolute; 2121 } 2122 2123 .ReactCrop__drag-bar.ord-n { 2124 top: 0; 2125 left: 0; 2126 width: 100%; 2127 height: var(--rc-drag-bar-size); 2128 transform: translateY(-50%); 2129 } 2130 2131 .ReactCrop__drag-bar.ord-e { 2132 right: 0; 2133 top: 0; 2134 width: var(--rc-drag-bar-size); 2135 height: 100%; 2136 transform: translate(50%); 2137 } 2138 2139 .ReactCrop__drag-bar.ord-s { 2140 bottom: 0; 2141 left: 0; 2142 width: 100%; 2143 height: var(--rc-drag-bar-size); 2144 transform: translateY(50%); 2145 } 2146 2147 .ReactCrop__drag-bar.ord-w { 2148 top: 0; 2149 left: 0; 2150 width: var(--rc-drag-bar-size); 2151 height: 100%; 2152 transform: translate(-50%); 2153 } 2154 2155 .ReactCrop--new-crop .ReactCrop__drag-bar, 2156 .ReactCrop--new-crop .ReactCrop__drag-handle, 2157 .ReactCrop--fixed-aspect .ReactCrop__drag-bar, 2158 .ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n, 2159 .ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e, 2160 .ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s, 2161 .ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w { 2162 display: none; 2163 } 2164 2165 @media (pointer: coarse) { 2166 .ReactCrop .ord-n, 2167 .ReactCrop .ord-e, 2168 .ReactCrop .ord-s, 2169 .ReactCrop .ord-w { 2170 display: none; 2171 } 2172 2173 .ReactCrop__drag-handle { 2174 width: var(--rc-drag-handle-mobile-size); 2175 height: var(--rc-drag-handle-mobile-size); 2176 } 2177 } 2178`,$1={base:H` 2179 font-family: ${({theme:e})=>e.fonts.headline?H` 2180 "${({theme:e})=>e.fonts.headline}", 2181 "Open Sans", 2182 -apple-system, 2183 BlinkMacSystemFont, 2184 sans-serif; 2185 `:``}; 2186 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 2187 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 2188 `,h1:H` 2189 font-size: 2.5rem; 2190 `,h2:H` 2191 font-size: 2rem; 2192 `,h3:H` 2193 font-size: 1.75rem; 2194 `,h4:H` 2195 font-size: 1.5rem; 2196 `,h5:H` 2197 font-size: 1.25rem; 2198 `,h6:H` 2199 font-size: 1rem; 2200 `},e0=e=>H` 2201 color: ${e.text}; 2202 background: ${e.background}; 2203 ${e.border&&`border: 1px solid ${e.border}`}; 2204 2205 &:hover, 2206 &:active { 2207 background: ${e.active}; 2208 } 2209 2210 &:focus-visible { 2211 color: ${e.background}; 2212 background: ${e.text}; 2213 border: 2px solid ${e.background}; 2214 } 2215`,IFe={base:H` 2216 display: flex; 2217 justify-content: center; 2218 align-items: center; 2219 cursor: pointer; 2220 border: none; 2221 outline: none; 2222 height: 2.5rem; 2223 width: 2.5rem; 2224 border-radius: 50%; 2225 font-family: inherit; 2226 font-size: 1rem; 2227 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 2228 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 2229 text-decoration: none; 2230 box-shadow: ${({theme:e})=>e.shadows.l1}; 2231 transition: ${({theme:e})=>e.transitions.default}; 2232 2233 &:disabled { 2234 opacity: 0.65; 2235 box-shadow: none; 2236 pointer-events: auto;
2237 cursor: not-allowed; 2238 } 2239 `,flat:H` 2240 border-radius: 50%; 2241 cursor: pointer; 2242 color: ${({theme:e})=>e.colors.iconButtons.flat.text}; 2243 background: ${({theme:e})=>e.colors.iconButtons.flat.background}; 2244 display: flex; 2245 justify-content: center; 2246 align-items: center; 2247 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 2248 width: 2rem; 2249 height: 2rem; 2250 border: none; 2251 transition: ${({theme:e})=>e.transitions.default}; 2252 2253 ${nD} { 2254 width: 20px; 2255 height: 20px; 2256 } 2257 2258 &:hover { 2259 background: ${({theme:e})=>e.colors.iconButtons.flat.active}; 2260 } 2261 2262 &:disabled { 2263 cursor: not-allowed; 2264 opacity: 0.3; 2265 pointer-events: auto; 2266 background: ${({theme:e})=>e.colors.iconButtons.flat.background}; 2267 } 2268 `,container:H` 2269 display: grid; 2270 justify-items: center; 2271 align-items: center; 2272 line-height: ${({theme:e})=>e.fonts.lineHeights.headlines}; 2273 width: 1.25rem; 2274 height: 1.25rem; 2275 `,colors:{default:{base:H` 2276 ${({theme:e})=>e0(e.colors.iconButtons.default)}; 2277 `},primary:{base:H` 2278 ${({theme:e})=>e0(e.colors.iconButtons.primary)}; 2279 `},secondary:{base:H` 2280 ${({theme:e})=>e0(e.colors.iconButtons.secondary)}; 2281 `},warning:{base:H` 2282 ${({theme:e})=>e0(e.colors.iconButtons.warning)}; 2283 `},success:{base:H` 2284 ${({theme:e})=>e0(e.colors.iconButtons.success)}; 2285 `},danger:{base:H` 2286 ${({theme:e})=>e0(e.colors.iconButtons.danger)}; 2287 `}},small:{base:H` 2288 font-size: 0.75rem; 2289 height: 2rem; 2290 width: 2rem; 2291 `}},LFe={base:H` 2292 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 2293 line-height: ${({theme:e})=>e.fonts.lineHeights.headlines}; 2294 display: grid; 2295 justify-content: center; 2296 align-items: center; 2297 grid-auto-flow: column; 2298 grid-auto-columns: max-content; 2299 gap: ${({theme:e})=>e.spacing(1)}; 2300 ${({theme:e})=>e.borderRadius.medium} 2301 white-space: nowrap; 2302 padding: 0 ${({theme:e})=>e.spacing(2)}; 2303 `,colors:{light:H` 2304 background-color: ${({theme:e})=>e.colors.labels.light.background}; 2305 color: ${({theme:e})=>e.colors.labels.light.text}; 2306 border: 1px solid ${({theme:e})=>e.colors.labels.light.border}; 2307 `,medium:H` 2308 background-color: ${({theme:e})=>e.colors.labels.medium.background}; 2309 color: ${({theme:e})=>e.colors.labels.medium.text}; 2310 border: 1px solid ${({theme:e})=>e.colors.labels.medium.border}; 2311 `,dark:H` 2312 background-color: ${({theme:e})=>e.colors.labels.dark.background}; 2313 color: ${({theme:e})=>e.colors.labels.dark.text}; 2314 border: 1px solid ${({theme:e})=>e.colors.labels.dark.border}; 2315 `,primary:H` 2316 background-color: ${({theme:e})=>e.colors.labels.primary.background}; 2317 color: ${({theme:e})=>e.colors.labels.primary.text}; 2318 border: 1px solid ${({theme:e})=>e.colors.labels.primary.border}; 2319 `,secondary:H` 2320 background-color: ${({theme:e})=>e.colors.labels.secondary.background}; 2321 color: ${({theme:e})=>e.colors.labels.secondary.text}; 2322 border: 1px solid ${({theme:e})=>e.colors.labels.secondary.border}; 2323 `,success:H` 2324 background-color: ${({theme:e})=>e.colors.labels.success.background}; 2325 color: ${({theme:e})=>e.colors.labels.success.text}; 2326 border: 1px solid ${({theme:e})=>e.colors.labels.success.border}; 2327 `,warning:H` 2328 background-color: ${({theme:e})=>e.colors.labels.warning.background}; 2329 color: ${({theme:e})=>e.colors.labels.warning.text}; 2330 border: 1px solid ${({theme:e})=>e.colors.labels.warning.border}; 2331 `,danger:H` 2332 background-color: ${({theme:e})=>e.colors.labels.danger.background}; 2333 color: ${({theme:e})=>e.colors.labels.danger.text}; 2334 border: 1px solid ${({theme:e})=>e.colors.labels.danger.border}; 2335 `},sizes:{small:H` 2336 height: 22px; 2337 font-size: 12px; 2338 `,medium:H` 2339 height: 26px; 2340 font-size: 14px; 2341 `,large:H` 2342 height: 32px; 2343 font-size: 16px; 2344 padding: 0 ${({theme:e})=>e.spacing(3)}; 2345 `}},t0={base:H` 2346 display: flex; 2347 justify-content: center; 2348 font-family: inherit; 2349 font-style: normal; 2350 font-variant: normal; 2351 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 2352 font-size: inherit; 2353 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 2354 color: ${({theme:e})=>e.colors.links.text}; 2355 text-decoration: none; 2356 transition: ${({theme:e})=>e.transitions.default}; 2357 2358 &:hover, 2359 &:active { 2360 color: ${({theme:e})=>e.colors.links.active}; 2361 } 2362 2363 &:focus { 2364 color: ${({theme:e})=>e.colors.links.active}; 2365 outline: 2px solid ${({theme:e})=>e.colors.links.active}; 2366 } 2367 `,inline:H` 2368 ${({theme:e})=>e.links.base}; 2369 display: inline; 2370 text-decoration: underline; 2371 `,container:H` 2372 display: grid; 2373 justify-items: center; 2374 align-items: center; 2375 gap: ${({theme:e})=>e.spacing(1)}; 2376 grid-template-columns: ${({$hasPrefix:e})=>e?`max-content 1fr`:`1fr`}; 2377 `,prefix:H` 2378 color: ${({theme:e})=>e.colors.links.prefix}; 2379 width: 16px; 2380 height: 16px; 2381 line-height: ${({theme:e})=>e.fonts.lineHeights.headlines}; 2382 `},RFe=NE` 2383 from { 2384 transform: rotate(0deg); 2385 } 2386 to { 2387 transform: rotate(360deg); 2388 } 2389`,zFe=NE` 2390 0% { 2391 left: -35%; 2392 right: 100%; 2393 } 2394 60% { 2395 left: 100%; 2396 right: -90%; 2397 } 2398 100% { 2399 left: 100%; 2400 right: -90%; 2401 } 2402`,BFe=NE` 2403 0% { 2404 left: -200%; 2405 right: 100%; 2406 } 2407 60% { 2408 left: 107%; 2409 right: -8%; 2410 } 2411 100% { 2412 left: 107%; 2413 right: -8%; 2414 } 2415`,n0=H` 2416 position: absolute; 2417 left: 0; 2418 top: 0; 2419 width: auto; 2420 height: 100%; 2421 background-color: ${({theme:e})=>e.colors.loading.bar}; 2422`,r0=H` 2423 ${n0}; 2424 transition: transform 0.2s linear; 2425 transform-origin: left; 2426`,VFe={loading:H` 2427 width: ${({$size:e})=>e}px; 2428 height: ${({$size:e})=>e}px; 2429 border-radius: 50%; 2430 animation: ${RFe} 1s linear infinite; 2431 border: ${({$size:e})=>e/12}px solid transparent; 2432 border-top-color: ${({theme:e,$color:t})=>t==="default"?e.colors.loading.spinner:`currentColor`}; 2433 `,bar:{wrapper:H` 2434 position: relative; 2435 width: 100%; 2436 height: 2px; 2437 overflow: hidden; 2438 min-height: 2px; 2439 `,background:H` 2440 ${n0}; 2441 width: 100%; 2442 opacity: 0.3; 2443 `,barOne:H` 2444 ${r0}; 2445 animation: ${zFe} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; 2446 `,barTwo:H` 2447 ${r0}; 2448 animation: ${BFe} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; 2449 `}},HFe={background:H` 2450 background: rgba(0, 0, 0, 0.5); 2451 `,container:H` 2452 ${({theme:e})=>e.card.container}; 2453 width: 100%; 2454 max-width: 800px; 2455 max-height: 90%; 2456 `,overflowContainer:H` 2457 display: flex; 2458 flex-direction: column; 2459 overflow: hidden; 2460 `,header:H` 2461 ${({theme:e})=>e.card.header}; 2462 `,heading:H` 2463 ${({theme:e})=>e.card.heading}; 2464 `,body:H` 2465 ${({theme:e})=>e.card.body}
2465; 2466 overflow: auto; 2467 `,footer:H` 2468 ${({theme:e})=>e.card.footer}; 2469 `},UFe=H` 2470 color: #ffffff; 2471 background-color: rgba(0, 0, 0, 0.5); 2472`,WFe={container:H` 2473 display: grid; 2474 font-size: 0.9rem; 2475 gap: ${({theme:e})=>e.spacing(1)}; 2476 ${({theme:e})=>e.breakpoints.tablet} { 2477 gap: ${({theme:e})=>e.spacing(2)}; 2478 grid-template-columns: max-content max-content; 2479 } 2480 align-items: center; 2481 `,group:H` 2482 display: flex; 2483 justify-content: end; 2484 align-items: center; 2485 `,icon:H` 2486 width: 24px; 2487 height: 24px; 2488 `,page:H` 2489 display: flex; 2490 justify-content: center; 2491 `},GFe={container:H` 2492 display: flex; 2493 gap: ${({theme:e})=>e.spacing(2)}; 2494 > button { 2495 ${({theme:e})=>e.borderRadius.large}; 2496 2497 &:first-child { 2498 ${({theme:e})=>e.borderRadius.large}; 2499 } 2500 2501 &:last-child { 2502 ${({theme:e})=>e.borderRadius.large}; 2503 } 2504 } 2505 `,button:H` 2506 padding: ${({theme:e})=>e.spacing(3)}; 2507 width: 100%; 2508 cursor: pointer; 2509 border: 1px solid ${({theme:e})=>e.colors.palette.grey[30]}; 2510 ${({theme:e})=>e.borderRadius.medium}; 2511 font: inherit; 2512 flex: 1; 2513 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 2514 display: flex; 2515 align-items: center; 2516 justify-content: center; 2517 gap: ${({theme:e})=>e.spacing(2)}; 2518 box-shadow: none; 2519 transition: ${({theme:e})=>e.transitions.default}; 2520 2521 background-color: transparent; 2522 color: ${({theme:e})=>e.colors.palette.black}; 2523 2524 &:focus { 2525 outline: 2px solid ${({theme:e})=>e.colors.palette.primary.main.base}; 2526 outline-offset: 2px; 2527 z-index: 10; 2528 } 2529 2530 &:hover:not(:focus):not([disabled]) { 2531 background-color: ${({theme:e})=>e.colors.palette.grey[30]}; 2532 border-color: ${({theme:e})=>e.colors.palette.grey[50]}; 2533 } 2534 2535 &[disabled] { 2536 opacity: 0.6; 2537 pointer-events: none; 2538 cursor: not-allowed; 2539 background-color: ${({theme:e})=>e.colors.palette.grey[20]}; 2540 color: ${({theme:e})=>e.colors.palette.grey[50]}; 2541 } 2542 `,activeButton:H` 2543 border-color: ${({theme:e})=>e.colors.palette.primary.main.base}; 2544 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 2545 background-color: ${({theme:e})=>e.colors.palette.primary.main.base}; 2546 color: ${({theme:e})=>e.colors.palette.primary.main.contrast}; 2547 2548 &:hover:not(:focus):not([disabled]) { 2549 background-color: ${({theme:e})=>e.colors.palette.primary.main.base}; 2550 border-color: ${({theme:e})=>e.colors.palette.primary.main.base}; 2551 } 2552 `},KFe={l1:`0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24)`,l2:`0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23)`,l3:`0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23)`},i0=`18rem`,qFe=`4rem`,JFe=`4rem`,YFe={toggle:H` 2553 cursor: pointer; 2554 width: 1.5rem; 2555 height: 1.5rem; 2556 line-height: ${({theme:e})=>e.fonts.lineHeights.headlines}; 2557 border: none; 2558 background: transparent; 2559 color: inherit; 2560 `,container:H` 2561 transition: ${({theme:e})=>e.transitions.default}; 2562 display: flex; 2563 flex-direction: column; 2564 width: ${({$collapsed:e})=>e?JFe:i0}; 2565 background: ${({theme:e})=>e.colors.sidebar.background}; 2566 box-shadow: ${({theme:e})=>e.shadows.l1}; 2567 overflow: hidden; 2568 height: 100%; 2569 `,header:H` 2570 height: ${qFe}; 2571 padding: 0.5rem 1rem; 2572 display: grid; 2573 grid-template-columns: 1fr max-content; 2574 gap: 1.25rem; 2575 align-items: center; 2576 `,group:{toggle:H` 2577 width: 1rem; 2578 height: 1rem; 2579 position: absolute; 2580 margin-left: 0.25rem; 2581 left: 0; 2582 transform: rotate(${({$collapsed:e})=>e?`0deg`:`90deg`}); 2583 transition: ${({theme:e})=>e.transitions.default}; 2584 `,items:H` 2585 background: ${({theme:e})=>e.colors.sidebar.groups.background}; 2586 color: ${({theme:e})=>e.colors.sidebar.groups.itemText}; 2587 2588 &::before { 2589 display: block; 2590 box-shadow: ${({theme:e})=>e.shadows.l1}; 2591 content: ""; 2592 height: 1px; 2593 width: 100%; 2594 } 2595 2596 &::after { 2597 display: block; 2598 box-shadow: ${({theme:e})=>e.shadows.l1}; 2599 content: ""; 2600 height: 1px; 2601 width: 100%; 2602 transform: rotate(180deg); 2603 } 2604 `,item:H` 2605 pointer-events: ${({$disabled:e})=>e?`none`:`unset`}; 2606 cursor: ${({$disabled:e})=>e?`default`:`pointer`}; 2607 color: ${({$disabled:e,theme:t})=>e?t.colors.sidebar.itemTextDisabled:`inherit`}; 2608 &:hover, 2609 &.active { 2610 background: ${({theme:e})=>e.colors.sidebar.groups.itemHover}; 2611 } 2612 2613 &.active { 2614 color: ${({theme:e})=>e.colors.sidebar.groups.itemActive}; 2615 } 2616 `},items:{base:H` 2617 display: block; 2618 font-family: inherit; 2619 font-style: normal; 2620 font-variant: normal; 2621 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 2622 font-size: inherit; 2623 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 2624 color: ${({theme:e})=>e.colors.sidebar.itemText}; 2625 text-decoration: none; 2626 width: ${i0}; 2627 transition: ${({theme:e})=>e.transitions.default}; 2628 padding: 0.5rem 1.25rem; 2629 position: relative; 2630 user-select: none; 2631 pointer-events: ${({$disabled:e})=>e?`none`:`unset`}; 2632 cursor: ${({$disabled:e})=>e?`default`:`pointer`}; 2633 color: ${({$disabled:e,theme:t})=>e?t.colors.sidebar.itemTextDisabled:`inherit`}; 2634 2635 &:hover, 2636 &.active { 2637 background: ${({theme:e})=>e.colors.sidebar.itemHover}; 2638 } 2639 2640 &.active { 2641 color: ${({theme:e})=>e.colors.sidebar.itemActive}; 2642 } 2643 `,container:H` 2644 display: grid; 2645 align-items: center; 2646 gap: 1.25rem; 2647 width: 100%; 2648 grid-auto-flow: column; 2649 grid-auto-columns: max-content; 2650 overflow: hidden; 2651 `,prefix:H` 2652 display: block; 2653 color: inherit; 2654 width: 1.5rem; 2655 height: 1.5rem; 2656 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 2657 `}},XFe={orderedList:H` 2658 margin-block-start: ${({theme:e})=>e.spacing(1)}; 2659 margin-block-end: ${({theme:e})=>e.spacing(1)}; 2660 padding-inline-start: ${({theme:e})=>e.spacing(8)}; 2661 `,unorderedList:H` 2662 margin-block-start: ${({theme:e})=>e.spacing(1)}; 2663 margin-block-end: ${({theme:e})=>e.spacing(1)}; 2664 padding-inline-start: ${({theme:e})=>e.spacing(8)}; 2665 `},a0={links:{wrapper:H` 2666 position: relative; 2667 display: flex; 2668 overflow-x: auto; 2669 `,tab:H` 2670 color: inherit; 2671 text-decoration: none; 2672 flex: 1; 2673 border-bottom: 2px solid ${({theme:e})=>e.colors.palette.grey[20]}; 2674 2675 &:hover { 2676 border-color: ${({theme:e})=>e.colors.palette.grey[50]}; 2677 } 2678 `,tabContent:H` 2679 height: 100%; 2680 color: inherit; 2681 padding: ${({theme:e})=>e.spacing(3)}; 2682 display: flex; 2683 justify-content: center; 2684 align-items: center; 2685 flex-direction: column; 2686 line-height: ${({theme:e})=>e.fonts.lineHeights.headlines}; 2687 transition: ${({theme:e})=>e.transitions.default}; 2688 background-color: transparent; 2689 2690 ${({theme:e})=>e.breakpoints.desktop} { 2691 padding: ${({theme:e})=>e.spacing(4)}; 2692 } 2693 `,indicator:H` 2694 position: absolute; 2695 bottom: 0; 2696 height: 2px; 2697 background-color: ${({theme:e})=>e.colors.palette.primary.main.base}; 2698 `},buttons:{wrapper:H` 2699 display: grid; 2700 grid-template-columns: max-content; 2701 overflow-x: auto; 2702 `,innerWrapper:H` 2703 height: ${({$size:e})=>e===`small`?`34px`:`48px`}; 2704 color: ${({theme:e,$color:t})=>e.colors.layout[t].text}; 2705 background-color: ${({theme:e,$color:t})=>e.colors.layout[t].background}; 2706 ${({theme:e})=>e.borderRadius.small} 2707 padding: ${({$size:e})=>e===`small`?`2px`:`4px`}; 2708 `,wrapperPadding:H` 2709 height: 100%; 2710 position: relative; 2711 display: grid; 2712 grid-auto-flow: column; 2713 grid-auto-columns: max-content; 2714 `,tab:H` 2715 z-index: 2; 2716 text-decoration: none; 2717 color: inherit; 2718 `,tabContent:H` 2719 height: 100%; 2720 color: ${({$active:e,theme:t})=>e?t.colors.buttons.primary.text:`inherit`}; 2721 padding: 0 ${({theme:e,$size:t})=>e.spacing(t===`small`?3:4)}; 2722 display: flex; 2723 justify-items: center; 2724 align-items: center; 2725 font-size: ${({$size:e})=>e===`small`?`14px`:`16px`}; 2726 `,indicator:H` 2727 z-index: 1; 2728 height: 100%; 2729 position: absolute; 2730 background-color: ${({theme:e})=>e.colors.buttons.primary.background}; 2731 ${({theme:e})=>e.borderRadius.small} 2732 `}},ZFe={base:H` 2733 display: flex; 2734 align-items: center; 2735 justify-content: center; 2736 max-width: 100%; 2737 gap: ${({theme:e})=>e.spacing(1)}; 2738 padding: 0 ${({theme:e})=>e.spacing(2)}; 2739 cursor: pointer; 2740 white-space: nowrap; 2741 ${({theme:e})=>e.borderRadius.medium} 2742 transition: ${({theme:e})=>e.transitions.default}; 2743 `,colors:{light:H` 2744 border: 1px solid ${({theme:e})=>e.colors.tags.light.border}; 2745 background-color: ${({theme:e})=>e.colors.tags.light.background}; 2746 color: ${({theme:e})=>e.colors.tags.light.text}; 2747 &:hover, 2748 &:active, 2749 &.active { 2750 background-color: ${({theme:e})=>e.colors.tags.light.active}; 2751 } 2752 `,medium:H` 2753 border: 1px solid ${({theme:e})=>e.colors.tags.medium.border}; 2754 background-color: ${({theme:e})=>e.colors.tags.medium.background}; 2755 color: ${({theme:e})=>e.colors.tags.medium.text}; 2756 &:hover, 2757 &:active, 2758 &.active { 2759 background-color: ${({theme:e})=>e.colors.tags.medium.active}; 2760 } 2761 `,dark:H` 2762 border: 1px solid ${({theme:e})=>e.colors.tags.dark.border}; 2763 background-color: ${({theme:e})=>e.colors.tags.dark.background}; 2764 color: ${({theme:e})=>e.colors.tags.dark.text}; 2765 &:hover, 2766 &:active, 2767 &.active { 2768 background-color: ${({theme:e})=>e.colors.tags.dark.active}; 2769 } 2770 `,primary:H` 2771 background-color: ${({theme:e})=>e.colors.tags.primary.background}; 2772 color: ${({theme:e})=>e.colors.tags.primary.text}; 2773 border: 1px solid ${({theme:e})=>e.colors.tags.primary.border}; 2774 &:hover, 2775 &:active, 2776 &.active { 2777 background-color: ${({theme:e})=>e.colors.tags.primary.active}; 2778 } 2779 `,secondary:H` 2780 background-color: ${({theme:e})=>e.colors.tags.secondary.background}; 2781 color: ${({theme:e})=>e.colors.tags.secondary.text}; 2782 border: 1px solid ${({theme:e})=>e.colors.tags.secondary.border}; 2783 &:hover, 2784 &:active, 2785 &.active { 2786 background-color: ${({theme:e})=>e.colors.tags.secondary.active}; 2787 } 2788 `,success:H` 2789 background-color: ${({theme:e})=>e.colors.tags.success.background}; 2790 color: ${({theme:e})=>e.colors.tags.success.text}; 2791 border: 1px solid ${({theme:e})=>e.colors.tags.success.border}; 2792 &:hover, 2793 &:active, 2794 &.active { 2795 background-color: ${({theme:e})=>e.colors.tags.success.active}; 2796 } 2797 `,warning:H` 2798 background-color: ${({theme:e})=>e.colors.tags.warning.background}; 2799 color: ${({theme:e})=>e.colors.tags.warning.text}; 2800 border: 1px solid ${({theme:e})=>e.colors.tags.warning.border}; 2801 &:hover, 2802 &:active, 2803 &.active { 2804 background-color: ${({theme:e})=>e.colors.tags.warning.active}; 2805 } 2806 `,danger:H` 2807 background-color: ${({theme:e})=>e.colors.tags.danger.background}; 2808 color: ${({theme:e})=>e.colors.tags.danger.text}; 2809 border: 1px solid ${({theme:e})=>e.colors.tags.danger.border}; 2810 &:hover, 2811 &:active, 2812 &.active { 2813 background-color: ${({theme:e})=>e.colors.tags.danger.active}; 2814 } 2815 `},closeable:H` 2816 padding: 4px; 2817 width: 24px; 2818 height: 24px; 2819 margin-right: -6px; 2820 cursor: pointer; 2821 `,sizes:{small:H` 2822 height: 22px; 2823 font-size: 12px; 2824 `,medium:H`
2825 height: 26px; 2826 font-size: 14px; 2827 `,large:H` 2828 height: 32px; 2829 font-size: 16px; 2830 padding: 0 ${({theme:e})=>e.spacing(3)}; 2831 `}},QFe={container:H` 2832 padding: ${({theme:e})=>e.spacing(4)}; 2833 box-shadow: ${({theme:e})=>e.shadows.l2}; 2834 user-select: none; 2835 background: ${({$type:e,theme:t})=>t.colors.toasts[e].background}; 2836 color: ${({$type:e,theme:t})=>t.colors.toasts[e].text}; 2837 width: 100%; 2838 max-width: 400px; 2839 `,title:H` 2840 line-height: ${({theme:e})=>e.fonts.lineHeights.headlines}; 2841 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 2842 `,header:H` 2843 display: grid; 2844 grid-template-columns: 1fr max-content; 2845 align-items: center; 2846 `,closeButton:H` 2847 cursor: pointer; 2848 background: inherit; 2849 font-family: inherit; 2850 font-style: normal; 2851 font-variant: normal; 2852 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 2853 font-size: inherit; 2854 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 2855 color: inherit; 2856 width: 1.5rem; 2857 height: 1.5rem; 2858 padding: 0.125rem; 2859 border-radius: 50%; 2860 transition: ${({theme:e})=>e.transitions.default}; 2861 2862 &:hover { 2863 background-color: rgba(0, 0, 0, 0.3); 2864 } 2865 `,body:H``,footer:H` 2866 display: grid; 2867 grid-auto-columns: max-content; 2868 grid-auto-flow: column; 2869 grid-gap: ${({theme:e})=>e.spacing(1)}; 2870 justify-content: end; 2871 padding-top: ${({theme:e})=>e.spacing(1)}; 2872 `,list:H` 2873 display: grid; 2874 position: fixed; 2875 bottom: 0; 2876 left: 50%; 2877 transform: translateX(-50%); 2878 z-index: ${({theme:e})=>e.zIndices.portal}; 2879 gap: ${({theme:e})=>e.spacing(3)}; 2880 margin-bottom: ${({theme:e})=>e.spacing(3)}; 2881 width: 100%; 2882 max-width: 400px; 2883 `},$Fe={wrapper:H` 2884 box-shadow: ${({theme:e})=>e.shadows.l2}; 2885 display: block; 2886 position: relative; 2887 max-width: 260px; 2888 margin: ${({theme:e})=>e.spacing(2)}; 2889 2890 &::before { 2891 content: ""; 2892 width: 1rem; 2893 height: 1rem; 2894 position: absolute; 2895 left: clamp(1rem, calc(50% - var(--dgs-core-tooltip-shift-x, 0px)), calc(100% - 1rem)); 2896 margin-left: -0.5rem; 2897 background-color: ${({theme:e})=>e.colors.palette.content.main.contrast}; 2898 color: ${({theme:e})=>e.colors.palette.content.main.base}; 2899 transform: rotate(45deg); 2900 box-shadow: ${({theme:e})=>e.shadows.l2}; 2901 } 2902 2903 .popover-placement-top & { 2904 margin-bottom: ${({theme:e})=>e.spacing(4)}; 2905 2906 &::before { 2907 bottom: -0.5rem; 2908 } 2909 } 2910 2911 .popover-placement-bottom & { 2912 margin-top: ${({theme:e})=>e.spacing(4)}; 2913 2914 &::before { 2915 top: -0.5rem; 2916 } 2917 } 2918 `,content:H` 2919 background-color: ${({theme:e})=>e.colors.palette.content.main.contrast}; 2920 color: ${({theme:e})=>e.colors.palette.content.main.base}; 2921 padding: ${({theme:e})=>e.spacing(3)}; 2922 position: relative; 2923 `},eIe={default:`all 0.2s ease`},tIe={content:{base:1,l1:2,l2:3,l3:4,l4:5},portal:100},nIe=eK({white:[255,255,255],black:[0,0,0],gamma:1.3,colors:{primary:{base:[0,161,230],contrast:[255,255,255]},secondary:{base:[128,128,128]},success:{base:[0,153,56]},warning:{base:[250,204,0]},danger:{base:[230,0,31]}}}),o0=(e,t=UE(`Open Sans`,`Open Sans`,yue))=>({assets:{basePath:``,fonts:`default`,misc:`default`,icons:`default`,favicons:``,logo:`dgs_logo.png`},containers:SFe,fonts:t,accordion:K1,dayNavigation:TFe,applicationBar:mFe,global:FFe,breakpoints:zE,breakpointWidths:RE,links:t0,colors:e,labels:LFe,spacing:e=>`${4*e}px`,buttons:vFe,iconButtons:IFe,buttonGroups:_Fe,segmentedButtons:GFe,forms:PFe,tags:ZFe,overlay:UFe,transitions:eIe,headings:$1,dropdown:MFe,zIndices:tIe,card:xFe,dataList:wFe,sidebar:YFe,toast:QFe,auth:hFe,pagination:WFe,modal:HFe,loading:VFe,content:CFe,tabs:a0,calendar:yFe,drawer:AFe,overlayDrawer:jFe,shadows:KFe,borderRadius:gFe,tooltips:$Fe,slate:XFe});o0(G1(nIe));var s0=null,rIe=()=>{let{track:e}=sQ(),{pathname:t}=My(),{language:n}=vH(),r=(0,I.useCallback)(()=>{s0={pageUrl:t,date:new Date},e(new iQ(t,n))},[n,t,e]);(0,I.useEffect)(()=>{s0?s0.pageUrl!==t&&r():r()},[t,e,r])},c0=[`files`],iIe=(e,t)=>{let n=new FormData;return e.file&&n.append(`file`,e.file),z.post(hb(c0),n,{params:{isPublic:e.accessType===`public`,isListable:e?.isListable??!0},onUploadProgress:t})},l0={...dce(c0),...IC(c0),...LC(c0),post:iIe},aIe=({setIsDirty:e,...t})=>{let{dirty:n}=qF();return(0,I.useEffect)(()=>e(n),[n,e]),(0,V.jsx)(bMe,{...t})},u0=U(lI)` 2924 display: flex; 2925 flex-direction: column; 2926 overflow: hidden; 2927 height: 100%; 2928`,oIe=(e,t=!1)=>{let n=(0,I.useRef)(!1),[r,i]=(0,I.useState)(!1),a=(0,I.useCallback)(()=>{n.current=!1,i(!1)},[]),o=(0,I.useCallback)(()=>{a(),e()},[a,e]);return{handleClose:(0,I.useCallback)(()=>{n.current&&!t?i(!0):o()},[o,t]),setIsDirty:(0,I.useCallback)(e=>{n.current=e},[]),onSubmitted:a,open:r,action:o,onClose:()=>i(!1)}},d0=e=>{let[t,n]=(0,I.useState)(!1),[r,i]=(0,I.useState)(!1),[a,o]=(0,I.useState)(null),{withoutUnsavedChangesPrompt:s,onClose:c,onOpened:l}=e,{handleClose:u,onSubmitted:d,...f}=oIe(c,s);return(0,I.useEffect)(()=>{a&&!t&&r&&(a.focus(),n(!0))},[a,t,r]),(0,V.jsx)(HN,{...e,onClose:u,onClosed:()=>{i(!1),n(!1),e.onClosed?.call(void 0)},onOpened:()=>{l?.call(void 0),i(!0)},children:(0,V.jsx)(aI,{initialValues:e.initialValues,onSubmit:async(t,n)=>{await e.onSubmit(t,n)&&(n.resetForm({values:t}),d(),c())},validate:e.validate,children:t=>(0,V.jsxs)(u0,{children:[e.renderForm({...e,formik:t},o),(0,V.jsx)(aIe,{...f})]})})})},f0=({children:e,title:t,onClose:n,submitButtonTitle:r,footerActions:i})=>{let{t:a}=B();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(fD,{onClose:n,children:(0,V.jsx)(uD,{children:t})}),(0,V.jsx)(UN,{children:e}),(0,V.jsxs)(GN,{children:[(0,V.jsx)(WN,{children:i}),(0,V.jsx)(vI,{children:r??a(`Save`)})]})]})},sIe={actions:{wrapper:H` 2929 margin-left: auto; 2930 display: grid; 2931 grid-auto-columns: max-content; 2932 grid-auto-flow: column; 2933 gap: ${({theme:e})=>e.spacing(3)}; 2934 `,button:H` 2935 font-family: ${({theme:e})=>e.fonts.body}; 2936 font-style: normal; 2937 font-variant: normal; 2938 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 2939 font-size: inherit; 2940 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 2941 background-color: transparent; 2942 border: none; 2943 outline: none; 2944 cursor: pointer; 2945 text-decoration: none; 2946 position: relative; 2947 2948 &:focus { 2949 outline: 2px solid ${({theme:e})=>e.colors.palette.primary.main.base}; 2950 } 2951 `,item:H` 2952 color: ${({theme:e})=>e.colors.appBar.itemText}; 2953 font-size: 14px; 2954 display: grid; 2955 grid-auto-flow: column; 2956 grid-auto-columns: max-content; 2957 gap: ${({theme:e})=>e.spacing(1)}; 2958 align-items: center; 2959 2960 &:hover { 2961 color: ${({theme:e})=>e.colors.appBar.itemHover}; 2962 } 2963 `,icon:H` 2964 width: 26px;
2965 height: 26px; 2966 `},identifier:H` 2967 font-size: 14px; 2968 color: ${({theme:e})=>e.colors.appBar.text}; 2969 text-overflow: ellipsis; 2970 overflow: hidden; 2971 margin-left: ${({theme:e})=>e.spacing(6)}; 2972 `,wrapper:H` 2973 border-bottom: 1px solid ${({theme:e})=>e.colors.appBar.border}; 2974 background: ${({theme:e})=>e.colors.appBar.background}; 2975 color: ${({theme:e})=>e.colors.appBar.text}; 2976 min-height: 70px; 2977 height: 70px; 2978 position: relative; 2979 `,logoWrapper:H` 2980 height: 32px; 2981 `,content:H` 2982 display: flex; 2983 flex-wrap: wrap; 2984 align-items: center; 2985 justify-content: space-between; 2986 height: 100%; 2987 ${({theme:e})=>e.content.position}; 2988 `},p0={container:H` 2989 color: ${({theme:e})=>e.colors.footer.text}; 2990 background: ${({theme:e})=>e.colors.footer.background}; 2991 padding: ${({theme:e})=>e.spacing(5)} 0 0 0; 2992 `,link:H` 2993 font-size: inherit; 2994 color: ${({theme:e})=>e.colors.footer.text}; 2995 text-decoration: none; 2996 2997 &:hover { 2998 color: ${({theme:e})=>e.colors.footer.hover}; 2999 } 3000 `,separator:H` 3001 padding: 0 ${({theme:e})=>e.spacing(1)}; 3002 `,links:H` 3003 display: flex; 3004 flex-wrap: wrap; 3005 padding-right: ${({theme:e})=>e.spacing(5)}; 3006 `,content:H` 3007 ${({theme:e})=>e.content.position}; 3008 border-top: 1px solid ${({theme:e})=>e.colors.footer.border}; 3009 font-size: ${({theme:e})=>e.fonts.sizes.small}; 3010 display: flex; 3011 flex-direction: column; 3012 flex-wrap: wrap; 3013 padding: ${({theme:e})=>e.spacing(5)}; 3014 gap: ${({theme:e})=>e.spacing(1)}; 3015 3016 ${({theme:e})=>e.breakpoints.desktop} { 3017 flex-direction: row; 3018 } 3019 `,contact:H` 3020 display: flex; 3021 flex-wrap: wrap; 3022 align-items: center; 3023 3024 ${({theme:e})=>e.breakpoints.desktop} { 3025 margin-top: 0; 3026 margin-left: auto; 3027 } 3028 `},m0={container:H` 3029 ${({theme:e})=>e.content.position}; 3030 padding: 0; 3031 color: ${({theme:e})=>e.colors.navBar.text}; 3032 `,menuBar:{nav:H` 3033 position: ${({$sticky:e=!1})=>e?`sticky`:`relative`}; 3034 top: 0; 3035 background: ${({theme:e})=>e.colors.navBar.background}; 3036 z-index: 50; 3037 `,list:H` 3038 display: flex; 3039 list-style: none; 3040 font-size: ${({theme:e})=>e.fonts.sizes.normal}; 3041 `,item:H` 3042 display: flex; 3043 align-items: center; 3044 color: ${({theme:e})=>e.colors.navBar.text}; 3045 font-size: ${({theme:e})=>e.fonts.sizes.normal}; 3046 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 3047 cursor: pointer; 3048 user-select: none; 3049 padding: ${({theme:e})=>e.spacing(3)} ${({theme:e})=>e.spacing(4)}; 3050 3051 &:hover { 3052 color: ${({theme:e})=>e.colors.navBar.itemHoverTextColor}; 3053 } 3054 3055 &:focus { 3056 color: ${({theme:e})=>e.colors.navBar.itemHoverTextColor}; 3057 } 3058 3059 &.active { 3060 color: ${({theme:e})=>e.colors.navBar.itemActive}; 3061 3062 &:hover { 3063 color: ${({theme:e})=>e.colors.navBar.itemHoverTextColor}; 3064 } 3065 } 3066 `,dropdown:{wrapper:H` 3067 width: 100%; 3068 `,container:H` 3069 position: relative; 3070 `,list:H` 3071 background: ${({theme:e})=>e.colors.navBar.dropdownBackground}; 3072 list-style: none; 3073 display: grid; 3074 grid-template-columns: 1fr; 3075 ${({theme:e})=>e.content.position}; 3076 padding: 0; 3077 3078 li { 3079 border-bottom: 1px solid ${({theme:e})=>e.colors.navBar.dropdownDivider}; 3080 3081 &:last-child { 3082 border-bottom: none; 3083 } 3084 } 3085 `,item:H` 3086 color: ${({theme:e})=>e.colors.navBar.dropdownText}; 3087 font-size: ${({theme:e})=>e.fonts.sizes.normal}; 3088 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 3089 cursor: pointer; 3090 user-select: none; 3091 display: block; 3092 padding: ${({theme:e})=>e.spacing(3)} ${({theme:e})=>e.spacing(4)}; 3093 overflow-wrap: anywhere; 3094 3095 &.active { 3096 color: ${({theme:e})=>e.colors.navBar.dropdownItemActive}; 3097 } 3098 3099 &:hover { 3100 color: ${({theme:e})=>e.colors.navBar.dropdownItemHover}; 3101 } 3102 `}},sidebar:{nav:H` 3103 position: ${({$open:e})=>e&&`absolute`||`relative`}; 3104 height: ${({$open:e})=>e?`100vh`:`50px`}; 3105 top: 0; 3106 background: ${({theme:e})=>e.colors.navBar.sidebarBackground}; 3107 z-index: 50; 3108 width: 100%; 3109 `,header:H` 3110 height: 50px; 3111 display: flex; 3112 align-items: center; 3113 ${({theme:e})=>e.content.padding}; 3114 margin-bottom: ${({theme:e})=>e.spacing(4)}; 3115 `,toggle:H` 3116 cursor: pointer; 3117 color: ${({theme:e})=>e.colors.navBar.sidebarText}; 3118 width: 36px; 3119 height: 36px; 3120 background: inherit; 3121 border: none; 3122 outline: none; 3123 3124 &:focus, 3125 &:hover { 3126 color: ${({theme:e})=>e.colors.navBar.sidebarItemHover}; 3127 } 3128 `,appIdentifier:H` 3129 font-family: ${({theme:e})=>e.fonts.body}; 3130 font-size: ${({theme:e})=>e.fonts.sizes.normal}; 3131 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 3132 margin-left: ${({theme:e})=>e.spacing(4)}; 3133 `,item:{wrapper:H` 3134 color: ${({theme:e})=>e.colors.navBar.sidebarText}; 3135 font-size: ${({theme:e})=>e.fonts.sizes.normal}; 3136 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 3137 cursor: pointer; 3138 user-select: none; 3139 display: block; 3140 3141 &.active > .itemContentLabel { 3142 color: ${({theme:e})=>e.colors.navBar.sidebarItemActiveTextColor}; 3143 background: ${({theme:e})=>
3143e.colors.navBar.sidebarItemActiveBackgroundColor}; 3144 } 3145 3146 &:focus, 3147 &:hover { 3148 color: ${({theme:e})=>e.colors.navBar.sidebarItemHover}; 3149 } 3150 `,label:H` 3151 display: flex; 3152 align-items: center; 3153 padding: ${({theme:e})=>e.spacing(2)} ${({theme:e})=>e.spacing(4)}; 3154 border-radius: 24px; 3155 `,rootLabel:H` 3156 font-size: ${({theme:e})=>e.fonts.sizes.large}; 3157 `},list:H` 3158 display: flex; 3159 flex-direction: column; 3160 list-style: none; 3161 gap: ${({theme:e})=>e.spacing(1)}; 3162 padding: ${({theme:e})=>e.spacing(2)}; 3163 `}},cIe=e=>({...e,appBar:{background:e.palette.primary.main.base,text:e.palette.primary.main.contrast,border:`none`,itemHover:e.palette.primary.main.contrastHover,itemText:e.palette.primary.main.contrast},navBar:{background:e.palette.primary.main.base,text:e.palette.primary.main.contrast,itemActive:e.palette.primary.main.contrastHover,itemHoverTextColor:e.palette.primary.main.contrastHover,itemHoverBackgroundColor:e.palette.primary.main.base,border:`none`,dropdownBackground:e.palette.primary.main.base,dropdownText:e.palette.primary.main.contrast,dropdownItemActive:e.palette.primary.main.contrastHover,dropdownItemHover:e.palette.primary.main.contrastHover,dropdownDivider:e.palette.primary.main.contrast,sidebarBackground:e.palette.primary.main.base,sidebarText:e.palette.primary.main.contrast,sidebarItemActiveTextColor:e.palette.primary.main.contrastHover,sidebarItemActiveBackgroundColor:e.palette.primary.main.contrastHover,sidebarItemHover:e.palette.primary.main.contrastHover},footer:{background:e.palette.grey[90],text:e.palette.grey[40],hover:e.palette.grey[10],border:e.palette.grey[70]}}),lIe=(e,t)=>({...e,assets:{...e.assets,favicons:`dgs`},colors:t,appBar:sIe,navBar:m0,footer:p0});window.btoa(`<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="347.72" height="342.053"> 3164 <path d="M601.582 2460.39c-271.363 0-491.348-219.98-491.348-491.35V592.641c0-271.36 219.985-491.352 491.348-491.352H2006.29c271.37 0 491.35 219.992 491.35 491.352V1969.04c0 271.37-219.98 491.35-491.35 491.35H601.582" style="fill:#0d0d0d;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(.13333 0 0 -.13333 0 342.053)"/> 3165 <path d="M601.582 2460.39c-271.363 0-491.348-219.98-491.348-491.35V592.641c0-271.36 219.985-491.352 491.348-491.352H2006.29c271.37 0 491.35 219.992 491.35 491.352V1969.04c0 271.37-219.98 491.35-491.35 491.35z" style="fill:none;stroke:#0d0d0d;stroke-width:50;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" transform="matrix(.13333 0 0 -.13333 0 342.053)"/> 3166 <path d="M2287.04 1586.39c-33.66 30.77-72.86 54.05-117.6 69.81-44.75 15.74-88.6 23.62-131.56 23.62-35.81 0-71.25-4.48-106.32-13.42-35.09-8.96-66.59-23.09-94.51-42.42-27.92-19.34-50.48-44.03-67.66-74.11-17.18-30.07-25.78-66.23-25.78-108.47 0-34.37 5.54-63.55 16.65-87.53 11.09-23.99 25.78-44.4 44.03-61.22 18.26-16.83 39.02-30.6 62.29-41.34a639.137 639.137 0 0 1 71.42-27.93c25.
316606-7.88 47.43-15.22 67.13-22.01 19.68-6.82 36.14-14.33 49.4-22.56 13.24-8.24 23.44-17.36 30.61-27.38 7.15-10.04 10.74-22.2 10.74-36.52 0-15.03-2.87-27.92-8.59-38.66-5.74-10.74-13.43-19.33-23.09-25.78-9.67-6.44-20.95-11.11-33.84-13.96-12.88-2.87-26.14-4.29-39.73-4.29-30.07 0-60.33 7.68-90.75 23.09-30.44 15.39-54.96 34.53-73.57 57.45l-100.33-102.12-.62.62v337.78H1541.1l-128.45-148.21h144.09v-138.54c-16.47-7.17-34.36-12.35-53.69-15.58-19.34-3.22-39.74-4.83-61.22-4.83-37.24 0-70.35 5.91-99.34 17.72-29 11.82-53.35 28.28-73.03 49.41-19.7 21.1-34.55 46.34-44.57 75.71-10.04 29.35-15.04 61.57-15.04 96.66 0 34.37 5.54 66.05 16.65 95.04 11.09 29 26.66 54.06 46.72 75.18 20.03 21.11 43.66 37.59 70.88 49.41 27.2 11.81 56.92 17.72 89.14 17.72 37.22 0 70.51-6.63 99.88-19.87 29.35-13.26 52.97-30.26 70.88-51.02l115.99 132.11c-32.22 30.77-74.1 55.3-125.66 73.56-51.55 18.26-107.39 27.39-167.54 27.39-57.99 0-112.06-9.31-162.17-27.92-50.12-18.64-93.8-45.3-131.02-80.02-37.24-34.73-66.42-76.79-87.53-126.19-8.51-19.9-15.22-40.78-20.3-62.55.04-.19.09-.37.14-.57l-.25.08c.04.16.07.33.11.49-6.26 28.87-15.37 55.13-27.477 78.66-25.07 48.68-57.996 87.53-98.805 116.53-40.812 28.99-87.363 49.75-139.617 62.29-52.273 12.51-105.25 18.79-158.949 18.79H325.984V900.121h283.532c52.254 0 103.804 7.328 154.652 22.008 50.828 14.672 96.473 37.59 136.93 68.742 40.441 31.139 73.031 70.879 97.73 119.209 11.272 22.05 19.842 46.09 25.962 71.94h.26c5.05-22.42 11.81-43.94 20.48-64.42 20.76-49.05 49.57-91.12 86.46-126.19 36.87-35.09 80.9-62.289 132.1-81.629 51.18-19.332 107.21-28.992 168.07-28.992 58.7 0 112.94 6.09 162.71 18.262 49.76 12.16 93.25 27.918 130.49 47.25v25.758c30.08-26.297 65.81-47.297 107.39-62.809 50.83-18.961 103.46-28.461 157.88-28.461 37.22 0 73.38 5.02 108.47 15.031 35.07 10.02 66.22 25.41 93.43 46.18 27.21 20.762 48.87 47.07 64.98 78.94 16.11 31.85 24.17 69.62 24.17 113.3 0 37.95-7.52 69.63-22.56 95.05-15.03 25.41-34.01 46.72-56.92 63.9-22.92 17.19-48.33 30.96-76.25 41.35-27.92 10.37-54.77 19.87-80.55 28.46-17.9 5.72-34.02 11.28-48.33 16.65-14.33 5.37-26.68 11.27-37.05 17.72-10.39 6.44-18.26 13.96-23.63 22.55-5.37 8.59-8.05 19.33-8.05 32.22 0 15.03 3.39 27.39 10.2 37.05 6.8 9.67 15.2 17.54 25.24 23.63 10.02 6.07 21.29 10.2 33.83 12.35 12.52 2.15 24.87 3.22 37.05 3.22 23.63 0 48.14-5.9 73.57-17.72 25.4-11.81 45.99-27.75 61.75-47.79zM844.715 1282.45c0-42.25-6.981-77.69-20.942-106.32-13.964-28.65-32.589-51.55-55.847-68.74-23.278-17.18-50.125-29.53-80.547-37.05-30.441-7.52-62.125-11.27-95.051-11.27H505.34v444.62h91.285c31.5 0 62.105-3.59 91.824-10.74 29.703-7.16 56.199-19.16 79.477-35.98 23.258-16.83 41.883-39.38 55.847-67.66 13.961-28.29 20.942-63.9 20.942-106.86" style="fill:#fff;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(.13333 0 0 -.13333 0 342.053)"/> 3167</svg>`);var uIe=({brand:e,into:t=document.head})=>e?(0,BE.createPortal)((0,V.jsx)(V.Fragment,{children:e?.favicons.map(e=>{switch(e.type){case`icon-32`:return(0,V.jsx)(`link`,{rel:`icon`,type:`image/png`,href:e.image.url},e.image.id);case`icon-192`:return(0,V.jsx)(`link`,{rel:`icon`,sizes:`192x192`,type:`image/png`,href:e.image.url},e.image.id);case`apple-touch`:return(0,V.jsx)(`link`,{rel:`apple-touch-icon`,type:`image/png`,sizes:`180x180`,href:e.image.url},e.image.id);case`icon-512`:return(0,V.jsx)(`link`,{rel:`icon`,sizes:`512x512`,type:`image/png`,href:e.image.url},e.image.id)}})}),t):null,dIe=(e,t,n,r)=>{if(e!==`dgs`||n==null)return t;let i=n.fontName,a=n.headlineFontName||t.fonts.headline,o=fIe(i,n,r,a),s=n.colors||t.colors,c=UE(i,a,o.length===0?t.fonts.fontFaces:o);return{...t,colors:s,fonts:c}},fIe=(e,{boldItalicFontFileId:t,regularFontFileId:n,italicFontFileId:r,boldFontFileId:i,headlineFontFileId:a},o,s)=>{let c=[];return n&&c.push({...h0(e,n,o),fontFamily:e,fontWeight:400,fontStyle:`normal`}),i&&c.push({...h0(e,i,o),fontFamily:e,fontWeight:600,fontStyle:`normal`}),r&&c.push({...h0(e,r,o),fontFamily:e,fontWeight:400,fontStyle:`italic`}),t&&c.push({...h0(e,t,o),fontFamily:e,fontWeight:600,fontStyle:`italic`}),a&&s&&c.push({...h0(s,a,o),fontFamily:s,fontWeight:400,fontStyle:`normal`}),c},h0=(e,t,n)=>({fontFamily:e,src:{url:`${n}/files/${t}`,urlType:`dynamic`}}),pIe=()=>{let{showToast:e}=PC(),{t}=B(),n=VC();return{uploadFile:(0,I.useCallback)(async(r,i)=>{let a=await l0.post(r,e=>{i&&e.total&&i(e.loaded/e.total)});if(mb(a))return e({body:t(`File was uploaded.`),title:t(`File upload`),type:`success`}),await n.invalidateQueries({queryKey:l0.indexKey}),a.data.data},[e,t,n])}},g0={index:[`images`],list:[`images`,`list`],details:e=>[`images`,`${e}`]},_0={index:hb(g0.index),details:e=>hb(g0.details(e))},v0={index:e=>z.get(_0.index,e),remove:e=>z.delete(_0.details(e)),update:(e,t)=>
3167z.post(_0.details(e),t),create:e=>z.post(_0.index,e)},mIe=U.div` 3168 padding: ${({theme:e})=>e.spacing(5)}; 3169`,hIe=()=>{let{t:e}=B();return(0,V.jsx)(tz,{name:`alt`,label:e(`Alternative Text (ALT Text)`),description:e(`A descriptive ALT text makes your content more inclusive and visible.`),infoText:(0,V.jsx)(mIe,{children:(0,V.jsxs)(`ul`,{children:[(0,V.jsx)(`li`,{children:e(`Keep it short, usually 1-2 sentences. Donât overthink it.`)}),(0,V.jsx)(`li`,{children:e(`Consider key elements of why you chose this image, instead of describing every little detail.`)}),(0,V.jsx)(`li`,{children:e(`No need to say âimage ofâ or âpicture ofâ â the screen reader recognizes this itself.`)}),(0,V.jsx)(`li`,{children:e(`But, do say if itâs a logo, illustration, painting, or cartoon.`)}),(0,V.jsx)(`li`,{children:e(`Donât duplicate text thatâs adjacent in the document or website.`)}),(0,V.jsx)(`li`,{children:e(`End the ALT text sentence with a period â this makes it sound more natural for reading programs.`)})]})})})},y0=16/9,gIe=({afterSubmit:e,closeModal:t,isListable:n,aspect:r,onGoBack:i,circularCrop:a=!1,minWidths:o,aspectRatioOptions:s})=>{let{t:c}=B(),[l,u]=(0,I.useState)(r||y0),d={imageUpload:null,alt:null},{showToast:f}=PC(),p=VC(),m=(0,I.useCallback)(e=>{u(e===`all`?y0:e)},[]),h=(0,I.useCallback)(({imageUpload:e})=>{let t={};return e?.file||(t.imageUpload={file:c(`Required field`)}),t},[c]),g=(0,I.useCallback)(async({imageUpload:t,alt:r})=>{if(t===null){f({body:c(`Field is required`),title:c(`Image upload`),type:`error`});return}if(t.type===`loading`)return;let i=new FormData;i.append(`image`,t.file),i.append(`alt`,r||``),Object.entries(t.cropping??{}).forEach(([e,t])=>{i.append(`cropping[${e}]`,JSON.stringify(t))}),i.append(`isListable`,JSON.stringify(Number(n)));let a=YQ(l);if(a===``){f({body:c(`Wrong aspect ratio`),title:c(`Image upload`),type:`error`});return}i.append(`aspectRatio`,a);let o=await v0.create(i);mb(o)&&(e(o.data.data),await p.invalidateQueries({queryKey:g0.index}))},[n,l,f,c,e,p]);return(0,V.jsx)(aD,{onClose:t,heading:c(`Image`),children:(0,V.jsx)(aI,{initialValues:d,validate:h,onSubmit:g,children:(0,V.jsxs)(Mxe,{children:[(0,V.jsxs)(oD,{children:[(0,V.jsx)(u$,{value:l,onChange:m,readonly:!!r,options:s}),(0,V.jsx)(qMe,{label:c(`Image`),name:`imageUpload`,aspect:l,circularCrop:a,minWidths:o}),(0,V.jsx)(hIe,{})]}),(0,V.jsxs)(sD,{children:[i?(0,V.jsx)(FE,{type:`button`,onClick:i,children:c(`Back`)}):(0,V.jsx)(FE,{type:`button`,onClick:t,children:c(`Close`)}),(0,V.jsx)(vI,{children:c(`Upload`)})]})]})})})},_Ie=[],vIe=e=>()=>v0.index(e).then(e=>e.data.data),yIe=(e={})=>{let{data:t,refetch:n,isLoading:r}=kw({queryKey:g0.list.concat(JSON.stringify(e)),queryFn:vIe({params:e})});return{data:t||_Ie,refetch:n,isLoading:r}},bIe=U.img` 3170 width: 100%; 3171 max-height: 50vh; 3172 object-fit: contain; 3173`,xIe=({image:e,onConfirm:t,onClose:n,onGoBack:r})=>{let{t:i}=B();return(0,V.jsxs)(aD,{onClose:n,heading:i(`Confirm image selection`),children:[(0,V.jsx)(oD,{children:(0,V.jsx)(bIe,{src:e.url,alt:e.alt||e.name,"data-testid":`image-chooser-full-size-image`})}),(0,V.jsxs)(sD,{children:[(0,V.jsx)(FE,{type:`button`,onClick:r,children:i(`Back`)}),(0,V.jsx)(FE,{type:`button`,color:`primary`,onClick:t,children:i(`Confirm`)})]})]})},SIe=U.div` 3174 display: grid; 3175 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 3176 gap: 16px; 3177`,CIe=U.img` 3178 width: 100%; 3179 height: 250px; 3180 object-fit: cover; 3181`,wIe=U.span` 3182 overflow: hidden; 3183 text-overflow: ellipsis; 3184`,TIe=U(TG)` 3185 display: grid; 3186 grid-template-columns: ${({$hasAlt:e})=>e?`1fr max-content`:`max-content 1fr max-content`}; 3187 align-items: center; 3188 gap: ${({theme:e})=>e.spacing(1)}; 3189`,EIe=U(nD)` 3190 height: 20px; 3191 width: 20px; 3192 color: ${({theme:e})=>e.colors.palette.warning.main.base}; 3193`,DIe=({children:e,image:t,onClick:n})=>{let{t:r}=B();return(0,V.jsxs)(wG,{$color:`content`,$clickable:!0,onClick:n,children:[(0,V.jsx)(CIe,{src:t.url,alt:t.alt||t.name}),(0,V.jsxs)(TIe,{$hasAlt:!!t.alt,children:[!t.alt&&(0,V.jsx)(EIe,{$icon:`warning`,title:r(`A descriptive ALT text makes your content more inclusive and visible.`)}),(0,V.jsx)(wIe,{title:t.name,children:t.name}),e]})]})},OIe=({images:e,onImageClick:t,onDeleteClick:n})=>{let{t:r}=B();return(0,V.jsx)(SIe,{children:e.map(e=>(0,V.jsx)(DIe,{image:e,onClick:()=>t(e),children:n&&(0,V.jsx)(dFe,{action:()=>{e.id&&n(e.id)},heading:r(`Delete`),buttonLabel:r(`Delete`),title:r(`Delete`),size:`small`,iconButton:!0,labels:{close:r(`Close`),confirm:r(`Confirm`)},children:r(`Are you sure you want to delete this image?`)})},e.id))})},kIe=({onClose:e,title:t,onPickImage:n,onUploadAndCrop:r,aspect:i,handleSelectAspect:a,options:o,disableSelectAspect:s})=>{let{t:c}=B(),{data:l,isLoading:u}=yIe((0,I.useMemo)(()=>i==null?void 0:{aspect:YQ(i)},[i]));return(0,V.jsxs)(aD,{onClose:e,heading:t,children:[(0,V.jsx)(oD,{children:u?(0,V.jsx)(lD,{}):(0,V.jsxs)(V.Fragment,{children:[a&&(0,V.jsx)(u$,{onChange:a,value:i||`all`,disabled:s,options:o,showAllAspectRatiosOption:!0}),(0,V.jsx)(OIe,{images:l,onImageClick:e=>n(e)})]})}),(0,V.jsx)(sD,{children:(0,V.jsx)(FE,{type:`button`,onClick:r,children:c(`Crop new image`)})})]})},AIe=U.div` 3194 display: grid; 3195 grid-auto-columns: max-content; 3196 grid-auto-flow: column; 3197 gap: ${({theme:e})=>e.spacing(2)}; 3198`,jIe=({onSelect:e,onRemove:t,htmlId:n,selectedImageId:r,cropImageWithAspect:i,aspectRatioOptions:a,isListable:o=!0})=>{let{t:s}=B(),[c,l]=(0,I.useState)({state:`CLOSED`}),u=(0,I.useCallback)(()=>{l({state:`PICK_IMAGE`,aspect:i})},[i]),d=(0,I.useCallback)(()=>{l({state:`CLOSED`})},[]),f=(0,I.useCallback)(e=>{l({state:`CONFIRM`,image:e})},[]),p=(0,I.useCallback)(()=>{l({state:`PICK_IMAGE`,aspect:i})},[i]),m=(0,I.useCallback)(()=>{p()},[p]),h=(0,I.useCallback)(()=>{l({state:`UPLOAD_CROPPING`})},[]),g=(0,I.useCallback)(e=>{l(t=>({...t,aspect:i||e}))},[i]),_=(0,I.useCallback)(t=>{l({state:`CLOSED`}),e(t)},[e]);return(0,V.jsxs)(AIe,{children:[(0,V.jsx)(FE,{onClick:u,type:`button`,id:n,size:`small`,children:s(`Choose image...`)}),t&&r&&(0,V.jsx)(FE,{onClick:t,type:`button`,size:`small`,children:s(`Remove image`)}),(()=>{switch(c.state){case`CLOSED`:return null;case`PICK_IMAGE`:return(0,V.jsx)(kIe,{title:s(`Select an image`),onUploadAndCrop:h,onClose:d,onPickImage:f,aspect:c.aspect,handleSelectAspect:g,disableSelectAspect:!!i,options:a,empty:``});case`UPLOAD_CROPPING`:return(0,V.jsx)(gIe,{afterSubmit:f,closeModal:d,onGoBack:p,isListable:o,aspect:i,aspectRatioOptions:a});case`CONFIRM`:return(0,V.jsx)(xIe,{image:c.image,onGoBack:m,onClose:d,onConfirm:()=>_(c.image)})}})()]})},MIe=U.div` 3199 color: ${({theme:e})=>e.colors.palette.danger.main.base}; 3200 font-size: 0.875rem; 3201`,NIe=U.label.attrs({$hasPrefix:!1,$hasSuffix:!1})` 3202 color: ${({theme:e})=>e.forms.label}; 3203 font-size: 0.875rem; 3204`,PIe=U.img` 3205 max-width: 300px; 3206 max-height: 300px; 3207`,FIe=U.div` 3208 display: grid; 3209 grid-template-columns: 1fr; 3210 gap: ${({theme:e})=>e.spacing(2)}; 3211 margin-bottom: 1.5rem; 3212`,IIe=({label:e,name:t,canRemoveImage:n,cropImageWithAspect:r,className:i,aspectRatioOptions:a,required:o,isListable:s=!0})=>{let{t:c}=B(),[l,u,d]=cI(t),f=(0,I.useCallback)(e=>{d.setValue(e)},[d]),p=(0,I.useCallback)(()=>{d.setValue(null)},[d]);return(0,V.jsxs)(FIe,{className:i,children:[e&&(0,V.jsxs)(NIe,{htmlFor:t,children:[e,o&&(0,V.jsx)(`span`,{title:c(`Field is required`),children:`*`})]}),l.value&&(0,V.jsx)(PIe,{src:l.value.url,alt:l.value.alt||l.value.name}),(0,V.jsx)(`div`,{children:(0,V.jsx)(jIe,{onSelect:f,onRemove:n?p:void 0,htmlId:t,selectedImageId:l.value?.id,cropImageWithAspect:r,aspectRatioOptions:a,isListable:s})}),u.touched&&u.error&&(0,V.jsx)(MIe,{children:u.error})]})},b0=U.a` 3213 ${({theme:e})=>e.footer.link}; 3214 margin: 0; 3215`,x0=U.i` 3216 display: block; 3217 height: 28px; 3218 width: 28px; 3219 background: currentColor; 3220 mask-size: contain; 3221 mask-repeat: no-repea; 3222`,S0=U(x0)` 3223 mask-image: ${({theme:e})=>`url("${e.assets.basePath}/assets/concorso/instagram_rg.svg")`}; 3224`,C0=U(x0)` 3225 mask-image: ${({theme:e})=>`url("${e.assets.basePath}/assets/concorso/facebook_rg.svg")`}; 3226`,LIe=U(nD)` 3227 width: 1em; 3228 height: 1em; 3229 margin-left: ${({theme:e})=>e.spacing(2)}; 3230 transform: rotate(90deg); 3231`,RIe=e=>(0,V.jsx)(LIe,{...e,$icon:`caret`}),w0=U.a.attrs({rel:`noreferrer`})` 3232 ${({theme:e})=>e.navBar.menuBar.dropdown.item}; 3233 text-decoration: none; 3234`,T0=U(db)` 3235 ${({theme:e})=>e.navBar.menuBar.dropdown.item}; 3236 text-decoration: none; 3237`,zIe=U.div` 3238 ${({theme:e})=>e.navBar.menuBar.dropdown.item}; 3239`,BIe=({item:e,...t})=>{let n={...t,children:e.name};
3239switch(e.type){case`INTERNAL`:return(0,V.jsx)(T0,{...n,to:e.url});case`EXTERNAL`:return(0,V.jsx)(w0,{...n,href:e.url});case`EXTERNAL_NEW_TAB`:return(0,V.jsx)(w0,{...n,href:e.url,target:`_blank`});case`PAGE`:return(0,V.jsx)(T0,{...n,to:`/blocks/${e.block.slug}`});default:return(0,V.jsx)(zIe,{...n})}},E0=U.div` 3240 ${({theme:e})=>e.navBar.menuBar.dropdown.wrapper}; 3241`,VIe=U.ul` 3242 ${({theme:e})=>e.navBar.menuBar.dropdown.list}; 3243`,HIe=U.div` 3244 ${({theme:e})=>e.navBar.menuBar.dropdown.container}; 3245 ${E0} { 3246 display: none; 3247 } 3248 3249 &:hover ${E0} { 3250 position: absolute; 3251 left: 0; 3252 display: block; 3253 } 3254 3255 &:hover > :first-child { 3256 background-color: ${({theme:e})=>e.colors.navBar.itemHoverBackgroundColor}; 3257 color: ${({theme:e})=>e.colors.navBar.itemHoverTextColor}; 3258 } 3259`,UIe=({title:e,items:t})=>{let n=t.length>0;return(0,V.jsxs)(HIe,{children:[e,n&&(0,V.jsx)(E0,{children:(0,V.jsx)(VIe,{children:t.map(e=>(0,V.jsx)(`li`,{children:(0,V.jsx)(BIe,{item:e})},e.id))})})]})},D0=U.div` 3260 ${({theme:e})=>e.navBar.menuBar.item}; 3261`,O0=U(db)` 3262 ${({theme:e})=>e.navBar.menuBar.item}; 3263 text-decoration: none; 3264`,k0=U.a.attrs({rel:`noreferrer`})` 3265 ${({theme:e})=>e.navBar.menuBar.item}; 3266 text-decoration: none; 3267`,A0=({item:e})=>{let t=e.children.length>0,{track:n}=sQ(),{language:r}=vH(),i=(0,I.useCallback)(e=>()=>n(new iQ(e,r)),[r,n]),a={children:(0,V.jsxs)(V.Fragment,{children:[e.name,` `,t&&(0,V.jsx)(RIe,{})]})},o;if(e.preview&&kB(e.preview.previewUntil))switch(e.preview.previewType){case`INTERNAL`:o=(0,V.jsx)(O0,{...a,to:e.preview.previewUrl});break;case`EXTERNAL`:o=(0,V.jsx)(k0,{...a,href:e.preview.previewUrl,onClick:i(e.preview.previewUrl)});break;case`EXTERNAL_NEW_TAB`:o=(0,V.jsx)(k0,{...a,href:e.preview.previewUrl,target:`_blank`,onClick:i(e.preview.previewUrl)});break;case`PAGE`:o=(0,V.jsx)(O0,{...a,to:`/blocks/${e.preview.previewBlock.slug}`});break;default:o=(0,V.jsx)(D0,{...a})}else switch(e.type){case`INTERNAL`:o=(0,V.jsx)(O0,{...a,to:e.url});break;case`EXTERNAL`:o=(0,V.jsx)(k0,{...a,href:e.url,onClick:i(e.url)});break;case`EXTERNAL_NEW_TAB`:o=(0,V.jsx)(k0,{...a,href:e.url,target:`_blank`,onClick:i(e.url)});break;case`PAGE`:o=(0,V.jsx)(O0,{...a,to:`/blocks/${e.block.slug}`});break;default:o=(0,V.jsx)(D0,{...a})}return(0,V.jsx)(`li`,{children:(0,V.jsx)(UIe,{title:o,items:e.children})})},j0=U.div` 3268 ${({theme:e})=>e.navBar.sidebar.item.wrapper}; 3269`,M0=U(db)` 3270 ${({theme:e})=>e.navBar.sidebar.item.wrapper}; 3271 text-decoration: none; 3272`,N0=U.a.attrs({rel:`noreferrer`})` 3273 ${({theme:e})=>e.navBar.sidebar.item.wrapper}; 3274 text-decoration: none; 3275`,WIe=U.div` 3276 ${({theme:e})=>e.navBar.sidebar.item.label}; 3277 ${({theme:e,$depth:t})=>t===1?e.navBar.sidebar.item.rootLabel:``}; 3278`,GIe=U.ul` 3279 list-style: none; 3280 3281 a > .itemContentLabel { 3282 padding-left: ${({theme:e,$depth:t})=>e.spacing(t*8)}; 3283 } 3284`,KIe=({item:e,depth:t})=>{let n=e.children.length>0;return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(WIe,{$depth:t,className:`itemContentLabel`,children:e.name}),n&&(0,V.jsx)(GIe,{$depth:t,children:e.children.map(e=>(0,V.jsx)(P0,{item:e,depth:t+1},e.id))})]})},P0=({item:e,depth:t})=>{let{track:n}=sQ(),{language:r}=vH(),i=(0,I.useCallback)(e=>()=>n(new iQ(e,r)),[r,n]),a={children:(0,V.jsx)(KIe,{item:e,depth:t})},o;if(e.preview&&kB(e.preview.previewUntil))switch(e.preview.previewType){case`INTERNAL`:o=(0,V.jsx)(M0,{...a,to:e.preview.previewUrl});break;case`EXTERNAL`:o=(0,V.jsx)(N0,{...a,href:e.preview.previewUrl,onClick:i(e.preview.previewUrl)});break;case`EXTERNAL_NEW_TAB`:o=(0,V.jsx)(N0,{...a,href:e.preview.previewUrl,target:`_blank`,onClick:i(e.preview.previewUrl)});break;case`PAGE`:o=(0,V.jsx)(M0,{...a,to:`/blocks/${e.preview.previewBlock.slug}`});break;default:o=(0,V.jsx)(j0,{...a})}else switch(e.type){case`INTERNAL`:o=(0,V.jsx)(M0,{...a,to:e.url});break;case`EXTERNAL`:o=(0,V.jsx)(N0,{...a,href:e.url,onClick:i(e.url)});break;case`EXTERNAL_NEW_TAB`:o=(0,V.jsx)(N0,{...a,href:e.url,target:`_blank`,onClick:i(e.url)});break;case`PAGE`:o=(0,V.jsx)(M0,{...a,to:`/blocks/${e.block.slug}`});break;default:o=(0,V.jsx)(j0,{...a})}return(0,V.jsx)(`li`,{children:o})},F0=`100`,I0=`150`,qIe=U.nav` 3285 ${({theme:e})=>e.navBar.menuBar.nav}; 3286 background: #002e2a; 3287 padding: 0; 3288 height: ${F0}px; 3289 3290 ${({theme:e})=>e.breakpoints.tablet} { 3291 height: ${I0}px; 3292 } 3293`,JIe=U.div` 3294 ${({theme:e})=>e.navBar.container}; 3295 padding: ${({theme:e})=>e.navBar.container}; 3296`,YIe=U.ul` 3297 ${({theme:e})=>e.navBar.sidebar.list}; 3298 background-color: ${({theme:e})=>e.colors.layout.background.background}; 3299 padding: ${({theme:e})=>e.spacing(16)} 0; 3300 max-height: calc(100vh - ${({$headerBottom:e})=>e}px); 3301 overflow-y: auto; 3302 3303 ${zE.tablet} { 3304 margin-left: auto; 3305 width: 400px; 3306 box-shadow: ${({theme:e})=>e.shadows.l2}; 3307 } 3308`,XIe=U.div` 3309 position: relative; 3310 ${({theme:e})=>e.navBar.sidebar.header}; 3311 background: transparent;
3312 display: flex; 3313 margin-bottom: 0; 3314 height: ${F0}px; 3315 3316 ${({theme:e})=>e.breakpoints.tablet} { 3317 height: ${I0}px; 3318 } 3319`,ZIe=U.button` 3320 ${({theme:e})=>e.navBar.sidebar.toggle}; 3321`,QIe=U(nD)` 3322 width: 100%; 3323 height: 100%; 3324`,$Ie=U(nD)` 3325 width: 24px; 3326 height: 24px; 3327`,eLe=U.div` 3328 ${({theme:e})=>e.navBar.sidebar.appIdentifier}; 3329`,tLe=U.div` 3330 display: grid; 3331 grid-template-columns: max-content max-content; 3332 gap: 0.5rem; 3333 align-items: center; 3334 padding-left: ${({theme:e})=>e.spacing(3)}; 3335 margin-left: ${({theme:e})=>e.spacing(3)}; 3336 border-left: 3px solid white; 3337`,nLe=U.ul` 3338 list-style: none; 3339 display: none; 3340 3341 ${({theme:e})=>e.breakpoints.tablet} { 3342 display: flex; 3343 } 3344`,rLe=U.ul` 3345 display: block; 3346 3347 ${({theme:e})=>e.breakpoints.tablet} { 3348 display: none; 3349 } 3350`,iLe=U.div` 3351 display: flex; 3352 align-items: center; 3353`,aLe=U.div` 3354 display: flex; 3355 gap: ${({theme:e})=>e.spacing(8)}; 3356 padding-top: ${({theme:e})=>e.spacing(16)}; 3357 padding-left: ${({theme:e})=>e.spacing(8)}; 3358`,oLe=U.img` 3359 height: 100%; 3360 max-width: 30vw; 3361`,sLe=U(ub)` 3362 padding: ${({theme:e})=>e.spacing(2)} 0; 3363 height: 100%; 3364 max-width: 30vw; 3365 margin-right: auto; 3366 3367 ${({theme:e})=>e.breakpoints.tablet} { 3368 margin: 0 auto; 3369 } 3370`,cLe=()=>{let e=`${TE().assets.basePath}/assets/concorso/VdE_Logo_white.svg`;return(0,V.jsx)(sLe,{to:`/`,children:(0,V.jsx)(oLe,{src:e,alt:`Logo`})})},lLe=({items:e,className:t,isNavMenuSticky:n,children:r})=>{let{t:i}=B(),[a,o]=(0,I.useState)(!1),s=(0,I.useRef)(null),[c,l]=(0,I.useState)(0),u=()=>{let e=!a;if(e&&s.current&&n){let e=s.current.getBoundingClientRect();l(e.bottom)}o(e)},d={children:[],id:0,name:i(`Tickets`),preview:null,type:`INTERNAL`,url:`/blocks/tickets-packages`},f={children:[],id:0,name:i(`Media`),preview:null,type:`INTERNAL`,url:`/blocks/media`},p={children:[],id:0,name:i(`News`),preview:null,type:`INTERNAL`,url:`/blocks/news`};return(0,V.jsx)(qIe,{className:t,$sticky:n,children:(0,V.jsxs)(JIe,{children:[(0,V.jsxs)(XIe,{ref:s,children:[e.length>0&&(0,V.jsxs)(nLe,{children:[(0,V.jsx)(A0,{item:d}),(0,V.jsx)(A0,{item:f}),(0,V.jsx)(A0,{item:p})]}),(0,V.jsx)(cLe,{}),(0,V.jsx)(iLe,{children:r}),e.length>0&&(0,V.jsxs)(tLe,{children:[(0,V.jsx)(eLe,{children:`Menu`}),(0,V.jsx)(ZIe,{title:i(a?`Close navigation sidebar`:`Open navigation sidebar`),"data-testid":`navigation-sidebar-toggle`,onClick:u,children:a?(0,V.jsx)(QIe,{$icon:`close`}):(0,V.jsx)($Ie,{$icon:`menu`})})]})]}),a&&(0,V.jsxs)(YIe,{onClick:()=>o(!1),$headerBottom:c,children:[(0,V.jsxs)(rLe,{children:[(0,V.jsx)(P0,{item:d,depth:1}),(0,V.jsx)(P0,{item:f,depth:1}),(0,V.jsx)(P0,{item:p,depth:1})]}),e.map(e=>(0,V.jsx)(P0,{item:e,depth:1},e.id)),(0,V.jsxs)(aLe,{children:[(0,V.jsx)(b0,{href:`https://www.facebook.com/bmwgroup`,target:`_blank`,children:(0,V.jsx)(C0,{})}),(0,V.jsx)(b0,{href:`https://www.instagram.com/bmwgroup`,target:`_blank`,children:(0,V.jsx)(S0,{})})]})]})]})})},uLe=()=>lLe,dLe=U.div` 3371 border-bottom: 2px solid #6f6f6f; 3372`,fLe=U.div` 3373 display: flex; 3374 align-content: start; 3375 justify-content: space-between; 3376 padding: ${({theme:e})=>e.spacing(16)} 0 ${({theme:e})=>e.spacing(8)} 0; 3377`,pLe=U.div` 3378 display: grid; 3379 grid-template-columns: max-content max-content; 3380 gap: ${({theme:e})=>e.spacing(20)}; 3381 padding: ${({theme:e})=>e.spacing(16)} 0; 3382`,mLe=U.img` 3383 height: 100px; 3384`,hLe=U.img` 3385 height: 70px; 3386`,gLe=U.div` 3387 padding: ${({theme:e})=>e.spacing(2)} 0; 3388 display: flex; 3389 flex-direction: column; 3390 color: #000000; 3391 gap: ${({theme:e})=>e.spacing(4)}; 3392 3393 ${zE.tablet} { 3394 flex-direction: row; 3395 justify-content: space-between; 3396 } 3397`,_Le=U.span``,vLe=U.span` 3398 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 3399`,L0=U.div` 3400 display: grid; 3401 grid-auto-flow: column; 3402 grid-auto-columns: max-content; 3403 gap: ${({theme:e})=>e.spacing(10)}; 3404`,R0=U(b0)` 3405 color: ${({theme:e})=>e.colors.palette.content.main.contrast}; 3406`,yLe=({footerLinks:e})=>{let t=TE();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(YN,{color:`content`,children:[(0,V.jsxs)(fLe,{children:[(0,V.jsx)(mLe,{src:`${t.assets.basePath}/assets/concorso/1_BMWGroupClassic_70prz.svg`}),(0,V.jsx)(hLe,{src:`${t.assets.basePath}/assets/concorso/BMW_Grey-Colour_RGB.svg`})]}),(0,V.jsx)(dLe,{}),(0,V.jsxs)(pLe,{children:[(0,V.jsx)(R0,{href:`https://www.villadeste.com/`,target:`_blank`,rel:`noreferrer`,children:`Villa dâEste`}),(0,V.jsx)(R0,{href:`https://www.bmwgroup-classic.com/`,target:`_blank`,rel:`noreferrer`,children:`BMW Group Classic`})]})]}),(0,V.jsx)(YN,{customColor:`#f0f1f1`,children:(0,V.jsxs)(gLe,{children:[(0,V.jsx)(L0,{children:e.map(({url:e,name:t,isExternal:n})=>e===void 0?(0,V.jsx)(_Le,{children:t},t):(0,V.jsx)(b0,{href:e,target:n?`_blank`:`_self`,children:t},t))}),(0,V.jsxs)(L0,{children:[(0,V.jsx)(vLe,{children:`Follow us`}),(0,V.jsx)(b0,{href:`https://www.facebook.com/concorsodeleganzavilladeste/`,target:`_blank`,children:(0,V.jsx)(C0,{})}),(0,V.jsx)(b0,{href:`https://www.instagram.com/concorsodeleganza_vde/`,target:`_blank`,children:(0,V.jsx)(S0,{})})]})]})})]})},bLe=()=>yLe,xLe=U.div` 3407 display: flex; 3408 gap: 0.5rem; 3409`,SLe=U.button` 3410 font: inherit; 3411 background: none; 3412 color: inherit; 3413 padding: ${({theme:e})=>e.spacing(1)} ${({theme:e})=>e.spacing(2)}; 3414 border-top: 3px solid transparent; 3415 border-bottom: 3px solid ${({$active:e})=>e?`white`:`transparent`}; 3416 cursor: pointer; 3417 3418 &:hover { 3419 color: ${({theme:e})=>e.colors.palette.primary.main.contrastHover}; 3420 } 3421`,CLe=({setLocale:e,locale:t,availableLocales:n})=>n.length<2?null:(0,V.jsx)(xLe,{children:n.map(n=>(0,V.jsx)(SLe,{$active:n===t,onClick:()=>e(n),children:n.toLocaleUpperCase()},n))}),z0=()=>CLe,wLe={...K1,wrapper:H` 3422 ${K1.wrapper} 3423 border-radius: 0; 3424 `},B0=`BMW Group Condensed`,V0=`Bodoni`,TLe=UE(B0,V0,[{fontFamily:B0,src:{urlType:`static`,url:`BMWGroupTNCondensedPro-Regular.woff2`},fontWeight:400,fontStyle:`normal`},{fontFamily:B0,src:{urlType:`static`,url:`BMWGroupTNCondensedPro-Bold.woff2`},fontWeight:700,fontStyle:`normal`},{fontFamily:V0,src:{urlType:`static`,url:`Bodoni-Book.woff2`},fontWeight:400,fontStyle:`normal`},{fontFamily:V0,src:{urlType:`static`,url:`Bodoni-Bold.woff2`},fontWeight:700,fontStyle:`normal`}]),ELe={...p0,link:H` 3425 ${p0.link} 3426 border-bottom: 2px solid transparent; 3427 margin: 0 ${({theme:e})=>e.spacing(4)}; 3428 color: #000000; 3429 3430 &:hover {
3431 color: ${({theme:e})=>e.colors.palette.primary.light.base}; 3432 border-bottom: 2px solid ${({theme:e})=>e.colors.palette.primary.light.base}; 3433 } 3434 `,separator:H` 3435 display: none; 3436 `,content:H` 3437 ${p0.content} 3438 font-size: ${({theme:e})=>e.fonts.sizes.normal}; 3439 `},DLe={...$1,base:H` 3440 ${$1.base}; 3441 font-family: ${({theme:e})=>e.fonts.body}; 3442 `,h1:H` 3443 ${$1.h1}; 3444 font-family: ${({theme:e})=>e.fonts.headline}; 3445 `},OLe={...t0,inline:H` 3446 font-weight: 700; 3447 color: currentColor; 3448 text-decoration: underline; 3449 3450 &:before { 3451 content: ""; 3452 display: inline-block; 3453 width: 1em; 3454 height: 1em; 3455 vertical-align: text-top; 3456 transform: translateY(25%); 3457 background: currentColor; 3458 mask-image: url("${({theme:e})=>`${e.assets.basePath}/icons/${e.assets.icons}/caret.svg`}"); 3459 mask-size: contain; 3460 mask-repeat: no-repeat; 3461 } 3462 `},kLe={...m0,menuBar:{...m0.menuBar,nav:H` 3463 ${m0.menuBar.nav}; 3464 padding: ${({theme:e})=>e.spacing(6)}; 3465 `,item:H` 3466 ${m0.menuBar.item}; 3467 font-weight: 400; 3468 padding: ${({theme:e})=>e.spacing(2)} ${({theme:e})=>e.spacing(6)}; 3469 3470 li:not(:last-child) & { 3471 border-right: 3px solid currentColor; 3472 } 3473 `,dropdown:{...m0.menuBar.dropdown,list:H` 3474 position: absolute; 3475 min-width: 100%; 3476 list-style: none; 3477 background: ${({theme:e})=>e.colors.navBar.dropdownBackground}; 3478 color: ${({theme:e})=>e.colors.navBar.dropdownText}; 3479 box-shadow: ${({theme:e})=>e.shadows.l2}; 3480 `,item:H` 3481 position: relative; 3482 display: block; 3483 padding: ${({theme:e})=>e.spacing(2)} ${({theme:e})=>e.spacing(10)}; 3484 margin: ${({theme:e})=>e.spacing(1)} 0; 3485 color: ${({theme:e})=>e.colors.navBar.dropdownText}; 3486 border-left: 4px solid ${({theme:e})=>e.colors.navBar.dropdownText}; 3487 3488 &:after { 3489 content: ""; 3490 display: block; 3491 position: absolute; 3492 right: ${({theme:e})=>e.spacing(1)}; 3493 top: 50%; 3494 transform: translateY(-50%); 3495 width: 1.5rem; 3496 height: 1.5rem; 3497 background: ${({theme:e})=>e.colors.navBar.dropdownText}; 3498 mask-image: url("${({theme:e})=>`${e.assets.basePath}/icons/${e.assets.icons}/caret.svg`}"); 3499 mask-repeat: no-repeat; 3500 mask-position: center; 3501 mask-size: contain; 3502 } 3503 3504 &:hover { 3505 color: ${({theme:e})=>e.colors.navBar.dropdownItemHover}; 3506 border-color: ${({theme:e})=>e.colors.navBar.dropdownItemHover}; 3507 3508 &:after { 3509 background-color: ${({theme:e})=>e.colors.navBar.dropdownItemHover}; 3510 } 3511 } 3512 `}},sidebar:{...m0.sidebar,header:H` 3513 ${m0.sidebar.header}; 3514 background: ${({theme:e})=>e.colors.navBar.background}; 3515 `,toggle:H` 3516 ${m0.sidebar.toggle}; 3517 color: ${({theme:e})=>e.colors.navBar.text}; 3518 3519 &:focus, 3520 &:hover { 3521 color: ${({theme:e})=>e.colors.palette.grey[20]}; 3522 } 3523 `,item:{...m0.sidebar.item,label:H` 3524 position: relative; 3525 font-weight: normal; 3526 padding-left: ${({theme:e,$depth:t})=>e.spacing(t*8)} !important; 3527 padding-top: ${({theme:e})=>e.spacing(2)}; 3528 padding-bottom: ${({theme:e})=>e.spacing(2)}; 3529 3530 border-left: 4px solid ${({theme:e})=>e.colors.navBar.dropdownText}; 3531 3532 &:hover { 3533 border-color: ${({theme:e})=>e.colors.navBar.dropdownItemHover}; 3534 } 3535 `,rootLabel:H` 3536 font-weight: 700; 3537 border: none; 3538 padding-left: ${({theme:e})=>e.spacing(10)} !important; 3539 `},list:H` 3540 ${m0.sidebar.list}; 3541 padding: ${({theme:e})=>e.spacing(6)}; 3542 `}},ALe={links:{...a0.links,tab:H` 3543 ${a0.links.tab}; 3544 margin: 2px 0; //make room for the border 3545 3546 &:not(:last-child) { 3547 margin-right: ${({theme:e})=>e.spacing(10)}; 3548 } 3549 3550 border-top: 2px solid ${({theme:e})=>e.colors.palette.black}; 3551 border-bottom: 2px solid ${({theme:e})=>e.colors.palette.black}; 3552 3553 &:hover { 3554 border-color: ${({theme:e})=>e.colors.palette.black}; 3555 } 3556 `,tabContent:H` 3557 ${a0.links.tabContent}; 3558 width: 100%; 3559 position: relative; 3560 text-align: center; 3561 3562 border-top: 1px solid transparent; 3563 border-bottom: 1px solid transparent; 3564 3565 ${({$active:e})=>e&&H` 3566 border-color: ${({theme:e})=>e.colors.palette.black}; 3567 `}; 3568 `,indicator:H` 3569 display: none; 3570 `},buttons:a0.buttons},jLe=`#6f6f6f`,H0=eK({white:[255,255,255],black:[0,0,0],gamma:1.2,colors:{primary:{base:UG(`#00453f`)},secondary:{base:UG(`#729581`)},success:{base:UG(`#28e473`)},warning:{base:UG(`#e4b828`)},danger:{base:UG(`#e42828`)}}}),U0=G1({...H0,background:{...H0.background,main:{...H0.background.main,base:GG(UG(jLe))}}}
3570),W0=o0(U0,TLe),MLe={...cIe(U0),navBar:{itemHoverBackgroundColor:`transparent`,background:H0.primary.main.base,text:H0.primary.main.contrast,itemActive:H0.primary.main.contrast,itemHoverTextColor:H0.primary.main.contrastHover,border:H0.primary.main.contrast,dropdownDivider:`transparent`,dropdownBackground:H0.grey[20],dropdownText:H0.grey[70],dropdownItemActive:H0.black,dropdownItemHover:H0.black,sidebarBackground:H0.grey[20],sidebarText:H0.grey[70],sidebarItemActiveTextColor:H0.black,sidebarItemActiveBackgroundColor:`transparent`,sidebarItemHover:H0.black},footer:{text:H0.grey[70],border:`transparent`,hover:H0.black,background:H0.grey[20]}},NLe={...lIe({...W0,fonts:{...W0.fonts,sizes:{large:`24px`,normal:`18px`,small:`14px`}},assets:{...W0.assets,favicons:`concorso`,fonts:`concorso`},links:OLe,headings:DLe,tabs:ALe},MLe),navBar:kLe,footer:ELe,accordion:wLe},PLe=e=>{let t=FLe(),n=e===`development`?`/dev-assets`:``;return{...t,assets:{...t?.assets,basePath:n}}};function FLe(){return NLe}var G0=()=>{},ILe=(0,I.createContext)({trackLinkClicked:G0,trackDrawerView:G0,trackImageGalleryImageClicked:G0,trackImageGallerySwiped:G0,trackMapMove:G0,trackMapMarkerClicked:G0,trackVideoEvent:G0,trackImageCarouselSwiped:G0,trackAccordionEvent:G0,trackTabNavigationEvent:G0}),K0=()=>(0,I.useContext)(ILe),LLe=e=>({index:t=>z.get(e.index,t),show:(t,n)=>z.get(e.show(t),n),update:(t,n)=>z.put(e.show(t),n),store:t=>z.post(e.index,t),destroy:t=>z.delete(e.show(t))}),RLe=e=>({options:t=>z.get(e.options,t)}),q0=[`blocks`],J0={index:q0,list:[...q0,`list`],pagesList:[...q0,`list`,`pageBlock`],showById:e=>[...q0,`${e}`],showBySlug:e=>[...q0,e],edit:e=>[...q0,`${e}`,`edit`],attachChild:e=>[...q0,`${e}`,`attach`],detachChild:e=>[...q0,`${e}`,`detach`],moveAndOrder:(e,t,n)=>[...q0,`${e}`,`move`,`${t}`,`to`,`${n}`],suggestName:[...q0,`suggest-name`],options:[...q0,`options`],post:e=>[...q0,`${e}`],blockTypes:[`block-types`],getTopLevelParents:e=>[...q0,`${e}`,`top-level-parents`],getTree:e=>[...q0,`${e}`,`tree`],duplicate:e=>[...q0,`${e}`,`duplicate`],duplicateAndAttach:(e,t)=>[...q0,`${e}`,`duplicate-and-attach`,`${t}`],listBrokenBlocks:[...q0,`broken`]},Y0={index:hb(J0.index),options:hb(J0.options),post:e=>hb(J0.post(e)),show:e=>hb(J0.showById(e)),edit:e=>hb(J0.edit(e)),attachChild:e=>hb(J0.attachChild(e)),detachChild:e=>hb(J0.detachChild(e)),moveAndOrder:(e,t,n)=>hb(J0.moveAndOrder(e,t,n)),suggestName:hb(J0.suggestName),blockTypes:hb(J0.blockTypes),getTopLevelParents:e=>hb(J0.getTopLevelParents(e)),getTree:e=>hb(J0.getTree(e)),duplicate:e=>hb(J0.duplicate(e)),duplicateAndAttach:(e,t)=>hb(J0.duplicateAndAttach(e,t)),listBrokenBlocks:hb(J0.listBrokenBlocks)},zLe=e=>z.get(Y0.edit(e)),X0=(e,t)=>({sortParams:n,pageParams:r,searchParams:i,...a})=>z.get(Y0.index,{params:{...n,...r,...i,type:t??a.filterParams.find(e=>e.valueKey===`type`)?.value,scopes:e}}),BLe=e=>X0(e,`pageBlock`),VLe=(e,t,n,r)=>z.put(Y0.moveAndOrder(e,t,n),{children:r}),HLe=(e,t)=>z.put(Y0.attachChild(e),{childIds:t}),ULe=(e,t)=>z.put(Y0.detachChild(e),{childId:t}),WLe=e=>z.post(Y0.suggestName,{translatedType:e}),GLe=e=>z.get(Y0.blockTypes,{params:{scopes:e}}),KLe=e=>z.get(Y0.getTopLevelParents(e)),qLe=e=>z.get(Y0.getTree(e)),JLe=(e,t)=>z.post(Y0.duplicate(e),t),YLe=(e,t,n)=>z.post(Y0.duplicateAndAttach(e,t),n),XLe=()=>z.get(Y0.listBrokenBlocks),Z0={...LLe(Y0),...RLe(Y0),...zC(q0),edit:zLe,indexByBlockTypeAndScope:X0,pagesList:BLe,moveAndOrder:VLe,attachChildren:HLe,detachChild:ULe,suggestName:WLe,blockTypes:GLe,getTopLevelParents:KLe,getTree:qLe,duplicate:JLe,duplicateAndAttach:YLe,listBrokenBlocks:XLe},Q0={index:[`public`,`blocks`],showById:e=>[`public`,`blocks`,`${e}`],showBySlug:e=>[`public`,`blocks`,e]},ZLe={index:hb(Q0.index),show:e=>hb(Q0.showById(e))},QLe={show:(e,t)=>z.get(ZLe.show(e),t)},$Le=(e,t)=>()=>Z0.show(e,t).then(e=>e.data.data),eRe=(e,t=!0,n)=>{let{data:r,isLoading:i,refetch:a}=kw({queryKey:[...J0.showById(+e),n],queryFn:$Le(e,{headers:n}),enabled:t});return{block:r??null,isLoading:i,refetch:a}},$0=(e,t)=>()=>QLe.show(e,t).then(e=>e.data.data),e2=(e,t,n=!0)=>{let{data:r,isLoading:i,refetch:a}=kw({queryKey:[...Q0.showBySlug(e),t],queryFn:$0(e,{params:t}),enabled:n});return{block:r??null,isLoading:i,refetch:a}},t2=(e,t,n=!0)=>{let{data:r,isLoading:i,refetch:a}=kw({queryKey:[...Q0.showById(e),t],queryFn:$0(e,{params:t}),enabled:n});return{block:r??null,isLoading:i,refetch:a}},tRe=U(tD)`
3571 width: 20px; 3572 height: 20px; 3573 margin: auto auto; 3574 background-color: ${({theme:e})=>e.colors.palette.grey[40]}; 3575`,nRe={ImageCarouselBlock:!0,ImageGalleryBlock:!0,AccordionBlock:!0,CardBlock:!0,CountdownBlock:!0,HeadlineBlock:!0,IFrameBlock:!0,ImageBlock:!0,KeyVisualBlock:!0,LayoutBackgroundImageBlock:!0,GridLayoutColumnBlock:!0,LayoutRowBlock:!0,LinkBlock:!0,LinkContainerBlock:!0,PageBlock:!0,SectionBlock:!0,SlateBlock:!0,TabBlock:!0,TabContainerBlock:!0,MapsBlock:!0,MapMarkerBlock:!0,videoBlock:!0,feedbackBlock:!0,CardLayoutBlock:!1,IconBlock:!1,DividerBlock:!0},rRe=({iconString:e,title:t,className:n})=>{let{mode:r}=NQ(),i=`${e}.svg`,a=(0,I.useMemo)(()=>r===`development`&&Object.keys(nRe).map(e=>e.toLowerCase()).includes(e.toLowerCase())?`/dev-assets/cms_icons/${i}`:`/cms_icons/${i}`,[r,e,i]);return(0,V.jsx)(tRe,{src:a,className:n,title:t})},n2=e=>e,r2=(e,t,n=n2,r=n2)=>({slug:t.slug===``?null:t.slug,name:t.name,value:n(t.value),translations:t.translations.map(e=>({...e,translatedValue:r(e.translatedValue)})),type:e}),i2=(e,t,n=n2,r=n2)=>({...r2(e,t,n,r),entity:t.entity?.id??null}),iRe=(e,t,n=n2,r=n2)=>({...r2(e,t,n,r),entities:t.entities?.map(({id:e})=>e)??[]}),a2=(e,t,n=n2,r=n2)=>({...r2(e,t,n,r),translations:t.translations.map(e=>({...e,entity:e.entity?e.entity.id:null}))}),aRe=(e,t,n=n2,r=n2)=>({...r2(e,t,n,r),translations:t.translations.map(e=>({...e,entities:e.entities&&Array.isArray(e.entities)?e.entities.map(e=>e.id):null}))}),o2=(e,t,n=n2,r=n2)=>r2(e,t,n,r),s2=(e,t,n=n2,r=n2)=>({...r2(e,t,n,r),entity:t.entity?.id??null}),c2=(e,t=n2,n=n2)=>({slug:e.slug??``,isSlugEnabled:e.slug!==null,name:e.name,value:t(e.value),translations:e.translations.map(e=>({...e,translatedValue:n(e.translatedValue)}))}),l2=(e,t=n2,n=n2)=>({...c2(e,t,n),entity:e.entity}),oRe=(e,t=n2,n=n2)=>({...c2(e,t,n),entities:e.entities}),u2=(e,t=n2,n=n2)=>({...c2(e,t,n),translations:e.translations.map(e=>({...e,entity:e.entity??null}))}),sRe=(e,t=n2,n=n2)=>({...c2(e,t,n),translations:e.translations.map(e=>({...e,entities:e.entities??null,entity:null}))}),d2=(e,t=n2,n=n2)=>c2(e,t,n),f2=(e,t=n2,n=n2)=>({...c2(e,t,n),entity:e.entity}),p2=(e,t)=>{let n={};return e.isSlugEnabled&&e.slug===``&&(n.slug=t(`Field is required`)),e.name||(n.name=t(`Field is required`)),n},m2=(e,t)=>{let n={},r={};return t(e.value,r),Object.keys(r).length>0&&(n.value=r),n},h2=(e,t)=>{let n=p2(e,t);return e.entity||(n.entity=t(`Field is required`)),n},cRe=(e,t)=>{let n=p2(e,t);return e.entities||(n.entities=t(`Field is required`)),n},g2=(e,t)=>OK(e.translations,(e,n)=>{let r={};return t(n.translatedValue,r),Object.keys(r).length>0?{translatedValue:r}:{}}),_2=(e,t)=>OK(e.translations,(e,n)=>{let r={},i={entity:void 0};t(n.translatedValue,n.entity,r,i);let a={};return Object.keys(r).length>0&&(a={...a,translatedValue:r}),i.entity&&(a={...a,...i}),a}),lRe=U.div` 3576 display: grid; 3577 grid-row-gap: ${({theme:e})=>e.spacing(1)}; 3578 grid-column-gap: ${({theme:e})=>e.spacing(1)}; 3579 grid-template-columns: repeat(3, 1fr); 3580 grid-template-rows: repeat(3, 1fr); 3581`,v2=U(tz)` 3582 width: 75px; 3583 height: 75px; 3584 margin: 1.5rem auto; 3585`,y2={top:0,right:0,bottom:0,left:0},uRe={...y2,gap:4},b2=(e,t)=>{if(!t)return e(`Field is required`);let{top:n,left:r,right:i,bottom:a}=t;if(!((n??-1)>=0&&(n??-1)<=50))return e(`{{direction}} has to be between 0 and 50`,{replace:{direction:e(`Top`)}});if(!((r??-1)>=0&&(r??-1)<=50))return e(`{{direction}} has to be between 0 and 50`,{replace:{direction:e(`Left`)}});if(!((i??-1)>=0&&(i??-1)<=50))return e(`{{direction}} has to be between 0 and 50`,{replace:{direction:e(`Right`)}});if(!((a??-1)>=0&&(a??-1)<=50))return e(`{{direction}} has to be between 0 and 50`,{replace:{direction:e(`Bottom`)}})},x2=(e,t)=>{if(!t)return e(`Field is required`);let n=b2(e,t);if(n)return n;if(!((t.gap??-1)>=0&&(t.gap??-1)<=50))return e(`{{direction}} has to be between 0 and 50`,{replace:{direction:e(`Gap`)}})},S2=({showGap:e=!1,...t})=>{let{t:n}=B(),r=t.prefix??`value.padding`,[,i]=cI(r),[,a]=cI(`${r}.top`),[,o]=cI(`${r}.right`),[,s]=cI(`${r}.bottom`),[,c]=cI(`${r}.left`),[,l]=cI(`${r}.gap`),u=i.error??a.error??o.error??s.error??c.error??l.error;return(0,V.jsx)(QR,{name:r,label:n(`Padding`),error:u,children:(0,V.jsxs)(lRe,{children:[(0,V.jsx)(`div`,{}),(0,V.jsx)(v2,{label:n(`Top`),type:`number`,name:`${r}.top`}),(0,V.jsx)(`div`,{}),(0,V.jsx)(v2,{label:n(`Left`),type:`number`,name:`${r}.left`}),e?(0,V.jsx)(v2,{label:n(`Gap`),type:`number`,name:`${r}.gap`}):(0,V.jsx)(`div`,{}),(0,V.jsx)(v2,{label:n(`Right`),type:`number`,name:`${r}.right`}),(0,V.jsx)(`div`,{}),(0,V.jsx)(v2,{label:n(`Bottom`),type:`number`,name:`${r}.bottom`}),(0,V.jsx)(`div`,{})]})})},dRe=U.div` 3586 display: flex; 3587 align-items: center; 3588 gap: ${({theme:e})=>e.spacing(2)}; 3589`,fRe=U(rRe)` 3590 margin: 0; 3591`,pRe=({block:e})=>(0,V.jsxs)(dRe,{children:[(0,V.jsx)(fRe,{iconString:e.type}),e.name]}),mRe=(e,t,n)=>(r,i)=>Z0.options({params:{search:r,page:i,type:e,scopes:t,blockIdsToFilter:n.join(`,`)}}).then(e=>e.data),C2=({name:e,label:t,infoText:n,description:r,blockType:i,clearable:a,required:o,blockIdsToFilter:s=[]})=>{let{scopes:c}=NQ();return(0,V.jsx)(n$,{name:e,label:t,infoText:n,description:r,fetchConfig:lK([...J0.options,i,...c?[c]:[],s.join(`,`)],mRe(i,c,s)),renderOption:e=>(0,V.jsx)(pRe,{block:e}),clearable:a,required:o})},hRe=({name:e,required:t,label:n,description:r,targetFieldName:i,disabled:a})=>{let{currentLanguage:o}=TK(),[{value:s},,{setValue:c}]=cI(`translations.${EK(o)}.${i}`),[l,u,d]=ez(e);return(0,V.jsx)($R,{name:e,label:n,description:r,value:l.value??``,onChange:e=>d.setValue(e.target.value),onBlur:e=>!s&&c(e.target.value),error:u.touched&&u.error?u.error:void 0,required:t,disabled:a})},w2=(e,t)=>
3591{let{t:n}=B(),r=(0,I.useRef)(!1),[i,a]=(0,I.useState)(!1),o=(0,I.useCallback)(async()=>{if(!r.current){r.current=!0,a(!0);try{let r=await Z0.suggestName(n(`BlockType.${e}`));mb(r)&&t(r.data.data.name)}finally{a(!1)}}},[e,t,n]);return{loadName:o,isLoading:i,onRefreshClick:(0,I.useCallback)(async()=>{r.current=!1,o()},[o])}},gRe=U.div` 3592 display: grid; 3593 grid-template-columns: 1fr max-content; 3594 align-items: center; 3595 grid-column-gap: ${({theme:e})=>e.spacing(2)}; 3596`,_Re=({blockType:e,description:t,targetFieldName:n,required:r})=>{let{t:i}=B(),[{value:a},o,{setValue:s}]=cI(`name`),{loadName:c,isLoading:l,onRefreshClick:u}=w2(e,s);return(0,I.useEffect)(()=>{!a&&!o.touched&&c()},[a,o.touched,c]),(0,V.jsxs)(gRe,{children:[(0,V.jsx)(hRe,{label:i(`Name`),name:`name`,disabled:l,description:t,targetFieldName:n,required:r}),(0,V.jsx)(iD,{disabled:l,type:`button`,onClick:u,title:i(`Refresh`),icon:`refresh`})]})},T2=U.div` 3597 display: grid; 3598 grid-template-columns: 1fr max-content; 3599 align-items: center; 3600 grid-column-gap: ${({theme:e})=>e.spacing(2)}; 3601`,E2=({blockType:e,description:t})=>{let{t:n}=B(),[{value:r},i,{setValue:a}]=cI(`name`),{loadName:o,isLoading:s,onRefreshClick:c}=w2(e,a);return(0,I.useEffect)(()=>{!r&&!i.touched&&o()},[r,i.touched,o]),(0,V.jsxs)(T2,{children:[(0,V.jsx)(tz,{label:n(`Name`),name:`name`,disabled:s,description:t,required:!0}),(0,V.jsx)(iD,{disabled:s,type:`button`,onClick:c,title:n(`Refresh`),icon:`refresh`})]})},D2=({targetFieldName:e,...t})=>{let{isMainForm:n}=TK();return n?e?(0,V.jsx)(_Re,{...t,targetFieldName:e}):(0,V.jsx)(E2,{...t}):null},vRe=U(fK)` 3602 margin-bottom: 1rem; 3603`,O2=({required:e=!1})=>{let{apiUrl:t}=NQ(),{t:n}=B(),[{value:r}]=cI(`name`),[{onChange:i,onBlur:a,value:o},s,c]=cI({name:`slug`,validate:e=>l&&!RegExp(`^[a-z0-9]+(?:-[a-z0-9]+)*$`).test(e)?n(`The slug may only contain a-z, 0-9 and separating dashes.`):``}),[l,u]=(0,I.useState)(e||!!o),[d,f]=(0,I.useState)(!1),p=e$(r,500),m=(0,I.useCallback)((e,n)=>{let r={name:n};if(n&&!s.touched||e)return f(!0),z.post(`${t}/blocks/suggest-slug`,r).then(e=>{mb(e)&&(f(!1),i({target:{value:e.data.data.slug,name:`slug`}}))}).finally(()=>{f(!1)})},[s.touched,t,i]),h=(0,I.useCallback)(e=>{u(e),e?m(!0,p):(c.setValue(null),s.initialValue===null&&c.setTouched(!1))},[p,c,m,s.initialValue]);return(0,I.useEffect)(()=>{!s.touched&&l&&o===``&&m(!1,p)},[p,l,m,s.touched,o]),(0,V.jsxs)(V.Fragment,{children:[!e&&(0,V.jsx)(vRe,{value:l,onChange:e=>h(e.target.value),label:n(`Enable Slug`),name:`enable-slug`}),(e||l)&&(0,V.jsxs)(T2,{children:[(0,V.jsx)($R,{disabled:d,label:n(`Slug`),name:`slug`,error:s.touched&&s.error,value:o||``,onChange:i,onBlur:a,required:!0}),(0,V.jsx)(iD,{type:`button`,onClick:()=>{c.setTouched(!1),m(!0,p)},title:n(`Refresh`),disabled:d,icon:`refresh`})]})]})},k2=e=>{let{isMainForm:t}=TK();return t?(0,V.jsx)(O2,{...e}):null},yRe=()=>{let[{value:e}]=cI(`isSlugLoading`),{t}=B();return(0,V.jsx)(vI,{isLoading:e,children:t(`blockSubmitButton.save`)})},A2=({label:e,onClick:t})=>{let{t:n}=B();return(0,V.jsx)(FE,{type:`button`,onClick:t,children:n(`${e}`)})},bRe=U.div` 3604 display: grid; 3605 grid-template-rows: auto; 3606 gap: ${({theme:e})=>e.spacing(2)}; 3607 margin-bottom: ${({theme:e})=>e.spacing(2)}; 3608`,xRe=({children:e})=>(0,V.jsx)(bRe,{children:e}),j2=({name:e,width:t,breakpointName:n,children:r,initialFieldValues:i})=>{let{t:a}=B(),[o,,s]=cI(e),[c,l]=(0,I.useState)(!!o.value),u=(0,I.useCallback)(()=>{s.setValue(i),l(e=>!e)},[s,i]),d=(0,I.useCallback)(()=>{s.setValue(void 0),l(e=>!e)},[s]);return c?(0,V.jsxs)(wG,{children:[(0,V.jsxs)(DG,{children:[n,` (`,`>=`+M2(t),`px)`]}),(0,V.jsx)(TG,{children:r}),(0,V.jsx)(EG,{children:(0,V.jsx)(A2,{label:`Remove`,onClick:d})})]}):(0,V.jsx)(A2,{label:a(`Add {{breakpoint}}`,{breakpoint:n}),onClick:u})},SRe=({breakpointName:e,width:t,children:n})=>(0,V.jsxs)(wG,{children:[(0,V.jsxs)(DG,{children:[e,` (`,`>=`+M2(t),`px)`]}),(0,V.jsx)(TG,{children:n})]}),M2=e=>parseInt(e.split(`rem`)[0])*parseFloat(getComputedStyle(document.documentElement).fontSize),N2=({name:e=`entity`,aspectRatioOptions:t,cropImageWithAspect:n,required:r,label:i})=>{let{t:a}=B(),{aspectRatioOptions:o}=NQ();return(0,V.jsx)(IIe,{label:i??a(`Image`),name:e,aspectRatioOptions:t??o,cropImageWithAspect:n,required:r})},P2=({name:e=`entity`,aspectRatioOptions:t,cropImageWithAspect:n,required:r,label:i})=>{let{aspectRatioOptions:a}=NQ(),{currentLanguage:o,isMainForm:s}=TK(),c=EK(o),l=typeof r==`string`?r===`onlyOnMainForm`&&s:r;return(0,V.jsx)(DK,{name:e,children:(0,V.jsx)(N2,{label:i,name:`translations.${c}.${e}`,aspectRatioOptions:t??a,cropImageWithAspect:n,required:l},`translations.${c}.${e}`)})},CRe=U.div` 3609 display: flex; 3610 justify-content: flex-end; 3611`,wRe=U(lI)` 3612 display: flex; 3613 flex-direction: column; 3614 overflow: hidden; 3615 height: 100%; 3616`,TRe=(e,t)=>({mapFormToRequest:(0,I.useCallback)(n=>e.mapFormStateToRequest(t,n),[t,e]),mapResourceToForm:(0,I.useCallback)(t=>e.mapEditResourceToFormState(t),[e])}),F2=({children:e,block:t,blockForm:n,onSubmit:r,unsavedChangesPrompt:i,footer:a})=>{let{fallbackLocale:o}=NQ(),{t:s}=B(),{mapFormToRequest:c,mapResourceToForm:l}=TRe(n,t),u=(0,I.useCallback)(e=>n.validate(e,s,o),[o,n,s]);return(0,V.jsx)(aI,{onSubmit:e=>r(c(e)),validate:u,initialValues:l(t),children:(0,V.jsxs)(wRe,{children:[i,(0,V.jsx)(UN,{children:e}),(0,V.jsxs)(GN,{children:[(0,V.jsx)(WN,{children:a}),(0,V.jsx)(yRe,{})]})]})})};function ERe(e){return`emptyTranslatedEntity`in e}var I2=e=>{let t=e.blockForm.emptyTranslatedValue!==null;
3616return(0,V.jsx)(fTe,{children:(0,V.jsxs)(F2,{...e,footer:t&&(0,V.jsx)(Yje,{}),children:[t&&(0,V.jsx)(CRe,{children:(0,V.jsx)(mTe,{emptyTranslation:ERe(e.blockForm)?{translatedValue:e.blockForm.emptyTranslatedValue,entity:e.blockForm.emptyTranslatedEntity}:{translatedValue:e.blockForm.emptyTranslatedValue}})}),e.children]})})},DRe=e=>e.name,ORe=e=>e.type,kRe=()=>{let{t:e}=B(),[{value:t},,n]=cI(`value.backgroundColorStops`),{frontendTheme:r}=NQ(),i=t.length>1;return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(tz,{type:`color`,label:e(`Text color`),name:`value.textColor`,required:!0}),(0,V.jsx)(fK,{label:e(`Background gradient`),name:`backgroundGradient`,value:i,onChange:()=>{i?n.setValue([t[0]]):n.setValue([t[0],r.colors.palette.content.main.base])}}),(0,V.jsx)(tz,{type:`color`,label:e(i?`Gradient start color`:`Background color`),name:`value.backgroundColorStops[0]`,required:!0}),i&&(0,V.jsx)(tz,{type:`color`,label:e(`Gradient end color`),name:`value.backgroundColorStops[1]`,required:!0})]})},L2=()=>{let{t:e}=B(),[{value:t}]=cI(`value.colorSchemaType`),[,,n]=cI(`value.textColor`),[,,r]=cI(`value.backgroundColorStops`),{frontendTheme:i}=NQ(),a=(0,I.useMemo)(()=>[{type:`content`,name:e(`Content`)},{type:`background`,name:e(`Background`)},{type:`transparent`,name:e(`Transparent`)},{type:`custom`,name:e(`Custom`)}],[e]),o=e=>{e===`custom`?(n.setValue(i.colors.palette.content.main.contrast),r.setValue([i.colors.palette.content.main.base])):(n.setValue(null),r.setValue(null))};return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(nK,{name:`value.colorSchemaType`,options:a,getValue:ORe,getLabel:DRe,label:e(`Color schema`),clearable:!1,onChange:e=>e.target.value&&o(e.target.value)}),t===`custom`&&(0,V.jsx)(kRe,{})]})},ARe=({blockType:e})=>{let{t}=B(),[{value:n}]=cI(`value.showBottomBorder`);return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(D2,{blockType:e}),(0,V.jsx)(k2,{}),(0,V.jsx)(LQ,{label:t(`Headline`),name:`translatedValue.headline`}),(0,V.jsxs)(MK,{children:[(0,V.jsx)(pK,{label:t(`Default Collapsed`),name:`value.isDefaultCollapsed`}),(0,V.jsx)(pK,{label:t(`Show shadow`),name:`value.showShadow`}),(0,V.jsx)(pK,{label:t(`Show bottom border`),name:`value.showBottomBorder`}),n&&(0,V.jsx)(tz,{type:`color`,label:t(`Bottom border color`),name:`value.bottomBorderColor`}),(0,V.jsx)(L2,{})]})]})},jRe=e=>(0,V.jsx)(I2,{...e,blockForm:H2,children:(0,V.jsx)(ARe,{blockType:e.block.type})}),R2=e=>{let t=L6(e.block.type).Preview;return(0,V.jsx)(t,{block:e.block})},z2=e=>{let t=L6(e.block.type).View;return(0,V.jsx)(t,{block:e.block})},B2=e=>e.value.colorSchemaType===`custom`?{colorSchemaType:e.value.colorSchemaType,backgroundColorStops:e.value.backgroundColorStops,textColor:e.value.textColor}:{colorSchemaType:e.value.colorSchemaType},V2=e=>e.map(e=>`${JSON.stringify(e.translatedValue)} ${JSON.stringify(e.value)}`).sort().join(`,`),MRe=({block:e})=>{let{trackAccordionEvent:t}=K0(),n={$colorSchema:B2(e),$borderBottom:e.value.showBottomBorder,$borderBottomColor:e.value.bottomBorderColor,$showShadow:e.value.showShadow},r=(0,I.useCallback)(n=>t({blockId:e.id,type:n?`open`:`closed`}),[e.id,t]),i=(0,I.useMemo)(()=>V2(e.children),[e.children]);return(0,V.jsx)(qN,{onToggle:r,title:e.translatedValue.headline,initialOpen:!e.value.isDefaultCollapsed,accordionWrapperProps:n,body:(0,V.jsx)(KN,{children:e.children.map(e=>(0,V.jsx)(z2,{block:e},e.id))})},`${e.id}-${i}`)},NRe=({block:e})=>{let{trackAccordionEvent:t}=K0(),n={$colorSchema:B2(e),$borderBottom:e.value.showBottomBorder,$borderBottomColor:e.value.bottomBorderColor,$showShadow:e.value.showShadow},r=(0,I.useCallback)(n=>t({blockId:e.id,type:n?`open`:`closed`}),[e.id,t]),i=(0,I.useMemo)(()=>V2(e.children),[e.children]);return(0,V.jsx)(qN,{onToggle:r,title:e.translatedValue.headline,initialOpen:!e.value.isDefaultCollapsed,accordionWrapperProps:n,body:(0,V.jsx)(KN,{children:e.children.map(e=>(0,V.jsx)(R2,{block:e},e.id))})},`${e.id}-${i}`)},PRe={View:MRe},H2={blockType:`accordionBlock`,type:`layoutBlock`,Form:jRe,Preview:NRe,emptyValue:{isDefaultCollapsed:!0,colorSchemaType:`content`,showShadow:!1,showBottomBorder:!1,bottomBorderColor:`#000`},emptyTranslatedValue:{headline:``},mapEditResourceToFormState:d2,mapFormStateToRequest:(e,t)=>
3616o2(e.type,t),validate:(e,t)=>({...p2(e,t),...p2(e,t),...g2(e,(e,n)=>{e.headline||(n.headline=t(`Field is required`))}),...m2(e,(e,n)=>{e.showBottomBorder&&!e.bottomBorderColor&&(n.bottomBorderColor=t(`Field is required`))})})},FRe={...PRe,...H2},U2=(e,t)=>l0.options(e,t,{showPublicOnly:!0}).then(e=>e.data),IRe=({name:e,label:t,required:n})=>{let[{onChange:r},{touched:i,error:a}]=cI(e),[o,s]=(0,I.useState)(null),c=(0,I.useCallback)(t=>{s(t.target.value),r({target:{name:e,value:t.target.value?.path}})},[e,r]);return(0,V.jsx)(vMe,{name:e,label:t,value:o,required:n,error:i&&a?a:void 0,getLabel:e=>e.filename,onChange:c,fetchConfig:lK(l0.optionsKey,U2),onCreate:(e,t)=>(0,V.jsx)(W2,{selectNewOption:e,onClose:t})})},LRe=({name:e,label:t,required:n})=>(0,V.jsx)(yMe,{name:e,label:t,required:n,getLabel:e=>e.filename,fetchConfig:lK(l0.optionsKey,U2),onCreate:(e,t)=>(0,V.jsx)(W2,{selectNewOption:e,onClose:t})}),W2=({selectNewOption:e,onClose:t})=>{let{t:n}=B(),{uploadFile:r}=pIe(),i=(0,I.useCallback)(async n=>n.file?(e(await r(n)),t(),!0):!1,[r,e,t]);return(0,V.jsx)(aI,{initialValues:{file:null,accessType:`public`,isListable:!0},onSubmit:i,children:(0,V.jsx)(lI,{children:(0,V.jsx)(f0,{title:n(`File upload`),onClose:t,children:(0,V.jsx)(o$,{label:n(`File`),name:`file`})})})})},G2=({name:e,required:t,...n})=>{let{currentLanguage:r,isMainForm:i}=TK(),a=EK(r),o=typeof t==`string`?t===`onlyOnMainForm`&&i:t;return(0,V.jsx)(DK,{name:e,children:(0,V.jsx)(IRe,{name:`translations.${a}.${e}`,required:o,...n},`translations.${a}.${e}`)})},K2=()=>{let{currentLanguage:e}=TK();return`translations.${EK(e)}.translatedValue`},RRe=e=>e.name,zRe=e=>e.type,BRe=({type:e})=>{let{t}=B(),n=K2(),{setFieldValue:r}=qF(),[{value:i}]=cI(`${n}.link.type`),a=(0,I.useMemo)(()=>[{type:`internal`,name:t(`Internal`)},{type:`external`,name:t(`External`)},{type:`drawer`,name:t(`Drawer`)},{type:`page`,name:t(`Page`)},{type:`file`,name:t(`File`)}],[t]);return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(D2,{blockType:e}),(0,V.jsx)(k2,{}),(0,V.jsx)(MK,{children:(0,V.jsx)(N2,{})}),(0,V.jsx)(LQ,{label:t(`Headline`),name:`translatedValue.headline`}),(0,V.jsx)(LQ,{label:t(`Subheadline`),name:`translatedValue.subHeadline`}),(0,V.jsx)(LQ,{label:t(`Description`),name:`translatedValue.description`}),(0,V.jsx)(nK,{name:`${n}.link.type`,options:a,getValue:zRe,getLabel:RRe,label:t(`Link Type`),onChange:e=>{let t=e.target.value;t===`drawer`||t===`page`?r(`${n}.link`,{type:t,block:null}):(t===`external`||t===`internal`)&&r(`${n}.link`,{type:t,url:``})}}),(i===`drawer`||i===`page`)&&(0,V.jsx)(C2,{label:t(`Block`),name:`${n}.link.block`,blockType:`pageBlock`}),(i===`external`||i===`internal`)&&(0,V.jsx)(LQ,{label:t(`Url`),name:`translatedValue.link.url`}),i===`file`&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(LQ,{label:t(`Url`),name:`translatedValue.link.url`,disabled:!0}),(0,V.jsx)(G2,{label:t(`Choose file`),name:`translatedValue.link.url`,required:!0})]})]})},VRe=e=>(0,V.jsx)(I2,{...e,blockForm:Z2,children:(0,V.jsx)(BRe,{type:e.block.type})}),HRe=U(UN)` 3617 padding: 0; 3618`,q2=({blockId:e,onClose:t})=>{let{block:n,isLoading:r}=eRe(e),{trackDrawerView:i}=K0();return(0,I.useEffect)(()=>{n&&i(n.id)},[n,i]),r?(0,V.jsx)(lD,{}):n?(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(fD,{onClose:t}),(0,V.jsx)(HRe,{children:(0,V.jsx)(z2,{block:n})})]}):null},URe=U(UN)` 3619 padding: 0; 3620`,J2=({blockId:e,onClose:t})=>{let{block:n,isLoading:r}=t2(e),{trackDrawerView:i}=K0();return(0,I.useEffect)(()=>{n&&i(n.id)},[n,i]),r?(0,V.jsx)(lD,{}):n?(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(fD,{onClose:t}),(0,V.jsx)(URe,{children:(0,V.jsx)(z2,{block:n})})]}):null},WRe=U.a` 3621 text-decoration: none; 3622 color: ${({theme:e})=>e.colors.palette.black}; 3623`,Y2=U(ub)` 3624 text-decoration: none; 3625 color: ${({theme:e})=>e.colors.palette.black}; 3626`,GRe=U(DG)` 3627 padding: 0; 3628`,KRe=U(f$)` 3629 border-top-left-radius: 4px; 3630 border-top-right-radius: 4px; 3631`,qRe=U(lQ)` 3632 margin-bottom: ${({theme:e})=>e.spacing(2)}; 3633`,JRe=U(uQ)` 3634 margin-bottom: ${({theme:e})=>e.spacing(4)}; 3635`,YRe=({link:e,children:t})=>{let{trackLinkClicked:n}=K0(),{isPublic:r,blockPageBaseUrl:i}=I6(),a=r?J2:q2;if(e.type===`drawer`){let r=e.block;return r?(0,V.jsx)(W1,{render:e=>(0,V.jsx)(HN,{open:e.open,onClose:e.handleClose,onOpened:()=>n({type:`drawer`,blockId:r.id}),children:(0,V.jsx)(a,{blockId:r.id,onClose:e.handleClose})}),children:e=>(0,V.jsx)(`div`,{...e,children:t})}):null}if(e.type===`page`){let r=e.block;if(!r)return null;let a=`${i}/${r.slug}`,o=r.id;return(0,V.jsx)(Y2,{onClick:()=>n({type:`page`,blockId:o}),to:a,children:t})}return e.type===`internal`?(0,V.jsx)(Y2,{onClick:()=>n({type:`internal`,url:e.url}),to:e.url,children:t}):e.type===`external`||e.type===`file`?(0,V.jsx)(WRe,{onClick:()=>n({type:`external`,url:e.url}),href:e.url,target:`_blank`,rel:`noreferrer`,children:t}):null},X2=({block:e})=>(0,V.jsx)(YRe,{link:e.translatedValue.link,children:(0,V.jsxs)(wG,{$clickable:!0,children:[(0,V.jsx)(GRe,{children:(0,V.jsx)(KRe,{image:e.entity,aspectRatio:e.entity?.aspectRatio})}),(0,V.jsxs)(TG,{children:[(0,V.jsx)(qRe,{children:e.translatedValue.headline}),e.translatedValue.subHeadline&&(0,V.jsx)(JRe,{children:e.translatedValue.subHeadline}),e.translatedValue.description]})]})}),XRe={View:X2},ZRe=e=>{switch(e.link.type){case`drawer`:return{type:`drawer`,blockId:e.link.block.id};case`page`:return{type:`page`,blockId:e.link.block.id};case`external`:case`internal`:case`file`:return{type:e.link.type,url:e.link.url}}},Z2={blockType:`cardBlock`,type:`entityBlock`,Form:VRe,Preview:X2,emptyValue:null,emptyTranslatedValue:{headline:``,subHeadline:``,description:``,link:{type:`internal`,url:``}},mapEditResourceToFormState:e=>l2(e,e=>e,e=>({...e,description:e.description??``,subHeadline:e.subHeadline??``})),mapFormStateToRequest:(e,t)=>
3635i2(e.type,t,e=>e,e=>({...e,link:ZRe(e)})),validate:(e,t)=>{let n=p2(e,t);return e.entity||(n.entity=t(`Field is required`)),{...n,...g2(e,(e,n)=>{if(e.headline||(n.headline=t(`Field is required`)),!e.link.type)n.link={type:t(`Field is required`)};else switch(e.link.type){case`drawer`:case`page`:e.link.block||(n.link={block:t(`Field is required`)});break;default:e.link.url||(n.link={url:t(`Field is required`)})}})}}},QRe={...XRe,...Z2},$Re=({blockType:e})=>(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(E2,{blockType:e}),(0,V.jsx)(O2,{})]}),eze=e=>(0,V.jsx)(F2,{...e,blockForm:Q2,children:(0,V.jsx)($Re,{blockType:e.block.type})}),tze=({block:e})=>{let t=e.children.map(e=>(0,V.jsx)(R2,{block:e},e.id));return(0,V.jsx)(wG,{children:t})},nze={View:({block:e})=>{let t=e.children.map(e=>(0,V.jsx)(z2,{block:e},e.id));return(0,V.jsx)(wG,{$clickable:!0,children:t})}},Q2={blockType:`cardLayoutBlock`,type:`layoutBlock`,Form:eze,Preview:tze,emptyTranslatedValue:null,emptyValue:null,mapEditResourceToFormState:d2,mapFormStateToRequest:(e,t)=>o2(e.type,t),validate:(e,t)=>p2(e,t)},rze={...nze,...Q2},ize=(e,t,n)=>{e.colorSchemaType||(t.colorSchemaType=n(`Field is required`)),e.colorSchemaType===`custom`&&(e.textColor||(t.textColor=n(`Field is required`)),e.backgroundColorStops||(t.backgroundColorStops=n(`Field is required`)))},$2=U(rK)` 3636 margin-bottom: ${({theme:e})=>e.spacing(6)}; 3637`,aze=({blockType:e})=>{let{t}=B(),n=[{name:t(`CountdownBlock.Start`),value:`start`},{name:t(`CountdownBlock.Center`),value:`center`},{name:t(`CountdownBlock.End`),value:`end`}],r=[{name:t(`Above`),value:`above`},{name:t(`Below`),value:`below`}],[i]=cI(`value.showTitle`);return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(D2,{blockType:e,targetFieldName:`translatedValue.title`}),(0,V.jsx)(k2,{}),(0,V.jsx)($2,{}),(0,V.jsx)(pK,{label:t(`Show title`),name:`value.showTitle`}),i.value&&(0,V.jsx)(LQ,{label:t(`Title`),name:`translatedValue.title`,required:!0}),(0,V.jsxs)(MK,{children:[i.value&&(0,V.jsx)($Q,{label:t(`Title position`),name:`value.titlePosition`,options:r,required:!0}),(0,V.jsx)($2,{}),(0,V.jsx)(CK,{label:t(`Date`),name:`value.date`,required:!0}),(0,V.jsx)(pK,{label:t(`Show seconds`),name:`value.showSeconds`}),(0,V.jsx)($Q,{options:n,label:t(`Vertical alignment`),name:`value.verticalAlignment`,required:!0}),(0,V.jsx)($2,{}),(0,V.jsx)(L2,{})]})]})},oze=e=>(0,V.jsx)(I2,{...e,blockForm:t4,children:(0,V.jsx)(aze,{blockType:e.block.type})}),e4=({block:{value:e,translatedValue:t}})=>{let n=rwe(BV(e.date||``)),r=e;return n.hasTimeLeft?(0,V.jsx)(nwe,{countdown:n,title:e.showTitle?t.title:void 0,countdownTheme:r,showSeconds:e.showSeconds}):null},sze={View:e4},t4={blockType:`countdownBlock`,type:`block`,Form:oze,Preview:e4,emptyValue:{colorSchemaType:`content`,date:null,showSeconds:!0,showTitle:!0,titlePosition:`below`,verticalAlignment:`start`},emptyTranslatedValue:{title:``},mapEditResourceToFormState:l2,mapFormStateToRequest:(e,t)=>i2(e.type,t),validate:(e,t)=>({...p2(e,t),...m2(e,(e,n)=>{e.date||(n.date=t(`Field is required`)),e.verticalAlignment||(n.verticalAlignment=t(`Field is required`)),!e.showTitle&&!e.titlePosition&&(n.titlePosition=t(`Field is required`)),ize(e,n,t)}),...g2(e,(n,r)=>{!n.title&&e.value.showTitle&&(r.title=t(`Field is required`))})})},cze={...sze,...t4},lze=({blockType:e})=>{let{t}=B(),{setFieldValue:n}=qF(),[{value:r}]=cI(`value.colorType`),i=(0,I.useMemo)(()=>[{value:`solid`,name:t(`Solid`)},{value:`dashed`,name:t(`Dashed`)},{value:`dotted`,name:t(`Dotted`)}],[t]),a=(0,I.useMemo)(()=>[{value:`primary`,name:t(`Primary`)},{value:`secondary`,name:t(`Secondary`)},{value:`custom`,name:t(`Custom`)}],[t]);return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(D2,{blockType:e}),(0,V.jsx)(k2,{}),(0,V.jsx)($Q,{name:`value.lineStyle`,label:t(`Line style`),options:i}),(0,V.jsx)($Q,{name:`value.colorType`,label:t(`Color`),options:a,onChange:e=>{e.target.value===`custom`?n(`value.color`,`#000000`):n(`value.color`,null)}}),r===`custom`&&(0,V.jsx)(tz,{label:t(`Line color`),name:`value.color`,type:`color`,required:!0})]})},uze=e=>(0,V.jsx)(I2,{...e,blockForm:r4,children:(0,V.jsx)(lze,{blockType:e.block.type})}),dze=U.hr` 3638 border: none; 3639 border-top: 2px ${({$lineStyle:e})=>e} ${({$color:e})=>e}; 3640 width: 100%; 3641 margin: 0; 3642 flex-shrink: 0;
3643`,fze=(e,t,n)=>{switch(t){case`primary`:return e.colors.palette.primary.main.base;case`secondary`:return e.colors.palette.secondary.main.base;case`custom`:return n??e.colors.palette.primary.main.base}},n4=({block:e})=>{let t=fze(TE(),e.value.colorType,e.value.color);return(0,V.jsx)(dze,{$color:t,$lineStyle:e.value.lineStyle})},pze={View:n4},r4={blockType:`dividerBlock`,type:`block`,Form:uze,Preview:n4,emptyValue:{lineStyle:`solid`,colorType:`primary`,color:null},emptyTranslatedValue:null,mapEditResourceToFormState:c2,mapFormStateToRequest:(e,t)=>r2(e.type,t),validate:(e,t)=>({...p2(e,t),...m2(e,(e,n)=>{e.colorType===`custom`&&!e.color&&(n.color=t(`Field is required`))})})},mze={...pze,...r4},hze=e=>{let t=t=>[...e,`${t}`,`details`];return{details:e=>z.get(hb(t(e))),detailsKey:t}},gze=(e=>{let t=[...e,`feedback`],n=e=>[...t,`${e}`,`reset`];return{...zC(t),...RC(t),...IC(t),...fce(t),...pce(t),...hze(t),...LC(t),reset:e=>z.put(hb(n(e))),indexKey:t,listKey:[...t,`list`],index:(e,n)=>z.get(hb(t),{...FC(e),params:{...FC(e).params,isTemplate:n==null?null:Number(n)}})}})([]),_ze=e=>(0,V.jsx)(n$,{...e,fetchConfig:Lwe(gze)}),vze=({blockType:e})=>{let{t}=B();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(D2,{blockType:e,targetFieldName:`translatedValue.label`}),(0,V.jsx)(k2,{}),(0,V.jsx)(_ze,{label:t(`Block`),name:`entity`})]})},yze=e=>(0,V.jsx)(I2,{...e,blockForm:u4,children:(0,V.jsx)(vze,{blockType:e.block.type})}),i4;(function(e){e.SINGLE_CHOICE=`singleChoice`,e.MULTIPLE_CHOICE=`multipleChoice`,e.FREE_TEXT=`freeText`,e.RATING=`rating`,e.NUMBER_RATING=`numberRating`,e.NUMBER=`number`})(i4||={});var bze=({index:e,question:t})=>(0,V.jsx)(FQ,{label:t.text,name:`answers.[${e}].freeText`,required:t.isRequired}),xze=({index:e,question:t})=>t.isCompact?(0,V.jsx)(jK,{label:t.text,name:`answers.[${e}].answerOptions`,options:t.answerOptions.map(e=>({name:e.text,value:`${e.id}`})),required:t.isRequired}):(0,V.jsx)(hK,{label:t.text,name:`answers.[${e}].answerOptions`,options:t.answerOptions.map(e=>({name:e.text,value:`${e.id}`})),required:t.isRequired}),Sze=({index:e,question:t})=>{let{t:n}=B(),r=(0,I.useMemo)(()=>`answers.[${e}].number`,[e]);return cI({name:r,validate:e=>{if(e&&!Number.isInteger(Number(e)))return n(`Invalid input`);if(e&&Number(e)<0)return n(`The value must not be negative.`)}}),(0,V.jsx)(tz,{label:t.text,name:r,type:`number`,required:t.isRequired})},Cze=U.button` 3644 ${({theme:e})=>e.segmentedButtons.button}; 3645 transition: ${({theme:e})=>e.transitions.default}; 3646 ${({theme:e,$active:t})=>t&&e.segmentedButtons.activeButton}; 3647`,wze=U.div` 3648 ${({theme:e})=>e.forms.error}; 3649`,Tze=U.div` 3650 ${({theme:e})=>e.forms.description}; 3651`,Eze=U.div` 3652 ${({theme:e})=>e.forms.inlineGroup} 3653 width: 600px; 3654`,Dze=U(rz)` 3655 ${({theme:e})=>e.segmentedButtons.container}; 3656`,Oze=({name:e,label:t,required:n=!1,description:r,scaleStart:i=0,scaleEnd:a=10})=>{let{t:o}=B(),[{value:s},{touched:c,error:l},{setValue:u,setTouched:d}]=cI(e),f=Array.from({length:a-i+1},(e,t)=>i+t),p=(0,I.useCallback)(e=>{d(!0),u(e)},[d,u]);return(0,V.jsxs)(Eze,{children:[t&&(0,V.jsxs)(mK,{children:[t,n&&(0,V.jsx)(`span`,{title:o(`Field is required`),children:`*`})]}),(0,V.jsx)(Dze,{children:f.map(e=>(0,V.jsx)(Cze,{$active:e===s,type:`button`,onClick:()=>p(e),children:e},e))}),c&&l&&(0,V.jsx)(wze,{children:l}),!l&&r&&(0,V.jsx)(Tze,{children:r})]})},kze=({index:e,question:t})=>(0,V.jsx)(Oze,{name:`answers.[${e}].number`,label:t.text,required:t.isRequired}),a4=`32px`,o4=`56px`;U.div` 3657 display: flex; 3658 justify-content: center; 3659 align-items: center; 3660 gap: ${({theme:e})=>e.spacing(1)}; 3661`;var s4=U(nD)` 3662 height: ${({$size:e})=>e==="default"?o4:a4}; 3663 width: ${({$size:e})=>e==="default"?o4:a4}; 3664 color: #ffdf00; 3665 ${({$clickable:e})=>e?H` 3666 cursor: pointer; 3667 `:``}; 3668`,Aze=U.div` 3669 position: absolute; 3670 overflow: hidden; 3671 width: ${({$filling:e})=>e*100}%; 3672 z-index: 1; 3673`,c4=U(nD)` 3674 height: ${({$size:e})=>e==="default"?o4:a4}; 3675 width: ${({$size:e})=>e==="default"?o4:a4}; 3676 ${({$clickable:e})=>e?H` 3677 cursor: pointer; 3678 `:``}; 3679`,jze=U.div` 3680 position: relative; 3681`,Mze=({filling:e,size:t=`default`,onClick:n})=>e>1?(0,V.jsx)(s4,{$clickable:!!n,$icon:`star_filled`,$size:t}):e<0?(0,V.jsx)(c4,{$clickable:!!n,$icon:`star`,$size:t}):(0,V.jsxs)(jze,{onClick:n,children:[(0,V.jsx)(Aze,{$filling:e,children:(0,V.jsx)(s4,{$clickable:!1,$icon:`star_filled`,$size:t})}),(0,V.jsx)(c4,{$clickable:!1,$icon:`star`,$size:t})]}),Nze=U.div` 3682 ${({theme:e})=>e.forms.error}; 3683`,Pze=U.div` 3684 ${({theme:e})=>e.forms.description}; 3685`,Fze=U.div` 3686 ${({theme:e})=>e.forms.inlineGroup} 3687`,Ize=U.div` 3688 display: grid; 3689 grid-template-columns: repeat(5, max-content); 3690 gap: ${({theme:e})=>e.spacing(3)}; 3691`,Lze=({name:e,label:t,required:n=!1,description:r})=>{let{t:i}=B(),[{value:a},{touched:o,error:s},{setValue:c,setTouched:l}]=cI(e),u=(0,I.useCallback)(e=>{l(!0),c(e)},[l,c]);return(0,V.jsxs)(Fze,{children:[t&&(0,V.jsxs)(mK,{children:[t,n&&(0,V.jsx)(`span`,{title:i(`Field is required`),children:`*`})]}),(0,V.jsx)(Ize,{children:Array.from({length:5}).map((e,t)=>(0,V.jsx)(dD,{"aria-checked":a>t,size:`default`,iconComponent:(0,V.jsx)(Mze,{size:`small`,filling:+(a>t)}),title:i(`{{count}} Stars`,{count:t+1}),onClick:()=>u(t+1)},t))}),o&&s&&(0,V.jsx)(Nze,{children:s}),!s&&r&&(0,V.jsx)(Pze,{children:r})]})},Rze=({index:e,question:t})=>(0,V.jsx)(Lze,{name:`answers.[${e}
3691].number`,label:t.text,required:t.isRequired}),zze=({index:e,question:t})=>t.isCompact?(0,V.jsx)(nK,{label:t.text,name:`answers.[${e}].answerOption`,options:t.answerOptions.map(e=>({name:e.text,value:`${e.id}`})),required:t.isRequired}):(0,V.jsx)($Q,{label:t.text,name:`answers.[${e}].answerOption`,options:t.answerOptions.map(e=>({name:e.text,value:`${e.id}`})),required:t.isRequired}),Bze=({index:e,question:t})=>{switch(t.type){case i4.RATING:return(0,V.jsx)(Rze,{index:e,question:t});case i4.NUMBER_RATING:return(0,V.jsx)(kze,{index:e,question:t});case i4.SINGLE_CHOICE:return(0,V.jsx)(zze,{index:e,question:t});case i4.MULTIPLE_CHOICE:return(0,V.jsx)(xze,{index:e,question:t});case i4.FREE_TEXT:return(0,V.jsx)(bze,{index:e,question:t});case i4.NUMBER:return(0,V.jsx)(Sze,{index:e,question:t})}},Vze=U.div` 3692 display: grid; 3693 grid-template-rows: max-content max-content 1fr; 3694 gap: ${({theme:e})=>e.spacing(4)}; 3695`,Hze=U.div` 3696 display: flex; 3697 flex-direction: column; 3698 gap: ${({theme:e})=>e.spacing(2)}; 3699`,Uze=e=>({answers:e.answers.map(e=>({questionId:e.questionId,freeText:e.freeText,number:e.number,answerOptionIds:e.answerOption?[+e.answerOption]:e.answerOptions.map(e=>+e)}))}),Wze=e=>({answers:e.map(e=>({questionId:e.id,freeText:null,number:null,answerOption:null,answerOptions:[]}))}),l4=({feedback:e,onSubmit:t,submitTitle:n,skipSuccessToast:r=!1})=>{let{t:i}=B(),{showToast:a}=PC(),o=(0,I.useMemo)(()=>Wze(e.questions),[e.questions]);return(0,V.jsxs)(Vze,{children:[(0,V.jsx)(lQ,{children:e.name}),e.description&&(0,V.jsx)(H1,{content:e.description}),(0,V.jsx)(aI,{initialValues:o,onSubmit:async e=>{t&&await t(Uze(e))&&!r&&a({type:`success`,title:i(`Feedback`),body:i(`Your feedback has been submitted.`)})},validate:t=>{let n={};if(e.questions.forEach((e,r)=>{if(e.isRequired){let a=t.answers[r];switch(e.type){case i4.SINGLE_CHOICE:a?.answerOption??(n={...n,[r]:{answerOption:i(`Required field`)}});break;case i4.MULTIPLE_CHOICE:(a?.answerOptions==null||a.answerOptions.length===0)&&(n={...n,[r]:{answerOptions:i(`Required field`)}});break;case i4.FREE_TEXT:a?.freeText??(n={...n,[r]:{freeText:i(`Required field`)}});break;case i4.RATING:case i4.NUMBER_RATING:case i4.NUMBER:a?.number??(n={...n,[r]:{number:i(`Required field`)}})}}}),Object.keys(n).length>0)return{answers:n}},children:(0,V.jsxs)(lI,{children:[(0,V.jsx)(Hze,{children:e.questions.map((e,t)=>(0,V.jsx)(Bze,{index:t,question:e},e.id))}),t&&(0,V.jsx)(AG,{$alignItems:`end`,children:(0,V.jsx)(vI,{children:n??i(`Submit`)})})]})})]})},Gze=({block:e})=>(0,V.jsx)(l4,{feedback:e.entity}),Kze=(e,t)=>{let n=[...e,`feedback`,`${t}`,`response`];return{responseKey:n,createResponse:e=>z.post(hb(n),e)}},qze=U.div` 3700 display: grid; 3701 grid-template-rows: max-content 1fr max-content; 3702 gap: ${({theme:e})=>e.spacing(4)}; 3703 justify-content: center; 3704`,Jze=U(lQ)` 3705 display: flex; 3706 justify-content: center; 3707`,Yze=()=>{let{t:e}=B();return(0,V.jsxs)(qze,{children:[(0,V.jsx)(Jze,{children:e(`Not available`)}),(0,V.jsx)(`span`,{children:e(`Feedback is only available for users who are logged-in.`)}),(0,V.jsx)(pNe,{prefix:(0,V.jsx)(nD,{$icon:`caret_left`}),to:`/auth/login`,children:e(`Back to login`)})]})},Xze=U.div` 3708 display: grid; 3709 grid-template-rows: max-content 1fr; 3710 gap: ${({theme:e})=>e.spacing(4)}; 3711 justify-content: center; 3712`,Zze={View:({block:e})=>{let t=e.entity,{t:n}=B(),r=(0,I.useMemo)(()=>Kze([],t.id),[t.id]);return(0,V.jsxs)(Lxe,{fallback:(0,V.jsx)(Yze,{}),children:[t.hasUserResponded&&(0,V.jsxs)(Xze,{children:[(0,V.jsx)(lQ,{children:t.name}),n(`Thank you for submitting feedback!`)]}),!t.hasUserResponded&&(0,V.jsx)(l4,{feedback:e.entity,onSubmit:async e=>mb(await r.createResponse(e))})]})}},u4={blockType:`feedbackBlock`,type:`entityBlock`,Form:yze,Preview:Gze,emptyValue:null,emptyTranslatedValue:null,mapEditResourceToFormState:l2,mapFormStateToRequest:(e,t)=>i2(e.type,t),validate:(e,t)=>p2(e,t)},Qze={...Zze,...u4},$ze=U.div``,eBe=U.div` 3713 display: grid; 3714 height: ${({$mode:e})=>e===`preview`?`80px`:`10px`}; 3715 grid-template-columns: ${({$columns:e})=>e}; 3716`,tBe=U.div` 3717 height: inherit; 3718 background: ${({theme:e})=>e.colors.palette.grey[30]}; 3719`,d4=({breakpointValue:e,mode:t,className:n})=>(0,V.jsx)(eBe,{$mode:t,$columns:Object.values(e.relativeWidths).map(e=>`${e}fr`).join(` `),style:{gap:`${e.padding?.gap||0}px`,padding:`${e.padding?.top||0}px ${e.padding?.right||0}px ${e.padding?.bottom||0}px ${e.padding?.left||0}px `},children:Array.from({length:e.columns},(e,t)=>t+1).map(e=>(0,V.jsx)(tBe,{className:n},e))}),nBe=({breakpointValue:e})=>{let{t}=B();return(0,V.jsxs)($ze,{children:[(0,V.jsx)(lQ,{children:t(`Preview`)}),(0,V.jsx)(d4,{mode:`preview`,breakpointValue:e})]})};function rBe(e){return!!e.disable}function iBe(e){return!!e.iconable}function aBe(e,t){return JSON.stringify(e)===JSON.stringify(t)}function f4(e){return e}function p4(e){return e.name}var oBe=U(nD)`
3720 width: 20px; 3721 height: 20px; 3722`,sBe=U.div` 3723 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 3724 line-height: ${({theme:e})=>e.fonts.lineHeights.default}; 3725 display: grid; 3726 grid-template-rows: ${({$hasTopRow:e,$hasBottomRow:t})=>`${e?`max-content`:``} max-content ${t?`max-content`:``}`}; 3727 width: 100%; 3728 color: ${({theme:e})=>e.colors.forms.controlText}; 3729 gap: ${({theme:e})=>e.spacing(1)}; 3730 padding-bottom: ${({theme:e})=>e.spacing(5)}; 3731 3732 &.has-error { 3733 border-color: ${({theme:e})=>e.colors.forms.controlBorderError}; 3734 } 3735`,cBe=U.div` 3736 flex: 1; 3737 display: grid; 3738 align-items: center; 3739 background-color: transparent; 3740 border: none; 3741 outline: none; 3742`,lBe=U.div` 3743 ${({theme:e})=>e.forms.error}; 3744`,uBe=U.div` 3745 ${({theme:e})=>e.forms.description}; 3746`,dBe=U.div` 3747 display: grid; 3748 grid-template-columns: ${({$withMaxChars:e})=>e?`1fr max-content`:`1fr`}; 3749 gap: ${({theme:e})=>e.spacing(4)}; 3750`,m4=U.span` 3751 margin-left: ${({theme:e})=>e.spacing(1)}; 3752`,fBe=U.button` 3753 ${({theme:e})=>e.segmentedButtons.button}; 3754 transition: ${({theme:e})=>e.transitions.default}; 3755 ${({theme:e,$active:t})=>t&&e.segmentedButtons.activeButton}; 3756`,pBe=U(rz)` 3757 ${({theme:e})=>e.segmentedButtons.container}; 3758`,mBe=({options:e,getValue:t,getLabel:n,name:r,disabled:i,className:a,checkmark:o=(0,V.jsx)(oBe,{$icon:`check`}),showCheckmarks:s,onSelect:c,value:l,compare:u,label:d,error:f,infoText:p,description:m,required:h,readOnly:g,..._})=>{let{t:v}=B(),y=(0,I.useCallback)(e=>l?.some(n=>u(n,t(e)))??!1,[u,t,l]);return(0,V.jsxs)(sBe,{$hasTopRow:!!d,$hasBottomRow:!!f||!!m,className:HE(i&&`is-disabled`,`has-value`,g&&`read-only`,a),..._,children:[d&&(0,V.jsxs)(XR,{htmlFor:r,className:`label`,children:[d,h&&(0,V.jsx)(`span`,{title:v(`Field is required`),children:`*`}),g&&(0,V.jsxs)(m4,{children:[`(`,v(`Read only`),`)`]}),p&&(0,V.jsx)(m4,{children:(0,V.jsx)(JR,{children:p})})]}),(0,V.jsx)(cBe,{className:HE(!!f&&`has-error`),children:(0,V.jsx)(pBe,{className:a,children:e.map(e=>{let t=y(e),a=rBe(e)?e.disable.disabled:!1,l=iBe(e)?e.iconable.icon:null;return(0,V.jsxs)(fBe,{name:r,type:`button`,$active:t,disabled:i||a,onClick:()=>c(e),children:[s&&t?o:l,n(e)]},n(e))})})}),(!!f||!!m)&&(0,V.jsxs)(dBe,{$withMaxChars:!1,children:[f&&(0,V.jsx)(lBe,{id:`${r}_error`,children:f}),!f&&m&&(0,V.jsx)(uBe,{children:m})]})]})},hBe=({value:e,onChange:t,getValue:n=f4,getLabel:r=p4,name:i,compare:a=aBe,...o})=>{let s=(0,I.useCallback)(e=>{t({target:{name:i,value:n(e)}})},[n,i,t]);return(0,V.jsx)(mBe,{...o,name:i,value:e===null?[]:[e],getValue:n,getLabel:r,onSelect:s,compare:a})},gBe=({options:e,disabled:t=!1,readOnly:n=!1,label:r,infoText:i,name:a,description:o,prefix:s,suffix:c,className:l,required:u,showCheckmarks:d,checkmark:f,error:p,getValue:m=f4,getLabel:h=p4,compare:g})=>({controlProps:{options:e,disabled:t,readOnly:n,label:r,infoText:i,description:o,prefix:s,suffix:c,className:l,required:u,showCheckmarks:d,checkmark:f,error:p,getValue:m,getLabel:h,compare:g},useFieldProps:{name:a}}),_Be=e=>{let{controlProps:t,useFieldProps:n}=gBe(e),[r,i,{setValue:a}]=cI(n),o=t=>{let n=t.target.value;e.onChange&&e.onChange({target:{name:e.name,value:n}}),a(n)};return(0,V.jsx)(hBe,{...t,...r,error:i.touched&&i.error?i.error:void 0,onChange:o})},vBe=[1,2,3,4,5,6],yBe=({prefix:e,label:t})=>{let n=`${e}.columns`,[{value:r}]=cI(n),[{value:i},,{setValue:a}]=cI(`${e}.relativeWidths`),o=(0,I.useCallback)(e=>{let t=e.target.value,n=i.toSpliced(t,r-t,...Array.from({length:t-r||0},()=>0));a(n)},[r,i,a]);return(0,V.jsx)(_Be,{name:n,getLabel:e=>String(e),label:t,options:vBe,onChange:o,required:!0})},h4={top:0,left:0,right:0,bottom:0,gap:4},bBe=U.div` 3759 display: grid; 3760 gap: ${({theme:e})=>e.spacing(2)}; 3761 grid-template-columns: 1fr 1fr 1fr 1fr; 3762`,xBe=U.button` 3763 padding: ${({theme:e})=>e.spacing(3)}; 3764 width: 100%; 3765 cursor: pointer; 3766 border: none; 3767 font: inherit; 3768 font-weight: ${({$active:e})=>e?`bold`:`normal`}; 3769 background-color: ${({theme:e,$active:t})=>t?e.colors.palette.primary.main.base:e.colors.palette.grey[20]}; 3770 color: ${({theme:e,$active:t})=>t?e.colors.palette.primary.main.contrast:e.colors.palette.black}; 3771 3772 &:hover { 3773 background-color: ${({theme:e})=>e.colors.palette.grey[30]} 3774 } 3775; 3776} 3777`,SBe=U(d4)` 3778 background-color: ${({theme:e,$active:t})=>t?e.colors.palette.primary.main.contrast:e.colors.palette.grey[80]}; 3779} 3780`,g4={padding:h4,reverseOrder:!1},_4=[{columns:1,relativeWidths:[100],...g4},{columns:2,relativeWidths:[50,50],...g4},{columns:2,relativeWidths:[66,33],...g4},{columns:2,relativeWidths:[33,66],...g4},{columns:3,relativeWidths:[33,33,33],...g4},{columns:3,relativeWidths:[50,25,25],...g4},{columns:3,relativeWidths:[25,25,50],...g4},{columns:4,relativeWidths:[25,25,25,25],...g4}],CBe=({breakpoint:e})=>{let[{value:t},,n]=cI(e),r=(0,I.useCallback)(e=>{n.setValue(e)},[n]);return(0,V.jsx)(bBe,{children:_4.map((e,n)=>(0,V.jsx)(xBe,{type:`button`,onClick:()=>r(e),$active:JSON.stringify(t)===JSON.stringify(e),children:(0,V.jsx)(SBe,{$active:JSON.stringify(t)===JSON.stringify(e),mode:`buttons`,breakpointValue:e})},n))})},v4={columns:2,relativeWidths:[50,50],reverseOrder:!1},wBe=U(qN)` 3781 border-radius: 0; 3782 box-shadow: none; 3783`,TBe=U(KN)` 3784 border-top: none; 3785 padding: 0 ${({theme:e})=>e.spacing(2)}; 3786`,EBe=U(nD)`
3787 width: 20px; 3788 height: 20px; 3789 color: ${({theme:e})=>e.colors.palette.primary.main.base}; 3790`,DBe=U.span` 3791 display: flex; 3792 gap: ${({theme:e})=>e.spacing(2)}; 3793`,y4=({prefix:e,inheritable:t})=>{let{t:n}=B(),[r,,i]=cI(`${e}.padding`),[{value:a}]=cI(`${e}.relativeWidths`),[{value:o}]=cI(`${e}.columns`),[s,c]=(0,I.useState)(!r.value&&!!t),l=(0,I.useMemo)(()=>({columns:o,relativeWidths:a,padding:r.value||h4,reverseOrder:!1}),[o,r,a]),u=(0,I.useMemo)(()=>!_4.some(e=>JSON.stringify(e)===JSON.stringify(l)),[l]);return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(CBe,{breakpoint:e}),(0,V.jsx)(wBe,{title:(0,V.jsxs)(DBe,{children:[n(`Advanced layout`),u&&(0,V.jsx)(EBe,{$icon:`check`})]}),body:(0,V.jsxs)(TBe,{children:[(0,V.jsx)(yBe,{prefix:e,label:n(`Amount of columns`)}),(0,V.jsx)(hI,{name:`${e}.reverseOrder`,render:()=>a.map((t,r)=>(0,V.jsx)(tz,{label:n(`{{number}}. column width (in %)`,{number:r+1}),type:`number`,name:`${e}.relativeWidths.${r}`,min:`0`,max:`100`},r))}),(0,V.jsx)(pK,{label:n(`Reverse block order`),name:`${e}.reverseOrder`}),t&&(0,V.jsx)(fK,{value:s,onChange:e=>{c(e.target.value),s?i.setValue(h4):i.setValue(void 0)},label:n(`Inherit Padding`),name:`${e}-inherit-checkbox`}),(!t||!s)&&(0,V.jsx)(S2,{prefix:`${e}.padding`,showGap:!0}),(0,V.jsx)(nBe,{breakpointValue:l})]})})]})},OBe=({blockType:e})=>{let{t}=B(),{breakpointWidths:n}=TE();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(E2,{blockType:e}),(0,V.jsx)(O2,{}),(0,V.jsxs)(xRe,{children:[(0,V.jsx)(SRe,{breakpointName:t(`Mobile`),width:`0`,children:(0,V.jsx)(y4,{prefix:`value.mobile`})}),(0,V.jsx)(j2,{breakpointName:t(`Tablet`),name:`value.tablet`,width:n.tablet,initialFieldValues:v4,children:(0,V.jsx)(y4,{prefix:`value.tablet`,inheritable:!0})}),(0,V.jsx)(j2,{breakpointName:t(`Desktop`),name:`value.desktop`,width:n.desktop,initialFieldValues:v4,children:(0,V.jsx)(y4,{prefix:`value.desktop`,inheritable:!0})}),(0,V.jsx)(j2,{breakpointName:t(`Large Desktop`),name:`value.largeDesktop`,width:n.largeDesktop,initialFieldValues:v4,children:(0,V.jsx)(y4,{prefix:`value.largeDesktop`,inheritable:!0})})]})]})},kBe=e=>(0,V.jsx)(F2,{...e,blockForm:C4,children:(0,V.jsx)(OBe,{blockType:e.block.type})}),b4=U.div` 3794 display: grid; 3795 3796 ${({$mobile:e,theme:t})=>H` 3797 grid-template-columns: ${e.relativeWidths.map(e=>`${e}fr`).join(` `)}; 3798 ${e.padding&&H` 3799 padding-top: ${t.spacing(e.padding.top)}; 3800 padding-right: ${t.spacing(e.padding.right)}; 3801 padding-bottom: ${t.spacing(e.padding.bottom)}; 3802 padding-left: ${t.spacing(e.padding.left)}; 3803 gap: ${t.spacing(e.padding.gap)}; 3804 `} 3805 `} 3806 ${({$tablet:e,theme:t})=>e&&H` 3807 ${t.breakpoints.tablet} { 3808 grid-template-columns: ${e.relativeWidths.map(e=>`${e}fr`).join(` `)}; 3809 ${e.padding&&H` 3810 padding-top: ${t.spacing(e.padding.top)}; 3811 padding-right: ${t.spacing(e.padding.right)}; 3812 padding-bottom: ${t.spacing(e.padding.bottom)}; 3813 padding-left: ${t.spacing(e.padding.left)}; 3814 gap: ${t.spacing(e.padding.gap)}; 3815 `} 3816 } 3817 `} 3818 ${({$desktop:e,theme:t})=>e&&H` 3819 ${t.breakpoints.desktop} { 3820 grid-template-columns: ${e.relativeWidths.map(e=>`${e}fr`).join(` `)}; 3821 ${e.padding&&H` 3822 padding-top: ${t.spacing(e.padding.top)}; 3823 padding-right: ${t.spacing(e.padding.right)}; 3824 padding-bottom: ${t.spacing(e.padding.bottom)}; 3825 padding-left: ${t.spacing(e.padding.left)}; 3826 gap: ${t.spacing(e.padding.gap)}; 3827 `} 3828 } 3829 `} 3830 ${({$largeDesktop:e,theme:t})=>e&&H` 3831 ${t.breakpoints.largeDesktop} { 3832 grid-template-columns: ${e.relativeWidths.map(e=>`${e}fr`).join(` `)}; 3833 ${e.padding&&H` 3834 padding-top: ${t.spacing(e.padding.top)}; 3835 padding-right: ${t.spacing(e.padding.right)}; 3836 padding-bottom: ${t.spacing(e.padding.bottom)}; 3837 padding-left: ${t.spacing(e.padding.left)}; 3838 gap: ${t.spacing(e.padding.gap)}; 3839 `} 3840 } 3841 `} 3842`,x4=(e,t)=>e===`mobile`?t.value.mobile.reverseOrder:e===`tablet`?t.value.tablet?.reverseOrder??t.value.mobile.reverseOrder:e===`desktop`?t.value.desktop?.reverseOrder??t.value.tablet?.reverseOrder??t.value.mobile.reverseOrder:t.value.largeDesktop?.reverseOrder??t.value.desktop?.reverseOrder??t.value.tablet?.reverseOrder??t.value.mobile.reverseOrder,ABe=({block:e})=>{let{size:t}=qE(),n=(0,I.useMemo)(()=>x4(t,e)?[...e.children].reverse():e.children,[e,t]);return(0,V.jsx)(b4,{$mobile:e.value.mobile,$tablet:e.value.tablet,$desktop:e.value.desktop,$largeDesktop:e.value.largeDesktop,children:n.map(e=>(0,V.jsx)(z2,{block:e},e.id))})},jBe=({block:e})=>{let{size:t}=qE(),n=(0,I.useMemo)(()=>x4(t,e)?[...e.children].reverse():e.children,[e,t]);return(0,V.jsx)(b4,{$mobile:e.value.mobile,$tablet:e.value.tablet,$desktop:e.value.desktop,$largeDesktop:e.value.largeDesktop,children:n.map(e=>(0,V.jsx)(R2,{block:e},e.id))})},S4=(e,t)=>
3842{let n=[];if(t.map((r,i)=>{r?t.reduce((e,t)=>e+t,0)>100&&(n[i]=e(`The total of all column widths must be smaller than 100%`)):n[i]=e(`Field is required`)}),n.length!==0)return n},MBe={View:ABe},C4={blockType:`gridLayoutColumnBlock`,type:`layoutBlock`,Form:kBe,Preview:jBe,emptyValue:{mobile:_4[1]},emptyTranslatedValue:null,mapEditResourceToFormState:d2,mapFormStateToRequest:(e,t)=>o2(e.type,t),validate:(e,t)=>({...p2(e,t),...m2(e,(e,n)=>{let r=x2(t,e.mobile.padding),i=S4(t,e.mobile.relativeWidths);if(r&&(n.mobile||={},n.mobile.padding=r),e.mobile.columns?i&&(n.mobile||={},n.mobile.relativeWidths=i):(n.mobile||={},n.mobile.columns=t(`Field is required`)),e.tablet?.padding&&x2(t,e.tablet.padding)&&(n.tablet={padding:x2(t,e.tablet.padding)}),e.tablet?.relativeWidths){let r=S4(t,e.tablet.relativeWidths);r&&(n.tablet?n.tablet.relativeWidths=r:n.tablet={relativeWidths:r})}if(e.desktop?.padding&&x2(t,e.desktop.padding)&&(n.desktop={padding:x2(t,e.desktop.padding)}),e.desktop?.relativeWidths){let r=S4(t,e.desktop.relativeWidths);r&&(n.desktop?n.desktop.relativeWidths=r:n.desktop={relativeWidths:r})}if(e.largeDesktop?.padding&&x2(t,e.largeDesktop.padding)&&(n.largeDesktop={padding:x2(t,e.largeDesktop.padding)}),e.largeDesktop?.relativeWidths){let r=S4(t,e.largeDesktop.relativeWidths);r&&(n.largeDesktop?n.largeDesktop.relativeWidths=r:n.largeDesktop={relativeWidths:r})}})})},NBe={...MBe,...C4},PBe=[{name:`H1`,value:1},{name:`H2`,value:2},{name:`H3`,value:3},{name:`H4`,value:4},{name:`H5`,value:5},{name:`H6`,value:6}],FBe=e=>
3842e.name,IBe=e=>e.value,LBe=({blockType:e})=>{let{t}=B(),n=[{name:t(`Left`),value:`left`},{name:t(`Center`),value:`center`},{name:t(`Right`),value:`right`}];return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(D2,{blockType:e}),(0,V.jsx)(k2,{}),(0,V.jsx)(LQ,{label:t(`Headline`),name:`translatedValue.headline`,required:!0}),(0,V.jsxs)(MK,{children:[(0,V.jsx)($Q,{label:t(`Text alignment`),name:`value.textAlignment`,options:n,required:!0}),(0,V.jsx)(nK,{label:t(`Size`),name:`value.size`,options:PBe,getLabel:FBe,getValue:IBe})]})]})},RBe=e=>(0,V.jsx)(I2,{...e,blockForm:E4,children:(0,V.jsx)(LBe,{blockType:e.block.type})}),w4=H` 3843 text-align: ${({$textAlignment:e})=>e}; 3844`,zBe={1:U(XN)` 3845 ${w4} 3846 `,2:U(gI)` 3847 ${w4} 3848 `,3:U(lQ)` 3849 ${w4} 3850 `,4:U(ZN)` 3851 ${w4} 3852 `,5:U(uQ)` 3853 ${w4} 3854 `,6:U(dQ)` 3855 ${w4} 3856 `},T4=({block:e})=>{let t=zBe[e.value.size];return t?(0,V.jsx)(t,{$textAlignment:e.value.textAlignment,children:e.translatedValue.headline}):null},BBe={View:T4},E4={blockType:`headlineBlock`,type:`block`,Form:RBe,Preview:T4,emptyValue:{size:1,textAlignment:`left`},emptyTranslatedValue:{headline:``},mapEditResourceToFormState:c2,mapFormStateToRequest:(e,t)=>r2(e.type,t),validate:(e,t)=>({...p2(e,t),...m2(e,(e,n)=>{e.size||(n.size=t(`Field is required`)),e.textAlignment||(n.textAlignment=t(`Field is required`))}),...g2(e,(e,n)=>{e.headline||(n.headline=t(`Field is required`))})})},VBe={...BBe,...E4},HBe=({blockType:e})=>{let{t}=B(),{setFieldValue:n}=qF(),[{value:r}]=cI(`value.iconType`),i=(0,I.useMemo)(()=>[{value:`primary`,name:t(`Primary`)},{value:`secondary`,name:t(`Secondary`)},{value:`custom`,name:t(`Custom`)}],[t]),a=(0,I.useMemo)(()=>[{value:`large`,name:t(`large`)},{value:`small`,name:t(`small`)}],[t]);return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(D2,{blockType:e}),(0,V.jsx)(k2,{}),(0,V.jsx)(LRe,{name:`entity`,label:t(`Icon file (SVG)`),required:!0}),(0,V.jsx)($Q,{name:`value.iconType`,label:t(`Color`),options:i,onChange:e=>{e.target.value!==`custom`&&n(`value.color`,null)}}),r===`custom`&&(0,V.jsx)(tz,{label:t(`Icon color`),name:`value.color`,type:`color`,required:!0}),(0,V.jsx)($Q,{name:`value.size`,label:t(`Size`),options:a})]})},UBe=e=>(0,V.jsx)(I2,{...e,blockForm:O4,children:(0,V.jsx)(HBe,{blockType:e.block.type})}),WBe={small:18,large:24},GBe=U.span` 3857 display: inline-block; 3858 flex-shrink: 0; 3859 color: ${({$color:e})=>e}; 3860 width: ${({$size:e})=>e}px; 3861 height: ${({$size:e})=>e}px; 3862 3863 svg { 3864 display: block; 3865 width: 100%; 3866 height: 100%; 3867 fill: currentColor; 3868 } 3869`,D4=({block:e})=>{let t=TE(),{data:n}=kw({queryKey:[`files`,e.entity?.id],queryFn:()=>z.get(`files/${e.entity?.id}`).then(e=>e.data)});return!e.entity||!n?null:(0,V.jsx)(GBe,{$color:(()=>{switch(e.value.iconType){case`primary`:return t.colors.palette.primary.main.base;case`secondary`:return t.colors.palette.secondary.main.base;case`custom`:return e.value.color??t.colors.palette.primary.main.base}})(),$size:WBe[e.value.size],dangerouslySetInnerHTML:{__html:n}})},KBe={View:D4},O4={blockType:`iconBlock`,type:`entityBlock`,Form:UBe,Preview:D4,emptyValue:{iconType:`primary`,color:null,size:`large`},emptyTranslatedValue:null,mapEditResourceToFormState:l2,mapFormStateToRequest:(e,t)=>i2(e.type,t),validate:(e,t)=>{let n=p2(e,t);return e.entity||(n.entity=t(`Field is required`)),{...n,...m2(e,(e,n)=>{e.iconType===`custom`&&!e.color&&(n.color=t(`Field is required`))})}}},qBe={...KBe,...O4},JBe=({blockType:e})=>{let{t}=B();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(D2,{blockType:e}),(0,V.jsx)(k2,{}),(0,V.jsx)(LQ,{label:t(`Source`),name:`translatedValue.src`})]})},YBe=e=>(0,V.jsx)(I2,{...e,blockForm:A4,children:(0,V.jsx)(JBe,{blockType:e.block.type})}),XBe=U.iframe` 3870 position: absolute; 3871 left: 0; 3872 top: 0; 3873 right: 0; 3874 bottom: 0; 3875 width: 100%; 3876 height: 100%; 3877`,k4=({block:e})=>(0,V.jsx)(RQ,{$aspect:16/9,children:(0,V.jsx)(XBe,{src:e.translatedValue.src})}),ZBe={View:k4},A4={blockType:`iframeBlock`,type:`block`,Form:YBe,Preview:k4,emptyValue:null,emptyTranslatedValue:{src:``},mapEditResourceToFormState:c2,mapFormStateToRequest:(e,t)=>r2(e.type,t),validate:(e,t)=>({...p2(e,t),...g2(e,(e,n)=>
3877{e.src||(n.src=t(`Field is required`))})})},QBe={...ZBe,...A4},$Be=e=>(0,V.jsxs)(F2,{...e,blockForm:M4,children:[(0,V.jsx)(E2,{blockType:e.block.type}),(0,V.jsx)(O2,{}),(0,V.jsx)(N2,{})]}),j4=({block:e})=>(0,V.jsx)(f$,{image:e.entity,alt:e.entity?.alt||e.name}),eVe={View:j4},M4={blockType:`imageBlock`,type:`entityBlock`,Form:$Be,Preview:j4,emptyValue:null,emptyTranslatedValue:null,mapEditResourceToFormState:l2,mapFormStateToRequest:(e,t)=>i2(e.type,t),validate:h2},tVe={...eVe,...M4},nVe=U.img` 3878 width: 100%; 3879 height: 130px; 3880 object-fit: contain; 3881 user-select: none; 3882 pointer-events: none; 3883`,rVe=U.div` 3884 display: flex; 3885 justify-content: center; 3886 align-items: center; 3887 padding: ${({theme:e})=>e.spacing(2)} 0; 3888 user-select: none; 3889`,iVe=({image:e,handleDelete:t})=>{let{t:n}=B(),{attributes:r,listeners:i,setNodeRef:a,transform:o,transition:s}=YPe({id:e.id}),c={transform:L$.Transform.toString(o),transition:s};return(0,V.jsx)(`div`,{ref:a,style:c,children:(0,V.jsxs)(wG,{$color:`content`,$clickable:!0,children:[(0,V.jsx)(nVe,{src:e.url,alt:e.alt||e.name}),(0,V.jsxs)(rVe,{children:[(0,V.jsx)(iD,{title:n(`Delete`),ariaLabel:n(`Delete`),size:`small`,type:`button`,color:`danger`,icon:`delete`,onClick:()=>t(e.id)}),(0,V.jsx)(dD,{...r,...i,title:n(`Drag`),icon:`drag_indicator`})]})]})})},aVe=U.div` 3890 display: grid; 3891 grid-template-columns: repeat(auto-fit, 130px); 3892 gap: 16px; 3893`,N4=({images:e,onDelete:t,onDragEnd:n})=>{let{t:r}=B();return(0,V.jsxs)(jPe,{collisionDetection:MNe,onDragEnd:t=>{let{active:r,over:i}=t;r.id!==i?.id&&n(I1(e,e.findIndex(e=>e.id===r.id),e.findIndex(e=>e.id===i?.id)))},children:[(0,V.jsx)(HPe,{items:e,children:(0,V.jsx)(aVe,{children:e.map(e=>(0,V.jsx)(iVe,{image:e,handleDelete:t},e.id))})}),e.length===0&&(0,V.jsx)(uG,{children:r(`No images selected.`)})]})},oVe=U.div` 3894 margin: ${({theme:e})=>e.spacing(4)} 0; 3895`,sVe=({blockType:e})=>{let{t}=B(),{currentLanguage:n}=TK(),[{value:r},,{setValue:i}]=cI(`translations.${EK(n)}.entities`),a=r&&r.length>0?eMe(r[0]):null;return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(D2,{blockType:e}),(0,V.jsx)(k2,{}),(0,V.jsxs)(MK,{children:[(0,V.jsx)(pK,{label:t(`Enable autoplay`),name:`value.enableAutoplay`,infoText:t(`The picture carousel automatically switches to the next picture after a certain time.`)}),(0,V.jsx)(tz,{name:`value.displayDuration`,label:t(`Display duration of image in seconds`),type:`number`,required:!0}),(0,V.jsx)(pK,{label:t(`Loop animation`),name:`value.loopAnimation`,infoText:t(`When the last image is reached, the image carousel automatically jumps back to the first image.`)}),(0,V.jsx)(pK,{label:t(`Display image progress with dots`),name:`value.enablePagination`}),(0,V.jsx)(pK,{label:t(`Activate navigation points`),name:`value.enableNavigation`,infoText:t(`Small dots below the image carousel show the number of images and allow you to jump directly to a specific image.`)})]}),(0,V.jsx)(P2,{name:r?`entities.${r.length}`:`entities.0`,cropImageWithAspect:a??void 0,required:!1}),(0,V.jsxs)(oVe,{children:[(0,V.jsx)(YR,{children:t(`Selected images`)}),(0,V.jsx)(N4,{images:r??[],onDelete:e=>{i(r?r.filter(t=>t.id!==e):null)},onDragEnd:i})]})]})},cVe=e=>(0,V.jsx)(I2,{...e,blockForm:z3,children:(0,V.jsx)(sVe,{blockType:e.block.type})});function P4(e){return typeof e==`object`&&!!e&&`constructor`in e&&e.constructor===Object}function F4(e={},t={}){let n=[`__proto__`,`constructor`,`prototype`];Object.keys(t).filter(e=>n.indexOf(e)<0).forEach(n=>{e[n]===void 0?e[n]=t[n]:P4(t[n])&&P4(e[n])&&Object.keys(t[n]).length>0&&F4(e[n],t[n])})}var I4={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:``},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:``,host:``,hostname:``,href:``,origin:``,pathname:``,protocol:``,search:``}};function L4(){let e=typeof document<`u`?document:{};return F4(e,I4),e}var lVe={document:I4,navigator:{userAgent:``},location:{hash:``,host:``,hostname:``,href:``,origin:``,pathname:``,protocol:``,search:``},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return``}}},Image(){},Date(){},screen:{},setTimeout(){}
vendor: 4,431 bytes, line 3895
3895,clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>`u`?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>`u`||clearTimeout(e)}};function R4(){let e=typeof window<`u`?window:{};return F4(e,lVe),e}function uVe(e=``){return e.trim().split(` `).filter(e=>!!e.trim())}function dVe(e){let t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch{}try{delete t[e]}catch{}})}function z4(e,t=0){return setTimeout(e,t)}function B4(){return Date.now()}function fVe(e){let t=R4(),n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||=e.style,n}function pVe(e,t=`x`){let n=R4(),r,i,a,o=fVe(e);return n.WebKitCSSMatrix?(i=o.transform||o.webkitTransform,i.split(`,`).length>6&&(i=i.split(`, `).map(e=>e.replace(`,`,`.`)).join(`, `)),a=new n.WebKitCSSMatrix(i===`none`?``:i)):(a=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue(`transform`).replace(`translate(`,`matrix(1, 0, 0, 1,`),r=a.toString().split(`,`)),t===`x`&&(i=n.WebKitCSSMatrix?a.m41:r.length===16?parseFloat(r[12]):parseFloat(r[4])),t===`y`&&(i=n.WebKitCSSMatrix?a.m42:r.length===16?parseFloat(r[13]):parseFloat(r[5])),i||0}function V4(e){return typeof e==`object`&&!!e&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)===`Object`}function mVe(e){return typeof window<`u`&&window.HTMLElement!==void 0?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function H4(...e){let t=Object(e[0]);for(let n=1;n<e.length;n+=1){let r=e[n];if(r!=null&&!mVe(r)){let e=Object.keys(Object(r)).filter(e=>e!==`__proto__`&&e!==`constructor`&&e!==`prototype`);for(let n=0,i=e.length;n<i;n+=1){let i=e[n],a=Object.getOwnPropertyDescriptor(r,i);a!==void 0&&a.enumerable&&(V4(t[i])&&V4(r[i])?r[i].__swiper__?t[i]=r[i]:H4(t[i],r[i]):!V4(t[i])&&V4(r[i])?(t[i]={},r[i].__swiper__?t[i]=r[i]:H4(t[i],r[i])):t[i]=r[i])}}}return t}function U4(e,t,n){e.style.setProperty(t,n)}function W4({swiper:e,targetPosition:t,side:n}){let r=R4(),i=-e.translate,a=null,o,s=e.params.speed;e.wrapperEl.style.scrollSnapType=`none`,r.cancelAnimationFrame(e.cssModeFrameID);let c=t>i?`next`:`prev`,l=(e,t)=>c===`next`&&e>=t||c===`prev`&&e<=t,u=()=>{o=new Date().getTime(),a===null&&(a=o);let c=Math.max(Math.min((o-a)/s,1),0),d=.5-Math.cos(c*Math.PI)/2,f=i+d*(t-i);if(l(f,t)&&(f=t),e.wrapperEl.scrollTo({[n]:f}),l(f,t)){e.wrapperEl.style.overflow=`hidden`,e.wrapperEl.style.scrollSnapType=``,setTimeout(()=>{e.wrapperEl.style.overflow=``,e.wrapperEl.scrollTo({[n]:f})}),r.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=r.requestAnimationFrame(u)};u()}function G4(e,t=``){let n=R4(),r=[...e.children];return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&r.push(...e.assignedElements()),t?r.filter(e=>e.matches(t)):r}function hVe(e,t){let n=[t];for(;n.length>0;){let t=n.shift();if(e===t)return!0;n.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}function gVe(e,t){let n=R4(),r=t.contains(e);return!r&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&(r=[...t.assignedElements()].includes(e),r||=hVe(e,t)),r}function K4(e){try{console.warn(e);return}catch{}}function q4(e,t=[]){let n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:uVe(t)),n}function _Ve(e,t){let n=[];for(;e.previousElementSibling;){let r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function vVe(e,t){let n=[];for(;e.nextElementSibling;){let r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function J4(e,t){return R4().getComputedStyle(e,null).getPropertyValue(t)}function Y4(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function X4(e,t){let n=[],r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function Z4(e,t,n){let r=R4();return n?e[t===`width`?`offsetWidth`:`offsetHeight`]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t===`width`?`margin-right`:`margin-top`))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t===`width`?`margin-left`:`margin-bottom`)):e.offsetWidth}function Q4(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function $4(e,t=``){e.innerHTML=typeof trustedTypes<`u`?trustedTypes.createPolicy(`html`,{createHTML:e=>e}).createHTML(t):t}function e3(e,t,n,r){return e.params.createElements&&Object.keys(r).forEach(i=>
vendor: 6,010 bytes, line 3895
3895{if(!n[i]&&n.auto===!0){let a=G4(e.el,`.${r[i]}`)[0];a||(a=q4(`div`,r[i]),a.className=r[i],e.el.append(a)),n[i]=a,t[i]=a}}),n}var t3=`<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>`;function n3({swiper:e,extendParams:t,on:n,emit:r}){t({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:`swiper-button-disabled`,hiddenClass:`swiper-button-hidden`,lockClass:`swiper-button-lock`,navigationDisabledClass:`swiper-navigation-disabled`}}),e.navigation={nextEl:null,prevEl:null,arrowSvg:t3};function i(t){let n;return t&&typeof t==`string`&&e.isElement&&(n=e.el.querySelector(t)||e.hostEl.querySelector(t),n)?n:(t&&(typeof t==`string`&&(n=[...document.querySelectorAll(t)]),e.params.uniqueNavElements&&typeof t==`string`&&n&&n.length>1&&e.el.querySelectorAll(t).length===1?n=e.el.querySelector(t):n&&n.length===1&&(n=n[0])),t&&!n?t:n)}function a(t,n){let r=e.params.navigation;t=Q4(t),t.forEach(t=>{t&&(t.classList[n?`add`:`remove`](...r.disabledClass.split(` `)),t.tagName===`BUTTON`&&(t.disabled=n),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?`add`:`remove`](r.lockClass))})}function o(){let{nextEl:t,prevEl:n}=e.navigation;if(e.params.loop){a(n,!1),a(t,!1);return}a(n,e.isBeginning&&!e.params.rewind),a(t,e.isEnd&&!e.params.rewind)}function s(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r(`navigationPrev`))}function c(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r(`navigationNext`))}function l(){let t=e.params.navigation;if(e.params.navigation=e3(e,e.originalParams.navigation,e.params.navigation,{nextEl:`swiper-button-next`,prevEl:`swiper-button-prev`}),!(t.nextEl||t.prevEl))return;let n=i(t.nextEl),r=i(t.prevEl);Object.assign(e.navigation,{nextEl:n,prevEl:r}),n=Q4(n),r=Q4(r);let a=(n,r)=>{if(n){if(t.addIcons&&n.matches(`.swiper-button-next,.swiper-button-prev`)&&!n.querySelector(`svg`)){let e=document.createElement(`div`);$4(e,t3),n.appendChild(e.querySelector(`svg`)),e.remove()}n.addEventListener(`click`,r===`next`?c:s)}!e.enabled&&n&&n.classList.add(...t.lockClass.split(` `))};n.forEach(e=>a(e,`next`)),r.forEach(e=>a(e,`prev`))}function u(){let{nextEl:t,prevEl:n}=e.navigation;t=Q4(t),n=Q4(n);let r=(t,n)=>{t.removeEventListener(`click`,n===`next`?c:s),t.classList.remove(...e.params.navigation.disabledClass.split(` `))};t.forEach(e=>r(e,`next`)),n.forEach(e=>r(e,`prev`))}n(`init`,()=>{e.params.navigation.enabled===!1?f():(l(),o())}),n(`toEdge fromEdge lock unlock`,()=>{o()}),n(`destroy`,()=>{u()}),n(`enable disable`,()=>{let{nextEl:t,prevEl:n}=e.navigation;if(t=Q4(t),n=Q4(n),e.enabled){o();return}[...t,...n].filter(e=>!!e).forEach(t=>t.classList.add(e.params.navigation.lockClass))}),n(`click`,(t,n)=>{let{nextEl:i,prevEl:a}=e.navigation;i=Q4(i),a=Q4(a);let o=n.target,s=a.includes(o)||i.includes(o);if(e.isElement&&!s){let e=n.path||n.composedPath&&n.composedPath();e&&(s=e.find(e=>i.includes(e)||a.includes(e)))}if(e.params.navigation.hideOnClick&&!s){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===o||e.pagination.el.contains(o)))return;let t;i.length?t=i[0].classList.contains(e.params.navigation.hiddenClass):a.length&&(t=a[0].classList.contains(e.params.navigation.hiddenClass)),r(t===!0?`navigationShow`:`navigationHide`),[...i,...a].filter(e=>!!e).forEach(t=>t.classList.toggle(e.params.navigation.hiddenClass))}});let d=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(` `)),l(),o()},f=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(` `)),u()};Object.assign(e.navigation,{enable:d,disable:f,update:o,init:l,destroy:u})}function r3(e=``){return`.${e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,`\\$1`).replace(/ /g,`.`)}`}function yVe({swiper:e,extendParams:t,on:n,emit:r}){let i=`swiper-pagination`;t({pagination:{el:null,bulletElement:`span`,clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:`bullets`,dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${i}-bullet`,bulletActiveClass:`${i}-bullet-active`,modifierClass:`${i}-`,currentClass:`${i}-current`,totalClass:`${i}-total`,hiddenClass:`${i}-hidden`,progressbarFillClass:`${i}-progressbar-fill`,progressbarOppositeClass:`${i}-progressbar-opposite`,clickableClass:`${i}-clickable`,lockClass:`${i}-lock`,horizontalClass:`${i}-horizontal`,verticalClass:`${i}-vertical`,paginationDisabledClass:`${i}-disabled`}}),e.pagination={el:null,bullets:[]};let a,o=0;function s(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(t,n){let{bulletActiveClass:r}=e.params.pagination;t&&(t=t[`${n===`prev`?`previous`:`next`}ElementSibling`],t&&(t.classList.add(`${r}-${n}`),t=t[`${n===`prev`?`previous`:`next`}ElementSibling`],t&&t.classList.add(`${r}-${n}-${n}`)))}function l(e,t,n){if(e%=n,t%=n,t===e+1)return`next`;if(t===e-1)return`previous`}function u(t){let n=t.target.closest(r3(e.params.pagination.bulletClass));if(!n)return;t.preventDefault();let r=Y4(n)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===r)return;let t=l(e.realIndex,r,e.slides.length);t===`next`?e.slideNext():t===`previous`?e.slidePrev():e.slideToLoop(r)}else e.slideTo(r)}function d(){let t=e.rtl,n=e.params.pagination;if(s())return;let i=e.pagination.el;i=Q4(i);let l,u,d=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,f=e.params.loop?Math.
3895ceil(d/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(u=e.previousRealIndex||0,l=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):e.snapIndex===void 0?(u=e.previousIndex||0,l=e.activeIndex||0):(l=e.snapIndex,u=e.previousSnapIndex),n.type===`bullets`&&e.pagination.bullets&&e.pagination.bullets.length>0){let r=e.pagination.bullets,s,d,f;if(n.dynamicBullets&&(a=Z4(r[0],e.isHorizontal()?`width`:`height`,!0),i.forEach(t=>{t.style[e.isHorizontal()?`width`:`height`]=`${a*(n.dynamicMainBullets+4)}px`}),n.dynamicMainBullets>1&&u!==void 0&&(o+=l-(u||0),o>n.dynamicMainBullets-1?o=n.dynamicMainBullets-1:o<0&&(o=0)),s=Math.max(l-o,0),d=s+(Math.min(r.length,n.dynamicMainBullets)-1),f=(d+s)/2),r.forEach(e=>{let t=[...[``,`-next`,`-next-next`,`-prev`,`-prev-prev`,`-main`].map(e=>`${n.bulletActiveClass}${e}`)].map(e=>typeof e==`string`&&e.includes(` `)?e.split(` `):e).flat();e.classList.remove(...t)}),i.length>1)r.forEach(t=>{let r=Y4(t);r===l?t.classList.add(...n.bulletActiveClass.split(` `)):e.isElement&&t.setAttribute(`part`,`bullet`),n.dynamicBullets&&(r>=s&&r<=d&&t.classList.add(...`${n.bulletActiveClass}-main`.split(` `)),r===s&&c(t,`prev`),r===d&&c(t,`next`))});else{let t=r[l];if(t&&t.classList.add(...n.bulletActiveClass.split(` `)),e.isElement&&r.forEach((e,t)=>{e.setAttribute(`part`,t===l?`bullet-active`:`bullet`)}),n.dynamicBullets){let e=r[s],t=r[d];for(let e=s;e<=d;e+=1)r[e]&&r[e].classList.add(...`${n.bulletActiveClass}-main`.split(` `));c(e,`prev`),c(t,`next`)}}if(n.dynamicBullets){let i=Math.min(r.length,n.dynamicMainBullets+4),o=(a*i-a)/2-f*a,s=t?`right`:`left`;r.forEach(t=>{t.style[e.isHorizontal()?s:`top`]=`${o}px`})}}i.forEach((t,i)=>{if(n.type===`fraction`&&(t.querySelectorAll(r3(n.currentClass)).forEach(e=>{e.textContent=n.formatFractionCurrent(l+1)}),t.querySelectorAll(r3(n.totalClass)).forEach(e=>{e.textContent=n.formatFractionTotal(f)})),n.type===`progressbar`){let r;r=n.progressbarOpposite?e.isHorizontal()?`vertical`:`horizontal`:e.isHorizontal()?`horizontal`:`vertical`;let i=(l+1)/f,a=1,o=1;r===`horizontal`?a=i:o=i,t.querySelectorAll(r3(n.progressbarFillClass)).forEach(t=>{t.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${o})`,t.style.transitionDuration=`${e.params.speed}ms`})}n.type===`custom`&&n.renderCustom?($4(t,n.renderCustom(e,l+1,f)),i===0&&r(`paginationRender`,t)):(i===0&&r(`paginationRender`,t),r(`paginationUpdate`,t)),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?`add`:`remove`](n.lockClass)})}function f(){let t=e.params.pagination;if(s())return;let n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length,i=e.pagination.el;i=Q4(i);let a=``;if(t.type===`bullets`){let r=e.params.loop?Math.ceil(n/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&r>n&&(r=n);for(let n=0;n<r;n+=1)t.renderBullet?a+=t.renderBullet.call(e,n,t.bulletClass):a+=`<${t.bulletElement} ${e.isElement?`part="bullet"`:``} class="${t.bulletClass}"></${t.bulletElement}>`}t.type===`fraction`&&(a=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`),t.type===`progressbar`&&(a=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`),e.pagination.bullets=[],i.forEach(n=>{t.type!==`custom`&&$4(n,a||``),t.type===`bullets`&&e.pagination.bullets.push(...n.querySelectorAll(r3(t.bulletClass)))}),t.type!==`custom`&&r(`paginationRender`,i[0])}function p(){e.params.pagination=e3(e,e.originalParams.pagination,e.params.pagination,{el:`swiper-pagination`});let t=e.params.pagination;if(!t.el)return;let n;typeof t.el==`string`&&e.isElement&&(n=e.el.querySelector(t.el)),!n&&typeof t.el==`string`&&(n=[...document.querySelectorAll(t.el)]),n||=t.el,n&&n.length!==0&&(e.params.uniqueNavElements&&typeof t.el==`string`&&Array.isArray(n)&&n.length>1&&(n=[...e.el.querySelectorAll(t.el)],n.length>1&&(n=n.find(t=>X4(t,`.swiper`)[0]===e.el))),Array.isArray(n)&&n.length===1&&(n=n[0]),Object.assign(e.pagination,{el:n}
vendor: 1,364 bytes, line 3895
3895),n=Q4(n),n.forEach(n=>{t.type===`bullets`&&t.clickable&&n.classList.add(...(t.clickableClass||``).split(` `)),n.classList.add(t.modifierClass+t.type),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.type===`bullets`&&t.dynamicBullets&&(n.classList.add(`${t.modifierClass}${t.type}-dynamic`),o=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),t.type===`progressbar`&&t.progressbarOpposite&&n.classList.add(t.progressbarOppositeClass),t.clickable&&n.addEventListener(`click`,u),e.enabled||n.classList.add(t.lockClass)}))}function m(){let t=e.params.pagination;if(s())return;let n=e.pagination.el;n&&(n=Q4(n),n.forEach(n=>{n.classList.remove(t.hiddenClass),n.classList.remove(t.modifierClass+t.type),n.classList.remove(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(n.classList.remove(...(t.clickableClass||``).split(` `)),n.removeEventListener(`click`,u))})),e.pagination.bullets&&e.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(` `)))}n(`changeDirection`,()=>{if(!e.pagination||!e.pagination.el)return;let t=e.params.pagination,{el:n}=e.pagination;n=Q4(n),n.forEach(n=>{n.classList.remove(t.horizontalClass,t.verticalClass),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),n(`init`,()=>{e.params.pagination.enabled===!1?g():(p(),f(),d())}),n(`activeIndexChange`,()=>
3895{e.snapIndex===void 0&&d()}),n(`snapIndexChange`,()=>{d()}),n(`snapGridLengthChange`,()=>{f(),d()}),n(`destroy`,()=>{m()}),n(`enable disable`,()=>{let{el:t}=e.pagination;t&&(t=Q4(t),t.forEach(t=>t.classList[e.enabled?`remove`:`add`](e.params.pagination.lockClass)))}),n(`lock unlock`,()=>{d()}),n(`click`,(t,n)=>{let i=n.target,a=Q4(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&a&&a.length>0&&!i.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;a[0].classList.contains(e.params.pagination.hiddenClass)===!0?r(`paginationShow`):r(`paginationHide`),a.forEach(t=>t.classList.toggle(e.params.pagination.hiddenClass))}});let h=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=Q4(t),t.forEach(t=>t.classList.remove(e.params.pagination.paginationDisabledClass))),p(),f(),d()},g=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=Q4(t),t.forEach(t=>t.classList.add(e.params.pagination.paginationDisabledClass))),m()};Object.assign(e.pagination,{enable:h,disable:g,render:f,update:d,init:p,destroy:m})}function bVe({swiper:e,extendParams:t,on:n,emit:r,params:i}){e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,o,s=i&&i.autoplay?i.autoplay.delay:3e3,c=i&&i.autoplay?i.autoplay.delay:3e3,l,u=new Date().getTime(),d,f,p,m,h,g;function _(t){e&&!e.destroyed&&e.wrapperEl&&t.target===e.wrapperEl&&(e.wrapperEl.removeEventListener(`transitionend`,_),!(g||t.detail&&t.detail.bySwiperTouchMove)&&T())}let v=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?d=!0:d&&=(c=l,!1);let t=e.autoplay.paused?l:u+c-new Date().getTime();e.autoplay.timeLeft=t,r(`autoplayTimeLeft`,t,t/s),o=requestAnimationFrame(()=>{v()})},y=()=>{let t;if(t=e.virtual&&e.params.virtual.enabled?e.slides.find(e=>e.classList.contains(`swiper-slide-active`)):e.slides[e.activeIndex],t)return parseInt(t.getAttribute(`data-swiper-autoplay`),10)},b=()=>{let t=e.params.autoplay.delay,n=y();return!Number.isNaN(n)&&n>0&&(t=n),t},x=t=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(o),v();let n=t;n===void 0&&(n=b(),s=n,c=n),l=n;let i=e.params.speed,d=()=>{e&&!e.destroyed&&(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(i,!0,!0),r(`autoplay`)):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,i,!0,!0),r(`autoplay`)):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(i,!0,!0),r(`autoplay`)):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,i,!0,!0),r(`autoplay`)),e.params.cssMode&&(u=new Date().getTime(),requestAnimationFrame(()=>{x()})))};return n>0?(clearTimeout(a),a=setTimeout(()=>{d()},n)):requestAnimationFrame(()=>{d()}),n},S=()=>{u=new Date().getTime(),e.autoplay.running=!0,x(),r(`autoplayStart`)},C=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(o),r(`autoplayStop`)},w=(t,n)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),t||(h=!0);let i=()=>{r(`autoplayPause`),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener(`transitionend`,_):T()};if(e.autoplay.paused=!0,n){i();return}
3895l=(l||e.params.autoplay.delay)-(new Date().getTime()-u),!(e.isEnd&&l<0&&!e.params.loop)&&(l<0&&(l=0),i())},T=()=>{e.isEnd&&l<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(u=new Date().getTime(),h?(h=!1,x(l)):x(),e.autoplay.paused=!1,r(`autoplayResume`))},E=()=>{if(e.destroyed||!e.autoplay.running)return;let t=L4();t.visibilityState===`hidden`&&(h=!0,w(!0)),t.visibilityState===`visible`&&T()},D=t=>{t.pointerType===`mouse`&&(h=!0,g=!0,!(e.animating||e.autoplay.paused)&&w(!0))},O=t=>{t.pointerType===`mouse`&&(g=!1,e.autoplay.paused&&T())},k=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener(`pointerenter`,D),e.el.addEventListener(`pointerleave`,O))},A=()=>{e.el&&typeof e.el!=`string`&&(e.el.removeEventListener(`pointerenter`,D),e.el.removeEventListener(`pointerleave`,O))},j=()=>{L4().addEventListener(`visibilitychange`,E)},M=()=>{L4().removeEventListener(`visibilitychange`,E)};n(`init`,()=>{e.params.autoplay.enabled&&(k(),j(),S())}),n(`destroy`,()=>{A(),M(),e.autoplay.running&&C()}),n(`_freeModeStaticRelease`,()=>{(p||h)&&T()}),n(`_freeModeNoMomentumRelease`,()=>{e.params.autoplay.disableOnInteraction?C():w(!0,!0)}),n(`beforeTransitionStart`,(t,n,r)=>{!e.destroyed&&e.autoplay.running&&(r||!e.params.autoplay.disableOnInteraction?w(!0,!0):C())}),n(`sliderFirstMove`,()=>{if(!e.destroyed&&e.autoplay.running){if(e.params.autoplay.disableOnInteraction){C();return}f=!0,p=!1,h=!1,m=setTimeout(()=>{h=!0,p=!0,w(!0)},200)}}),n(`touchEnd`,()=>{if(!e.destroyed&&e.autoplay.running&&f){if(clearTimeout(m),clearTimeout(a),e.params.autoplay.disableOnInteraction){p=!1,f=!1;return}p&&e.params.cssMode&&T(),p=!1,f=!1}}),n(`slideChange`,()=>{!e.destroyed&&e.autoplay.running&&e.autoplay.paused&&(l=b(),s=b())}),Object.assign(e.autoplay,{start:S,stop:C,pause:w,resume:T})}var i3;function xVe(){let e=R4(),t=L4();return{smoothScroll:t.documentElement&&t.documentElement.style&&`scrollBehavior`in t.documentElement.style,touch:!!(`ontouchstart`in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function a3(){return i3||=xVe(),i3}var o3;function SVe({userAgent:e}={}){let t=a3(),n=R4(),r=n.navigator.platform,i=e||n.navigator.userAgent,a={ios:!1,android:!1},o=n.screen.width,s=n.screen.height,c=i.match(/(Android);?[\s\/]+([\d.]+)?/),l=i.match(/(iPad)(?!\1).*OS\s([\d_]+)/),u=i.match(/(iPod)(.*OS\s([\d_]+))?/),d=!l&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f=r===`Win32`,p=r===`MacIntel`;return!l&&p&&t.touch&&[`1024x1366`,`1366x1024`,`834x1194`,`1194x834`,`834x1112`,`1112x834`,`768x1024`,`1024x768`,`820x1180`,`1180x820`,`810x1080`,`1080x810`].indexOf(`${o}x${s}`)>=0&&(l=i.match(/(Version)\/([\d.]+)/),l||=[0,1,`13_0_0`],p=!1),c&&!f&&(a.os=`android`,a.android=!0),(l||d||u)&&(a.os=`ios`,a.ios=!0),a}function s3(e={}){return o3||=SVe(e),o3}var c3;function CVe(){let e=R4(),t=s3(),n=!1;function r(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf(`safari`)>=0&&t.indexOf(`chrome`)<0&&t.indexOf(`android`)<0}if(r()){let t=String(e.navigator.userAgent);if(t.includes(`Version/`)){let[e,r]=t.split(`Version/`)[1].split(` `)[0].split(`.`).map(e=>Number(e));n=e<16||e===16&&r<2}}let i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),a=r(),o=a||i&&t.ios;return{isSafari:n||a,needPerspectiveFix:n,need3dFix:o,isWebView:i}}function l3(){return c3||=CVe(),c3}function wVe({swiper:e,on:t,emit:n}){let r=R4(),i=null,a=null,o=()=>{e&&!e.destroyed&&e.initialized&&(n(`beforeResize`),n(`resize`))},s=()=>{e&&!e.destroyed&&e.initialized&&(i=new ResizeObserver(t=>{a=r.requestAnimationFrame(()=>{let{width:n,height:r}=e,i=n,a=r;t.forEach(({contentBoxSize:t,contentRect:n,target:r})=>{r&&r!==e.el||(i=n?n.width:(t[0]||t).inlineSize,a=n?n.height:(t[0]||t).blockSize)}),(i!==n||a!==r)&&o()})}),i.observe(e.el))},c=()=>{a&&r.cancelAnimationFrame(a),i&&i.unobserve&&e.el&&(i.unobserve(e.el),i=null)},l=()=>{e&&!e.destroyed&&e.initialized&&n(`orientationchange`)};t(`init`,()=>{if(e.params.resizeObserver&&r.ResizeObserver!==void 0){s();return}r.addEventListener(`resize`,o),r.addEventListener(`orientationchange`,l)}),t(`destroy`,()=>{c(),r.removeEventListener(`resize`,o),r.removeEventListener(`orientationchange`,l)})}function TVe({swiper:e,extendParams:t,on:n,emit:r}){let i=[],a=R4(),o=(t,n={})=>{let o=new(a.MutationObserver||a.WebkitMutationObserver)(t=>{if(e.__preventObserver__)return;if(t.length===1){r(`observerUpdate`,t[0]);return}let n=function(){r(`observerUpdate`,t[0])};a.requestAnimationFrame?a.requestAnimationFrame(n):a.setTimeout(n,0)});o.observe(t,{attributes:n.attributes===void 0||n.attributes,childList:e.isElement||(n.childList===void 0||n).childList,characterData:n.characterData===void 0||n.characterData}),i.push(o)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n(`init`,()=>{if(e.params.observer){if(e.params.observeParents){let t=X4(e.hostEl);for(let e=0;e<t.length;e+=1)o(t[e])}o(e.hostEl,{childList:e.params.observeSlideChildren}),o(e.wrapperEl,{attributes:!1})}}),n(`destroy`,()=>
vendor: 10,864 bytes, line 3895
3895{i.forEach(e=>{e.disconnect()}),i.splice(0,i.length)})}var EVe={on(e,t,n){let r=this;if(!r.eventsListeners||r.destroyed||typeof t!=`function`)return r;let i=n?`unshift`:`push`;return e.split(` `).forEach(e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)}),r},once(e,t,n){let r=this;if(!r.eventsListeners||r.destroyed||typeof t!=`function`)return r;function i(...n){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy,t.apply(r,n)}return i.__emitterProxy=t,r.on(e,i,n)},onAny(e,t){let n=this;if(!n.eventsListeners||n.destroyed||typeof e!=`function`)return n;let r=t?`unshift`:`push`;return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){let t=this;if(!t.eventsListeners||t.destroyed||!t.eventsAnyListeners)return t;let n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){let n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||e.split(` `).forEach(e=>{t===void 0?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((r,i)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)})}),n},emit(...e){let t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let n,r,i;return typeof e[0]==`string`||Array.isArray(e[0])?(n=e[0],r=e.slice(1,e.length),i=t):(n=e[0].events,r=e[0].data,i=e[0].context||t),r.unshift(i),(Array.isArray(n)?n:n.split(` `)).forEach(e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(t=>{t.apply(i,[e,...r])}),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach(e=>{e.apply(i,r)})}),t}};function DVe(){let e=this,t,n,r=e.el;t=e.params.width!==void 0&&e.params.width!==null?e.params.width:r.clientWidth,n=e.params.height!==void 0&&e.params.height!==null?e.params.height:r.clientHeight,!(t===0&&e.isHorizontal()||n===0&&e.isVertical())&&(t=t-parseInt(J4(r,`padding-left`)||0,10)-parseInt(J4(r,`padding-right`)||0,10),n=n-parseInt(J4(r,`padding-top`)||0,10)-parseInt(J4(r,`padding-bottom`)||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))}function OVe(){let e=this;function t(t,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||0)}let n=e.params,{wrapperEl:r,slidesEl:i,rtlTranslate:a,wrongRTL:o}=e,s=e.virtual&&n.virtual.enabled,c=s?e.virtual.slides.length:e.slides.length,l=G4(i,`.${e.params.slideClass}, swiper-slide`),u=s?e.virtual.slides.length:l.length,d=[],f=[],p=[],m=n.slidesOffsetBefore;typeof m==`function`&&(m=n.slidesOffsetBefore.call(e));let h=n.slidesOffsetAfter;typeof h==`function`&&(h=n.slidesOffsetAfter.call(e));let g=e.snapGrid.length,_=e.slidesGrid.length,v=e.size-m-h,y=n.spaceBetween,b=-m,x=0,S=0;if(v===void 0)return;typeof y==`string`&&y.indexOf(`%`)>=0?y=parseFloat(y.replace(`%`,``))/100*v:typeof y==`string`&&(y=parseFloat(y)),e.virtualSize=-y-m-h,l.forEach(e=>{a?e.style.marginLeft=``:e.style.marginRight=``,e.style.marginBottom=``,e.style.marginTop=``}),n.centeredSlides&&n.cssMode&&(U4(r,`--swiper-centered-offset-before`,``),U4(r,`--swiper-centered-offset-after`,``)),n.cssMode&&(U4(r,`--swiper-slides-offset-before`,`${m}px`),U4(r,`--swiper-slides-offset-after`,`${h}px`));let C=n.grid&&n.grid.rows>1&&e.grid;C?e.grid.initSlides(l):e.grid&&e.grid.unsetSlides();let w,T=n.slidesPerView===`auto`&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>n.breakpoints[e].slidesPerView!==void 0).length>0;for(let r=0;r<u;r+=1){w=0;let i=l[r];if(!(i&&(C&&e.grid.updateSlide(r,i,l),J4(i,`display`)===`none`))){if(s&&n.slidesPerView===`auto`)n.virtual.slidesPerViewAutoSlideSize&&(w=n.virtual.slidesPerViewAutoSlideSize),w&&i&&(n.roundLengths&&(w=Math.floor(w)),i.style[e.getDirectionLabel(`width`)]=`${w}px`);else if(n.slidesPerView===`auto`){T&&(i.style[e.getDirectionLabel(`width`)]=``);let r=getComputedStyle(i),a=i.style.transform,o=i.style.webkitTransform;if(a&&(i.style.transform=`none`),o&&(i.style.webkitTransform=`none`),n.roundLengths)w=e.isHorizontal()?Z4(i,`width`,!0):Z4(i,`height`,!0);else{let e=t(r,`width`),n=t(r,`padding-left`),a=t(r,`padding-right`),o=t(r,`margin-left`),s=t(r,`margin-right`),c=r.getPropertyValue(`box-sizing`);if(c&&c===`border-box`)w=e+o+s;else{let{clientWidth:t,offsetWidth:r}=i;w=e+n+a+o+s+(r-t)}}a&&(i.style.transform=a),o&&(i.style.webkitTransform=o),n.roundLengths&&(w=Math.floor(w))}else w=(v-(n.slidesPerView-1)*y)/n.slidesPerView,n.roundLengths&&(w=Math.floor(w)),i&&(i.style[e.getDirectionLabel(`width`)]=`${w}px`);i&&(i.swiperSlideSize=w),p.push(w),n.centeredSlides?(b=b+w/2+x/2+y,x===0&&r!==0&&(b=b-v/2-y),r===0&&(b=b-v/2-y),Math.abs(b)<1/1e3&&(b=0),n.roundLengths&&(b=Math.floor(b)),S%n.slidesPerGroup===0&&d.push(b),f.push(b)):(n.roundLengths&&(b=Math.floor(b)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup===0&&d.push(b),f.push(b),b=b+w+y),e.virtualSize+=w+y,x=w,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,v)+h,a&&o&&(n.effect===`slide`||n.effect===`coverflow`)&&(r.style.width=`${e.virtualSize+y}px`),n.setWrapperSize&&(r.style[e.getDirectionLabel(`width`)]=`${e.virtualSize+y}px`),C&&e.grid.updateWrapperSize(w,d),!n.centeredSlides){let t=n.slidesPerView!==`auto`&&n.slidesPerView%1!=0,r=n.snapToSlideEdge&&!n.loop&&(n.slidesPerView===`auto`||t),i=d.length;if(r){let e;if(n.slidesPerView===`auto`){e=1;let t=0;for(let n=p.length-1;n>=0&&(t+=p[n]+(n<p.length-1?y:0),t<=v);--n)e=p.length-n}else e=Math.floor(n.slidesPerView);i=Math.max(u-e,0)}let a=[];for(let t=0;t<d.length;t+=1){let o=d[t];n.roundLengths&&(o=Math.floor(o)),r?t<=i&&a.push(o):d[t]<=e.virtualSize-v&&a.push(o)}d=a,Math.floor(e.virtualSize-v)-Math.floor(d[d.length-1])>1&&(r||d.push(e.virtualSize-v))}if(s&&n.loop){let t=p[0]+y;if(n.slidesPerGroup>1){let r=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),i=t*n.slidesPerGroup;for(let e=0;e<r;e+=1)d.push(d[d.length-1]+i)}for(let r=0;r<e.virtual.slidesBefore+e.virtual.slidesAfter;r+=1)n.slidesPerGroup===1&&d.push(d[d.length-1]+t),f.push(f[f.length-1]+t),e.virtualSize+=t}if(d.length===0&&(d=[0]),y!==0){let t=e.isHorizontal()&&a?`marginLeft`:e.getDirectionLabel(`marginRight`);l.filter((e,t)=>!n.cssMode||n.loop?!0:t!==l.length-1).forEach(e=>{e.style[t]=`${y}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;p.forEach(t=>{e+=t+(y||0)}),e-=y;let t=e>v?e-v:0;d=d.map(e=>e<=0?-m:e>t?t+h:e)}if(n.centerInsufficientSlides){let e=0;if(p.forEach(t=>{e+=t+(y||0)}),e-=y,e<v){let t=(v-e)/2;d.forEach((e,n)=>{d[n]=e-t}),f.forEach((e,n)=>{f[n]=e+t})}}if(Object.assign(e,{slides:l,snapGrid:d,slidesGrid:f,slidesSizesGrid:p}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){U4(r,`--swiper-centered-offset-before`,`${-d[0]}px`),U4(r,`--swiper-centered-offset-after`,`${e.size/2-p[p.length-1]/2}px`);let t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+n)}if(u!==c&&e.emit(`slidesLengthChange`),d.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit(`snapGridLengthChange`)),f.length!==_&&e.emit(`slidesGridLengthChange`),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit(`slidesUpdated`),!s&&!n.cssMode&&(n.effect===`slide`||n.effect===`fade`)){let t=`${n.containerModifierClass}backface-hidden`,r=e.el.classList.contains(t);u<=n.maxBackfaceHiddenSlides?r||e.el.classList.add(t):r&&e.el.classList.remove(t)}}function kVe(e){let t=this,n=[],r=t.virtual&&t.params.virtual.enabled,i=0,a;typeof e==`number`?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);let o=e=>r?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if(t.params.slidesPerView!==`auto`&&t.params.slidesPerView>1){if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{n.push(e)});else for(a=0;a<Math.ceil(t.params.slidesPerView);a+=1){let e=t.activeIndex+a;if(e>t.slides.length&&!r)break;n.push(o(e))}}else n.push(o(t.activeIndex));for(a=0;a<n.length;a+=1)if(n[a]!==void 0){let e=n[a].offsetHeight;i=e>i?e:i}(i||i===0)&&(t.wrapperEl.style.height=`${i}px`)}function AVe(){let e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r<t.length;r+=1)t[r].swiperSlideOffset=(e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop)-n-e.cssOverflowAdjustment()}var u3=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function jVe(e=this&&this.translate||0){let t=this,n=t.params,{slides:r,rtlTranslate:i,snapGrid:a}=t;if(r.length===0)return;r[0].swiperSlideOffset===void 0&&t.updateSlidesOffset();let o=-e;i&&(o=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let s=n.spaceBetween;typeof s==`string`&&s.indexOf(`%`)>=0?s=parseFloat(s.replace(`%`,``))/100*t.size:typeof s==`string`&&(s=parseFloat(s));for(let e=0;e<r.length;e+=1){let c=r[e],l=c.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(l-=r[0].swiperSlideOffset);let u=(o+(n.centeredSlides?t.minTranslate():0)-l)/(c.swiperSlideSize+s),d=(o-a[0]+(n.centeredSlides?t.minTranslate():0)-l)/(c.swiperSlideSize+s),f=-(o-l),p=f+t.slidesSizesGrid[e],m=f>=0&&f<=t.size-t.slidesSizesGrid[e],h=f>=0&&f<t.size-1||p>1&&p<=t.size||f<=0&&p>=t.size;h&&(t.visibleSlides.push(c),t.visibleSlidesIndexes.push(e)),u3(c,h,n.slideVisibleClass),u3(c,m,n.slideFullyVisibleClass),c.progress=i?-u:u,c.originalProgress=i?-d:d}}function MVe(e){let t=this;if(e===void 0){let n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}let n=t.params,r=t.maxTranslate()-t.minTranslate(),{progress:i,isBeginning:a,isEnd:o,progressLoop:s}=t,c=a,l=o;if(r===0)i=0,a=!0,o=!0;else{i=(e-t.minTranslate())/r;let n=Math.abs(e-t.minTranslate())<1,s=Math.abs(e-t.maxTranslate())<1;a=n||i<=0,o=s||i>=1,n&&(i=0),s&&(i=1)}if(n.loop){let n=t.getSlideIndexByData(0),r=t.getSlideIndexByData(t.slides.length-1),i=t.slidesGrid[n],a=t.slidesGrid[r],o=t.slidesGrid[t.slidesGrid.length-1],c=Math.abs(e);s=c>=i?(c-i)/o:(c+o-a)/o,s>1&&--s}Object.assign(t,{progress:i,progressLoop:s,isBeginning:a,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),a&&!c&&t.emit(`reachBeginning toEdge`),o&&!l&&t.emit(`reachEnd toEdge`),(c&&!a||l&&!o)&&t.emit(`fromEdge`),t.emit(`progress`,i)}var d3=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function NVe(){let e=this,{slides:t,params:n,slidesEl:r,activeIndex:i}=e,a=e.virtual&&n.virtual.enabled,o=e.grid&&n.grid&&n.grid.rows>1,s=e=>G4(r,`.${n.slideClass}${e}, swiper-slide${e}`)[0],c,l,u;if(a){if(n.loop){let t=i-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),c=s(`[data-swiper-slide-index="${t}"]`)}else c=s(`[data-swiper-slide-index="${i}"]`)}else o?(c=t.find(e=>e.column===i),u=t.find(e=>e.column===i+1),l=t.find(e=>e.column===i-1)):c=t[i];c&&(o||(u=vVe(c,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u&&(u=t[0]),l=_Ve(c,`.${n.slideClass}
3895, swiper-slide`)[0],n.loop)),t.forEach(e=>{d3(e,e===c,n.slideActiveClass),d3(e,e===u,n.slideNextClass),d3(e,e===l,n.slidePrevClass)}),e.emitSlidesClasses()}var f3=(e,t)=>{if(!e||e.destroyed||!e.params)return;let n=t.closest(e.isElement?`swiper-slide`:`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&!t.lazyPreloaderManaged&&t.remove())})),t&&!t.lazyPreloaderManaged&&t.remove()}},p3=(e,t)=>{if(!e.slides[t])return;let n=e.slides[t].querySelector(`[loading="lazy"]`);n&&n.removeAttribute(`loading`)},m3=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext,n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);let r=e.params.slidesPerView===`auto`?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let n=i,a=[n-t];a.push(...Array.from({length:t}).map((e,t)=>n+r+t)),e.slides.forEach((t,n)=>{a.includes(t.column)&&p3(e,n)});return}let a=i+r-1;if(e.params.rewind||e.params.loop)for(let r=i-t;r<=a+t;r+=1){let t=(r%n+n)%n;(t<i||t>a)&&p3(e,t)}else for(let r=Math.max(i-t,0);r<=Math.min(a+t,n-1);r+=1)r!==i&&(r>a||r<i)&&p3(e,r)};function PVe(e){let{slidesGrid:t,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate,i;for(let e=0;e<t.length;e+=1)t[e+1]===void 0?r>=t[e]&&(i=e):r>=t[e]&&r<t[e+1]-(t[e+1]-t[e])/2?i=e:r>=t[e]&&r<t[e+1]&&(i=e+1);return n.normalizeSlideIndex&&(i<0||i===void 0)&&(i=0),i}function FVe(e){let t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:i,activeIndex:a,realIndex:o,snapIndex:s}=t,c=e,l,u=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if(c===void 0&&(c=PVe(t)),r.indexOf(n)>=0)l=r.indexOf(n);else{let e=Math.min(i.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/i.slidesPerGroup)}if(l>=r.length&&(l=r.length-1),c===a&&!t.params.loop){l!==s&&(t.snapIndex=l,t.emit(`snapIndexChange`));return}if(c===a&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=u(c);return}let d=t.grid&&i.grid&&i.grid.rows>1,f;if(t.virtual&&i.virtual.enabled)f=i.loop?u(c):c;else if(d){let e=t.slides.find(e=>e.column===c),n=parseInt(e.getAttribute(`data-swiper-slide-index`),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),f=Math.floor(n/i.grid.rows)}else if(t.slides[c]){let e=t.slides[c].getAttribute(`data-swiper-slide-index`);f=e?parseInt(e,10):c}else f=c;Object.assign(t,{previousSnapIndex:s,snapIndex:l,previousRealIndex:o,realIndex:f,previousIndex:a,activeIndex:c}),t.initialized&&m3(t),t.emit(`activeIndexChange`),t.emit(`snapIndexChange`),(t.initialized||t.params.runCallbacksOnInit)&&(o!==f&&t.emit(`realIndexChange`),t.emit(`slideChange`))}function IVe(e,t){let n=this,r=n.params,i=e.closest(`.${r.slideClass}, swiper-slide`);!i&&n.isElement&&t&&t.length>
vendor: 26,683 bytes, line 3895
38951&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!i&&e.matches&&e.matches(`.${r.slideClass}, swiper-slide`)&&(i=e)});let a=!1,o;if(i){for(let e=0;e<n.slides.length;e+=1)if(n.slides[e]===i){a=!0,o=e;break}}if(i&&a)n.clickedSlide=i,n.clickedIndex=n.virtual&&n.params.virtual.enabled?parseInt(i.getAttribute(`data-swiper-slide-index`),10):o;else{n.clickedSlide=void 0,n.clickedIndex=void 0;return}r.slideToClickedSlide&&n.clickedIndex!==void 0&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}var LVe={updateSize:DVe,updateSlides:OVe,updateAutoHeight:kVe,updateSlidesOffset:AVe,updateSlidesProgress:jVe,updateProgress:MVe,updateSlidesClasses:NVe,updateActiveIndex:FVe,updateClickedSlide:IVe};function RVe(e=this.isHorizontal()?`x`:`y`){let t=this,{params:n,rtlTranslate:r,translate:i,wrapperEl:a}=t;if(n.virtualTranslate)return r?-i:i;if(n.cssMode)return i;let o=pVe(a,e);return o+=t.cssOverflowAdjustment(),r&&(o=-o),o||0}function zVe(e,t){let n=this,{rtlTranslate:r,params:i,wrapperEl:a,progress:o}=n,s=0,c=0;n.isHorizontal()?s=r?-e:e:c=e,i.roundLengths&&(s=Math.floor(s),c=Math.floor(c)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?s:c,i.cssMode?a[n.isHorizontal()?`scrollLeft`:`scrollTop`]=n.isHorizontal()?-s:-c:i.virtualTranslate||(n.isHorizontal()?s-=n.cssOverflowAdjustment():c-=n.cssOverflowAdjustment(),a.style.transform=`translate3d(${s}px, ${c}px, 0px)`);let l,u=n.maxTranslate()-n.minTranslate();l=u===0?0:(e-n.minTranslate())/u,l!==o&&n.updateProgress(e),n.emit(`setTranslate`,n.translate,t)}function BVe(){return-this.snapGrid[0]}function VVe(){return-this.snapGrid[this.snapGrid.length-1]}function HVe(e=0,t=this.params.speed,n=!0,r=!0,i){let a=this,{params:o,wrapperEl:s}=a;if(a.animating&&o.preventInteractionOnTransition)return!1;let c=a.minTranslate(),l=a.maxTranslate(),u;if(u=r&&e>c?c:r&&e<l?l:e,a.updateProgress(u),o.cssMode){let e=a.isHorizontal();if(t===0)s[e?`scrollLeft`:`scrollTop`]=-u;else{if(!a.support.smoothScroll)return W4({swiper:a,targetPosition:-u,side:e?`left`:`top`}),!0;s.scrollTo({[e?`left`:`top`]:-u,behavior:`smooth`})}return!0}return t===0?(a.setTransition(0),a.setTranslate(u),n&&(a.emit(`beforeTransitionStart`,t,i),a.emit(`transitionEnd`))):(a.setTransition(t),a.setTranslate(u),n&&(a.emit(`beforeTransitionStart`,t,i),a.emit(`transitionStart`)),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener(`transitionend`,a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,a.animating=!1,n&&a.emit(`transitionEnd`))},a.wrapperEl.addEventListener(`transitionend`,a.onTranslateToWrapperTransitionEnd))),!0}var UVe={getTranslate:RVe,setTranslate:zVe,minTranslate:BVe,maxTranslate:VVe,translateTo:HVe};function WVe(e,t){let n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=e===0?`0ms`:``),n.emit(`setTransition`,e,t)}function h3({swiper:e,runCallbacks:t,direction:n,step:r}){let{activeIndex:i,previousIndex:a}=e,o=n;o||=i>a?`next`:i<a?`prev`:`reset`,e.emit(`transition${r}`),t&&o===`reset`?e.emit(`slideResetTransition${r}`):t&&i!==a&&(e.emit(`slideChangeTransition${r}`),o===`next`?e.emit(`slideNextTransition${r}`):e.emit(`slidePrevTransition${r}`))}function GVe(e=!0,t){let n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),h3({swiper:n,runCallbacks:e,direction:t,step:`Start`}))}function KVe(e=!0,t){let n=this,{params:r}=n;n.animating=!1,!r.cssMode&&(n.setTransition(0),h3({swiper:n,runCallbacks:e,direction:t,step:`End`}))}var qVe={setTransition:WVe,transitionStart:GVe,transitionEnd:KVe};function JVe(e=0,t,n=!0,r,i){typeof e==`string`&&(e=parseInt(e,10));let a=this,o=e;o<0&&(o=0);let{params:s,snapGrid:c,slidesGrid:l,previousIndex:u,activeIndex:d,rtlTranslate:f,wrapperEl:p,enabled:m}=a;if(!m&&!r&&!i||a.destroyed||a.animating&&s.preventInteractionOnTransition)return!1;t===void 0&&(t=a.params.speed);let h=Math.min(a.params.slidesPerGroupSkip,o),g=h+Math.floor((o-h)/a.params.slidesPerGroup);g>=c.length&&(g=c.length-1);let _=-c[g];if(s.normalizeSlideIndex)for(let e=0;e<l.length;e+=1){let t=-Math.floor(_*100),n=Math.floor(l[e]*100),r=Math.floor(l[e+1]*100);l[e+1]===void 0?t>=n&&(o=e):t>=n&&t<r-(r-n)/2?o=e:t>=n&&t<r&&(o=e+1)}if(a.initialized&&o!==d&&(!a.allowSlideNext&&(f?_>a.translate&&_>a.minTranslate():_<a.translate&&_<a.minTranslate())||!a.allowSlidePrev&&_>a.translate&&_>a.maxTranslate()&&(d||0)!==o))return!1;o!==(u||0)&&n&&a.emit(`beforeSlideChangeStart`),a.updateProgress(_);let v;v=o>d?`next`:o<d?`prev`:`reset`;let y=a.virtual&&a.params.virtual.enabled;if(!(y&&i)&&(f&&-_===a.translate||!f&&_===a.translate))return a.updateActiveIndex(o),s.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),s.effect!==`slide`&&a.setTranslate(_),v!==`reset`&&(a.transitionStart(n,v),a.transitionEnd(n,v)),!1;if(s.cssMode){let e=a.isHorizontal(),n=f?_:-_;if(t===0)y&&(a.wrapperEl.style.scrollSnapType=`none`,a._immediateVirtual=!0),y&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[e?`scrollLeft`:`scrollTop`]=n})):p[e?`scrollLeft`:`scrollTop`]=n,y&&requestAnimationFrame(()=>{a.wrapperEl.style.scrollSnapType=``,a._immediateVirtual=!1});else{if(!a.support.smoothScroll)return W4({swiper:a,targetPosition:n,side:e?`left`:`top`}),!0;p.scrollTo({[e?`left`:`top`]:n,behavior:`smooth`})}return!0}let b=l3().isSafari;return y&&!i&&b&&a.isElement&&a.virtual.update(!1,!1,o),a.setTransition(t),a.setTranslate(_),a.updateActiveIndex(o),a.updateSlidesClasses(),a.emit(`beforeTransitionStart`,t,r),a.transitionStart(n,v),t===0?a.transitionEnd(n,v):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener(`transitionend`,a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,v))},a.wrapperEl.addEventListener(`transitionend`,a.onSlideToWrapperTransitionEnd)),!0}function YVe(e=0,t,n=!0,r){typeof e==`string`&&(e=parseInt(e,10));let i=this;if(i.destroyed)return;t===void 0&&(t=i.params.speed);let a=i.grid&&i.params.grid&&i.params.grid.rows>1,o=e;if(i.params.loop){if(i.virtual&&i.params.virtual.enabled)o+=i.virtual.slidesBefore;else{let e;if(a){let t=o*i.params.grid.rows;e=i.slides.find(e=>e.getAttribute(`data-swiper-slide-index`)*1===t).column}else e=i.getSlideIndexByData(o);let t=a?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:n,slidesOffsetBefore:s,slidesOffsetAfter:c}=i.params,l=n||!!s||!!c,u=i.params.slidesPerView;u===`auto`?u=i.slidesPerViewDynamic():(u=Math.ceil(parseFloat(i.params.slidesPerView,10)),l&&u%2==0&&(u+=1));let d=t-e<u;if(l&&(d||=e<Math.ceil(u/2)),r&&l&&i.params.slidesPerView!==`auto`&&!a&&(d=!1),d){let n=l?e<i.activeIndex?`prev`:`next`:e-i.activeIndex-1<i.params.slidesPerView?`next`:`prev`;i.loopFix({direction:n,slideTo:!0,activeSlideIndex:n===`next`?e+1:e-t+1,slideRealIndex:n===`next`?i.realIndex:void 0})}if(a){let e=o*i.params.grid.rows;o=i.slides.find(t=>t.getAttribute(`data-swiper-slide-index`)*1===e).column}else o=i.getSlideIndexByData(o)}}return requestAnimationFrame(()=>{i.slideTo(o,t,n,r)}),i}function XVe(e,t=!0,n){let r=this,{enabled:i,params:a,animating:o}=r;if(!i||r.destroyed)return r;e===void 0&&(e=r.params.speed);let s=a.slidesPerGroup;a.slidesPerView===`auto`&&a.slidesPerGroup===1&&a.slidesPerGroupAuto&&(s=Math.max(r.slidesPerViewDynamic(`current`,!0),1));let c=r.activeIndex<a.slidesPerGroupSkip?1:s,l=r.virtual&&a.virtual.enabled;if(a.loop){if(o&&!l&&a.loopPreventsSliding)return!1;if(r.loopFix({direction:`next`}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&a.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+c,e,t,n)}),!0}return a.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+c,e,t,n)}function ZVe(e,t=!0,n){let r=this,{params:i,snapGrid:a,slidesGrid:o,rtlTranslate:s,enabled:c,animating:l}=r;if(!c||r.destroyed)return r;e===void 0&&(e=r.params.speed);let u=r.virtual&&i.virtual.enabled;if(i.loop){if(l&&!u&&i.loopPreventsSliding)return!1;r.loopFix({direction:`prev`}),r._clientLeft=r.wrapperEl.clientLeft}let d=s?r.translate:-r.translate;function f(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let p=f(d),m=a.map(e=>f(e)),h=i.freeMode&&i.freeMode.enabled,g=a[m.indexOf(p)-1];if(g===void 0&&(i.cssMode||h)){let e;a.forEach((t,n)=>{p>=t&&(e=n)}),e!==void 0&&(g=h?a[e]:a[e>0?e-1:e])}let _=0;if(g!==void 0&&(_=o.indexOf(g),_<0&&(_=r.activeIndex-1),i.slidesPerView===`auto`&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(_=_-r.slidesPerViewDynamic(`previous`,!0)+1,_=Math.max(_,0))),i.rewind&&r.isBeginning){let i=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(i,e,t,n)}return i.loop&&r.activeIndex===0&&i.cssMode?(requestAnimationFrame(()=>{r.slideTo(_,e,t,n)}),!0):r.slideTo(_,e,t,n)}function QVe(e,t=!0,n){let r=this;if(!r.destroyed)return e===void 0&&(e=r.params.speed),r.slideTo(r.activeIndex,e,t,n)}function $Ve(e,t=!0,n,r=.5){let i=this;if(i.destroyed)return;e===void 0&&(e=i.params.speed);let a=i.activeIndex,o=Math.min(i.params.slidesPerGroupSkip,a),s=o+Math.floor((a-o)/i.params.slidesPerGroup),c=i.rtlTranslate?i.translate:-i.translate;if(c>=i.snapGrid[s]){let e=i.snapGrid[s],t=i.snapGrid[s+1];c-e>(t-e)*r&&(a+=i.params.slidesPerGroup)}else{let e=i.snapGrid[s-1],t=i.snapGrid[s];c-e<=(t-e)*r&&(a-=i.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,i.slidesGrid.length-1),i.slideTo(a,e,t,n)}function eHe(){let e=this;if(e.destroyed)return;let{params:t,slidesEl:n}=e,r=t.slidesPerView===`auto`?e.slidesPerViewDynamic():t.slidesPerView,i=e.getSlideIndexWhenGrid(e.clickedIndex),a,o=e.isElement?`swiper-slide`:`.${t.slideClass}`,s=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;a=parseInt(e.clickedSlide.getAttribute(`data-swiper-slide-index`),10),t.centeredSlides?e.slideToLoop(a):i>(s?(e.slides.length-r)/2-(e.params.grid.rows-1):e.slides.length-r)?(e.loopFix(),i=e.getSlideIndex(G4(n,`${o}[data-swiper-slide-index="${a}"]`)[0]),z4(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var tHe={slideTo:JVe,slideToLoop:YVe,slideNext:XVe,slidePrev:ZVe,slideReset:QVe,slideToClosest:$Ve,slideToClickedSlide:eHe};function nHe(e,t){let n=this,{params:r,slidesEl:i}=n;if(!r.loop||n.virtual&&n.params.virtual.enabled)return;let a=()=>{G4(i,`.${r.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute(`data-swiper-slide-index`,t)})},o=()=>{let e=G4(i,`.${r.slideBlankClass}`);e.forEach(e=>{e.remove()}),e.length>0&&(n.recalcSlides(),n.updateSlides())},s=n.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||s)&&o();let c=r.slidesPerGroup*(s?r.grid.rows:1),l=n.slides.length%c!==0,u=s&&n.slides.length%r.grid.rows!==0,d=e=>{for(let t=0;t<e;t+=1){let e=n.isElement?q4(`swiper-slide`,[r.slideBlankClass]):q4(`div`,[r.slideClass,r.slideBlankClass]);n.slidesEl.append(e)}};l?(r.loopAddBlankSlides?(d(c-n.slides.length%c),n.recalcSlides(),n.updateSlides()):K4(`Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)`),a()):(u&&(r.loopAddBlankSlides?(d(r.grid.rows-n.slides.length%r.grid.rows),n.recalcSlides(),n.updateSlides()):K4(`Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)`)),a());let f=r.centeredSlides||!!r.slidesOffsetBefore||!!r.slidesOffsetAfter;n.loopFix({slideRealIndex:e,direction:f?void 0:`next`,initial:t})}function rHe({slideRealIndex:e,slideTo:t=!0,direction:n,setTranslate:r,activeSlideIndex:i,initial:a,byController:o,byMousewheel:s}={}){let c=this;if(!c.params.loop)return;c.emit(`beforeLoopFix`);let{slides:l,allowSlidePrev:u,allowSlideNext:d,slidesEl:f,params:p}=c,{centeredSlides:m,slidesOffsetBefore:h,slidesOffsetAfter:g,initialSlide:_}=p,v=m||!!h||!!g;if(c.allowSlidePrev=!0,c.allowSlideNext=!0,c.virtual&&p.virtual.enabled){t&&(!v&&c.snapIndex===0?c.slideTo(c.virtual.slides.length,0,!1,!0):v&&c.snapIndex<p.slidesPerView?c.slideTo(c.virtual.slides.length+c.snapIndex,0,!1,!0):c.snapIndex===c.snapGrid.length-1&&c.slideTo(c.virtual.slidesBefore,0,!1,!0)),c.allowSlidePrev=u,c.allowSlideNext=d,c.emit(`loopFix`);return}let y=p.slidesPerView;y===`auto`?y=c.slidesPerViewDynamic():(y=Math.ceil(parseFloat(p.slidesPerView,10)),v&&y%2==0&&(y+=1));let b=p.slidesPerGroupAuto?y:p.slidesPerGroup,x=v?Math.max(b,Math.ceil(y/2)):b;x%b!==0&&(x+=b-x%b),x+=p.loopAdditionalSlides,c.loopedSlides=x;let S=c.grid&&p.grid&&p.grid.rows>1;l.length<y+x||c.params.effect===`cards`&&l.length<y+x*2?K4(`Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters`):S&&p.grid.fill===`row`&&K4("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");let C=[],w=[],T=S?Math.ceil(l.length/p.grid.rows):l.length,E=a&&T-_<y&&!v,D=E?_:c.activeIndex;i===void 0?i=c.getSlideIndex(l.find(e=>e.classList.contains(p.slideActiveClass))):D=i;let O=n===`next`||!n,k=n===`prev`||!n,A=0,j=0,M=(S?l[i].column:i)+(v&&r===void 0?-y/2+.5:0);if(M<x){A=Math.max(x-M,b);for(let e=0;e<x-M;e+=1){let t=e-Math.floor(e/T)*T;if(S){let e=T-t-1;for(let t=l.length-1;t>=0;--t)l[t].column===e&&C.push(t)}else C.push(T-t-1)}}else if(M+y>T-x){j=Math.max(M-(T-x*2),b),E&&(j=Math.max(j,y-T+_+1));for(let e=0;e<j;e+=1){let t=e-Math.floor(e/T)*T;S?l.forEach((e,n)=>{e.column===t&&w.push(n)}):w.push(t)}}if(c.__preventObserver__=!0,requestAnimationFrame(()=>{c.__preventObserver__=!1}),c.params.effect===`cards`&&l.length<y+x*2&&(w.includes(i)&&w.splice(w.indexOf(i),1),C.includes(i)&&C.splice(C.indexOf(i),1)),k&&C.forEach(e=>{l[e].swiperLoopMoveDOM=!0,f.prepend(l[e]),l[e].swiperLoopMoveDOM=!1}),O&&w.forEach(e=>{l[e].swiperLoopMoveDOM=!0,f.append(l[e]),l[e].swiperLoopMoveDOM=!1}),c.recalcSlides(),p.slidesPerView===`auto`?c.updateSlides():S&&(C.length>0&&k||w.length>0&&O)&&c.slides.forEach((e,t)=>{c.grid.updateSlide(t,e,c.slides)}),p.watchSlidesProgress&&c.updateSlidesOffset(),t){if(C.length>0&&k){if(e===void 0){let e=c.slidesGrid[D],t=c.slidesGrid[D+A]-e;s?c.setTranslate(c.translate-t):(c.slideTo(D+Math.ceil(A),0,!1,!0),r&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else if(r){let e=S?C.length/p.grid.rows:C.length;c.slideTo(c.activeIndex+e,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(w.length>0&&O){if(e===void 0){let e=c.slidesGrid[D],t=c.slidesGrid[D-j]-e;s?c.setTranslate(c.translate-t):(c.slideTo(D-j,0,!1,!0),r&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else{let e=S?w.length/p.grid.rows:w.length;c.slideTo(c.activeIndex-e,0,!1,!0)}}}if(c.allowSlidePrev=u,c.allowSlideNext=d,c.controller&&c.controller.control&&!o){let a={slideRealIndex:e,direction:n,setTranslate:r,activeSlideIndex:i,byController:!0};Array.isArray(c.controller.control)?c.controller.control.forEach(e=>{!e.destroyed&&e.params.loop&&e.loopFix({...a,slideTo:e.params.slidesPerView===p.slidesPerView&&t})}):c.controller.control instanceof c.constructor&&c.controller.control.params.loop&&c.controller.control.loopFix({...a,slideTo:c.controller.control.params.slidesPerView===p.slidesPerView&&t})}c.emit(`loopFix`)}function iHe(){let e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();let r=[];e.slides.forEach(e=>{let t=e.swiperSlideIndex===void 0?e.getAttribute(`data-swiper-slide-index`)*1:e.swiperSlideIndex;r[t]=e}),e.slides.forEach(e=>{e.removeAttribute(`data-swiper-slide-index`)}),r.forEach(e=>{n.append(e)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var aHe={loopCreate:nHe,loopFix:rHe,loopDestroy:iHe};function oHe(e){let t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let n=t.params.touchEventsTarget===`container`?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor=`move`,n.style.cursor=e?`grabbing`:`grab`,t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function sHe(){let e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget===`container`?`el`:`wrapperEl`].style.cursor=``,e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var cHe={setGrabCursor:oHe,unsetGrabCursor:sHe};function lHe(e,t=this){function n(t){if(!t||t===L4()||t===R4())return null;t.assignedSlot&&(t=t.assignedSlot);let r=t.closest(e);return!r&&!t.getRootNode?null:r||n(t.getRootNode().host)}return n(t)}function g3(e,t,n){let r=R4(),{params:i}=e,a=i.edgeSwipeDetection,o=i.edgeSwipeThreshold;return a&&(n<=o||n>=r.innerWidth-o)?a===`prevent`&&(t.preventDefault(),!0):!0}function uHe(e){let t=this;if(t.destroyed)return;let n=L4(),r=e;r.originalEvent&&(r=r.originalEvent);let i=t.touchEventsData;if(r.type===`pointerdown`){if(i.pointerId!==null&&i.pointerId!==r.pointerId)return;i.pointerId=r.pointerId}else r.type===`touchstart`&&r.targetTouches.length===1&&(i.touchId=r.targetTouches[0].identifier);if(r.type===`touchstart`){g3(t,r,r.targetTouches[0].pageX);return}let{params:a,touches:o,enabled:s}=t;if(!s||!a.simulateTouch&&r.pointerType===`mouse`||t.animating&&a.preventInteractionOnTransition)return;!t.animating&&a.cssMode&&a.loop&&t.loopFix();let c=r.target;if(a.touchEventsTarget===`wrapper`&&!gVe(c,t.wrapperEl)||`which`in r&&r.which===3||`button`in r&&r.button>0||i.isTouched&&i.isMoved)return;let l=!!a.noSwipingClass&&a.noSwipingClass!==``,u=r.composedPath?r.composedPath():r.path;l&&r.target&&r.target.shadowRoot&&u&&(c=u[0]);let d=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,f=!!(r.target&&r.target.shadowRoot);if(a.noSwiping&&(f?lHe(d,c):c.closest(d))){t.allowClick=!0;return}if(a.swipeHandler&&!c.closest(a.swipeHandler))return;o.currentX=r.pageX,o.currentY=r.pageY;let p=o.currentX,m=o.currentY;if(!g3(t,r,p))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=p,o.startY=m,i.touchStartTime=B4(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(i.allowThresholdMove=!1);let h=!0;c.matches(i.focusableElements)&&(h=!1,c.nodeName===`SELECT`&&(i.isTouched=!1)),n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==c&&(r.pointerType===`mouse`||r.pointerType!==`mouse`&&!c.matches(i.focusableElements))&&n.activeElement.blur();let g=h&&t.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||g)&&!c.isContentEditable&&r.preventDefault(),a.freeMode&&a.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart(),t.emit(`touchStart`,r)}function dHe(e){let t=L4(),n=this;if(n.destroyed)return;let r=n.touchEventsData,{params:i,touches:a,rtlTranslate:o,enabled:s}=n;if(!s||!i.simulateTouch&&e.pointerType===`mouse`)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),c.type===`pointermove`&&(r.touchId!==null||c.pointerId!==r.pointerId))return;let l;if(c.type===`touchmove`){if(l=[...c.changedTouches].find(e=>e.identifier===r.touchId),!l||l.identifier!==r.touchId)return}else l=c;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit(`touchMoveOpposite`,c);return}let u=l.pageX,d=l.pageY;if(c.preventedByNestedSwiper){a.startX=u,a.startY=d;return}if(!n.allowTouchMove){c.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(a,{startX:u,startY:d,currentX:u,currentY:d}),r.touchStartTime=B4());return}if(i.touchReleaseOnEdges&&!i.loop){if(n.isVertical()){if(d<a.startY&&n.translate<=n.maxTranslate()||d>a.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(o&&(u>a.startX&&-n.translate<=n.maxTranslate()||u<a.startX&&-n.translate>=n.minTranslate()))return;else if(!o&&(u<a.startX&&n.translate<=n.maxTranslate()||u>a.startX&&n.translate>=n.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==c.target&&c.pointerType!==`mouse`&&t.activeElement.blur(),t.activeElement&&c.target===t.activeElement&&c.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit(`touchMove`,c),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=u,a.currentY=d;let f=a.currentX-a.startX,p=a.currentY-a.startY;if(n.params.threshold&&Math.sqrt(f**2+p**2)<n.params.threshold)return;if(r.isScrolling===void 0){let e;n.isHorizontal()&&a.currentY===a.startY||n.isVertical()&&a.currentX===a.startX?r.isScrolling=!1:f*f+p*p>=25&&(e=Math.atan2(Math.abs(p),Math.abs(f))*180/Math.PI,r.isScrolling=n.isHorizontal()?e>i.touchAngle:90-e>i.touchAngle)}if(r.isScrolling&&n.emit(`touchMoveOpposite`,c),r.startMoving===void 0&&(a.currentX!==a.startX||a.currentY!==a.startY)&&(r.startMoving=!0),r.isScrolling||c.type===`touchmove`&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&c.cancelable&&c.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&c.stopPropagation();let m=n.isHorizontal()?f:p,h=n.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;i.oneWayMovement&&(m=Math.abs(m)*(o?1:-1),h=Math.abs(h)*(o?1:-1)),a.diff=m,m*=i.touchRatio,o&&(m=-m,h=-h);let g=n.touchesDirection;n.swipeDirection=m>0?`prev`:`next`,n.touchesDirection=h>0?`prev`:`next`;let _=n.params.loop&&!i.cssMode,v=n.touchesDirection===`next`&&n.allowSlideNext||n.touchesDirection===`prev`&&n.allowSlidePrev;if(!r.isMoved){if(_&&v&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){let e=new window.CustomEvent(`transitionend`,{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,i.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit(`sliderFirstMove`,c)}if(new Date().getTime(),i._loopSwapReset!==!1&&r.isMoved&&r.allowThresholdMove&&g!==n.touchesDirection&&_&&v&&Math.abs(m)>=1){Object.assign(a,{startX:u,startY:d,currentX:u,currentY:d,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit(`sliderMove`,c),r.isMoved=!0,r.currentTranslate=m+r.startTranslate;let y=!0,b=i.resistanceRatio;if(i.touchReleaseOnEdges&&(b=0),m>0?(_&&v&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-(i.slidesPerView!==`auto`&&n.slides.length-i.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:`prev`,setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(y=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+m)**b))):m<0&&(_&&v&&r.allowThresholdMove&&r.currentTranslate<(i.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+(i.slidesPerView!==`auto`&&n.slides.length-i.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:`next`,setTranslate:!0,activeSlideIndex:n.slides.length-(i.slidesPerView===`auto`?n.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(y=!1,i.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-m)**b))),y&&(c.preventedByNestedSwiper=!0),!n.allowSlideNext&&n.swipeDirection===`next`&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&n.swipeDirection===`prev`&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),i.threshold>0){if(Math.abs(m)>i.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,r.currentTranslate=r.startTranslate,a.diff=n.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY;return}}else{r.currentTranslate=r.startTranslate;return}}i.followFinger&&!i.cssMode&&((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function fHe(e){let t=this;if(t.destroyed)return;let n=t.touchEventsData,r=e;r.originalEvent&&(r=r.originalEvent);let i;if(r.type!==`touchend`&&r.type!==`touchcancel`){if(n.touchId!==null||r.pointerId!==n.pointerId)return;i=r}else if(i=[...r.changedTouches].find(e=>e.identifier===n.touchId),!i||i.identifier!==n.touchId)return;if([`pointercancel`,`pointerout`,`pointerleave`,`contextmenu`].includes(r.type)&&!([`pointercancel`,`contextmenu`].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return;n.pointerId=null,n.touchId=null;let{params:a,touches:o,rtlTranslate:s,slidesGrid:c,enabled:l}=t;if(!l||!a.simulateTouch&&r.pointerType===`mouse`)return;if(n.allowTouchCallbacks&&t.emit(`touchEnd`,r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&a.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}a.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);let u=B4(),d=u-n.touchStartTime;if(t.allowClick){let e=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(e&&e[0]||r.target,e),t.emit(`tap click`,r),d<300&&u-n.lastClickTime<300&&t.emit(`doubleTap doubleClick`,r)}if(n.lastClickTime=B4(),z4(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||o.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let f;if(f=a.followFinger?s?t.translate:-t.translate:-n.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:f});return}let p=f>=-t.maxTranslate()&&!t.params.loop,m=0,h=t.slidesSizesGrid[0];for(let e=0;e<c.length;e+=e<a.slidesPerGroupSkip?1:a.slidesPerGroup){let t=e<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;c[e+t]===void 0?(p||f>=c[e])&&(m=e,h=c[c.length-1]-c[c.length-2]):(p||f>
3895=c[e]&&f<c[e+t])&&(m=e,h=c[e+t]-c[e])}let g=null,_=null;a.rewind&&(t.isBeginning?_=a.virtual&&a.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));let v=(f-c[m])/h,y=m<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(d>a.longSwipesMs){if(!a.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection===`next`&&(v>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?g:m+y):t.slideTo(m)),t.swipeDirection===`prev`&&(v>1-a.longSwipesRatio?t.slideTo(m+y):_!==null&&v<0&&Math.abs(v)>a.longSwipesRatio?t.slideTo(_):t.slideTo(m))}else{if(!a.shortSwipes){t.slideTo(t.activeIndex);return}!t.navigation||r.target!==t.navigation.nextEl&&r.target!==t.navigation.prevEl?(t.swipeDirection===`next`&&t.slideTo(g===null?m+y:g),t.swipeDirection===`prev`&&t.slideTo(_===null?m:_)):r.target===t.navigation.nextEl?t.slideTo(m+y):t.slideTo(m)}}function _3(){let e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:r,allowSlidePrev:i,snapGrid:a}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let s=o&&t.loop;if((t.slidesPerView===`auto`||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!s){let t=o?e.virtual.slides:e.slides;e.slideTo(t.length-1,0,!1,!0)}else e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}function pHe(e){let t=this;t.destroyed||t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function mHe(){let e=this;if(e.destroyed)return;let{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;e.previousTranslate=e.translate,e.translate=e.isHorizontal()?-t.scrollLeft:-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let i,a=e.maxTranslate()-e.minTranslate();i=a===0?0:(e.translate-e.minTranslate())/a,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit(`setTranslate`,e.translate,!1)}function hHe(e){let t=this;t.destroyed||(f3(t,e.target),!(t.params.cssMode||t.params.slidesPerView!==`auto`&&!t.params.autoHeight)&&t.update())}function gHe(){let e=this;e.destroyed||e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction=`auto`))}var v3=(e,t)=>{let n=L4(),{params:r,el:i,wrapperEl:a,device:o}=e,s=!!r.nested,c=t===`on`?`addEventListener`:`removeEventListener`,l=t;i&&typeof i!=`string`&&(n[c](`touchstart`,e.onDocumentTouchStart,{passive:!1,capture:s}),i[c](`touchstart`,e.onTouchStart,{passive:!1}),i[c](`pointerdown`,e.onTouchStart,{passive:!1}),n[c](`touchmove`,e.onTouchMove,{passive:!1,capture:s}),n[c](`pointermove`,e.onTouchMove,{passive:!1,capture:s}),n[c](`touchend`,e.onTouchEnd,{passive:!0}),n[c](`pointerup`,e.onTouchEnd,{passive:!0}),n[c](`pointercancel`,e.onTouchEnd,{passive:!0}),n[c](`touchcancel`,e.onTouchEnd,{passive:!0}),n[c](`pointerout`,e.onTouchEnd,{passive:!0}),n[c](`pointerleave`,e.onTouchEnd,{passive:!0}),n[c](`contextmenu`,e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[c](`click`,e.onClick,!0),r.cssMode&&a[c](`scroll`,e.onScroll),r.updateOnWindowResize?e[l](o.ios||o.android?`resize orientationchange observerUpdate`:`resize observerUpdate`,_3,!0):e[l](`observerUpdate`,_3,!0),i[c](`load`,e.onLoad,{capture:!0}))};function _He(){let e=this,{params:t}=e;e.onTouchStart=uHe.bind(e),e.onTouchMove=dHe.bind(e),e.onTouchEnd=fHe.bind(e),e.onDocumentTouchStart=gHe.bind(e),t.cssMode&&(e.onScroll=mHe.bind(e)),e.onClick=pHe.bind(e),e.onLoad=hHe.bind(e),v3(e,`on`)}function vHe(){v3(this,`off`)}var yHe={attachEvents:_He,detachEvents:vHe},y3=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function bHe(){let e=this,{realIndex:t,initialized:n,params:r,el:i}=e,a=r.breakpoints;if(!a||a&&Object.keys(a).length===0)return;let o=L4(),s=r.breakpointsBase===`window`||!r.breakpointsBase?r.breakpointsBase:`container`,c=[`window`,`container`].includes(r.breakpointsBase)||!r.breakpointsBase?e.el:o.querySelector(r.breakpointsBase),l=e.getBreakp
vendor: 6,220 bytes, line 3895
3895oint(a,s,c);if(!l||e.currentBreakpoint===l)return;let u=(l in a?a[l]:void 0)||e.originalParams,d=y3(e,r),f=y3(e,u),p=e.params.grabCursor,m=u.grabCursor,h=r.enabled;d&&!f?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!d&&f&&(i.classList.add(`${r.containerModifierClass}grid`),(u.grid.fill&&u.grid.fill===`column`||!u.grid.fill&&r.grid.fill===`column`)&&i.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),p&&!m?e.unsetGrabCursor():!p&&m&&e.setGrabCursor(),[`navigation`,`pagination`,`scrollbar`].forEach(t=>{if(u[t]===void 0)return;let n=r[t]&&r[t].enabled,i=u[t]&&u[t].enabled;n&&!i&&e[t].disable(),!n&&i&&e[t].enable()});let g=u.direction&&u.direction!==r.direction,_=r.loop&&(u.slidesPerView!==r.slidesPerView||g),v=r.loop;g&&n&&e.changeDirection(),H4(e.params,u);let y=e.params.enabled,b=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),h&&!y?e.disable():!h&&y&&e.enable(),e.currentBreakpoint=l,e.emit(`_beforeBreakpoint`,u),n&&(_?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!v&&b?(e.loopCreate(t),e.updateSlides()):v&&!b&&e.loopDestroy()),e.emit(`breakpoint`,u)}function xHe(e,t=`window`,n){if(!e||t===`container`&&!n)return;let r=!1,i=R4(),a=t===`window`?i.innerHeight:n.clientHeight,o=Object.keys(e).map(e=>{if(typeof e==`string`&&e.indexOf(`@`)===0){let t=parseFloat(e.substr(1));return{value:a*t,point:e}}return{value:e,point:e}});o.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<o.length;e+=1){let{point:a,value:s}=o[e];t===`window`?i.matchMedia(`(min-width: ${s}px)`).matches&&(r=a):s<=n.clientWidth&&(r=a)}return r||`max`}var SHe={setBreakpoint:bHe,getBreakpoint:xHe};function CHe(e,t){let n=[];return e.forEach(e=>{typeof e==`object`?Object.keys(e).forEach(r=>{e[r]&&n.push(t+r)}):typeof e==`string`&&n.push(t+e)}),n}function wHe(){let e=this,{classNames:t,params:n,rtl:r,el:i,device:a}=e,o=CHe([`initialized`,n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill===`column`},{android:a.android},{ios:a.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...o),i.classList.add(...t),e.emitContainerClasses()}function THe(){let e=this,{el:t,classNames:n}=e;t&&typeof t!=`string`&&(t.classList.remove(...n),e.emitContainerClasses())}var EHe={addClasses:wHe,removeClasses:THe};function DHe(){let e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){let t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+r*2;e.isLocked=e.size>n}else e.isLocked=e.snapGrid.length===1;n.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),n.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?`lock`:`unlock`)}var OHe={checkOverflow:DHe},b3={init:!0,direction:`horizontal`,oneWayMovement:!1,swiperElementNodeName:`SWIPER-CONTAINER`,touchEventsTarget:`wrapper`,initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:`swiper`,enabled:!0,focusableElements:`input, select, option, textarea, button, video, label`,width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:`slide`,breakpoints:void 0,breakpointsBase:`window`,spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:`swiper-no-swiping`,noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:`swiper-`,slideClass:`swiper-slide`,slideBlankClass:`swiper-slide-blank`,slideActiveClass:`swiper-slide-active`,slideVisibleClass:`swiper-slide-visible`,slideFullyVisibleClass:`swiper-slide-fully-visible`,slideNextClass:`swiper-slide-next`,slidePrevClass:`swiper-slide-prev`,wrapperClass:`swiper-wrapper`,lazyPreloaderClass:`swiper-lazy-preloader`,lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function kHe(e,t){return function(n={}){let r=Object.keys(n)[0],i=n[r];if(typeof i!=`object`||!i){H4(t,n);return}if(e[r]===!0&&(e[r]={enabled:!0}),r===`navigation`&&e[r]&&e[r].enabled&&!e[r].prevEl&&!e[r].nextEl&&(e[r].auto=!0),[`pagination`,`scrollbar`].indexOf(r)>=0&&e[r]&&e[r].enabled&&!e[r].el&&(e[r].auto=!0),!(r in e&&`enabled`in i)){H4(t,n);return}typeof e[r]==`object`&&!(`enabled`in e[r])&&(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),H4(t,n)}}var x3={eventsEmitter:EVe,update:LVe,translate:UVe,transition:qVe,slide:tHe,loop:aHe,grabCursor:cHe,events:yHe,breakpoints:SHe,checkOverflow:OHe,classes:EHe},S3={},C3=class e{constructor(...t){let n,r;t.length===1&&t[0].constructor&&Object.prototype.toString.call(t[0]).slice(8,-1)===`Object`?r=t[0]:[n,r]=t,r||={},r=H4({},r),n&&!r.el&&(r.el=n);let i=L4();if(r.el&&typeof r.el==`string`&&i.querySelectorAll(r.el).length>1){let t=[];return i.querySelectorAll(r.el).forEach(n=>{let i=H4({},r,{el:n});t.push(new e(i))}),t}let a=this;a.__swiper__=!0,a.support=a3(),a.device=s3({userAgent:r.userAgent}),a.browser=l3(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],r.modules&&Array.isArray(r.modules)&&r.modules.forEac
vendor: 18,088 bytes, line 3895
3895h(e=>{typeof e==`function`&&a.modules.indexOf(e)<0&&a.modules.push(e)});let o={};return a.modules.forEach(e=>{e({params:r,swiper:a,extendParams:kHe(r,o),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})}),a.params=H4({},H4({},b3,o),S3,r),a.originalParams=H4({},a.params),a.passedParams=H4({},r),a.params&&a.params.on&&Object.keys(a.params.on).forEach(e=>{a.on(e,a.params.on[e])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:n,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction===`horizontal`},isVertical(){return a.params.direction===`vertical`},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit(`_swiper`),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:`height`,"margin-top":`margin-left`,"margin-bottom ":`margin-right`,"margin-left":`margin-top`,"margin-right":`margin-bottom`,"padding-left":`padding-top`,"padding-right":`padding-bottom`,marginRight:`marginBottom`}[e]}getSlideIndex(e){let{slidesEl:t,params:n}=this,r=Y4(G4(t,`.${n.slideClass}, swiper-slide`)[0]);return Y4(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>t.getAttribute(`data-swiper-slide-index`)*1===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill===`column`?e=Math.floor(e/this.params.grid.rows):this.params.grid.fill===`row`&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){let e=this,{slidesEl:t,params:n}=e;e.slides=G4(t,`.${n.slideClass}, swiper-slide`)}enable(){let e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit(`enable`))}disable(){let e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit(`disable`))}setProgress(e,t){let n=this;e=Math.min(Math.max(e,0),1);let r=n.minTranslate(),i=(n.maxTranslate()-r)*e+r;n.translateTo(i,t===void 0?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(` `).filter(t=>t.indexOf(`swiper`)===0||t.indexOf(e.params.containerModifierClass)===0);e.emit(`_containerClasses`,t.join(` `))}getSlideClasses(e){let t=this;return t.destroyed?``:e.className.split(` `).filter(e=>e.indexOf(`swiper-slide`)===0||e.indexOf(t.params.slideClass)===0).join(` `)}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(n=>{let r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit(`_slideClass`,n,r)}),e.emit(`_slideClasses`,t)}slidesPerViewDynamic(e=`current`,t=!1){let{params:n,slides:r,slidesGrid:i,slidesSizesGrid:a,size:o,activeIndex:s}=this,c=1;if(typeof n.slidesPerView==`number`)return n.slidesPerView;if(n.centeredSlides){let e=r[s]?Math.ceil(r[s].swiperSlideSize):0,t;for(let n=s+1;n<r.length;n+=1)r[n]&&!t&&(e+=Math.ceil(r[n].swiperSlideSize),c+=1,e>o&&(t=!0));for(let n=s-1;n>=0;--n)r[n]&&!t&&(e+=r[n].swiperSlideSize,c+=1,e>o&&(t=!0))}else if(e===`current`)for(let e=s+1;e<r.length;e+=1)(t?i[e]+a[e]-i[s]<o:i[e]-i[s]<o)&&(c+=1);else for(let e=s-1;e>=0;--e)i[s]-i[e]<o&&(c+=1);return c}update(){let e=this;if(!e||e.destroyed)return;let{snapGrid:t,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll(`[loading="lazy"]`)].forEach(t=>{t.complete&&f3(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function r(){let t=e.rtlTranslate?e.translate*-1:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let i;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)r(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView===`auto`||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){let t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;i=e.slideTo(t.length-1,0,!1,!0)}else i=e.slideTo(e.activeIndex,0,!1,!0);i||r()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit(`update`)}changeDirection(e,t=!0){let n=this,r=n.params.direction;return e||=r===`horizontal`?`vertical`:`horizontal`,e===r||e!==`horizontal`&&e!==`vertical`?n:(n.el.classList.remove(`${n.params.containerModifierClass}${r}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(t=>{e===`vertical`?t.style.width=``:t.style.height=``}),n.emit(`changeDirection`),t&&n.update(),n)}changeLanguageDirection(e){let t=this;t.rtl&&e===`rtl`||!t.rtl&&e===`ltr`||(t.rtl=e===`rtl`,t.rtlTranslate=t.params.direction===`horizontal`&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir=`rtl`):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir=`ltr`),t.update())}mount(e){let t=this;if(t.mounted)return!0;let n=e||t.params.el;if(typeof n==`string`&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);let r=()=>`.${(t.params.wrapperClass||``).trim().split(` `).join(`.`)}`,i=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(r()):G4(n,r())[0];return!i&&t.params.createElements&&(i=q4(`div`,t.params.wrapperClass),n.append(i),G4(n,`.${t.params.slideClass}`).forEach(e=>{i.append(e)})),Object.assign(t,{el:n,wrapperEl:i,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:i,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()===`rtl`||J4(n,`direction`)===`rtl`,rtlTranslate:t.params.direction===`horizontal`&&(n.dir.toLowerCase()===`rtl`||J4(n,`direction`)===`rtl`),wrongRTL:J4(i,`display`)===`-webkit-box`}),!0}init(e){let t=this;if(t.initialized||t.mount(e)===!1)return t;t.emit(`beforeInit`),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();let n=[...t.el.querySelectorAll(`[loading="lazy"]`)];return t.isElement&&n.push(...t.hostEl.querySelectorAll(`[loading="lazy"]`)),n.forEach(e=>{e.complete?f3(t,e):e.addEventListener(`load`,e=>{f3(t,e.target)})}),m3(t),t.initialized=!0,m3(t),t.emit(`init`),t.emit(`afterInit`),t}destroy(e=!0,t=!0){let n=this,{params:r,el:i,wrapperEl:a,slides:o}=n;return n.params===void 0||n.destroyed?null:(n.emit(`beforeDestroy`),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i&&typeof i!=`string`&&i.removeAttribute(`style`),a&&a.removeAttribute(`style`),o&&o.length&&o.forEach(e=>{e.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),e.removeAttribute(`style`),e.removeAttribute(`data-swiper-slide-index`)})),n.emit(`destroy`),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),e!==!1&&(n.el&&typeof n.el!=`string`&&(n.el.swiper=null),dVe(n)),n.destroyed=!0,null)}static extendDefaults(e){H4(S3,e)}static get extendedDefaults(){return S3}static get defaults(){return b3}static installModule(t){e.prototype.__modules__||(e.prototype.__modules__=[]);let n=e.prototype.__modules__;typeof t==`function`&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(t=>e.installModule(t)),e):(e.installModule(t),e)}};Object.keys(x3).forEach(e=>{Object.keys(x3[e]).forEach(t=>{C3.prototype[t]=x3[e][t]})}),C3.use([wVe,TVe]);var w3=`eventsPrefix.injectStyles.injectStylesUrls.modules.init._direction.oneWayMovement.swiperElementNodeName.touchEventsTarget.initialSlide._speed.cssMode.updateOnWindowResize.resizeObserver.nested.focusableElements._enabled._width._height.preventInteractionOnTransition.userAgent.url._edgeSwipeDetection._edgeSwipeThreshold._freeMode._autoHeight.setWrapperSize.virtualTranslate._effect.breakpoints.breakpointsBase._spaceBetween._slidesPerView.maxBackfaceHiddenSlides._grid._slidesPerGroup._slidesPerGroupSkip._slidesPerGroupAuto._centeredSlides._centeredSlidesBounds._slidesOffsetBefore._slidesOffsetAfter.normalizeSlideIndex._centerInsufficientSlides._snapToSlideEdge._watchOverflow.roundLengths.touchRatio.touchAngle.simulateTouch._shortSwipes._longSwipes.longSwipesRatio.longSwipesMs._followFinger.allowTouchMove._threshold.touchMoveStopPropagation.touchStartPreventDefault.touchStartForcePreventDefault.touchReleaseOnEdges.uniqueNavElements._resistance._resistanceRatio._watchSlidesProgress._grabCursor.preventClicks.preventClicksPropagation._slideToClickedSlide._loop.loopAdditionalSlides.loopAddBlankSlides.loopPreventsSliding._rewind._allowSlidePrev._allowSlideNext._swipeHandler._noSwiping.noSwipingClass.noSwipingSelector.passiveListeners.containerModifierClass.slideClass.slideActiveClass.slideVisibleClass.slideFullyVisibleClass.slideNextClass.slidePrevClass.slideBlankClass.wrapperClass.lazyPreloaderClass.lazyPreloadPrevNext.runCallbacksOnInit.observer.observeParents.observeSlideChildren.a11y._autoplay._controller.coverflowEffect.cubeEffect.fadeEffect.flipEffect.creativeEffect.cardsEffect.hashNavigation.history.keyboard.mousewheel._navigation._pagination.parallax._scrollbar._thumbs.virtual.zoom.control`.split(`.`);function T3(e){return typeof e==`object`&&!!e&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)===`Object`&&!e.__swiper__}function E3(e,t){let n=[`__proto__`,`constructor`,`prototype`];Object.keys(t).filter(e=>n.indexOf(e)<0).forEach(n=>{e[n]===void 0?e[n]=t[n]:T3(t[n])&&T3(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:E3(e[n],t[n]):e[n]=t[n]})}function D3(e={}){return e.navigation&&e.navigation.nextEl===void 0&&e.navigation.prevEl===void 0}function O3(e={}){return e.pagination&&e.pagination.el===void 0}function k3(e={}){return e.scrollbar&&e.scrollbar.el===void 0}function A3(e=``){let t=e.split(` `).map(e=>e.trim()).filter(e=>!!e),n=[];return t.forEach(e=>{n.indexOf(e)<0&&n.push(e)}),n.join(` `)}function AHe(e=``){return e?e.includes(`swiper-wrapper`)?e:`swiper-wrapper ${e}`:`swiper-wrapper`}function jHe({swiper:e,slides:t,passedParams:n,changedParams:r,nextEl:i,prevEl:a,scrollbarEl:o,paginationEl:s}){let c=r.filter(e=>e!==`children`&&e!==`direction`&&e!==`wrapperClass`),{params:l,pagination:u,navigation:d,scrollbar:f,virtual:p,thumbs:m}=e,h,g,_,v,y,b,x,S;r.includes(`thumbs`)&&n.thumbs&&n.thumbs.swiper&&!n.thumbs.swiper.destroyed&&l.thumbs&&(!l.thumbs.swiper||l.thumbs.swiper.destroyed)&&(h=!0),r.includes(`controller`)&&n.controller&&n.controller.control&&l.controller&&!l.controller.control&&(g=!0),r.includes(`pagination`)&&n.pagination&&(n.pagination.el||s)&&(l.pagination||l.pagination===!1)&&u&&!u.el&&(_=!0),r.includes(`scrollbar`)&&n.scrollbar&&(n.scrollbar.el||o)&&(l.scrollbar||l.scrollbar===!1)&&f&&!f.el&&(v=!0),r.includes(`navigation`)&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||i)&&(l.navigation||l.navigation===!1)&&d&&!d.prevEl&&!d.nextEl&&(y=!0);let C=t=>{e[t]&&(e[t].destroy(),t===`navigation`?(e.isElement&&(e[t].prevEl.remove(),e[t].nextEl.remove()),l[t].prevEl=void 0,l[t].nextEl=void 0,e[t].prevEl=void 0,e[t].nextEl=void 0):(e.isElement&&e[t].el.remove(),l[t].el=void 0,e[t].el=void 0))};r.includes(`loop`)&&e.isElement&&(l.loop&&!n.loop?b=!0:!l.loop&&n.loop?x=!0:S=!0),c.forEach(e=>{if(T3(l[e])&&T3(n[e]))Object.assign(l[e],n[e]),(e===`navigation`||e===`pagination`||e===`scrollbar`)&&`enabled`in n[e]&&!n[e].enabled&&C(e);else{let t=n[e];(t===!0||t===!1)&&(e===`navigation`||e===`pagination`||e===`scrollbar`)?t===!1&&C(e):l[e]=n[e]}}),c.includes(`controller`)&&!g&&e.controller&&e.controller.control&&l.controller&&l.controller.control&&(e.controller.control=l.controller.control),r.includes(`children`)&&t&&p&&l.virtual.enabled?(p.slides=t,p.update(!0)):r.includes(`virtual`)&&p&&l.virtual.enabled&&(t&&(p.slides=t),p.update(!0)),r.includes(`children`)&&t&&l.loop&&(S=!0),h&&m.init()&&m.update(!0),g&&(e.controller.control=l.controller.control),_&&(e.isElement&&(!s||typeof s==`string`)&&(s=document.createElement(`div`),s.classList.add(`swiper-pagination`),s.part.add(`pagination`),e.el.appendChild(s)),s&&(l.pagination.el=s),u.init(),u.render(),u.update()),v&&(e.isElement&&(!o||typeof o==`string`)&&(o=document.createElement(`div`),o.classList.add(`swiper-scrollbar`),o.part.add(`scrollbar`),e.el.appendChild(o)),o&&(l.scrollbar.el=o),f.init(),f.updateSize(),f.setTranslate()),y&&(e.isElement&&((!i||typeof i==`string`)&&(i=document.createElement(`div`),i.classList.add(`swiper-button-next`),$4(i,e.navigation.arrowSvg),i.part.add(`button-next`),e.el.appendChild(i)),(!a||typeof a==`string`)&&(a=document.createElement(`div`),a.classList.add(`swiper-button-prev`),$4(a,e.navigation.arrowSvg),a.part.add(`button-prev`),e.el.appendChild(a))),i&&(l.navigation.nextEl=i),a&&(l.navigation.prevEl=a),d.init(),d.update()),r.includes(`allowSlideNext`)&&(e.allowSlideNext=n.allowSlideNext),r.includes(`allowSlidePrev`)&&(e.allowSlidePrev=n.allowSlidePrev),r.includes(`direction`)&&e.changeDirection(n.direction,!1),(b||S)&&e.loopDestroy(),(x||S)&&e.loopCreate(),e.update()}function MHe(e={},t=!0){let n={on:{}},r={},i={};E3(n,b3),n._emitClasses=!0,n.init=!1;let a={},o=w3.map(e=>e.replace(/_/,``)),s=Object.assign({},e);return Object.keys(s).forEach(s=>{e[s]!==void 0&&(o.indexOf(s)>=0?T3(e[s])?(n[s]={},i[s]={},E3(n[s],e[s]),E3(i[s],e[s])):(n[s]=e[s],i[s]=e[s]):s.search(/on[A-Z]/)===0&&typeof e[s]==`function`?t?r[`${s[2].toLowerCase()}${s.substr(3)}`]=e[s]:n.on[`${s[2].toLowerCase()}${s.substr(3)}`]=e[s]:a[s]=e[s])}),[`navigation`,`pagination`,`scrollbar`].forEach(e=>{n[e]===!0&&(n[e]={}),n[e]===!1&&delete n[e]}),{params:n,passedParams:i,rest:a,events:r}}function NHe({el:e,nextEl:t,prevEl:n,paginationEl:r,scrollbarEl:i,swiper:a},o){D3(o)&&t&&n&&(a.params.navigation.nextEl=t,a.originalParams.navigation.nextEl=t,a.params.navigation.prevEl=n,a.originalParams.navigation.prevEl=n),O3(o)&&r&&(a.params.pagination.el=r,a.originalParams.pagination.el=r),k3(o)&&i&&(a.params.scrollbar.el=i,a.originalParams.scrollbar.el=i),a.init(e)}function PHe(e,t,n,r,i){let a=[];if(!t)return a;let o=e=>{a.indexOf(e)<0&&a.push(e)};if(n&&r){let e=r.map(i),t=n.map(i);e.join(``)!==t.join(``)&&o(`children`),r.length!==n.length&&o(`children`)}return w3.filter(e=>e[0]===`_`).map(e=>e.replace(/_/,``)).forEach(n=>{if(n in e&&n in t){if(T3(e[n])&&T3(t[n])){let r=Object.keys(e[n]),i=Object.keys(t[n]);r.length===i.length?(r.forEach(r=>{e[n][r]!==t[n][r]&&o(n)}),i.forEach(r=>{e[n][r]!==t[n][r]&&o(n)})):o(n)}else e[n]!==t[n]&&o(n)}}),a}var FHe=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit(`_virtualUpdated`),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function j3(){return j3=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j3.apply(this,arguments)}function M3(e){return e.type&&e.type.displayName&&e.type.displayName.includes(`SwiperSlide`)}function N3(e){let t=[];return I.Children.toArray(e).forEach(e=>{M3(e)?t.push(e):e.props&&e.props.children&&N3(e.props.children).forEach(e=>t.push(e))}),t}function IHe(e){let t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return I.Children.toArray(e).forEach(e=>{if(M3(e))t.push(e);else if(e.props&&e.props.slot&&n[e.props.slot])n[e.props.slot].push(e);else if(e.props&&e.props.children){let r=N3(e.props.children);r.length>0?r.forEach(e=>t.push(e)):n[`container-end`].push(e)}else n[`container-end`].push(e)}),{slides:t,slots:n}}function LHe(e,t,n){if(!n)return null;let r=e=>{let n=e;return e<0?n=t.length+e:n>=t.length&&(n-=t.length),n},i=e.isHorizontal()?{[e.rtlTranslate?`right`:`left`]:`${n.offset}px`}:{top:`${n.offset}px`},{from:a,to:o}=n,s=e.params.loop?-t.length:0,c=e.params.loop?t.length*2:t.length,l=[];for(let e=s;e<c;e+=1)e>=a&&e<=o&&l.push(t[r(e)]);return l.map((t,n)=>I.cloneElement(t,{swiper:e,style:i,key:t.props.virtualIndex||t.key||`slide-${n}`}))}function P3(e,t){return typeof window>`u`?(0,I.useEffect)(e,t):(0,I.useLayoutEffect)(e,t)}var F3=(0,I.createContext)(null),RHe=(0,I.createContext)(null),I3=(0,I.forwardRef)(({className:e,tag:t=`div`,wrapperTag:n=`div`,children:r,onSwiper:i,...a}={},o)=>{let s=!1,[c,l]=(0,I.useState)(`swiper`),[u,d]=(0,I.useState)(null),[f,p]=(0,I.useState)(!1),m=(0,I.useRef)(!1),h=(0,I.useRef)(null),g=(0,I.useRef)(null),_=(0,I.useRef)(null),v=(0,I.useRef)(null),y=(0,I.useRef)(null),b=(0,I.useRef)(null),x=(0,I.useRef)(null),S=(0,I.useRef)(null),{params:C,passedParams:w,rest:T,events:E}=MHe(a),{slides:D,slots:O}=IHe(r),k=()=>{p(!f)};Object.assign(C.on,{_containerClasses(e,t){l(t)}});let A=()=>{Object.assign(C.on,E),s=!0;let e={...C};if(delete e.wrapperClass,g.current=new C3(e),g.current.virtual&&g.current.params.virtual.enabled){g.current.virtual.slides=D;let e={cache:!1,slides:D,renderExternal:d,renderExternalUpdate:!1};E3(g.current.params.virtual,e),E3(g.current.originalParams.virtual,e)}};h.current||A(),g.current&&g.current.on(`_beforeBreakpoint`,k);let j=()=>
3895{!s&&E&&g.current&&Object.keys(E).forEach(e=>{g.current.on(e,E[e])})},M=()=>{E&&g.current&&Object.keys(E).forEach(e=>{g.current.off(e,E[e])})};(0,I.useEffect)(()=>()=>{g.current&&g.current.off(`_beforeBreakpoint`,k)}),(0,I.useEffect)(()=>{!m.current&&g.current&&(g.current.emitSlidesClasses(),m.current=!0)}),P3(()=>{if(o&&(o.current=h.current),h.current)return g.current.destroyed&&A(),NHe({el:h.current,nextEl:y.current,prevEl:b.current,paginationEl:x.current,scrollbarEl:S.current,swiper:g.current},C),i&&!g.current.destroyed&&i(g.current),()=>{g.current&&!g.current.destroyed&&g.current.destroy(!0,!1)}},[]),P3(()=>{j();let e=PHe(w,_.current,D,v.current,e=>e.key);return _.current=w,v.current=D,e.length&&g.current&&!g.current.destroyed&&jHe({swiper:g.current,slides:D,passedParams:w,changedParams:e,nextEl:y.current,prevEl:b.current,scrollbarEl:S.current,paginationEl:x.current}),()=>{M()}}),P3(()=>{FHe(g.current)},[u]);function ee(){return C.virtual?LHe(g.current,D,u):D.map((e,t)=>I.cloneElement(e,{swiper:g.current,swiperSlideIndex:t}))}return I.createElement(t,j3({ref:h,className:A3(`${c}${e?` ${e}`:``}`)},T),I.createElement(RHe.Provider,{value:g.current},O[`container-start`],I.createElement(n,{className:AHe(C.wrapperClass)},O[`wrapper-start`],ee(),O[`wrapper-end`]),D3(C)&&I.createElement(I.Fragment,null,I.createElement(`div`,{ref:b,className:`swiper-button-prev`}),I.createElement(`div`,{ref:y,className:`swiper-button-next`})),k3(C)&&I.createElement(`div`,{ref:S,className:`swiper-scrollbar`}),O3(C)&&I.createElement(`div`,{ref:x,className:`swiper-pagination`}),O[`container-end`]))});I3.displayName=`Swiper`;var L3=(0,I.forwardRef)(({tag:e=`div`,children:t,className:n=``,swiper:r,zoom:i,lazy:a,virtualIndex:o,swiperSlideIndex:s,...c}={},l)=>{let u=(0,I.useRef)(null),[d,f]=(0,I.useState)(`swiper-slide`),[p,m]=(0,I.useState)(!1);function h(e,t,n){t===u.current&&f(n)}P3(()=>{if(s!==void 0&&(u.current.swiperSlideIndex=s),l&&(l.current=u.current),u.current&&r){if(r.destroyed){d!==`swiper-slide`&&f(`swiper-slide`);return}return r.on(`_slideClass`,h),()=>{r&&r.off(`_slideClass`,h)}}}),P3(()=>{r&&u.current&&!r.destroyed&&f(r.getSlideClasses(u.current))},[r]);let g={isActive:d.indexOf(`swiper-slide-active`)>=0,isVisible:d.indexOf(`swiper-slide-visible`)>=0,isFullyVisible:d.indexOf(`swiper-slide-fully-visible`)>=0,isPrev:d.indexOf(`swiper-slide-prev`)>=0,isNext:d.indexOf(`swiper-slide-next`)>=0},_=()=>typeof t==`function`?t(g):t;return I.createElement(e,j3({ref:u,className:A3(`${d}${n?` ${n}`:``}`),"data-swiper-slide-index":o,onLoad:()=>{m(!0)}},c),i&&I.createElement(F3.Provider,{value:g},I.createElement(`div`,{className:`swiper-zoom-container`,"data-swiper-zoom":typeof i==`number`?i:void 0},_(),a&&!p&&I.createElement(`div`,{className:`swiper-lazy-preloader`,ref:e=>{e&&(e.lazyPreloaderManaged=!0)}}))),!i&&I.createElement(F3.Provider,{value:g},_(),a&&!p&&I.createElement(`div`,{className:`swiper-lazy-preloader`,ref:e=>{e&&(e.lazyPreloaderManaged=!0)}})))});L3.displayName=`SwiperSlide`;var zHe=U(I3)` 3896 width: 100%; 3897 max-width: 100vw; 3898`,R3=({block:e})=>{let{trackImageCarouselSwiped:t}=K0();return(0,V.jsx)(zHe,{loop:e.value.enableAutoplay&&e.value.loopAnimation,autoplay:e.value.enableAutoplay?{delay:e.value.displayDuration*1e3,disableOnInteraction:!1,stopOnLastSlide:!e.value.loopAnimation}:!1,pagination:e.value.enablePagination&&{clickable:!0},navigation:e.value.enableNavigation,grabCursor:!0,modules:[n3,yVe,bVe],onSlideChange:({activeIndex:n})=>t({blockId:e.id,imageId:e.entities?.[n].id||``}),children:e.entities?.map((e,t)=>(0,V.jsx)(L3,{children:(0,V.jsx)(f$,{image:e},t)},t))},e.value.enableAutoplay.toString())},BHe={View:R3},z3={blockType:`imageCarouselBlock`,type:`translatableEntitiesBlock`,Form:cVe,Preview:R3,emptyValue:{loopAnimation:!0,enableAutoplay:!0,enablePagination:!0,enableNavigation:!0,displayDuration:3},emptyTranslatedValue:{},mapEditResourceToFormState:e=>sRe(e),mapFormStateToRequest:(e,t)=>aRe(e.type,t),validate:(e,t)=>({...m2(e,(e,n)=>{e.displayDuration?e.displayDuration<0&&(n.displayDuration=t(`The display duration must be greater than zero.`)):n.displayDuration=t(`Field is required`)})})},VHe={...BHe,...z3},HHe=U.div` 3899 margin: ${({theme:e})=>e.spacing(4)} 0; 3900`,UHe=({blockType:e})=>{let{t}=B(),[{value:n},,{setValue:r}]=cI(`entities`);return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(E2,{blockType:e}),(0,V.jsx)(O2,{}),(0,V.jsx)(N2,{name:n?`entities.${n.length}`:`entities.0`,cropImageWithAspect:void 0,required:!1}),(0,V.jsxs)(HHe,{children:[(0,V.jsx)(YR,{children:t(`Images`)}),(0,V.jsx)(N4,{images:n??[],onDelete:e=>{r(n.filter(t=>t.id!==e))},onDragEnd:r})]})]})},WHe=e=>(0,V.jsx)(F2,{...e,blockForm:V3,children:(0,V.jsx)(UHe,{blockType:e.block.type})}),GHe=U.div` 3901 columns: 250px; 3902 gap: ${({theme:e})=>e.spacing(2)}; 3903`,KHe=U.img` 3904 break-inside: avoid; 3905 width: 100%; 3906 cursor: pointer; 3907`,qHe=U(L3)` 3908 align-self: center; 3909 display: flex; 3910 justify-content: center; 3911`,JHe=U.img` 3912 max-width: 100%; 3913 max-height: 100vh; 3914 object-fit: cover; 3915 object-position: center; 3916 padding: ${({theme:e})=>e.spacing(5)}; 3917`,YHe=U.div` 3918 width: 100%; 3919 background: ${({theme:e})=>e.colors.palette.white}; 3920 3921 ${({theme:e})=>e.breakpoints.tablet} { 3922 max-width: 70vw; 3923 } 3924`,B3=({block:e})=>{let{trackImageGalleryImageClicked:t,trackImageGallerySwiped:n}=K0(),[r,i]=(0,I.useState)(`closed`);return(0,V.jsxs)(V.Fragment,{children:[r!==`closed`&&(0,V.jsx)(eD,{onClose:()=>i(`closed`),children:t=>(0,V.jsx)(YHe,{...t,children:(0,V.jsx)(I3,{initialSlide:r,navigation:!0,modules:[n3],onSlideChange:({activeIndex:t})=>n({blockId:e.id,imageId:e.entities[t]?.id}),children:e.entities.map(e=>(0,V.jsxs)(qHe,{children:[(0,V.jsx)(JHe,{src:e.url,alt:e.alt||e.name,loading:`lazy`}),(0,V.jsx)(`div`,{className:`swiper-lazy-preloader`})]},e.id))})})}),(0,V.jsx)(GHe,{children:e.entities.map((n,r)=>(0,V.jsx)(KHe,{src:n.thumbnail?.url||n.url,alt:n.alt||n.name,loading:`lazy`,onClick:()=>{t({blockId:e.id,imageId:n.id}),i(r)}},n.id))})]})},XHe={View:B3},V3={blockType:`imageGalleryBlock`,type:`entitiesBlock`,Form:WHe,Preview:B3,emptyValue:null,emptyTranslatedValue:null,mapEditResourceToFormState:e=>oRe(e),mapFormStateToRequest:(e,t)=>
3924iRe(e.type,t),validate:cRe},ZHe={...XHe,...V3},QHe=({blockType:e})=>{let{t}=B();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(D2,{blockType:e}),(0,V.jsx)(k2,{}),(0,V.jsx)(LQ,{type:`color`,label:t(`Background color`),name:`translatedValue.keyVisualBackgroundColor`}),(0,V.jsx)(P2,{cropImageWithAspect:4})]})},$He=e=>(0,V.jsx)(I2,{...e,blockForm:U3,children:(0,V.jsx)(QHe,{blockType:e.block.type})}),H3=({block:e})=>(0,V.jsx)(ZMe,{keyVisualBackgroundColor:e.translatedValue.keyVisualBackgroundColor,keyVisualImage:e.entity}),eUe={View:H3},U3={blockType:`keyVisualBlock`,type:`translatableEntityBlock`,Form:$He,Preview:H3,emptyValue:null,emptyTranslatedValue:{keyVisualBackgroundColor:`#000000`},emptyTranslatedEntity:null,mapEditResourceToFormState:u2,mapFormStateToRequest:(e,t)=>a2(e.type,t),validate:(e,t)=>({...p2(e,t),..._2(e,(e,n,r,i)=>{e.keyVisualBackgroundColor||(r.keyVisualBackgroundColor=t(`Field is required`)),n||(i.entity=t(`Field is required`))})})},tUe={...eUe,...U3},nUe=({type:e})=>(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(E2,{blockType:e}),(0,V.jsx)(O2,{}),(0,V.jsx)(N2,{})]}),rUe=e=>(0,V.jsx)(F2,{...e,blockForm:G3,children:(0,V.jsx)(nUe,{type:e.block.type})}),W3=U.div` 3925 background-image: url(${({$src:e})=>e}); 3926 background-size: cover; 3927 background-position: center; 3928`,iUe=({block:e})=>{let t=(0,I.useMemo)(()=>e.children.map(e=>(0,V.jsx)(z2,{block:e},e.id)),[e]);return(0,V.jsx)(W3,{$src:e.entity?.url||``,children:t})},aUe=({block:e})=>{let t=(0,I.useMemo)(()=>e.children.map(e=>(0,V.jsx)(R2,{block:e},e.id)),[e]);return(0,V.jsx)(W3,{$src:e.entity?.url||``,children:t})},oUe={View:iUe},G3={blockType:`layoutBackgroundImageBlock`,type:`layoutEntityBlock`,Form:rUe,Preview:aUe,emptyValue:null,emptyTranslatedValue:null,mapEditResourceToFormState:f2,mapFormStateToRequest:(e,t)=>s2(e.type,t),validate:h2},sUe={...oUe,...G3},cUe=({blockType:e})=>(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(E2,{blockType:e}),(0,V.jsx)(O2,{}),(0,V.jsx)(S2,{showGap:!0})]}),lUe=e=>(0,V.jsx)(F2,{...e,blockForm:q3,children:(0,V.jsx)(cUe,{blockType:e.block.type})}),K3=U.div` 3929 display: grid; 3930 grid-template-columns: 1fr; 3931 gap: ${({theme:e,$padding:t})=>e.spacing(t.gap)}; 3932 padding-top: ${({theme:e,$padding:t})=>e.spacing(t.top)}; 3933 padding-right: ${({theme:e,$padding:t})=>e.spacing(t.right)}; 3934 padding-bottom: ${({theme:e,$padding:t})=>e.spacing(t.bottom)}; 3935 padding-left: ${({theme:e,$padding:t})=>e.spacing(t.left)}; 3936`,uUe=({block:e})=>(0,V.jsx)(K3,{$padding:e.value.padding,children:e.children.map(e=>(0,V.jsx)(z2,{block:e},e.id))}),dUe=({block:e})=>(0,V.jsx)(K3,{$padding:e.value.padding,children:e.children.map(e=>(0,V.jsx)(R2,{block:e},e.id))}),fUe={View:uUe},q3={blockType:`layoutRowBlock`,type:`layoutBlock`,Form:lUe,Preview:dUe,emptyValue:{padding:uRe},emptyTranslatedValue:null,mapEditResourceToFormState:d2,mapFormStateToRequest:(e,t)=>o2(e.type,t),validate:(e,t)=>({...p2(e,t),...m2(e,(e,n)=>{let r=x2(t,e.padding);r&&(n.padding=r)})})},pUe={...fUe,...q3},mUe=[`internal`,`external`,`page`,`drawer`,`file`],hUe=({blockType:e})=>{let{t}=B(),n=(0,I.useCallback)(e=>t(`LinkBlockType.${e}`),[t]),r=(0,I.useCallback)(e=>e,[]),i=K2(),[a]=cI(`value.buttonType`),{isMainForm:o}=TK(),[,,s]=cI(`value.color`),[,,c]=cI(`value.backgroundColor`),[{value:l}]=cI(`${i}.type`),[{value:u}]=cI(`value.viewType`),d=[{value:`primary`,name:t(`Primary`)},{value:`secondary`,name:t(`Secondary`)},{value:`custom`,name:t(`Custom`)}];return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(D2,{blockType:e,targetFieldName:`translatedValue.label`}),(0,V.jsx)(k2,{}),(0,V.jsx)(MK,{children:(0,V.jsxs)(QQ,{name:`value.viewType`,children:[(0,V.jsx)(ZQ,{label:t(`Button`),value:`button`}),(0,V.jsx)(ZQ,{label:t(`Text`),value:`text`})]})}),u===`button`&&(0,V.jsxs)(V.Fragment,{children:[o&&(0,V.jsx)($Q,{onChange:e=>{e.target.value!==`custom`&&(s.setValue(null),c.setValue(null))},name:`value.buttonType`,label:t(`Button color`),options:d}),o&&a.value===`custom`&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(tz,{label:t(`Text color`),name:`value.color`,type:`color`}),(0,V.jsx)(tz,{label:t(`Background color`),name:`value.backgroundColor`,type:`color`})]})]}),(0,V.jsx)(LQ,{label:t(`Label`),name:`translatedValue.label`,de
3936scription:t(`The label is displayed in the browser tab.`)}),(0,V.jsx)(nK,{label:t(`Type`),name:`${i}.type`,placeholder:`select...`,options:mUe,getLabel:n,getValue:r}),(l===`internal`||l===`external`)&&(0,V.jsx)(LQ,{label:t(`Url`),name:`translatedValue.url`}),(l===`drawer`||l===`page`)&&(0,V.jsx)(C2,{label:t(`Block`),name:`entity`,blockType:`pageBlock`}),l===`file`&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(LQ,{label:t(`Url`),name:`translatedValue.url`,disabled:!0}),(0,V.jsx)(G2,{label:t(`Choose file`),name:`translatedValue.url`,required:!0})]})]})},gUe=e=>(0,V.jsx)(I2,{...e,blockForm:Z3,children:(0,V.jsx)(hUe,{blockType:e.block.type})}),_Ue=U.div` 3937 cursor: pointer; 3938`,vUe=U.a` 3939 text-decoration: none; 3940 color: ${({theme:e})=>e.colors.palette.black}; 3941`,J3=U(ub)` 3942 text-decoration: none; 3943 color: ${({theme:e})=>e.colors.palette.black}; 3944`,Y3=U(nz)` 3945 display: inline-flex; 3946`,yUe=U(Y3)` 3947 color: ${({$color:e})=>e}; 3948 background-color: ${({$backgroundColor:e})=>e}; 3949`,bUe=U(nz)` 3950 color: ${({$color:e})=>e}; 3951 background-color: ${({$backgroundColor:e})=>e}; 3952`,xUe=U(JN)` 3953 color: ${({$color:e})=>e}; 3954 background-color: ${({$backgroundColor:e})=>e}; 3955`,SUe=U(FE)` 3956 color: ${({$color:e})=>e}; 3957 background-color: ${({$backgroundColor:e})=>e}; 3958`,X3=({block:e})=>{let[t,n]=(0,I.useState)(!1),{trackLinkClicked:r}=K0(),{blockPageBaseUrl:i,isPublic:a}=I6(),o=(0,I.useCallback)(()=>{e.entity&&(r({type:`drawer`,blockId:e.entity.id}),n(!0))},[e,r]);return e.value.viewType===`text`?(0,V.jsx)(wUe,{block:e,blockPageBaseUrl:i,trackLinkClicked:r,isDrawerOpen:t,openDrawer:o,closeDrawer:()=>n(!1),isPublic:a}):(0,V.jsx)(CUe,{block:e,blockPageBaseUrl:i,trackLinkClicked:r,isDrawerOpen:t,openDrawer:o,closeDrawer:()=>n(!1),isPublic:a})},CUe=({block:e,isDrawerOpen:t,openDrawer:n,closeDrawer:r,blockPageBaseUrl:i,trackLinkClicked:a,isPublic:o})=>{let s=o?J2:q2;if(e.translatedValue.type===`internal`){let t=e.translatedValue.url;return e.value.color&&e.value.backgroundColor?(0,V.jsx)(bUe,{$color:e.value.color,$backgroundColor:e.value.backgroundColor,onClick:()=>a({type:`internal`,url:t}),to:t,children:e.translatedValue.label}):(0,V.jsx)(nz,{color:e.value.buttonType,onClick:()=>a({type:`internal`,url:t}),to:t,children:e.translatedValue.label})}if(e.translatedValue.type===`external`||e.translatedValue.type===`file`){let t=e.translatedValue.url;return e.value.color&&e.value.backgroundColor?(0,V.jsx)(xUe,{$color:e.value.color,$backgroundColor:e.value.backgroundColor,onClick:()=>a({type:`external`,url:t}),href:t,target:`_blank`,rel:`noreferrer`,children:e.translatedValue.label}):(0,V.jsx)(JN,{color:e.value.buttonType,onClick:()=>a({type:`external`,url:t}),href:t,target:`_blank`,rel:`noreferrer`,children:e.translatedValue.label})}if(e.translatedValue.type===`page`&&e.entity){let t=`${i}/${e.entity.slug}`;return e.value.color&&e.value.backgroundColor?(0,V.jsx)(yUe,{$color:e.value.color,$backgroundColor:e.value.backgroundColor,onClick:()=>a({type:`internal`,url:t}),to:t,children:e.translatedValue.label}):(0,V.jsx)(Y3,{onClick:()=>a({type:`internal`,url:t}),color:e.value.buttonType,to:t,children:e.translatedValue.label})}return e.translatedValue.type===`drawer`&&e.entity?(0,V.jsxs)(V.Fragment,{children:[e.value.color&&e.value.backgroundColor?(0,V.jsx)(SUe,{$color:e.value.color,$backgroundColor:e.value.backgroundColor,type:`button`,onClick:n,children:e.translatedValue.label}):(0,V.jsx)(FE,{type:`button`,onClick:n,color:e.value.buttonType,children:e.translatedValue.label}),(0,V.jsx)(HN,{open:t,onClose:r,children:(0,V.jsx)(s,{blockId:e.entity.id,onClose:r})})]}):null},wUe=({block:e,isDrawerOpen:t,openDrawer:n,closeDrawer:r,blockPageBaseUrl:i,trackLinkClicked:a,isPublic:o})=>{let s=o?J2:q2;if(e.translatedValue.type===`internal`){let t=e.translatedValue.url;return(0,V.jsx)(J3,{onClick:()=>a({type:`internal`,url:t}),to:t,children:e.translatedValue.label})}if(e.translatedValue.type===`external`){let t=e.translatedValue.url;return(0,V.jsx)(vUe,{onClick:()=>a({type:`external`,url:t}),href:t,target:`_blank`,rel:`noreferrer`,children:e.translatedValue.label})}if(e.translatedValue.type===`page`&&e.entity){let t=`${i}/${e.entity.slug}`,n=e.entity.id;return(0,V.jsx)(J3,{onClick:()=>a({type:`page`,blockId:n}),to:t,children:e.translatedValue.label})}return e.translatedValue.type===`drawer`&&e.entity?(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(_Ue,{onClick:n,children:e.translatedValue.label}),(0,V.jsx)(HN,{open:t,onClose:r,children:(0,V.jsx)(s,{blockId:e.entity.id,onClose:r})})]}):null},TUe={View:X3},Z3={blockType:`linkBlock`,type:`entityBlock`,Form:gUe,Preview:X3,emptyValue:{viewType:`button`,buttonType:`primary`,color:null,backgroundColor:null},emptyTranslatedValue:{label:``,type:`internal`,url:``},mapEditResourceToFormState:l2,mapFormStateToRequest:(e,t)=>
3958i2(e.type,t),validate:(e,t)=>{let n=p2(e,t);return{...n,...m2(e,(e,n)=>{e.viewType===`button`&&(e.buttonType||(n.buttonType=t(`Field is required`)),e.buttonType===`custom`&&(e.color||(n.color=t(`Field is required`)),e.backgroundColor||(n.backgroundColor=t(`Field is required`))))}),...g2(e,(r,i)=>{r.label||(i.label=t(`Field is required`)),(r.type===`internal`||r.type===`external`||r.type===`file`)&&!r.url&&(i.url=t(`Field is required`)),r.type===`external`&&(cQ(r.url)||(i.url=t(`Invalid URL format: The URL must start with https://.`))),(r.type===`page`||r.type===`drawer`)&&!e.entity&&(n.entity=t(`Field is required`))})}}},EUe={...TUe,...Z3},DUe=[`internal`,`external`,`page`,`drawer`,`file`],OUe=({type:e})=>{let{t}=B(),n=(0,I.useCallback)(e=>t(`LinkBlockType.${e}`),[t]),r=(0,I.useCallback)(e=>e,[]),i=K2(),[{value:a}]=cI(`${i}.type`);return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(D2,{blockType:e}),(0,V.jsx)(k2,{}),(0,V.jsx)(nK,{label:t(`Type`),name:`${i}.type`,placeholder:`select...`,options:DUe,getLabel:n,getValue:r}),(a===`internal`||a===`external`)&&(0,V.jsx)(LQ,{label:t(`Url`),name:`translatedValue.url`}),(a===`drawer`||a===`page`)&&(0,V.jsx)(C2,{label:t(`Block`),name:`entity`,blockType:`pageBlock`}),a===`file`&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(LQ,{label:t(`Url`),name:`translatedValue.url`,disabled:!0}),(0,V.jsx)(G2,{label:t(`Choose file`),name:`translatedValue.url`,required:!0})]})]})},kUe=e=>(0,V.jsx)(I2,{...e,blockForm:t6,children:(0,V.jsx)(OUe,{type:e.block.type})}),Q3=U.div` 3959 cursor: pointer; 3960`,$3=U.a` 3961 text-decoration: none; 3962 color: ${({theme:e})=>e.colors.palette.black}; 3963`,e6=U(ub)` 3964 text-decoration: none; 3965 color: ${({theme:e})=>e.colors.palette.black}; 3966`,AUe=({block:e})=>{let t=(0,I.useMemo)(()=>e.children.map(e=>(0,V.jsx)(z2,{block:e},e.id)),[e]),[n,r]=(0,I.useState)(!1),{trackLinkClicked:i}=K0(),{blockPageBaseUrl:a,isPublic:o}=I6(),s=o?J2:q2,c=(0,I.useCallback)(()=>{r(!1)},[]),l=e=>()=>i({type:`internal`,url:e}),u=(0,I.useCallback)(()=>{e.entity&&(i({type:`drawer`,blockId:e.entity.id}),r(!0))},[e,i]);if(e.translatedValue.type===`internal`)return(0,V.jsx)(e6,{to:e.translatedValue.url,onClick:l(e.translatedValue.url),children:t});if(e.translatedValue.type===`external`||e.translatedValue.type===`file`){let n=e.translatedValue.url;return(0,V.jsx)($3,{onClick:()=>i({type:`external`,url:n}),href:n,target:`_blank`,rel:`noreferrer`,children:t})}if(e.translatedValue.type===`page`&&e.entity){let n=`${a}/${e.entity.slug}`,r=e.entity.id;return(0,V.jsx)(e6,{onClick:()=>i({type:`page`,blockId:r}),to:n,children:t})}return e.translatedValue.type===`drawer`&&e.entity?(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(Q3,{onClick:u,children:t}),(0,V.jsx)(HN,{open:n,onClose:c,children:(0,V.jsx)(s,{blockId:e.entity.id,onClose:c})})]}):(e.translatedValue.type===`page`||e.translatedValue.type===`drawer`)&&!e.entity?(0,V.jsx)(V.Fragment,{children:t}):null},jUe=({block:e})=>{let t=(0,I.useMemo)(()=>e.children.map(e=>(0,V.jsx)(z2,{block:e},e.id)),[e]),[n,r]=(0,I.useState)(!1),{trackLinkClicked:i}=K0(),{blockPageBaseUrl:a,isPublic:o}=I6(),s=o?J2:q2,c=(0,I.useCallback)(()=>{r(!1)},[]),l=e=>()=>i({type:`internal`,url:e}),u=(0,I.useCallback)(()=>{e.entity&&(i({type:`drawer`,blockId:e.entity.id}),r(!0))},[e,i]);if(e.translatedValue.type===`internal`)return(0,V.jsx)(e6,{to:e.translatedValue.url,onClick:l(e.translatedValue.url),children:t});if(e.translatedValue.type===`external`){let n=e.translatedValue.url;return(0,V.jsx)($3,{onClick:()=>i({type:`external`,url:n}),href:n,target:`_blank`,rel:`noreferrer`,children:t})}if(e.translatedValue.type===`page`&&e.entity){let n=`${a}/${e.entity.slug}`,r=e.entity.id;return(0,V.jsx)(e6,{onClick:()=>i({type:`page`,blockId:r}),to:n,children:t})}return e.translatedValue.type===`drawer`&&e.entity?(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(Q3,{onClick:u,children:t}),(0,V.jsx)(HN,{open:n,onClose:c,children:(0,V.jsx)(s,{blockId:e.entity.id,onClose:c})})]}):(e.translatedValue.type===`page`||e.translatedValue.type===`drawer`)&&!e.entity?(0,V.jsx)(V.Fragment,{children:t}):null},MUe={View:AUe},t6={blockType:`linkContainerBlock`,type:`layoutEntityBlock`,Form:kUe,Preview:jUe,emptyValue:null,emptyTranslatedValue:{type:`internal`,url:``},mapEditResourceToFormState:f2,mapFormStateToRequest:(e,t)=>
3966s2(e.type,t),validate:(e,t)=>{let n=p2(e,t);return{...n,...g2(e,(r,i)=>{(r.type===`internal`||r.type===`external`||r.type===`file`)&&!r.url&&(i.url=t(`Field is required`)),r.type===`external`&&(cQ(r.url)||(i.url=t(`Invalid URL format: The URL must start with https://.`))),(r.type===`page`||r.type===`drawer`)&&!e.entity&&(n.entity=t(`Field is required`))})}}},NUe={...MUe,...t6},PUe=({blockType:e})=>{let{t}=B();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(D2,{blockType:e}),(0,V.jsxs)(MK,{children:[(0,V.jsx)(tz,{name:`value.lat`,label:t(`Latitude`),required:!0}),(0,V.jsx)(tz,{name:`value.lng`,label:t(`Longitude`),required:!0})]}),(0,V.jsx)(LQ,{label:t(`Label`),name:`translatedValue.label`,required:!0,description:t(`Will be visible on marker click.`)}),(0,V.jsx)(IQ,{label:t(`Description`),name:`translatedValue.description`,description:t(`Will be visible on marker click.`)})]})},FUe=e=>(0,V.jsx)(I2,{...e,blockForm:r6,children:(0,V.jsx)(PUe,{blockType:e.block.type})}),n6=()=>null,IUe=e=>isFinite(+e)&&Math.abs(+e)<=180,LUe=e=>isFinite(+e)&&Math.abs(+e)<=90,RUe={View:n6},r6={blockType:`mapMarkerBlock`,type:`block`,Form:FUe,Preview:n6,emptyValue:{lat:``,lng:``},emptyTranslatedValue:{label:``,description:null},mapEditResourceToFormState:c2,mapFormStateToRequest:(e,t)=>r2(e.type,t),validate:(e,t)=>({...p2(e,t),...m2(e,(e,n)=>{e.lat?LUe(e.lat)||(n.lat=t(`Invalid value`)):n.lat=t(`Field is required`),e.lng?IUe(e.lng)||(n.lng=t(`Invalid value`)):n.lng=t(`Field is required`)}),...g2(e,(e,n)=>{e.label||(n.label=t(`Field is required`))})})},zUe={...RUe,...r6},BUe=U.div` 3967 padding: ${({theme:e})=>e.spacing(2)}; 3968 border-radius: ${({theme:e})=>e.spacing(1)}; 3969 border: 1px solid ${({theme:e})=>e.colors.palette.warning.dark.base}; 3970 background-color: ${({theme:e})=>e.colors.palette.warning.main.base}; 3971 color: ${({theme:e})=>e.colors.palette.warning.main.contrast}; 3972 margin-bottom: ${({theme:e})=>e.spacing(4)}; 3973`,VUe=({blockType:e})=>{let{t}=B();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(BUe,{children:t(`To add or remove map markers use the preview for this maps block.`)}),(0,V.jsx)(D2,{blockType:e}),(0,V.jsx)(nK,{label:t(`Size`),name:`value.size`,options:[`small`,`medium`,`large`],getLabel:e=>t(e),required:!0})]})},HUe=e=>(0,V.jsx)(I2,{...e,blockForm:h6,children:(0,V.jsx)(VUe,{blockType:e.block.type})}),UUe=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?r(e):typeof define==`function`&&define.amd?define([`exports`],r):(n=typeof globalThis<`u`?globalThis:n||self,r(n.leaflet={}))})(e,(function(e){var t=`1.9.4`;function n(e){for(var t,n=1,r=arguments.length,i;n<r;n++)for(t in i=arguments[n],i)e[t]=i[t];return e}var r=Object.create||(function(){function e(){}return function(t){return e.prototype=t,new e}})();function i(e,t){var n=Array.prototype.slice;if(e.bind)return e.bind.apply(e,n.call(arguments,1));var r=n.call(arguments,2);return function(){return e.apply(t,r.length?r.concat(n.call(arguments)):arguments)}}var a=0;function o(e){return`_leaflet_id`in e||(e._leaflet_id=++a),e._leaflet_id}function s(e,t,n){var r,i,a,o=function(){r=!1,i&&=(a.apply(n,i),!1)};return a=function(){r?i=arguments:(e.apply(n,arguments),setTimeout(o,t),r=!0)},a}function c(e,t,n){var r=t[1],i=t[0],a=r-i;return e===r&&n?e:((e-i)%a+a)%a+i}function l(){return!1}function u(e,t){if(t===!1)return e;var n=10**(t===void 0?6:t);return Math.round(e*n)/n}function d(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,``)}function f(e){return d(e).split(/\s+/)}function p(e,t){for(var n in Object.prototype.hasOwnProperty.call(e,`options`)||(e.options=e.options?r(e.options):{}),t)e.options[n]=t[n];return e.options}function m(e,t,n){var r=[];for(var i in e)r.push(encodeURIComponent(n?i.toUpperCase():i)+`=`+encodeURIComponent(e[i]));return(!t||t.indexOf(`?`)===-1?`?`:`&`)+r.join(`&`)}var h=/\{ *([\w_ -]+) *\}/g;function g(e,t){return e.replace(h,function(e,n){var r=t[n];if(r===void 0)throw Error(`No value provided for variable `+e);return typeof r==`function`&&(r=r(t)),r})}var _=Array.isArray||function(e){return Object.prototype.toString.call(e)===`[object Array]`};function v(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1}var y=`data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=`;function b(e){return window[`webkit`+e]||window[`moz`+e]||window[`ms`+e]}var x=0;function S(e){var t=+new Date,n=Math.max(0,16-(t-x));return x=t+n,window.setTimeout(e,n)}var C=window.requestAnimationFrame||b(`RequestAnimationFrame`)||S,w=window.cancelAnimationFrame||b(`CancelAnimationFrame`)||b(`CancelRequestAnimationFrame`)||function(e){window.clearTimeout(e)};function T(e,t,n){if(n&&C===S)e.call(t);else return C.call(window,i(e,t))}function E(e){e&&w.call(window,e)}var D={__proto__:null,extend:n,create:r,bind:i,get lastId(){return a},stamp:o,throttle:s,wrapNum:c,falseFn:l,formatNum:u,trim:d,splitWords:f,setOptions:p,getParamString:m,template:g,isArray:_,indexOf:v,emptyImageUrl:y,requestFn:C,cancelFn:w,requestAnimFrame:T,cancelAnimFrame:E};function O(){}O.extend=function(e){var t=function(){p(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},i=t.__super__=this.prototype,a=r(i);for(var o in a.constructor=t,t.prototype=a,this)Object.prototype.hasOwnProperty.call(this,o)&&o!==`prototype`&&o!==`__super__`&&(t[o]=this[o]);return e.statics&&n(t,e.statics),e.includes&&(k(e.includes),n.apply(null,[a].concat(e.includes))),n(a,e),delete a.statics,delete a.includes,a.options&&(a.options=i.options?r(i.options):{},n(a.options,e.options)),a._initHooks=[],a.callInitHooks=function(){if(!this._initHooksCalled){i.callInitHooks&&i.callInitHooks.call(this),this._initHooksCalled=!0;for(var e=0,t=a._initHooks.length;e<t;e++)a._initHooks[e].call(this)}},t},O.include=function(e){var t=this.prototype.options;return n(this.prototype,e),e.options&&(this.prototype.options=t,this.mergeOptions(e.options)),this},O.mergeOptions=function(e){return n(this.prototype.options,e),this},O.addInitHook=function(e){var t=Array.prototype.slice.call(arguments,1
3973),n=typeof e==`function`?e:function(){this[e].apply(this,t)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(n),this};function k(e){if(!(typeof L>`u`||!L||!L.Mixin)){e=_(e)?e:[e];for(var t=0;t<e.length;t++)e[t]===L.Mixin.Events&&console.warn(`Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.`,Error().stack)}}var A={on:function(e,t,n){if(typeof e==`object`)for(var r in e)this._on(r,e[r],t);else{e=f(e);for(var i=0,a=e.length;i<a;i++)this._on(e[i],t,n)}return this},off:function(e,t,n){if(!arguments.length)delete this._events;else if(typeof e==`object`)for(var r in e)this._off(r,e[r],t);else{e=f(e);for(var i=arguments.length===1,a=0,o=e.length;a<o;a++)i?this._off(e[a]):this._off(e[a],t,n)}return this},_on:function(e,t,n,r){if(typeof t!=`function`){console.warn(`wrong listener type: `+typeof t);return}if(this._listens(e,t,n)===!1){n===this&&(n=void 0);var i={fn:t,ctx:n};r&&(i.once=!0),this._events=this._events||{},this._events[e]=this._events[e]||[],this._events[e].push(i)}},_off:function(e,t,n){var r,i,a;if(this._events&&(r=this._events[e],r)){if(arguments.length===1){if(this._firingCount)for(i=0,a=r.length;i<a;i++)r[i].fn=l;delete this._events[e];return}if(typeof t!=`function`){console.warn(`wrong listener type: `+typeof t);return}var o=this._listens(e,t,n);if(o!==!1){var s=r[o];this._firingCount&&(s.fn=l,this._events[e]=r=r.slice()),r.splice(o,1)}}},fire:function(e,t,r){if(!this.listens(e,r))return this;var i=n({},t,{type:e,target:this,sourceTarget:t&&t.sourceTarget||this});if(this._events){var a=this._events[e];if(a){this._firingCount=this._firingCount+1||1;for(var o=0,s=a.length;o<s;o++){var c=a[o],l=c.fn;c.once&&this.off(e,l,c.ctx),l.call(c.ctx||this,i)}this._firingCount--}}return r&&this._propagateEvent(i),this},listens:function(e,t,n,r){typeof e!=`string`&&console.warn(`"string" type argument expected`);var i=t;typeof t!=`function`&&(r=!!t,i=void 0,n=void 0);var a=this._events&&this._events[e];if(a&&a.length&&this._listens(e,i,n)!==!1)return!0;if(r){for(var o in this._eventParents)if(this._eventParents[o].listens(e,t,n,r))return!0}return!1},_listens:function(e,t,n){if(!this._events)return!1;var r=this._events[e]||[];if(!t)return!!r.length;n===this&&(n=void 0);for(var i=0,a=r.length;i<a;i++)if(r[i].fn===t&&r[i].ctx===n)return i;return!1},once:function(e,t,n){if(typeof e==`object`)for(var r in e)this._on(r,e[r],t,!0);else{e=f(e);for(var i=0,a=e.length;i<a;i++)this._on(e[i],t,n,!0)}return this},addEventParent:function(e){return this._eventParents=this._eventParents||{},this._eventParents[o(e)]=e,this},removeEventParent:function(e){return this._eventParents&&delete this._eventParents[o(e)],this},_propagateEvent:function(e){for(var t in this._eventParents)this._eventParents[t].fire(e.type,n({layer:e.target,propagatedFrom:e.target},e),!0)}};A.addEventListener=A.on,A.removeEventListener=A.clearAllEventListeners=A.off,A.addOneTimeEventListener=A.once,A.fireEvent=A.fire,A.hasEventListeners=A.listens;var j=O.extend(A);function M(e,t,n){this.x=n?Math.round(e):e,this.y=n?Math.round(t):t}var ee=Math.trunc||function(e){return e>0?Math.floor(e):Math.ceil(e)};M.prototype={clone:function(){return new M(this.x,this.y)},add:function(e){return this.clone()._add(N(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(N(e))},_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new M(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new M(this.x/e.x,this.y/e.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=ee(this.x),this.y=ee(this.y),this},distanceTo:function(e){e=N(e);var t=e.x-this.x,n=e.y-this.y;return Math.sqrt(t*t+n*n)},equals:function(e){return e=N(e),e.x===this.x&&e.y===this.y},contains:function(e){return e=N(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return`Point(`+u(this.x)+`, `+u(this.y)+`)`}};function N(e,t,n){return e instanceof M?e:_(e)?new M(e[0],e[1]):e==null?e:typeof e==`object`&&`x`in e&&`y`in e?new M(e.x,e.y):new M(e,t,n)}function te(e,t){if(e)for(var n=t?[e,t]:e,r=0,i=n.length;r<i;r++)this.extend(n[r])}te.prototype={extend:function(e){var t,n;if(!e)return this;
3973if(e instanceof M||typeof e[0]==`number`||`x`in e)t=n=N(e);else if(e=ne(e),t=e.min,n=e.max,!t||!n)return this;return!this.min&&!this.max?(this.min=t.clone(),this.max=n.clone()):(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(n.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(n.y,this.max.y)),this},getCenter:function(e){return N((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,e)},getBottomLeft:function(){return N(this.min.x,this.max.y)},getTopRight:function(){return N(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(e){var t,n;return e=typeof e[0]==`number`||e instanceof M?N(e):ne(e),e instanceof te?(t=e.min,n=e.max):t=n=e,t.x>=this.min.x&&n.x<=this.max.x&&t.y>=this.min.y&&n.y<=this.max.y},intersects:function(e){e=ne(e);var t=this.min,n=this.max,r=e.min,i=e.max,a=i.x>=t.x&&r.x<=n.x,o=i.y>=t.y&&r.y<=n.y;return a&&o},overlaps:function(e){e=ne(e);var t=this.min,n=this.max,r=e.min,i=e.max,a=i.x>t.x&&r.x<n.x,o=i.y>t.y&&r.y<n.y;return a&&o},isValid:function(){return!!(this.min&&this.max)},pad:function(e){var t=this.min,n=this.max,r=Math.abs(t.x-n.x)*e,i=Math.abs(t.y-n.y)*e;return ne(N(t.x-r,t.y-i),N(n.x+r,n.y+i))},equals:function(e){return e?(e=ne(e),this.min.equals(e.getTopLeft())&&this.max.equals(e.getBottomRight())):!1}};function ne(e,t){return!e||e instanceof te?e:new te(e,t)}function re(e,t){if(e)for(var n=t?[e,t]:e,r=0,i=n.length;r<i;r++)this.extend(n[r])}re.prototype={extend:function(e){var t=this._southWest,n=this._northEast,r,i;if(e instanceof P)r=e,i=e;else if(e instanceof re){if(r=e._southWest,i=e._northEast,!r||!i)return this}else return e?this.extend(F(e)||ie(e)):this;return!t&&!n?(this._southWest=new P(r.lat,r.lng),this._northEast=new P(i.lat,i.lng)):(t.lat=Math.min(r.lat,t.lat),t.lng=Math.min(r.lng,t.lng),n.lat=Math.max(i.lat,n.lat),n.lng=Math.max(i.lng,n.lng)),this},pad:function(e){var t=this._southWest,n=this._northEast,r=Math.abs(t.lat-n.lat)*e,i=Math.abs(t.lng-n.lng)*e;return new re(new P(t.lat-r,t.lng-i),new P(n.lat+r,n.lng+i))},getCenter:function(){return new P((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new P(this.getNorth(),this.getWest())},getSouthEast:function(){return new P(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(e){e=typeof e[0]==`number`||e instanceof P||`lat`in e?F(e):ie(e);var t=this._southWest,n=this._northEast,r,i;
3973return e instanceof re?(r=e.getSouthWest(),i=e.getNorthEast()):r=i=e,r.lat>=t.lat&&i.lat<=n.lat&&r.lng>=t.lng&&i.lng<=n.lng},intersects:function(e){e=ie(e);var t=this._southWest,n=this._northEast,r=e.getSouthWest(),i=e.getNorthEast(),a=i.lat>=t.lat&&r.lat<=n.lat,o=i.lng>=t.lng&&r.lng<=n.lng;return a&&o},overlaps:function(e){e=ie(e);var t=this._southWest,n=this._northEast,r=e.getSouthWest(),i=e.getNorthEast(),a=i.lat>t.lat&&r.lat<n.lat,o=i.lng>t.lng&&r.lng<n.lng;return a&&o},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(`,`)},equals:function(e,t){return e?(e=ie(e),this._southWest.equals(e.getSouthWest(),t)&&this._northEast.equals(e.getNorthEast(),t)):!1},isValid:function(){return!!(this._southWest&&this._northEast)}};function ie(e,t){return e instanceof re?e:new re(e,t)}function P(e,t,n){if(isNaN(e)||isNaN(t))throw Error(`Invalid LatLng object: (`+e+`, `+t+`)`);this.lat=+e,this.lng=+t,n!==void 0&&(this.alt=+n)}P.prototype={equals:function(e,t){return e?(e=F(e),Math.max(Math.abs(this.lat-e.lat),Math.abs(this.lng-e.lng))<=(t===void 0?1e-9:t)):!1},toString:function(e){return`LatLng(`+u(this.lat,e)+`, `+u(this.lng,e)+`)`},distanceTo:function(e){return oe.distance(this,F(e))},wrap:function(){return oe.wrapLatLng(this)},toBounds:function(e){var t=180*e/40075017,n=t/Math.cos(Math.PI/180*this.lat);return ie([this.lat-t,this.lng-n],[this.lat+t,this.lng+n])},clone:function(){return new P(this.lat,this.lng,this.alt)}};function F(e,t,n){return e instanceof P?e:_(e)&&typeof e[0]!=`object`?e.length===3?new P(e[0],e[1],e[2]):e.length===2?new P(e[0],e[1]):null:e==null?e:typeof e==`object`&&`lat`in e?new P(e.lat,`lng`in e?e.lng:e.lon,e.alt):t===void 0?null:new P(e,t,n)}var ae={latLngToPoint:function(e,t){var n=this.projection.project(e),r=this.scale(t);return this.transformation._transform(n,r)},pointToLatLng:function(e,t){var n=this.scale(t),r=this.transformation.untransform(e,n);return this.projection.unproject(r)},project:function(e){return this.projection.project(e)},unproject:function(e){return this.projection.unproject(e)},scale:function(e){return 256*2**e},zoom:function(e){return Math.log(e/256)/Math.LN2},getProjectedBounds:function(e){if(this.infinite)return null;var t=this.projection.bounds,n=this.scale(e);return new te(this.transformation.transform(t.min,n),this.transformation.transform(t.max,n))},infinite:!1,wrapLatLng:function(e){var t=this.wrapLng?c(e.lng,this.wrapLng,!0):e.lng,n=this.wrapLat?c(e.lat,this.wrapLat,!0):e.lat,r=e.alt;return new P(n,t,r)},wrapLatLngBounds:function(e){var t=e.getCenter(),n=this.wrapLatLng(t),r=t.lat-n.lat,i=t.lng-n.lng;if(r===0&&i===0)return e;
3973var a=e.getSouthWest(),o=e.getNorthEast();return new re(new P(a.lat-r,a.lng-i),new P(o.lat-r,o.lng-i))}},oe=n({},ae,{wrapLng:[-180,180],R:6371e3,distance:function(e,t){var n=Math.PI/180,r=e.lat*n,i=t.lat*n,a=Math.sin((t.lat-e.lat)*n/2),o=Math.sin((t.lng-e.lng)*n/2),s=a*a+Math.cos(r)*Math.cos(i)*o*o,c=2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s));return this.R*c}}),se=6378137,ce={R:se,MAX_LATITUDE:85.0511287798,project:function(e){var t=Math.PI/180,n=this.MAX_LATITUDE,r=Math.max(Math.min(n,e.lat),-n),i=Math.sin(r*t);return new M(this.R*e.lng*t,this.R*Math.log((1+i)/(1-i))/2)},unproject:function(e){var t=180/Math.PI;return new P((2*Math.atan(Math.exp(e.y/this.R))-Math.PI/2)*t,e.x*t/this.R)},bounds:(function(){var e=se*Math.PI;return new te([-e,-e],[e,e])})()};function le(e,t,n,r){if(_(e)){this._a=e[0],this._b=e[1],this._c=e[2],this._d=e[3];return}this._a=e,this._b=t,this._c=n,this._d=r}le.prototype={transform:function(e,t){return this._transform(e.clone(),t)},_transform:function(e,t){return t||=1,e.x=t*(this._a*e.x+this._b),e.y=t*(this._c*e.y+this._d),e},untransform:function(e,t){return t||=1,new M((e.x/t-this._b)/this._a,(e.y/t-this._d)/this._c)}};function ue(e,t,n,r){return new le(e,t,n,r)}var de=n({},oe,{code:`EPSG:3857`,projection:ce,transformation:function(){var e=.5/(Math.PI*ce.R);return ue(e,.5,-e,.5)}()}),fe=n({},de,{code:`EPSG:900913`});function pe(e){return document.createElementNS(`http://www.w3.org/2000/svg`,e)}function me(e,t){for(var n=``,r=0,i,a=e.length,o,s,c;r<a;r++){for(s=e[r],i=0,o=s.length;i<o;i++)c=s[i],n+=(i?`L`:`M`)+c.x+` `+c.y;n+=t?$e.svg?`z`:`x`:``}return n||`M0 0`}var he=document.documentElement.style,ge=`ActiveXObject`in window,_e=ge&&!document.addEventListener,ve=`msLaunchUri`in navigator&&!(`documentMode`in document),ye=Qe(`webkit`),be=Qe(`android`),xe=Qe(`android 2`)||Qe(`android 3`),Se=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),Ce=be&&Qe(`Google`)&&Se<537&&!(`AudioNode`in window),we=!!window.opera,Te=!ve&&Qe(`chrome`),Ee=Qe(`gecko`)&&!ye&&!we&&!ge,De=!Te&&Qe(`safari`),Oe=Qe(`phantom`),ke=`OTransition`in he,Ae=navigator.platform.indexOf(`Win`)===0,je=ge&&`transition`in he,Me=`WebKitCSSMatrix`in window&&`m11`in new window.WebKitCSSMatrix&&!xe,Ne=`MozPerspective`in he,Pe=!window.L_DISABLE_3D&&(je||Me||Ne)&&!ke&&!Oe,Fe=typeof orientation<`u`||Qe(`mobile`),Ie=Fe&&ye,Le=Fe&&Me,Re=!window.PointerEvent&&window.MSPointerEvent,ze=!!(window.PointerEvent||Re),Be=`ontouchstart`in window||!!window.TouchEvent,Ve=!window.L_NO_TOUCH&&(Be||ze),He=Fe&&we,Ue=Fe&&Ee,We=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Ge=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener(`testPassiveEventSupport`,l,t),window.removeEventListener(`testPassiveEventSupport`,l,t)}catch{}return e}(),Ke=function(){return!!document.createElement(`canvas`).getContext}(),qe=!!(document.createElementNS&&pe(`svg`).createSVGRect),Je=!!qe&&(function(){var e=document.createElement(`div`);return e.innerHTML=`<svg/>`,(e.firstChild&&e.firstChild.namespaceURI)===`http://www.w3.org/2000/svg`})(),Ye=!qe&&function(){try{var e=document.createElement(`div`);e.innerHTML=`<v:shape adj="1"/>`;var t=e.firstChild;return t.style.behavior=`url(#default#VML)`,t&&typeof t.adj==`object`}catch{return!1}}(),Xe=navigator.platform.indexOf(`Mac`)===0,Ze=navigator.platform.indexOf(`Linux`)===0;function Qe(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var $e={ie:ge,ielt9:_e,edge:ve,webkit:ye,android:be,android23:xe,androidStock:Ce,opera:we,chrome:Te,gecko:Ee,safari:De,phantom:Oe,opera12:ke,win:Ae,ie3d:je,webkit3d:Me,gecko3d:Ne,any3d:Pe,mobile:Fe,mobileWebkit:Ie,mobileWebkit3d:Le,msPointer:Re,pointer:ze,touch:Ve,touchNative:Be,mobileOpera:He,mobileGecko:Ue,retina:We,passiveEvents:Ge,canvas:Ke,svg:qe,vml:Ye,inlineSvg:Je,mac:Xe,linux:Ze},et=$e.msPointer?`MSPointerDown`:`pointerdown`,tt=$e.msPointer?`MSPointerMove`:`pointermove`,nt=$e.msPointer?`MSPointerUp`:`pointerup`,rt=$e.msPointer?`MSPointerCancel`:`pointercancel`,it={touchstart:et,touchmove:tt,touchend:nt,touchcancel:rt},at={touchstart:ht,touchmove:mt,touchend:mt,touchcancel:mt},ot={},st=!1;function ct(e,t,n){return t===`touchstart`&&pt(),at[t]?(n=at[t].bind(this,n),e.addEventListener(it[t],n,!1),n):(console.warn(`wrong event specified:`,t),l)}function lt(e,t,n){if(!it[t]){console.warn(`wrong event specified:`,t);return}e.removeEventListener(it[t],n,!1)}function ut(e){ot[e.pointerId]=e}function dt(e){ot[e.pointerId]&&(ot[e.pointerId]=e)}function ft(e){delete ot[e.pointerId]}function pt(){st||=(document.addEventListener(et,ut,!0),document.addEventListener(tt,dt,!0),document.addEventListener(nt,ft,!0),document.addEventListener(rt,ft,!0),!0)}function mt(e,t){if(t.pointerType!==(t.MSPOINTER_TYPE_MOUSE||`mouse`)){for(var n in t.touches=[],ot)t.touches.push(ot[n]);t.changedTouches=[t],e(t)}}function ht(e,t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&dn(t),mt(e,t)}function gt(e){var t={},n,r;for(r in e)n=e[r],t[r]=n&&n.bind?n.bind(e):n;return e=t,t.type=`dblclick`,t.detail=2,t.isTrusted=!1,t._simulated=!0,t}var _t=200;function vt(e,t){e.addEventListener(`dblclick`,t);var n=0,r;function i(e){if(e.detail!==1){r=e.detail;return}if(!(e.pointerType===`mouse`||e.sourceCapabilities&&!e.sourceCapabilities.firesTouchEvents)){var i=pn(e);if(!i.some(function(e){return e instanceof HTMLLabelElement&&e.attributes.for})||i.some(function(e){return e instanceof HTMLInputElement||e instanceof HTMLSelectElement})){var a=Date.now();a-n<=_t?(r++,r===2&&t(gt(e))):r=1,n=a}}}return e.addEventListener(`click`,i),{dblclick:t,simDblclick:i}}function yt(e,t){e.removeEventListener(`dblclick`,t.dblclick),e.removeEventListener(`click`,t.simDblclick)}var bt=Lt([`transform`,`webkitTransform`,`OTransform`,`MozTransform`,`msTransform`]),xt=Lt([`webkitTransition`,`transition`,`OTransition`,`MozTransition`,`msTransition`]),St=xt===`webkitTransition`||xt===`OTransition`?xt
3973+`End`:`transitionend`;function Ct(e){return typeof e==`string`?document.getElementById(e):e}function wt(e,t){var n=e.style[t]||e.currentStyle&&e.currentStyle[t];if((!n||n===`auto`)&&document.defaultView){var r=document.defaultView.getComputedStyle(e,null);n=r?r[t]:null}return n===`auto`?null:n}function Tt(e,t,n){var r=document.createElement(e);return r.className=t||``,n&&n.appendChild(r),r}function Et(e){var t=e.parentNode;t&&t.removeChild(e)}function Dt(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function Ot(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function kt(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function At(e,t){if(e.classList!==void 0)return e.classList.contains(t);var n=Pt(e);return n.length>0&&RegExp(`(^|\\s)`+t+`(\\s|$)`).test(n)}function jt(e,t){if(e.classList!==void 0)for(var n=f(t),r=0,i=n.length;r<i;r++)e.classList.add(n[r]);else if(!At(e,t)){var a=Pt(e);Nt(e,(a?a+` `:``)+t)}}function Mt(e,t){e.classList===void 0?Nt(e,d((` `+Pt(e)+` `).replace(` `+t+` `,` `))):e.classList.remove(t)}function Nt(e,t){e.className.baseVal===void 0?e.className=t:e.className.baseVal=t}function Pt(e){return e.correspondingElement&&(e=e.correspondingElement),e.className.baseVal===void 0?e.className:e.className.baseVal}function Ft(e,t){`opacity`in e.style?e.style.opacity=t:`filter`in e.style&&It(e,t)}function It(e,t){var n=!1,r=`DXImageTransform.Microsoft.Alpha`;try{n=e.filters.item(r)}catch{if(t===1)return}t=Math.round(t*100),n?(n.Enabled=t!==100,n.Opacity=t):e.style.filter+=` progid:`+r+`(opacity=`+t+`)`}function Lt(e){for(var t=document.documentElement.style,n=0;n<e.length;n++)if(e[n]in t)return e[n];return!1}function Rt(e,t,n){var r=t||new M(0,0);e.style[bt]=($e.ie3d?`translate(`+r.x+`px,`+r.y+`px)`:`translate3d(`+r.x+`px,`+r.y+`px,0)`)+(n?` scale(`+n+`)`:``)}function zt(e,t){e._leaflet_pos=t,$e.any3d?Rt(e,t):(e.style.left=t.x+`px`,e.style.top=t.y+`px`)}function Bt(e){return e._leaflet_pos||new M(0,0)}var Vt,Ht,Ut;if(`onselectstart`in document)Vt=function(){en(window,`selectstart`,dn)},Ht=function(){nn(window,`selectstart`,dn)};else{var Wt=Lt([`userSelect`,`WebkitUserSelect`,`OUserSelect`,`MozUserSelect`,`msUserSelect`]);Vt=function(){if(Wt){var e=document.documentElement.style;Ut=e[Wt],e[Wt]=`none`}},Ht=function(){Wt&&(document.documentElement.style[Wt]=Ut,Ut=void 0)}}function Gt(){en(window,`dragstart`,dn)}function Kt(){nn(window,`dragstart`,dn)}var qt,Jt;function Yt(e){for(;e.tabIndex===-1;)e=e.parentNode;e.style&&(Xt(),qt=e,Jt=e.style.outlineStyle,e.style.outlineStyle=`none`,en(window,`keydown`,Xt))}function Xt(){qt&&(qt.style.outlineStyle=Jt,qt=void 0,Jt=void 0,nn(window,`keydown`,Xt))}function Zt(e){do e=e.parentNode;while((!e.offsetWidth||!e.offsetHeight)&&e!==document.body);return e}function Qt(e){var t=e.getBoundingClientRect();return{x:t.width/e.offsetWidth||1,y:t.height/e.offsetHeight||1,boundingClientRect:t}}var $t={__proto__:null,TRANSFORM:bt,TRANSITION:xt,TRANSITION_END:St,get:Ct,getStyle:wt,create:Tt,remove:Et,empty:Dt,toFront:Ot,toBack:kt,hasClass:At,addClass:jt,removeClass:Mt,setClass:Nt,getClass:Pt,setOpacity:Ft,testProp:Lt,setTransform:Rt,setPosition:zt,getPosition:Bt,get disableTextSelection(){return Vt},get enableTextSelection(){return Ht},disableImageDrag:Gt,enableImageDrag:Kt,preventOutline:Yt,restoreOutline:Xt,getSizedParentNode:Zt,getScale:Qt};function en(e,t,n,r){if(t&&typeof t==`object`)for(var i in t)on(e,i,t[i],n);else{t=f(t);for(var a=0,o=t.length;a<o;a++)on(e,t[a],n,r)}return this}var tn=`_leaflet_events`;function nn(e,t,n,r){if(arguments.length===1)rn(e),delete e[tn];else if(t&&typeof t==`object`)for(var i in t)sn(e,i,t[i],n);else if(t=f(t),arguments.length===2)rn(e,function(e){return v(t,e)!==-1});else for(var a=0,o=t.length;a<o;a++)sn(e,t[a],n,r);return this}function rn(e,t){for(var n in e[tn]){var r=n.split(/\d/)[0];(!t||t(r))&&sn(e,r,null,null,n)}}var an={mouseenter:`mouseover`,mouseleave:`mouseout`,wheel:!(`onwheel`in window)&&`mousewheel`};function on(e,t,n,r){var i=t+o(n)+(r?`_`+o(r):``);if(e[tn]&&e[tn][i])return this;var a=function(t){return n.call(r||e,t||window.event)},s=a;!$e.touchNative&&$e.pointer&&t.indexOf(`touch`)===0?a=ct(e,t,a):$e.touch&&t===`dblclick`?a=vt(e,a):`addEventListener`in e?t===`touchstart`||t===`touchmove`||t===`wheel`||t===`mousewheel`?e.addEventListener(an[t]||t,a,$e.passiveEvents?{passive:!1}:!1):t===`mouseenter`||t===`mouseleave`?(a=function(t){t||=window.event,_n(e,t)&&s(t)},e.addEventListener(an[t],a,!1)):e.addEventListener(t,s,!1):e.attachEvent(`on`+t,a),e[tn]=e[tn]||{},e[tn][i]=a}function sn(e,t,n,r,i){i||=t+o(n)+(r?`_`+o(r):``);var a=e[tn]&&e[tn][i];if(!a)return this;!$e.touchNative&&$e.pointer&&t.indexOf(`touch`)===0?lt(e,t,a):$e.touch&&t===`dblclick`?yt(e,a):`removeEventListener`in e?e.removeEventListener(an[t]||t,a,!1):e.detachEvent(`on`+t,a),e[tn][i]=null}function cn(e){return e.stopPropagation?e.stopPropagation():e.originalEvent?e.originalEvent._stopped=!0:e.cancelBubble=!0,this}function ln(e){return on(e,`wheel`,cn),this}function un(e){return en(e,`mousedown touchstart dblclick contextmenu`,cn),e._leaflet_disable_click=!0,this}function dn(e){return e.preventDefault?e.preventDefault():e.returnValue=!1,this}function fn(e){return dn(e),cn(e),this}function pn(e){if(e.composedPath)return e.composedPath();for(var t=[],n=e.target;n;)t.push(n),n=n.parentNode;return t}function mn(e,t){if(!t)return new M(e.clientX,e.clientY);var n=Qt(t),r=n.boundingClientRect;return new M((e.clientX-r.left)/n.x-t.clientLeft,(e.clientY-r.top)/n.y-t.clientTop)}var hn=$e.linux&&$e.chrome?window.devicePixelRatio:$e.mac?window.devicePixelRatio*3:window.devicePixelRatio>0?2*window.devicePixelRatio:1;
3973function gn(e){return $e.edge?e.wheelDeltaY/2:e.deltaY&&e.deltaMode===0?-e.deltaY/hn:e.deltaY&&e.deltaMode===1?-e.deltaY*20:e.deltaY&&e.deltaMode===2?-e.deltaY*60:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?-e.detail*20:e.detail?e.detail/-32765*60:0}function _n(e,t){var n=t.relatedTarget;if(!n)return!0;try{for(;n&&n!==e;)n=n.parentNode}catch{return!1}return n!==e}var vn={__proto__:null,on:en,off:nn,stopPropagation:cn,disableScrollPropagation:ln,disableClickPropagation:un,preventDefault:dn,stop:fn,getPropagationPath:pn,getMousePosition:mn,getWheelDelta:gn,isExternalTarget:_n,addListener:en,removeListener:nn},yn=j.extend({run:function(e,t,n,r){this.stop(),this._el=e,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(r||.5,.2),this._startPos=Bt(e),this._offset=t.subtract(this._startPos),this._startTime=+new Date,this.fire(`start`),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=T(this._animate,this),this._step()},_step:function(e){var t=+new Date-this._startTime,n=this._duration*1e3;t<n?this._runFrame(this._easeOut(t/n),e):(this._runFrame(1),this._complete())},_runFrame:function(e,t){var n=this._startPos.add(this._offset.multiplyBy(e));t&&n._round(),zt(this._el,n),this.fire(`step`)},_complete:function(){E(this._animId),this._inProgress=!1,this.fire(`end`)},_easeOut:function(e){return 1-(1-e)**this._easeOutPower}}),bn=j.extend({options:{crs:de,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(e,t){t=p(this,t),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(e),this._initLayout(),this._onResize=i(this._onResize,this),this._initEvents(),t.maxBounds&&this.setMaxBounds(t.maxBounds),t.zoom!==void 0&&(this._zoom=this._limitZoom(t.zoom)),t.center&&t.zoom!==void 0&&this.setView(F(t.center),t.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=xt&&$e.any3d&&!$e.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),en(this._proxy,St,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(e,t,r){return t=t===void 0?this._zoom:this._limitZoom(t),e=this._limitCenter(F(e),t,this.options.maxBounds),r||={},this._stop(),this._loaded&&!r.reset&&r!==!0&&(r.animate!==void 0&&(r.zoom=n({animate:r.animate},r.zoom),r.pan=n({animate:r.animate,duration:r.duration},r.pan)),this._zoom===t?this._tryAnimatedPan(e,r.pan):this._tryAnimatedZoom&&this._tryAnimatedZoom(e,t,r.zoom))?(clearTimeout(this._sizeTimer),this):(this._resetView(e,t,r.pan&&r.pan.noMoveStart),this)},setZoom:function(e,t){return this._loaded?this.setView(this.getCenter(),e,{zoom:t}):(this._zoom=e,this)},zoomIn:function(e,t){return e||=$e.any3d?this.options.zoomDelta:1,this.setZoom(this._zoom+e,t)},zoomOut:function(e,t){return e||=$e.any3d?this.options.zoomDelta:1,this.setZoom(this._zoom-e,t)},setZoomAround:function(e,t,n){var r=this.getZoomScale(t),i=this.getSize().divideBy(2),a=(e instanceof M?e:this.latLngToContainerPoint(e)).subtract(i).multiplyBy(1-1/r),o=this.containerPointToLatLng(i.add(a));return this.setView(o,t,{zoom:n})},_getBoundsCenterZoom:function(e,t){t||={},e=e.getBounds?e.getBounds():ie(e);var n=N(t.paddingTopLeft||t.padding||[0,0]),r=N(t.paddingBottomRight||t.padding||[0,0]),i=this.getBoundsZoom(e,!1,n.add(r));if(i=typeof t.maxZoom==`number`?Math.min(t.maxZoom,i):i,i===1/0)return{center:e.getCenter(),zoom:i};
3973var a=r.subtract(n).divideBy(2),o=this.project(e.getSouthWest(),i),s=this.project(e.getNorthEast(),i);return{center:this.unproject(o.add(s).divideBy(2).add(a),i),zoom:i}},fitBounds:function(e,t){if(e=ie(e),!e.isValid())throw Error(`Bounds are not valid.`);var n=this._getBoundsCenterZoom(e,t);return this.setView(n.center,n.zoom,t)},fitWorld:function(e){return this.fitBounds([[-90,-180],[90,180]],e)},panTo:function(e,t){return this.setView(e,this._zoom,{pan:t})},panBy:function(e,t){if(e=N(e).round(),t||={},!e.x&&!e.y)return this.fire(`moveend`);if(t.animate!==!0&&!this.getSize().contains(e))return this._resetView(this.unproject(this.project(this.getCenter()).add(e)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new yn,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),t.noMoveStart||this.fire(`movestart`),t.animate!==!1){jt(this._mapPane,`leaflet-pan-anim`);var n=this._getMapPanePos().subtract(e).round();this._panAnim.run(this._mapPane,n,t.duration||.25,t.easeLinearity)}else this._rawPanBy(e),this.fire(`move`).fire(`moveend`);return this},flyTo:function(e,t,n){if(n||={},n.animate===!1||!$e.any3d)return this.setView(e,t,n);this._stop();var r=this.project(this.getCenter()),i=this.project(e),a=this.getSize(),o=this._zoom;e=F(e),t=t===void 0?o:t;var s=Math.max(a.x,a.y),c=s*this.getZoomScale(o,t),l=i.distanceTo(r)||1,u=1.42,d=u*u;function f(e){var t=e?-1:1,n=e?c:s,r=(c*c-s*s+t*d*d*l*l)/(2*n*d*l),i=Math.sqrt(r*r+1)-r;return i<1e-9?-18:Math.log(i)}function p(e){return(Math.exp(e)-Math.exp(-e))/2}function m(e){return(Math.exp(e)+Math.exp(-e))/2}function h(e){return p(e)/m(e)}var g=f(0);function _(e){return s*(m(g)/m(g+u*e))}function v(e){return s*(m(g)*h(g+u*e)-p(g))/d}function y(e){return 1-(1-e)**1.5}var b=Date.now(),x=(f(1)-g)/u,S=n.duration?1e3*n.duration:1e3*x*.8;function C(){var n=(Date.now()-b)/S,a=y(n)*x;n<=1?(this._flyToFrame=T(C,this),this._move(this.unproject(r.add(i.subtract(r).multiplyBy(v(a)/l)),o),this.get
3973ScaleZoom(s/_(a),o),{flyTo:!0})):this._move(e,t)._moveEnd(!0)}return this._moveStart(!0,n.noMoveStart),C.call(this),this},flyToBounds:function(e,t){var n=this._getBoundsCenterZoom(e,t);return this.flyTo(n.center,n.zoom,t)},setMaxBounds:function(e){return e=ie(e),this.listens(`moveend`,this._panInsideMaxBounds)&&this.off(`moveend`,this._panInsideMaxBounds),e.isValid()?(this.options.maxBounds=e,this._loaded&&this._panInsideMaxBounds(),this.on(`moveend`,this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(e){var t=this.options.minZoom;return this.options.minZoom=e,this._loaded&&t!==e&&(this.fire(`zoomlevelschange`),this.getZoom()<this.options.minZoom)?this.setZoom(e):this},setMaxZoom:function(e){var t=this.options.maxZoom;return this.options.maxZoom=e,this._loaded&&t!==e&&(this.fire(`zoomlevelschange`),this.getZoom()>this.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var n=this.getCenter(),r=this._limitCenter(n,this._zoom,ie(e));return n.equals(r)||this.panTo(r,t),this._enforcingBounds=!1,this},panInside:function(e,t){t||={};var n=N(t.paddingTopLeft||t.padding||[0,0]),r=N(t.paddingBottomRight||t.padding||[0,0]),i=this.project(this.getCenter()),a=this.project(e),o=this.getPixelBounds(),s=ne([o.min.add(n),o.max.subtract(r)]),c=s.getSize();if(!s.contains(a)){this._enforcingBounds=!0;var l=a.subtract(s.getCenter()),u=s.extend(a).getSize().subtract(c);i.x+=l.x<0?-u.x:u.x,i.y+=l.y<0?-u.y:u.y,this.panTo(this.unproject(i),t),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=n({animate:!1,pan:!0},e===!0?{animate:!0}:e);var t=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var r=this.getSize(),a=t.divideBy(2).round(),o=r.divideBy(2).round(),s=a.subtract(o);return!s.x&&!s.y?this:(e.animate&&e.pan?this.panBy(s):(e.pan&&this._rawPanBy(s),this.fire(`move`),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,`moveend`),200)):this.fire(`moveend`)),this.fire(`resize`,{oldSize:t,newSize:r}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire(`viewreset`),this._stop()},locate:function(e){if(e=this._locateOptions=n({timeout:1e4,watch:!1},e),!(`geolocation`in navigator))return this._handleGeolocationError({code:0,message:`Geolocation not supported.`}),this;var t=i(this._handleGeolocationResponse,this),r=i(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(t,r,e):navigator.geolocation.getCurrentPosition(t,r,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){if(this._container._leaflet_id){var t=e.code,n=e.message||(t===1?`permission denied`:t===2?`position unavailable`:`timeout`);this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire(`locationerror`,{code:t,message:`Geolocation error: `+n+`.`})}},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var t=e.coords.latitude,n=e.coords.longitude,r=new P(t,n),i=r.toBounds(e.coords.accuracy*2),a=this._locateOptions;if(a.setView){var o=this.getBoundsZoom(i);this.setView(r,a.maxZoom?Math.min(o,a.maxZoom):o)}var s={latlng:r,bounds:i,timestamp:e.timestamp};for(var c in e.coords)typeof e.coords[c]==`number`&&(s[c]=e.coords[c]);this.fire(`locationfound`,s)}},addHandler:function(e,t){if(!t)return this;var n=this[e]=new t(this);return this._handlers.push(n),this.options[e]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off(`moveend`,this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw Error(`Map container is being reused by another instance`);try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}for(var e in this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),Et(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&=(E(this._resizeRequest),null),this._clearHandlers(),this._loaded&&this.fire(`unload`),this._layers)this._layers[e].remove();for(e in this._panes)Et(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){var n=Tt(`div`,`leaflet-pane`+(e?` leaflet-`+e.replace(`Pane`,``)+`-pane`:``),t||this._mapPane);return e&&(this._panes[e]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds();return new re(this.unproject(e.getBottomLeft()),this.unproject(e.getTopRight()))},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZo
3973om===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,t,n){e=ie(e),n=N(n||[0,0]);var r=this.getZoom()||0,i=this.getMinZoom(),a=this.getMaxZoom(),o=e.getNorthWest(),s=e.getSouthEast(),c=this.getSize().subtract(n),l=ne(this.project(s,r),this.project(o,r)).getSize(),u=$e.any3d?this.options.zoomSnap:1,d=c.x/l.x,f=c.y/l.y,p=t?Math.max(d,f):Math.min(d,f);return r=this.getScaleZoom(p,r),u&&(r=Math.round(r/(u/100))*(u/100),r=t?Math.ceil(r/u)*u:Math.floor(r/u)*u),Math.max(i,Math.min(a,r))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new M(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var n=this._getTopLeftPoint(e,t);return new te(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(e===void 0?this.getZoom():e)},getPane:function(e){return typeof e==`string`?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var n=this.options.crs;return t=t===void 0?this._zoom:t,n.scale(e)/n.scale(t)},getScaleZoom:function(e,t){var n=this.options.crs;t=t===void 0?this._zoom:t;var r=n.zoom(e*n.scale(t));return isNaN(r)?1/0:r},project:function(e,t){return t=t===void 0?this._zoom:t,this.options.crs.latLngToPoint(F(e),t)},unproject:function(e,t){return t=t===void 0?this._zoom:t,this.options.crs.pointToLatLng(N(e),t)},layerPointToLatLng:function(e){var t=N(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){return this.project(F(e))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(F(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(ie(e))},distance:function(e,t){return this.options.crs.distance(F(e),F(t))},containerPointToLayerPoint:function(e){return N(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return N(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(N(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(F(e)))},mouseEventToContainerPoint:function(e){return mn(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var t=this._container=Ct(e);if(!t)throw Error(`Map container not found.`);if(t._leaflet_id)throw Error(`Map container is already initialized.`);en(t,`scroll`,this._onScroll,this),this._containerId=o(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&$e.any3d,jt(e,`leaflet-container`+($e.touch?` leaflet-touch`:``)+($e.retina?` leaflet-retina`:``)+($e.ielt9?` leaflet-oldie`:``)+($e.safari?` leaflet-safari`:``)+(this._fadeAnimated?` leaflet-fade-anim`:``));var t=wt(e,`position`);t!==`absolute`&&t!==`relative`&&t!==`fixed`&&t!==`sticky`&&(e.style.position=`relative`),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane(`mapPane`,this._container),zt(this._mapPane,new M(0,0)),this.createPane(`tilePane`),this.createPane(`overlayPane`),this.createPane(`shadowPane`),this.createPane(`markerPane`),this.createPane(`tooltipPane`),this.createPane(`popupPane`),this.options.markerZoomAnimation||(jt(e.markerPane,`leaflet-zoom-hide`),jt(e.shadowPane,`leaflet-zoom-hide`))},_resetView:function(e,t,n){zt(this._mapPane,new M(0,0));var r=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire(`viewprereset`);var i=this._zoom!==t;this._moveStart(i,n)._move(e,t)._moveEnd(i),this.fire(`viewreset`),r&&this.fire(`load`)},_moveStart:function(e,t){return e&&this.fire(`zoomstart`),t||this.fire(`movestart`),this},_move:function(e,t,n,r){t===void 0&&(t=this._zoom);var i=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),r?n&&n.pinch&&this.fire(`zoom`,n):((i||n&&n.pinch)&&this.fire(`zoom`,n),this.fire(`move`,n)),this},_moveEnd:function(e){return e&&this.fire(`zoomend`),this.fire(`moveend`)},_stop:function(){return E(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){zt(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw Error(`Set map center and zoom first.`)},_initEvents:function(e){this._targets={},this._targets[o(this._container)]=this;var t=e?nn:en;t(this._container,`click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup`,this._handleDOMEvent,this),this.options.trackResize&&t(window,`resize`,this._onResize,this),$e.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,`moveend`,this._onMoveEnd)},_onResize:function(){E(this._resizeRequest),this._resizeRequest=T(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var n=[],r,i=t===`mouseout`||t===`mouseover`,a=e.target||e.srcElement,s=!1;a;){if(r=this._targets[o(a)],r&&(t===`click`||t===`preclick`)&&this._draggableMoved(r)){s=!0;break}if(r&&r.listens(t,!0)&&(i&&!_n(a,e)||(n.push(r),i))||a===this._container)break;a=a.parentNode}return!n.length&&!s&&!i&&this.listens(t,!0)&&(n=[this]),n},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var t=e.target||e.srcElement;if(!(!this._loaded||t._leaflet_disable_events||e.type===`click`&&this._isCl
3973ickDisabled(t))){var n=e.type;n===`mousedown`&&Yt(t),this._fireDOMEvent(e,n)}},_mouseEvents:[`click`,`dblclick`,`mouseover`,`mouseout`,`contextmenu`],_fireDOMEvent:function(e,t,r){if(e.type===`click`){var i=n({},e);i.type=`preclick`,this._fireDOMEvent(i,i.type,r)}var a=this._findEventTargets(e,t);if(r){for(var o=[],s=0;s<r.length;s++)r[s].listens(t,!0)&&o.push(r[s]);a=o.concat(a)}if(a.length){t===`contextmenu`&&dn(e);var c=a[0],l={originalEvent:e};if(e.type!==`keypress`&&e.type!==`keydown`&&e.type!==`keyup`){var u=c.getLatLng&&(!c._radius||c._radius<=10);l.containerPoint=u?this.latLngToContainerPoint(c.getLatLng()):this.mouseEventToContainerPoint(e),l.layerPoint=this.containerPointToLayerPoint(l.containerPoint),l.latlng=u?c.getLatLng():this.layerPointToLatLng(l.layerPoint)}for(s=0;s<a.length;s++)if(a[s].fire(t,l,!0),l.originalEvent._stopped||a[s].options.bubblingMouseEvents===!1&&v(this._mouseEvents,t)!==-1)return}},_draggableMoved:function(e){return e=e.dragging&&e.dragging.enabled()?e:this,e.dragging&&e.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var e=0,t=this._handlers.length;e<t;e++)this._handlers[e].disable()},whenReady:function(e,t){return this._loaded?e.call(t||this,{target:this}):this.on(`load`,e,t),this},_getMapPanePos:function(){return Bt(this._mapPane)||new M(0,0)},_moved:function(){var e=this._getMapPanePos();return e&&!e.equals([0,0])},_getTopLeftPoint:function(e,t){return(e&&t!==void 0?this._getNewPixelOrigin(e,t):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(e,t){var n=this.getSize()._divideBy(2);return this.project(e,t)._subtract(n)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(e,t,n){var r=this._getNewPixelOrigin(n,t);return this.project(e,t)._subtract(r)},_latLngBoundsToNewLayerBounds:function(e,t,n){var r=this._getNewPixelOrigin(n,t);
3973return ne([this.project(e.getSouthWest(),t)._subtract(r),this.project(e.getNorthWest(),t)._subtract(r),this.project(e.getSouthEast(),t)._subtract(r),this.project(e.getNorthEast(),t)._subtract(r)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(e){return this.latLngToLayerPoint(e).subtract(this._getCenterLayerPoint())},_limitCenter:function(e,t,n){if(!n)return e;var r=this.project(e,t),i=this.getSize().divideBy(2),a=new te(r.subtract(i),r.add(i)),o=this._getBoundsOffset(a,n,t);return Math.abs(o.x)<=1&&Math.abs(o.y)<=1?e:this.unproject(r.add(o),t)},_limitOffset:function(e,t){if(!t)return e;var n=this.getPixelBounds(),r=new te(n.min.add(e),n.max.add(e));return e.add(this._getBoundsOffset(r,t))},_getBoundsOffset:function(e,t,n){var r=ne(this.project(t.getNorthEast(),n),this.project(t.getSouthWest(),n)),i=r.min.subtract(e.min),a=r.max.subtract(e.max);return new M(this._rebound(i.x,-a.x),this._rebound(i.y,-a.y))},_rebound:function(e,t){return e+t>0?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),n=this.getMaxZoom(),r=$e.any3d?this.options.zoomSnap:1;return r&&(e=Math.round(e/r)*r),Math.max(t,Math.min(n,e))},_onPanTransitionStep:function(){this.fire(`move`)},_onPanTransitionEnd:function(){Mt(this._mapPane,`leaflet-pan-anim`),this.fire(`moveend`)},_tryAnimatedPan:function(e,t){var n=this._getCenterOffset(e)._trunc();return(t&&t.animate)!==!0&&!this.getSize().contains(n)?!1:(this.panBy(n,t),!0)},_createAnimProxy:function(){var e=this._proxy=Tt(`div`,`leaflet-proxy leaflet-zoom-animated`);this._panes.mapPane.appendChild(e),this.on(`zoomanim`,function(e){var t=bt,n=this._proxy.style[t];Rt(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),n===this._proxy.style[t]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on(`load moveend`,this._animMoveEnd,this),this._on(`unload`,this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Et(this._proxy),this.off(`load moveend`,this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),t=this.getZoom();Rt(this._proxy,this.project(e,t),this.getZoomScale(t,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf(`transform`)>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName(`leaflet-zoom-animated`).length},_tryAnimatedZoom:function(e,t,n){if(this._animatingZoom)return!0;if(n||={},!this._zoomAnimated||n.animate===!1||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var r=this.getZoomScale(t),i=this._getCenterOffset(e)._divideBy(1-1/r);return n.animate!==!0&&!this.getSize().contains(i)?!1:(T(function(){this._moveStart(!0,n.noMoveStart||!1)._animateZoom(e,t,!0)},this),!0)},_animateZoom:function(e,t,n,r){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,jt(this._mapPane,`leaflet-zoom-anim`)),this.fire(`zoomanim`,{center:e,zoom:t,noUpdate:r}),this._tempFireZoomEvent||=this._zoom!==this._animateToZoom,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&Mt(this._mapPane,`leaflet-zoom-anim`),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire(`zoom`),delete this._tempFireZoomEvent,this.fire(`move`),this._moveEnd(!0))}});function xn(e,t){return new bn(e,t)}var Sn=O.extend({options:{position:`topright`},initialize:function(e){p(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var t=this._map;return t&&t.removeControl(this),this.options.position=e,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var t=this._container=this.onAdd(e),n=this.getPosition(),r=e._controlCorners[n];return jt(t,`leaflet-control`),n.indexOf(`bottom`)===-1?r.appendChild(t):r.insertBefore(t,r.firstChild),this._map.on(`unload`,this.remove,this),this},remove:function(){return this._map?(Et(this._container),this.onRemove&&this.onRemove(this._map),this._map.off(`unload`,this.remove,this),this._map=null,this):this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),Cn=function(e){return new Sn(e)};bn.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this}
vendor: 7,395 bytes, line 3973
3973,_initControlPos:function(){var e=this._controlCorners={},t=`leaflet-`,n=this._controlContainer=Tt(`div`,t+`control-container`,this._container);function r(r,i){var a=t+r+` `+t+i;e[r+i]=Tt(`div`,a,n)}r(`top`,`left`),r(`top`,`right`),r(`bottom`,`left`),r(`bottom`,`right`)},_clearControlPos:function(){for(var e in this._controlCorners)Et(this._controlCorners[e]);Et(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var wn=Sn.extend({options:{collapsed:!0,position:`topright`,autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,n,r){return n<r?-1:+(r<n)}},initialize:function(e,t,n){for(var r in p(this,n),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,e)this._addLayer(e[r],r);for(r in t)this._addLayer(t[r],r,!0)},onAdd:function(e){this._initLayout(),this._update(),this._map=e,e.on(`zoomend`,this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.on(`add remove`,this._onLayerChange,this);return this._container},addTo:function(e){return Sn.prototype.addTo.call(this,e),this._expandIfNotCollapsed()},onRemove:function(){this._map.off(`zoomend`,this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.off(`add remove`,this._onLayerChange,this)},addBaseLayer:function(e,t){return this._addLayer(e,t),this._map?this._update():this},addOverlay:function(e,t){return this._addLayer(e,t,!0),this._map?this._update():this},removeLayer:function(e){e.off(`add remove`,this._onLayerChange,this);var t=this._getLayer(o(e));return t&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){jt(this._container,`leaflet-control-layers-expanded`),this._section.style.height=null;var e=this._map.getSize().y-(this._container.offsetTop+50);return e<this._section.clientHeight?(jt(this._section,`leaflet-control-layers-scrollbar`),this._section.style.height=e+`px`):Mt(this._section,`leaflet-control-layers-scrollbar`),this._checkDisabledLayers(),this},collapse:function(){return Mt(this._container,`leaflet-control-layers-expanded`),this},_initLayout:function(){var e=`leaflet-control-layers`,t=this._container=Tt(`div`,e),n=this.options.collapsed;t.setAttribute(`aria-haspopup`,!0),un(t),ln(t);var r=this._section=Tt(`section`,e+`-list`);n&&(this._map.on(`click`,this.collapse,this),en(t,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var i=this._layersLink=Tt(`a`,e+`-toggle`,t);i.href=`#`,i.title=`Layers`,i.setAttribute(`role`,`button`),en(i,{keydown:function(e){e.keyCode===13&&this._expandSafely()},click:function(e){dn(e),this._expandSafely()}},this),n||this.expand(),this._baseLayersList=Tt(`div`,e+`-base`,r),this._separator=Tt(`div`,e+`-separator`,r),this._overlaysList=Tt(`div`,e+`-overlays`,r),t.appendChild(r)},_getLayer:function(e){for(var t=0;t<this._layers.length;t++)if(this._layers[t]&&o(this._layers[t].layer)===e)return this._layers[t]},_addLayer:function(e,t,n){this._map&&e.on(`add remove`,this._onLayerChange,this),this._layers.push({layer:e,name:t,overlay:n}),this.options.sortLayers&&this._layers.sort(i(function(e,t){return this.options.sortFunction(e.layer,t.layer,e.name,t.name)},this)),this.options.autoZIndex&&e.setZIndex&&(this._lastZIndex++,e.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;Dt(this._baseLayersList),Dt(this._overlaysList),this._layerControlInputs=[];var e,t,n,r,i=0;for(n=0;n<this._layers.length;n++)r=this._layers[n],this._addItem(r),t||=r.overlay,e||=!r.overlay,i+=+!r.overlay;return this.options.hideSingleBase&&(e&&=i>1,this._baseLayersList.style.display=e?``:`none`),this._separator.style.display=t&&e?``:`none`,this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(o(e.target)),n=t.overlay?e.type===`add`?`overlayadd`:`overlayremove`:e.type===`add`?`baselayerchange`:null;n&&this._map.fire(n,t)},_createRadioElement:function(e,t){var n=`<input type="radio" class="leaflet-control-layers-selector" name="`+e+`"`+(t?` checked="checked"`:``)+`/>`,r=document.createElement(`div`);return r.innerHTML=n,r.firstChild},_addItem:function(e){var t=document.createElement(`label`),n=this._map.hasLayer(e.layer),r;e.overlay?(r=document.createElement(`input`),r.type=`checkbox`,r.className=`leaflet-control-layers-selector`,r.defaultChecked=n):r=this._createRadioElement(`leaflet-base-layers_`+o(this),n),this._layerControlInputs.push(r),r.layerId=o(e.layer),en(r,`click`,this._onInputClick,this);var i=document.createElement(`span`);i.innerHTML=` `+e.name;var a=document.createElement(`span`);return t.appendChild(a),a.appendChild(r),a.appendChild(i),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(t),this._checkDisabledLayers(),t},_onInputClick:function(){if(!this._preventClick){var e=this._layerControlInputs,t,n,r=[],i=[];this._handlingClick=!0;for(var a=e.length-1;a>=0;a--)t=e[a],n=this._getLayer(t.layerId).layer,t.checked?r.push(n):t.checked||i.push(n);for(a=0;a<i.length;a++)this._map.hasLayer(i[a])&&this._map.removeLayer(i[a]);for(a=0;a<r.length;a++)this._map.hasLayer(r[a])||this._map.addLayer(r[a]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var e=this._layerControlInputs,t,n,r=this._map.getZoom(),i=e.length-1;i>=0;i--)t=e[i],n=this._getLayer(t.layerId).layer,t.disabled=n.options.minZoom!==void 0&&r<n.options.minZoom||n.options.maxZoom!==void 0&&r>n.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section;this._preventClick=!0,en(e,`click`,dn),this.expand();var t=this;setTimeout(function(){nn(e,`click`,dn),t._preventClick=!1})}}),Tn=function(e,t,n){return new wn(e,t,n)},En=Sn.extend({options:{position:`topleft`,zoomInText:`<span aria-hidden="true">+</span>`,zoomInTitle:`Zoom in`,zoomOutText:`<span aria-hidden="true">−</span>`,zoomOutTitle:`Zoom out`},onAdd:function(e){var t=`leaflet-control-zoom`,n=Tt(`div`,t+` leaflet-bar`),r=this.options;return this._zoomInButton=this._createButton(r.zoomInText,r.zoomInTitle,t+`-in`,n,this._zoomIn),this._zoomOutButton=this._createButton(r.zoomOutText,r.zoomOutTitle,t+`-out`,n,this._zoomOut),this._updateDisabled(),e.on(`zoomend zoomlevelschange`,this._updateDisabled,this),n},onRemove:function(e){e.off(`zoomend zoomlevelschange`,this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(e.shiftKey?3:1))},_zoomOut:function(e){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,n,r,i){var a=Tt(`a`,n,r);return a.innerHTML=e,a.href=`#`,a.title=t,a.setAttribute(`role`,`button`),a.setAttribute(`aria-label`,t),un(a),en(a,`click`,fn),en(a,`click`,i,this),en(a,`click`,this._refocusOnMap,this),a},_updateDisabled:function(){var e=this._map,t=`leaflet-disabled`;Mt(this._zoomInButton,t),Mt(this._zoomOutButton,t),this._zoomInButton.setAttribute(`aria-disabled`,`false`),this._zoomOutButton.setAttribute(`aria-disabled`,`false`),(this._disabled||e._zoom===e.getMin
3973Zoom())&&(jt(this._zoomOutButton,t),this._zoomOutButton.setAttribute(`aria-disabled`,`true`)),(this._disabled||e._zoom===e.getMaxZoom())&&(jt(this._zoomInButton,t),this._zoomInButton.setAttribute(`aria-disabled`,`true`))}});bn.mergeOptions({zoomControl:!0}),bn.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new En,this.addControl(this.zoomControl))});var Dn=function(e){return new En(e)},On=Sn.extend({options:{position:`bottomleft`,maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t=`leaflet-control-scale`,n=Tt(`div`,t),r=this.options;return this._addScales(r,t+`-line`,n),e.on(r.updateWhenIdle?`moveend`:`move`,this._update,this),e.whenReady(this._update,this),n},onRemove:function(e){e.off(this.options.updateWhenIdle?`moveend`:`move`,this._update,this)},_addScales:function(e,t,n){e.metric&&(this._mScale=Tt(`div`,t,n)),e.imperial&&(this._iScale=Tt(`div`,t,n))},_update:function(){var e=this._map,t=e.getSize().y/2,n=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(n)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e),n=t<1e3?t+` m`:t/1e3+` km`;this._updateScale(this._mScale,n,t/e)},_updateImperial:function(e){var t=e*3.2808399,n,r,i;t>5280?(n=t/5280,r=this._getRoundNum(n),this._updateScale(this._iScale,r+` mi`,r/n)):(i=this._getRoundNum(t),this._updateScale(this._iScale,i+` ft`,i/t))},_updateScale:function(e,t,n){e.style.width=Math.round(this.options.maxWidth*n)+`px`,e.innerHTML=t},_getRoundNum:function(e){var t=10**((Math.floor(e)+``).length-1),n=e/t;return n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1,t*n}}),kn=function(e){return new On(e)},An=Sn.extend({options:{position:`bottomright`,prefix:`<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">`+($e.inlineSvg?`<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg> `:``)+`Leaflet</a>`},initialize:function(e){p(this,e),this._attributions={}},onAdd:function(e){for(var t in e.attributionControl=this,this._container=Tt(`div`,`leaflet-control-attribution`),un(this._container),e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),e.on(`layeradd`,this._addAttribution,this),this._container},onRemove:function(e){e.off(`layeradd`,this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once(`remove`,function(){this.removeAttribution(e.layer.getAttribution())},this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e&&this._attributions[e]&&(this._attributions[e]--,this._update()),this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var n=[];this.options.prefix&&n.push(this.options.prefix),e.length&&n.push(e.join(`, `)),this._container.innerHTML=n.join(` <span aria-hidden="true">|</span> `)}}});bn.mergeOptions({attributionControl:!0}),bn.addInitHook(function(){this.options.attributionControl&&new An().addTo(this)}),Sn.Layers=wn,Sn.Zoom=En,Sn.Scale=On,Sn.Attribution=An,Cn.layers=Tn,Cn.zoom=Dn,Cn.scale=kn,Cn.attribution=function(e){return new An(e)};var jn=O.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});jn.addTo=function(e,t){return e.addHandler(t,this),this};var Mn={Events:A},Nn=$e.touch?`touchstart mousedown`:`mousedown`,Pn=j.extend({options:{clickTolerance:3},initialize:function(e,t,n,r){p(this,r),this._element=e,this._dragStartTarget=t||e,this._preventOutline=n}
3973,enable:function(){this._enabled||=(en(this._dragStartTarget,Nn,this._onDown,this),!0)},disable:function(){this._enabled&&(Pn._dragging===this&&this.finishDrag(!0),nn(this._dragStartTarget,Nn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(this._enabled&&(this._moved=!1,!At(this._element,`leaflet-zoom-anim`))){if(e.touches&&e.touches.length!==1){Pn._dragging===this&&this.finishDrag();return}if(!(Pn._dragging||e.shiftKey||e.which!==1&&e.button!==1&&!e.touches)&&(Pn._dragging=this,this._preventOutline&&Yt(this._element),Gt(),Vt(),!this._moving)){this.fire(`down`);var t=e.touches?e.touches[0]:e,n=Zt(this._element);this._startPoint=new M(t.clientX,t.clientY),this._startPos=Bt(this._element),this._parentScale=Qt(n);var r=e.type===`mousedown`;en(document,r?`mousemove`:`touchmove`,this._onMove,this),en(document,r?`mouseup`:`touchend touchcancel`,this._onUp,this)}}},_onMove:function(e){if(this._enabled){if(e.touches&&e.touches.length>1){this._moved=!0;return}var t=e.touches&&e.touches.length===1?e.touches[0]:e,n=new M(t.clientX,t.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)<this.options.clickTolerance||(n.x/=this._parentScale.x,n.y/=this._parentScale.y,dn(e),this._moved||(this.fire(`dragstart`),this._moved=!0,jt(document.body,`leaflet-dragging`),this._lastTarget=e.target||e.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),jt(this._lastTarget,`leaflet-drag-target`)),this._newPos=this._startPos.add(n),this._moving=!0,this._lastEvent=e,this._updatePosition()))}},_updatePosition:function(){var e={originalEvent:this._lastEvent};this.fire(`predrag`,e),zt(this._element,this._newPos),this.fire(`drag`,e)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(e){Mt(document.body,`leaflet-dragging`),this._lastTarget&&=(Mt(this._lastTarget,`leaflet-drag-target`),null),nn(document,`mousemove touchmove`,this._onMove,this),nn(document,`mouseup touchend touchcancel`,this._onUp,this),Kt(),Ht();var t=this._moved&&this._moving;this._moving=!1,Pn._dragging=!1,t&&this.fire(`dragend`,{noInertia:e,distance:this._newPos.distanceTo(this._startPos)})}});function Fn(e,t,n){for(var r,i=[1,4,2,8],a=0,o,s,c,l,u=e.length,d,f;a<u;a++)e[a]._code=Jn(e[a],t);for(s=0;s<4;s++){for(d=i[s],r=[],a=0,u=e.length,o=u-1;a<u;o=a++)c=e[a],l=e[o],c._code&d?l._code&d||(f=qn(l,c,d,t,n),f._code=Jn(f,t),r.push(f)):(l._code&d&&(f=qn(l,c,d,t,n),f._code=Jn(f,t),r.push(f)),r.push(c));e=r}return e}function In(e,t){var n,r,i,a,o,s,c,l,u;if(!e||e.length===0)throw Error(`latlngs not passed`);Zn(e)||(console.warn(`latlngs are not flat! Only the first ring will be used`),e=e[0]);var d=F([0,0]),f=ie(e);
3973f.getNorthWest().distanceTo(f.getSouthWest())*f.getNorthEast().distanceTo(f.getNorthWest())<1700&&(d=Ln(e));var p=e.length,m=[];for(n=0;n<p;n++){var h=F(e[n]);m.push(t.project(F([h.lat-d.lat,h.lng-d.lng])))}for(s=c=l=0,n=0,r=p-1;n<p;r=n++)i=m[n],a=m[r],o=i.y*a.x-a.y*i.x,c+=(i.x+a.x)*o,l+=(i.y+a.y)*o,s+=o*3;u=s===0?m[0]:[c/s,l/s];var g=t.unproject(N(u));return F([g.lat+d.lat,g.lng+d.lng])}function Ln(e){for(var t=0,n=0,r=0,i=0;i<e.length;i++){var a=F(e[i]);t+=a.lat,n+=a.lng,r++}return F([t/r,n/r])}var Rn={__proto__:null,clipPolygon:Fn,polygonCenter:In,centroid:Ln};function zn(e,t){if(!t||!e.length)return e.slice();var n=t*t;return e=Wn(e,n),e=Hn(e,n),e}function Bn(e,t,n){return Math.sqrt(Xn(e,t,n,!0))}function Vn(e,t,n){return Xn(e,t,n)}function Hn(e,t){var n=e.length,r=new(typeof Uint8Array<`u`?Uint8Array:Array)(n);r[0]=r[n-1]=1,Un(e,r,t,0,n-1);var i,a=[];for(i=0;i<n;i++)r[i]&&a.push(e[i]);return a}function Un(e,t,n,r,i){for(var a=0,o,s=r+1,c;s<=i-1;s++)c=Xn(e[s],e[r],e[i],!0),c>a&&(o=s,a=c);a>n&&(t[o]=1,Un(e,t,n,r,o),Un(e,t,n,o,i))}function Wn(e,t){for(var n=[e[0]],r=1,i=0,a=e.length;r<a;r++)Yn(e[r],e[i])>t&&(n.push(e[r]),i=r);return i<a-1&&n.push(e[a-1]),n}var Gn;function Kn(e,t,n,r,i){var a=r?Gn:Jn(e,n),o=Jn(t,n),s,c,l;for(Gn=o;;){if(!(a|o))return[e,t];if(a&o)return!1;s=a||o,c=qn(e,t,s,n,i),l=Jn(c,n),s===a?(e=c,a=l):(t=c,o=l)}}function qn(e,t,n,r,i){var a=t.x-e.x,o=t.y-e.y,s=r.min,c=r.max,l,u;return n&8?(l=e.x+a*(c.y-e.y)/o,u=c.y):n&4?(l=e.x+a*(s.y-e.y)/o,u=s.y):n&2?(l=c.x,u=e.y+o*(c.x-e.x)/a):n&1&&(l=s.x,u=e.y+o*(s.x-e.x)/a),new M(l,u,i)}function Jn(e,t){var n=0;return e.x<t.min.x?n|=1:e.x>t.max.x&&(n|=2),e.y<t.min.y?n|=4:e.y>t.max.y&&(n|=8),n}function Yn(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r}function Xn(e,t,n,r){var i=t.x,a=t.y,o=n.x-i,s=n.y-a,c=o*o+s*s,l;return c>0&&(l=((e.x-i)*o+(e.y-a)*s)/c,l>1?(i=n.x,a=n.y):l>0&&(i+=o*l,a+=s*l)),o=e.x-i,s=e.y-a,r?o*o+s*s:new M(i,a)}function Zn(e){return!_(e[0])||typeof e[0][0]!=`object`&&e[0][0]!==void 0}function Qn(e){return console.warn(`Deprecated use of _flat, please use L.LineUtil.isFlat instead.`),Zn(e)}function $n(e,t){var n,r,i,a,o,s,c,l;if(!e||e.length===0)throw Error(`latlngs not passed`);Zn(e)||(console.warn(`latlngs are not flat! Only the first ring will be used`),e=e[0]);var u=F([0,0]),d=ie(e);
3973d.getNorthWest().distanceTo(d.getSouthWest())*d.getNorthEast().distanceTo(d.getNorthWest())<1700&&(u=Ln(e));var f=e.length,p=[];for(n=0;n<f;n++){var m=F(e[n]);p.push(t.project(F([m.lat-u.lat,m.lng-u.lng])))}for(n=0,r=0;n<f-1;n++)r+=p[n].distanceTo(p[n+1])/2;if(r===0)l=p[0];else for(n=0,a=0;n<f-1;n++)if(o=p[n],s=p[n+1],i=o.distanceTo(s),a+=i,a>r){c=(a-r)/i,l=[s.x-c*(s.x-o.x),s.y-c*(s.y-o.y)];break}var h=t.unproject(N(l));return F([h.lat+u.lat,h.lng+u.lng])}var er={__proto__:null,simplify:zn,pointToSegmentDistance:Bn,closestPointOnSegment:Vn,clipSegment:Kn,_getEdgeIntersection:qn,_getBitCode:Jn,_sqClosestPointOnSegment:Xn,isFlat:Zn,_flat:Qn,polylineCenter:$n},tr={project:function(e){return new M(e.lng,e.lat)},unproject:function(e){return new P(e.y,e.x)},bounds:new te([-180,-90],[180,90])},nr={R:6378137,R_MINOR:6356752.314245179,bounds:new te([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(e){var t=Math.PI/180,n=this.R,r=e.lat*t,i=this.R_MINOR/n,a=Math.sqrt(1-i*i),o=a*Math.sin(r),s=Math.tan(Math.PI/4-r/2)/((1-o)/(1+o))**(a/2);return r=-n*Math.log(Math.max(s,1e-10)),new M(e.lng*t*n,r)},unproject:function(e){for(var t=180/Math.PI,n=this.R,r=this.R_MINOR/n,i=Math.sqrt(1-r*r),a=Math.exp(-e.y/n),o=Math.PI/2-2*Math.atan(a),s=0,c=.1,l;s<15&&Math.abs(c)>1e-7;s++)l=i*Math.sin(o),l=((1-l)/(1+l))**(i/2),c=Math.PI/2-2*Math.atan(a*l)-o,o+=c;return new P(o*t,e.x*t/n)}},rr={__proto__:null,LonLat:tr,Mercator:nr,SphericalMercator:ce},ir=n({},oe,{code:`EPSG:3395`,projection:nr,transformation:function(){var e=.5/(Math.PI*nr.R);return ue(e,.5,-e,.5)}()}),ar=n({},oe,{code:`EPSG:4326`,projection:tr,transformation:ue(1/180,1,-1/180,.5)}),or=n({},ae,{projection:tr,transformation:ue(1,0,-1,0),scale:function(e){return 2**e},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var n=t.lng-e.lng,r=t.lat-e.lat;return Math.sqrt(n*n+r*r)},infinite:!0});ae.Earth=oe,ae.EPSG3395=ir,ae.EPSG3857=de,ae.EPSG900913=fe,ae.EPSG4326=ar,ae.Simple=or;var sr=j.extend({options:{pane:`overlayPane`,attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[o(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[o(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var n=this.getEvents();t.on(n,this),this.once(`remove`,function(){t.off(n,this)},this)}this.onAdd(t),this.fire(`add`),t.fire(`layeradd`,{layer:this})}}});bn.include({addLayer:function(e){if(!e._layerAdd)throw Error(`The provided object is not a Layer.`);var t=o(e);return this._layers[t]?this:(this._layers[t]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e),this)},removeLayer:function(e){var t=o(e);return this._layers[t]?(this._loaded&&e.onRemove(this),delete this._layers[t],this._loaded&&(this.fire(`layerremove`,{layer:e}),e.fire(`remove`)),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return o(e)in this._layers},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},_addLayers:function(e){e=e?_(e)?e:[e]:[];for(var t=0,n=e.length;t<n;t++)this.addLayer(e[t])},_addZoomLimit:function(e){(!isNaN(e.options.maxZoom)||!isNaN(e.options.minZoom))&&(this._zoomBoundLayers[o(e)]=e,this._updateZoomLevels())},_removeZoomLimit:function(e){var t=o(e);
3973this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var e=1/0,t=-1/0,n=this._getZoomSpan();for(var r in this._zoomBoundLayers){var i=this._zoomBoundLayers[r].options;e=i.minZoom===void 0?e:Math.min(e,i.minZoom),t=i.maxZoom===void 0?t:Math.max(t,i.maxZoom)}this._layersMaxZoom=t===-1/0?void 0:t,this._layersMinZoom=e===1/0?void 0:e,n!==this._getZoomSpan()&&this.fire(`zoomlevelschange`),this.options.maxZoom===void 0&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var cr=sr.extend({initialize:function(e,t){p(this,t),this._layers={};var n,r;if(e)for(n=0,r=e.length;n<r;n++)this.addLayer(e[n])},addLayer:function(e){var t=this.getLayerId(e);return this._layers[t]=e,this._map&&this._map.addLayer(e),this},removeLayer:function(e){var t=e in this._layers?e:this.getLayerId(e);return this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(e){return(typeof e==`number`?e:this.getLayerId(e))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(e){var t=Array.prototype.slice.call(arguments,1),n,r;for(n in this._layers)r=this._layers[n],r[e]&&r[e].apply(r,t);return this},onAdd:function(e){this.eachLayer(e.addLayer,e)},onRemove:function(e){this.eachLayer(e.removeLayer,e)},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},getLayer:function(e){return this._layers[e]},getLayers:function(){var e=[];return this.eachLayer(e.push,e),e},setZIndex:function(e){return this.invoke(`setZIndex`,e)},getLayerId:function(e){return o(e)}}),lr=function(e,t){return new cr(e,t)},ur=cr.extend({addLayer:function(e){return this.hasLayer(e)?this:(e.addEventParent(this),cr.prototype.addLayer.call(this,e),this.fire(`layeradd`,{layer:e}))},removeLayer:function(e){return this.hasLayer(e)?(e in this._layers&&(e=this._layers[e]),e.removeEventParent(this),cr.prototype.removeLayer.call(this,e),this.fire(`layerremove`,{layer:e})):this},setStyle:function(e){return this.invoke(`setStyle`,e)},bringToFront:function(){return this.invoke(`bringToFront`)},bringToBack:function(){return this.invoke(`bringToBack`)},getBounds:function(){var e=new re;for(var t in this._layers){var n=this._layers[t];e.extend(n.getBounds?n.getBounds():n.getLatLng())}return e}}),dr=function(e,t){return new ur(e,t)},fr=O.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(e){p(this,e)},createIcon:function(e){return this._createIcon(`icon`,e)},createShadow:function(e){return this._createIcon(`shadow`,e)},_createIcon:function(e,t){var n=this._getIconUrl(e);if(!n){if(e===`icon`)throw Error(`iconUrl not set in Icon options (see the docs).`);return null}var r=this._createImg(n,t&&t.tagName===`IMG`?t:null);return this._setIconStyles(r,e),(this.options.crossOrigin||this.options.crossOrigin===``)&&(r.crossOrigin=this.options.crossOrigin===!0?``:this.options.crossOrigin),r},_setIconStyles:function(e,t){var n=this.options,r=n[t+`Size`];typeof r==`number`&&(r=[r,r]);var i=N(r),a=N(t===`shadow`&&n.shadowAnchor||n.iconAnchor||i&&i.divideBy(2,!0));e.className=`leaflet-marker-`+t+` `+(n.className||``),a&&(e.style.marginLeft=-a.x+`px`,e.style.marginTop=-a.y+`px`),i&&(e.style.width=i.x+`px`,e.style.height=i.y+`px`)},_createImg:function(e,t){return t||=document.createElement(`img`),t.src=e,t},_getIconUrl:function(e){return $e.retina&&this.options[e+`RetinaUrl`]||this.options[e+`Url`]}});function pr(e){return new fr(e)}var mr=fr.extend({options:{iconUrl:`marker-icon.png`,iconRetinaUrl:`marker-icon-2x.png`,shadowUrl:`marker-shadow.png`,iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(e){return typeof mr.imagePath!=`string`&&(mr.imagePath=this._detectIconPath()),(this.options.imagePath||mr.imagePath)+fr.prototype._getIconUrl.call(this,e)},_stripUrl:function(e){var t=function(e,t,n){var r=t.exec(e);return r&&r[n]};return e=t(e,/^url\((['"])?(.+)\1\)$/,2),e&&t(e,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var e=Tt(`div`,`leaflet-default-icon-path`,document.body),t=wt(e,`background-image`)||wt(e,`backgroundImage`);if(document.body.removeChild(e),t=this._stripUrl(t),t)return t;var n=document.querySelector(`link[href$="leaflet.css"]`);return n?n.href.substring(0,n.href.length-11-1):``}}),hr=jn.extend({initialize:function(e){this._marker=e},addHooks:function(){var e=this._marker._icon;this._draggable||=new Pn(e,e,!0),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),jt(e,`leaflet-marker-draggable`)},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&Mt(this._marker._icon,`leaflet-marker-draggable`)},moved:function(){return this._draggable&&this._draggable._moved}
vendor: 4,936 bytes, line 3973
3973,_adjustPan:function(e){var t=this._marker,n=t._map,r=this._marker.options.autoPanSpeed,i=this._marker.options.autoPanPadding,a=Bt(t._icon),o=n.getPixelBounds(),s=n.getPixelOrigin(),c=ne(o.min._subtract(s).add(i),o.max._subtract(s).subtract(i));if(!c.contains(a)){var l=N((Math.max(c.max.x,a.x)-c.max.x)/(o.max.x-c.max.x)-(Math.min(c.min.x,a.x)-c.min.x)/(o.min.x-c.min.x),(Math.max(c.max.y,a.y)-c.max.y)/(o.max.y-c.max.y)-(Math.min(c.min.y,a.y)-c.min.y)/(o.min.y-c.min.y)).multiplyBy(r);n.panBy(l,{animate:!1}),this._draggable._newPos._add(l),this._draggable._startPos._add(l),zt(t._icon,this._draggable._newPos),this._onDrag(e),this._panRequest=T(this._adjustPan.bind(this,e))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire(`movestart`).fire(`dragstart`)},_onPreDrag:function(e){this._marker.options.autoPan&&(E(this._panRequest),this._panRequest=T(this._adjustPan.bind(this,e)))},_onDrag:function(e){var t=this._marker,n=t._shadow,r=Bt(t._icon),i=t._map.layerPointToLatLng(r);n&&zt(n,r),t._latlng=i,e.latlng=i,e.oldLatLng=this._oldLatLng,t.fire(`move`,e).fire(`drag`,e)},_onDragEnd:function(e){E(this._panRequest),delete this._oldLatLng,this._marker.fire(`moveend`).fire(`dragend`,e)}}),gr=sr.extend({options:{icon:new mr,interactive:!0,keyboard:!0,title:``,alt:`Marker`,zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:`markerPane`,shadowPane:`shadowPane`,bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(e,t){p(this,t),this._latlng=F(e)},onAdd:function(e){this._zoomAnimated=this._zoomAnimated&&e.options.markerZoomAnimation,this._zoomAnimated&&e.on(`zoomanim`,this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(e){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&e.off(`zoomanim`,this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(e){var t=this._latlng;return this._latlng=F(e),this.update(),this.fire(`move`,{oldLatLng:t,latlng:this._latlng})},setZIndexOffset:function(e){return this.options.zIndexOffset=e,this.update()},getIcon:function(){return this.options.icon},setIcon:function(e){return this.options.icon=e,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var e=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(e)}return this},_initIcon:function(){var e=this.options,t=`leaflet-zoom-`+(this._zoomAnimated?`animated`:`hide`),n=e.icon.createIcon(this._icon),r=!1;n!==this._icon&&(this._icon&&this._removeIcon(),r=!0,e.title&&(n.title=e.title),n.tagName===`IMG`&&(n.alt=e.alt||``)),jt(n,t),e.keyboard&&(n.tabIndex=`0`,n.setAttribute(`role`,`button`)),this._icon=n,e.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&en(n,`focus`,this._panOnFocus,this);var i=e.icon.createShadow(this._shadow),a=!1;i!==this._shadow&&(this._removeShadow(),a=!0),i&&(jt(i,t),i.alt=``),this._shadow=i,e.opacity<1&&this._updateOpacity(),r&&this.getPane().appendChild(this._icon),this._initInteraction(),i&&a&&this.getPane(e.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&nn(this._icon,`focus`,this._panOnFocus,this),Et(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&Et(this._shadow),this._shadow=null},_setPos:function(e){this._icon&&zt(this._icon,e),this._shadow&&zt(this._shadow,e),this._zIndex=e.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(e){this._icon&&(this._icon.style.zIndex=this._zIndex+e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center).round();this._setPos(t)},_initInteraction:function(){if(this.options.interactive&&(jt(this._icon,`leaflet-interactive`),this.addInteractiveTarget(this._icon),hr)){var e=this.options.draggable;this.dragging&&(e=this.dragging.enabled(),this.dragging.disable()),this.dragging=new hr(this),e&&this.dragging.enable()}},setOpacity:function(e){return this.options.opacity=e,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var e=this.options.opacity;this._icon&&Ft(this._icon,e),this._shadow&&Ft(this._shadow,e)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var e=this._map;if(e){var t=this.options.icon.options,n=t.iconSize?N(t.iconSize):N(0,0),r=t.iconAnchor?N(t.iconA
3973nchor):N(0,0);e.panInside(this._latlng,{paddingTopLeft:r,paddingBottomRight:n.subtract(r)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function _r(e,t){return new gr(e,t)}var vr=sr.extend({options:{stroke:!0,color:`#3388ff`,weight:3,opacity:1,lineCap:`round`,lineJoin:`round`,dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:`evenodd`,interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(e){this._renderer=e.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(e){return p(this,e),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&e&&Object.prototype.hasOwnProperty.call(e,`weight`)&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),yr=vr.extend({options:{fill:!0,radius:10},initialize:function(e,t){p(this,t),this._latlng=F(e),this._radius=this.options.radius},setLatLng:function(e){var t=this._latlng;return this._latlng=F(e),this.redraw(),this.fire(`move`,{oldLatLng:t,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(e){return this.options.radius=this._radius=e,this.redraw()},getRadius:function(){return this._radius},setStyle:function(e){var t=e&&e.radius||this._radius;return vr.prototype.setStyle.call(this,e),this.setRadius(t),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var e=this._radius,t=this._radiusY||e,n=this._clickTolerance(),r=[e+n,t+n];this._pxBounds=new te(this._point.subtract(r),this._point.add(r))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(e){return e.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function br(e,t){return new yr(e,t)}var xr=yr.extend({initialize:function(e,t,r){if(typeof t==`number`&&(t=n({},r,{radius:t})),p(this,t),this._latlng=F(e),isNaN(this.options.radius))throw Error(`Circle radius cannot be NaN`);this._mRadius=this.options.radius},setRadius:function(e){return this._mRadius=e,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var e=[this._radius,this._radiusY||this._radius];return new re(this._map.layerPointToLatLng(this._point.subtract(e)),this._map.layerPointToLatLng(this._point.add(e)))},setStyle:vr.prototype.setStyle,_project:function(){var e=this._latlng.lng,t=this._latlng.lat,n=this._map,r=n.options.crs;if(r.distance===oe.distance){var i=Math.PI/180,a=this._mRadius/oe.R/i,o=n.project([t+a,e]),s=n.project([t-a,e]),c=o.add(s).divideBy(2),l=n.unproject(c).lat,u=Math.acos((Math.cos(a*i)-Math.sin(t*i)*Math.sin(l*i))/(Math.cos(t*i)*Math.cos(l*i)))/i;(isNaN(u)||u===0)&&(u=a/Math.cos(Math.PI/180*t)),this._point=c.subtract(n.getPixelOrigin()),this._radius=isNaN(u)?0:c.x-n.project([l,e-u]).x,this._radiusY=c.y-o.y}else{var d=r.unproject(r.project(this._latlng).subtract([this._mRadius,0]));this._point=n.latLngToLayerPoint(this._latlng),this._radius=this._point.x-n.latLngToLayerPoint(d).x}this._updateBounds()}});function Sr(e,t,n){return new xr(e,t,n)}var Cr=vr.extend({options:{smoothFactor:1,noClip:!1},initialize:function(e,t){p(this,t),this._setLatLngs(e)},getLatLngs:function(){return this._latlngs},setLatLngs:function(e){return this._setLatLngs(e),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(e){for(var t=1/0,n=null,r=Xn,i,a,o=0,s=this._parts.length;o<s;o++)for(var c=this._parts[o],l=1,u=c.length;l<u;l++){i=c[l-1],a=c[l];var d=r(e,i,a,!0);d<t&&(t=d,n=r(e,i,a))}return n&&(n.distance=Math.sqrt(t)),n},getCenter:function(){if(!this._map)throw Error(`Must add layer to map before using getCenter()`);return $n(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(e,t){return t||=this._defaultShape(),e=F(e),t.push(e),this._bounds.extend(e),this.redraw()},_setLatLngs:function(e){this._bounds=new re,this._latlngs=this._convertLatLngs(e)},_defaultShape:function(){return Zn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(e){for(var t=[],n=Zn(e),r=0,i=e.length;r<i;r++)n?(t[r]=F(e[r]),this._bounds.extend(t[r])):t[r]=this._convertLatLngs(e[r]);return t},_project:function(){var e=new te;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,e),this._bounds.isValid()&&e.isValid()&&(this._rawPxBounds=e,this._updateBounds())},_updateBounds:function(){var e=this._clickTolerance(),t=new M(e,e);this._rawPxBounds&&(this._pxBounds=new te([this._rawPxBounds.min.subtract(t),this._rawPxBounds.max.add(t)]))},_projectLatlngs:function(e,t,n){var r=e[0]instanceof P,i=e.length,a,o;if(r){for(o=[],a=0;a<i;a++)o[a]=this._map.latLngToLayerPoint(e[a]),n.extend(o[a]);t.push(o)}else for(a=0;a<i;a++)this._projectLatlngs(e[a],t,n)},_clipPoints:function(){var e=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(e)){if(this.options.noClip){this._parts=this._rings;return}for(var t=this._parts,n=0,r,i=0,a=this._rings.length,o,s,c;n<a;n++)for(c=this._rings[n],r=0,o=c.length;r<o-1;r++)s=Kn(c[r],c[r+1],e,r,!0),s&&(t[i]=t[i]||[],t[i].push(s[0]),(s[1]!==c[r+1]||r===o-2)&&(t[i].push(s[1]),i++))}},_simplifyPoints:function(){for(var e=this._parts,t=this.options.smoothFactor,n=0,r=e.length;n<r;n++)e[n]=zn(e[n],t)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(e,t){var n,r,i,a,o,s,c=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(n=0,a=this._parts.length;n<a;n++)for(s=this._parts[n],r=0,o=s.length,i=o-1;r<o;i=r++)if((t||r!==0)&&Bn(e,s[i],s[r])<=c)return!0;return!1}});function wr(e,t){return new Cr(e,t)}Cr._flat=Qn;var Tr=Cr.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw Error(`Must add layer to map before using getCenter()`);return In(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(e){var t=Cr.prototype._convertLatLngs.call(this,e),n=t.length;return n>=2&&t[0]instanceof P&&t[0].equals(t[n-1])&&t.pop(),t},_setLatLngs:function(e){Cr.prototype._setLatLngs.call(this,e),Zn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Zn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,n=new M(t,t);if(e=new te(e.min.subtract(n),e.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(e)){if(this.options.noClip){this._parts=this._rings;return}for(var r=0,i=this._rings.length,a;r<i;r++)a=Fn(this._rings[r],e,!0),a.length&&this._parts.push(a)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(e){var t=!1,n,r,i,a,o,s,c,l;if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(a=0,c=this._parts.length;a<c;a++)for(n=this._parts[a],o=0,l=n.length,s=l-1;o<l;
3973s=o++)r=n[o],i=n[s],r.y>e.y!=i.y>e.y&&e.x<(i.x-r.x)*(e.y-r.y)/(i.y-r.y)+r.x&&(t=!t);return t||Cr.prototype._containsPoint.call(this,e,!0)}});function Er(e,t){return new Tr(e,t)}var Dr=ur.extend({initialize:function(e,t){p(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t=_(e)?e:e.features,n,r,i;if(t){for(n=0,r=t.length;n<r;n++)i=t[n],(i.geometries||i.geometry||i.features||i.coordinates)&&this.addData(i);return this}var a=this.options;if(a.filter&&!a.filter(e))return this;var o=Or(e,a);return o?(o.feature=Fr(e),o.defaultOptions=o.options,this.resetStyle(o),a.onEachFeature&&a.onEachFeature(e,o),this.addLayer(o)):this},resetStyle:function(e){return e===void 0?this.eachLayer(this.resetStyle,this):(e.options=n({},e.defaultOptions),this._setLayerStyle(e,this.options.style),this)},setStyle:function(e){return this.eachLayer(function(t){this._setLayerStyle(t,e)},this)},_setLayerStyle:function(e,t){e.setStyle&&(typeof t==`function`&&(t=t(e.feature)),e.setStyle(t))}});function Or(e,t){var n=e.type===`Feature`?e.geometry:e,r=n?n.coordinates:null,i=[],a=t&&t.pointToLayer,o=t&&t.coordsToLatLng||Ar,s,c,l,u;if(!r&&!n)return null;switch(n.type){case`Point`:return s=o(r),kr(a,e,s,t);case`MultiPoint`:for(l=0,u=r.length;l<u;l++)s=o(r[l]),i.push(kr(a,e,s,t));return new ur(i);case`LineString`:case`MultiLineString`:return c=jr(r,n.type===`LineString`?0:1,o),new Cr(c,t);case`Polygon`:case`MultiPolygon`:return c=jr(r,n.type===`Polygon`?1:2,o),new Tr(c,t);case`GeometryCollection`:for(l=0,u=n.geometries.length;l<u;l++){var d=Or({geometry:n.geometries[l],type:`Feature`,properties:e.properties},t);d&&i.push(d)}return new ur(i);case`FeatureCollection`:for(l=0,u=n.features.length;l<u;l++){var f=Or(n.features[l],t);f&&i.push(f)}return new ur(i);default:throw Error(`Invalid GeoJSON object.`)}}function kr(e,t,n,r){return e?e(t,n):new gr(n,r&&r.markersInheritOptions&&r)}function Ar(e){return new P(e[1],e[0],e[2])}function jr(e,t,n){for(var r=[],i=0,a=e.length,o;i<a;i++)o=t?jr(e[i],t-1,n):(n||Ar)(e[i]),r.push(o);return r}function Mr(e,t){return e=F(e),e.alt===void 0?[u(e.lng,t),u(e.lat,t)]:[u(e.lng,t),u(e.lat,t),u(e.alt,t)]}function Nr(e,t,n,r){for(var i=[],a=0,o=e.length;a<o;a++)i.push(t?Nr(e[a],Zn(e[a])?0:t-1,n,r):Mr(e[a],r));return!t&&n&&i.length>0&&i.push(i[0].slice()),i}function Pr(e,t){return e.feature?n({},e.feature,{geometry:t}):Fr(t)}function Fr(e){return e.type===`Feature`||e.type===`FeatureCollection`?e:{type:`Feature`,properties:{},geometry:e}}var Ir={toGeoJSON:function(e){return Pr(this,{type:`Point`,coordinates:Mr(this.getLatLng(),e)})}};gr.include(Ir),xr.include(Ir),yr.include(Ir),Cr.include({toGeoJSON:function(e){var t=!Zn(this._latlngs),n=Nr(this._latlngs,+!!t,!1,e);return Pr(this,{type:(t?`Multi`:``)+`LineString`,coordinates:n})}}),Tr.include({toGeoJSON:function(e){var t=!Zn(this._latlngs),n=t&&!Zn(this._latlngs[0]),r=Nr(this._latlngs,n?2:+!!t,!0,e);return t||(r=[r]),Pr(this,{type:(n?`Multi`:``)+`Polygon`,coordinates:r})}}),cr.include({toMultiPoint:function(e){var t=[];return this.eachLayer(function(n){t.push(n.toGeoJSON(e).geometry.coordinates)}),Pr(this,{type:`MultiPoint`,coordinates:t})},toGeoJSON:function(e){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(t===`MultiPoint`)return this.toMultiPoint(e);var n=t===`GeometryCollection`,r=[];return this.eachLayer(function(t){if(t.toGeoJSON){var i=t.toGeoJSON(e);if(n)r.push(i.geometry);else{var a=Fr(i);a.type===`FeatureCollection`?r.push.apply(r,a.features):r.push(a)}}}),n?Pr(this,{geometries:r,type:`GeometryCollection`}):{type:`FeatureCollection`,features:r}}});function Lr(e,t){return new Dr(e,t)}var Rr=Lr,zr=sr.extend({options:{opacity:1,alt:``,interactive:!1,crossOrigin:!1,errorOverlayUrl:``,zIndex:1,className:``},initialize:function(e,t,n){this._url=e,this._bounds=ie(t),p(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(jt(this._image,`leaflet-interactive`),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Et(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&Ot(this._image),this},bringToBack:function(){return this._map&&kt(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=ie(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e=this._url.tagName===`IMG`,t=this._image=e?this._url:Tt(`img`);if(jt(t,`leaflet-image-layer`),this._zoomAnimated&&jt(t,`leaflet-zoom-animated`),this.options.className&&jt(t,this.options.className),t.onselectstart=l,t.onmousemove=l,t.onload=i(this.fire,this,`load`),t.onerror=i(this._overlayOnError,this,`error`),(this.options.crossOrigin||this.options.crossOrigin===``)&&(t.crossOrigin=this.options.crossOrigin===!0?``:this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e){this._url=t.src;return}t.src=this._url,t.alt=this.options.alt},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;Rt(this._image,n,t)},_reset:function(){var e=this._image,t=new te(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=t.getSize();zt(e,t.min),e.style.width=n.x+`px`,e.style.height=n.y+`px`},_updateOpacity:function(){Ft(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire(`error`);var e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),Br=function(e,t,n){return new zr(e,t,n)},Vr=zr.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInl
3973ine:!0},_initImage:function(){var e=this._url.tagName===`VIDEO`,t=this._image=e?this._url:Tt(`video`);if(jt(t,`leaflet-image-layer`),this._zoomAnimated&&jt(t,`leaflet-zoom-animated`),this.options.className&&jt(t,this.options.className),t.onselectstart=l,t.onmousemove=l,t.onloadeddata=i(this.fire,this,`load`),e){for(var n=t.getElementsByTagName(`source`),r=[],a=0;a<n.length;a++)r.push(n[a].src);this._url=n.length>0?r:[t.src];return}_(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(t.style,`objectFit`)&&(t.style.objectFit=`fill`),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop,t.muted=!!this.options.muted,t.playsInline=!!this.options.playsInline;for(var o=0;o<this._url.length;o++){var s=Tt(`source`);s.src=this._url[o],t.appendChild(s)}}});function Hr(e,t,n){return new Vr(e,t,n)}var Ur=zr.extend({_initImage:function(){var e=this._image=this._url;jt(e,`leaflet-image-layer`),this._zoomAnimated&&jt(e,`leaflet-zoom-animated`),this.options.className&&jt(e,this.options.className),e.onselectstart=l,e.onmousemove=l}});function Wr(e,t,n){return new Ur(e,t,n)}var Gr=sr.extend({options:{interactive:!1,offset:[0,0],className:``,pane:void 0,content:``},initialize:function(e,t){e&&(e instanceof P||_(e))?(this._latlng=F(e),p(this,t)):(p(this,e),this._source=t),this.options.content&&(this._content=this.options.content)},openOn:function(e){return e=arguments.length?e:this._source._map,e.hasLayer(this)||e.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(e){return this._map?this.close():(arguments.length?this._source=e:e=this._source,this._prepareOpen(),this.openOn(e._map)),this},onAdd:function(e){this._zoomAnimated=e._zoomAnimated,this._container||this._initLayout(),e._fadeAnimated&&Ft(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),e._fadeAnimated&&Ft(this._container,1),this.bringToFront(),this.options.interactive&&(jt(this._container,`leaflet-interactive`),this.addInteractiveTarget(this._container))},onRemove:function(e){e._fadeAnimated?(Ft(this._container,0),this._removeTimeout=setTimeout(i(Et,void 0,this._container),200)):Et(this._container),this.options.interactive&&(Mt(this._container,`leaflet-interactive`),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(e){return this._latlng=F(e),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(e){return this._content=e,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility=`hidden`,this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility=``,this._adjustPan())},getEvents:function(){var e={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&Ot(this._container),this},bringToBack:function(){return this._map&&kt(this._container),this},_prepareOpen:function(e){var t=this._source;if(!t._map)return!1;if(t instanceof ur){t=null;var n=this._source._layers;for(var r in n)if(n[r]._map){t=n[r];break}if(!t)return!1;this._source=t}if(!e){if(t.getCenter)e=t.getCenter();else if(t.getLatLng)e=t.getLatLng();else if(t.getBounds)e=t.getBounds().getCenter();else throw Error(`Unable to get source layer LatLng.`)}return this.setLatLng(e),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var e=this._contentNode,t=typeof this._content==`function`?this._content(this._source||this):this._content;if(typeof t==`string`)e.innerHTML=t;else{for(;e.hasChildNodes();)e.removeChild(e.firstChild);e.appendChild(t)}this.fire(`contentupdate`)}},_updatePosition:function(){if(this._map){var e=this._map.latLngToLayerPoint(this._latlng),t=N(this.options.offset),n=this._getAnchor();this._zoomAnimated?zt(this._container,e.add(n)):t=t.add(e).add(n);var r=this._containerBottom=-t.y,i=this._containerLeft=-Math.round(this._containerWidth/2)+t.x;this._container.style.bottom=r+`px`,this._container.style.left=i+`px`}},_getAnchor:function(){return[0,0]}});bn.include({_initOverlay:function(e,t,n,r){var i=t;return i instanceof e||(i=new e(r).setContent(t)),n&&i.setLatLng(n),i}}),sr.include({_initOverlay:function(e,t,n,r){var i=n;return i instanceof e?(p(i,r),i._source=this):(i=t&&!r?t:new e(r,this),i.setContent(n)),i}});var Kr=Gr.extend({options:{pane:`popupPane`,offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:``},openOn:function(e){return e=arguments.length?e:this._source._map,!e.hasLayer(this)&&e._popup&&e._popup.options.autoClose&&e.removeLayer(e._popup),e._popup=this,Gr.prototype.openOn.call(this,e)},onAdd:function(e){Gr.prototype.onAdd.call(this,e),e.fire(`popupopen`,{popup:this}),this._source&&(this._source.fire(`popupopen`,{popup:this},!0),this._source instanceof vr||this._source.on(`preclick`,cn))},onRemove:function(e){Gr.prototype.onRemove.call(this,e),e.fire(`popupclose`,{popup:this}),this._source&&(this._source.fire(`popupclose`,{popup:this},!0),this._source instanceof vr||this._source.off(`preclick`,cn))},getEvents:function(){var e=Gr.prototype.getEvents.call(this);return(this.options.closeOnClick===void 0?this._map.options.closePopupOnClick:this.options.closeOnClick)&&(e.preclick=this.close),this.options.keepInView&&
3973(e.moveend=this._adjustPan),e},_initLayout:function(){var e=`leaflet-popup`,t=this._container=Tt(`div`,e+` `+(this.options.className||``)+` leaflet-zoom-animated`),n=this._wrapper=Tt(`div`,e+`-content-wrapper`,t);if(this._contentNode=Tt(`div`,e+`-content`,n),un(t),ln(this._contentNode),en(t,`contextmenu`,cn),this._tipContainer=Tt(`div`,e+`-tip-container`,t),this._tip=Tt(`div`,e+`-tip`,this._tipContainer),this.options.closeButton){var r=this._closeButton=Tt(`a`,e+`-close-button`,t);r.setAttribute(`role`,`button`),r.setAttribute(`aria-label`,`Close popup`),r.href=`#close`,r.innerHTML=`<span aria-hidden="true">×</span>`,en(r,`click`,function(e){dn(e),this.close()},this)}},_updateLayout:function(){var e=this._contentNode,t=e.style;t.width=``,t.whiteSpace=`nowrap`;var n=e.offsetWidth;n=Math.min(n,this.options.maxWidth),n=Math.max(n,this.options.minWidth),t.width=n+1+`px`,t.whiteSpace=``,t.height=``;var r=e.offsetHeight,i=this.options.maxHeight,a=`leaflet-popup-scrolled`;i&&r>i?(t.height=i+`px`,jt(e,a)):Mt(e,a),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),n=this._getAnchor();zt(this._container,t.add(n))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var e=this._map,t=parseInt(wt(this._container,`marginBottom`),10)||0,n=this._container.offsetHeight+t,r=this._containerWidth,i=new M(this._containerLeft,-n-this._containerBottom);i._add(Bt(this._container));var a=e.layerPointToContainerPoint(i),o=N(this.options.autoPanPadding),s=N(this.options.autoPanPaddingTopLeft||o),c=N(this.options.autoPanPaddingBottomRight||o),l=e.getSize(),u=0,d=0;a.x+r+c.x>l.x&&(u=a.x+r-l.x+c.x),a.x-u-s.x<0&&(u=a.x-s.x),a.y+n+c.y>l.y&&(d=a.y+n-l.y+c.y),a.y-d-s.y<0&&(d=a.y-s.y),(u||d)&&(this.options.keepInView&&(this._autopanning=!0),e.fire(`autopanstart`).panBy([u,d]))}},_getAnchor:function(){return N(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),qr=function(e,t){return new Kr(e,t)};bn.mergeOptions({closePopupOnClick:!0}),bn.include({openPopup:function(e,t,n){return this._initOverlay(Kr,e,t,n).openOn(this),this},closePopup:function(e){return e=arguments.length?e:this._popup,e&&e.close(),this}}),sr.include({bindPopup:function(e,t){return this._popup=this._initOverlay(Kr,this._popup,e,t),this._popupHandlersAdded||=(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),!0),this},unbindPopup:function(){return this._popup&&=(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,null),this},openPopup:function(e){return this._popup&&(this instanceof ur||(this._popup._source=this),this._popup._prepareOpen(e||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(this._popup&&this._map){fn(e);var t=e.layer||e.target;if(this._popup._source===t&&!(t instanceof vr)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng);return}this._popup._source=t,this.openPopup(e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){e.originalEvent.keyCode===13&&this._openPopup(e)}});var Jr=Gr.extend({options:{pane:`tooltipPane`,offset:[0,0],direction:`auto`,permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){Gr.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire(`tooltipopen`,{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire(`tooltipopen`,{tooltip:this},!0))},onRemove:function(e){Gr.prototype.onRemove.call(this,e),e.fire(`tooltipclose`,{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire(`tooltipclose`,{tooltip:this},!0))},getEvents:function(){var e=Gr.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e=`leaflet-tooltip `+(this.options.className||``)+` leaflet-zoom-`+(this._zoomAnimated?`animated`:`hide`);this._contentNode=this._container=Tt(`div`,e),this._container.setAttribute(`role`,`tooltip`),this._container.setAttribute(`id`,`leaflet-tooltip-`+o(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t,n,r=this._map,i=this._container,a=r.latLngToContainerPoint(r.getCenter()),o=r.layerPointToContainerPoint(e),s=this.options.direction,c=i.offsetWidth,l=i.offsetHeight,u=N(this.options.offset),d=this._getAnchor();s===`top`?(t=c/2,n=l):s===`bottom`?(t=c/2,n=0):s===`center`?(t=c/2,n=l/2):s===`right`?(t=0,n=l/2):s===`left`?(t=c,n=l/2):o.x<a.x?(s=`right`,t=0,n=l/2):(s=`left`,t=c+(u.x+d.x)*2,n=l/2),e=e.subtract(N(t,n,!0)).add(u).add(d),Mt(i,`leaflet-tooltip-right`),Mt(i,`leaflet-tooltip-left`),Mt(i,`leaflet-tooltip-top`),Mt(i,`leaflet-tooltip-bottom`),jt(i,`leaflet-tooltip-`+s),zt(i,e)},_updatePosition:function(){var e=this._map.latLngToLayerPoint(this._latlng);this._setPosition(e)},setOpacity:function(e){this.options.opacity=e,this._container&&Ft(this._container,e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center);this._setPosition(t)},_getAnchor:function(){return N(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),Yr=function(e,t){return new Jr(e,t)};bn.include({openTooltip:function(e,t,n){return this._initOverlay(Jr,e,t,n).openOn(this),this},closeTooltip:function(e){return e.close(),this}}),sr.include({bindTooltip:function(e,t){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Jr,this._tooltip,e,t),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&=(this._initTooltipInteractions(!0),this.closeTooltip(),null),this},_initTooltipInteractions:function(e){if(e||!this._tooltipHandlersAdded){var t=e?`off`:`on`,n={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?n.add=this._openTooltip:(n.mouseover=this._openTooltip,n.mouseout=this.closeTooltip,n.click=this._openTooltip,this._map?this._addFocusListeners():n.add=this._addFocusListeners),this._tooltip.options.sticky&&(n.mousemove=this._moveTooltip),this[t](n),this._tooltipHandlersAdded=!e}},openTooltip:function(e){return this._tooltip&&(this instanceof ur||(this._tooltip._source=this),this._tooltip._prepareOpen(e)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(e){return this._tooltip&&this._tooltip.setContent(e),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(e){var t=typeof e.getElement==`function`&&e.getElement();t&&(en(t,`focus`,function(){this._tooltip._source=e,this.openTooltip()},this),en(t,`blur`,this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(e){var t=typeof e.getElement==`function`&&e.getElement();t&&t.setAttribute(`aria-describedby`,this._tooltip._container.id)},_openTooltip:function(e){if(this._tooltip&&this._map){if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var t=this;this._map.once(`moveend`,function(){t._openOnceFlag=!1,t._openTooltip(e)});return}this._tooltip._source=e.layer||e.target,this.openTooltip(this._tooltip.options.sticky?e.latlng:void 0)}},_moveTooltip:function(e){var t=e.latlng,n,r;this._tooltip.options.sticky&&e.originalEvent&&(n=this._map.mouseEventToContainerPoint(e.originalEvent),r=this._map.containerPointToLayerPoint(n),t=this._map.layerPointToLatLng(r)),this._tooltip.setLatLng(t)}});var Xr=fr.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:`leaflet-div-icon`},createIcon:function(e){var t=e&&e.tagName===`DIV`?e:document.createElement(`div`),n=this.options;if(n.html instanceof Element?(Dt(t),t.appendChild(n.html)):t.innerHTML=n.html===!1?``:n.html,n.bgPos){var r=N(n.bgPos);t.style.backgroundPosition=-r.x+`px `+-r.y+`px`}return this._setIconStyles(t,`icon`),t},createShadow:function(){return null}});function Zr(e){return new Xr(e)}fr.Default=mr;var Qr=sr.extend({options:{tileSize:256,opacity:1,updateWhenIdle:$e.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:`tilePane`,className:``,keepBuffer:2},initialize:function(e){p(this,e)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(e){e._addZoomLimit(this)},onRemove:function(e){this._removeAllTiles(),Et(this._container),e._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(Ot(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(kt(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(e){return this.options.opacity=e,this._updateOpacity(),this},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var e=this._clampZoom(this._map.getZoom());e!==this._tileZoom&&(this._tileZoom=e,this._updateLevels()),this._update()}return this},getEvents:function(){var e={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||=s(this._onMoveEnd,this.options.updateInterval,this),e.move=this._onMove),this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},createTile:function(){return document.createElement(`div`)},getTileSize:function(){var e=this.options.tileSize;return e instanceof M?e:new M(e,e)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(e){for(var t=this.getPane().children,n=-e(-1/0,1/0),r=0,i=t.length,a;r<i;r++)a=t[r].style.zIndex,t[r]!==this._container&&a&&(n=e(n,+a));isFinite(n)&&(this.options.zIndex=n+e(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!$e.ielt9){Ft(this._container,this.options.opacity);var e=+new Date,t=!1,n=!1;for(var r in this._tiles){var i=this._tiles[r];if(i.current&&i.loaded){var a=Math.min(1,(e-i.loaded)/200);Ft(i.el,a),a<1?t=!0:(i.active?n=!0:this._onOpaqueTile(i),i.active=!0)}}n&&!this._noPrune&&this._pruneTiles(),t&&(E(this._fadeFrame),this._fadeFrame=T(this._updateOpacity,this))}},_onOpaqueTile:l,_initContainer:function(){this._container||(this._container=Tt(`div`,`leaflet-layer `+(this.options.className||``)),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var e=this._tileZoom,t=this.options.maxZoom;if(e!==void 0){for(var n in this._levels)n=Number(n),this._levels[n].el.children.length||n===e?(this._levels[n].el.style.zIndex=t-Math.abs(e-n),this._onUpdateLevel(n)):(Et(this._levels[n].el),this._removeTilesAtZoom(n),this._onRemoveLevel(n),delete this._levels[n]);var r=this._levels[e],i=this._map;return r||(r=this._levels[e]={},r.el=Tt(`div`,`leaflet-tile-container leaflet-zoom-animated`,this._container),r.el.style.zIndex=t,r.origin=i.project(i.unproject(i.getPixelOrigin()),e).round(),r.zoom=e,this._setZoomTransform(r,i.getCenter(),i.getZoom()),r.el.offsetWidth,this._onCreateLevel(r)),this._level=r,r}},_onUpdateLevel:l,_onRemoveLevel:l,_onCreateLevel:l,_pruneTiles:function(){if(this._map){var e,t,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom){this._removeAllTiles();return}for(e in this._tiles)t=this._tiles[e],t.retain=t.current;for(e in this._tiles)if(t=this._tiles[e],t.current&&!t.active){var r=t.coords;this._retainParent(r.x,r.y,r.z,r.z-5)||this._retainChildren(r.x,r.y,r.z,r.z+2)}for(e in this._tiles)this._tiles[e].retain||this._removeTile(e)}},_removeTilesAtZoom:function(e){for(var t in this._tiles)this._tiles[t].coords.z===e&&this._removeTile(t)},_removeAllTiles:function(){for(var e in this._tiles)this._removeTile(e)},_invalidateAll:function(){for(var e in this._levels)Et(this._levels[e].el),this._onRemoveLevel(Number(e)),delete this._levels[e];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(e,t,n,r){var i=Math.floor(e/2),a=Math.floor(t/2),o=n-1,s=new M(+i,+a);s.z=+o;var c=this._tileCoordsToKey(s),l=this._tiles[c];return l&&l.active?(l.retain=!0,!0):(l&&l.loaded&&(l.retain=!0),o>r&&this._retainParent(i,a,o,r))},_retainChildren:function(e,t,n,r){for(var i=2*e;i<2*e+2;i++)for(var a=2*t;a<2*t+2;a++){var o=new M(i,a);o.z=n+1;var s=this._tileCoordsToKey(o),c=this._tiles[s];if(c&&c.active){c.retain=!0;continue}c&&c.loaded&&(c.retain=!0),n+1<r&&this._retainChildren(i,a,n+1,r)}},_resetView:function(e){var t=e&&(e.pinch||e.flyTo);
vendor: 10,532 bytes, line 3973
3973this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(e){this._setView(e.center,e.zoom,!0,e.noUpdate)},_clampZoom:function(e){var t=this.options;return t.minNativeZoom!==void 0&&e<t.minNativeZoom?t.minNativeZoom:t.maxNativeZoom!==void 0&&t.maxNativeZoom<e?t.maxNativeZoom:e},_setView:function(e,t,n,r){var i=Math.round(t);i=this.options.maxZoom!==void 0&&i>this.options.maxZoom||this.options.minZoom!==void 0&&i<this.options.minZoom?void 0:this._clampZoom(i);var a=this.options.updateWhenZooming&&i!==this._tileZoom;(!r||a)&&(this._tileZoom=i,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),i!==void 0&&this._update(e),n||this._pruneTiles(),this._noPrune=!!n),this._setZoomTransforms(e,t)},_setZoomTransforms:function(e,t){for(var n in this._levels)this._setZoomTransform(this._levels[n],e,t)},_setZoomTransform:function(e,t,n){var r=this._map.getZoomScale(n,e.zoom),i=e.origin.multiplyBy(r).subtract(this._map._getNewPixelOrigin(t,n)).round();$e.any3d?Rt(e.el,i,r):zt(e.el,i)},_resetGrid:function(){var e=this._map,t=e.options.crs,n=this._tileSize=this.getTileSize(),r=this._tileZoom,i=this._map.getPixelWorldBounds(this._tileZoom);i&&(this._globalTileRange=this._pxBoundsToTileRange(i)),this._wrapX=t.wrapLng&&!this.options.noWrap&&[Math.floor(e.project([0,t.wrapLng[0]],r).x/n.x),Math.ceil(e.project([0,t.wrapLng[1]],r).x/n.y)],this._wrapY=t.wrapLat&&!this.options.noWrap&&[Math.floor(e.project([t.wrapLat[0],0],r).y/n.x),Math.ceil(e.project([t.wrapLat[1],0],r).y/n.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(e){var t=this._map,n=t._animatingZoom?Math.max(t._animateToZoom,t.getZoom()):t.getZoom(),r=t.getZoomScale(n,this._tileZoom),i=t.project(e,this._tileZoom).floor(),a=t.getSize().divideBy(r*2);return new te(i.subtract(a),i.add(a))},_update:function(e){var t=this._map;if(t){var n=this._clampZoom(t.getZoom());if(e===void 0&&(e=t.getCenter()),this._tileZoom!==void 0){var r=this._getTiledPixelBounds(e),i=this._pxBoundsToTileRange(r),a=i.getCenter(),o=[],s=this.options.keepBuffer,c=new te(i.getBottomLeft().subtract([s,-s]),i.getTopRight().add([s,-s]));if(!(isFinite(i.min.x)&&isFinite(i.min.y)&&isFinite(i.max.x)&&isFinite(i.max.y)))throw Error(`Attempted to load an infinite number of tiles`);for(var l in this._tiles){var u=this._tiles[l].coords;(u.z!==this._tileZoom||!c.contains(new M(u.x,u.y)))&&(this._tiles[l].current=!1)}if(Math.abs(n-this._tileZoom)>1){this._setView(e,n);return}for(var d=i.min.y;d<=i.max.y;d++)for(var f=i.min.x;f<=i.max.x;f++){var p=new M(f,d);if(p.z=this._tileZoom,this._isValidTile(p)){var m=this._tiles[this._tileCoordsToKey(p)];m?m.current=!0:o.push(p)}}if(o.sort(function(e,t){return e.distanceTo(a)-t.distanceTo(a)}),o.length!==0){this._loading||(this._loading=!0,this.fire(`loading`));var h=document.createDocumentFragment();for(f=0;f<o.length;f++)this._addTile(o[f],h);this._level.el.appendChild(h)}}}},_isValidTile:function(e){var t=this._map.options.crs;if(!t.infinite){var n=this._globalTileRange;if(!t.wrapLng&&(e.x<n.min.x||e.x>n.max.x)||!t.wrapLat&&(e.y<n.min.y||e.y>n.max.y))return!1}if(!this.options.bounds)return!0;var r=this._tileCoordsToBounds(e);return ie(this.options.bounds).overlaps(r)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,n=this.getTileSize(),r=e.scaleBy(n),i=r.add(n);return[t.unproject(r,e.z),t.unproject(i,e.z)]},_tileCoordsToBounds:function(e){var t=this._tileCoordsToNwSe(e),n=new re(t[0],t[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(e){return e.x+`:`+e.y+`:`+e.z},_keyToTileCoords:function(e){var t=e.split(`:`),n=new M(+t[0],+t[1]);return n.z=+t[2],n},_removeTile:function(e){var t=this._tiles[e];t&&(Et(t.el),delete this._tiles[e],this.fire(`tileunload`,{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){jt(e,`leaflet-tile`);var t=this.getTileSize();e.style.width=t.x+`px`,e.style.height=t.y+`px`,e.onselectstart=l,e.onmousemove=l,$e.ielt9&&this.options.opacity<1&&Ft(e,this.options.opacity)},_addTile:function(e,t){var n=this._getTilePos(e),r=this._tileCoordsToKey(e),a=this.createTile(this._wrapCoords(e),i(this._tileReady,this,e));this._initTile(a),this.createTile.length<2&&T(i(this._tileReady,this,e,null,a)),zt(a,n),this._tiles[r]={el:a,coords:e,current:!0},t.appendChild(a),this.fire(`tileloadstart`,{tile:a,coords:e})},_tileReady:function(e,t,n){t&&this.fire(`tileerror`,{error:t,tile:n,coords:e});var r=this._tileCoordsToKey(e);n=this._tiles[r],n&&(n.loaded=+new Date,this._map._fadeAnimated?(Ft(n.el,0),E(this._fadeFrame),this._fadeFrame=T(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),t||(jt(n.el,`leaflet-tile-loaded`),this.fire(`tileload`,{tile:n.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire(`load`),$e.ielt9||!this._map._fadeAnimated?T(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new M(this._wrapX?c(e.x,this._wrapX):e.x,this._wrapY?c(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new te(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});function $r(e){return new Qr(e)}var ei=Qr.extend({options:{minZoom:0,maxZoom:18,subdomains:`abc`,errorTileUrl:``,zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,t){this._url=e,t=p(this,t),t.detectRetina&&$e.retina&&t.maxZoom>0?(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom=Math.min(t.maxZoom,t.minZoom+1)):(t.zoomOffset++,t.maxZoom=Math.max(t.minZoom,t.maxZoom-1)),t.minZoom=Math.max(0,t.minZoom)):t.zoomReverse?t.minZoom=Math.min(t.maxZoom,t.minZoom):t.maxZoom=Math.max(t.minZoom,t.maxZoom),typeof t.subdomains==`string`&&(t.subdomains=t.subdomains.split(``)),this.on(`tileunload`,this._onTileRemove)},setUrl:function(e,t){return this._url===e&&t===void 0&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var n=document.createElement(`img`);return en(n,`load`,i(this._tileOnLoad,this,t,n)),en(n,`error`,i(this._tileOnError,this,t,n)),(this.options.crossOrigin||this.options.crossOrigin===``)&&(n.crossOrigin=this.options.crossOrigin===!0?``:this.options.crossOrigin),typeof this.options.referrerPolicy==`string`&&(n.referrerPolicy=this.options.referrerPolicy),n.alt=``,n.src=this.getTileUrl(e),n},getTileUrl:function(e){var t={r:$e.retina?`@2x`:``,s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var r=this._globalTileRange.max.y-e.y;this.options.tms&&(t.y=r),t[`-y`]=r}return g(this._url,n(t,this.options))},_tileOnLoad:function(e,t){$e.ielt9?setTimeout(i(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,n){var r=this.options.errorTileUrl;r&&t.getAttribute(`src`)!==r&&(t.src=r),e(n,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom,n=this.options.zoomReverse,r=this.options.zoomOffset;return n&&(e=t-e),e+r},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&(t=this._tiles[e].el,t.onload=l,t.onerror=l,!t.complete)){t.src=y;var n=this._tiles[e].coords;Et(t),delete this._tiles[e],this.fire(`tileabort`,{tile:t,coords:n})}},_removeTile:function(e){var t=this._tiles[e];if(t)return t.el.setAttribute(`src`,y),Qr.prototype._removeTile.call(this,e)},_tileReady:function(e,t,n){if(!(!this._map||n&&n.getAttribute(`src`)===y))return Qr.prototype._tileReady.call(this,e,t,n)}});function ti(e,t){return new ei(e,t)}var ni=ei.extend({defaultWmsParams:{service:`WMS`,request:`GetMap`,layers:``,styles:``,format:`image/jpeg`,transparent:!1,version:`1.1.1`},options:{crs:null,uppercase:!1},initialize:function(e,t){this._url=e;var r=n({},this.defaultWmsParams);for(var i in t)i in this.options||(r[i]=t[i]);t=p(this,t);var a=t.detectRetina&&$e.retina?2:1,o=this.getTileSize();r.width=o.x*a,r.height=o.y*a,this.wmsParams=r},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=this._wmsVersion>=1.3?`crs`:`srs`;this.wmsParams[t]=this._crs.code,ei.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),n=this._crs,r=ne(n.project(t[0]),n.project(t[1])),i=r.min,a=r.max,o=(this._wmsVersion>=1.3&&this._crs===ar?[i.y,i.x,a.y,a.x]:[i.x,i.y,a.x,a.y]).join(`,`),s=ei.prototype.getTileUrl.call(this,e);return s+m(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?`&BBOX=`:`&bbox=`)+o},setParams:function(e,t){return n(this.wmsParams,e),t||this.redraw(),this}});function ri(e,t){return new ni(e,t)}ei.WMS=ni,ti.wms=ri;var ii=sr.extend({options:{padding:.1},initialize:function(e){p(this,e),o(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),jt(this._container,`leaflet-zoom-animated`)),this.getPane().appendChild(this._container),this._update(),this.on(`update`,this._updatePaths,this)},onRemove:function(){this.off(`update`,this._updatePaths,this),this._destroyContainer()},getEvents:function(){var e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,t){var n=this._map.getZoomScale(t,this._zoom),r=this._map.getSize().multiplyBy(.5+this.options.padding),i=this._map.project(this._center,t),a=r.multiplyBy(-n).add(i).subtract(this._map._getNewPixelOrigin(e,t));$e.any3d?Rt(this._container,a,n):zt(this._container,a)},_reset:function(){for(var e in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,t=this._map.getSize(),n=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();
3973this._bounds=new te(n,n.add(t.multiplyBy(1+e*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),ai=ii.extend({options:{tolerance:0},getEvents:function(){var e=ii.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){ii.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement(`canvas`);en(e,`mousemove`,this._onMouseMove,this),en(e,`click dblclick mousedown mouseup contextmenu`,this._onClick,this),en(e,`mouseout`,this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext(`2d`)},_destroyContainer:function(){E(this._redrawRequest),delete this._ctx,Et(this._container),nn(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var e;for(var t in this._redrawBounds=null,this._layers)e=this._layers[t],e._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){ii.prototype._update.call(this);var e=this._bounds,t=this._container,n=e.getSize(),r=$e.retina?2:1;zt(t,e.min),t.width=r*n.x,t.height=r*n.y,t.style.width=n.x+`px`,t.style.height=n.y+`px`,$e.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire(`update`)}},_reset:function(){ii.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[o(e)]=e;var t=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,n=t.next,r=t.prev;n?n.prev=r:this._drawLast=r,r?r.next=n:this._drawFirst=n,delete e._order,delete this._layers[o(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if(typeof e.options.dashArray==`string`){for(var t=e.options.dashArray.split(/[, ]+/),n=[],r,i=0;i<t.length;i++){if(r=Number(t[i]),isNaN(r))return;n.push(r)}e.options._dashArray=n}else e.options._dashArray=e.options.dashArray},_requestRedraw:function(e){this._map&&(this._extendRedrawBounds(e),this._redrawRequest=this._redrawRequest||T(this._redraw,this))},_extendRedrawBounds:function(e){if(e._pxBounds){var t=(e.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new te,this._redrawBounds.extend(e._pxBounds.min.subtract([t,t])),this._redrawBounds.extend(e._pxBounds.max.add([t,t]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var e=this._redrawBounds;if(e){var t=e.getSize();this._ctx.clearRect(e.min.x,e.min.y,t.x,t.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var e,t=this._redrawBounds;if(this._ctx.save(),t){var n=t.getSize();this._ctx.beginPath(),this._ctx.rect(t.min.x,t.min.y,n.x,n.y),this._ctx.clip()}this._drawing=!0;for(var r=this._drawFirst;r;r=r.next)e=r.layer,(!t||e._pxBounds&&e._pxBounds.intersects(t))&&e._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(e,t){if(this._drawing){var n,r,i,a,o=e._parts,s=o.length,c=this._ctx;if(s){for(c.beginPath(),n=0;n<s;n++){for(r=0,i=o[n].length;r<i;r++)a=o[n][r],c[r?`lineTo`:`moveTo`](a.x,a.y);t&&c.closePath()}this._fillStroke(c,e)}}},_updateCircle:function(e){if(this._drawing&&!e._empty()){var t=e._point,
3973n=this._ctx,r=Math.max(Math.round(e._radius),1),i=(Math.max(Math.round(e._radiusY),1)||r)/r;i!==1&&(n.save(),n.scale(1,i)),n.beginPath(),n.arc(t.x,t.y/i,r,0,Math.PI*2,!1),i!==1&&n.restore(),this._fillStroke(n,e)}},_fillStroke:function(e,t){var n=t.options;n.fill&&(e.globalAlpha=n.fillOpacity,e.fillStyle=n.fillColor||n.color,e.fill(n.fillRule||`evenodd`)),n.stroke&&n.weight!==0&&(e.setLineDash&&e.setLineDash(t.options&&t.options._dashArray||[]),e.globalAlpha=n.opacity,e.lineWidth=n.weight,e.strokeStyle=n.color,e.lineCap=n.lineCap,e.lineJoin=n.lineJoin,e.stroke())},_onClick:function(e){for(var t=this._map.mouseEventToLayerPoint(e),n,r,i=this._drawFirst;i;i=i.next)n=i.layer,n.options.interactive&&n._containsPoint(t)&&(e.type!==`click`&&e.type!==`preclick`||!this._map._draggableMoved(n))&&(r=n);this._fireEvent(r?[r]:!1,e)},_onMouseMove:function(e){if(!(!this._map||this._map.dragging.moving()||this._map._animatingZoom)){var t=this._map.mouseEventToLayerPoint(e);this._handleMouseHover(e,t)}},_handleMouseOut:function(e){var t=this._hoveredLayer;t&&(Mt(this._container,`leaflet-interactive`),this._fireEvent([t],e,`mouseout`),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(e,t){if(!this._mouseHoverThrottled){for(var n,r,a=this._drawFirst;a;a=a.next)n=a.layer,n.options.interactive&&n._containsPoint(t)&&(r=n);r!==this._hoveredLayer&&(this._handleMouseOut(e),r&&(jt(this._container,`leaflet-interactive`),this._fireEvent([r],e,`mouseover`),this._hoveredLayer=r)),this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:!1,e),this._mouseHoverThrottled=!0,setTimeout(i(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(e,t,n){this._map._fireDOMEvent(t,n||t.type,e)},_bringToFront:function(e){var t=e._order;if(t){var n=t.next,r=t.prev;if(n)n.prev=r;else return;r?r.next=n:n&&(this._drawFirst=n),t.prev=this._drawLast,this._drawLast.next=t,t.next=null,this._drawLast=t,this._requestRedraw(e)}},_bringToBack:function(e){var t=e._order;if(t){var n=t.next,r=t.prev;if(r)r.next=n;else return;n?n.prev=r:r&&(this._drawLast=r),t.prev=null,t.next=this._drawFirst,this._drawFirst.prev=t,this._drawFirst=t,this._requestRedraw(e)}}});function oi(e){return $e.canvas?new ai(e):null}var si=(function(){try{return document.namespaces.add(`lvml`,`urn:schemas-microsoft-com:vml`),function(e){return document.createElement(`<lvml:`+e+` class="lvml">`)}}catch{}return function(e){return document.createElement(`<`+e+` xmlns="urn:schemas-microsoft.com:vml" class="lvml">`)}})(),ci={_initContainer:function(){this._container=Tt(`div`,`leaflet-vml-container`)},_update:function(){this._map._animatingZoom||(ii.prototype._update.call(this),this.fire(`update`))},_initPath:function(e){var t=e._container=si(`shape`);jt(t,`leaflet-vml-shape `+(this.options.className||``)),t.coordsize=`1 1`,e._path=si(`path`),t.appendChild(e._path),this._updateStyle(e),this._layers[o(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;Et(t),e.removeInteractiveTarget(t),delete this._layers[o(e)]},_updateStyle:function(e){var t=e._stroke,n=e._fill,r=e.options,i=e._container;i.stroked=!!r.stroke,i.filled=!!r.fill,r.stroke?(t||=e._stroke=si(`stroke`),i.appendChild(t),t.weight=r.weight+`px`,t.color=r.color,t.opacity=r.opacity,r.dashArray?t.dashStyle=_(r.dashArray)?r.dashArray.join(` `):r.dashArray.replace(/( *, *)/g,` `):t.dashStyle=``,t.endcap=r.lineCap.replace(`butt`,`flat`),t.joinstyle=r.lineJoin):t&&(i.removeChild(t),e._stroke=null),r.fill?(n||=e._fill=si(`fill`),i.appendChild(n),n.color=r.fillColor||r.color,n.opacity=r.fillOpacity):n&&(i.removeChild(n),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),n=Math.round(e._radius),r=Math.round(e._radiusY||n);this._setPath(e,e._empty()?`M0 0`:`AL `+t.x+`,`+t.y+` `+n+`,`+r+` 0,23592600`)},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){Ot(e._container)},_bringToBack:function(e){kt(e._container)}},li=$e.vml?si:pe,ui=ii.extend({_initContainer:function(){this._container=li(`svg`),this._container.setAttribute(`pointer-events`,`none`),this._rootGroup=li(`g`),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Et(this._container),nn(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){ii.prototype._update.call(this);var e=this._bounds,t=e.getSize(),n=this._container;(!this._svgSize||!this._svgSize.equals(t))&&(this._svgSize=t,n.setAttribute(`width`,t.x),n.setAttribute(`height`,t.y)),zt(n,e.min),n.setAttribute(`viewBox`,[e.min.x,e.min.y,t.x,t.y].join(` `)),this.fire(`update`)}},_initPath:function(e){var t=e._path=li(`path`);e.options.className&&jt(t,e.options.className),e.options.interactive&&jt(t,`leaflet-interactive`),this._updateStyle(e),this._layers[o(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){Et(e._path),e.removeInteractiveTarget(e._path),delete this._layers[o(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,n=e.options;t&&(n.stroke?(t.setAttribute(`stroke`,n.color),t.setAttribute(`stroke-opacity`,n.opacity),t.setAttribute(`stroke-width`,n.weight),t.setAttribute(`stroke-linecap`,n.lineCap),t.setAttribute(`stroke-linejoin`,n.lineJoin),n.dashArray?t.setAttribute(`stroke-dasharray`,n.dashArray):t.removeAttribute(`stroke-dasharray`),n.dashOffset?t.setAttribute(`stroke-dashoffset`,n.dashOffset):t.removeAttribute(`stroke-dashoffset`)):t.setAttribute(`stroke`,`none`),n.fill?(t.setAttribute(`fill`,n.fillColor||n.color),t.setAttribute(`fill-opacity`,n.fillOpacity),t.setAttribute(`fill-rule`,n.fillRule||`evenodd`)):t.setAttribute(`fill`,`none`))},_updatePoly:function(e,t){this._setPath(e,me(e._parts,t))}
3973,_updateCircle:function(e){var t=e._point,n=Math.max(Math.round(e._radius),1),r=Math.max(Math.round(e._radiusY),1)||n,i=`a`+n+`,`+r+` 0 1,0 `,a=e._empty()?`M0 0`:`M`+(t.x-n)+`,`+t.y+i+n*2+`,0 `+i+-n*2+`,0 `;this._setPath(e,a)},_setPath:function(e,t){e._path.setAttribute(`d`,t)},_bringToFront:function(e){Ot(e._path)},_bringToBack:function(e){kt(e._path)}});$e.vml&&ui.include(ci);function di(e){return $e.svg||$e.vml?new ui(e):null}bn.include({getRenderer:function(e){var t=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return t||=this._renderer=this._createRenderer(),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(e){if(e===`overlayPane`||e===void 0)return!1;var t=this._paneRenderers[e];return t===void 0&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t},_createRenderer:function(e){return this.options.preferCanvas&&oi(e)||di(e)}});var fi=Tr.extend({initialize:function(e,t){Tr.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))}
vendor: 6,234 bytes, line 3973
3973,_boundsToLatLngs:function(e){return e=ie(e),[e.getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});function pi(e,t){return new fi(e,t)}ui.create=li,ui.pointsToPath=me,Dr.geometryToLayer=Or,Dr.coordsToLatLng=Ar,Dr.coordsToLatLngs=jr,Dr.latLngToCoords=Mr,Dr.latLngsToCoords=Nr,Dr.getFeature=Pr,Dr.asFeature=Fr,bn.mergeOptions({boxZoom:!0});var mi=jn.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on(`unload`,this._destroy,this)},addHooks:function(){en(this._container,`mousedown`,this._onMouseDown,this)},removeHooks:function(){nn(this._container,`mousedown`,this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Et(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||e.which!==1&&e.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Vt(),Gt(),this._startPoint=this._map.mouseEventToContainerPoint(e),en(document,{contextmenu:fn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=Tt(`div`,`leaflet-zoom-box`,this._container),jt(this._container,`leaflet-crosshair`),this._map.fire(`boxzoomstart`)),this._point=this._map.mouseEventToContainerPoint(e);var t=new te(this._point,this._startPoint),n=t.getSize();zt(this._box,t.min),this._box.style.width=n.x+`px`,this._box.style.height=n.y+`px`},_finish:function(){this._moved&&(Et(this._box),Mt(this._container,`leaflet-crosshair`)),Ht(),Kt(),nn(document,{contextmenu:fn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if((e.which===1||e.button===1)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var t=new re(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire(`boxzoomend`,{boxZoomBounds:t})}},_onKeyDown:function(e){e.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});bn.addInitHook(`addHandler`,`boxZoom`,mi),bn.mergeOptions({doubleClickZoom:!0});var hi=jn.extend({addHooks:function(){this._map.on(`dblclick`,this._onDoubleClick,this)},removeHooks:function(){this._map.off(`dblclick`,this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,n=t.getZoom(),r=t.options.zoomDelta,i=e.originalEvent.shiftKey?n-r:n+r;t.options.doubleClickZoom===`center`?t.setZoom(i):t.setZoomAround(e.containerPoint,i)}});bn.addInitHook(`addHandler`,`doubleClickZoom`,hi),bn.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var gi=jn.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new Pn(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on(`predrag`,this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on(`predrag`,this._onPreDragWrap,this),e.on(`zoomend`,this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}jt(this._map._container,`leaflet-grab leaflet-touch-drag`),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){Mt(this._map._container,`leaflet-grab`),Mt(this._map._container,`leaflet-touch-drag`),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var t=ie(this._map.options.maxBounds);this._offsetLimit=ne(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire(`movestart`).fire(`dragstart`),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var t=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(t),this._prunePositions(t)}this._map.fire(`move`,e).fire(`drag`,e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.x<t.min.x&&(e.x=this._viscousLimit(e.x,t.min.x)),e.y<t.min.y&&(e.y=this._viscousLimit(e.y,t.min.y)),e.x>t.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),n=this._initialWorldOffset,r=this._draggable._newPos.x,i=(r-t+n)%e+t-n,a=(r+t+n)%e-t-n,o=Math.abs(i+n)<Math.abs(a+n)?i:a;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=o},_onDragEnd:function(e){var t=this._map,n=t.options,r=!n.inertia||e.noInertia||this._times.length<2;if(t.fire(`dragend`,e),r)t.fire(`moveend`);else{this._prunePositions(+new Date);var i=this._lastPos.subtract(this._positions[0]),a=(this._lastTime-this._times[0])/1e3,o=n.easeLinearity,s=i.multiplyBy(o/a),c=s.distanceTo([0,0]),l=Math.min(n.inertiaMaxSpeed,c),u=s.multiplyBy(l/c),d=l/(n.inertiaDeceleration*o),f=u.multiplyBy(-d/2).round();!f.x&&!f.y?t.fire(`moveend`):(f=t._limitOffset(f,t.options.maxBounds),T(function(){t.panBy(f,{duration:d,easeLinearity:o,noMoveStart:!0,animate:!0})}
3973))}}});bn.addInitHook(`addHandler`,`dragging`,gi),bn.mergeOptions({keyboard:!0,keyboardPanDelta:80});var _i=jn.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(e){this._map=e,this._setPanDelta(e.options.keyboardPanDelta),this._setZoomDelta(e.options.zoomDelta)},addHooks:function(){var e=this._map._container;e.tabIndex<=0&&(e.tabIndex=`0`),en(e,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),nn(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var e=document.body,t=document.documentElement,n=e.scrollTop||t.scrollTop,r=e.scrollLeft||t.scrollLeft;this._map._container.focus(),window.scrollTo(r,n)}},_onFocus:function(){this._focused=!0,this._map.fire(`focus`)},_onBlur:function(){this._focused=!1,this._map.fire(`blur`)},_setPanDelta:function(e){for(var t=this._panKeys={},n=this.keyCodes,r=0,i=n.left.length;r<i;r++)t[n.left[r]]=[-1*e,0];for(r=0,i=n.right.length;r<i;r++)t[n.right[r]]=[e,0];for(r=0,i=n.down.length;r<i;r++)t[n.down[r]]=[0,e];for(r=0,i=n.up.length;r<i;r++)t[n.up[r]]=[0,-1*e]},_setZoomDelta:function(e){for(var t=this._zoomKeys={},n=this.keyCodes,r=0,i=n.zoomIn.length;r<i;r++)t[n.zoomIn[r]]=e;for(r=0,i=n.zoomOut.length;r<i;r++)t[n.zoomOut[r]]=-e},_addHooks:function(){en(document,`keydown`,this._onKeyDown,this)},_removeHooks:function(){nn(document,`keydown`,this._onKeyDown,this)},_onKeyDown:function(e){if(!(e.altKey||e.ctrlKey||e.metaKey)){var t=e.keyCode,n=this._map,r;if(t in this._panKeys){if(!n._panAnim||!n._panAnim._inProgress){if(r=this._panKeys[t],e.shiftKey&&(r=N(r).multiplyBy(3)),n.options.maxBounds&&(r=n._limitOffset(N(r),n.options.maxBounds)),n.options.worldCopyJump){var i=n.wrapLatLng(n.unproject(n.project(n.getCenter()).add(r)));n.panTo(i)}else n.panBy(r)}}else if(t in this._zoomKeys)n.setZoom(n.getZoom()+(e.shiftKey?3:1)*this._zoomKeys[t]);else if(t===27&&n._popup&&n._popup.options.closeOnEscapeKey)n.closePopup();else return;fn(e)}}});bn.addInitHook(`addHandler`,`keyboard`,_i),bn.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var vi=jn.extend({addHooks:function(){en(this._map._container,`wheel`,this._onWheelScroll,this),this._delta=0},removeHooks:function(){nn(this._map._container,`wheel`,this._onWheelScroll,this)},_onWheelScroll:function(e){var t=gn(e),n=this._map.options.wheelDebounceTime;this._delta+=t,this._lastMousePos=this._map.mouseEventToContainerPoint(e),this._startTime||=+new Date;var r=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(i(this._performZoom,this),r),fn(e)},_performZoom:function(){var e=this._map,t=e.getZoom(),n=this._map.options.zoomSnap||0;e._stop();var r=this._delta/(this._map.options.wheelPxPerZoomLevel*4),i=4*Math.log(2/(1+Math.exp(-Math.abs(r))))/Math.LN2,a=n?Math.ceil(i/n)*n:i,o=e._limitZoom(t+(this._delta>0?a:-a))-t;this._delta=0,this._startTime=null,o&&(e.options.scrollWheelZoom===`center`?e.setZoom(t+o):e.setZoomAround(this._lastMousePos,t+o))}});bn.addInitHook(`addHandler`,`scrollWheelZoom`,vi);var yi=600;bn.mergeOptions({tapHold:$e.touchNative&&$e.safari&&$e.mobile,tapTolerance:15});var bi=jn.extend({addHooks:function(){en(this._map._container,`touchstart`,this._onDown,this)},removeHooks:function(){nn(this._map._container,`touchstart`,this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),e.touches.length===1){var t=e.touches[0];this._startPos=this._newPos=new M(t.clientX,t.clientY),this._holdTimeout=setTimeout(i(function(){this._cancel(),this._isTapValid()&&(en(document,`touchend`,dn),en(document,`touchend touchcancel`,this._cancelClickPrevent),this._simulateEvent(`contextmenu`,t))},this),yi),en(document,`touchend touchcancel contextmenu`,this._cancel,this),en(document,`touchmove`,this._onMove,this)}},_cancelClickPrevent:function e(){nn(document,`touchend`,dn),nn(document,`touchend touchcancel`,e)},_cancel:function(){clearTimeout(this._holdTimeout),nn(document,`touchend touchcancel contextmenu`,this._cancel,this),nn(document,`touchmove`,this._onMove,this)},_onMove:function(e){var t=e.touches[0];this._newPos=new M(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,t){var n=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY});n._simulated=!0,t.target.dispatchEvent(n)}});bn.addInitHook(`addHandler`,`tapHold`,bi),bn.mergeOptions({touchZoom:$e.touch,bounceAtZoomLimits:!0});var xi=jn.extend({addHooks:function(){jt(this._map._container,`leaflet-touch-zoom`),en(this._map._container,`touchstart`,this._onTouchStart,this)},removeHooks:function(){Mt(this._map._container,`leaflet-touch-zoom`),nn(this._map._container,`touchstart`,this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(!(!e.touches||e.touches.length!==2||t._animatingZoom||this._zooming)){var n=t.mouseEventToContainerPoint(e.touches[0]),r
3973=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),t.options.touchZoom!==`center`&&(this._pinchStartLatLng=t.containerPointToLatLng(n.add(r)._divideBy(2))),this._startDist=n.distanceTo(r),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),en(document,`touchmove`,this._onTouchMove,this),en(document,`touchend touchcancel`,this._onTouchEnd,this),dn(e)}},_onTouchMove:function(e){if(e.touches&&e.touches.length===2&&this._zooming){var t=this._map,n=t.mouseEventToContainerPoint(e.touches[0]),r=t.mouseEventToContainerPoint(e.touches[1]),a=n.distanceTo(r)/this._startDist;if(this._zoom=t.getScaleZoom(a,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoom<t.getMinZoom()&&a<1||this._zoom>t.getMaxZoom()&&a>1)&&(this._zoom=t._limitZoom(this._zoom)),t.options.touchZoom===`center`){if(this._center=this._startLatLng,a===1)return}else{var o=n._add(r)._divideBy(2)._subtract(this._centerPoint);if(a===1&&o.x===0&&o.y===0)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(o),this._zoom)}this._moved||=(t._moveStart(!0,!1),!0),E(this._animRequest);var s=i(t._move,t,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=T(s,this,!0),dn(e)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,E(this._animRequest),nn(document,`touchmove`,this._onTouchMove,this),nn(document,`touchend touchcancel`,this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});bn.addInitHook(`addHandler`,`touchZoom`,xi),bn.BoxZoom=mi,bn.DoubleClickZoom=hi,bn.Drag=gi,bn.Keyboard=_i,bn.ScrollWheelZoom=vi,bn.TapHold=bi,bn.TouchZoom=xi,e.Bounds=te,e.Browser=$e,e.CRS=ae,e.Canvas=ai,e.Circle=xr,e.CircleMarker=yr,e.Class=O,e.Control=Sn,e.DivIcon=Xr,e.DivOverlay=Gr,e.DomEvent=vn,e.DomUtil=$t,e.Draggable=Pn,e.Evented=j,e.FeatureGroup=ur,e.GeoJSON=Dr,e.GridLayer=Qr,e.Handler=jn,e.Icon=fr,e.ImageOverlay=zr,e.LatLng=P,e.LatLngBounds=re,e.Layer=sr,e.LayerGroup=cr,e.LineUtil=er,e.Map=bn,e.Marker=gr,e.Mixin=Mn,e.Path=vr,e.Point=M,e.PolyUtil=Rn,e.Polygon=Tr,e.Polyline=Cr,e.Popup=Kr,e.PosAnimation=yn,e.Projection=rr,e.Rectangle=fi,e.Renderer=ii,e.SVG=ui,e.SVGOverlay=Ur,e.TileLayer=ei,e.Tooltip=Jr,e.Transformation=le,e.Util=D,e.VideoOverlay=Vr,e.bind=i,e.bounds=ne,e.canvas=oi,e.circle=Sr,e.circleMarker=br,e.control=Cn,e.divIcon=Zr,e.extend=n,e.featureGroup=dr,e.geoJSON=Lr,e.geoJson=Rr,e.gridLayer=$r,e.icon=pr,e.imageOverlay=Br,e.latLng=F,e.latLngBounds=ie,e.layerGroup=lr,e.map=xn,e.marker=_r,e.point=N,e.polygon=Er,e.polyline=wr,e.popup=qr,e.rectangle=pi,e.setOptions=p,e.stamp=o,e.svg=di,e.svgOverlay=Wr,e.tileLayer=ti,e.tooltip=Yr,e.transformation=ue,e.version=t,e.videoOverlay=Hr;var Si=window.L;e.noConflict=function(){return window.L=Si,this},window.L=e}))})),WUe=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZAAAC91BMVEVMaXEzeak2f7I4g7g3g7cua5gzeKg8hJo3grY4g7c3grU0gLI2frE0daAubJc2gbQwd6QzeKk2gLMtd5sxdKIua5g1frA2f7IydaM0e6w2fq41fK01eqo3grgubJgta5cxdKI1f7AydaQydaMxc6EubJgvbJkwcZ4ubZkwcJwubZgubJcydqUydKIxapgubJctbJcubZcubJcvbJYubJcvbZkubJctbJctbZcubJg2f7AubJcrbZcubJcubJcua5g3grY0fq8ubJcubJdEkdEwhsw6i88vhswuhcsuhMtBjMgthMsrg8srgss6is8qgcs8i9A9iMYtg8spgcoogMo7hcMngMonf8olfso4gr8kfck5iM8jfMk4iM8he8k1fro7itAgesk2hs8eecgzfLcofssdeMg0hc4cd8g2hcsxeLQbdsgZdcgxeLImfcszhM0vda4xgckzhM4xg84wf8Yxgs4udKsvfcQucqhUndROmdM1fK0wcZ8vb5w0eqpQm9MzeKhXoNVcpdYydKNWn9VZotVKltJFjsIwcJ1Rms9OlslLmtH///8+kc9epdYzd6dbo9VHkMM2f7FHmNBClM8ydqVcpNY9hro3gLM9hLczealQmcw3fa46f7A8gLMxc6I3eagyc6FIldJMl9JSnNRSntNNl9JPnNJFi75UnM9ZodVKksg8kM45jc09e6ZHltFBk883gbRBh7pDk9EwcaBzn784g7dKkcY2i81Om9M7j85Llc81is09g7Q4grY/j9A0eqxKmdFFltBEjcXf6fFImdBCiLxJl9FGlNFBi78yiMxVndEvbpo6js74+vx+psPP3+o/ks5HkcpGmNCjwdZCkNDM3ehYoNJEls+lxNkxh8xHks0+jdC1zd5Lg6r+/v/H2ufz9/o3jM3t8/edvdM/k89Th61OiLBSjbZklbaTt9BfptdjmL1AicBHj8hGk9FAgK1dkLNTjLRekrdClc/k7fM0icy0y9tgp9c4jc2NtM9Dlc8zicxeXZn3AAAAQ3RSTlMAHDdTb4yPA
3973+LtnEQmC4L2EmHqB7XA0d0sr478x4/Yd5i1zOfyPkf1sLVq4Nh3FvjxopQ2/STNuFzUwFIwxKaejILpIBEV9wAABhVJREFUeF6s1NdyFEcYBeBeoQIhRAkLlRDGrhIgY3BJL8CVeKzuyXFzzjkn5ZxzzuScg3PO8cKzu70JkO0LfxdTU//pM9vTu7Xgf6KqOVTb9X7toRrVEfBf1HTVjZccrT/2by1VV928Yty9ZbVuucdz90frG8DBjl9pVApbOstvmMuvVgaNXSfAAd6pGxpy6yxf5ph43pS/4f3uoaGm2rdu72S9xzOvMymkZFq/ptDrk90mhW7e4zl7HLzhxGWPR20xmSxJ/VqldG5m9XhaVOA1DadsNh3Pu5L2N6QtPO/32JpqQBVVk20oy/Pi2s23WEvyfHbe1thadVQttvm7Llf65gGmXK67XtupyoM7HQhmXdLS8oGWJNeOJ3C5fG5XCEJnkez3/oFdsvgJ4l2ANZwhrJKk/7OSXa+3Vw2WJMlKnGkobouYk6T0TyX30klOUnTD9HJ5qpckL3EW/w4XF3Xd0FGywXUrstrclVsqz5Pd/sXFYyDnPdrLcQODmGOK47IZb4CmibmMn+MYRzFZ5jg33ZL/EJrWcszHmANy3ARBK/IXtciJy8VsitPSdE3uuHxzougojcUdr8/32atnz/ev3f/K5wtpxUTpcaI45zusVDpYtZi+jg0oU9b3x74h7+n9ABvYEZeKaVq0sh0AtLKsFtqNBdeT0MrSzwwlq9+x6xAO4tgOtSzbCjrNQQiNvQUbUEubvzBUeGw26yDCsRHCoLkTHDa7IdOLIThs/gHvChszh2CimE8peRs47cxANI0lYNB5y1DljpOF0IhzBDPOZnDOqYYbeGKECbPzWnXludPphw5c2YBq5zlwXphIbO4VDCZ0gnPfUO1TwZoYwAs2ExPCedAu9DAjfQUjzITQb3jNj0KG2Sgt6BHaQUdYzWz+XmBktOHwanXjaSTcwwziBcuMOtwBmqPrTOxFQR/DRKKPqyur0aiW6cULYsx6tBm0jXpR/AUWR6HRq9WVW6MRhIq5jLyjbaCTDCijyYJNpCajdyobP/eTw0iexBAKkJ3gA5KcQb2zBXsIBckn+xVv8jkZSaEFHE+jFEleAEfayRU0MouNoBmB/L50Ai/HSLIHxcrpCvnhSQAuakKp2C/YbCylJjXRVy/z3+Kv/RrNcCo+WUzlVEhzKffnTQnxeN9fWF88fiNCUdSTsaufaChKWInHeysygfpIqagoakW+vV20J8uyl6TyNKEZWV4oRSPyCkWpgOLSbkCObT8o2r6tlG58HQquf6O0v50tB7JM7F4EORd2dx/K0w/KHsVkLPaoYrwgP/y7krr3SSMA4zj+OBgmjYkxcdIJQyQRKgg2viX9Hddi9UBb29LrKR7CVVEEEXWojUkXNyfTNDE14W9gbHJNuhjDettN3ZvbOvdOqCD3Jp/9l+/wJE+9PkYGjx/fqkys3S2rMozM/o2106rfMUINo6hVqz+eu/hd1c4xTg0TAfy5kV+4UG6+IthHTU9woWmxuKNbTfuCSfovBCxq7EtHqvYL4Sm6F8GVxsSXHMQ07TOi1DKtZxjWaaIyi4CXWjxPccUw8WVbMYY5wxC1mzEyXMJWkllpRloi+Kkoq69sxBTlElF6aAxYUbjXNlhlDZilDnM4U5SlN5biRsRHnbx3mbeWjEh4mEyiuJDl5XcWVmX5GvNkFgLWZM5qwsop4/AWfLhU1cR7k1VVvcYCWRkOI6Xy5gmnphCYIkvzuNYzHzosq2oNk2RtSs8khfUOfHIDgR6ysYBaMpl4uEgk2U/oJTs9AaTSwma7dT69geAE2ZpEjUsn2ieJNHeKfrI3EcAGJ2ZaNgVuC8EBctCLc57P5u5led6IOBkIYkuQMrmmjChs4VkfOerHqSBkPzZlhe06RslZ3zMjk2sscqKwY0RcjKK+LWbzd7KiHhkncs/siFJ+V5eXxD34B8nVuJEpGJNmxN2gH3vSvp7J70tF+D1Ej8qUJD1TkErAND2GZwTFg/LubvmgiBG3SOvdlsqFQrkEzJCL1rstlnVFROixZoDDSuXQFHESwVGlcuQcMb/b42NgjLowh5MTDFE3vNB5qStRIErdCQEh6pLPR92anSUb/wAIhldAaDMpGgAAAABJRU5ErkJggg==`,GUe=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=`,KUe=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///
3973dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC`;function i6(e,t){let n=(0,I.useRef)(t);(0,I.useEffect)(function(){t!==n.current&&e.attributionControl!=null&&(n.current!=null&&e.attributionControl.removeAttribution(n.current),t!=null&&e.attributionControl.addAttribution(t)),n.current=t},[e,t])}function qUe(e){return Object.freeze({__version:1,map:e})}function JUe(e,t){return Object.freeze({...e,...t})}var a6=(0,I.createContext)(null);function o6(){let e=(0,I.use)(a6);if(e==null)throw Error(`No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>`);return e}function YUe(e){function t(t,n){let{instance:r,context:i}=e(t).current;(0,I.useImperativeHandle)(n,()=>r);let{children:a}=t;return a==null?null:I.createElement(a6,{value:i},a)}return(0,I.forwardRef)(t)}function XUe(e){function t(t,n){let[r,i]=(0,I.useState)(!1),{instance:a}=e(t,i).current;(0,I.useImperativeHandle)(n,()=>a),(0,I.useEffect)(function(){r&&a.update()},[a,r,t.children]);let o=a._contentNode;return o?(0,BE.createPortal)(t.children,o):null}return(0,I.forwardRef)(t)}function ZUe(e){function t(t,n){let{instance:r}=e(t).current;return(0,I.useImperativeHandle)(n,()=>r),null}return(0,I.forwardRef)(t)}function s6(e,t){let n=(0,I.useRef)(void 0);(0,I.useEffect)(function(){return t!=null&&e.instance.on(t),n.current=t,function(){n.current!=null&&e.instance.off(n.current),n.current=null}},[e,t])}function c6(e,t){let n=e.pane??t.pane;return n?{...e,pane:n}:e}function QUe(e,t){return function(n,r){let i=o6(),a=e(c6(n,i),i);return i6(i.map,n.attribution),s6(a.current,n.eventHandlers),t(a.current,i,n,r),a}}function l6(e,t,n){return Object.freeze({instance:e,context:t,container:n})}function u6(e,t){return t==null?function(t,n){let r=(0,I.useRef)(void 0);return r.current||=e(t,n),r}:function(n,r){let i=(0,I.useRef)(void 0);i.current||=e(n,r);let a=(0,I.useRef)(n),{instance:o}=i.current;return(0,I.useEffect)(function(){a.current!==n&&(t(o,n,a.current),a.current=n)},[o,n,t]),i}}function $Ue(e,t){(0,I.useEffect)(function(){return(t.layerContainer??t.map).addLayer(e.instance),function(){t.layerContainer?.removeLayer(e.instance),t.map.removeLayer(e.instance)}},[t,e])}function d6(e){return function(t){let n=o6(),r=e(c6(t,n),n);return i6(n.map,t.attribution),s6(r.current,t.eventHandlers),$Ue(r.current,n),r}}function eWe(e,t){return YUe(d6(u6(e,t)))}function tWe(e,t){return XUe(QUe(u6(e),t))}function nWe(e,t){return ZUe(d6(u6(e,t)))}function rWe(e,t,n){let{opacity:r,zIndex:i}=t;r!=null&&r!==n.opacity&&e.setOpacity(r),i!=null&&i!==n.zIndex&&e.setZIndex(i)}function f6(){return o6().map}function iWe(e){let t=f6();return(0,I.useEffect)(function(){return t.on(e),function(){t.off(e)}},[t,e]),t}var p6=UUe();function aWe({bounds:e,boundsOptions:t,center:n,children:r,className:i,id:a,placeholder:o,style:s,whenReady:c,zoom:l,...u},d){let[f]=(0,I.useState)({className:i,id:a,style:s}),[p,m]=(0,I.useState)(null),h=(0,I.useRef)(void 0);(0,I.useImperativeHandle)(d,()=>p?.map??null,[p]);let g=(0,I.useCallback)(r=>{if(r!==null&&!h.current){let i=new p6.Map(r,u);h.current=i,n!=null&&l!=null?i.setView(n,l):e!=null&&i.fitBounds(e,t),c!=null&&i.whenReady(c),m(qUe(i))}},[]);(0,I.useEffect)(()=>()=>{p?.map.remove()},[p]);let _=p?I.createElement(a6,{value:p},r):o??null;return I.createElement(`div`,{...f,ref:g},_)}var oWe=(0,I.forwardRef)(aWe),sWe=eWe(function({position:e,...t},n){let r=new p6.Marker(e,t);return l6(r,JUe(n,{overlayContainer:r}))},function(e,t,n){t.position!==n.position&&e.setLatLng(t.position),t.icon!=null&&t.icon!==n.icon&&e.setIcon(t.icon),t.zIndexOffset!=null&&t.zIndexOffset!==n.zIndexOffset&&e.setZIndexOffset(t.zIndexOffset),t.opacity!=null&&t.opacity!==n.opacity&&e.setOpacity(t.opacity),e.dragging!=null&&t.draggable!==n.draggable&&(t.draggable===!0?e.dragging.enable():e.dragging.disable())}),cWe=tWe(function(e,t){return l6(new p6.Popup(e,t.overlayContainer),t)},function(e,t,{position:n},r){(0,I.useEffect)(function(){let{instance:i}=e;function a(e){e.popup===i&&(i.update(),r(!0))}function o(e){e.popup===i&&r(!1)}return t.map.on({popupopen:a,popupclose:o}),t.overlayContainer==null?(n!=null&&i.setLatLng(n),i.openOn(t.map)):t.overlayContainer.bindPopup(i),function(){t.map.off({popupopen:a,popupclose:o}),t.overlayContainer?.unbindPopup(),t.map.removeLayer(i)}},[e,t,r,n])}),lWe=nWe(function({url:e,...t},n){return l6(new p6.TileLayer(e,c6(t,n)),n)},function(e,t,n){rWe(e,t,n);let{url:r}=t;r!=null&&r!==n.url&&e.setUrl(r)});p6.Icon.Default.prototype.options.iconUrl=GUe,p6.Icon.Default.prototype.options.iconRetinaUrl=WUe,p6.Icon.Default.prototype.options.shadowUrl=KUe,p6.Icon.Default.imagePath=``;var uWe={small:{desktop:`300px`,largeDesktop:`300px`,mobile:`200px`,tablet:`250px`},medium:{desktop:`500px`,largeDesktop:`500px`,mobile:`300px`,tablet:`400px`},large:{desktop:`700px`,largeDesktop:`700px`,mobile:`400px`,tablet:`550px`}},dWe=({pointsOfInterests:e,size:t,blockId:n})=>{let{size:r}=qE(),{trackMapMarkerClicked:i}=K0();return r===null?null:(0,V.jsx)(`div`,{style:{height:uWe[t][r],position:`relative`,zIndex:1},children:(0,V.jsxs)(oWe,{scrollWheelZoom:!1,style:{height:`100%`},center:[53.15780306961261,8.232838855773876],zoom:13,children:[(0,V.jsx)(pWe,{blockId:n,hasPointsOfInterest:e.length>0}),(0,V.jsx)(lWe,{attribution:`© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors`,url:`https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png`}),e.map(e=>(0,V.jsx)(sWe,{position:e,eventHandlers:{click:()=>i({blockId:n,poi:e})},children:(0,V.jsxs)(cWe,{children:[(0,V.jsx)(dQ,{children:e.label}),(0,V.jsx)(`span`,{children:e.description})]})},`${e.lat}${e.lng}`)),(0,V.jsx)(fWe,{deviceSize:r,markers:e.map(e=>[e.lat,e.lng])})]})})},fWe=({markers:e,deviceSize:t})=>{let n=f6();return(0,I.useEffect)(()=>{e.length>0&&t&&n.fitBounds(e,{padding:[10,10]})},[e,t,n]),null},pWe=({blockId:e,hasPointsOfInterest:t})=>{let{trackMapMove:n}=K0(),[r,i]=(0,I.useState)(!t);return iWe({zoom:()=>{r&&n({blockId:e,type:`zoom`}),i(!0)},dragend:()=>{n({blockId:e,type:`move`})}}),null},m6=({block:e})=>(0,V.jsx)(dWe,{blockId:e.id,size:e.value.size,pointsOfInterests:e.children.map(e=>({lat:parseFloat(e.value.lat),lng:parseFloat(e.value.lng),label:e.translatedValue.label,description:e.translatedValue.description}))}),mWe={View:m6},h6={blockType:`mapsBlock`,type:`layoutBlock`,allowedChildType:`mapMarkerBlock`,Form:HUe,Preview:m6,emptyValue:{size:`medium`},emptyTranslatedValue:null,mapEditResourceToFormState:d2,mapFormStateToRequest:(e,t)=>
3973o2(e.type,t),validate:(e,t)=>({...p2(e,t),...m2(e,(e,n)=>{e.size||(n.size=t(`Field is required`))})})},hWe={...mWe,...h6},gWe=({type:e})=>{let{t}=B();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(D2,{blockType:e,targetFieldName:`translatedValue.title`}),(0,V.jsx)(k2,{required:!0}),(0,V.jsx)(LQ,{label:t(`Title`),name:`translatedValue.title`,required:!0,description:t(`The title is displayed in the browser tab.`)}),(0,V.jsx)(MK,{children:(0,V.jsx)(pK,{label:t(`Public`),name:`value.isPublic`})})]})},_We=e=>(0,V.jsx)(I2,{...e,blockForm:g6,children:(0,V.jsx)(gWe,{type:e.block.type})}),vWe=({block:e})=>(0,V.jsx)(V.Fragment,{children:e.children.map(e=>(0,V.jsx)(R2,{block:e},e.id))}),yWe={View:({block:e})=>(0,V.jsx)(V.Fragment,{children:e.children.map(e=>(0,V.jsx)(z2,{block:e},e.id))})},g6={blockType:`pageBlock`,type:`layoutBlock`,Form:_We,Preview:vWe,emptyTranslatedValue:{title:``},emptyValue:{isPublic:!0},mapEditResourceToFormState:d2,mapFormStateToRequest:(e,t)=>o2(e.type,t),validate:(e,t)=>({...p2(e,t),...g2(e,(e,n)=>{e.title||(n.title=t(`Field is required`))})})},bWe={...yWe,...g6},xWe=({blockType:e})=>(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(E2,{blockType:e}),(0,V.jsx)(O2,{}),(0,V.jsx)(L2,{}),(0,V.jsx)(S2,{})]}),SWe=e=>(0,V.jsx)(F2,{...e,blockForm:v6,children:(0,V.jsx)(xWe,{blockType:e.block.type})}),_6=U(YN)` 3974 padding-left: ${({theme:e,$padding:t})=>e.spacing(t.left)}; 3975 padding-top: ${({theme:e,$padding:t})=>e.spacing(t.top)}; 3976 padding-bottom: ${({theme:e,$padding:t})=>e.spacing(t.bottom)}; 3977 padding-right: ${({theme:e,$padding:t})=>e.spacing(t.right)}; 3978`,CWe=({block:e})=>{let t=e.children.map(e=>(0,V.jsx)(z2,{block:e},e.id)),n=TE(),r=(0,I.useMemo)(()=>FG(e),[e]);return(0,V.jsx)(_6,{$padding:e.value.padding,customColor:PG(n,r),customTextColor:NG(n,r),children:t})},wWe=({block:e})=>{let t=e.children.map(e=>(0,V.jsx)(R2,{block:e},e.id)),n=TE(),r=(0,I.useMemo)(()=>FG(e),[e]);return(0,V.jsx)(_6,{$padding:e.value.padding,customColor:PG(n,r),customTextColor:NG(n,r),children:t})},TWe={View:CWe},v6={blockType:`sectionBlock`,type:`layoutBlock`,Form:SWe,Preview:wWe,emptyTranslatedValue:null,emptyValue:{padding:{...y2,left:4,right:4},colorSchemaType:`content`},mapEditResourceToFormState:d2,mapFormStateToRequest:(e,t)=>o2(e.type,t),validate:(e,t)=>({...p2(e,t),...m2(e,(e,n)=>{let r=b2(t,e.padding);r&&(n.padding=r),e.colorSchemaType||(n.colorSchemaType=t(`Field is required`))})})},EWe={...TWe,...v6},DWe=({blockType:e})=>{let{t}=B(),n=Lje();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(D2,{blockType:e}),(0,V.jsx)(k2,{}),(0,V.jsx)(Gje,{label:t(`Text`),name:`translatedValue.slateData`,toolbarConfig:n})]})},OWe=e=>(0,V.jsx)(I2,{...e,blockForm:x6,children:(0,V.jsx)(DWe,{blockType:e.block.type})}),y6=({block:e})=>(0,V.jsx)(H1,{content:e.translatedValue.slateData}),b6={slateData:[{type:`paragraph`,children:[{text:``}]}]},kWe={View:y6},x6={blockType:`slateBlock`,type:`block`,Form:OWe,Preview:y6,emptyValue:null,emptyTranslatedValue:b6,mapEditResourceToFormState:c2,mapFormStateToRequest:(e,t)=>r2(e.type,t),validate:(e,t)=>({...p2(e,t),...g2(e,(e,n)=>{e.slateData===b6.slateData&&(n.slateData=t(`Field is required`))})})},AWe={...kWe,...x6},jWe=({blockType:e})=>{let{t}=B();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(D2,{blockType:e}),(0,V.jsx)(k2,{}),(0,V.jsx)(LQ,{label:t(`Title`),name:`translatedValue.title`})]})},MWe=e=>(0,V.jsx)(I2,{...e,blockForm:E6,children:(0,V.jsx)(jWe,{blockType:e.block.type})});function NWe(e){let[t,n]=(0,I.useState)(e);return(0,I.useEffect)(()=>{n(e)},[e]),[t,n]}var S6=(0,I.createContext)(void 0),C6=({block:e,children:t})=>{let[n,r]=NWe(e.children.length>0?e.children[0].id:null),[i,a]=(0,I.useState)({}),o=(0,I.useCallback)((e,t)=>{a(n=>({...n,[e]:t}))},[]),s=(0,I.useCallback)(e=>{a(({[e]:t,...n})=>n)},[]),c=(0,I.useMemo)(()=>({setActiveId:r,handleWidthChange:o,onUnmountButton:s,activeId:n,widths:i,isScrollable:e.value.isScrollable}),[r,o,s,n,i,e.value.isScrollable]);return(0,V.jsx)(S6.Provider,{value:c,children:t(c)})},w6=()=>{let e=(0,I.useContext)(S6);if(e===void 0)throw Error(`useTabContainerBlock needs tabName be wrapped inside a TabContainerBlockProvider`);return e},PWe=U.div` 3979 ${({theme:e})=>e.tabs.links.tab}; 3980 flex: none; 3981 cursor: pointer; 3982 white-space: nowrap; 3983 display: flex; 3984 justify-content: center; 3985 overflow-x: ${({$hideOverflow:e})=>e?`hidden`:`visible`}; 3986`,FWe=U.div` 3987 ${({theme:e})=>e.tabs.links.tabContent}; 3988 ${({$shouldEllipsize:e})=>e&&H` 3989 display: block; 3990 overflow: hidden; 3991 text-overflow: ellipsis; 3992 `} 3993`,T6=({block:e})=>{let{trackTabNavigationEvent:t}=K0(),{activeId:n,setActiveId:r,isScrollable:i}=w6(),{ref:a}=IWe(e.id),o=(0,I.useCallback)(()=>{r(e.id),t({blockId:e.id,title:e.translatedValue.title})},[e.id,e.translatedValue.title,r,t]);return(0,V.jsx)(PWe,{ref:a,onClick:o,$hideOverflow:!i,$active:n===e.id,children:(0,V.jsx)(FWe,{$active:n===e.id,$shouldEllipsize:!i,children:e.translatedValue.title})})},IWe=e=>{let{ref:t,width:n=null}=$Pe({box:`content-box`}),{handleWidthChange:r,onUnmountButton:i}=w6();return(0,I.useEffect)(()=>{n&&r(e,n)},[r,e,n]),(0,I.useEffect)(()=>()=>i(e),[i,e]),{ref:t}},LWe={View:T6},E6={blockType:`tabBlock`,type:`layoutBlock`,Form:MWe,Preview:T6,emptyValue:null,emptyTranslatedValue:{title:``},mapEditResourceToFormState:d2,mapFormStateToRequest:(e,t)=>
3993o2(e.type,t),validate:(e,t)=>({...p2(e,t)})},RWe={...LWe,...E6},zWe=U.div` 3994 display: flex; 3995 gap: ${({theme:e})=>e.spacing(1)}; 3996`,BWe=({blockType:e})=>{let{t}=B();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(E2,{blockType:e}),(0,V.jsx)(O2,{}),(0,V.jsxs)(zWe,{children:[(0,V.jsx)(pK,{label:t(`Is scrollable`),name:`value.isScrollable`}),(0,V.jsx)(JR,{children:t(`When enabled, the tabs are left-aligned and horizontally scrollable if there is not enough space. When disabled, they are evenly distributed across the entire width.`)})]})]})},VWe=e=>(0,V.jsx)(F2,{...e,blockForm:M6,children:(0,V.jsx)(BWe,{blockType:e.block.type})}),D6=U.div` 3997 display: grid; 3998 grid-template-rows: max-content 1fr; 3999 grid-template-areas: 4000 "tabs" 4001 "tab-content"; 4002`,O6=U.div` 4003 ${({theme:e})=>e.tabs.links.wrapper}; 4004 ${({$isScrollable:e,$tabs:t})=>!e&&H` 4005 display: grid; 4006 grid-template-columns: repeat(${t}, 1fr); 4007 `}; 4008 overflow-x: ${({$isScrollable:e})=>e?`auto`:`hidden`}; 4009 grid-area: tabs; 4010`,HWe=U(VN.div)` 4011 ${({theme:e})=>e.tabs.links.indicator}; 4012`,k6=({left:e,width:t})=>(0,V.jsx)(HWe,{animate:{left:e,width:t}}),A6=U.div` 4013 grid-area: tab-content; 4014`,j6=(e,t)=>t.children.find(t=>e===t.id),UWe=({block:e})=>{let{t}=B();return(0,V.jsx)(C6,{block:e,children:({activeId:n,widths:r})=>(0,V.jsx)(V.Fragment,{children:n&&(0,V.jsxs)(D6,{children:[(0,V.jsxs)(O6,{$tabs:e.children.length,$isScrollable:e.value.isScrollable,children:[(0,V.jsx)(k6,{width:r[n],left:e.children.slice(0,e.children.findIndex(e=>e.id===n)).reduce((e,t)=>e+(r[t.id]||0),0)}),e.children.map(e=>e.type===`tabBlock`?(0,V.jsx)(z2,{block:e},e.id):t(`Invalid child block`))]}),j6(n,e)&&(0,V.jsx)(A6,{children:j6(n,e)?.children.map(e=>(0,V.jsx)(z2,{block:e},e.id))})]})})})},WWe=({block:e})=>{let{t}=B();return(0,V.jsx)(C6,{block:e,children:({activeId:n,widths:r})=>(0,V.jsx)(V.Fragment,{children:n&&(0,V.jsxs)(D6,{children:[(0,V.jsxs)(O6,{$tabs:e.children.length,$isScrollable:e.value.isScrollable,children:[(0,V.jsx)(k6,{width:r[n],left:e.children.slice(0,e.children.findIndex(e=>e.id===n)).reduce((e,t)=>e+(r[t.id]||0),0)}),e.children.map(e=>e.type===`tabBlock`?(0,V.jsx)(z2,{block:e},e.id):t(`Invalid child block`))]}),j6(n,e)&&(0,V.jsx)(A6,{children:j6(n,e)?.children.map(e=>(0,V.jsx)(R2,{block:e},e.id))})]})})})},GWe={View:UWe},M6={blockType:`tabContainerBlock`,type:`layoutBlock`,allowedChildType:`tabBlock`,Form:VWe,Preview:WWe,emptyValue:{isScrollable:!0},emptyTranslatedValue:null,mapEditResourceToFormState:d2,mapFormStateToRequest:(e,t)=>o2(e.type,t),validate:(e,t)=>p2(e,t)},KWe={...GWe,...M6},qWe=({blockType:e})=>{let{t}=B(),n=qF();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(D2,{blockType:e}),(0,V.jsx)(k2,{}),(0,V.jsx)(LQ,{label:t(`Source`),name:`translatedValue.source`,required:!0}),(0,V.jsx)(P2,{label:t(`Poster`),required:!0}),(0,V.jsxs)(MK,{children:[(0,V.jsx)(pK,{label:t(`Play in loop`),name:`value.loop`}),(0,V.jsx)(pK,{label:t(`Show controls`),name:`value.controls`}),(0,V.jsx)(pK,{label:t(`Mute audio`),name:`value.muted`,disabled:n.values.value.autoplay}),(0,V.jsx)(pK,{label:t(`Autoplay`),name:`value.autoplay`,onChange:()=>n.setFieldValue(`value.muted`,!0)})]})]})},JWe=e=>(0,V.jsx)(I2,{...e,blockForm:P6,children:(0,V.jsx)(qWe,{blockType:e.block.type})}),YWe=U.video` 4015 width: 100%; 4016`,N6=({block:e})=>{let t=(0,I.useRef)(null),{trackVideoEvent:n}=K0(),r=(0,I.useCallback)(t=>{let n=t.target;n.error||e.value.controls||(n.paused?n.play():e.value.autoplay||n.pause())},[e.value.autoplay,e.value.controls]),i=(0,I.useCallback)(t=>{n({blockId:e.id,type:t.type})},[e.id,n]);return(0,I.useEffect)(()=>{let e=t.current;return e?.addEventListener(`play`,i),e?.addEventListener(`pause`,i),e?.addEventListener(`fullscreenchange`,i),()=>{e?.removeEventListener(`play`,i),e?.removeEventListener(`pause`,i),e?.removeEventListener(`fullscreenchange`,i)}},[i]),(0,V.jsx)(YWe,{ref:t,muted:e.value.muted,loop:e.value.loop,autoPlay:e.value.autoplay,controls:e.value.controls,poster:e.entity?.url,onClick:r,children:(0,V.jsx)(`source`,{src:e.translatedValue.source})})},XWe={View:N6},P6={blockType:`videoBlock`,type:`translatableEntityBlock`,Form:JWe,Preview:N6,emptyValue:{muted:!1,autoplay:!1,controls:!0,loop:!1},emptyTranslatedValue:{source:``},emptyTranslatedEntity:null,mapEditResourceToFormState:u2,mapFormStateToRequest:(e,t)=>
4016a2(e.type,t),validate:(e,t)=>({...p2(e,t),..._2(e,(e,n,r,i)=>{e.source||(r.source=t(`Field is required`)),n||(i.entity=t(`Field is required`))})})},ZWe={...XWe,...P6},QWe=(e,t)=>{switch(e){case`pageBlock`:return bWe;case`imageBlock`:return tVe;case`cardBlock`:return QRe;case`cardLayoutBlock`:return rze;case`linkContainerBlock`:return NUe;case`linkBlock`:return EUe;case`sectionBlock`:return EWe;case`slateBlock`:return AWe;case`layoutRowBlock`:return pUe;case`keyVisualBlock`:return tUe;case`headlineBlock`:return VBe;case`iframeBlock`:return QBe;case`countdownBlock`:return cze;case`layoutBackgroundImageBlock`:return sUe;case`gridLayoutColumnBlock`:return NBe;case`accordionBlock`:return FRe;case`tabContainerBlock`:return KWe;case`tabBlock`:return RWe;case`mapsBlock`:return hWe;case`mapMarkerBlock`:return zUe;case`imageCarouselBlock`:return VHe;case`imageGalleryBlock`:return ZHe;case`videoBlock`:return ZWe;case`feedbackBlock`:return Qze;case`iconBlock`:return qBe;case`dividerBlock`:return mze;default:if(t)return t(e,t);throw Error(`Unknown BlockType: ${e}. Did you forgot to register ${e} at factory?`)}},F6=I.createContext(void 0),$We=({isPublic:e=!1,children:t,blockPageBaseUrl:n=`/blocks`,factoryExtension:r=null})=>{let i=(0,I.useCallback)(e=>QWe(e,r),[r]);return(0,V.jsx)(F6.Provider,{value:{isPublic:e,factory:i,blockPageBaseUrl:n},children:t})},I6=()=>{let e=(0,I.useContext)(F6);if(e===void 0)throw Error(`BlockContext undefined. Did you forget to wrap your components in BlockProvider?`);return e},L6=e=>{let{factory:t}=I6();return t(e)},R6=({title:e,onClose:t,children:n})=>(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(fD,{onClose:t,children:(0,V.jsx)(uD,{children:e})}),n]}),eGe=e=>(0,V.jsx)(HN,{...e,children:(0,V.jsx)(fFe,{...e,children:({data:t})=>t?e.renderSuccess({...e,data:t}):e.renderLoading?e.renderLoading(e):(0,V.jsx)(R6,{...e,children:(0,V.jsx)(lD,{})})})});function z6(e,t){if(typeof t==`function`&&t.key&&e.plugins.has(t.key))return;let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);if(!e.plugins.get(r)){e.plugins.set(r,n);for(let t in n.hooks||{})e.hooks?.hook(t,n.hooks[t])}}function tGe(e,t={}){let n=!t.document,r=new Map,i={_entryCount:1,_h:0,plugins:new Map,resolvedOptions:t,ssr:n,entries:r,hooks:void 0,render:()=>e(i),use:e=>z6(i,e),push(e,t){let a=t?._index??i._entryCount++,o=t?{...t}:{};delete o.head,delete o.onRendered,delete o._index;let s={_i:a,input:e,options:o};return r.set(a,s),{_i:a,dispose(){r.delete(a)},patch(e){n?(s.input=e,delete s._tags):s._pending=e,r.has(a)||r.set(a,s)}}}};return t.init?.forEach(e=>e&&i.push(e)),i}var nGe=new Set([`link`,`style`,`script`,`noscript`]),rGe=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),B6=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),iGe=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),aGe=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),V6=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),oGe=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),sGe=new Set([`theme-color`,`google-site-verification`,`author`,`og:locale:alternate`,`og:image`,`og:video`,`og:audio`,`article:author`,`article:tag`,`book:author`,`book:tag`,`twitter:image`]),cGe={critical:-8,high:-1,low:2},H6=e=>typeof e==`number`?Number.isFinite(e):e;function U6(e){return e===`__proto__`||e===`constructor`||e===`prototype`}function W6(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n&&typeof n.then==`function`)return Promise.resolve(n).then(()=>W6(e,t,i+1,r))}catch(e){return Promise.reject(e)}}var lGe=class{_hooks;constructor(){this._hooks={}}hook(e,t){return!e||typeof t!=`function`?()=>{}:(this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)})}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}callHook(e,...t){let n=this._hooks[e];if(n&&n.length!==0)return W6(n,t,0)}};function uGe(e){let t=new lGe;for(let n in e||{})t.hook(n,e[n]);return t}
4016function G6(e,t,n){if(e.hooks?._hooks?.[t]?.length)return e.hooks?.callHook(t,n)}function dGe(e,t,n){let r=e.push,i=e;i.ssr=!1,i.hooks=t,i.dirty=!!i.dirty,i.use=e=>z6(i,e),i.render=()=>n(i);function a(){t.callHook(`entries:updated`,i),i._b||i.render()}return i.invalidate=()=>{for(let e of i.entries.values())delete e._tags;i.dirty=!0,a()},i.push=(n,o)=>{let s=o?.onRendered?t.hook(`dom:rendered`,o.onRendered):void 0,c=r(n,o),l=e.entries.get(c._i);return l&&(l._o=n),i.dirty=!0,a(),{_i:c._i,patch(e){c.patch(e),i.dirty=!0,a()},dispose(){s?.(),e.entries.has(c._i)&&(c.dispose(),i.invalidate())}}},i}var fGe=/^(?:viewport|description|keywords|robots)$/,pGe=[`name`,`property`,`http-equiv`];function K6(e){let t=e.indexOf(`:`);if(t===-1)return!1;let n=e.slice(t+1);return sGe.has(n)||n.startsWith(`og:image:`)||n.startsWith(`og:video:`)||n.startsWith(`og:audio:`)||n.startsWith(`twitter:image:`)}function q6(e){let{props:t,tag:n,key:r}=e;if(aGe.has(n))return n;if(n===`link`){if(t.rel===`canonical`)return`canonical`;if(t.rel===`alternate`&&t.hreflang)return`alternate:${t.hreflang}`}if(t.charset)return`charset`;if(n===`meta`)for(let e of pGe){let n=t[e];if(n!==void 0)return`meta:${n}${(typeof n!=`string`||!n.includes(`:`))&&!fGe.test(n)&&r?`:key:${r}`:``}`}return r?`${n}:key:${r}`:t.id?`${n}:id:${t.id}`:n===`link`&&t.rel&&t.href?`link:${t.rel}:${t.href}`:rGe.has(n)&&(e.textContent||e.innerHTML)?`${n}:content:${e.textContent||e.innerHTML}`:void 0}function J6(e){let t=e._h||e._d||e.textContent||e.innerHTML;if(t)return t;let n=Object.keys(e.props).sort(),r=`${e.tag}:`,i=``;for(let t of n)r+=`${i}${t}:${String(e.props[t])}`,i=`,`;return r}function Y6(e,t,n){if(n===`_resolver`)return e;typeof e==`function`&&(!n||n!==`titleTemplate`&&!n.startsWith(`on`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r)){let e;for(let n=0;n<r.length;n++){let i=Y6(r[n],t);e?e[n]=i:i!==r[n]&&(e=r.slice(0,n),e[n]=i)}return e||r}if(r?.constructor===Object){let e;for(let n in r){let i=U6(n),a=i?void 0:Y6(r[n],t,n);if(!e&&(i||a!==r[n])){e={};for(let t in r){if(t===n)break;e[t]=r[t]}}e&&!i&&(e[n]=a)}return e||r}return r}var mGe=/[\s"'<>/=\x00-\x1F\x7F]/;function hGe(e,t){let n=e===`style`,r=n?new Map:new Set,i=e=>{if(e){if(n){let t=e.indexOf(`:`);t>0&&r.set(e.slice(0,t).trim(),e.slice(t+1).trim())}else e.split(` `).forEach(e=>e&&r.add(e))}};if(typeof t==`string`)(n?t.split(`;`):[t]).forEach(i);else if(Array.isArray(t))t.forEach(i);else if(t&&typeof t==`object`)for(let e in t){let a=t[e];a&&a!==`false`&&(n?r.set(e.trim(),String(a)):i(e))}return r}function X6(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=B6.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;for(let r in t){if(U6(r))continue;let i=r.startsWith(`data-`),a=n&&!V6.has(r),o=a&&!i?r.toLowerCase():r;if(a&&(!o||mGe.test(o)))continue;let s=t[r];if(s===null)e.props[o]=null;else if(r===`class`||r===`style`)e.props[r]=hGe(r,s);else if(V6.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof s==`object`){let n=t.type||`application/json`;(n.endsWith(`json`)||n===`speculationrules`||n===`importmap`)&&(e.props.type=n,e[r]=JSON.stringify(s))}else e[r]=s}else if(s!==void 0){let t=String(s),n=e.tag===`meta`&&o===`content`;e.props[o]=t===`true`||t===``?i||n?t:!0:!s&&i&&t===`false`?`false`:s}}return e}function gGe(e,t){let n;return t.length&&(n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n},e=n(void 0,e)),Y6(e,n)}function Z6(e,t){let n=X6({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});if(n.key&&nGe.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)){let e=[];for(let t of n.props.content)e.push({...n,props:{...n.props,content:t}});return e}return n}function Q6(e,t){if(Array.isArray(t))for(let n of t)e.push(n);else e.push(t)}function _Ge(e,t){if(!e)return[];typeof e==`function`&&(e=e()),e=gGe(e,t);let n=[];for(let t in e){let r=e[t];if(r!==void 0){if(Array.isArray(r))for(let e of r)Q6(n,Z6(t,e));else Q6(n,Z6(t,r))}}return n}var vGe=/</g,yGe=/<\/script/g,$6=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,bGe=()=>100;function e8(e){for(let t in e)return!1;return!0}var xGe=/^tags:|:render/;function t8(e,t){let n=(t[`entries:resolve`]?.length||0)+(t[`entries:normalize`]?.length||0);if(e._h!==n){e._h=n;for(let t of e.entries.values())delete t._tags}}function SGe(e){for(let t=0;t<e.length;t++){let n=e[t],r={...n.props};r.class instanceof Set&&(r.class=new Set(r.class)),r.style instanceof Map&&(r.style=new Map(r.style)),e[t]={...n,props:r}}}function CGe(e,t){let n=e.tags,r=0;for(let t of e.tagMap.values())if(Array.isArray(t))for(let e of t)n[r++]=e;else n[r++]=t;n.length=r,t&&n.sort($6)}function wGe(e){let t=!1;for(let n of e.tags.sort($6)){let r=n._d||J6(n);if(!r)continue;let i=e.tagMap.get(r);if(!i){e.tagMap.set(r,n);continue}if((n.tagDuplicateStrategy||(oGe.has(n.tag)?`merge`:null)||(n.key&&n.key===i.key?`merge`:null))===`merge`){let t={...i.props};for(let e in n.props)t[e]=e===`style`?new Map([...i.props.style||new Map,...n.props[e]]):e===`class`?new Set([...i.props.class||[],...n.props[e]]):n.props[e];e.tagMap.set(r,{...n,props:t})}else n._p>>10==i._p>>10&&n.tag===`meta`&&K6(r)?(e.tagMap.set(r,Object.assign([...Array.isArray(i)?i:[i],n],n)),t=!0):(n._w===i._w?n._p>i._p:n._w<i._w)&&e.tagMap.set(r,n)}return t}function TGe(e,t){let n=e.tagMap.get(`title`),r=e.tagMap.get(`titleTemplate`);if(t._title=n?.textContent,!r)return;let i=r.textContent;if(t._titleTemplate=i,!i)return;let a=typeof i==`function`?i(n?.textContent):i;typeof a==`string`&&!t.plugins.has(`template-params`)&&(a=a.replace(`%s`,n?.textContent||``)),n?a===null?e.tagMap.delete(`title`):e.tagMap.set(`title`,{...n,textContent:a}):e.tagMap.set(`titleTemplate`,{...r,tag:`title`,textContent:a})}function EGe(e){let t=0;for(let n of e){let{innerHTML:r,tag:i,props:a}=n;if(iGe.has(i)&&(!e8(a)||H6(r)||H6(n.textContent))&&(i!==`meta`||H6(a.content)||a[`http-equiv`]||a.charset)){if(i===`script`&&(r||n.textContent)){let e=String(a.type),t=e.endsWith(`json`)||e===`importmap`||e===`speculationrules`,i=e=>t?(typeof e==`string`?e:JSON.stringify(e)).replace(vGe,`\\u003C`):typeof e==`string`?e.replace(yGe,`<\\/script`):e;n={...n},r&&(n.innerHTML=i(r)),n.textContent&&(n.textContent=i(n.textContent)),n._d=q6(n)}e[t++]=n}}return e.length=t,e}function DGe(e,t){let n=t?.tagWeight??e.resolvedOptions._tagWeight??bGe,r={tagMap:new Map,tags:[]},i=e.hooks?._hooks||{};t8(e,i);for(let t of e.entries.values())t._pending!==void 0&&(t.input=t._pending,delete t._pending,delete t._tags,delete t._precomputedTags);let a;(i[`entries:resolve`]?.length||i[`entries:normalize`]?.length)&&(a=[...e.entries.values()],i[`entries:resolve`]?.length&&G6(e,`entries:resolve`,{entr
4016ies:a,...r})),t8(e,i);for(let t of a||e.entries.values()){let a=t._tags;if(!a){if(t._precomputedTags&&n===e.resolvedOptions._tagWeight&&!i[`entries:normalize`]?.length&&!i[`entries:resolve`]?.length&&(!t.options||e8(t.options)))a=t._precomputedTags;else{if(a=_Ge(t.input,e.resolvedOptions.propResolvers||[]),t.options&&!e8(t.options))for(let e of a)Object.assign(e,t.options);if(i[`entries:normalize`]?.length){let n={tags:a,entry:t};G6(e,`entries:normalize`,n),a=n.tags}for(let e=0;e<a.length;e++){let r=a[e];r._w=n(r),r._p=(t._i<<10)+e,r._d=q6(r),r._d||(r._h=J6(r))}t._tags=a}}r.tags.push(...a)}for(let e in i)if(i[e]?.length&&xGe.test(e)){SGe(r.tags);break}let o=wGe(r);return TGe(r,e),CGe(r,o),G6(e,`tags:beforeResolve`,r),G6(e,`tags:resolve`,r),G6(e,`tags:afterResolve`,r),EGe(r.tags)}var OGe=/\s+/;function n8(e={}){return t=>i8(t,e)}function r8(e){for(let t of e.entries.values())if(t._pending!==void 0)return!0;return!1}function kGe(e,t){let n={_d:t,_t:t.title,_e:new Map([[`htmlAttrs`,t.documentElement],[`bodyAttrs`,t.body]]),_p:{},_s:{},_l:new Map};for(let t of e.entries.values())if(t._o!==void 0){let e=t._o;for(let t of[`bodyAttrs`,`htmlAttrs`]){let r=e[t]?.class;if(typeof r==`string`){let e=n._e.get(t);for(let i of r.split(OGe))i&&(n._p[`${t}:attr:class:${i}`]=()=>e.classList.remove(i))}}}return n}function i8(e,t={}){let n=t.document||e.resolvedOptions.document,r=e._dom;if(!n||e._du||r&&r._d===n&&!e.dirty&&!r8(e))return!1;let i=n.defaultView;e._du=!0;let a=!1;try{let o=function(e,t,n){d._s[e]=!n&&f[e]||t,delete f[e]},s=function(e,t,n,r,i,a){let s=`${e}:event:${t}`,c=d._l.get(s);if(c&&c[0]===a&&c[1]===n&&c[2]===r){o(s,c[4]);return}c?.[4]();let l=`data-${t}`,u=(e=>r.call(i,e)),f=()=>{a.removeEventListener(n,u),i.getAttribute(l)===``&&i.removeAttribute(l),d._l.get(s)?.[3]===u&&d._l.delete(s)};a.addEventListener(n,u),d._l.set(s,[a,n,r,u,f]),i.setAttribute(l,``),o(s,f,!0)},c=function({id:e,$el:t,tag:n}){if(d._e.set(e,t),!n.tag.endsWith(`Attrs`)){let r=n.textContent;r!=null&&r!==``&&(r!==t.textContent&&(t.textContent=r),o(`${e}:text`,()=>{t.textContent===r&&(t.textContent=``)},!0));let i=n.innerHTML;i!=null&&i!==``&&(i!==t.innerHTML&&(t.innerHTML=i),o(`${e}:html`,()=>{t.innerHTML===i&&(t.innerHTML=``)},!0));let a=`${e}:el`;o(a,f[a]||(()=>{t?.remove(),d._e.delete(e)}))}for(let r in n.props){let a=n.props[r];if(r[0]===`o`&&r[1]===`n`&&typeof a==`function`){let o=r.slice(2);t?.dataset?.[`${r}fired`]&&a.call(t,new((i?.Event)||Event)(o)),s(e,r,o,a,t,n.tag===`bodyAttrs`&&i?i:t);continue}let c=`${e}:attr:${r}`;if(r===`class`&&a)for(let e of a){let n=`${c}:${e}`;o(n,f[n]||(()=>t.classList.remove(e))),t.classList.contains(e)||t.classList.add(e)}else if(r===`style`&&a)for(let[e,n]of a){let r=`${c}:${e}`;o(r,f[r]||(()=>t.style.removeProperty(e))),t.style.setProperty(e,n)}else a!==!1&&a!==null&&(t.getAttribute(r)!==a&&t.setAttribute(r,a===!0?``:String(a)),o(c,f[c]||(()=>t.removeAttribute(r))))}},l={shouldRender:!0,tags:[]};if(G6(e,`dom:beforeRender`,l),!l.shouldRender)return!1;let u=r;if(u?._d!==n){if(u){for(let e in u._s)u._s[e]();for(let e in u._p)u._p[e]();u._s=u._p={},u._e.clear(),u._l.clear()}u=void 0}u?u._p=u._s:u=kGe(e,n),u._s={};let d=u,f=d._p,p=[],m={};e.dirty=!1;let h=DGe(e,t.tagWeight?{tagWeight:t.tagWeight}:void 0),g=[],_={};for(let e of h){let t=_[e._d]||0,r=(t?`${e._d}:${t}`:e._d)||e._h,i={tag:e,id:r,shouldRender:!0};if(e.tag===`meta`&&e._d&&K6(e._d)&&(_[e._d]=t+1),g.push(i),e.tag===`title`){n.title=e.textContent,o(`title:`,()=>n.title=d._t);continue}i.$el=d._e.get(r),i.$el?c(i):B6.has(e.tag)&&p.push(i)}if(p.length){let e=new Set(d._e.values());for(let t of[...n.body.children,...n.head.children]){let n=t.tagName.toLowerCase();if(!B6.has(n)||e.has(t))continue;let r={innerHTML:t.innerHTML};for(let e of t.getAttributeNames())r[e]=t.getAttribute(e);let i=X6({tag:n,props:{}},r);i.key=t.getAttribute(`data-hid`)||void 0;let a=q6(i)||J6(i),o=a,s=1;for(;d._e.has(o);)o=`${a}:${s++}`;d._e.set(o,t)}}for(let e of p){let t=d._e.get(e.id);e.$el=t||n.createElement(e.tag.tag),c(e),t||(m[e.tag.tagPosition||`head`]??=n.createDocumentFragment()).appendChild(e.$el)}m.head&&n.head.appendChild(m.head),m.bodyOpen&&n.body.insertBefore(m.bodyOpen,n.body.firstChild),m.bodyClose&&n.body.appendChild(m.bodyClose);for(let e in f)f[e]();e._dom=d,a=!0,G6(e,`dom:rendered`,{renders:g})}catch(t){throw e.dirty=!0,t}finally{e._du=!1}return a&&(e.dirty||r8(e))&&i8(e,t),a}var AGe=e=>typeof e.tagPriority==`number`?e.tagPriority:100+(cGe[e.tagPriority]||0);function jGe(e={}){e.document=e.document||(typeof window<`u`?document:void 0);let t=e.render||n8({document:e.document}),n=dGe(tGe(t,{document:e.document,propResolvers:e.propResolvers,_tagWeight:AGe,
4016init:[]}),uGe(e.hooks),t);return e.plugins?.forEach(e=>n.use(e)),e.init?.forEach(e=>e&&n.push(e)),n}function MGe(e,t){let n=0;return()=>{let r=++n;t(()=>{n===r&&e()})}}var a8=(0,I.createContext)(null);function o8(e={}){let t=n8(),n;return n=jGe({render:MGe(()=>t(n),e=>setTimeout(e,0)),...e}),n}function NGe({children:e,value:t,head:n}){let r=(0,I.useRef)(null);if(t!==void 0&&n!==void 0)throw TypeError(`UnheadProvider received both value and head props`);let i=t??n;return i===void 0&&r.current===null&&(r.current=o8()),(0,I.createElement)(a8.Provider,{value:i??r.current},e)}var s8=()=>gH();function PGe(e,t,n={}){return e.push(t||{},n)}function FGe(){let e=(0,I.useContext)(a8);if(!e)throw Error(`useHead() was called without provide context.`);return e}function IGe(e,t,n){let r=t.head||FGe(),i=(0,I.useRef)(null),a=(0,I.useRef)(e);if(a.current=e,r.ssr&&!i.current&&(i.current=n(r,e,t)),(0,I.useEffect)(()=>{let e=n(r,a.current,t);return i.current=e,()=>{e.dispose(),i.current=null}},[r]),(0,I.useEffect)(()=>{i.current?.patch(e)},[e]),r.ssr)return i.current;let o=(0,I.useRef)(null);return o.current||={patch:e=>{i.current?.patch(e)},dispose:()=>{i.current?.dispose(),i.current=null},_poll:e=>{i.current?._poll(e)}},o.current}function LGe(e={},t={}){return IGe(e,t,PGe)}window.ste_statistic=window.ste_statistic||[];var RGe=({children:e})=>{let{languageSettings:t,productData:n}=s8(),{listen:r}=sQ(),[i,a]=(0,I.useState)(!1);LGe({script:n.adobeAnalyticsThirdPartyScripts||[]});let o=(0,I.useCallback)((e,t)=>{window.ste_statistic.push({action:e,data:{...t}})},[]);return(0,I.useEffect)(()=>{a(!0);let e=r(e=>{switch(e.type){case`PAGE_VIEWED`:o(`page.ready`,{page:{country:`WW`,language:t.fallback,template:`DGS`,title:e.payload.pageUrl}});break;case`REGISTRATION_PROCESS_STARTED`:o(`form.open`,{form:{type:`eventregistration`,recipient:`general`}});break;case`REGISTRATION_PROCESS_COMPLETED`:o(`form.sent`,{form:{type:`eventregistration`,recipient:`general`}});break;case`REGISTRATION_CANCELED`:case`REGISTRATION_DECLINED`:case`REGISTRATION_REPLACEMENT`:o(`newsletter.optout`,{newsletter:{recipient:n.htmlTitle}})}});return()=>{e()}},[r,o,n.htmlTitle,t.fallback]),n.adobeAnalyticsThirdPartyScripts===null?null:i?e:null},zGe=class extends rQ{type=`REGISTRATION_PROCESS_STARTED`;constructor(e,t,n){super({registrationId:e,stepId:t,time:n.toISOString()})}},BGe=class extends rQ{type=`REGISTRATION_PROCESS_COMPLETED`;constructor(e,t,n){super({registrationId:e,time:t.toISOString(),duration:n})}},VGe=class extends rQ{type=`REGISTRATION_PROCESS_ABORTED`;constructor(e,t,n){super({registrationId:e,time:t.toISOString(),duration:n})}},HGe=class extends rQ{type=`REGISTRATION_PROCESS_FAILED`;constructor(e,t){super({registrationId:e,time:t.toISOString()})}},c8=class extends rQ{type=`REGISTRATION_STEP_STARTED`;constructor(e,t,n){super({registrationId:e,stepId:t,time:n.toISOString()})}},l8=class extends rQ{type=`REGISTRATION_STEP_COMPLETED`;constructor(e,t,n,r){super({registrationId:e,stepId:t,time:n.toISOString(),duration:r})}},u8=class extends rQ{type=`REGISTRATION_STEP_ABORTED`;constructor(e,t,n,r){super({registrationId:e,stepId:t,time:n.toISOString(),duration:r})}},UGe=class extends rQ{type=`REGISTRATION_SUMMARY_STARTED`;constructor(e,t){super({registrationId:e,time:t.toISOString()})}},WGe=class extends rQ{type=`REGISTRATION_SUMMARY_COMPLETED`;constructor(e,t,n){super({registrationId:e,time:t.toISOString(),duration:n})}},GGe=class extends rQ{type=`REGISTRATION_SUMMARY_ABORTED`;constructor(e,t,n){super({registrationId:e,time:t.toISOString(),duration:n})}},KGe=class extends rQ{type=`REGISTRATION_DECLINED`;constructor(e,t){super({registrationId:e,time:t.toISOString()})}},qGe=class extends rQ{type=`REGISTRATION_CANCELED`;constructor(e,t){super({registrationId:e,time:t.toISOString()})}},JGe=class extends rQ{type=`REGISTRATION_REPLACEMENT`;constructor(e,t){super({registrationId:e,time:t.toISOString()})}},d8=class{send(){}},f8=class{lastEvents=[];send(e){this.lastEvents=[...this.lastEvents,e]}},YGe=(0,I.createContext)(void 0),XGe=({socketUrl:e,payloadMapper:t,children:n})=>{let[r,i]=(0,I.useState)(!1),a=(0,I.useRef)(new d8),{listen:o}=sQ();(0,I.useEffect)(()=>
4016{a.current=new f8,i(!0);let t=new WebSocket(e);return t.addEventListener(`open`,()=>{a.current instanceof f8&&a.current.lastEvents.forEach(e=>t.send(e)),a.current=t}),()=>{a.current=new d8,t.close()}},[e]);let s=(0,I.useCallback)(e=>{console.log(e,a.current);let n=t(e);n&&a.current.send(JSON.stringify({event:e.type,payload:n}))},[t]);return(0,I.useEffect)(()=>o(s),[o,s]),(0,V.jsx)(YGe.Provider,{value:{emitter:a},children:r?n:null})},ZGe=e=>e.payload,p8=(0,I.createContext)(void 0),QGe=({children:e})=>{let t=(0,I.useRef)(null),n=(0,I.useRef)(null),{analyticsUrl:r,productData:i}=s8(),{track:a}=sQ(),o=(0,I.useCallback)((e,r)=>{if(t.current===null){let i=new Date;t.current=i,n.current=i,a(new zGe(e,r,i)),a(new c8(e,r,i))}},[a]),s=(0,I.useCallback)(e=>{if(t.current!==null){let r=new Date;a(new BGe(e,r,Pz(r,t.current))),t.current=null,n.current&&=(a(new WGe(e,r,Pz(r,n.current))),null)}},[a]),c=(0,I.useCallback)(e=>{a(new HGe(e,new Date))},[a]),l=(0,I.useCallback)((e,r)=>{if(t.current!==null){let i=new Date;a(new VGe(e,i,Pz(i,t.current))),t.current=null,n.current&&=(a(new u8(r,e,i,Pz(i,n.current))),null)}},[a]),u=(0,I.useCallback)((e,t,r)=>{let i=new Date;n.current&&a(new l8(t,e,i,Pz(i,n.current))),n.current=i,a(new c8(e,r,i))},[a]),d=(0,I.useCallback)((e,t,r)=>{let i=new Date;n.current&&a(new u8(e,t,i,Pz(i,n.current))),n.current=i,a(new c8(e,r,i))},[a]),f=(0,I.useCallback)((e,t)=>{let r=new Date;n.current&&a(new l8(e,t,r,Pz(r,n.current))),n.current=r,a(new UGe(e,r))},[a]),p=(0,I.useCallback)((e,t)=>{let r=new Date;n.current&&a(new GGe(e,r,Pz(r,n.current))),n.current=r,a(new c8(e,t,r))},[a]);return(0,V.jsx)(p8.Provider,{value:{trackRegistrationStarted:o,trackRegistrationAborted:l,trackNextStep:u,trackPreviousStep:d,trackRegistrationCompleted:s,trackRegistrationFailed:c,trackSummaryAborted:p,trackSummaryStarted:f},children:i.enableAnalytics?(0,V.jsx)(XGe,{socketUrl:r,payloadMapper:ZGe,children:i.enableAdobeAnalytics?(0,V.jsx)(RGe,{children:(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(h8,{}),e]})}):(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(h8,{}),e]})}):e})},m8=()=>{let e=(0,I.useContext)(p8);if(e===void 0)throw Error(`PMAnalyticsContext undefined. Did you forget a provider?`);return e},h8=()=>(rIe(),null),$Ge=U(lI)` 4017 & a { 4018 color: inherit; 4019 } 4020`,eKe={View:({block:e})=>{let{t}=B(),{showToast:n}=PC();return(0,V.jsx)(aI,{initialValues:{firstName:``,lastName:``,email:``,termsAndConditions:!1},onSubmit:async(e,r)=>{mb(await z.post(`newsletter/subscribe`,e))&&(n({type:`success`,body:t(`Successfully subscribed to the newsletter.`),title:t(`Newsletter`)}),r.resetForm())},validate:e=>{let n={};return e.firstName||(n.firstName=t(`Field is required`)),e.lastName||(n.lastName=t(`Field is required`)),e.email||(n.email=t(`Field is required`)),e.termsAndConditions||(n.termsAndConditions=t(`Field is required`)),n},children:(0,V.jsxs)($Ge,{children:[(0,V.jsx)(tz,{name:`firstName`,label:t(`First name`)}),(0,V.jsx)(tz,{name:`lastName`,label:t(`Last name`)}),(0,V.jsx)(tz,{name:`email`,label:t(`Email`)}),(0,V.jsx)(Zwe,{label:(0,V.jsx)(AC,{i18nKey:`termsAndConditions`,components:{legalNotice:(0,V.jsx)(ub,{to:`/blocks/${e.value.legalNoticeBlockId}`}),privacyNotice:(0,V.jsx)(ub,{to:`/blocks/${e.value.privacyNoticeBlockId}`})}}),name:`termsAndConditions`}),(0,V.jsx)(vI,{children:t(`Submit`)})]})})}},tKe=e=>{switch(e){case`newsletterBlock`:return eKe;default:throw Error(`Unknown BlockType in Factory Extension: ${e}`)}},nKe=({children:e})=>(0,V.jsx)($We,{isPublic:!0,factoryExtension:tKe,children:e}),rKe=()=>{let{productData:e}=s8();return(0,I.useLayoutEffect)(()=>{document.title=e.htmlTitle},[e]),null},iKe={"Only logged-in users can access this file.":`Kun brugere, der er logget ind, har adgang til denne fil.`,"Anyone with the link can access this file.":`Alle med linket har adgang til denne fil.`,"Access permission":`Adgangstilladelse`,"Use compact display":`Brug kompakt visning`,parents_one:`Overordnet blok`,parents_other:`Overordnede blokke`,entities_one:`Blok som enhed`,entities_other:`Blokke som enhed`,"Uploaded at":`Uploadet kl.`,"{{count}} blocks are missing required data.other":`{{count}} blokke mangler pÃ¥krævede data.`,"{{count}} blocks are missing required data._one":`En blok mangler pÃ¥krævede data.`,"This block is missing some entities.":`Denne blok mangler nogle enheder.`,"BlockType.dividerBlock":`Separatorblok`,"Line style":`Linjestil`,Solid:`Solid`,Dashed:`Stiplet`,Dotted:`Prikket`,"Line color":`Linjefarve`,"Is required":`Er pÃ¥krævet`,"Icon file (SVG)":`Ikonfil (SVG)`,"BlockType.cardLayoutBlock":`Blok til kortlayout`,"BlockType.iconBlock":`Ikonblok`,"The file must be an SVG.":`Filen skal være en SVG.`,"Star rating (1-5)":`Stjernebedømmelse (1-5)`,"Rating scale (1-10)":`Vurderingsskala (1-10)`,Average:`Gennemsnit`,Sum:`Sum`,Median:`Median`,Count:`Antal`,Number:`Nummer`,"LinkBlockType.file":`Fil`,"When duplicating, you can either reuse the existing children (changes will affect all places where they are used) or create duplicates (changes will be independent). Please choose how to proceed.":`NÃ¥r du duplikerer, kan du enten genbruge de eksisterende underordnede elementer (ændringer vil pÃ¥virke alle steder, hvor de bruges) eller oprette duplikater (ændringer vil være uafhængige). Vælg, hvordan du vil fortsætte.`,"This block will be duplicated because you chose to duplicate at least one of its child elements.":`Denne blok vil blive duplikeret, fordi du har valgt at duplikere mindst et af dens underordnede elementer.`,"{{count}} Usages_other":`{{count}} Anvendelser`,"{{count}} Usages_one":`{{count}} Anvendelse`,Reuse:`Genbrug`,Duplicate:`Duplikat`,"Duplicate block":`Dupliker blok`,"The weighting of questions is applied to calculate the overall score.":`Vægtningen af spørgsmÃ¥l anvendes til at beregne den samlede score.`,"The weight field must be an integer between 0 and 100.":`Vægtfeltet skal være et heltal mellem 0 og 100.`,Weight:`Vægt`,"The export cannot be imported. The version of the export is not supported.":`Eksporten kan ikke importeres. Versionen af eksporten understøttes ikke.`,"Invalid value":`Ugyldig værdi`,"Next step":`Næste trin`,"At least one answer option has to be given.":`Der skal angives mindst én svarmulighed.`,"Question evaluation":`Question evaluation`,"Update feedback question":`Update feedback question`,"Create feedback question":`Create feedback question`,"No questions available.":`No questions available.`,"Discard language":`Discard language`,"Thank you for submitting feedback!":`Tak, fordi du sendte os din feedback!`,"Not available":`Ikke tilgængelig`,"Feedback is only available for users who are logged-in.":`Feedback er kun tilgængelig for brugere, der er logget ind.`,"BlockType.feedbackBlock":`Feedback`,"Your feedback has been submitted.":`Din feedback er blevet sendt.`,"Login background":`Login-baggrund`,"Login background was successfully saved.":`Login-baggrunden blev gemt.`,"Admin image":`Admin-billede`,"Frontend image":`Frontend-billede`,"Keep it short, usually 1-2 sentences. Donât overthink it.":`Hold det kort, normalt 1-2 sætninger. Lad være med at tænke for meget over det.`,"Consider key elements of why you chose this image, instead of describing every little detail.":`Overvej de vigtigste elementer i, hvorfor du valgte dette billede, i stedet for at beskrive hver eneste lille detalje.`,"No need to say âimage ofâ or âpicture ofâ â the screen reader recognizes this itself.":`Det er ikke nødvendigt at sige "billede af" eller "billede af" - det genkender skærmlæseren selv.`,"But, do say if itâs a logo, illustration, painting, or cartoon.":`Me
4020n sig gerne, om det er et logo, en illustration, et maleri eller en tegneserie.`,"Donât duplicate text thatâs adjacent in the document or website.":`Lad være med at kopiere tekst, der stÃ¥r ved siden af i dokumentet eller pÃ¥ websitet.`,"End the ALT text sentence with a period â this makes it sound more natural for reading programs.":`Afslut ALT-tekstsætningen med et punktum - det fÃ¥r det til at lyde mere naturligt for læseprogrammer.`,"A descriptive ALT text makes your content more inclusive and visible.":`En beskrivende ALT-tekst gør dit indhold mere inkluderende og synligt.`,"Alternative Text (ALT Text)":`Alternativ tekst (ALT-tekst)`,"Please wait for the upload to finish.":`Vent venligst pÃ¥, at uploaden er færdig.`,"{{count}} Stars_other":`{{count}} Stjerner`,"{{count}} Stars_one":`{{count}} Stjerne`,"{{amount}} out of {{total}}":`{{amount}} ud af {{total}}`,"Average rating":`Gennemsnitlig bedømmelse`,"Choose a question":`Vælg et spørgsmÃ¥l`,"Feedback has been reset.":`Feedback er blevet nulstillet.`,"Number of participants":`Antal deltagere`,"Reset feedback":`Nulstil feedback`,"Are you sure you want to reset this feedback?":`Er du sikker pÃ¥, at du vil nulstille denne feedback?`,Question:`SpørgsmÃ¥l`,"This question has not been answered yet.":`Dette spørgsmÃ¥l er ikke blevet besvaret endnu.`,"Unknown answer option":`Ukendt svarmulighed`,"Number of questions":`Antal spørgsmÃ¥l`,"Feedback question was deleted.":`Feedback-spørgsmÃ¥let blev slettet.`,"Feedback question was saved.":`Feedback-spørgsmÃ¥let blev gemt.`,"Free text":`Fri tekst`,"Multiple choice":`Flere valgmuligheder`,"Single choice":`Et enkelt valg`,"Are you sure you want to delete this feedback question?":`Er du sikker pÃ¥, at du vil slette dette feedback-spørgsmÃ¥l?`,Questions:`SpørgsmÃ¥l`,"Add answer option":`Tilføj svarmulighed`,"Delete answer option":`Slet svarmulighed`,"Answer options":`Svarmuligheder`,"Feedback question":`SpørgsmÃ¥l om feedback`,"Successfully sorted.":`Sorteret med succes.`,"Are you sure you want to delete this feedback?":`Er du sikker pÃ¥, at du vil slette denne feedback?`,"No feedback available.":`Der er ingen feedback tilgængelig.`,"Feedback was created.":`Feedback er oprettet.`,"Feedback was updated.":`Feedback er opdateret.`,"Feedback was deleted.":`Feedback er slettet.`,"Delete feedback":`Slet feedback`,"Edit feedback":`Rediger feedback`,"Add feedback":`Tilføj feedback`,Feedback:`Feedback`,"This role is the default, do you want to delete it anyway?":`Denne rolle er standard. Vil du alligevel slette den?`,"Button color":`Knapfarve`,"The picture carousel automatically switches to the next picture after a certain time.":`Billedkarrusellen skifter automatisk til næste billede efter et stykke tid.`,"When the last image is reached, the image carousel automatically jumps back to the first image.":`NÃ¥r det sidste billede er nÃ¥et, springer billedkarrusellen automatisk tilbage til det første billede.`,"Activate navigation points":`Aktivér navigationspunkter`,"Small dots below the image carousel show the number of images and allow you to jump directly to a specific image.":`SmÃ¥ prikker under billedkarrusellen viser antallet af billeder og giver mulighed for at springe direkte til et bestemt billede.`,"Selected images":`Valgte billeder`,"blockSubmitButton.save":`Gem`,"When enabled, the tabs are left-aligned and horizontally scrollable if there is not enough space. When disabled, they are evenly distributed across the entire width.":`NÃ¥r aktiveret, er fanerne venstrejusterede og vandret rullelige, hvis der ikke er nok plads. NÃ¥r deaktiveret, fordeles de jævnt over hele bredden.`,"The file type is not supported.":`Filtypen understøttes ikke.`,"Export settings saved successfully.":`Eksportindstillinger gemt med succes.`,"Export settings":`Eksportindstillinger`,"Date format":`Datoformat`,"Year-Month-Day":`Ã
r-MÃ¥ned-Dag`,"Day.Month.Year":`Dag.MÃ¥ned.Ã
r`,"Month/Day/Year":`MÃ¥ned/Dag/Ã
r`,"Iso-8601 format with timezone":`Iso-8601 format med tidszone`,"Year-Month-Day, 24 hour UTC time format":`Ã
r-MÃ¥ned-Dag, 24 timers UTC-tidsformat`,"Day.Month.Year, 24 hour time format":`Dag.MÃ¥ned.Ã
r, 24 timers tidsformat`,"Month/Day/Year, 12 hour time format":`MÃ¥ned/Dag/Ã
r, 12 timers tidsformat`,"24 hour time format":`24 timers tidsformat`,"12 hour time format":`12 timers tidsformat`,"Time format":`Tidsformat`,"Unknown format":`Ukendt format`,Usages:`Anvendelser`,"This block is being used {{amount}} times. Click <OpenDrawerButton>here</OpenDrawerButton> to see the usages.":`Denne blok bruges {{amount}} gange. Klik <OpenDrawerButton>her</OpenDrawerButton> for at se anvendelser.`,"The error happened on:":`Fejlen opstod den:`,"Is scrollable":`Kan rulles`,PAGE:`Side`,CATEGORY:`Kategori`,EXTERNAL_NEW_TAB:`Ekstern (ny fane)`,EXTERNAL:`Ekstern`,INTERNAL:`Intern`,"Invalid URL format: The URL must start with https://.":`Invalid URL format: The URL must start with https://.`,"The footer links are sorted.":`The footer links are sorted.`,"Create footer link":`Create footer link`,"Mute audio":`Slå lyd fra`,"Play in loop":`Afspil i loop`,"Show controls":`Vis kontrolknapper`,Autoplay:`Automatisk afspilning`,"BlockType.videoBlock":`Video`,"BlockType.imageGalleryBlock":`Billedgalleri`,"No images selected.":`Ingen billeder valgt.`,"Show shadow":`Vis skygge`,"Show bottom border":`Vis bundgrænse`,"Bottom border color":`Farve på bundgrænse`,"Color schema":`Farveskema`,"Show title":`Vis titel`,Date:`Dato`,"Show seconds":`Vis sekunder`,"Title position":`Titlens position`,Above:`Over`,Below:`Under`,"Vertical alignment":`Lodret justering`,"CountdownBlock.Start":`Start`,"CountdownBlock.Center"
4020:`Center`,"CountdownBlock.End":`Slut`,"Text color":`Tekstfarve`,"Background gradient":`Baggrundsgradient`,"Gradient start color":`Gradientens startfarve`,"Gradient end color":`Gradient slutfarve`,Center:`Center`,"Text alignment":`Justering af tekst`,"Enable arrow navigation":`Aktiver pilnavigation`,"Display image progress with dots":`Vis billedfremskridt med prikker`,"The display duration must be greater than zero.":`Visningens varighed skal være større end nul.`,"Enable autoplay":`Aktiver automatisk afspilning`,"Display duration of image in seconds":`Vis varighed af billedet i sekunder`,"Loop animation":`Gentag animation`,"BlockType.imageCarouselBlock":`Billedkaruselblok`,Drag:`Træk`,"Will be visible on marker click.":`Vil være synlig ved klik pÃ¥ markøren.`,small:`lille`,medium:`mellemstor`,large:`stor`,"Add {{ blockName }}":`Tilføj {{ blockName }}`,Latitude:`Breddegrad`,Longitude:`Længdegrad`,"BlockType.mapsBlock":`Maps block`,"BlockType.mapMarkerBlock":`Kortmarkør block`,"To add or remove map markers use the preview for this maps block.":`Brug forhÃ¥ndsvisningen for denne kortblok til at tilføje eller fjerne kortmarkører.`,"BlockType.tabBlock":`Tabulatorblok`,"BlockType.tabContainerBlock":`Tab Container-blok`,"The total of all column widths must be smaller than 100%":`Summen af alle kolonnebredder skal være mindre end 100%.`,"Add {{breakpoint}}":`Tilføj {{breakpoint}}`,"Amount of columns":`Antal kolonner`,"Advanced layout":`Avanceret layout`,"{{number}}. column width (in %)":`{{number}}. Spaltebredde (i %)`,"Reverse block order":`Omvendt blokrækkefølge`,Preview:`ForhÃ¥ndsvisning`,"BlockType.gridLayoutColumnBlock":`Grid-kolonneblok`,"Default Collapsed":`Som standard skjult`,"The title is displayed in the browser tab.":`Titlen vises i browserens fane.`,"The label is displayed in the browser tab.":`Etiketten vises i browserens fane.`,"Fit to page width":`Tilpas til sidens bredde`,"Delete {{modelName}}":`Slet {{modelName}}`,"The deletion is being prevented by the following connections:_one":`Sletningen forhindres af følgende forbindelse:`,"The deletion is being prevented by the following connections:_other":`Sletningen forhindres af følgende forbindelser:`,"With the deletion the following connections will be removed:_one":`Med sletningen vil følgende forbindelse blive fjernet:`,"With the deletion the following connections will be removed:_other":`Med sletningen vil følgende forbindelser blive fjernet:`,"The page you are looking for doesn't exist.":`Den side, du leder efter, findes ikke.`,"You may have mistyped the address or the page was moved.":`Du har mÃ¥ske skrevet forkert adresse, eller siden er blevet flyttet.`,"Invalid code":`Ugyldig kode`,Code:`Kode`,Next:`næste`,"sign in":`Log ind`,"Enter password":`Indtast adgangskode`,"Sign in":`Log ind`,Verify:`Bekræft`,minutes:`Minutter`,seconds:`Sekunder`,"The code is valid for {{timeout}} {{unit}}.":`Koden er gyldig i {{timeout}} {{unit}}.`,"Your account is blocked":`Din konto er blokeret`,"Email send":`Send en e-mail`,"An email with a new code has been send.":`En e-mail med en ny kode er blevet sendt.`,"Resend email":`Send e-mail igen`,"Please enter the 6-digit security code you received by {{method}}.":`Indtast venligst den 6-cifrede sikkerhedskode, du har modtaget via {{method}}.`,"twoFactorAuthMethod.EMAIL":`E-mail`,"Max. {{size}} MB file size":`Max. {{size}} MB filstørrelse`,"Session was successfully revoked.":`Sessionen blev tilbagekaldt med succes.`,"No authenticated sessions available.":`Ingen godkendte sessioner tilgængelige.`,"It can take up to 60 minutes before the session will be logged out.":`Det kan tage op til 60 minutter, før sessionen bliver logget ud.`,"Are you sure you want to revoke this session?":`Er du sikker pÃ¥, at du vil tilbagekalde denne session?`,"Revoke session":`Tilbagekald session`,Revoke:`Tilbagekald`,"Device identifier":`Device identifier`,"Authenticated sessions":`Godkendte sessioner`,"Your message has been successfully received.":`Din besked er blevet modtaget.`,Send:`Send`,Message:`Besked`,Subject:`Emne`,Support:`Kundeservice`,"Contact our support":`Kontakt vores support`,"Open guide":`Ã
bn guide`,"Open help":`Ã
bn hjælp`,"Unknown server error":`Ukendt serverfejl`,"Too many login attempts. Try again in {{timeout}} minutes.":`For mange login-forsøg. Prøv igen om {{timeout}} minutter.`,"Yesterday, at {{time}}":`I går, kl {{time}}`,"Company name":`Firmanavn`,"Contact phone number":`Kontaktens telefonnummer`,"Read only":`Kun læsning`,Links:`Links`,"Footer link was deleted.":`Link til sidefod blev slettet.`,"Footer link was saved.":`Footer-link blev gemt.`,"Are you sure you want to delete this footer link?":`Er du sikker på, at du vil slette dette footer-link?`,"Footer link":`Sidefodslink`,"Footer links":`Links til sidefod`,"No footer links available.":`Ingen sidefodslinks tilgængelige.`,"Delete footer link":`Slet link til sidefod`,"Edit footer link":`Rediger link til sidefod`,"Add footer link":`Tilføj sidefodslink`,"Is external":`Er ekstern`,"Required field":`Påkrævet felt`,Footer:`Sidefod`,"Footer successfully updated":`Sidefod opdateret med succes`,"Footer details":`Detaljer om sidefod`,"Contact email":`Kontakt e-mail`,"Contact name":`Kontaktens navn`,Id:`Id`,"No users available":`Ingen brugere tilgængelige`,"Body fonts":`Body skrifttyper`,"Headline font":`Skrifttype til overskrifter`,Favicons:`Favicons`,"Use for all icons":`Bruges til alle ikoner`,"You've reached the highest possible value.":`Du har nået den højest mulige værdi.`,"Invalid input":`Ugyldigt input`,"The value must not be negative.":`Værdien må ikke være negativ.`,Size:`Størrelse`,Source:`Kilde`,Subheadline:`Underoverskrift`,Description:`Beskrivelse`,"Link Type":`Link Type`,"Attach block":`Fastgør blok`,"
4020Existing Blocks":`Eksisterende blokke`,"Select existing blocks":`Vælg eksisterende blokke`,"New Block":`Ny blok`,Blocks:`Klodser`,"VisualGroup.content":`Indhold`,"VisualGroup.layout":`Layout`,"BlockType.imageBlock":`Billedblok`,"BlockType.headlineBlock":`Blok til overskrifter`,"BlockType.slateBlock":`Tekstblok`,"BlockType.layoutRowBlock":`Rækkeblok`,"BlockType.iframeBlock":`iFrame-blok`,"BlockType.countdownBlock":`Nedtællingsblok`,"BlockType.cardBlock":`Kortblok`,"BlockType.pageBlock":`Sideblok`,"BlockType.sectionBlock":`Sektionsblok`,"BlockType.linkBlock":`Link blok`,"BlockType.linkContainerBlock":`Link Container-blok`,"BlockType.keyVisualBlock":`Vigtig visuel blok`,"BlockType.layoutBackgroundImageBlock":`Layoutblok til baggrundsbillede`,"BlockType.accordionBlock":`Akkordeonblok`,"LinkBlockType.page":`Sideblok`,"LinkBlockType.drawer":`Skuffe`,"LinkBlockType.internal":`Internt link`,"LinkBlockType.external":`Eksternt link`,"No Blocks have been added.":`Der er ikke tilføjet nogen blokke.`,"Are you sure you want to delete this Block?":`Er du sikker på, at du vil slette denne blok?`,"Are you sure you want to remove this Block?":`Er du sikker på, at du vil fjerne denne blok?`,"Block type":`Blok type`,Block:`Blok`,Button:`Knap`,Text:`Tekst`,Label:`Etiket`,"Inherit Padding":`Arv polstring`,Countdown:`Nedtælling`,Title:`Titel`,Internal:`Intern`,External:`Ekstern`,Drawer:`Skuffe`,"Enable Slug":`Aktivér slug`,Refresh:`Opfrisk`,"Choose Block":`Vælg blok`,"No blocks available":`Ingen blokke til rådighed`,ContentBlock:`ContentBlock`,"ContentBlock was saved.":`ContentBlock blev gemt.`,"{{direction}} has to be between 0 and 50":`{{retning}} skal være mellem 0 og 50`,Top:`Top`,Left:`Venstre`,Right:`Højre`,Bottom:`Bund`,Gap:`Hul`,Padding:`Polstring`,"Background type":`Baggrundstype`,"Background color":`Baggrundsfarve`,"Import successfully started.":`Importen er startet med succes.`,Transparent:`Gennemsigtig`,Background:`Baggrund`,Content:`Indhold`,Custom:`Brugerdefineret`,"Add translation for this language":`Tilføj oversættelse til dette sprog`,Pages:`Sider`,"No block available.":`Ingen blok tilgængelig.`,"Delete block":`Slet blok`,"Preview block":`Forhåndsvisning af blok`,"Add block":`Tilføj blok`,"Edit block":`Rediger blok`,"Export block":`Blok til eksport`,"Import blocks":`Import af blokke`,"Create page":`Opret side`,"Blocks Import":`Import af blokke`,"The slug may only contain a-z, 0-9 and separating dashes.":`Sluggen må kun indeholde a-z, 0-9 og adskillende bindestreger.`,"visualGroup.layout":`Layout`,"visualGroup.content":`Indhold`,Mobile:`Mobil`,Tablet:`Tablet`,Desktop:`Skrivebord`,"Large Desktop":`Stort skrivebord`,Slug:`Snegl`,Columns:`Søjler`,Headline:`Overskrift`,Remove:`Fjern`,"No users attached":`Ingen brugere tilknyttet`,"Are you sure you want to remove this user from the role?":`Er du sikker på, at du vil fjerne denne bruger fra rollen?`,"Remove user":`Fjern bruger`,"User was successfully removed from the role."
4020:`Brugeren blev fjernet fra rollen.`,"Role user":`Rolle bruger`,"Attach users":`Vedhæft brugere`,"Successfully attached to the role":`Succesfuldt knyttet til rollen`,View:`Se`,Create:`Opret`,"Show local time":`Vis lokal tid`,"Date time ({{timeZone}})":`Dato tid ({{timeZone}})`,"Add date time":`Tilføj dato tid`,"Date time format":`Dato og tidsformat`,Timezone:`Tidszone`,Details:`Detaljer`,"Create role":`Opret rolle`,Alerts:`Advarsler`,"Prevent line breaks":`Forebyg linjeskift`,"Close accordion":`Luk harmonikaen`,"Open accordion":`Ã
ben harmonika`,"This addon is not enabled.":`Denne tilføjelse er ikke aktiveret.`,"Please speak to your project manager.":`Tal med din projektleder.`,"Please activate addon":`Aktivér venligst addon`,'Hello Team DGS, I would like to activate the addon "{{addonName}}" in {{url}}. Please send me also an additional offer for this.':`Hej Team DGS, jeg vil gerne aktivere addon'en "{{addonName}}" i {{url}}. Send mig venligst også et ekstra tilbud på dette.`,"Contact us":`Kontakt os`,"All aspect ratios":`Alle billedformater`,"Aspect ratio":`Billedformat`,"Unknown aspect ratio":`Ukendt størrelsesforhold`,Error:`Fejl`,"An error has occurred.":`Der er opstået en fejl.`,"Request too large":`Anmodning for stor`,"Login with":`Log ind med`,Profile:`Profil`,"Profile was saved.":`Profilen blev gemt.`,"Field is required":`Feltet er påkrævet`,"Upload avatar":`Upload avatar`,"First name":`Fornavn`,"Last name":`Efternavn`,Position:`Position`,Company:`Virksomhed`,"Change password":`Skift adgangskode`,Save:`Gem`,"My profile":`Min profil`,Clear:`Klar`,"Discard changes":`Kassér ændringer`,"Stay on page":`Bliv på siden`,"You have not saved your changes. Do you really want to discard them?":`Du har ikke gemt dine ændringer. Vil du virkelig kassere dem?`,"Font name":`Navn på skrifttype`,"Choose file":`Vælg fil`,Regular:`Almindelig`,Bold:`Fed`,Italic:`Kursiv`,"Bold italic":`Fed kursiv`,Colors:`Farver`,"Color assistant":`Farveassistent`,"If you apply changes your custom changes to colors will be lost.":`Hvis du anvender ændringer, vil dine brugerdefinerede ændringer af farver gå tabt.`,Primary:`Primær`,Secondary:`Sekundær`,Apply:`Anvend`,"Brand settings":`Mærkeindstillinger`,"Brand settings saved successfully.":`Brandindstillingerne er gemt.`,"This feature is only available if the frontend uses the DGS theme.":`Denne funktion er kun tilgængelig, hvis frontenden bruger DGS-temaet.`,"Edit settings":`Rediger indstillinger`,Name:`Navn`,Logo:`Logo`,Favicon:`Favicon`,Submit:`Indsend`,"Previous month":`Forrige måned`,Today:`I dag`,"Next month":`Næste måned`,"The password needs to be at least 12 characters long.":`Adgangskoden skal være mindst 12 tegn lang.`,"Passwords do not match":`Adgangskoder stemmer ikke overens`,"Password was successfully changed.":`Adgangskoden blev ændret med succes.`,Password:`Adgangskode`,"Old password":`Gammel adgangskode`,"New password":`Ny adgangskode`,"Repeat password":`Gentag adgangskode`,"Select a color":`Vælg en farve`,"Confirm image selection":`Bekræft valg af billede`,Back:`Tilbage`,Confirm:`Bekræft`,"More options":`Flere muligheder`,Days:`Dage`,Hours:`Timer`,Min:`Min`,Sec:`Sek`,Add:`Tilføj`,"Open column filter":`Filter med åben søjle`,"Column filters":`Søjlefiltre`,Reset:`Nulstil`,"Delete column filter":`Slet kolonnefilter`,Operator:`Operatør`,"New column filter":`Nyt kolonnefilter`,"Choose column":`Vælg kolonne`,"Add column filter":`Tilføj kolonnefilter`,"Enable bulk edit":`Aktiver masseredigering`,"Deselect all":`Fravælg alle`,"Select all":`Vælg alle`,"item(s) selected":`valgte vare(r)`,"Disable bulk edit":`Deaktiver masseredigering`,"Select current page":`Vælg den aktuelle side`,Search:`Søgning`,"Click for more information":`Klik for mere information`,"Search columns:":`Gennemsøgte kolonner:`,sort:`sortering`,"Previous interval":`Tidligere interval`,"Next interval":`Næste interval`,"Previous day":`Forrige dag`,"Next day":`Næste dag`,Delete:`Slet`,"Close drawer":`Luk skuffen`,Status:`Status`,"Created at":`Oprettet på`,Available:`Tilgængelig`,"In progress":`I gang`,Failed:`Mislykket`,"Deleted by deletion request":`Slettet ved anmodning om sletning`,"No exports.":`Ingen eksport.`,Exports:`Eksport`,Export:`Eksport`,Download:`Download`,"Export was deleted.":`Eksporten blev slettet.`,Close:`Luk`,"Are you sure you want to delete this export?":`Er du sikker på, at du vil slette denne eksport?`,File:`Fil`,Public:`Offentlig`,Path:`Sti`,Files:`Filer`,"No files available":`Ingen filer tilgængelige`,"Are you sure you want to delete this file?":`Er du sikker på, at du vil slette denne fil?`,"Headline font name":`Navn på overskriftsskrifttype`,"Format headline":`Format overskrift`,"Add hy
4020perlink":`Tilføj hyperlink`,Url:`Url`,"New tab":`Ny fane`,"Add link":`Tilføj link`,"There are validation errors in other languages of this form.":`Der er valideringsfejl pÃ¥ andre sprog i denne formular.`,"Validation errors":`Valideringsfejl`,"Select option":`Vælg indstilling`,"Are you sure you want to delete this image?":`Er du sikker pÃ¥, at du vil slette dette billede?`,Images:`Billeder`,"Image was deleted.":`Billedet blev slettet.`,Image:`Billede`,"Select an image":`Vælg et billede`,"Choose image...":`Vælg billede...`,"Remove image":`Fjern billede`,"Image upload":`Upload af billeder`,Upload:`Upload`,"Choose image":`Vælg billede`,"Delete image":`Slet billede`,"Wrong aspect ratio":`Forkert størrelsesforhold`,"An export is created, please wait":`En eksport er oprettet, vent venligst`,"Upload was successful.":`Upload var vellykket.`,Import:`Import`,Open:`Ã
ben`,"Invalid email address":`Ugyldig e-mailadresse`,Welcome:`Velkommen til`,Email:`E-mail`,"Log in":`Log ind`,Register:`Tilmeld dig`,Type:`Type`,"Select...":`Vælg...`,Menu:`Menu`,"Create menu item":`Opret menupunkt`,"The menu was successfully sorted.":`Menuen blev sorteret med succes.`,Edit:`Rediger`,"Edit menu item":`Rediger menupunkt`,"Delete menu item":`Slet menupunkt`,"Are you sure you want to delete this menu item?":`Er du sikker pÃ¥, at du vil slette dette menupunkt?`,"Close navigation sidebar":`Luk navigationssidepanelet`,"Open navigation sidebar":`Ã
bn navigationssidepanelet`,Logout:`Log ud`,"Not authorized":`Ikke autoriseret`,"Either your account is not connected to this application or you are not authorized to access this feature.":`Enten er din konto ikke forbundet med denne applikation, eller ogsÃ¥ er du ikke autoriseret til at fÃ¥ adgang til denne funktion.`,"Move before":`Flyt dig før`,"Move after":`Flyt efter`,Cancel:`Annuller`,Cut:`Klip`,of:`af`,"Previous page":`Forrige side`,"Next page":`Næste side`,"Forgot your password?":`Har du glemt din adgangskode?`,"Password reset":`Nulstilling af adgangskode`,"The link has already been used or has expired.":`Linket er allerede blevet brugt eller er udløbet.`,Login:`Login`,"Request new link":`Anmod om nyt link`,"Crop new image":`Beskær nyt billede`,"You should receive an email with instructions to reset your password shortly.":`Du bør snart modtage en e-mail med instruktioner til at nulstille din adgangskode.`,"Back to login":`Tilbage til login`,"Set your password":`Indstil din adgangskode`,"Your new password needs to be at least 12 characters long.":`Din nye adgangskode skal være mindst 12 tegn lang.`,"Confirm new password":`Bekræft ny adgangskode`,"Set password":`Indstil adgangskode`,"At least one permission is required":`Der kræves mindst én tilladelse`,"No permissions available.":`Ingen tilladelser tilgængelige.`,Permission:`Tilladelse`,Role:`Rolle`,"Role was successfully created.":`Rollen blev oprettet med succes.`,"Role was successfully updated.":`Rollen blev opdateret med succes.`,"Role was successfully deleted.":`Rollen blev slettet med succes.`,"Edit role":`Rediger rolle`,"Delete role":`Slet rolle`,"Are you sure you want to delete this role?":`Er du sikker pÃ¥, at du vil slette denne rolle?`,"Create tag":`Opret tag`,"Edit tag":`Rediger tag`,Roles:`Roller`,"No roles available":`Ingen ledige roller`,"Rows per page":`Rækker pr. side`,"No options available":`Ingen valgmuligheder tilgængelige`,"Create {{option}}":`Opret {{option}}`,"Add shortcut":`Tilføj genvej`,"This feature is an addon.":`Denne funktion er en tilføjelse.`,"Open menu":`Ã
bn menu`,"Close menu":`Luk menu`,"System messages":`Systemmeddelelser`,Color:`Farve`,"Apply color":`PÃ¥før farve`,"Time controlled content visibility":`Tidsstyret synlighed af indhold`,"Preview type":`ForhÃ¥ndsvisningstype`,Underline:`Understregning`,Subscript:`Underskrift`,Superscript:`Overskrift`,"Align left":`Juster til venstre`,"Align center":`Juster midten`,"Align right":`Juster til højre`,"Numbered list":`Nummereret liste`,"Bulleted list":`Punktopstillet liste`,"Save file":`Gem fil`,"File was deleted.":`Filen blev slettet.`,"Delete file":`Slet fil`,"Could not delete file.":`Kunne ikke slette fil.`,"Invalid date":`Ugyldig dato`,"Your selection is under {{pixel}}px wide and may not display optimally. Please select a larger area if possible.":`Dit valg er under {{pixel}}px bredt og vises muligvis ikke optimalt. Vælg venligst et større omrÃ¥de, hvis det er muligt.`,"The selected image is under {{pixel}}px wide and may not display optimally. Please use a larger image if possible.":`Det valgte billede er under {{pixel}}px bredt og vises muligvis ikke optimalt. Brug venligst et større billede, hvis det er muligt.`,Users:`Brugere`,User:`Bruger`,"File upload":`Upload af filer`,"File was uploaded.":`Filen blev uploadet.`,"Uploaded {{uploaded}} of {{total}}":`Uploadet {{uploaded}} af {{total}}`,"New version available":`Ny version tilgængelig`,"The page must be reloaded to use the latest version and avoid possible errors.":`Siden skal genindlæses for at bruge den nyeste version og undgÃ¥ mulige fejl.`,"Reload now":`Genindlæs nu`,"Version {{version}}":`Version {{version}}`,"Copy to clipboard":`Kopier til udklipsholder`,"Copied to clipboard":`Kopieret til udklipsholder`},aKe={"Only logged-in users can access this file.":`Nur angemeldete Benutzer können auf diese Datei zugreifen.`,"Anyone with the link can access this file.":`Jeder mit dem Link kann auf diese Datei zugreifen.`,"Access permission":`Zugriffsberechtigung`,"Use compact display":`Kompakte Anzeige verwenden`,parents_one:`Ãbergeordneter Block`,parents_other:`Ãbergeordnete Blöcke`,entities_one:`Block als Entität`,entities_other:`Blöcke als Entitäten`,"Uploaded at":`Hochgeladen am`,"{{count}} blocks are missing required data.other":`{{count}} Blöcken fehlen erforderliche Daten.`,"{{count}} blocks are missing required data._one":`Einem Block fehlen erforderliche Daten.`,"This block is missing some entities.":`In diesem Block fehlen Entitäten.`,"BlockType.dividerBlock":`Trennlinie Block`,"Line style":`Linienstil`,Solid:`Durchgehend`,Dashed:`Gestrichelt`,Dotted:`Gepunktet`,"Line color":`Linienfarbe`,"Is required":`Ist erforderlich`,"Icon file (SVG)":`Icon-Datei (SVG)`,"BlockType.cardLayoutBlock":`Karten Layout-Block`,"BlockType.iconBlock":`Icon-Block`,"The file must be an SVG.":`Die Datei muss eine SVG-Datei sein.`,"Star rating (1-5)":`Ster
4020nebewertung (1-5)`,"Rating scale (1-10)":`Bewertungsskala (1-10)`,Average:`Durchschnitt`,Sum:`Summe`,Median:`Median`,Count:`Anzahl`,Number:`Zahl`,"The weighting of questions is applied to calculate the overall score.":`Die Gewichtung der Fragen wird für die Berechnung des Gesamtscores angewendet.`,"The weight field must be an integer between 0 and 100.":`Das Gewichtungsfeld muss eine ganze Zahl zwischen 0 und 100 sein.`,Weight:`Gewichtung`,"LinkBlockType.file":`Datei`,"When duplicating, you can either reuse the existing children (changes will affect all places where they are used) or create duplicates (changes will be independent). Please choose how to proceed.":`Beim Duplizieren kannst Du entweder die vorhandenen Elemente wiederverwenden (Ãnderungen wirken sich auf alle Stellen aus, an denen sie verwendet werden) oder Duplikate erstellen (Ãnderungen sind unabhängig). Bitte wähle aus, wie Du fortfahren möchtest.`,"This block will be duplicated because you chose to duplicate at least one of its child elements.":`Dieser Block wird dupliziert, da mindestens eines seiner untergeordneten Elemente dupliziert werden soll.`,"{{count}} Usages_other":`{{count}} Verwendungen`,"{{count}} Usages_one":`{{count}} Verwendung`,Reuse:`Wiederverwenden`,Duplicate:`Duplizieren`,"Duplicate block":`Block duplizieren`,"The export cannot be imported. The version of the export is not supported.":`Der Export kann nicht importiert werden. Die Version des Exports wird nicht unterstützt.`,"Invalid value":`Ungültiger Wert`,"Next step":`Nächster Schritt`,"At least one answer option has to be given.":`Mindestens eine Antwortmöglichkeit muss angegeben werden.`,"Question evaluation":`Fragen Auswertung`,"Update feedback question":`Frage bearbeiten`,"Create feedback question":`Frage erstellen`,"No questions available.":`Keine Fragen verfügbar.`,"Discard language":`Sprache verwerfen`,"Thank you for submitting feedback!":`Vielen Dank für Ihr Feedback!`,"Not available":`Nicht verfügbar`,"Feedback is only available for users who are logged-in.":`Feedback ist nur für angemeldete Benutzer verfügbar.`,"BlockType.feedbackBlock":`Feedback`,"Your feedback has been submitted.":`Dein Feedback wurde übermittelt.`,"Login background":`Login Hintergrund`,"Login background was successfully saved.":`Login Hintergrund wurde erfolgreich gespeichert.`,"Admin image":`Admin Bild`,"Frontend image":`Frontend Bild`,"Keep it short, usually 1-2 sentences. Donât overthink it.":`Halte dich kurz â meist reichen 1â2 Sätze. Weniger ist oft mehr.`,"Consider key elements of why you chose this image, instead of describing every little detail.":`Beschreibe, was an dem Bild wirklich wichtig ist â warum hast du es ausgewählt?`,"No need to say âimage ofâ or âpicture ofâ â the screen reader recognizes this itself.":`Du musst nicht âBild vonâ oder âFoto vonâ schreiben â das erkennt der Screenreader selbst.`,"But, do say if itâs a logo, illustration, painting, or cartoon.":`Gib aber an, wenn es sich z.B. um ein Logo, eine Illustration, ein Gemälde oder eine Karikatur handelt.`,"Donât duplicate text thatâs adjacent in the document or website.":`Vermeide Wiederholungen von Text, der ohnehin schon auf der Seite steht.`,"End the ALT text sentence with a period â this makes it sound more natural for reading programs.":`SchlieÃe deinen ALT-Text mit einem Punkt ab â so klingt er für Vorleseprogramme natürlicher.`,"A descriptive ALT text makes your content more inclusive and visible.":`Ein beschreibender ALT-Text macht deine Inhalte inklusiver und sichtbarer.`,"Alternative Text (ALT Text)":`Alternativtext (ALT-Text)`,"Please wait for the upload to finish.":`Bitte warte, bis der Upload fert
4020ig ist`,"{{count}} Stars_other":`{{count}} Sterne`,"{{count}} Stars_one":`{{count}} Stern`,"{{amount}} out of {{total}}":`{{amount}} aus {{total}}`,"Average rating":`Durchschnittliche Bewertung`,"Choose a question":`Wählen Sie eine Frage`,"Feedback has been reset.":`Das Feedback wurde zurückgesetzt.`,"Number of participants":`Anzahl der Teilnehmer`,"Reset feedback":`Feedback zurücksetzen`,"Are you sure you want to reset this feedback?":`Sind Sie sicher, dass Sie diese Feedback zurücksetzen wollen?`,Question:`Frage`,"This question has not been answered yet.":`Diese Frage ist noch nicht beantwortet worden.`,"Unknown answer option":`Unbekannte Antwortmöglichkeit`,"Number of questions":`Anzahl der Fragen`,"Feedback question was deleted.":`Feedbackfrage wurde gelöscht.`,"Feedback question was saved.":`Feedbackfrage wurde gespeichert.`,"Free text":`Freitext`,"Multiple choice":`Mehrfachauswahl`,"Single choice":`Einzelauswahl`,"Are you sure you want to delete this feedback question?":`Sind Sie sicher, dass Sie diese Feedbackfrage löschen wollen?`,Questions:`Fragen`,"Add answer option":`Antwortoption hinzufügen`,"Delete answer option":`Antwortoption löschen`,"Answer options":`Antwortoptionen`,"Feedback question":`Feedbackfrage`,"Successfully sorted.":`Sortierung erfolgreich.`,"Are you sure you want to delete this feedback?":`Sind Sie sicher, dass Sie dieses Feedback löschen wollen?`,"No feedback available.":`Kein Feedback verfügbar.`,"Feedback was created.":`Feedback wurde erstellt.`,"Feedback was updated.":`Feedback wurde bearbeitet.`,"Feedback was deleted.":`Feedback wurde gelöscht.`,"Delete feedback":`Feedback löschen`,"Edit feedback":`Feedback bearbeiten`,"Add feedback":`Feedback hinzufügen`,Feedback:`Feedback`,"This role is the default, do you want to delete it anyway?":`Diese Rolle ist die Standardrolle. Möchten Sie sie trotzdem löschen?`,"Button color":`Buttonfarbe`,"The picture carousel automatically switches to the next picture after a certain time.":`Das Bildkarussell wechselt nach einer bestimmten Zeit automatisch zum nächsten Bild.`,"When the last image is reached, the image carousel automatically jumps back to the first image.":`Wenn das letzte Bild erreicht ist, springt das Karussell automatisch zurück zum ersten Bild.`,"Activate navigation points":`Navigationspunkte aktivieren`,"Small dots below the image carousel show the number of images and allow you to jump directly to a specific image.":`Kleine Punkte unter dem Bildkarussell zeigen die Anzahl der Bilder und ermöglichen das direkte Springen zu einem bestimmten Bild.`,"Selected images":`Ausgewählte Bilder`,"blockSubmitButton.save":`Speichern`,"When enabled, the tabs are left-aligned and horizontally scrollable if there is not enough space. When disabled, they are evenly distributed across the entire width.":`Wenn aktiviert, sind die Tabs linksbündig angeordnet und bei Platzmangel horizontal scrollbar. Wenn deaktiviert, verteilen sie sich gleichmäÃig über die gesamte Breite.`,"The file type is not supported.":`Der Dateityp wird nicht unterstützt.`,"Export settings saved successfully.":`Exporteinstellungen erfolgreich gespeichert.`,"Export settings":`Exporteinstellungen`,"Date format":`Datumsformat`,"Year-Month-Day":`Jahr-Monat-Tag`,"Day.Month.Year":`Tag.Monat.Jahr`,"Month/Day/Year":`Monat/Tag/Jahr`,"Iso-8601 format with timezone":`ISO-8601 Format mit Zeitzone`,"Year-Month-Day, 24 hour UTC time format":`Jahr-Monat-Tag, 24-Stunden UTC Uhrzeitformat`,"Day.Month.Year, 24 hour time format":`Tag.Monat.Jahr, 24-Stunden Uhrzeitformat`,"Month/Day/Year, 12 hour time format":`Monat/Tag/Jahr, 12-Stunden Uhrzeitformat`,"24 hour time format":`24-Stunden Uhrzeitformat`,"12 hour time format":`12-Stunden Uhrzeitformat`,"Time format":`Uhrzeitformat`,"Unknown format":`Unbekanntes Format`,Usages:`Verwendungen`,"This block is being used {{amount}} times. Click <OpenDrawerButton>here</OpenDrawerButton> to see the usages.":`Dieser Block wird {{amount}} mal verwendet. Klick <OpenDrawerButton>hier</OpenDrawerButton>, um die Verwendungen zu sehen.`,"The error happened on:":`Der Fehler passierte auf:`,"Is scrollable":`Ist scrollbar`,PAGE:`Seite`,CATEGORY:`Kategorie`,
4020EXTERNAL_NEW_TAB:`Extern (neuer Tab)`,EXTERNAL:`Extern`,INTERNAL:`Intern`,"Invalid URL format: The URL must start with https://.":`Ungültiges URL-Format: Die URL muss mit https:// beginnen.`,"The footer links are sorted.":`FuÃzeilenlinks wurden sortiert.`,"Create footer link":`FuÃzeilen-Link erstellen`,"Mute audio":`Audio stummschalten`,"Play in loop":`In Schleife abspielen`,"Show controls":`Steuerelemente anzeigen`,Autoplay:`Automatische Wiedergabe`,"BlockType.videoBlock":`Video`,"BlockType.imageGalleryBlock":`Bildergalerie`,"No images selected.":`Keine Bilder ausgewählt.`,"Show shadow":`Schatten anzeigen`,"Show bottom border":`Unteren Rand anzeigen`,"Bottom border color":`Farbe des unteren Randes`,"Color schema":`Farbschema`,"Show title":`Titel anzeigen`,Date:`Datum`,"Show seconds":`Sekunden anzeigen`,"Title position":`Position des Titels`,Above:`Oben`,Below:`Unten`,"Vertical alignment":`Vertikale Ausrichtung`,"CountdownBlock.Start":`Start`,"CountdownBlock.Center":`Mitte`,"CountdownBlock.End":`Ende`,"Text color":`Textfarbe`,"Background gradient":`Hintergrundverlauf`,"Gradient start color":`Verlauf Startfarbe`,"Gradient end color":`Verlauf Endfarbe`,Center:`Mitte`,"Text alignment":`Textausrichtung`,"Enable arrow navigation":`Navigation mit Pfeilen aktivieren`,"Display image progress with dots":`Bildfortschritt mit Punkten anzeigen`,"The display duration must be greater than zero.":`Die Anzeigedauer muss gröÃer als null sein.`,"Enable autoplay":`Autoplay aktivieren`,"Display duration of image in seconds":`Anzeigedauer des Bildes in Sekunden`,"Loop animation":`Animation wiederholen`,"BlockType.imageCarouselBlock":`Bildkarussell Block`,Drag:`Ziehen`,"Will be visible on marker click.":`Wird bei Klick auf den Punkt sichtbar.`,small:`klein`,medium:`mittel`,large:`groÃ`,"Add {{ blockName }}":`{{ blockName }} hinzufügen`,Latitude:`Breitengrad`,Longitude:`Längengrad`,"BlockType.mapsBlock":`Maps Block`,"BlockType.mapMarkerBlock":`Kartenpunkt Block`,"To add or remove map markers use the preview for this maps block.":`Kartenpunkte können auf der Vorschau angelegt werden.`,"BlockType.tabBlock":`Tab-Block`,"BlockType.tabContainerBlock":`Tab-Container Block`,"Add {{breakpoint}}":`{{breakpoint}} hinzufügen`,"The total of all column widths must be smaller than 100%":`Die Summe aller Spaltenbreiten muss kleiner als 100% sein.`,"Amount of columns":`Anzahl der Spalten`,"Advanced layout":`Erweitertes Layout`,"{{number}}. column width (in %)":`{{number}}. Spaltenbreite (in %)`,"Reverse block order":`Blockreihenfolge umkehren`,Preview:`Vorschau`,"BlockType.gridLayoutColumnBlock":`Grid-Spalten-Block`,"Default Collapsed":`StandardmäÃig eingeklappt`,"The title is displayed in the browser tab.":`Der Titel wird im Tab des Browsers angezeigt.`,"The label is displayed in the browser tab.":`Das Label wird im Tab des Browsers angezeigt.`,"Fit to page width":`An Seitenbreite anpassen`,"Delete {{modelName}}":`{{modelName}} löschen`,"The deletion is being prevented by the following connections:_one":`Das Löschen wird durch folgende Verbindung verhindert:`,"The deletion is being prevented by the following connections:_other":`Das Löschen wird durch folgende Verbindungen verhindert:`,"With the deletion the following connections will be removed:_one":`Mit dem Löschen wird folgende Verbindung entfernt:`,"With the deletion the following connections will be removed:_other":`Mit dem Löschen werden folgende Verbindungen entfernt:`,"The page you are looking for doesn't exist.":`Die von Ihnen gesuchte Seite existiert nicht.`,"You may have mistyped the address or the page was moved.":`Möglicherweise haben Sie die Adresse falsch eingegeben oder die Seite wurde verschoben.`,"Invalid code":`Ungültiger Code`,Code:`Code`,Next:`Weiter`,"sign in":`Anmelden`,"Enter password":`Passwort eingeben`,"Sign in":`Anmeldung`,Verify:`Verifizierung`,minutes:`Minuten`,seconds:`Sekunden`,"The code is valid for {{timeout}} {{unit}}.":`Der Code ist für {{timeout}} {{unit}} valide.`,"Your account is blocked":`Dieser Account ist blockiert`,"Email send":`E-Mail gesendet`,"An email with a new code has been send.":`Eine E-Mail mit einem neuen Code wurde gesendet.`,"Re
4020send email":`E-Mail erneut senden`,"Please enter the 6-digit security code you received by {{method}}.":`Bitte gib den 6-stelligen Sicherheitscode ein, den du per {{method}} erhalten hast.`,"twoFactorAuthMethod.EMAIL":`E-Mail`,"Max. {{size}} MB file size":`Max. {{size}} MB DateigröÃe`,"Session was successfully revoked.":`Die Sitzung wurde erfolgreich widerrufen.`,"No authenticated sessions available.":`Keine authentifizierten Sitzungen verfügbar.`,"It can take up to 60 minutes before the session will be logged out.":`Es kann bis zu 60 Minuten dauern, bis die Sitzung abgemeldet wird.`,"Are you sure you want to revoke this session?":`Sind Sie sicher, dass Sie diese Sitzung widerrufen wollen?`,"Revoke session":`Sitzung widerrufen`,Revoke:`Widerrufen`,"Device identifier":`Gerätekennung`,"Authenticated sessions":`Authentifizierte Sitzungen`,"Your message has been successfully received.":`Ihre Nachricht wurde erfolgreich empfangen`,Send:`Absenden`,Message:`Nachricht`,Subject:`Betreff`,Support:`Support`,"Contact our support":`Support kontaktieren`,"Open guide":`Guide öffnen`,"Open help":`Hilfe öffnen`,"Unknown server error":`Unbekannter Serverfehler`,"Too many login attempts. Try again in {{timeout}} minutes.":`Zu viele Login Versuche. Versuch es in {{timeout}} Minuten erneut.`,"Yesterday, at {{time}}":`Gestern, um {{time}}`,"Company name":`Firmenname`,"Contact phone number":`Kontakt Telefonnummer`,"Read only":`Nur lesbar`,Links:`Links`,"Footer link was deleted.":`FuÃzeilen-Link wurde gelöscht.`,"Footer link was saved.":`FuÃzeilen-Link wurde gespeichert.`,"Are you sure you want to delete this footer link?":`Sind Sie sicher, dass Sie diesen FuÃzeilen-Link löschen möchten?`,"Footer link":`FuÃzeilen-Link`,"Footer links":`FuÃzeilenlinks`,"No footer links available.":`Keine FuÃzeilenlinks verfügbar.`,"Delete footer link":`FuÃzeilen-Link löschen`,"Edit footer link":`FuÃzeilen-Link bearbeiten`,"Add footer link":`FuÃzeilen-Link hinzufügen`,"Is external":`Ist extern`,"Required field":`Erforderliches Feld`,Footer:`FuÃzeile`,"Footer successfully updated":`FuÃzeile erfolgreich aktualisiert`,"Footer details":`FuÃzeilendetails`,"Contact email":`Kontakt-E-Mail`,"Contact name":`Kontaktname`,Id:`Id`,"No users available":`Keine Benutzer verfügbar`,"Body fonts":`Body Schriftart`,"Headline font":`Ãberschrift Schriftart`,Favicons:`Favicons`,"Use for all icons":`Für alle Icons verwenden`,"You've reached the highest possible value.":`Sie haben den gröÃtmöglichen Wert erreicht.`,"Invalid input":`Ungültige Eingabe`,"The value must not be negative.":`Der Wert darf nicht negativ sein.`,Size:`GröÃe`,Source:`Quelle`,Subheadline:`Unterüberschrift`,Description:`Beschreibung`,"Link Type":`Link Typ`,"Attach block":`Block hinzufügen`,"Existing Blocks":`Bestehende Blöcke`,"Select existing blocks":`Bestehende Blöcke auswählen`,"New Block":`Neuer Block`,Blocks:`Blöcke`,"VisualGroup.content":`Inhalt`,"VisualGroup.layout":`Layout`,"BlockType.imageBlock":`Bild Block`,"BlockType.headlineBlock":`Ãberschrift Block`,"BlockType.slateBlock":`Text Block`,"BlockType.layoutRowBlock":`Zeilen Block`,"BlockType.iframeBlock":`iFrame Block`,"BlockType.countdownBlock":`Countdown Block`,"BlockType.cardBlock":`Karten Block`,"BlockType.pageBlock":`Seite Block`,"BlockType.sectionBlock":`Abschnitt Block`,"BlockType.linkBlock":`Link Block`,"BlockType.linkContainerBlock":`Link-Container Block`,"BlockType.keyVisualBlock":`Key Visual Block`,"BlockType.layoutBackgroundImageBlock":`Hintergrundbild Layout-Block`,"BlockType.accordionBlock":`Akkordeon Block`,"LinkBlockType.page":`Seite Block`,"LinkBlockType.drawer":`Drawer`,"LinkBlockType.internal":`Interner Link`,"LinkBlockType.external":`Externer Link`,"No Blocks have been added.":`Es wurden keine Blöcke hinzugefügt.`,"Are you sure you want to delete this Block?":`Sind Sie sicher, dass Sie diesen Block löschen wollen?`,"Are you sure you want to remove this Block?":`Sind Sie sicher, dass Sie diesen Block entfernen möchten?`,"Block type":`Blocktyp`,Block:`Block`,Button:`Button`,Text:`Text`,Label:`Label`,"Inherit Padding":`Abstand vererben`,Countdown:`Countdown`,Title:`Titel`,Internal:`Intern`,External:`Extern`,Drawer:`Drawer`,"Enable Slug":`Slug aktivieren`,Refresh:`Aktualisieren`,"Choose Block":`Block wählen`,"No blocks available":`Keine Blöcke verfügbar`,ContentBlock:`Content Block`,"ContentBlock
4020was saved.":`Content Block wurde gespeichert.`,"{{direction}} has to be between 0 and 50":`{{direction}} muss zwischen 0 und 50 liegen`,Top:`Oben`,Left:`Links`,Right:`Rechts`,Bottom:`Unten`,Gap:`Lücke`,Padding:`Abstand`,"Background type":`Hintergrundtyp`,"Background color":`Hintergrundfarbe`,"Import successfully started.":`Import erfolgreich gestartet.`,Transparent:`Transparent`,Background:`Hintergrund`,Content:`Inhalt`,Custom:`Benutzerdefiniert`,"Add translation for this language":`Ãbersetzung für diese Sprache hinzufügen`,Pages:`Seiten`,"No block available.":`Kein Block verfügbar.`,"Delete block":`Block löschen`,"Preview block":`Vorschau Block`,"Add block":`Block hinzufügen`,"Edit block":`Block bearbeiten`,"Export block":`Block exportieren`,"Import blocks":`Blöcke importieren`,"Create page":`Seite erstellen`,"Blocks Import":`Blöcke importieren`,"The slug may only contain a-z, 0-9 and separating dashes.":`Der Slug darf nur a-z, 0-9 und trennende Bindestriche enthalten.`,"visualGroup.layout":`Layout`,"visualGroup.content":`Inhalt`,Mobile:`Mobil`,Tablet:`Tablet`,Desktop:`Desktop`,"Large Desktop":`GroÃer Desktop`,Slug:`Slug`,Columns:`Spalten`,Headline:`Ãberschrift`,"Close accordion":`Akkordeon schlieÃen`,"Open accordion":`Akkordeon öffnen`,"This addon is not enabled.":`Dieses Addon ist nicht aktiviert.`,"Please speak to your project manager.":`Bitte sprechen Sie mit Ihrem Projektleiter.`,"Please activate addon":`Bitte aktivieren Sie das Addon`,'Hello Team DGS, I would like to activate the addon "{{addonName}}" in {{url}}. Please send me also an additional offer for this.':`Hallo Team DGS, ich möchte gerne das Addon {{addonName}} in {{url}} aktivieren. Bitte senden Sie mir hierzu auch ein zusätzliches Angebot zu.`,"Contact us":`Kontakt`,"All aspect ratios":`Alle Seitenverhältnisse`,"Aspect ratio":`Seitenverhältnis`,"Unknown aspect ratio":`Unbekanntes Seitenverhältnis`,Error:`Fehler`,"An error has occurred.":`Es ist ein Fehler aufgetreten.`,"Request too large":`Anfrage zu groÃ`,"Login with":`Anmeldung mit`,Profile:`Profil`,"Profile was saved.":`Das Profil wurde gespeichert.`,"Field is required":`Feld ist erforderlich`,"Upload avatar":`Avatar hochladen`,"First name":`Vorname`,"Last name":`Nachname`,Position:`Position`,Company:`Unternehmen`,"Change password":`Passwort ändern`,Save:`Speichern`,"My profile":`Mein Profil`,Clear:`Leeren`,"Discard changes":`Ãnderungen verwerfen`,"Stay on page":`Auf der Seite bleiben`,"You have not saved your changes. Do you really want to discard them?":`Sie haben Ihre Ãnderungen nicht gespeichert. Wollen Sie sie wirklich verwerfen?`,"Font name":`Schriftname`,"Choose file":`Datei auswählen`,Regular:`Standard`,Bold:`Fett`,Italic:`Kursiv`,"Bold italic":`Fett kursiv`,Colors:`Farben`,"Color assistant":`Farbassistent`,"If you apply changes your custom changes to colors will be lost.":`Wenn Sie Ãnderungen vornehmen, gehen Ihre benutzerdefinierten Ãnderungen an den Farben verloren.`,Primary:`Primär`,Secondary:`Sekundär`,Apply:`Anwenden`,"Brand settings":`Brand Einstellungen`,"Brand settings saved successfully.":`Brand Einstellungen erfolgreich gespeichert.`,"This feature is only available if the frontend uses the DGS theme.":`Diese Funktion ist nur verfügbar, wenn das Frontend das DGS-Design verwendet.`,"Edit settings":`Einstellungen bearbeiten`,Name:`Name`,Logo:`Logo`,Favicon:`Favicon`,Submit:`Absenden`,"Previous month":`Vorheriger Monat`,Today:`Heute`,"Next month":`Nächster Monat`,"The password needs to be at least 12 characters long.":`Das Passwort muss mindestens 12 Zeichen lang sein.`,"Passwords do not match":`Passwörter stimmen nicht überein`,"Password was successfully changed.":`Das Passwort wurde erfolgreich geändert.`,Password:`Passwort`,"Old password":`Altes Passwort`,"New password":`Neues Passwort`,"Repeat password":`Passwort wiederholen`,"Select a color":`Wählen Sie eine Farbe`,"Confirm image selection":`Bestätigen Sie die Bildauswahl`,Back:`Zurück`,Confirm:`Bestätigen`,"More options":`Mehr Optionen`,Days:`Tage`,Hours:`Stunden`,Min:`Min`,Sec:`Sek.`,"File upload":`Datei hochladen`,Add:`Hinzufügen`,"Open column filter":`Filter öffnen`,"Column filters":`Filter`,Reset:`Zurücksetzen`,"Delete column filter":`Filter löschen`,Operator:`Operator`,"New column filter":`Neuer Filter`,"Choose column":`Spalte wählen`,"Add column filter":`Filter hinzufügen`,"Enable bulk edit":`Massenbearbeitung aktivieren`,"Deselect all":`Alle abwählen`,"Select all":`Alle auswählen`,"item(s) selected":`ausgewählte(r) Eintrag`,"Disable bulk edit":`Massenbearbeitung deaktivieren`,"Select current page":`Aktuelle Seite auswählen`,Search:`Suche`,"Click for more information":`Klicken Sie für weitere Informationen`,"Search columns:":`Durchsuchte Spalten:`,sort:`sortieren`,"Previous interval":`Vorheriges Intervall`,"Next interval":`Nächstes Intervall`,"Previous day":`Vorheriger Tag`,"Next day":`Nächster Tag`,Delete:`Löschen`,"Close drawer":`Seitenleiste schlieÃen`,Status:`Status`,"Created at":`Erstellt am`,Available:`Verfügbar`,"In progress":`In Bearbeitung`,Failed:`Fehlgeschlagen`,"Deleted by deletion request":`Durch Löschanfrage gelöscht`,"No exports.":`Keine Exporte.`,Exports:`Exporte`,Export:`Exportieren`,Download:`Herunterladen`,"Export was deleted.":`Der Export wurde gelöscht.`,Close:`SchlieÃen`,"Are you sure you want to delete this export?":`Sind Sie sicher, dass Sie diesen Export löschen wollen?`,File:`Datei`,Public:`Ãffentlich`,Path:`Pfad`,Files:`Dateien`,"No files available":`Keine Dateien verfügbar`,"Are you sure you want to delete this file?":`Sind Sie sicher, dass Sie diese Datei löschen wollen?`,"Headline font name":`Schriftname der Ãberschrift`,"Format headline":`Ãberschriftformat`,"Add hy
4020perlink":`Hyperlink hinzufügen`,Url:`Url`,"New tab":`Neue Registerkarte`,"Add link":`Link hinzufügen`,"There are validation errors in other languages of this form.":`In anderen Sprachen dieses Formulars gibt es Validierungsfehler.`,"Validation errors":`Validierungsfehler`,"Select option":`Option auswählen`,"Are you sure you want to delete this image?":`Sind Sie sicher, dass Sie dieses Bild löschen möchten?`,Images:`Bilder`,"Image was deleted.":`Das Bild wurde gelöscht.`,Image:`Bild`,"Select an image":`Wählen Sie ein Bild aus`,"Choose image...":`Bild auswählen...`,"Remove image":`Bild entfernen`,"Image upload":`Bild-Upload`,Upload:`Hochladen`,"Choose image":`Bild auswählen`,"Delete image":`Bild löschen`,"Wrong aspect ratio":`Falsches Seitenverhältnis`,"An export is created, please wait":`Ein Export wird erstellt, bitte warten`,"Upload was successful.":`Der Upload war erfolgreich.`,Import:`Import`,Open:`Ãffnen`,"Invalid email address":`Ungültige E-Mail Adresse`,Welcome:`Willkommen`,Email:`E-Mail`,"Log in":`Log in`,Register:`Registrieren`,Type:`Typ`,"Select...":`Wählen Sie...`,Menu:`Menü`,"Create menu item":`Menüpunkt erstellen`,"The menu was successfully sorted.":`Das Menü wurde erfolgreich sortiert.`,Edit:`Bearbeiten`,"Edit menu item":`Menüpunkt bearbeiten`,"Delete menu item":`Menüpunkt löschen`,"Are you sure you want to delete this menu item?":`Sind Sie sicher, dass Sie diesen Menüpunkt löschen wollen?`,"Close navigation sidebar":`Navigationsseitenleiste schlieÃen`,"Open navigation sidebar":`Navigationsseitenleiste öffnen`,Logout:`Abmelden`,"Not authorized":`Nicht autorisiert`,"Either your account is not connected to this application or you are not authorized to access this feature.":`Entweder ist Ihr Konto nicht mit dieser Anwendung verbunden oder Sie sind nicht berechtigt, auf diese Funktion zuzugreifen.`,"Move before":`Davor verschieben`,"Move after":`Dahinter verschieben`,Cancel:`Abbrechen`,Cut:`Ausschneiden`,of:`von`,"Previous page":`Vorherige Seite`,"Next page":`Nächste Seite`,"Forgot your password?":`Haben Sie Ihr Passwort vergessen?`,"Password reset":`Passwort zurücksetzen`,"The link has already been used or has expired.":`Der Link wurde bereits verwendet oder ist abgelaufen.`,Login:`Login`,"Request new link":`Neuen Link anfordern`,"Crop new image":`Neues Bild zuschneiden`,"You should receive an email with instructions to reset your password shortly.":`Sie sollten in Kürze eine E-Mail mit Anweisungen zum Zurücksetzen Ihres Passworts erhalten.`,"Back to login":`Zurück zur Anmeldung`,"Set your password":`Legen Sie Ihr Passwort fest`,"Your new password needs to be at least 12 characters long.":`Ihr neues Passwort muss mindestens 12 Zeichen lang sein.`,"Confirm new password":`Bestätigen Sie Ihr neues Passwort`,"Set password":`Passwort festlegen`,"At least one permission is required":`Mindestens eine Berechtigung ist erforderlich`,"No permissions available.":`Keine Berechtigungen verfügbar.`,Permission:`Berechtigung`,Role:`Rolle`,"Role was successfully created.":`Die Rolle wurde erfolgreich erstellt.`,"Role was successfully updated.":`Die Rolle wurde erfolgreich aktualisiert.`,"Role was successfully deleted.":`Die Rolle wurde erfolgreich gelöscht.`,"Edit role":`Rolle bearbeiten`,"Delete role":`Rolle löschen`,"Are you sure you want to delete this role?":`Sind Sie sicher, dass Sie diese Rolle löschen wollen?`,"Create tag":`Tag erstellen`,"Edit tag":`Tag bearbeiten`,Roles:`Rollen`,"No roles available":`Keine Rollen verfügbar`,"Rows per page":`Zeilen pro Seite`,"No options available":`Keine Optionen verfügbar`,"Create {{option}}":`{{option}} erstellen`,"Add shortcut":`Shortcut hinzufügen`,"This feature is an addon.":`Diese Funktion ist eine Addon.`,"Open menu":`Menü öffnen`,"Close menu":`Menü schlieÃen`,"System messages":`Systemmeldungen`,Color:`Farbe`,"Apply color":`Farbe anwenden`,"Time controlled content visibility":`Zeitgesteuerte Sichtbarkeit von Inhalten`,"Preview type":`Vorschau Typ`,Underline:`Unterstreichen`,Subscript:`Tiefgestellt`,Superscript:`Hochgestellt`,"Align left":`Links ausrichten`,"Align center":`Zentrieren`,"Align right":`Rechts ausrichten`,"Numbered list":`Nummerierte Liste`,"Bulleted list":`Aufzählungsliste`,"File was uploaded.":`Die Datei wurde hochgeladen.`,"Uploaded {{uploaded}} of {{total}}":`{{uploaded}} von {{total}} hochgeladen`,"Save file":`Datei speichern`,"File was deleted.":`Datei wurde gelöscht.`,"Delete file":`Datei löschen`,"Could not delete file.":`Datei konnte nicht gelöscht werden.`,"Invalid date":`Ungültiges Datum`,"Your selection is under {{pixel}}px wide and may not display optimally. Please select a larger area if possible.":`Ihre Auswahl ist weniger als {{pixel}}px breit und wird möglicherweise nicht optimal angezeigt. Bitte wählen Sie einen gröÃeren Bereich, wenn möglich.`,"The selected image is under {{pixel}}px wide and may not display optimally. Please use a larger image if possible.":`Das ausgewählte Bild ist weniger als {{pixel}}px breit und wird möglicherweise nicht optimal angezeigt. Bitte verwenden Sie nach Möglichkeit ein gröÃeres Bild.`,Users:`Benutzer`,User:`Benutzer`,"No users attached":`Keine Benutzer zugeordnet`,"Are you sure you want to remove this user from the role?":`Sind Sie sicher, dass Sie diesen Benutzer aus der Rolle entfernen w
4020ollen?`,"Remove user":`Benutzer entfernen`,"User was successfully removed from the role.":`Der Benutzer wurde erfolgreich aus der Rolle entfernt.`,"Role user":`Rolle Benutzer`,"Attach users":`Benutzer anhängen`,"Successfully attached to the role":`Erfolgreich der Rolle zugeordnet`,View:`Ansicht`,Create:`Erstellen`,"Show local time":`Ortszeit anzeigen`,"Date time ({{timeZone}})":`Datum und Uhrzeit ({{timeZone}})`,"Add date time":`Datum und Uhrzeit hinzufügen`,"Date time format":`Datum und Uhrzeit Format`,Timezone:`Zeitzone`,Details:`Details`,"Create role":`Rolle erstellen`,Alerts:`Warnungen`,"Prevent line breaks":`Zeilenumbrüche verhindern`,Remove:`Entfernen`,"New version available":`Neue Version verfügbar`,"The page must be reloaded to use the latest version and avoid possible errors.":`Die Seite muss neu geladen werden, um die neueste Version zu nutzen und mögliche Fehler zu vermeiden.`,"Reload now":`Jetzt neu laden`,"Version {{version}}":`Version {{version}}`,"Copy to clipboard":`In die Zwischenablage kopieren`,"Copied to clipboard":`In die Zwischenablage kopiert`},oKe={"Only logged-in users can access this file.":`Only logged-in users can access this file.`,"Anyone with the link can access this file.":`Anyone with the link can access this file.`,"Access permission":`Access permission`,"Use compact display":`Use compact display`,parents_one:`Parent block`,parents_other:`Parent blocks`,entities_one:`Block as entity`,entities_other:`Blocks as entity`,"Uploaded at":`Uploaded at`,"{{count}} blocks are missing required data.other":`{{count}} blocks are missing required data.`,"{{count}} blocks are missing required data._one":`A block is missing required data.`,"This block is missing some entities.":`This block is missing some entities.`,"BlockType.dividerBlock":`Divider Block`,"Line style":`Line style`,Solid:`Solid`,Dashed:`Dashed`,Dotted:`Dotted`,"Line color":`Line color`,"Is required":`Is required`,"Icon file (SVG)":`Icon file (SVG)`,"BlockType.cardLayoutBlock":`Card Layout Block`,"BlockType.iconBlock":`Icon Block`,"The file must be an SVG.":`The file must be an SVG.`,"Star rating (1-5)":`Star rating (1-5)`,"Rating scale (1-10)":`Rating scale (1-10)`,Average:`Average`,Sum:`Sum`,Median:`Median`,Count:`Count`,Number:`Number`,"LinkBlockType.file":`File`,"When duplicating, you can either reuse the existing children (changes will affect all places where they are used) or create duplicates (changes will be independent). Please choose how to proceed.":`When duplicating, you can either reuse the existing children (changes will affect all places where they are used) or create duplicates (changes will be independent). Please choose how to proceed.`,"This block will be duplicated because you chose to duplicate at least one of its child elements.":`This block will be duplicated because you chose to duplicate at least one of its child elements.`,"{{count}} Usages_other":`{{count}} Usages`,"{{count}} Usages_one":`{{count}} Usage`,Reuse:`Reuse`,Duplicate:`Duplicate`,"Duplicate block":`Duplicate block`,"The weighting of questions is applied to calculate the overall score.":`The weighting of questions is applied to calculate the overall score.`,"The weight field must be an integer between 0 and 100.":`The weight field must be an integer between 0 and 100.`,Weight:`Weight`,"The export cannot be imported. The version of the export is not supported.":`The export cannot be imported. The version of the export is not supported.`,"Invalid value":`Invalid value`,"Next step":`Next step`,"At least one answer option has to be given.":`At least one answer option has to be given.`,"Question evaluation":`Question evaluation`,"Update feedback question":`Update feedback question`,"Create feedback question":`Create feedback question`,"No questions available.":`No questions available.`,"Discard language":`Discard language`,"Thank you for submitting feedback!":`Thank you for submitting feedback!`,"Not available":`Not available`,"Feedback is only available for users who are logged-in.":`Feedback is only available for users who are logged-in.`,"BlockType.feedbackBlock":`Feedback`,"Your feedback has been submitted.":`Your feedback has been submitted.`,"Login background":`Login background`,"Login background was successfully saved.":`Login background was successfully saved.`,"Admin image":`Admin image`,"Frontend image":`Frontend image`,"Keep it short, usually 1-2 sentences. Donât overthink it.":`Keep it short, usually 1-2 sentences. Donât overthink it.`,"Consider key elements of why you chose this image, instead of describing every little detail.":`Consider key elements of why you chose this image, instead of describing every little detail.`,"No need to say âimage ofâ or âpicture ofâ â the screen reader recognizes this itself.":`
4020No need to say âimage ofâ or âpicture ofâ â the screen reader recognizes this itself.`,"But, do say if itâs a logo, illustration, painting, or cartoon.":`But, do say if itâs a logo, illustration, painting, or cartoon.`,"Donât duplicate text thatâs adjacent in the document or website.":`Donât duplicate text thatâs adjacent in the document or website.`,"End the ALT text sentence with a period â this makes it sound more natural for reading programs.":`End the ALT text sentence with a period â this makes it sound more natural for reading programs.`,"A descriptive ALT text makes your content more inclusive and visible.":`A descriptive ALT text makes your content more inclusive and visible.`,"Alternative Text (ALT Text)":`Alternative Text (ALT Text)`,"Please wait for the upload to finish.":`Please wait for the upload to finish.`,"{{count}} Stars_other":`{{count}} Stars`,"{{count}} Stars_one":`{{count}} Star`,"{{amount}} out of {{total}}":`{{amount}} out of {{total}}`,"Average rating":`Average rating`,"Choose a question":`Choose a question`,"Feedback has been reset.":`Feedback has been reset.`,"Number of participants":`Number of participants`,"Reset feedback":`Reset feedback`,"Are you sure you want to reset this feedback?":`Are you sure you want to reset this feedback?`,Question:`Question`,"This question has not been answered yet.":`This question has not been answered yet.`,"Unknown answer option":`Unknown answer option`,"Number of questions":`Number of questions`,"Feedback question was deleted.":`Feedback question was deleted.`,"Feedback question was saved.":`Feedback question was saved.`,"Free text":`Free text`,"Multiple choice":`Multiple choice`,"Single choice":`Single choice`,"Are you sure you want to delete this feedback question?":`Are you sure you want to delete this feedback question?`,Questions:`Questions`,"Add answer option":`Add answer option`,"Delete answer option":`Delete answer option`,"Answer options":`Answer options`,"Feedback question":`Feedback question`,"Successfully sorted.":`Successfully sorted.`,"Are you sure you want to delete this feedback?":`Are you sure you want to delete this feedback?`,"No feedback available.":`No feedback available.`,"Feedback was created.":`Feedback was created.`,"Feedback was updated.":`Feedback was updated.`,"Feedback was deleted.":`Feedback was deleted.`,"Delete feedback":`Delete feedback`,"Edit feedback":`Edit feedback`,"Add feedback":`Add feedback`,Feedback:`Feedback`,"This role is the default, do you want to delete it anyway?":`This role is the default, do you want to delete it anyway?`,"Button color":`Button color`,"The picture carousel automatically switches to the next picture after a certain time.":`The picture carousel automatically switches to the next picture after a certain time.`,"When the last image is reached, the image carousel automatically jumps back to the first image.":`When the last image is reached, the image carousel automatically jumps back to the first image.`,"Activate navigation points":`Activate navigation points`,"Small dots below the image carousel show the number of images and allow you to jump directly to a specific image.":`Small dots below the image carousel show the number of images and allow you to jump directly to a specific image.`,"Selected images":`Selected images`,"blockSubmitButton.save":`Save`,"When enabled, the tabs are left-aligned and horizontally scrollable if there is not enough space. When disabled, they are evenly distributed across the entire width.":`When enabled, the tabs are left-aligned and horizontally scrollable if there is not enough space. When disabled, they are evenly distributed across the entire width.`,"The file type is not supported.":`The file type is not supported.`,"Export settings saved successfully.":`Export settings saved successfully.`,"Export settings":`Export settings`,"Date format":`Date format`,"Year-Month-Day":`Year-Month-Day`,"Day.Month.Year":`Day.Month.Year`,"Month/Day/Year":`Month/Day/Year`,"Iso-8601 format with timezone":`Iso-8601 format with timezone`,"Year-Month-Day, 24 hour UTC time format":`Year-Month-Day, 24 hour UTC time format`,"Day.Month.Year, 24 hour time format":`Day.Month.Year, 24 hour time format`,"Month/Day/Year, 12 hour time format":`Month/Day/Year, 12 hour time format`,"24 hour time format":`24 hour time format`,"12 hour time format":`12 hour time format`,"Time format":`Time format`,"Unknown format":`Unknown format`,Usages:`Usages`,"This block is being used {{amount}} times. Click <OpenDrawerButton>here</OpenDrawerButton> to see the usages.":`This block is being used {{amount}} times. Click <OpenDrawerButton>here</OpenDrawerButton> to see the usages.`,"The error happened on:":`The error happened on:`,"Is scrollable":`Is scrollable`,PAGE:`Page`,CATEGORY:`Category`,EXTERNAL_NEW_TAB:`External (new tab)`,EXTERNAL:`External`,INTERNAL:`Internal`,"Invalid URL format: The URL must start with https://.":`Invalid URL format: The URL must start with https://.`,"The footer links are sorted.":`The footer links are sorted.`,"Create footer link":`Create footer link`,"Mute audio":`Mute audio`,"Play in loop":`Play in loop`,"Show controls":`Show controls`,Autoplay:`Autoplay`,"BlockType.videoBlock":`Video`,"BlockType.imageGalleryBlock":`Image gallery`,"No images selected.":`No images selected.`,"Show shadow":`Show shadow`,"Show bottom border":`Show bottom border`,"Bottom border color":`Bottom border color`,"Color schema":`Color schema`,"Show title":`Show title`,Date:`Date`,"Show seconds":`Show seconds`,"Title position":`Title position`,Above:`Above`,Below:`Below`,"Vertical alignment":`Vertical alignment`,"CountdownBlock.Start":`Start`,"CountdownBlock.Center"
4020:`Center`,"CountdownBlock.End":`End`,"Text color":`Text color`,"Background gradient":`Background gradient`,"Gradient start color":`Gradient start color`,"Gradient end color":`Gradient end color`,Center:`Center`,"Text alignment":`Text alignment`,"Enable arrow navigation":`Enable arrow navigation`,"Display image progress with dots":`Display image progress with dots`,"The display duration must be greater than zero.":`The display duration must be greater than zero.`,"Enable autoplay":`Enable autoplay`,"Display duration of image in seconds":`Display duration of image in seconds`,"Loop animation":`Loop animation`,"BlockType.imageCarouselBlock":`Image Carousel Block`,Drag:`Drag`,"BlockType.tabBlock":`Tab Block`,"BlockType.tabContainerBlock":`Tab bar Block`,"Will be visible on marker click.":`Will be visible on marker click.`,small:`small`,medium:`medium`,large:`large`,"Add {{ blockName }}":`Add {{ blockName }}`,Latitude:`Latitude`,Longitude:`Longitude`,"BlockType.mapsBlock":`Maps block`,"BlockType.mapMarkerBlock":`Map marker block`,"To add or remove map markers use the preview for this maps block.":`To add or remove map markers use the preview for this maps block.`,"The total of all column widths must be smaller than 100%":`The total of all column widths must be smaller than 100%`,"Add {{breakpoint}}":`Add {{breakpoint}}`,"Amount of columns":`Amount of columns`,"Advanced layout":`Advanced layout`,"{{number}}. column width (in %)":`{{number}}. column width (in %)`,"Reverse block order":`Reverse block order`,Preview:`Preview`,"BlockType.gridLayoutColumnBlock":`Grid Colum Block`,"Default Collapsed":`Default Collapsed`,"The title is displayed in the browser tab.":`The title is displayed in the browser tab.`,"The label is displayed in the browser tab.":`The label is displayed in the browser tab.`,"Fit to page width":`Fit to page width`,"Delete {{modelName}}":`Delete {{modelName}}`,"The deletion is being prevented by the following connections:_one":`The deletion is being prevented by the following connection:`,"The deletion is being prevented by the following connections:_other":`The deletion is being prevented by the following connections:`,"With the deletion the following connections will be removed:_one":`With the deletion the following connection will be removed:`,"With the deletion the following connections will be removed:_other":`With the deletion the following connections will be removed:`,"The page you are looking for doesn't exist.":`The page you are looking for doesn't exist.`,"You may have mistyped the address or the page was moved.":`You may have mistyped the address or the page was moved.`,"Invalid code":`Invalid code`,Code:`Code`,Next:`Next`,"sign in":`sign in`,"Enter password":`Enter password`,"Sign in":`Sign in`,Verify:`Verify`,minutes:`minutes`,seconds:`seconds`,"The code is valid for {{timeout}} {{unit}}.":`The code is valid for {{timeout}} {{unit}}.`,"Your account is blocked":`Your account is blocked`,"Email send":`Email send`,"An email with a new code has been send.":`An email with a new code has been send.`,"Resend email":`Resend email`,"Please enter the 6-digit security code you received by {{method}}.":`Please enter the 6-digit security code you received by {{method}}.`,"twoFactorAuthMethod.EMAIL":`email`,"Max. {{size}} MB file size":`Max. {{size}} MB file size`,"Session was successfully revoked.":`Session was successfully revoked.`,"No authenticated sessions available.":`No authenticated sessions available.`,"It can take up to 60 minutes before the session will be logged out.":`It can take up to 60 minutes before the session will be logged out.`,"Are you sure you want to revoke this session?":`Are you sure you want to revoke this session?`,"Revoke session":`Revoke session`,Revoke:`Revoke`,"Device identifier":`Device identifier`,"Authenticated sessions":`Authenticated sessions`,"Your message has been successfully received.":`Your message has been successfully received.`,Send:`Send`,Message:`Message`,Subject:`Subject`,Support:`Support`,"Contact our support":`Contact our support`,"Open guide":`Open guide`,"Open help":`Open help`,"Unknown server error":`Unknown server error`,"Too many login attempts. Try again in {{timeout}} minutes.":`Too many login attempts. Try again in {{timeout}} minutes.`,"Yesterday, at {{time}}":`Yesterday, at {{time}}`,"Company name":`Company name`,"Contact phone number":`Contact phone number`,"Read only":`Read only`,Links:`Links`,"Footer link was deleted.":`Footer link was deleted.`,"Footer link was saved.":`Footer link was saved.`,"Are you sure you want to delete this footer link?":`Are you sure you want to delete this footer link?`,"Footer link":`Footer link`,"Footer links":`Footer links`,"No footer links available.":`No footer links available.`,"Delete footer link":`Delete footer link`,"Edit footer link":`Edit footer link`,"Add footer link":`Add footer link`,"Is external":`Is external`,"Required field":`Required field`,Footer:`Footer`,"Footer successfully updated":`Footer successfully updated`,"Footer details":`Footer details`,"Contact email":`Contact email`,"Contact name":`Contact name`,Id:`Id`,"No users available":`No users available`,"Body fonts":`Body fonts`,"Headline font":`Headline font`,Favicons:`Favicons`,"Use for all icons":`Use for all icons`,"You've reached the highest possible value.":`You've reached the highest possible value.`,"Invalid input":`Invalid input`,"The value must not be negative.":`The value must not be negative.`,Size:`Size`,Source:`Source`,Subheadline:`Subheadline`,Description:`Description`,"Link Type":`Link Type`,"Attach block":`Attach block`,"Existing Blocks":`Existing Blocks`,"Select existing blocks":`Select existing blocks`,"New Block":`New Block`,Blocks:`Blocks`,"VisualGroup.content":`Content`,"VisualGroup.layout":`Layout`,"BlockType.imageBlock":`Image Block`,"BlockType.headlineBlock":`Headline Block`,"BlockType.slateBlock":`Text Block`,"BlockType.layoutRowBlock":`Row Block`,"BlockType.iframeBlock":`iFrame Block`,"BlockType.countdownBlock":`Countdown Block`,"BlockType.cardBlock":`Card Block`,"BlockType.pageBlock":`Page Block`,"BlockType.sectionBlock":`Section Block`,"BlockType.linkBlock":`Link Block`,"BlockType.linkContainerBlock":`Link Container Block`,"BlockType.keyVisualBlock":`Key Visual Block`,"BlockType.layoutBackgroun
4020dImageBlock":`Background Image Layout Block`,"BlockType.accordionBlock":`Accordion Block`,"LinkBlockType.page":`Page Block`,"LinkBlockType.drawer":`Drawer`,"LinkBlockType.internal":`Internal Link`,"LinkBlockType.external":`External Link`,"No Blocks have been added.":`No Blocks have been added.`,"Are you sure you want to delete this Block?":`Are you sure you want to delete this Block?`,"Are you sure you want to remove this Block?":`Are you sure you want to remove this Block?`,"Block type":`Block type`,Block:`Block`,Button:`Button`,Text:`Text`,Label:`Label`,"Inherit Padding":`Inherit Padding`,Countdown:`Countdown`,Title:`Title`,Internal:`Internal`,External:`External`,Drawer:`Drawer`,"Enable Slug":`Enable Slug`,Refresh:`Refresh`,"Choose Block":`Choose Block`,"No blocks available":`No blocks available`,ContentBlock:`ContentBlock`,"ContentBlock was saved.":`ContentBlock was saved.`,"{{direction}} has to be between 0 and 50":`{{direction}} has to be between 0 and 50`,Top:`Top`,Left:`Left`,Right:`Right`,Bottom:`Bottom`,Gap:`Gap`,Padding:`Padding`,"Background type":`Background type`,"Background color":`Background color`,"Import successfully started.":`Import successfully started.`,Transparent:`Transparent`,Background:`Background`,Content:`Content`,Custom:`Custom`,"Add translation for this language":`Add translation for this language`,Pages:`Pages`,"No block available.":`No block available.`,"Delete block":`Delete block`,"Preview block":`Preview block`,"Add block":`Add block`,"Edit block":`Edit block`,"Export block":`Export block`,"Import blocks":`Import blocks`,"Create page":`Create page`,"Blocks Import":`Blocks Import`,"The slug may only contain a-z, 0-9 and separating dashes.":`The slug may only contain a-z, 0-9 and separating dashes.`,"visualGroup.layout":`Layout`,"visualGroup.content":`Content`,Mobile:`Mobile`,Tablet:`Tablet`,Desktop:`Desktop`,"Large Desktop":`Large Desktop`,Slug:`Slug`,Columns:`Columns`,Headline:`Headline`,Remove:`Remove`,"No users attached":`No users attached`,"Are you sure you want to remove this user from the role?":`Are you sure you want to remove this user from the role?`,"Remove user":`Remove user`,"User was successfully removed from the role."
4020:`User was successfully removed from the role.`,"Role user":`Role user`,"Attach users":`Attach users`,"Successfully attached to the role":`Successfully attached to the role`,View:`View`,Create:`Create`,"Show local time":`Show local time`,"Date time ({{timeZone}})":`Date time ({{timeZone}})`,"Add date time":`Add date time`,"Date time format":`Date time format`,Timezone:`Timezone`,Details:`Details`,"Create role":`Create role`,Alerts:`Alerts`,"Prevent line breaks":`Prevent line breaks`,"Close accordion":`Close accordion`,"Open accordion":`Open accordion`,"This addon is not enabled.":`This addon is not enabled.`,"Please speak to your project manager.":`Please speak to your project manager.`,"Please activate addon":`Please activate addon`,'Hello Team DGS, I would like to activate the addon "{{addonName}}" in {{url}}. Please send me also an additional offer for this.':`Hello Team DGS, I would like to activate the addon "{{addonName}}" in {{url}}. Please send me also an additional offer for this.`,"Contact us":`Contact us`,"All aspect ratios":`All aspect ratios`,"Aspect ratio":`Aspect ratio`,"Unknown aspect ratio":`Unknown aspect ratio`,Error:`Error`,"An error has occurred.":`An error has occurred.`,"Request too large":`Request too large`,"Login with":`Login with`,Profile:`Profile`,"Profile was saved.":`Profile was saved.`,"Field is required":`Field is required`,"Upload avatar":`Upload avatar`,"First name":`First name`,"Last name":`Last name`,Position:`Position`,Company:`Company`,"Change password":`Change password`,Save:`Save`,"My profile":`My profile`,Clear:`Clear`,"Discard changes":`Discard changes`,"Stay on page":`Stay on page`,"You have not saved your changes. Do you really want to discard them?":`You have not saved your changes. Do you really want to discard them?`,"Font name":`Font name`,"Choose file":`Choose file`,Regular:`Regular`,Bold:`Bold`,Italic:`Italic`,"Bold italic":`Bold italic`,Colors:`Colors`,"Color assistant":`Color assistant`,"If you apply changes your custom changes to colors will be lost.":`If you apply changes your custom changes to colors will be lost.`,Primary:`Primary`,Secondary:`Secondary`,Apply:`Apply`,"Brand settings":`Brand settings`,"Brand settings saved successfully.":`Brand settings saved successfully.`,"This feature is only available if the frontend uses the DGS theme.":`This feature is only available if the frontend uses the DGS theme.`,"Edit settings":`Edit settings`,Name:`Name`,Logo:`Logo`,Favicon:`Favicon`,Submit:`Submit`,"Previous month":`Previous month`,Today:`Today`,"Next month":`Next month`,"The password needs to be at least 12 characters long.":`The password needs to be at least 12 characters long.`,"Passwords do not match":`Passwords do not match`,"Password was successfully changed.":`Password was successfully changed.`,Password:`Password`,"Old password":`Old password`,"New password":`New password`,"Repeat password":`Repeat password`,"Select a color":`Select a color`,"Confirm image selection":`Confirm image selection`,Back:`Back`,Confirm:`Confirm`,"More options":`More options`,Days:`Days`,Hours:`Hours`,Min:`Min`,Sec:`Sec`,"File upload":`File upload`,Add:`Add`,"Open column filter":`Open column filter`,"Column filters":`Column filters`,Reset:`Reset`,"Delete column filter":`Delete column filter`,Operator:`Operator`,"New column filter":`New column filter`,"Choose column":`Choose column`,"Add column filter":`Add column filter`,"Enable bulk edit":`Enable bulk edit`,"Deselect all":`Deselect all`,"Select all":`Select all`,"item(s) selected":`item(s) selected`,"Disable bulk edit":`Disable bulk edit`,"Select current page":`Select current page`,Search:`Search`,"Click for more information":`Click for more information`,"Search columns:":`Search columns:`,sort:`sort`,"Previous interval":`Previous interval`,"Next interval":`Next interval`,"Previous day":`Previous day`,"Next day":`Next day`,Delete:`Delete`,"Close drawer":`Close drawer`,Status:`Status`,"Created at":`Created at`,Available:`Available`,"In progress":`In progress`,Failed:`Failed`,"Deleted by deletion request":`Deleted by deletion request`,"No exports.":`No exports.`,Exports:`Exports`,Export:`Export`,Download:`Download`,"Export was deleted.":`Export was deleted.`,Close:`Close`,"Are you sure you want to delete this export?":`Are you sure you want to delete this export?`,File:`File`,Public:`Public`,Path:`Path`,Files:`Files`,"No files available":`No files available`,"Are you sure you want to delete this file?":`Are you sure you want to delete this file?`,"Headline font name":`Headline font name`,"Format headline":`Format headline`,"Add hy
4020perlink":`Add hyperlink`,Url:`Url`,"New tab":`New tab`,"Add link":`Add link`,"There are validation errors in other languages of this form.":`There are validation errors in other languages of this form.`,"Validation errors":`Validation errors`,"Select option":`Select option`,"Are you sure you want to delete this image?":`Are you sure you want to delete this image?`,Images:`Images`,"Image was deleted.":`Image was deleted.`,Image:`Image`,"Select an image":`Select an image`,"Choose image...":`Choose image...`,"Remove image":`Remove image`,"Image upload":`Image upload`,Upload:`Upload`,"Choose image":`Choose image`,"Delete image":`Delete image`,"Wrong aspect ratio":`Wrong aspect ratio`,"An export is created, please wait":`An export is created, please wait`,"Upload was successful.":`Upload was successful.`,Import:`Import`,Open:`Open`,"Invalid email address":`Invalid email address`,Welcome:`Welcome`,Email:`Email`,"Log in":`Log in`,Register:`Register`,Type:`Type`,"Select...":`Select...`,Menu:`Menu`,"Create menu item":`Create menu item`,"The menu was successfully sorted.":`The menu was successfully sorted.`,Edit:`Edit`,"Edit menu item":`Edit menu item`,"Delete menu item":`Delete menu item`,"Are you sure you want to delete this menu item?":`Are you sure you want to delete this menu item?`,"Close navigation sidebar":`Close navigation sidebar`,"Open navigation sidebar":`Open navigation sidebar`,Logout:`Logout`,"Not authorized":`Not authorized`,"Either your account is not connected to this application or you are not authorized to access this feature.":`Either your account is not connected to this application or you are not authorized to access this feature.`,"Move before":`Move before`,"Move after":`Move after`,Cancel:`Cancel`,Cut:`Cut`,of:`of`,"Previous page":`Previous page`,"Next page":`Next page`,"Forgot your password?":`Forgot your password?`,"Password reset":`Password reset`,"The link has already been used or has expired.":`The link has already been used or has expired.`,Login:`Login`,"Request new link":`Request new link`,"Crop new image":`Crop new image`,"You should receive an email with instructions to reset your password shortly.":`You should receive an email with instructions to reset your password shortly.`,"Back to login":`Back to login`,"Set your password":`Set your password`,"Your new password needs to be at least 12 characters long.":`Your new password needs to be at least 12 characters long.`,"Confirm new password":`Confirm new password`,"Set password":`Set password`,"At least one permission is required":`At least one permission is required`,"No permissions available.":`No permissions available.`,Permission:`Permission`,Role:`Role`,"Role was successfully created.":`Role was successfully created.`,"Role was successfully updated.":`Role was successfully updated.`,"Role was successfully deleted.":`Role was successfully deleted.`,"Edit role":`Edit role`,"Delete role":`Delete role`,"Are you sure you want to delete this role?":`Are you sure you want to delete this role?`,"Create tag":`Create tag`,"Edit tag":`Edit tag`,Roles:`Roles`,"No roles available":`No roles available`,"Rows per page":`Rows per page`,"No options available":`No options available`,"Create {{option}}":`Create {{option}}`,"Add shortcut":`Add shortcut`,"This feature is an addon.":`This feature is an addon.`,"Open menu":`Open menu`,"Close menu":`Close menu`,"System messages":`System messages`,Color:`Color`,"Apply color":`Apply color`,"Time controlled content visibility":`Time controlled content visibility`,"Preview type":`Preview type`,Underline:`Underline`,Subscript:`Subscript`,Superscript:`Superscript`,"Align left":`Align left`,"Align center":`Align center`,"Align right":`Align right`,"Numbered list":`Numbered list`,"Bulleted list":`Bulleted list`,"File was uploaded.":`File was uploaded.`,"Uploaded {{uploaded}} of {{total}}":`Uploaded {{uploaded}} of {{total}}`,"Save file":`Save file`,"File was deleted.":`File was deleted.`,"Delete file":`Delete file`,"Could not delete file.":`Could not delete file.`,"Invalid date":`Invalid date`,"Your selection is under {{pixel}}px wide and may not display optimally. Please select a larger area if possible.":`Your selection is under {{pixel}}px wide and may not display optimally. Please select a larger area if possible.`,"The selected image is under {{pixel}}px wide and may not display optimally. Please use a larger image if possible.":`The selected image is under {{pixel}}px wide and may not display optimally. Please use a larger image if possible.`,Users:`Users`,User:`User`,"New version available":`New version available`,"The page must be reloaded to use the latest version and avoid possible errors.":`The page must be reloaded to use the latest version and avoid possible errors.`,"Reload now":`Reload now`,"Version {{version}}":`Version {{version}}`,"Copy to clipboard":`Copy to clipboard`,"Copied to clipboard":`Copied to clipboard`},sKe={"Only logged-in users can access this file.":`Solo los usuarios que hayan iniciado sesión pueden acceder a este archivo.`,"Anyone with the link can access this file.":`Cualquier persona que tenga el enlace puede acceder a este archivo.`,"Access permission":`Permiso de acceso`,"Use compact display":`Utilizar visualización compacta`,parents_one:`Bloque principal`,parents_other:`Bloques principales`,entities_one:`Bloque como entidad`,entities_other:`Bloques como entidad`,"Uploaded at":`Subido el`,"{{count}} blocks are missing required data.other":`A {{count}} bloques les faltan datos requeridos.`,"{{count}} blocks are missing required data._one":`A un bloque le faltan datos requeridos.`,"This block is missing some entities.":`A este bloque le faltan algunas entidades.`,"BlockType.dividerBlock":`Bloque separador`,"Line style":`Estilo de lÃnea`,Solid:`Sól
4020ido`,Dashed:`Discontinuo`,Dotted:`Punteado`,"Line color":`Color de lÃnea`,"Is required":`Es obligatorio`,"Icon file (SVG)":`Archivo de iconos (SVG)`,"BlockType.cardLayoutBlock":`Bloque de diseño de tarjeta`,"BlockType.iconBlock":`Bloque de iconos`,"The file must be an SVG.":`El archivo debe ser un SVG.`,"Star rating (1-5)":`Clasificación por estrellas (1-5)`,"Rating scale (1-10)":`Escala de valoración (1-10)`,"LinkBlockType.file":`Archivo`,"When duplicating, you can either reuse the existing children (changes will affect all places where they are used) or create duplicates (changes will be independent). Please choose how to proceed.":`Al duplicar, puede reutilizar los elementos secundarios existentes (los cambios afectarán a todos los lugares donde se utilicen) o crear duplicados (los cambios serán independientes). Elija cómo desea proceder.`,"This block will be duplicated because you chose to duplicate at least one of its child elements.":`Este bloque se duplicará porque has elegido duplicar al menos uno de sus elementos secundarios.`,"{{count}} Usages_other":`{{count}} Usos`,"{{count}} Usages_one":`{{count}} Uso`,Reuse:`Reutilización`,Duplicate:`Duplicado`,"Duplicate block":`Bloque duplicado`,"The weighting of questions is applied to calculate the overall score.":`La ponderación de las preguntas se aplica para calcular la puntuación general.`,"The weight field must be an integer between 0 and 100.":`El campo de peso debe ser un número entero entre 0 y 100.`,Weight:`Peso`,Average:`Promedio`,Sum:`Suma`,Median:`Mediana`,Count:`Cantidad`,Number:`Número`,"The export cannot be imported. The version of the export is not supported.":`La exportación no se puede importar. La versión de la exportación no es compatible.`,"Invalid value":`Valor no válido`,"Next step":`Siguiente paso`,"At least one answer option has to be given.":`Debe darse al menos una opción de respuesta.`,"Question evaluation":`Evaluación de preguntas`,"Update feedback question":`Actualizar pregunta de respuesta`,"Create feedback question":`Crear pregunta de respuesta`,"No questions available.":`No hay preguntas disponibles.`,"Discard language":`Descartar lengua`,"Thank you for submitting feedback!":`Gracias por sus comentarios.`,"Not available":`No disponible`,"Feedback is only available for users who are logged-in.":`Los comentarios sólo están disponibles para los usuarios que han iniciado sesión.`,"BlockType.feedbackBlock":`Comentarios`,"Your feedback has been submitted.":`Su comentario ha sido enviado.`,"Login background":`Fondo de inicio de sesión`,"Login background was successfully saved.":`El fondo de inicio de sesión se ha guardado correctamente.`,"Admin image":`Imagen de administrador`,"Frontend image":`Imagen del frontend`,"Keep it short, usually 1-2 sentences. Donât overthink it.":`Sé breve, normalmente 1-2 frases. No lo pienses demasiado.`,"Consider key elements of why you chose this image, instead of describing every little detail.":`Considere los elementos clave de por qué eligió esta imagen, en lugar de describir cada pequeño detalle.`,"No need to say âimage ofâ or âpicture ofâ â the screen reader recognizes this itself.":`No es necesario decir "imagen de" o "foto de": el lector de pantalla lo reconoce por sà mismo.`,"But, do say if itâs a logo, illustration, painting, or cartoon.":`Pero sà diga si es un logotipo, una ilustración, una pintura o un dibujo animado.`,"Donât duplicate text thatâs adjacent in the document or website.":`No dupliques texto adyacente en el documento o sitio web.`,"End the ALT text sentence with a period â this makes it sound more natural for reading programs.":`Termine la frase del texto ALT con un punto - esto hace que suene más natural para los programas de lectura.`,"A descriptive ALT text makes your content more inclusive and visible.":`Un texto ALT descriptivo hace que su contenido sea más inclusivo y visible.`,"Alternative Text (ALT Text)":`Texto alternativo (ALT Text)`,"Please wait for the upload to finish.":`Espere a que finalice la carga.`,"{{count}} Stars_other":`{{count}} Estrellas`,"{{count}}
4020 Stars_one":`{{count}} Estrella`,"{{amount}} out of {{total}}":`{{amount}} de {{total}}`,"Average rating":`Valoración media`,"Choose a question":`Elija una pregunta`,"Feedback has been reset.":`Se ha restablecido la retroalimentación.`,"Number of participants":`Número de participantes`,"Reset feedback":`Restablecer respuesta`,"Are you sure you want to reset this feedback?":`¿Estás seguro de que quieres restablecer esta retroalimentación?`,Question:`Pregunta`,"This question has not been answered yet.":`Aún no se ha respondido a esta pregunta.`,"Unknown answer option":`Opción de respuesta desconocida`,"Number of questions":`Número de preguntas`,"Feedback question was deleted.":`Se ha eliminado la pregunta de respuesta.`,"Feedback question was saved.":`Se ha guardado la pregunta de respuesta.`,"Free text":`Texto libre`,"Multiple choice":`Opción múltiple`,"Single choice":`Opción única`,"Are you sure you want to delete this feedback question?":`¿Estás seguro de que quieres borrar esta pregunta?`,Questions:`Preguntas`,"Add answer option":`Añadir opción de respuesta`,"Delete answer option":`Borrar opción de respuesta`,"Answer options":`Opciones de respuesta`,"Feedback question":`Preguntas frecuentes`,"Successfully sorted.":`Clasificado con éxito.`,"Are you sure you want to delete this feedback?":`¿Estás seguro de que deseas eliminar este comentario?`,"No feedback available.":`No hay comentarios disponibles.`,"Feedback was created.":`Se ha creado un comentario.`,"Feedback was updated.":`Se ha actualizado un comentario.`,"Feedback was deleted.":`Se ha eliminado un comentario.`,"Delete feedback":`Eliminar comentario`,"Edit feedback":`Editar comentario`,"Add feedback":`Añadir comentario`,Feedback:`Comentarios`,"This role is the default, do you want to delete it anyway?":`Esta función es la predeterminada, ¿desea eliminarla de todos modos?`,"Button color":`Color del botón`,"The picture carousel automatically switches to the next picture after a certain time.":`El carrusel de imágenes cambia automáticamente a la siguiente imagen después de un tiempo determinado.`,"When the last image is reached, the image carousel automatically jumps back to the first image.":`Cuando se alcanza la última imagen, el carrusel vuelve automáticamente a la primera imagen.`,"Activate navigation points":`Activar puntos de navegación`,"Small dots below the image carousel show the number of images and allow you to jump directly to a specific image.":`Los puntos pequeños debajo del carrusel muestran el número de imágenes y permiten saltar directamente a una imagen especÃfica.`,"Selected images":`Imágenes seleccionadas`,"blockSubmitButton.save":`Guardar`,"When enabled, the tabs are left-aligned and horizontally scrollable if there is not enough space. When disabled, they are evenly distributed across the entire width.":`Cuando está activado, las pestañas están alineadas a la izquierda y son desplazables horizontalmente si no hay suficiente espacio. Cuando está desactivado, se distribuyen uniformemente a lo largo de todo el ancho.`,"The file type is not supported.":`El tipo de archivo no es compatible.`,"Export settings saved successfully.":`Configuración de exportación guardada correctamente.`,"Export settings":`Configuración de exportación`,"Date format":`Formato de fecha`,"Year-Month-Day":`Año-Mes-DÃa`,"Day.Month.Year":`DÃa.Mes.Año`,"Month/Day/Year":`Mes/DÃa/Año`,"Iso-8601 format with timezone":`Formato Iso-8601 con zona horaria`,"Year-Month-Day, 24 hour UTC time format":`Año-Mes-DÃa, formato de hora UTC de 24 horas`,"Day.Month.Year, 24 hour time format":`DÃa.Mes.Año, formato de hora de 24 horas`,"Month/Day/Year, 12 hour time format":`Mes/DÃa/Año, formato de hora de 12 horas`,"24 hour time format":`Formato de hora de 24 horas`,"12 hour time format":`Formato de hora de 12 horas`,"Time format":`Formato de hora`,"Unknown format":`Formato desconocido`,Usages:`Usos`,"This block is being used {{amount}} times. Click <OpenDrawerButton>here</OpenDrawerButton> to see the usages.":`Este bloque se está utilizando {{amount}} veces. Haz clic <OpenDrawerButton>aquÃ</OpenDrawerButton> para ver los usos.`,"The error happened on:":`El error ocurrió el:`,"Is
4020scrollable":`Se puede desplazar`,PAGE:`Página`,CATEGORY:`CategorÃa`,EXTERNAL_NEW_TAB:`Externo (nueva pestaña)`,EXTERNAL:`Externo`,INTERNAL:`Interno`,"Invalid URL format: The URL must start with https://.":`Formato de URL no válido: la URL debe comenzar con https://.`,"The footer links are sorted.":`Los enlaces del pie de página están ordenados.`,"Create footer link":`Crear enlace de pie de página`,"Mute audio":`Silenciar audio`,"Play in loop":`Reproducir en bucle`,"Show controls":`Mostrar controles`,Autoplay:`Reproducción automática`,"BlockType.videoBlock":`Video`,"BlockType.imageGalleryBlock":`GalerÃa de imágene`,"No images selected.":`No hay imágenes seleccionadas.`,"Show shadow":`Mostrar sombra`,"Show bottom border":`Mostrar borde inferior`,"Bottom border color":`Color del borde inferior`,"Color schema":`Esquema de colores`,"Show title":`Mostrar tÃtulo`,Date:`Fecha`,"Show seconds":`Mostrar segundos`,"Title position":`Posición del tÃtulo`,Above:`Arriba`,Below:`Abajo`,"Vertical alignment":`Alineación vertical`,"CountdownBlock.Start":`Inicio`,"CountdownBlock.Center":`Centr`,"CountdownBlock.End":`Fi`,"Text color":`Color del texto`,"Background gradient":`Gradiente de fond`,"Gradient start color":`Color inicial del degradad`,"Gradient end color":`Color final del degradad`,Center:`Centro`,"Text alignment":`Alineación del texto`,"Enable arrow navigation":`Habilitar navegación con flechas`,"Display image progress with dots":`Mostrar progreso de imagen con puntos`,"The display duration must be greater than zero.":`La duración de la visualización debe ser mayor que cero.`,"Enable autoplay":`Activar reproducción automática`,"Display duration of image in seconds":`Mostrar duración de la imagen en segundos`,"Loop animation":`Repetir animación`,"BlockType.imageCarouselBlock":`Bloque de carrusel de imágenes`,Drag:`Arrastrar`,"Will be visible on marker click.":`Será visible al hacer clic en el marcador.`,small:`pequeño`,medium:`mediano`,large:`grande`,"Add {{ blockName }}":`Añadir {{ blockName }}`,Latitude:`Latitud`,Longitude:`Longitud`,"BlockType.mapsBlock":`Bloque de mapas`,"BlockType.mapMarkerBlock":`Marcador de mapa block`,"To add or remove map markers use the preview for this maps block.":`Utilice la vista previa de este bloque de mapa para añadir o eliminar marcadores de mapa.`,"BlockType.tabBlock":`Bloque de pestañas`,"BlockType.tabContainerBlock":`Bloque contenedor de pestañas`,"The total of all column widths must be smaller than 100%":`La suma de todos los anchos de columna debe ser inferior al 100%.`,"Add {{breakpoint}}":`Añadir {{breakpoint}}`,"Amount of columns":`Cantidad de columnas`,"Advanced layout":`Diseño avanzado`,"{{number}}. column width (in %)":`{{número}}. ancho de columna (en %)`,"Reverse block order":`Invertir orden de bloques`,Preview:`Vista previa`,"BlockType.gridLayoutColumnBlock":`Bloque de columnas de rejilla`,"Default Collapsed":`Colapsado por defecto`,"The title is displayed in the browser tab.":`El tÃtulo se muestra en la pestaña del navegador.`,"The label is displayed in the browser tab.":`La etiqueta se muestra en la pestaña del navegador.`,"Fit to page width":`Ajustar al ancho de la página`,"Delete {{modelName}}":`Borrar {{modelName}}`,"The deletion is being prevented by the following connections:_one":`La eliminación está siendo impedida por la siguiente conexión:`,"The deletion is being prevented by the following connections:_other":`La eliminación está siendo impedida por las siguientes conexiones:`,"With the deletion the following connections will be removed:_one":`Con el borrado se eliminarán las siguientes conexiones:`,"With the deletion the following connections will be removed:_other":`Con la eliminación se eliminarán las siguientes conexiones:`,"The page you are looking for doesn't exist.":`La página que busca no existe.`,"You may have mistyped the address or the page was moved.":`Es posible que haya escrito mal la dirección o que la página se haya movido.`,"Invalid code":`Código no válido`,Code:`código`,Next:`siguiente`,"sign in":`Iniciar sesión`,"Enter password":`Introducir contraseña`,"Sign in":`Iniciar sesión`,Verify:`Verificar`,minutes:`Minutos`,seconds:`Segundos 4021 4022`,"The code is valid for {{timeout}} {{unit}}.":`El código es válido para {{timeout}} {{unit}}.`,"Your account is blocked":`Su cuenta está bloqueada`,"Email send":`Email enviado`,"An email with a new code has been send.":`Se ha enviado un correo electrónico con un nuevo código.`,"Resend email":`Reenviar email`,"Please enter the 6-digit security code you received by {{method}}.":`Por favor introduce el código de seguridad de 6 dÃgitos que has recibido por {{method}}
4022.`,"twoFactorAuthMethod.EMAIL":`Email`,"Max. {{size}} MB file size":`Tamaño máximo del archivo: {{size}} MB`,"Session was successfully revoked.":`La sesión ha sido revocada con éxito.`,"No authenticated sessions available.":`No hay sesiones autenticadas disponibles.`,"It can take up to 60 minutes before the session will be logged out.":`La sesión puede tardar hasta 60 minutos en cerrarse.`,"Are you sure you want to revoke this session?":`¿Está seguro de que desea revocar esta sesión?`,"Revoke session":`Revocar sesión`,Revoke:`Revocar`,"Device identifier":`Identificador de dispositivo`,"Authenticated sessions":`Sesiones autenticadas`,"Your message has been successfully received.":`Su mensaje ha sido recibido correctamente.`,Send:`Enviar`,Message:`Mensaje`,Subject:`Asunto`,Support:`Soporte`,"Contact our support":`Contacte con nuestro soporte`,"Open guide":`Abrir guÃa`,"Open help":`Abrir la ayuda`,"Unknown server error":`Error de servidor desconocido`,"Too many login attempts. Try again in {{timeout}} minutes.":`Demasiados intentos de inicio de sesión. Inténtalo de nuevo en {{timeout}} minutos.`,"Yesterday, at {{time}}":`Ayer, a las {{time}}`,"Company name":`Nom de l'entreprise eompresa`,"Contact phone number":`Número de teléfono de contacto`,"Read only":`Sólo lectura`,Links:`Enlaces`,"Footer link was deleted.":`Enlace de pie de página fue borrado.`,"Footer link was saved.":`Se guardó el enlace de pie de página.`,"Are you sure you want to delete this footer link?":`¿Estás seguro de que quieres borrar este enlace de pie de página?`,"Footer link":`Enlace de pie de página`,"Footer links":`Enlaces a pie de página`,"No footer links available.":`No hay enlaces de pie de página disponibles.`,"Delete footer link":`Borrar enlace de pie de página`,"Edit footer link":`Editar enlace de pie de página`,"Add footer link":`Añadir enlace a pie de página`,"Is external":`Es externo`,"Required field":`Campo obligatorio`,Footer:`Pie de página`,"Footer successfully updated":`Pie de página actualizado correctamente`,"Footer details":`Detalles del pie de página`,"Contact email":`Correo electrónico de contacto`,"Contact name":`Nombre de contacto`,Id:`Id`,"No users available":`No hay usuarios disponibles`,"Body fonts":`Fuentes Body`,"Headline font":`Fuente del titular`,Favicons:`Favicons`,"Use for all icons":`Utilizar para todos los iconos`,"You've reached the highest possible value.":`Has alcanzado el valor más alto posible`,"Invalid input":`Entrada no válida`,"The value must not be negative.":`El valor no debe ser negativo.`,Size:`Talla`,Source:`Fuente`,Subheadline:`Subtitular`,Description:`Descripción`,"Link Type":`Tipo de enlace`,"Attach block":`Fijar bloque`,"Existing Blocks":`Bloques existentes`,"Select existing blocks":`Seleccionar bloques existentes`,"New Block":`Nuevo bloque`,Blocks:`Bloquea`,"VisualGroup.content":`Contenido`,"VisualGroup.layout":`Diseño`,"BlockType.imageBlock":`Bloque de imágenes`,"BlockType.headlineBlock":`Bloque de titulares`,"BlockType.slateBlock":`Bloque de texto`,"BlockType.layoutRowBlock":`Bloque de filas`,"BlockType.iframeBlock":`Bloque iFrame`,"BlockType.countdownBlock":`Bloque de cuenta atrás`,"BlockType.cardBlock":`Bloque de tarjetas`,"BlockType.pageBlock":`Bloque de páginas`,"BlockType.sectionBlock":`Sección Bloque`,"BlockType.linkBlock":`Bloque de enlaces`,"BlockType.linkContainerBlock":`Bloque contenedor de enlace`,"BlockType.keyVisualBlock":`Bloque visual clave`,"BlockType.layoutBackgroundImageBlock":`Bloque de diseño de imagen de fondo`,"BlockType.accordionBlock":`Bloque de acordeón`,"LinkBlockType.page":`Bloque de páginas`,"LinkBlockType.drawer":`Cajón`,"LinkBlockType.internal":`Enlace interno`,"LinkBlockType.external":`Enlace externo`,"No Blocks have been added.":`No se han añadido Bloques.`,"Are you sure you want to delete this Block?":`¿Está seguro de que desea eliminar este Bloque?`,"Are you sure you want to remove this Block?":`¿Estás seguro de que quieres eliminar este Bloque?`,"Block type":`Tipo de bloque`,Block:`Bloque`,Button:`Botón`,Text:`Texto`,Label:`Etiqueta`,"Inherit Padding":`Heredar relleno`,Countdown:`Cuenta atrás`,Title:`TÃtulo`,Internal:`Interno`,External:`Exterior`,Drawer:`Cajón`,"Enable Slug":`Activar babosa`,Refresh:`Actualizar`,"Choose Block":`Elegir bloque`,"No blocks available":`No hay bloques disponibles`,ContentBlock:`Bloque de contenido`,"ContentBlock
4022was saved.":`Se ha guardado ContentBlock.`,"{{direction}} has to be between 0 and 50":`{{dirección}} tiene que estar entre 0 y 50`,Top:`Top`,Left:`Izquierda`,Right:`Derecha`,Bottom:`Fondo`,Gap:`Brecha`,Padding:`Acolchado`,"Background type":`Tipo de fondo`,"Background color":`Color de fondo`,"Import successfully started.":`Importación iniciada con éxito.`,Transparent:`Transparente`,Background:`Fondo`,Content:`Contenido`,Custom:`A medida`,"Add translation for this language":`Añadir traducción para este idioma`,Pages:`Páginas`,"No block available.":`No hay bloque disponible.`,"Delete block":`Borrar bloque`,"Preview block":`Vista previa del bloque`,"Add block":`Añadir bloque`,"Edit block":`Editar bloque`,"Export block":`Bloque de exportación`,"Import blocks":`Bloques de importación`,"Create page":`Crear página`,"Blocks Import":`Importación de bloques`,"The slug may only contain a-z, 0-9 and separating dashes.":`El slug sólo puede contener a-z, 0-9 y guiones de separación.`,"visualGroup.layout":`Diseño`,"visualGroup.content":`Contenido`,Mobile:`Móvil`,Tablet:`Tableta`,Desktop:`Escritorio`,"Large Desktop":`Escritorio grande`,Slug:`Babosa`,Columns:`Columnas`,Headline:`Titular`,Remove:`Eliminar`,"No users attached":`No hay usuarios adjuntos`,"Are you sure you want to remove this user from the role?":`¿Está seguro de que desea eliminar a este usuario del rol?`,"Remove user":`Eliminar usuario`,"User was successfully removed from the role."
4022:`El usuario ha sido eliminado correctamente del rol.`,"Role user":`Rol usuario`,"Attach users":`Adjuntar usuarios`,"Successfully attached to the role":`Vinculado con éxito al papel`,View:`Ver`,Create:`Cree`,"Show local time":`Mostrar hora local`,"Date time ({{timeZone}})":`Fecha y hora ({{timeZone}})`,"Add date time":`Añadir fecha hora`,"Date time format":`Formato de fecha y hora`,Timezone:`Zona horaria`,Details:`Detalles`,"Create role":`Crear rol`,Alerts:`Alertas`,"Prevent line breaks":`Evitar saltos de lÃnea`,"Close accordion":`Cerrar acordeón`,"Open accordion":`Acordeón abierto`,"This addon is not enabled.":`Este complemento no está activado.`,"Please speak to your project manager.":`Hable con su jefe de proyecto.`,"Please activate addon":`Por favor, active el addon`,'Hello Team DGS, I would like to activate the addon "{{addonName}}" in {{url}}. Please send me also an additional offer for this.':`Hola Equipo DGS, Me gustarÃa activar el addon "{{addonName}}" en {{url}}. Por favor, envÃenme también una oferta adicional para esto.`,"Contact us":`Póngase en contacto con nosotros`,"All aspect ratios":`Todas las relaciones de aspecto`,"Aspect ratio":`Relación de aspecto`,"Unknown aspect ratio":`Relación de aspecto desconocida`,Error:`Error`,"An error has occurred.":`Se ha producido un error.`,"Request too large":`Solicitud demasiado grande`,"Login with":`Iniciar sesión con`,Profile:`Perfil`,"Profile was saved.":`Se ha guardado el perfil.`,"Field is required":`Campo obligatorio`,"Upload avatar":`Subir avatar`,"First name":`Nombre`,"Last name":`Apellido`,Position:`Posición`,Company:`Empresa`,"Change password":`Cambiar contraseña`,Save:`Guardar`,"My profile":`Mi perfil`,Clear:`Claro`,"Discard changes":`Descartar cambios`,"Stay on page":`Permanezca en la página`,"You have not saved your changes. Do you really want to discard them?":`No ha guardado los cambios. ¿Realmente quiere descartarlos?`,"Font name":`Nombre de la fuente`,"Choose file":`Elegir archivo`,Regular:`Regular`,Bold:`Negrita`,Italic:`Cursiva`,"Bold italic":`Negrita cursiva`,Colors:`Colores`,"Color assistant":`Asistente de color`,"If you apply changes your custom changes to colors will be lost.":`Si aplica cambios, se perderán sus cambios personalizados de colores.`,Primary:`Principal`,Secondary:`Secundaria`,Apply:`Solicitar`,"Brand settings":`Ajustes de marca`,"Brand settings saved successfully.":`Ajustes de marca guardados correctamente.`,"This feature is only available if the frontend uses the DGS theme.":`Esta función sólo está disponible si el frontend utiliza el tema DGS.`,"Edit settings":`Editar ajustes`,Name:`Nombre`,Logo:`Logotipo`,Favicon:`Favicon`,Submit:`Enviar`,"Previous month":`Mes anterior`,Today:`Hoy`,"Next month":`Próximo mes`,"The password needs to be at least 12 characters long.":`La contraseña debe tener al menos 12 caracteres.`,"Passwords do not match":`Las contraseñas no coinciden`,"Password was successfully changed.":`La contraseña se ha cambiado correctamente.`,Password:`Contraseña`,"Old password":`Contraseña antigua`,"New password":`Nueva contraseña`,"Repeat password":`Repetir contraseña`,"Select a color":`Seleccione un color`,"Confirm image selection":`Confirmar selección de imagen`,Back:`Volver`,Confirm:`Confirme`,"More options":`Más opciones`,Days:`DÃas`,Hours:`Horas`,Min:`Min`,Sec:`Sec`,Add:`Añadir`,"Open column filter":`Filtro de columna abierta`,"Column filters":`Filtros de columna`,Reset:`Restablecer`,"Delete column filter":`Borrar filtro de columna`,Operator:`Operador`,"New column filter":`Nuevo filtro de columna`,"Choose column":`Elegir columna`,"Add column filter":`Añadir filtro de columna`,"Enable bulk edit":`Activar edición masiva`,"Deselect all":`Deseleccionar todo`,"Select all":`Seleccionar todo`,"item(s) selected":`elemento(s) seleccionado(s)`,"Disable bulk edit":`Desactivar edición masiva`,"Select current page":`Seleccionar la página actual`,Search:`Buscar en`,"Click for more information":`Más información`,"Search columns:":`Buscar columnas:`,sort:`ordenar`,"Previous interval":`Intervalo anterior`,"Next interval":`Siguiente intervalo`,"Previous day":`DÃa anterior`,"Next day":`DÃa siguiente`,Delete:`Borrar`,"Close drawer":`Cerrar cajón`,Status:`Estado`,"Created at":`Creado en`,Available:`Disponible`,"In progress":`En curso`,Failed:`Fallido`,"Deleted by deletion request":`Suprimido por solicitud de supresión`,"No exports.":`No hay exportaciones.`,Exports:`Exportaciones`,Export:`Exportar`,Download:`Descargar`,"Export was deleted.":`Se ha eliminado la exportación.`,Close:`Cerrar`,"Are you sure you want to delete this export?":`¿Está seguro de que desea eliminar esta exportación?`,File:`Archivo`,Public:`Público`,Path:`Ruta`,Files:`Archivos`,"No files available":`No hay archivos disponibles`,"Are you sure you want to delete this file?":`¿Está seguro de que desea eliminar este archivo?`,"Headline font name":`Nombre de la fuente del titular`,"Format headline":`Formato titular`,"Add hy
4022perlink":`Añadir hipervÃnculo`,Url:`Url`,"New tab":`Nueva pestaña`,"Add link":`Añadir enlace`,"There are validation errors in other languages of this form.":`Hay errores de validación en otros idiomas de este formulario.`,"Validation errors":`Errores de validación`,"Select option":`Seleccione una opción`,"Are you sure you want to delete this image?":`¿Seguro que quieres borrar esta imagen?`,Images:`Imágenes`,"Image was deleted.":`Se ha borrado la imagen.`,Image:`Imagen`,"Select an image":`Seleccione una imagen`,"Choose image...":`Elegir imagen...`,"Remove image":`Eliminar imagen`,"Image upload":`Carga de imágenes`,Upload:`Cargar`,"Choose image":`Elegir imagen`,"Delete image":`Borrar imagen`,"Wrong aspect ratio":`Relación de aspecto incorrecta`,"An export is created, please wait":`Se ha creado una exportación, espere`,"Upload was successful.":`La carga se ha realizado correctamente.`,Import:`Importar`,Open:`Abrir`,"Invalid email address":`Dirección de correo electrónico no válida`,Welcome:`Bienvenido`,Email:`Correo electrónico`,"Log in":`Conectarse`,Register:`RegÃstrese en`,Type:`Tipo`,"Select...":`Seleccione...`,Menu:`Menú`,"Create menu item":`Crear elemento de menú`,"The menu was successfully sorted.":`El menú se ha ordenado correctamente.`,Edit:`Editar`,"Edit menu item":`Editar elemento del menú`,"Delete menu item":`Borrar elemento del menú`,"Are you sure you want to delete this menu item?":`¿Seguro que quieres borrar esta opción del menú?`,"Close navigation sidebar":`Cerrar la barra lateral de navegación`,"Open navigation sidebar":`Abrir la barra lateral de navegación`,Logout:`Cierre de sesión`,"Not authorized":`No autorizado`,"Either your account is not connected to this application or you are not authorized to access this feature.":`O bien tu cuenta no está conectada a esta aplicación o no estás autorizado a acceder a esta función.`,"Move before":`Muévete antes`,"Move after":`Mover después de`,Cancel:`Cancelar`,Cut:`Corte`,of:`de`,"Previous page":`Página anterior`,"Next page":`Página siguiente`,"Forgot your password?":`¿Ha olvidado su contraseña?`,"Password reset":`Restablecer contraseña`,"The link has already been used or has expired.":`El enlace ya ha sido utilizado o ha caducado.`,Login:`Inicio de sesión`,"Request new link":`Solicitar nuevo enlace`,"Crop new image":`Recortar nueva imagen`,"You should receive an email with instructions to reset your password shortly.":`En breve recibirás un correo electrónico con instrucciones para restablecer tu contraseña.`,"Back to login":`Volver al inicio de sesión`,"Set your password":`Establezca su contraseña`,"Your new password needs to be at least 12 characters long.":`Tu nueva contraseña debe tener al menos 12 caracteres.`,"Confirm new password":`Confirmar nueva contraseña`,"Set password":`Establecer contraseña`,"At least one permission is required":`Se requiere al menos un permiso`,"No permissions available.":`No hay permisos disponibles.`,Permission:`Permiso`,Role:`Papel`,"Role was successfully created.":`La función se ha creado correctamente.`,"Role was successfully updated.":`La función se ha actualizado correctamente.`,"Role was successfully deleted.":`La función se ha eliminado correctamente.`,"Edit role":`Editar rol`,"Delete role":`Borrar rol`,"Are you sure you want to delete this role?":`¿Está seguro de que desea eliminar esta función?`,"Create tag":`Crear etiqueta`,"Edit tag":`Editar etiqueta`,Roles:`Funciones`,"No roles available":`No hay funciones disponibles`,"Rows per page":`Filas por página`,"No options available":`No hay opciones disponibles`,"Create {{option}}":`Crear {{opción}}`,"Add shortcut":`Añadir acceso directo`,"This feature is an addon.":`Esta función es un complemento.`,"Open menu":`Abrir menú`,"Close menu":`Cerrar menú`,"System messages":`Mensajes del sistema`,Color:`Color`,"Apply color":`Aplicar color`,"Time controlled content visibility":`Visibilidad de contenidos controlada en el tiempo`,"Preview type":`Tipo de vista previa`,Underline:`Subraye`,Subscript:`SubÃndice`,Superscript:`SuperÃndice`,"Align left":`Alinear a la izquierda`,"Align center":`Alinear al centro`,"Align right":`Alinear a la derecha`,"Numbered list":`Lista numerada`,"Bulleted list":`Lista con viñetas`,"Save file":`Guardar archivo`,"File was deleted.":`Se ha borrado el archivo.`,"Delete file":`Eliminar archivo`,"Could not delete file.":`No se ha podido eliminar el archivo.`,"Invalid date":`Fecha no válida`,"Your selection is under {{pixel}}px wide and may not display optimally. Please select a larger area if possible.":`Su selección tiene menos de {{pixel}}px de ancho y puede que no se muestre de forma óptima. Por favor, seleccione un área más grande si es posible.`,"The selected image is under {{pixel}}px wide and may not display optimally. Please use a larger image if possible.":`La imagen seleccionad
4022a tiene menos de {{pixel}}px de ancho y puede que no se muestre de forma óptima. Por favor, utilice una imagen más grande si es posible.`,Users:`Usuarios`,User:`Usuario`,"File upload":`Carga de archivos`,"File was uploaded.":`Se ha cargado el archivo.`,"Uploaded {{uploaded}} of {{total}}":`Subido {{uploaded}} de {{total}}`,"New version available":`Nueva versión disponible`,"The page must be reloaded to use the latest version and avoid possible errors.":`La página debe recargarse para usar la última versión y evitar posibles errores.`,"Reload now":`Recargar ahora`,"Version {{version}}":`Versión {{version}}`,"Copy to clipboard":`Copiar al portapapeles`,"Copied to clipboard":`Copiado al portapapeles`},cKe={"Only logged-in users can access this file.":`Vain kirjautuneet käyttäjät voivat käyttää tätä tiedostoa.`,"Anyone with the link can access this file.":`Kuka tahansa, jolla on linkki, voi käyttää tätä tiedostoa.`,"Access permission":`Käyttöoikeus`,"Use compact display":`Käytä tiivistettyä näkymää`,parents_one:`Ylälohko`,parents_other:`Ylälohkot`,entities_one:`Lohko entiteettinä`,entities_other:`Lohkot entiteetteinä`,"Uploaded at":`Lähetetty`,"{{count}} blocks are missing required data.other":`{{count}} lohkolta puuttuu pakollisia tietoja.`,"{{count}} blocks are missing required data._one":`Yhdeltä lohkolta puuttuu pakollisia tietoja.`,"This block is missing some entities.":`Tästä lohkosta puuttuu joitakin kokonaisuuksia.`,"BlockType.dividerBlock":`Erotinlohko`,"Line style":`Viivatyyli`,Solid:`Yhtenäinen`,Dashed:`Katkoviiva`,Dotted:`Pisteviiva`,"Line color":`Viivan väri`,"Is required":`Vaaditaan`,"Icon file (SVG)":`Kuvaketiedosto (SVG)`,"BlockType.cardLayoutBlock":`Kortin asettelulohko`,"BlockType.iconBlock":`Kuvakkeen lohko`,"The file must be an SVG.":`Tiedoston on oltava SVG.`,"Star rating (1-5)":`Tähtiluokitus (1-5)`,"Rating scale (1-10)":`Arviointiasteikko (1-10)`,"LinkBlockType.file":`Tiedosto`,"When duplicating, you can either reuse the existing children (changes will affect all places where they are used) or create duplicates (changes will be independent). Please choose how to proceed.":`Kopioidessasi voit joko käyttää uudelleen olemassa olevia alielementtejä (muutokset vaikuttavat kaikkiin paikkoihin, joissa niitä käytetään) tai luoda kopioita (muutokset ovat riippumattomia). Valitse, miten haluat jatkaa.`,"This block will be duplicated because you chose to duplicate at least one of its child elements.":`Tämä lohko kopioidaan, koska valitsit kopioida vähintään yhden sen alielementistä.`,"{{count}} Usages_other":`{{count}} Käyttötarkoitukset`,"{{count}} Usages_one":`{{count}} Käyttö`,Reuse:`Uudelleenkäyttö`,Duplicate:`Kopioi`,"Duplicate block":`Kaksoiskappaleen estäminen`,"The weighting of questions is applied to calculate the overall score.":`Kysymysten painotusta sovelletaan kokonaispistemäärän laskemiseen.`,"The weight field must be an integer between 0 and 100.":`Painokentän on oltava kokonaisluku välillä 0â100.`,Weight:`Paino`,Average:`Keskiarvo`,Sum:`Summa`,Median:`Mediaani`,Count:`Lukumäärä`,Number:`Numero`,"The export cannot be imported. The version of the export is not supported.":`Vientiä ei voi tuoda. Viennin versio ei ole tuettu.`,"Invalid value":`Virheellinen arvo`,"Next step":`Seuraava vaihe`,"At least one answer option has to be given.":`Vähintään yksi vastausvaihtoehto on annettava.`,"Question evaluation":`Kysymyksen arviointi`,"Update feedback question":`Päivitä palautekysymys`,"Create feedback question":`Luo palautekysymys`,"No questions available.":`Kysymyksiä ei ole saatavilla.`,"Discard language":`Hylkää kieli`,"Thank you for submitting feedback!":`Kiitos palautteen antamisesta!`,"Not available":`Ei saatavilla`,"Feedback is only available for users who are logged-in.":`Palaute on käytettävissä vain kirjautuneille käyttäjille.`,"BlockType.feedbackBlock":`Palautetta`,"Your feedback has been submitted.":`Palautteesi on lähetetty.`,"Login background":`Kirjautumisen tausta`,"Login background was successfully saved.":`Kirjautumisen tausta tallennettiin onnistuneesti.`,"Admin image":`Ylläpitäjän kuva`,"Frontend image":`Frontend-kuva`,"Keep it short, usually 1-2 sentences. Donât overthink it.":`Pidä se lyhyenä, yleensä 1-2 lausetta. Ãlä mieti sitä liikaa.`,"Consider key elements of why you chose this image, instead of describing every little detail.":`Pohdi keskeisiä tekijöitä, miksi valitsit tämän kuvan, sen sijaan että kuvailisit jokaista pientä yksityiskohtaa.`,"No need to say âimage ofâ or âpicture ofâ â the screen reader recognizes this itself.":`Ei tarvitse sanoa "image of" tai "picture of" - ruudunlukuohjelma tunnistaa tämän itse.`,"But, do say if itâs a logo, illustration, painting, or cartoon.":`Kerro kuitenkin, onko kyseessä logo, kuvitus, maalaus vai sarjakuva.`,"Donât duplicate text thatâs adjacent in the document or website.":`Ãlä kopioi asiakirjassa tai verkkosivustolla vierekkäin olevaa tekstiä.`,"End the ALT text sentence with a period â this makes it sound more natural for reading programs.":`Lopeta ALT-tekstin lause pisteeseen - tämä saa sen kuulostamaan luontevammalta lukuohjelmissa.`,"A descriptive ALT text makes your content more inclusive and visible.":`Kuvaava ALT-teksti tekee sisällöstäsi osallistavampaa ja näkyvämpää.`,"Alternative Text (ALT Text)":`Vaihtoehtoinen teksti (ALT-teksti)`,"Please wait for the upload to finish.":`Odota, että lataus päättyy.`,"{{count}} Stars_other":`{{count}} Tähdet`,"{{count}}
4022 Stars_one":`{{count}} Tähti`,"{{amount}} out of {{total}}":`{{amount}} pois {{total}}`,"Average rating":`Keskimääräinen luokitus`,"Choose a question":`Valitse kysymys`,"Feedback has been reset.":`Palaute on nollattu.`,"Number of participants":`Osallistujien määrä`,"Reset feedback":`Nollaa palaute`,"Are you sure you want to reset this feedback?":`Haluatko varmasti nollata tämän palautteen?`,Question:`Kysymys`,"This question has not been answered yet.":`Tähän kysymykseen ei ole vielä vastattu.`,"Unknown answer option":`Tuntematon vastausvaihtoehto`,"Number of questions":`Kysymysten määrä`,"Feedback question was deleted.":`Palautekysymys poistettiin.`,"Feedback question was saved.":`Palautekysymys tallennettiin.`,"Free text":`Vapaa teksti`,"Multiple choice":`Monivalinta`,"Single choice":`Yksi valinta`,"Are you sure you want to delete this feedback question?":`Haluatko varmasti poistaa tämän palautekysymyksen?`,Questions:`Kysymykset`,"Add answer option":`Lisää vastausvaihtoehto`,"Delete answer option":`Poista vastausvaihtoehto`,"Answer options":`Vastausvaihtoehdot`,"Feedback question":`Palautekysymys`,"Successfully sorted.":`Onnistuneesti lajiteltu.`,"Are you sure you want to delete this feedback?":`Haluatko varmasti poistaa tämän palautteen?`,"No feedback available.":`Palautetta ei ole saatavilla.`,"Feedback was created.":`Palautetta luotiin.`,"Feedback was updated.":`Palautetta päivitettiin.`,"Feedback was deleted.":`Palautetta poistettiin.`,"Delete feedback":`Poista palaute`,"Edit feedback":`Muokkaa palautetta`,"Add feedback":`Lisää palaute`,Feedback:`Palautetta`,"This role is the default, do you want to delete it anyway?":`Tämä rooli on oletusarvoinen. Haluatko silti poistaa sen?`,"Button color":`Napin väri`,"The picture carousel automatically switches to the next picture after a certain time.":`Kuvakaruselli siirtyy automaattisesti seuraavaan kuvaan tietyn ajan kuluttua.`,"When the last image is reached, the image carousel automatically jumps back to the first image.":`Kun viimeinen kuva saavutetaan, karuselli palaa automaattisesti ensimmäiseen kuvaan.`,"Activate navigation points":`Ota navigointipisteet käyttöön`,"Small dots below the image carousel show the number of images and allow you to jump directly to a specific image.":`Pienet pisteet kuvakarusellin alla näyttävät kuvien määrän ja mahdollistavat siirtymisen tiettyyn kuvaan.`,"Selected images":`Valitut kuvat`,"blockSubmitButton.save":`Tallenna`,"When enabled, the tabs are left-aligned and horizontally scrollable if there is not enough space. When disabled, they are evenly distributed across the entire width.":`Kun käytössä, välilehdet ovat vasemmalle tasattuja ja vaakasuunnassa vieritettävissä, jos tila ei riitä. Kun pois käytöstä, ne jakautuvat tasaisesti koko leveydelle.`,"The file type is not supported.":`Tiedostotyyppiä ei tueta.`,"Export settings saved successfully.":`Vientiasetusten tallennus onnistui.`,"Export settings":`Vientiasetukset`,"Date format":`Päivämäärän muoto`,"Year-Month-Day":`Vuosi-Kuukausi-Päivä`,"Day.Month.Year":`Päivä.Kuukausi.Vuosi`,"Month/Day/Year":`Kuukausi/Päivä/Vuosi`,"Iso-8601 format with timezone":`Iso-8601-muoto aikavyöhykkeellä`,"Year-Month-Day, 24 hour UTC time format":`Vuosi-Kuukausi-Päivä, 24 tunnin UTC-aikamuoto`,"Day.Month.Year, 24 hour time format":`Päivä.Kuukausi.Vuosi, 24 tunnin aikamuoto`,"Month/Day/Year, 12 hour time format":`Kuukausi/Päivä/Vuosi, 12 tunnin aikamuoto`,"24 hour time format":`24 tunnin aikamuoto`,"12 hour time format":`12 tunnin aikamuoto`,"Time format":`Ajan muoto`,"Unknown format":`Tuntematon muoto`,Usages:`Käyttökohteet`,"This block is being used {{amount}} times. Click <OpenDrawerButton>here</OpenDrawerButton> to see the usages.":`Tätä lohkoa käytetään {{amount}} kertaa. Klikkaa <OpenDrawerButton>tästä</OpenDrawerButton> nähdäksesi käyttökohteet.`,"The error happened on:":`Virhe tapahtui:`,"Is scrollable":`Vieritettävissä`,PAGE:`Sivu`,CATEGORY:`Kategoria`,EXTERNAL_NEW_TAB:`Ulkoinen (uusi välilehti)`,EXTERNAL:`Ulkoinen`,INTERNAL:`Sisäinen`,"Invalid URL format: The URL must start with https://.":`Virheellinen URL-muoto: URL:n on alettava https://.`,"The footer links are sorted.":`Alatunnisteen linkit on lajiteltu.`,"Create footer link":`Luo alatunnisteen linkki`,"Mute audio":`Mykistä ääni`,"Play in loop":`Toista silmukassa`,"Show controls":`Näytä ohjaimet`,Autoplay:`Automaattinen toisto`,"BlockType.videoBlock":`Video`,"BlockType.imageGalleryBlock":`GalerÃa de imágene`,"No images selected.":`No hay imágenes seleccionad
4022as.`,"Show shadow":`Näytä varjo`,"Show bottom border":`Näytä alareunan raja`,"Bottom border color":`Alareunan väriraja`,"Color schema":`Värikaavio`,"Show title":`Näytä otsikko`,Date:`Date`,"Show seconds":`Näytä sekunnit`,"Title position":`Otsikon sijainti`,Above:`Above`,Below:`Below`,"Vertical alignment":`Pystysuora kohdistus`,"CountdownBlock.Start":`Start`,"CountdownBlock.Center":`Center`,"CountdownBlock.End":`End`,"Text color":`Tekstin väri`,"Background gradient":`Taustan kaltevuus`,"Gradient start color":`Gradientin aloitusväri`,"Gradient end color":`Gradientin loppuväri`,Center:`Center`,"Text alignment":`Tekstin kohdistus`,"Enable arrow navigation":`Ota käyttöön nuolinavigointi`,"Display image progress with dots":`Näytä kuvien edistyminen pisteillä`,"The display duration must be greater than zero.":`Näyttöajan on oltava suurempi kuin nolla.`,"Enable autoplay":`Ota automaattinen toisto käyttöön`,"Display duration of image in seconds":`Näytä kuvan kesto sekunneissa`,"Loop animation":`Silmukka-animaatio`,"BlockType.imageCarouselBlock":`Kuvakarusellilohko`,Drag:`Vedä`,"Will be visible on marker click.":`Tulee näkyviin merkin napsauttamisen yhteydessä.`,small:`pieni`,medium:`medium`,large:`suuri`,"Add {{ blockName }}":`Lisää {{ blockName }}`,Latitude:`Leveysaste`,Longitude:`Pituusaste`,"BlockType.mapsBlock":`Maps block`,"BlockType.mapMarkerBlock":`Karttamerkki block`,"To add or remove map markers use the preview for this maps block.":`Voit lisätä tai poistaa karttamerkkejä tämän karttalohkon esikatselun avulla.`,"BlockType.tabBlock":`Välilehti Lohko`,"BlockType.tabContainerBlock":`Välilehti Container Block`,"The total of all column widths must be smaller than 100%":`Kaikkien sarakkeiden kokonaisleveyden on oltava pienempi kuin 100 %.`,"Add {{breakpoint}}":`Lisää {{breakpoint}}`,"Amount of columns":`Sarakkeiden määrä`,"Advanced layout":`Edistynyt asettelu`,"{{number}}. column width (in %)":`{{number}}. sarakkeen leveys (%)`,"Reverse block order":`Käännä lohkojärjestys päinvastaiseksi`,Preview:`Esikatselu`,"BlockType.gridLayoutColumnBlock":`Ruudukon sarakelohko`,"Default Collapsed":`Oletusarvoisesti suljettu`,"The title is displayed in the browser tab.":`Otsikko näkyy selaimen välilehdessä.`,"The label is displayed in the browser tab.":`Merkintä näkyy selaimen välilehdessä.`,"Fit to page width":`Sovita sivun leveyteen`,"Delete {{modelName}}":`Poista {{modelName}}`,"The deletion is being prevented by the following connections:_one":`Poiston estää seuraava yhteys:`,"The deletion is being prevented by the following connections:_other":`Seuraavat yhteydet estävät poistamisen:`,"With the deletion the following connections will be removed:_one":`Poistamisen yhteydessä poistetaan seuraava yhteys:`,"With the deletion the following connections will be removed:_other":`Poistamisen myötä seuraavat yhteydet poistetaan:`,"The page you are looking for doesn't exist.":`Etsimääsi sivua ei ole olemassa.`,"You may have mistyped the address or the page was moved.":`Olet ehkä kirjoittanut osoitteen väärin tai sivu on siirretty.`,"Invalid code":`Virheellinen koodi`,Code:`Koodi`,Next:`Seuraava`,"sign in":`Kirjaudu sisään`,"Enter password":`Syötä salasana`,"Sign in":`Kirjaudu sisään`,Verify:`Vahvista`,minutes:`Pöytäkirja`,seconds:`Seconds`,"The code is valid for {{timeout}} {{unit}}.":`Koodi on voimassa {{timeout}} {{unit}}.`,"Your account is blocked":`Tilisi on estetty`,"Email send":`Lähetä sähköposti`,"An email with a new code has been send.":`Sähköposti, jossa on uusi ko
4022odi, on lähetetty.`,"Resend email":`Lähetä sähköposti uudelleen`,"Please enter the 6-digit security code you received by {{method}}.":`Syötä 6-numeroinen turvakoodi, jonka sait {{method}}.`,"twoFactorAuthMethod.EMAIL":`Email`,"Max. {{size}} MB file size":`Maks. {{size}} MB tiedostokoko`,"Session was successfully revoked.":`Istunto peruutettiin onnistuneesti.`,"No authenticated sessions available.":`Tunnistettuja istuntoja ei ole käytettävissä.`,"It can take up to 60 minutes before the session will be logged out.":`Voi kestää jopa 60 minuuttia, ennen kuin istunto kirjautuu ulos.`,"Are you sure you want to revoke this session?":`Oletko varma, että haluat peruuttaa tämän istunnon?`,"Revoke session":`Peruuta istunto`,Revoke:`Peruuta`,"Device identifier":`Laitteen tunniste`,"Authenticated sessions":`Tunnistetut istunnot`,"Your message has been successfully received.":`Viestisi on vastaanotettu onnistuneesti.`,Send:`Lähetä`,Message:`Viesti`,Subject:`Aihe`,Support:`Tuki`,"Contact our support":`Ota yhteyttä tukeen`,"Open guide":`Avaa opas`,"Open help":`Avaa ohje`,"Unknown server error":`Tuntematon palvelimen virhe`,"Too many login attempts. Try again in {{timeout}} minutes.":`Liian monta kirjautumisyritystä. Yritä uudelleen {{timeout}} minuutin kuluttua.`,"Yesterday, at {{time}}":`Eilen, klo {{time}}`,"Company name":`Yrityksen nimi`,"Contact phone number":`Yhteyshenkilön puhelinnumero`,"Read only":`Vain luku`,Links:`Linkit`,"Footer link was deleted.":`Footer-linkki poistettiin.`,"Footer link was saved.":`Alatunnisteen linkki tallennettiin.`,"Are you sure you want to delete this footer link?":`Haluatko varmasti poistaa tämän alatunnisteen linkin?`,"Footer link":`Footer link`,"Footer links":`Alatunnisteen linkit`,"No footer links available.":`Ei saatavilla olevia alatunnisteen linkkejä.`,"Delete footer link":`Poista alatunnisteen linkki`,"Edit footer link":`Muokkaa alatunnisteen linkkiä`,"Add footer link":`Lisää alatunnisteen linkki`,"Is external":`On ulkoinen`,"Required field":`Pakollinen kenttä`,Footer:`Footer`,"Footer successfully updated":`Alatunniste päivitetty onnistuneesti`,"Footer details":`Alatunnisteen tiedot`,"Contact email":`Yhteyshenkilön sähköpostiosoite`,"Contact name":`Yhteyshenkilön nimi`,Id:`Id`,"No users available":`Käyttäjiä ei ole saatavilla`,"Body fonts":`Body-fontit`,"Headline font":`Otsikon fontti`,Favicons:`Favicons`,"Use for all icons":`Käytä kaikille kuvakkeille`,"You've reached the highest possible value.":`Olet saavuttanut suurimman mahdollisen arvon.`,"Invalid input":`Virheellinen syöttö`,"The value must not be negative.":`Arvo ei saa olla negatiivinen.`,Size:`Koko`,Source:`Lähde`,Subheadline:`Alaotsikko`,Description:`Kuvaus`,"Link Type":`Linkin tyyppi`,"Attach block":`Kiinnitä lohko`,"Existing Blocks":`Olemassa olevat lohkot`,"Select existing blocks":`Valitse olemassa olevat lohkot`,"New Block":`Uusi kortteli`,Blocks:`Lohkot`,"VisualGroup.content":`Sisältö`,"VisualGroup.layout":`Asettelu`,"BlockType.imageBlock":`Image Block`,"BlockType.headlineBlock":`Otsikkolohko`,"BlockType.slateBlock":`Tekstilohko`,"BlockType.layoutRowBlock":`Rivin lohko`,"BlockType.iframeBlock":`iFrame-lohko`,"BlockType.countdownBlock":`Lähtölaskenta`,"BlockType.cardBlock":`Korttilohko`,"BlockType.pageBlock":`Sivulohko`,"BlockType.sectionBlock":`Lohko-osio`,"BlockType.linkBlock":`Linkki lohko`,"BlockType.linkContainerBlock":`Linkki Container Block`,"BlockType.keyVisualBlock":`Key Visual Block`,"BlockType.layoutBackgroundImageBlock":`Taustakuvan asettelulohko`,"BlockType.accordionBlock":`Haitarilohko`,"LinkBlockType.page":`Sivulohko`,"LinkBlockType.drawer":`L
4022aatikko`,"LinkBlockType.internal":`Sisäinen linkki`,"LinkBlockType.external":`Ulkoinen linkki`,"No Blocks have been added.":`Lohkoja ei ole lisätty.`,"Are you sure you want to delete this Block?":`Haluatko varmasti poistaa tämän lohkon?`,"Are you sure you want to remove this Block?":`Haluatko varmasti poistaa tämän eston?`,"Block type":`Lohkon tyyppi`,Block:`Lohko`,Button:`Nappi`,Text:`Teksti`,Label:`Tarra`,"Inherit Padding":`Peritty pehmuste`,Countdown:`Lähtölaskenta`,Title:`Otsikko`,Internal:`Sisäinen`,External:`Ulkoinen`,Drawer:`Laatikko`,"Enable Slug":`Ota Slug käyttöön`,Refresh:`Päivitä`,"Choose Block":`Valitse lohko`,"No blocks available":`Lohkoja ei ole saatavilla`,ContentBlock:`ContentBlock`,"ContentBlock was saved.":`ContentBlock tallennettiin.`,"{{direction}} has to be between 0 and 50":`{{direction}} on oltava 0 ja 50 välillä...`,Top:`Top`,Left:`Vasen`,Right:`Oikea`,Bottom:`Pohja`,Gap:`Gap`,Padding:`Pehmuste`,"Background type":`Taustatyyppi`,"Background color":`Taustan väri`,"Import successfully started.":`Tuonti aloitettu onnistuneesti.`,Transparent:`Läpinäkyvä`,Background:`Tausta`,Content:`Sisältö`,Custom:`Custom`,"Add translation for this language":`Lisää käännös tälle kielelle`,Pages:`Sivut`,"No block available.":`Lohkoa ei ole saatavilla.`,"Delete block":`Poista lohko`,"Preview block":`Esikatselulohko`,"Add block":`Lisää lohko`,"Edit block":`Muokkaa lohkoa`,"Export block":`Vientilohko`,"Import blocks":`Tuo lohkoja`,"Create page":`Luo sivu`,"Blocks Import":`Lohkojen tuonti`,"The slug may only contain a-z, 0-9 and separating dashes.":`Slug saa sisältää vain a-z, 0-9 ja väliviivoja.`,"visualGroup.layout":`Asettelu`,"visualGroup.content":`Sisältö`,Mobile:`Mobiili`,Tablet:`Tabletti`,Desktop:`Työpöytä`,"Large Desktop":`Suuri työpöytä`,Slug:`Etana`,Columns:`Sarakkeet`,Headline:`Otsikko`,Remove:`Poista`,"No users attached":`Käyttäjiä ei ole liitetty`,"Are you sure you want to remove this user from the role?":`Oletko varma, että haluat poistaa tämän käyttäjän roolista?`,"Remove user":`Poista käyttäjä`,"User was successfully removed from the role."
4022:`Käyttäjä poistettiin onnistuneesti roolista.`,"Role user":`Rooli käyttäjä`,"Attach users":`Liitä käyttäjät`,"Successfully attached to the role":`Onnistunut kiinnittyminen tehtävään`,View:`Näytä`,Create:`Luo`,"Show local time":`Näytä paikallinen aika`,"Date time ({{timeZone}})":`Päivämäärän kellonaika ({{timeZone}})`,"Add date time":`Lisää päivämäärä kellonaika`,"Date time format":`Päivämäärän aikaformaatti`,Timezone:`Aikavyöhyke`,Details:`Yksityiskohdat`,"Create role":`Luo rooli`,Alerts:`Hälytykset`,"Prevent line breaks":`Estää rivinvaihdot`,"Close accordion":`Sulje harmonikka`,"Open accordion":`Avaa harmonikka`,"This addon is not enabled.":`Tämä lisäosa ei ole käytössä.`,"Please speak to your project manager.":`Ota yhteyttä projektipäällikköösi.`,"Please activate addon":`Aktivoi lisäosa`,'Hello Team DGS, I would like to activate the addon "{{addonName}}" in {{url}}. Please send me also an additional offer for this.':`Hei Team DGS, Haluaisin aktivoida lisäosan "{{addonName}}" {{url}}:ssä. Lähettäkää minulle myös lisätarjous tästä.`,"Contact us":`Ota yhteyttä`,"All aspect ratios":`Kaikki kuvasuhteet`,"Aspect ratio":`Kuvasuhde`,"Unknown aspect ratio":`Tuntematon kuvasuhde`,Error:`Virhe`,"An error has occurred.":`On tapahtunut virhe.`,"Request too large":`Pyyntö liian suuri`,"Login with":`Kirjaudu sisään`,Profile:`Profiili`,"Profile was saved.":`Profiili tallennettiin.`,"Field is required":`Kenttä on pakollinen`,"Upload avatar":`Lataa avatar`,"First name":`Etunimi`,"Last name":`Sukunimi`,Position:`Asema`,Company:`Yritys`,"Change password":`Vaihda salasana`,Save:`Tallenna`,"My profile":`Profiilini`,Clear:`Kirkas`,"Discard changes":`Hylkää muutokset`,"Stay on page":`Pysy sivulla`,"You have not saved your changes. Do you really want to discard them?":`Et ole tallentanut muutoksia. Haluatko todella hylätä ne?`,"Font name":`Fontin nimi`,"Choose file":`Valitse tiedosto`,Regular:`Säännöllinen`,Bold:`Rohkea`,Italic:`Kursivoitu`,"Bold italic":`Lihavoitu kursivoitu`,Colors:`Värit`,"Color assistant":`Väriassistentti`,"If you apply changes your custom changes to colors will be lost.":`Jos sovellat muutoksia, mukautetut värimuutokset menetetään.`,Primary:`Ensisijainen`,Secondary:`Toissijainen`,Apply:`Hae`,"Brand settings":`Merkkiasetukset`,"Brand settings saved successfully.":`Tuotemerkin asetukset tallennettu onnistuneesti.`,"This feature is only available if the frontend uses the DGS theme.":`Tämä ominaisuus on käytettävissä vain, jos etusivu käyttää DGS-teemaa.`,"Edit settings":`Muokkaa asetuksia`,Name:`Nimi`,Logo:`Logo`,Favicon:`Favicon`,Submit:`Lähetä`,"Previous month":`Edellinen kuukausi`,Today:`Tänään`,"Next month":`Ensi kuussa`,"The password needs to be at least 12 characters long.":`Salasanan on oltava vähintään 12 merkkiä pitkä.`,"Passwords do not match":`Salasanat eivät täsmää`,"Password was successfully changed.":`Salasana vaihdettiin onnistuneesti.`,Password:`Salasana`,"Old password":`Vanha salasana`,"New password":`Uusi salasana`,"Repeat password":`Toista salasana`,"Select a color":`Valitse väri`,"Confirm image selection":`Vahvista kuvan valinta`,Back:`Takaisin`,Confirm:`Vahvista`,"More options":`Lisää vaihtoehtoja`,Days:`Päivät`,Hours:`Tunnit`,Min:`Min`,Sec:`Sec`,Add:`Lisää`,"Open column filter":`Avaa sarakkeen suodatin`,"Column filters":`Sarakkeen suodattimet`,Reset:`Nollaa`,"Delete column filter":`Poista sarakkeen suodatin`,Operator:`Operaattori`,"New column filter":`Uusi sarakesuodatin`,"Choose column":`Valitse sarake`,"Add column filter":`Lisää sarakesuodatin`,"Enable bulk edit":`Ota käyttöön massamuokkaus`,"Deselect all":`Poista kaikki valinnat`,"Select all":`Valitse kaikki`,"item(s) selected":`valittu tuote(t)`,"Disable bulk edit":`Poista irtomuokkaus käytöstä`,"Select current page":`Valitse nykyinen sivu`,Search:`Etsi`,"Click for more information":`Klikkaa lisätietoja`,"Search columns:":`Haettuja sarakkeita:`,sort:`lajittele`,"Previous interval":`Edellinen väli`,"Next interval":`Seuraava väli`,"Previous day":`Edellinen päivä`,"Next day":`Seuraava päivä`,Delete:`Poista`,"Close drawer":`Sulje laatikko`,Status:`Tila`,"Created at":`Luotu osoitteessa`,Available:`Saatavilla`,"In progress":`Käynnissä`,Failed:`Epäonnistunut`,"Deleted by deletion request":`Poistettu poistopyynnöstä`,"No exports.":`Ei vientiä.`,Exports:`Vienti`,Export:`Vie`,Download:`Lataa`,"Export was deleted.":`Vienti poistettiin.`,Close:`Sulje`,"Are you sure you want to delete this export?":`Haluatko varmasti poistaa tämän viennin?`,File:`Tiedosto`,Public:`Julkinen`,Path:`Polku`,Files:`Tiedostot`,"No files available":`Tiedostoja ei ole saatavilla`,"Are you sure you want to delete this file?":`Haluatko varmasti poistaa tämän tiedoston?`,"Headline font name":`Otsikon fontin nimi`,"Format headline":`Muotoile otsikko`,"Add hy
4022perlink":`Lisää hyperlinkki`,Url:`Url`,"New tab":`Uusi välilehti`,"Add link":`Lisää linkki`,"There are validation errors in other languages of this form.":`Lomakkeen muilla kielillä on validointivirheitä.`,"Validation errors":`Validointivirheet`,"Select option":`Valitse vaihtoehto`,"Are you sure you want to delete this image?":`Haluatko varmasti poistaa tämän kuvan?`,Images:`Kuvat`,"Image was deleted.":`Kuva poistettiin.`,Image:`Kuva`,"Select an image":`Valitse kuva`,"Choose image...":`Valitse kuva...`,"Remove image":`Poista kuva`,"Image upload":`Kuvan lataaminen`,Upload:`Lataa`,"Choose image":`Valitse kuva`,"Delete image":`Poista kuva`,"Wrong aspect ratio":`Väärä kuvasuhde`,"An export is created, please wait":`Vienti on luotu, odota`,"Upload was successful.":`Lataus onnistui.`,Import:`Tuo`,Open:`Avaa`,"Invalid email address":`Virheellinen sähköpostiosoite`,Welcome:`Tervetuloa`,Email:`Sähköposti`,"Log in":`Kirjaudu sisään`,Register:`Rekisteröi`,Type:`Tyyppi`,"Select...":`Valitse...`,Menu:`Valikko`,"Create menu item":`Luo valikkokohta`,"The menu was successfully sorted.":`Valikko lajiteltiin onnistuneesti.`,Edit:`Muokkaa`,"Edit menu item":`Muokkaa-valikon kohta`,"Delete menu item":`Poista valikkokohta`,"Are you sure you want to delete this menu item?":`Haluatko varmasti poistaa tämän valikkokohdan?`,"Close navigation sidebar":`Sulje navigoinnin sivupalkki`,"Open navigation sidebar":`Avaa navigoinnin sivupalkki`,Logout:`Kirjaudu ulos`,"Not authorized":`Ei sallittu`,"Either your account is not connected to this application or you are not authorized to access this feature.":`Joko tilisi ei ole yhteydessä tähän sovellukseen tai sinulla ei ole valtuuksia käyttää tätä toimintoa.`,"Move before":`Siirry ennen`,"Move after":`Siirry sen jälkeen`,Cancel:`Peruuta`,Cut:`Leikkaa`,of:`of`,"Previous page":`Edellinen sivu`,"Next page":`Seuraava sivu`,"Forgot your password?":`Unohditko salasanasi?`,"Password reset":`Salasanan palautus`,"The link has already been used or has expired.":`Linkki on jo käytetty tai sen voimassaolo on päättynyt.`,Login:`Kirjaudu sisään`,"Request new link":`Pyydä uusi linkki`,"Crop new image":`Uuden kuvan rajaaminen`,"You should receive an email with instructions to reset your password shortly.":`Saat pian sähköpostiviestin, jossa on ohjeet salasanasi palauttamiseksi.`,"Back to login":`Takaisin kirjautumiseen`,"Set your password":`Aseta salasanasi`,"Your new password needs to be at least 12 characters long.":`Uuden salasanasi on oltava vähintään 12 merkkiä pitkä.`,"Confirm new password":`Vahvista uusi salasana`,"Set password":`Aseta salasana`,"At least one permission is required":`Vähintään yksi lupa vaaditaan`,"No permissions available.":`Lupia ei ole saatavilla.`,Permission:`Lupa`,Role:`Rooli`,"Role was successfully created.":`Rooli luotiin onnistuneesti.`,"Role was successfully updated.":`Rooli päivitettiin onnistuneesti.`,"Role was successfully deleted.":`Rooli poistettiin onnistuneesti.`,"Edit role":`Muokkaa roolia`,"Delete role":`Poista rooli`,"Are you sure you want to delete this role?":`Haluatko varmasti poistaa tämän roolin?`,"Create tag":`Luo tunniste`,"Edit tag":`Muokkaa tagia`,Roles:`Roolit`,"No roles available":`Ei käytettävissä olevia rooleja`,"Rows per page":`Rivit per sivu`,"No options available":`Vaihtoehtoja ei ole saatavilla`,"Create {{option}}":`Luo {{valinta}}`,"Add shortcut":`Lisää pikakuvake`,"This feature is an addon.":`Tämä ominaisuus on lisäosa.`,"Open menu":`Avaa valikko`,"Close menu":`Sulje valikko`,"System messages":`Järjestelmän viestit`,Color:`Väri`,"Apply color":`Levitä väriä`,"Time controlled content visibility":`Aikaohjattu sisällön näkyvyys`,"Preview type":`Esikatselutyyppi`,Underline:`Alleviivaa`,Subscript:`Alaindeksi`,Superscript:`Ylinumero`,"Align left":`Kohdista vasemmalle`,"Align center":`Kohdista keskelle`,"Align right":`Kohdista oikealle`,"Numbered list":`Numeroitu luettelo`,"Bulleted list":`Luettelo`,"Save file":`Tallenna tiedosto`,"File was deleted.":`Tiedosto poistettiin.`,"Delete file":`Poista tiedosto`,"Could not delete file.":`Tiedostoa ei voitu poistaa.`,"Invalid date":`Virheellinen päivämäärä`,"Your selection is under {{pixel}}px wide and may not display optimally. Please select a larger area if possible.":`Valintasi on alle {{pixel}}px leveä, eikä se välttämättä näy optimaalisesti. Valitse suurempi alue, jos mahdollista.`,"The selected image is under {{pixel}}px wide and may not display optimally. Please use a larger image if possible.":`Valittu kuva on alle {{pixel}} pikseliä} pikseliä leveä, eikä se ehkä näy optimaalisesti. Käytä suurempaa kuvaa, jos mahdollista.`,Users:`Käyttäjät`,User:`Käyttäjä`,"File upload":`Tiedoston lataaminen`,"File was uploaded.":`Tiedosto ladattiin.`,"Uploaded {{uploaded}} of {{total}}":`Ladattu {{uploaded}} / {{total}}`,"New version available":`Uusi versio saatavilla`,"The page must be reloaded to use the latest version and avoid possible errors.":`Sivu täytyy ladata uudelleen uusimman version käyttämiseksi ja mahdollisten virheiden välttämiseksi.`,"Reload now":`Lataa uudelleen nyt`,"Version {{version}}":`Versio {{version}}`,"Copy to clipboard":`Kopioi leikepöydälle`,"Copied to clipboard":`Kopioitu leikepöydälle`},lKe={"Only logged-in users can access this file.":`Seuls les utilisateurs connectés peuvent accéder à ce fichier.`,"Anyone with the link can access this file.":`Toute personne disposant du lien peut accéder à ce fichier.`,"Access permission":`Autorisation d'accès`,"Use compact display":`Utiliser l'affichage compact`,parents_one:`Bloc parent`,parents_other:`Blocs parents`,entities_one:`Bloc en tant qu'entité`,entities_other:`Blocs en tant qu'entités`,"Uploaded at":`Publié le`,"{{count}} blocks are missing required data.other":`{{count}} blocs ont des données obligatoires manquantes.`,"{{count}} blocks are missing required data._one":`Un bloc a des données obligatoires manquantes.`,"This block is missing some entities.":`Il manque des entités dans ce bloc.`,"BlockType.dividerBlock":`Bloc séparateur`,"Line style":`Style de ligne`,Solid:`Continu`,Dashed:`Tirets`,Dotted:`Pointillés`,"Line color":`Couleur de ligne`,"Is required":`Est obligatoire`,"Icon file (SVG)":`Fichier d'icônes (SVG)`,"BlockType.cardLayoutBlock":`Bloc de présentation de la carte`,"BlockType.iconBlock":`Bloc d'icônes`,"The file must be an SVG.":`Le fichier doit être un SVG.`,"Star rating (1-5)":`Classement par étoiles (1-5)`,"Rating scale (1-10)":`Ãchelle d'évaluation (1-10)`,"LinkBlockType.file":`Fichier`,"When duplicating, you can either reuse the existing children (changes will affect all places where they are used) or create duplicates (changes will be independent). Please choose how to proceed.":`Lors de la duplication, vous pouvez soit réutiliser les éléments enfants existants (les modifications affecteront tous les endroits où ils sont utilisés), soit créer des doublons (les modifications seront indépendantes). Veuillez choisir la manière de procéder.`,"This block will be duplicated because you chose to duplicate at least one of its child elements.":`Ce bloc sera dupliqué car vous avez choisi de dupliquer au moins un de ses éléments enfants.`,"{{count}} Usages_other":`{{count}} Utilisations`,"{{count}} Usages_one":`{{count}} Utilisation`,Reuse:`Réutilisation`,Duplicate:`Dupliquer`,"Duplicate block":`Dupliquer le bloc`,"The weighting of questions is applied to calculate the overall score.":`La pondération des questions est appliquée pour calculer le score global.`,"The weight field must be an integer between 0 and 100.":`Le champ de poids doit être un nombre entier entre 0 et 100.`,Weight:`Poids`,Average:`Moyenne`,Sum:`Somme`,Median:`Médiane`,Count:`Nombre total`,Number:`Nombre`,"The export cannot be imported. The version of the export is not supported.":`L'export ne peut pas être importé. La version de l'export n'est pas supportée.`,"Invalid value":`Valeur non valide`,"Next step":`Ãtape suivante`,"At least one answer option has to be given.":`Au moins une option de réponse doit être donnée.`,"Question evaluation":`Ãvaluation des questions`,"Update feedback question":`Question relative à la mise à jour du retour d'information`,"Create feedback question":`Créer une question de retour d'information`,"No questions available.":`Aucune question n'est disponible.`,"Discard language":`Rejeter la langue`,"Thank you for submitting feedback!":`Merci de nous faire part de vos commentaires!`,"Not available":`Non disponible`,"Feedback is only available for users who are logged-in.":`Le retour d'information n'est disponible que pour les utilisateurs connectés.`,"BlockType.feedbackBlock":`Commentaire`,"Your feedback has been submitted.":`Votre c
4022ommentaire a été soumis.`,"Login background":`Fond d'écran de connexion`,"Login background was successfully saved.":`Le fond d'écran de connexion a été enregistré avec succès.`,"Admin image":`Image admin`,"Frontend image":`Image frontale`,"Keep it short, usually 1-2 sentences. Donât overthink it.":`Soyez bref, en général 1 à 2 phrases. Ne réfléchissez pas trop.`,"Consider key elements of why you chose this image, instead of describing every little detail.":`Considérez les éléments clés qui ont motivé le choix de cette image, au lieu de décrire chaque petit détail.`,"No need to say âimage ofâ or âpicture ofâ â the screen reader recognizes this itself.":`Il n'est pas nécessaire de dire "image de" ou "photo de" - le lecteur d'écran le reconnaît lui-même.`,"But, do say if itâs a logo, illustration, painting, or cartoon.":`Mais précisez s'il s'agit d'un logo, d'une illustration, d'une peinture ou d'une bande dessinée.`,"Donât duplicate text thatâs adjacent in the document or website.":`Ne reproduisez pas le texte adjacent dans le document ou le site web.`,"End the ALT text sentence with a period â this makes it sound more natural for reading programs.":`Terminez la phrase du texte ALT par un point, ce qui la rend plus naturelle pour les programmes de lecture.`,"A descriptive ALT text makes your content more inclusive and visible.":`Un texte ALT descriptif rend votre contenu plus compréhensible et plus visible.`,"Alternative Text (ALT Text)":`Texte alternatif (ALT Text)`,"Please wait for the upload to finish.":`Veuillez attendre la fin du téléchargement.`,"{{count}} Stars_other":`{{count}} Ãtoiles`,"{{count}} Stars_one":`{{count}} Ãtoile`,"{{amount}} out of {{total}}":`{{amount}} sur {{total}}`,"Average rating":`Note moyenne`,"Choose a question":`Choisir une question`,"Feedback has been reset.":`Le retour d'information a été réinitialisé.`,"Number of participants":`Nombre de participants`,"Reset feedback":`Réinitialisation du retour d'information`,"Are you sure you want to reset this feedback?":`Ãtes-vous sûr de vouloir réinitialiser ce retour d'information ?`,Question:`Question`,"This question has not been answered yet.":`Cette question n'a pas encore reçu de réponse.`,"Unknown answer option":`Option de réponse inconnue`,"Number of questions":`Nombre de questions`,"Feedback question was deleted.":`La question en retour a été supprimée.`,"Feedback question was saved.":`La question du retour d'information a été sauvegardée.`,"Free text":`Texte libre`,"Multiple choice":`Choix multiple`,"Single choice":`Choix unique`,"Are you sure you want to delete this feedback question?":`Ãtes-vous sûr de vouloir supprimer cette question ?`,Questions:`Questions`,"Add answer option":`Ajouter une option de réponse`,"Delete answer option":`Supprimer l'option de réponse`,"Answer options":`Options de réponse`,"Feedback question":`Question sur le retour d'information`,"Successfully sorted.":`Tri effectué avec succès.`,"Are you sure you want to delete this feedback?":`Ãtes-vous sûr de vouloir supprimer ce commentaire ?`,"No feedback available.":`Aucun commentaire disponible.`,"Feedback was created.":`Le commentaire a été créé.`,"Feedback was updated.":`Le commentaire a été mis à jour.`,"Feedback was deleted.":`Le commentaire a été supprimé.`,"Delete feedback":`Supprimer le commentaire`,"Edit feedback":`Modifier le commentaire`,"Add feedback":`Ajouter un commentaire`,Feedback:`Commentaire`,"This role is the default, do you want to delete it anyway?":`Ce rôle est le rôle par défaut, souhaitez-vous tout de même le supprimer ?`,"Button color":`Couleur du bouton`,"The picture carousel automatically switches to the next picture after a certain time.":`Le carrousel d'images passe automatiquement à l'image suivante après un certain temps.`,"When the last image is reached, the image carousel automatically jumps back to the first image.":`Lorsque la dernière image est atteinte, le carrousel revient automatiquement à la première image.`,"Activate navigation points":`Activer les points de navigation`,"Small dots below the image carousel show the number of images and allow you to jump directly to a specific image.":`Des petits points sous le carrousel montrent le nombre d'images et permettent d'accéder directement à une image spécifique.`,"Selected images":`Images sélectionnées`,"blockSubmitButton.save":`Ãconomiser`,"When enabled, the tabs are left-aligned and horizontally scrollable if there is not enough space. When disabled, they are evenly distributed across the entire width.":`Lorsqu'activé, les onglets sont alignés à gauche et défilables horizontalement s'il n'y a pas assez d'espace. Lorsqu'il est désactivé, ils sont répartis uniformément sur toute la largeur.`,"The file type is not supported.":`Le type de fichier n'est pas pris en charge.`,"Export settings saved successfully.":`Paramètres d'exportation enregistrés avec succès.`,"Export settings":`Paramètres d'exportation`,"Date format":`Format de date`,"Year-Month-Day":`Année-Mois-Jour`,"Day.Month.Year":`Jour.Mois.Année`,"Month/Day/Year":`Mois/Jour/Année`,"Iso-8601 format with timezone":`Format Iso-8601 avec fuseau horaire`,"Year-Month-Day, 24 hour UTC time format":`Année-Mois-Jour, format horaire UTC 24 heures`,"Day.Month.Year, 24 hour time format":`Jour.Mois.Année, format horaire 24 heures`,"Month/Day/Year, 12 hour time format":`Mois/Jour/Année, format horaire 12 heures`,"24 hour time format":`Format horaire 24 heures`,"12 hour time format":`Format horaire 12 heures`,"Time format":`Format de l'heure`,"Unknown format":`Format inconnu`,Usages:`Utilisations`,"This block is being used {{amount}} times. Click <OpenDrawerButton>here</OpenDrawerButton> to see the usages.":`Ce bloc est utilisé {{amount}} fois. Cliquez <OpenDrawerButton>ici</OpenDrawerButton> pour voir les utilisations.`,"The error happened on:":`L'erreur s'est produite le :`,"Is
4022scrollable":`Est défilable`,PAGE:`Page`,CATEGORY:`Catégorie`,EXTERNAL_NEW_TAB:`Externe (nouvel onglet)`,EXTERNAL:`Externe`,INTERNAL:`Interne`,"Invalid URL format: The URL must start with https://.":`Format d'URL invalide : l'URL doit commencer par https://.`,"The footer links are sorted.":`Les liens de bas de page sont triés.`,"Create footer link":`Créer un lien de bas de page`,"Mute audio":`Couper le son`,"Play in loop":`Lire en boucle`,"Show controls":`Afficher les contrôles`,Autoplay:`Lecture automatique`,"BlockType.videoBlock":`Video`,"BlockType.imageGalleryBlock":`Galerie d'images`,"No images selected.":`Aucune image sélectionnée.`,"Show shadow":`Afficher l'ombre`,"Show bottom border":`Afficher la bordure inférieure`,"Bottom border color":`Couleur de la bordure inférieure`,"Color schema":`Schéma des couleurs`,"Show title":`Afficher le titre`,Date:`Date`,"Show seconds":`Afficher les secondes`,"Title position":`Position du titr`,Above:`Au-dessus`,Below:`En dessous`,"Vertical alignment":`Alignement vertica;`,"CountdownBlock.Start":`Début`,"CountdownBlock.Center":`Centre`,"CountdownBlock.End":`Fin`,"Text color":`Couleur du texte`,"Background gradient":`Dégradé de l'arrière-plan`,"Gradient start color":`Couleur de départ du dégradé`,"Gradient end color":`Couleur de fin de dégradé`,Center:`Centre`,"Text alignment":`Alignement du texte`,"Enable arrow navigation":`Activer la navigation avec les flèches`,"Display image progress with dots":`Afficher la progression de lâimage avec des points`,"The display duration must be greater than zero.":`La durée d'affichage doit être supérieure à zéro.`,"Enable autoplay":`Activer la lecture automatique`,"Display duration of image in seconds":`Afficher la durée de l'image en secondes`,"Loop animation":`Boucler l'animation`,"BlockType.imageCarouselBlock":`Bloc carrousel d'images`,Drag:`Glisser`,"Will be visible on marker click.":`Sera visible au clic du marqueur.`,small:`petit`,medium:`moyen`,large:`grand`,"Add {{ blockName }}":`Ajouter {{ blockName }}`,Latitude:`Latitude`,Longitude:`Longitude`,"BlockType.mapsBlock":`Maps block`,"BlockType.mapMarkerBlock":`Marqueur de carte block`,"To add or remove map markers use the preview for this maps block.":`Utilisez l'aperçu de ce bloc de carte pour ajouter ou supprimer des marqueurs de carte.`,"BlockType.tabBlock":`Bloc d'onglets`,"BlockType.tabContainerBlock":`Bloc de conteneurs d'onglets`,"The total of all column widths must be smaller than 100%":`La somme de toutes les largeurs de colonnes doit être inférieure à 100 %.`,"Add {{breakpoint}}":`Ajouter {{breakpoint}}`,"Amount of columns":`Nombre de colonnes`,"Advanced layout":`Disposition avancée`,"{{number}}. column width (in %)":`Largeur de colonne {{number}} (en %)`,"Reverse block order":`Inverser l'ordre des blocs`,Preview:`Aperçu`,"BlockType.gridLayoutColumnBlock":`Bloc de colonnes de la grille`,"Default Collapsed":`Réduit par défaut`,"The title is displayed in the browser tab.":`Le titre est affiché dans l'onglet du navigateur.`,"The label is displayed in the browser tab.":`L'étiquette est affichée dans l'onglet du navigateur.`,"Fit to page width":`Adapter à la largeur de la page`,"Delete {{modelName}}":`Supprimer {{modelName}}`,"The deletion is being prevented by the following connections:_one":`La suppression est empêchée par la connexion suivante:`,"The deletion is being prevented by the following connections:_other":`La suppression est empêchée par les connexions suivantes:`,"With the deletion the following connections will be removed:_one":`Avec la suppression, la connexion suivante sera supprimée:`,"With the deletion the following connections will be removed:_other":`Avec la suppression, les connexions suivantes seront supprimées:`,"The page you are looking for doesn't exist.":`La page que vous recherchez n'existe pas.`,"You may have mistyped the address or the page was moved.":`Il se peut que vous ayez mal saisi l'adresse ou que la page ait été déplacée.`,"Invalid code":`Code invalide`,Code:`Code`,Next:`Suivant`,"sign in":`S'identifier`,"Enter password":`Saisir le mot de passe`,"Sign in":`S'identifier`,Verify:`Vérifier`,minutes:`Minutes`,seconds:`Secondes`,"The code is valid for {{timeout}} {{unit}}.":`Le code est valable pour {{timeout}} {{unit}}
4022.`,"Your account is blocked":`Votre compte est bloqué`,"Email send":`Envoi d'un courriel`,"An email with a new code has been send.":`Un e-mail contenant un nouveau code a été envoyé.`,"Resend email":`Renvoyer l'e-mail`,"Please enter the 6-digit security code you received by {{method}}.":`Veuillez saisir le code de sécurité à 6 chiffres que vous avez reçu par {{method}}.`,"twoFactorAuthMethod.EMAIL":`Courriel`,"Max. {{size}} MB file size":`Taille max. Taille du fichier : {{size}} Mo`,"Your message has been successfully received.":`Votre message a été reçu avec succès.`,Send:`Envoyer`,Message:`Message`,Subject:`Sujet`,Support:`Support`,"Contact our support":`Contacter notre support`,"Open guide":`Ouvrir le guide`,"Open help":`Ouvrir l'aide`,"Session was successfully revoked.":`La session a été révoquée avec succès.`,"No authenticated sessions available.":`Aucune session authentifiée disponible.`,"It can take up to 60 minutes before the session will be logged out.":`Il peut s'écouler jusqu'à 60 minutes avant que la session ne soit déconnectée.`,"Are you sure you want to revoke this session?":`Ãtes-vous sûr de vouloir révoquer cette session ?`,"Revoke session":`Révoquer la session`,Revoke:`Révoquer`,"Device identifier":`Identifiant de l'appareil`,"Authenticated sessions":`Sessions authentifiées`,"Unknown server error":`Erreur de serveur inconnu`,"Too many login attempts. Try again in {{timeout}} minutes.":`Trop de tentatives de connexion. Réessayez dans {{timeout}} minutes.`,"Yesterday, at {{time}}":`Hier, à {{time}}`,"Company name":`Nom de l'entreprise`,"Contact phone number":`Numéro de téléphone du contact`,"Read only":`En lecture seule`,Links:`Liens`,"Footer link was deleted.":`Le lien du pied de page a été supprimé.`,"Footer link was saved.":`Le lien de bas de page a été sauvegardé.`,"Are you sure you want to delete this footer link?":`Etes-vous sûr de vouloir supprimer ce lien de bas de page?`,"Footer link":`Lien de bas de page`,"Footer links":`Liens de bas de page`,"No footer links available.":`Aucun lien de bas de page n'est disponible.`,"Delete footer link":`Supprimer le lien de bas de page`,"Edit footer link":`Modifier le lien de bas de page`,"Add footer link":`Ajouter un lien en bas de page`,"Is external":`Est externe`,"Required field":`Champ obligatoire`,Footer:`Pied de page`,"Footer successfully updated":`Mise à jour réussie du pied de page`,"Footer details":`Détails du pied de page`,"Contact email":`Courriel du contact`,"Contact name":`Nom du contact`,Id:`Id`,"No users available":`Aucun utilisateur disponible`,"Body fonts":`Polices Body`,"Headline font":`Police du titre`,Favicons:`Favicons`,"Use for all icons":`Utiliser pour toutes les icônes`,"You've reached the highest possible value.":`Vous avez atteint la valeur la plus élevée possible`,"Invalid input":`Entrée non valide`,"The value must not be negative.":`La valeur ne doit pas être négative.`,Size:`Taille`,Source:`Source`,Subheadline:`Sous-titre`,Description:`Description`,"Link Type":`Type de lien`,"Attach block":`Fixer le bloc`,"Existing Blocks":`Blocs existants`,"Select existing blocks":`Sélectionner des blocs existants`,"New Block":`Nouveau bloc`,Blocks:`Blocs`,"VisualGroup.content":`Contenu`,"VisualGroup.layout":`Mise en page`,"BlockType.imageBlock":`Bloc d'images`,"BlockType.headlineBlock":`Bloc de titres`,"BlockType.slateBlock":`Bloc de texte`,"BlockType.layoutRowBlock":`Bloc de rangée`,"BlockType.iframeBlock":`Bloc iFrame`,"BlockType.countdownBlock":`Bloc compte à rebours`,"BlockType.cardBlock":`Bloc de cartes`,"BlockType.pageBlock":`Bloc de pages`,"BlockType.sectionBlock":`Bloc de sections`,"BlockType.linkBlock":`Bloc de liens`,"BlockType.linkContainerBlock":`Bloc conteneur de liens`,"BlockType.keyVisualBlock":`Bloc visuel clé`,"BlockType.layoutBackgroundImageBlock":`Bloc de présentation de l'image d'arrière-plan`,"BlockType.accordionBlock":`Bloc accordéon`,"LinkBlockType.page":`Bloc de pages`,"LinkBlockType.drawer":`Tiroir`,"LinkBlockType.internal":`Lien interne`,"LinkBlockType.external":`Lien externe`,"No Blocks have been added.":`Aucun bloc n'a été ajouté.`,"Are you sure you want to delete this Block?":`Ãtes-vous sûr de vouloir supprimer ce bloc ?`,"Are you sure you want to remove this Block?":`Ãtes-vous sûr de vouloir supprimer ce bloc ?`,"Block type":`Type de bloc`,Block:`Bloc`,Button:`Bouton`,Text:`Texte`,Label:`Ãtiquette`,"Inherit Padding":`Hériter du rembourrage`,Countdown:`Compte à rebours`,Title:`Titre`,Internal:`Interne`,External:`Externe`,Drawer:`Tiroir`,"Enable Slug":`Activer l'étiquette`,Refresh:`Rafraîchir`,"Choose Block":`Choisir le bloc`,"No blocks available":`Pas de blocs disponibles`,ContentBlock:`Bloc de contenu`,"ContentBlock
4022was saved.":`ContentBlock a été sauvegardé.`,"{{direction}} has to be between 0 and 50":`{{direction}} doit être compris entre 0 et 50`,Top:`Haut de page`,Left:`Gauche`,Right:`Droit`,Bottom:`Le fond`,Gap:`Ãcart`,Padding:`Rembourrage`,"Background type":`Type d'arrière-plan`,"Background color":`Couleur d'arrière-plan`,"Import successfully started.":`L'importation a démarré avec succès.`,Transparent:`Transparent`,Background:`Contexte`,Content:`Contenu`,Custom:`Sur mesure`,"Add translation for this language":`Ajouter une traduction pour cette langue`,Pages:`Pages`,"No block available.":`Aucun bloc n'est disponible.`,"Delete block":`Supprimer le bloc`,"Preview block":`Bloc de prévisualisation`,"Add block":`Ajouter un bloc`,"Edit block":`Bloc d'édition`,"Export block":`Bloc d'exportation`,"Import blocks":`Importer des blocs`,"Create page":`Créer une page`,"Blocks Import":`Importation de blocs`,"The slug may only contain a-z, 0-9 and separating dashes.":`La balise ne peut contenir que des lettres a-z, 0-9 et des tirets de séparation.`,"visualGroup.layout":`Mise en page`,"visualGroup.content":`Contenu`,Mobile:`Mobile`,Tablet:`Tablette`,Desktop:`Bureau`,"Large Desktop":`Grand bureau`,Slug:`Limace`,Columns:`Colonnes`,Headline:`à la une`,Remove:`Retirer`,"No users attached":`Pas d'utilisateurs attachés`,"Are you sure you want to remove this user from the role?":`Ãtes-vous sûr de vouloir retirer cet utilisateur du rôle ?`,"Remove user":`Supprimer l'utilisateur`,"User was successfully removed from the role."
4022:`L'utilisateur a été supprimé du rôle avec succès.`,"Role user":`Rôle de l'utilisateur`,"Attach users":`Joindre les utilisateurs`,"Successfully attached to the role":`Attachement réussi au rôle`,View:`Voir`,Create:`Créer`,"Show local time":`Afficher l'heure locale`,"Date time ({{timeZone}})":`Heure de la date ({{timeZone}})`,"Add date time":`Ajouter la date et l'heure`,"Date time format":`Format de la date et de l'heure`,Timezone:`Fuseau horaire`,Details:`Détails`,"Create role":`Créer un rôle`,Alerts:`Alertes`,"Prevent line breaks":`Empêcher les retours à la ligne`,"Close accordion":`Fermer l'accordéon`,"Open accordion":`Ouvrir l'accordéon`,"This addon is not enabled.":`Cet addon n'est pas activé.`,"Please speak to your project manager.":`Veuillez vous adresser à votre chef de projet.`,"Please activate addon":`Veuillez activer l'addon`,'Hello Team DGS, I would like to activate the addon "{{addonName}}" in {{url}}. Please send me also an additional offer for this.':`Hello Team DGS, Je voudrais activer l'addon "{{addonName}}" dans {{url}}. Veuillez m'envoyer également une offre supplémentaire pour cela.`,"Contact us":`Contactez nous`,"All aspect ratios":`Tous les formats`,"Aspect ratio":`Rapport d'aspect`,"Unknown aspect ratio":`Rapport d'aspect inconnu`,Error:`Erreur`,"An error has occurred.":`Une erreur s'est produite.`,"Request too large":`Demande trop importante`,"Login with":`Se connecter avec`,Profile:`Profil`,"Profile was saved.":`Le profil a été sauvegardé.`,"Field is required":`Le champ est obligatoire`,"Upload avatar":`Télécharger l'avatar`,"First name":`Prénom`,"Last name":`Nom de famille`,Position:`Position`,Company:`Entreprise`,"Change password":`Modifier le mot de passe`,Save:`Ãconomiser`,"My profile":`Mon profil`,Clear:`Clair`,"Discard changes":`Rejeter les modifications`,"Stay on page":`Rester sur la page`,"You have not saved your changes. Do you really want to discard them?":`Vous n'avez pas enregistré vos modifications. Voulez-vous vraiment les annuler ?`,"Font name":`Nom de la police`,"Choose file":`Choisir le fichier`,Regular:`Régulière`,Bold:`Gras`,Italic:`Italique`,"Bold italic":`Gras italique`,Colors:`Couleurs`,"Color assistant":`Assistant couleur`,"If you apply changes your custom changes to colors will be lost.":`Si vous appliquez des modifications, vos changements de couleurs personnalisés seront perdus.`,Primary:`Primaire`,Secondary:`Secondaire`,Apply:`Appliquer`,"Brand settings":`Paramètres de la marque`,"Brand settings saved successfully.":`Les paramètres de la marque ont été enregistrés avec succès.`,"This feature is only available if the frontend uses the DGS theme.":`Cette fonctionnalité n'est disponible que si le frontend utilise le thème DGS.`,"Edit settings":`Modifier les paramètres`,Name:`Nom`,Logo:`Logo`,Favicon:`Favicon`,Submit:`Soumettre`,"Previous month":`Mois précédent`,Today:`Aujourd'hui`,"Next month":`Le mois prochain`,"The password needs to be at least 12 characters long.":`Le mot de passe doit comporter au moins 12 caractères.`,"Passwords do not match":`Les mots de passe ne correspondent pas`,"Password was successfully changed.":`Le mot de passe a été modifié avec succès.`,Password:`Mot de passe`,"Old password":`Ancien mot de passe`,"New password":`Nouveau mot de passe`,"Repeat password":`Répéter le mot de passe`,"Select a color":`Sélectionner une couleur`,"Confirm image selection":`Confirmer la sélection de l'image`,Back:`Retour`,Confirm:`Confirmer`,"More options":`Plus d'options`,Days:`Jours`,Hours:`Heures`,Min:`Min`,Sec:`Sec`,Add:`Ajouter`,"Open column filter":`Filtre à colonne ouverte`,"Column filters":`Filtres de colonne`,Reset:`Remise à zéro`,"Delete column filter":`Supprimer le filtre de la colonne`,Operator:`Opérateur`,"New column filter":`Nouveau filtre de colonne`,"Choose column":`Choisir la colonne`,"Add column filter":`Ajouter un filtre de colonne`,"Enable bulk edit":`Activer l'édition en bloc`,"Deselect all":`Désélectionner tout`,"Select all":`Tout sélectionner`,"item(s) selected":`élément(s) sélectionné(s)`,"Disable bulk edit":`Désactiver l'édition en bloc`,"Select current page":`Sélectionner la page en cours`,Search:`Recherche`,"Click for more information":`Cliquez pour plus d'informations`,"Search columns:":`Colonnes de recherche:`,sort:`trier`,"Previous interval":`Intervalle précédent`,"Next interval":`Intervalle suivant`,"Previous day":`Jour précédent`,"Next day":`Le jour suivant`,Delete:`Supprimer`,"Close drawer":`Fermer le tiroir`,Status:`Statut`,"Created at":`Créé à `,Available:`Disponible`,"In progress":`En cours`,Failed:`Ãchec`,"Deleted by deletion request":`Supprimé par demande de suppression`,"No exports.":`Pas d'exportations.`,Exports:`Exportations`,Export:`Exportation`,Download:`Télécharger`,"Export was deleted.":`L'exportation a été supprimée.`,Close:`Fermer`,"Are you sure you want to delete this export?":`Ãtes-vous sûr de vouloir supprimer cette exportation ?`,File:`Fichier`,Public:`Public`,Path:`Chemin d'accès`,Files:`Dossiers`,"No files available":`Aucun fichier disponible`,"Are you sure you want to delete this file?":`Ãtes-vous sûr de vouloir supprimer ce fichier ?`,"Headline font name":`Nom de la police du titre`,"Format headline":`Format du titre`,"Add hy
4022perlink":`Ajouter un lien hypertexte`,Url:`Url`,"New tab":`Nouvel onglet`,"Add link":`Ajouter un lien`,"There are validation errors in other languages of this form.":`Il y a des erreurs de validation dans les autres langues de ce formulaire.`,"Validation errors":`Erreurs de validation`,"Select option":`Sélectionner une option`,"Are you sure you want to delete this image?":`Ãtes-vous sûr de vouloir supprimer cette image ?`,Images:`Images`,"Image was deleted.":`L'image a été supprimée.`,Image:`Image`,"Select an image":`Sélectionner une image`,"Choose image...":`Choisir l'image...`,"Remove image":`Supprimer l'image`,"Image upload":`Téléchargement d'images`,Upload:`Télécharger`,"Choose image":`Choisir l'image`,"Delete image":`Supprimer l'image`,"Wrong aspect ratio":`Mauvais rapport hauteur/largeur`,"An export is created, please wait":`Une exportation est créée, veuillez patienter`,"Upload was successful.":`Le téléchargement a été effectué avec succès.`,Import:`Importation`,Open:`Ouvrir`,"Invalid email address":`Adresse électronique invalide`,Welcome:`Bienvenue`,Email:`Courriel`,"Log in":`Se connecter`,Register:`Registre`,Type:`Type`,"Select...":`Sélectionner...`,Menu:`Menu`,"Create menu item":`Créer un élément de menu`,"The menu was successfully sorted.":`Le menu a été trié avec succès.`,Edit:`Editer`,"Edit menu item":`Ãlément du menu Ãdition`,"Delete menu item":`Supprimer l'élément de menu`,"Are you sure you want to delete this menu item?":`Ãtes-vous sûr de vouloir supprimer cet élément de menu ?`,"Close navigation sidebar":`Fermer la barre latérale de navigation`,"Open navigation sidebar":`Ouvrir la barre latérale de navigation`,Logout:`Déconnexion`,"Not authorized":`Non autorisé`,"Either your account is not connected to this application or you are not authorized to access this feature.":`Soit votre compte n'est pas connecté à cette application, soit vous n'êtes pas autorisé à accéder à cette fonctionnalité.`,"Move before":`Déplacer avant`,"Move after":`Déplacer après`,Cancel:`Annuler`,Cut:`Couper`,of:`de`,"Previous page":`Page précédente`,"Next page":`Page suivante`,"Forgot your password?":`Vous avez oublié votre mot de passe ?`,"Password reset":`Réinitialisation du mot de passe`,"The link has already been used or has expired.":`Le lien a déjà été utilisé ou a expiré.`,Login:`Connexion`,"Request new link":`Demander un nouveau lien`,"Crop new image":`Recadrer une nouvelle image`,"You should receive an email with instructions to reset your password shortly.":`Vous devriez recevoir sous peu un courriel contenant des instructions pour réinitialiser votre mot de passe.`,"Back to login":`Retour au login`,"Set your password":`Définissez votre mot de passe`,"Your new password needs to be at least 12 characters long.":`Votre nouveau mot de passe doit comporter au moins 12 caractères.`,"Confirm new password":`Confirmer le nouveau mot de passe`,"Set password":`Définir le mot de passe`,"At least one permission is required":`Au moins une autorisation est requise`,"No permissions available.":`Aucune autorisation n'est disponible.`,Permission:`Autorisation`,Role:`Rôle`,"Role was successfully created.":`Le rôle a été créé avec succès.`,"Role was successfully updated.":`Le rôle a été mis à jour avec succès.`,"Role was successfully deleted.":`Le rôle a été supprimé avec succès.`,"Edit role":`Modifier le rôle`,"Delete role":`Supprimer un rôle`,"Are you sure you want to delete this role?":`Ãtes-vous sûr de vouloir supprimer ce rôle ?`,"Create tag":`Créer une étiquette`,"Edit tag":`Modifier la balise`,Roles:`Rôles`,"No roles available":`Aucun rôle disponible`,"Rows per page":`Lignes par page`,"No options available":`Aucune option disponible`,"Create {{option}}":`Créer {{option}}`,"Add shortcut":`Ajouter un raccourci`,"This feature is an addon.":`Cette fonction est un complément.`,"Open menu":`Ouvrir le menu`,"Close menu":`Fermer le menu`,"System messages":`Messages du système`,Color:`Couleur`,"Apply color":`Appliquer la couleur`,"Time controlled content visibility":`Visibilité du contenu contrôlée dans le temps`,"Preview type":`Type de prévisualisation`,Underline:`Souligner`,Subscript:`Indice`,Superscript:`Exposé des motifs`,"Align left":`Aligner à gauche`,"Align center":`Aligner le centre`,"Align right":`Aligner à droite`,"Numbered list":`Liste numérotée`,"Bulleted list":`Liste à puces`,"Save file":`Enregistrer le fichier`,"File was deleted.":`Le fichier a été supprimé.`,"Delete file":`Supprimer le fichier`,"Could not delete file.":`Impossible de supprimer le fichier.`,"Invalid date":`Date invalide`,"Your selection is under {{pixel}}px wide and may not display optimally. Please select a larger area if possible.":`Votre sélection a une largeur inférieure à {{pixel}}px et risque de ne pas s'afficher de manière optimale. Veuillez sélectionner une zone plus large si possible.`,"The selected image is under {{pixel}}px wide and may not display optimally. Please use a larger image if possible.":`L'image sélectionnée a une largeur inférieure à {{pixel}}px et risque de ne pas s'afficher de manière optimale. Veuillez utiliser une image plus grande si possible.`,Users:`Utilisateurs`,User:`Utilisateur`,"File upload":`Téléchargement de fic
4022hiers`,"File was uploaded.":`Le fichier a été téléchargé.`,"Uploaded {{uploaded}} of {{total}}":`{{uploaded}} sur {{total}} téléchargés`,"New version available":`Nouvelle version disponible`,"The page must be reloaded to use the latest version and avoid possible errors.":`La page doit être rechargée pour utiliser la dernière version et éviter d'éventuelles erreurs.`,"Reload now":`Recharger maintenant`,"Version {{version}}":`Version {{version}}`,"Copy to clipboard":`Copier dans le presse-papiers`,"Copied to clipboard":`Copié dans le presse-papiers`},uKe={"Only logged-in users can access this file.":`Solo gli utenti che hanno effettuato l'accesso possono accedere a questo file.`,"Anyone with the link can access this file.":`Chiunque abbia il link può accedere a questo file.`,"Access permission":`Autorizzazione di accesso`,"Use compact display":`Utilizzare la visualizzazione compatta`,parents_one:`Blocco principale`,parents_other:`Blocchi principali`,entities_one:`Blocco come entità `,entities_other:`Blocchi come entità `,"Uploaded at":`Caricato alle`,"{{count}} blocks are missing required data.other":`A {{count}} blocchi mancano dati richiesti.`,"{{count}} blocks are missing required data._one":`A un blocco mancano dati richiesti.`,"This block is missing some entities.":`A questo blocco mancano alcune entità .`,"BlockType.dividerBlock":`Blocco divisore`,"Line style":`Stile linea`,Solid:`Continuo`,Dashed:`Tratteggiato`,Dotted:`Punteggiato`,"Line color":`Colore linea`,"Is required":`à obbligatorio`,"Icon file (SVG)":`File icona (SVG)`,"BlockType.cardLayoutBlock":`Blocco per il layout della carta`,"BlockType.iconBlock":`Blocco icone`,"The file must be an SVG.":`Il file deve essere un SVG.`,"Star rating (1-5)":`Valutazione a stelle (1-5)`,"Rating scale (1-10)":`Scala di valutazione (1-10)`,"LinkBlockType.file":`File`,"When duplicating, you can either reuse the existing children (changes will affect all places where they are used) or create duplicates (changes will be independent). Please choose how to proceed.":`Quando si esegue la duplicazione, è possibile riutilizzare i figli esistenti (le modifiche interesseranno tutti i punti in cui vengono utilizzati) oppure creare duplicati (le modifiche saranno indipendenti). Scegliere come procedere.`,"This block will be duplicated because you chose to duplicate at least one of its child elements.":`Questo blocco verrà duplicato perché hai scelto di duplicare almeno uno dei suoi elementi secondari.`,"{{count}} Usages_other":`{{count}} Utilizzo`,"{{count}} Usages_one":`{{count}} Usi`,Reuse:`Riutilizzo`,Duplicate:`Duplicato`,"Duplicate block":`Blocco duplicato`,"The weighting of questions is applied to calculate the overall score.":`La ponderazione delle domande viene applicata per calcolare il punteggio complessivo.`,"The weight field must be an integer between 0 and 100.":`Il campo peso deve essere un numero intero compreso tra 0 e 100.`,Weight:`Peso`,Average:`Media`,Sum:`Somma`,Median:`Mediana`,Count:`Conteggio`,Number:`Numero`,"The export cannot be imported. The version of the export is not supported.":`L'esportazione non può essere importata. La versione dell'esportazione non è supportata.`,"Invalid value":`Valore non valido`,"Next step":`Passo successivo`,"At least one answer option has to be given.":`à necessario indicare almeno un'opzione di risposta.`,"Question evaluation":`Valutazione delle domande`,"Update feedback question":`Domanda di aggiornamento del feedback`,"Create feedback question":`Creare una domanda di feedback`,"No questions available.":`Non sono disponibili domande.`,"Discard language":`Scartare la lingua`,"Thank you for submitting feedback!":`Grazie per averci inviato un feedback!`,"Not available":`Non disponibile`,"Feedback is only available for users who are logged-in.":`Il feedback è disponibile solo per gli utenti che hanno effettuato il login.`,"BlockType.feedbackBlock":`Feedback`,"Your feedback has been submitted.":`Il vostro feedback è stato inviato.`,"Login background":`Sfondo di accesso`,"Login background was successfully saved.":`Lo sfondo di accesso è stato salvato con successo.`,"Admin image":`Immagine amministratore`,"Frontend image":`Immagine frontend`,"Keep it short, usually 1-2 sentences. Donât overthink it.":`Siate brevi, di solito 1-2 frasi. Non pensateci troppo.`,"Consider key elements of why you chose this image, instead of describing every little detail.":`Considerate gli elementi chiave del perché avete scelto questa immagine, invece di descrivere ogni minimo dettaglio.`,"No need to say âimage ofâ or âpicture ofâ â the screen reader recognizes this itself.":`
4022Non è necessario dire "immagine di" o "immagine di": lo screen reader lo riconosce da solo.`,"But, do say if itâs a logo, illustration, painting, or cartoon.":`Ma dite se si tratta di un logo, di un'illustrazione, di un dipinto o di un cartone animato.`,"Donât duplicate text thatâs adjacent in the document or website.":`Non duplicare il testo adiacente nel documento o nel sito web.`,"End the ALT text sentence with a period â this makes it sound more natural for reading programs.":`Terminare la frase del testo ALT con un punto: in questo modo la frase suona più naturale per i programmi di lettura.`,"A descriptive ALT text makes your content more inclusive and visible.":`Un testo ALT descrittivo rende i contenuti più inclusivi e visibili.`,"Alternative Text (ALT Text)":`Testo alternativo (ALT Text)`,"Please wait for the upload to finish.":`Attendere il completamento del caricamento.`,"{{count}} Stars_other":`{{count}} Stelle`,"{{count}} Stars_one":`{{count}} Stella`,"{{amount}} out of {{total}}":`{{amount}} su {{total}}`,"Average rating":`Valutazione media`,"Choose a question":`Scegliere una domanda`,"Feedback has been reset.":`Il feedback è stato ripristinato.`,"Number of participants":`Numero di partecipanti`,"Reset feedback":`Feedback di reset`,"Are you sure you want to reset this feedback?":`à sicuro di voler ripristinare questo feedback?`,Question:`Domanda`,"This question has not been answered yet.":`Questa domanda non ha ancora ricevuto risposta.`,"Unknown answer option":`Opzione di risposta sconosciuta`,"Number of questions":`Numero di domande`,"Feedback question was deleted.":`La domanda di feedback è stata cancellata.`,"Feedback question was saved.":`La domanda di feedback è stata salvata.`,"Free text":`Testo libero`,"Multiple choice":`Scelta multipla`,"Single choice":`Scelta singola`,"Are you sure you want to delete this feedback question?":`Sei sicuro di voler cancellare questa domanda di feedback?`,Questions:`Domande`,"Add answer option":`Aggiungere l'opzione di risposta`,"Delete answer option":`Cancellare l'opzione di risposta`,"Answer options":`Opzioni di risposta`,"Feedback question":`Domanda di feedback`,"Successfully sorted.":`Ordinato con successo.`,"Are you sure you want to delete this feedback?":`Sei sicuro di voler eliminare questo feedback?`,"No feedback available.":`Nessun feedback disponibile.`,"Feedback was created.":`Il feedback è stato creato.`,"Feedback was updated.":`Il feedback è stato aggiornato.`,"Feedback was deleted.":`Il feedback è stato eliminato.`,"Delete feedback":`Elimina feedback`,"Edit feedback":`Modifica feedback`,"Add feedback":`Aggiungi feedback`,Feedback:`Feedback`,"This role is the default, do you want to delete it anyway?":`Questo ruolo è quello predefinito, desideri eliminarlo comunque?`,"Button color":`Colore del bottone`,"The picture carousel automatically switches to the next picture after a certain time.":`Il carosello di immagini passa automaticamente all'immagine successiva dopo un certo tempo.`,"When the last image is reached, the image carousel automatically jumps back to the first image.":`Quando si raggiunge l'ultima immagine, il carosello torna automaticamente alla prima immagine.`,"Activate navigation points":`Attiva i punti di navigazione`,"Small dots below the image carousel show the number of images and allow you to jump directly to a specific image.":`I piccoli punti sotto il carosello mostrano il numero di immagini e permettono di passare direttamente a una specifica.`,"Selected images":`Immagini selezionate`,"blockSubmitButton.save":`Risparmiare`,"When enabled, the tabs are left-aligned and horizontally scrollable if there is not enough space. When disabled, they are evenly distributed across the entire width.":`Quando abilitato, le schede sono allineate a sinistra e scorrevoli orizzontalmente se non c'è spazio sufficiente. Quando disabilitato, sono distribuite uniformemente su tutta la larghezza.`,"The file type is not supported.":`Il tipo di file non è supportato.`,"Export settings saved successfully.":`Impostazioni di esportazione salvate con successo.`,"Export settings":`Impostazioni di esportazione`,"Date format":`Formato data`,"Year-Month-Day":`Anno-Mese-Giorno`,"Day.Month.Year":`Giorno.Mese.Anno`,"Month/Day/Year":`Mese/Giorno/Anno`,"Iso-8601 format with timezone":`Formato Iso-8601 con fuso orario`,"Year-Month-Day, 24 hour UTC time format":`Anno-Mese-Giorno, formato orario UTC 24 ore`,"Day.Month.Year, 24 hour time format":`Giorno.Mese.Anno, formato orario 24 ore`,"Month/Day/Year, 12 hour time format":`Mese/Giorno/Anno, formato orario 12 ore`,"24 hour time format":`Formato orario 24 ore`,"12 hour time format":`Formato orario 12 ore`,"Time format":`Formato ora`,"Unknown format":`Formato sconosciuto`,Usages:`Utilizzi`,"This block is being used {{amount}} times. Click <OpenDrawerButton>here</OpenDrawerButton> to see the usages.":`Questo blocco viene utilizzato {{amount}} volte. Clicca <OpenDrawerButton>qui</OpenDrawerButton> per vedere gli utilizzi.`,"The error happened on:":`L'errore si è verificato il:`,"Is scrollable":`à scorrevole`,PAGE:`Pagina`,CATEGORY:`Categoria`,EXTERNAL_NEW_TAB:`Esterno (nuova scheda)`,EXTERNAL:`Esterno`,INTERNAL:`Interno`,"Invalid URL format: The URL must start with https://.":`Formato URL non valido: l'URL deve iniziare con https://.`,"The footer links are sorted.":`I link del piè di pagina sono ordinati.`,"Create footer link":`Crea link nel piè di pagina`,"Mute audio":`Silenzia audio`,"Play in loop":`Riproduci in loop`,"Show controls":`Mostra controlli`,Autoplay:`Riproduzione automatica`,"BlockType.videoBlock":`Video`,"BlockType.imageGalleryBlock":`Galleria immagini`,"No images selected.":`Nessuna immagine selezionata.`,"Show shadow":`Mostra ombra`,"Show bottom border":`Mostra bordo inferiore`,"Bottom border color":`Colore del bordo inferiore`,"Color schema":`Schema dei colori`,"Show title":`Mostra titolo`,Date:`Data`,"Show seconds":`Mostra secondi`,"Title position":`Posizione del titolo`,Above:`Sopra`,Below:`Sotto`,"Vertical alignment":`Allineamento vertical`,"CountdownBlock.Start":`Inizio`,"CountdownBlock.Center"
4022:`Centro`,"CountdownBlock.End":`Fine`,"Text color":`Colore del testo`,"Background gradient":`Sfondo sfumato`,"Gradient start color":`Colore iniziale della sfumaturaâ`,"Gradient end color":`Colore finale del gradiente`,Center:`Centro`,"Text alignment":`Allineamento del testo`,"Enable arrow navigation":`Abilita la navigazione con le frecce`,"Display image progress with dots":`Mostra il progresso dell'immagine con punti`,"The display duration must be greater than zero.":`La durata della visualizzazione deve essere maggiore di zero.`,"Enable autoplay":`Abilita la riproduzione automatica`,"Display duration of image in seconds":`Mostra la durata dell'immagine in secondi`,"Loop animation":`Ripeti animazione`,"BlockType.imageCarouselBlock":`Blocco carosello di immagini`,Drag:`Trascina`,"Will be visible on marker click.":`Sarà visibile al clic del marcatore.`,small:`piccolo`,medium:`medio`,large:`grande`,"Add {{ blockName }}":`Aggiungere {{ blockName }}`,Latitude:`Latitudine`,Longitude:`Longitudine`,"BlockType.mapsBlock":`Maps block`,"BlockType.mapMarkerBlock":`Marcatore di mappa block`,"To add or remove map markers use the preview for this maps block.":`Utilizzare l'anteprima di questo blocco mappa per aggiungere o rimuovere i marcatori mappa.`,"BlockType.tabBlock":`Blocco scheda`,"BlockType.tabContainerBlock":`Blocco contenitore di schede`,"The total of all column widths must be smaller than 100%":`La somma di tutte le larghezze delle colonne deve essere inferiore al 100%.`,"Add {{breakpoint}}":`Aggiungi {{breakpoint}}`,"Amount of columns":`Quantità di colonne`,"Advanced layout":`Layout avanzato`,"{{number}}. column width (in %)":`{{number}}. larghezza colonna (in %)`,"Reverse block order":`Invertire l'ordine dei blocchi`,Preview:`Anteprima`,"BlockType.gridLayoutColumnBlock":`Blocco colonne della griglia`,"Default Collapsed":`Chiuso per impostazione predefinita`,"The title is displayed in the browser tab.":`Il titolo viene visualizzato nella scheda del browser.`,"The label is displayed in the browser tab.":`L'etichetta viene visualizzata nella scheda del browser.`,"Fit to page width":`Adatta alla larghezza della pagina`,"Delete {{modelName}}":`Cancella {{modelName}}`,"The deletion is being prevented by the following connections:_one":`La cancellazione è impedita dalla seguente connessione:`,"The deletion is being prevented by the following connections:_other":`La cancellazione è impedita dalle seguenti connessioni:`,"With the deletion the following connections will be removed:_one":`Con l'eliminazione verrà rimossa la seguente connessione:`,"With the deletion the following connections will be removed:_other":`Con la cancellazione verranno rimosse le seguenti connessioni:`,"The page you are looking for doesn't exist.":`La pagina che state cercando non esiste.`,"You may have mistyped the address or the page was moved.":`à possibile che sia stato digitato male l'indirizzo o che la pagina sia stata spostata.`,"Invalid code":`Codice non valido`,Code:`Codice`,Next:`successivo`,"sign in":`Accedere`,"Enter password":`Inserisci la password`,"Sign in":`Accedere`,Verify:`Verifica`,minutes:`Minuti`,seconds:`Secondi`,"The code is valid for {{timeout}} {{unit}}.":`Il codice è valido per {{timeout}} {{unit}}.`,"Your account is blocked":`Il tuo account è bloccato`,"Email send":`Invio dell'e-mail`,"An email with a new code has been send.":`à stata inviata un'e-mail con un nuovo codice.`,"Resend email":`Invia nuovamente l'e-mail`,"Please enter the 6-digit security code you received by {{method}}.":`Inserisci il codice di sicurezza a 6 cifre ricevuto tramite {{method}}.`,"twoFactorAuthMethod.EMAIL":`Email`,"Max. {{size}} MB file size":`Dimensione massima del file {{size}} MB di dimensione del file`,"Your message has been successfully received.":`Il vostro messaggio è stato ricevuto con successo.`,Send:`Inviare`,Message:`Messaggio`,Subject:`Oggetto`,Support:`Assistenza`,"Contact our support":`Contatta il nostro supporto`,"Open guide":`Aprire la guida`,"Open help":`Aprire la guida`,"Session was successfully revoked.":`La sessione è stata revocata con successo.`,"No authenticated sessions available.":`Non sono disponibili sessioni autenticate.`,"It can take up to 60 minutes before the session will be logged out.":`Possono essere necessari fino a 60 minuti prima che la sessione venga interrotta.`,"Are you sure you want to revoke this session?":`Siete sicuri di voler revocare questa sessione?`,"Revoke session":`Revoca sessione`,Revoke:`Revoca`,"Device identifier":`Identificatore del dispositivo`,"Authenticated sessions":`Sessioni autenticate`,"Unknown server error":`Errore del server sconosciuto`,"Too many login attempts. Try again in {{timeout}}
4022 minutes.":`Troppi tentativi di accesso. Riprovare tra {{timeout}} minuti.`,"Yesterday, at {{time}}":`Ieri, alle {{time}}`,"Company name":`Nome della società `,"Contact phone number":`Numero di telefono del contatto`,"Read only":`Solo lettura`,Links:`Link`,"Footer link was deleted.":`Il link del piè di pagina è stato eliminato.`,"Footer link was saved.":`Il link del piè di pagina è stato salvato.`,"Are you sure you want to delete this footer link?":`Sei sicuro di voler cancellare questo link del piè di pagina?`,"Footer link":`Collegamento a piè di pagina`,"Footer links":`Collegamenti a piè di pagina`,"No footer links available.":`Nessun link del piè di pagina disponibile.`,"Delete footer link":`Cancellare il link del piè di pagina`,"Edit footer link":`Modifica il link del piè di pagina`,"Add footer link":`Aggiungi link al piè di pagina`,"Is external":`à esterno`,"Required field":`Campo obbligatorio`,Footer:`Piè di pagina`,"Footer successfully updated":`Piè di pagina aggiornato con successo`,"Footer details":`Dettagli piè di pagina`,"Contact email":`Email di contatto`,"Contact name":`Nome del contatto`,Id:`Id`,"No users available":`Nessun utente disponibile`,"Body fonts":`Body fonts`,"Headline font":`Carattere del titolo`,Favicons:`Favicons`,"Use for all icons":`Utilizzare per tutte le icone`,"You've reached the highest possible value.":`Hai raggiunto il massimo valore possibile`,"Invalid input":`Input non valido`,"The value must not be negative.":`Il valore non deve essere negativo.`,Size:`Dimensione`,Source:`Fonte`,Subheadline:`Sottotitolo`,Description:`Descrizione`,"Link Type":`Tipo di collegamento`,"Attach block":`Blocco di fissaggio`,"Existing Blocks":`Blocchi esistenti`,"Select existing blocks":`Selezionare blocchi esistenti`,"New Block":`Nuovo blocco`,Blocks:`Blocchi`,"VisualGroup.content":`Contenuto`,"VisualGroup.layout":`Layout`,"BlockType.imageBlock":`Blocco immagine`,"BlockType.headlineBlock":`Blocco titoli`,"BlockType.slateBlock":`Blocco di testo`,"BlockType.layoutRowBlock":`Blocco di file`,"BlockType.iframeBlock":`Blocco iFrame`,"BlockType.countdownBlock":`Blocco conto alla rovescia`,"BlockType.cardBlock":`Blocco scheda`,"BlockType.pageBlock":`Blocco pagina`,"BlockType.sectionBlock":`Blocco di sezione`,"BlockType.linkBlock":`Blocco di collegamento`,"BlockType.linkContainerBlock":`Blocco contenitore di collegamento`,"BlockType.keyVisualBlock":`Blocco visivo chiave`,"BlockType.layoutBackgroundImageBlock":`Blocco di layout dell'immagine di sfondo`,"BlockType.accordionBlock":`Blocco fisarmonica`,"LinkBlockType.page":`Blocco pagina`,"LinkBlockType.drawer":`Cassetto`,"LinkBlockType.internal":`Collegamento interno`,"LinkBlockType.external":`Collegamento esterno`,"No Blocks have been added.":`Non sono stati aggiunti blocchi.`,"Are you sure you want to delete this Block?":`Sei sicuro di voler cancellare questo blocco?`,"Are you sure you want to remove this Block?":`Sei sicuro di voler rimuovere questo blocco?`,"Block type":`Tipo di blocco`,Block:`Blocco`,Button:`Pulsante`,Text:`Testo`,Label:`Etichetta`,"Inherit Padding":`Ereditare l'imbottitura`,Countdown:`Conto alla rovescia`,Title:`Titolo`,Internal:`Interno`,External:`Esterno`,Drawer:`Cassetto`,"Enable Slug":`Abilitare la barra`,Refresh:`Aggiornare`,"Choose Block":`Scegliere il blocco`,"No blocks available":`Nessun blocco disponibile`,ContentBlock:`Blocco di contenuto`,"ContentBlock was saved.":`Il ContentBlock è stato salvato.`,"{{direction}} has to be between 0 and 50":`{{direzione}} deve essere compresa tra 0 e 50`,Top:`In alto`,Left:`A sinistra`,Right:`Diritto`,Bottom:`Fondo`,Gap:`Gap`,Padding:`Imbottitura`,"Background type":`Tipo di sfondo`,"Background color":`Colore di sfondo`,"Import successfully started.":`L'importazione è stata avviata con successo.`,Transparent:`Trasparente`,Background:`Sfondo`,Content:`Contenuto`,Custom:`Personalizzato`,"Add translation for this language":`Aggiungere la traduzione per questa lingua`,Pages:`Pagine`,"No block available.":`Nessun blocco disponibile.`,"Delete block":`Cancellare il blocco`,"Preview block":`Blocco di anteprima`,"Add block":`Aggiungi blocco`,"Edit block":`Blocco di modifica`,"Export block":`Blocco di esportazione`,"Import blocks":`Importazione di blocchi`,"Create page":`Crea pagina`,"Blocks Import":`Importazione di blocchi`,"The slug may only contain a-z, 0-9 and separating dashes.":`Lo slug può contenere solo a-z, 0-9 e trattini di separazione.`,"visualGroup.layout":`Layout`,"visualGroup.content":`Contenuto`,Mobile:`Mobile`,Tablet:`Tavoletta`,Desktop:`Desktop`,"Large Desktop":`Desktop grande`,Slug:`Lumaca`,Columns:`Colonne`,Headline:`Titolo`,Remove:`Rimuovere`,"No users attached":`Nessun utente collegato`,"Are you sure you want to remove this user from the role?":`Siete sicuri di voler rimuovere questo utente dal ruolo?`,"Remove user":`Rimuovere l'utente`,"User was successfully removed from the role."
4022:`L'utente è stato rimosso con successo dal ruolo.`,"Role user":`Ruolo utente`,"Attach users":`Allegare gli utenti`,"Successfully attached to the role":`Affiancato con successo al ruolo`,View:`Vista`,Create:`Creare`,"Show local time":`Mostra l'ora locale`,"Date time ({{timeZone}})":`Data ora ({{timeZone}})`,"Add date time":`Aggiungi data e ora`,"Date time format":`Formato della data e dell'ora`,Timezone:`Fuso orario`,Details:`Dettagli`,"Create role":`Creare un ruolo`,Alerts:`Avvisi`,"Prevent line breaks":`Prevenire le interruzioni di riga`,"Close accordion":`Chiudere la fisarmonica`,"Open accordion":`Fisarmonica aperta`,"This addon is not enabled.":`Questo addon non è abilitato.`,"Please speak to your project manager.":`Rivolgetevi al vostro project manager.`,"Please activate addon":`Attivare il componente aggiuntivo`,'Hello Team DGS, I would like to activate the addon "{{addonName}}" in {{url}}. Please send me also an additional offer for this.':`Salve Team DGS, vorrei attivare l'addon "{{addonName}}" in {{url}}. Vi prego di inviarmi anche un'offerta aggiuntiva per questo.`,"Contact us":`Contattateci`,"All aspect ratios":`Tutti i rapporti di aspetto`,"Aspect ratio":`Rapporto d'aspetto`,"Unknown aspect ratio":`Rapporto d'aspetto sconosciuto`,Error:`Errore`,"An error has occurred.":`Si è verificato un errore.`,"Request too large":`Richiesta troppo grande`,"Login with":`Accesso con`,Profile:`Profilo`,"Profile was saved.":`Il profilo è stato salvato.`,"Field is required":`Il campo è obbligatorio`,"Upload avatar":`Carica avatar`,"First name":`Nome`,"
4022Last name":`Cognome`,Position:`Posizione`,Company:`Azienda`,"Change password":`Modifica della password`,Save:`Risparmiare`,"My profile":`Il mio profilo`,Clear:`Libero`,"Discard changes":`Scartare le modifiche`,"Stay on page":`Rimani a pagina`,"You have not saved your changes. Do you really want to discard them?":`Non avete salvato le modifiche. Volete davvero eliminarle?`,"Font name":`Nome del carattere`,"Choose file":`Scegliere il file`,Regular:`Regolare`,Bold:`In grassetto`,Italic:`Corsivo`,"Bold italic":`Grassetto corsivo`,Colors:`Colori`,"Color assistant":`Assistente al colore`,"If you apply changes your custom changes to colors will be lost.":`Se si applicano le modifiche, le modifiche personalizzate ai colori andranno perse.`,Primary:`Primario`,Secondary:`Secondario`,Apply:`Applicare`,"Brand settings":`Impostazioni del marchio`,"Brand settings saved successfully.":`Le impostazioni del marchio sono state salvate con successo.`,"This feature is only available if the frontend uses the DGS theme.":`Questa funzione è disponibile solo se il frontend utilizza il tema DGS.`,"Edit settings":`Modifica delle impostazioni`,Name:`Nome`,Logo:`Logo`,Favicon:`Favicon`,Submit:`Invia`,"Previous month":`Mese precedente`,Today:`Oggi`,"Next month":`Il prossimo mese`,"The password needs to be at least 12 characters long.":`La password deve essere lunga almeno 12 caratteri.`,"Passwords do not match":`Le password non corrispondono`,"Password was successfully changed.":`La password è stata modificata con successo.`,Password:`Password`,"Old password":`Vecchia password`,"New password":`Nuova password`,"Repeat password":`Ripetere la password`,"Select a color":`Selezionare un colore`,"Confirm image selection":`Confermare la selezione dell'immagine`,Back:`Indietro`,Confirm:`Confermare`,"More options":`Altre opzioni`,Days:`Giorni`,Hours:`Ore`,Min:`Minuti`,Sec:`Sec`,Add:`Aggiungi`,"Open column filter":`Filtro a colonna aperta`,"Column filters":`Filtri a colonna`,Reset:`Reset`,"Delete column filter":`Eliminare il filtro della colonna`,Operator:`Operatore`,"New column filter":`Nuovo filtro a colonna`,"Choose column":`Scegliere la colonna`,"Add column filter":`Aggiungere un filtro di colonna`,"Enable bulk edit":`Abilita la modifica in blocco`,"Deselect all":`Deselezionare tutti`,"Select all":`Seleziona tutti`,"item(s) selected":`articolo/i selezionato/i`,"Disable bulk edit":`Disabilita la modifica in blocco`,"Select current page":`Selezionare la pagina corrente`,Search:`Ricerca`,"Click for more information":`Clicca per maggiori informazioni`,"Search columns:":`Colonne di ricerca:`,sort:`tipo`,"Previous interval":`Intervallo precedente`,"Next interval":`Intervallo successivo`,"Previous day":`Giorno precedente`,"Next day":`Il giorno dopo`,Delete:`Cancellare`,"Close drawer":`Chiudere il cassetto`,Status:`Stato`,"Created at":`Creato presso`,Available:`Disponibile`,"In progress":`In corso`,Failed:`Fallito`,"Deleted by deletion request":`Eliminato con richiesta di cancellazione`,"No exports.":`Nessuna esportazione.`,Exports:`Esportazioni`,Export:`Esportazione`,Download:`Scaricare`,"Export was deleted.":`L'esportazione è stata cancellata.`,Close:`Chiudere`,"Are you sure you want to delete this export?":`à sicuro di voler eliminare questa esportazione?`,File:`File`,Public:`Pubblico`,Path:`Percorso`,Files:`File`,"No files available":`Nessun file disponibile`,"Are you sure you want to delete this file?":`Siete sicuri di voler eliminare questo file?`,"Headline font name":`Nome del font del titolo`,"Format headline":`Formato titolo`,"Add hyperlink":`Aggiungere un collegamento ipertestuale`,Url:`Url`,"New tab":`Nuova scheda`,"Add link":`Aggiungi link`,"There are validation errors in other languages of this form.":`Ci sono errori di convalida in altre lingue di questo modulo.`,"Validation errors":`Errori di convalida`,"Select option":`Selezionare l'opzione`,"Are you sure you want to delete this image?":`Sei sicuro di voler eliminare questa immagine?`,Images:`Immagini`,"Image was deleted.":`L'immagine è stata cancellata.`,Image:`Immagine`,"Select an image":`Selezionare un'immagine`,"Choose image...":`Scegliere l'immagine...`,"Remove image":`Rimuovi immagine`,"Image upload":`Caricamento dell'immagine`,Upload:`Caricare`,"Choose image":`Scegliere l'immagine`,"Delete image":`Cancellare l'immagine`,"Wrong aspect ratio":`Rapporto d'aspetto errato`,"An export is created, please wait":`L'esportazione è stata creata, attendere`,"Upload was successful.":`Il caricamento è avvenuto con successo.`,Import:`Importazione`,Open:`Aperto`,"Invalid email address":`Indirizzo e-mail non valido`,Welcome:`Benvenuti`,Email:`Email`,"Log in":`Accedi`,Register:`Registro`,Type:`Tipo`,"Select...":`Selezionare...`,Menu:`Menu`,"Create menu item":`Creare una voce di menu`,"The menu was successfully sorted.":`Il menu è stato ordinato con successo.`,E
4022dit:`Modifica`,"Edit menu item":`Voce di menu Modifica`,"Delete menu item":`Voce di menu Elimina`,"Are you sure you want to delete this menu item?":`Siete sicuri di voler eliminare questa voce di menu?`,"Close navigation sidebar":`Chiudere la barra laterale di navigazione`,"Open navigation sidebar":`Aprire la barra laterale di navigazione`,Logout:`Disconnessione`,"Not authorized":`Non autorizzato`,"Either your account is not connected to this application or you are not authorized to access this feature.":`Il vostro account non è collegato a questa applicazione o non siete autorizzati ad accedere a questa funzione.`,"Move before":`Muoversi prima`,"Move after":`Muoversi dopo`,Cancel:`Annullamento`,Cut:`Tagliare`,of:`di`,"Previous page":`Pagina precedente`,"Next page":`Pagina successiva`,"Forgot your password?":`Avete dimenticato la password?`,"Password reset":`Ripristino della password`,"The link has already been used or has expired.":`Il link è già stato utilizzato o è scaduto.`,Login:`Accesso`,"Request new link":`Richiedi un nuovo link`,"Crop new image":`Ritagliare la nuova immagine`,"You should receive an email with instructions to reset your password shortly.":`Riceverete a breve un'e-mail con le istruzioni per reimpostare la password.`,"Back to login":`Torna al login`,"Set your password":`Impostare la password`,"Your new password needs to be at least 12 characters long.":`La nuova password deve essere lunga almeno 12 caratteri.`,"Confirm new password":`Confermare la nuova password`,"Set password":`Impostare la password`,"At least one permission is required":`à necessario almeno un permesso`,"No permissions available.":`Non sono disponibili autorizzazioni.`,Permission:`Permesso`,Role:`Ruolo`,"Role was successfully created.":`Il ruolo è stato creato con successo.`,"Role was successfully updated.":`Il ruolo è stato aggiornato con successo.`,"Role was successfully deleted.":`Il ruolo è stato eliminato con successo.`,"Edit role":`Modifica ruolo`,"Delete role":`Eliminare il ruolo`,"Are you sure you want to delete this role?":`à sicuro di voler eliminare questo ruolo?`,"Create tag":`Creare un tag`,"Edit tag":`Modifica del tag`,Roles:`Ruoli`,"No roles available":`Nessun ruolo disponibile`,"Rows per page":`Righe per pagina`,"No options available":`Nessuna opzione disponibile`,"Create {{option}}":`Creare {{opzione}}`,"Add shortcut":`Aggiungi scorciatoia`,"This feature is an addon.":`Questa funzione è un addon.`,"Open menu":`Aprire il menu`,"Close menu":`Chiudere il menu`,"System messages":`Messaggi di sistema`,Color:`Colore`,"Apply color":`Applicare il colore`,"Time controlled content visibility":`Visibilità dei contenuti controllata nel tempo`,"Preview type":`Tipo di anteprima`,Underline:`Sottolineatura`,Subscript:`Sottoscritto`,Superscript:`Superscriptum`,"Align left":`Allinea a sinistra`,"Align center":`Allineare il centro`,"Align right":`Allineare a destra`,"Numbered list":`Elenco numerato`,"Bulleted list":`Elenco puntato`,"Save file":`Salvare il file`,"File was deleted.":`Il file è stato eliminato.`,"Delete file":`Cancellare il file`,"Could not delete file.":`Impossibile eliminare il file.`,"Invalid date":`Data non valida`,"Your selection is under {{pixel}}px wide and may not display optimally. Please select a larger area if possible.":`La tua selezione ha una larghezza inferiore a {{pixel}}px e potrebbe non essere visualizzata in modo ottimale. Se possibile, selezionare un'area più grande.`,"The selected image is under {{pixel}}px wide and may not display optimally. Please use a larger image if possible.":`L'immagine selezionata ha una larghezza inferiore a {{pixel}}px e potrebbe non essere visualizzata in modo ottimale. Se possibile, utilizzare un'immagine più grande.`,Users:`Utenti`,User:`Utente`,"File upload":`Caricamento dei file`,"File was uploaded.":`Il file è stato caricato.`,"Uploaded {{uploaded}} of {{total}}":`Caricati {{uploaded}} di {{total}}`,"New version available":`Nuova versione disponibile`,"The page must be reloaded to use the latest version and avoid possible errors.":`La pagina deve essere ricaricata per utilizzare l'ultima versione ed evitare possibili errori.`,"Reload now":`Ricarica ora`,"Version {{version}}":`Versione {{version}}`,"Copy to clipboard":`Copia negli appunti`,"Copied to clipboard":`Copiato negli appunti`},dKe={"Only logged-in users can access this file.":`Bare påloggede brukere har tilgang til denne filen.`,"Anyone with the link can access this file.":`Alle med lenken har tilgang til denne filen.`,"Access permission":`Tilgangstillatelse`,"Use compact display":`Bruk kompakt visning`,parents_one:`Overordnet blokk`,parents_other:`Overordnede blokker`,entities_one:`Blokk som enhet`,entities_other:`Blokker som enhet`,"Uploaded at":`Lastet opp kl.`,"{{count}} blocks are missing required data.other":`{{count}} blokker mangler påkrevde data.`,"{{count}} blocks are missing required data._one":`En blokk mangler påkrevde data.`,"This block is missing some entities.":`Denne blokken mangler noen enheter.`,"BlockType.dividerBlock":`Skillelinjeblokk`,"Line style":`Linjestil`,Solid:`Solid`,Dashed:`Stiplet`,Dotted:`Prikket`,"Line color":`Linjefarge`,"Is required":`Er påkrevd`,"Icon file (SVG)":`Ikonfil (SVG)`,"BlockType.cardLayoutBlock":`Kortoppsettblokk`,"BlockType.iconBlock":`Ikonblokk`,"The file must be an SVG.":`Filen må være en SVG-fil.`,"Star rating (1-5)":`Stjerneklassifisering (1-5)`,"Rating scale (1-10)":`Vurderingsskala (1-10)`,"LinkBlockType.file":`Fil`,"When duplicating, you can either reuse the existing children (changes will affect all places where they are used) or create duplicates (changes will be independent). Please choose how to proceed.":`Når du dupliserer, kan du enten gjenbruke eksisterende underordnede elementer (endringer vil påvirke alle steder hvor de brukes) eller opprette duplikater (endringer vil være uavhengige). Velg hvordan du vil fortsette.`,"This block will be duplicated because you chose to duplicate at least one of its child elements.":`Denne blokken vil bli duplisert fordi du valgte å duplisere minst ett av dens underordnede elementer.`,"{{count}} Usages_other":`{{count}}
4022 BruksomrÃ¥der`,"{{count}} Usages_one":`{{count}} Bruk`,Reuse:`Gjenbruk`,Duplicate:`Duplikat`,"Duplicate block":`Dupliser blokk`,"The weighting of questions is applied to calculate the overall score.":`Vektingen av spørsmÃ¥l brukes til Ã¥ beregne den totale poengsummen.`,"The weight field must be an integer between 0 and 100.":`Vektfeltet mÃ¥ være et heltall mellom 0 og 100.`,Weight:`Vekt`,Average:`Gjennomsnitt`,Sum:`Sum`,Median:`Median`,Count:`Antall`,Number:`Nummer`,"The export cannot be imported. The version of the export is not supported.":`Eksporten kan ikke importeres. Versjonen av eksporten støttes ikke.`,"Invalid value":`Ugyldig verdi`,"Next step":`Neste trinn`,"At least one answer option has to be given.":`Minst ett svaralternativ mÃ¥ oppgis.`,"Question evaluation":`Evaluering av spørsmÃ¥l`,"Update feedback question":`SpørsmÃ¥l om oppdatering av tilbakemeldinger`,"Create feedback question":`Opprett tilbakemeldingsspørsmÃ¥l`,"No questions available.":`Ingen spørsmÃ¥l tilgjengelig.`,"Discard language":`Forkast sprÃ¥k`,"Thank you for submitting feedback!":`Takk for at du sendte inn tilbakemeldinger!`,"Not available":`Ikke tilgjengelig`,"Feedback is only available for users who are logged-in.":`Tilbakemeldinger er bare tilgjengelige for brukere som er innlogget.`,"BlockType.feedbackBlock":`Tilbakemelding`,"Your feedback has been submitted.":`Tilbakemeldingen din er sendt inn.`,"Login background":`Innloggingsbakgrunn`,"Login background was successfully saved.":`Innloggingsbakgrunn ble lagret.`,"Admin image":`Administratorbilde`,"Frontend image":`Frontend-bilde`,"Keep it short, usually 1-2 sentences. Donât overthink it.":`Hold det kort, vanligvis 1-2 setninger. Ikke tenk for mye pÃ¥ det.`,"Consider key elements of why you chose this image, instead of describing every little detail.":`Tenk pÃ¥ de viktigste elementene i hvorfor du valgte dette bildet, i stedet for Ã¥ beskrive hver minste detalj.`,"No need to say âimage ofâ or âpicture ofâ â the screen reader recognizes this itself.":`Du trenger ikke Ã¥ si "bilde av" eller "bilde av" - skjermleseren gjenkjenner dette selv.`,"But, do say if itâs a logo, illustration, painting, or cartoon.":`Men si om det er en logo, illustrasjon, maleri eller tegneserie.`,"Donât duplicate text thatâs adjacent in the document or website.":`Ikke dupliser tekst som stÃ¥r ved siden av i dokumentet eller pÃ¥ nettstedet.`,"End the ALT text sentence with a period â this makes it sound more natural for reading programs.":`Avslutt ALT-tekstsetningen med et punktum - dette gjør at det høres mer naturlig ut for leseprogrammer.`,"A descriptive ALT text makes your content more inclusive and visible.":`En beskrivende ALT-tekst gjør innholdet ditt mer inkluderende og synlig.`,"Alternative Text (ALT Text)":`Alternativ tekst (ALT-tekst)`,"Please wait for the upload to finish.":`Vennligst vent til opplastingen er ferdig.`,"{{count}} Stars_other":`{{count}} Stjerner`,"{{count}} Stars_one":`{{count}} Stjerne`,"{{amount}} out of {{total}}":`{{amount}} av {{total}}`,"Average rating":`Gjennomsnittlig vurdering`,"Choose a question":`Velg et spørsmÃ¥l`,"Feedback has been reset.":`Tilbakemeldingene er tilbakestilt.`,"Number of participants":`Antall deltakere`,"Reset feedback":`Tilbakemelding`,"Are you sure you want to reset this feedback?":`Er du sikker pÃ¥ at du vil tilbakestille denne tilbakemeldingen?`,Question:`SpørsmÃ¥l`,"This question has not been answered yet.":`Dette spørsmÃ¥let er ikke besvart ennÃ¥.`,"Unknown answer option":`Ukjent svaralternativ`,"Number of questions":`Antall spørsmÃ¥l`,"Feedback question was deleted.":`TilbakemeldingsspørsmÃ¥let ble slettet.`,"Feedback question was saved.":`TilbakemeldingsspørsmÃ¥let ble lagret.`,"Free text":`Fritekst`,"Multiple choice":`Flervalg`,"Single choice":`Enkelt valg`,"Are you sure you want to delete this feedback question?":`Er du sikker pÃ¥ at du vil slette dette tilbakemeldingsspørsmÃ¥let?`,Questions:`SpørsmÃ¥l`,"Add answer option":`Legg til svaralternativ`,"Delete answer option":`Slett svaralternativ`,"Answer options":`Svaralternativer`,"Feedback question":`SpørsmÃ¥l om tilbakemelding`,"Successfully sorted.":`Vellykket sortert.`,"Are you sure you want to delete this feedback?":`Er du sikker pÃ¥ at du vil slette denne tilbakemeldingen?`,"No feedback available.":`Ingen tilbakemeldinger tilgjengelig.`,"Feedback was created.":`Tilbakemelding opprettet.`,"Feedback was updated.":`Tilbakemelding oppdatert.`,"Feedback was deleted.":`Tilbakemelding slettet.`,"Delete feedback":`Slett tilbakemelding`,"Edit feedback":`Rediger tilbakemelding`,"Add feedback":`Legg til tilbakemelding`,Feedback:`Tilbakemelding`,"This role is the default, do you want to delete it anyway?":`Denne rollen er standardinnstillingen. Vil du likevel slette den?`,"Button color":`Knappens farge`,"The picture carousel automatically switches to the next picture after a certain time.":`Bildekarusellen bytter automatisk til neste bilde etter en viss tid.`,"When the last image is reached, the image carousel automatically jumps back to the first image.":`NÃ¥r det siste bildet er nÃ¥dd, hopper karusellen automatisk tilbake til det første bildet.`,"Activate navigation points":`Aktiver navigasjonspunkter`,"Small dots below the image carousel show the number of images and allow you to jump directly to a specific image.":`SmÃ¥ prikker under bildekarusellen viser antall bilder og lar deg hoppe direkte til et bestemt bilde.`,"Selected images":`Valgte bilder`,"blockSubmitButton.save":`Lagre`,"When enabled, the tabs are left-aligned and horizontally scrollable if there is not enough space. When disabled, they are evenly distributed across the entire width.":`NÃ¥r aktivert, er fanene venstrejustert og horisontalt rullbare hvis det ikke er nok plass. NÃ¥r deaktivert, fordeles de jevnt over hele bredden.`,"The file type is not supported.":`Filtypen støttes ikke.`,"Export settings saved successfully.":`Eksportinnstillinger lagret.`,"Export settings":`Eksportinnstillinger`,"Date format":`Datoformat`,"Year-Month-Day":`Ã
r-MÃ¥ned-Dag`,"Day.Month.Year":`Dag.MÃ¥ned.Ã
r`,"Month/Day/Year":`MÃ¥ned/Dag/Ã
r`,"Iso-8601 format with timezone":`Iso-8601-format med tidssone`,"Year-Month-Day, 24 hour UTC time format":`Ã
r-MÃ¥ned-Dag, 24-timers UTC-tidsformat`,"Day.Month.Year, 24 hour time format":`Dag.MÃ¥ned.Ã
r, 24-timers tidsformat`,"Month/Day/Year, 12 hour time format":`MÃ¥ned/Dag/Ã
r, 12-timers tidsformat`,"24 hour time format":`24-timers tidsformat`,"12 hour time format":`12-timers tidsformat`,"Time format":`Tidsformat`,"Unknown format":`Ukjent format`,Usages:`Bruk`,"This block is being used {{amount}} times. Click <OpenDrawerButton>here</OpenDrawerButton> to see the usages.":`Denne blokken brukes {{amount}} ganger. Klikk <OpenDrawerButton>her</OpenDrawerButton> for å se bruk.`,"The error happened on:":`Feilen skjedde den:`,"Is scrollable":`Kan rulles`,PAGE:`Side`,CATEGORY:`Kategori`,EXTERNAL_NEW_TAB:`Ekstern (ny fane)`,EXTERNAL:`Ekstern`,INTERNAL:`Intern`,"Invalid URL format: The URL must start with https://.":`
4022Ugyldig URL-format: URL-en må starte med https://.`,"The footer links are sorted.":`Bunntekstlenkene er sortert.`,"Create footer link":`Opprett bunntekstlenke`,"Mute audio":`Demp lyd`,"Play in loop":`Spill av i loop`,"Show controls":`Vis kontroller`,Autoplay:`Automatisk avspilling`,"BlockType.videoBlock":`Video`,"BlockType.imageGalleryBlock":`Bildegalleri`,"No images selected.":`Ingen bilder valgt.`,"Show shadow":`Vis skygge`,"Show bottom border":`Vis bunnkant`,"Bottom border color":`Farge på bunnkant`,"Color schema":`Fargeskjema`,"Show title":`Vis tittel`,Date:`Dato`,"Show seconds":`Vis sekunder`,"Title position":`Tittelposisjon`,Above:`Over`,Below:`Under`,"Vertical alignment":`Vertikal justering`,"CountdownBlock.Start":`Start`,"CountdownBlock.Center":`Sentrert`,"CountdownBlock.End":`Slutt`,"Text color":`Tekstfarge`,"Background gradient":`Bakgrunnsgradient`,"Gradient start color":`Startfarge for gradient`,"Gradient end color":`Gradient sluttfarge`,Center:`Sentrert`,"Text alignment":`Justering av tekst`,"Enable arrow navigation":`Aktiver pilnavigasjon`,"Display image progress with dots":`Vis bildeprogresjon med prikker`,"The display duration must be greater than zero.":`Varigheten av visningen må være større enn null.`,"Enable autoplay":`Aktiver automatisk avspilling`,"Display duration of image in seconds":`Vis varighet av bildet i sekunder`,"Loop animation":`Gjenta animasjon`,"BlockType.imageCarouselBlock":`Bildekarusellblokk`,Drag:`Dra`,"Will be visible on marker click.":`Vil være synlig når du klikker på markøren.`,small:`liten`,medium:`middels`,large:`stor`,"Add {{ blockName }}":`Legg til {{ blockName }}`,Latitude:`Breddegrad`,Longitude:`Lengdegrad`,"BlockType.mapsBlock":`Maps block`,"BlockType.mapMarkerBlock":`Kartmarkør block`,"To add or remove map markers use the preview for this maps block.":`Bruk forhåndsvisningen for denne kartblokken til å legge til eller fjerne kartmarkører.`,"BlockType.tabBlock":`Tabulatorblokk`,"BlockType.tabContainerBlock":`Tab Container Block`,"The total of all column widths must be smaller than 100%":`Summen av alle kolonnebredder må være mindre enn 100 %.`,"Add {{breakpoint}}":`Legg til {{breakpoint}}`,"Amount of columns":`Antall kolonner`,"Advanced layout":`Avansert layout`,"{{number}}. column width (in %)":`{{number}}. Antall kolonner (i %)`,"Reverse block order":`Omvendt blokkrekkefølge`,Preview:`Forhåndsvisning`,"BlockType.gridLayoutColumnBlock":`Rutenett kolonneblokk`,"Default Collapsed":`Som standard lukket`,"The title is displayed in the browser tab.":`Tittelen vises i nettleserfanen.`,"The label is displayed in the browser tab.":`Merkelappen vises i nettleserfanen.`,"Fit to page width":`Tilpass til sidebredden`,"Delete {{modelName}}":`Slett {{modelName}}`,"The deletion is being prevented by the following connections:_one":`Slettingen forhindres av følgende tilkobling:`,"The deletion is being prevented by the following connections:_other":`Slettingen forhindres av følgende tilkoblinger:`,"With the deletion the following connections will be removed:_one":`Med slettingen vil følgende tilkobling bli fjernet:`,"With the deletion the following connections will be removed:_other":`Med slettingen vil følgende tilkoblinger bli fjernet:`,"The page you are looking for doesn't exist.":`Siden du leter etter, finnes ikke.`,"You may have mistyped the address or the page was moved.":`Du kan ha skrevet feil adresse, eller siden kan ha blitt flyttet.`,"Invalid code":`Ugyldig kode`,Code:`Kode`,Next:`Neste`,"sign in":`Logg inn`,"Enter password":`Skriv inn passord`,"Sign in":`Logg inn`,Verify:`Bekreft`,minutes:`minutter`,seconds:`Sekunder`,"The code is valid for {{timeout}} {{unit}}.":`Koden er gyldig i {{timeout}} {{unit}}.`,"Your account is blocked":`Kontoen din er blokkert`,"Email send":`E-post sendt`,"An email with a new code has been send.":`En e-post med en ny kode har blitt sendt.`,"Resend email":`Send e-post på nytt`,"Please enter the 6-digit security code you received by {{method}}.":`Vennligst skriv inn den 6-sifrede sikkerhetskoden du mottok via {{method}}
4022.`,"twoFactorAuthMethod.EMAIL":`Send e-post`,"Max. {{size}} MB file size":`Maks. {{size}} MB filstørrelse`,"Session was successfully revoked.":`Ãkten ble vellykket opphevet.`,"No authenticated sessions available.":`Ingen autentiserte økter tilgjengelige.`,"It can take up to 60 minutes before the session will be logged out.":`Det kan ta opptil 60 minutter før økten blir logget ut.`,"Are you sure you want to revoke this session?":`Er du sikker pÃ¥ at du vil oppheve denne økten?`,"Revoke session":`Tilbakekall økten`,Revoke:`Tilbakekall`,"Device identifier":`Enhetsidentifikator`,"Authenticated sessions":`Autentiserte økter`,"Your message has been successfully received.":`Meldingen din har blitt mottatt.`,Send:`Send`,Message:`Melding`,Subject:`Emne`,Support:`Kundeservice`,"Contact our support":`Kontakt vÃ¥r support`,"Open guide":`Ã
pne guide`,"Open help":`Ã
pne hjelp`,"Unknown server error":`Ukjent serverfeil`,"Too many login attempts. Try again in {{timeout}} minutes.":`For mange påloggingsforsøk. Prøv igjen om {{timeout}} minutter.`,"Yesterday, at {{time}}":`I går, kl {{time}}`,"Company name":`Firmanavn`,"Contact phone number":`Telefonnummer til kontaktperson`,"Read only":`Kun lesing`,Links:`Lenker`,"Footer link was deleted.":`Lenke til bunntekst ble slettet.`,"Footer link was saved.":`Lenke til bunntekst ble lagret.`,"Are you sure you want to delete this footer link?":`Er du sikker på at du vil slette denne bunntekstlenken?`,"Footer link":`Lenke til bunntekst`,"Footer links":`Lenker til bunntekst`,"No footer links available.":`Ingen bunntekstlenker tilgjengelig.`,"Delete footer link":`Slett bunntekstlenke`,"Edit footer link":`Rediger bunntekstlenke`,"Add footer link":`Legg til bunntekstlenke`,"Is external":`Er ekstern`,"Required field":`Obligatorisk felt`,Footer:`Sidefot`,"Footer successfully updated":`Sidefoten er oppdatert`,"Footer details":`Detaljer om bunntekst`,"Contact email":`Kontaktens e-post`,"Contact name":`Navn på kontaktperson`,Id:`Id`,"No users available":`Ingen brukere tilgjengelig`,"Body fonts":`Body-skrifttyper`,"Headline font":`Skrifttype for overskrift`,Favicons:`Favicons`,"Use for all icons":`Brukes for alle ikoner`,"You've reached the highest possible value.":`Du har nådd høyest mulig verdi.`,"Invalid input":`Ugyldig inndata`,"The value must not be negative.":`Verdien kan ikke være negativ.`,Size:`Størrelse`,Source:`Kilde`,Subheadline:`Underoverskrift`,Description:`Beskrivelse`,"Link Type":`Type lenke`,"Attach block":`Fest blokken`,"Existing Blocks":`Eksisterende blokker`,"Select existing blocks":`Velg eksisterende blokker`,"New Block":`Ny blokk`,Blocks:`Blokker`,"VisualGroup.content":`Innhold`,"VisualGroup.layout":`Oppsett`,"BlockType.imageBlock":`Bildeblokk`,"BlockType.headlineBlock":`Overskriftsblokk`,"BlockType.slateBlock":`Tekstblokk`,"BlockType.layoutRowBlock":`Radblokk`,"BlockType.iframeBlock":`iFrame-blokk`,"BlockType.countdownBlock":`Nedtellingsblokk`,"BlockType.cardBlock":`Kortblokk`,"BlockType.pageBlock":`Sideblokk`,"BlockType.sectionBlock":`Seksjonsblokk`,"BlockType.linkBlock":`Koblingsblokk`,"BlockType.linkContainerBlock":`Blokk for lenkebeholdere`,"BlockType.keyVisualBlock":`Viktig visuell blokk`,"BlockType.layoutBackgroundImageBlock":`Layoutblokk for bakgrunnsbilde`,"BlockType.accordionBlock":`Trekkspillblokk`,"LinkBlockType.page":`Sideblokk`,"LinkBlockType.drawer":`Skuff`,"LinkBlockType.internal":`Intern lenke`,"LinkBlockType.external":`Ekstern lenke`,"No Blocks have been added.":`Ingen blokker er lagt til.`,"Are you sure you want to delete this Block?":`Er du sikker på at du vil slette denne blokken?`,"Are you sure you want to remove this Block?":`Er du sikker på at du vil fjerne denne blokken?`,"Block type":`Type blokk`,Block:`Blokk`,Button:`Knapp`,Text:`Tekst`,Label:`Etikett`,"Inherit Padding":`Arve utfylling`,Countdown:`Nedtelling`,Title:`Tittel`,Internal:`Internt`,External:`Eksternt`,Drawer:`Skuff`,"Enable Slug":`Aktiver Slug`,Refresh:`Oppdater`,"Choose Block":`Velg blokk`,"No blocks available":`Ingen blokker tilgjengelig`,ContentBlock:`Innholdsblokk`,"ContentBlock
4022was saved.":`ContentBlock ble lagret.`,"{{direction}} has to be between 0 and 50":`{{direction}} må være mellom 0 og 50`,Top:`Topp`,Left:`Venstre`,Right:`Høyre`,Bottom:`Bunn`,Gap:`Gap`,Padding:`Polstring`,"Background type":`Bakgrunnstype`,"Background color":`Bakgrunnsfarge`,"Import successfully started.":`Importen er startet.`,Transparent:`Gjennomsiktig`,Background:`Bakgrunn`,Content:`Innhold`,Custom:`Tilpasset`,"Add translation for this language":`Legg til oversettelse for dette språket`,Pages:`Sider`,"No block available.":`Ingen blokk tilgjengelig.`,"Delete block":`Slett blokk`,"Preview block":`Forhåndsvisning av blokk`,"Add block":`Legg til blokk`,"Edit block":`Redigeringsblokk`,"Export block":`Eksportblokk`,"Import blocks":`Importblokker`,"Create page":`Opprett side`,"Blocks Import":`Import av blokker`,"The slug may only contain a-z, 0-9 and separating dashes.":`Sluggen kan bare inneholde a-z, 0-9 og skilletegn.`,"visualGroup.layout":`Oppsett`,"visualGroup.content":`Innhold`,Mobile:`Mobil`,Tablet:`Nettbrett`,Desktop:`Skrivebord`,"Large Desktop":`Stort skrivebord`,Slug:`Snegl`,Columns:`Kolonner`,Headline:`Overskrift`,Remove:`Fjern`,"No users attached":`Ingen brukere tilknyttet`,"Are you sure you want to remove this user from the role?":`Er du sikker på at du vil fjerne denne brukeren fra rollen?`,"Remove user":`Fjern bruker`,"User was successfully removed from the role."
4022:`Brukeren ble fjernet fra rollen.`,"Role user":`Rolle bruker`,"Attach users":`Legg til brukere`,"Successfully attached to the role":`Vellykket knyttet til rollen`,View:`Visning`,Create:`Opprett`,"Show local time":`Vis lokal tid`,"Date time ({{timeZone}})":`Dato og klokkeslett ({{timeZone}})`,"Add date time":`Legg til dato og klokkeslett`,"Date time format":`Format for dato og klokkeslett`,Timezone:`Tidssone`,Details:`Detaljer`,"Create role":`Opprett rolle`,Alerts:`Varsler`,"Prevent line breaks":`Forhindre linjeskift`,"Close accordion":`Lukk trekkspill`,"Open accordion":`Ã
pne trekkspill`,"This addon is not enabled.":`Dette tillegget er ikke aktivert.`,"Please speak to your project manager.":`Ta kontakt med prosjektlederen din.`,"Please activate addon":`Vennligst aktiver tillegget`,'Hello Team DGS, I would like to activate the addon "{{addonName}}" in {{url}}. Please send me also an additional offer for this.':`Hei Team DGS, jeg vil gjerne aktivere tillegget "{{addonName}}" i {{url}}. Vennligst send meg ogsÃ¥ et ekstra tilbud pÃ¥ dette.`,"Contact us":`Kontakt oss`,"All aspect ratios":`Alle størrelsesforhold`,"Aspect ratio":`Størrelsesforhold`,"Unknown aspect ratio":`Ukjent størrelsesforhold`,Error:`Feil`,"An error has occurred.":`Det har oppstÃ¥tt en feil.`,"Request too large":`Forespørsel for stor`,"Login with":`Logg inn med`,Profile:`Profil`,"Profile was saved.":`Profilen ble lagret.`,"Field is required":`Feltet er obligatorisk`,"Upload avatar":`Last opp avatar`,"First name":`Fornavn`,"Last name":`Etternavn`,Position:`Stilling`,Company:`Selskap`,"Change password":`Endre passord`,Save:`Lagre`,"My profile":`Min profil`,Clear:`Klar`,"Discard changes":`Forkast endringer`,"Stay on page":`Hold deg pÃ¥ siden`,"You have not saved your changes. Do you really want to discard them?":`Du har ikke lagret endringene dine. Vil du virkelig forkaste dem?`,"Font name":`Navn pÃ¥ skrifttype`,"Choose file":`Velg fil`,Regular:`Vanlig`,Bold:`Fet`,Italic:`Kursiv`,"Bold italic":`Fet kursiv`,Colors:`Farger`,"Color assistant":`Fargeassistent`,"If you apply changes your custom changes to colors will be lost.":`Hvis du legger til endringer, vil de tilpassede fargeendringene gÃ¥ tapt.`,Primary:`Primær`,Secondary:`Sekundær`,Apply:`Søke`,"Brand settings":`Merkeinnstillinger`,"Brand settings saved successfully.":`Merkevareinnstillingene er lagret.`,"This feature is only available if the frontend uses the DGS theme.":`Denne funksjonen er bare tilgjengelig hvis frontenden bruker DGS-temaet.`,"Edit settings":`Rediger innstillinger`,Name:`Navn`,Logo:`Logo`,Favicon:`Favicon`,Submit:`Send inn`,"Previous month":`Forrige mÃ¥ned`,Today:`I dag`,"Next month":`Neste mÃ¥ned`,"The password needs to be at least 12 characters long.":`Passordet mÃ¥ være pÃ¥ minst 12 tegn.`,"Passwords do not match":`Passordene stemmer ikke overens`,"Password was successfully changed.":`Passordet ble endret.`,Password:`Passord`,"Old password":`Gammelt passord`,"New password":`Nytt passord`,"Repeat password":`Gjenta passord`,"Select a color":`Velg en farge`,"Confirm image selection":`Bekreft valg av bilde`,Back:`Tilbake`,Confirm:`Bekreft`,"More options":`Flere alternativer`,Days:`Dager`,Hours:`Timer`,Min:`Min`,Sec:`Sec`,Add:`Legg til`,"Open column filter":`Ã
pent kolonnefilter`,"Column filters":`Kolonnefiltre`,Reset:`Tilbakestill`,"Delete column filter":`Slett kolonnefilter`,Operator:`Operatør`,"New column filter":`Nytt kolonnefilter`,"Choose column":`Velg kolonne`,"Add column filter":`Legg til kolonnefilter`,"Enable bulk edit":`Aktivere masseredigering`,"Deselect all":`Fjern markeringen av alle`,"Select all":`Velg alle`,"item(s) selected":`valgt(e) vare(r)`,"Disable bulk edit":`Deaktivere masseredigering`,"Select current page":`Velg aktuell side`,Search:`Søk`,"Click for more information":`Klikk for mer informasjon`,"Search columns:":`Søk i kolonner:`,sort:`sortering`,"Previous interval":`Forrige intervall`,"Next interval":`Neste intervall`,"Previous day":`Forrige dag`,"Next day":`Neste dag`,Delete:`Slett`,"Close drawer":`Lukk skuffen`,Status:`Status`,"Created at":`Opprettet på`,Available:`Tilgjengelig`,"In progress":`Pågående`,Failed:`Mislykket`,"Deleted by deletion request":`Slettet ved forespørsel om sletting`,"No exports.":`Ingen eksport.`,Exports:`Eksport`,Export:`Eksport`,Download:`Last ned`,"Export was deleted.":`Eksporten ble slettet.`,Close:`Lukk`,"Are you sure you want to delete this export?":`Er du sikker på at du vil slette denne eksporten?`,File:`Fil`,Public:`Offentlig`,Path:`Sti`,Files:`Filer`,"No files available":`Ingen filer tilgjengelig`,"Are you sure you want to delete this file?":`Er du sikker på at du vil slette denne filen?`,"Headline font name":`Navn på skrifttype for overskrift`,"Format headline":`Format overskrift`,"Add hy
4022perlink":`Legg til hyperkobling`,Url:`Nettadresse`,"New tab":`Ny fane`,"Add link":`Legg til lenke`,"There are validation errors in other languages of this form.":`Det er valideringsfeil pÃ¥ andre sprÃ¥k i dette skjemaet.`,"Validation errors":`Valideringsfeil`,"Select option":`Velg alternativ`,"Are you sure you want to delete this image?":`Er du sikker pÃ¥ at du vil slette dette bildet?`,Images:`Bilder`,"Image was deleted.":`Bildet ble slettet.`,Image:`Bilde`,"Select an image":`Velg et bilde`,"Choose image...":`Velg bilde...`,"Remove image":`Fjern bilde`,"Image upload":`Opplasting av bilder`,Upload:`Last opp`,"Choose image":`Velg bilde`,"Delete image":`Slett bilde`,"Wrong aspect ratio":`Feil størrelsesforhold`,"An export is created, please wait":`En eksport er opprettet, vennligst vent`,"Upload was successful.":`Opplastingen var vellykket.`,Import:`Import`,Open:`Ã
pen`,"Invalid email address":`Ugyldig e-postadresse`,Welcome:`Velkommen til`,Email:`E-post`,"Log in":`Logg inn`,Register:`Registrer deg`,Type:`Type`,"Select...":`Velg...`,Menu:`Meny`,"Create menu item":`Opprett menyelement`,"The menu was successfully sorted.":`Menyen ble vellykket sortert.`,Edit:`Redigere`,"Edit menu item":`Menypunktet Rediger`,"Delete menu item":`Slett menypunkt`,"Are you sure you want to delete this menu item?":`Er du sikker pÃ¥ at du vil slette dette menypunktet?`,"Close navigation sidebar":`Lukk sidepanelet for navigasjon`,"Open navigation sidebar":`Ã
pne sidepanelet for navigasjon`,Logout:`Logg ut`,"Not authorized":`Ikke autorisert`,"Either your account is not connected to this application or you are not authorized to access this feature.":`Enten er ikke kontoen din koblet til denne applikasjonen, eller sÃ¥ er du ikke autorisert til Ã¥ bruke denne funksjonen.`,"Move before":`Flytt før`,"Move after":`Flytt etter`,Cancel:`Avbryt`,Cut:`Kutt`,of:`av`,"Previous page":`Forrige side`,"Next page":`Neste side`,"Forgot your password?":`Har du glemt passordet ditt?`,"Password reset":`Tilbakestilling av passord`,"The link has already been used or has expired.":`Lenken er allerede brukt eller utløpt.`,Login:`Logg inn`,"Request new link":`Be om ny lenke`,"Crop new image":`Beskjær nytt bilde`,"You should receive an email with instructions to reset your password shortly.":`Du vil snart motta en e-post med instruksjoner om hvordan du tilbakestiller passordet ditt.`,"Back to login":`Tilbake til innlogging`,"Set your password":`Angi passordet ditt`,"Your new password needs to be at least 12 characters long.":`Det nye passordet mÃ¥ bestÃ¥ av minst 12 tegn.`,"Confirm new password":`Bekreft nytt passord`,"Set password":`Angi passord`,"At least one permission is required":`Det kreves minst én tillatelse`,"No permissions available.":`Ingen tillatelser tilgjengelig.`,Permission:`Tillatelse`,Role:`Rolle`,"Role was successfully created.":`Rollen ble opprettet.`,"Role was successfully updated.":`Rollen ble oppdatert.`,"Role was successfully deleted.":`Rollen ble slettet.`,"Edit role":`Rediger rolle`,"Delete role":`Slett rolle`,"Are you sure you want to delete this role?":`Er du sikker pÃ¥ at du vil slette denne rollen?`,"Create tag":`Opprett tagg`,"Edit tag":`Rediger tagg`,Roles:`Roller`,"No roles available":`Ingen ledige roller`,"Rows per page":`Rader per side`,"No options available":`Ingen tilgjengelige alternativer`,"Create {{option}}":`Opprett {{option}}`,"Add shortcut":`Legg til snarvei`,"This feature is an addon.":`Denne funksjonen er et tillegg.`,"Open menu":`Ã
pne meny`,"Close menu":`Lukk menyen`,"System messages":`Systemmeldinger`,Color:`Farge`,"Apply color":`PÃ¥før farge`,"Time controlled content visibility":`Tidsstyrt synlighet av innhold`,"Preview type":`ForhÃ¥ndsvisningstype`,Underline:`Understrekning`,Subscript:`Underskrift`,Superscript:`Overskrift`,"Align left":`Juster til venstre`,"Align center":`Juster senter`,"Align right":`Juster til høyre`,"Numbered list":`Nummerert liste`,"Bulleted list":`Punktliste`,"Save file":`Lagre fil`,"File was deleted.":`Filen ble slettet.`,"Delete file":`Slett fil`,"Could not delete file.":`Kunne ikke slette filen.`,"Invalid date":`Ugyldig dato`,"Your selection is under {{pixel}}px wide and may not display optimally. Please select a larger area if possible.":`Valget ditt er under {{pixel}}px bredt og vises kanskje ikke optimalt. Velg om mulig et større omrÃ¥de.`,"The selected image is under {{pixel}}px wide and may not display optimally. Please use a larger image if possible.":`Det valgte bildet er under {{pixel}}px bredt og vises kanskje ikke optimalt. Bruk om mulig et større bilde.`,Users:`Brukere`,User:`Bruker`,"File upload":`Filopplasting`,"File was uploaded.":`Filen ble lastet opp.`,"Uploaded {{uploaded}} of {{total}}":`Lastet opp {{uploaded}} av {{total}}`,"New version available":`Ny versjon tilgjengelig`,"The page must be reloaded to use the latest version and avoid possible errors.":`Siden mÃ¥ lastes inn pÃ¥ nytt for Ã¥ bruke den nyeste versjonen og unngÃ¥ mulige feil.`,"Reload now":`Last inn pÃ¥ nytt nÃ¥`,"Version {{version}}":`Versjon {{version}}`,"Copy to clipboard":`Kopier til utklippstavlen`,"Copied to clipboard":`Kopiert til utklippstavlen`},fKe={"Only logged-in users can access this file.":`Alleen ingelogde gebruikers hebben toegang tot dit bestand.`,"Anyone with the link can access this file.":`Iedereen met de link heeft toegang tot dit bestand.`,"Access permission":`Toegangsrecht`,"Use compact display":`Compacte weergave gebruiken`,parents_one:`Bovenliggend blok`,parents_other:`Bovenliggende blokken`,entities_one:`Blok als entiteit`,entities_other:`Blokken als entiteit`,"Uploaded at":`Geüpload op`,"{{count}} blocks are missing required data.other":`{{count}} blokken missen vereiste gegevens.`,"{{count}} blocks are missing required data._one":`Een blok mist vereiste gegevens.`,"This block is missing some entities.":`Dit blok mist enkele entiteiten.`,"BlockType.dividerBlock":`Scheidingsblok`,"Line style":`Lijnstijl`,Solid:`Doorlopend`,Dashed:`Gestreept`,Dotted:`Gestippeld`,"Line color":`Lijnkleur`,"Is required":`Is verplicht`,"Icon file (SVG)":`Pictogrammenbestand (SVG)`,"BlockType.cardLayoutBlock":`Kaart Lay-out Blok`,"BlockType.iconBlock":`Pictogram Blok`,"The file must be an SVG.":`Het bestand moet een SVG zijn.`,"Star rating (1-5)":`Sterrenscore (1-5)`,"Rating scale (1-10)":`Beoordelingsschaal (1-10)`,"LinkBlockType.file":`Bestand`,"When duplicating, you can either reuse the existing children (changes will affect all places where they are used) or create duplicates (changes will be independent). Please choose how to proceed.":`Bij het dupliceren kunt u de bestaande onderliggende elementen hergebruiken (wijzigingen zijn van invloed op alle plaatsen waar ze worden gebruikt) of duplicaten maken (wijzigingen zijn onafhankelijk). Kies hoe u verder wilt gaan.`,"This block will be duplicated because you chose to duplicate at least one of its child elements.":`Dit blok wordt gedupliceerd omdat u ervoor hebt gekozen om ten minste één van de onderliggende elementen te dupliceren.`,"{{count}} Usages_other":`{{count}} Gebruiksmogelijkheden`,"{{count}} Usages_one":`{{count}} Gebruik`,Reuse:`Hergebruik`,Duplicate:`Duplicaat`,"Duplicate block":`Duplicaatblok`,"The weighting of questions is applied to calculate the overall score.":`De weging van vragen wordt toegepast om de totale score te berekenen.`,"The weight field must be an integer between 0 and 100.":`Het gewichtsveld moet een geheel getal zijn tussen 0 en 100.`,Weight:`Gewicht`,Average:`Gemiddelde`,Sum:`Som`,Median:`Mediaan`,Count:`Aantal`,Number:`Nummer`,"The export cannot be imported. The version of the export is not supported.":`De export kan niet worden geïmporteerd. De versie van de export wordt niet ondersteund.`,"Invalid value":`Ongeldige waarde`,"Next step":`Volgende stap`,"At least one answer option has to be given.":`Er moet minstens één antwoordoptie worden gegeven.`,"Question evaluation":`Vraag evaluatie`,"Update feedback question":`Vraag over feedback bijwerken`,"Create feedback question":`Feedbackvraag maken`,"No questions available.":`Geen vragen beschikbaar.`,"Discard language":`Taal weggooien`,"Thank you for submitting feedback!":`Bedankt voor het geven van feedback!`,"Not available":`Niet beschikbaar`,"Feedback is only available for users who are logged-in.":`Feedback is alleen beschikbaar voor gebruikers die zijn ingelogd.`,"BlockType.feedbackBlock":`Feedback`,"Your feedback has been submitted.":`Je feedback is ingediend.`,"Login background":`Login achtergrond`,"Login background was successfully saved.":`Login achtergrond is succesvol opgeslagen.`,"Admin image":`Admin afbeelding`,"Frontend image":`Frontend afbeelding`,"Keep it short, usually 1-2 sentences. Donât overthink it.":`Houd het kort, meestal 1-2 zinnen. Denk er niet te lang over na.`,"Consider key elements of why you chose this image, instead of describing every little detail.":`Denk na over de belangrijkste elementen waarom je deze afbeelding hebt gekozen, in plaats van elk klein detail te beschrijven.`,"No need to say âimage ofâ or âpicture ofâ â the screen reader recognizes this itself.":`Je hoeft niet te zeggen "afbeelding van" of "foto van" - de schermlezer herkent dit zelf.`,"But, do say if itâs a logo, illustration, painting, or cartoon.":`Maar zeg wel of het een logo, illustratie, schilderij of cartoon is.`,"Donât duplicate text thatâs adjacent in the document or website.":`Dupliceer geen tekst die naast het document of de website staat.`,"End the ALT text sentence with a period â this makes it sound more natural for reading programs.":`Eindig de zin in de ALT-tekst met een punt - zo klinkt het natuurlijker voor leesprogramma's.`,"A descriptive ALT text makes your content more inclusive and visible.":`Een beschrijvende ALT-tekst maakt je inhoud inclusiever en zichtbaarder.`,"Alternative Text (ALT Text)":`Alternatieve tekst (ALT-tekst)`,"Please wait for the upload to finish.":`Wacht tot de upload is voltooid.`,"{{count}} Stars_other":`{{count}} Sterren`,"{{count}}
4022 Stars_one":`{{count}} Star`,"{{amount}} out of {{total}}":`{{amount}} van {{total}}`,"Average rating":`Gemiddelde waardering`,"Choose a question":`Kies een vraag`,"Feedback has been reset.":`Feedback is gereset.`,"Number of participants":`Aantal deelnemers`,"Reset feedback":`Feedback resetten`,"Are you sure you want to reset this feedback?":`Weet je zeker dat je deze feedback opnieuw wilt instellen?`,Question:`Vraag`,"This question has not been answered yet.":`Deze vraag is nog niet beantwoord.`,"Unknown answer option":`Onbekende antwoordoptie`,"Number of questions":`Aantal vragen`,"Feedback question was deleted.":`Feedbackvraag is verwijderd.`,"Feedback question was saved.":`Feedbackvraag is opgeslagen.`,"Free text":`Vrije tekst`,"Multiple choice":`Meerkeuze`,"Single choice":`Enkele keuze`,"Are you sure you want to delete this feedback question?":`Weet je zeker dat je deze feedbackvraag wilt verwijderen?`,Questions:`Vragen`,"Add answer option":`Antwoordoptie toevoegen`,"Delete answer option":`Antwoordoptie verwijderen`,"Answer options":`Antwoordopties`,"Feedback question":`Feedback vraag`,"Successfully sorted.":`Succesvol gesorteerd.`,"Are you sure you want to delete this feedback?":`Weet u zeker dat u deze feedback wilt verwijderen?`,"No feedback available.":`Er is geen feedback beschikbaar.`,"Feedback was created.":`Feedback is aangemaakt.`,"Feedback was updated.":`Feedback is bijgewerkt.`,"Feedback was deleted.":`Feedback is verwijderd.`,"Delete feedback":`Feedback verwijderen`,"Edit feedback":`Feedback bewerken`,"Add feedback":`Feedback toevoegen`,Feedback:`Feedback`,"This role is the default, do you want to delete it anyway?":`Deze rol is de standaardrol. Wilt u deze toch verwijderen?`,"Button color":`Kleur knop`,"The picture carousel automatically switches to the next picture after a certain time.":`De afbeeldingscarrousel schakelt automatisch over naar de volgende afbeelding na een bepaalde tijd.`,"When the last image is reached, the image carousel automatically jumps back to the first image.":`Wanneer de laatste afbeelding is bereikt, springt de carrousel automatisch terug naar de eerste afbeelding.`,"Activate navigation points":`Navigatiepunten activeren`,"Small dots below the image carousel show the number of images and allow you to jump directly to a specific image.":`Kleine stippen onder de carrousel tonen het aantal afbeeldingen en laten je direct naar een specifieke afbeelding springen.`,"Selected images":`Geselecteerde afbeeldingen`,"blockSubmitButton.save":`Sla op`,"When enabled, the tabs are left-aligned and horizontally scrollable if there is not enough space. When disabled, they are evenly distributed across the entire width.":`Wanneer ingeschakeld, zijn de tabbladen links uitgelijnd en horizontaal scrollbaar als er niet genoeg ruimte is. Wanneer uitgeschakeld, worden ze gelijkmatig over de volledige breedte verdeeld.`,"The file type is not supported.":`Het bestandstype wordt niet ondersteund.`,"Export settings saved successfully.":`Exportinstellingen succesvol opgeslagen.`,"Export settings":`Exportinstellingen`,"Date format":`Datumformaat`,"Year-Month-Day":`Jaar-Maand-Dag`,"Day.Month.Year":`Dag.Maand.Jaar`,"Month/Day/Year":`Maand/Dag/Jaar`,"Iso-8601 format with timezone":`Iso-8601 formaat met tijdzone`,"Year-Month-Day, 24 hour UTC time format":`Jaar-Maand-Dag, 24-uurs UTC tijdformaat`,"Day.Month.Year, 24 hour time format":`Dag.Maand.Jaar, 24-uurs tijdformaat`,"Month/Day/Year, 12 hour time format":`Maand/Dag/Jaar, 12-uurs tijdformaat`,"24 hour time format":`24-uurs tijdformaat`,"12 hour time format":`12-uurs tijdformaat`,"Time format":`Tijdformaat`,"Unknown format":`Onbekend formaat`,Usages:`Gebruiken`,"This block is being used {{amount}} times. Click <OpenDrawerButton>here</OpenDrawerButton> to see the usages.":`Dit blok wordt {{amount}} keer gebruikt. Klik <OpenDrawerButton>hier</OpenDrawerButton> om de gebruiken te bekijken.`,"The error happened on:":`De fout vond plaats op:`,"Is scrollable":`Is scrolbaar`,PAGE:`Pagina`,CATEGORY:`Categorie`,EXTERNAL_NEW_TAB:`Extern (nieuw tabblad)`,EXTERNAL:`Extern`,INTERNAL:`Intern`,"Invalid URL format: The URL must start with https://.":`Ongeldig URL-formaat: de URL moet beginnen met https://.`,"The footer links are sorted.":`De voettekst links zijn gesorteerd.`,"Create footer link":`Footer link maken`,"Mute audio":`Dempen audio`,"Play in loop":`Afspelen in lus`,"Show controls":`Toon bedieningselementen`,Autoplay:`Automatisch afspelen`,"BlockType.videoBlock":`Video`,"BlockType.imageGalleryBlock":`Afbeeldingen galerij`,"No images selected.":`Geen afbeeldingen geselecteerd.`,"Show shadow":`Schaduw weergeven`,"Show bottom border":`Onderste rand weergeven`,"Bottom border color":`Kleur van de onderste rand`,"Color schema":`Kleurenschema`,"Show title":`Titel weergeven`,Date:`Datum`,"Show seconds":`Toon seconden`,"Title position":`Positie titel`,Above:`Boven`,Below:`Onder`,"Vertical alignment":`Verticale uitlijning`,"CountdownBlock.Start":`Start`,"CountdownBlock.Center"
4022:`Midden`,"CountdownBlock.End":`Einde`,"Text color":`Tekstkleur`,"Background gradient":`Verloop achtergrond`,"Gradient start color":`Kleurverloop startkleur`,"Gradient end color":`Kleur verloop einde`,Center:`Midden`,"Text alignment":`Tekstuitlijning`,"Enable arrow navigation":`Navigatie met pijlen inschakelen`,"Display image progress with dots":`Beeldvoortgang weergeven met stippen`,"The display duration must be greater than zero.":`De weergaveduur moet groter zijn dan nul.`,"Enable autoplay":`Automatisch afspelen inschakelen`,"Display duration of image in seconds":`Duur van afbeelding weergeven in seconden`,"Loop animation":`Animatie herhalen`,"BlockType.imageCarouselBlock":`Afbeelding carrouselblok`,Drag:`Slepen`,"Will be visible on marker click.":`Zal zichtbaar zijn als er op de marker wordt geklikt.`,small:`klein`,medium:`middel`,large:`groot`,"Add {{ blockName }}":`{{ blockName }} toevoegen`,Latitude:`Breedtegraad`,Longitude:`Lengte`,"BlockType.mapsBlock":`Maps block`,"BlockType.mapMarkerBlock":`Kaartmarkering block`,"To add or remove map markers use the preview for this maps block.":`Gebruik de preview voor dit kaartblok om kaartmarkeringen toe te voegen of te verwijderen.`,"BlockType.tabBlock":`Tabblad Blok`,"BlockType.tabContainerBlock":`Tab Container Blok`,"The total of all column widths must be smaller than 100%":`Het totaal van alle kolombreedtes moet kleiner zijn dan 100%.`,"Add {{breakpoint}}":`{{breakpoint}} toevoegen`,"Amount of columns":`Aantal kolommen`,"Advanced layout":`Geavanceerde opmaak`,"{{number}}. column width (in %)":`{{number}}. kolombreedte (in %)`,"Reverse block order":`Blok volgorde omkeren`,Preview:`Voorbeeld`,"BlockType.gridLayoutColumnBlock":`Raster Kolom Blok`,"Default Collapsed":`Standaard ingeklapt`,"The title is displayed in the browser tab.":`De titel wordt weergegeven in het browsertabblad.`,"The label is displayed in the browser tab.":`Het label wordt weergegeven in het browsertabblad.`,"Fit to page width":`Aanpassen aan paginabreedte`,"Delete {{modelName}}":`{{modelName}} verwijderen`,"The deletion is being prevented by the following connections:_one":`Het verwijderen wordt verhinderd door de volgende verbinding:`,"The deletion is being prevented by the following connections:_other":`Het verwijderen wordt verhinderd door de volgende verbindingen:`,"With the deletion the following connections will be removed:_one":`Met het verwijderen wordt de volgende verbinding verwijderd:`,"With the deletion the following connections will be removed:_other":`Met het verwijderen worden de volgende verbindingen verwijderd:`,"The page you are looking for doesn't exist.":`De pagina die je zoekt bestaat niet.`,"You may have mistyped the address or the page was moved.":`Misschien heb je het adres verkeerd getypt of is de pagina verplaatst.`,"Invalid code":`Ongeldige code`,Code:`Code`,Next:`Volgende`,"sign in":`Aanmelden`,"Enter password":`Voer wachtwoord in`,"Sign in":`Aanmelden`,Verify:`controleren`,minutes:`Minuten`,seconds:`Seconden`,"The code is valid for {{timeout}} {{unit}}.":`De code is geldig voor {{timeout}} {{unit}}.`,"Your account is blocked":`Je account is geblokkeerd`,"Email send":`E-mail verzonden`,"An email with a new code has been send.":`Er is een e-mail met een nieuwe code verzonden.`,"Resend email":`E-mail opnieuw verzenden`,"Please enter the 6-digit security code you received by {{method}}.":`Voer de 6-cijferige beveiligingscode in die je hebt ontvangen via {{method}}.`,"twoFactorAuthMethod.EMAIL":`E-mail`,"Max. {{size}} MB file size":`Max. {{size}} MB bestandsgrootte`,"Session was successfully revoked.":`Sessie is succesvol ingetrokken.`,"No authenticated sessions available.":`Geen geauthenticeerde sessies beschikbaar.`,"It can take up to 60 minutes before the session will be logged out.":`Het kan tot 60 minuten duren voordat de sessie wordt afgemeld.`,"Are you sure you want to revoke this session?":`Weet u zeker dat u deze sessie wilt intrekken?`,"Revoke session":`Sessie intrekken`,Revoke:`Intrekken`,"Device identifier":`Apparaatidentificatie`,"Authenticated sessions":`Geauthenticeerde sessies`,"Your message has been successfully received.":`Je bericht is succesvol ontvangen.`,Send:`Stuur`,Message:`Bericht`,Subject:`Onderwerp`,Support:`Ondersteuning`,"Contact our support":`Neem contact op met onze ondersteuning`,"Open guide":`Handleiding openen`,"Open help":`Help openen`,"Unknown server error":`Onbekende serverfout`,"Too many login attempts. Try again in {{timeout}} minutes.":`Te veel inlogpogingen. Probeer het opnieuw over {{timeout}} minuten.`,"Yesterday, at {{time}}":`Gisteren, om {{time}}`,"Company name":`Bedrijfsnaam`,"Contact phone number":`Telefoonnummer contactpersoon`,"Read only":`Alleen lezen`,Links:`Links`,"Footer link was deleted.":`Footer-link is verwijderd.`,"Footer link was saved.":`Footer-link is opgeslagen.`,"Are you sure you want to delete this footer link?":`Weet je zeker dat je deze footer-link wilt verwijderen?`,"Footer link":`Footer-link`,"Footer links":`Footer links`,"No footer links available.":`Geen voettekstlinks beschikbaar.`,"Delete footer link":`Footer-link verwijderen`,"Edit footer link":`Voettekst link bewerken`,"Add footer link":`Voettekst link toevoegen`,"Is external":`Is extern`,"Required field":`Verplicht veld`,Footer:`Voettekst`,"Footer successfully updated":`Voettekst succesvol bijgewerkt`,"Footer details":`Details voettekst`,"Contact email":`E-mail contactpersoon`,"Contact name":`Naam contactpersoon`,Id:`Id`,"No users available":`Geen gebruikers beschikbaar`,"Body fonts":`Body lettertypen`,"Headline font":`Lettertype kop`,Favicons:`Favicons`,"Use for all icons":`Gebruik voor alle pictogrammen`,"You've reached the highest possible value.":`Je hebt de hoogst mogelijke waarde bereikt.`,"Invalid input":`Ongeldige invoer`,"The value must not be negative.":`De waarde mag niet negatief zijn.`,Size:`Maat`,Source:`Bron`,Subheadline:`Subkop`,Description:`Beschrijving`,"Link Type":`Type koppeling`,"Attach block":`Blok bevestigen`,"Existing Blocks":`Bestaande blokken`,"Select existing blocks":`Selecteer bestaande blokken`,"New Block":`Nieuw blok`,Blocks:`Blokken`,"VisualGroup.content":`Inhoud`,"VisualGroup.layout":`Lay-out`,"BlockType.imageBlock":`Beeldblok`,"BlockType.headlineBlock":`Hoofdblok`,"BlockType.slateBlock":`Tekst Blok`,"BlockType.layoutRowBlock":`Rij Blok`,"BlockType.iframeBlock":`iFrame Blok`,"BlockType.countdownBlock":`Aftelblok`,"BlockType.cardBlock":`Kaart Blok`,"BlockType.pageBlock":`Pagina blok`,"BlockType.sectionBlock":`Sectie Blok`,"BlockType.linkBlock":`Link Blok`,"BlockType.linkContainerBlock":`Link Container Blok`,"BlockType.keyVisualBlock":`Visueel sleutelblok`,"BlockType.layoutBackgroun
4022dImageBlock":`Lay-out blok achtergrondafbeelding`,"BlockType.accordionBlock":`Accordeonblok`,"LinkBlockType.page":`Pagina blok`,"LinkBlockType.drawer":`Lade`,"LinkBlockType.internal":`Interne link`,"LinkBlockType.external":`Externe link`,"No Blocks have been added.":`Er zijn geen blokken toegevoegd.`,"Are you sure you want to delete this Block?":`Weet je zeker dat je dit blok wilt verwijderen?`,"Are you sure you want to remove this Block?":`Weet je zeker dat je dit blok wilt verwijderen?`,"Block type":`Type blok`,Block:`Blok`,Button:`Knop`,Text:`Tekst`,Label:`Label`,"Inherit Padding":`Overerving`,Countdown:`Aftellen`,Title:`Titel`,Internal:`Intern`,External:`Extern`,Drawer:`Lade`,"Enable Slug":`Slug inschakelen`,Refresh:`Vernieuw`,"Choose Block":`Kies blok`,"No blocks available":`Geen blokken beschikbaar`,ContentBlock:`ContentBlock`,"ContentBlock was saved.":`ContentBlock is opgeslagen.`,"{{direction}} has to be between 0 and 50":`{{direction}} moet tussen 0 en 50 zijn`,Top:`Top`,Left:`Links`,Right:`Rechts`,Bottom:`Bodem`,Gap:`Gap`,Padding:`Opvulling`,"Background type":`Achtergrond type`,"Background color":`Achtergrondkleur`,"Import successfully started.":`Import succesvol gestart.`,Transparent:`Transparant`,Background:`Achtergrond`,Content:`Inhoud`,Custom:`Aangepast`,"Add translation for this language":`Vertaling voor deze taal toevoegen`,Pages:`Pagina's`,"No block available.":`Geen blok beschikbaar.`,"Delete block":`Blok verwijderen`,"Preview block":`Voorbeeld blok`,"Add block":`Blok toevoegen`,"Edit block":`Bewerk blok`,"Export block":`Blok exporteren`,"Import blocks":`Blokken importeren`,"Create page":`Pagina maken`,"Blocks Import":`Blokken importeren`,"The slug may only contain a-z, 0-9 and separating dashes.":`De slug mag alleen a-z, 0-9 en scheidingsstreepjes bevatten.`,"visualGroup.layout":`Lay-out`,"visualGroup.content":`Inhoud`,Mobile:`Mobiel`,Tablet:`Tablet`,Desktop:`Desktop`,"Large Desktop":`Groot bureaublad`,Slug:`Slak`,Columns:`Kolommen`,Headline:`Headline`,Remove:`Verwijder`,"No users attached":`Geen gebruikers aangesloten`,"Are you sure you want to remove this user from the role?":`Weet je zeker dat je deze gebruiker uit de rol wilt verwijderen?`,"Remove user":`Gebruiker verwijderen`,"User was successfully removed from the role."
4022:`Gebruiker is succesvol verwijderd uit de rol.`,"Role user":`Rol gebruiker`,"Attach users":`Gebruikers toevoegen`,"Successfully attached to the role":`Succesvol verbonden aan de rol`,View:`Bekijk`,Create:`Maak`,"Show local time":`Toon lokale tijd`,"Date time ({{timeZone}})":`Datum tijd ({{timeZone}})`,"Add date time":`Datum tijd toevoegen`,"Date time format":`Datum-tijdformaat`,Timezone:`Tijdzone`,Details:`Details`,"Create role":`Rol aanmaken`,Alerts:`Waarschuwingen`,"Prevent line breaks":`Regeleinden voorkomen`,"Close accordion":`Accordeon sluiten`,"Open accordion":`Open accordeon`,"This addon is not enabled.":`Deze addon is niet ingeschakeld.`,"Please speak to your project manager.":`Neem contact op met je projectmanager.`,"Please activate addon":`Activeer addon`,'Hello Team DGS, I would like to activate the addon "{{addonName}}" in {{url}}. Please send me also an additional offer for this.':`Hallo Team DGS, Ik wil graag de addon "{{addonName}}" activeren in {{url}}. Stuur mij hiervoor ook een extra aanbieding.`,"Contact us":`Neem contact met ons op`,"All aspect ratios":`Alle beeldverhoudingen`,"Aspect ratio":`Beeldverhouding`,"Unknown aspect ratio":`Onbekende beeldverhouding`,Error:`Fout`,"An error has occurred.":`Er is een fout opgetreden.`,"Request too large":`Verzoek te groot`,"Login with":`Inloggen met`,Profile:`Profiel`,"Profile was saved.":`Profiel is opgeslagen.`,"Field is required":`Veld is vereist`,"Upload avatar":`Avatar uploaden`,"First name":`Voornaam`,"Last name":`Achternaam`,Position:`Positie`,Company:`Bedrijf`,"Change password":`Wachtwoord wijzigen`,Save:`Sla op`,"My profile":`Mijn profiel`,Clear:`Duidelijk`,"Discard changes":`Wijzigingen weggooien`,"Stay on page":`Blijf op pagina`,"You have not saved your changes. Do you really want to discard them?":`U hebt uw wijzigingen niet opgeslagen. Wilt u ze echt verwijderen?`,"Font name":`Naam lettertype`,"Choose file":`Kies bestand`,Regular:`Gewoon`,Bold:`Vet`,Italic:`Cursief`,"Bold italic":`Vet cursief`,Colors:`Kleuren`,"Color assistant":`Kleurassistent`,"If you apply changes your custom changes to colors will be lost.":`Als u wijzigingen toepast, gaan uw aangepaste wijzigingen in kleuren verloren.`,Primary:`Primair`,Secondary:`Secundair`,Apply:`Toepassen`,"Brand settings":`Merkinstellingen`,"Brand settings saved successfully.":`Merkinstellingen succesvol opgeslagen.`,"This feature is only available if the frontend uses the DGS theme.":`Deze functie is alleen beschikbaar als de voorkant het DGS-thema gebruikt.`,"Edit settings":`Instellingen bewerken`,Name:`Naam`,Logo:`Logo`,Favicon:`Favicon`,Submit:`Stuur in`,"Previous month":`Vorige maand`,Today:`Vandaag`,"Next month":`Volgende maand`,"The password needs to be at least 12 characters long.":`Het wachtwoord moet minstens 12 tekens lang zijn.`,"Passwords do not match":`Wachtwoorden komen niet overeen`,"Password was successfully changed.":`Wachtwoord is succesvol gewijzigd.`,Password:`Wachtwoord`,"Old password":`Oud wachtwoord`,"New password":`Nieuw wachtwoord`,"Repeat password":`Herhaal wachtwoord`,"Select a color":`Selecteer een kleur`,"Confirm image selection":`Bevestig afbeeldingsselectie`,Back:`Terug`,Confirm:`Bevestig`,"More options":`Meer opties`,Days:`Dagen`,Hours:`Uren`,Min:`Min`,Sec:`Sec`,Add:`Voeg toe`,"Open column filter":`Open kolom filter`,"Column filters":`Kolomfilters`,Reset:`Reset`,"Delete column filter":`Kolomfilter verwijderen`,Operator:`Exploitant`,"New column filter":`Nieuwe kolomfilter`,"Choose column":`Kies kolom`,"Add column filter":`Kolomfilter toevoegen`,"Enable bulk edit":`Bulkbewerking inschakelen`,"Deselect all":`Alles deselecteren`,"Select all":`Alles selecteren`,"item(s) selected":`item(s) geselecteerd`,"Disable bulk edit":`Bulkbewerking uitschakelen`,"Select current page":`Huidige pagina selecteren`,Search:`Zoek op`,"Click for more information":`Klik voor meer informatie`,"Search columns:":`Doorzochte kolommen::`,sort:`sorteren`,"Previous interval":`Vorige interval`,"Next interval":`Volgende interval`,"Previous day":`Vorige dag`,"Next day":`Volgende dag`,Delete:`Verwijder`,"Close drawer":`L
4022ade sluiten`,Status:`Status`,"Created at":`Gemaakt op`,Available:`Beschikbaar`,"In progress":`In uitvoering`,Failed:`Mislukt`,"Deleted by deletion request":`Verwijderd door verwijderingsverzoek`,"No exports.":`Geen export.`,Exports:`Export`,Export:`Exporteer`,Download:`Downloaden`,"Export was deleted.":`Export is verwijderd.`,Close:`Sluit`,"Are you sure you want to delete this export?":`Weet je zeker dat je deze export wilt verwijderen?`,File:`Bestand`,Public:`Openbaar`,Path:`Pad`,Files:`Bestanden`,"No files available":`Geen bestanden beschikbaar`,"Are you sure you want to delete this file?":`Weet je zeker dat je dit bestand wilt verwijderen?`,"Headline font name":`Naam lettertype`,"Format headline":`Format kop`,"Add hyperlink":`Hyperlink toevoegen`,Url:`Url`,"New tab":`Nieuw tabblad`,"Add link":`Link toevoegen`,"There are validation errors in other languages of this form.":`Er zijn validatiefouten in andere talen van dit formulier.`,"Validation errors":`Validatiefouten`,"Select option":`Selecteer optie`,"Are you sure you want to delete this image?":`Weet je zeker dat je deze afbeelding wilt verwijderen?`,Images:`Afbeeldingen`,"Image was deleted.":`Afbeelding is verwijderd.`,Image:`Afbeelding`,"Select an image":`Selecteer een afbeelding`,"Choose image...":`Kies afbeelding...`,"Remove image":`Afbeelding verwijderen`,"Image upload":`Afbeelding uploaden`,Upload:`uploaden`,"Choose image":`Afbeelding kiezen`,"Delete image":`Afbeelding verwijderen`,"Wrong aspect ratio":`Verkeerde beeldverhouding`,"An export is created, please wait":`Er wordt een export gemaakt, even geduld a.u.b.`,"Upload was successful.":`Uploaden is gelukt.`,Import:`Importeren`,Open:`Open`,"Invalid email address":`Ongeldig e-mailadres`,Welcome:`Welkom`,Email:`E-mail`,"Log in":`Inloggen`,Register:`Registreer`,Type:`Type`,"Select...":`Selecteer...`,Menu:`Menu`,"Create menu item":`Menu-item maken`,"The menu was successfully sorted.":`Het menu is met succes gesorteerd.`,Edit:`Bewerk`,"Edit menu item":`Menu-item Bewerken`,"Delete menu item":`Menu-item verwijderen`,"Are you sure you want to delete this menu item?":`Weet je zeker dat je dit menu-item wilt verwijderen?`,"Close navigation sidebar":`Navigatiebalk sluiten`,"Open navigation sidebar":`Navigatiebalk openen`,Logout:`Afmelden`,"Not authorized":`Niet toegestaan`,"Either your account is not connected to this application or you are not authorized to access this feature.":`Je account is niet verbonden met deze toepassing of je hebt geen toegang tot deze functie.`,"Move before":`Beweeg vóór`,"Move after":`Verhuizen na`,Cancel:`Annuleren`,Cut:`Snijden`,of:`van`,"Previous page":`Vorige pagina`,"Next page":`Volgende`,"Forgot your password?":`Wachtwoord vergeten?`,"Password reset":`Wachtwoord opnieuw instellen`,"The link has already been used or has expired.":`De link is al gebruikt of verlopen.`,Login:`Inloggen`,"Request new link":`Nieuwe link aanvragen`,"Crop new image":`Nieuwe afbeelding bijsnijden`,"You should receive an email with instructions to reset your password shortly.":`Je ontvangt binnenkort een e-mail met instructies om je wachtwoord opnieuw in te stellen.`,"Back to login":`Terug naar inloggen`,"Set your password":`Wachtwoord instellen`,"Your new password needs to be at least 12 characters long.":`Je nieuwe wachtwoord moet minstens 12 tekens lang zijn.`,"Confirm new password":`Nieuw wachtwoord bevestigen`,"Set password":`Wachtwoord instellen`,"At least one permission is required":`Ten minste één toestemming is vereist`,"No permissions available.":`Geen rechten beschikbaar.`,Permission:`Toestemming`,Role:`Rol`,"Role was successfully created.":`Rol is succesvol aangemaakt.`,"Role was successfully updated.":`Rol is succesvol bijgewerkt.`,"Role was successfully deleted.":`Rol is succesvol verwijderd.`,"Edit role":`Rol bewerken`,"Delete role":`Rol verwijderen`,"Are you sure you want to delete this role?":`Weet je zeker dat je deze rol wilt verwijderen?`,"Create tag":`Tag maken`,"Edit tag":`Tag bewerken`,Roles:`Rollen`,"No roles available":`Geen rollen beschikbaar`,"Rows per page":`Rijen per pagina`,"No options available":`Geen opties beschikbaar`,"Create {{option}}":`Creëer {{optie}}`,"Add shortcut":`Snelkoppeling toevoegen`,"This feature is an addon.":`Deze functie is een addon.`,"Open menu":`Menu openen`,"Close menu":`Menu sluiten`,"System messages":`Systeemmeldingen`,Color:`Kleur`,"Apply color":`Kleur aanbrengen`,"Time controlled content visibility":`Tijdgestuurde zichtbaarheid van inhoud`,"Preview type":`Type voorbeeld`,Underline:`Onderstreep`,Subscript:`Subscript`,Superscript:`Superscript`,"Align left":`Links uitlijnen`,"Align center":`Midden uitlijnen`,"Align right":`Rechts uitlijnen`,"Numbered list":`Genummerde lijst`,"Bulleted list":`Lijst met opsommingstekens`,"Save file":`Bestand opslaan`,"File was deleted.":`Bestand is verwijderd.`,"Delete file":`Bestand verwijderen`,"Could not delete file.":`Kan bestand niet verwijderen.`,"Invalid date":`Ongeldige datum`,"Your selection is under {{pixel}}px wide and may not display optimally. Please select a larger area if possible.":`Je selectie is minder dan {{pixel}}px breed en wordt mogelijk niet optimaal weergegeven. Selecteer indien mogelijk een groter gebied.`,"The selected image is under {{pixel}}px wide and may not display optimally. Please use a larger image if possible.":`De geselecteerde afbeelding is minder dan {{pixel}}px breed en wordt mogelijk niet optimaal weergegeven. Gebruik indien mogelijk een grotere afbeelding.`,Users:`Gebruikers`,User:`Gebruiker`,"File upload":`Bestanden uploaden`,"File was uploaded.":`Bestand is geüpload.`,"Uploaded {{uploaded}} of {{total}}":`{{uploaded}} van {{total}} geüpload`,"New version available":`Nieuwe versie beschikbaar`,"The page must be reloaded to use the latest version and avoid possible errors.":`De pagina moet worden herladen om de nieuwste versie te gebruiken en mogelijke fouten te vermijden.`,"Reload now":`Nu herladen`,"Version {{version}}":`Versie {{version}}`,"Copy to clipboard":`Kopiëren naar klembord`,"Copied to clipboard":`Gekopieerd naar klembord`},pKe={"Only logged-in users can access this file.":`Tylko zalogowani użytkownicy majÄ
dostÄp do tego pliku.`,"Anyone with the link can access this file.":`Każdy, kto ma link, ma dostÄp do tego pliku.`,"Access permission":`Uprawnienie dostÄpu`,"Use compact display":`Użyj widoku kompaktowego`,parents_one:`Blok na
4022drzÄdny`,parents_other:`Bloki nadrzÄdne`,entities_one:`Blok jako podmiot`,entities_other:`Bloki jako podmioty`,"Uploaded at":`WysÅano o godz.`,"{{count}} blocks are missing required data.other":`{{count}} blokom brakuje wymaganych danych.`,"{{count}} blocks are missing required data._one":`Jednemu blokowi brakuje wymaganych danych.`,"This block is missing some entities.":`W tym bloku brakuje niektórych podmiotów.`,"BlockType.dividerBlock":`Blok separatora`,"Line style":`Styl linii`,Solid:`CiÄ
gÅy`,Dashed:`Przerywany`,Dotted:`Kropkowany`,"Line color":`Kolor linii`,"Is required":`Jest wymagane`,"Icon file (SVG)":`Plik ikony (SVG)`,"BlockType.cardLayoutBlock":`Blok ukÅadu karty`,"BlockType.iconBlock":`Blok ikon`,"The file must be an SVG.":`Plik musi byÄ SVG.`,"Star rating (1-5)":`Ocena gwiazdkowa (1-5)`,"Rating scale (1-10)":`Skala ocen (1-10)`,"LinkBlockType.file":`Plik`,"When duplicating, you can either reuse the existing children (changes will affect all places where they are used) or create duplicates (changes will be independent). Please choose how to proceed.":`Podczas powielania można ponownie wykorzystaÄ istniejÄ
ce elementy podrzÄdne (zmiany bÄdÄ
miaÅy wpÅyw na wszystkie miejsca, w których sÄ
one używane) lub utworzyÄ duplikaty (zmiany bÄdÄ
niezależne). ProszÄ wybraÄ sposób postÄpowania.`,"This block will be duplicated because you chose to duplicate at least one of its child elements.":`Ten blok zostanie powielony, ponieważ zdecydowaÅeÅ siÄ powieliÄ co najmniej jeden z jego elementów podrzÄdnych.`,"{{count}} Usages_other":`{{count}} Zastosowania`,"{{count}} Usages_one":`{{count}} Zastosowanie`,Reuse:`Ponowne wykorzystanie`,Duplicate:`Duplikat`,"Duplicate block":`Duplikuj blok`,"The weighting of questions is applied to calculate the overall score.":`Waga pytaÅ jest stosowana do obliczenia wyniku ogólnego.`,"The weight field must be an integer between 0 and 100.":`Pole wagi musi byÄ liczbÄ
caÅkowitÄ
od 0 do 100.`,Weight:`Waga`,Average:`Årednia`,Sum:`Suma`,Median:`Mediana`,Count:`Liczba`,Number:`Numer`,"The export cannot be imported. The version of the export is not supported.":`Export nie może zostaÄ zaimportowany. Wersja eksportu nie jest obsÅugiwana.`,"Invalid value":`NieprawidÅowa wartoÅÄ`,"Next step":`Kolejny krok`,"At least one answer option has to be given.":`Należy podaÄ co najmniej jednÄ
opcjÄ odpowiedzi.`,"Question evaluation":`Ocena pytaÅ`,"Update feedback question":`Pytanie dotyczÄ
ce aktualizacji opinii`,"Create feedback question":`Utwórz pytanie zwrotne`,"No questions available.":`Brak dostÄpnych pytaÅ.`,"Discard language":`OdrzuÄ jÄzyk`,"Thank you for submitting feedback!":`DziÄkujemy za przesÅanie opinii!`,"Not available":`NiedostÄpne`,"Feedback is only available for users who are logged-in.":`Informacje zwrotne sÄ
dostÄpne tylko dla zalogowanych użytkowników.`,"BlockType.feedbackBlock":`Opinia`,"Your feedback has been submitted.":`Twoja opinia zostaÅa przesÅana.`,"Login background":`TÅo logowania`,"Login background was successfully saved.":`TÅo logowania zostaÅo pomyÅlnie zapisane.`,"Admin image":`Obraz administracyjny`,"Frontend image":`Obraz frontendowy`,"Keep it short, usually 1-2 sentences. Donât overthink it.":`Pisz krótko, zazwyczaj 1-2 zdania. Nie myÅl za dużo.`,"Consider key elements of why you chose this image, instead of describing every little detail.":`Rozważ kluczowe elementy, dlaczego wybraÅeÅ ten obraz, zamiast opisywaÄ każdy najmniejszy szczegóÅ.`,"No need to say âimage ofâ or âpicture ofâ â the screen reader recognizes this itself.":`Nie trzeba mówiÄ "obraz" lub "zdjÄcie" - czytnik ekranu sam to rozpoznaje.`,"But, do say if itâs a logo, illustration, painting, or cartoon.":`Powiedz jednak, czy jest to logo, ilustracja, obraz czy kreskówka.`,"Donât duplicate text thatâs adjacent in the document or website.":`Nie powielaj tekstu, który znajduje siÄ obok w dokumencie lub na stronie internetowej.`,"End the ALT text sentence with a period â this makes it sound more natural for reading programs.":`ZakoÅcz zdanie tekstu ALT kropkÄ
- dziÄki temu bÄdzie ono brzmiaÅo bardziej naturalnie dla programów czytajÄ
cych.`,"A descriptive ALT text makes your content more inclusive and visible.":`Opisowy tekst ALT sprawia, że treÅÄ jest bardziej przejrzysta i widoczna.`,"Alternative Text (ALT Text)":`Tekst alternatywny (ALT Text)`,"Please wait for the upload to finish.":`Poczekaj na zakoÅczenie przesyÅania.`,"{{count}} Stars_other":`{{count}} Gwiazdy`,"{{count}}
4022 Stars_one":`{{count}} Gwiazda`,"{{amount}} out of {{total}}":`{{amount}} z {{total}}.`,"Average rating":`Årednia ocena`,"Choose a question":`Wybierz pytanie`,"Feedback has been reset.":`SprzÄżenie zwrotne zostaÅo zresetowane.`,"Number of participants":`Liczba uczestników`,"Reset feedback":`Resetowanie informacji zwrotnej`,"Are you sure you want to reset this feedback?":`Czy na pewno chcesz zresetowaÄ tÄ opiniÄ?`,Question:`Pytanie`,"This question has not been answered yet.":`Nie udzielono jeszcze odpowiedzi na to pytanie.`,"Unknown answer option":`Nieznana opcja odpowiedzi`,"Number of questions":`Liczba pytaÅ`,"Feedback question was deleted.":`Pytanie zwrotne zostaÅo usuniÄte.`,"Feedback question was saved.":`Pytanie zwrotne zostaÅo zapisane.`,"Free text":`Dowolny tekst`,"Multiple choice":`Wielokrotny wybór`,"Single choice":`Pojedynczy wybór`,"Are you sure you want to delete this feedback question?":`Czy na pewno chcesz usunÄ
Ä to pytanie zwrotne?`,Questions:`Pytania`,"Add answer option":`Dodaj opcjÄ odpowiedzi`,"Delete answer option":`UsuÅ opcjÄ odpowiedzi`,"Answer options":`Opcje odpowiedzi`,"Feedback question":`Pytanie zwrotne`,"Successfully sorted.":`PomyÅlnie posortowane.`,"Are you sure you want to delete this feedback?":`Czy na pewno chcesz usunÄ
Ä tÄ opiniÄ?`,"No feedback available.":`Brak opinii.`,"Feedback was created.":`Opinia zostaÅa utworzona.`,"Feedback was updated.":`Opinia zostaÅa zaktualizowana.`,"Feedback was deleted.":`Opinia zostaÅa usuniÄta.`,"Delete feedback":`UsuÅ opiniÄ`,"Edit feedback":`Edytuj opiniÄ`,"Add feedback":`Dodaj opiniÄ`,Feedback:`Opinia`,"This role is the default, do you want to delete it anyway?":`Ta rola jest domyÅlna. Czy na pewno chcesz jÄ
usunÄ
Ä?`,"Button color":`Kolor przycisku`,"The picture carousel automatically switches to the next picture after a certain time.":`Karuzela obrazów automatycznie przeÅÄ
cza siÄ na nastÄpny obraz po okreÅlonym czasie.`,"When the last image is reached, the image carousel automatically jumps back to the first image.":`Po osiÄ
gniÄciu ostatniego obrazu, karuzela automatycznie wraca do pierwszego.`,"Activate navigation points":`Aktywuj punkty nawigacyjne`,"Small dots below the image carousel show the number of images and allow you to jump directly to a specific image.":`MaÅe kropki pod karuzelÄ
obrazów pokazujÄ
liczbÄ zdjÄÄ i umożliwiajÄ
bezpoÅrednie przejÅcie do wybranego.`,"Selected images":`Wybrane obrazy`,"blockSubmitButton.save":`Zapisz`,"When enabled, the tabs are left-aligned and horizontally scrollable if there is not enough space. When disabled, they are evenly distributed across the entire width.":`Po wÅÄ
czeniu karty sÄ
wyrównane do lewej i przewijalne w poziomie, jeÅli brakuje miejsca. Po wyÅÄ
czeniu sÄ
równomiernie rozmieszczone na caÅej szerokoÅci.`,"The file type is not supported.":`Ten typ pliku nie jest obsÅugiwany.`,"Export settings saved successfully.":`Ustawienia eksportu zostaÅy pomyÅlnie zapisane.`,"Export settings":`Ustawienia eksportu`,"Date format":`Format daty`,"Year-Month-Day":`Rok-MiesiÄ
c-DzieÅ`,"Day.Month.Year":`DzieÅ.MiesiÄ
c.Rok`,"Month/Day/Year":`MiesiÄ
c/DzieÅ/Rok`,"Iso-8601 format with timezone":`Format Iso-8601 ze strefÄ
czasowÄ
`,"Year-Month-Day, 24 hour UTC time format":`Rok-MiesiÄ
c-DzieÅ, 24-godzinny format czasu UTC`,"Day.Month.Year, 24 hour time format":`DzieÅ.MiesiÄ
c.Rok, 24-godzinny format czasu`,"Month/Day/Year, 12 hour time format":`MiesiÄ
c/DzieÅ/Rok, 12-godzinny format czasu`,"24 hour time format":`24-godzinny format czasu`,"12 hour time format":`12-godzinny format czasu`,"Time format":`Format czasu`,"Unknown format":`Nieznany format`,Usages:`Użycia`,"This block is being used {{amount}} times. Click <OpenDrawerButton>here</OpenDrawerButton> to see the usages.":`Ten blok jest używany {{amount}} razy. Kliknij <OpenDrawerButton>tutaj</OpenDrawerButton>, aby zobaczyÄ użycia.`,"The error happened on:":`BÅÄ
d wystÄ
piÅ w dniu:`,"Is scrollable":`Można przewijaÄ`,PAGE:`Strona`,CATEGORY:`Kategoria`,EXTERNAL_NEW_TAB:`ZewnÄtrzny (nowa karta)`,EXTERNAL:`ZewnÄtrzny`,INTERNAL:`WewnÄtrzny`,"Invalid URL format: The URL must start with https://.":`NieprawidÅowy format adresu URL: adres URL musi zaczynaÄ siÄ od https://.`,"The footer links are sorted.":`ÅÄ
cza stopki zostaÅy posortowane.`,"Create footer link":`Utwórz ÅÄ
cze stopki`,"Mute audio":`Wycisz dźwiÄk`,"Play in loop":`Odtwarzaj w pÄtli`,"Show controls":`Pokaż kontrolki`,Autoplay:`Automatyczne odtwarzanie`,"BlockType.videoBlock":`Video`,"BlockType.imageGalleryBlock":`Galeria obrazów`,"No images selected.":`Nie wybrano żadnych obrazów.`,"Show shadow":`Pokaż cieÅ`,"Show bottom border":`Pokaż dolnÄ
granicÄ`,"Bottom border color":`Kolor dolnej granicy`,"Color schema":`Schemat kolorów`,"Show title":`Pokaż tytuÅ`,Date:`Data`,"Show seconds":`Pokaż sekundy`,"Title position":`Pozycja tytuÅu`,Above:`Powyżej`,Below:`Poniżej`,"Vertical alignment":`Wyrównanie w pionie`,"CountdownBlock.Start":`PoczÄ
tek`,"CountdownBlock.Center"
4022:`Årodek`,"CountdownBlock.End":`Koniec`,"Text color":`Kolor tekstu`,"Background gradient":`Gradient tÅa`,"Gradient start color":`Kolor poczÄ
tkowy gradientu`,"Gradient end color":`Kolor koÅcowy gradientu`,Center:`Årodek`,"Text alignment":`Wyrównanie tekstu`,"Enable arrow navigation":`WÅÄ
cz nawigacjÄ strzaÅkami`,"Display image progress with dots":`WyÅwietl postÄp obrazu za pomocÄ
kropek`,"The display duration must be greater than zero.":`Czas wyÅwietlania musi byÄ wiÄkszy od zera.`,"Enable autoplay":`WÅÄ
cz automatyczne odtwarzanie`,"Display duration of image in seconds":`WyÅwietl czas trwania obrazu w sekundach`,"Loop animation":`Powtarzaj animacjÄ`,"BlockType.imageCarouselBlock":`Blok karuzeli obrazów`,Drag:`PrzeciÄ
gnij`,"Will be visible on marker click.":`BÄdzie widoczny po klikniÄciu znacznika.`,small:`maÅy`,medium:`Åredni`,large:`duży`,"Add {{ blockName }}":`Dodaj {{ blockName }}`,Latitude:`SzerokoÅÄ geograficzna`,Longitude:`DÅugoÅÄ geograficzna`,"BlockType.mapsBlock":`Maps block`,"BlockType.mapMarkerBlock":`Znacznik mapy block`,"To add or remove map markers use the preview for this maps block.":`Użyj podglÄ
du tego bloku mapy, aby dodaÄ lub usunÄ
Ä znaczniki mapy.`,"BlockType.tabBlock":`Blok zakÅadek`,"BlockType.tabContainerBlock":`Blok kontenera kart`,"The total of all column widths must be smaller than 100%":`ÅÄ
czna szerokoÅÄ wszystkich kolumn musi byÄ mniejsza niż 100%.`,"Add {{breakpoint}}":`Dodaj {{breakpoint}}`,"Amount of columns":`Liczba kolumn`,"Advanced layout":`Zaawansowany ukÅad`,"{{number}}. column width (in %)":`{{number}}. szerokoÅÄ kolumny (w %)`,"Reverse block order":`OdwrÃ³Ä kolejnoÅÄ bloków`,Preview:`PodglÄ
d`,"BlockType.gridLayoutColumnBlock":`Blok kolumn siatki`,"Default Collapsed":`DomyÅlnie zwiniÄte`,"The title is displayed in the browser tab.":`TytuÅ jest wyÅwietlany na karcie przeglÄ
darki.`,"The label is displayed in the browser tab.":`Etykieta jest wyÅwietlana na karcie przeglÄ
darki.`,"Fit to page width":`Dopasuj do szerokoÅci strony`,"Delete {{modelName}}":`UsuÅ {{modelName}}`,"The deletion is being prevented by the following connections:_one":`UsuniÄcie jest uniemożliwiane przez nastÄpujÄ
ce poÅÄ
czenie:`,"The deletion is being prevented by the following connections:_other":`UsuniÄcie jest uniemożliwiane przez nastÄpujÄ
ce poÅÄ
czenia:`,"With the deletion the following connections will be removed:_one":`Po usuniÄciu nastÄpujÄ
ce poÅÄ
czenie zostanie usuniÄte:`,"With the deletion the following connections will be removed:_other":`Po usuniÄciu nastÄpujÄ
ce poÅÄ
czenia zostanÄ
usuniÄte:`,"The page you are looking for doesn't exist.":`Strona, której szukasz, nie istnieje.`,"You may have mistyped the address or the page was moved.":`ByÄ może bÅÄdnie wpisaÅeÅ adres lub strona zostaÅa przeniesiona.`,"Invalid code":`NieprawidÅowy kod`,Code:`Kod`,Next:`NastÄpny`,"sign in":`Zaloguj siÄ`,"Enter password":`Wprowadź hasÅo`,"Sign in":`Zaloguj siÄ`,Verify:`Weryfikacja`,minutes:`Minuty`,seconds:`Sekundy`,"The code is valid for {{timeout}} {{unit}}.":`Kod jest ważny przez {{timeout}} {{unit}}.`,"Your account is blocked":`Twoje konto jest zablokowane`,"Email send":`WysÅano wiadomoÅÄ e-mail`,"An email with a new code has been send.":`WiadomoÅÄ e-mail z nowym kodem zostaÅa wysÅana.`,"Resend email":`WyÅlij ponownie wiadomoÅÄ e-mail`,"Please enter the 6-digit security code you received by {{method}}.":`Wprowadź 6-cyfrowy kod bezpieczeÅstwa otrzymany przez {{method}}.`,"twoFactorAuthMethod.EMAIL":`Email`,"Max. {{size}} MB file size":`Max. {{size}} Rozmiar pliku MB`,"Session was successfully revoked.":`Sesja zostaÅa pomyÅlnie odwoÅana.`,"No authenticated sessions available.":`Brak dostÄpnych uwierzytelnionych sesji.`,"It can take up to 60 minutes before the session will be logged out.":`Wylogowanie z sesji może potrwaÄ do 60 minut.`,"Are you sure you want to revoke this session?":`Czy na pewno chcesz odwoÅaÄ tÄ sesjÄ?`,"Revoke session":`Cofnij sesjÄ`,Revoke:`Cofnij`,"Device identifier":`Identyfikator urzÄ
dzenia`,"Authenticated sessions":`Uwierzytelnione sesje`,"Your message has been successfully received.":`Twoja wiadomoÅÄ zostaÅa pomyÅlnie odebrana.`,Send:`WyÅlij`,Message:`WiadomoÅÄ`,Subject:`Temat`,Support:`Wsparcie`,"Contact our support":`Skontaktuj siÄ z naszym wsparciem`,"Open guide":`Otwarty przewodnik`,"Open help":`Otwórz pomoc`,"Unknown server error":`Nieznany bÅÄ
d serwera`,"Too many login attempts. Try again in {{timeout}} minutes.":`Zbyt wiele prób logowania. Spróbuj ponownie za {{timeout}} minut.`,"Yesterday, at {{time}}":`Wczoraj, o {{time}}`,"Company name":`Nazwa firmy`,"Contact phone number":`Numer telefonu kontaktowego`,"Read only":`Tylko do odczytu`,Links:`Linki`,"Footer link was deleted.":`Link stopki zostaÅ usuniÄty.`,"Footer link was saved.":`ÅÄ
cze stopki zostaÅo zapisane.`,"Are you sure you want to delete this footer link?":`Czy na pewno chcesz usunÄ
Ä ten link stopki?`,"Footer link":`ÅÄ
cze stopki`,"Footer links":`ÅÄ
cza stopki`,"No footer links available.":`Brak dostÄpnych linków stopki.`,"Delete footer link":`UsuÅ link stopki`,"Edit footer link":`Edytuj ÅÄ
cze stopki`,"Add footer link":`Dodaj ÅÄ
cze stopki`,"Is external":`Jest zewnÄtrzny`,"Required field":`Wymagane pole`,Footer:`Stopka`,"Footer successfully updated":`Stopka zostaÅa pomyÅlnie zaktualizowana`,"Footer details":`SzczegóÅy stopki`,"Contact email":`Kontakt email`,"Contact name":`Nazwa kontaktu`,Id:`Id`,"No users available":`Brak dostÄpnych użytkowników`,"Body fonts":`Body Czcionki`,"Headline font":`Czcionka nagÅówka`,Favicons:`Favicons`,"Use for all icons":`Użyj dla wszystkich ikon`,"You've reached the highest possible value.":`OsiÄ
gnÄ
ÅeÅ najwyższÄ
możliwÄ
wartoÅÄ.`,"Invalid input":`NieprawidÅowe dane wejÅciowe`,"The value must not be negative.":`WartoÅÄ nie może byÄ ujemna.`,Size:`Rozmiar`,Source:`ŹródÅo`,Subheadline:`PodtytuÅ`,Description:`Opis`,"Link Type":`Typ ÅÄ
cza`,"Attach block":`Blok mocujÄ
cy`,"Existing Blocks":`IstniejÄ
ce bloki`,"Select existing blocks":`Wybierz istniejÄ
ce bloki`,"New Block":`Nowy blok`,Blocks:`Bloki`,"VisualGroup.content":`TreÅÄ`,"VisualGroup.layout":`UkÅad`,"BlockType.imageBlock":`Image Block`,"BlockType.headlineBlock":`Blok nagÅówka`,"BlockType.slateBlock":`Blok tekstowy`,"BlockType.layoutRowBlock":`Blok rzÄdów`,"BlockType.iframeBlock":`Blok iFrame`,"BlockType.countdownBlock":`Blok odliczania`,"BlockType.cardBlock":`Blok kart`,"BlockType.pageBlock":`Blok stron`,"BlockType.sectionBlock":`Blok sekcji`,"BlockType.linkBlock":`Link Block`,"BlockType.linkContainerBlock":`Link Container Block`,"BlockType.keyVisualBlock":`Kluczowy blok wizualny`,"BlockType.layoutBackgroun
4022dImageBlock":`Blok ukÅadu obrazu tÅa`,"BlockType.accordionBlock":`Blok akordeonowy`,"LinkBlockType.page":`Blok stron`,"LinkBlockType.drawer":`Szuflada`,"LinkBlockType.internal":`Link wewnÄtrzny`,"LinkBlockType.external":`Link zewnÄtrzny`,"No Blocks have been added.":`Nie dodano żadnych bloków.`,"Are you sure you want to delete this Block?":`Czy na pewno chcesz usunÄ
Ä ten blok?`,"Are you sure you want to remove this Block?":`Czy na pewno chcesz usunÄ
Ä ten blok?`,"Block type":`Typ bloku`,Block:`Blok`,Button:`Przycisk`,Text:`Tekst`,Label:`Etykieta`,"Inherit Padding":`Dziedziczenie Padding`,Countdown:`Odliczanie`,Title:`TytuÅ`,Internal:`WewnÄtrzny`,External:`ZewnÄtrzne`,Drawer:`Szuflada`,"Enable Slug":`WÅÄ
cz Ålimak`,Refresh:`OdÅwieżanie`,"Choose Block":`Wybierz blok`,"No blocks available":`Brak dostÄpnych bloków`,ContentBlock:`ContentBlock`,"ContentBlock was saved.":`ContentBlock zostaÅ zapisany.`,"{{direction}} has to be between 0 and 50":`{{kierunek}} musi zawieraÄ siÄ w przedziale od 0 do 50`,Top:`Top`,Left:`Lewa`,Right:`Prawo`,Bottom:`DóÅ`,Gap:`Gap`,Padding:`WypeÅnienie`,"Background type":`Typ tÅa`,"Background color":`Kolor tÅa`,"Import successfully started.":`Import zostaÅ pomyÅlnie rozpoczÄty.`,Transparent:`Przezroczysty`,Background:`Kontekst`,Content:`TreÅÄ`,Custom:`Niestandardowe`,"Add translation for this language":`Dodaj tÅumaczenie dla tego jÄzyka`,Pages:`Strony`,"No block available.":`Brak dostÄpnego bloku.`,"Delete block":`UsuÅ blok`,"Preview block":`Blok podglÄ
du`,"Add block":`Dodaj blok`,"Edit block":`Blok edycji`,"Export block":`Blok eksportu`,"Import blocks":`Importuj bloki`,"Create page":`Utwórz stronÄ`,"Blocks Import":`Import bloków`,"The slug may only contain a-z, 0-9 and separating dashes.":`Slug może zawieraÄ tylko litery a-z, 0-9 i myÅlniki oddzielajÄ
ce.`,"visualGroup.layout":`UkÅad`,"visualGroup.content":`TreÅÄ`,Mobile:`Mobilny`,Tablet:`Tablet`,Desktop:`Pulpit`,"Large Desktop":`Duży pulpit`,Slug:`Ålimak`,Columns:`Kolumny`,Headline:`NagÅówek`,Remove:`UsunÄ
Ä`,"No users attached":`Brak doÅÄ
czonych użytkowników`,"Are you sure you want to remove this user from the role?":`Czy na pewno chcesz usunÄ
Ä tego użytkownika z roli?`,"Remove user":`UsuÅ użytkownika`,"User was successfully removed from the role."
4022:`Użytkownik zostaÅ pomyÅlnie usuniÄty z roli.`,"Role user":`Rola użytkownika`,"Attach users":`DoÅÄ
czanie użytkowników`,"Successfully attached to the role":`Udane przywiÄ
zanie do roli`,View:`Widok`,Create:`Utwórz`,"Show local time":`Pokaż czas lokalny`,"Date time ({{timeZone}})":`Data i godzina ({{timeZone}})`,"Add date time":`Dodaj datÄ i godzinÄ`,"Date time format":`Format daty i godziny`,Timezone:`Strefa czasowa`,Details:`SzczegóÅy`,"Create role":`Utwórz rolÄ`,Alerts:`Alerty`,"Prevent line breaks":`Zapobieganie podziaÅom wierszy`,"Close accordion":`Zamknij akordeon`,"Open accordion":`Otwarty akordeon`,"This addon is not enabled.":`Ten dodatek nie jest wÅÄ
czony.`,"Please speak to your project manager.":`Prosimy o kontakt z kierownikiem projektu.`,"Please activate addon":`Aktywuj dodatek`,'Hello Team DGS, I would like to activate the addon "{{addonName}}" in {{url}}. Please send me also an additional offer for this.':`Witaj zespole DGS, chciaÅbym aktywowaÄ dodatek "{{addonName}}" w {{url}}. ProszÄ również o przesÅanie mi dodatkowej oferty.`,"Contact us":`Skontaktuj siÄ z nami`,"All aspect ratios":`Wszystkie proporcje obrazu`,"Aspect ratio":`WspóÅczynnik ksztaÅtu`,"Unknown aspect ratio":`Nieznany wspóÅczynnik proporcji`,Error:`BÅÄ
d`,"An error has occurred.":`WystÄ
piÅ bÅÄ
d.`,"Request too large":`Zbyt duże żÄ
danie`,"Login with":`Zaloguj siÄ za pomocÄ
`,Profile:`Profil`,"Profile was saved.":`Profil zostaÅ zapisany.`,"Field is required":`Pole jest wymagane`,"Upload avatar":`PrzeÅlij awatar`,"First name":`ImiÄ`,"Last name":`Nazwisko`,Position:`Pozycja`,Company:`Firma`,"Change password":`Zmiana hasÅa`,Save:`Zapisz`,"My profile":`Mój profil`,Clear:`WyczyÅÄ`,"Discard changes":`OdrzuÄ zmiany`,"Stay on page":`PozostaÅ na stronie`,"You have not saved your changes. Do you really want to discard them?":`Zmiany nie zostaÅy zapisane. Czy naprawdÄ chcesz je odrzuciÄ?`,"Font name":`Nazwa czcionki`,"Choose file":`Wybierz plik`,Regular:`Regularny`,Bold:`Pogrubienie`,Italic:`Kursywa`,"Bold italic":`Pogrubienie, kursywa`,Colors:`Kolory`,"Color assistant":`Asystent koloru`,"If you apply changes your custom changes to colors will be lost.":`JeÅli zastosujesz zmiany, niestandardowe zmiany kolorów zostanÄ
utracone.`,Primary:`Podstawowe`,Secondary:`DrugorzÄdny`,Apply:`Zastosuj`,"Brand settings":`Ustawienia marki`,"Brand settings saved successfully.":`Ustawienia marki zostaÅy pomyÅlnie zapisane.`,"This feature is only available if the frontend uses the DGS theme.":`Ta funkcja jest dostÄpna tylko wtedy, gdy frontend korzysta z motywu DGS.`,"Edit settings":`Edytuj ustawienia`,Name:`Nazwa`,Logo:`Logo`,Favicon:`Favicon`,Submit:`PrzeÅlij`,"Previous month":`Poprzedni miesiÄ
c`,Today:`Dzisiaj`,"Next month":`NastÄpny miesiÄ
c`,"The password needs to be at least 12 characters long.":`HasÅo musi skÅadaÄ siÄ z co najmniej 12 znaków.`,"Passwords do not match":`HasÅa nie sÄ
zgodne`,"Password was successfully changed.":`HasÅo zostaÅo pomyÅlnie zmienione.`,Password:`HasÅo`,"Old password":`Stare hasÅo`,"New password":`Nowe hasÅo`,"Repeat password":`Powtórz hasÅo`,"Select a color":`Wybierz kolor`,"Confirm image selection":`Potwierdzenie wyboru obrazu`,Back:`Powrót`,Confirm:`Potwierdzenie`,"More options":`WiÄcej opcji`,Days:`Dni`,Hours:`Godziny`,Min:`Min`,Sec:`Sec`,Add:`Dodaj`,"Open column filter":`Filtr z otwartÄ
kolumnÄ
`,"Column filters":`Filtry kolumnowe`,Reset:`Reset`,"Delete column filter":`UsuÅ filtr kolumn`,Operator:`Operator`,"New column filter":`Nowy filtr kolumnowy`,"Choose column":`Wybierz kolumnÄ`,"Add column filter":`Dodaj filtr kolumn`,"Enable bulk edit":`WÅÄ
cz edycjÄ zbiorczÄ
`,"Deselect all":`Odznacz wszystko`,"Select all":`Wybierz wszystko`,"item(s) selected":`wybrane elementy`,"Disable bulk edit":`WyÅÄ
czanie edycji zbiorczej`,"Select current page":`Wybierz bieżÄ
cÄ
stronÄ`,Search:`Wyszukiwanie`,"Click for more information":`Kliknij, aby uzyskaÄ wiÄcej informacji`,"Search columns:":`Szukaj w kolumnach:`,sort:`rodzaj`,"Previous interval":`Poprzedni interwaÅ`,"Next interval":`NastÄpny interwaÅ`,"Previous day":`Poprzedni dzieÅ`,"Next day":`NastÄpny dzieÅ`,Delete:`UsuÅ`,"Close drawer":`Zamknij szufladÄ`,Status:`Status`,"Created at":`Utworzono w`,Available:`DostÄpne`,"In progress":`W toku`,Failed:`Nie powiodÅo siÄ`,"Deleted by deletion request":`UsuniÄto przez żÄ
danie usuniÄcia`,"No exports.":`Brak eksportu.`,Exports:`Eksport`,Export:`Eksport`,Download:`Pobierz`,"Export was deleted.":`Eksport zostaÅ usuniÄty.`,Close:`Zamknij`,"Are you sure you want to delete this export?":`Czy na pewno chcesz usunÄ
Ä ten eksport?`,File:`Plik`,Public:`Publiczny`,Path:`Åcieżka`,Files:`Pliki`,"No files available":`Brak dostÄpnych plików`,"Are you sure you want to delete this file?":`Czy na pewno chcesz usunÄ
Ä ten plik?`,"Headline font name":`Nazwa czcionki nagÅówka`,"Format headline":`Format nagÅówka`,"Add hy
4022perlink":`Dodaj hiperÅÄ
cze`,Url:`Adres URL`,"New tab":`Nowa karta`,"Add link":`Dodaj ÅÄ
cze`,"There are validation errors in other languages of this form.":`W innych jÄzykach tego formularza wystÄpujÄ
bÅÄdy walidacji.`,"Validation errors":`BÅÄdy walidacji`,"Select option":`Wybierz opcjÄ`,"Are you sure you want to delete this image?":`Czy na pewno chcesz usunÄ
Ä ten obraz?`,Images:`Obrazy`,"Image was deleted.":`Obraz zostaÅ usuniÄty.`,Image:`Obraz`,"Select an image":`Wybierz obraz`,"Choose image...":`Wybierz obraz...`,"Remove image":`UsuÅ obraz`,"Image upload":`PrzesyÅanie obrazów`,Upload:`PrzesyÅanie`,"Choose image":`Wybierz obraz`,"Delete image":`UsuÅ obraz`,"Wrong aspect ratio":`NieprawidÅowy wspóÅczynnik proporcji`,"An export is created, please wait":`Eksport jest tworzony, poczekaj`,"Upload was successful.":`PrzesyÅanie powiodÅo siÄ.`,Import:`Import`,Open:`Otwarty`,"Invalid email address":`NieprawidÅowy adres e-mail`,Welcome:`Witamy`,Email:`E-mail`,"Log in":`Zaloguj siÄ`,Register:`Rejestr`,Type:`Typ`,"Select...":`Wybierz...`,Menu:`Menu`,"Create menu item":`Tworzenie pozycji menu`,"The menu was successfully sorted.":`Menu zostaÅo pomyÅlnie posortowane.`,Edit:`Edytuj`,"Edit menu item":`Pozycja menu Edytuj`,"Delete menu item":`UsuÅ pozycjÄ menu`,"Are you sure you want to delete this menu item?":`Czy na pewno chcesz usunÄ
Ä tÄ pozycjÄ menu?`,"Close navigation sidebar":`Zamknij pasek boczny nawigacji`,"Open navigation sidebar":`Otwórz pasek boczny nawigacji`,Logout:`Wylogowanie`,"Not authorized":`Nieautoryzowane`,"Either your account is not connected to this application or you are not authorized to access this feature.":`Twoje konto nie jest poÅÄ
czone z tÄ
aplikacjÄ
lub nie masz autoryzacji do dostÄpu do tej funkcji.`,"Move before":`RuszaÄ siÄ przed`,"Move after":`Ruch po`,Cancel:`Anuluj`,Cut:`CiÄcie`,of:`z`,"Previous page":`Poprzednia strona`,"Next page":`NastÄpna strona`,"Forgot your password?":`ZapomniaÅeÅ hasÅa?`,"Password reset":`Resetowanie hasÅa`,"The link has already been used or has expired.":`Link zostaÅ już użyty lub wygasÅ.`,Login:`Logowanie`,"Request new link":`PoproÅ o nowy link`,"Crop new image":`Kadrowanie nowego obrazu`,"You should receive an email with instructions to reset your password shortly.":`Wkrótce powinieneÅ otrzymaÄ wiadomoÅÄ e-mail z instrukcjami resetowania hasÅa.`,"Back to login":`Powrót do logowania`,"Set your password":`Ustaw hasÅo`,"Your new password needs to be at least 12 characters long.":`Nowe hasÅo musi skÅadaÄ siÄ z co najmniej 12 znaków.`,"Confirm new password":`Potwierdź nowe hasÅo`,"Set password":`Ustaw hasÅo`,"At least one permission is required":`Wymagane jest co najmniej jedno zezwolenie`,"No permissions available.":`Brak dostÄpnych uprawnieÅ.`,Permission:`Zezwolenie`,Role:`Rola`,"Role was successfully created.":`Rola zostaÅa pomyÅlnie utworzona.`,"Role was successfully updated.":`Rola zostaÅa pomyÅlnie zaktualizowana.`,"Role was successfully deleted.":`Rola zostaÅa pomyÅlnie usuniÄta.`,"Edit role":`Edytuj rolÄ`,"Delete role":`UsuÅ rolÄ`,"Are you sure you want to delete this role?":`Czy na pewno chcesz usunÄ
Ä tÄ rolÄ?`,"Create tag":`Utwórz tag`,"Edit tag":`Edytuj tag`,Roles:`Role`,"No roles available":`Brak dostÄpnych ról`,"Rows per page":`Wiersze na stronÄ`,"No options available":`Brak dostÄpnych opcji`,"Create {{option}}":`Utwórz {{opcja}}`,"Add shortcut":`Dodaj skrót`,"This feature is an addon.":`Ta funkcja jest dodatkiem.`,"Open menu":`Otwórz menu`,"Close menu":`Zamknij menu`,"System messages":`Komunikaty systemowe`,Color:`Kolor`,"Apply color":`Zastosuj kolor`,"Time controlled content visibility":`WidocznoÅÄ treÅci kontrolowana czasowo`,"Preview type":`Typ podglÄ
du`,Underline:`PodkreÅlenie`,Subscript:`Indeks dolny`,Superscript:`Indeks górny`,"Align left":`Wyrównaj do lewej`,"Align center":`Wyrównaj Årodek`,"Align right":`Wyrównaj do prawej`,"Numbered list":`Lista numerowana`,"Bulleted list":`Lista wypunktowana`,"Save file":`Zapisz plik`,"File was deleted.":`Plik zostaÅ usuniÄty.`,"Delete file":`UsuÅ plik`,"Could not delete file.":`Nie można usunÄ
Ä pl
4022iku.`,"Invalid date":`NieprawidÅowa data`,"Your selection is under {{pixel}}px wide and may not display optimally. Please select a larger area if possible.":`Wybrany obszar ma mniej niż {{pixel}} pikseli szerokoÅci i może nie wyÅwietlaÄ siÄ optymalnie. JeÅli to możliwe, wybierz wiÄkszy obszar.`,"The selected image is under {{pixel}}px wide and may not display optimally. Please use a larger image if possible.":`Wybrany obraz ma mniej niż {{pixel}}px szerokoÅci i może nie wyÅwietlaÄ siÄ optymalnie. JeÅli to możliwe, użyj wiÄkszego obrazu.`,Users:`Użytkownicy`,User:`Użytkownik`,"File upload":`PrzesyÅanie plików`,"File was uploaded.":`Plik zostaÅ przesÅany.`,"Uploaded {{uploaded}} of {{total}}":`PrzesÅano {{uploaded}} z {{total}}`,"New version available":`DostÄpna nowa wersja`,"The page must be reloaded to use the latest version and avoid possible errors.":`Strona musi zostaÄ przeÅadowana, aby korzystaÄ z najnowszej wersji i uniknÄ
Ä możliwych bÅÄdów.`,"Reload now":`PrzeÅaduj teraz`,"Version {{version}}":`Wersja {{version}}`,"Copy to clipboard":`Kopiuj do schowka`,"Copied to clipboard":`Skopiowano do schowka`},mKe={"Only logged-in users can access this file.":`Apenas os utilizadores com sessão iniciada podem aceder a este ficheiro.`,"Anyone with the link can access this file.":`Qualquer pessoa com a ligação pode aceder a este ficheiro.`,"Access permission":`Permissão de acesso`,"Use compact display":`Utilizar visualização compacta`,parents_one:`Bloco principal`,parents_other:`Blocos principais`,entities_one:`Bloco como entidade`,entities_other:`Blocos como entidade`,"Uploaded at":`Carregado em`,"{{count}} blocks are missing required data.other":`{{count}} blocos têm dados obrigatórios em falta.`,"{{count}} blocks are missing required data._one":`Um bloco tem dados obrigatórios em falta.`,"This block is missing some entities.":`Este bloco não tem algumas entidades.`,"BlockType.dividerBlock":`Bloco separador`,"Line style":`Estilo de linha`,Solid:`Sólido`,Dashed:`Tracejado`,Dotted:`Pontilhado`,"Line color":`Cor da linha`,"Is required":`à obrigatório`,"Icon file (SVG)":`Ficheiro de Ãcones (SVG)`,"BlockType.cardLayoutBlock":`Bloco de apresentação do cartão`,"BlockType.iconBlock":`Bloco de Ãcones`,"The file must be an SVG.":`O ficheiro deve ser um SVG.`,"Star rating (1-5)":`Classificação por estrelas (1-5)`,"Rating scale (1-10)":`Escala de classificação (1-10)`,"LinkBlockType.file":`Ficheiro`,"When duplicating, you can either reuse the existing children (changes will affect all places where they are used) or create duplicates (changes will be independent). Please choose how to proceed.":`Ao duplicar, pode reutilizar os filhos existentes (as alterações afetarão todos os locais onde são utilizados) ou criar duplicados (as alterações serão independentes). Escolha como deseja proceder.`,"This block will be duplicated because you chose to duplicate at least one of its child elements.":`Este bloco será duplicado porque escolheu duplicar pelo menos um dos seus elementos filhos.`,"{{count}} Usages_other":`{{count}} Usos`,"{{count}} Usages_one":`{{count}} Utilização`,Reuse:`Reutilização`,Duplicate:`Duplicar`,"Duplicate block":`Bloco duplicado`,"The weighting of questions is applied to calculate the overall score.":`A ponderação das perguntas é aplicada para calcular a pontuação geral.`,"The weight field must be an integer between 0 and 100.":`O campo de peso deve ser um número inteiro entre 0 e 100.`,Weight:`Peso`,Average:`Média`,Sum:`Soma`,Median:`Mediana`,Count:`Contagem`,Number:`Número`,"The export cannot be imported. The version of the export is not supported.":`A exportação não pode ser importada. A versão da exportação não é suportada.`,"Invalid value":`Valor inválido`,"Next step":`Próximo passo`,"At least one answer option has to be given.":`Należy podaÄ co najmniej jednÄ
opcjÄ odpowiedzi.`,"Question evaluation":`Avaliação da pergunta`,"Update feedback question":`Pergunta sobre o feedback da atualização`,"Create feedback question":`Criar pergunta de feedback`,"No questions available.":`Não há perguntas disponÃveis.`,"Discard language":`Rejeitar a lÃngua`,"Thank you for submitting feedback!":`Obrigado por enviar os seus comentários!`,"Not available":`Não disponÃvel`,"Feedback is only available for users who are logged-in.":`O feedback só está disponÃvel para os utilizadores que tenham iniciado sessão.`,"BlockType.feedbackBlock":`Feedback`,"Your feedback has been submitted.":`Os seus comentários foram enviados.`,"Login background":`Fundo de inÃcio de sessão`,"Login background was successfully saved.":`O fundo de inÃcio de sessão foi guardado com sucesso.`,"Admin image":`Imagem de administração`,"Frontend image":`Imagem de frontend`,"Keep it short, usually 1-2 sentences. Donât overthink it.":`Seja breve, normalmente 1-2 frases. Não pense demasiado no assunto.`,"Consider key elements of why you chose this image, instead of describing every little detail.":`Considere os elementos-chave da razão pela qual escolheu esta imagem, em vez de descrever todos os pormenores.`,"No need to say âimage ofâ or âpicture ofâ â the screen reader recognizes this itself.":`
4022Não é necessário dizer "imagem de" ou "fotografia de" - o leitor de ecrã reconhece-o por si próprio.`,"But, do say if itâs a logo, illustration, painting, or cartoon.":`Mas diga se se trata de um logótipo, ilustração, pintura ou desenho animado.`,"Donât duplicate text thatâs adjacent in the document or website.":`Não duplique o texto que está adjacente no documento ou no sÃtio Web.`,"End the ALT text sentence with a period â this makes it sound more natural for reading programs.":`Termine a frase do texto ALT com um ponto final - isto faz com que soe mais natural para os programas de leitura.`,"A descriptive ALT text makes your content more inclusive and visible.":`Um texto ALT descritivo torna o seu conteúdo mais inclusivo e visÃvel.`,"Alternative Text (ALT Text)":`Texto alternativo (Texto ALT)`,"Please wait for the upload to finish.":`Aguarde até que o carregamento seja concluÃdo.`,"{{count}} Stars_other":`{{count}} Estrelas`,"{{count}} Stars_one":`{{count}} Estrela`,"{{amount}} out of {{total}}":`{{amount}} de {{total}}`,"Average rating":`Classificação média`,"Choose a question":`Escolher uma pergunta`,"Feedback has been reset.":`O feedback foi reposto.`,"Number of participants":`Número de participantes`,"Reset feedback":`Repor feedback`,"Are you sure you want to reset this feedback?":`Tem a certeza de que pretende repor este feedback?`,Question:`Questão`,"This question has not been answered yet.":`Esta pergunta ainda não obteve resposta.`,"Unknown answer option":`Opção de resposta desconhecida`,"Number of questions":`Número de perguntas`,"Feedback question was deleted.":`A pergunta de feedback foi eliminada.`,"Feedback question was saved.":`A pergunta de feedback foi guardada.`,"Free text":`Texto livre`,"Multiple choice":`Escolha múltipla`,"Single choice":`Escolha única`,"Are you sure you want to delete this feedback question?":`Tem a certeza de que pretende apagar esta pergunta de feedback?`,Questions:`Perguntas`,"Add answer option":`Adicionar opção de resposta`,"Delete answer option":`Eliminar a opção de resposta`,"Answer options":`Opções de resposta`,"Feedback question":`Questão de feedback`,"Successfully sorted.":`Classificado com sucesso.`,"Are you sure you want to delete this feedback?":`Tem a certeza de que deseja eliminar este feedback?`,"No feedback available.":`Não há feedback disponÃvel.`,"Feedback was created.":`O feedback foi criado.`,"Feedback was updated.":`O feedback foi atualizado.`,"Feedback was deleted.":`O feedback foi eliminado.`,"Delete feedback":`Eliminar feedback`,"Edit feedback":`Editar feedback`,"Add feedback":`Adicionar feedback`,Feedback:`Feedback`,"This role is the default, do you want to delete it anyway?":`Esta função é a predefinida. Deseja mesmo eliminá-la?`,"Button color":`Cor do botão`,"The picture carousel automatically switches to the next picture after a certain time.":`O carrossel de imagens muda automaticamente para a próxima imagem após algum tempo.`,"When the last image is reached, the image carousel automatically jumps back to the first image.":`Quando a última imagem é alcançada, o carrossel volta automaticamente à primeira imagem.`,"Activate navigation points":`Ativar pontos de navegação`,"Small dots below the image carousel show the number of images and allow you to jump directly to a specific image.":`Pequenos pontos abaixo do carrossel mostram o número de imagens e permitem saltar diretamente para uma imagem especÃfica.`,"Selected images":`Imagens selecionadas`,"blockSubmitButton.save":`Guardar`,"When enabled, the tabs are left-aligned and horizontally scrollable if there is not enough space. When disabled, they are evenly distributed across the entire width.":`Quando ativado, os separadores estão alinhados à esquerda e são roláveis horizontalmente se não houver espaço suficiente. Quando desativado, são distribuÃdos uniformemente por toda a largura.`,"The file type is not supported.":`O tipo de ficheiro não é suportado.`,"Export settings saved successfully.":`Configurações de exportação guardadas com sucesso.`,"Export settings":`Configurações de exportação`,"Date format":`Formato de data`,"Year-Month-Day":`Ano-Mês-Dia`,"Day.Month.Year":`Dia.Mês.Ano`,"Month/Day/Year":`Mês/Dia/Ano`,"Iso-8601 format with timezone":`Formato Iso-8601 com fuso horário`,"Year-Month-Day, 24 hour UTC time format":`Ano-Mês-Dia, formato de hora UTC de 24 horas`,"Day.Month.Year, 24 hour time format":`Dia.Mês.Ano, formato de hora de 24 horas`,"Month/Day/Year, 12 hour time format":`Mês/Dia/Ano, formato de hora de 12 horas`,"24 hour time format":`Formato de hora de 24 horas`,"12 hour time format":`Formato de hora de 12 horas`,"Time format":`Formato de hora`,"Unknown format":`Formato desconhecido`,Usages:`Utilizações`,"This block is being used {{amount}} times. Click <OpenDrawerButton>here</OpenDrawerButton> to see the usages.":`Este bloco está a ser usado {{amount}} vezes. Clique <OpenDrawerButton>aqui</OpenDrawerButton> para ver as utilizações.`,"The error happened on:":`O erro ocorreu em:`,"Is
4022scrollable":`à deslocável`,PAGE:`Página`,CATEGORY:`Categoria`,EXTERNAL_NEW_TAB:`Externo (novo separador)`,EXTERNAL:`Externo`,INTERNAL:`Interno`,"Invalid URL format: The URL must start with https://.":`Formato de URL inválido: o URL deve começar com https://.`,"The footer links are sorted.":`As ligações de rodapé estão ordenadas.`,"Create footer link":`Criar ligação de rodapé`,"Mute audio":`Silenciar áudio`,"Play in loop":`Reproduzir em loop`,"Show controls":`Mostrar controlos`,Autoplay:`Reprodução automática`,"BlockType.videoBlock":`Video`,"BlockType.imageGalleryBlock":`Galeria de imagens`,"No images selected.":`Não foram selecionadas imagens.`,"Show shadow":`Mostrar sombra`,"Show bottom border":`Mostrar borda inferior`,"Bottom border color":`Cor da borda inferior`,"Color schema":`Esquema de cores`,"Show title":`Mostrar tÃtulo`,Date:`Data`,"Show seconds":`Mostrar segundos`,"Title position":`Posição do tÃtulo`,Above:`Acima`,Below:`Abaixo`,"Vertical alignment":`Alinhamento vertical`,"CountdownBlock.Start":`InÃcio`,"CountdownBlock.Center":`Centro`,"CountdownBlock.End":`Fim`,"Text color":`Cor do texto`,"Background gradient":`Gradiente de fundo`,"Gradient start color":`Cor de inÃcio do gradiente`,"Gradient end color":`Cor final do gradiente`,Center:`Centro`,"Text alignment":`Alinhamento do texto`,"Enable arrow navigation":`Ativar navegação com setas`,"Display image progress with dots":`Mostrar progresso da imagem com pontos`,"The display duration must be greater than zero.":`A duração de exibição deve ser superior a zero.`,"Enable autoplay":`Ativar reprodução automática`,"Display duration of image in seconds":`Exibir duração da imagem em segundos`,"Loop animation":`Repetir animação`,"BlockType.imageCarouselBlock":`Bloco de carrossel de imagens`,Drag:`Arrastar`,"Will be visible on marker click.":`Será visÃvel ao clicar no marcador.`,small:`pequeno`,medium:`médio`,large:`grande`,"Add {{ blockName }}":`Adicionar {{ blockName }}`,Latitude:`Latitude`,Longitude:`Longitude`,"BlockType.mapsBlock":`Maps block`,"BlockType.mapMarkerBlock":`Marcador de mapa block`,"To add or remove map markers use the preview for this maps block.":`Utilize a pré-visualização para este bloco de mapa para adicionar ou remover marcadores de mapa.`,"BlockType.tabBlock":`Bloco de separadores`,"BlockType.tabContainerBlock":`Bloco de contentores de separadores`,"The total of all column widths must be smaller than 100%":`O total das larguras de todas as colunas deve ser inferior a 100%`,"Add {{breakpoint}}":`Adicionar {{breakpoint}}`,"Amount of columns":`Quantidade de colunas`,"Advanced layout":`Layout avançado`,"{{number}}. column width (in %)":`{{number}} Largura da coluna (em %)`,"Reverse block order":`Inverter a ordem dos blocos`,Preview:`Pré-visualizar`,"BlockType.gridLayoutColumnBlock":`Bloco de colunas da grelha`,"Default Collapsed":`Recolhido por defeito`,"The title is displayed in the browser tab.":`O tÃtulo é exibido no separador do navegador.`,"The label is displayed in the browser tab.":`A etiqueta é exibida no separador do navegador.`,"Fit to page width":`Ajustar à largura da página`,"Delete {{modelName}}":`Apagar {{modelName}}`,"The deletion is being prevented by the following connections:_one":`A eliminação está a ser impedida pela seguinte ligação:`,"The deletion is being prevented by the following connections:_other":`A eliminação está a ser impedida pelas seguintes ligações:`,"With the deletion the following connections will be removed:_one":`Com a eliminação, a seguinte ligação será removida:`,"With the deletion the following connections will be removed:_other":`Com a eliminação, as seguintes ligações serão removidas:`,"The page you are looking for doesn't exist.":`A página que está a procurar não existe.`,"You may have mistyped the address or the page was moved.":`Pode ter introduzido mal o endereço ou a página foi movida.`,"Invalid code":`Código inválido`,Code:`Código`,Next:`Seguinte`,"sign in":`Iniciar sessão`,"Enter password":`Introduzir palavra-passe`,"Sign in":`Iniciar sessão`,Verify:`Verificar`,minutes:`Minutos`,seconds:`Segundos`,"The code is valid for {{timeout}} {{unit}}.":`O código é válido para {{timeout}} {{unit}}.`,"Your account is blocked":`A sua conta está bloqueada`,"Email send":`Envio de correio eletrónico`,"An email with a new code has been send.":`Foi enviada uma mensagem de correio eletrónico com um novo código.`,"Resend email":`Reenviar e-mail`,"Please enter the 6-digit security code you received by {{method}}.":`Introduza o código de segurança de 6 dÃgitos que recebeu por {{method}}
4022.`,"twoFactorAuthMethod.EMAIL":`Correio eletrónico`,"Max. {{size}} MB file size":`Máx. {{size}} MB de tamanho de ficheiro`,"Session was successfully revoked.":`A sessão foi revogada com sucesso.`,"No authenticated sessions available.":`Não há sessões autenticadas disponÃveis.`,"It can take up to 60 minutes before the session will be logged out.":`Pode demorar até 60 minutos até que a sessão seja encerrada.`,"Are you sure you want to revoke this session?":`Tem a certeza de que pretende revogar esta sessão?`,"Revoke session":`Revogar sessão`,Revoke:`Revogar`,"Device identifier":`Identificador do dispositivo`,"Authenticated sessions":`Sessões autenticadas`,"Your message has been successfully received.":`A sua mensagem foi recebida com sucesso.`,Send:`Enviar`,Message:`Mensagem`,Subject:`Assunto`,Support:`Suporte`,"Contact our support":`Contactar o nosso apoio`,"Open guide":`Guia aberto`,"Open help":`Abrir ajuda`,"Unknown server error":`Erro de servidor desconhecido`,"Too many login attempts. Try again in {{timeout}} minutes.":`Demasiadas tentativas de inÃcio de sessão. Tente novamente dentro de {{timeout}} minutos.`,"Yesterday, at {{time}}":`Ontem, à s {{time}}`,"Company name":`Nome da empresa`,"Contact phone number":`Número de telefone de contacto`,"Read only":`Apenas leitura`,Links:`Ligações`,"Footer link was deleted.":`A ligação de rodapé foi eliminada.`,"Footer link was saved.":`A ligação de rodapé foi guardada.`,"Are you sure you want to delete this footer link?":`Tem a certeza de que pretende eliminar esta ligação de rodapé?`,"Footer link":`Ligação de rodapé`,"Footer links":`Ligações de rodapé`,"No footer links available.":`Não há ligações de rodapé disponÃveis.`,"Delete footer link":`Eliminar ligação de rodapé`,"Edit footer link":`Editar ligação de rodapé`,"Add footer link":`Adicionar ligação de rodapé`,"Is external":`à externo`,"Required field":`Campo obrigatório`,Footer:`Rodapé`,"Footer successfully updated":`Rodapé atualizado com êxito`,"Footer details":`Detalhes do rodapé`,"Contact email":`E-mail do contacto`,"Contact name":`Nome do contacto`,Id:`Id`,"No users available":`Não há utilizadores disponÃveis`,"Body fonts":`Fontes do Body`,"Headline font":`Tipo de letra do tÃtulo`,Favicons:`Favicons`,"Use for all icons":`Utilizar para todos os Ãcones`,"You've reached the highest possible value.":`Atingiu o valor mais elevado possÃvel.`,"Invalid input":`Entrada inválida`,"The value must not be negative.":`O valor não deve ser negativo.`,Size:`Tamanho`,Source:`Fonte`,Subheadline:`SubtÃtulo`,Description:`Descrição`,"Link Type":`Tipo de ligação`,"Attach block":`Fixar o bloco`,"Existing Blocks":`Blocos existentes`,"Select existing blocks":`Selecionar blocos existentes`,"New Block":`Novo bloco`,Blocks:`Blocos`,"VisualGroup.content":`Conteúdo`,"VisualGroup.layout":`Disposição`,"BlockType.imageBlock":`Bloco de imagens`,"BlockType.headlineBlock":`Bloco de tÃtulos`,"BlockType.slateBlock":`Bloco de texto`,"BlockType.layoutRowBlock":`Bloco de linhas`,"BlockType.iframeBlock":`Bloco iFrame`,"BlockType.countdownBlock":`Bloco de contagem decrescente`,"BlockType.cardBlock":`Bloco de cartões`,"BlockType.pageBlock":`Bloco de páginas`,"BlockType.sectionBlock":`Bloco de secções`,"BlockType.linkBlock":`Bloco de ligações`,"BlockType.linkContainerBlock":`Bloco de contentores de ligação`,"BlockType.keyVisualBlock":`Bloco visual chave`,"BlockType.layoutBackgroundImageBlock":`Bloco de apresentação da imagem de fundo`,"BlockType.accordionBlock":`Bloco de acordeão`,"LinkBlockType.page":`Bloco de páginas`,"LinkBlockType.drawer":`Gaveta`,"LinkBlockType.internal":`Ligação interna`,"LinkBlockType.external":`Ligação externa`,"No Blocks have been added.":`Não foram adicionados blocos.`,"Are you sure you want to delete this Block?":`Tem a certeza de que pretende apagar este bloco?`,"Are you sure you want to remove this Block?":`Tem a certeza de que pretende remover este bloco?`,"Block type":`Tipo de bloco`,Block:`Bloco`,Button:`Botão`,Text:`Texto`,Label:`Etiqueta`,"Inherit Padding":`Herdar o preenchimento`,Countdown:`Contagem decrescente`,Title:`TÃtulo`,Internal:`Interno`,External:`Externo`,Drawer:`Gaveta`,"Enable Slug":`Ativar a lesma`,Refresh:`Atualizar`,"Choose Block":`Selecionar bloco`,"No blocks available":`Não há blocos disponÃveis`,ContentBlock:`Bloco de conteúdo`,"ContentBlock
4022was saved.":`O ContentBlock foi guardado.`,"{{direction}} has to be between 0 and 50":`{A direção tem de estar compreendida entre 0 e 50`,Top:`Topo`,Left:`Esquerda`,Right:`Certo`,Bottom:`Fundo`,Gap:`Lacuna`,Padding:`Acolchoamento`,"Background type":`Tipo de fundo`,"Background color":`Cor de fundo`,"Import successfully started.":`A importação foi iniciada com êxito.`,Transparent:`Transparente`,Background:`Antecedentes`,Content:`Conteúdo`,Custom:`Personalizado`,"Add translation for this language":`Adicionar tradução para esta lÃngua`,Pages:`Páginas`,"No block available.":`Nenhum bloco disponÃvel.`,"Delete block":`Eliminar bloco`,"Preview block":`Bloco de pré-visualização`,"Add block":`Adicionar bloco`,"Edit block":`Editar bloco`,"Export block":`Bloco de exportação`,"Import blocks":`Importar blocos`,"Create page":`Criar página`,"Blocks Import":`Importação de blocos`,"The slug may only contain a-z, 0-9 and separating dashes.":`O slug só pode conter a-z, 0-9 e traços de separação.`,"visualGroup.layout":`Disposição`,"visualGroup.content":`Conteúdo`,Mobile:`Telemóvel`,Tablet:`Tablet`,Desktop:`Ambiente de trabalho`,"Large Desktop":`Ambiente de trabalho grande`,Slug:`Lesma`,Columns:`Colunas`,Headline:`TÃtulo`,Remove:`Remover`,"No users attached":`Nenhum utilizador ligado`,"Are you sure you want to remove this user from the role?":`Tem a certeza de que pretende remover este utilizador da função?`,"Remove user":`Remover utilizador`,"User was successfully removed from the role."
4022:`O utilizador foi removido com êxito da função.`,"Role user":`Função de utilizador`,"Attach users":`Anexar utilizadores`,"Successfully attached to the role":`Aderir com sucesso à função`,View:`Ver`,Create:`Criar`,"Show local time":`Mostrar a hora local`,"Date time ({{timeZone}})":`Data e hora ({{timeZone}})`,"Add date time":`Adicionar data e hora`,"Date time format":`Formato de data e hora`,Timezone:`Fuso horário`,Details:`Detalhes`,"Create role":`Criar função`,Alerts:`Alertas`,"Prevent line breaks":`Evitar quebras de linha`,"Close accordion":`Fechar o acordeão`,"Open accordion":`Abrir o acordeão`,"This addon is not enabled.":`Esta extensão não está activada.`,"Please speak to your project manager.":`Por favor, fale com o seu gestor de projeto.`,"Please activate addon":`Ativar a extensão`,'Hello Team DGS, I would like to activate the addon "{{addonName}}" in {{url}}. Please send me also an additional offer for this.':`Olá Equipa DGS, gostaria de ativar o addon "{{addonName}}" em {{url}}. Por favor, envie-me também uma oferta adicional para este efeito.`,"Contact us":`Contactar-nos`,"All aspect ratios":`Todos os rácios de aspeto`,"Aspect ratio":`Rácio de aspeto`,"Unknown aspect ratio":`Rácio de aspeto desconhecido`,Error:`Erro`,"An error has occurred.":`Ocorreu um erro.`,"Request too large":`Pedido demasiado grande`,"Login with":`Iniciar sessão com`,Profile:`Perfil`,"Profile was saved.":`O perfil foi guardado.`,"Field is required":`O campo é obrigatório`,"Upload avatar":`Carregar avatar`,"First name":`Nome próprio`,"Last name":`Apelido`,Position:`Posição`,Company:`Empresa`,"Change password":`Alterar a palavra-passe`,Save:`Guardar`,"My profile":`O meu perfil`,Clear:`Limpo`,"Discard changes":`Rejeitar alterações`,"Stay on page":`Manter-se na página`,"You have not saved your changes. Do you really want to discard them?":`Não guardou as suas alterações. Pretende mesmo rejeitá-las?`,"Font name":`Nome do tipo de letra`,"Choose file":`Escolher ficheiro`,Regular:`Regular`,Bold:`Negrito`,Italic:`Itálico`,"Bold italic":`Negrito e itálico`,Colors:`Cores`,"Color assistant":`Assistente de cor`,"If you apply changes your custom changes to colors will be lost.":`Se aplicar alterações, as suas alterações personalizadas à s cores perder-se-ão.`,Primary:`Primário`,Secondary:`Secundário`,Apply:`Aplicar`,"Brand settings":`Definições da marca`,"Brand settings saved successfully.":`Definições de marca guardadas com sucesso.`,"This feature is only available if the frontend uses the DGS theme.":`Esta funcionalidade só está disponÃvel se o frontend utilizar o tema DGS.`,"Edit settings":`Editar definições`,Name:`Nome`,Logo:`Logótipo`,Favicon:`Favicon`,Submit:`Enviar`,"Previous month":`Mês anterior`,Today:`Hoje`,"Next month":`Próximo mês`,"The password needs to be at least 12 characters long.":`A palavra-passe tem de ter pelo menos 12 caracteres.`,"Passwords do not match":`As palavras-passe não coincidem`,"Password was successfully changed.":`A palavra-passe foi alterada com sucesso.`,Password:`Palavra-passe`,"Old password":`Palavra-passe antiga`,"New password":`Nova palavra-passe`,"Repeat password":`Repetir a palavra-passe`,"Select a color":`Selecionar uma cor`,"Confirm image selection":`Confirmar a seleção de imagem`,Back:`Voltar`,Confirm:`Confirmar`,"More options":`Mais opções`,Days:`Dias`,Hours:`Horas`,Min:`MÃnimo`,Sec:`Sec`,Add:`Adicionar`,"Open column filter":`Filtro de coluna aberto`,"Column filters":`Filtros de coluna`,Reset:`Reiniciar`,"Delete column filter":`Eliminar filtro de coluna`,Operator:`Operador`,"New column filter":`Novo filtro de coluna`,"Choose column":`Selecionar coluna`,"Add column filter":`Adicionar filtro de coluna`,"Enable bulk edit":`Ativar a edição em massa`,"Deselect all":`Desmarcar tudo`,"Select all":`Selecionar tudo`,"item(s) selected":`item(ns) selecionado(s)`,"Disable bulk edit":`Desativar a edição em massa`,"Select current page":`Selecionar a página atual`,Search:`Pesquisar`,"Click for more information":`Clique para mais informações`,"Search columns:":`Colunas de pesquisa:`,sort:`ordenar`,"Previous interval":`Intervalo anterior`,"Next interval":`Próximo intervalo`,"Previous day":`Dia anterior`,"Next day":`Dia seguinte`,Delete:`Eliminar`,"Close drawer":`Fechar a gaveta`,Status:`Estado`,"Created at":`Criado em`,Available:`DisponÃvel`,"In progress":`Em curso`,Failed:`Falhado`,"Deleted by deletion request":`Suprimido por pedido de supressão`,"No exports.":`Não há exportações.`,Exports:`Exportações`,Export:`Exportação`,Download:`Descarregar`,"Export was deleted.":`A exportação foi eliminada.`,Close:`Fechar`,"Are you sure you want to delete this export?":`Tem a certeza de que pretende apagar esta exportação?`,File:`Ficheiro`,Public:`Público`,Path:`Caminho`,Files:`Ficheiros`,"No files available":`Não há ficheiros disponÃveis`,"Are you sure you want to delete this file?":`Tem a certeza de que pretende apagar este ficheiro?`,"Headline font name":`Nome do tipo de letra do cabeçalho`,"Format headline":`Formato do tÃtulo`,"Add hy
4022perlink":`Adicionar hiperligação`,Url:`Url`,"New tab":`Novo separador`,"Add link":`Adicionar ligação`,"There are validation errors in other languages of this form.":`Existem erros de validação noutras lÃnguas deste formulário.`,"Validation errors":`Erros de validação`,"Select option":`Selecionar opção`,"Are you sure you want to delete this image?":`Tem a certeza de que pretende apagar esta imagem?`,Images:`Imagens`,"Image was deleted.":`A imagem foi eliminada.`,Image:`Imagem`,"Select an image":`Selecionar uma imagem`,"Choose image...":`Selecionar imagem...`,"Remove image":`Remover imagem`,"Image upload":`Carregamento de imagens`,Upload:`Carregar`,"Choose image":`Selecionar imagem`,"Delete image":`Eliminar imagem`,"Wrong aspect ratio":`Rácio de aspeto errado`,"An export is created, please wait":`Está a ser criada uma exportação, aguarde`,"Upload was successful.":`O carregamento foi efectuado com êxito.`,Import:`Importação`,Open:`Aberto`,"Invalid email address":`Endereço de correio eletrónico inválido`,Welcome:`Bem-vindo`,Email:`Correio eletrónico`,"Log in":`Iniciar sessão`,Register:`Registo`,Type:`Tipo`,"Select...":`Selecionar...`,Menu:`Menu`,"Create menu item":`Criar item de menu`,"The menu was successfully sorted.":`O menu foi ordenado com êxito.`,Edit:`Editar`,"Edit menu item":`Item do menu Editar`,"Delete menu item":`Eliminar item de menu`,"Are you sure you want to delete this menu item?":`Tem a certeza de que pretende eliminar este item de menu?`,"Close navigation sidebar":`Fechar a barra lateral de navegação`,"Open navigation sidebar":`Abrir a barra lateral de navegação`,Logout:`Terminar sessão`,"Not authorized":`Não autorizado`,"Either your account is not connected to this application or you are not authorized to access this feature.":`Ou a sua conta não está ligada a esta aplicação ou não está autorizado a aceder a esta funcionalidade.`,"Move before":`Mover-se antes`,"Move after":`Mover-se depois`,Cancel:`Cancelar`,Cut:`Cortar`,of:`de`,"Previous page":`Página anterior`,"Next page":`Página seguinte`,"Forgot your password?":`Esqueceu-se da sua palavra-passe?`,"Password reset":`Redefinição da palavra-passe`,"The link has already been used or has expired.":`A hiperligação já foi utilizada ou expirou.`,Login:`Iniciar sessão`,"Request new link":`Pedir nova ligação`,"Crop new image":`Cortar nova imagem`,"You should receive an email with instructions to reset your password shortly.":`Deverá receber em breve uma mensagem de correio eletrónico com instruções para redefinir a sua palavra-passe.`,"Back to login":`Voltar ao inÃcio de sessão`,"Set your password":`Definir a sua palavra-passe`,"Your new password needs to be at least 12 characters long.":`A sua nova palavra-passe tem de ter, pelo menos, 12 caracteres.`,"Confirm new password":`Confirmar a nova palavra-passe`,"Set password":`Definir palavra-passe`,"At least one permission is required":`à necessária pelo menos uma autorização`,"No permissions available.":`Não há permissões disponÃveis.`,Permission:`Autorização`,Role:`Papel`,"Role was successfully created.":`A função foi criada com sucesso.`,"Role was successfully updated.":`A função foi actualizada com sucesso.`,"Role was successfully deleted.":`A função foi eliminada com êxito.`,"Edit role":`Editar função`,"Delete role":`Eliminar função`,"Are you sure you want to delete this role?":`Tem a certeza de que pretende eliminar esta função?`,"Create tag":`Criar etiqueta`,"Edit tag":`Editar etiqueta`,Roles:`Funções`,"No roles available":`Não há papéis disponÃveis`,"Rows per page":`Linhas por página`,"No options available":`Não existem opções disponÃveis`,"Create {{option}}":`Criar {{opção}}`,"Add shortcut":`Adicionar atalho`,"This feature is an addon.":`Esta funcionalidade é um complemento.`,"Open menu":`Abrir o menu`,"Close menu":`Fechar menu`,"System messages":`Mensagens do sistema`,Color:`Cor`,"Apply color":`Aplicar cor`,"Time controlled content visibility":`Visibilidade do conteúdo controlada pelo tempo`,"Preview type":`Tipo de pré-visualização`,
4022Underline:`Sublinhar`,Subscript:`Subscrito`,Superscript:`Sobrescrito`,"Align left":`Alinhar à esquerda`,"Align center":`Alinhar ao centro`,"Align right":`Alinhar à direita`,"Numbered list":`Lista numerada`,"Bulleted list":`Lista com marcadores`,"Save file":`Guardar ficheiro`,"File was deleted.":`O ficheiro foi eliminado.`,"Delete file":`Eliminar ficheiro`,"Could not delete file.":`Não foi possÃvel eliminar o ficheiro.`,"Invalid date":`Data inválida`,"Your selection is under {{pixel}}px wide and may not display optimally. Please select a larger area if possible.":`A sua seleção tem uma largura inferior a {{pixel}}px e pode não ser apresentada da melhor forma. Se possÃvel, seleccione uma área maior.`,"The selected image is under {{pixel}}px wide and may not display optimally. Please use a larger image if possible.":`A imagem selecionada tem menos de {{pixel}}px de largura e pode não ser apresentada da melhor forma. Se possÃvel, utilize uma imagem maior.`,Users:`Utilizadores`,User:`Utilizador`,"File upload":`Carregamento de ficheiros`,"File was uploaded.":`O ficheiro foi carregado.`,"Uploaded {{uploaded}} of {{total}}":`Carregados {{uploaded}} de {{total}}`,"New version available":`Nova versão disponÃvel`,"The page must be reloaded to use the latest version and avoid possible errors.":`A página deve ser recarregada para utilizar a versão mais recente e evitar possÃveis erros.`,"Reload now":`Recarregar agora`,"Version {{version}}":`Versão {{version}}`,"Copy to clipboard":`Copiar para a área de transferência`,"Copied to clipboard":`Copiado para a área de transferência`},hKe={"Only logged-in users can access this file.":`Endast inloggade användare har Ã¥tkomst till den här filen.`,"Anyone with the link can access this file.":`Alla med länken har Ã¥tkomst till den här filen.`,"Access permission":`Ã
tkomstbehörighet`,"Use compact display":`Använd kompakt visning`,parents_one:`Ãverordnat block`,parents_other:`Ãverordnade block`,entities_one:`Block som enhet`,entities_other:`Block som enheter`,"Uploaded at":`Uppladdat kl.`,"{{count}} blocks are missing required data.other":`{{count}} block saknar obligatoriska data.`,"{{count}} blocks are missing required data._one":`Ett block saknar obligatoriska data.`,"This block is missing some entities.":`Detta kvarter saknar vissa enheter.`,"BlockType.dividerBlock":`Separatorblock`,"Line style":`Linjestil`,Solid:`Heldragen`,Dashed:`Streckad`,Dotted:`Prickad`,"Line color":`Linjefärg`,"Is required":`Ãr obligatoriskt`,"Icon file (SVG)":`Ikonfil (SVG)`,"BlockType.cardLayoutBlock":`Block för kortlayout`,"BlockType.iconBlock":`Ikonblock`,"The file must be an SVG.":`Filen mÃ¥ste vara en SVG.`,"Star rating (1-5)":`Stjärnklassificering (1-5)`,"Rating scale (1-10)":`Betygsskala (1-10)`,"LinkBlockType.file":`Fil`,"When duplicating, you can either reuse the existing children (changes will affect all places where they are used) or create duplicates (changes will be independent). Please choose how to proceed.":`När du duplicerar kan du antingen Ã¥teranvända befintliga underordnade objekt (ändringar pÃ¥verkar alla platser där de används) eller skapa dubbletter (ändringar blir oberoende). Välj hur du vill gÃ¥ vidare.`,"This block will be duplicated because you chose to duplicate at least one of its child elements.":`Detta block kommer att dupliceras eftersom du valde att duplicera minst ett av dess underordnade element.`,"{{count}} Usages_other":`{{count}} AnvändningsomrÃ¥den`,"{{count}} Usages_one":`{{count}} Användning`,Reuse:`Ã
teranvändning`,Duplicate:`Duplicera`,"Duplicate block":`Duplicera block`,"The weighting of questions is applied to calculate the overall score.":`Viktningen av frÃ¥gor tillämpas för att beräkna det totala resultatet.`,"The weight field must be an integer between 0 and 100.":`Viktfältet mÃ¥ste vara ett heltal mellan 0 och 100.`,Weight:`Vikt`,Average:`Genomsnitt`,Sum:`Summa`,Median:`Median`,Count:`Antal`,Number:`Nummer`,"The export cannot be imported. The version of the export is not supported.":`Exporten kan inte importeras. Exportens version stöds inte.`,"Invalid value":`Ogiltigt värde`,"Next step":`Nästa steg`,"At least one answer option has to be given.":`Minst ett svarsalternativ mÃ¥ste anges.`,"Question evaluation":`Utvärdering av frÃ¥gor`,"Update feedback question":`FrÃ¥ga om uppdatering av feedback`,"Create feedback question":`Skapa feedbackfrÃ¥ga`,"No questions available.":`Inga frÃ¥gor tillgängliga.`,"Discard language":`Förkasta sprÃ¥k`,"Thank you for submitting feedback!":`Tack för att du skickade in din feedback!`,"Not available":`Ej tillgänglig`,"Feedback is only available for users who are logged-in.":`Feedback är endast tillgänglig för användare som är inloggade.`,"BlockType.feedbackBlock":`Feedback`,"Your feedback has been submitted.":`Din feedback har skickats in.`,"Login background":`Inloggningsbakgrund`,"Login background was successfully saved.":`Inloggningsbakgrunden har sparats framgÃ¥ngsrikt.`,"Admin image":`Administratörsbild`,"Frontend image":`Frontend-bild`,"Keep it short, usually 1-2 sentences. Donât overthink it.":`HÃ¥ll det kort, vanligtvis 1-2 meningar. Tänk inte för mycket pÃ¥ det.`,"Consider key elements of why you chose this image, instead of describing every little detail.":`Fundera över varför du valde just den här bilden, i stället för att beskriva varje liten detalj.`,"No need to say âimage ofâ or âpicture ofâ â the screen reader recognizes this itself.":`Du behöver inte säga "bild av" eller "bild av" - skärmläsaren känner igen detta själv.`,"But, do say if itâs a logo, illustration, painting, or cartoon.":`Me
4022n ange om det är en logotyp, illustration, mÃ¥lning eller tecknad serie.`,"Donât duplicate text thatâs adjacent in the document or website.":`Duplicera inte text som ligger bredvid i dokumentet eller pÃ¥ webbplatsen.`,"End the ALT text sentence with a period â this makes it sound more natural for reading programs.":`Avsluta ALT-textmeningen med en punkt - det gör att den lÃ¥ter mer naturlig för läsprogram.`,"A descriptive ALT text makes your content more inclusive and visible.":`En beskrivande ALT-text gör ditt innehÃ¥ll mer inkluderande och synligt.`,"Alternative Text (ALT Text)":`Alternativ text (ALT Text)`,"Please wait for the upload to finish.":`Vänta tills uppladdningen är klar.`,"{{count}} Stars_other":`{{count}} Stjärnor`,"{{count}} Stars_one":`{{count}} Stjärna`,"{{amount}} out of {{total}}":`{{amount}} av {{total}}`,"Average rating":`Genomsnittligt betyg`,"Choose a question":`Välj en frÃ¥ga`,"Feedback has been reset.":`Ã
terkopplingen har Ã¥terställts.`,"Number of participants":`Antal deltagare`,"Reset feedback":`Ã
terställning av feedback`,"Are you sure you want to reset this feedback?":`Ãr du säker pÃ¥ att du vill Ã¥terställa den här feedbacken?`,Question:`FrÃ¥ga`,"This question has not been answered yet.":`Denna frÃ¥ga har ännu inte besvarats.`,"Unknown answer option":`Okänt svarsalternativ`,"Number of questions":`Antal frÃ¥gor`,"Feedback question was deleted.":`FeedbackfrÃ¥gan togs bort.`,"Feedback question was saved.":`Ã
terkopplingsfrÃ¥gan sparades.`,"Free text":`Fri text`,"Multiple choice":`FlervalsfrÃ¥gor`,"Single choice":`Ett enda val`,"Are you sure you want to delete this feedback question?":`Ãr du säker pÃ¥ att du vill ta bort den här feedbackfrÃ¥gan?`,Questions:`FrÃ¥gor och svar`,"Add answer option":`Lägg till svarsalternativ`,"Delete answer option":`Ta bort svarsalternativ`,"Answer options":`Svarsalternativ`,"Feedback question":`FrÃ¥ga om Ã¥terkoppling`,"Successfully sorted.":`FramgÃ¥ngsrikt sorterad.`,"Are you sure you want to delete this feedback?":`Ãr du säker pÃ¥ att du vill radera denna feedback?`,"No feedback available.":`Ingen feedback tillgänglig.`,"Feedback was created.":`Feedback har skapats.`,"Feedback was updated.":`Feedback har uppdaterats.`,"Feedback was deleted.":`Feedback har raderats.`,"Delete feedback":`Radera feedback`,"Edit feedback":`Redigera feedback`,"Add feedback":`Lägg till feedback`,Feedback:`Feedback`,"This role is the default, do you want to delete it anyway?":`Denna roll är standard, vill du ändÃ¥ ta bort den?`,"Button color":`Knappens färg`,"The picture carousel automatically switches to the next picture after a certain time.":`Bildkarusellen byter automatiskt till nästa bild efter en viss tid.`,"When the last image is reached, the image carousel automatically jumps back to the first image.":`När den sista bilden har nÃ¥tts hoppar karusellen automatiskt tillbaka till den första bilden.`,"Activate navigation points":`Aktivera navigationspunkter`,"Small dots below the image carousel show the number of images and allow you to jump directly to a specific image.":`SmÃ¥ prickar under bildkarusellen visar antalet bilder och lÃ¥ter dig hoppa direkt till en specifik bild.`,"Selected images":`Valda bilder`,"blockSubmitButton.save":`Spara`,"When enabled, the tabs are left-aligned and horizontally scrollable if there is not enough space. When disabled, they are evenly distributed across the entire width.":`När aktiverat är flikarna vänsterjusterade och horisontellt rullbara om det inte finns tillräckligt med utrymme. När inaktiverat fördelas de jämnt över hela bredden.`,"The file type is not supported.":`Filtypen stöds inte.`,"Export settings saved successfully.":`Exportinställningar sparades framgÃ¥ngsrikt.`,"Export settings":`Exportinställningar`,"Date format":`Datumformat`,"Year-Month-Day":`Ã
r-MÃ¥nad-Dag`,"Day.Month.Year":`Dag.MÃ¥nad.Ã
r`,"Month/Day/Year":`MÃ¥nad/Dag/Ã
r`,"Iso-8601 format with timezone":`Iso-8601-format med tidszon`,"Year-Month-Day, 24 hour UTC time format":`Ã
r-MÃ¥nad-Dag, 24-timmars UTC-tidsformat`,"Day.Month.Year, 24 hour time format":`Dag.MÃ¥nad.Ã
r, 24-timmars ti
4022dsformat`,"Month/Day/Year, 12 hour time format":`MÃ¥nad/Dag/Ã
r, 12-timmars tidsformat`,"24 hour time format":`24-timmars tidsformat`,"12 hour time format":`12-timmars tidsformat`,"Time format":`Tidsformat`,"Unknown format":`Okänt format`,Usages:`Användningar`,"This block is being used {{amount}} times. Click <OpenDrawerButton>here</OpenDrawerButton> to see the usages.":`Detta block används {{amount}} gÃ¥nger. Klicka <OpenDrawerButton>här</OpenDrawerButton> för att se användningarna.`,"The error happened on:":`Felet inträffade den:`,"Is scrollable":`Ãr rullbar`,PAGE:`Sida`,CATEGORY:`Kategori`,EXTERNAL_NEW_TAB:`Extern (ny flik)`,EXTERNAL:`Extern`,INTERNAL:`Intern`,"Invalid URL format: The URL must start with https://.":`Ogiltigt URL-format: webbadressen mÃ¥ste börja med https://.`,"The footer links are sorted.":`Sidfotslänkarna är sorterade.`,"Create footer link":`Skapa sidfotslänk`,"Mute audio":`Stäng av ljud`,"Play in loop":`Spela i loop`,"Show controls":`Visa kontroller`,Autoplay:`Automatisk uppspelning`,"BlockType.videoBlock":`Video`,"BlockType.imageGalleryBlock":`Bildgalleri`,"No images selected.":`Inga bilder valda.`,"Show shadow":`Visa skugga`,"Show bottom border":`Visa nederkant`,"Bottom border color":`Färg pÃ¥ nederkanten`,"Color schema":`Färgschema`,"Show title":`Visa titel`,Date:`Datum`,"Show seconds":`Visa sekunder`,"Title position":`Titelns position`,Above:`Ovanför`,Below:`Nedanför`,"Vertical alignment":`Vertikal justering`,"CountdownBlock.Start":`Start`,"CountdownBlock.Center":`Mit`,"CountdownBlock.End":`Slu`,"Text color":`Textfärg`,"Background gradient":`Bakgrundsgradient`,"Gradient start color":`Gradientens startfärg`,"Gradient end color":`Gradientens slutfärg`,Center:`Mit`,"Text alignment":`Justering av text`,"Enable arrow navigation":`Aktivera piltangentsnavigation`,"Display image progress with dots":`Visa bildens framsteg med prickar`,"The display duration must be greater than zero.":`Visningstiden mÃ¥ste vara större än noll.`,"Enable autoplay":`Aktivera automatisk uppspelning`,"Display duration of image in seconds":`Visa bildens varaktighet i sekunder`,"Loop animation":`Repetera animering`,"BlockType.imageCarouselBlock":`Bildkarusellblock`,Drag:`Dra`,"Will be visible on marker click.":`Kommer att synas vid klick pÃ¥ markören.`,small:`liten`,medium:`medelstor`,large:`stor`,"Add {{ blockName }}":`Lägg till {{ blockName }}`,Latitude:`Latitud`,Longitude:`Longitud`,"BlockType.mapsBlock":`Maps block`,"BlockType.mapMarkerBlock":`Kartmarkör block`,"To add or remove map markers use the preview for this maps block.":`Använd förhandsgranskningen för det här kartblocket för att lägga till eller ta bort kartmarkörer.`,"BlockType.tabBlock":`Flik Block`,"BlockType.tabContainerBlock":`Tab Container Block`,"The total of all column widths must be smaller than 100%":`Summan av alla kolumnbredder mÃ¥ste vara mindre än 100%.`,"Add {{breakpoint}}":`Lägg till {{breakpoint}}`,"Amount of columns":`Antal kolumner`,"Advanced layout":`Avancerad layout`,"{{number}}. column width (in %)":`{{number}}. kolumnbredd (i %)`,"Reverse block order":`Omvänd blockordning`,Preview:`Förhandsgranska`,"BlockType.gridLayoutColumnBlock":`Rutnät Kolumn Block`,"Default Collapsed":`Som standard hopfälld`,"The title is displayed in the browser tab.":`Titeln visas i webbläsarens flik.`,"The label is displayed in the browser tab.":`Etiketten visas i webbläsarens flik.`,"Fit to page width":`Anpassa till sidans bredd`,"Delete {{modelName}}":`Radera {{modelName}}`,"The deletion is being prevented by the following connections:_one":`Raderingen förhindras av följande anslutning:`,"The deletion is being prevented by the following connections:_other":`Raderingen förhindras av följande anslutningar:`,"With the deletion the following connections will be removed:_one":`I och med borttagningen kommer följande anslutning att tas bort:`,"With the deletion the following connections will be removed:_other":`Vid borttagningen kommer följande anslutningar att tas bort:`,"The page you are looking for doesn't exist.":`Sidan du letar efter finns inte.`,"You may have mistyped the address or the page was moved.":`Du kanske har skrivit fel pÃ¥ adressen eller sÃ¥ har sidan flyttats.`,"Invalid code":`Ogiltig kod`,Code:`Kod för`,Next:`Nästa`,"sign in":`Registrera dig`,"Enter password":`Ange lösenord`,"Sign in":`Registrera dig`,Verify:`Verifiera`,minutes:`Minuter`,seconds:`Sekunder`,"The code is valid for {{timeout}} {{unit}}.":`Koden är giltig i {{timeout}} {{unit}}.`,"Your account is blocked":`Ditt konto är spärrat`,"Email send":`Skicka e-post`,"An email with a new code has been send.":`Ett e-postmeddelande med en ny kod har skickats.`,"Resend email":`Skicka e-post pÃ¥ nytt`,"Please enter the 6-digit security code you received by {{method}}.":`Vänligen ange den 6-siffriga säkerhetskoden som du fick via {{method}}
4022.`,"twoFactorAuthMethod.EMAIL":`e-post`,"Max. {{size}} MB file size":`Max. {{size}} MB filstorlek`,"Session was successfully revoked.":`Sessionen har framgÃ¥ngsrikt Ã¥terkallats.`,"No authenticated sessions available.":`Inga autentiserade sessioner tillgängliga.`,"It can take up to 60 minutes before the session will be logged out.":`Det kan ta upp till 60 minuter innan sessionen loggas ut.`,"Are you sure you want to revoke this session?":`Ãr du säker pÃ¥ att du vill Ã¥terkalla den här sessionen?`,"Revoke session":`Ã
terkalla session`,Revoke:`Ã
terkalla`,"Device identifier":`Enhetens identifierare`,"Authenticated sessions":`Autentiserade sessioner`,"Your message has been successfully received.":`Ditt meddelande har mottagits pÃ¥ ett framgÃ¥ngsrikt sätt.`,Send:`Skicka`,Message:`meddelande`,Subject:`Ãmne`,Support:`Support`,"Contact our support":`Kontakta vÃ¥r support`,"Open guide":`Ãppna guide`,"Open help":`Ãppna hjälp`,"Unknown server error":`Fel pÃ¥ okänd server`,"Too many login attempts. Try again in {{timeout}} minutes.":`För mÃ¥nga inloggningsförsök. Försök igen om {{timeout}} minuter.`,"Yesterday, at {{time}}":`IgÃ¥r, kl {{time}}`,"Company name":`Företagets namn`,"Contact phone number":`Telefonnummer till kontaktperson`,"Read only":`Läs endast`,Links:`Länkar`,"Footer link was deleted.":`Sidfotslänk togs bort.`,"Footer link was saved.":`Sidfotslänk sparades.`,"Are you sure you want to delete this footer link?":`Ãr du säker pÃ¥ att du vill ta bort den här sidfotslänken?`,"Footer link":`Sidfotslänk`,"Footer links":`Sidfotslänkar`,"No footer links available.":`Inga sidfotslänkar tillgängliga.`,"Delete footer link":`Ta bort sidfotslänk`,"Edit footer link":`Redigera sidfotslänk`,"Add footer link":`Lägg till sidfotslänk`,"Is external":`Ãr extern`,"Required field":`Obligatoriskt fält`,Footer:`Sidfot`,"Footer successfully updated":`Sidfoten har uppdaterats framgÃ¥ngsrikt`,"Footer details":`Information om sidfoten`,"Contact email":`E-post till kontakt`,"Contact name":`Kontaktens namn`,Id:`Id`,"No users available":`Inga användare tillgängliga`,"Body fonts":`Body teckensnitt`,"Headline font":`Typsnitt för rubriker`,Favicons:`Favicons`,"Use for all icons":`Används för alla ikoner`,"You've reached the highest possible value.":`Du har uppnÃ¥tt högsta möjliga värde.`,"Invalid input":`Ogiltig inmatning`,"The value must not be negative.":`Värdet fÃ¥r inte vara negativt.`,Size:`Storlek`,Source:`Källa`,Subheadline:`Underrubrik`,Description:`Beskrivning`,"Link Type":`Typ av länk`,"Attach block":`Fäst block`,"Existing Blocks":`Befintliga block`,"Select existing blocks":`Välj befintliga block`,"New Block":`Nytt block`,Blocks:`Block`,"VisualGroup.content":`InnehÃ¥ll`,"VisualGroup.layout":`Layout`,"BlockType.imageBlock":`Bildblock`,"BlockType.headlineBlock":`Block för rubrik`,"BlockType.slateBlock":`Textblock`,"BlockType.layoutRowBlock":`Radblock`,"BlockType.iframeBlock":`iFrame-block`,"BlockType.countdownBlock":`Block för nedräkning`,"BlockType.cardBlock":`Kortblock`,"BlockType.pageBlock":`Sidblock`,"BlockType.sectionBlock":`Sektion Block`,"BlockType.linkBlock":`Länk Block`,"BlockType.linkContainerBlock":`Länk Container Block`,"BlockType.keyVisualBlock":`Viktigt visuellt block`,"BlockType.layoutBackgroundImageBlock":`Layoutblock för bakgrundsbild`,"BlockType.accordionBlock":`Dragspelsblock`,"LinkBlockType.page":`Sidblock`,"LinkBlockType.drawer":`LÃ¥dan`,"LinkBlockType.internal":`Intern länk`,"LinkBlockType.external":`Extern länk`,"No Blocks have been added.":`Inga block har lagts till.`,"Are you sure you want to delete this Block?":`Ãr du säker pÃ¥ att du vill ta bort detta block?`,"Are you sure you want to remove this Block?":`Ãr du säker pÃ¥ att du vill ta bort detta block?`,"Block type":`Typ av block`,Block:`Block`,Button:`Knapp`,Text:`Text`,Label:`Etikett`,"Inherit Padding":`Arva utfyllnad`,Countdown:`Nedräkning`,Title:`Titel`,Internal:`Intern`,External:`Extern`,Drawer:`LÃ¥dan`,"Enable Slug":`Aktivera slug`,Refresh:`Uppdatera`,"Choose Block":`Välj block`,"No blocks available":`Inga block tillgängliga`,ContentBlock:`InnehÃ¥llsblock`,"ContentBlock
4022was saved.":`ContentBlock räddades.`,"{{direction}} has to be between 0 and 50":`{{riktning}} mÃ¥ste vara mellan 0 och 50`,Top:`Topp`,Left:`Vänster`,Right:`Rätt`,Bottom:`Botten`,Gap:`Gap`,Padding:`Fyllning`,"Background type":`Bakgrundstyp`,"Background color":`Bakgrundsfärg`,"Import successfully started.":`Importen har startat framgÃ¥ngsrikt.`,Transparent:`Transparent`,Background:`Bakgrund`,Content:`InnehÃ¥ll`,Custom:`Anpassad`,"Add translation for this language":`Lägg till översättning för detta sprÃ¥k`,Pages:`Sidor`,"No block available.":`Inget block tillgängligt.`,"Delete block":`Radera block`,"Preview block":`Block för förhandsgranskning`,"Add block":`Lägg till block`,"Edit block":`Redigera block`,"Export block":`Exportblock`,"Import blocks":`Importera block`,"Create page":`Skapa sida`,"Blocks Import":`Import av block`,"The slug may only contain a-z, 0-9 and separating dashes.":`Sluggen fÃ¥r endast innehÃ¥lla a-z, 0-9 och avgränsande bindestreck.`,"visualGroup.layout":`Layout`,"visualGroup.content":`InnehÃ¥ll`,Mobile:`Mobil`,Tablet:`Tablett`,Desktop:`Skrivbord`,"Large Desktop":`Stort skrivbord`,Slug:`Snigel`,Columns:`Kolumner`,Headline:`Rubrik`,Remove:`Ta bort`,"No users attached":`Inga användare anslutna`,"Are you sure you want to remove this user from the role?":`Ãr du säker pÃ¥ att du vill ta bort den här användaren frÃ¥n rollen?`,"Remove user":`Ta bort användare`,"User was successfully removed from the role."
4022:`Användaren har framgÃ¥ngsrikt tagits bort frÃ¥n rollen.`,"Role user":`Roll användare`,"Attach users":`Bifoga användare`,"Successfully attached to the role":`FramgÃ¥ngsrikt knuten till rollen`,View:`Utsikt`,Create:`Skapa`,"Show local time":`Visa lokal tid`,"Date time ({{timeZone}})":`Datum tid ({{timeZone}})`,"Add date time":`Lägg till datum tid`,"Date time format":`Format för datum och tid`,Timezone:`Tidszon`,Details:`Detaljer`,"Create role":`Skapa roll`,Alerts:`Varningar`,"Prevent line breaks":`Förhindra radbrytningar`,"Close accordion":`Stäng dragspel`,"Open accordion":`Ãppna dragspel`,"This addon is not enabled.":`Detta tillägg är inte aktiverat.`,"Please speak to your project manager.":`Vänligen tala med din projektledare.`,"Please activate addon":`Vänligen aktivera tillägget`,'Hello Team DGS, I would like to activate the addon "{{addonName}}" in {{url}}. Please send me also an additional offer for this.':`Hej Team DGS, Jag skulle vilja aktivera tillägget "{{addonName}}" i {{url}}. Vänligen skicka mig ocksÃ¥ ett ytterligare erbjudande för detta.`,"Contact us":`Kontakta oss`,"All aspect ratios":`Alla bildformat`,"Aspect ratio":`BildförhÃ¥llande`,"Unknown aspect ratio":`Okänt bildförhÃ¥llande`,Error:`Fel`,"An error has occurred.":`Ett fel har uppstÃ¥tt.`,"Request too large":`FörfrÃ¥gan för stor`,"Login with":`Logga in med`,Profile:`Profil`,"Profile was saved.":`Profilen har sparats.`,"Field is required":`Fältet är obligatoriskt`,"Upload avatar":`Ladda upp avatar`,"First name":`Förnamn`,"Last name":`Efternamn`,Position:`Position`,Company:`Företag`,"Change password":`Ãndra lösenord`,Save:`Spara`,"My profile":`Min profil`,Clear:`Klart`,"Discard changes":`Förkasta ändringar`,"Stay on page":`Stanna kvar pÃ¥ sidan`,"You have not saved your changes. Do you really want to discard them?":`Du har inte sparat dina ändringar. Vill du verkligen förkasta dem?`,"Font name":`Namn pÃ¥ teckensnitt`,"Choose file":`Välj fil`,Regular:`Ordinarie`,Bold:`Fet stil`,Italic:`Kursiv`,"Bold italic":`Fet kursiv`,Colors:`Färger`,"Color assistant":`Färgassistent`,"If you apply changes your custom changes to colors will be lost.":`Om du tillämpar ändringar kommer dina anpassade ändringar av färger att gÃ¥ förlorade.`,Primary:`Primär`,Secondary:`Sekundär`,Apply:`Tillämpa`,"Brand settings":`Märkesinställningar`,"Brand settings saved successfully.":`Varumärkesinställningarna har sparats framgÃ¥ngsrikt.`,"This feature is only available if the frontend uses the DGS theme.":`Denna funktion är endast tillgänglig om frontenden använder DGS-temat.`,"Edit settings":`Redigera inställningar`,Name:`Namn`,Logo:`Logotyp`,Favicon:`Favicon`,Submit:`Skicka in`,"Previous month":`FöregÃ¥ende mÃ¥nad`,Today:`Idag`,"Next month":`Nästa mÃ¥nad`,"The password needs to be at least 12 characters long.":`Lösenordet mÃ¥ste vara minst 12 tecken lÃ¥ngt.`,"Passwords do not match":`Lösenorden stämmer inte överens`,"Password was successfully changed.":`Lösenordet har ändrats framgÃ¥ngsrikt.`,Password:`Lösenord`,"Old password":`Gammalt lösenord`,"New password":`Nytt lösenord`,"Repeat password":`Upprepa lösenord`,"Select a color":`Välj en färg`,"Confirm image selection":`Bekräfta val av bild`,Back:`Tillbaka`,Confirm:`Bekräfta`,"More options":`Fler alternativ`,Days:`Dagar`,Hours:`Timmar`,Min:`Min`,Sec:`Sec`,Add:`Lägg till`,"Open column filter":`Ãppet kolonnfilter`,"Column filters":`Kolonnfilter`,Reset:`Ã
terställ`,"Delete column filter":`Ta bort kolumnfilter`,Operator:`Operatör`,"New column filter":`Nytt kolonnfilter`,"Choose column":`Välj kolumn`,"Add column filter":`Lägg till kolonnfilter`,"Enable bulk edit":`Aktivera massredigering`,"Deselect all":`Avmarkera alla`,"Select all":`Välj alla`,"item(s) selected":`vald(a) artikel(er)`,"Disable bulk edit":`Inaktivera massredigering`,"Select current page":`Välj aktuell sida`,Search:`Sök`,"Click for more information":`Klicka här för mer information`,"Search columns:":`Sök i kolumnerna:`,sort:`sortera`,"Previous interval":`Tidigare intervall`,"Next interval":`Nästa intervall`,"Previous day":`FöregÃ¥ende dag`,"Next day":`Nästa dag`,Delete:`Radera`,"Close drawer":`Stäng lÃ¥dan`,Status:`Status`,"Created at":`Skapad vid`,Available:`Tillgänglig`,"In progress":`PÃ¥gÃ¥ende`,Failed:`Misslyckades`,"Deleted by deletion request":`Raderad genom begäran om radering`,"No exports.":`Ingen export.`,Exports:`Export`,Export:`Export`,Download:`Nedladdning`,"Export was deleted.":`Exporten har tagits bort.`,Close:`Nära`,"Are you sure you want to delete this export?":`Ãr du säker pÃ¥ att du vill ta bort denna export?`,File:`Fil`,Public:`Offentlig`,Path:`Väg`,Files:`Filer`,"No files available":`Inga filer tillgängliga`,"Are you sure you want to delete this file?":`Ãr du säker pÃ¥ att du vill radera den här filen?`,"Headline font name":`Rubrik teckensnitt namn`,"Format headline":`Format rubrik`,"Add hy
4022perlink":`Lägg till hyperlänk`,Url:`Url`,"New tab":`Ny flik`,"Add link":`Lägg till länk`,"There are validation errors in other languages of this form.":`Det finns valideringsfel pÃ¥ andra sprÃ¥k i detta formulär.`,"Validation errors":`Valideringsfel`,"Select option":`Välj alternativ`,"Are you sure you want to delete this image?":`Ãr du säker pÃ¥ att du vill radera den här bilden?`,Images:`Bilder`,"Image was deleted.":`Bilden har raderats.`,Image:`Bild`,"Select an image":`Välj en bild`,"Choose image...":`Välj bild...`,"Remove image":`Ta bort bild`,"Image upload":`Uppladdning av bilder`,Upload:`Uppladdning`,"Choose image":`Välj bild`,"Delete image":`Radera bild`,"Wrong aspect ratio":`Fel bildförhÃ¥llande`,"An export is created, please wait":`En export skapas, vänligen vänta`,"Upload was successful.":`Uppladdningen lyckades.`,Import:`Import`,Open:`Ãppna`,"Invalid email address":`Ogiltig e-postadress`,Welcome:`Välkommen till`,Email:`E-post`,"Log in":`Logga in`,Register:`Register`,Type:`Typ`,"Select...":`Välj...`,Menu:`Meny`,"Create menu item":`Skapa menyalternativ`,"The menu was successfully sorted.":`Menyn sorterades framgÃ¥ngsrikt.`,Edit:`Redigera`,"Edit menu item":`Menyalternativet Redigera`,"Delete menu item":`Radera menyalternativ`,"Are you sure you want to delete this menu item?":`Ãr du säker pÃ¥ att du vill ta bort detta menyalternativ?`,"Close navigation sidebar":`Stäng sidofältet för navigering`,"Open navigation sidebar":`Ãppna sidofältet för navigering`,Logout:`Logga ut`,"Not authorized":`Ej auktoriserad`,"Either your account is not connected to this application or you are not authorized to access this feature.":`Antingen är ditt konto inte anslutet till denna applikation eller sÃ¥ är du inte behörig att använda denna funktion.`,"Move before":`Flytta före`,"Move after":`Flytta efter`,Cancel:`Avbryt`,Cut:`Skär`,of:`av`,"Previous page":`FöregÃ¥ende sida`,"Next page":`Nästa sida`,"Forgot your password?":`Har du glömt ditt lösenord?`,"Password reset":`Ã
terställning av lösenord`,"The link has already been used or has expired.":`Länken har redan använts eller har löpt ut.`,Login:`Inloggning`,"Request new link":`Begär ny länk`,"Crop new image":`Beskär ny bild`,"You should receive an email with instructions to reset your password shortly.":`Du kommer inom kort att fÃ¥ ett e-postmeddelande med instruktioner om hur du Ã¥terställer ditt lösenord.`,"Back to login":`Tillbaka till inloggning`,"Set your password":`Ange ditt lösenord`,"Your new password needs to be at least 12 characters long.":`Ditt nya lösenord mÃ¥ste vara minst 12 tecken lÃ¥ngt.`,"Confirm new password":`Bekräfta nytt lösenord`,"Set password":`Ange lösenord`,"At least one permission is required":`Minst ett tillstÃ¥nd krävs`,"No permissions available.":`Inga behörigheter tillgängliga.`,Permission:`TillstÃ¥nd`,Role:`Roll`,"Role was successfully created.":`Rollen har skapats framgÃ¥ngsrikt.`,"Role was successfully updated.":`Rollen uppdaterades framgÃ¥ngsrikt.`,"Role was successfully deleted.":`Rollen har tagits bort framgÃ¥ngsrikt.`,"Edit role":`Redigera roll`,"Delete role":`Ta bort roll`,"Are you sure you want to delete this role?":`Ãr du säker pÃ¥ att du vill ta bort den här rollen?`,"Create tag":`Skapa tagg`,"Edit tag":`Redigera tagg`,Roles:`Roller`,"No roles available":`Inga roller tillgängliga`,"Rows per page":`Rader per sida`,"No options available":`Inga tillgängliga alternativ`,"Create {{option}}":`Skapa {{option}}`,"Add shortcut":`Lägg till genväg`,"This feature is an addon.":`Denna funktion är ett tillägg.`,"Open menu":`Ãppna meny`,"Close menu":`Stäng meny`,"System messages":`Meddelanden frÃ¥n systemet`,Color:`Färg`,"Apply color":`Applicera färg`,"Time controlled content visibility":`Tidsstyrd synlighet av innehÃ¥ll`,"Preview type":`Typ av förhandsgranskning`,Underline:`Understrykning`,Subscript:`Underskrift`,Superscript:`Superscript`,"Align left":`Justera vänster`,"Align center":`Justera centrum`,"Align right":`Justera höger`,"Numbered list":`Numrerad lista`,"Bulleted list":`Lista med punktuppställning`,"Save file":`Spara fil`,"File was deleted.":`Filen har raderats.`,"Delete file":`Ta bort fil`,"Could not delete file.":`Det gick inte att radera filen.`,"Invalid date":`Ogiltigt datum`,"Your selection is under {{pixel}}px wide and may not display optimally. Please select a larger area if possible.":`Ditt val är under {{pixel}}px brett och kanske inte visas optimalt. Vänligen välj ett större omrÃ¥de om möjligt.`,"The selected image is under {{pixel}}px wide and may not display optimally. Please use a larger image if possible.":`Den valda bilden är under {{pixel}}px bred och kan inte visas optimalt. Vänligen använd en större bild om möjligt.`,Users:`Användare`,User:`Användare`,"File upload":`Uppladdning av filer`,"File was uploaded.":`Filen har laddats upp.`,"Uploaded {{uploaded}} of {{total}}":`Laddade upp {{uploaded}} av {{total}}`,"New version available":`Ny version tillgänglig`,"The page must be reloaded to use the latest version and avoid possible errors.":`Sidan mÃ¥ste laddas om för att använda den senaste versionen och undvika eventuella fel.`,"Reload now":`Ladda om nu`,"Version {{version}}":`Version {{version}}`,"Copy to clipboard":`Kopiera till urklipp`,"Copied to clipboard":`Kopierat till urklipp`},gKe={"Please complete the data of all {{companions}}":`Udfyld venligst oplysningerne for alle {{companions}}`,"The quota has already been reached for at least one of the nights. A request is still possible, but availability cannot be guaranteed.":`Kvoten er allerede opbrugt for mindst én af nætterne. Det er stadig muligt at sende en forespørgsel, men vi kan ikke garantere, at der er ledige pladser.`,Booking:`Reservation`,"The earliest departure must be before the latest arrival.":`Den tidligste afgang skal være før den seneste ankomst.`,"The email must be a valid email address.":`E-mailen skal være en gyldig e-mailadresse.`,"Your flight information has been filled out automatically. Please verify that the details are correct.":`Dine flyoplysninger er blevet udfyldt automatisk. Kontroller venligst, at oplysningerne er korrekte.`,"Provide flight number and departure date to obtain flight information.":`Angiv flynummer og afgangsdato for at hente flyoplysninger.`,"Autofill flight information":`Udfyld flyoplysninger automatisk`,"A route for the flight could not be found.":`En rute for flyvningen kunne ikke findes.`,"Start date":`Startdato`,"Return to the registration":`Vend tilbage til registreringen`,"Your payment has been cancelled or did expire. You can return to the registration and try again.":`Din betaling er blevet annulleret eller udløbet. Du kan vende tilbage til registreringen og prøve igen.`,"We're sorry, but an error occurred during your payment. Unfortunately, we cannot process your payment at this time.":`Vi beklager, men der opstod en fejl under din betaling. Desværre kan vi ikke behandle din betaling pÃ¥ nuværende tidspunkt.`,"The shop is currently not fully configured. Please contact an administrator.":`Butikken er i øjeblikket ikke fuldt konfigureret. Kontakt venligst en administrator.`,"Total refunds":`Restitutioner i alt`,"Already refunded":`Allerede refunderet`,"Already refunded:":`Allerede refunderet:`,"Cancellation Summary":`Oversigt over aflysninger`,"Accept c
4022ancellation conditions":`Accepter afbestillingsbetingelser`,"To be paid later":`Betales senere`,FINAL_PAYMENT:`Endelig betaling`,DEPOSIT_PAYMENT:`Betaling af depositum`,"Refunded on {{date}}":`Refunderet den {{dato}}`,"Paid on {{date}}":`Betalt den {{dato}}`,"Due on {{date}}":`Forfalder den {{dato}}`,"Cancellation conditions":`Afbestillingsbetingelser`,"{{amountInPercent}}% of the purchase price":`{{amountInPercent}}% af købsprisen`,"Cancellation fee":`Afbestillingsgebyr`,"No cancellation conditions available.":`Ingen afbestillingsbetingelser tilgængelige.`,"The cancellation conditions are listed below. The applicable deadlines and fees can be found in the table.":`Afbestillingsbetingelserne er angivet nedenfor. De gældende frister og gebyrer fremgÃ¥r af tabellen.`,"Refunded amount:":`Refunderet beløb:`,Paid:`Betalt`,"Payment Summary":`Betalingsoversigt`,"To be paid":`Skal betales`,"To be refunded":`Skal tilbagebetales`,"Already processed":`Allerede behandlet`,"Payment Details":`Betalingsoplysninger`,"Remaining Balance: {{amountInPercent}}%":`Resterende saldo: {{amountInPercent}}%.`,"Deposit paid:":`Depositum betalt:`,"Full payment":`Fuld betaling`,"Refund amount:":`Tilbagebetalingsbeløb:`,"Click here for cancellation conditions.":`Klik her for afbestillingsbetingelser.`,"Already paid:":`Jeg har allerede betalt:`,"Submit and pay":`Indsend og betal`,"To be paid now:":`Skal betales nu:`,"To be paid on {{date}}:":`Skal betales pÃ¥ {{date}}:`,"Item amount<sup>{{ taxDisclaimer }}</sup>:":`Varebeløb<sup>{{ taxDisclaimer }}</sup>:`,"Cancellation fee applied":`Afbestillingsgebyr anvendes`,"Deposit: {{amountInPercent}}%":`Indbetaling: {{amountInPercent}}%.`,"<sup>{{taxDisclaimer}}</sup> includes {{percent}}% VAT":`<sup>{{taxDisclaimer}}</sup> inkluderer {{percent}}% moms`,"Pay later:":`Betal senere:`,"Pay now:":`Betal nu:`,"To be refunded:":`Skal refunderes:`,"Transactions cannot be offset. The refund will be processed separately.":`Transaktioner kan ikke udlignes. Refusionen vil blive behandlet separat.`,"incl. {{percent}}% VAT:":`inkl. {{percent}}% moms:`,"Please select a region so that we can display the appropriate information.":`Vælg en region, sÃ¥ vi kan vise de relevante oplysninger.`,"Select your region":`Vælg din region`,"Please specify a valid number":`Angiv venligst et gyldigt tal`,"e.g. late arrival at XX o'clock / parking slot required etc.":`f.eks. sen ankomst kl. XX / parkeringsplads pÃ¥krævet osv.`,"This information is voluntary and is used to provide information for the hotel. Please do not enter any health related information.":`Disse oplysninger er frivillige og bruges til at give information til hotellet. Indtast venligst ikke helbredsrelaterede oplysninger.`,"Please make sure that the person named is aware of your information.":`Sørg for, at den nævnte person er opmærksom pÃ¥ dine oplysninger.`,from:`fra`,"I want to add another person to my stay":`Jeg vil gerne tilføje en anden person til mit ophold`,"The additional person field must be filled.":`Feltet yderligere person skal udfyldes.`,"Additional person":`Yderligere person`,"This inquiry has already been processed. You may only request changes or cancellation of this stay.":`Denne forespørgsel er allerede blevet behandlet. Du kan kun anmode om ændringer eller aflysning af dette ophold.`,"Status: Inquiry":`Status: Forespørgsel`,"Status: Cancellation requested":`Status: Anmodning om annullering`,"Status: Processed":`Status: Behandlet`,"Request changes":`Anmod om ændringer`,"Open website":`Ã
ben hjemmeside`,"Revoke cancellation":`Annullér afbestilling`,"Select room":`Vælg værelse`,"Select hotel":`Vælg hotel`,"The selected hotel rooms are no longer available for booking.":`De valgte hotelværelser er ikke længere tilgængelige for booking.`,"Cancellation requested":`Anmodning om afbestilling`,"Request cancellation":`Anmodning om annullering`,"Are you sure you want to request a cancellation of this hotel stay?":`Er du sikker pÃ¥, at du vil anmode om afbestilling af dette hotelophold?`,"No hotel stays have been selected.":`Ingen hotelophold er valgt.`,"Requested check-in":`Ãnsket check-in`,"Requested check-out":`Ãnsket check-out`,"Requested hotel":`Ãnsket hotel`,"Requested room":`Ãnsket værelse`,"Requested nights":`Ãnskede overnatninger`,"Total price":`Samlet pris`,"The Check-in and check-out field must not overlap with other stays.":`Check-in- og check-out-feltet mÃ¥ ikke overlappe med andre ophold.`,"Delete inquiry":`Slet forespørgsel`,"{{number}}. Inquiry":`{{number}}. Forespørgsel`,"Add inquiry":`Tilføj forespørgsel`,"At least {{count}} hotel stays must be specified._one":`Der skal angives mindst ét hotelophold.`,"At least {{count}} hotel stays must be specified._other":`Der skal angives mindst {{count}} hotelophold.`,"More information":`Yderligere information`,"Hotel stays":`Hotelophold`,"Remarks for stay":`Bemærkninger til ophold`,"A maximum of {{count}}
4022 nights can be booked._one":`Der kan højst bookes én nat.`,"A maximum of {{count}} nights can be booked._other":`Der kan højst bookes {{count}} nætter.`,"A room must be selected.":`Der skal vælges et værelse.`,"A hotel must be selected.":`Der skal vælges et hotel.`,"The Check-in and check-out field is required.":`Check-in og check-out felterne er påkrævet.`,"You can only assign a maximum of {{count}} hotel stays._one":`Du kan kun tildele maksimalt én hotelovernatning.`,"You can only assign a maximum of {{count}} hotel stays._other":`Du kan kun tildele maksimalt {{count}} hotelovernatninger.`,"Delete booking":`Slet booking`,Room:`Værelse`,"No hotels found for the given check-in and check-out date.":`Ingen hoteller fundet for den valgte check-in og check-out dato.`,"per Night":`per nat`,"{{count}} Persons_one":`1 person`,"{{count}} Persons_other":`{{count}} personer`,"{{number}}. Booking":`{{number}}. Booking`,"No hotel stay added yet.":`Der er endnu ikke tilføjet et hotelophold.`,"Add booking":`Tilføj booking`,"The value entered does not match the expected format.":`Den indtastede værdi stemmer ikke overens med det forventede format.`,"This field must not contain https, http or www.":`Dette felt må ikke indeholde https, http eller www.`,Tickets:`Tickets`,Media:`Media`,News:`News`,"SPECIAL PRIZES":`SPECIAL PRIZES {{year}}`,"CLASS WINNERS":`CLASS WINNERS {{year}}`,"ENTRANTS & WINNERS":`ENTRANTS & WINNERS`,by:`by`,Engine:`Engine`,Coachwork:`Coachwork`,Entrant:`Entrant`,"load more":`load more`,"You can also use the filter to get the wanted class.":`You can also use the filter to get the wanted class.`,"ALL ENTRANTS":`ALL ENTRANTS {{ year }}`,"Click at the vehicle of your choice to see more information.":`Click at the vehicle of your choice to see more information.`,Newsletter:`Newsletter`,"Successfully subscribed to the newsletter.":`Successfully subscribed to the newsletter.`,termsAndConditions:`Yes, I would like to receive the newsletter of <legalNotice>BMW AG</legalNotice> at my e-mail address until I revoke such consent. I consent to BMW AG collecting opening and click rates to evaluate and optimize its newsletter service. 4023You can revoke your consent at any time with effect for the future. You can find more information about our processing of your data in our <privacyNotice>privacy notice</privacyNotice>`,"The final payment process is not yet active":`Den endelige betalingsproces er endnu ikke aktiv.`,"Show only shuttles":`Vis kun shuttlebusser`,"You need min. {{count}} {{companionType}}_other":`Du har brug for min. {{count}} {{companionType}}`,"You need min. {{count}} {{companionType}}_one":`Du har brug for min. {{count}} {{companionType}}`,"Self travel":`Rejs selv`,"Edit self travel":`Rediger selvrejse`,"You have to provide a departure.":`Du skal angive en afgang.`,"You have to provide an arrival.":`Du skal angive en ankomst.`,"Further options":`Yderligere muligheder`,"No travel templates found.":`Ingen rejseskabeloner fundet.`,"Travel templates":`Rejseskabeloner`,Time:`Tid`,"Check-in date must be after {{date}}.":`Indtjekningsdato skal være efter {{date}}.`,"Check-out date must be before {{date}}.":`Udtjekningsdato skal være før {{date}}.`,Hotel:`Hotel`,"Check-in date must be before check-out date.":`Indtjekningsdato skal være før udtjekningsdato.`,"Shopping is disabled because you are registered already.":`Shopping er deaktiveret, fordi du allerede er registreret.`,"This field must be an integer":`Dette felt skal være et heltal`,Amount:`Mængde`,"No contingent is available for a travel segment!":`Der er ikke noget kontingent tilgængeligt for et rejseafsnit!`,"There is no contingent available for this tenant wave combination.":`Intet kontingent tilgængeligt!`,"Travel type":`Rejsetype`,"Create travel segment":`Opret rejsesegment`,"Create new travel segment":`Opret nyt rejsesegment`,"Arrival station":`Ankomststation`,"Departure station":`Afgangsstation`,"Arrival airport":` Ankomst lufthavn`,"Departure airport":` Afgangslufthavn`,"Departure time":` Afgangstid`,"Departure date":`Afrejsedato`,"Arrival time":` Ankomsttidspunkt`,"Arrival date":`Ankomstdato`,"Create flight inquiry":`Opret flyforespørgsel`,"Create train inquiry":`Opret forespørgsel på tog`,"Earliest departure":`Tidligste afgang`,"Latest arrival":`Seneste ankomst`,"Edit inquiry":`Rediger forespørgsel`,Inquiry:`Forespørgsel`,Remarks:`Bemærkninger`,"Arrival location":`Ankomstplacering`,"Departure location":`Afgangssted`,"Latest arrival time":`Seneste ankomsttidspunkt`,"Latest arrival date":`Seneste ankomstdato`,"Earliest departure time":`Tidligste afgangstidspunkt`,"Earliest departure date":`Tidligste afrejsedato`,"I would like to make a travel inquiry":`Jeg vil gerne lave en rejseforespørgsel`,"I organize my travel on my own":`Jeg organiserer selv mine rejser`,"You need to have at least {{count}} travels._other":`Du skal have mindst {{count}} rejser.`,"You need to have at least {{count}} travels._one":`Du skal have mindst én rejse.`,"You can only assign a maximum of {{count}} travels._other":`Du kan kun tildele maksimalt {{count}} rejser.`,"You can only assign a maximum of {{count}} travels._one":`Du kan kun tildele maksimalt én rejse.`,"{{count}} of {{max}}":`{{count}} af {{max}}`,"Travel planning":`Rejseplanlægning`,"No travel segments have been added yet.":`Der er ikke tilføjet nogen rejsesegmenter endnu.`,"Service class":`Serviceklasse`,"Charging station":`Ladestation`,"Parking spot":`Parkeringsplads`,"License plate":`Nummerplade`,"Train number":`Tognummer`,"Flight number":`Flynummer`,"No travel available.":`Ingen rejse tilgængelig.`,shuttle:`Shuttle`,train:`Tog`,car:`Bil`,flight:`Fly`,"Travel segments":`Rejsesegmenter`,"N
4023o travel segments found.":`Ingen rejsesegmenter fundet.`,"Remove travel segment from selection":`Fjern rejsesegment fra valg`,"Selected travel segments":`Udvalgte rejsesegmenter`,"Show only cars":`Vis kun biler`,"Show only trains":`Vis kun tog`,"Show only flights":`Vis kun fly`,"Add departure segment":`Tilføj afgangssegment`,"Add arrival segment":`Tilføj ankomstsegment`,Arrival:`Ankomst`,Departure:`Afgang`,"Delete arrival and departure":`Slet ankomst og afgang`,"Add arrival and departure":`Tilføj ankomst og afgang`,"{{number}}. Travel":`{{number}}. Rejse`,"Complete Payment":`Fuldfør betaling`,"Please click on the button to finalise the payment!":`Klik venligst pÃ¥ knappen for at fuldføre betalingen!`,Pay:`Betal`,"Invoice send":`Faktura sendt`,"The invoice has been sent to you, please check your emails!":`Fakturaen er sendt til dig, tjek venligst dine e-mails!`,"The order was already paid!":`Ordren blev allerede betalt!`,"An email with an invitation has been sent to you.":`En e-mail med en invitation er blevet sendt til dig.`,"An email with your personal registration link has been sent to you.":`En e-mail med dit personlige registreringslink er blevet sendt til dig.`,"Welcome back!":`Velkommen tilbage!`,"Field cannot contain one of the following values: {{value}}":`Feltet kan ikke indeholde en af følgende værdier: {{value}}`,"Deposit in percent":`Indskud i procent`,"Protected registration":`Beskyttet registrering`,"Please type in your code":`Indtast venligst din kode`,"Cancellation confirmed":`Afbestilling bekræftet`,"Registration confirmed":`Registrering bekræftet`,"Declination confirmed":`Afvisning bekræftet`,"Changes confirmed":`Ãndringer bekræftet`,"Replacement nomination received":`Erstatningsnominering modtaget`,"Thank you for letting us know that unfortunately you will not be able to attend after all.":`Tak fordi du lod os vide, at du desværre ikke kan deltage alligevel.`,"Thank you for letting us know that you are unable to attend.":`Tak fordi du lod os vide, at du ikke kan deltage.`,"We will send an invitation to your representative.":`Vi vil sende en invitation til din repræsentant.`,"Your changes will now be reflected in the system.":`Dine ændringer vil nu blive afspejlet i systemet.`,"Field has minimum {{count}} values_one":`Feltet har mindst én værdi`,"Field has minimum {{count}} values_other":`Feltet har mindst {{count}} værdier`,"Field has maximum {{count}} values_one":`Feltet har maksimalt én værdi`,"Field has maximum {{count}} values_other":`Feltet har maksimalt {{count}} værdier`,"Field is not updatable":`Feltet kan ikke opdateres`,"Field {{name}} must not contain {{value}}":`Felt {{name}} mÃ¥ ikke indeholde {{value}}`,"Field {{name}} must contain {{value}}":`Felt {{name}} skal indeholde {{value}}`,"Field must not have value {{value}}":`Feltet mÃ¥ ikke have værdien {{value}}`,"Field has maximum {{count}} characters_one":`Feltet har maksimalt ét tegn`,"Field has maximum {{count}} characters_other":`Feltet har maksimalt {{count}} tegn`,"Field has minimum {{count}} characters_one":`Feltet har mindst ét tegn`,"Field has minimum {{count}} characters_other":`Felt har minimum {{count}} tegn`,"Field must have value {{value}}":`Feltet skal have værdien {{value}}`,"Nominate replacement":`En kollega deltager i stedet for mig`,"Replacement successful nominated":`Udskiftning nomineret med succes`,"Allowed file types: image, video, PDF, office (word/excel etc.), font":`Tilladte filtyper: billede, video, PDF, office (word/excel etc.), font`,"Download file":`Download fil`,"Remove file":`Fjern fil`,"Maximum amount of {{companions}} already added":`Maksimalt antal {{companions}}, der allerede er tilføjet`,"{{companion}} is already registered":`{{companion}} er allerede registreret`,"{{ currentCount }} of {{ maxCount }}":`{{ currentCount }} af {{ maxCount }}`,"Update {{companion}}":`Opdater {{companion}}`,"Invalid phone number":`Ugyldigt telefonnummer`,"This field may not exceed 20 characters":`Dette felt mÃ¥ ikke overstige 20 tegn`,"This field may not exceed 181 characters":`Dette felt mÃ¥ ikke overstige 181 tegn`,"Invalid URL format":`Ugyldigt URL-format`,"Remove {{companion}}":`Fjern {{companion}}`,"Edit {{companion}}":`Rediger {{companion}}`,"Submit {{companion}}
4023":`Indsend {{companion}}`,"No {{companions}}":`Ingen {{companions}}`,"Add {{companion}}":`Tilføj {{companion}}`,"The Shop module is not configured correctly.":`Shop-modulet er ikke konfigureret korrekt.`,"In order to retrieve data it is necessary to specify the country of the invoice recipient as well as company information if available.":`For at hente data er det nødvendigt at angive fakturamodtagerens land samt virksomhedsoplysninger, hvis de er tilgængelige.`,"Try again":`Prøv igen`,"Your payment could not be completed successfully.":`Din betaling kunne ikke gennemfør.`,"Your payment is being processed...":`Din betaling er ved at blive behandlet...`,"Total: {{total}}":`I alt: {{total}}`,Item:`Vare`,Net:`Netto`,"Gross / VAT":`Brutto / moms`,Total:`I alt`,"Including {{percent}}% VAT":`Inklusive {{percent}}% moms`,"Use this payment provider":`Brug denne betalingsudbyder`,"Payment provider":`Betalingsudbyder`,Shop:`Butik`,"Increase amount of {{item}}":`Forøg mængden af {{item}}`,"Decrease amount of {{item}}":`Reducer mængden af {{item}}`,"Field must contain one of the following values: {{value}}":`eltet skal indeholde en af følgende værdier: {{value}}`,"Field has minimum value of {{value}}":`Feltet har en minimumsværdi på {{value}}`,"Field has maximum value of {{value}}":`Feltet har en maksimal værdi på {{value}}`,"registration.cancel":`Annuller`,"registration.register":`Tilmeld dig`,Cancellation:`Aflysning`,"Cancellation successful":`Afbestilling lykkedes`,"An error has occurred":`Der er opstået en fejl`,"registration.decline":`Deltager ikke`,Declination:`Deklination`,"Declination successful":`Declination vellykket`,"registration.update":`Opdater registrering`,"Your registration was updated.":`Din registrering er blevet opdateret.`,Contact:`Kontakt`,"This registration is only accessible through a personal invitation.":`Denne registrering er kun tilgængelig via en personlig invitation.`,"Private registration":`Privat registrering`,"Closed registration":`Lukket registrering`,"This registration is closed.":`Denne tilmelding er lukket.`,URL:`URL`,Disagree:`Uenig`,Agree:`Enig`,"Registration Preview":`Forhåndsvisning af registrering`,"The preview ignores all conditions and cannot be submitted":`Forhåndsvisningen ignorerer alle betingelser og kan ikke sendes.`,"No registration steps found":`Ingen registreringstrin fundet`,Registration:`Registrering`,"Your registration was successful.":`Din registrering var vellykket.`,"You were placed on the waiting list.":`Du blev placeret på ventelisten.`,Summary:`Resumé`,"registration.submit":`Indsend`},_Ke={"Please complete the data of all {{companions}}":`Bitte vervollständigen Sie die Daten aller {{companions}}`,"The quota has already been reached for at least one of the nights. A request is still possible, but availability cannot be guaranteed.":`Für mindestens eine der Nächte ist das Kontingent bereits erreicht. Eine Anfrage ist weiterhin möglich, ein freier Platz kann jedoch nicht garantiert werden.`,Booking:`Buchung`,"The earliest departure must be before the latest arrival.":`Die früheste Abreise muss vor der spätesten Ankunft liegen.`,"The email must be a valid email address.":`Die E-Mail muss eine gültige E-Mail-Adresse sein.`,"Your flight information has been filled out automatically. Please verify that the details are correct.":`Ihre Fluginformationen wurden automatisch ausgefüllt. Bitte überprüfen Sie, ob die Angaben korrekt sind.`,"Provide flight number and departure date to obtain flight information.":`Geben Sie die Flugnummer und das Abflugdatum ein, um Fluginformationen abzurufen.`,"Autofill flight information":`Fluginformationen automatisch ausfüllen`,"A route for the flight could not be found.":`Eine Flugroute konnte nicht gefunden werden.`,"Start date":`Startdatum`,"Return to the registration":`Zurück zur Registrierung`,"Your payment has been cancelled or did expire. You can return to the registration and try again.":`Ihre Zahlung wurde abgebrochen oder ist abgelaufen. Sie können zur Registrierung zurückkehren und es erneut versuchen.`,"We're sorry, but an error occurred during your payment. Unfortunately, we cannot process your payment at this time.":`Es tut uns leid, aber bei Ihrer Zahlung ist ein Fehler aufgetreten. Leider können wir Ihre Zahlung derzeit nicht verarbeiten.`,"The shop is currently not fully configured. Please contact an administrator.":`Der Shop ist derzeit nicht vollständig konfiguriert. Bitte kontaktiere einen Administrator.`,"Total refunds":`Gesamte Erstattung`,"Already refunded":`Bereits erstattet`,"Already refunded:":`Bereits erstattet:`,"Cancellation Summary":`
4023Stornierungszusammenfassung`,"Accept cancellation conditions":`Stornobedingungen akzeptieren`,"To be paid later":`Später zu bezahlen`,FINAL_PAYMENT:`Finale Zahlung`,DEPOSIT_PAYMENT:`Anzahlung`,"Refunded on {{date}}":`Erstattet am {{date}}`,"Paid on {{date}}":`Bezahlt am {{date}}`,"Due on {{date}}":`Fällig am {{date}}`,"Cancellation conditions":`Stornierungsbedingungen`,"{{amountInPercent}}% of the purchase price":`{{amountInPercent}}% des Kaufpreises`,"Cancellation fee":`Stornierungsgebühr`,"No cancellation conditions available.":`Keine Stornierungsbedingungen verfügbar.`,"The cancellation conditions are listed below. The applicable deadlines and fees can be found in the table.":`Nachfolgend sind die Stornierungsbedingungen aufgeführt. Die jeweils gültigen Fristen und Gebühren können der Tabelle entnommen werden.`,"Refunded amount:":`Erstatteter Betrag:`,Paid:`Bezahlt`,"Payment Summary":`Zahlungsübersicht`,"To be paid":`Zu bezahlen`,"To be refunded":`Zu erstatten`,"Already processed":`Bereits verarbeitet`,"Payment Details":`Zahlungsdetails`,"Remaining Balance: {{amountInPercent}}%":`Restbetrag: {{amountInPercent}}%`,"Deposit paid:":`Anzahlung geleistet:`,"Full payment":`Vollzahlung`,"Refund amount:":`Erstattungsbetrag:`,"Click here for cancellation conditions.":`Klicken Sie hier für die Stornierungsbedingungen.`,"Already paid:":`Bereits bezahlt:`,"Submit and pay":`Absenden und bezahlen`,"To be paid now:":`Jetzt zu bezahlen:`,"To be paid on {{date}}:":`Zu zahlen am {{date}}:`,"Item amount<sup>{{ taxDisclaimer }}</sup>:":`Artikelbetrag<sup>{{ taxDisclaimer }}</sup>:`,"Cancellation fee applied":`Stornogebühr angewendet.`,"Deposit: {{amountInPercent}}%":`Anzahlung: {{amountInPercent}}%`,"<sup>{{taxDisclaimer}}</sup> includes {{percent}}% VAT":`<sup>{{taxDisclaimer}}</sup> inklusive {{percent}}% MwSt.`,"Pay later:":`Später bezahlen:`,"Pay now:":`Jetzt bezahlen:`,"To be refunded:":`Erstattungsbetrag:`,"Transactions cannot be offset. The refund will be processed separately.":`Transaktionen können nicht verrechnet werden. Die Rückerstattung wird separat bearbeitet.`,"incl. {{percent}}% VAT:":`inkl. {{percent}}% MwSt.:`,"Please select a region so that we can display the appropriate information.":`Damit wir passende Informationen anzeigen können, bitte wählen Sie eine Region aus.`,"Select your region":`Wähle eine Region`,"Please specify a valid number":`Bitte gib eine gültige Zahl an`,"e.g. late arrival at XX o'clock / parking slot required etc.":`z. B. verspätete Ankunft um XX Uhr / Parkplatz erforderlich usw.`,"This information is voluntary and is used to provide information for the hotel. Please do not enter any health related information.":`Diese Angaben sind freiwillig und dienen dazu, Hinweise für das Hotel anzugeben. Bitte tragen Sie keine gesundheitsbezogenen Informationen ein.`,"Please make sure that the person named is aware of your information.":`Bitte stellen Sie sicher, dass die genannte Person vor der Eingabe in Kenntnis gesetzt wurde.`,from:`ab`,"I want to add another person to my stay":`Ich möchte eine weitere Person zu meinem Zimmer hinzufügen`,"The additional person field must be filled.":`Das Weitere Person Feld muss ausgefüllt sein.`,"Additional person":`Weitere Person`,"This inquiry has already been processed. You may only request changes or cancellation of this stay.":`Diese Anfrage wurde bereits verarbeitet. Es besteht weiterhin die Möglichkeit, eine Ãnderung oder Stornierung anzufragen.`,"Status: Inquiry":`Status: Anfrage`,"Status: Cancellation requested":`Status: Stornierung angefragt`,"Status: Processed":`Status: Verarbeitet`,"Request changes":`Ãnderung anfragen`,"Open website":`Webseite öffnen`,"Revoke cancellation":`Stornierung widerrufen`,"Select room":`Zimmer auswählen`,"Select hotel":`Hotel auswählen`,"The selected hotel rooms are no longer available for booking.":`Die ausgewählten Hotelzimmer sind nicht mehr verfügbar für eine Buchung.`,"Cancellation requested":`Stornierung angefragt`,"Request cancellation":`Stornierung anfragen`,"Are you sure you want to request a cancellation of this hotel stay?"
4023:`Soll für die Hotelanfrage eine Stornierung angefragt werden?`,"No hotel stays have been selected.":`Es wurden keine Hotelaufenthalte ausgewählt.`,"Requested check-in":`Wunsch-Check-in`,"Requested check-out":`Wunsch-Check-out`,"Requested hotel":`Wunschhotel`,"Requested room":`Wunschzimmer`,"Requested nights":`Angefragte Nächte`,"Total price":`Gesamtpreis`,"The Check-in and check-out field must not overlap with other stays.":`Das Check-in- und Check-out-Feld darf sich nicht mit anderen Hotelaufenthalten überschneiden.`,"Delete inquiry":`Anfrage löschen`,"{{number}}. Inquiry":`{{number}}. Anfrage`,"Add inquiry":`Anfrage hinzufügen`,"At least {{count}} hotel stays must be specified._one":`Es muss mindestens ein Hotelaufenthalt angegeben werden.`,"At least {{count}} hotel stays must be specified._other":`Es müssen mindestens {{count}} Hotelaufenthalte angegeben werden.`,"More information":`Mehr Informationen`,"Hotel stays":`Hotelaufenthalte`,"Remarks for stay":`Anmerkungen zum Aufenthalt`,"A maximum of {{count}} nights can be booked._one":`Es darf maximal eine Nacht gebucht werden.`,"A maximum of {{count}} nights can be booked._other":`Es dürfen maximal {{count}} Nächte gebucht werden.`,"A room must be selected.":`Es muss ein Zimmer ausgewählt werden.`,"A hotel must be selected.":`Es muss ein Hotel ausgewählt werden.`,"The Check-in and check-out field is required.":`Das Check-in- und Check-out-Feld ist erforderlich.`,"You can only assign a maximum of {{count}} hotel stays._one":`Sie können nur maximal einen Hotelaufenthalt zuweisen.`,"You can only assign a maximum of {{count}} hotel stays._other":`Sie können nur maximal {{count}} Hotelaufenthalte zuweisen.`,"Delete booking":`Buchung löschen`,Room:`Zimmer`,"No hotels found for the given check-in and check-out date.":`Keine Hotels für das angegebene Check-in und Check-out Datum gefunden.`,"per Night":`pro Nacht`,"{{count}} Persons_one":`1 Person`,"{{count}} Persons_other":`{{count}} Personen`,"{{number}}. Booking":`{{number}}. Buchung`,"No hotel stay added yet.":`Noch kein Hotelaufenthalt hinzugefügt.`,"Add booking":`Buchung hinzufügen`,"The value entered does not match the expected format.":`Der eingegebene Wert entspricht nicht dem erwarteten Format.`,"This field must not contain https, http or www.":`Dieses Feld darf kein https, http oder www enthalten.`,Tickets:`Tickets`,Media:`Media`,News:`News`,"SPECIAL PRIZES":`SPECIAL PRIZES {{year}}`,"CLASS WINNERS":`CLASS WINNERS {{year}}`,"ENTRANTS & WINNERS":`ENTRANTS & WINNERS`,by:`by`,Engine:`Engine`,Coachwork:`Coachwork`,Entrant:`Entrant`,"load more":`load more`,"You can also use the filter to get the wanted class.":`You can also use the filter to get the wanted class.`,"ALL ENTRANTS":`ALL ENTRANTS {{ year }}`,"Click at the vehicle of your choice to see more information.":`Click at the vehicle of your choice to see more information.`,Newsletter:`Newsletter`,"Successfully subscribed to the newsletter.":`Successfully subscribed to the newsletter.`,termsAndConditions:`Yes, I would like to receive the newsletter of <legalNotice>BMW AG</legalNotice> at my e-mail address until I revoke such consent. I consent to BMW AG collecting opening and click rates to evaluate and optimize its newsletter service. 4024You can revoke your consent at any time with effect for the future. You can find more information about our processing of your data in our <privacyNotice>privacy notice</privacyNotice>`,"The final payment process is not yet active":`Der Restzahlungsprozess ist noch nicht aktiv.`,"Show only shuttles":`Nur Shuttles anzeigen`,"You need min. {{count}} {{companionType}}_other":`Sie müssen min. {{count}} {{companionType}} anlegen`,"You need min. {{count}} {{companionType}}_one":`Sie müssen min. ein {{companionType}} anlegen`,"Check-in date must be after {{date}}.":`Das Check-in Datum muss nach {{date}} liegen.`,"Check-out date must be before {{date}}.":`Das Check-out Datum muss vor {{date}} liegen.`,Hotel:`Hotel`,"Check-in date must be before check-out date.":`Check-in Datum muss vor dem Check-out Datum liegen.`,"Self travel":`Selbstreise`,"E
4024dit self travel":`Selbstreise bearbeiten`,"You have to provide a departure.":`Sie müssen eine Abreise angeben.`,"You have to provide an arrival.":`Sie müssen eine Anreise angeben.`,"Further options":`Weitere Optionen`,"No travel templates found.":`Keine Reisevorlagen gefunden.`,"Travel templates":`Reisevorlagen`,Time:`Uhrzeit`,"Shopping is disabled because you are registered already.":`Der Shop ist deaktiviert, da Sie bereits registriert sind.`,"This field must be an integer":`Dieses Feld muss eine ganze Zahl sein`,Amount:`Anzahl`,"No contingent is available for a travel segment!":`Für ein Reisesegment ist kein Kontingent verfügbar!`,"There is no contingent available for this tenant wave combination.":`Kein Kontingent verfügbar!`,"Travel type":`Reisetyp`,"Create travel segment":`Reisesegment erstellen`,"Create new travel segment":`Neues Reisesegment erstellen`,"Arrival station":`Zielbahnhof`,"Departure station":`Startbahnhof`,"Arrival airport":`Zielflughafen`,"Departure airport":`Abflughafen`,"Departure time":`Abreisezeit`,"Departure date":`Abreisedatum`,"Arrival time":`Ankunftszeit`,"Arrival date":`Ankunftsdatum`,"Create flight inquiry":`Fluganfrage erstellen`,"Create train inquiry":`Zuganfrage erstellen`,"Earliest departure":`Früheste Abfahrt`,"Latest arrival":`Späteste Ankunft`,"Edit inquiry":`Anfrage bearbeiten`,Inquiry:`Anfrage`,Remarks:`Bemerkungen`,"Arrival location":`Ankunftsort`,"Departure location":`Abfahrtsort`,"Latest arrival time":`Späteste Ankunftszeit`,"Latest arrival date":`Spätestes Ankunftsdatum`,"Earliest departure time":`Früheste Abreisezeit`,"Earliest departure date":`Frühestes Abreisedatum`,"I would like to make a travel inquiry":`Ich möchte eine Reiseanfrage stellen`,"I organize my travel on my own":`Ich organisiere meine Reise eigenständig`,"You need to have at least {{count}} travels._other":`Sie müssen mindestens {{count}} Reisen angeben.`,"You need to have at least {{count}} travels._one":`Sie müssen mindestens eine Reise angeben.`,"You can only assign a maximum of {{count}} travels._other":`Sie können nur maximal {{count}} Reisen zuweisen.`,"You can only assign a maximum of {{count}} travels._one":`Sie können nur maximal eine Reise zuweisen.`,"{{count}} of {{max}}":`{{count}} von {{max}}`,"Travel planning":`Reiseplanung`,"No travel segments have been added yet.":`Noch keine Reisesegmente hinzugefügt.`,"Service class":`Reiseklasse`,"Charging station":`Ladestation`,"Parking spot":`Parkplatz`,"License plate":`Kennzeichen`,"Train number":`Zugnummer`,"Flight number":`Flugnummer`,"No travel available.":`Keine Reise vorhanden.`,shuttle:`Shuttle`,train:`Zug`,car:`Auto`,flight:`Flug`,"Travel segments":`Reisesegmente`,"No travel segments found.":`Keine Reisesegmente gefunden.`,"Remove travel segment from selection":`Reisesegment aus der Auswahl entfernen`,"Selected travel segments":`Ausgewählte Reisesegmente`,"Show only cars":`Nur Autos anzeigen`,"Show only trains":`Nur Züge anzeigen`,"Show only flights":`Nur Flüge anzeigen`,"Add departure segment":`Abreisesegment hinzufügen`,"Add arrival segment":`Anreisesegment hinzufügen`,Arrival:`Anreise`,Departure:`Abreise`,"Delete arrival and departure":`An- und Abreise löschen`,"Add arrival and departure":`An- und Abreise hinzufügen`,"{{number}}. Travel":`{{number}}. Reise`,"Complete Payment":`Zahlung abschlieÃen`,"Please click on the button to finalise the payment!":`Bitte klicken Sie auf den Button, um die Zahlung abzuschlieÃen!`,Pay:`Bezahlen`,"Invoice send":`Rechnung gesendet`,"The invoice has been sent to you, please check your emails!":`Die Rechnung wurde an Sie gesendet, bitte überprüfen Sie Ihre E-Mails!`,"The order was already paid!":`Die Bestellung wurde bereits bezahlt!`,"An email with an invitation has been sent to you.":`Eine E-Mail mit einer Einladung wurde an Sie verschickt.`,"An email with your personal registration link has been sent to you.":`Eine E-Mail mit Ihrem persönlichen Registrierungslink wurde an Sie verschickt.`,"Welcome back!":`Willkommen zurück!`,"Field cannot contain one of the following values: {{value}}":`Feld darf keinen der folgenden Werte enthalten: {{value}}`,"Deposit in percent":`Anzahlung in Prozent`,"Protected registration":`Geschützte Registrierung`,"Please type in your code":`Bitte geben Sie Ihren Code ein`,"Cancellation confirmed":`Stornierung bestätigt`,"Registration confirmed":`Registrierung bestätigt`,"Declination confirmed":`Absage bestätigt`,"Changes confirmed":`Ãnderungen bestätigt`,"Replacement nomination received":`Vertreterbenennung erhalten`,"Thank you for letting us know that unfortunately you will not be able to attend after all.":`Vielen Dank, dass Sie uns mitgeteilt haben, dass Sie leider doch nicht teilnehmen können.`,"Thank you for letting us know that you are unable to attend.":`Danke, dass Sie uns mitteilen, dass Sie nicht teilnehmen können.`,"We will send an invitation to your representative.":`Wir werden eine Einladung an Ihre Vertretung schicken.`,"Your changes will now be reflected in the system.":`Ihre Ãnderungen werden nun in das System übernommen.`,"Field has minimum {{count}} values_one":`Das Feld muss mindestens einen Wert haben`,"Field has minimum {{count}} values_other":`Das Feld muss mindestens {{count}} Werte haben`,"Field has maximum {{count}} values_one":`Das Feld darf maximal einen Wert haben`,"Field has maximum {{count}} values_other":`Das Feld darf maximal {{count}} Werte haben`,"Field is not updatable":`Das Feld ist nicht aktualisierbar`,"Field {{name}} must not contain {{value}}":`Das Feld {{name}} darf nicht {{value}} enthalten`,"Field {{name}} must contain {{value}}":`Das Feld {{name}} muss {{value}} enthalten`,"Field must not have value {{value}}":`Das Feld darf nicht den Wert {{value}} haben`,"Field has maximum {{count}} characters_one":`Das Feld darf maximal ein Zeichen haben`,"Field has maximum {{count}} characters_other":`Das Feld darf maximal {{count}} Zeichen haben`,"Field has minimum {{count}} characters_one":`Das Feld muss minimum ein Zeichen haben`,"Field has minimum {{count}} characters_other":`Das Feld muss minimum {{count}} Zeichen haben`,"Field must have value {{value}}":`Das Feld muss den Wert {{value}} haben`,"Nominate replacement":`Vertreter benennen`,"Replacement successful nominated":`Vertreter erfolgreich benannt`,"Allowed file types: image, video, PDF, office (word/excel etc.), font":`Erlaubte Dateitypen: Bilder, Videos, PDF, Office (Word/Excel etc.), Schriftarten`,"Download file":`Datei herunterladen`,"Remove file":`Datei entfernen`,"Maximum amount of {{companions}} already added":`Maximale Anzahl an {{ companions }} bereits hinzugefügt`,"{{companion}} is already registered":`{{ companion }} ist bereits registriert`,"{{ currentCount }} of {{ maxCount }}":`{{ currentCount }} von {{ maxCount }}`,"Update {{companion}}":`{{ companion }} bearbeiten`,"This field may not exceed 20 characters":`Dieses Feld darf nur max. 20 Zeichen haben`,"This field may not exceed 181 characters":`Dieses Feld darf nur max. 181 Zeichen haben`,"Invalid URL format":`Ungültiges URL-Format`,"Invalid phone number":`Ungültige Telefonnummer`,"Remove {{companion}}":`{{ companion }} entfernen`,"Edit {{companion}}":`{{ companion }} bearbeiten`,"Submit {{companion}}":`{{ companion }} bestätigen`,"No {{companions}}":`Keine {{ companions }}`,"Add {{companion}}":`{{ companion }} hinzufügen`,"The Shop module is not configured correctly.":`Das Shop Modul ist nicht korrekt konfiguriert.`,"In order to retrieve data it is necessary to specify the country of the invoice recipient as well as company information if available.":`Um Daten abrufen zu können ist es notwendig das Land des Rechnungsempfängers sowie die Information ob es sich um ein Unternehmen handelt anzugeben.`,"Try again":`Erneut versuchen`,"Your payment could not be completed successfully.":`Ihre Zahlung konnte nicht erfolgreich abgewickelt werden.`,"Your payment is being processed...":`Ihre Zahlung wird verarbeitet...`,"Total: {{total}}":`Gesamt: {{total}}`,Item:`Artikel`,Net:`Netto`,"Gross / VAT":`Brutto / Mwst.`,Total:`Gesamt`,"Including {{percent}}% VAT":`Inklusive {{percent}}% Mwst.`,"Use this payment provider":`Nutze diese Zahlungsmethode`,"Payment provider":`Zahlungsmethode`,Shop:`Shop`,"Increase amount of {{item}}":`Menge von {{item}} erhöhen`,"Decrease amount of {{item}}":`Menge von {{item}} verringern`,"Field must contain one of the following values: {{value}}":`Das Feld muss einen der folgenden Werte haben: {{value}}`,"Field has minimum value of {{value}}":`Das Feld muss mindestens {{value}} als Wert haben`,"Field has maximum value of {{value}}":`Das Feld darf maximal {{value}} als Wert haben`,"registration.cancel":`Stornieren`,"registration.register":`Registrieren`,Cancellation:`Stornierung`,"Cancellation successful":`Stornierung erfolgreich`,"An error has occurred":`Ein Fehler ist aufgetreten`,"registration.decline":`Absagen`,Declination:`Absage`,"Declination successful":`Absagen erfolgreich`,"registration.update":`Registrierung aktualisieren`,"Your registration was updated.":`Ihre Registrierung wurde erfolgreich aktualisiert.`,Contact:`Kontakt`,"This registration is only accessible through a personal invitation.":`Diese Registrierung ist nur mit einer Einladung möglich.`,"Private registration":`Private Registrierung`,"Closed registration":`Registrierung geschlossen`,"This registration is closed.":`Diese Registrierung ist geschlossen.`,URL:`URL`,Disagree:`Ablehnen`,Agree:`Akzeptieren`,"Registration Preview":`Registrierungsvorschau`,"The preview ignores all conditions and cannot be submitted":`Die Vorschau ignoriert alle Bedingungen und kann nicht abgeschickt werden`,"No registration steps found":`Keine Schritte vorhanden`,Registration:`Registrierung`,"Your registration was successful.":`Ihre Registrierung war erfolgreich.`,"You were placed on the waiting list.":`Sie wurden auf die Warteliste gesetzt.`,Summary:`Zusammenfassung`,"registration.submit":`Abschicken`},vKe={"Please complete the data of all {{companions}}":`Please complete the data of all {{companions}}`,"The quota has already been reached for at least one of the nights. A request is still possible, but availability cannot be guaranteed.":`The quota has already been reached for at least one of the nights. A request is still possible, but availability cannot be guaranteed.`,Booking:`Booking`,"The earliest departure must be before the latest arrival.":`The earliest departure must be before the latest arrival.`,"The email must be a valid email address.":`The email must be a valid email address.`,"Your flight information has been filled out automatically. Please verify that the details are correct.":`Your flight information has been filled out automatically. Please verify that the details are correct.`,"Provide flight number and departure date to obtain flight information.":`Provide flight number and departure date to obtain flight information.`,"Autofill flight information":`Autofill flight information`,"A route for the flight could not be found.":`A route for the flight could not be found.`,"Start date":`Start date`,"Return to the registration":`Return to the registration`,"Your payment has been cancelled or did expire. You can return to the registration and try again.":`Your payment has been cancelled or did expire. You can return to the registration and try again.`,"We're sorry, but an error occurred during your payment. Unfortunately, we cannot process your payment at this time.":`We're sorry, but an error occurred during your payment. Unfortunately, we cannot process your payment at this time.`,"The shop is currently not fully configured. Please contact an administrator.":`The shop is currently not fully configured. Please contact an administrator.`,"Total refunds":`Total refunds`,"Already refunded":`Already refunded`,"Already refunded:":`Already refunded:`,"Cancellation Summary":`Cancellation Summary`,"Accept c
4024ancellation conditions":`Accept cancellation conditions`,"To be paid later":`To be paid later`,FINAL_PAYMENT:`Final payment`,DEPOSIT_PAYMENT:`Deposit payment`,"Refunded on {{date}}":`Refunded on {{date}}`,"Paid on {{date}}":`Paid on {{date}}`,"Due on {{date}}":`Due on {{date}}`,"Cancellation conditions":`Cancellation conditions`,"{{amountInPercent}}% of the purchase price":`{{amountInPercent}}% of the purchase price`,"Cancellation fee":`Cancellation fee`,"No cancellation conditions available.":`No cancellation conditions available.`,"The cancellation conditions are listed below. The applicable deadlines and fees can be found in the table.":`The cancellation conditions are listed below. The applicable deadlines and fees can be found in the table.`,"Refunded amount:":`Refunded amount:`,Paid:`Paid`,"Payment Summary":`Payment Summary`,"To be paid":`To be paid`,"To be refunded":`To be refunded`,"Already processed":`Already processed`,"Payment Details":`Payment Details`,"Remaining Balance: {{amountInPercent}}%":`Remaining Balance: {{amountInPercent}}%`,"Deposit paid:":`Deposit paid:`,"Full payment":`Full payment`,"Refund amount:":`Refund amount:`,"Click here for cancellation conditions.":`Click here for cancellation conditions.`,"Already paid:":`Already paid:`,"Submit and pay":`Submit and pay`,"To be paid now:":`To be paid now:`,"To be paid on {{date}}:":`To be paid on {{date}}:`,"Item amount<sup>{{ taxDisclaimer }}</sup>:":`Item amount<sup>{{ taxDisclaimer }}</sup>:`,"Cancellation fee applied":`Cancellation fee applied`,"Deposit: {{amountInPercent}}%":`Deposit: {{amountInPercent}}%`,"<sup>{{taxDisclaimer}}</sup> includes {{percent}}% VAT":`<sup>{{taxDisclaimer}}</sup> includes {{percent}}% VAT`,"Pay later:":`Pay later:`,"Pay now:":`Pay now:`,"To be refunded:":`To be refunded:`,"Transactions cannot be offset. The refund will be processed separately.":`Transactions cannot be offset. The refund will be processed separately.`,"incl. {{percent}}% VAT:":`incl. {{percent}}% VAT:`,"Please select a region so that we can display the appropriate information.":`Please select a region so that we can display the appropriate information.`,"Select your region":`Select your region`,"Please specify a valid number":`Please specify a valid number`,"e.g. late arrival at XX o'clock / parking slot required etc.":`e.g. late arrival at XX o'clock / parking slot required etc.`,"This information is voluntary and is used to provide information for the hotel. Please do not enter any health related information.":`This information is voluntary and is used to provide information for the hotel. Please do not enter any health related information.`,"Please make sure that the person named is aware of your information.":`Please make sure that the person named is aware of your information.`,from:`from`,"I want to add another person to my stay":`I want to add another person to my stay`,"The additional person field must be filled.":`The additional person field must be filled.`,"Additional person":`Additional person`,"This inquiry has already been processed. You may only request changes or cancellation of this stay.":`This inquiry has already been processed. You may only request changes or cancellation of this stay.`,"Status: Inquiry":`Status: Inquiry`,"Status: Cancellation requested":`Status: Cancellation requested`,"Status: Processed":`Status: Processed`,"Request changes":`Request changes`,"Open website":`Open website`,"Revoke cancellation":`Revoke cancellation`,"Select room":`Select room`,"Select hotel":`Select hotel`,"The selected hotel rooms are no longer available for booking.":`The selected hotel rooms are no longer available for booking.`,"Cancellation requested":`Cancellation requested`,"Request cancellation":`Request cancellation`,"Are you sure you want to request a cancellation of this hotel stay?":`Are you sure you want to request a cancellation of this hotel stay?`,"No hotel stays have been selected.":`No hotel stays have been selected.`,"Requested check-in":`Requested check-in`,"Requested check-out":`Requested check-out`,"Requested hotel":`Requested hotel`,"Requested room":`Requested room`,"Requested nights":`Requested nights`,"Total price":`Total price`,"The Check-in and check-out field must not overlap with other stays.":`The Check-in and check-out field must not overlap with other stays.`,"Delete inquiry":`Delete inquiry`,"{{number}}. Inquiry":`{{number}}. Inquiry`,"Add inquiry":`Add inquiry`,"At least {{count}} hotel stays must be specified._one":`At least one hotel stay must be specified.`,"At least {{count}} hotel stays must be specified._other":`At least {{count}} hotel stays must be specified.`,"More information":`More information`,"Hotel stays":`Hotel stays`,"Remarks for stay":`Remarks for stay`,"A maximum of {{count}} nights can be booked._one":`A maximum of one night can be booked.`,"A maximum of {{count}} nights can be booked._other":`A maximum of {{count}} nights can be booked.`,"A room must be selected.":`A room must be selected.`,"A hotel must be selected.":`A hotel must be selected.`,"The Check-in and check-out field is required.":`The Check-in and check-out field is required.`,"You can only assign a maximum of {{count}} hotel stays._one":`You can only assign a maximum of one hotel stay.`,"You can only assign a maximum of {{count}} hotel stays._other":`You can only assign a maximum of {{count}} hotel stays.`,"Delete booking":`Delete booking`,Room:`Room`,"No hotels found for the given check-in and check-out date.":`No hotels found for the given check-in and check-out date.`,"per Night":`per Night`,"{{count}} Persons_one":`1 Person`,"{{count}} Persons_other":`{{count}} Persons`,"{{number}}. Booking":`{{number}}. Booking`,"No hotel stay added yet.":`No hotel stay added yet.`,"Add booking":`Add booking`,"The value entered does not match the expected format.":`The value entered does not match the expected format.`,"This field must not contain https, http or www.":`This field must not contain https, http or www.`,Tickets:`Tickets`,Media:`Media`,News:`News`,"SPECIAL PRIZES":`SPECIAL PRIZES {{year}}`,"CLASS WINNERS":`CLASS WINNERS {{year}}`,"ENTRANTS & WINNERS":`ENTRANTS & WINNERS`,by:`by`,Engine:`Engine`,Coachwork:`Coachwork`,Entrant:`Entrant`,"load more":`load more`,"You can also use the filter to get the wanted class.":`You can also use the filter to get the wanted class.`,"ALL ENTRANTS":`ALL ENTRANTS {{ year }}`,"Click at the vehicle of your choice to see more information.":`Click at the vehicle of your choice to see more information.`,Newsletter:`Newsletter`,"Successfully subscribed to the newsletter.":`Successfully subscribed to the newsletter.`,termsAndConditions:`Yes, I would like to receive the newsletter of <legalNotice>BMW AG</legalNotice> at my e-mail address until I revoke such consent. I consent to BMW AG collecting opening and click rates to evaluate and optimize its newsletter service. 4025You can revoke your consent at any time with effect for the future. You can find more information about our processing of your data in our <privacyNotice>privacy notice</privacyNotice>`,"The final payment process is not yet active":`The final payment process is not yet active.`,"Show only shuttles":`Show only shuttles`,"You need min. {{count}} {{companionType}}_other":`You need min. {{count}} {{companionType}}`,"You need min. {{count}} {{companionType}}_one":`You need min. {{count}} {{companionType}}`,"Check-in date must be after {{date}}.":`Check-in date must be after {{date}}.`,"Check-out date must be before {{date}}.":`Check-out date must be before {{date}}.`,Hotel:`Hotel`,"Check-in date must be before check-out date.":`Check-in date must be before check-out date.`,"Self travel":`Self travel`,"Edit self travel":`Edit self travel`,"You have to provide a departure.":`You have to provide a departure.`,"You have to provide an arrival.":`You have to provide an arrival.`,"Further options":`Further options`,"No travel templates found.":`No travel templates found.`,"Travel templates":`Travel templates`,Time:`Time`,"Shopping is disabled because you are registered already.":`Shopping is disabled because you are registered already.`,"This field must be an integer":`This field must be an integer`,Amount:`Amount`,"No contingent is available for a travel segment!":`No contingent is available for a travel segment!`,"There is no contingent available for this tenant wave combination.":`No contingent available!`,"Travel type":`Travel type`,"Create travel segment":`Create travel segment`,"Create new travel segment":`Create new travel segment`,"Arrival station":`Arrival station`,"Departure station":`Departure station`,"Arrival airport":`Arrival airport`,"Departure airport":`Departure airport`,"Departure time":`Departure time`,"Departure date":`Departure date`,"Arrival time":`Arrival time`,"Arrival date":`Arrival date`,"Create flight inquiry":`Create flight inquiry`,"Create train inquiry":`Create train inquiry`,"Earliest departure":`Earliest departure`,"Latest arrival":`Latest arrival`,"Edit inquiry":`Edit inquiry`,Inquiry:`Inquiry`,Remarks:`Remarks`,"Arrival location":`Arrival location`,"Departure location":`Departure location`,"Latest arrival time":`Latest arrival time`,"Latest arrival date":`Latest arrival date`,"Earliest departure time":`Earliest departure time`,"Earliest departure date":`Earliest departure date`,"I would like to make a travel inquiry":`I would like to make a travel inquiry`,"I organize my travel on my own":`I organize my travel on my own`,"You need to have at least {{count}} travels._other":`You need to have at least {{count}} travels.`,"You need to have at least {{count}} travels._one":`You need to have at least one travel.`,"You can only assign a maximum of {{count}} travels._other":`You can only assign a maximum of {{count}} travels.`,"You can only assign a maximum of {{count}} travels._one":`You can only assign a maximum of one travel.`,"{{count}} of {{max}}":`{{count}} of {{max}}`,"Travel planning":`Travel planning`,"No travel segments have been added yet.":`No travel segments have been added yet.`,"Service class":`Service class`,"Charging station":`Charging station`,"Parking spot":`Parking spot`,"License plate":`License plate`,"Train number":`Train number`,"Flight number":`Flight number`,"No travel available.":`No travel available.`,shuttle:`Shuttle`,train:`Train`,car:`Car`,flight:`Flight`,"Travel segments":`Travel segments`,"No travel segments found.":`No travel segments found.`,"Remove travel segment from selection":`Remove travel segment from selection`,"Selected travel segments":`Selected travel segments`,"Show only cars":`Show only cars`,"Show only trains":`Show only trains`,"Show only flights":`Show only flights`,"Add departure segment":`Add departure segment`,"Add arrival segment":`Add arrival segment`,Arrival:`Arrival`,Departure:`Departure`,"Delete arrival and departure":`Delete arrival and departure`,"Add arrival and departure":`Add arrival and departure`,"{{number}}. Travel":`{{number}}. Travel`,"Complete Payment":`Complete Payment`,"Please click on the button to finalise the payment!":`Please click on the button to finalise the payment!`,Pay:`Pay`,"Invoice send":`Invoice send`,"The invoice has been sent to you, please check your emails!":`The invoice has been sent to you, please check your emails!`,"The order was already paid!":`The order was already paid!`,"An email with an invitation has been sent to you.":`An email with an invitation has been sent to you.`,"An email with your personal registration link has been sent to you.":`An email with your personal registration link has been sent to you.`,"Welcome back!":`Welcome back!`,"Field cannot contain one of the following values: {{value}}":`Field cannot contain one of the following values: {{value}}`,"Deposit in percent":`Deposit in percent`,"Protected registration":`Protected registration`,"Please type in your code":`Please type in your code`,"Cancellation confirmed":`Cancellation confirmed`,"Registration confirmed":`Registration confirmed`,"Declination confirmed":`Declination confirmed`,"Changes confirmed":`Changes confirmed`,"Replacement nomination received":`Replacement nomination received`,"Thank you for letting us know that unfortunately you will not be able to attend after all.":`Thank you for letting us know that unfortunately you will not be able to attend after all.`,"Thank you for letting us know that you are unable to attend.":`Thank you for letting us know that you are unable to attend.`,"We will send an invitation to your representative.":`We will send an invitation to your representative.`,"Your changes will now be reflected in the system.":`Your changes will now be reflected in the system.`,"Field has minimum {{count}} values_one":`Field has minimum one value`,"Field has minimum {{count}} values_other":`Field has minimum {{count}} values`,"Field has maximum {{count}} values_one":`Field has maximum one value`,"Field has maximum {{count}} values_other":`Field has maximum {{count}} values`,"Field is not updatable":`Field is not updatable`,"Field {{name}} must not contain {{value}}":`Field {{name}} must not contain {{value}}`,"Field {{name}} must contain {{value}}":`Field {{name}} must contain {{value}}`,"Field must not have value {{value}}":`Field must not have value {{value}}`,"Field has maximum {{count}} characters_one":`Field has maximum one character`,"Field has maximum {{count}} characters_other":`Field has maximum {{count}} characters`,"Field has minimum {{count}} characters_one":`Field has minimum one character`,"Field has minimum {{count}} characters_other":`Field has minimum {{count}} characters`,"Field must have value {{value}}":`Field must have value {{value}}`,"Nominate replacement":`Nominate colleague`,"Replacement successful nominated":`Colleague successful nominated`,"Allowed file types: image, video, PDF, office (word/excel etc.), font":`Allowed file types: image, video, PDF, office (word/excel etc.), font`,"Download file":`Download file`,"Remove file":`Remove file`,"Ma
4025ximum amount of {{companions}} already added":`Maximum amount of {{companions}} already added`,"{{companion}} is already registered":`{{companion}} is already registered`,"{{ currentCount }} of {{ maxCount }}":`{{ currentCount }} of {{ maxCount }}`,"Update {{companion}}":`Update {{companion}}`,"Invalid phone number":`Invalid phone number`,"This field may not exceed 20 characters":`This field may not exceed 20 characters`,"This field may not exceed 181 characters":`This field may not exceed 181 characters`,"Invalid URL format":`Invalid URL format`,"Remove {{companion}}":`Remove {{companion}}`,"Edit {{companion}}":`Edit {{companion}}`,"Submit {{companion}}":`Submit {{companion}}`,"No {{companions}}":`No {{companions}}`,"Add {{companion}}":`Add {{companion}}`,"The Shop module is not configured correctly.":`The Shop module is not configured correctly.`,"In order to retrieve data it is necessary to specify the country of the invoice recipient as well as company information if available.":`In order to retrieve data it is necessary to specify the country of the invoice recipient as well as company information if available.`,"Try again":`Try again`,"Your payment could not be completed successfully.":`Your payment could not be completed successfully.`,"Your payment is being processed...":`Your payment is being processed...`,"Total: {{total}}":`Total: {{total}}`,Item:`Item`,Net:`Net`,"Gross / VAT":`Gross / VAT`,Total:`Total`,"Including {{percent}}% VAT":`Including {{percent}}% VAT`,"Use this payment provider":`Use this payment provider`,"Payment provider":`Payment provider`,Shop:`Shop`,"Increase amount of {{item}}":`Increase amount of {{item}}`,"Decrease amount of {{item}}":`Decrease amount of {{item}}`,"Field must contain one of the following values: {{value}}":`Field must contain one of the following values: {{value}}`,"Field has minimum value of {{value}}":`Field has minimum value of {{value}}`,"Field has maximum value of {{value}}":`Field has maximum value of {{value}}`,"registration.cancel":`Cancel`,"registration.register":`Register`,Cancellation:`Cancellation`,"Cancellation successful":`Cancellation successful`,"An error has occurred":`An error has occurred`,"registration.decline":`Decline`,Declination:`Declination`,"Declination successful":`Declination successful`,"registration.update":`Update registration`,"Your registration was updated.":`Your registration was updated.`,Contact:`Contact`,"This registration is only accessible through a personal invitation.":`This registration is only accessible through a personal invitation.`,"Private registration":`Private registration`,"Closed registration":`Closed registration`,"This registration is closed.":`This registration is closed.`,URL:`URL`,Disagree:`Disagree`,Agree:`Agree`,"Registration Preview":`Registration Preview`,"The preview ignores all conditions and cannot be submitted":`The preview ignores all conditions and cannot be submitted`,"No registration steps found":`No registration steps found`,Registration:`Registration`,"Your registration was successful.":`Your registration was successful.`,"You were placed on the waiting list.":`You were placed on the waiting list.`,Summary:`Summary`,"registration.submit":`Submit`},yKe={"Please complete the data of all {{companions}}":`Por favor, complete los datos de todos los {{companions}}`,"The quota has already been reached for at least one of the nights. A request is still possible, but availability cannot be guaranteed.":`Ya se ha alcanzado el cupo para al menos una de las noches. Aún es posible realizar una solicitud, pero no se puede garantizar la disponibilidad.`,Booking:`Reservas`,"The earliest departure must be before the latest arrival.":`La salida más temprana debe ser anterior a la llegada más tardÃa.`,"The email must be a valid email address.":`El correo electrónico debe ser una dirección de correo electrónico válida.`,"Your flight information has been filled out automatically. Please verify that the details are correct.":`La información de su vuelo se ha completado automáticamente. Por favor, verifique que los datos sean correctos.`,"Provide flight number and departure date to obtain flight information.":`Proporcione el número de vuelo y la fecha de salida para obtener la información del vuelo.`,"Autofill flight information":`Autocompletar información del vuelo`,"A route for the flight could not be found.":`No se pudo encontrar una ruta para el vuelo.`,"Start date":`Fecha de inicio`,"Return to the registration":`Volver al registro`,"Your payment has been cancelled or did expire. You can return to the registration and try again.":`Su pago ha sido cancelado o ha expirado. Puede volver al registro e intentarlo de nuevo.`,"We're sorry, but an error occurred during your payment. Unfortunately, we cannot process your payment at this time.":`Lo sentimos, pero se ha producido un error durante su pago. Lamentablemente, no podemos procesar su pago en este momento.`,"The shop is currently not fully configured. Please contact an administrator.":`Actualmente, la tienda no está totalmente configurada. Póngase en contacto con un administrador.`,"Total refunds":`Total devoluciones`,"Already refunded":`Ya reembolsado`,"Already refunded:":`Ya reembolsado:`,"Cancellation Summary":`Resumen de la anulación`,"Accept c
4025ancellation conditions":`Aceptar las condiciones de anulación`,"To be paid later":`A pagar más adelante`,FINAL_PAYMENT:`Pago final`,DEPOSIT_PAYMENT:`Pago a cuenta`,"Refunded on {{date}}":`Reembolsado el {{date}}`,"Paid on {{date}}":`Pagado el {{date}}`,"Due on {{date}}":`Vence el {{date}}`,"Cancellation conditions":`Condiciones de cancelación`,"{{amountInPercent}}% of the purchase price":`{{amountInPercent}}% del precio de compra`,"Cancellation fee":`Gastos de cancelación`,"No cancellation conditions available.":`No hay condiciones de cancelación disponibles.`,"The cancellation conditions are listed below. The applicable deadlines and fees can be found in the table.":`Las condiciones de cancelación se enumeran a continuación. Los plazos y tarifas aplicables se pueden encontrar en la tabla.`,"Refunded amount:":`Importe reembolsado:`,Paid:`Pagado`,"Payment Summary":`Resumen de pagos`,"To be paid":`A pagar`,"To be refunded":`A reembolsar`,"Already processed":`Ya procesado`,"Payment Details":`Datos de pago`,"Remaining Balance: {{amountInPercent}}%":`Saldo restante: {{amountInPercent}}%`,"Deposit paid:":`Depósito pagado:`,"Full payment":`Pago completo`,"Refund amount:":`Importe del reembolso:`,"Click here for cancellation conditions.":`Haga clic aquà para consultar las condiciones de cancelación.`,"Already paid:":`Ya he pagado:`,"Submit and pay":`Presentar y pagar`,"To be paid now:":`A pagar ahora:`,"To be paid on {{date}}:":`A pagar el {{date}}:`,"Item amount<sup>{{ taxDisclaimer }}</sup>:":`Importe del artÃculo<sup>{{ taxDisclaimer }}</sup>:`,"Cancellation fee applied":`Se aplican gastos de anulación`,"Deposit: {{amountInPercent}}%":`Depósito: {{amountInPercent}}%.`,"<sup>{{taxDisclaimer}}</sup> includes {{percent}}% VAT":`<sup>{{taxDisclaimer}}</sup> incluye {{percent}}% de IVA`,"Pay later:":`Paga después:`,"Pay now:":`Paga ahora:`,"To be refunded:":`A reembolsar:`,"Transactions cannot be offset. The refund will be processed separately.":`Las transacciones no pueden compensarse. El reembolso se tramitará por separado.`,"incl. {{percent}}% VAT:":`incl. {{percent}}% IVA:`,"Please select a region so that we can display the appropriate information.":`Seleccione una región para que podamos mostrarle la información adecuada.`,"Select your region":`Seleccione su región`,"Please specify a valid number":`Por favor, especifique un número válido`,"e.g. late arrival at XX o'clock / parking slot required etc.":`p. ej. llegada tardÃa a las XX / se necesita aparcamiento, etc.`,"This information is voluntary and is used to provide information for the hotel. Please do not enter any health related information.":`Esta información es voluntaria y se utiliza para proporcionar información al hotel. No introduzca información relacionada con la salud.`,"Please make sure that the person named is aware of your information.":`Asegúrese de que la persona mencionada conozca su información.`,from:`desde`,"I want to add another person to my stay":`Quiero agregar otra persona a mi estancia`,"The additional person field must be filled.":`El campo persona adicional debe completarse.`,"Additional person":`Persona adicional`,"This inquiry has already been processed. You may only request changes or cancellation of this stay.":`Esta consulta ya ha sido procesada. Solo puede solicitar cambios o la cancelación de esta estancia.`,"Status: Inquiry":`Situación: Consulta`,"Status: Cancellation requested":`Situación: Anulación solicitada`,"Status: Processed":`Estado: Procesado`,"Request changes":`Solicitar cambios`,"Open website":`Abrir el sitio web`,"Revoke cancellation":`Revocar cancelación`,"Select room":`Seleccionar habitación`,"Select hotel":`Seleccionar hotel`,"The selected hotel rooms are no longer available for booking.":`Las habitaciones de hotel seleccionadas ya no están disponibles para reservar.`,"Cancellation requested":`Anulación solicitada`,"Request cancellation":`Solicitud de anulación`,"Are you sure you want to request a cancellation of this hotel stay?":`¿Está seguro de que desea solicitar la cancelación de esta estancia en el hotel?`,"No hotel stays have been selected.":`No se han seleccionado estancias hoteleras.`,"Requested check-in":`Entrada deseada`,"Requested check-out":`Salida deseada`,"Requested hotel":`Hotel deseado`,"Requested room":`Habitación deseada`,"Requested nights":`Noches solicitadas`,"Total price":`Precio total`,"The Check-in and check-out field must not overlap with other stays.":`Los campos de entrada y salida no deben solaparse con otras estancias.`,"Delete inquiry":`Eliminar consulta`,"{{number}}. Inquiry":`{{number}}. Consulta`,"Add inquiry":`Agregar consulta`,"At least {{count}} hotel stays must be specified._one":`Se debe especificar al menos una estancia hotelera.`,"At least {{count}} hotel stays must be specified._other":`Se deben especificar al menos {{count}} estancias hoteleras.`,"More information":`Más información`,"Hotel stays":`Estancias hoteleras`,"Remarks for stay":`Observaciones para la estancia`,"A maximum of {{count}} nights can be booked._one":`Se puede reservar un máximo de una noche.`,"A maximum of {{count}} nights can be booked._other":`Se puede reservar un máximo de {{count}} noches.`,"A room must be selected.":`Debe seleccionar una habitación.`,"A hotel must be selected.":`Debe seleccionar un hotel.`,"The Check-in and check-out field is required.":`El campo de entrada y salida es obligatorio.`,"You can only assign a maximum of {{count}} hotel stays._one":`Solo puede asignar un máximo de una reserva.`,"You can only assign a maximum of {{count}} hotel stays._other":`Solo puede asignar un máximo de {{count}} reservas.`,"Delete booking":`Eliminar reserva`,Room:`Habitación`,"No hotels found for the given check-in and check-out date.":`No se encontraron hoteles para la fecha de entrada y salida indicada.`,"per Night":`por Noche`,"{{count}} Persons_one":`1 Persona`,"{{count}} Persons_other":`{{count}} Personas`,"{{number}}. Booking":`{{number}}. Reserva`,"No hotel stay added yet.":`Aún no se ha añadido ninguna estancia en hotel.`,"Add booking":`Añadir reserva`,"The value entered does not match the expected format.":`El valor introducido no coincide con el formato esperado.`,"This field must not contain https, http or www.":`Este campo no debe contener https, http ni www.`,Tickets:`Tickets`,Media:`Media`,News:`News`,"SPECIAL PRIZES":`SPECIAL PRIZES {{year}}`,"CLASS WINNERS":`CLASS WINNERS {{year}}`,"ENTRANTS & WINNERS":`ENTRANTS & WINNERS`,by:`by`,Engine:`Engine`,Coachwork:`Coachwork`,Entrant:`Entrant`,"load more":`load more`,"You can also use the filter to get the wanted class.":`You can also use the filter to get the wanted class.`,"ALL ENTRANTS":`ALL ENTRANTS {{ year }}`,"Click at the vehicle of your choice to see more information.":`Click at the vehicle of your choice to see more information.`,Newsletter:`Newsletter`,"Successfully subscribed to the newsletter.":`Successfully subscribed to the newsletter.`,termsAndConditions:`Yes, I would like to receive the newsletter of <legalNotice>BMW AG</legalNotice> at my e-mail address until I revoke such consent. I consent to BMW AG collecting opening and click rates to evaluate and optimize its newsletter service. 4026You can revoke your consent at any time with effect for the future. You can find more information about our processing of your data in our <privacyNotice>privacy notice</privacyNotice>`,"The final payment process is not yet active":`El proceso de pago final aún no está activo.`,"Show only shuttles":`Mostrar sólo lanzaderas`,"You need min. {{count}} {{companionType}}_other":`Necesitas al menos {{count}} {{companionType}}`,"You need min. {{count}} {{companionType}}_one":`Necesitas al menos {{count}} {{companionType}}`,"Check-in date must be after {{date}}.":`La fecha de entrada debe ser posterior a {{date}}.`,"Check-out date must be before {{date}}.":`La fecha de salida debe ser anterior a {{date}}.`,Hotel:`Hotel`,"Check-in date must be before check-out date.":`La fecha de entrada debe ser anterior a la fecha de salida.`,"Self travel":`Autoviaje`,"Edit self travel":`Editar autoviaje`,"You have to provide a departure.":`Tienes que proporcionar una salida.`,"You have to provide an arrival.":`Tienes que proporcionar una llegada.`,"Further options":`Otras opcions`,"No travel templates found.":`No se han encontrado plantillas de viaje.`,"Travel templates":`Plantillas de viae`,Time:`Hora`,"Shopping is disabled because you are registered already.":`La compra está desactivada porque ya estás registrado.`,"This field must be an integer":`Tämän kentän on oltava kokonaisluku`,Amount:`Cantidad`,"No contingent is available for a travel segment!":`¡No hay contingente disponible para un segmento de viaje!`,"There is no contingent available for this tenant wave combination.":`¡No hay contingente disponible!`,"Travel type":`Tipo de viaje`,"Create travel segment":`Crear segmento de viaje`,"Create new travel segment":`Crear nuevo segmento de viaje`,"Arrival station":`Estación de llegada`,"Departure station":`Estación de salida`,"Arrival airport":`Aeropuerto de llegada`,"Departure airport":`Aeropuerto de salida`,"Departure time":`Hora de salida`,"Departure date":`Fecha de salida`,"Arrival time":`Hora de llegada`,"Arrival date":`Fecha de llegada`,"Create flight inquiry":`Crear solicitud de vuelo`,"Create train inquiry":`Crear solicitud de tren`,"Earliest departure":`Salida más temprana`,"Latest arrival":`Llegada más tardÃa`,"Edit inquiry":`Editar consulta`,Inquiry:`Consulta`,Remarks:`Observaciones`,"Arrival location":`Lugar de llegada`,"Departure location":`Lugar de salida`,"Latest arrival time":`Ãltima hora de llegada`,"Latest arrival date":`Fecha lÃmite de llegada`,"Earliest departure time":`Hora de salida más temprana`,"Earliest departure date":`Fecha de salida más temprana`,"I would like to make a travel inquiry":`Deseo realizar una consulta de viaje`,"I organize my travel on my own":`Organizo mis viajes por mi cuenta`,"You need to have at least {{count}} travels._other":`Necesitas tener al menos {{count}} viajes`,"You need to have at least {{count}} travels._one":`Necesitas tener al menos {{count}} viajes`,"You can only assign a maximum of {{count}} travels._other":`Sólo puedes asignar un máximo de {{count}} viajes`,"You can only assign a maximum of {{count}} travels._one":`Sólo puedes asignar un máximo de un viaje`,"{{count}} of {{max}}":`{{count}} de {{max}}`,"Travel planning":`Planificación de viajes`,"No travel segments have been added yet.":`Aún no se ha añadido ningún
4026segmento de viaje`,"Service class":`Clase de servicio`,"Charging station":`Estación de carga`,"Parking spot":`Plaza de aparcamiento`,"License plate":`MatrÃcula`,"Train number":`Número de tren`,"Flight number":`Número de vuelo`,"No travel available.":`Viaje no disponible`,shuttle:`Lanzadera`,train:`Tren`,car:`Coche`,flight:`Vuelo`,"Travel segments":`Segmentos de viaje`,"No travel segments found.":`No se han encontrado segmentos de viaje.`,"Remove travel segment from selection":`Eliminar segmento de viaje de la selección`,"Selected travel segments":`Segmentos de viaje seleccionados`,"Show only cars":`Mostrar sólo coches`,"Show only trains":`Mostrar sólo trenes`,"Show only flights":`Mostrar sólo vuelos`,"Add departure segment":`Añadir segmento de salida`,"Add arrival segment":`Añadir segmento de llegada`,Arrival:`Llegada`,Departure:`Salida`,"Delete arrival and departure":`Borrar llegada y salida`,"Add arrival and departure":`Añadir llegada y salida`,"{{number}}. Travel":`{{number}}. Viaje`,"Complete Payment":`Completar pago`,"Please click on the button to finalise the payment!":`¡Por favor, haz clic en el botón para finalizar el pago!`,Pay:`Pagar`,"Invoice send":`Factura enviada`,"The invoice has been sent to you, please check your emails!":`La factura ha sido enviada a usted, por favor revise sus correos electrónicos!`,"The order was already paid!":`¡El pedido ya fue pagado!`,"An email with an invitation has been sent to you.":`Se le ha enviado un correo electrónico con una invitación.`,"An email with your personal registration link has been sent to you.":`Se le ha enviado un correo electrónico con su enlace de registro personal.`,"Welcome back!":`¡Bienvenido de nuevo!`,"Field cannot contain one of the following values: {{value}}":`El campo no puede contener uno de los siguientes valores: {{value}}`,"Deposit in percent":`Depósito en porcentaje`,"Protected registration":`Registro protegido`,"Please type in your code":`Introduzca su código`,"Cancellation confirmed":`Anulación confirmada`,"Registration confirmed":`Inscripción confirmada`,"Declination confirmed":`Rechazo confirmado`,"Changes confirmed":`Cambios confirmados`,"Replacement nomination received":`Candidatura de sustitución recibida`,"Thank you for letting us know that unfortunately you will not be able to attend after all.":`Gracias por comunicarnos que lamentablemente no podrá asistir`,"Thank you for letting us know that you are unable to attend.":`Gracias por comunicarnos que no podrá asistir`,"We will send an invitation to your representative.":`Enviaremos una invitación a su representante`,"Your changes will now be reflected in the system.":`Sus cambios se reflejarán ahora en el sistema`,"Field has minimum {{count}} values_one":`El campo tiene como mÃnimo un valor`,"Field has minimum {{count}} values_other":`El campo tiene un mÃnimo de {{count}} valores`,"Field has maximum {{count}} values_one":`El campo tiene como máximo un valor`,"Field has maximum {{count}} values_other":`El campo tiene un máximo de {{count}} valores`,"Field is not updatable":`Campo no actualizable`,"Field {{name}} must not contain {{value}}":`El campo {{name}} debe contener {{value}}`,"Field {{name}} must contain {{value}}":`El campo {{name}} debe contener {{value}}`,"Field must not have value {{value}}":`El campo no debe tener valor {{value}}`,"Field has maximum {{count}} characters_one":`El campo tiene como máximo un carácter`,"Field has maximum {{count}} characters_other":`El campo tiene un máximo de {{count}} caracteres`,"Field has minimum {{count}} characters_one":`El campo tiene como mÃnimo un carácter`,"Field has minimum {{count}} characters_other":`El campo tiene un mÃnimo de {{count}} caracteres`,"Field must have value {{value}}":`El campo debe tener el valor {{value}}`,"Nominate replacement":`Nombrar sustituto`,"Replacement successful nominated":`Sustitución nombrada con éxito`,"Allowed file types: image, video, PDF, office (word/excel etc.), font":`Tipos de archivo permitidos: imagen, vÃdeo, PDF, office (word/excel, etc.), fuente`,"Download file":`Descargar ar
4026chivo`,"Remove file":`Eliminar archivo`,"Maximum amount of {{companions}} already added":`Máximo número de {{companions}} ya agregados`,"{{companion}} is already registered":`El {{companion}} ya está registrado`,"{{ currentCount }} of {{ maxCount }}":`{{ currentCount }} de {{ maxCount }}`,"Update {{companion}}":`Actualizar {{companion}}`,"Invalid phone number":`Número de teléfono inválido`,"This field may not exceed 20 characters":`Este campo no puede exceder los 20 caracteres`,"This field may not exceed 181 characters":`Este campo no puede exceder los 181 caracteres`,"Invalid URL format":`Formato de URL inválido`,"Remove {{companion}}":`Eliminar {{companion}}`,"Edit {{companion}}":`Editar {{companion}}`,"Submit {{companion}}":`Enviar {{companion}}`,"No {{companions}}":`Sin {{companions}}`,"Add {{companion}}":`Agregar {{companion}}`,"The Shop module is not configured correctly.":`El módulo de tienda no está configurado correctamente.`,"In order to retrieve data it is necessary to specify the country of the invoice recipient as well as company information if available.":`Para recuperar los datos, es necesario especificar el paÃs del destinatario de la factura, asà como la información de la empresa si está disponible.`,"Try again":`Inténtalo de nuevo`,"Your payment could not be completed successfully.":`No se pudo completar el pago correctamente.`,"Your payment is being processed...":`Tu pago se está procesando...`,"Total: {{total}}":`Total: {{total}}`,Item:`Ãtem`,Net:`Neto`,"Gross / VAT":`Bruto / IVA`,Total:`Total`,"Including {{percent}}% VAT":`Incluyendo {{percent}}% de IVA`,"Use this payment provider":`Utilizar este proveedor de pago`,"Payment provider":`Proveedor de pago`,Shop:`Tienda`,"Increase amount of {{item}}":`Aumentar cantidad de {{item}}`,"Decrease amount of {{item}}":`Disminuir cantidad de {{item}}`,"Field must contain one of the following values: {{value}}":`El campo debe contener uno de los siguientes valores: {{value}}`,"Field has minimum value of {{value}}":`El campo tiene un valor mÃnimo de {{value}}`,"Field has maximum value of {{value}}":`El campo tiene un valor máximo de {{value}}`,"registration.cancel":`Cancelar`,"registration.register":`Registrarse`,Cancellation:`Cancelación`,"Cancellation successful":`Cancelación exitosa`,"An error has occurred":`Se ha producido un error`,"registration.decline":`Declinar`,Declination:`Declinación`,"Declination successful":`Declinación exitosa`,"registration.update":`Actualizar registro`,"Your registration was updated.":`Tu registro ha sido actualizado.`,Contact:`Contacto`,"This registration is only accessible through a personal invitation.":`Este registro solo es accesible a través de una invitación personal.`,"Private registration":`Registro privado`,"Closed registration":`Registro cerrado`,"This registration is closed.":`Este registro está cerrado.`,URL:`URL`,Disagree:`No estoy de acuerdo`,Agree:`Estoy de acuerdo`,"Registration Preview":`Vista previa del registro`,"The preview ignores all conditions and cannot be submitted":`La vista previa ignora todas las condiciones y no se puede enviar`,"No registration steps found":`No se encontraron pasos de registro`,Registration:`Registro`,"Your registration was successful.":`Tu registro se realizó correctamente.`,"You were placed on the waiting list.":`Has sido colocado en la lista de espera.`,Summary:`Resumen`,"registration.submit":`Enviar`},bKe={"Please complete the data of all {{companions}}":`Täydennä kaikkien {{companions}} tiedot`,"The quota has already been reached for at least one of the nights. A request is still possible, but availability cannot be guaranteed.":`Ainakin yhden yön osalta kiintiö on jo täyttynyt. Varauspyyntö on edelleen mahdollista, mutta paikan saatavuutta ei voida taata.`,Booking:`Varaus`,"The earliest departure must be before the latest arrival.":`Aikaisimman lähdön on oltava ennen viimeisintä saapumista.`,"The email must be a valid email address.":`Sähköpostiosoitteen on oltava kelvollinen sähköpostiosoite.`,"Your flight information has been filled out automatically. Please verify that the details are correct.":`Lentotietosi on täytetty automaattisesti. Tarkista, että tiedot ovat oikein.`,"Provide flight number and departure date to obtain flight information.":`Anna lennon numero ja lähtöpäivä saadaksesi lentotiedot.`,"Autofill flight information":`Täytä lentotiedot automaattisesti`,"A route for the flight could not be found.":`Lennolle ei löytynyt reittiä.`,"Start date":`Aloituspäivä`,"Return to the registration":`Palaa rekisteröitymiseen`,"Your payment has been cancelled or did expire. You can return to the registration and try again.":`Maksusi on peruutettu tai vanhentunut. Voit palata rekisteröitymiseen ja yrittää uudelleen.`,"We're sorry, but an error occurred during your payment. Unfortunately, we cannot process your payment at this time.":`Pahoittelemme, mutta maksun aikana tapahtui virhe. Valitettavasti emme voi käsitellä maksuasi tällä hetkellä.`,"The shop is currently not fully configured. Please contact an administrator.":`Myymälää ei ole tällä hetkellä täysin konfiguroitu. Ota yhteyttä ylläpitäjään.`,"Total refunds":`Palautukset yhteensä`,"Already refunded":`Palautettu jo`,"Already refunded:":`Palautettu jo:`,"Cancellation Summary":`Yhteenveto peruutuksista`,"Accept c
4026ancellation conditions":`Hyväksy peruutusehdot`,"To be paid later":`Maksetaan myöhemmin`,FINAL_PAYMENT:`Loppumaksu`,DEPOSIT_PAYMENT:`Talletuksen maksu`,"Refunded on {{date}}":`Refunded on {{päivämäärä}}`,"Paid on {{date}}":`Maksettu {{päivämäärä}}`,"Due on {{date}}":`Eräpäivä on {{päivämäärä}}`,"Cancellation conditions":`Peruutusehdot`,"{{amountInPercent}}% of the purchase price":`{{amountInPercent}}% ostohinnasta`,"Cancellation fee":`Peruutusmaksu`,"No cancellation conditions available.":`Peruutusehtoja ei ole saatavilla.`,"The cancellation conditions are listed below. The applicable deadlines and fees can be found in the table.":`Peruutusehdot on lueteltu alla. Sovellettavat määräajat ja maksut löytyvät taulukosta.`,"Refunded amount:":`Palautettu määrä:`,Paid:`Maksettu`,"Payment Summary":`Maksujen yhteenveto`,"To be paid":`Maksettava`,"To be refunded":`Palautettava`,"Already processed":`Jo käsitelty`,"Payment Details":`Maksutiedot`,"Remaining Balance: {{amountInPercent}}%":`Jäljellä oleva saldo: {{amountInPercent}}%%`,"Deposit paid:":`Talletus maksettu:`,"Full payment":`Täysi maksu`,"Refund amount:":`Palautuksen määrä:`,"Click here for cancellation conditions.":`Klikkaa tästä peruutusehdot.`,"Already paid:":`Jo maksettu:`,"Submit and pay":`Lähetä ja maksa`,"To be paid now:":`Maksetaan nyt:`,"To be paid on {{date}}:":`Maksetaan {{date}}:`,"Item amount<sup>{{ taxDisclaimer }}</sup>:":`Kohteen määrä<sup>{{{ taxDisclaimer }}}</sup>:`,"Cancellation fee applied":`Peruutusmaksua sovelletaan`,"Deposit: {{amountInPercent}}%":`Talletus: {{amountInPercent}}%`,"<sup>{{taxDisclaimer}}</sup> includes {{percent}}% VAT":`<sup>{{{taxDisclaimer}}</sup> sisältää {{percent}}% arvonlisäveron.`,"Pay later:":`Maksa myöhemmin:`,"Pay now:":`Maksa nyt:`,"To be refunded:":`Palautetaan:`,"Transactions cannot be offset. The refund will be processed separately.":`Tapahtumia ei voi kuitata. Palautus käsitellään erikseen.`,"incl. {{percent}}% VAT:":`sis. {{percent}}% alv:`,"Please select a region so that we can display the appropriate information.":`Valitse alue, jotta voimme näyttää sinulle oikeat tiedot.`,"Select your region":`Valitse alueesi`,"Please specify a valid number":`Anna kelvollinen numero`,"e.g. late arrival at XX o'clock / parking slot required etc.":`esim. myöhäinen saapuminen klo XX / pysäköintipaikka tarvitaan jne.`,"This information is voluntary and is used to provide information for the hotel. Please do not enter any health related information.":`Nämä tiedot ovat vapaaehtoisia ja niitä käytetään hotellin tiedottamiseen. Ãlä syötä terveyteen liittyviä tietoja.`,"Please make sure that the person named is aware of your information.":`Varmista, että mainittu henkilö on tietoinen tiedoistasi.`,from:`alkaen`,"I want to add another person to my stay":`Haluan lisätä toisen henkilön oleskeluuni`,"The additional person field must be filled.":`Kenttä lisähenkilö on täytettävä.`,"Additional person":`Lisähenkilö`,"This inquiry has already been processed. You may only request changes or cancellation of this stay.":`Tämä kysely on jo käsitelty. Voit pyytää vain tämän oleskelun muutoksia tai peruuttamista.`,"Status: Inquiry":`Tilanne: Tiedustelu:`,"Status: Cancellation requested":`Tilanne: Peruutusta pyydetty`,"Status: Processed":`Tilanne: Käsittely:`,"Request changes":`Pyydä muutoksia`,"Open website":`Avaa verkkosivusto`,"Revoke cancellation":`Peru peruutus`,"Select room":`Valitse huone`,"Select hotel":`Valitse hotelli`,"The selected hotel rooms are no longer available for booking.":`Valitut hotellihuoneet eivät ole enää varattavissa.`,"Cancellation requested":`Pyydetty peruutus`,"Request cancellation":`Peruutuspyyntö`,"Are you sure you want to request a cancellation of this hotel stay?":`Oletko varma, että haluat peruuttaa tämän hotelliloman?`,"No hotel stays have been selected.":`Ei hotelliöitä valittu.`,"Requested check-in":`Toivottu sisäänkirjautuminen`,"Requested check-out":`Toivottu uloskirjautuminen`,"Requested hotel":`Toivottu hotelli`,"Requested room":`Toivottu huone`,"Requested nights":`Pyydetyt yöt`,"Total price":`Kokonaishinta`,"The Check-in and check-out field must not overlap with other stays.":`Sisään- ja uloskirjautumis- ja uloskirjautumiskentät eivät saa olla päällekkäisiä muiden oleskelujen kanssa.`,"Delete inquiry":`Poista kysely`,"{{number}}. Inquiry":`{{number}}. Kysely`,"Add inquiry":`Lisää kysely`,"At least {{count}} hotel stays must be specified._one":`Vähintään yksi hotellivaraus on määritettävä.`,"At least {{count}} hotel stays must be specified._other":`Vähintään {{count}} hotellivarausta on määritettävä.`,"More information":`Lisätiedot`,"Hotel stays":`Hotelliöiden määrä`,"Remarks for stay":`Huomautukset majoituksesta`,"A maximum of {{count}} nights can be booked._one":`Enintään yksi yö voidaan varata.`,"A maximum of {{count}} nights can be booked._other":`Enintään {{count}} yötä voidaan varata.`,"A room must be selected.":`Huone pitää valita.`,"A hotel must be selected.":`Hotelli pitää valita.`,"The Check-in and check-out field is required.":`Tulo- ja lähtöpäivä vaaditaan.`,"You can only assign a maximum of {{count}} hotel stays._one":`Voit määrittää enintään yhden hotellivarauksen.`,"You can only assign a maximum of {{count}} hotel stays._other":`Voit määrittää enintään {{count}} hotellivarausta.`,"Delete booking":`Poista varaus`,Room:`Huone`,"N
4026o hotels found for the given check-in and check-out date.":`Ei hotelleja saatavilla valituille päivämäärille.`,"per Night":`per yö`,"{{count}} Persons_one":`1 henkilö`,"{{count}} Persons_other":`{{count}} henkilöä`,"{{number}}. Booking":`{{number}}. Varaus`,"No hotel stay added yet.":`Hotellimajoitusta ei ole vielä lisätty.`,"Add booking":`Lisää varaus`,"The value entered does not match the expected format.":`Syötetty arvo ei vastaa odotettua muotoa.`,"This field must not contain https, http or www.":`Tämä kenttä ei saa sisältää https, http tai www.`,Tickets:`Tickets`,Media:`Media`,News:`News`,"SPECIAL PRIZES":`SPECIAL PRIZES {{year}}`,"CLASS WINNERS":`CLASS WINNERS {{year}}`,"ENTRANTS & WINNERS":`ENTRANTS & WINNERS`,by:`by`,Engine:`Engine`,Coachwork:`Coachwork`,Entrant:`Entrant`,"load more":`load more`,"You can also use the filter to get the wanted class.":`You can also use the filter to get the wanted class.`,"ALL ENTRANTS":`ALL ENTRANTS {{ year }}`,"Click at the vehicle of your choice to see more information.":`Click at the vehicle of your choice to see more information.`,Newsletter:`Newsletter`,"Successfully subscribed to the newsletter.":`Successfully subscribed to the newsletter.`,termsAndConditions:`Yes, I would like to receive the newsletter of <legalNotice>BMW AG</legalNotice> at my e-mail address until I revoke such consent. I consent to BMW AG collecting opening and click rates to evaluate and optimize its newsletter service. 4027You can revoke your consent at any time with effect for the future. You can find more information about our processing of your data in our <privacyNotice>privacy notice</privacyNotice>`,"The final payment process is not yet active":`Den slutliga betalningsprocessen är ännu inte aktiv.`,"Show only shuttles":`Näytä vain sukkulat`,"You need min. {{count}} {{companionType}}_other":`Tarvitset vähintään {{count}} {{companionType}}`,"You need min. {{count}} {{companionType}}_one":`Tarvitset vähintään {{count}} {{companionType}}`,"Check-in date must be after {{date}}.":`Sisäänkirjautumispäivän on oltava {{date}} jälkeen.`,"Check-out date must be before {{date}}.":`Uloskirjautumispäivän on oltava ennen {{date}}.`,Hotel:`Hotelli`,"Check-in date must be before check-out date.":`Sisäänkirjautumispäivän on oltava ennen uloskirjautumispäivää.`,"Self travel":`Itsematkailu`,"Edit self travel":`Muokkaa itse matkustamista`,"You have to provide a departure.":`Sinun on annettava lähtö.`,"You have to provide an arrival.":`Sinun on annettava saapuminen.`,"Further options":`Muita vaihtoehtoja`,"No travel templates found.":`Matkamalleja ei löytynyt.`,"Travel templates":`Matkamallit`,Time:`Aika`,"Shopping is disabled because you are registered already.":`Ostokset on poistettu käytöstä, koska olet jo rekisteröitynyt.`,"This field must be an integer":`Tämän kentän on oltava kokonaisluku`,Amount:`Määrä`,"No contingent is available for a travel segment!":`Matkasegmentille ei ole saatavilla kontingenttia!`,"There is no contingent available for this tenant wave combination.":`Ei saatavilla olevaa kontingenttia!`,"Travel type":`Matkustustyyppi`,"Create travel segment":`Luo matkasegmentti`,"Create new travel segment":`Luo uusi matkasegmentti`,"Arrival station":`Saapumisasema`,"Departure station":`Lähtöasema`,"Arrival airport":`Saapumislentokenttä`,"Departure airport":`Lähtökenttä`,"Departure time":`âLähtöaika`,"Departure date":`Lähtöpäivä`,"Arrival time":`âSaapumisaika`,"Arrival date":`Saapumispäivä`,"Create flight inquiry":`Luo lentotiedustelu`,"Create train inquiry":`Luo junakysely`,"Earliest departure":`Aikaisin lähtö`,"Latest arrival":`Viimeisin saapuminen`,"Edit inquiry":`Muokkaa kyselyä`,Inquiry:`Tiedustelu`,Remarks:`Huomautukset`,"Arrival location":`Saapumispaikka`,"Departure location":`Lähtöpaikka`,"Latest arrival time":`Viimeisin saapumisaika`,"Latest arrival date":`Viimeisin saapumispäivä`,"Earliest departure time":`Aikaisin lähtöaika`,"Earliest departure date":`Aikaisin lähtöpäivä`,"I would like to make a travel inquiry":`Haluaisin tehdä matkatiedustelun`,"I organize my travel on my own":`Järjestän matkani itse`,"You need to have at least {{count}} travels._other":`Sinulla on oltava vähintään {{count}} matkoja.`,"You need to have at least {{count}} travels._one":`Sinulla on oltava vähintään yksi matka.`,"You can only assign a maximum of {{count}} travels._other":`Voit määrittää enintään {{count}} matkoja.`,"You can only assign a maximum of {{count}} travels._one":`Voit määrätä enintään yhden matkan.`,"{{count}} of {{max}}":`{{count}} of {{max}}`,"Travel planning":`Matkasuunnittelu`,"No travel segments have been added yet.":`Matkasegmenttejä ei ole vielä lisätty.`,"Service class":`Palveluluokka`,"Charging station":`Latausasema`,"Parking spot":`Pysäköintipaikka`,"License plate":`Rekisterikilpi`,"Train number":`Junan numero`,"Flight number":`lennon numero`,"No travel available.":`Ei matkoja saatavilla.`,shuttle:`Shuttle`,train:`Juna`,car:`Auto`,flight:`Lento`,"Travel segments":`Matk
4027asegmentit`,"No travel segments found.":`Matkasegmenttejä ei löytynyt.`,"Remove travel segment from selection":`Poista matkasegmentti valikoimasta`,"Selected travel segments":`Valitut matkasegmentit`,"Show only cars":`Näytä vain autot`,"Show only trains":`Näytä vain junat`,"Show only flights":`Näytä vain lennot`,"Add departure segment":`Lisää lähtösegmentti`,"Add arrival segment":`Lisää saapumissegmentti`,Arrival:`Saapuminen`,Departure:`Lähtö`,"Delete arrival and departure":`Poista saapuminen ja lähtö`,"Add arrival and departure":`Lisää saapuminen ja lähtö`,"{{number}}. Travel":`{{number}}. Matka`,"Complete Payment":`Täydennä maksu`,"Please click on the button to finalise the payment!":`Ole hyvä ja klikkaa painiketta suorittaaksesi maksun!`,Pay:`Maksa`,"Invoice send":`Lasku lähetetty`,"The invoice has been sent to you, please check your emails!":`Lasku on lähetetty sinulle, tarkista sähköpostisi!`,"The order was already paid!":`Tilaus on jo maksettu!`,"An email with an invitation has been sent to you.":`Sinulle on lähetetty kutsun sisältävä sähköposti.`,"An email with your personal registration link has been sent to you.":`Sinulle on lähetetty sähköpostiviesti, jossa on henkilökohtainen rekisteröintilinkki.`,"Welcome back!":`Tervetuloa takaisin!`,"Field cannot contain one of the following values: {{value}}":`Kenttä ei voi sisältää mitään seuraavista arvoista: {{value}}`,"Deposit in percent":`Talletus prosentteina`,"Protected registration":`Suojattu rekisteröinti`,"Please type in your code":`Syötä koodisi`,"Cancellation confirmed":`Peruutus vahvistettu`,"Registration confirmed":`Rekisteröinti vahvistettu`,"Declination confirmed":`Hylkääminen vahvistettu`,"Changes confirmed":`Muutokset vahvistettu`,"Replacement nomination received":`Korvaava nimitys vastaanotettu`,"Thank you for letting us know that unfortunately you will not be able to attend after all.":`Kiitos, että ilmoitit meille, ettet valitettavasti sittenkään pääse osallistumaan.`,"Thank you for letting us know that you are unable to attend.":`Kiitos, että ilmoitit meille, ettet valitettavasti pysty osallistumaan.`,"We will send an invitation to your representative.":`Lähetämme kutsun edustajallenne.`,"Your changes will now be reflected in the system.":`Muutoksesi näkyy nyt järjestelmässä.`,"Field has minimum {{count}} values_one":`Kentällä on vähintään yksi arvo`,"Field has minimum {{count}} values_other":`Kentällä on oltava vähintään {{count}} arvoa`,"Field has maximum {{count}} values_one":`Kentällä on enintään yksi arvo`,"Field has maximum {{count}} values_other":`Kentällä on enintään {{count}} arvoa`,"Field is not updatable":`Kenttää ei voi päivittää`,"Field {{name}} must not contain {{value}}":`Kenttä {{name}} ei saa sisältää {{value}}`,"Field {{name}} must contain {{value}}":`Kentän {{name}} on sisällettävä {{value}}`,"Field must not have value {{value}}":`Kentällä ei saa olla arvoa {{value}}`,"Field has maximum {{count}} characters_one":`Kentässä on enintään yksi merkki`,"Field has maximum {{count}} characters_other":`Kentällä saa olla enintään {{count}} merkkiä`,"Field has minimum {{count}} characters_one":`Kentässä on vähintään yksi merkki`,"Field has minimum {{count}} characters_other":`Kentällä on oltava vähintään {{count}} merkkiä`,"Field must have value {{value}}":`Kentällä on oltava arvo {{value}}`,"Nominate replacement":`Ehdota kollegaa`,"Replacement successful nominated":`Kollega onnistuneesti ehdotettu`,"Allowed file types: image, video, PDF, office (word/excel etc.), font":`Sallitut tiedostotyypit: kuva, video, PDF, office (word/excel jne.), font`,"Download file":`Lataa tiedosto`,"Remove file":`Poista tiedosto`,"Maximum amount of {{companions}} already added":`Enimmäismäärä {{companions}} lisätty`,"{{companion}} is already registered":`{{companions}} on jo rekisteröity`,"{{ currentCount }} of {{ maxCount }}":`{{ currentCount }} of {{ maxCount }}`,"Update {{companion}}":`Päivitä {{companion}}`,"Invalid phone number":`Toimimaton puhelinnumero`,"This field may not exceed 20 characters":`Max. 20 merkkiä`,"This field may not exceed 181 characters":`Max. 181 merkkiä`,"Invalid URL format":`Toimimaton URL-muoto`,"Remove {{companion}}":`Poista {{companion}}`,"Edit {{companion}}":`Muokkaa {{companion}}`,"Submit {{companion}}":`Tallenna {{companion}}`,"No {{companions}}":`Ei {{companions}}`,"Add {{companion}}":`Lisää {{companion}}`,"The Shop module is not configured correctly.":`Ostosmoduulia ei ole konfiguroitu oikein.`,"In order to retrieve data it is necessary to specify the country of the invoice recipient as well as company information if available.":`Palautteeksesi tiedot tulee määritellä laskun saajien maa ja lisäksi organisaation tiedot, mikäli mahdollista.`,"Try again":`Yritä uudelleen`,"Your payment could not be completed successfully.":`Maksuasi ei voitu suorittaa loppuun onnistuneesti.`,"Your payment is being processed...":`Maksuasi käsitellään...`,"Total: {{total}}":`Yhteensä: {{total}}`,Item:`Kappale`,Net:`Netto`,"Gross / VAT":`Brutto / ALV`,Total:`Yhteensä`,"Including {{percent}}% VAT":`Sisältäen {{percent}}% ALV`,"Use this payment provider":`Käytä tätä maksutapaa`,"Payment provider":`Maksutapa`,Shop:`Kauppa`,"Increase amount of {{item}}":`Lisää määrää {{item}}`,"Decrease amount of {{item}}":`Vähennä määrää {{item}}`,"Field must contain one of the following values: {{value}}
4027":`Kentän tulee sisältää yksi seuraavista arvoista: {{value}}`,"Field has minimum value of {{value}}":`Kentällä on minimiarvo {{value}}`,"Field has maximum value of {{value}}":`Kentällä on maksimiarvo {{value}}`,"registration.cancel":`Peru`,"registration.register":`Rekisteröi`,Cancellation:`Peruminen`,"Cancellation successful":`Peruminen onnistui`,"An error has occurred":`Error ilmaantui`,"registration.decline":`Hylkää`,Declination:`Hylkäys`,"Declination successful":`Hylkäys onnistui`,"registration.update":`Päivitä ilmoittautuminen`,"Your registration was updated.":`Ilmoittautumisesi päivitettiin.`,Contact:`Ota yhteyttä`,"This registration is only accessible through a personal invitation.":`Tämä ilmoittautuminen on mahdollista vain henkilökohtaisen kutsun kautta.`,"Private registration":`Yksityinen ilmoittautuminen`,"Closed registration":`Suljettu ilmoittautuminen`,"This registration is closed.":`Tämä ilmoittautuminen on suljettu.`,URL:`URL`,Disagree:`Er mieltä`,Agree:`Samaa mieltä`,"Registration Preview":`Ilmoittautumisen esikatselu`,"The preview ignores all conditions and cannot be submitted":`Ehdot tulee hyväksyä ennen lähetystä`,"No registration steps found":`Ilmoittautumistapahtumia ei löytynyt`,Registration:`Ilmoittautuminen`,"Your registration was successful.":`Ilmoittautuminen onnistui.`,"You were placed on the waiting list.":`Olet jonotuslistalla.`,Summary:`Yhteenveto`,"registration.submit":`Toimita`},xKe={"Please complete the data of all {{companions}}":`Veuillez compléter les données de tous les {{companions}}`,"The quota has already been reached for at least one of the nights. A request is still possible, but availability cannot be guaranteed.":`Le quota est déjà atteint pour au moins l'une des nuits. Il est toujours possible d'envoyer une demande, mais la disponibilité ne peut être garantie.`,Booking:`Réservation`,"The earliest departure must be before the latest arrival.":`Le départ le plus tôt doit être antérieur à la dernière arrivée.`,"The email must be a valid email address.":`L'e-mail doit être une adresse e-mail valide.`,"Your flight information has been filled out automatically. Please verify that the details are correct.":`Les informations de votre vol ont été remplies automatiquement. Veuillez vérifier que les détails sont corrects.`,"Provide flight number and departure date to obtain flight information.":`Indiquez le numéro de vol et la date de départ pour obtenir les informations de vol.`,"Autofill flight information":`Remplir automatiquement les informations de vol`,"A route for the flight could not be found.":`Aucun itinéraire n'a pu être trouvé pour le vol.`,"Start date":`Date de début`,"Return to the registration":`Retourner à l'inscription`,"Your payment has been cancelled or did expire. You can return to the registration and try again.":`Votre paiement a été annulé ou a expiré. Vous pouvez retourner à l'inscription et réessayer.`,"We're sorry, but an error occurred during your payment. Unfortunately, we cannot process your payment at this time.":`Nous sommes désolés, mais une erreur s'est produite lors de votre paiement. Malheureusement, nous ne pouvons pas traiter votre paiement pour le moment.`,"The shop is currently not fully configured. Please contact an administrator.":`La boutique n'est pas encore entièrement configurée. Veuillez contacter un administrateur.`,"Total refunds":`Total des restitutions`,"Already refunded":`Déjà remboursé`,"Already refunded:":`Déjà remboursé :`,"Cancellation Summary":`Résumé de l'annulation`,"Accept cancellation conditions":`Accepter les conditions d'annulation`,"To be paid later":`A payer ultérieurement`,FINAL_PAYMENT:`Paiement final`,DEPOSIT_PAYMENT:`Versement d'un acompte`,"Refunded on {{date}}":`Remboursé le {{date}}`,"Paid on {{date}}":`Payé le {{date}}`,"Due on {{date}}":`Ãchéance le {{date}}`,"Cancellation conditions":`Conditions d'annulation`,"{{amountInPercent}}% of the purchase price":`{{amountInPercent}}% du prix d'achat`,"Cancellation fee":`Frais d'annulation`,"No cancellation conditions available.":`Aucune condition d'annulation disponible.`,"The cancellation conditions are listed below. The applicable deadlines and fees can be found in the table.":`Les conditions d'annulation sont listées ci-dessous. Les délais et frais applicables se trouvent dans le tableau.`,"Refunded amount:":`Montant remboursé:`,Paid:`Payé`,"Payment Summary":`Résumé des paiements`,"To be paid":`A payer`,"To be refunded":`A rembourser`,"Already processed":`Déjà traité`,"Payment Details":`Modalités de paiement`,"Remaining Balance: {{amountInPercent}}%":`Solde restant : {{amountInPercent}}%`,"Deposit paid:":`Caution versée :`,"Full payment":`Paiement intégral`,"Refund amount:":`Montant du remboursement :`,"Click here for cancellation conditions.":`Cliquez ici pour les conditions d'annulation.`,"Already paid:":`Déjà payé :`,"Submit and pay":`Soumettre et payer`,"To be paid now:":`A payer dès maintenant :`,"To be paid on {{date}}:":`à payer le {{date}} :`,"Item amount<sup>{{ taxDisclaimer }}</sup>:":`Montant de l'article<sup>{{ taxDisclaimer }}</sup> :`,"Cancellation fee applied":`Frais d'annulation appliqués`,"Deposit: {{amountInPercent}}%":`Dépôt : {{amountInPercent}}%`,"<sup>{{taxDisclaimer}}</sup> includes {{percent}}% VAT":`<sup>{{taxDisclaimer}}</sup> inclut {{percent}}% de TVA`,"Pay later:":`Payer plus tard :`,"Pay now:":`Payez maintenant :`,"To be refunded:":`A rembourser :`,"Transactions cannot be offset. The refund will be processed separately.":`Les transactions ne peuvent pas être c
4027ompensées. Le remboursement sera traité séparément.`,"incl. {{percent}}% VAT:":`TVA incluse {{percent}}% :`,"Please select a region so that we can display the appropriate information.":`Veuillez sélectionner une région afin que nous puissions afficher les informations appropriées.`,"Select your region":`Sélectionnez votre région`,"Please specify a valid number":`Veuillez indiquer un numéro valide`,"e.g. late arrival at XX o'clock / parking slot required etc.":`par ex. arrivée tardive à XX h / parking nécessaire, etc.`,"This information is voluntary and is used to provide information for the hotel. Please do not enter any health related information.":`Ces informations sont facultatives et servent à informer lâhôtel. Veuillez ne pas saisir dâinformations liées à la santé.`,"Please make sure that the person named is aware of your information.":`Veuillez vous assurer que la personne nommée est informée de vos données.`,from:`à partir de`,"I want to add another person to my stay":`Je veux ajouter une autre personne à mon séjour`,"The additional person field must be filled.":`Le champ personne supplémentaire doit être rempli.`,"Additional person":`Personne supplémentaire`,"This inquiry has already been processed. You may only request changes or cancellation of this stay.":`Cette demande a déjà été traitée. Vous ne pouvez demander que des modifications ou l'annulation de ce séjour.`,"Status: Inquiry":`Statut : Enquête`,"Status: Cancellation requested":`Statut : Annulation demandée`,"Status: Processed":`Statut : Traité`,"Request changes":`Demande de modifications`,"Open website":`Ouvrir le site web`,"Revoke cancellation":`Annuler l'annulation`,"Select room":`Choisir une chambre`,"Select hotel":`Hôtel Select`,"The selected hotel rooms are no longer available for booking.":`Les chambres d'hôtel sélectionnées ne sont plus disponibles à la réservation.`,"Cancellation requested":`Annulation demandée`,"Request cancellation":`Demande d'annulation`,"Are you sure you want to request a cancellation of this hotel stay?":`Ãtes-vous sûr de vouloir demander l'annulation de votre séjour à l'hôtel ?`,"No hotel stays have been selected.":`Aucun séjour hôtelier n'a été sélectionné.`,"Requested check-in":`Arrivée souhaitée`,"Requested check-out":`Départ souhaité`,"Requested hotel":`Hôtel souhaité`,"Requested room":`Chambre souhaitée`,"Requested nights":`Nuits demandées`,"Total price":`Prix total`,"The Check-in and check-out field must not overlap with other stays.":`Le champ Arrivée et Départ est ne doivent pas se chevaucher avec d'autres séjours.`,"Delete inquiry":`Supprimer la demande`,"{{number}}. Inquiry":`{{number}}. Demande`,"Add inquiry":`Ajouter une demande`,"At least {{count}} hotel stays must be specified._one":`Au moins un séjour à l'hôtel doit être spécifié.`,"At least {{count}} hotel stays must be specified._other":`Au moins {{count}} séjours à l'hôtel doivent être spécifiés.`,"More information":`Plus d'informations`,"Hotel stays":`Séjours à l'hôtel`,"Remarks for stay":`Remarques concernant le séjour`,"A maximum of {{count}} nights can be booked._one":`Un maximum d'une nuit peut être réservé.`,"A maximum of {{count}} nights can be booked._other":`Un maximum de {{count}} nuits peuvent être réservées.`,"A room must be selected.":`Une chambre doit être sélectionnée.`,"A hotel must be selected.":`Un hôtel doit être sélectionné.`,"The Check-in and check-out field is required.":`Le champ Arrivée et Départ est obligatoire.`,"You can only assign a maximum of {{count}} hotel stays._one":`Vous ne pouvez attribuer qu'un seul séjour à l'hôtel.`,"You can only assign a maximum of {{count}} hotel stays._other":`Vous ne pouvez attribuer qu'un maximum de {{count}} séjours à l'hôtel.`,"Delete booking":`Supprimer la réservation`,Room:`Chambre`,"No hotels found for the given check-in and check-out date.":`Aucun hôtel trouvé pour les dates d'arrivée et de départ indiquées.`,"per Night":`par nuit`,"{{count}} Persons_one":`1 Personne`,"{{count}} Persons_other":`{{count}} Personnes`,"{{number}}. Booking":`{{number}}. Réservation`,"No hotel stay added yet.":`Aucun séjour à l'hôtel ajouté pour le moment.`,"Add booking":`Ajouter une réservation`,"The value entered does not match the expected format.":`La valeur saisie ne correspond pas au format attendu.`,"This field must not contain https, http or www.":`Ce champ ne doit pas contenir https, http ou www.`,Tickets:`Tickets`,Media:`Media`,News:`News`,"SPECIAL PRIZES":`SPECIAL PRIZES {{year}}`,"CLASS WINNERS":`CLASS WINNERS {{year}}`,"ENTRANTS & WINNERS":`ENTRANTS & WINNERS`,by:`by`,Engine:`Engine`,Coachwork:`Coachwork`,Entrant:`Entrant`,"load more":`load more`,"You can also use the filter to get the wanted class.":`You can also use the filter to get the wanted class.`,"ALL ENTRANTS":`ALL ENTRANTS {{ year }}`,"Click at the vehicle of your choice to see more information.":`Click at the vehicle of your choice to see more information.`,Newsletter:`Newsletter`,"Successfully subscribed to the newsletter.":`Successfully subscribed to the newsletter.`,termsAndConditions:`Yes, I would like to receive the newsletter of <legalNotice>BMW AG</legalNotice> at my e-mail address until I revoke such consent. I consent to BMW AG collecting opening and click rates to evaluate and optimize its newsletter service. 4028You can revoke your consent at any time with effect for the future. You can find more information about our processing of your data in our <privacyNotice>privacy notice</privacyNotice>`,"The final payment process is not yet active":`Le processus de paiement final n'est pas encore actif.`,"Show only shuttles":`Navettes réservées aux spectacles`,"You need min. {{count}} {{companionType}}_other":`Vous avez besoin d'au moins {{count}} {{companionType}}`,"You need min. {{count}} {{companionType}}_one":`Vous avez besoin d'au moins {{count}} {{companionType}}`,"Check-in date must be after {{date}}.":`La date d'arrivée doit être après le {{date}}.`,"Check-out date must be before {{date}}.":`La date de départ doit être avant le {{date}}.`,Hotel:`Hôtel`,"Check-in date must be before check-out date.":`La date d'arrivée doit être avant la date de départ.`,"Self travel":`Voyage en autonomie`,"Edit self travel":`Modifier l'auto-voyage`,"You have to provide a departure.":`Vous devez fournir un départ.`,"You have to provide an arrival.":`Vous devez fournir une arrivée.`,"Further options":`Autres options`,"No travel templates found.":`Aucun modèle de voyage n'a été trouvé.`,"Travel templates":`Modèles de voyage`,Time:`Heure`,"Shopping is disabled because you are registered already.":`Les achats sont désactivés parce que vous êtes déjà enregistré.`,"This field must be an integer":`Ce champ doit être un nombre entier`,Amount:`Quantité`,"No contingent is available for a travel segment!":`Aucun contingent n'est disponible pour un segment de voyage!`,"There is no contingent available for this tenant wave combination.":`Aucun contingent disponible!`,"Travel type":`Type de voyage`,"Create travel segment":`Créer un segment de voyage`,"Create new travel segment":`Créer un nouveau segment de voyage`,"Arrival station":`Gare d'arrivée`,"Departure station":`Gare de départ`,"Arrival airport":`Aéroport d'arrivée`,"Departure airport":`Aéroport de départ`,"Departure time":`Heure de départ`,"Departure date":`Date de départ`,"Arrival time":`Heure d'arrivée`,"Arrival date":`Date d'arrivée`,"Create flight inquiry":`Créer une demande de vol`,"Create train inquiry":`Créer une demande de réservation de train`,"Earliest departure":`Départ le plus tôt`,"Latest arrival":`Arrivée la plus tardive`,"Edit inquiry":`Modifier la demande`,Inquiry:`Demande`,Remarks:`Remarques`,"Arrival location":`Lieu d'arrivée`,"Departure location":`Lieu de départ`,"Latest arrival time":`Heure d'arrivée au plus tard`,"Latest arrival date":`Date d'arrivée au plus tard`,"Earliest departure time":`Heure de départ au plus tôt`,"Earliest departure date":`Date de départ au plus tôt`,"I would like to make a travel inquiry":`Je souhaite faire une demande de voyage`,"I organize my travel on my own":`J'organise moi-même mes voyages`,"You need to have at least {{count}} travels._other":`Vous devez avoir au moins {{count}} voyages`,"You need to have at least {{count}} travels._one":`Vous devez avoir au moins un voyage`,"You can only assign a maximum of {{count}} travels._other":`Vous ne pouvez attribuer qu'un maximum de {{count}} voyages.`,"You can only assign a maximum of {{count}} travels._one":`Vous ne pouvez attribuer qu'un seul voyage au maximum.`,"{{count}} of {{max}}":`{{count}} de {{max}}`,"Travel planning":`Planification des déplacements`,"No travel segments have been added yet.":`Aucun segment de voyage n'a encore été ajouté.`,"Service class":`Classe de service`,"Charging station":`Station de recharge`,"Parking spot":`Place de parking`,"License plate":`Plaque d'immatriculation`,"Train number":`Numéro de train`,"Flight number":`numéro de vol`,"No travel available.":`Pas de voyage disponible.`,shuttle:`Navette`,train:`Train`,car:`Voiture`,flight:`Vol`,"Travel segments":`Segments de voyage`,"No travel segments found.":`Aucun segment de voyage n'a été trouvé.`,"Remove travel segment from selection":`Supprimer le segment de voyage de la sélection`,"Selected travel segments":`Segments de voyage sélectionnés`,"Show only cars":`Afficher uniquement les voitures`,"Show only trains":`Afficher uniquement les trains`,"Show only flights":`Afficher uniquement les vols`,"Add departure segment":`Ajouter un segment de départ`,"Add arrival segment":`Ajouter un segment d'arrivée`,Arrival:`Arrivée`,Departure:`Départ`,"Delete arrival and departure":`Supprimer l'arrivée et le départ`,"Add arrival and departure":`Ajouter une arrivée et un départ`,"{{number}}. Travel":`{{number}}. Voyage`,"Complete Payment":`Paiement complet`,"Please click on the button to finalise the payment!":`Veuillez cliquer sur le bouton pour finaliser le paiement !`,Pay:`Payer`,"Invoice send":`Facture envoyée`,"The invoice has been sent to you, please check your emails!":`La facture vous a été envoyée, veuillez vérifier vos e-mails !`,"The order was already paid!":`La commande a déjà été payée !`,"An email with an invitation has been sent to you.":`Un e-mail contenant une invitation vous a été envoyé.`,"An email with your personal registration link has been sent to you.":`Un courriel contenant votre lien d'inscription personnel vous a été envoyé.`,"Welcome back!":`Nous vous souhaitons la bienvenue!`,"Field cannot contain one of the following values: {{value}}":`Le champ ne peut pas contenir l'une des valeurs suivantes : {{value}}`,"Deposit in percent":`Dépôt en pourcentage`,"Protected registration":`Enregistrement protégé`,"Please type in your code":`Veuillez saisir votre code`,"Cancellation confirmed":`Annulation confirmée`,"Registration confirmed":`Enregistrement confirmé`,"Declination confirmed":`Refus confirmé`,"Changes confirmed":`Modifications confirmées`,"Replacement nomination received":`Nomination de remplacement reçue`,"Thank you for letting us know that unfortunately you will not be able to attend after all.":`Merci de nous avoir fait savoir que vous ne pourrez malheureusement pas être présent`,"Thank you for letting us know that you are unable to attend.":`Merci de nous avoir fait savoir que vous ne pouviez pas participer`,"We will send an invitation to your representative.":`Nous enverrons une invitation à votre représentant`,"Your changes will now be reflected in the system.":`Vos modifications seront maintenant prises en compte dans le système`,"Field has minimum {{count}} values_one":`Le champ a au moins une valeur`,"Field has minimum {{count}} values_other":`Le champ a au moins {{count}} valeurs`,"Field has maximum {{count}} values_one":`Le champ a une valeur maximale`,"Field has maximum {{count}} values_other":`Le champ a un maximum de {{count}} valeurs`,"Field is not updatable":`Le champ n'est pas actualisable`,"Field {{name}} must not contain {{value}}":`Le champ {{name}} doit contenir {{value}}`,"Field {{name}} must contain {{value}}":`Le champ {{name}} doit contenir {{value}}`,"Field must not have value {{value}}":`Le champ ne doit pas avoir la valeur {{value}}`,"Field has maximum {{count}} characters_one":`Le champ ne comporte qu'un seul caractère`,"Field has maximum {{count}} characters_other":`Le champ a un maximum de {{count}} caractères`,"Field has minimum {{count}} characters_one":`Le champ a un caractère minimum`,"Field has minimum {{count}} characters_other":`Le champ a un minimum de {{count}} caractères`,"Field must have value {{value}}":`Le champ doit avoir la valeur {{value}}`,"Nominate replacement":`Nominer un remplaçant`,"Replacement successful nominated":`Remplacement réussi proposé`,"Allowed file types: image, video, PDF, office (word/excel etc.), font":`Types de fichiers autorisés : image, vidéo, PDF, office (word/excel etc.), police`,"Download file":`Télécharger le fichier`,"Remove file":`Supprimer le fichier`,"Maximum amount of {{companions}} already added":`Nombre maximum {{companions}} déjà ajoutés`,"{{companion}} is already registered":`{{companion}} est déjà enregistré`,"{{ currentCount }} of {{ maxCount }}":`{{ currentCount }} sur {{ maxCount }}`,"Update {{companion}}":`Mettre à jour {{companion}}`,"Invalid phone number":`Numéro de téléphone invalide`,"This field may not exceed 20 characters":`Ce champ ne peut pas dépasser 20 caractères`,"This field may not exceed 181 characters":`Ce champ ne peut pas dépasser 181 caractères`,"Invalid URL format":`Format d'URL invali
4028de`,"Remove {{companion}}":`Supprimer {{companion}}`,"Edit {{companion}}":`Modifier {{companion}}`,"Submit {{companion}}":`Soumettre {{companion}}`,"No {{companions}}":`Aucun {{companions}}`,"Add {{companion}}":`Ajouter un {{companion}}`,"The Shop module is not configured correctly.":`Le module Boutique n'est pas correctement configuré.`,"In order to retrieve data it is necessary to specify the country of the invoice recipient as well as company information if available.":`Pour récupérer les données, il est nécessaire de spécifier le pays du destinataire de la facture ainsi que les informations de l'entreprise si elles sont disponibles.`,"Try again":`Réessayer`,"Your payment could not be completed successfully.":`Votre paiement n'a pas pu être effectué avec succès.`,"Your payment is being processed...":`Votre paiement est en cours de traitement...`,"Total: {{total}}":`Total : {{total}}`,Item:`Article`,Net:`Net`,"Gross / VAT":`Brut / TVA`,Total:`Total`,"Including {{percent}}% VAT":`Incluant {{percent}}% de TVA`,"Use this payment provider":`Utiliser ce fournisseur de paiement`,"Payment provider":`Fournisseur de paiement`,Shop:`Boutique`,"Increase amount of {{item}}":`Augmenter la quantité de {{item}}`,"Decrease amount of {{item}}":`Diminuer la quantité de {{item}}`,"Field must contain one of the following values: {{value}}":`Le champ doit contenir l'une des valeurs suivantes : {{value}}`,"Field has minimum value of {{value}}":`Le champ a une valeur minimale de {{value}}`,"Field has maximum value of {{value}}":`Le champ a une valeur maximale de {{value}}`,"registration.cancel":`Annuler`,"registration.register":`S'inscrire`,Cancellation:`Annulation`,"Cancellation successful":`Annulation réussie`,"An error has occurred":`Une erreur est survenue`,"registration.decline":`Refuser`,Declination:`Refus`,"Declination successful":`Refus réussi`,"registration.update":`Mettre à jour l'inscription`,"Your registration was updated.":`Votre inscription a été mise à jour.`,Contact:`Contact`,"This registration is only accessible through a personal invitation.":`Cette inscription n'est accessible que par le biais d'une invitation personnelle.`,"Private registration":`Inscription privée`,"Closed registration":`Inscription fermée`,"This registration is closed.":`Cette inscription est fermée.`,URL:`URL`,Disagree:`Je ne suis pas d'accord`,Agree:`Je suis d'accord`,"Registration Preview":`Aperçu de l'inscription`,"The preview ignores all conditions and cannot be submitted":`L'aperçu ignore toutes les conditions et ne peut pas être soumis`,"No registration steps found":`Aucune étape d'inscription trouvée`,Registration:`Inscription`,"Your registration was successful.":`Votre inscription a été réussie.`,"You were placed on the waiting list.":`Vous avez été placé sur liste d'attente.`,Summary:`Résumé`,"registration.submit":`Envoyer`},SKe={"Please complete the data of all {{companions}}":`Si prega di completare i dati di tutti gli {{companions}}`,"The quota has already been reached for at least one of the nights. A request is still possible, but availability cannot be guaranteed.":`La quota è già stata raggiunta per almeno una delle notti. à ancora possibile effettuare una richiesta, ma la disponibilità non può essere garantita.`,Booking:`Prenotazione`,"The earliest departure must be before the latest arrival.":`La partenza più anticipata deve essere precedente all'arrivo più tardivo.`,"The email must be a valid email address.":`L'email deve essere un indirizzo email valido.`,"Your flight information has been filled out automatically. Please verify that the details are correct.":`Le informazioni del volo sono state compilate automaticamente. Verificare che i dettagli siano corretti.`,"Provide flight number and departure date to obtain flight information.":`Fornire il numero del volo e la data di partenza per ottenere le informazioni sul volo.`,"Autofill flight information":`Compilazione automatica informazioni volo`,"A route for the flight could not be found.":`Non è stato possibile trovare una rotta per il volo.`,"Start date":`Data di inizio`,"Return to the registration":`Torna alla registrazione`,"Your payment has been cancelled or did expire. You can return to the registration and try again.":`Il tuo pagamento è stato annullato o è scaduto. Puoi tornare alla registrazione e riprovare.`,"We're sorry, but an error occurred during your payment. Unfortunately, we cannot process your payment at this time.":`Siamo spiacenti, ma si è verificato un errore durante il pagamento. Al momento non possiamo elaborare il tuo pagamento.`,"The shop is currently not fully configured. Please contact an administrator.":`Il negozio non è attualmente completamente configurato. Si prega di contattare un amministratore.`,"Total refunds":`Totale rimborsi`,"Already refunded":`Già rimborsato`,"Already refunded:":`Già rimborsato:`,"Cancellation Summary":`Riepilogo delle cancellazioni`,"Accept c
4028ancellation conditions":`Accettare le condizioni di cancellazione`,"To be paid later":`Da pagare in seguito`,FINAL_PAYMENT:`Pagamento finale`,DEPOSIT_PAYMENT:`Pagamento del deposito`,"Refunded on {{date}}":`Rifinanziato il {{data}}`,"Paid on {{date}}":`Pagato il {{data}}`,"Due on {{date}}":`In scadenza il {{data}}`,"Cancellation conditions":`Condizioni di cancellazione`,"{{amountInPercent}}% of the purchase price":`{{amountInPercent}}% del prezzo d'acquisto`,"Cancellation fee":`Tassa di cancellazione`,"No cancellation conditions available.":`Nessuna condizione di cancellazione disponibile.`,"The cancellation conditions are listed below. The applicable deadlines and fees can be found in the table.":`Le condizioni di cancellazione sono elencate di seguito. Le scadenze e le tariffe applicabili si trovano nella tabella.`,"Refunded amount:":`Importo rimborsato:`,Paid:`Pagato`,"Payment Summary":`Riepilogo dei pagamenti`,"To be paid":`Da pagare`,"To be refunded":`Da rimborsare`,"Already processed":`Già elaborato`,"Payment Details":`Dettagli sul pagamento`,"Remaining Balance: {{amountInPercent}}%":`Saldo rimanente: {{taxDisclaimer}}%`,"Deposit paid:":`Deposito pagato:`,"Full payment":`Pagamento completo`,"Refund amount:":`Importo del rimborso:`,"Click here for cancellation conditions.":`Fare clic qui per le condizioni di cancellazione.`,"Already paid:":`Già pagato:`,"Submit and pay":`Invia e paga`,"To be paid now:":`Da pagare subito:`,"To be paid on {{date}}:":`Da pagare il {{date}}:`,"Item amount<sup>{{ taxDisclaimer }}</sup>:":`Importo dell'articolo<sup>{{ taxDisclaimer }}</sup>:`,"Cancellation fee applied":`Tassa di cancellazione applicata`,"Deposit: {{amountInPercent}}%":`Deposito: {{amountInPercent}}%`,"<sup>{{taxDisclaimer}}</sup> includes {{percent}}% VAT":`<sup>{{taxDisclaimer}}</sup> include {{percent}}% di IVA`,"Pay later:":`Pagare più tardi:`,"Pay now:":`Pagate ora:`,"To be refunded:":`Da rimborsare:`,"Transactions cannot be offset. The refund will be processed separately.":`Le transazioni non possono essere compensate. Il rimborso verrà elaborato separatamente.`,"incl. {{percent}}% VAT:":`incl. {{percent}}% di IVA:`,"Please select a region so that we can display the appropriate information.":`Seleziona una regione in modo da poter visualizzare le informazioni appropriate.`,"Select your region":`Seleziona la tua regione`,"Please specify a valid number":`Si prega di specificare un numero valido`,"e.g. late arrival at XX o'clock / parking slot required etc.":`ad es. arrivo tardivo alle XX / parcheggio richiesto, ecc.`,"This information is voluntary and is used to provide information for the hotel. Please do not enter any health related information.":`Queste informazioni sono facoltative e servono a fornire dati allâhotel. Si prega di non inserire informazioni sanitarie.`,"Please make sure that the person named is aware of your information.":`Assicurati che la persona indicata sia a conoscenza delle tue informazioni.`,from:`da`,"I want to add another person to my stay":`Voglio aggiungere un'altra persona al mio soggiorno`,"The additional person field must be filled.":`Il campo persona aggiuntiva deve essere compilato.`,"Additional person":`Persona aggiuntiva`,"This inquiry has already been processed. You may only request changes or cancellation of this stay.":`Questa richiesta è già stata elaborata. à possibile richiedere solo la modifica o la cancellazione di questo soggiorno.`,"Status: Inquiry":`Stato: Richiesta di informazioni`,"Status: Cancellation requested":`Stato: Richiesta di cancellazione`,"Status: Processed":`Stato: Elaborato`,"Request changes":`Richiesta di modifiche`,"Open website":`Aprire il sito web`,"Revoke cancellation":`Annulla cancellazione`,"Select room":`Selezionare la camera`,"Select hotel":`Selezionare l'hotel`,"The selected hotel rooms are no longer available for booking.":`Le camere d'albergo selezionate non sono più disponibili per la prenotazione.`,"Cancellation requested":`Richiesta di cancellazione`,"Request cancellation":`Richiesta di cancellazione`,"Are you sure you want to request a cancellation of this hotel stay?"
4028:`Sei sicuro di voler richiedere la cancellazione di questo soggiorno in hotel?`,"No hotel stays have been selected.":`Nessun soggiorno in hotel selezionato.`,"Requested check-in":`Check-in desiderato`,"Requested check-out":`Check-out desiderato`,"Requested hotel":`Hotel desiderato`,"Requested room":`Camera desiderata`,"Requested nights":`Notti richieste`,"Total price":`Prezzo totale`,"The Check-in and check-out field must not overlap with other stays.":`Il campo Check-in e check-out non deve sovrapporsi ad altri soggiorni.`,"Delete inquiry":`Elimina richiesta`,"{{number}}. Inquiry":`{{number}}. Richiesta`,"Add inquiry":`Aggiungi richiesta`,"At least {{count}} hotel stays must be specified._one":`à necessario specificare almeno un soggiorno in hotel.`,"At least {{count}} hotel stays must be specified._other":`à necessario specificare almeno {{count}} soggiorni in hotel.`,"More information":`Ulteriori informazioni`,"Hotel stays":`Soggiorni in hotel`,"Remarks for stay":`Note per il soggiorno`,"A maximum of {{count}} nights can be booked._one":`à possibile prenotare al massimo una notte.`,"A maximum of {{count}} nights can be booked._other":`à possibile prenotare al massimo {{count}} notti.`,"A room must be selected.":`à necessario selezionare una camera.`,"A hotel must be selected.":`à necessario selezionare un hotel.`,"The Check-in and check-out field is required.":`I campi Check-in e Check-out sono obbligatori.`,"You can only assign a maximum of {{count}} hotel stays._one":`à possibile assegnare al massimo un soggiorno in hotel.`,"You can only assign a maximum of {{count}} hotel stays._other":`à possibile assegnare al massimo {{count}} soggiorni in hotel.`,"Delete booking":`Elimina prenotazione`,Room:`Camera`,"No hotels found for the given check-in and check-out date.":`Nessun hotel trovato per le date di check-in e check-out selezionate.`,"per Night":`per Notte`,"{{count}} Persons_one":`1 Persona`,"{{count}} Persons_other":`{{count}} Persone`,"{{number}}. Booking":`{{number}}. Prenotazione`,"No hotel stay added yet.":`Nessun soggiorno in hotel aggiunto al momento.`,"Add booking":`Aggiungi prenotazione`,"The value entered does not match the expected format.":`Il valore inserito non corrisponde al formato previsto.`,"This field must not contain https, http or www.":`Questo campo non deve contenere https, http o www.`,Tickets:`Biglietti`,Media:`Stampa`,News:`Notizie`,"SPECIAL PRIZES":`PREMI SPECIALI {{year}}`,"CLASS WINNERS":`VINCITORI DI CLASSE {{year}}`,"ENTRANTS & WINNERS":`PARTECIPANTI E VINCITORI`,by:`da`,Engine:`Motore`,Coachwork:`Carrozzeria`,Entrant:`Entrant`,"load more":`caricare di più`,"You can also use the filter to get the wanted class.":`à inoltre possibile utilizzare il filtro per ottenere la classe desiderata.`,"ALL ENTRANTS":`TUTTI GLI ISCRITTI {{ year }}`,"Click at the vehicle of your choice to see more information.":`Fare clic sul veicolo prescelto per visualizzare ulteriori informazioni.`,Newsletter:`Newsletter`,"Successfully subscribed to the newsletter.":`L'iscrizione alla newsletter è avvenuta con successo.`,termsAndConditions:`Yes, I would like to receive the <legalNotice>Concorso dâEleganza Villa dâEste Newsletter</legalNotice> to my e-mail address until further notice. I agree that BMW Group Classic collects opening and click rates to evaluate and optimize its newsletter service. 4029You can withdraw your consent at any time with effect for the future. For more information about how we process your data, please see our <privacyNotice>privacy policy</privacyNotice>.`,"The final payment process is not yet active":`Il processo di pagamento finale non è ancora attivo.`,"Show only shuttles":`Navette per soli spettacoli`,"You need min. {{count}} {{companionType}}_other":`Sono necessari almeno {{count}} {{companionType}}`,"You need min. {{count}} {{companionType}}_one":`à necessario almeno {{count}} {{companionType}}`,"Check-in date must be after {{date}}.":`La data di check-in deve essere successiva a {{date}}.`,"Check-out date must be before {{date}}.":`La data di check-out deve essere precedente a {{date}}.`,Hotel:`Hotel`,"Check-in date must be before check-out date.":`La data di check-in deve essere precedente alla data di check-out.`,"Self travel":`Viaggio in autonomia`,"Edit self travel":`Modifica viaggio in autonomia`,"You have to provide a departure.":`à necessario fornire una partenza.`,"You have to provide an arrival.":`à necessario fornire un arrivo.`,"Further options":`Altre opzioni`,"No travel templates found.":`Nessun modello di viaggio trovato.`,"Travel templates":`Modelli di viaggio`,Time:`Ora`,"Shopping is disabled because you are registered already.":`Lo shopping è disabilitato perché siete già registrati.`,"This field must be an integer":`Questo campo deve essere un numero intero`,Amount:`Quantità `,"No contingent is available for a travel segment!":`Non è disponibile alcun contingente per un segmento di viaggio!`,"There is no contingent available for this tenant wave combination.":`Nessun contingente disponibile!`,"Travel type":`Tipo di viaggio`,"Create travel segment":`Crea segmento di viaggio`,"Create new travel segment":`Crea nuovo segmento di viaggio`,"Arrival station":`Stazione di arrivo`,"Departure station":`Stazione di partenza`,"Arrival airport":`Aeroporto di arrivo`,"Departure airport":`Aeroporto di partenza`,"Departure time":`Orario di partenza`,"Departure date":`Data di partenza`,"Arrival time":`Ora di arrivo`,"Arrival date":`Data di arrivo`,"Create flight inquiry":`Creare una richiesta di volo`,"Create train inquiry":`Creare una richiesta di informazioni sul treno`,"Earliest departure":`Partenza più precoce`,"Latest arrival":`Ultimo arrivo`,"Edit inquiry":`Modifica della richiesta`,Inquiry:`Richiesta`,Remarks:`Osservazioni`,"Arrival location":`Luogo di arrivo`,"Departure location":`Luogo di partenza`,"Latest arrival time":`Ora di arrivo più recente`,"Latest arrival date":`Ultima data di arrivo`,"Earliest departure time":`Orario di partenza più precoce`,"Earliest departure date":`Data di partenza anticipata`,"I would like to make a travel inquiry":`Desidero fare una richiesta di viaggio`,"I organize my travel on my own":`Organizzo i miei viaggi da solo`,"You need to have at least {{count}} travels._other":`Devi avere almeno {{count}} viaggi`,"You need to have at least {{count}} travels._one":`à necessario avere almeno un viaggio`,"You can only assign a maximum of {{count}} travels._other":`à possibile assegnare solo un massimo di {{count}} viaggi`,"You can only assign a maximum of {{count}} travels._one":`Si può assegnare al massimo un viaggio`,"{{count}} of {{max}}":`{{count}} di {{max}}`,"Travel planning":`Pianificazione del viaggio`,"No travel segments have been added yet.":`Non sono ancora stati aggiunti segmenti di viaggio`,"Service class":`Classe di servizio`,"Charging station":`Stazione di ricarica`,"Parking spot":`Punto di parcheggio`,"License plate":`Targa`,"Train number":`Numero di treno`,"Flight number":`Numero di volo`,"No travel available.":`Nessun viaggio disponibile`,shuttle:`Navetta`,train:`Treno`,car:`Auto`,flight:`Volo`,"Travel segments":`Segmenti di viaggio`,"No travel segments found.":`Non sono stati trovati segmenti di viaggio.`,"Remove travel segment from selection":`Rimuovi segmento di viaggio dalla selezione`,"Selected travel segments":`Segmenti di viaggio selezionati`,"Show only cars":`Mostra solo auto`,"Show only trains":`Mostra solo treni`,"Show only flights":`Mostra solo voli`,"Add departure segment":`Aggiungi segmento di partenza`,"Add arrival segment":`Aggiungi segmento di arrivo`,Arrival:`Arrivo`,Departure:`Partenza`,"Delete arrival and departure":`Cancella arrivo e partenza`,"Add arrival and departure":`Aggiungi arrivo e partenza`,"{{number}}. Travel":`{{number}}. Viaggio`,"Complete Payment":`Completa il pagamento`,"Please click on the button to finalise the payment!":`Per favore, clicca sul pulsante per completare il pagamento!`,Pay:`Pagare`,"Invoice send":`Fattura inviata`,"The invoice has been sent to you, please check your emails!":`La fattura è stata inviata a te, per favore controlla le tue email!`,"The order was already paid!":`L'ordine è già stato pagato!`,"An email with an invitation has been sent to you.":`Vi è stata inviata un'e-mail con un invito.`,"An email with your personal registration link has been sent to you.":`Ti è stata inviata un'e-mail con il tuo link di registrazione personale.`,"Welcome back!":`Bentornato!`,"Field cannot contain one of the following values: {{value}}":`Il campo non può contenere uno dei seguenti valori: {{value}}`,"Deposit in percent":`Deposito in percentuale`,"Protected registration":`Registrazione protetta`,"Please type in your code":`Inserisci il tuo codice`,"Cancellation confirmed":`Cancellazione confermata`,"Registration confirmed":`Registrazione confermata`,"Declination confirmed":`Declinazione confermata`,"Changes confirmed":`Modifiche confermate`,"Replacement nomination received":`Ricevuta candidatura sostitutiva`,"Thank you for letting us know that unfortunately you will not be able to attend after all.":`Grazie per averci comunicato che purtroppo non potrà partecipare`,"Thank you for letting us know that you are unable to attend.":`Grazie per averci comunicato la sua impossibilità a partecipare`,"We will send an invitation to your representative.":`Invieremo un invito al suo rappresentante`,"Your changes will now be reflected in the system.":`Le modifiche apportate si rifletteranno ora nel sistema`,"Field has minimum {{count}} values_one":`Il campo ha almeno un valore`,"Field has minimum {{count}} values_other":`Il campo ha almeno {{count}} valori`,"Field has maximum {{count}} values_one":`Il campo ha al massimo un valore`,"Field has maximum {{count}} values_other":`Il campo ha al massimo {{count}} valori`,"Field is not updatable":`Il campo non è aggiornabile`,"Field {{name}} must not contain {{value}}":`Il campo {{name}} non deve contenere {{value}}.`,"Field {{name}} must contain {{value}}":`Il campo {{name}} deve contenere {{value}}`,"Field must not have value {{value}}":`Il campo non deve avere valore {{value}}`,"Field has maximum {{count}} characters_one":`Il campo ha al massimo un carattere`,"Field has maximum {{count}} characters_other":`Il campo ha un massimo di caratteri {{count}}.`,"Field has minimum {{count}} characters_one":`Il campo ha almeno un carattere`,"Field has minimum {{count}} characters_other":`Field has minimum {{count}} characters`,"Field must have value {{value}}":`Il campo ha un minimo di caratteri {{value}}.`,"Nominate replacement":`Nomina un sostituto`,"Replacement successful nominated":`Sostituzione nominata con successo`,"Allowed file types: image, video, PDF, office (word/excel etc.), font":`Tipi di file consentiti: immagine, video, PDF, office (word/excel ecc.), font`,"Download file":`Scarica il file`,"Remove file":`Rimuovere il file`,"Ma
4029ximum amount of {{companions}} already added":`Quantità massima di {{companions}} già aggiunti`,"{{companion}} is already registered":`Il {{companion}} è già registrato`,"{{ currentCount }} of {{ maxCount }}":`{{ currentCount }} di {{ maxCount }}`,"Update {{companion}}":`{{companion}} di aggiornamento`,"Invalid phone number":`Numero di telefono non valido`,"This field may not exceed 20 characters":`Questo campo non può superare i 20 caratteri`,"This field may not exceed 181 characters":`Questo campo non può superare i 181 caratteri`,"Invalid URL format":`Formato URL non valido`,"Remove {{companion}}":`Rimuovere il {{companion}}`,"Edit {{companion}}":`Modifica del {{companion}}`,"Submit {{companion}}":`Invia {{companion}}`,"No {{companions}}":`Nessun {{companion}}`,"Add {{companion}}":`Aggiungi un {{companion}}`,"The Shop module is not configured correctly.":`Il modulo Shop non è configurato correttamente..`,"In order to retrieve data it is necessary to specify the country of the invoice recipient as well as company information if available.":`Per recuperare i dati è necessario specificare il paese del destinatario della fattura e le informazioni sulla società , se disponibili.`,"Try again":`Riprova`,"Your payment could not be completed successfully.":`Non è stato possibile completare il pagamento.`,"Your payment is being processed...":`Il suo pagamento è in fase di elaborazione...`,"Total: {{total}}":`Totale: {{total}}`,Item:`Articolo`,Net:`Netto`,"Gross / VAT":`Lordo / IVA`,Total:`Totale`,"Including {{percent}}% VAT":`Incluso {{percent}}% di IVA`,"Use this payment provider":`Utilizzate questo fornitore di pagamenti`,"Payment provider":`Fornitore di servizi di pagamento`,Shop:`Negozio`,"Increase amount of {{item}}":`Aumenta la quantità di {{item}}`,"Decrease amount of {{item}}":`Diminuire la quantità di {{item}}`,"Field must contain one of the following values: {{value}}":`Il campo deve contenere uno dei seguenti valori: {{value}}`,"Field has minimum value of {{value}}":`Il campo ha un valore minimo di {{value}}.`,"Field has maximum value of {{value}}":`Il campo ha un valore massimo di {{value}}.`,"registration.cancel":`Annullamento`,"registration.register":`Registrati`,Cancellation:`Cancellazione`,"Cancellation successful":`Cancellazione riuscita`,"An error has occurred":`Si è verificato un errore`,"registration.decline":`Declina`,Declination:`Declinazione`,"Declination successful":`Declinazione riuscita`,"registration.update":`Aggiornamento della registrazione`,"Your registration was updated.":`La sua registrazione è stata aggiornata.`,Contact:`Contatto`,"This registration is only accessible through a personal invitation.":`Questa registrazione è accessibile solo attraverso un invito personale.`,"Private registration":`Registrazione privata`,"Closed registration":`Registrazione chiusa`,"This registration is closed.":`Questa registrazione è chiusa.`,URL:`URL`,Disagree:`Non sono d'accordo`,Agree:`Accordati`,"Registration Preview":`Anteprima della registrazione`,"The preview ignores all conditions and cannot be submitted":`L'anteprima ignora tutte le condizioni e non può essere inviata`,"No registration steps found":`Non sono state trovate fasi di registrazione`,Registration:`Registrazione`,"Your registration was successful.":`La registrazione è avvenuta con successo.`,"You were placed on the waiting list.":`Siete stati inseriti nella lista d'attesa.`,Summary:`Sintesi`,"registration.submit":`Invia`},CKe={"Please complete the data of all {{companions}}":`Vul de gegevens van alle {{companions}} volledig in`,"The quota has already been reached for at least one of the nights. A request is still possible, but availability cannot be guaranteed.":`Voor ten minste één van de nachten is de capaciteit al bereikt. Een aanvraag is nog steeds mogelijk, maar beschikbaarheid kan niet worden gegarandeerd.`,Booking:`Reservering`,"The earliest departure must be before the latest arrival.":`Het vroegste vertrek moet vóór de laatste aankomst liggen.`,"The email must be a valid email address.":`Het e-mailadres moet een geldig e-mailadres zijn.`,"Your flight information has been filled out automatically. Please verify that the details are correct.":`Uw vluchtinformatie is automatisch ingevuld. Controleer of de gegevens correct zijn.`,"Provide flight number and departure date to obtain flight information.":`Voer het vluchtnummer en de vertrekdatum in om vluchtinformatie op te halen.`,"Autofill flight information":`Vluchtinformatie automatisch invullen`,"A route for the flight could not be found.":`Er kon geen route voor de vlucht worden gevonden.`,"Start date":`Startdatum`,"Return to the registration":`Terug naar de registratie`,"Your payment has been cancelled or did expire. You can return to the registration and try again.":`Uw betaling is geannuleerd of verlopen. U kunt teruggaan naar de registratie en het opnieuw proberen.`,"We're sorry, but an error occurred during your payment. Unfortunately, we cannot process your payment at this time.":`Het spijt ons, maar er is een fout opgetreden tijdens uw betaling. Helaas kunnen we uw betaling op dit moment niet verwerken.`,"The shop is currently not fully configured. Please contact an administrator.":`De winkel is momenteel niet volledig geconfigureerd. Neem contact op met een beheerder.`,"Total refunds":`Totaal terugbetalingen`,"Already refunded":`Reeds terugbetaald`,"Already refunded:":`Al terugbetaald:`,"Cancellation Summary":`Annuleringsoverzicht`,"A
4029ccept cancellation conditions":`Annuleringsvoorwaarden accepteren`,"To be paid later":`Wordt later betaald`,FINAL_PAYMENT:`Laatste betaling`,DEPOSIT_PAYMENT:`Storting`,"Refunded on {{date}}":`Terugbetaald op {{datum}}`,"Paid on {{date}}":`Betaald op {{datum}}`,"Due on {{date}}":`Verschuldigd op {{datum}}`,"Cancellation conditions":`Annuleringsvoorwaarden`,"{{amountInPercent}}% of the purchase price":`{{amountInPercent}}% van de aankoopprijs`,"Cancellation fee":`Annuleringskosten`,"No cancellation conditions available.":`Geen annuleringsvoorwaarden beschikbaar.`,"The cancellation conditions are listed below. The applicable deadlines and fees can be found in the table.":`De annuleringsvoorwaarden staan hieronder vermeld. De geldende deadlines en kosten zijn te vinden in de tabel.`,"Refunded amount:":`Terugbetaald bedrag:`,Paid:`Betaald`,"Payment Summary":`Samenvatting betaling`,"To be paid":`Te betalen`,"To be refunded":`Terug te betalen`,"Already processed":`Reeds verwerkt`,"Payment Details":`Betalingsgegevens`,"Remaining Balance: {{amountInPercent}}%":`Resterend saldo: {{amountInPercent}}%`,"Deposit paid:":`Borg betaald:`,"Full payment":`Volledige betaling`,"Refund amount:":`Restitutiebedrag:`,"Click here for cancellation conditions.":`Klik hier voor annuleringsvoorwaarden.`,"Already paid:":`Al betaald:`,"Submit and pay":`Indienen en betalen`,"To be paid now:":`Nu te betalen:`,"To be paid on {{date}}:":`Te betalen op {{date}}:`,"Item amount<sup>{{ taxDisclaimer }}</sup>:":`Item bedrag<sup>{{ taxDisclaimer }}</sup>:`,"Cancellation fee applied":`Annuleringskosten`,"Deposit: {{amountInPercent}}%":`Storting: {{amountInPercent}}%`,"<sup>{{taxDisclaimer}}</sup> includes {{percent}}% VAT":`<sup>{{taxDisclaimer}}</sup> inclusief {{percent}}% BTW`,"Pay later:":`Betaal later:`,"Pay now:":`Betaal nu:`,"To be refunded:":`Terugbetalen:`,"Transactions cannot be offset. The refund will be processed separately.":`Transacties kunnen niet worden gecompenseerd. De terugbetaling wordt apart verwerkt.`,"incl. {{percent}}% VAT:":`incl. {{percent}}% btw:`,"Please select a region so that we can display the appropriate information.":`Selecteer een regio zodat we de juiste informatie kunnen weergeven.`,"Select your region":`Selecteer uw regio`,"Please specify a valid number":`Geef een geldig nummer op`,"e.g. late arrival at XX o'clock / parking slot required etc.":`bijv. late aankomst om XX uur / parkeerplaats vereist enz.`,"This information is voluntary and is used to provide information for the hotel. Please do not enter any health related information.":`Deze informatie is vrijwillig en wordt gebruikt om informatie aan het hotel te verstrekken. Voer geen gezondheidsgerelateerde informatie in.`,"Please make sure that the person named is aware of your information.":`Zorg ervoor dat de genoemde persoon op de hoogte is van uw informatie.`,from:`vanaf`,"I want to add another person to my stay":`Ik wil nog een persoon toevoegen aan mijn verblijf`,"The additional person field must be filled.":`Het veld extra persoon moet worden ingevuld.`,"Additional person":`Extra persoon`,"This inquiry has already been processed. You may only request changes or cancellation of this stay.":`Deze aanvraag is al verwerkt. U kunt alleen wijzigingen of annulering van dit verblijf aanvragen.`,"Status: Inquiry":`Status: Aanvraag`,"Status: Cancellation requested":`Status: Annulering aangevraagd`,"Status: Processed":`Status: Verwerkt`,"Request changes":`Wijzigingen aanvragen`,"Open website":`Website openen`,"Revoke cancellation":`Annulering intrekken`,"Select room":`Selecteer kamer`,"Select hotel":`Kies een hotel`,"The selected hotel rooms are no longer available for booking.":`De geselecteerde hotelkamers zijn niet langer beschikbaar voor boeking.`,"Cancellation requested":`Annulering aangevraagd`,"Request cancellation":`Be om avbestilling`,"Are you sure you want to request a cancellation of this hotel stay?":`Er du sikker på at du vil be om avbestilling av dette hotelloppholdet?`,"No hotel stays have been selected.":`Er zijn geen hotelovernachtingen geselecteerd.`,"Requested check-in":`Gewenste inchecken`,"Requested check-out":`Gewenste uitchecken`,"Requested hotel":`Gewenst hotel`,"Requested room":`Gewenste kamer`,"Requested nights":`Aangevraagde nachten`,"Total price":`Totaalprijs`,"The Check-in and check-out field must not overlap with other stays.":`Het veld Inchecken en Uitchecke
4029n mag niet overlappen met andere verblijven.`,"Delete inquiry":`Aanvraag verwijderen`,"{{number}}. Inquiry":`{{number}}. Aanvraag`,"Add inquiry":`Aanvraag toevoegen`,"At least {{count}} hotel stays must be specified._one":`Er moet minimaal één hotelovernachting worden aangegeven.`,"At least {{count}} hotel stays must be specified._other":`Er moeten minimaal {{count}} hotelovernachtingen worden aangegeven.`,"More information":`Meer informatie`,"Hotel stays":`Hotelovernachtingen`,"Remarks for stay":`Opmerkingen voor verblijf`,"A maximum of {{count}} nights can be booked._one":`Er kan maximaal één nacht geboekt worden.`,"A maximum of {{count}} nights can be booked._other":`Er kunnen maximaal {{count}} nachten geboekt worden.`,"A room must be selected.":`Er moet een kamer geselecteerd worden.`,"A hotel must be selected.":`Er moet een hotel geselecteerd worden.`,"The Check-in and check-out field is required.":`Het in- en uitcheckdatum veld is verplicht.`,"You can only assign a maximum of {{count}} hotel stays._one":`Je kunt maximaal één hotelovernachting toewijzen.`,"You can only assign a maximum of {{count}} hotel stays._other":`Je kunt maximaal {{count}} hotelovernachtingen toewijzen.`,"Delete booking":`Boeking verwijderen`,Room:`Kamer`,"No hotels found for the given check-in and check-out date.":`Geen hotels gevonden voor de opgegeven in- en uitcheckdatum.`,"per Night":`per Nacht`,"{{count}} Persons_one":`1 Persoon`,"{{count}} Persons_other":`{{count}} Personen`,"{{number}}. Booking":`{{number}}. Boeking`,"No hotel stay added yet.":`Nog geen hotelverblijf toegevoegd.`,"Add booking":`Boeking toevoegen`,"The value entered does not match the expected format.":`De ingevoerde waarde komt niet overeen met het verwachte formaat.`,"This field must not contain https, http or www.":`Dit veld mag geen https, http of www bevatten.`,Tickets:`Tickets`,Media:`Media`,News:`News`,"SPECIAL PRIZES":`SPECIAL PRIZES {{year}}`,"CLASS WINNERS":`CLASS WINNERS {{year}}`,"ENTRANTS & WINNERS":`ENTRANTS & WINNERS`,by:`by`,Engine:`Engine`,Coachwork:`Coachwork`,Entrant:`Entrant`,"load more":`load more`,"You can also use the filter to get the wanted class.":`You can also use the filter to get the wanted class.`,"ALL ENTRANTS":`ALL ENTRANTS {{ year }}`,"Click at the vehicle of your choice to see more information.":`Click at the vehicle of your choice to see more information.`,Newsletter:`Newsletter`,"Successfully subscribed to the newsletter.":`Successfully subscribed to the newsletter.`,termsAndConditions:`Yes, I would like to receive the newsletter of <legalNotice>BMW AG</legalNotice> at my e-mail address until I revoke such consent. I consent to BMW AG collecting opening and click rates to evaluate and optimize its newsletter service. 4030You can revoke your consent at any time with effect for the future. You can find more information about our processing of your data in our <privacyNotice>privacy notice</privacyNotice>`,"The final payment process is not yet active":`Het definitieve betalingsproces is nog niet actief.`,"Show only shuttles":`Alleen show shuttles`,"You need min. {{count}} {{companionType}}_other":`Je hebt minimaal {{count}} {{companionType}} nodig`,"You need min. {{count}} {{companionType}}_one":`Je hebt minimaal {{count}} {{companionType}} nodig`,"Check-in date must be after {{date}}.":`Incheckdatum moet na {{date}} liggen.`,"Check-out date must be before {{date}}.":`Uitcheckdatum moet vóór {{date}} liggen.`,Hotel:`Hotel`,"Check-in date must be before check-out date.":`Incheckdatum moet vóór de uitcheckdatum liggen.`,"Self travel":`Zelf reizen`,"Edit self travel":`Zelf reizen bewerken`,"You have to provide a departure.":`Je moet een vertrek opgeven`,"You have to provide an arrival.":`Je moet een aankomst opgeven.`,"Further options":`Verdere optie`,"No travel templates found.":`Geen reissjablonen gevonden.`,"Travel templates":`Reissjablonen`,Time:`Tijd`,"Shopping is disabled because you are registered already.":`Winkelen is uitgeschakeld omdat je al geregistreerd bent.`,"This field must be an integer":`Dit veld moet een geheel getal zijn`,Amount:`Aantal`,"No contingent is available for a travel segment!":`Er is geen contingent beschikbaar voor een reissegment!`,"There is no contingent available for this tenant wave combination.":`Geen contingent beschikbaar!`,"Travel type":`Type reis`,"Create travel segment":`Reissegment maken`,"Create new travel segment":`Creëer nieuw reissegment`,"Arrival station":`Aankomststation`,"Departure station":`Station van vertrek`,"Arrival airport":`Aankomstluchthaven`,"Departure airport":`Luchthaven van vertrek`,"Departure time":`Vertrektijd`,"Departure date":`Vertrekdatum`,"Arrival time":`Aankomsttijd`,"Arrival date":`Aankomstdatum`,"Create flight inquiry":`Vluchtaanvraag aanmaken`,"Create train inquiry":`Treinaanvraag aanmaken`,"Earliest departure":`Vroegste vertrek`,"Latest arrival":`Uiterste aankomst`,"Edit inquiry":`Aanvraag bewerken`,Inquiry:`Aanvraag`,Remarks:`Opmerkingen`,"Arrival location":`Plaats van aankomst`,"Departure location":`Plaats van vertrek`,"Latest arrival time":`Laatste aankomsttijd`,"Latest arrival date":`Uiterste aankomstdatum`,"Earliest departure time":`Vroegste vertrektijd`,"Earliest departure date":`Vroegste vertrekdatum`,"I would like to make a travel inquiry":`Ik wil graag een reisaanvraag doen`,"I organize my travel on my own":`Ik organiseer mijn reizen zelf`,"You need to have at least {{count}} travels._other":`Je moet minstens {{count}} reizen hebben.`,"You need to have at least {{count}} travels._one":`Je moet minstens één reis hebben.`,"You can only assign a maximum of {{count}} travels._other":`Je kunt alleen een maximum van {{count}} reizen toewijzen.`,"You can only assign a maximum of {{count}} travels._one":`Je kunt maximaal één reis toewijzen.`,"{{count}} of {{max}}":`{{count}} van {{max}}`,"Travel planning":`Reisplanning`,"No travel segments have been added yet.":`Er zijn nog geen reissegmenten toegevoegd.`,"Service class":`Serviceklasse`,"Charging station":`Laadstation`,"Parking spot":`Parkeerplaats`,"License plate":`Kenteken`,"Train number":`Treinnummer`,"Flight number":`Vluchtnummer`,"No travel available.":`Geen reis beschikbaar.`,shuttle:`Shuttle`,train:`Trein`,car:`Auto`,flight:`Vlucht`,"Travel segments":`Reissegmenten`,"No travel segments found.":`Geen reissegmenten gevonden.`,"Remove travel segment from selection":`Verwijder reissegment uit selectie`,"Selected travel segments":`Geselecteerde reissegmenten`,"Show only cars":`Toon alleen auto's`,"Show only trains":`Toon alleen treinen`,"Show only flights":`Alleen vluchten tonen`,"Add departure segment":`Segment vertrek toevoegn`,"Add arrival segment":`Aankomst segment toevoegen`,Arrival:`Aankomst`,Departure:`Vertrek`,"Delete arrival and departure":`Verwijder aankomst en vertrek`,"Add arrival and departure":`Aankomst en vertrek toevoegen`,"{{number}}. Travel":`{{number}}. Reizen`,"Complete Payment":`Betaling voltooien`,"Please click on the button to finalise the payment!":`Klik op de knop om de betaling te voltooien!`,Pay:`Betalen`,"Invoice send":`Factuur verzonden`,"The invoice has been sent to you, please check your emails!":`De factuur is naar u verzonden, controleer alstublieft uw e-mails!`,"The order was already paid!":`De bestelling is al betaald!`,"An email with an invitation has been sent to you.":`Er is een e-mail met een uitnodiging naar je verzonden.`,"An email with your personal registration link has been sent to you.":`Er is een e-mail met uw persoonlijke registratielink naar u verzonden.`,"Welcome back!":`Welkom terug!`,"Field cannot contain one of the following values: {{value}}":`Veld kan geen van de volgende waarden bevatten: {{value}}`,"Deposit in percent":`Storting in procenten`,"Protected registration":`Beveiligde registratie`,"Please type in your code":`Voer uw code in`,"Cancellation confirmed":`Annulering bevestigd`,"Registration confirmed":`Registratie bevestigd`,"Declination confirmed":`Weigering bevestigd`,"Changes confirmed":`Wijzigingen bevestigd`,"Replacement nomination received":`Vervangende nominatie ontvangen`,"Thank you for letting us know that unfortunately you will not be able to attend after all.":`Bedankt dat u ons heeft laten weten dat u helaas toch niet aanwezig kunt zijn.`,"Thank you for letting us know that you are unable to attend.":`Bedankt dat u ons heeft laten weten dat u toch niet aanwezig kunt zijn.`,"We will send an invitation to your representative.":`We zullen een uitnodiging sturen naar uw vertegenwoordiger.`,"Your changes will now be reflected in the system.":`Uw wijzigingen worden nu doorgevoerd in het systeem.`,"Field has minimum {{count}} values_one":`Veld heeft minimaal één waarde`,"Field has minimum {{count}} values_other":`Veld heeft minimaal {{count}} waarden`,"Field has maximum {{count}} values_one":`Veld heeft maximaal één waarde`,"Field has maximum {{count}} values_other":`Veld heeft maximaal {{count}} waarden`,"Field is not updatable":`Veld kan niet worden bijgewerkt`,"Field {{name}} must not contain {{value}}":`Veld {{name}} mag {{value}} niet bevatten.`,"Field {{name}} must contain {{value}}":`Veld {{name}} moet {{value}} bevatten.`,"Field must not have value {{value}}":`Veld mag geen waarde hebben {{value}}`,"Field has maximum {{count}} characters_one":`Veld heeft maximaal één karakter`,"Field has maximum {{count}} characters_other":`Veld heeft maximaal {{count}} tekens`,"Field has minimum {{count}} characters_one":`Veld heeft minimaal één karakter`,"Field has minimum {{count}} characters_other":`Veld heeft minimaal {{count}} tekens`,"Field must have value {{value}}":`Veld moet waarde {{value}} hebben.`,"Nominate replacement":`Een collega sturen`,"Replacement successful nominated":`Vervanging succesvol genomineerd`,"Allowed file types: image, video, PDF, office (word/excel etc.), font":`Toegestane bestandstypen: afbeelding, video, PDF, office (word/excel enz.), lettertype`,"Download file":`Bestand downloaden`,"Remove file":`Bestand verwijderen`,"Maximum amount of {{companions}} already added":`Maximum aantal reeds toegevoegde {{companions}}`,"{{companion}} is already registered":`{{companion}} is al geregistreerd`,"{{ currentCount }} of {{ maxCount }}":`{{ currentCount }} van {{ maxCount }}`,"Update {{companion}}":`Update {{companion}}`,"Invalid phone number":`Ongeldig telefoonnummer`,"This field may not exceed 20 characters":`Dit veld mag niet langer zijn dan 20 tekens`,"This field may not exceed 181 characters":`Dit veld mag niet langer zijn dan 181 tekens`,"Invalid URL format":`Ongeldig URL-formaat`,"Remove {{companion}}":`{{companion}} verwijderen`,"Edit {{companion}}":`{{companion}} bewerken`,"Submit {{companion}}":`{{companion}} indienen`,"No {{companions}}":`Geen {{companion}}`,"Add {{companion}}":`{{companion}} toevoegen`,"The Shop module is not configured correctly.":`De Shop module is niet correct geconfigureerd.`,"In order to retrieve data it is necessary to specify the country of the invoice recipient as well as company information if available.":`Om gegevens op te halen is het nodig om het land van de ontvanger van de factuur op te geven, evenals bedrijfsinformatie indien beschikbaar.`,"Try again":`Probeer het opnieuw`,"Your payment could not be completed successfully.":`Uw betaling kon niet succesvol worden afgerond.`,"Your payment is being processed...":`Uw betaling wordt verwerkt...`,"Total: {{total}}":`Totaal: {{total}}`,Item:`Item`,Net:`Netto`,"Gross / VAT":`Bruto / BTW`,Total:`Totaal`,"Including {{percent}}% VAT":`Inclusief {{percent}}% BTW`,"Use this payment provider":`Gebruik deze betalingsprovider`,"Payment provider":`Betalingsprovider`,Shop:`Winkel op`,"Increase amount of {{item}}":`Hoeveelheid verhogen van {{item}}`,"Decrease amount of {{item}}":`Hoeveelheid verlagen van {{item}}`,"Field must contain one of the following values: {{value}}":`Het veld moet een van de volgende waarden bevatten: {{value}}`,"Field has minimum value of {{value}}":`Veld heeft minimale waarde van {{value}}`,"Field has maximum value of {{value}}":`Veld heeft maximale waarde van {{value}}`,"registration.cancel":`Annuleren`,"registration.register":`Registreren`,Cancellation:`Annulering`,"Cancellation successful":`Annulering succesvol`,"An error has occurred":`Er is een fout opgetreden`,"registration.decline":`Afwijzen`,Declination:`Declinatie`,"Declination successful":`Declinatie succesvol`,"registration.update":`Registratie bijwerken`,"Your registration was updated.":`Uw registratie werd bijgewerkt.`,Contact:`Neem contact op`,"This registration is only accessible through a personal invitation.":`Deze registratie is alleen toegankelijk via een persoonlijke uitnodiging.`,"Private registration":`Privé registratie`,"Closed registration":`Gesloten inschrijving`,"This registration is closed.":`Deze registratie is gesloten.`,URL:`URL`,Disagree:`Oneens`,Agree:`Mee eens`,"Registration Preview":`Registratievoorbeeld`,"The preview ignores all conditions and cannot be submitted":`De preview negeert alle voorwaarden en kan niet worden ingediend`,"No registration steps found":`Geen registratiestappen gevonden`,Registration:`Registratie`,"Your registration was successful.":`Uw registratie was succesvol.`,"You were placed on the waiting list.":`U bent op de wachtlijst geplaatst.`,Summary:`Samenvatting`,"registration.submit":`Versturen`},wKe={"Please complete the data of all {{companions}}":`Vennligst fyll ut opplysningene for alle {{companions}}`,"The quota has already been reached for at least one of the nights. A request is still possible, but availability cannot be guaranteed.":`Kvoten er allerede oppfylt for minst én av nettene. Det er fortsatt mulig å sende inn en forespørsel, men vi kan ikke garantere ledige plasser.`,Booking:`Be
4030stilling`,"The earliest departure must be before the latest arrival.":`Den tidligste avgangen må være før den seneste ankomsten.`,"The email must be a valid email address.":`E-posten må være en gyldig e-postadresse.`,"Your flight information has been filled out automatically. Please verify that the details are correct.":`Flyinformasjonen din er fylt ut automatisk. Vennligst kontroller at opplysningene er korrekte.`,"Provide flight number and departure date to obtain flight information.":`Oppgi flynummer og avgangsdato for å hente flyinformasjon.`,"Autofill flight information":`Fyll ut flyinformasjon automatisk`,"A route for the flight could not be found.":`En rute for flyvningen kunne ikke bli funnet.`,"Start date":`Startdato`,"Return to the registration":`Gå tilbake til registreringen`,"Your payment has been cancelled or did expire. You can return to the registration and try again.":`Din betaling har blitt kansellert eller har utløpt. Du kan gå tilbake til registreringen og prøve igjen.`,"We're sorry, but an error occurred during your payment. Unfortunately, we cannot process your payment at this time.":`Vi beklager, men det oppstod en feil under betalingen din. Dessverre kan vi ikke behandle betalingen din på dette tidspunktet.`,"The shop is currently not fully configured. Please contact an administrator.":`Butikken er for øyeblikket ikke ferdig konfigurert. Vennligst kontakt en administrator.`,"Total refunds":`Total tilbakebetaling`,"Already refunded":`Allerede refundert`,"Already refunded:":`Allerede refundert:`,"Cancellation Summary":`Oppsummering av avbestilling`,"Accept cancellation conditions":`Godta avbestillingsvilkår`,"To be paid later":`Betales senere`,FINAL_PAYMENT:`Endelig betaling`,DEPOSIT_PAYMENT:`Innskuddsbetaling`,"Refunded on {{date}}":`Refundert den {{dato}}`,"Paid on {{date}}":`Betalt den {{dato}}`,"Due on {{date}}":`Forfall den {{dato}}`,"Cancellation conditions":`Avbestillingsvilkår`,"{{amountInPercent}}% of the purchase price":`{{amountInPercent}}% av kjøpesummen`,"Cancellation fee":`Avbestillingsgebyr`,"No cancellation conditions available.":`Ingen avbestillingsvilkår tilgjengelig.`,"The cancellation conditions are listed below. The applicable deadlines and fees can be found in the table.":`Avbestillingsvilkårene er oppført nedenfor. Gjeldende frister og gebyrer finnes i tabellen.`,"Refunded amount:":`Refundert beløp:`,Paid:`Betalt`,"Payment Summary":`Betalingsoversikt`,"To be paid":`Skal betales`,"To be refunded":`Skal refunderes`,"Already processed":`Allerede behandlet`,"Payment Details":`Betalingsdetaljer`,"Remaining Balance: {{amountInPercent}}%":`Gjenværende saldo: {{amountInPercent}}%}}`,"Deposit paid:":`Depositum betalt:`,"Full payment":`Full betaling`,"Refund amount:":`Tilbakebetalingsbeløp:`,"Click here for cancellation conditions.":`Klikk her for avbestillingsvilkår.`,"Already paid:":`Allerede betalt:`,"Submit and pay":`Send inn og betal`,"To be paid now:":`Skal betales nå:`,"To be paid on {{date}}:":`Skal utbetales på {{date}}:`,"Item amount<sup>{{ taxDisclaimer }}</sup>:":`Varebeløp<sup>{{ taxDisclaimer }}</sup>:`,"Cancellation fee applied":`Avbestillingsgebyr påløper`,"Deposit: {{amountInPercent}}%":`Innskudd: {{amountInPercent}}%.`,"<sup>{{taxDisclaimer}}</sup> includes {{percent}}% VAT":`<sup>{{taxDisclaimer}}</sup> inkluderer {{percent}}% moms`,"Pay later:":`Betal senere:`,"Pay now:":`Betal nå:`,"To be refunded:":`Skal refunderes:`,"Transactions cannot be offset. The refund will be processed separately.":`Transaksjoner kan ikke motregnes. Refusjonen vil bli behandlet separat.`,"incl. {{percent}}% VAT:":`inkl. prosent mva:`,"Please select a region so that we can display the appropriate information.":`Velg en region slik at vi kan vise riktig informasjon.`,"Select your region":`Velg din region`,"Please specify a valid number":`Vennligst oppgi et gyldig nummer`,"e.g. late arrival at XX o'clock / parking slot required etc.":`f.eks. sen ankomst kl. XX / parkeringsplass nødvendig osv.`,"This information is voluntary and is used to provide information for the hotel. Please do not enter any health related information.":`Denne informasjonen er frivillig og brukes for å gi informasjon t
4030il hotellet. Vennligst ikke oppgi helserelatert informasjon.`,"Please make sure that the person named is aware of your information.":`Sørg for at den nevnte personen er klar over informasjonen din.`,from:`fra`,"I want to add another person to my stay":`Jeg vil legge til en annen person til oppholdet mitt`,"The additional person field must be filled.":`Feltet for ytterligere person mÃ¥ fylles ut.`,"Additional person":`Ytterligere person`,"This inquiry has already been processed. You may only request changes or cancellation of this stay.":`Denne forespørselen har allerede blitt behandlet. Du kan kun be om endringer eller avbestilling av dette oppholdet.`,"Status: Inquiry":`Status: Forespørsel`,"Status: Cancellation requested":`Status: Forespørsel om kansellering`,"Status: Processed":`Status Behandlet`,"Request changes":`Be om endringer`,"Open website":`à pne nettstedet`,"Revoke cancellation":`Tilbakekall kansellering`,"Select room":`Velg rom`,"Select hotel":`Velg hotell`,"The selected hotel rooms are no longer available for booking.":`De valgte hotellrommene er ikke lenger tilgjengelige for bestilling.`,"Cancellation requested":`Kansellering forespurt`,"Request cancellation":`Annulering aanvragen`,"Are you sure you want to request a cancellation of this hotel stay?":`Weet je zeker dat je dit hotelverblijf wilt annuleren?`,"No hotel stays have been selected.":`Ingen hotellopphold er valgt.`,"Requested check-in":`Ãnsket innsjekking`,"Requested check-out":`Ãnsket utsjekking`,"Requested hotel":`Ãnsket hotell`,"Requested room":`Ãnsket rom`,"Requested nights":`Ãnskede netter`,"Total price":`Total pris`,"The Check-in and check-out field must not overlap with other stays.":`Innsjekkings- og utsjekkingsfeltet mÃ¥ ikke overlappe med andre opphold.`,"Delete inquiry":`Slett forespørsel`,"{{number}}. Inquiry":`{{number}}. Forespørsel`,"Add inquiry":`Legg til forespørsel`,"At least {{count}} hotel stays must be specified._one":`Minst ett hotellopphold mÃ¥ spesifiseres.`,"At least {{count}} hotel stays must be specified._other":`Minst {{count}} hotellopphold mÃ¥ spesifiseres.`,"More information":`Mer informasjon`,"Hotel stays":`Hotellopphold`,"Remarks for stay":`Merknader for oppholdet`,"A maximum of {{count}} nights can be booked._one":`Maksimalt én natt kan bestilles.`,"A maximum of {{count}} nights can be booked._other":`Maksimalt {{count}} netter kan bestilles.`,"A room must be selected.":`Et rom mÃ¥ velges.`,"A hotel must be selected.":`Et hotell mÃ¥ velges.`,"The Check-in and check-out field is required.":`Inn- og utsjekkingsfeltet er pÃ¥krevd.`,"You can only assign a maximum of {{count}} hotel stays._one":`Du kan bare tilordne maksimalt ett hotellopphold.`,"You can only assign a maximum of {{count}} hotel stays._other":`Du kan bare tilordne maksimalt {{count}} hotellopphold.`,"Delete booking":`Slett bestilling`,Room:`Rom`,"No hotels found for the given check-in and check-out date.":`Ingen hoteller funnet for den angitte inn- og utsjekkingsdatoen.`,"per Night":`per natt`,"{{count}} Persons_one":`1 person`,"{{count}} Persons_other":`{{count}} personer`,"{{number}}. Booking":`{{number}}. Bestilling`,"No hotel stay added yet.":`Ingen hotellopphold er lagt til ennÃ¥.`,"Add booking":`Legg til bestilling`,"The value entered does not match the expected format.":`Verdien som er angitt samsvarer ikke med det forventede formatet.`,"This field must not contain https, http or www.":`Dette feltet mÃ¥ ikke inneholde https, http eller www.`,Tickets:`Tickets`,Media:`Media`,News:`News`,"SPECIAL PRIZES":`SPECIAL PRIZES {{year}}`,"CLASS WINNERS":`CLASS WINNERS {{year}}`,"ENTRANTS & WINNERS":`ENTRANTS & WINNERS`,by:`by`,Engine:`Engine`,Coachwork:`Coachwork`,Entrant:`Entrant`,"load more":`load more`,"You can also use the filter to get the wanted class.":`You can also use the filter to get the wanted class.`,"ALL ENTRANTS":`ALL ENTRANTS {{ year }}`,"Click at the vehicle of your choice to see more information.":`Click at the vehicle of your choice to see more information.`,Newsletter:`Newsletter`,"Successfully subscribed to the newsletter.":`Successfully subscribed to the newsletter.`,termsAndConditions:`Yes, I would like to receive the newsletter of <legalNotice>BMW AG</legalNotice> at my e-mail address until I revoke such consent. I consent to BMW AG collecting opening and click rates to evaluate and optimize its newsletter service. 4031You can revoke your consent at any time with effect for the future. You can find more information about our processing of your data in our <privacyNotice>privacy notice</privacyNotice>`,"The final payment process is not yet active":`Den endelige betalingsprosessen er ennÃ¥ ikke aktiv.`,"Show only shuttles":`Vis kun skyttelbusser`,"You need min. {{count}} {{companionType}}_other":`Du trenger minst {{count}} {{companionType}}`,"You need min. {{count}} {{companionType}}_one":`Du trenger minst {{count}} {{companionType}}`,"Check-in date must be after {{date}}.":`Innsjekkingsdato mÃ¥ være etter {{date}}.`,"Check-out date must be before {{date}}.":`Utsjekkingsdato mÃ¥ være før {{date}}.`,Hotel:`Hotell`,"Check-in date must be before check-out date.":`Innsjekkingsdato mÃ¥ være før utsjekkingsdato.`,"Self travel":`Selv reise`,"E
4031dit self travel":`Rediger selvreise`,"You have to provide a departure.":`Du må oppgi en avgang.`,"You have to provide an arrival.":`Du må oppgi en ankomst.`,"Further options":`Flere alternativer`,"No travel templates found.":`Ingen reisemaler funnet.`,"Travel templates":`Reisemaler`,Time:`Tid`,"Shopping is disabled because you are registered already.":`Shopping er deaktivert fordi du allerede er registrert.`,"This field must be an integer":`Dette feltet må være et heltall`,Amount:`Antall`,"No contingent is available for a travel segment!":`Det er ingen kontingent tilgjengelig for et reisesegment!`,"There is no contingent available for this tenant wave combination.":`Ingen kontingent tilgjengelig!`,"Travel type":`Reisetype`,"Create travel segment":`Opprett reisesegment`,"Create new travel segment":`Opprett nytt reisesegment`,"Arrival station":`Ankomststasjon`,"Departure station":`Avgangsstasjon`,"Arrival airport":`Ankomst flyplass`,"Departure airport":`Avreise flyplass`,"Departure time":`Avgangstid`,"Departure date":`Avreisedato`,"Arrival time":`Ankomsttid`,"Arrival date":`Ankomstdato`,"Create flight inquiry":`Opprett flyforespørsler`,"Create train inquiry":`Opprett togforespørsel`,"Earliest departure":`Tidligste avgang`,"Latest arrival":`Seneste ankomst`,"Edit inquiry":`Rediger forespørsel`,Inquiry:`Forespørsel`,Remarks:`Merknader`,"Arrival location":`Sted for ankomst`,"Departure location":`Sted for avreise`,"Latest arrival time":`Siste ankomsttid`,"Latest arrival date":`Siste ankomstdato`,"Earliest departure time":`Tidligste avreisetidspunkt`,"Earliest departure date":`Tidligste avreisedato`,"I would like to make a travel inquiry":`Jeg ønsker å gjøre en reiseforespørsel`,"I organize my travel on my own":`Jeg organiserer reisene mine på egen hånd`,"You need to have at least {{count}} travels._other":`Du må ha minst {{count}} reiser.`,"You need to have at least {{count}} travels._one":`Du må ha minst én reise.».`,"You can only assign a maximum of {{count}} travels._other":`Du kan bare tildele maksimalt {{count}} reiser.`,"You can only assign a maximum of {{count}} travels._one":`Du kan bare tilordne maksimalt én reise.`,"{{count}} of {{max}}":`{{count}} av {{max}}`,"Travel planning":`Reiseplanlegging`,"No travel segments have been added yet.":`Ingen reisesegmenter er lagt til ennå.`,"Service class":`Serviceklasse`,"Charging station":`Ladestasjon`,"Parking spot":`Parkeringsplass`,"License plate":`Nummerskilt`,"Train number":`Tognummer`,"Flight number":`Flynummer`,"No travel available.":`Ingen reise tilgjengelig`,shuttle:`Shuttle`,train:`Tog`,car:`Bil`,flight:`Fly`,"Travel segments":`Reisesegmenter`,"N
4031o travel segments found.":`Ingen reisesegmenter funnet.`,"Remove travel segment from selection":`Fjern reisesegment fra utvalget`,"Selected travel segments":`Valgte reisesegmenter`,"Show only cars":`Vis bare biler`,"Show only trains":`Vis bare tog», âVis bare tog`,"Show only flights":`Vis kun flyreiser`,"Add departure segment":`Legg til avgangssegment`,"Add arrival segment":`Legg til ankomstsegment`,Arrival:`Ankomst`,Departure:`Avgang`,"Delete arrival and departure":`Slett ankomst og avgang`,"Add arrival and departure":`Legg til ankomst og avgang`,"{{number}}. Travel":`{{number}}. Reise`,"Complete Payment":`Fullfør betalingen`,"Please click on the button to finalise the payment!":`Vennligst klikk pÃ¥ knappen for Ã¥ fullføre betalingen!`,Pay:`Betal`,"Invoice send":`Faktura sendt`,"The invoice has been sent to you, please check your emails!":`Fakturaen er sendt til deg, vennligst sjekk e-postene dine!`,"The order was already paid!":`Ordren ble allerede betalt!`,"An email with an invitation has been sent to you.":`En e-post med en invitasjon er sendt til deg.`,"An email with your personal registration link has been sent to you.":`En e-post med din personlige registreringslenke er sendt til deg.`,"Welcome back!":`Velkommen tilbake!`,"Field cannot contain one of the following values: {{value}}":`Feltet kan ikke inneholde en av følgende verdier: {{value}}`,"Deposit in percent":`Innskudd i prosent`,"Protected registration":`Beskyttet registrering`,"Please type in your code":`Vennligst skriv inn koden din`,"Cancellation confirmed":`Avbestilling bekreftet`,"Registration confirmed":`Registrering bekreftet`,"Declination confirmed":`Avbestilling bekreftet`,"Changes confirmed":`Endringer bekreftet`,"Replacement nomination received":`Erstatningsnominasjon mottatt`,"Thank you for letting us know that unfortunately you will not be able to attend after all.":`Takk for at du gir oss beskjed om at du dessverre ikke kan delta likevel.`,"Thank you for letting us know that you are unable to attend.":`Takk for at du gir oss beskjed om at du dessverre ikke kan delta.`,"We will send an invitation to your representative.":`Vi sender en invitasjon til representanten din.`,"Your changes will now be reflected in the system.":`Endringene dine vil nÃ¥ gjenspeiles i systemet.`,"Field has minimum {{count}} values_one":`Feltet har minst én verdi`,"Field has minimum {{count}} values_other":`Feltet mÃ¥ ha minimum {{count}} verdier`,"Field has maximum {{count}} values_one":`Feltet har maksimalt én verdi`,"Field has maximum {{count}} values_other":`Feltet kan ha maksimum {{count}} verdier`,"Field is not updatable":`Feltet kan ikke oppdateres`,"Field {{name}} must not contain {{value}}":`Feltet {{name}} mÃ¥ ikke inneholde {{value}}`,"Field {{name}} must contain {{value}}":`Feltet {{name}} mÃ¥ inneholde {{value}}`,"Field must not have value {{value}}":`Feltet kan ikke ha verdien {{value}}`,"Field has maximum {{count}} characters_one":`Feltet har maksimalt ett tegn`,"Field has maximum {{count}} characters_other":`Feltet kan ha maksimum {{count}} tegn`,"Field has minimum {{count}} characters_one":`Feltet har minst ett tegn`,"Field has minimum {{count}} characters_other":`Feltet mÃ¥ ha minimum {{count}} tegn`,"Field must have value {{value}}":`Feltet mÃ¥ ha verdien {{value}}`,"Nominate replacement":`Nominer kollega`,"Replacement successful nominated":`Kollega vellykket nominert`,"Allowed file types: image, video, PDF, office (word/excel etc.), font":`Tillatte filtyper: bilde, video, PDF, office (word/excel etc.), font`,"Download file":`Last ned fil`,"Remove file":`Fjern fil`,"Maximum amount of {{companions}} already added":`Maksikamlt antall {{companions}} er allerede lagt til`,"{{companion}} is already registered":`{{companion}} er allerede registrert`,"{{ currentCount }} of {{ maxCount }}":`{{ currentCount }} of {{ maxCount }}`,"Update {{companion}}":`Oppdater {{companion}}`,"Invalid phone number":`Ugyldig telefonnummer`,"This field may not exceed 20 characters":`Dette feltet kan ikke overstige 20 tegn`,"This field may not exceed 181 characters":`Dette feltet kan ikke overstige 181 tegn`,"Invalid URL format":`Ugyldig URL format`,"Remove {{companion}}":`Fjern {{companion}}`,"Edit {{companion}}":`Rediger {{companion}}`,"Submit {{companion}}
4031":`Send inn {{companion}}`,"No {{companions}}":`Ingen {{companions}}`,"Add {{companion}}":`Legg til {{companion}}`,"The Shop module is not configured correctly.":`Kjøpe-modulen er ikke korrekt konfigurert`,"In order to retrieve data it is necessary to specify the country of the invoice recipient as well as company information if available.":`For Ã¥ hente data er det nødvendig Ã¥ angi fakturamottakerens land samt firmainformasjon hvis tilgjengelig.`,"Try again":`Prøv igjen`,"Your payment could not be completed successfully.":`Din betaling kunne ikke gjennomføres.`,"Your payment is being processed...":`Din betaling behandles...`,"Total: {{total}}":`Sum: {{total}}`,Item:`Artikkel`,Net:`Netto`,"Gross / VAT":`Brutto / moms`,Total:`Total`,"Including {{percent}}% VAT":`Inkludert {{percent}}% moms`,"Use this payment provider":`Bruk denne betalingstjenesteleverandøren`,"Payment provider":`Betalingstjenesteleverandør`,Shop:`Kjøp`,"Increase amount of {{item}}":`Ãk antall {{item}}`,"Decrease amount of {{item}}":`Minske antall {{item}}`,"Field must contain one of the following values: {{value}}":`Feltet mÃ¥ inneholde en av følgende verdier: {{value}}`,"Field has minimum value of {{value}}":`Feltet har en minimumverdi pÃ¥ {{value}}`,"Field has maximum value of {{value}}":`Feltet har en maksimumverdi pÃ¥ {{value}}`,"registration.cancel":`Avbryt`,"registration.register":`PÃ¥melding`,Cancellation:`Avmelding`,"Cancellation successful":`Avbestilling vellykket`,"An error has occurred":`En feil har oppstÃ¥tt`,"registration.decline":`Avvis`,Declination:`Avvisning`,"Declination successful":`Avvisning vellykket`,"registration.update":`Oppdater pÃ¥melding`,"Your registration was updated.":`Din pÃ¥melding er oppdatert`,Contact:`Kontakt`,"This registration is only accessible through a personal invitation.":`Denne pÃ¥meldingen er kun tilgjengelig gjennom en personlig invitasjon.`,"Private registration":`Privat pÃ¥melding`,"Closed registration":`Stengt pÃ¥melding`,"This registration is closed.":`Denne pÃ¥meldingen er stengt.`,URL:`URL`,Disagree:`Ikke enig`,Agree:`Enig`,"Registration Preview":`ForhÃ¥ndsvisning av pÃ¥melding`,"The preview ignores all conditions and cannot be submitted":`ForhÃ¥ndsvisningen ser bort fra alle vilkÃ¥r og kan ikke sendes inn`,"No registration steps found":`Ingen pÃ¥meldingssteg funnet`,Registration:`PÃ¥melding`,"Your registration was successful.":`Din pÃ¥melding var vellykket.`,"You were placed on the waiting list.":`Du er satt pÃ¥ ventelisten.`,Summary:`Oppsummering`,"registration.submit":`Send inn`},TKe={"Please complete the data of all {{companions}}":`Prosimy uzupeÅniÄ dane wszystkich {{companions}}`,"The quota has already been reached for at least one of the nights. A request is still possible, but availability cannot be guaranteed.":`Limit rezerwacji zostaÅ już wyczerpany przynajmniej na jednÄ
z nocy. Nadal można zÅożyÄ rezerwacjÄ, ale nie możemy zagwarantowaÄ dostÄpnoÅci miejsc.`,Booking:`Rezerwacja`,"The earliest departure must be before the latest arrival.":`NajwczeÅniejszy wylot musi nastÄ
piÄ przed najpóźniejszym przylotem.`,"The email must be a valid email address.":`Adres e-mail musi byÄ prawidÅowym adresem e-mail.`,"Your flight information has been filled out automatically. Please verify that the details are correct.":`Informacje o locie zostaÅy wypeÅnione automatycznie. Prosimy o sprawdzenie, czy dane sÄ
poprawne.`,"Provide flight number and departure date to obtain flight information.":`Podaj numer lotu i datÄ wylotu, aby uzyskaÄ informacje o locie.`,"Autofill flight information":`Automatyczne uzupeÅnianie informacji o locie`,"A route for the flight could not be found.":`Nie udaÅo siÄ znaleÅºÄ trasy dla lotu.`,"Start date":`Data rozpoczÄcia`,"Return to the registration":`WrÃ³Ä do rejestracji`,"Your payment has been cancelled or did expire. You can return to the registration and try again.":`Twoja pÅatnoÅÄ zostaÅa anulowana lub wygasÅa. Możesz wróciÄ do rejestracji i spróbowaÄ ponownie.`,"We're sorry, but an error occurred during your payment. Unfortunately, we cannot process your payment at this time.":`Przepraszamy, ale podczas pÅatnoÅci wystÄ
piÅ bÅÄ
d. Niestety, nie możemy w tej chwili przetworzyÄ Twojej pÅatnoÅci.`,"The shop is currently not fully configured. Please contact an administrator.":`Sklep nie jest obecnie w peÅni skonfigurowany. Prosimy o kontakt z administratorem.`,"Total refunds":`Zwroty ogóÅem`,"Already refunded":`Zwrócono już pieniÄ
dze`,"Already refunded:":`Zwrócono już pieniÄ
dze:`,"Cancellation Summary":`Podsumowanie anulowania`,"Accept c
4031ancellation conditions":`Akceptacja warunków anulowania`,"To be paid later":`Do zapÅaty w późniejszym terminie`,FINAL_PAYMENT:`PÅatnoÅÄ koÅcowa`,DEPOSIT_PAYMENT:`WpÅata kaucji`,"Refunded on {{date}}":`Zwrócono w dniu {{date}}.`,"Paid on {{date}}":`PÅatne w dniu {{date}}`,"Due on {{date}}":`Do {{date}}`,"Cancellation conditions":`Warunki anulowania`,"{{amountInPercent}}% of the purchase price":`{{amountInPercent}}% ceny zakupu`,"Cancellation fee":`OpÅata za anulowanie`,"No cancellation conditions available.":`Brak dostÄpnych warunków anulowania.`,"The cancellation conditions are listed below. The applicable deadlines and fees can be found in the table.":`Poniżej wymienione sÄ
warunki anulowania. ObowiÄ
zujÄ
ce terminy i opÅaty można znaleÅºÄ w tabeli.`,"Refunded amount:":`Zwrócona kwota:`,Paid:`PÅatne`,"Payment Summary":`Podsumowanie pÅatnoÅci`,"To be paid":`Do zapÅaty`,"To be refunded":`Do zwrotu`,"Already processed":`Już przetworzone`,"Payment Details":`SzczegóÅy pÅatnoÅci`,"Remaining Balance: {{amountInPercent}}%":`PozostaÅe saldo: {{amountInPercent}}%`,"Deposit paid:":`WpÅacony depozyt:`,"Full payment":`PeÅna pÅatnoÅÄ`,"Refund amount:":`Kwota zwrotu:`,"Click here for cancellation conditions.":`Kliknij tutaj, aby zapoznaÄ siÄ z warunkami anulowania.`,"Already paid:":`Już zapÅacone:`,"Submit and pay":`PrzeÅlij i zapÅaÄ`,"To be paid now:":`Do zapÅaty teraz:`,"To be paid on {{date}}:":`Do zapÅaty w dniu {{date}}:`,"Item amount<sup>{{ taxDisclaimer }}</sup>:":`Kwota pozycji<sup>{{ taxDisclaimer }}</sup>:`,"Cancellation fee applied":`Zastosowano opÅatÄ za anulowanie`,"Deposit: {{amountInPercent}}%":`Depozyt: {{amountInPercent}}%`,"<sup>{{taxDisclaimer}}</sup> includes {{percent}}% VAT":`<sup>{{taxDisclaimer}}</sup> zawiera {{percent}}% VAT`,"Pay later:":`ZapÅaÄ później:`,"Pay now:":`ZapÅaÄ teraz:`,"To be refunded:":`Do zwrotu:`,"Transactions cannot be offset. The refund will be processed separately.":`Transakcje nie mogÄ
byÄ kompensowane. Zwrot zostanie przetworzony oddzielnie.`,"incl. {{percent}}% VAT:":`w tym {{percent}}% VAT:`,"Please select a region so that we can display the appropriate information.":`Wybierz region, abyÅmy mogli wyÅwietliÄ odpowiednie informacje.`,"Select your region":`Wybierz swój region`,"Please specify a valid number":`ProszÄ podaÄ prawidÅowy numer`,"e.g. late arrival at XX o'clock / parking slot required etc.":`np. późny przyjazd o XX / wymagane miejsce parkingowe itp.`,"This information is voluntary and is used to provide information for the hotel. Please do not enter any health related information.":`Informacje te sÄ
dobrowolne i sÅużÄ
do przekazania informacji hotelowi. Prosimy nie wprowadzaÄ danych dotyczÄ
cych zdrowia.`,"Please make sure that the person named is aware of your information.":`Upewnij siÄ, że wymieniona osoba jest Åwiadoma przekazanych przez Ciebie informacji.`,from:`od`,"I want to add another person to my stay":`ChcÄ dodaÄ kolejnÄ
osobÄ do mojego pobytu`,"The additional person field must be filled.":`Pole dod
4031atkowa osoba musi zostaÄ wypeÅnione.`,"Additional person":`Dodatkowa osoba`,"This inquiry has already been processed. You may only request changes or cancellation of this stay.":`To zapytanie zostaÅo już przetworzone. Możesz jedynie poprosiÄ o zmianÄ lub anulowanie tego pobytu.`,"Status: Inquiry":`Status: Zapytanie`,"Status: Cancellation requested":`Status: Å»Ä danie anulowania`,"Status: Processed":`Status: Przetworzony`,"Request changes":`Å»Ä danie zmian`,"Open website":`Otwarta strona internetowa`,"Revoke cancellation":`Wycofaj anulowanie`,"Select room":`Wybierz pokój`,"Select hotel":`Select Hotel`,"The selected hotel rooms are no longer available for booking.":`Wybrane pokoje hotelowe nie sÄ już dostÄpne do rezerwacji.`,"Cancellation requested":`Wymagane anulowanie`,"Request cancellation":`Wniosek o anulowanie`,"Are you sure you want to request a cancellation of this hotel stay?":`Czy na pewno chcesz zaÅ¼Ä daÄ anulowania rezerwacji tego pobytu w hotelu?`,"No hotel stays have been selected.":`Nie wybrano żadnych pobytów w hotelu.`,"Requested check-in":`Preferowane zameldowanie`,"Requested check-out":`Preferowane wymeldowanie`,"Requested hotel":`Preferowany hotel`,"Requested room":`Preferowany pokój`,"Requested nights":`Zamówione noce`,"Total price":`Cena caÅkowita`,"The Check-in and check-out field must not overlap with other stays.":`Pola zameldowania i wymeldowania nie mogÄ pokrywaÄ siÄ z innymi pobytami.`,"Delete inquiry":`UsuÅ zapytanie`,"{{number}}. Inquiry":`{{number}}. Zapytanie`,"Add inquiry":`Dodaj zapytanie`,"At least {{count}} hotel stays must be specified._one":`Należy okreÅliÄ co najmniej jeden pobyt w hotelu.`,"At least {{count}} hotel stays must be specified._other":`Należy okreÅliÄ co najmniej {{count}} pobytów w hotelu.`,"More information":`WiÄcej informacji`,"Hotel stays":`Pobyty hotelowe`,"Remarks for stay":`Uwagi dotyczÄ ce pobytu`,"A maximum of {{count}} nights can be booked._one":`Można zarezerwowaÄ maksymalnie jednÄ noc.`,"A maximum of {{count}} nights can be booked._other":`Można zarezerwowaÄ maksymalnie {{count}} noce.`,"A room must be selected.":`Należy wybraÄ pokój.`,"A hotel must be selected.":`Należy wybraÄ hotel.`,"The Check-in and check-out field is required.":`Pole zameldowania i wymeldowania jest wymagane.`,"You can only assign a maximum of {{count}} hotel stays._one":`Możesz przypisaÄ tylko maksymalnie jeden pobyt w hotelu.`,"You can only assign a maximum of {{count}} hotel stays._other":`Możesz przypisaÄ maksymalnie {{count}} pobytów w hotelu.`,"Delete booking":`UsuÅ rezerwacjÄ`,Room:`Pokój`,"No hotels found for the given check-in and check-out date.":`Nie znaleziono hoteli dla podanej daty zameldowania i wymeldowania.`,"per Night":`za noc`,"{{count}} Persons_one":`1 Osoba`,"{{count}} Persons_other":`{{count}} Osób`,"{{number}}. Booking":`{{number}}. Rezerwacja`,"No hotel stay added yet.":`Nie dodano jeszcze pobytu w hotelu.`,"Add booking":`Dodaj rezerwacjÄ`,"The value entered does not match the expected format.":`Wprowadzona wartoÅÄ nie jest zgodna z oczekiwanym formatem.`,"This field must not contain https, http or www.":`To pole nie może zawieraÄ https, http ani www.`,Tickets:`Tickets`,Media:`Media`,News:`News`,"SPECIAL PRIZES":`SPECIAL PRIZES {{year}}`,"CLASS WINNERS":`CLASS WINNERS {{year}}`,"ENTRANTS & WINNERS":`ENTRANTS & WINNERS`,by:`by`,Engine:`Engine`,Coachwork:`Coachwork`,Entrant:`Entrant`,"load more":`load more`,"You can also use the filter to get the wanted class.":`You can also use the filter to get the wanted class.`,"ALL ENTRANTS":`ALL ENTRANTS {{ year }}`,"Click at the vehicle of your choice to see more information.":`Click at the vehicle of your choice to see more information.`,Newsletter:`Newsletter`,"Successfully subscribed to the newsletter.":`Successfully subscribed to the newsletter.`,termsAndConditions:`Yes, I would like to receive the newsletter of <legalNotice>BMW AG</legalNotice> at my e-mail address until I revoke such consent. I consent to BMW AG collecting opening and click rates to evaluate and optimize its newsletter service. 4032You can revoke your consent at any time with effect for the future. You can find more information about our processing of your data in our <privacyNotice>privacy notice</privacyNotice>`,"The final payment process is not yet active":`Ostateczny proces pÅatnoÅci nie jest jeszcze aktywny.`,"Show only shuttles":`Pokaż tylko wahadÅowce`,"You need min. {{count}} {{companionType}}
4032_other":`Potrzeba co najmniej {{count}} {{companionType}}`,"You need min. {{count}} {{companionType}}_one":`Potrzebujesz min. {{count}} {{companionType}}`,"Check-in date must be after {{date}}.":`Data zameldowania musi byÄ późniejsza niż {{date}}.`,"Check-out date must be before {{date}}.":`Data wymeldowania musi byÄ wczeÅniejsza niż {{date}}.`,Hotel:`Hotel`,"Check-in date must be before check-out date.":`Data zameldowania musi byÄ wczeÅniejsza niż data wymeldowania.`,"Self travel":`Podróż wÅasna`,"Edit self travel":`Edytuj samodzielnÄ
podróż`,"You have to provide a departure.":`Musisz podaÄ odlot.`,"You have to provide an arrival.":`Musisz podaÄ przyjazdâ`,"Further options":`Dalsze opcje`,"No travel templates found.":`Nie znaleziono szablonów podróżyâ`,"Travel templates":`Szablony podróży`,Time:`Czas`,"Shopping is disabled because you are registered already.":`Zakupy sÄ
wyÅÄ
czone, ponieważ użytkownik jest już zarejestrowany.`,"This field must be an integer":`To pole musi byÄ liczbÄ
caÅkowitÄ
`,Amount:`IloÅÄ`,"No contingent is available for a travel segment!":`Brak dostÄpnego kontyngentu na segment podróży!`,"There is no contingent available for this tenant wave combination.":`Brak dostÄpnego kontyngentu!`,"Travel type":`Rodzaj podróży`,"Create travel segment":`Utwórz segment podróży`,"Create new travel segment":`Utwórz nowy segment podróży`,"Arrival station":`Stacja przyjazdu`,"Departure station":`Stacja odlotu`,"Arrival airport":`Lotnisko przylotu`,"Departure airport":`Lotnisko odlotu`,"Departure time":`Czas odlotu`,"Departure date":`Data odlotu`,"Arrival time":`Godzina przylotu`,"Arrival date":`Data przylotu`,"Create flight inquiry":`Utwórz zapytanie o lot`,"Create train inquiry":`Utwórz zapytanie dotyczÄ
ce pociÄ
gu`,"Earliest departure":`NajwczeÅniejszy odlot`,"Latest arrival":`Najpóźniejszy przylot`,"Edit inquiry":`Edycja zapytania`,Inquiry:`Zapytanie`,Remarks:`Uwagi`,"Arrival location":`Lokalizacja przyjazdu`,"Departure location":`Miejsce odjazdu`,"Latest arrival time":`Ostatni czas przybycia`,"Latest arrival date":`Najpóźniejsza data przyjazdu`,"Earliest departure time":`NajwczeÅniejsza godzina odlotu`,"Earliest departure date":`NajwczeÅniejsza data odlotu`,"I would like to make a travel inquiry":`ChciaÅbym zÅożyÄ zapytanie dotyczÄ
ce podróży`,"I organize my travel on my own":`Sam organizujÄ swoje podróże`,"You need to have at least {{count}} travels._other":`Musisz mieÄ co najmniej {{count}} podróży.`,"You need to have at least {{count}} travels._one":`Musisz mieÄ co najmniej jednÄ
podróż`,"You can only assign a maximum of {{count}} travels._other":`Możesz przypisaÄ maksymalnie {{count}} podróży.`,"You can only assign a maximum of {{count}} travels._one":`Możesz przypisaÄ tylko maksymalnie jednÄ
podróż.`,"{{count}} of {{max}}":`{{count}} z {{max}}`,"Travel planning":`Planowanie podróży`,"No travel segments have been added yet.":`Nie dodano jeszcze żadnych segmentów podróży.`,"Service class":`Klasa usÅugi`,"Charging station":`Stacja Åadowania`,"Parking spot":`Miejsce parkingowe`,"License plate":`Tablica rejestracyjna`,"Train number":`Numer pociÄ
gu`,"Flight number":`Numer lotu`,"No travel available.":`Podróż niedostÄpna`,shuttle:`Shuttle`,train:`PociÄ
g`,car:`Samochód`,flight:`Lot`,"Travel segments":`Segmenty podróży`,"No travel segments found.":`Nie znaleziono segmentów podróży.`,"Remove travel segment from selection":`UsuÅ segment podróży z wyboru`,"Selected travel segments":`Wybrane segmenty podróży`,"Show only cars":`Pokaż tylko samochody`,"Show only trains":`Pokaż tylko pociÄ
gi`,"Show only flights":`Pokaż tylko loty`,"Add departure segment":`Dodaj segment odjazdu`,"Add arrival segment":`Dodaj segment przyjazdu`,Arrival:`Przylot`,Departure:`Odlot`,"Delete arrival and departure":`UsuÅ przylot i odlot`,"Add arrival and departure":`Dodaj przylot i odlot`,"{{number}}. Travel":`{{number}}. Podróż`,"Complete Payment":`DokoÅcz pÅatnoÅÄ`,"Please click on the button to finalise the payment!":`ProszÄ kliknÄ
Ä przycisk, aby zakoÅczyÄ pÅatnoÅÄ!`,Pay:`ZapÅaÄ`,"Invoice send":`Faktura wysÅana`,"The invoice has been sent to you, please check your emails!":`Faktura zostaÅa wysÅana do Ciebie, proszÄ sprawdź swoje e-maile!`,"The order was already paid!":`Zamówienie zostaÅo już opÅacone!`,"An email with an invitation has been sent to you.":`WiadomoÅÄ e-mail z zaproszeniem zostaÅa wysÅana.`,"An email with your personal registration link has been sent to you.":`WiadomoÅÄ e-mail z osobistym linkiem rejestracyjnym zostaÅa wysÅana.`,"Welcome back!":`W
4032itamy ponownie!`,"Field cannot contain one of the following values: {{value}}":`Pole nie może zawieraÄ jednej z nastÄpujÄ
cych wartoÅci: {{value}}`,"Deposit in percent":`Depozyt w procentach`,"Protected registration":`Rejestracja chroniona`,"Please type in your code":`Wprowadź swój kod`,"Cancellation confirmed":`Anulowanie potwierdzone`,"Registration confirmed":`Rejestracja potwierdzona`,"Declination confirmed":`Odmowa potwierdzona`,"Changes confirmed":`Potwierdzono zmiany`,"Replacement nomination received":`Otrzymano nominacjÄ zastÄpczÄ
`,"Thank you for letting us know that unfortunately you will not be able to attend after all.":`DziÄkujemy za poinformowanie nas, że niestety nie bÄdziesz mógÅ wziÄ
Ä udziaÅu.`,"Thank you for letting us know that you are unable to attend.":`DziÄkujemy za poinformowanie nas, że nie możesz wziÄ
Ä udziaÅu.`,"We will send an invitation to your representative.":`WyÅlemy zaproszenie do twojego przedstawiciela`,"Your changes will now be reflected in the system.":`Zmiany zostanÄ
teraz odzwierciedlone w systemie`,"Field has minimum {{count}} values_one":`Pole ma co najmniej jednÄ
wartoÅÄ`,"Field has minimum {{count}} values_other":`Pole ma co najmniej {{count}} wartoÅci`,"Field has maximum {{count}} values_one":`Pole ma maksymalnie jednÄ
wartoÅÄ`,"Field has maximum {{count}} values_other":`Pole ma maksymalnie {{count}} wartoÅci`,"Field is not updatable":`Pole nie może byÄ aktualizowane`,"Field {{name}} must not contain {{value}}":`Pole {{name}} nie może zawieraÄ {{value}}`,"Field {{name}} must contain {{value}}":`Pole {{name}} musi zawieraÄ {{value}}`,"Field must not have value {{value}}":`Pole nie może mieÄ wartoÅci {{value}}.`,"Field has maximum {{count}} characters_one":`Pole ma maksymalnie jeden znak`,"Field has maximum {{count}} characters_other":`Pole ma maksymalnie {{count}} znaków`,"Field has minimum {{count}} characters_one":`Pole ma co najmniej jeden znak`,"Field has minimum {{count}} characters_other":`Pole ma minimum {{count}} znaków`,"Field must have value {{value}}":`Pole musi mieÄ wartoÅÄ {{value}}.`,"Nominate replacement":`Wyznacz zastÄpstwo`,"Replacement successful nominated":`Nominowany udany zamiennik`,"Allowed file types: image, video, PDF, office (word/excel etc.), font":`Dozwolone typy plików: obraz, wideo, PDF, biurowe (word/excel itp.), czcionka`,"Download file":`Pobierz plik`,"Remove file":`UsuÅ plik`,"Maximum amount of {{companions}} already added":`Maksymalna liczba już dodanych {{companions}}`,"{{companion}} is already registered":`{{companion}} jest już zarejestrowany`,"{{ currentCount }} of {{ maxCount }}":`{{ currentCount }} z {{ maxCount }}`,"Update {{companion}}":`{{companion}} aktualizacji`,"Invalid phone number":`NieprawidÅowy numer telefonu`,"This field may not exceed 20 characters":`To pole nie może przekraczaÄ 20 znaków`,"This field may not exceed 181 characters":`To pole nie może przekraczaÄ 181 znaków`,"Invalid URL format":`NieprawidÅowy format adresu URL`,"Remove {{companion}}":`UsuÅ {{companion}}`,"Edit {{companion}}":`Edytuj {{companion}}`,"Submit {{companion}}":`ZgÅoÅ {{companion}}`,"No {{companions}}":`Brak {{companions}}`,"Add {{companion}}":`Dodaj {{companion}}`,"The Shop module is not configured correctly.":`ModuÅ Shop nie jest poprawnie skonfigurowany.`,"In order to retrieve data it is necessary to specify the country of the invoice recipient as well as company information if available.":`Aby pobraÄ dane, należy okreÅliÄ kraj odbiorcy faktury, a także informacje o firmie, jeÅli sÄ
dostÄpne.`,"Try again":`Spróbuj ponownie`,"Your payment could not be completed successfully.":`PÅatnoÅÄ nie mogÅa zostaÄ pomyÅlnie zakoÅczona.`,"Your payment is being processed...":`PÅatnoÅÄ jest przetwarzana...`,"Total: {{total}}":`ÅÄ
cznie: {{total}}`,Item:`Pozycja`,Net:`Netto`,"Gross / VAT":`Brutto / VAT`,Total:`ÅÄ
cznie`,"Including {{percent}}% VAT":`W tym {{percent}}% VAT`,"Use this payment provider":`Użyj tego dostawcy pÅatnoÅci`,"Payment provider":`Dostawca pÅatnoÅci`,Shop:`Sklep`,"Increase amount of {{item}}":`ZwiÄksz kwotÄ {{item}}`,"Decrease amount of {{item}}":`ZmniejszyÄ kwotÄ {{item}}`,"Field must contain one of the following values: {{value}}":`Pole musi zawieraÄ jednÄ
z nastÄpujÄ
cych wartoÅci: {{value}}`,"Field has minimum value of {{value}}":`Pole ma minimalnÄ
wartoÅÄ {{value}}`,"Field has maximum value of {{value}}":`Pole ma maksymalnÄ
wartoÅÄ {{value}}`,"registration.cancel":`Anuluj`,"registration.register":`Rejestracja`,Cancellation:`Anulowanie`,"Cancellation successful":`Anulowanie powiodÅo siÄ`,"An error has occurred":`WystÄ
piÅ bÅÄ
d`,"registration.decline":`Odmowa`,Declination:`Deklinacja`,"Declination successful":`
4032Udana deklinacja`,"registration.update":`Aktualizacja rejestracji`,"Your registration was updated.":`Rejestracja zostaÅa zaktualizowana.`,Contact:`Kontakt`,"This registration is only accessible through a personal invitation.":`Ta rejestracja jest dostÄpna wyÅÄ
cznie przez indywidualne zaproszenie wysÅane drogÄ
mailowÄ
.`,"Private registration":`Rejestracja prywatna`,"Closed registration":`ZamkniÄta rejestracja`,"This registration is closed.":`Ta rejestracja jest zamkniÄta.`,URL:`URL`,Disagree:`Nie zgadzam siÄ`,Agree:`Zgadzam siÄ`,"Registration Preview":`PodglÄ
d rejestracji`,"The preview ignores all conditions and cannot be submitted":`PodglÄ
d ignoruje wszystkie warunki i nie może zostaÄ przesÅany`,"No registration steps found":`Nie znaleziono kroków rejestracji`,Registration:`Rejestracja`,"Your registration was successful.":`Rejestracja przebiegÅa pomyÅlnie.`,"You were placed on the waiting list.":`ZostaÅeÅ umieszczony na liÅcie oczekujÄ
cych.`,Summary:`Podsumowanie`,"registration.submit":`PrzeÅlij`},EKe={"Please complete the data of all {{companions}}":`Por favor, complete os dados de todos os {{companions}}`,"The quota has already been reached for at least one of the nights. A request is still possible, but availability cannot be guaranteed.":`A quota já foi atingida para, pelo menos, uma das noites. Ainda é possÃvel efetuar um pedido, mas a disponibilidade não pode ser garantida.`,Booking:`Reservas`,"The earliest departure must be before the latest arrival.":`A partida mais antecipada deve ser anterior à chegada mais tardia.`,"The email must be a valid email address.":`O e-mail deve ser um endereço de e-mail válido.`,"Your flight information has been filled out automatically. Please verify that the details are correct.":`As informações do seu voo foram preenchidas automaticamente. Por favor, verifique se os dados estão corretos.`,"Provide flight number and departure date to obtain flight information.":`Forneça o número do voo e a data de partida para obter as informações do voo.`,"Autofill flight information":`Preencher automaticamente informações do voo`,"A route for the flight could not be found.":`Não foi possÃvel encontrar uma rota para o voo.`,"Start date":`Data de inÃcio`,"Return to the registration":`Voltar ao registo`,"Your payment has been cancelled or did expire. You can return to the registration and try again.":`O seu pagamento foi cancelado ou expirou. Pode voltar ao registo e tentar novamente.`,"We're sorry, but an error occurred during your payment. Unfortunately, we cannot process your payment at this time.":`Lamentamos, mas ocorreu um erro durante o seu pagamento. Infelizmente, não podemos processar o seu pagamento neste momento.`,"The shop is currently not fully configured. Please contact an administrator.":`Atualmente, a loja não está totalmente configurada. Por favor, contacte um administrador.`,"Total refunds":`Total de reembolsos`,"Already refunded":`Já reembolsado`,"Already refunded:":`Já reembolsado:`,"Cancellation Summary":`Resumo do cancelamento`,"Accept cancellation conditions":`Aceitar as condições de anulação`,"To be paid later":`A pagar posteriormente`,FINAL_PAYMENT:`Pagamento final`,DEPOSIT_PAYMENT:`Pagamento do depósito`,"Refunded on {{date}}":`Reembolsado em {{data}}`,"Paid on {{date}}":`Pago em {{data}}`,"Due on {{date}}":`Vencimento em {{data}}`,"Cancellation conditions":`Condições de cancelamento`,"{{amountInPercent}}% of the purchase price":`{{amountInPercent}}% do preço de compra`,"Cancellation fee":`Taxa de cancelamento`,"No cancellation conditions available.":`Não há condições de cancelamento disponÃveis.`,"The cancellation conditions are listed below. The applicable deadlines and fees can be found in the table.":`As condições de cancelamento estão listadas abaixo. Os prazos e taxas aplicáveis podem ser encontrados na tabela.`,"Refunded amount:":`Montante reembolsado:`,Paid:`Pago`,"Payment Summary":`Resumo dos pagamentos`,"To be paid":`A pagar`,"To be refunded":`A reembolsar`,"Already processed":`Já processado`,"Payment Details":`Detalhes do pagamento`,"Remaining Balance: {{amountInPercent}}
4032%":`Saldo remanescente: {{amountInPercent}}%`,"Deposit paid:":`Depósito pago:`,"Full payment":`Pagamento integral`,"Refund amount:":`Montante do reembolso:`,"Click here for cancellation conditions.":`Clique aqui para ver as condições de anulação.`,"Already paid:":`Já pago:`,"Submit and pay":`Apresentar e pagar`,"To be paid now:":`A pagar agora:`,"To be paid on {{date}}:":`A ser pago em {{date}}:`,"Item amount<sup>{{ taxDisclaimer }}</sup>:":`Montante do artigo<sup>{{{ taxDisclaimer }}</sup>:`,"Cancellation fee applied":`Taxa de cancelamento aplicada`,"Deposit: {{amountInPercent}}%":`Depósito: {{amountInPercent}}%`,"<sup>{{taxDisclaimer}}</sup> includes {{percent}}% VAT":`<sup>{{{taxDisclaimer}}</sup> inclui {{percent}}% de IVA`,"Pay later:":`Pagar mais tarde:`,"Pay now:":`Pagar agora:`,"To be refunded:":`A reembolsar:`,"Transactions cannot be offset. The refund will be processed separately.":`As transacções não podem ser compensadas. O reembolso será processado separadamente.`,"incl. {{percent}}% VAT:":`incl. {{percent}}% IVA:`,"Please select a region so that we can display the appropriate information.":`Selecione uma região para que possamos exibir as informações apropriadas.`,"Select your region":`Selecione a sua região`,"Please specify a valid number":`Por favor, especifique um número válido`,"e.g. late arrival at XX o'clock / parking slot required etc.":`por ex. chegada tardia à s XX / estacionamento necessário, etc.`,"This information is voluntary and is used to provide information for the hotel. Please do not enter any health related information.":`Estas informações são facultativas e destinam-se a fornecer dados ao hotel. Não insira informações relacionadas com a saúde.`,"Please make sure that the person named is aware of your information.":`Certifique-se de que a pessoa nomeada tem conhecimento das suas informações.`,from:`a partir de`,"I want to add another person to my stay":`Quero adicionar outra pessoa à minha estadia`,"The additional person field must be filled.":`O campo pessoa adicional deve ser preenchido.`,"Additional person":`Pessoa adicional`,"This inquiry has already been processed. You may only request changes or cancellation of this stay.":`Este pedido já foi processado. Só pode solicitar alterações ou o cancelamento desta estadia.`,"Status: Inquiry":`Estado: Inquérito`,"Status: Cancellation requested":`Estado: Cancelamento solicitado`,"Status: Processed":`Estado: Processado`,"Request changes":`Pedir alterações`,"Open website":`Abrir o sÃtio Web`,"Revoke cancellation":`Revogar cancelamento`,"Select room":`Selecionar quarto`,"Select hotel":`Selecionar hotel`,"The selected hotel rooms are no longer available for booking.":`Os quartos de hotel selecionados já não estão disponÃveis para reserva.`,"Cancellation requested":`Cancelamento solicitado`,"Request cancellation":`Pedido de anulação`,"Are you sure you want to request a cancellation of this hotel stay?":`Tem a certeza de que pretende solicitar o cancelamento desta estadia no hotel?`,"No hotel stays have been selected.":`Nenhuma estadia em hotel foi selecionada.`,"Requested check-in":`Check-in desejado`,"Requested check-out":`Check-out desejado`,"Requested hotel":`Hotel desejado`,"Requested room":`Quarto desejado`,"Requested nights":`Noites solicitadas`,"Total price":`Preço total`,"The Check-in and check-out field must not overlap with other stays.":`O campo Check-in e check-out não deve sobrepor-se a outras estadias.`,"Delete inquiry":`Excluir pedido`,"{{number}}. Inquiry":`{{number}}. Pedido`,"Add inquiry":`Adicionar pedido`,"At least {{count}} hotel stays must be specified._one":`Pelo menos uma estadia em hotel deve ser especificada.`,"At least {{count}} hotel stays must be specified._other":`Pelo menos {{count}} estadias em hotel devem ser especificadas.`,"More information":`Mais informações`,"Hotel stays":`Estadia em hotéis`,"Remarks for stay":`Observações para estadia`,"A maximum of {{count}} nights can be booked._one":`Pode ser reservada no máximo uma noite.`,"A maximum of {{count}} nights can be booked._other":`Podem ser reservadas no máximo {{count}} noites.`,"A room must be selected.":`Um quarto deve ser selecionado.`,"A hotel must be selected.":`Um hotel deve ser selecionado.`,"The Check-in and check-out field is required.":`O campo de Check-in e Check-out é obrigatório.`,"You can only assign a maximum of {{count}} hotel stays._one":`Só pode atribuir um máximo de uma estadia em hotel.`,"You can only assign a maximum of {{count}} hotel stays._other":`Só pode atribuir um máximo de {{count}} estadias em hotel.`,"Delete booking":`Excluir reserva`,Room:`Quarto`,"No hotels found for the given check-in and check-out date.":`Nenhum hotel encontrado para a data de check-in e check-out fornecida.`,"per Night":`por Noite`,"{{count}} Persons_one":`1 Pessoa`,"{{count}} Persons_other":`{{count}} Pessoas`,"{{number}}. Booking":`{{number}}. Reserva`,"No hotel stay added yet.":`Nenhuma estadia em hotel adicionada ainda.`,"Add booking":`Adicionar reserva`,"The value entered does not match the expected format.":`O valor introduzido não corresponde ao formato esperado.`,"This field must not contain https, http or www.":`Este campo não deve conter https, http ou www.`,Tickets:`Tickets`,Media:`Media`,News:`News`,"SPECIAL PRIZES":`SPECIAL PRIZES {{year}}`,"CLASS WINNERS":`CLASS WINNERS {{year}}`,"ENTRANTS & WINNERS":`ENTRANTS & WINNERS`,by:`by`,Engine:`Engine`,Coachwork:`Coachwork`,Entrant:`Entrant`,"load more":`load more`,"You can also use the filter to get the wanted class.":`You can also use the filter to get the wanted class.`,"ALL ENTRANTS":`ALL ENTRANTS {{ year }}`,"Click at the vehicle of your choice to see more information.":`Click at the vehicle of your choice to see more information.`,Newsletter:`Newsletter`,"Successfully subscribed to the newsletter.":`Successfully subscribed to the newsletter.`,termsAndConditions:`Yes, I would like to receive the newsletter of <legalNotice>BMW AG</legalNotice> at my e-mail address until I revoke such consent. I consent to BMW AG collecting opening and click rates to evaluate and optimize its newsletter service. 4033You can revoke your consent at any time with effect for the future. You can find more information about our processing of your data in our <privacyNotice>privacy notice</privacyNotice>`,"The final payment process is not yet active":`O processo de pagamento final ainda não está ativo.`,"Show only shuttles":`Vaivéns só para espectáculos`,"You need min. {{count}} {{companionType}}_other":`Necessita de pelo menos {{count}} {{companionType}}`,"You need min. {{count}} {{companionType}}_one":`São necessários, no mÃnimo, {{count}} {{companionType}}`,"Check-in date must be after {{date}}.":`A data de check-in deve ser após {{date}}.`,"Check-out date must be before {{date}}.":`A data de check-out deve ser antes de {{date}}.`,Hotel:`Hotel`,"Check-in date must be before check-out date.":`A data de check-in deve ser anterior à data de check-out.`,"Self travel":`Viagem autónoma`,"Edit self travel":`Editar viagem autónoma`,"You have to provide a departure.":`Tem de fornecer uma partida.`,"You have to provide an arrival.":`Tem de fornecer uma chegada.`,"Further options":`Outras opções`,"No travel templates found.":`Não foram encontrados modelos de viagem.`,"Travel templates":`Modelos de viagem`,Time:`Hora`,"Shopping is disabled because you are registered already.":`As compras estão desativadas porque você já está cadastrado.`,"This field must be an integer":`Este campo deve ser um número inteiro`,Amount:`Quantidade`,"No contingent is available for a travel segment!":`Não há contingente disponÃvel para um segmento de viagem!`,"There is no contingent available for this tenant wave combination.":`Nenhum contingente disponÃvel!`,"Travel type":`Tipo de viagem`,"Create travel segment":`Criar segmento de viagem`,"Create new travel segment":`Criar novo segmento de viagem`,"Arrival station":`Estação de chegada`,"Departure station":`Estação de partida`,"Arrival airport":`Aeroporto de chegada`,"Departure airport":`Aeroporto de partida`,"Departure time":`Hora de partida`,"Departure date":`Data de partida`,"Arrival time":`Hora de chegada`,"Arrival date":`Data de chegada`,"Create flight inquiry":`Criar inquérito sobre voos`,"Create train inquiry":`Criar pedido de informação sobre comboios`,"Earliest departure":`Primeira partida`,"Latest arrival":`Ãltima chegada`,"Edit inquiry":`Processar solicitação de cotação`,Inquiry:`Solicitação de cotação`,Remarks:`Observações`,"Arrival location":`Local de chegada`,"Departure location":`Local de partida`,"Latest arrival time":`Ãltima hora de chegada`,"Latest arrival date":`Data da última chegada`,"Earliest departure time":`Primeira hora de partida`,"Earliest departure date":`Primeira data de partida`,"I would like to make a travel inquiry":`Gostaria de efetuar um pedido de viagem`,"I organize my travel on my own":`Organizo as minhas viagens por conta própria`,"You need to have at least {{count}} travels._other":`Precisa de ter pelo menos {{count}} de viagens.`,"You need to have at least {{count}} travels._one":`Tem de ter pelo menos uma viagem.`,"You can only assign a maximum of {{count}} travels._other":`Só pode atribuir um máximo de {{count}} viagens.`,"You can only assign a maximum of {{count}} travels._one":`Só podes atribuir um máximo de uma viagem.`,"{{count}} of {{max}}":`{{count}} de {{max}}`,"Travel planning":`Planeamento de viagem`,"No travel segments have been added yet.":`Ainda não foram adicionados segmentos de viagem.`,"Service class":`Classe de serviço`,"Charging station":`Estação de carregamento`,"Parking spot":`Lugar de estacionamento`,"License plate":`MatrÃcula`,"Train number":`Número do comboio`,"Flight number":`Número de voo`,"No travel available.":`Não há viagens disponÃveis`,shuttle:`Vaivém`,train:`Comboio`,car:`Carro`,flight:`Voo`,"Travel segments":`Segmentos de viagem`,"No travel segments found.":`Não foram encontrados segmentos de viagem.`,"Remove travel segment from selection":`Remover segmento de viagem da seleção`,"Selected travel segments":`Segmentos de viagem seleccionados`,"Show only cars":`Mostrar apen
4033as automóveis`,"Show only trains":`Mostrar apenas comboios`,"Show only flights":`Mostrar apenas voos`,"Add departure segment":`Adicionar segmento de partida`,"Add arrival segment":`Adicionar segmento de chegada`,Arrival:`Chegada`,Departure:`Partida`,"Delete arrival and departure":`Eliminar chegada e partida`,"Add arrival and departure":`Adicionar chegada e partida`,"{{number}}. Travel":`{{number}}. Viagem`,"Complete Payment":`Completar pagamento`,"Please click on the button to finalise the payment!":`Por favor, clique no botão para finalizar o pagamento!`,Pay:`Pagar`,"Invoice send":`Fatura enviada`,"The invoice has been sent to you, please check your emails!":`A fatura foi enviada para você, por favor verifique seus e-mails!`,"The order was already paid!":`O pedido já foi pago!`,"An email with an invitation has been sent to you.":`Foi-lhe enviada uma mensagem de correio eletrónico com um convite.`,"An email with your personal registration link has been sent to you.":`Foi-lhe enviada uma mensagem de correio eletrónico com a sua ligação de registo pessoal.`,"Welcome back!":`Bem-vindo de volta!`,"Field cannot contain one of the following values: {{value}}":`O campo não pode conter um dos seguintes valores: {{value}}`,"Deposit in percent":`Depósito em percentagem`,"Protected registration":`Registo protegido`,"Please type in your code":`Introduza o seu código`,"Cancellation confirmed":`Cancelamento confirmado`,"Registration confirmed":`Registo confirmado`,"Declination confirmed":`Recusa confirmada`,"Changes confirmed":`Alterações confirmadas`,"Replacement nomination received":`Nomeação de substituição recebida`,"Thank you for letting us know that unfortunately you will not be able to attend after all.":`Obrigado por nos informar que, infelizmente, não poderá estar presente.`,"Thank you for letting us know that you are unable to attend.":`Obrigado por nos informar que, infelizmente, não poderá estar presente.`,"We will send an invitation to your representative.":`Enviaremos um convite ao seu representante.`,"Your changes will now be reflected in the system.":`As suas alterações serão agora reflectidas no sistema.`,"Field has minimum {{count}} values_one":`O campo tem no mÃnimo um valor`,"Field has minimum {{count}} values_other":`O campo tem um mÃnimo de {{count}} valores`,"Field has maximum {{count}} values_one":`O campo tem no máximo um valor`,"Field has maximum {{count}} values_other":`O campo tem no máximo {{count}} valores`,"Field is not updatable":`O campo não é atualizável`,"Field {{name}} must not contain {{value}}":`O campo {{name}} deve conter {{value}}`,"Field {{name}} must contain {{value}}":`O campo {{name}} deve conter {{value}}`,"Field must not have value {{value}}":`O campo não pode ter o valor {{value}}`,"Field has maximum {{count}} characters_one":`O campo tem no máximo um carácter`,"Field has maximum {{count}} characters_other":`O campo tem um máximo de {{count}} caracteres`,"Field has minimum {{count}} characters_one":`O campo tem no mÃnimo um carácter`,"Field has minimum {{count}} characters_other":`O campo tem um mÃnimo de caracteres {{count}}`,"Field must have value {{value}}":`O campo tem de ter o valor {{value}}`,"Nominate replacement":`Nomear um substituto`,"Replacement successful nominated":`Substituição nomeada com sucesso`,"Allowed file types: image, video, PDF, office (word/excel etc.), font":`Tipos de ficheiros permitidos: imagem, vÃdeo, PDF, office (word/excel, etc.), tipo de letra`,"Download file":`Descarregar ficheiro`,"Remove file":`Remover ficheiro`,"Maximum amount of {{companions}} already added":`Número máximo de {{companions}} já adicionados`,"{{companion}} is already registered":`{{companion}} já está registrado`,"{{ currentCount }} of {{ maxCount }}":`{{ currentCount }} de {{ maxCount }}`,"Update {{companion}}":`Atualizar {{companion}}`,"Invalid phone number":`Número de telefone inválido`,"This field may not exceed 20 characters":`Este campo não pode exceder 20 caracteres`,"This field may not exceed 181 characters":`Este campo não pode exceder
4033181 caracteres`,"Invalid URL format":`Formato de URL inválido`,"Remove {{companion}}":`Remover {{companion}}`,"Edit {{companion}}":`Editar {{companion}}`,"Submit {{companion}}":`Enviar {{companion}}`,"No {{companions}}":`Sem {{companions}}`,"Add {{companion}}":`Adicionar {{companion}}`,"The Shop module is not configured correctly.":`O módulo de loja não está configurado corretamente.`,"In order to retrieve data it is necessary to specify the country of the invoice recipient as well as company information if available.":`Para recuperar os dados, é necessário especificar o paÃs do destinatário da fatura, bem como as informações da empresa, se disponÃveis.`,"Try again":`Tente novamente`,"Your payment could not be completed successfully.":`Seu pagamento não pôde ser concluÃdo com sucesso.`,"Your payment is being processed...":`Seu pagamento está sendo processado...`,"Total: {{total}}":`Total: {{total}}`,Item:`Item`,Net:`LÃquido`,"Gross / VAT":`Bruto / IVA`,Total:`Total`,"Including {{percent}}% VAT":`Incluindo {{percent}}% de IVA`,"Use this payment provider":`Use este provedor de pagamento`,"Payment provider":`Provedor de pagamento`,Shop:`Loja`,"Increase amount of {{item}}":`Aumentar quantidade de {{item}}`,"Decrease amount of {{item}}":`Diminuir quantidade de {{item}}`,"Field must contain one of the following values: {{value}}":`O campo deve conter um dos seguintes valores: {{value}}`,"Field has minimum value of {{value}}":`O campo deve ter o valor mÃnimo de {{value}}`,"Field has maximum value of {{value}}":`O campo deve ter o valor máximo de {{value}}`,"registration.cancel":`Cancelar`,"registration.register":`Registrar`,Cancellation:`Cancelamento`,"Cancellation successful":`Cancelamento realizado com sucesso`,"An error has occurred":`Ocorreu um erro`,"registration.decline":`Recusar`,Declination:`Recusa`,"Declination successful":`Recusa realizada com sucesso`,"registration.update":`Atualizar registro`,"Your registration was updated.":`Seu registro foi atualizado.`,Contact:`Contato`,"This registration is only accessible through a personal invitation.":`Este registro só é acessÃvel por meio de um convite pessoal.`,"Private registration":`Registro privado`,"Closed registration":`Registro fechado`,"This registration is closed.":`Este registro está fechado.`,URL:`URL`,Disagree:`Discordo`,Agree:`Concordo`,"Registration Preview":`Visualização do registro`,"The preview ignores all conditions and cannot be submitted":`A visualização ignora todas as condições e não pode ser enviada`,"No registration steps found":`Nenhuma etapa de registro encontrada`,Registration:`Registro`,"Your registration was successful.":`Seu registro foi realizado com sucesso.`,"You were placed on the waiting list.":`Você foi colocado na lista de espera.`,Summary:`Resumo`,"registration.submit":`Enviar`},DKe={"Please complete the data of all {{companions}}":`Vänligen komplettera uppgifterna för alla {{companions}}`,"The quota has already been reached for at least one of the nights. A request is still possible, but availability cannot be guaranteed.":`Kvoten har redan uppnÃ¥tts för minst en av nätterna. Det gÃ¥r fortfarande att göra en bokningsförfrÃ¥gan, men tillgänglighet kan inte garanteras.`,Booking:`Bokning`,"The earliest departure must be before the latest arrival.":`Den tidigaste avgÃ¥ngen mÃ¥ste vara före den senaste ankomsten.`,"The email must be a valid email address.":`E-postadressen mÃ¥ste vara en giltig e-postadress.`,"Your flight information has been filled out automatically. Please verify that the details are correct.":`Din flyginformation har fyllts i automatiskt. Vänligen kontrollera att uppgifterna är korrekta.`,"Provide flight number and departure date to obtain flight information.":`Ange flightnummer och avgÃ¥ngsdatum för att hämta flyginformation.`,"Autofill flight information":`Fyll i flyginformation automatiskt`,"A route for the flight could not be found.":`En rutt för flygresan kunde inte hittas.`,"Start date":`Startdatum`,"Return to the registration":`Ã
tergå till registreringen`,"Your payment has been cancelled or did expire. You can return to the registration and try again.":`Din betalning har avbrutits eller har gått ut. Du kan återgå till registreringen och försöka igen.`,"We're sorry, but an error occurred during your payment. Unfortunately, we cannot process your payment at this time.":`Vi beklagar, men ett fel uppstod under din betalning. Tyvärr kan vi inte genomföra din betalning just nu.`,"The shop is currently not fully configured. Please contact an administrator.":`Butiken är för närvarande inte fullt k
4033onfigurerad. Vänligen kontakta en administratör.`,"Total refunds":`Total Ã¥terbetalning`,"Already refunded":`Redan Ã¥terbetalad`,"Already refunded:":`Redan Ã¥terbetalad:`,"Cancellation Summary":`Sammanfattning av avbokning`,"Accept cancellation conditions":`Acceptera avbokningsvillkor`,"To be paid later":`Betalas senare`,FINAL_PAYMENT:`Slutlig betalning`,DEPOSIT_PAYMENT:`Inbetalning av deposition`,"Refunded on {{date}}":`Ã
terbetalades den {{datum}}`,"Paid on {{date}}":`Utbetalad den {{datum}}`,"Due on {{date}}":`Förfallodag {{datum}}`,"Cancellation conditions":`Avbokningsvillkor`,"{{amountInPercent}}% of the purchase price":`{{amountInPercent}}% av köpesumman`,"Cancellation fee":`Avbokningsavgift`,"No cancellation conditions available.":`Inga avbokningsvillkor tillgängliga.`,"The cancellation conditions are listed below. The applicable deadlines and fees can be found in the table.":`Avbokningsvillkoren anges nedan. Tillämpliga tidsfrister och avgifter finns i tabellen.`,"Refunded amount:":`Ã
terbetalat belopp:`,Paid:`Betalade`,"Payment Summary":`Betalningsöversikt`,"To be paid":`Skall betalas`,"To be refunded":`Ska Ã¥terbetalas`,"Already processed":`Redan bearbetad`,"Payment Details":`Betalningsinformation`,"Remaining Balance: {{amountInPercent}}%":`Ã
terstÃ¥ende saldo: {{amountInPercent}} %`,"Deposit paid:":`Deposition betald:`,"Full payment":`Full betalning`,"Refund amount:":`Ã
terbetalningsbelopp:`,"Click here for cancellation conditions.":`Klicka här för avbokningsvillkor.`,"Already paid:":`Har redan betalat:`,"Submit and pay":`Skicka in och betala`,"To be paid now:":`Ska betalas nu:`,"To be paid on {{date}}:":`Betalas ut den {{date}}:`,"Item amount<sup>{{ taxDisclaimer }}</sup>:":`Artikelbelopp<sup>{{ taxDisclaimer }}</sup>:`,"Cancellation fee applied":`Avbokningsavgift tillkommer`,"Deposit: {{amountInPercent}}%":`Insättning: {{amountInPercent}}%.`,"<sup>{{taxDisclaimer}}</sup> includes {{percent}}% VAT":`<sup>{{taxDisclaimer}}</sup> inkluderar {{percent}}% moms`,"Pay later:":`Betala senare:`,"Pay now:":`Betala nu:`,"To be refunded:":`Ska Ã¥terbetalas:`,"Transactions cannot be offset. The refund will be processed separately.":`Transaktioner kan inte kvittas. Ã
terbetalningen kommer att behandlas separat.`,"incl. {{percent}}% VAT:":`inklusive {{percent}}% moms:`,"Please select a region so that we can display the appropriate information.":`Välj en region sÃ¥ att vi kan visa rätt information.`,"Select your region":`Välj din region`,"Please specify a valid number":`Vänligen ange ett giltigt nummer`,"e.g. late arrival at XX o'clock / parking slot required etc.":`t.ex. sen ankomst kl. XX / parkeringsplats behövs osv.`,"This information is voluntary and is used to provide information for the hotel. Please do not enter any health related information.":`Denna information är frivillig och används för att ge information till hotellet. Ange inte hälsorelaterad information.`,"Please make sure that the person named is aware of your information.":`Se till att den angivna personen känner till din information.`,from:`frÃ¥n`,"I want to add another person to my stay":`Jag vill lägga till en annan person till min vistelse`,"The additional person field must be filled.":`Fältet ytterligare person mÃ¥ste fyllas i.`,"Additional person":`Ytterligare person`,"This inquiry has already been processed. You may only request changes or cancellation of this stay.":`Denna förfrÃ¥gan har redan behandlats. Du kan endast begära ändringar eller avbokning av denna vistelse.`,"Status: Inquiry":`Status: FörfrÃ¥gan`,"Status: Cancellation requested":`Status: Annullering begärd`,"Status: Processed":`Status: Behandlad`,"Request changes":`Begär ändringar`,"Open website":`Ãppna webbplats`,"Revoke cancellation":`Ã
terkalla avbokning`,"Select room":`Välj rum`,"Select hotel":`Välj hotell`,"The selected hotel rooms are no longer available for booking.":`De valda hotellrummen är inte längre tillgängliga för bokning.`,"Cancellation requested":`Avbokning begärd`,"Request cancellation":`Begäran om avbokning`,"Are you sure you want to request a cancellation of this hotel stay?"
4033:`Ãr du säker pÃ¥ att du vill begära en avbokning av denna hotellvistelse?`,"No hotel stays have been selected.":`Inga hotellvistelser har valts.`,"Requested check-in":`Ãnskad incheckning`,"Requested check-out":`Ãnskad utcheckning`,"Requested hotel":`Ãnskat hotell`,"Requested room":`Ãnskat rum`,"Requested nights":`Ãnskade nätter`,"Total price":`Totalt pris`,"The Check-in and check-out field must not overlap with other stays.":`Inchecknings- och utcheckningsfältet fÃ¥r inte överlappa med andra vistelser.`,"Delete inquiry":`Ta bort förfrÃ¥gan`,"{{number}}. Inquiry":`{{number}}. FörfrÃ¥gan`,"Add inquiry":`Lägg till förfrÃ¥gan`,"At least {{count}} hotel stays must be specified._one":`Minst en hotellvistelse mÃ¥ste anges.`,"At least {{count}} hotel stays must be specified._other":`Minst {{count}} hotellvistelser mÃ¥ste anges.`,"More information":`Mer information`,"Hotel stays":`Hotellvistelser`,"Remarks for stay":`Anmärkningar för vistelsen`,"A maximum of {{count}} nights can be booked._one":`Högst en natt kan bokas.`,"A maximum of {{count}} nights can be booked._other":`Högst {{count}} nätter kan bokas.`,"A room must be selected.":`Ett rum mÃ¥ste väljas.`,"A hotel must be selected.":`Ett hotell mÃ¥ste väljas.`,"The Check-in and check-out field is required.":`In- och utcheckningsfältet är obligatoriskt.`,"You can only assign a maximum of {{count}} hotel stays._one":`Du kan bara tilldela högst en hotellvistelse.`,"You can only assign a maximum of {{count}} hotel stays._other":`Du kan bara tilldela högst {{count}} hotellvistelser.`,"Delete booking":`Ta bort bokning`,Room:`Rum`,"No hotels found for the given check-in and check-out date.":`Inga hotell hittades för det angivna in- och utcheckningsdatumet.`,"per Night":`per natt`,"{{count}} Persons_one":`1 person`,"{{count}} Persons_other":`{{count}} personer`,"{{number}}. Booking":`{{number}}. Bokning`,"No hotel stay added yet.":`Inget hotellboende har lagts till ännu.`,"Add booking":`Lägg till bokning`,"The value entered does not match the expected format.":`Det angivna värdet stämmer inte överens med det förväntade formatet.`,"This field must not contain https, http or www.":`Detta fält fÃ¥r inte innehÃ¥lla https, http eller www.`,Tickets:`Tickets`,Media:`Media`,News:`News`,"SPECIAL PRIZES":`SPECIAL PRIZES {{year}}`,"CLASS WINNERS":`CLASS WINNERS {{year}}`,"ENTRANTS & WINNERS":`ENTRANTS & WINNERS`,by:`by`,Engine:`Engine`,Coachwork:`Coachwork`,Entrant:`Entrant`,"load more":`load more`,"You can also use the filter to get the wanted class.":`You can also use the filter to get the wanted class.`,"ALL ENTRANTS":`ALL ENTRANTS {{ year }}`,"Click at the vehicle of your choice to see more information.":`Click at the vehicle of your choice to see more information.`,Newsletter:`Newsletter`,"Successfully subscribed to the newsletter.":`Successfully subscribed to the newsletter.`,termsAndConditions:`Yes, I would like to receive the newsletter of <legalNotice>BMW AG</legalNotice> at my e-mail address until I revoke such consent. I consent to BMW AG collecting opening and click rates to evaluate and optimize its newsletter service. 4034You can revoke your consent at any time with effect for the future. You can find more information about our processing of your data in our <privacyNotice>privacy notice</privacyNotice>`,"The final payment process is not yet active":`Den slutliga betalningsprocessen är ännu inte aktiv.`,"Show only shuttles":`Skyttlar endast för utställningar`,"You need min. {{count}} {{companionType}}_other":`Du behöver minst {{count}} {{companionType}}`,"You need min. {{count}} {{companionType}}_one":`Du behöver minst {{count}} {{companionType}}`,"Check-in date must be after {{date}}.":`Indtjekningsdato skal være efter {{date}}.`,"Check-out date must be before {{date}}.":`Udtjekningsdato skal være før {{date}}.`,Hotel:`Hotell`,"Check-in date must be before check-out date.":`Incheckningsdatum mÃ¥ste vara före utcheckningsdatum.`,"Self travel":`Själv resa`,"Edit self travel":`Redigera självresa`,"You have to provide a departure.":`Du mÃ¥ste ange en avgÃ¥ng.`,"You have to provide an arrival.":`Du mÃ¥ste ange en ankomst.`,"Further options":`Ytterligare alternativ`,"No travel templates found.":`Inga resemallar hittades.`,"Travel templates":`Resemallar`,Time:`Tid`,"Shopping is disabled because you are registered already.":`Shopping är inaktiverat eftersom du redan är registrerad.`,"This field must be an integer":`Detta fält mÃ¥ste vara ett heltal`,Amount:`Kvantitet`,"No contingent is available for a travel segment!":`Inget kontingent är tillgängligt för ett reseavsnitt!`,"There is no contingent available for this tenant wave combination.":`Inget kontingent tillgängligt!`,"Travel type":`Typ av resa`,"Create travel segment":`Skapa resesegment`,"Create new travel segment":`Skapa nytt resesegment`,"Arrival station":`Ankomststation`,"Departure station":`AvgÃ¥ngsstation`,"Arrival airport":`Ankomstflygplats`,"Departure airport":`Avreseflygplats`,"Departure time":`AvgÃ¥ngstid`,"Departure date":`Avresedatum`,"Arrival time":`Ankomsttid`,"Arrival date":`Ankomstdatum`,"Create flight inquiry":`Skapa flygförfrÃ¥gan`,"Create train inquiry":`Skapa förfrÃ¥gan för tÃ¥g`,"Earliest departure":`Tidigaste avgÃ¥ng`,"Latest arrival":`Senaste ankomst`,"Edit inquiry":`Redigera förfrÃ¥gan`,Inquiry:`FörfrÃ¥gan`,Remarks:`Anmärkning`,"Arrival location":`Plats för ankomst`,"Departure location":`Plats för avgÃ¥ng`,"Latest arrival time":`Senaste ankomsttid`,"Latest arrival date":`Senaste ankomstdatum`,"Earliest departure time":`Tidigaste avgÃ¥ngstid`,"Earliest departure date":`Tidigaste avresedatum`,"I would like to make a travel inquiry":`Jag skulle vilja göra en reseförfrÃ¥gan`,"I organize my travel on my own":`Jag organiserar mina resor pÃ¥ egen hand`,"You need to have at least {{count}} travels._other":`Du mÃ¥ste ha minst {{count}} resor.`,"You need to have at least {{count}} travels._one":`Du mÃ¥ste ha minst en resa.`,"You can only assign a maximum of {{count}} travels._other":`Du kan bara tilldela maximalt {{count}} resor.`,"You can only assign a maximum of {{count}} travels._one":`Du kan bara tilldela högst en resa.`,"{{count}} of {{max}}":`{{count}} av {{max}}`,"Travel planning":`Reseplanering`,"No travel segments have been added yet.":`Inga resesegment har lagts till ännu.`,"Service class":`Serviceklass`,"Charging station":`Laddningsstation`,"Parking spot":`Parkeringsplats`,"License plate":`Registreringsskylt`,"Train number":`TÃ¥gnummer`,"Flight number":`Flygnummer`,"No travel available.":`Ingen resa tillgänglig.`,shuttle:`Skyttel`,train:`TÃ¥g`,car:`Bil`,flight:`Flyg`,"Travel segments":`Resesegment`,"No travel segments found.":`Inga resesegment hittades.`,"Remove travel segment from selection":`Ta bort resesegment frÃ¥n urvalet`,"Selected travel segments":`Valda resesegment`,"Show only cars":`Visa endast bilar`,"Show only trains":`Visa endast tÃ¥g`,"Show only flights":`Visa endast flyg`,"Add departure segment":`Lägg till avgÃ¥ngssegment`,"Add arrival segment":`Lägg till ankomstsegment`,Arrival:`Ankomst`,Departure:`AvgÃ¥ng`,"Delete arrival and departure":`Ta bort ankomst och avgÃ¥ng`,"Add arrival and departure":`Lägg till ankomst och avgÃ¥ng`,"{{number}}. Travel":`{{number}}. Resa`,"Complete Payment":`Slutför betalning`,"Please click on the button to finalise the payment!":`Klicka pÃ¥ knappen för att slutföra betalningen!`,Pay:`Betala`,"Invoice send":`Faktura skickad`,"The invoice has been sent to you, please check your emails!":`Fakturan har skickats till dig, vänligen kontrollera dina e-postmeddelanden!`,"The order was already paid!":`Ordern var redan bet`,"An email with an invitation has been sent to you.":`Ett e-postmeddelande med en inbjudan har skickats till dig.`,"An email with your personal registration link has been sent to you.":`Ett e-postmeddelande med din personliga registreringslänk har skickats till dig.`,"Welcome back!":`Välkommen tillbaka!`,"Field cannot contain one of the following values: {{value}}":`Fältet kan inte innehÃ¥lla nÃ¥got av följande värden: {{värde}}`,"Deposit in percent":`Insättning i procent`,"Protected registration":`Skyddad registrering`,"Please type in your code":`Vänligen ange din kod`,"Cancellation confirmed":`Avbokning bekräftad`,"Registration confirmed":`Registrering bekräftad`,"Declination confirmed":`Avbokning bekräftad`,"Changes confirmed":`Ãndringar bekräftade`,"Replacement nomination received":`Ersättningsnominering mottagen`,"Thank you for letting us know that unfortunately you will not be able to attend after all.":`Tack för att du meddelade oss att du tyvärr inte kommer att kunna närvara trots allt.`,"Thank you for letting us know that you are unable to attend.":`Tack för att du meddelade oss att du tyvärr inte kan närvara.`,"We will send an invitation to your representative.":`Vi kommer att skicka en inbjudan till din representant.`,"Your changes will now be reflected in the system.":`Dina ändringar kommer nu att Ã¥terspeglas i systemet.`,"Field has minimum {{count}} values_one":`Fältet har minst ett värde`,"Field has minimum {{count}} values_other":`Fältet har minst {{count}} värden`,"Field has maximum {{count}} values_one":`Fältet har maximalt ett värde`,"Field has maximum {{count}} values_other":`Fältet har maximalt {{count}} värden`,"Field is not updatable":`Fältet kan inte uppdateras`,"Field {{name}} must not contain {{value}}":`Fältet {{name}} fÃ¥r inte innehÃ¥lla {{value}}`,"Field {{name}} must contain {{value}}":`Fältet {{name}} mÃ¥ste innehÃ¥lla {{value}}`,"Field must not have value {{value}}":`Fältet fÃ¥r inte ha värdet {{value}}`,"Field has maximum {{count}} characters_one":`Fältet har maximalt ett tecken`,"Field has maximum {{count}} characters_other":`Fältet har maximalt {{count}} tecken`,"Field has minimum {{count}} characters_one":`Fältet har minst ett tecken`,"Field has minimum {{count}} characters_other":`Fältet har minst {{count}} tecken`,"Field must have value {{value}}":`Fältet mÃ¥ste ha värdet {{value}}`,"Nominate replacement":`Nominera kollega`,"Replacement successful nominated":`Kollega framgÃ¥ngsrikt nominerad`,"Allowed file types: image, video, PDF, office (word/excel etc.), font":`TillÃ¥tna filtyper: bild, video, PDF, office (word/excel etc.), font`,"Download file":`Ladda ner fil`,"Remove file":`Ta bort fil`,"Maximum amount of {{companions}} already added":`Maximalt antal {{companions}} är redan tillagda`,"{{companion}} is already registered":`{{companion}} är redan registrerad`,"{{ currentCount }} of {{ maxCount }}":`{{ currentCount }} of {{ maxCount }}`,"Update {{companion}}":`Uppdatera {{companion}}`,"Invalid phone number":`Ogiltigt telefonnummer`,"This field may not exceed 20 characters":`Detta fält fÃ¥r inte överstiga 20 tecken`,"This field may not exceed 181 characters":`Detta fält fÃ¥r inte överstiga 181 tecken`,"Invalid URL format":`Ogiltigt URL-format`,"Remove {{companion}}":`Ta bort {{companion}}`,"Edit {{companion}}":`Redigera {{companion}}`,"Submit {{companion}}
4034":`Skicka in {{companion}}`,"No {{companions}}":`Inga {{companions}}`,"Add {{companion}}":`Lägg till {{companion}}`,"The Shop module is not configured correctly.":`Köp-modulen är inte korrekt konfigurerad.`,"In order to retrieve data it is necessary to specify the country of the invoice recipient as well as company information if available.":`För att hämta data är det nödvändigt att ange fakturamottagarens land samt företagsinformation om tillgängligt.`,"Try again":`Försök igen`,"Your payment could not be completed successfully.":`Din betalning kunde inte slutföras.`,"Your payment is being processed...":`Din betalning behandlas...`,"Total: {{total}}":`Summa: {{total}}`,Item:`Artikel`,Net:`Netto`,"Gross / VAT":`Brutto / Moms`,Total:`Summa`,"Including {{percent}}% VAT":`Inkluderar {{percent}}% moms`,"Use this payment provider":`Använd denna betaltjänstleverantör`,"Payment provider":`Betaltjänstleverantör`,Shop:`Köp`,"Increase amount of {{item}}":`Ãka mängden av {{item}}`,"Decrease amount of {{item}}":`Minska mängden av {{item}}`,"Field must contain one of the following values: {{value}}":`Fältet mÃ¥ste innehÃ¥lla ett av följande värden: {{value}}`,"Field has minimum value of {{value}}":`Fältet har ett minimivärde av {{value}}`,"Field has maximum value of {{value}}":`Fältet har ett maximivärde av {{value}}`,"registration.cancel":`Avbryt`,"registration.register":`Anmäl dig`,Cancellation:`Avanmälan`,"Cancellation successful":`Avanmälan lyckades`,"An error has occurred":`Ett fel har uppstÃ¥tt`,"registration.decline":`Avböj`,Declination:`Avböjning`,"Declination successful":`Avböjning lyckades`,"registration.update":`Uppdatera anmälan`,"Your registration was updated.":`Din anmälan uppdaterades.`,Contact:`Kontakt`,"This registration is only accessible through a personal invitation.":`Denna anmälan är endast tillgänglig genom en personlig inbjudan.`,"Private registration":`Privat anmälan`,"Closed registration":`Stängd anmälan`,"This registration is closed.":`Denna anmälan är stängd.`,URL:`URL`,Disagree:`HÃ¥ller inte med`,Agree:`HÃ¥ller med`,"Registration Preview":`Förhandsgranska anmälan`,"The preview ignores all conditions and cannot be submitted":`Förhandsgranskningen bortser frÃ¥n alla villkor och kan inte skickas in`,"No registration steps found":`Inga anmälningssteg hittades`,Registration:`Anmälan`,"Your registration was successful.":`Din anmälan lyckades.`,"You were placed on the waiting list.":`Du har blivit placerad pÃ¥ väntlistan.`,Summary:`Sammanfattning`,"registration.submit":`Skicka in`},OKe={en:{translation:{...oKe,...vKe}},de:{translation:{...aKe,..._Ke}},es:{translation:{...sKe,...yKe}},fr:{translation:{...lKe,...xKe}},pt:{translation:{...mKe,...EKe}},it:{translation:{...uKe,...SKe}},da:{translation:{...iKe,...gKe}},nl:{translation:{...fKe,...CKe}},pl:{translation:{...pKe,...TKe}},sv:{translation:{...hKe,...DKe}},fi:{translation:{...cKe,...bKe}},no:{translation:{...dKe,...wKe}}};aC.use(ece).init({resources:OKe,lng:`de`,keySeparator:!1,interpolation:{escapeValue:!1}});var g8=aC,kKe=()=>{let{productTranslations:e}=s8(),{i18n:t}=B();return(0,I.useEffect)(()=>{e.forEach(e=>{t.addResourceBundle(e.locale,`translation`,JSON.parse(e.value),!0,!0)})},[t,e]),null},_8=(()=>{try{return localStorage}catch{return sessionStorage}})(),AKe=({children:e,initialLocale:t=Intl.DateTimeFormat().resolvedOptions().locale,timezone:n=Intl.DateTimeFormat().resolvedOptions().timeZone})=>{let{languageSettings:r}=s8(),i=VC(),[a,o]=(0,I.useState)(!1),s=(0,I.useMemo)(()=>{let e=t.split(`-`)[0],n=_8.getItem(`locale`)||e;return r.availableLanguages.includes(n)?n:r.availableLanguages[0]},[t,r.availableLanguages]),c=(0,I.useCallback)(async()=>{i.invalidateQueries({predicate:e=>!e.queryKey.includes(`config`)&&!e.queryKey.includes(`config.json`)}),i.resetQueries({queryKey:[`hotel-sections`]})},[i]),l=(0,I.useCallback)(e=>{_8.setItem(`locale`,e),g8.language!==e&&g8.changeLanguage(e),document.documentElement.lang=e,z.defaults.headers[`Content-Language`]=e,c()},[c]);return(0,I.useEffect)(()=>{z.defaults.headers[`Content-Language`]=s,c(),o(!0)},[s,c,i]),(0,V.jsx)(jC,{i18n:g8,children:(0,V.jsx)(Zxe,{initialLanguage:s,initialTimeZone:n,onChange:l,children:a&&e})})},jKe=()=>{let{apiUrl:e}=s8();return z.defaults.baseURL=e,z.defaults.withCredentials=!0,null},MKe=e=>e,NKe=()=>{let{showToast:e}=PC(),{t}=B();return(0,I.useEffect)(()=>{let n=z.interceptors.response.use(MKe,async n=>{if(n.config?.skipErrorHandler)return Promise.resolve(n);let r=n.response?.status||500,i=Object.values(n.response&&n.response.data.errors||{}
4034).flat().filter((e,t,n)=>n.indexOf(e)===t).map(e=>t(e)),a={type:`error`,title:t(`Error`),body:[t(`An error has occurred`)]};return r!==404&&(i.length>0?e({...a,body:i}):e(a)),Promise.resolve(n)});return()=>z.interceptors.response.eject(n)},[e,t]),null},v8={mode:`production`,themeName:`concorso`,uploadedFileMaxSize:6},y8=PLe(v8.mode),PKe=v8.mode===`development`?`/dev-assets`:``,FKe={...y8,assets:{...y8.assets,basePath:PKe}},IKe=({children:e})=>{let{brand:t,apiUrl:n}=s8(),r=dIe(v8.themeName,FKe,t,n);return(0,V.jsx)(rue,{theme:r,children:e})},b8=[`regions`],x8=[...b8,`options`],S8={baseKey:b8,getRegion:(e,t)=>z.get(hb(b8),{params:{regionId:e,registrationToken:t}}),optionsKey:x8,getRegionsOptions:()=>z.get(hb(x8))},LKe=(e,t)=>{let{data:n}=kw({queryKey:[...S8.baseKey,e,t],queryFn:()=>S8.getRegion(e,t).then(e=>e.data.data),placeholderData:xce});return{region:n}},RKe=()=>{let{data:e,isLoading:t}=kw({queryKey:S8.optionsKey,queryFn:()=>S8.getRegionsOptions().then(e=>e.data.data)});return{data:e,isLoading:t}},C8=()=>{let[e]=pb(),t=sessionStorage.getItem(`registrationToken`),n=(0,I.useMemo)(()=>e.get(`token`)||t||null,[e,t]);return(0,I.useEffect)(()=>{n&&n!==sessionStorage.getItem(`registrationToken`)&&sessionStorage.setItem(`registrationToken`,n)},[n]),n};function zKe(e){return typeof e==`function`}function w8(e,t){let n=sessionStorage.getItem(e),[r,i]=(0,I.useState)(n?JSON.parse(n):t);return[r,(0,I.useCallback)(t=>{zKe(t)?i(n=>{let r=t(n);return sessionStorage.setItem(e,JSON.stringify(r)),t(r)}):(sessionStorage.setItem(e,JSON.stringify(t)),i(t))},[e])]}var BKe=U(ZE)` 4035 z-index: ${({theme:e})=>e.zIndices.portal}; 4036 ${({theme:e})=>e.modal.background}; 4037`,VKe=U.div` 4038 ${({theme:e})=>e.modal.container}; 4039 max-width: 40rem; 4040 ${({theme:e})=>e.modal.overflowContainer}; 4041`,HKe=U.div` 4042 ${({theme:e})=>e.modal.header}; 4043`,UKe=U.h2` 4044 ${({theme:e})=>e.modal.heading}; 4045`,T8=U.div` 4046 ${({theme:e})=>e.card.body}; 4047`,WKe=U.div` 4048 display: grid; 4049 justify-content: center; 4050 gap: ${({theme:e})=>e.spacing(2)}; 4051`,GKe={region:null},KKe=({setRegionId:e})=>{let{t}=B(),{data:n}=RKe();return YE((0,V.jsx)(BKe,{children:(0,V.jsxs)(VKe,{children:[(0,V.jsx)(HKe,{children:(0,V.jsx)(UKe,{children:t(`Select your region`)})}),(0,V.jsx)(oD,{children:t(`Please select a region so that we can display the appropriate information.`)}),!n&&(0,V.jsx)(lD,{}),n&&(n.length>4?(0,V.jsx)(JKe,{onSelect:e,regions:n}):(0,V.jsx)(qKe,{onSelect:e,regions:n}))]})}),document.body)},qKe=({onSelect:e,regions:t})=>(0,V.jsx)(T8,{children:(0,V.jsx)(WKe,{children:t.map(t=>(0,V.jsx)(FE,{color:`primary`,onClick:()=>e(t.id),children:t.name},t.id))})}),JKe=({onSelect:e,regions:t})=>{let{t:n}=B(),r=(0,I.useCallback)(e=>{let t={};return e.region||(t.region=n(`Field is required`)),t},[n]);return(0,V.jsx)(aI,{initialValues:GKe,onSubmit:t=>e(t.region.id),validate:r,children:(0,V.jsxs)(lI,{children:[(0,V.jsx)(T8,{children:(0,V.jsx)(nK,{name:`region`,options:t,label:n(`Region`)})}),(0,V.jsx)(sD,{children:(0,V.jsxs)(vI,{children:[n(`Next`),` `]})})]})})},E8=(0,I.createContext)(void 0),D8=e=>e.isFallback&&!e.onlyOneRegionExists,YKe=({children:e})=>{let[t,n]=w8(`region`,null),{region:r}=LKe(t,C8());return(0,I.useEffect)(()=>{r&&!D8(r)&&n(r.id)},[r,n]),(0,V.jsx)(E8.Provider,{value:{region:r,regionId:t},children:r?(0,V.jsxs)(V.Fragment,{children:[D8(r)&&(0,V.jsx)(KKe,{setRegionId:n}),e]}):(0,V.jsx)(lD,{})})},O8=()=>{let e=(0,I.useContext)(E8);if(e===void 0)throw Error(`Context undefined. Did you forget to wrap your components in the RegionProvider?`);return e},XKe=()=>{let{productData:e}=s8();return e.enableSearchEngineIndexing?null:(0,BE.createPortal)((0,V.jsx)(`meta`,{name:`robots`,content:`noindex, nofollow`}),document.head)},k8=(0,I.createContext)(void 0),ZKe=({children:e})=>{let t=(0,I.useRef)(null),n=(0,I.useCallback)(async()=>new Promise((e,t)=>{let n=window.indexedDB.open(`registrationDb`,1);n.onsuccess=()=>{e(n.result)},n.onupgradeneeded=e=>{e.target.result.createObjectStore(`guest_files`,{autoIncrement:!0})},n.onerror=e=>{t(e)}}),[]),r=(0,I.useCallback)(async()=>(t.current||=await n(),t.current),[n]),i=(0,I.useCallback)(async(e,t)=>{let n=await r();return new Promise((r,i)=>{let a=n.transaction(e,`readwrite`),o=a.objectStore(e).add(t);a.oncomplete=()=>{r(o.result)},a.onerror=e=>{i(e)}})},[r]),a=(0,I.useCallback)(async(e,t)=>{let n=await r();return new Promise((r,i)=>{let a=n.transaction(e),o=a.objectStore(e).get(t);a.oncomplete=()=>{r(o.result)},a.onerror=e=>{i(e)}})},[r]),o=(0,I.useCallback)(async e=>{let t=await r();return new Promise((n,r)=>{let i=t.transaction(e,`readwrite`);i.objectStore(e).clear(),i.oncomplete=()=>{n(!0)},i.onerror=e=>{r(e)}})},[r]);return(0,V.jsx)(k8.Provider,{value:{store:i,get:a,clearObjectStore:o},children:e})},A8=()=>{let e=(0,I.useContext)(k8);if(e===void 0)throw Error(`Context undefined. Are you missing the IndexedDbProvider?`);return e},QKe=new zce({defaultOptions:{queries:{staleTime:1e5,retry:!1}}}),$Ke=o8(),eqe=({children:e})=>(0,V.jsx)(mce,{client:QKe,children:(0,V.jsxs)(Yxe,{children:[(0,V.jsx)(jKe,{}),(0,V.jsx)(rKe,{}),(0,V.jsx)(XKe,{}),(0,V.jsx)(NGe,{head:$Ke,children:(0,V.jsx)(YAe,{children:(0,V.jsx)(AKe,{children:(0,V.jsx)(l$,{children:(0,V.jsx)(QGe,{children:(0,V.jsx)(IKe,{children:(0,V.jsx)(uce,{children:(0,V.jsxs)(jC,{i18n:g8,children:[(0,V.jsx)(kKe,{}),(0,V.jsx)(nKe,{children:(0,V.jsx)(ZKe,{children:(0,V.jsx)(KE,{children:(0,V.jsx)(YKe,{children:(0,V.jsxs)(pue,{children:[(0,V.jsx)(uFe,{}),(0,V.jsx)(NKe,{}),e]})})})})})]})})})})})})})})]})}),tqe=()=>{let{slug:e=``}=Ly(),t=C8(),{regionId:n}=O8(),{block:r,isLoading:i}=e2(e,{token:t||``,regionId:n?`${n}`:``});return i?(0,V.jsx)(lD,{}):r?(0,V.jsx)(z2,{block:r}):null},j8=new Map,nqe=`#scroll-container, .scroll-container`,rqe=500;function iqe(e=nqe){let t=My(),n=Ny(),r=(0,I.useRef)(t.key);(0,I.useEffect)(()=>{let n=document.querySelector(e);
4051if(!n)return;let r=t.key,i=()=>{j8.set(r,n.scrollTop)};return j8.set(r,n.scrollTop),n.addEventListener(`scroll`,i,{passive:!0}),()=>n.removeEventListener(`scroll`,i)},[t.key,e]),(0,I.useLayoutEffect)(()=>{if(r.current===t.key)return;r.current=t.key;let i=document.querySelector(e);if(!i)return;let a=n===`POP`?j8.get(t.key)??0:0,o=0,s=performance.now(),c=()=>{i.scrollTo({top:a});let e=Math.abs(i.scrollTop-a)<1,t=performance.now()-s>rqe;!e&&!t&&a>0&&(o=requestAnimationFrame(c))};return c(),()=>cancelAnimationFrame(o)},[t.key,n,e])}var aqe=Ixe(),oqe=z0(),sqe=()=>{let{languageSettings:e,productData:t,brand:n}=s8(),{language:r,setLanguage:i}=vH(),a=v8.themeName===`dgs`?n?.logoFile.path:void 0;return(0,V.jsx)(aqe,{appIdentifier:t.htmlTitle,logo:a?{logoUrl:a,logoAltText:t.htmlTitle??``}:void 0,children:(0,V.jsx)(oqe,{setLocale:i,locale:r,availableLocales:e.availableLanguages})})},M8={index:[`public`,`menu`]},cqe={index:hb(M8.index)},lqe={index:()=>z.get(cqe.index)},uqe=[],dqe=()=>lqe.index().then(e=>e.data.data),fqe=()=>{let{data:e,isLoading:t}=kw({queryKey:M8.index,queryFn:dqe});return{items:e||uqe,isLoading:t}},N8=()=>{let[e]=pb(),t=Iy();return(n,r)=>t({pathname:n,search:`?${e.toString()}`},r)},pqe=uLe(),mqe=z0(),hqe=()=>{let{languageSettings:e,productData:t}=s8(),{items:n,isLoading:r}=fqe(),i=My(),a=N8(),{language:o,setLanguage:s}=vH(),c=(0,I.useCallback)(e=>{e.type===`PAGE`?a(`blocks/${e.block.slug}`,{replace:!0}):e.type===`INTERNAL`&&a(e.url,{replace:!0})},[a]);return(0,I.useEffect)(()=>{!r&&i.pathname===`/`&&(t.startPageMenuItem?c(t.startPageMenuItem):t.defaultRegistrationFormId?a(`registrations/${t.defaultRegistrationFormId}`,{replace:!0}):n.length>0&&c(n.filter(e=>e.type===`INTERNAL`||e.type===`PAGE`)[0]))},[c,r,n,i.pathname,a,t.defaultRegistrationFormId,t.startPageMenuItem]),(0,V.jsx)(pqe,{appIdentifier:t.htmlTitle,items:n,isNavMenuSticky:!0,children:(0,V.jsx)(mqe,{setLocale:s,locale:o,availableLocales:e.availableLanguages})})},gqe=bLe(),_qe=()=>{let{t:e}=B(),{region:t}=O8(),n=t&&(t.contactEmail||t.contactPhoneNumber)&&{label:e(`Contact`),email:t.contactEmail,name:t.contactName||t.contactEmail,phone:t.contactPhoneNumber}||void 0;return(0,V.jsx)(gqe,{footerLinks:t?.footerLinks||[],contact:n,company:t?.companyName})},vqe=U.div` 4052 width: 100%; 4053 height: 100%; 4054 display: flex; 4055 justify-content: center; 4056 align-items: center; 4057`,yqe=U(gI)` 4058 display: flex; 4059 justify-content: center; 4060 align-items: center; 4061 gap: ${({theme:e})=>e.spacing(4)}; 4062 color: ${({theme:e})=>e.colors.palette.grey[60]}; 4063 flex-direction: column; 4064`,bqe=U.span` 4065 font-size: 2.5rem; 4066`,xqe=()=>{let{t:e}=B();return(0,V.jsx)(vqe,{children:(0,V.jsxs)(yqe,{children:[(0,V.jsx)(bqe,{children:`:(`}),e(`An error has occurred`)]})})},Sqe=cue` 4067 html, body { 4068 font-size: ${({theme:e})=>e.fonts.sizes.normal}; 4069 } 4070 4071 ${({theme:e})=>e.global} 4072 4073 ; 4074`,Cqe=()=>{let{brand:e}=s8();return(0,V.jsx)(uIe,{brand:e})},wqe=()=>(iqe(),(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(Sqe,{}),(0,V.jsx)(Cqe,{}),(0,V.jsx)(lNe,{withStickyNavigation:!0,header:(0,V.jsx)(sqe,{}),navigation:(0,V.jsx)(hqe,{}),content:(0,V.jsx)(mre,{fallback:(0,V.jsx)(xqe,{}),children:(0,V.jsx)(qy,{})}),footer:(0,V.jsx)(_qe,{})})]})),Tqe=()=>{let e=Iy(),{guestId:t=``}=Ly(),n=[`registration-forms`,`for-guest`,t],{data:r}=kw({enabled:!!t,queryKey:n,queryFn:()=>z.get(hb(n)).then(e=>e.data.data)});return(0,I.useEffect)(()=>{r&&r.registrationFormId&&e(`/registrations/${r.registrationFormId}?token=${t}`)},[r,t,e]),null},P8=({to:e,replace:t})=>{let[n]=pb();return(0,V.jsx)(Ky,{to:`${e}?${n.toString()}`,replace:t})},F8=new class{keys={details:e=>[`registration-forms`,`${e}`],shopSummary:e=>[`registration-forms`,`${e}`,`shop-summary`],cancellationSummary:(e,t)=>[`registration-forms`,`${e}`,`cancellation-shop-summary`,`${t}`],previewDetails:e=>[`registration-forms`,`preview`,`${e}`],cancel:e=>[`registration-forms`,`${e}`,`cancel`],decline:e=>[`registration-forms`,`${e}`,`decline`],consentsForLandingPage:e=>[`registration-forms`,`${e}`,`consents`,`landing-page`],consentsForSummaryPage:e=>[`registration-forms`,`${e}`,`consents`,`summary-page`],consentsForEmailGatePage:e=>[`registration-forms`,`${e}`,`consents`,`email-gate`],paymentProviders:e=>[`registration-forms`,`${e}`,`shop`,`payment-providers`],showConfirmDeclination:e=>[`registration-forms`,`${e}`,`confirm-declination`],showConfirmCancellation:e=>[`registration-forms`,`${e}`,`confirm-cancellation`],nominateReplacement:e=>[`registration-forms`,`${e}`,`nominate-replacement`],showConfirmReplacement:e=>[`registration-forms`,`${e}`,`confirm-replacement`],verifyCode:e=>[`registration-forms`,`${e}`,`verify-code`],emailGate:e=>[`registration-forms`,`${e}`,`email-gate`]};urls={details:e=>hb(this.keys.details(e)),shopSummary:e=>hb(this.keys.shopSummary(e)),cancellationSummary:(e,t)=>hb(this.keys.cancellationSummary(e,t)),previewDetails:e=>hb(this.keys.previewDetails(e)),consentForLandingPage:e=>hb(this.keys.consentsForLandingPage(e)),consentForSummaryPage:e=>hb(this.keys.consentsForSummaryPage(e)),consentForEmailGatePage:e=>hb(this.keys.consentsForEmailGatePage(e)),cancel:e=>hb(this.keys.cancel(e)),decline:e=>hb(this.keys.decline(e)),paymentProviders:e=>hb(this.keys.paymentProviders(e)),showConfirmDeclination:e=>hb(this.keys.showConfirmDeclination(e)),showConfirmCancellation:e=>hb(this.keys.showConfirmCancellation(e)),nominateReplacement:e=>hb(this.keys.nominateReplacement(e)),showConfirmReplacement:e=>hb(this.keys.showConfirmReplacement(e)),verifyCode:e=>hb(this.keys.verifyCode(e)),emailGate:e=>hb(this.keys.emailGate(e))};show=(e,t,n)=>z.get(this.urls.details(e),{params:{token:t,regionId:n}});previewShow=(e,t)=>z.get(this.urls.previewDetails(e),{params:{regionId:t}}
4074);consentsForLandingPage=(e,t,n)=>z.get(this.urls.consentForLandingPage(e),{params:{regionId:t,emailDomain:n}});consentsForSummaryPage=(e,t,n)=>z.get(this.urls.consentForSummaryPage(e),{params:{regionId:t,emailDomain:n}});consentsForEmailGatePage=(e,t,n)=>z.get(this.urls.consentForEmailGatePage(e),{params:{regionId:t,emailDomain:n}});getPaymentProviders=e=>z.get(this.urls.paymentProviders(e));showConfirmDeclination=e=>z.get(this.urls.showConfirmDeclination(e));showConfirmCancellation=e=>z.get(this.urls.showConfirmCancellation(e));showConfirmReplacement=e=>z.get(this.urls.showConfirmReplacement(e));cancelRegistration=(e,t,n,r,i)=>z.post(this.urls.cancel(e),{dataFieldValues:t,token:i,registrationLocale:n,regionId:r});declineRegistration=(e,t,n,r,i)=>z.post(this.urls.decline(e),{dataFieldValues:t,token:i,registrationLocale:n,regionId:r});nominateReplacement=(e,t,n)=>z.post(this.urls.nominateReplacement(e),{dataFieldValues:t,token:n});verifyCode=(e,t)=>z.post(this.urls.verifyCode(e),{registrationCode:t});submitRegistrationFormData=(e,t)=>z.post(this.urls.details(e),t,{headers:{"Content-Type":`multipart/form-data`}});submitEmailGate=(e,t)=>
4074z.post(this.urls.emailGate(e),t);submitRegistrationFormDataForShopSummary=(e,t)=>z.post(this.urls.shopSummary(e),t,{headers:{"Content-Type":`multipart/form-data`}});getCancellationSummary=(e,t)=>z.get(this.urls.cancellationSummary(e,t))},Eqe=(e,t,n)=>()=>F8.show(e,t,n).then(e=>e.data.data),Dqe=(e,t)=>{let{regionId:n}=O8(),{data:r,isLoading:i,isError:a}=kw({queryKey:F8.keys.details(e).concat(t||``).concat(n?`${n}`:``),queryFn:Eqe(e,t,n)});return{data:r,isLoading:i,isError:a}},Oqe=(e,t)=>()=>F8.previewShow(e,t).then(e=>e.data.data),kqe=e=>{let{regionId:t}=O8(),{data:n,isLoading:r,isError:i}=kw({queryKey:F8.keys.previewDetails(e).concat(t?`${t}`:``),queryFn:Oqe(e,t)});return{data:n,isLoading:r,isError:i}},I8=(e,t)=>{let{data:n=[],isLoading:r}=kw({queryKey:[...F8.keys.consentsForLandingPage(e),t],queryFn:()=>F8.consentsForLandingPage(e,t).then(e=>e.data.data)});return{landingConsents:n,isLoading:r}};new class{keys={ruleSets:e=>[`registration-forms`,`${e}`,`rule-sets`],ruleSetsByType:(e,t)=>[`registration-forms`,`${e}`,`rule-sets`,t],ruleSetDetails:(e,t)=>[`registration-forms`,`${e}`,`rule-sets`,`${t}`]};urls={ruleSets:e=>hb(this.keys.ruleSets(e)),ruleSetsByType:(e,t)=>hb(this.keys.ruleSetsByType(e,t)),ruleSetDetails:(e,t)=>hb(this.keys.ruleSetDetails(e,t))};getRuleSet=(e,t)=>z.get(this.urls.ruleSetDetails(e,t));ruleSetsByType=(e,t)=>z.get(this.urls.ruleSetsByType(e,t))};var $=function(e){return e.TEXT=`text`,e.LONG_TEXT=`longText`,e.EMAIL=`email`,e.NUMBER=`number`,e.URL=`url`,e.RADIO=`radioField`,e.SELECT_FIELD=`selectField`,e.MULTI_SELECT_FIELD=`multiSelectField`,e.CHECKBOX_GROUP=`checkboxGroup`,e.CHECKBOX=`checkbox`,e.FILE=`file`,e.DATE=`date`,e.TIME=`time`,e.DATETIME=`dateTime`,e.LOCAL_DATETIME=`localDateTime`,e.PHONE=`phone`,e.CRYPT=`crypt`,e}({}),L8=function(e){return e.IS_REQUIRED=`isRequired`,e.IS_EMPTY=`isEmpty`,e.IS_NOT_EMPTY=`isNotEmpty`,e.NOT_UPDATABLE=`notUpdatable`,e.READ_ONLY=`readOnly`,e.HAS_VALUE=`hasValue`,e.HAS_NOT_VALUE=`hasNotValue`,e.HAS_MAX_CHARS=`hasMaxChars`,e.HAS_MIN_CHARS=`hasMinChars`,e.MUST_CONTAIN=`mustContain`,e.MUST_NOT_CONTAIN=`mustNotContain`,e.MAX=`max`,e.MIN=`min`,e.CONTAINS_ONE=`containsOne`,e.NOT_CONTAINS_RULE=`notContainsOne`,e.REGEX=`regex`,e}({}),R8=function(e){return e.REGISTERED=`STATUS1`,e.REGISTERED_WITH_INVOICE=`STATUS2`,e.REGISTERED_WITH_PAYMENT_PROVIDER=`STATUS3`,e.REGISTERED_WITH_POSITIVE_SCREENING=`STATUS4`,e.REGISTRATION_CHANGED=`STATUS5`,e.WAITING_LIST=`STATUS6`,e.WAITING_LIST_WITH_POSITIVE_SCREENING=`STATUS7`,e.REGISTRATION_CHANGED_WITH_POSITIVE_SCREENING=`STATUS8`,e}({}),Aqe=function(e){return e.FULL_PAYMENT=`FULL_PAYMENT`,e.FINAL_PAYMENT=`FINAL_PAYMENT`,e.DEPOSIT_PAYMENT=`DEPOSIT_PAYMENT`,e}({}),z8=function(e){return e.WELCOME_BACK=`STATUS1`,e.INVITED=`STATUS2`,e.CONTINUE=`STATUS3`,e}({}),jqe=e=>e.type===`CLOSED`,Mqe=e=>e.type===`PRIVATE`,Nqe=e=>e.type===`PAYMENT_OUTSTANDING`,B8=[];for(let e=0;e<256;++e)B8.push((e+256).toString(16).slice(1));function Pqe(e,t=0){return(B8[e[t+0]]+B8[e[t+1]]+B8[e[t+2]]+B8[e[t+3]]+`-`+B8[e[t+4]]+B8[e[t+5]]+`-`+B8[e[t+6]]+B8[e[t+7]]+`-`+B8[e[t+8]]+B8[e[t+9]]+`-`+B8[e[t+10]]+B8[e[t+11]]+B8[e[t+12]]+B8[e[t+13]]+B8[e[t+14]]+B8[e[t+15]]).toLowerCase()}var Fqe=new Uint8Array(16);function Iqe(){return crypto.getRandomValues(Fqe)}function Lqe(e,t,n){return!t&&!e&&crypto.randomUUID?crypto.randomUUID():Rqe(e,t,n)}function Rqe(e,t,n){e||={};let r=e.random??e.rng?.()??Iqe();if(r.length<16)throw Error(`Random bytes length must be >= 16`);if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n||=0,n<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return Pqe(r)}var zqe=/^[+]*[-\s./0-9]{0,4}[(]?[0-9]{1,4}[)]?[-\s./0-9]*$/,Bqe=(e,{id:t,type:n},r)=>{let i=e[t];if(n===$.FILE&&i instanceof File&&i.size>v8.uploadedFileMaxSize*1e6)return r(`Max. {{size}} MB file size`,{size:v8.uploadedFileMaxSize});if(n===$.EMAIL&&i?.length>0&&!_I(i))return r(`Invalid email address`);if(n===$.PHONE&&i?.length>0){if(i.length>20)return r(`This field may not exceed 20 characters`);if(!zqe.test(i))return r(`Invalid phone number`)}return n===$.TEXT&&i?.length>0&&i.length>181?r(`This field may not exceed 181 characters`):n===$.TEXT&&i?.length>0&&/https?:|www\./.test(i)||n===$.LONG_TEXT&&i?.length>0&&/https?:|www\./.test(i)?r(`This field must not contain https, http or www.`):n===$.URL&&i?.length>0&&!/^https?:\/\//.test(i)?r(`Invalid URL format`):n===$.NUMBER&&i!=null&&!/^\d+$/.test(i)?r(`This field must be an integer`):null},V8=(e,t,n)=>r=>{let i=n?`companion_${r.id}`:r.id;if(r.type===$.CHECKBOX_GROUP||r.type===$.MULTI_SELECT_FIELD)return{id:r.id,value:e[i]??[]};if(r.type===$.RADIO)return{id:r.id,value:typeof e[i]==`string`?parseInt(e[i],10):null};if(r.type===$.FILE){if(typeof e[i]==`string`)return{id:r.id,value:e[i]};if(e[i]instanceof File){let n=Lqe(),a=e[i];return t?.append(n,a),{id:r.id,value:n}}return{id:r.id,value:null}}return{id:r.id,value:e[i]}},H8=e=>Object.fromEntries(e.dataFieldValues.map(({id:e,value:t})=>[e,t])),U8=e=>e.dataField,W8=(e,t)=>
4074(n,r)=>{let i=r.id,a=Bqe(e,r,t);return{...n,...a?{[i]:a}:{}}},G8=function(e){return e.SHOW_DATA_FIELD=`showDataField`,e.SHOW_SECTION=`showSection`,e.SHOW_STEP=`showStep`,e.SHOW_BLOCK=`showBlock`,e}({}),Vqe={validate({isImplicitlyRequired:e},t,n,r){if(n==null)return!e;switch(t){case $.CHECKBOX_GROUP:case $.MULTI_SELECT_FIELD:return r.some(e=>n.includes(e));case $.RADIO:case $.CHECKBOX:case $.SELECT_FIELD:return r.includes(Number(n));case $.URL:case $.EMAIL:case $.LONG_TEXT:case $.TEXT:case $.CRYPT:case $.PHONE:return r.some(e=>(n?n.toLowerCase():``).includes(e));default:return r.some(e=>n===e)}},getErrorMessage({t:e},t,n,r){let i={value:``};switch(t.type){case $.RADIO:case $.SELECT_FIELD:case $.CHECKBOX_GROUP:case $.MULTI_SELECT_FIELD:{let e=r;i.value=t.options.filter(t=>e.includes(t.id)).map(e=>e.value).join(`, `);break}default:i.value=r.join(`, `)}return e(`Field must contain one of the following values: {{value}}`,i)}},Hqe={validate:({isImplicitlyRequired:e},t,n,r)=>{if(n==null)return!e;switch(t){case $.URL:case $.EMAIL:case $.LONG_TEXT:case $.TEXT:case $.CRYPT:case $.PHONE:case $.NUMBER:return`${n}`.length<=r}return!1},getErrorMessage:({t:e},t,n,r)=>e(`Field has maximum {{count}} characters`,{count:r})},Uqe={validate:({isImplicitlyRequired:e},t,n,r)=>{if(n==null)return!e;switch(t){case $.URL:case $.EMAIL:case $.LONG_TEXT:case $.TEXT:case $.CRYPT:case $.PHONE:case $.NUMBER:return`${n}`.length>=r}return!1},getErrorMessage:({t:e},t,n,r)=>e(`Field has minimum {{count}} characters`,{count:r})},Wqe={validate:(e,t,n,r)=>{if(n==null)return!0;switch(t){case $.CHECKBOX_GROUP:{let e=n;return!(r.length===e.length&&r.every(t=>e.includes(t)))}case $.MULTI_SELECT_FIELD:return!(r.length===n.length&&r.every(e=>n.includes(e)));case $.URL:case $.EMAIL:case $.LONG_TEXT:case $.TEXT:case $.CRYPT:return r!==n;case $.CHECKBOX:case $.SELECT_FIELD:case $.TIME:case $.PHONE:return r!==n;case $.RADIO:return r!==parseInt(n,10);case $.NUMBER:return+r!=+n;case $.DATE:return!OB(RV(r,`yyyy-MM-dd`,new Date),RV(n,`yyyy-MM-dd`,new Date));case $.DATETIME:return!OB(BV(r),BV(n));case $.LOCAL_DATETIME:return!OB(RV(r,xK,new Date),RV(n,xK,new Date))}return!1},getErrorMessage:({t:e,formatDateTime:t,formatDate:n},r,i,a)=>{let o={value:``};switch(r.type){case $.RADIO:o.value=r.options.find(e=>e.id===a)?.value??``;break;case $.SELECT_FIELD:o.value=r.options.find(e=>e.id===a)?.value??``;break;case $.CHECKBOX_GROUP:case $.MULTI_SELECT_FIELD:{let e=a;o.value=r.options.filter(t=>e.includes(t.id)).map(e=>e.value).join(`, `);break}case $.CHECKBOX:o.value=a?`true`:`false`;break;case $.DATE:o.value=n(a);break;case $.DATETIME:case $.LOCAL_DATETIME:o.value=t(a);break;default:o.value=a}return e(`Field must not have value {{value}}`,o)}},Gqe={validate:({isImplicitlyRequired:e},t,n,r)=>{if(n==null)return!e;switch(t){case $.CHECKBOX_GROUP:return r.length===n.length&&r.every(e=>n.includes(e));case $.MULTI_SELECT_FIELD:return r.length===n.length&&r.every(e=>n.includes(e));case $.URL:case $.EMAIL:case $.LONG_TEXT:case $.TEXT:case $.CRYPT:return r===n;case $.CHECKBOX:case $.SELECT_FIELD:case $.TIME:case $.PHONE:return r===n;case $.RADIO:return r===parseInt(n,10);case $.NUMBER:return+r==+n;case $.DATE:return OB(RV(r,`yyyy-MM-dd`,new Date),RV(n,`yyyy-MM-dd`,new Date));case $.DATETIME:return OB(r,BV(n));case $.LOCAL_DATETIME:return OB(r,RV(n,xK,new Date))}return!1},getErrorMessage:({t:e,formatDateTime:t,formatDate:n},r,i,a)=>{let o={value:``};switch(r.type){case $.RADIO:o.value=r.options.find(e=>e.id===a)?.value??``;break;case $.SELECT_FIELD:o.value=r.options.find(e=>e.id===a)?.value??``;break;case $.CHECKBOX_GROUP:case $.MULTI_SELECT_FIELD:{let e=a;o.value=r.options.filter(t=>e.includes(t.id)).map(e=>e.value).join(`, `);break}case $.CHECKBOX:o.value=a?`true`:`false`;break;case $.DATE:o.value=n(a);break;case $.DATETIME:case $.LOCAL_DATETIME:o.value=t(a);break;default:o.value=a}return e(`Field must have value {{value}}`,o)}},Kqe={validate(e,t,n){return n===null},getErrorMessage:()=>``},qqe={validate(e,t,n){return n!==null},getErrorMessage:()=>``},Jqe={validate(e,t,n){switch(t){case $.CHECKBOX_GROUP:case $.MULTI_SELECT_FIELD:{let e=n;return e instanceof Array&&!!e.length}case $.URL:case $.EMAIL:case $.LONG_TEXT:case $.TEXT:case $.CHECKBOX:case $.SELECT_FIELD:case $.DATE:case $.TIME:case $.DATETIME:case $.LO
4074CAL_DATETIME:case $.FILE:case $.PHONE:case $.CRYPT:case $.RADIO:return!!n;case $.NUMBER:return typeof n==`number`}return!1},getErrorMessage({t:e},t,n){return t.type===$.NUMBER&&n===null?e(`Please specify a valid number`):e(`Field is required`)}},Yqe={validate({isImplicitlyRequired:e},t,n,r){if(n==null||!r)return!e;switch(t){case $.CRYPT:case $.NUMBER:return n<=r;case $.TIME:return n<=r;case $.DATETIME:return DB(BV(n),BV(r))||OB(BV(n),BV(r));case $.LOCAL_DATETIME:return DB(RV(n,`yyyy-MM-dd'T'HH:mm`,new Date),RV(r,`yyyy-MM-dd'T'HH:mm`,new Date))||OB(RV(n,`yyyy-MM-dd'T'HH:mm`,new Date),RV(r,`yyyy-MM-dd'T'HH:mm`,new Date));case $.DATE:return DB(RV(n,`yyyy-MM-dd`,new Date),RV(r,`yyyy-MM-dd`,new Date))||OB(RV(n,`yyyy-MM-dd`,new Date),RV(r,`yyyy-MM-dd`,new Date));case $.MULTI_SELECT_FIELD:case $.CHECKBOX_GROUP:return n.length<=r}return!1},getErrorMessage({t:e,formatDate:t,formatDateTime:n},r,i,a){switch(r.type){case $.DATE:return e(`Field has maximum value of {{value}}`,{value:t(a)});case $.DATETIME:case $.LOCAL_DATETIME:return e(`Field has maximum value of {{value}}`,{value:n(a)});case $.CHECKBOX_GROUP:case $.MULTI_SELECT_FIELD:return e(`Field has maximum {{count}} values`,{count:Number(a)});default:return e(`Field has maximum value of {{value}}`,{value:a})}}},Xqe={validate({isImplicitlyRequired:e},t,n,r){if(n==null||n.length===0||!r)return!e;switch(t){case $.CRYPT:case $.NUMBER:return n>=r;case $.TIME:return n>=r;case $.DATETIME:return EB(BV(n),BV(r))||OB(BV(n),BV(r));case $.LOCAL_DATETIME:return EB(RV(n,`yyyy-MM-dd'T'HH:mm`,new Date),RV(r,`yyyy-MM-dd'T'HH:mm`,new Date))||OB(RV(n,`yyyy-MM-dd'T'HH:mm`,new Date),RV(r,`yyyy-MM-dd'T'HH:mm`,new Date));case $.DATE:return EB(RV(n,`yyyy-MM-dd`,new Date),RV(r,`yyyy-MM-dd`,new Date))||OB(RV(n,`yyyy-MM-dd`,new Date),RV(r,`yyyy-MM-dd`,new Date));case $.MULTI_SELECT_FIELD:case $.CHECKBOX_GROUP:return n.length>=r}return!1},getErrorMessage({t:e,formatDate:t,formatDateTime:n},r,i,a){switch(r.type){case $.DATE:return e(`Field has minimum value of {{value}}`,{value:t(a)});case $.DATETIME:case $.LOCAL_DATETIME:return e(`Field has minimum value of {{value}}`,{value:n(a)});case $.CHECKBOX_GROUP:case $.MULTI_SELECT_FIELD:return e(`Field has minimum {{count}} values`,{count:Number(a)});default:return e(`Field has minimum value of {{value}}`,{value:a})}}},Zqe={validate({isImplicitlyRequired:e},t,n,r){if(n==null)return!e;switch(t){case $.CHECKBOX_GROUP:{let e=n??[];return r.every(t=>e.includes(t))}case $.MULTI_SELECT_FIELD:return r.every(e=>n.includes(e));case $.URL:case $.EMAIL:case $.LONG_TEXT:case $.TEXT:case $.CRYPT:case $.PHONE:return(n?n.toLowerCase():``).includes(r.toLowerCase());case $.CHECKBOX:case $.SELECT_FIELD:return r===n;case $.RADIO:return r===parseInt(n)}return!1},getErrorMessage({t:e},t,n,r){let i={name:t.label,value:``};switch(t.type){case $.RADIO:i.value=t.options.find(e=>e.id===r)?.value??``;break;case $.SELECT_FIELD:i.value=t.options.find(e=>e.id===r)?.value??``;break;case $.CHECKBOX_GROUP:case $.MULTI_SELECT_FIELD:{let e=r;i.value=t.options.filter(t=>e.includes(t.id)).map(e=>e.value).join(`, `);break}case $.CHECKBOX:i.value=r?`true`:`false`;break;default:i.value=r}return e(`Field {{name}} must contain {{value}}`,i)}},Qqe={validate(e,t,n,r){if(n==null)return!0;switch(t){case $.CHECKBOX_GROUP:{let e=n??[];return!r.every(t=>e.includes(t))}case $.MULTI_SELECT_FIELD:return!r.every(e=>n.includes(e));case $.URL:case $.EMAIL:case $.LONG_TEXT:case $.TEXT:case $.CRYPT:case $.PHONE:return!(n?n.toLowerCase():``).includes(r.toLowerCase());case $.CHECKBOX:case $.SELECT_FIELD:return r!==n;case $.RADIO:return r!==parseInt(n)}return!1},getErrorMessage({t:e},t,n,r){let i={name:t.label,value:``};switch(t.type){case $.RADIO:i.value=t.options.find(e=>e.id===r)?.value??``;break;case $.SELECT_FIELD:i.value=t.options.find(e=>e.id===r)?.value??``;break;case $.CHECKBOX_GROUP:case $.MULTI_SELECT_FIELD:{let e=r;i.value=t.options.filter(t=>e.includes(t.id)).map(e=>e.value).join(`, `);break}case $.CHECKBOX:i.value=r?`true`:`false`;break;default:i.value=r}return e(`Field {{name}} must not contain {{value}}`,i)}},$qe={validate:function(e,t,n,r){if(n==null)return!0;switch(t){case $.CHECKBOX_GROUP:case $.MULTI_SELECT_FIELD:return!r.some(e=>n.includes(e));case $.RADIO:case $.CHECKBOX:case $.SELECT_FIELD:return!r.includes(Number(n));case $.URL:case $.EMAIL:case $.LONG_TEXT:case $.TEXT:case $.CRYPT:case $.PHONE:return!r.some(e=>(n?n.toLowerCase():``).includes(e));default:return!r.some(e=>n===e)}},getErrorMessage:function({t:e},t,n,r){let i={value:``};switch(t.type){case $.RADIO:case $.SELECT_FIELD:case $.CHECKBOX_GROUP:case $.MULTI_SELECT_FIELD:{let e=r;i.value=t.options.filter(t=>e.includes(t.id)).map(e=>e.value).join(`, `);break}default:i.value=r.join(`, `)}return e(`Field cannot contain one of the following values: {{value}}`,i)}},eJe={validate:()=>!0,getErrorMessage:({t:e})=>e(`Field is not updatable`)},tJe={validate:()=>!0,getErrorMessage:({t:e})=>e(`Field is not updatable`)},nJe={validate({isImplicitlyRequired:e},t,n,r){return n==null?!e:new RegExp(r).test(n)},getErrorMessage({t:e}){return e(`The value entered does not match the expected format.`)}},K8={[L8.IS_REQUIRED]:Jqe,[L8.IS_EMPTY]:Kqe,[L8.IS_NOT_EMPTY]:qqe,[L8.NOT_UPDATABLE]:eJe,[L8.READ_ONLY]:tJe,[L8.HAS_VALUE]:Gqe,[L8.HAS_NOT_VALUE]:Wqe,[L8.HAS_MAX_CHARS]:Hqe,[L8.HAS_MIN_CHARS]:Uqe,[L8.MUST_CONTAIN]:Zqe,[L8.MUST_NOT_CONTAIN]:Qqe,[L8.MAX]:Yqe,[L8.MIN]:Xqe,[L8.CONTAINS_ONE]:Vqe,[L8.NOT_CONTAINS_RULE]:$qe,[L8.REGEX]:nJe}
4074,q8=(e,t,n)=>{let r=e.guestAttribute.dataField.id,i=e.guestAttributeReference?t[e.guestAttributeReference.dataField.id]:e.value;return K8[e.type].validate({isImplicitlyRequired:n},e.guestAttribute.dataField.type,t[r],i)},J8=(e,t,n)=>{let r=t.guestAttribute.dataField.id,i=t.guestAttributeReference?n[t.guestAttributeReference.dataField.id]:t.value;return K8[t.type].getErrorMessage(e,t.guestAttribute.dataField,n[r],i)},rJe={validate:(e,t)=>{if(t==null)return!1;switch(e.guestAttribute.entityType){case`hotelStay.checkIn`:case`hotelStay.checkOut`:case`tenant`:case`tags`:case`groups`:case`guestType`:case`region`:case`wave`:{let n=Array.isArray(e.value)?e.value:[e.value],r=Array.isArray(t)?t:[t];return n.some(e=>r.includes(e))}}}},iJe={validate:(e,t)=>{if(t==null)return!0;switch(e.guestAttribute.entityType){case`groups`:case`tags`:case`tenant`:case`guestType`:case`region`:case`wave`:{let n=Array.isArray(e.value)?e.value:[e.value],r=Array.isArray(t)?t:[t];return n.length!==r.length||!n.every(e=>r.includes(e))}default:throw Error(`Not implemented rule`)}}},aJe={validate:(e,t)=>{if(t==null)return!1;switch(e.guestAttribute.entityType){case`groups`:case`tags`:case`tenant`:case`guestType`:case`region`:case`wave`:{let n=Array.isArray(e.value)?e.value:[e.value],r=Array.isArray(t)?t:[t];return n.length===r.length&&n.every(e=>r.includes(e))}default:throw Error(`Not implemented rule`)}}},oJe={validate:(e,t)=>{if(t==null)return!1;switch(e.guestAttribute.entityType){case`tenant`:case`tags`:case`groups`:case`guestType`:case`region`:case`wave`:{let n=Array.isArray(e.value)?e.value:[e.value],r=Array.isArray(t)?t:[t];return n.every(e=>r.includes(e))}default:throw Error(`Not implemented rule`)}}},sJe={validate:(e,t)=>{if(t==null)return!0;switch(e.guestAttribute.entityType){case`tenant`:case`tags`:case`guestType`:case`groups`:case`region`:case`wave`:{let n=Array.isArray(e.value)?e.value:[e.value],r=Array.isArray(t)?t:[t];return!n.every(e=>r.includes(e))}default:throw Error(`Not implemented rule`)}}},cJe={validate:(e,t)=>{if(t==null)return!1;switch(e.guestAttribute.entityType){case`hotelStay.checkIn`:case`hotelStay.checkOut`:case`tenant`:case`tags`:case`groups`:case`guestType`:case`region`:case`wave`:{let n=Array.isArray(e.value)?e.value:[e.value],r=Array.isArray(t)?t:[t];return!n.some(e=>r.includes(e))}default:throw Error(`Not implemented rule`)}}},Y8={validate:()=>!1},X8={[L8.IS_REQUIRED]:Y8,[L8.NOT_UPDATABLE]:Y8,[L8.READ_ONLY]:Y8,[L8.HAS_VALUE]:aJe,[L8.HAS_NOT_VALUE]:iJe,[L8.HAS_MAX_CHARS]:Y8,[L8.HAS_MIN_CHARS]:Y8,[L8.MUST_CONTAIN]:oJe,[L8.MUST_NOT_CONTAIN]:sJe,[L8.MAX]:Y8,[L8.MIN]:Y8,[L8.CONTAINS_ONE]:rJe,[L8.NOT_CONTAINS_RULE]:cJe,[L8.IS_EMPTY]:Y8,[L8.IS_NOT_EMPTY]:Y8,[L8.REGEX]:Y8},lJe=(e,t,n,r)=>{if(!t)return!1;if(e.guestAttribute.entityType===`hotelStay.checkIn`||e.guestAttribute.entityType===`hotelStay.checkOut`){let t=r.flatMap(e=>e.children).find(t=>t.entityType===`section`&&t.section.id===e.sectionId),i=Object.entries(n).flatMap(([,e])=>e.hotelSections)[0],a=i&&t&&i[t.section.hotelSettings.hotelStayTypeId]?i[t.section.hotelSettings.hotelStayTypeId].hotelStays.flatMap(t=>t[e.guestAttribute.entityType===`hotelStay.checkIn`?`checkIn`:`checkOut`]):[];return X8[e.type].validate(e,a)}let i=t.guestAttributeValues.find(({id:t})=>t===e.guestAttribute.id);return X8[e.type].validate(e,i?.value)},Z8=(e,t,n,r,i)=>{switch(e.guestAttribute.type){case`relation`:return lJe(e,n,r,i);case`dataField`:return q8(e,t,!0)}},Q8=(e,t,n,r,i)=>e.isAndLinked?e.rules.every(e=>Z8(e,t,n,r,i)):e.rules.some(e=>Z8(e,t,n,r,i)),$8=e=>(t,n,r,i,a)=>{let o=Q8(t,n,r,i,a);return t.actions.filter(t=>t.type===e).map(e=>{switch(e.type){case G8.SHOW_DATA_FIELD:return{id:`${e.value.section.id}-${e.value.dataField.id}`,show:o};case G8.SHOW_SECTION:return{id:e.value.id,show:o};case G8.SHOW_STEP:return{id:e.value.id,show:o};case G8.SHOW_BLOCK:return{id:e.value.sectionId?`${e.value.sectionId}-${e.value.id}`:e.value.id,show:o}}})},uJe=$8(G8.SHOW_STEP),dJe=$8(G8.SHOW_SECTION),fJe=$8(G8.SHOW_DATA_FIELD),e5=e=>Object.values(e).map(e=>Object.keys(e).reduce((t,n)=>({...t,[n]:e[+n]}),{})).reduce((e,t)=>
4074({...e,...t}),{}),t5=e=>e.children.filter(e=>e.entityType===`section`),pJe=e=>e.children.filter(e=>e.entityType===`section`),n5=e=>e.children.filter(e=>e.entityType===`guestAttribute`).map(e=>e.guestAttribute),r5=(e,t,n)=>e.reduce((e,r)=>{let i=r.dataField,a=t&&t.find(e=>e.id===r.id),o=n?`companion_${i.id}`:i.id,s;switch(i.type){case $.CHECKBOX_GROUP:s=a&&a.value!==null?a.value:[];break;case $.MULTI_SELECT_FIELD:s=a&&a.value!==null?a.value:[];break;case $.RADIO:s=a&&a.value!==null?`${a.value}`:null;break;case $.CHECKBOX:s=a&&a.value!==null?a.value:!1;break;default:s=a?.value??null}return{...e,[o]:s}},{}),i5=(e,t={})=>e.filter(e=>e.type!=`notice`).reduce((e,n)=>({...e,[n.id]:t[n.id]??n.type===`checkbox`?!1:``}),{}),a5=(e,t,n)=>e.reduce((e,r)=>{let i=r.id.toString();return!t[i]&&r.required?{...e,[i]:n(`Field is required`)}:e},{}),o5=e=>Object.keys(e).map(t=>({id:t,value:e[t]===`true`||e[t]===!0})),s5=(e,t,n,r)=>{let i=e5(t);return f5(e.flatMap(e=>uJe(e,i,n,t,r)))},c5=(e,t,n,r)=>{let i=e5(n),a=s5(t,n,r,e),o=e.filter(e=>a.includes(e.id)).flatMap(e=>e.children.reduce((e,t)=>[...e,...t.entityType===`section`?[t.section.id]:[]],[])),s=f5(t.flatMap(t=>dJe(t,i,r,n,e)));return[...o,...s]},l5=(e,t,n,r)=>{let i=e5(n),a=c5(e,t,n,r),o=e.flatMap(e=>e.children.reduce((e,t)=>t.entityType===`section`&&t.section.type!==`companion`&&a.includes(t.section.id)?t.section.children.reduce((e,n)=>n.entityType===`guestAttribute`?[...e,`${t.section.id}-${n.guestAttribute.dataField.id}`]:e,e):e,[])),s=f5(t.flatMap(t=>fJe(t,i,r,n,e)));return[...o,...s]};function u5(e,t,n){if(n===null){let n=t[0];return e.includes(n.id)?u5(e,t,n.id):n.id}let r=t.findIndex(e=>e.id===n);if(r+1>t.length-1)return null;let i=t[r+1];return e.includes(i.id)?u5(e,t,i.id):i.id}function d5(e,t,n){if(n===null){let n=t[t.length-1];return e.includes(n.id)?d5(e,t,n.id):n.id}let r=t.findIndex(e=>e.id===n);if(r-1==-1)return null;let i=t[r-1];return e.includes(i.id)?d5(e,t,i.id):i.id}var f5=e=>{let t=e.reduce((e,t)=>(e[t.id]||(e[t.id]=t.show),e),{});return Object.keys(t).map(e=>({id:e,show:t[e]})).filter(e=>!e.show).map(e=>e.id.toString().includes(`-`)?e.id:Number(e.id))},p5=e=>e.steps.flatMap(t5).filter(e=>e.section.type==="default").flatMap(e=>n5(e.section)).map(U8),m5=(e,t,n)=>{let r=c5(e.steps,e.ruleSets,n,e.guest),i=e.steps.flatMap(t5).find(e=>e.entityType===`section`&&e.section.type===t)?.section.id;return i===void 0||r.includes(i)},h5=U.div` 4075 display: grid; 4076 grid-template-rows: max-content 1fr; 4077 gap: ${({theme:e})=>e.spacing(1)}; 4078`,mJe=U(pK)` 4079 align-items: baseline; 4080 4081 label { 4082 color: ${({theme:e})=>e.colors.forms.label}; 4083 font-size: 1rem; 4084 } 4085`,g5=U.div` 4086 ${({theme:e})=>e.forms.error}; 4087 position: relative; 4088 padding-bottom: ${({theme:e})=>e.spacing(4)}; 4089`,hJe=({consent:e,name:t})=>{let[,n]=cI(t);return(0,V.jsxs)(h5,{children:[e.headline&&(0,V.jsx)(uQ,{children:e.headline}),(0,V.jsx)(mJe,{label:(0,V.jsx)(H1,{content:e.consent}),name:t}),n.touched&&n.error&&(0,V.jsx)(g5,{id:`${t}_error`,children:n.error})]})},gJe=({consent:e})=>(0,V.jsxs)(h5,{children:[e.headline&&(0,V.jsx)(uQ,{children:e.headline}),(0,V.jsx)(H1,{content:e.consent})]}),_Je=U.div` 4090 display: flex; 4091 gap: ${({theme:e})=>e.spacing(2)}; 4092 align-items: center; 4093`,vJe=({consent:e,name:t})=>{let{t:n}=B(),[,r]=cI(t);return(0,V.jsxs)(h5,{children:[e.headline&&(0,V.jsx)(uQ,{children:e.headline}),(0,V.jsx)(H1,{content:e.consent}),(0,V.jsx)(_Je,{children:(0,V.jsxs)(QQ,{name:t,children:[(0,V.jsx)(ZQ,{value:`true`,label:n(`Agree`)}),(0,V.jsx)(ZQ,{value:`false`,label:n(`Disagree`)})]})}),r.touched&&r.error&&(0,V.jsx)(g5,{id:`${t}_error`,children:r.error})]})},yJe=({consent:e,name:t})=>{let n=t?`${t}.${e.id}`:`${e.id}`;switch(e.type){case`checkbox`:return(0,V.jsx)(hJe,{consent:e,name:n});case`radio`:return(0,V.jsx)(vJe,{consent:e,name:n});default:return(0,V.jsx)(gJe,{consent:e})}},bJe=U.div` 4094 display: grid; 4095 grid-auto-rows: max-content; 4096 gap: ${({theme:e})=>e.spacing(4)}; 4097 padding-bottom: ${({theme:e})=>e.spacing(4)}; 4098`,_5=({consents:e,name:t})=>(0,V.jsx)(bJe,{children:e.map(e=>(0,V.jsx)(yJe,{consent:e,name:t},e.id))}),v5=({blockId:e})=>e===null?null:(0,V.jsx)(y5,{blockId:e}),y5=({blockId:e})=>{let t=C8(),{regionId:n}=O8(),{block:r,isLoading:i}=t2(e,{token:t||``,regionId:n?`${n}`:``});return i?(0,V.jsx)(lD,{}):r&&(0,V.jsx)(z2,{block:r})},b5=({slug:e})=>{let{block:t,isLoading:n}=e2(e);
4098return n?(0,V.jsx)(lD,{}):t&&(0,V.jsx)(z2,{block:t})},x5=U(YN)` 4099 padding: ${({theme:e})=>e.spacing(4)}; 4100`,xJe=U.div` 4101 display: flex; 4102 justify-content: flex-end; 4103`,S5=({registrationForm:e,onSubmit:t})=>{let{t:n}=B(),{regionId:r}=O8(),{data:i=[],isLoading:a}=kw({queryKey:[...F8.keys.consentsForEmailGatePage(e.id),r],queryFn:()=>F8.consentsForEmailGatePage(e.id,r).then(e=>e.data.data)}),o=(0,I.useMemo)(()=>({consents:i5(i),email:``}),[i]),s=(0,I.useCallback)(e=>{let t={},r=a5(i,e.consents,n);return Object.keys(r).length>0&&(t.consents=r),e.email?_I(e.email)||(t.email=n(`Invalid email address`)):t.email=n(`Field is required`),t},[n,i]);return a?(0,V.jsx)(x5,{color:`content`,children:(0,V.jsx)(lD,{})}):(0,V.jsxs)(V.Fragment,{children:[e.emailGateBlockId&&(0,V.jsx)(v5,{blockId:e.emailGateBlockId}),(0,V.jsx)(x5,{color:`content`,children:(0,V.jsx)(aI,{initialValues:o,onSubmit:t,validate:s,children:(0,V.jsxs)(lI,{children:[(0,V.jsx)(tz,{name:`email`,required:!0,label:n(`E-Mail`)}),i.length>0&&(0,V.jsx)(_5,{consents:i,name:`consents`}),(0,V.jsx)(xJe,{children:(0,V.jsx)(vI,{children:n(`Submit`)})})]})})})]})},SJe=U(gI)` 4104 padding: ${({theme:e})=>e.spacing(5)} 0; 4105`,CJe=U(YN)` 4106 display: grid; 4107 justify-content: center; 4108 align-items: center; 4109`,C5=({headline:e,text:t})=>(0,V.jsxs)(CJe,{color:`content`,children:[(0,V.jsx)(SJe,{children:e}),(0,V.jsx)(`p`,{children:t})]}),wJe=({registrationForm:e})=>{let{t}=B();return e.emailGateWelcomeBlockId?(0,V.jsx)(v5,{blockId:e.emailGateWelcomeBlockId}):(0,V.jsx)(C5,{headline:t(`Welcome`),text:t(`An email with an invitation has been sent to you.`)})},TJe=({registrationForm:e})=>{let{t}=B();return e.emailGateWelcomeBackBlockId?(0,V.jsx)(v5,{blockId:e.emailGateWelcomeBackBlockId}):(0,V.jsx)(C5,{headline:t(`Welcome back!`),text:t(`An email with your personal registration link has been sent to you.`)})},EJe=({registrationForm:e})=>{let t=Iy(),{regionId:n}=O8(),r=(0,I.useCallback)(async r=>{let i={email:r.email,consents:o5(r.consents),regionId:n},a=await F8.submitEmailGate(e.id,i);
4109if(!mb(a))return;let o=a.data.data;switch(o.result){case z8.WELCOME_BACK:t(`../welcome-back`);break;case z8.INVITED:t(`../invited`);break;case z8.CONTINUE:t({search:`token=${o.token}`},{replace:!0})}},[t,n,e.id]);return(0,V.jsxs)(Yy,{children:[(0,V.jsx)(Jy,{index:!0,path:`*`,element:(0,V.jsx)(S5,{registrationForm:e,onSubmit:r})}),(0,V.jsx)(Jy,{path:`welcome-back`,element:(0,V.jsx)(TJe,{registrationForm:e})}),(0,V.jsx)(Jy,{path:`invited`,element:(0,V.jsx)(wJe,{registrationForm:e})})]})},w5=[`travel-segments`],T5={baseKey:w5,travelSegmentByDirectionKey:(e,t,n)=>[...w5,e,t,n],travelSegmentByDirection:(e,t,n)=>{let r={};return n.type&&(r.type=n.type),n.guestId&&(r.guestId=`${n.guestId}`),n.search&&(r.search=n.search),r.withPublicScope=n.withPublicScope?`1`:`0`,z.get(`registration-forms/${e}/travel-segments/${t}`,{params:r})}},E5={stayConfigurationKey:(e,t)=>[`hotel-sections`,e,`stay-configuration`,t],getHotels:(e,t)=>z.get(`hotel-sections/${e}/hotels`,{params:{...t,guestId:t.guestId??void 0}}),getStayConfiguration:(e,t)=>z.get(`hotel-sections/${e}/stay-configuration`,{params:{...t,guestId:t.guestId??void 0}}).then(e=>e.data.data??null),hotelSummaryKey:(e,t)=>[`hotel-sections`,e,`hotel-summary`,t],getHotelSummary:(e,t)=>z.put(`hotel-sections/${e}/hotel-summary`,t).then(e=>e.data.data)},DJe=(e,t)=>{let n=kw({queryKey:E5.hotelSummaryKey(e,t),queryFn:()=>E5.getHotelSummary(e,t)});return{data:n.data,isLoading:n.isLoading}},D5=(0,I.createContext)(void 0),O5=()=>{let e=(0,I.useContext)(D5);if(e===void 0)throw Error(`Context undefined. Are you missing the RegistrationFormProvider?`);return e},OJe=e=>{let{hiddenSteps:t,registrationForm:n}=O5(),r=n.steps.find(t=>t.id===e);return r?{isAvailable:!t.includes(e),step:r}:null},kJe=(e,t,n)=>{let{getHiddenSections:r,filledSteps:i}=O5();return!r({...i,[t]:e}).includes(n)},k5=(e,t,n)=>{let{getHiddenDataFields:r,filledSteps:i}=O5(),a=n5(n),o=r({...i,[t]:e});return a.flatMap(({dataField:e})=>o.includes(`${n.id}-${e.id}`)?[e.id]:[])},AJe=U(YR)` 4110 display: block; 4111 margin-bottom: ${({theme:e})=>e.spacing(2)}; 4112`,jJe=U.div` 4113 padding-bottom: 1.5rem; 4114`,MJe=U.div` 4115 display: flex; 4116 gap: ${({theme:e})=>e.spacing(1)}; 4117`,NJe=U.div` 4118 font-size: 0.875rem; 4119 color: ${({theme:e})=>e.colors.palette.danger.main.base}; 4120`,A5=e=>{let t=e.split(`/`);return t[t.length-1]},j5=e=>e instanceof File,M5=e=>typeof e==`string`,PJe=e=>{let{registrationForm:t}=O5(),{dataFieldSettings:{allowedMimeTypes:n}}=s8(),[{value:r},,{setValue:i}]=cI(e.name),{t:a}=B(),{apiUrl:o}=s8();return r?(0,V.jsxs)(jJe,{children:[(0,V.jsx)(AJe,{children:e.label}),(0,V.jsxs)(MJe,{children:[j5(r)?r.name:A5(r),M5(r)&&(0,V.jsx)(zxe,{href:`${o}/registration-forms/${t.id}/data-fields/${e.dataFieldId}/download?token=${t.guest.id}`,type:`button`,size:`small`,target:`_blank`,icon:`file_download`,title:a(`Download file`)}),!e.readOnly&&(0,V.jsx)(iD,{title:a(`Remove file`),type:`button`,size:`small`,onClick:()=>i(null),icon:`close`})]}),(0,V.jsx)(NJe,{children:(0,V.jsx)(dye,{name:e.name})})]}):(0,V.jsx)(o$,{...e,description:e.description??a(`Max. {{size}} MB file size`,{size:v8.uploadedFileMaxSize})+`, `+a(`Allowed file types: image, video, PDF, office (word/excel etc.), font`),accept:n.join(`, `),disabled:e.readOnly})},N5=e=>typeof e.id==`number`,P5=e=>!N5(e),F5=e=>{switch(e.type){case`flight`:return{type:e.type,earliestDepartureDate:e.earliestDepartureDate,earliestDepartureTime:e.earliestDepartureTime,latestArrivalDate:e.latestArrivalDate,latestArrivalTime:e.latestArrivalTime,arrivalLocation:e.arrivalLocation?.iataCode||``,departureLocation:e.departureLocation?.iataCode||``,remarks:e.remarks};case`train`:return e}},I5=e=>{switch(e.type){case`flight`:return{type:`flight`,arrivalDate:e.arrivalDate,arrivalTime:e.arrivalTime,arrivalLocation:e.arrivalLocation?.iataCode??``,departureDate:e.departureDate,departureTime:e.departureTime,departureLocation:e.departureLocation?.iataCode??``,identifier:e.identifier,serviceClass:e.serviceClass};case`car`:case`train`:return e}},FJe=e=>({id:e.id===-1?null:e.id,arrival:{travelSegmentIds:e.arrivals.filter(N5).map(({id:e})=>e),travelSegmentRequests:e.arrivals.filter(P5).map(I5),travelInquiryRequest:e.arrivalInquiry?F5(e.arr
4120ivalInquiry):null,selfTravelRequest:e.arrivalSelfTravel,travelTemplateId:e.arrivalTravelTemplate?.id||null},departure:{travelSegmentIds:e.departures.filter(N5).map(({id:e})=>e),travelSegmentRequests:e.departures.filter(P5).map(I5),travelInquiryRequest:e.departureInquiry?F5(e.departureInquiry):null,selfTravelRequest:e.departureSelfTravel,travelTemplateId:e.departureTravelTemplate?.id||null}}),L5=(e,t,n)=>{let r={},i=t.reduce((e,t,r)=>{let i=[];return t.departures.length===0&&!t.departureInquiry&&!t.departureSelfTravel&&!t.departureTravelTemplate&&i.push(n(`You have to provide a departure.`)),t.arrivals.length===0&&!t.arrivalInquiry&&!t.arrivalSelfTravel&&!t.arrivalTravelTemplate&&i.push(n(`You have to provide an arrival.`)),i.length===0?e:{...e,[r]:i}},{});return Object.keys(i).length>0&&(r.travels=i),e.minTravels!==null&&t.length<e.minTravels&&(r.count=n(`You need to have at least {{count}} travels.`,{count:e.minTravels})),e.maxTravels!==null&&t.length>e.maxTravels&&(r.count=n(`You can only assign a maximum of {{count}} travels.`,{count:e.maxTravels})),Object.keys(r).length>0?r:null},R5=(e,t,n)=>{let r={},i=e.companionSettings.minCompanionCount;return i&&t<i&&(r[e.id]=n(`You need min. {{count}} {{companionType}}`,{count:i,companionType:i===1?e.companionSettings.companionType.singularLabel:e.companionSettings.companionType.pluralLabel})),Object.keys(r).length>0?r:null},IJe=({registrationForm:e,initialFilledSteps:t,hasFileField:n,children:r})=>{let{track:i}=sQ(),{productData:a}=s8(),o=Iy(),{store:s,clearObjectStore:c}=A8(),l=yH(),u=SG(),{formatLocale:d}=vH(),f=VC(),{regionId:p}=O8(),[m,h]=(0,I.useState)(t),[g,_]=w8(`givenConsents`,{}),[v,y]=w8(`hasSeenLanding`,!1),[b,x]=w8(`companions`,e.guest.companionsByType),[S,C]=w8(`travels`,e.guest.travels.map(e=>({...e,arrivalTravelTemplate:null,departureTravelTemplate:null}))),{landingConsents:w,isLoading:T}=I8(e.id,p??null),[E,D]=(0,I.useState)({}),{t:O}=B(),{showToast:k}=PC(),A=(0,I.useCallback)(async e=>{if(n&&e&&!M5(e))return await s(`guest_files`,e)},[n,s]),j=(0,I.useMemo)(()=>s5(e.ruleSets,m,e.guest,e.steps),[m,e.guest,e.ruleSets,e.steps]),M=(0,I.useCallback)(t=>c5(e.steps,e.ruleSets,t,e.guest),[e.guest,e.ruleSets,e.steps]),ee=(0,I.useCallback)(t=>l5(e.steps,e.ruleSets,t,e.guest),[e.guest,e.ruleSets,e.steps]),N=(0,I.useCallback)(async(t,n)=>{let r={...m,[t]:n},i=s5(e.ruleSets,r,e.guest,e.steps),a={...n};for(let e of Object.keys(n))if(n[e]instanceof File)try{sessionStorage.setItem(`isActiveSession`,`true`),a[e]=await A(n[e])}catch{a[e]=null}h(r);let o={...m,[t]:a};return sessionStorage.setItem(F9,JSON.stringify(o)),D({}),f.resetQueries({queryKey:[`shop-summary`]}),u5(i,e.steps,t)},[m,f,e.guest,e.ruleSets,e.steps,A]),te=(0,I.useCallback)((t,n,r,i)=>{let a={...m,[t]:{...n,...i}},o=l5(e.steps,e.ruleSets,a,e.guest),s=n5(r).filter(e=>!o.includes(`${r.id}-${e.dataField.id}`)).map(({dataField:e})=>e),c=r.validationRules.filter(e=>!o.includes(`${r.id}-${e.guestAttribute.dataField.id}`)&&!q8(e,i,!1)).reduce((e,t)=>{let n=J8({t:O,formatDate:l,formatDateTime:u},t,i);return{...e,[t.guestAttribute.dataField.id]:n}},{});return s.reduce(W8(i,O),c)},[m,l,u,e.guest,e.ruleSets,e.steps,O]),ne=(0,I.useCallback)((e,t,n,r)=>{let i=Object.fromEntries(Object.entries(r).map(([e,t])=>[e.replace(`companion_`,``),t])),a=te(e,t,n,i);return Object.fromEntries(Object.entries(a).map(([e,t])=>[`companion_${e}`,t]))},[te]),re=(0,I.useCallback)((e,t,n)=>(b.find(e=>e.id===n.companionSettings.companionType.id)?.companions??[]).reduce((r,i,a)=>{let o=te(e,t,n,H8(i));return Object.keys(o).length>0?{...r,[a]:o}:r},{}),[b,te]),ie=(0,I.useCallback)((t,n)=>{let r={...m,[t.id]:n},i=l5([t],e.ruleSets,r,e.guest),a=t5(t).flatMap(({section:e})=>n5(e)).map(U8).reduce(W8(n,O),{}),o=t.children.flatMap(e=>e.entityType===`section`&&e.section.type==="default"?e.section.validationRules.filter(t=>!i.includes(`${e.section.id}-${t.guestAttribute.dataField.id}`)&&!q8(t,n,!1)):[]).reduce((e,t)=>{let r=J8({t:O,formatDate:l,formatDateTime:u},t,n);return{...e,[t.guestAttribute.dataField.id]:r}},{}),s=!m5(e,`travel`,r)&&t.children.some(e=>e.entityType===`section`&&e.section.type===`travel`),c={};s&&e.travelSectionSettings&&(c=L5(e.travelSectionSettings,S,O));let d=t.children.filter(e=>e.entityType===`section`&&e.section.type===`companion`&&!M({...m,[t.id]:n}).includes(e.section.id)),f={};
4120return d.forEach(e=>{let r=e.section,i=r.companionSettings.companionType,a=R5(r,b.find(e=>e.id===i.id)?.companions.length??0,O);if(a){f={...f,...a};return}Object.keys(re(t.id,n,r)).length>0&&(f={...f,[r.id]:O(`Please complete the data of all {{companions}}`,{companions:i.pluralLabel})})}),{...o,...a,...c,...f}},[M,b,m,l,u,e,O,S,re]),P=(0,I.useCallback)((e,t)=>{let n=t5(e).flatMap(({section:e})=>n5(e)).map(U8).reduce(W8(t,O),{});return{...e.children.flatMap(e=>e.entityType===`section`&&e.section.type==="default"?e.section.validationRules.filter(e=>!q8(e,t,!1)):[]).reduce((e,n)=>{let r=J8({t:O,formatDate:l,formatDateTime:u},n,t);return{...e,[n.guestAttribute.dataField.id]:r}},{}),...n}},[l,u,O]),F=(0,I.useCallback)(async()=>{n&&await c(`guest_files`),_({}),h([]),x([]),D({}),sessionStorage.clear()},[c,n,x,_]),ae=(0,I.useCallback)(({summaryPageConsents:t,shopSummaryHash:n,paymentProviderId:r})=>{let i=new FormData,o=LJe(e,m,i),s=o5(g).concat(o5(t));if(a.enableAdobeAnalytics&&a.adobeAnalyticsStcCodeDataFieldId){let e={id:a.adobeAnalyticsStcCodeDataFieldId,value:window.ste_getVisitReferrer?window.ste_getVisitReferrer():null};o=[...o,e]}let c=m5(e,`travel`,m)?[]:S.map(FJe),l=RJe(e,m),u={dataFieldValues:o,consents:s,companions:b.flatMap(e=>e.companions),travels:c,shopSummaryHash:n,paymentProviderId:r,token:e.guest.id===`new`?void 0:e.guest.id,registrationLocale:d,hotelStays:l.flatMap(({section:e,formValues:t})=>t.hotelStays.map(t=>({id:t.id,hotelStayTypeId:e.hotelSettings.hotelStayTypeId,checkIn:t.checkIn,checkOut:t.checkOut,requestedHotelId:t.requestedHotelId,requestedRoomTypeId:t.requestedRoomTypeId,remarkByGuest:t.remarkByGuest,additionalPersonsText:t.additionalPersonsText,additionalPersonsEnabled:t.additionalPersonsEnabled,cancellationRequested:t.cancellationRequested||!1}))),regionId:p};return i.append(`registration`,JSON.stringify(u)),i},[b,m,d,g,a.adobeAnalyticsStcCodeDataFieldId,a.enableAdobeAnalytics,p,e,S]),oe=(0,I.useCallback)(async t=>{let n=ae(t);return(await F8.submitRegistrationFormDataForShopSummary(e.id,n)).data.data},[ae,e.id]),se=(0,I.useCallback)(async t=>{let n=ae(t),r=await F8.submitRegistrationFormData(e.id,n);if(z.isAxiosError(r)?(f.invalidateQueries({queryKey:T5.baseKey}),r.response?.data.travelSegmentId&&C(S.filter(e=>e.arrivals.every(e=>e.id!==r.response?.data.travelSegmentId)&&e.departures.every(e=>e.id!==r.response?.data.travelSegmentId))),D(r.response?.data.errors||{})):D({}),mb(r)){switch(r.data.data.status){case R8.REGISTERED:o(`../success`);break;case R8.REGISTERED_WITH_PAYMENT_PROVIDER:window.location.href=r.data.data.paymentLink;break;case R8.REGISTERED_WITH_POSITIVE_SCREENING:case R8.WAITING_LIST_WITH_POSITIVE_SCREENING:case R8.REGISTRATION_CHANGED_WITH_POSITIVE_SCREENING:o(`../confirmed`);break;case R8.REGISTRATION_CHANGED:o(`../edited`);break;case R8.WAITING_LIST:e.waitingListConfirmationBlockId?o(`../waiting-list`):k({body:O(`You were placed on the waiting list.`),title:O(`Registration`),type:`success`})}return!0}return!1},[ae,e.id,e.waitingListConfirmationBlockId,S,f,C,o,k,O]),ce=(0,I.useCallback)(async t=>{mb(await F8.declineRegistration(e.id,Object.keys(t).map(e=>({id:e,value:t[e]})),d,e.guest.id===`new`&&p?p:null,e.guest.id===`new`?void 0:e.guest.id))?(o(`../declined`,{replace:!0}),i(new KGe(e.id,new Date))):k({body:O(`An error has occurred`),type:`error`,title:O(`Declination`)})},[d,o,p,e.guest.id,e.id,k,O,i]),le=(0,I.useCallback)(async t=>{mb(await F8.cancelRegistration(e.id,Object.keys(t).map(e=>({id:e,value:t[e]})),d,e.guest.id===`new`&&p?p:null,e.guest.id===`new`?void 0:e.guest.id))?(o(`../cancelled`,{replace:!0}),i(new qGe(e.id,new Date))):k({body:O(`An error has occurred`),type:`error`,title:O(`Cancellation`)})},[d,o,p,e.guest.id,e.id,k,O,i]),ue=(0,I.useCallback)(async t=>{mb(await F8.nominateReplacement(e.id,Object.keys(t).map(e=>({id:e,value:t[e]})),e.guest.id===`new`?void 0:e.guest.id))?(o(`../replaced`,{replace:!0}),i(new JGe(e.id,new Date))):k({body:O(`An error has occurred`),type:`error`,title:O(`Nominate replacement`)})},[o,e,k,O,i]),de=t=>d5(s5(e.ruleSets,m,e.guest,e.steps),e.steps,t??null),fe=(0,I.useCallback)(t=>{let n=s5(e.ruleSets,m,e.guest,e.steps),r={...g,...t};return _(r),y(!0),u5(n,e.steps,null)},[m,g,e.guest,e.ruleSets,e.steps,_,y]),pe=(0,I.useCallback)((e,t,n)=>{if(b.find(t=>
4120t.id===e.companionType.id)===void 0){b.push({id:e.companionType.id,singularLabel:e.companionType.singularLabel,pluralLabel:e.companionType.pluralLabel,companions:[e.companion]}),x(b),t(R5(n,b.find(t=>t.id===e.companionType.id)?.companions.length??0,O));return}let r=b.map(t=>{if(t.id===e.companionType.id){let n=t.companions.map((t,n)=>n===e.index?e.companion:t),r=t.companions.findIndex((t,n)=>e.index===n)>=0?n:n.concat(e.companion);return{...t,companions:r}}return t});x(r),t(R5(n,r.find(t=>t.id===e.companionType.id)?.companions.length??0,O))},[b,x,O]),me=(0,I.useCallback)((e,t,n,r)=>{let i=b.map(n=>{if(n.id===t){let t=n.companions.filter((t,n)=>n!==e);return{...n,companions:t}}return n});x(i),n(R5(r,i.find(e=>e.id===r.companionSettings.companionType.id)?.companions.length??0,O))},[b,x,O]);return(0,V.jsx)(D5.Provider,{value:{errors:E,registrationForm:e,previousStep:de,submitStep:N,validateStep:ie,validateStaticStep:P,submitRegistration:se,submitLanding:fe,filledSteps:m,givenConsents:g,companionsByType:b,saveCompanion:pe,removeCompanion:me,hiddenSteps:j,getHiddenSections:M,getHiddenDataFields:ee,isPreview:!1,clearRegistration:F,declineRegistration:ce,cancelRegistration:le,nominateReplacement:ue,travels:S,setTravels:C,landingConsents:w,areConsentsLoading:T,companionFormValidation:ne,validateCompanions:re,getStayConfigurationValidation:e=>t=>{if(e.minStayPeriods!==0&&(!t?.hotelStays||t.hotelStays.length<e.minStayPeriods))return{count:O(`At least {{count}} hotel stays must be specified.`,{count:e.minStayPeriods})}},getHotelStayValidation:(e,t)=>n=>{if(n){if(!n.checkIn||!n.checkOut)return O(`The Check-in and check-out field is required.`);if(n.checkIn>=n.checkOut)return O(`Check-in date must be before check-out date.`);if(n.checkIn<e.earliestCombinedCheckIn)return O(`Check-in date must be after {{date}}.`,{date:l(e.earliestCombinedCheckIn)});if(n.checkOut>e.latestCombinedCheckOut)return O(`Check-out date must be before {{date}}.`,{date:l(e.latestCombinedCheckOut)});if(n.mainStay){if(n.checkIn<n.mainStay.checkIn)return O(`Check-in date must be after {{date}}.`,{date:l(n.mainStay.checkIn)});if(n.checkOut>n.mainStay.checkOut)return O(`Check-out date must be before {{date}}.`,{date:l(n.mainStay.checkOut)})}if(n.additionalPersonsEnabled&&!n.additionalPersonsText)return O(`The additional person field must be filled.`);if(t.length>0&&n.checkIn&&n.checkOut&&t.some(e=>e.checkIn>=n.checkIn&&e.checkIn<n.checkOut||e.checkOut>n.checkIn&&e.checkOut<=n.checkOut||e.checkIn>=n.checkIn&&e.checkOut<=n.checkOut))return O(`The Check-in and check-out field must not overlap with other stays.`);if(e.maxNights&&Oz(n.checkOut,n.checkIn)>e.maxNights)return O(`A maximum of {{count}} nights can be booked.`,{count:e.maxNights});if(e.isPreferredHotelSelectable&&n.requestedHotelId==null)return O(`A hotel must be selected.`);if(e.isPreferredRoomTypeSelectable&&n.requestedRoomTypeId==null)return O(`A room must be selected.`)}},getHotelSummary:DJe,submitRegistrationFormDataForShopSummary:oe,isShopEnabled:e.isShopEnabled,hasSeenLanding:v,setHasSeenLanding:y},children:r})},LJe=(e,t,n)=>{let r=e5(t),i=l5(e.steps,e.ruleSets,t,e.guest);return e.steps.flatMap(t5).filter(e=>e.section.type==="default").flatMap(({section:e})=>n5(e).filter(t=>!i.includes(`${e.id}-${t.dataField.id}`))).map(U8).map(V8(r,n))},RJe=(e,t)=>{let n=c5(e.steps,e.ruleSets,t,e.guest);return e.steps.flatMap(e=>t5(e).filter(e=>e.section.type===`hotel`&&!n.includes(e.section.id)).map(({section:e})=>e).filter(n=>!!t[e.id].hotelSections?.[n.hotelSettings.hotelStayTypeId]).map(n=>({section:n,formValues:t[e.id].hotelSections[n.hotelSettings.hotelStayTypeId]})))},zJe=()=>{let{registrationForm:e,hiddenSteps:t}=O5(),n=e.steps.filter(e=>!t.includes(e.id)),{t:r}=B();return n.length?(0,V.jsx)(Ky,{to:`../${n[0].id}`}):(0,V.jsx)(uG,{children:r(`No registration steps found`)})},z5=function(e){return e.INQUIRY=`INQUIRY`,e.BOOKING=`BOOKING`,e.CONFLICT=`CONFLICT`,e.CANCELLATION_REQUESTED=`CANCELLATION_REQUESTED`,e}({}),BJe=()=>{let[e,t]=(0,I.useState)(0),{submitCount:n,isValid:r}=qF();return(0,I.useEffect)(()=>{if(n>e&&!r){t(n);let e=document.querySelectorAll(`[aria-invalid="true"]`)[0];e&&(e.style.scrollMarginTop=`32px`,e.scrollIntoView({behavior:`smooth`}),e.focus({preventScroll:!0}))}},[r,e,n]),null},B5=({block:e,sectionId:t=null})=>{let{values:n}=qF(),{registrationForm:r,filledSteps:i}=O5(),a={...e5(i),...n},o=r.ruleSets.find(n=>n.actions.find(n=>n.type===G8.SHOW_BLOCK&&n.value.id===e.id&&n.value.sectionId===t));return!o||Q8(o,a,r.guest,i,r.steps)?(0,V.jsx)(z2,{block:e}):null},VJe=({step:e})=>{let{values:t,setFieldValue:n}=qF(),{getHiddenDataFields:r,filledSteps:i}=O5(),a=(0,I.useMemo)(()=>{let t={};for(let n of e.children)if(n.entityType!==`block`&&n.section.type==="default")for(let e of n.section.children){if(e.entityType!==`guestAttribute`)continue;let r=e.guestAttribute.dataField.id;t[r]=[...t[r]||[],n.section.id]}return t},[e.children]);return(0,I.useEffect)(()=>
4120{let o=r({...i,[e.id]:t});for(let[e,r]of Object.entries(a))r.every(t=>o.includes(`${t}-${e}`))?t[e]!==void 0&&n(`${e}`,void 0):t[e]===void 0&&n(`${e}`,null)},[t,e.id,n,r,i,a]),null},HJe=U.strong` 4121 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 4122`,UJe=U(nD)` 4123 width: 1rem; 4124 height: 1rem; 4125 color: ${({theme:e})=>e.forms.error}; 4126`,WJe=U.div` 4127 ${({theme:e})=>e.forms.error}; 4128`,GJe=U.div` 4129 display: flex; 4130 align-items: center; 4131 column-gap: ${({theme:e})=>e.spacing(2)}; 4132`,V5=({value:e,className:t,error:n})=>{let{t:r}=B();return(0,V.jsxs)(`span`,{children:[(0,V.jsxs)(GJe,{children:[n&&(0,V.jsx)(UJe,{$icon:`warning`}),(0,V.jsx)(HJe,{className:t,children:e||`-`})]}),n&&(0,V.jsx)(WJe,{children:r(n)})]})},KJe=()=>Promise.resolve(),H5=({value:e,dataField:t,error:n})=>{let r=yH(),i=SG();if(e==null)return(0,V.jsx)(V5,{error:n});switch(t.type){case $.CHECKBOX:return(0,V.jsx)(fK,{name:`${t.id}`,disabled:!0,value:e,label:``,onChange:KJe,error:n});case $.SELECT_FIELD:{let r=t.options.find(t=>t.id===e)?.value;return(0,V.jsx)(V5,{error:n,value:r})}case $.RADIO:{let r=t.options.find(t=>t.id===parseInt(e,10))?.value;return(0,V.jsx)(V5,{error:n,value:r})}case $.MULTI_SELECT_FIELD:case $.CHECKBOX_GROUP:{let r=t.options.filter(t=>e.includes(t.id)).map(e=>e.value).join(`, `);return(0,V.jsx)(V5,{error:n,value:r})}case $.DATE:return(0,V.jsx)(V5,{error:n,value:r(e)});case $.LOCAL_DATETIME:case $.DATETIME:return(0,V.jsx)(V5,{error:n,value:i(e)});case $.CRYPT:return(0,V.jsx)(V5,{error:n,value:`***********`});case $.FILE:{let t=e;return t?j5(t)?(0,V.jsx)(V5,{error:n,value:t.name}):M5(t)?(0,V.jsx)(V5,{error:n,value:A5(t)}):(0,V.jsx)(V5,{error:n}):(0,V.jsx)(V5,{error:n})}default:return(0,V.jsx)(V5,{error:n,value:e})}},U5=U.div` 4133 ${({theme:e})=>e.forms.label}; 4134 white-space: normal; 4135`,qJe=U(TG)` 4136 display: grid; 4137 grid-template-columns: repeat(3, 1fr); 4138 gap: ${({theme:e})=>e.spacing(2)}; 4139`,W5=({filledSteps:e,companion:t,dataFields:n,errors:r,dataFieldErrors:i})=>{let{registrationForm:a,getHiddenDataFields:o}=O5(),s=a.steps.filter(({children:e})=>e.some(e=>e.entityType===`section`&&e.section.id===t.sectionId)),c=n=>s.every(r=>{let i=H8(t);return o({...e,[r.id]:{...e[r.id],...i}}).includes(`${t.sectionId}-${n}`)}),l=n.filter(({id:e})=>!c(e));return(0,V.jsx)(qJe,{children:l.map((e,n)=>{let a=`dataFieldValues.${n}.value`;return(0,V.jsxs)(`div`,{children:[(0,V.jsxs)(U5,{children:[e.label,`:`]}),(0,V.jsx)(H5,{error:r?.[a]??i?.[e.id],dataField:e,value:t.dataFieldValues.find(t=>t.id===e.id)?.value})]},e.id)})})},JJe=({autoFocus:e=!1,disabled:t=!1,readOnly:n=!1,label:r,infoText:i,max:a,min:o,step:s,name:c,placeholder:l,description:u,maxChars:d,type:f,prefix:p,suffix:m,className:h,autoComplete:g,required:_})=>({controlProps:{label:r,infoText:i,placeholder:l,description:u,maxChars:d,disabled:t,readOnly:n,type:f,autoFocus:e,min:o,max:a,step:s,prefix:p,suffix:m,className:h,autoComplete:g,required:_},useFieldProps:{name:c}}),YJe=I.forwardRef(function(e,t){let{t:n}=B(),{controlProps:r,useFieldProps:i}=JJe(e),{isSubmitting:a}=qF(),o=(0,I.useCallback)(async e=>{if(!e||!_I(e))return;let t=await z.post(`validate-email`,{email:e},{skipErrorHandler:!0});if(!mb(t)&&t.status===422)return n(`The email must be a valid email address.`)},[n]),[s,c]=cI({name:i.name,validate:o});return(0,V.jsx)($R,{ref:t,...r,...s,disabled:r.disabled||a,error:c.touched&&c.error?c.error:void 0,value:s.value??``})}),XJe=({name:e,dataField:t,required:n,readOnly:r,minMaxProps:i={}})=>{let a={label:t.label,name:e,required:n,readOnly:r},o={...a,description:t.description??void 0,placeholder:t.placeholder??void 0};switch(t.type){case $.SELECT_FIELD:return(0,V.jsx)(nK,{...o,clearable:!0,options:t.options,getLabel:e=>e.value,getValue:e=>e.id});case $.MULTI_SELECT_FIELD:return(0,V.jsx)(jK,{...o,options:t.options,getLabel:e=>e.value,getValue:e=>e.id});case $.CHECKBOX_GROUP:return(0,V.jsx)(hK,{...o,disabled:r,options:t.options.map(e=>({value:e.id,name:e.value}))});case $.FILE:return(0,V.jsx)(PJe,{...o,dataFieldId:t.id});case $.RADIO:{let e=t.options.reduce((e,t)=>[...e,{value:JSON.stringify(t.id),name:t.value}],[]);return(0,V.jsx)($Q,{...o,options:e,disabled:r})}case $.DATE:return(0,V.jsx)(a$,{...o,...i});case $.TIME:return(0,V.jsx)(s$,{...o});case $.DATETIME:return(0,V.jsx)(CK,{...o,...i});
4139case $.LOCAL_DATETIME:return(0,V.jsx)(AMe,{...o,...i});case $.CHECKBOX:return(0,V.jsx)($we,{...a,disabled:r});case $.NUMBER:return(0,V.jsx)(tz,{type:`number`,...o,...i});case $.TEXT:return(0,V.jsx)(tz,{...o});case $.EMAIL:return(0,V.jsx)(YJe,{...o});case $.LONG_TEXT:return(0,V.jsx)(FQ,{...o});case $.URL:return(0,V.jsx)(tz,{...o});case $.PHONE:return(0,V.jsx)(tz,{...o});case $.CRYPT:return(0,V.jsx)(tz,{...o});default:return null}},G5=(e,t)=>e?e.guestAttributeReference?t[e.guestAttributeReference.dataField.id]:e.value:``,K5=({name:e,dataField:t,validationRules:n})=>{let{values:r}=qF(),{isPreview:i,registrationForm:a}=O5(),o=(0,I.useMemo)(()=>!i&&n.some(e=>e.type===L8.IS_REQUIRED),[i,n]),s=(0,I.useMemo)(()=>{if(a.guest.id===`new`)return!1;if(n.some(e=>e.type===L8.READ_ONLY))return!0;let e=n.find(e=>e.type===L8.NOT_UPDATABLE);if(e){let t=a.guest.guestAttributeValues.find(t=>t.id===e.guestAttribute.id)?.value;return Array.isArray(t)?t.length>0:t!==null&&t!==``&&t!==void 0}return!1},[n,a]),c=(0,I.useMemo)(()=>{let e=G5(n.find(e=>e.type===L8.MIN),r),i=G5(n.find(e=>e.type===L8.MAX),r);return t.type===$.NUMBER?{min:e,max:i}:$.DATE===t.type?{min:e?SB(BV(e),`yyyy-MM-dd`):void 0,max:i?SB(BV(i),`yyyy-MM-dd`):void 0}:[$.DATETIME,$.LOCAL_DATETIME].includes(t.type)?{min:e?SB(BV(e),`yyyy-MM-dd'T'HH:mm`):void 0,max:i?SB(BV(i),`yyyy-MM-dd'T'HH:mm`):void 0}:{}},[n,r,t.type]);return(0,V.jsx)(XJe,{name:e,minMaxProps:c,dataField:t,required:o,readOnly:s})},q5=(e,t)=>{let{saveCompanion:n}=O5(),r=(0,I.useMemo)(()=>n5(e),[e]),i=(0,I.useMemo)(()=>r.map(e=>e.dataField),[r]),a=(0,I.useMemo)(()=>{let e=t?.companion.dataFieldValues.map(e=>({id:r.find(t=>t.dataField.id==e.id)?.id??e.id,value:e.value}));return r5(r,e,!0)},[t?.companion.dataFieldValues,r]),o=(0,I.useMemo)(()=>e.validationRules.reduce((e,t)=>({...e,[t.guestAttribute.dataField.id]:[...e[t.guestAttribute.dataField.id]??[],t]}),{}),[e.validationRules]);return{submitCompanion:(0,I.useCallback)((e,r,a,o,s)=>{let c=i.map(V8(e,void 0,!0));n({index:t.index,companionType:t.companionType,companion:{guestId:t?.companion.guestId??null,dataFieldValues:c.filter(e=>e.value!==void 0),isEditable:t?.companion.isEditable??!1,typeId:r,sectionId:o.id}},a,o),s&&s()},[t,i,n]),initialValues:a,validationRuleMap:o}},ZJe=({stepId:e,currentCompanion:t,section:n,currentStepValues:r,...i})=>{let{t:a}=B(),{validationRuleMap:o}=q5(n,t),{values:s,setFieldValue:c}=qF(),l=k5((0,I.useMemo)(()=>{let e=Object.fromEntries(Object.entries(s).map(([e,t])=>[e.replace(`companion_`,``),t]));return{...r,...e}},[s,r]),e,n);return(0,I.useEffect)(()=>{for(let{dataField:e}of n5(n))l.includes(e.id)?s[`companion_${e.id}`]!=null&&c(`companion_${e.id}`,void 0):s[`companion_${e.id}`]===void 0&&c(`companion_${e.id}`,null)},[l,c,s,n]),(0,V.jsx)(f0,{...i,submitButtonTitle:t.index===-1?a(`Add {{companion}}`,{companion:n.companionSettings.companionType.singularLabel}):a(`Update {{companion}}`,{companion:n.companionSettings.companionType.singularLabel}),children:n.children.map(t=>{if(t.entityType===`block`)return(0,V.jsx)(B5,{block:t.block,sectionId:n.id},`${t.entityType}_${t.block.id}`);if(!l.includes(t.guestAttribute.dataField.id))return(0,V.jsx)(K5,{name:`companion_${t.guestAttribute.dataField.id}`,stepId:e,sectionId:n.id,dataField:t.guestAttribute.dataField,validationRules:o[t.guestAttribute.dataField.id]??[]},`${t.entityType}_${t.guestAttribute.dataField.id}`)})})},QJe=({open:e,onClose:t,onClosed:n,stepId:r,section:i,currentCompanion:a,currentStepValues:o,companionTypeId:s,setError:c})=>{let{companionFormValidation:l}=O5(),{submitCompanion:u,initialValues:d}=q5(i,a);return(0,V.jsx)(d0,{validate:e=>l(r,o,i,e),open:e,onSubmit:async e=>(u(e,s,c,i,t),!0),initialValues:d,onClose:t,onClosed:n,title:i.companionSettings.companionType.singularLabel,renderForm:()=>(0,V.jsx)(ZJe,{title:i.companionSettings.companionType.singularLabel,onClose:t,currentCompanion:a,stepId:r,section:i,currentStepValues:o})})},$Je=U.div` 4140 display: flex; 4141 justify-content: center; 4142 align-items: center; 4143 flex-wrap: wrap; 4144 padding-bottom: ${({theme:e})=>e.spacing(6)}; 4145 4146 ${({theme:e})=>e.breakpoints.tablet} { 4147 justify-content: space-between; 4148 } 4149`,eYe=U.div` 4150 display: grid; 4151 grid-auto-flow: column; 4152 grid-auto-columns: max-content; 4153 align-items: center; 4154 gap: ${({theme:e})=>e.spacing(2)}; 4155`,tYe=U.span` 4156 ${({theme:e})=>e.forms.label}; 4157 font-size: ${({theme:e})=>e.fonts.sizes.normal}; 4158`,nYe=U(iD)` 4159 pointer-events: auto; 4160`,J5=U.div` 4161 ${({theme:e})=>e.forms.error}; 4162`,rYe=U.div` 4163 display: grid; 4164 gap: ${({theme:e})=>e.spacing(4)}; 4165`,iYe=({stepId:e,section:t})=>{let{t:n}=B(),{values:r}=qF(),[i,a]=(0,I.useState)(`closed`),{companionsByType:o,removeCompanion:s,filledSteps:c,validateCompanions:l}=O5(),u=(0,I.useMemo)(()=>n5(t).map(U8),[t]),d=t.companionSettings,f=d.companionType,{submitCount:p}=qF(),m=(0,I.useCallback)(()=>
4165{let e={isEditable:!1,guestId:null,typeId:f.id,dataFieldValues:u.map(e=>({id:e.id,value:null})),sectionId:t.id};a({open:!0,companion:{index:-1,companionType:f,companion:e}})},[f,u,t.id]),h=o.find(e=>e.id===f.id)?.companions??[],g=h.length,_=d.maxCompanionCount,v=h.length>=_,y=v?n(`Maximum amount of ({{companions}}) already added`,{companions:f.pluralLabel}):n(`Add {{companion}}`,{companion:f.singularLabel}),[b,x]=(0,I.useState)(()=>R5(t,g,n)),S=(0,I.useMemo)(()=>l(e,r,t),[t,e,l,r]),C=Object.keys(S).length>0;return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)($Je,{children:[(0,V.jsxs)(`div`,{children:[(0,V.jsxs)(eYe,{children:[(0,V.jsx)(ZN,{children:f.pluralLabel}),(0,V.jsxs)(tYe,{children:[`(`,n(`{{ currentCount }} of {{ maxCount }}`,{currentCount:g,maxCount:_}),`)`]})]}),b&&p>0&&(0,V.jsx)(J5,{children:`${b[t.id]}`}),!b&&C&&p>0&&(0,V.jsx)(J5,{children:n(`Please complete the data of all {{companions}}`,{companions:f.pluralLabel})})]}),(0,V.jsx)(FE,{title:y,disabled:v,type:`button`,onClick:m,color:`primary`,prefix:(0,V.jsx)(nD,{$icon:`plus`,title:y}),children:n(`Add {{companion}}`,{companion:f.singularLabel})})]}),!h.length&&(0,V.jsx)(uG,{children:n(`No {{companions}}`,{companions:f.pluralLabel})}),(0,V.jsx)(rYe,{children:h.map((i,o)=>{let l=i.isEditable,d=n(l?`{{companion}} is already registered`:`Edit {{companion}}`,{companion:f.singularLabel});return(0,V.jsxs)(wG,{$color:t.backgroundColor===`background`?`background`:`content`,$variant:`outlined`,children:[(0,V.jsxs)(DG,{children:[(0,V.jsx)(OG,{children:`${o+1}. ${f.singularLabel}`}),(0,V.jsxs)(kG,{children:[(0,V.jsx)(nYe,{size:`small`,onClick:()=>a({open:!0,companion:{index:o,companionType:f,companion:i}}),type:`button`,disabled:l,title:d,icon:`edit`}),(0,V.jsx)(iD,{size:`small`,onClick:()=>s(o,f.id,x,t),type:`button`,color:`danger`,icon:`delete`,title:n(`Remove {{companion}}`,{companion:f.singularLabel})})]})]}),(0,V.jsx)(W5,{filledSteps:{...c,[e]:r},companion:i,dataFields:u,dataFieldErrors:p>0?S[o]:void 0})]},o)})}),i!==`closed`&&(0,V.jsx)(QJe,{open:i.open,stepId:e,section:t,currentCompanion:i.companion,onClose:()=>a({...i,open:!1}),onClosed:()=>a(`closed`),currentStepValues:r,companionTypeId:f.id,setError:x})]})},Y5=function(e){return e.INQUIRY=`INQUIRY`,e.BOOKING=`BOOKING`,e.CONFLICT=`CONFLICT`,e.CANCELLATION_REQUESTED=`CANCELLATION_REQUESTED`,e}({}),X5=function(e){return e.INQUIRY=`inquiry`,e.BOOKING=`booking`,e}({}),Z5=U.ul` 4166 display: grid; 4167 grid-template-columns: 1fr; 4168 justify-content: flex-start; 4169 gap: ${({theme:e})=>e.spacing(4)}; 4170 list-style: none; 4171 4172 ${({theme:e})=>e.breakpoints.mobile} { 4173 grid-template-columns: 1fr 1fr; 4174 } 4175 4176 ${({theme:e})=>e.breakpoints.tablet} { 4177 grid-template-columns: 1fr 1fr 1fr; 4178 } 4179 4180 ${({theme:e})=>e.breakpoints.desktop} { 4181 grid-template-columns: 1fr 1fr 1fr 1fr; 4182 } 4183`,Q5=U.div` 4184 display: flex; 4185 flex-direction: column; 4186 padding: ${e=>e.theme.spacing(4)}; 4187 gap: ${e=>e.theme.spacing(2)}; 4188`,$5=U.div` 4189 display: grid; 4190 grid-template-columns: max-content 1fr; 4191 gap: ${e=>e.theme.spacing(2)}; 4192`,e7=U(tD)` 4193 width: 24px; 4194 height: 24px; 4195`,t7=U(nD)` 4196 width: 24px; 4197 height: 24px; 4198`,aYe=U.section` 4199 display: flex; 4200 flex-direction: column; 4201 height: 100%; 4202 width: 100%; 4203 cursor: pointer; 4204 color: ${({theme:e})=>e.colors.palette.black}; 4205 background: ${({theme:e})=>e.colors.palette.white}; 4206 border: 1px solid ${({theme:e})=>e.colors.card.background.outline}; 4207 ${({theme:e})=>e.borderRadius.large}; 4208 overflow: hidden; 4209 4210 &[aria-pressed="true"] { 4211 color: ${({theme:e})=>e.colors.palette.primary.main.contrast}; 4212 background: ${({theme:e})=>e.colors.palette.primary.main.base}; 4213 border-color: transparent; 4214 } 4215 4216 &:focus-visible { 4217 outline: solid 2px ${({theme:e})=>e.colors.palette.primary.main.base}; 4218 } 4219 4220 a { 4221 color: inherit; 4222 text-decoration: none; 4223 4224 &:hover, 4225 &:focus-visible { 4226 text-decoration: underline; 4227 } 4228 } 4229`,oYe=U.div` 4230 position: relative; 4231 height: 100%; 4232`,sYe=U.div` 4233 position: absolute; 4234 top: 0; 4235 left: 0; 4236 width: 100%; 4237 height: 100%; 4238 background: rgba(255, 255, 255, 0.3); 4239 ${({theme:e})=>e.borderRadius.large}; 4240`,n7=({children:e,disabled:t=!1,...n})=>(0,V.jsxs)(oYe,{children:[(0,V.jsx)(aYe,{...n,children:e}),t&&(0,V.jsx)(sYe,{})]}),cYe=U(tD)` 4241 width: 100px; 4242 height: 100px; 4243 color: initial; 4244`,lYe=U.div` 4245 aspect-ratio: 16/9; 4246 display: flex; 4247 align-items: center; 4248 justify-content: center; 4249 background: ${({theme:e})=>e.colors.palette.grey[20]}; 4250`,uYe=U.img` 4251 width: 100%; 4252 height: 100%; 4253`,dYe=({image:e})=>(0,V.jsx)(lYe,{children:e?(0,V.jsx)(uYe,{src:e.url}):(0,V.jsx)(cYe,{src:`/icons/apartment.svg`})}),fYe=U.button` 4254 all: unset; 4255 4256 &:hover, 4257 &:focus-visible { 4258 text-decoration: underline; 4259 } 4260`,pYe=({blockId:e})=>{let{t}=B(),n=jw();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(fYe,{type:`button`,onClick:e=>{e.stopPropagation(),n.handleOpen()},children:t(`More information`)}),(0,V.jsxs)(HN,{open:n.open,onClose:n.handleClose,children:[(0,V.jsx)(fD,{onClose:n.handleClose,children:(0,V.jsx)(uD,{children:t(`More information`)})}),(0,V.jsx)(UN,{children:(0,V.jsx)(y5,{blockId:e})})]})]})},mYe=U.address` 4261 font-style: inherit; 4262`,hYe=U.a` 4263 font-weight: ${({theme:e})=>e.fonts.weights.normal}; 4264`,gYe=({hotel:e,isSelected:t,onSelect:n,disabled:r=!1})=>{let{t:i}=B();return(0,V.jsxs)(n7,{disabled:r,role:`button`,"aria-label":e.name,"aria-pressed":t,onClick:n,tabIndex:0,children:[(0,V.jsx)(dYe,{image:e.image}),(0,V.jsxs)(Q5,{children:[(0,V.jsx)(`strong`,{children:e.name}),(e.street||e.zip||e.city||e.country)&&(0,V.jsxs)($5,{children:[(0,V.jsx)(e7,{src:`/icons/pin_drop.svg`}),(0,V.jsxs)(mYe,{children:[e.street&&(0,V.jsx)(`div`,{children:e.street}),e.zip&&(0,V.jsx)(`div`,{children:e.zip}),e.city&&(0,V.jsx)(`div`,{children:e.city}),e.country&&(0,V.jsx)(`div`,{children:e.country})]})]}),e.infoPageId&&(0,V.jsxs)($5,{children:[(0,V.jsx)(t7,{$icon:`info`}),(0,V.jsx)(pYe,{blockId:e.infoPageId})]}),e.url&&(0,V.jsxs)($5,{children:[(0,V.jsx)(t7,{$icon:`external_link`}),(0,V.jsx)(hYe,{href:e.url,target:`_blank`,rel:`noreferrer`,children:i(`Open website`)})]})]})]})},_Ye=({room:e,isSelected:t,showRoomCapacityInFrontend:n,addedAdditionalPersons:r,onSelect:i,disabled:a=!1})=>{let{t:o}=B();return(0,V.jsx)(n7,{disabled:a,role:`button`,"aria-label":e.name,"aria-pressed":t,onClick:i,tabIndex:0,children:(0,V.jsxs)(Q5,{children:[(0,V.jsx)(`strong`,{children:e.name}),n&&e.capacity>0&&(0,V.jsxs)($5,{children:[(0,V.jsx)(t7,{$icon:`person`}),(0,V.jsx)(`div`,{children:o(`{{count}}
4264 Persons`,{count:e.capacity})})]}),e.price&&(0,V.jsxs)($5,{children:[(0,V.jsx)(e7,{src:`/icons/sell.svg`}),(0,V.jsx)(`div`,{children:(0,V.jsx)(vYe,{addedAdditionalPersons:r,roomPrice:e.price})})]})]})})},vYe=({roomPrice:e,addedAdditionalPersons:t})=>{let{t:n}=B(),r;return r=e.min===e.max?(0,V.jsx)(h$,{value:e.min}):(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(h$,{value:e.min}),` - `,(0,V.jsx)(h$,{value:e.max})]}),(0,V.jsxs)(l$,{currencyType:e.currency,children:[t?n(`from`)+` `:``,r,` `,(0,V.jsx)(`small`,{children:n(`per Night`)})]})},yYe=({onCancel:e,disabled:t})=>{let{t:n}=B(),{open:r,handleOpen:i,handleClose:a}=jw();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(FE,{type:`button`,onClick:i,color:`danger`,prefix:(0,V.jsx)(nD,{$icon:`delete`}),disabled:t,children:n(`Request cancellation`)}),(0,V.jsx)(cD,{heading:n(`Request cancellation`),labels:{confirm:n(`Confirm`),close:n(`Close`)},open:r,onClose:a,action:()=>{e(),a()},children:n(`Are you sure you want to request a cancellation of this hotel stay?`)})]})},bYe=({onRevoke:e,disabled:t})=>{let{t:n}=B();return(0,V.jsx)(FE,{type:`button`,onClick:e,disabled:t,children:n(`Revoke cancellation`)})},xYe=({onDelete:e,wayOfBooking:t,disabled:n})=>{let{t:r}=B();return(0,V.jsx)(FE,{type:`button`,onClick:e,color:`danger`,prefix:(0,V.jsx)(nD,{$icon:`delete`}),disabled:n,children:t===X5.BOOKING?r(`Delete booking`):r(`Delete inquiry`)})},SYe=({wayOfBooking:e,hotelStay:t,onChange:n,onDelete:r,disabled:i})=>{let a=t.status===Y5.BOOKING||t.status===Y5.CANCELLATION_REQUESTED||t.status===Y5.CONFLICT;return t.cancellationRequested?(0,V.jsx)(bYe,{onRevoke:()=>n({...t,cancellationRequested:!1}),disabled:i}):a?(0,V.jsx)(yYe,{onCancel:()=>n({...t,cancellationRequested:!0}),disabled:i}):(0,V.jsx)(xYe,{wayOfBooking:e,onDelete:r,disabled:i})},CYe=({status:e,isCancellationRequested:t})=>{let{t:n}=B(),r=(0,I.useMemo)(()=>t?n(`Status: Cancellation requested`):e===Y5.INQUIRY?n(`Status: Inquiry`):n(`Status: Processed`),[t,e,n]),i=(0,I.useMemo)(()=>t||e===Y5.INQUIRY?`warning`:`success`,[t,e]);return(0,V.jsx)(p$,{color:i,children:r})},r7=U.ul` 4265 display: flex; 4266 flex-direction: column; 4267 gap: ${({theme:e})=>e.spacing(6)}; 4268 list-style: none; 4269`,i7=U.h2` 4270 display: flex; 4271 color: ${({theme:e})=>e.colors.palette.grey[90]}; 4272 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 4273 font-size: ${({theme:e})=>e.fonts.sizes.large}; 4274 gap: ${({theme:e})=>e.spacing(4)}; 4275`,wYe=U.div` 4276 display: flex; 4277 align-items: center; 4278 gap: ${({theme:e})=>e.spacing(1)}; 4279`,TYe=U(uQ)` 4280 margin-bottom: ${({theme:e})=>e.spacing(2)}; 4281`,a7=({title:e,children:t})=>{let n=(0,I.useId)();return(0,V.jsxs)(`section`,{"aria-labelledby":n,children:[(0,V.jsx)(TYe,{id:n,children:e}),t]})},EYe=U(wG)` 4282 display: flex; 4283 flex-direction: column; 4284 background: ${({theme:e})=>e.colors.palette.grey[10]}; 4285 padding: ${({theme:e})=>e.spacing(4)}; 4286 gap: ${({theme:e})=>e.spacing(4)}; 4287 4288 ${({theme:e,$hasError:t})=>t&&H` 4289 border-color: ${e.colors.palette.danger.main.base}; 4290 `} 4291`,DYe=U.div` 4292 display: grid; 4293 grid-template-columns: 1fr; 4294 gap: ${({theme:e})=>e.spacing(4)}; 4295 4296 ${({theme:e})=>e.breakpoints.mobile} { 4297 grid-template-columns: 1fr 1fr; 4298 } 4299`,OYe=U.div` 4300 display: flex; 4301 gap: ${({theme:e})=>e.spacing(2)}; 4302 justify-content: flex-end; 4303`,kYe=U.div` 4304 display: flex; 4305 gap: ${({theme:e})=>e.spacing(2)}; 4306 align-items: center; 4307`,AYe=U(nD)` 4308 height: 1.2rem; 4309 width: 1.2rem; 4310`,jYe=U.ul` 4311 list-style: none; 4312 grid-area: errors; 4313 background: ${({theme:e})=>e.colors.palette.danger.main.base}; 4314 color: ${({theme:e})=>e.colors.palette.danger.main.contrast}; 4315 padding: ${({theme:e})=>e.spacing(2)}; 4316`,MYe=U.li` 4317 display: flex; 4318 flex-direction: column; 4319 gap: ${({theme:e})=>e.spacing(2)}; 4320`,NYe=U(pK)` 4321 ${({$zeroMargin:e})=>e&&H` 4322 margin: 0; 4323 `}; 4324`,PYe=({name:e,otherStays:t,sectionId:n,guestId:r,heading:i,stayConfiguration:a,onChange:o,onDelete:s,isDeletable:c,multipleStaysAllowed:l})=>{let{t:u}=B(),d=(0,I.useId)(),f=(0,I.useId)(),{setFieldTouched:p}=qF(),{getHotelStayValidation:m}=O5(),[h,g]=(0,I.useState)(!1),[_,v]=(0,I.useState)(null),[y,b]=(0,I.useState)(!1),[{value:x},{error:S,touched:C}]=cI({name:e,validate:m(a,t)}),[w,T]=(0,I.useState)(x.status===Y5.INQUIRY),E=(0,I.useCallback)(async(e,t)=>{if(!a.isPreferredHotelSelectable)return[];g(!0);let i={checkIn:e,checkOut:t,guestId:r},o=await E5.getHotels(n,i);return mb(o)?(v(o.data.data),g(!1),o.data.data):(g(!1),[])},[r,n,a.isPreferredHotelSelectable]),D=(0,I.useCallback)((e,t={})=>{e.length===1&&(e[0].rooms.length===1?o({...x,...t,requestedHotelId:e[0].id,requestedRoomTypeId:e[0].rooms[0].id}):o({...x,...t,requestedHotelId:e[0].id}))},[x,o]),O=(0,I.useCallback)(async(t,n)=>{let r=[];
4324t&&n&&(t!==x.checkIn||n!==x.checkOut)&&(r=await E(t,n)),r.length===1?D(r,{checkIn:t,checkOut:n}):o({...x,checkIn:t,checkOut:n}),x.checkIn&&x.checkOut&&(p(`${e}.checkIn`),p(`${e}.checkOut`))},[D,x,E,e,o,p]);(0,I.useEffect)(()=>{x.checkIn&&x.checkOut&&E(x.checkIn,x.checkOut).then(D)},[]);let k=(0,I.useMemo)(()=>_?.find(e=>e.id===x.requestedHotelId),[x.requestedHotelId,_]);return(0,V.jsxs)(MYe,{"aria-labelledby":d,"aria-invalid":!!S&&C,"aria-errormessage":S&&C?f:void 0,children:[(0,V.jsxs)(kYe,{children:[(0,V.jsx)(i7,{id:d,children:i}),(0,V.jsx)(CYe,{status:x.status,isCancellationRequested:x.cancellationRequested})]}),x.status!==Y5.INQUIRY&&(0,V.jsxs)(wYe,{children:[(0,V.jsx)(AYe,{$icon:`info`}),u(`This inquiry has already been processed. You may only request changes or cancellation of this stay.`)]}),(0,V.jsxs)(EYe,{$hasError:!!S&&C,$variant:`outlined`,children:[(0,V.jsxs)(DYe,{children:[(0,V.jsx)(i$,{label:`${u(`Check-in`)}*`,name:`${e}.checkIn`,min:x.mainStay?x.mainStay.checkIn:a.earliestCombinedCheckIn,max:x.mainStay?x.mainStay.checkOut:a.latestCombinedCheckOut,value:x.checkIn,disabled:!w,onChange:async e=>{await O(e.target.value||``,x.checkOut)}}),(0,V.jsx)(i$,{label:`${u(`Check-out`)}*`,name:`${e}.checkOut`,min:x.mainStay?x.mainStay.checkIn:a.earliestCombinedCheckIn,max:x.mainStay?x.mainStay.checkOut:a.latestCombinedCheckOut,value:x.checkOut,disabled:!w,onChange:async e=>{await O(x.checkIn,e.target.value||``)}})]}),h&&(0,V.jsx)(lD,{}),a.isPreferredHotelSelectable&&_&&(0,V.jsxs)(a7,{title:u(`Select hotel`),children:[_.length===0&&(0,V.jsx)(uG,{children:u(`No hotels found for the given check-in and check-out date.`)}),(0,V.jsx)(Z5,{children:_.map(e=>(0,V.jsx)(`li`,{children:(0,V.jsx)(gYe,{hotel:e,isSelected:e===k,disabled:!w,onSelect:()=>{b(!1),o({...x,requestedHotelId:e.id,requestedRoomTypeId:null})}})},e.id))})]}),a.enableQuotaWarning&&y&&(0,V.jsx)(MG,{warning:u(`The quota has already been reached for at least one of the nights. A request is still possible, but availability cannot be guaranteed.`)}),a.isPreferredRoomTypeSelectable&&k&&(0,V.jsx)(a7,{title:u(`Select room`),children:(0,V.jsx)(Z5,{children:k.rooms.map(e=>(0,V.jsx)(`li`,{children:(0,V.jsx)(_Ye,{room:e,isSelected:e.id===x.requestedRoomTypeId,disabled:!w,showRoomCapacityInFrontend:a.showRoomCapacityInFrontend,addedAdditionalPersons:x?.additionalPersonsEnabled??!1,onSelect:()=>{b(!e.canBeRequested),o({...x,requestedHotelId:k.id,requestedRoomTypeId:e.id})}})},e.id))})}),a.allowAdditionalPersons&&(0,V.jsx)(NYe,{$zeroMargin:x.additionalPersonsEnabled,label:u(`I want to add another person to my stay`),name:`${e}.additionalPersonsEnabled`,onChange:e=>{e.target.value||o({...x,additionalPersonsText:null,additionalPersonsEnabled:e.target.value})}}),x.additionalPersonsEnabled&&(0,V.jsx)(tz,{label:u(`Additional person`),name:`${e}.additionalPersonsText`,description:u(`Please make sure that the person named is aware of your information.`)}),(0,V.jsx)(tz,{disabled:!w,label:u(`Remarks for stay`),name:`${e}.remarkByGuest`,description:u(`This information is voluntary and is used to provide information for the hotel. Please do not enter any health related information.`),placeholder:u(`e.g. late arrival at XX o'clock / parking slot required etc.`)}),(0,V.jsxs)(OYe,{children:[x.status!==Y5.INQUIRY&&!x.cancellationRequested&&!w&&(0,V.jsx)(FE,{prefix:(0,V.jsx)(nD,{$icon:`edit`}),type:`button`,onClick:()=>T(!0),children:u(`Request changes`)}),l&&(0,V.jsx)(SYe,{wayOfBooking:a.wayOfBooking,hotelStay:x,onDelete:s,onChange:e=>{o(e),T(!1)},disabled:!c})]})]}),S&&C&&(0,V.jsx)(jYe,{id:f,children:(0,V.jsx)(`li`,{children:S})})]})},FYe=U.div` 4325 ${({theme:e})=>e.forms.error}; 4326`,IYe=U(ZN)` 4327 display: inline; 4328`,LYe=({maxStays:e,stayCount:t,error:n,children:r})=>{let{t:i}=B(),a=(0,I.useId)(),o=(0,I.useId)();return(0,V.jsxs)(`section`,{"aria-labelledby":a,"aria-invalid":!!n,"aria-errormessage":n?o:void 0,children:[(0,V.jsx)(IYe,{id:a,children:i(`Hotel stays`)}),` `,e>0&&(0,V.jsxs)(V.Fragment,{children:[`(`,i(`{{count}} of {{max}}`,{count:t,max:e}),`)`]}
4328),n&&(0,V.jsx)(FYe,{id:o,children:n}),r]})},o7=U.div` 4329 display: flex; 4330 flex-direction: column; 4331 gap: ${({theme:e})=>e.spacing(6)}; 4332 padding: ${({theme:e})=>e.spacing(6)} 0; 4333`,RYe=U.div` 4334 display: flex; 4335 align-items: center; 4336 justify-content: space-between; 4337 flex-wrap: wrap; 4338`,s7={id:null,status:Y5.INQUIRY,checkIn:``,checkOut:``,requestedHotelId:null,requestedRoomTypeId:null,remarkByGuest:null,cancellationRequested:!1,additionalPersonsText:null,additionalPersonsEnabled:!1,mainStay:null},zYe=(e,t,n)=>e.maxStayPeriods===1?e.wayOfBooking===X5.BOOKING?n(`Booking`):n(`Inquiry`):e.wayOfBooking===X5.BOOKING?n(`{{number}}. Booking`,{number:t+1}):n(`{{number}}. Inquiry`,{number:t+1}),c7=e=>e.prefillCheckInCheckOutInFrontend?{...s7,checkIn:e.earliestCheckIn,checkOut:e.latestCheckOut}:s7,BYe=({registrationFormId:e,guestId:t,sectionId:n})=>{let r={guestId:t},{data:i,isLoading:a}=kw({queryKey:E5.stayConfigurationKey(n,r),queryFn:()=>E5.getStayConfiguration(n,r)});return a?(0,V.jsx)(o7,{children:(0,V.jsx)(lD,{})}):i?(0,V.jsx)(VYe,{registrationFormId:e,guestId:t,sectionId:n,stayConfiguration:i}):null},VYe=({registrationFormId:e,guestId:t,sectionId:n,stayConfiguration:r})=>{let{t:i}=B(),{submitCount:a,setFieldTouched:o}=qF(),{getStayConfigurationValidation:s}=O5(),[c,l,{setValue:u}]=cI({name:`hotelSections.${r.hotelStayTypeId}`,validate:s(r)}),d=(0,I.useMemo)(()=>c.value?.hotelStays||[],[c.value?.hotelStays]),f=r.maxStayPeriods||1/0,p=r.minStayPeriods!==1||r.maxStayPeriods!==1;return(0,I.useEffect)(()=>{if(r.minStayPeriods>d.length){let e=Array.from({length:r.minStayPeriods-d.length}).map(()=>c7(r));u({hotelStays:[...d,...e]})}},[d,u,r]),(0,V.jsx)(hI,{name:`hotelSections.${r.hotelStayTypeId}.hotelStays`,children:s=>(0,V.jsxs)(o7,{children:[(0,V.jsxs)(RYe,{children:[(0,V.jsx)(LYe,{stayCount:d.length,maxStays:r.maxStayPeriods,error:(l.touched||a>0)&&l.error?.count}),p&&(0,V.jsx)(FE,{type:`button`,color:`primary`,onClick:()=>s.push(c7(r)),prefix:(0,V.jsx)(nD,{$icon:`plus`}),disabled:d.length>=f,title:d.length>=f?i(`You can only assign a maximum of {{count}} hotel stays.`,{count:f}):void 0,children:r.wayOfBooking===X5.BOOKING?i(`Add booking`):i(`Add inquiry`)})]}),d.length===0&&(0,V.jsx)(uG,{children:i(`No hotel stay added yet.`)}),(0,V.jsx)(r7,{children:d.map((a,c)=>(0,V.jsx)(PYe,{name:`hotelSections.${r.hotelStayTypeId}.hotelStays.${c}`,otherStays:d.filter((e,t)=>t!==c),heading:zYe(r,c,i),registrationFormId:e,guestId:t,sectionId:n,stayConfiguration:r,onDelete:()=>{s.remove(c),o(`hotelSections.${r.hotelStayTypeId}`)},onChange:e=>{s.replace(c,e),o(`hotelSections.${r.hotelStayTypeId}`)},isDeletable:d.length>r.minStayPeriods,multipleStaysAllowed:p},c))})]})})},l7=({section:e,stepId:t,validationRules:n})=>{let{values:r}=qF(),i=k5(r,t,e),a=(0,I.useMemo)(()=>n.reduce((e,t)=>({...e,[t.guestAttribute.dataField.id]:[...e[t.guestAttribute.dataField.id]??[],t]}),{}),[n]);return(0,V.jsx)(V.Fragment,{children:e.children.map(n=>{if(n.entityType===`block`)return(0,V.jsx)(B5,{block:n.block,sectionId:e.id},`${n.entityType}_${n.block.id}`);if(!i.includes(n.guestAttribute.dataField.id))return(0,V.jsx)(K5,{name:`${n.guestAttribute.dataField.id}`,sectionId:e.id,dataField:n.guestAttribute.dataField,validationRules:a[n.guestAttribute.dataField.id]??[],stepId:t},`${n.entityType}_${n.guestAttribute.dataField.id}`)})})},HYe=U(ZN)` 4339 display: inline; 4340`,UYe=U.div` 4341 ${({theme:e})=>e.forms.error}; 4342`,WYe=({error:e,maxTravels:t,travelsCount:n})=>{let{t:r}=B(),i=(0,I.useId)();return(0,V.jsxs)(`div`,{"aria-invalid":!!e,"aria-errormessage":e?i:void 0,children:[(0,V.jsx)(HYe,{children:r(`Travel planning`)}),` `,t!==null&&(0,V.jsxs)(V.Fragment,{children:[`(`,r(`{{count}} of {{max}}`,{count:n,max:t}),`)`]}),e&&(0,V.jsx)(UYe,{id:i,children:e})]})},u7=({onSubmit:e,selfTravel:t,isRemarksFieldRequired:n,direction:r})=>{let{t:i}=B(),a=t||{time:``,date:``,remarks:``},o=(0,I.useCallback)(e=>{let t={};return e.time||(t.time=i(`Field is required`)),e.date||(t.date=i(`Field is required`)),!e.remarks&&n&&(t.remarks=i(`Field is required`)),t},[n,i]);return(0,V.jsx)(aI,{initialValues:a,onSubmit:e,validate:o,children:(0,V.jsxs)(u0,{children:[(0,V.jsxs)(UN,{children:[(0,V.jsx)(a$,{name:`date`,label:i(r===`arrival`?`Arrival date`:`Departure date`),required:!0}),(0,V.jsx)(s$,{name:`time`,label:i(r===`arrival`?`Arrival time`:`Departure time`),required:!0}),(0,V.jsx)(FQ,{name:`remarks`,label:i(`Remarks`),required:n})]}),(0,V.jsxs)(GN,{children:[(0,V.jsx)(WN,{}),(0,V.jsx)(vI,{children:i(`Save`)})]})]})})},GYe=({open:e,handleClose:t,selfTravel:n,onSubmit:r,isRemarksFieldRequired:i,direction:a})=>{let{t:o}=B(),s=(0,I.useCallback)(e=>{r(e),t()},[t,r]);
4342return n?(0,V.jsxs)(HN,{open:e,onClose:t,children:[(0,V.jsx)(fD,{onClose:t,children:(0,V.jsx)(uD,{children:o(`Edit self travel`)})}),(0,V.jsx)(u7,{onSubmit:s,selfTravel:n,isRemarksFieldRequired:i,direction:a})]}):null},KYe=e=>e.name?`${e.name} | ${e.city} | ${e.countryName} | ${e.iataCode}`:``,qYe=e=>z.get(`airports`,e),d7=({name:e,label:t,disabled:n,clearable:r=!0,required:i=!1})=>(0,V.jsx)(n$,{name:e,label:t,disabled:n,fetchConfig:lK([`airports`],(e,t)=>qYe({params:{search:e,page:t}}).then(e=>e.data)),clearable:r,required:i,getLabel:KYe}),f7=U.button` 4343 display: inline-flex; 4344 flex-direction: column; 4345 align-items: center; 4346 justify-content: center; 4347 cursor: pointer; 4348 border-radius: 5px; 4349 color: ${({theme:e})=>e.colors.palette.grey[80]}; 4350 background: ${({theme:e})=>e.colors.palette.content.dark.base}; 4351 padding: ${({theme:e})=>e.spacing(5)}; 4352 4353 &[aria-pressed="true"] { 4354 color: ${({theme:e})=>e.colors.palette.black}; 4355 background: ${({theme:e})=>e.colors.palette.grey[20]}; 4356 } 4357`,JYe=U.div` 4358 display: grid; 4359 grid-auto-flow: column; 4360 grid-auto-columns: 1fr; 4361 gap: ${({theme:e})=>e.spacing(2)}; 4362`,p7=U(tD)` 4363 height: 40px; 4364 width: 40px; 4365 align-self: center; 4366 justify-self: center; 4367`,m7=U.button` 4368 display: inline-flex; 4369 align-items: center; 4370 justify-content: center; 4371 cursor: pointer; 4372 border-radius: 2px; 4373 color: ${({theme:e})=>e.colors.palette.black}; 4374 background: ${({theme:e})=>e.colors.palette.grey[20]}; 4375 padding: ${({theme:e})=>e.spacing(2)} ${({theme:e})=>e.spacing(4)}; 4376 gap: ${({theme:e})=>e.spacing(1)}; 4377 4378 &[aria-pressed="true"] { 4379 color: ${({theme:e})=>e.colors.palette.primary.main.contrast}; 4380 background: ${({theme:e})=>e.colors.palette.primary.main.base}; 4381 } 4382`,YYe=U(JYe)` 4383 padding-bottom: ${({theme:e})=>e.spacing(4)}; 4384`,h7=({onSubmit:e,inquiry:t})=>{let{t:n}=B(),r=t||{type:`flight`,arrivalLocation:null,departureLocation:null,earliestDepartureDate:``,earliestDepartureTime:``,latestArrivalDate:``,latestArrivalTime:``,remarks:``},i=(0,I.useCallback)(e=>{let t={};return e.latestArrivalDate||(t.latestArrivalDate=n(`Field is required`)),e.latestArrivalTime||(t.latestArrivalTime=n(`Field is required`)),e.earliestDepartureDate||(t.earliestDepartureDate=n(`Field is required`)),e.earliestDepartureTime||(t.earliestDepartureTime=n(`Field is required`)),e.latestArrivalDate&&e.earliestDepartureDate&&e.latestArrivalTime&&e.earliestDepartureTime&&(DB(e.latestArrivalDate,e.earliestDepartureDate)?t.earliestDepartureDate=n(`The earliest departure must be before the latest arrival.`):Tz(e.earliestDepartureDate,e.latestArrivalDate)&&e.latestArrivalTime<e.earliestDepartureTime&&(t.earliestDepartureTime=n(`The earliest departure must be before the latest arrival.`))),e.arrivalLocation||(t.arrivalLocation=n(`Field is required`)),e.departureLocation||(t.departureLocation=n(`Field is required`)),t},[n]);return(0,V.jsx)(aI,{initialValues:r,onSubmit:e,validate:i,children:({values:e,setFieldValue:t})=>(0,V.jsxs)(u0,{children:[(0,V.jsxs)(UN,{children:[(0,V.jsxs)(YYe,{children:[(0,V.jsxs)(m7,{type:`button`,"aria-label":n(`Create flight inquiry`),onClick:()=>{t(`type`,`flight`),t(`arrivalLocation`,null),t(`departureLocation`,null)},"aria-pressed":e.type===`flight`,children:[(0,V.jsx)(p7,{src:`/icons/travel.svg`}),n(`flight`)]}),(0,V.jsxs)(m7,{type:`button`,"aria-label":n(`Create train inquiry`),onClick:()=>
4384{t(`type`,`train`),t(`arrivalLocation`,``),t(`departureLocation`,``)},"aria-pressed":e.type===`train`,children:[(0,V.jsx)(p7,{src:`/icons/train.svg`}),n(`train`)]})]}),(0,V.jsx)(a$,{name:`earliestDepartureDate`,label:n(`Earliest departure date`),required:!0}),(0,V.jsx)(s$,{name:`earliestDepartureTime`,label:n(`Earliest departure time`),required:!0}),(0,V.jsx)(a$,{name:`latestArrivalDate`,label:n(`Latest arrival date`),required:!0}),(0,V.jsx)(s$,{name:`latestArrivalTime`,label:n(`Latest arrival time`),required:!0}),e.type===`flight`?(0,V.jsx)(d7,{name:`departureLocation`,label:n(`Departure location`),required:!0}):(0,V.jsx)(tz,{name:`departureLocation`,label:n(`Departure location`),required:!0}),e.type===`flight`?(0,V.jsx)(d7,{name:`arrivalLocation`,label:n(`Arrival location`),required:!0}):(0,V.jsx)(tz,{name:`arrivalLocation`,label:n(`Arrival location`),required:!0}),(0,V.jsx)(tz,{name:`remarks`,label:n(`Remarks`)})]}),(0,V.jsxs)(GN,{children:[(0,V.jsx)(WN,{}),(0,V.jsx)(vI,{children:n(`Save`)})]})]})})},g7=({open:e,handleClose:t,travelInquiry:n,onSubmit:r})=>{let{t:i}=B(),a=(0,I.useCallback)(e=>{r(e),t()},[t,r]);return n?(0,V.jsxs)(HN,{open:e,onClose:t,children:[(0,V.jsx)(fD,{onClose:t,children:(0,V.jsx)(uD,{children:i(`Edit inquiry`)})}),(0,V.jsx)(h7,{onSubmit:a,inquiry:n})]}):null},XYe=e=>{switch(e.type){case`car`:case`shuttle`:return[e.identifier];case`train`:case`flight`:return[e.identifier,...e.additionalIdentifiers]}},_7=e=>
4384XYe(e).filter(Boolean).join(`/`)||`-`,v7=({arrivalDate:e,departureDate:t})=>{let n=yH();return Tz(t,e)?(0,V.jsx)(`span`,{children:n(t,{day:`2-digit`,month:`2-digit`})}):(0,V.jsxs)(`span`,{children:[n(t,{day:`2-digit`,month:`2-digit`}),` -`,` `,n(e,{day:`2-digit`,month:`2-digit`})]})},y7=U.span` 4385 font-size: ${({theme:e})=>e.fonts.sizes.normal}; 4386 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 4387 align-self: flex-start; 4388 4389 ${({theme:e})=>e.breakpoints.tablet} { 4390 font-size: ${({theme:e})=>e.fonts.sizes.large}; 4391 } 4392`,b7=U(wG).attrs({$variant:`outlined`})` 4393 padding: ${({theme:e})=>e.spacing(2)}; 4394 4395 ${({$isActive:e})=>e&&H` 4396 background: ${({theme:e})=>e.colors.palette.grey[20]}; 4397 `} 4398 ${({$hasNoContingent:e})=>e&&H` 4399 opacity: 0.6; 4400 `} 4401 ${({theme:e})=>e.breakpoints.tablet} { 4402 padding: ${({theme:e})=>e.spacing(5)}; 4403 } 4404`,x7=U.div` 4405 display: grid; 4406 grid-auto-rows: max-content; 4407 align-items: center; 4408 justify-content: start; 4409`,S7=U(tD)` 4410 height: 30px; 4411 width: 30px; 4412 align-self: center; 4413 justify-self: center; 4414 4415 ${({theme:e})=>e.breakpoints.tablet} { 4416 height: 40px; 4417 width: 40px; 4418 } 4419`,ZYe=U.div` 4420 position: absolute; 4421 top: ${({theme:e})=>e.spacing(2)}; 4422 right: ${({theme:e})=>e.spacing(2)}; 4423 display: flex; 4424 gap: ${({theme:e})=>e.spacing(2)}; 4425`,C7=U(b7)` 4426 display: grid; 4427 position: relative; 4428 grid-template-columns: 1fr 3fr 3fr; 4429 min-height: 132px; 4430 gap: ${({theme:e})=>e.spacing(2)}; 4431 4432 ${({theme:e})=>e.breakpoints.tablet} { 4433 gap: ${({theme:e})=>e.spacing(5)}; 4434 } 4435`,QYe=({travelSegment:e,isActive:t,direction:n})=>{let r=!!(e.contingent&&e.travelCount&&e.contingent<=e.travelCount);switch(e.type){case`flight`:return(0,V.jsx)($Ye,{travelSegment:e,isActive:t,noContingentAvailable:r});case`train`:return(0,V.jsx)(eXe,{travelSegment:e,isActive:t,noContingentAvailable:r});case`car`:return(0,V.jsx)(tXe,{travelSegment:e,isActive:t,noContingentAvailable:r,direction:n});case`shuttle`:return(0,V.jsx)(nXe,{travelSegment:e,isActive:t,noContingentAvailable:r,direction:n})}},w7=()=>{let{t:e}=B();return(0,V.jsx)(ZYe,{children:(0,V.jsx)(p$,{label:e(`No contingent available`),size:`small`,color:`warning`,children:e(`No contingent available`)})})},$Ye=({travelSegment:e,isActive:t,noContingentAvailable:n})=>(0,V.jsxs)(C7,{$isActive:t,$hasNoContingent:n,children:[n&&(0,V.jsx)(w7,{}),(0,V.jsx)(S7,{src:`/icons/travel.svg`}),(0,V.jsxs)(x7,{children:[(0,V.jsxs)(`strong`,{children:[e.departureTime,` - `,e.arrivalTime]}),(0,V.jsxs)(y7,{title:e.departureLocation?.name,children:[e.departureLocation?.name,` (`,e.departureLocation?.iataCode,`)`]}),(0,V.jsx)(`span`,{children:_7(e)})]}),(0,V.jsxs)(x7,{children:[(0,V.jsx)(v7,{arrivalDate:e.arrivalDate??``,departureDate:e.departureDate??``}),(0,V.jsxs)(y7,{title:e.arrivalLocation?.name,children:[e.arrivalLocation?.name,` (`,e.arrivalLocation?.iataCode,`)`]}),(0,V.jsx)(`span`,{children:e.serviceClass})]})]}),eXe=({travelSegment:e,isActive:t,noContingentAvailable:n})=>(0,V.jsxs)(C7,{$isActive:t,$hasNoContingent:n,children:[n&&(0,V.jsx)(w7,{}),(0,V.jsx)(S7,{src:`/icons/train.svg`}),(0,V.jsxs)(x7,{children:[(0,V.jsxs)(`strong`,{children:[e.departureTime,` - `,e.arrivalTime]}),(0,V.jsx)(y7,{title:e.departureLocation,children:e.departureLocation}),(0,V.jsx)(`span`,{children:_7(e)})]}),(0,V.jsxs)(x7,{children:[(0,V.jsx)(v7,{arrivalDate:e.arrivalDate,departureDate:e.departureDate}),(0,V.jsx)(y7,{title:e.arrivalLocation,children:e.arrivalLocation}),(0,V.jsx)(`span`,{children:e.serviceClass})]})]}),tXe=({travelSegment:e,isActive:t,noContingentAvailable:n,direction:r})=>(0,V.jsxs)(C7,{$isActive:t,$hasNoContingent:n,children:[n&&(0,V.jsx)(w7,{}),(0,V.jsx)(S7,{src:`/icons/car.svg`}),(0,V.jsxs)(x7,{children:[(0,V.jsx)(`strong`,{children:r===`arrival`?e.arrivalTime:e.departureTime}),(0,V.jsx)(y7,{title:e.departureLocation,children:e.departureLocation||`-`}),(0,V.jsx)(`span`,{children:_7(e)})]}),(0,V.jsxs)(x7,{children:[(0,V.jsx)(bH,{date:r===`arrival`?e.arrivalDate:e.departureDate,format:{day:`2-digit`,month:`2-digit`}}),(0,V.jsx)(y7,{title:e.arrivalLocation,children:e.arrivalLocation||`-`}),(0,V.jsx)(`span`,{})]})]}),nXe=({travelSegment:e,isActive:t,noContingentAvailable:n})=>(0,V.jsxs)(C7,{$isActive:t,$hasNoContingent:n,children:[n&&(0,V.jsx)(w7,{}),(0,V.jsx)(S7,{src:`/icons/shuttle.svg`}),(0,V.jsxs)(x7,{children:[(0,V.jsxs)(`strong`,{children:[e.departureTime,` - `,e.arrivalTime]}),(0,V.jsx)(y7,{title:e.departureLocation,children:e.departureLocation}),(0,V.jsx)(`span`,{children:_7(e)})]}),(0,V.jsxs)(x7,{children:[(0,V.jsx)(v7,{arrivalDate:e.arrivalDate,departureDate:e.departureDate}),(0,V.jsx)(y7,{title:e.arrivalLocation,children:e.arrivalLocation}),(0,V.jsx)(`span`,{})]})]}),rXe=U(b7)` 4436 display: grid; 4437 position: relative; 4438 grid-template-columns: max-content 1fr; 4439 4440 padding: ${({theme:e})=>e.spacing(3)} ${({theme:e})=>e.spacing(5)}; 4441 gap: ${({theme:e})=>e.spacing(5)}; 4442 justify-content: center; 4443`,iXe=U.div` 4444 position: absolute; 4445 right: ${({theme:e})=>e.spacing(2)}; 4446 top: ${({theme:e})=>e.spacing(2)}; 4447`,T7=({departureDate:e,departureTime:t,arrivalDate:n,arrivalTime:r})=>{let i=SG();return(0,I.useMemo)(()=>{let a=[];if(e){let n=i(e,{day:`2-digit`,month:`2-digit`});a.push(`${n} ${t}`)}if(n){let e=i(n,{day:`2-digit`,month:`2-digit`});a.push(`${e} ${r}`)}return a.join(` - `)},[i,t,r,n,e])},E7=({onDelete:e,children:t})=>{let{t:n}=B();return(0,V.jsxs)(rXe,{$isActive:!0,children:[(0,V.jsx)(iXe,{children:(0,V.jsx)(dD,{title:n(`Remove travel segment from selection`),onClick:e,icon:`close`})}),t]})},aXe=({travelSegment:e,onDelete:t})=>{switch(e.type){case`car`:return(0,V.jsxs)(E7,{onDelete:t,children:[(0,V.jsx)(S7,{src:`/icons/car.svg`}),(0,V.jsxs)(x7,{children:[(0,V.jsx)(y7,{title:_7(e),children:_7(e)}),(0,V.jsx)(T7,{arrivalTime:e.arrivalTime,arrivalDate:e.arrivalDate,departureTime:e.departureTime,departureDate:e.departureDate})]})]});case`shuttle`:return(0,V.jsxs)(E7,{onDelete:t,children:[(0,V.jsx)(S7,{src:`/icons/shuttle.svg`}),(0,V.jsxs)(x7,{children:[(0,V.jsx)(y7,{title:_7(e),children:_7(e)}),(0,V.jsx)(T7,{arrivalTime:e.arrivalTime,arrivalDate:e.arrivalDate,departureTime:e.departureTime,departureDate:e.departureDate})]})]});case`train`:return(0,V.jsxs)(E7,{onDelete:t,children:[(0,V.jsx)(S7,{src:`/icons/train.svg`}),(0,V.jsxs)(x7,{children:[(0,V.jsxs)(y7,{title:`${e.departureLocation} - ${e.arrivalLocation}`,children:[e.departureLocation,` - `,e.arrivalLocation]}),(0,V.jsx)(T7,{arrivalTime:e.arrivalTime,arrivalDate:e.arrivalDate,departureTime:e.departureTime,departureDate:e.departureDate})]})]});case`flight`:return(0,V.jsxs)(E7,{onDelete:t,children:[(0,V.jsx)(S7,{src:`/icons/travel.svg`}),(0,V.jsxs)(x7,{children:[(0,V.jsxs)(y7,{title:`${e.departureLocation?.name} - ${e.arrivalLocation?.name}`,children:[e.departureLocation?.name,` - `,e.arrivalLocation?.name]}),(0,V.jsx)(T7,{arrivalTime:e.arrivalTime,arrivalDate:e.arrivalDate,departureTime:e.departureTime,departureDate:e.departureDate})]})]})}},D7=U.ul` 4448 display: flex; 4449 flex-direction: column; 4450 list-style: none; 4451 gap: ${({theme:e})=>e.spacing(2)}; 4452`,O7=U.li` 4453 ${({$isSelectable:e})=>e&&H` 4454 cursor: pointer; 4455 `} 4456`,k7=U.li` 4457 display: flex; 4458 flex-direction: column; 4459 align-items: center; 4460 gap: ${({theme:e})=>e.spacing(4)}; 4461`,oXe=U.div` 4462 display: grid; 4463 gap: ${({theme:e})=>e.spacing(2)}; 4464 grid-template-columns: 1fr 1fr; 4465 4466 ${({theme:e})=>e.breakpoints.tablet} { 4467 grid-auto-flow: column; 4468 grid-auto-columns: 1fr; 4469 } 4470`,A7=({availableTypes:e,activeType:t,onChange:n})=>{let{t:r}=B(),i=e=>{n(t===e?null:e)};return e.length<=1?null:(0,V.jsxs)(oXe,{children:[e.includes(`flight`)&&(0,V.jsxs)(m7,{type:`button`,"aria-label":r(`Show only flights`),onClick:()=>i(`flight`),"aria-pressed":t===`flight`,children:[(0,V.jsx)(p7,{src:`/icons/travel.svg`}),r(`flight`)]}),e.includes(`train`)&&(0,V.jsxs)(m7,{type:`button`,"aria-label":r(`Show only trains`),onClick:()=>i(`train`),"aria-pressed":t===`train`,children:[(0,V.jsx)(p7,{src:`/icons/train.svg`}),r(`train`)]}
4470),e.includes(`car`)&&(0,V.jsxs)(m7,{type:`button`,"aria-label":r(`Show only cars`),onClick:()=>i(`car`),"aria-pressed":t===`car`,children:[(0,V.jsx)(p7,{src:`/icons/car.svg`}),r(`car`)]}),e.includes(`shuttle`)&&(0,V.jsxs)(m7,{type:`button`,"aria-label":r(`Show only shuttles`),onClick:()=>i(`shuttle`),"aria-pressed":t===`shuttle`,children:[(0,V.jsx)(p7,{src:`/icons/shuttle.svg`}),r(`shuttle`)]})]})},sXe=U.div` 4471 display: flex; 4472 flex-direction: column; 4473 gap: ${({theme:e})=>e.spacing(4)}; 4474 4475 > * { 4476 padding-bottom: 0; 4477 } 4478`,cXe=U(D7)` 4479 max-height: 33vh; 4480 overflow-y: auto; 4481`,lXe=({direction:e,availableTypes:t,onSelect:n,initialSelection:r,selection:i,registrationFormId:a,children:o})=>{let{t:s}=B(),{registrationForm:c}=O5(),[l,u]=(0,I.useState)(null),[d,f]=(0,I.useState)(``),p=e$(d,500),{data:m,isLoading:h}=kw({queryKey:T5.travelSegmentByDirectionKey(a,e,{search:p,type:l,guestId:c.guest.id===`new`?null:c.guest.id,withPublicScope:!0}),queryFn:async()=>(await T5.travelSegmentByDirection(a,e,{search:p,type:l,guestId:c.guest.id===`new`?null:c.guest.id,withPublicScope:!0})).data.data}),g=(0,I.useMemo)(()=>m&&m.filter(({id:e})=>!r.some(t=>t.id===e)),[m,r]);return(0,V.jsxs)(sXe,{children:[(0,V.jsx)(A7,{activeType:l,onChange:u,availableTypes:t}),(0,V.jsx)($R,{placeholder:s(`Search`),name:`search`,value:d,prefix:(0,V.jsx)(nD,{$icon:`search`}),onChange:e=>f(e.target.value)}),(0,V.jsx)(rK,{}),(0,V.jsxs)(D7,{"aria-label":s(`Travel segments`),children:[!g&&h&&(0,V.jsx)(O7,{children:(0,V.jsx)(lD,{})}),g&&g.length===0&&(0,V.jsx)(k7,{children:(0,V.jsx)(uG,{children:s(`No travel segments found.`)})}),g&&g.map(t=>(0,V.jsx)(O7,{"aria-label":`${s(t.type)} ${_7(t)}`,$isSelectable:!r.some(({id:e})=>e===t.id),onClick:()=>t.contingent&&t.travelCount&&t.contingent<=t.travelCount?void 0:n(t),children:(0,V.jsx)(QYe,{travelSegment:t,isActive:i.some(({id:e})=>e===t.id),direction:e})},t.id)),o]})]})},uXe=U(UN)` 4482 flex: 1; 4483`,dXe=U.div` 4484 display: flex; 4485 flex-direction: column; 4486 gap: ${({theme:e})=>e.spacing(2)}; 4487 box-shadow: ${({theme:e})=>e.shadows.l2}; 4488 padding: ${({theme:e})=>e.spacing(4)}; 4489`,fXe=U.div` 4490 display: flex; 4491 justify-content: flex-end; 4492 margin-top: ${({theme:e})=>e.spacing(1)}; 4493`,pXe=({direction:e,availableTypes:t,initialSelection:n,onSave:r,registrationFormId:i,children:a})=>{let{t:o}=B(),[s,c]=(0,I.useState)([]),l=(0,I.useCallback)(e=>{c(t=>t.some(({id:t})=>e.id===t)?t.filter(({id:t})=>e.id!==t):[...t,e].sort((e,t)=>`${e.arrivalDate} ${e.arrivalTime}`.localeCompare(`${t.arrivalDate} ${t.arrivalTime}`)))},[]),u=(0,I.useCallback)(e=>{c(t=>t.filter(({id:t})=>e.id!==t))},[]);return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(uXe,{children:(0,V.jsx)(lXe,{registrationFormId:i,direction:e,availableTypes:t,onSelect:l,selection:s,initialSelection:n,children:a(l)})}),s.length>0&&(0,V.jsxs)(dXe,{children:[(0,V.jsx)(cXe,{"aria-label":o(`Selected travel segments`),children:s.map((e,t)=>(0,V.jsx)(O7,{"aria-label":`${o(e.type)} ${_7(e)}`,children:(0,V.jsx)(aXe,{travelSegment:e,onDelete:()=>u(e)})},t))}),(0,V.jsx)(fXe,{children:(0,V.jsx)(FE,{type:`button`,color:`primary`,onClick:()=>r(s),children:o(`Save`)})})]})]})},mXe=[`travel-templates`],j7={travelTemplateByDirectionKey:(e,t)=>[...mXe,e,t],travelTemplateByDirection:(e,t)=>z.get(`travel-templates/${e}`,{params:t})},hXe=U(b7)` 4494 display: grid; 4495 position: relative; 4496 grid-template-columns: 1fr 3fr 3fr; 4497 min-height: 132px; 4498 gap: ${({theme:e})=>e.spacing(5)}; 4499 justify-content: center; 4500`,gXe=U.div` 4501 position: relative; 4502 display: inline-block; 4503`,_Xe=U.div` 4504 display: flex; 4505 align-items: center; 4506 justify-content: center; 4507`,vXe=U.div` 4508 position: absolute; 4509 bottom: -8px; 4510 right: -8px; 4511 background-color: ${({theme:e})=>e.colors.palette.primary.main.base}; 4512 color: ${({theme:e})=>e.colors.palette.primary.main.contrast}; 4513 width: 6px; 4514 height: 6px; 4515 padding: 8px; 4516 border-radius: 50%; 4517 box-sizing: content-box; 4518 display: flex; 4519 justify-content: center; 4520 align-items: center; 4521 font-size: 14px; 4522 font-weight: bold; 4523`,yXe=({travelTemplate:e})=>(0,V.jsxs)(hXe,{$hasNoContingent:e.hasSegmentFullContingent,children:[(0,V.jsx)(_Xe,{children:(0,V.jsxs)(gXe,{children:[e.primaryTravelSegmentType&&(0,V.jsx)(bXe,{type:e.primaryTravelSegmentType}),!e.primaryTravelSegmentType&&(0,V.jsx)(S7,{src:`/icons/trip.svg`}),(0,V.jsx)(vXe,{children:e.travelSegmentsCount})]})}),(0,V.jsxs)(x7,{children:[e.firstTravelSegment.type===`car`&&e.direction===`arrival`?`-`:(0,V.jsx)(CG,{dateTime:`${e.firstTravelSegment.departureDate}T${e.firstTravelSegment.departureTime}`}),(0,V.jsx)(y7,{title:M7(e.firstTravelSegment),children:M7(e.firstTravelSegment)})]}),(0,V.jsxs)(x7,{children:[e.lastTravelSegment.type===`car`&&e.direction===`departure`?`-`:(0,V.jsx)(CG,{dateTime:`${e.lastTravelSegment.arrivalDate}T${e.lastTravelSegment.arrivalTime}`}),(0,V.jsx)(y7,{title:N7(e.lastTravelSegment),children:N7(e.lastTravelSegment)})]}),e.hasSegmentFullContingent&&(0,V.jsx)(w7,{})]}),M7=e=>{switch(e.type){case`flight`:return`(${e.departureLocation.iataCode}) ${e.departureLocation.name}`;default:return e.departureLocation||`-`}},N7=e=>{switch(e.type){case`flight`:return`(${e.arrivalLocation.iataCode}) ${e.arrivalLocation.name}`;default:return e.arrivalLocation||`-`}},bXe=({type:e})=>{switch(e){case`train`:return(0,V.jsx)(S7,{src:`/icons/train.svg`});case`car`:return(0,V.jsx)(S7,{src:`/icons/car.svg`});case`flight`:return(0,V.jsx)(S7,{src:`/icons/travel.svg`});case`shuttle`:return(0,V.jsx)(S7,{src:`/icons/shuttle.svg`})}},xXe=U.div` 4524 display: flex; 4525 flex-direction: column; 4526 gap: ${({theme:e})=>e.spacing(4)}; 4527 4528 > * { 4529 padding-bottom: 0; 4530 } 4531`,SXe=({direction:e,children:t,onSelect:n})=>{let{t:r}=B(),[i,a]=(0,I.useState)(null),[o,s]=(0,I.useState)(``),c=e$(o,500),{data:l}=kw({queryKey:j7.travelTemplateByDirectionKey(e,{search:c,type:i}),queryFn:async()=>j7.travelTemplateByDirection(e,{search:c,type:i}).then(e=>e.data.data)});return(0,V.jsxs)(xXe,{children:[(0,V.jsx)(A7,{activeType:i,onChange:a,availableTypes:[`flight`,`train`,`car`,`shuttle`]}),(0,V.jsx)($R,{placeholder:r(`Search`),name:`search`,value:o,prefix:(0,V.jsx)(nD,{$icon:`search`}),onChange:e=>s(e.target.value)}),(0,V.jsx)(rK,{}),(0,V.jsxs)(D7,{"aria-label":r(`Travel templates`),children:[!l&&(0,V.jsx)(`li`,{children:(0,V.jsx)(lD,{})}),l&&l.length===0&&(0,V.jsx)(k7,{children:(0,V.jsx)(uG,{children:r(`No travel templates found.`)})}),l&&l.map(e=>(0,V.jsx)(O7,{$isSelectable:!e.hasSegmentFullContingent,onClick:e.hasSegmentFullContingent?void 0:()=>n(e),children:(0,V.jsx)(yXe,{travelTemplate:e})},e.id)),t]})]})},CXe=U(UN)` 4532 flex: 1; 4533`,wXe=({direction:e,onSelect:t,children:n})=>(0,V.jsx)(CXe,{children:(0,V.jsx)(SXe,{direction:e,onSelect:t,children:n})}),TXe=U.strong` 4534 font-size: 20px; 4535 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 4536 padding: ${({theme:e})=>e.spacing(2)} 0; 4537 display: inline-block; 4538`,EXe=U.div` 4539 display: grid; 4540 grid-template-columns: 1fr; 4541 gap: ${({theme:e})=>e.spacing(2)}; 4542 4543 ${({theme:e})=>e.breakpoints.mobile} { 4544 grid-auto-flow: column; 4545 grid-auto-columns: 1fr; 4546 } 4547`,P7=({title:e,canCreateTravelInquiries:t,canSelfTravel:n,onInquiry:r,onSelfTravel:i,travelSegmentButton:a})=>{let{t:o}=B();return t||n||a?(0,V.jsxs)(`div`,{children:[e&&(0,V.jsx)(TXe,{children:e}),(0,V.jsxs)(EXe,{children:[t&&(0,V.jsxs)(f7,{type:`button`,onClick:r,children:[(0,V.jsx)(p7,{src:`/icons/checked_bag_question.svg`}),o(`I would like to make a travel inquiry`)]}),n&&(0,V.jsxs)(f7,{type:`button`,onClick:i,children:[(0,V.jsx)(p7,{src:`/icons/edit_note.svg`}),o(`I organize my travel on my own`)]}),a]})]}):null},F7=()=>({id:Symbol(`car`),type:`car`,arrivalDate:null,arrivalTime:null,departureDate:null,departureTime:null,arrivalLocation:``,departureLocation:``,identifier:``,chargingStation:``,parkingSpot:``}),DXe=({direction:e})=>{let{t}=B();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(tz,{name:`identifier`,label:t(`License plate`),required:!0}
4547),e===`arrival`&&(0,V.jsx)(a$,{name:`arrivalDate`,label:t(`Arrival date`),required:!0}),e===`arrival`&&(0,V.jsx)(s$,{name:`arrivalTime`,label:t(`Arrival time`),required:!0}),(0,V.jsx)(tz,{name:`arrivalLocation`,label:t(`Arrival location`)}),e===`departure`&&(0,V.jsx)(a$,{name:`departureDate`,label:t(`Departure date`),required:!0}),e===`departure`&&(0,V.jsx)(s$,{name:`departureTime`,label:t(`Departure time`),required:!0}),(0,V.jsx)(tz,{name:`departureLocation`,label:t(`Departure location`)}),(0,V.jsx)(tz,{name:`parkingSpot`,label:t(`Parking spot`)}),(0,V.jsx)(tz,{name:`chargingStation`,label:t(`Charging station`)})]})},OXe={getFlightRouteKey:e=>[`flight-information`,e],getFlightRoute:e=>z.get(`flight-information`,{params:e})},I7=()=>({id:Symbol(`flight`),type:`flight`,arrivalLocation:null,departureDate:``,departureTime:``,arrivalDate:``,arrivalTime:``,departureLocation:null,serviceClass:``,identifier:``,additionalIdentifiers:[]}),kXe=()=>{let{t:e}=B(),[{value:t}]=cI(`identifier`),[{value:n}]=cI(`departureDate`),{setValues:r}=qF(),{showToast:i}=PC(),[a,o]=(0,I.useState)(!1),s=(0,I.useCallback)(async()=>{let a={departureDate:n,flightNumber:t},s=await OXe.getFlightRoute(a);mb(s)?(r(AXe(s.data.data)),EB(BV(a.departureDate),wz(new Date,1))&&o(!0)):i({type:`error`,title:e(`Error`),body:e(`A route for the flight could not be found.`)})},[n,t,r,i,e]);return(0,V.jsxs)(V.Fragment,{children:[a&&(0,V.jsx)(MG,{warning:e(`Your flight information has been filled out automatically. Please verify that the details are correct.`)}),(0,V.jsx)(tz,{name:`identifier`,label:e(`Flight number`)}),(0,V.jsx)(a$,{name:`departureDate`,label:e(`Departure date`),required:!0}),(0,V.jsx)(AG,{$alignItems:`end`,children:(0,V.jsx)(FE,{size:`small`,title:e(`Provide flight number and departure date to obtain flight information.`),onClick:s,type:`button`,disabled:!t||!n,children:e(`Autofill flight information`)})}),(0,V.jsx)(s$,{name:`departureTime`,label:e(`Departure time`),required:!0}),(0,V.jsx)(d7,{name:`departureLocation`,label:e(`Departure airport`),required:!0}),(0,V.jsx)(d7,{name:`arrivalLocation`,label:e(`Arrival airport`),required:!0}),(0,V.jsx)(a$,{name:`arrivalDate`,label:e(`Arrival date`),required:!0}),(0,V.jsx)(s$,{name:`arrivalTime`,label:e(`Arrival time`),required:!0}),(0,V.jsx)(tz,{name:`serviceClass`,label:e(`Service class`)})]})},AXe=e=>({...I7(),arrivalDate:e.arrivalDate,arrivalLocation:e.arrivalLocation,arrivalTime:e.arrivalTime,departureDate:e.departureDate,departureLocation:e.departureLocation,departureTime:e.departureTime,identifier:e.flightNumber}),L7=()=>({id:Symbol(`train`),type:`train`,arrivalLocation:``,departureDate:``,departureTime:``,arrivalDate:``,arrivalTime:``,departureLocation:``,serviceClass:``,identifier:``,additionalIdentifiers:[]}),jXe=()=>{let{t:e}=B();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(tz,{name:`departureLocation`,label:e(`Departure station`),required:!0}),(0,V.jsx)(a$,{name:`departureDate`,label:e(`Departure date`),required:!0}),(0,V.jsx)(s$,{name:`departureTime`,label:e(`Departure time`),required:!0}),(0,V.jsx)(tz,{name:`arrivalLocation`,label:e(`Arrival station`),required:!0}),(0,V.jsx)(a$,{name:`arrivalDate`,label:e(`Arrival date`),required:!0}),(0,V.jsx)(s$,{name:`arrivalTime`,label:e(`Arrival time`),required:!0}),(0,V.jsx)(tz,{name:`identifier`,label:e(`Train number`)}),(0,V.jsx)(tz,{name:`serviceClass`,label:e(`Service class`)})]})},MXe=({name:e,label:t,availableTypes:n})=>{let{t:r}=B(),i=qF();return(0,V.jsx)(nK,{name:e,label:t,options:n,clearable:!1,getLabel:e=>r(e),onChange:({target:{value:e}})=>{switch(e){case`car`:i.setValues(F7());break;case`flight`:i.setValues(I7());break;case`train`:i.setValues(L7())}}})},NXe=e=>{let{t}=B();return n=>{switch(n.type){case`car`:{let r={};return e===`arrival`&&(n.arrivalDate||(r.arrivalDate=t(`Field is required`)),n.arrivalTime||(r.arrivalTime=t(`Field is required`))),e===`departure`&&(n.departureDate||(r.departureDate=t(`Field is required`)),n.departureTime||(r.departureTime=t(`Field is required`))),n.identifier||(r.identifier=t(`Field is required`)),r}case`train`:case`flight`:{let e={};return n.departureLocation||(e.departureLocation=t(`Field is required`)),n.arrivalLocation||(e.arrivalLocation=t(`Field is required`)),n.arrivalDate||(e.arrivalDate=t(`Field is required`)),n.arrivalTime||(e.arrivalTime=t(`Field is required`)),n.departureDate||(e.departureDate=t(`Field is required`)),n.departureTime||(e.departureTime=t(`Field is required`)),e}}}},PXe=({direction:e,availableTypes:t,...n})=>{let{t:r}=B(),{values:i}=qF();return(0,V.jsxs)(f0,{...n,children:[t.length>1&&(0,V.jsx)(MXe,{name:`type`,label:r(`Type`),availableTypes:t}),i.type===`flight`&&(0,V.jsx)(kXe,{}),i.type===`car`&&(0,V.jsx)(DXe,{direction:e}),i.type===`train`&&(0,V.jsx)(jXe,{})]})},FXe=({direction:e,availableTypes:t,...n})=>{let{t:r}=B(),i=NXe(e);t=t.filter(e=>e!==`shuttle`);let a=(0,I.useMemo)(()=>t.includes(`car`)?F7():t.includes(`flight`)?I7():L7(),[t]);return(0,V.jsx)(d0,{...n,initialValues:a,title:r(`Create travel segment`),validate:i,renderForm:n=>(0,V.jsx)(PXe,{...n,direction:e,availableTypes:t})})},IXe=({availableTypes:e,direction:t,onCreateTravelSegment:n})=>{let{t:r}=B();return(0,V.jsx)(W1,{render:r=>(0,V.jsx)(FXe,{availableTypes:e,open:r.open,onClose:r.handleClose,direction:t,onSubmit:async e=>(n(e),!0),onClosed:()=>void 0}),children:e=>(0,V.jsxs)(f7,{type:`button`,...e,children:[(0,V.jsx)(p7,{src:`/icons/create_travel_segment.svg`}),r(`Create new travel segment`)]})})},LXe=U(HN)` 4548 width: 780px; 4549 max-width: 100vw; 4550`,RXe=[`flight`,`train`,`car`,`shuttle`],zXe=U(UN)` 4551 flex: 1; 4552`,BXe=({direction:e,initialSelection:t,onAddTravelSegments:n,onSelectTravelTemplate:r,registrationFormId:i,inquiry:a,selfTravel:o,onAddTravelInquiry:s,onAddSelfTravel:c,settings:l})=>{let{t:u}=B(),d=(0,I.useMemo)(()=>RXe.filter(e=>l.availableTravelSegmentTypes.includes(e)),[l.availableTravelSegmentTypes]),[f,p]=(0,I.useState)(()=>
4552{if(!l.canSelectTravelSegments&&!l.canSelectTravelTemplates){if(l.canSelfTravel&&!l.canCreateTravelInquiries)return`self-travel`;if(l.canCreateTravelInquiries&&!l.canSelfTravel)return`inquiry`}return null});return f==`self-travel`?(0,V.jsx)(u7,{selfTravel:o,onSubmit:c,isRemarksFieldRequired:l.isRemarksFieldRequired,direction:e}):f==`inquiry`?(0,V.jsx)(h7,{inquiry:a,onSubmit:s}):l.canSelectTravelSegments?(0,V.jsx)(pXe,{registrationFormId:i,availableTypes:d,direction:e,initialSelection:t,onSave:n,settings:l,children:t=>(0,V.jsx)(P7,{title:u(`Further options`),canCreateTravelInquiries:l.canCreateTravelInquiries,canSelfTravel:l.canSelfTravel,onInquiry:()=>p(`inquiry`),onSelfTravel:()=>p(`self-travel`),travelSegmentButton:l.canCreateTravelSegments?(0,V.jsx)(IXe,{availableTypes:l.availableTravelSegmentTypes,direction:e,onCreateTravelSegment:t}):void 0})}):l.canSelectTravelTemplates?(0,V.jsx)(wXe,{direction:e,onSelect:r,children:(0,V.jsx)(P7,{title:u(`Further options`),canCreateTravelInquiries:l.canCreateTravelInquiries,canSelfTravel:l.canSelfTravel,onInquiry:()=>p(`inquiry`),onSelfTravel:()=>p(`self-travel`)})}):(0,V.jsx)(zXe,{children:(0,V.jsx)(P7,{canCreateTravelInquiries:l.canCreateTravelInquiries,canSelfTravel:l.canSelfTravel,onInquiry:()=>p(`inquiry`),onSelfTravel:()=>p(`self-travel`)})})},R7=({registrationFormId:e,heading:t,direction:n,initialSelection:r,inquiry:i,selfTravel:a,onAddTravelSegments:o,onAddTravelInquiry:s,onSelectTravelTemplate:c,onAddSelfTravel:l,onClose:u,settings:d,...f})=>{let p=e=>t=>{e(t),u?.()};return(0,V.jsxs)(LXe,{...f,onClose:u,children:[(0,V.jsx)(fD,{onClose:u,children:(0,V.jsx)(uD,{children:t})}),(0,V.jsx)(BXe,{registrationFormId:e,direction:n,initialSelection:r,inquiry:i,selfTravel:a,onAddTravelSegments:p(o),onAddTravelInquiry:p(s),onAddSelfTravel:p(l),onSelectTravelTemplate:p(c),settings:d})]})},z7=U(wG).attrs({$variant:`outlined`})` 4553 position: relative; 4554 padding: ${({theme:e})=>e.spacing(4)}; 4555`,B7=U(z7)` 4556 display: grid; 4557 grid-template-columns: 1fr 1fr; 4558 gap: ${({theme:e})=>e.spacing(4)}; 4559`,VXe=U.div` 4560 position: absolute; 4561 display: flex; 4562 gap: ${({theme:e})=>e.spacing(1)}; 4563 top: ${({theme:e})=>e.spacing(2)}; 4564 right: ${({theme:e})=>e.spacing(2)}; 4565`,V7=U.div` 4566 padding: ${({theme:e})=>e.spacing(6)} 0; 4567`,H7=U.div` 4568 display: flex; 4569 justify-content: space-between; 4570 padding-top: ${({theme:e})=>e.spacing(6)}; 4571 4572 border-top: 1px solid ${({theme:e})=>e.colors.palette.grey[20]}; 4573`,U7=U.strong` 4574 font-size: 20px; 4575 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 4576`,W7=({onRemove:e,onEdit:t,children:n})=>{let{t:r}=B();return(0,V.jsxs)(`div`,{children:[(0,V.jsx)(U7,{children:n}),(0,V.jsxs)(VXe,{children:[t&&(0,V.jsx)(iD,{title:r(`Edit`),size:`small`,icon:`edit`,onClick:t,type:`button`}),e&&(0,V.jsx)(dD,{title:r(`Remove`),size:`small`,icon:`close`,onClick:e,type:`button`})]})]})},G7=({label:e,children:t})=>(0,V.jsxs)(`div`,{children:[(0,V.jsxs)(`div`,{children:[e,`:`]}),(0,V.jsx)(`strong`,{children:t})]}),K7=({selfTravel:e,onRemove:t,onEditSelfTravel:n,isRemarksFieldRequired:r,direction:i})=>{let{t:a}=B(),o=yH(),{open:s,handleOpen:c,handleClose:l}=jw();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(z7,{children:[(0,V.jsx)(W7,{onRemove:t,onEdit:c,children:a(`Self travel`)}),(0,V.jsx)(V7,{children:(0,V.jsxs)(G7,{label:a(i===`arrival`?`Arrival time`:`Departure time`),children:[o(e.date),` `,e.time]})}),e.remarks&&(0,V.jsx)(G7,{label:a(`Remarks`),children:e.remarks})]}),(0,V.jsx)(GYe,{open:s,selfTravel:e,onSubmit:n,handleClose:l,isRemarksFieldRequired:r,direction:i})]})},HXe=U.p` 4577 text-align: ${({$alignment:e})=>e}; 4578`,q7=({name:e,time:t,alignment:n})=>(0,V.jsxs)(HXe,{$alignment:n,children:[(0,V.jsx)(U7,{children:t}),(0,V.jsx)(`br`,{}),e]}),UXe=U.div` 4579 display: flex; 4580 align-items: center; 4581 justify-content: center; 4582 position: relative; 4583 margin: 0 ${({theme:e})=>e.spacing(5)}; 4584 color: ${({theme:e})=>e.colors.palette.grey[30]}; 4585 4586 > ${tD} { 4587 width: 24px; 4588 height: 24px; 4589 } 4590 4591 &:before { 4592 top: 50%; 4593 left: 0; 4594 height: 1px; 4595 width: calc(50% - 24px); 4596 content: ""; 4597 position: absolute; 4598 background: currentColor; 4599 } 4600 4601 &:after { 4602 top: 50%; 4603 right: 0; 4604 height: 1px; 4605 width: calc(50% - 24px); 4606 content: ""; 4607 position: absolute; 4608 background: currentColor; 4609 } 4610`,WXe=U.div` 4611 display: grid; 4612 grid-template-columns: minmax(min-content, 140px) 1fr minmax(min-content, 140px); 4613`,J7=({arrival:e,departure:t,iconSrc:n})=>(0,V.jsxs)(WXe,{children:[(0,V.jsx)(`div`,{children:t}),(0,V.jsx)(UXe,{children:(0,V.jsx)(tD,{src:n})}),(0,V.jsx)(`div`,{children:e})]}),Y7=U.div` 4614 display: flex; 4615 justify-content: space-between; 4616 padding-bottom: ${({theme:e})=>e.spacing(4)}; 4617`,X7=({travelInquiry:e,...t})=>{switch(e.type){case`train`:return(0,V.jsx)(KXe,{travelInquiry:e,...t});case`flight`:return(0,V.jsx)(GXe,{travelInquiry:e,...t})}},GXe=({travelInquiry:e,onRemove:t,handleEditInquiry:n})=>{let{t:r}=B(),i=yH(),{open:a,handleOpen:o,handleClose:s}=jw();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(z7,{children:[(0,V.jsx)(W7,{onRemove:t,onEdit:o,children:r(`Inquiry`)}),(0,V.jsx)(V7,{children:(0,V.jsx)(J7,{iconSrc:`/icons/travel.svg`,departure:(0,V.jsx)(q7,{alignment:`left`,name:`(${e.departureLocation?.iataCode}) ${e.departureLocation?.name}`,time:e.earliestDepartureTime}),arrival:(0,V.jsx)(q7,{alignment:`right`,name:`(${e.arrivalLocation?.iataCode}) ${e.arrivalLocation?.name}`,time:e.latestArrivalTime})})}),(0,V.jsxs)(Y7,{children:[(0,V.jsx)(G7,{label:r(`Earliest departure`),children:(0,V.jsxs)(`span`,{children:[i(e.earliestDepartureDate),`, `,e.earliestDepartureTime]})}),(0,V.jsx)(G7,{label:r(`Latest arrival`),children:(0,V.jsxs)(`span`,{children:[i(e.latestArrivalDate),`, `,e.latestArrivalTime]})})]}),e.remarks&&(0,V.jsx)(G7,{label:r(`Remarks`),children:e.remarks})]}),(0,V.jsx)(g7,{open:a,travelInquiry:e,onSubmit:n,handleClose:s})]})},KXe=({travelInquiry:e,onRemove:t,handleEditInquiry:n})=>{let{t:r}=B(),i=yH(),{open:a,handleOpen:o,handleClose:s}=jw();return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(z7,{children:[(0,V.jsx)(W7,{onRemove:t,onEdit:o,children:r(`Inquiry`)}),(0,V.jsx)(V7,{children:(0,V.jsx)(J7,{iconSrc:`/icons/train.svg`,departure:(0,V.jsx)(q7,{alignment:`left`,name:e.departureLocation,time:e.earliestDepartureTime}),arrival:(0,V.jsx)(q7,{alignment:`right`,name:e.arrivalLocation,time:e.latestArrivalTime})})}),(0,V.jsxs)(Y7,{children:[(0,V.jsx)(G7,{label:r(`Earliest departure`),children:(0,V.jsxs)(`span`,{children:[i(e.earliestDepartureDate),`, `,e.earliestDepartureTime]})}),(0,V.jsx)(G7,{label:r(`Latest arrival`),children:(0,V.jsxs)(`span`,{children:[i(e.latestArrivalDate),`, `,e.latestArrivalTime]})})]}),e.remarks&&(0,V.jsx)(G7,{label:r(`Remarks`),children:e.remarks})]}),(0,V.jsx)(g7,{open:a,travelInquiry:e,onSubmit:n,handleClose:s})]})},Z7=({travelSegment:e,...t})=>{switch(e.type){case`car`:return(0,V.jsx)(YXe,{travelSegment:e,...t});case`train`:return(0,V.jsx)(JXe,{travelSegment:e,...t});case`flight`:return(0,V.jsx)(qXe,{travelSegment:e,...t});case`shuttle`:return(0,V.jsx)(XXe,{travelSegment:e,...t})}},qXe=({travelSegment:e,heading:t,onRemove:n})=>{let{t:r}=B();return(0,V.jsxs)(z7,{children:[(0,V.jsx)(W7,{onRemove:n,children:t}),(0,V.jsx)(V7,{children:(0,V.jsx)(J7,{iconSrc:`/icons/travel.svg`,departure:(0,V.jsx)(q7,{alignment:`left`,name:`(${e.departureLocation?.iataCode}) ${e.departureLocation?.name}`,time:e.departureTime}),arrival:(0,V.jsx)(q7,{alignment:`right`,name:`(${e.arrivalLocation?.iataCode}) ${e.arrivalLocation?.name}`,time:e.arrivalTime})})}),(0,V.jsxs)(H7,{children:[(0,V.jsx)(G7,{label:r(`Date`),children:(0,V.jsx)(v7,{arrivalDate:e.arrivalDate,departureDate:e.departureDate})}),(0,V.jsx)(G7,{label:r(`Flight number`),children:_7(e)}),(0,V.jsx)(G7,{label:r(`Service class`),children:e.serviceClass||`-`})]})]})},JXe=({travelSegment:e,heading:t,onRemove:n})=>{let{t:r}=B();return(0,V.jsxs)(z7,{children:[(0,V.jsx)(W7,{onRemove:n,children:t}),(0,V.jsx)(V7,{children:(0,V.jsx)(J7,{iconSrc:`/icons/train.svg`,departure:(0,V.jsx)(q7,{alignment:`left`,name:e.departureLocation,time:e.departureTime}),arrival:(0,V.jsx)(q7,{alignment:`right`,name:e.arrivalLocation,time:e.arrivalTime})})}),(0,V.jsxs)(H7,{children:[(0,V.jsx)(G7,{label:r(`Date`),children:(0,V.jsx)(v7,{arrivalDate:e.arrivalDate,departureDate:e.departureDate})}),(0,V.jsx)(G7,{label:r(`Train number`),children:_7(e)}),(0,V.jsx)(G7,{label:r(`Service class`),children:e.serviceClass||`-`})]})]})},YXe=({direction:e,travelSegment:t,heading:n,onRemove:r})=>{let{t:i}=B();return(0,V.jsxs)(z7,{children:[(0,V.jsx)(W7,{onRemove:r,children:n}),(0,V.jsx)(V7,{children:(0,V.jsx)(J7,{iconSrc:`/icons/car.svg`,departure:(0,V.jsx)(q7,{alignment:`left`,name:t.departureLocation,time:`${e===`arrival`?t.arrivalTime:t.departureTime}`}),arrival:(0,V.jsx)(q7,{alignment:`right`,name:t.arrivalLocation,time:``})})}),(0,V.jsxs)(H7,{children:[(0,V.jsx)(G7,{label:i(`Date`),children:(0,V.jsx)(bH,{date:e===`arrival`?t.arrivalDate:t.departureDate,format:{day:`2-digit`,month:`2-digit`}})}),(0,V.jsx)(G7,{label:i(`License plate`),children:_7(t)}),(0,V.jsx)(G7,{label:i(`Parking spot`),children:t.parkingSpot||`-`}),(0,V.jsx)(G7,{label:i(`Charging station`),children:t.chargingStation||`-`})]})]})},XXe=({travelSegment:e,heading:t,onRemove:n})=>{let{t:r}=B();return(0,V.jsxs)(z7,{children:[(0,V.jsx)(W7,{onRemove:n,children:t}),(0,V.jsx)(V7,{children:(0,V.jsx)(J7,{iconSrc:`/icons/shuttle.svg`,departure:(0,V.jsx)(q7,{alignment:`left`,t
4617ime:e.departureTime}),arrival:(0,V.jsx)(q7,{alignment:`right`,time:e.arrivalTime})})}),(0,V.jsxs)(H7,{children:[(0,V.jsx)(G7,{label:r(`Date`),children:(0,V.jsx)(v7,{arrivalDate:e.arrivalDate,departureDate:e.departureDate})}),(0,V.jsx)(G7,{label:r(`Name`),children:_7(e)})]})]})},ZXe=U(wG)` 4618 display: grid; 4619 background: ${({theme:e})=>e.colors.palette.grey[10]}; 4620 grid-template: 4621 "arrivalHeader" max-content 4622 "arrivalList" 1fr 4623 "departureHeader" max-content 4624 "departureList" 1fr 4625 "footer" max-content 4626 "errors" / 1fr; 4627 4628 ${({theme:e})=>e.breakpoints.largeDesktop} { 4629 grid-template: 4630 "arrivalHeader departureHeader" max-content 4631 "arrivalList departureList" 1fr 4632 "footer footer" max-content 4633 "errors errors" max-content / 1fr 1fr; 4634 } 4635 4636 ${({theme:e,$hasError:t})=>t&&H` 4637 border-color: ${e.colors.palette.danger.main.base}; 4638 `} 4639`,Q7=U.div` 4640 display: flex; 4641 justify-content: space-between; 4642 align-items: center; 4643 padding: ${({theme:e})=>e.spacing(4)} ${({theme:e})=>e.spacing(6)}; 4644 4645 ${({theme:e})=>e.breakpoints.largeDesktop} { 4646 border-bottom: 1px solid ${({theme:e})=>e.colors.palette.grey[20]}; 4647 } 4648`,QXe=U(Q7)` 4649 grid-area: arrivalHeader; 4650 4651 ${({theme:e})=>e.breakpoints.largeDesktop} { 4652 border-right: 1px solid ${({theme:e})=>e.colors.palette.grey[20]}; 4653 } 4654`,$Xe=U(Q7)` 4655 grid-area: departureHeader; 4656`,$7=U.ul` 4657 display: flex; 4658 flex-direction: column; 4659 list-style: none; 4660 gap: ${({theme:e})=>e.spacing(2)}; 4661 padding: ${({theme:e})=>e.spacing(4)} ${({theme:e})=>e.spacing(6)}; 4662 min-height: 500px; 4663`,eZe=U($7)` 4664 grid-area: arrivalList; 4665 4666 ${({theme:e})=>e.breakpoints.largeDesktop} { 4667 border-right: 1px solid ${({theme:e})=>e.colors.palette.grey[20]}; 4668 } 4669`,tZe=U($7)` 4670 grid-area: departureList; 4671`,nZe=U.div` 4672 display: flex; 4673 justify-content: flex-end; 4674 grid-area: footer; 4675 4676 border-top: 1px solid ${({theme:e})=>e.colors.palette.grey[20]}; 4677 4678 padding: ${({theme:e})=>e.spacing(4)}; 4679`,rZe=U.ul` 4680 list-style: none; 4681 grid-area: errors; 4682 background: ${({theme:e})=>e.colors.palette.danger.main.base}; 4683 color: ${({theme:e})=>e.colors.palette.danger.main.contrast}; 4684 padding: ${({theme:e})=>e.spacing(2)}; 4685`,iZe=U.h2` 4686 color: ${({theme:e})=>e.colors.palette.grey[90]}; 4687 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 4688 font-size: ${({theme:e})=>e.fonts.sizes.large}; 4689 padding-bottom: ${({theme:e})=>e.spacing(4)}; 4690`,aZe=({registrationFormId:e,heading:t,travel:n,onRemoveTravelSegment:r,onAddTravelSegments:i,onDelete:a,errors:o,onChangeTravelInquiry:s,onRemoveTravelInquiry:c,onChangeSelfTravel:l,onRemoveSelfTravel:u,onSelectTravelTemplate:d,settings:f})=>{let{t:p}=B(),m=(0,I.useId)(),h=(0,I.useId)();return(0,V.jsxs)(`section`,{"aria-labelledby":m,"aria-invalid":!!o,"aria-errormessage":o?h:void 0,children:[(0,V.jsx)(iZe,{id:m,children:t}),(0,V.jsxs)(ZXe,{$hasError:!!o,$variant:`outlined`,children:[(0,V.jsxs)(QXe,{children:[(0,V.jsx)(OG,{children:p(`Arrival`)}),(0,V.jsx)(W1,{render:t=>(0,V.jsx)(R7,{open:t.open,onClose:t.handleClose,registrationFormId:e,direction:`arrival`,heading:p(`Arrival`),initialSelection:n.arrivals,inquiry:n.arrivalInquiry,selfTravel:n.arrivalSelfTravel,onAddTravelSegments:e=>i(`arrival`,e),onAddTravelInquiry:e=>s(`arrival`,e),onAddSelfTravel:e=>l(`arrival`,e),onSelectTravelTemplate:e=>d(`arrival`,e),settings:f}),children:e=>(0,V.jsx)(iD,{...e,type:`button`,title:p(`Add arrival segment`),icon:`plus`,color:`primary`})})]}),(0,V.jsxs)(eZe,{"aria-label":p(`Arrival`),children:[!n.arrivals.length&&!n.arrivalInquiry&&!n.arrivalSelfTravel&&!n.arrivalTravelTemplate&&(0,V.jsx)(uG,{children:p(`No travel segments have been added yet.`)}),n.arrivalInquiry&&(0,V.jsx)(`li`,{"aria-label":`${p(`Inquiry`)}: ${p(n.arrivalInquiry.type)}`,children:(0,V.jsx)(X7,{travelInquiry:n.arrivalInquiry,onRemove:()=>c(`arrival`),handleEditInquiry:e=>s(`arrival`,e)})}),n.arrivalSelfTravel&&(0,V.jsx)(`li`,{"aria-label":`${p(`Self travel`)}`,children:(0,V.jsx)(K7,{selfTravel:n.arrivalSelfTravel,onRemove:()=>u(`arrival`),onEditSelfTravel:e=>l(`arrival`,e),isRemarksFieldRequired:f.isRemarksFieldRequired,direction:`arrival`})}),n.arrivalTravelTemplate?.travelSegments.map((e,t)=>(0,V.jsx)(`li`,{"aria-label":`${p(e.type)} ${_7(e)}`,children:(0,V.jsx)(Z7,{direction:`arrival`,travelSegment:e,heading:`${t+1}. ${p(e.type)}`})},e.id)),n.arrivals.map((e,t)=>(0,V.jsx)(`li`,{"aria-label":`${p(e.type)} ${_7(e)}`,children:(0,V.jsx)(Z7,{direction:`arrival`,travelSegment:e,heading:`${t+1}. ${p(e.type)}`,onRemove:()=>r(`arrival`,e)})}
4690,N5(e)?e.id:`form-value ${t}`))]}),(0,V.jsxs)($Xe,{children:[(0,V.jsx)(OG,{children:p(`Departure`)}),(0,V.jsx)(kG,{children:(0,V.jsx)(W1,{render:t=>(0,V.jsx)(R7,{open:t.open,onClose:t.handleClose,registrationFormId:e,direction:`departure`,heading:p(`Departure`),initialSelection:n.departures,inquiry:n.departureInquiry,selfTravel:n.departureSelfTravel,onAddTravelSegments:e=>i(`departure`,e),onAddTravelInquiry:e=>s(`departure`,e),onAddSelfTravel:e=>l(`departure`,e),settings:f,onSelectTravelTemplate:e=>d(`departure`,e)}),children:e=>(0,V.jsx)(iD,{...e,type:`button`,title:p(`Add departure segment`),icon:`plus`,color:`primary`})})})]}),(0,V.jsxs)(tZe,{"aria-label":p(`Departure`),children:[!n.departures.length&&!n.departureInquiry&&!n.departureSelfTravel&&!n.departureTravelTemplate&&(0,V.jsx)(uG,{children:p(`No travel segments have been added yet.`)}),n.departureInquiry&&(0,V.jsx)(`li`,{"aria-label":`${p(`Inquiry`)}: ${p(n.departureInquiry.type)}`,children:(0,V.jsx)(X7,{travelInquiry:n.departureInquiry,onRemove:()=>c(`departure`),handleEditInquiry:e=>s(`departure`,e)})}),n.departureTravelTemplate?.travelSegments.map((e,t)=>(0,V.jsx)(`li`,{"aria-label":`${p(e.type)} ${_7(e)}`,children:(0,V.jsx)(Z7,{direction:`departure`,travelSegment:e,heading:`${t+1}. ${p(e.type)}`})},e.id)),n.departureSelfTravel&&(0,V.jsx)(`li`,{"aria-label":`${p(`Self travel`)}`,children:(0,V.jsx)(K7,{selfTravel:n.departureSelfTravel,onRemove:()=>u(`departure`),onEditSelfTravel:e=>l(`departure`,e),isRemarksFieldRequired:f.isRemarksFieldRequired,direction:`departure`})}),n.departures.map((e,t)=>(0,V.jsx)(`li`,{"aria-label":`${p(e.type)} ${_7(e)}`,children:(0,V.jsx)(Z7,{direction:`departure`,travelSegment:e,heading:`${t+1}. ${p(e.type)}`,onRemove:()=>r(`departure`,e)})}
4690,N5(e)?e.id:`form-value ${t}`))]}),(0,V.jsx)(nZe,{children:(0,V.jsx)(FE,{onClick:a,type:`button`,color:`danger`,prefix:(0,V.jsx)(nD,{$icon:`delete`}),children:p(`Delete arrival and departure`)})}),o&&(0,V.jsx)(rZe,{id:h,children:o.map((e,t)=>(0,V.jsx)(`li`,{children:e},t))})]})]})},oZe=U.ul` 4691 display: flex; 4692 flex-direction: column; 4693 gap: ${({theme:e})=>e.spacing(6)}; 4694 list-style: none; 4695`,sZe=U.section` 4696 display: flex; 4697 flex-direction: column; 4698 gap: ${({theme:e})=>e.spacing(6)}; 4699 padding: ${({theme:e})=>e.spacing(6)} 0; 4700`,cZe={id:-1,arrivals:[],departures:[],arrivalInquiry:null,departureInquiry:null,departureSelfTravel:null,arrivalSelfTravel:null,departureTravelTemplate:null,arrivalTravelTemplate:null,arrivalRemarks:null,departureRemarks:null},lZe=U.div` 4701 display: flex; 4702 align-items: center; 4703 justify-content: space-between; 4704 flex-wrap: wrap; 4705`,e9=(e,t)=>`${e.arrivalDate} ${e.arrivalTime}`.localeCompare(`${t.arrivalDate} ${t.arrivalTime}`),uZe=({travelSectionSettings:e})=>{let{t}=B(),{travels:n,setTravels:r,registrationForm:i}=O5(),[a,o]=(0,I.useState)(()=>L5(e,n,t)),{submitCount:s}=qF(),c=e.maxTravels||1/0,l=(0,I.useCallback)(n=>{o(L5(e,n,t)),r(n)},[r,t,e]),u=(0,I.useCallback)((e,t)=>{let r=[...n];r[e]=t(r[e]),l(r)},[n,l]),d=(0,I.useCallback)(e=>{let t=[...n];t.splice(e,1),l(t)},[n,l]),f=(0,I.useCallback)(()=>{l([...n,cZe])},[n,l]),p=(0,I.useCallback)((e,t,n)=>{u(t,t=>{switch(e){case`arrival`:return{...t,arrivals:t.arrivals.filter(({id:e})=>e!==n.id)};case`departure`:return{...t,departures:t.departures.filter(({id:e})=>e!==n.id)}}})},[u]),m=(0,I.useCallback)((e,t,n)=>{u(t,t=>{switch(e){case`arrival`:return{...t,arrivalTravelTemplate:null,arrivalSelfTravel:null,arrivalInquiry:null,arrivals:[...t.arrivals,...n].sort(e9)};case`departure`:return{...t,departureTravelTemplate:null,departureSelfTravel:null,departureInquiry:null,departures:[...t.departures,...n].sort(e9)}}})},[u]),h=(0,I.useCallback)((e,t,n)=>{u(t,t=>{switch(e){case`arrival`:return{...t,arrivals:[],arrivalTravelTemplate:null,arrivalSelfTravel:null,arrivalInquiry:n};case`departure`:return{...t,departures:[],departureTravelTemplate:null,departureSelfTravel:null,departureInquiry:n}}})},[u]),g=(0,I.useCallback)((e,t)=>{u(t,t=>{switch(e){case`arrival`:return{...t,arrivalInquiry:null};case`departure`:return{...t,departureInquiry:null}}})},[u]),_=(0,I.useCallback)((e,t,n)=>{u(t,t=>{switch(e){case`arrival`:return{...t,arrivals:[],arrivalInquiry:null,arrivalTravelTemplate:null,arrivalSelfTravel:n};case`departure`:return{...t,departures:[],departureInquiry:null,departureTravelTemplate:null,departureSelfTravel:n}}})},[u]),v=(0,I.useCallback)((e,t)=>{u(t,t=>{switch(e){case`arrival`:return{...t,arrivalSelfTravel:null};case`departure`:return{...t,departureSelfTravel:null}}})},[u]),y=(0,I.useCallback)((e,t,n)=>{u(t,t=>{switch(e){case`arrival`:return{...t,arrivalInquiry:null,arrivalSelfTravel:null,arrivals:[],arrivalTravelTemplate:n};case`departure`:return{...t,departureInquiry:null,departureSelfTravel:null,departures:[],departureTravelTemplate:n}}})},[u]);return(0,V.jsxs)(sZe,{children:[(0,V.jsxs)(lZe,{children:[(0,V.jsx)(WYe,{maxTravels:e.maxTravels,travelsCount:n.length,error:s>0&&a?.count}),(0,V.jsx)(FE,{type:`button`,color:`primary`,onClick:f,prefix:(0,V.jsx)(nD,{$icon:`plus`}),disabled:n.length>=c,title:n.length>=c?t(`You can only assign a maximum of {{count}} travels.`,{count:c}):void 0,children:t(`Add arrival and departure`)})]}),n.length===0&&(0,V.jsx)(uG,{children:t(`No travel available.`)}),n.length!==0&&(0,V.jsx)(oZe,{children:n.map((n,r)=>(0,V.jsx)(`li`,{children:(0,V.jsx)(aZe,{errors:s>0&&a?.travels?.[r],registrationFormId:i.id,heading:t(`{{number}}. Travel`,{number:r+1}),travel:n,onDelete:()=>d(r),onRemoveTravelSegment:(e,t)=>p(e,r,t),onAddTravelSegments:(e,t)=>m(e,r,t),onChangeTravelInquiry:(e,t)=>h(e,r,t),onRemoveTravelInquiry:e=>g(e,r),onChangeSelfTravel:(e,t)=>_(e,r,t),onRemoveSelfTravel:e=>v(e,r),onSelectTravelTemplate:(e,t)=>
4705y(e,r,t),settings:e})},r))})]})},t9=U(YN)` 4706 gap: ${({theme:e})=>e.spacing(2)}; 4707 padding: ${({theme:e})=>e.spacing(4)}; 4708`,dZe=({section:e,registrationFormId:t,guestId:n,stepId:r,validationRules:i,travelSectionSettings:a})=>{let{values:o}=qF();if(!kJe(o,r,e.id))return null;switch(e.type){case`companion`:return(0,V.jsx)(t9,{color:e.backgroundColor,children:(0,V.jsx)(iYe,{stepId:r,section:e})});case`travel`:return a?(0,V.jsx)(t9,{color:e.backgroundColor,children:(0,V.jsx)(uZe,{travelSectionSettings:a})}):null;case`hotel`:return(0,V.jsxs)(t9,{color:e.backgroundColor,children:[e.children.map(t=>{if(t.entityType===`block`)return(0,V.jsx)(B5,{block:t.block,sectionId:e.id},`${t.entityType}_${t.block.id}`)}),(0,V.jsx)(BYe,{registrationFormId:t,guestId:n,sectionId:e.id})]});case`default`:return(0,V.jsx)(t9,{color:e.backgroundColor,children:(0,V.jsx)(l7,{stepId:r,section:e,validationRules:i})})}},fZe=U(YN)` 4709 padding: ${({theme:e})=>e.spacing(4)}; 4710`,pZe=U.div` 4711 display: flex; 4712 justify-content: flex-end; 4713 padding: 0 0 ${({theme:e})=>e.spacing(4)} 0; 4714 gap: ${({theme:e})=>e.spacing(4)}; 4715`,mZe=e=>{let t=e.length>0?e[e.length-1]:null;if(t?.entityType===`section`)return t.section.backgroundColor},hZe=({step:e,travelSectionSettings:t})=>{let{registrationId:n=``,stepId:r=``}=Ly(),{t:i}=B(),a=Iy(),{trackNextStep:o,trackPreviousStep:s,trackRegistrationAborted:c,trackSummaryStarted:l}=m8(),{filledSteps:u,registrationForm:{guest:d,landingBlockId:f},validateStep:p,previousStep:m,submitStep:h,landingConsents:g}=O5(),_=(0,I.useMemo)(()=>m(e.id),[m,e.id]),v=(0,I.useCallback)(()=>{_===null?(g.length||f)&&(c(n,e.id),a(`../landing-page`)):(s(n,e.id,Number(_)),a(`../${_}`))},[f,g.length,a,_,n,e.id,s,c]),y=(0,I.useMemo)(()=>u[e.id]??{...r5(t5(e).filter(({section:e})=>e.type==="default").flatMap(({section:e})=>n5(e)),d?.guestAttributeValues),hotelSections:(d?.hotelStays||[]).reduce((e,t)=>{let n=e[t.hotelStayTypeId]||{hotelStays:[]},r={...t,cancellationRequested:t.status===z5.CANCELLATION_REQUESTED};return{...e,[t.hotelStayTypeId]:{...n,hotelStays:[...n.hotelStays,r]}}},{})},[u,e,d?.guestAttributeValues,d?.hotelStays]),b=(0,I.useCallback)(async t=>{let i=await h(e.id,t);return i?(o(n,Number(r),i),a(`../${i}`)):(l(n,Number(r)),a(`../summary`))},[a,n,e.id,r,h,o,l]),x=(0,I.useCallback)(t=>p(e,t),[e,p]),S=(0,I.useMemo)(()=>mZe(e.children)||`content`,[e.children]);return(0,V.jsx)(aI,{initialValues:y,onSubmit:b,validate:x,children:(0,V.jsxs)(lI,{children:[(0,V.jsx)(VJe,{step:e}),e.children.map(r=>r.entityType===`block`?(0,V.jsx)(B5,{block:r.block},`${r.entityType}_${r.block.id}`):(0,V.jsx)(dZe,{registrationFormId:n,guestId:d.id===`new`?null:d.id,section:r.section,validationRules:r.section.validationRules,stepId:e.id,travelSectionSettings:t},`${r.entityType}_${r.section.id}`)),(0,V.jsx)(fZe,{color:S,children:(0,V.jsxs)(pZe,{children:[(_||!!g.length||!!f)&&(0,V.jsx)(FE,{type:`button`,onClick:v,children:i(`Back`)}),(0,V.jsx)(vI,{color:`primary`,children:i(`Next`)})]})}),(0,V.jsx)(BJe,{})]})},e.id)},gZe=U.div` 4716 display: grid; 4717 grid-auto-rows: max-content; 4718 gap: ${({theme:e})=>e.spacing(5)}; 4719`,n9=({travelSectionSettings:e})=>{let{registrationId:t=``,stepId:n=``}=Ly(),r=OJe(+n),{trackRegistrationStarted:i}=m8();return(0,I.useEffect)(()=>{i(t,Number(n))},[t,n,i]),!r||!r.isAvailable?(0,V.jsx)(zJe,{}):(0,V.jsx)(gZe,{children:(0,V.jsx)(hZe,{step:r.step,travelSectionSettings:e})})},r9=({blockId:e,headline:t,text:n})=>{let{clearRegistration:r}=O5();return(0,I.useEffect)(()=>{r()},[r]),e===null?(0,V.jsx)(C5,{headline:t,text:n}):(0,V.jsx)(y5,{blockId:e})},i9=()=>{let{t:e}=B(),{registrationForm:t}=O5(),n=Iy();return t.isDeclinable||n(`../landing-page`),(0,V.jsx)(r9,{headline:e(`Declination confirmed`),text:e(`Thank you for letting us know that you are unable to attend.`),blockId:t.declinedBlockId})},_Ze=()=>{let{t:e}=B(),{registrationForm:t}=O5();return(0,V.jsx)(r9,{headline:e(`Registration confirmed`),text:e(`Your registration was successful.`),blockId:t.successBlockId})},a9=()=>{let{t:e}=B(),{registrationForm:t}=O5(),n=Iy();return t.isCancelable||n(`../landing-page`),(0,V.jsx)(r9,{headline:e(`Cancellation confirmed`),text:e(`Thank you for letting us know that unfortunately you will not be able to attend after all.`),blockId:t.cancelledBlockId})},o9=U.span` 4720 display: block; 4721 position: relative; 4722 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 4723`,s9={indexKey:e=>[`shop-items`,`${e}`,`cancellation-config-items`],index:e=>z.get(hb(s9.indexKey(e)))},vZe=({title:e,onClose:t,items:n})=>{let{t:r}=B(),i=TE(),a=(0,I.useMemo)(()=>n.findLast(({startDate:e})=>EB(new Date,e)),[n]),o=[{heading:r(`Start date`),type:`value`,valueKey:`startDate`,render:({startDate:e})=>(0,V.jsx)(bH,{date:e})},{heading:r(`Cancellation fee`),type:`value`,valueKey:`amountInPercent`,render:({amountInPercent:e})=>r(`{{amountInPercent}}% of the purchase price`,{amountInPercent:e})}];return(0,V.jsx)(R6,{title:e,onClose:t,children:(0,V.jsx)(UN,{children:(0,V.jsxs)(AG,{children:[(0,V.jsx)(`p`,{children:r(`The cancellation conditions are listed below. The applicable deadlines and fees can be found in the table.`)}),(0,V.jsx)(Iwe,{$variant:`outlined`,columns:o,isEmpty:n.length===0,empty:r(`
4723No cancellation conditions available.`),data:n,renderRow:(e,t)=>(0,V.jsx)(sK,{index:t,backgroundColor:e.value===a?i.colors.palette.grey[10]:void 0,row:e})})]})})})},yZe=({open:e,onClose:t,shopItemId:n})=>{let{t:r}=B();return(0,V.jsx)(eGe,{queryFn:()=>s9.index(n).then(e=>e.data.data),queryKey:s9.indexKey(n),title:r(`Cancellation conditions`),open:e,onClose:t,renderSuccess:({data:e,...t})=>(0,V.jsx)(vZe,{items:e,...t})})},bZe=U.button` 4724 display: grid; 4725 grid-template-columns: 20px max-content; 4726 gap: ${({theme:e})=>e.spacing(2)}; 4727 background: none; 4728 font: inherit; 4729 cursor: pointer; 4730 4731 &:hover { 4732 text-decoration: underline; 4733 } 4734`;function xZe({item:e}){let{t}=B(),{open:n,handleOpen:r,handleClose:i}=jw();return e.hasCancellationConfig?(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(bZe,{type:`button`,onClick:r,children:[(0,V.jsx)(nD,{$icon:`eye`}),` `,t(`Click here for cancellation conditions.`)]}),(0,V.jsx)(yZe,{open:n,onClose:i,shopItemId:e.shopItemId})]}):null}var SZe=U.span` 4735 grid-column: 1 / -1; 4736`,c9=U.span` 4737 font-size: ${({theme:e})=>e.fonts.sizes.large}; 4738 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 4739`,CZe=U.span` 4740 font-size: ${({theme:e})=>e.fonts.sizes.small}; 4741`,l9=U(wG).attrs({$variant:`outlined`})` 4742 display: grid; 4743 background-color: ${({theme:e})=>e.colors.palette.grey[10]}; 4744 padding: ${({theme:e})=>e.spacing(4)}; 4745 gap: ${({theme:e})=>e.spacing(2)}; 4746`,u9=U(qN)` 4747 & button > span { 4748 font-size: ${({theme:e})=>e.fonts.sizes.large}; 4749 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 4750 } 4751 padding-bottom: ${({theme:e})=>e.spacing(2)}; 4752`,d9=U.div` 4753 display: grid; 4754 gap: ${({theme:e})=>e.spacing(4)}; 4755`,f9=U.div` 4756 height: 1px; 4757 width: 100%; 4758 background-color: ${({theme:e})=>e.colors.layout.background.separator}; 4759`,wZe=U.div` 4760 display: grid; 4761 grid-template-columns: max-content max-content; 4762 gap: ${({theme:e})=>e.spacing(1)}; 4763 column-gap: ${({theme:e})=>e.spacing(2)}; 4764 justify-content: end; 4765 justify-items: end; 4766 align-items: end; 4767`;function TZe({item:e,taxes:t}){let{t:n}=B(),r=m$(e.currencyType);return(0,V.jsxs)(wZe,{children:[(0,V.jsx)(o9,{children:(0,V.jsx)(AC,{i18nKey:`Item amount<sup>{{ taxDisclaimer }}</sup>:`,values:{taxDisclaimer:t.find(t=>t.percent===e.taxRate)?.index},components:{sup:(0,V.jsx)(`sup`,{})}})}),(0,V.jsx)(o9,{children:r(e.totalPrice)}),e.refundTotalPrice!==null&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(`span`,{children:n(`Refund amount:`)}),(0,V.jsx)(`span`,{children:r(e.refundTotalPrice)}),e.hasCancellationConfig&&(0,V.jsx)(SZe,{children:n(`Cancellation fee applied`)})]})]})}var EZe=U.div` 4768 display: grid; 4769`;function p9({item:e,taxes:t,labels:n}){let{t:r}=B();return(0,V.jsxs)(EZe,{children:[(0,V.jsxs)(AG,{children:[(0,V.jsxs)(AG,{$gap:1,children:[(0,V.jsxs)(jG,{$rowGap:0,children:[(0,V.jsx)(o9,{children:e.name}),e.type!==Aqe.FULL_PAYMENT&&(0,V.jsx)(p$,{size:`small`,children:r(e.type)}),n]}),(0,V.jsx)(`span`,{children:e.description})]}),(0,V.jsx)(xZe,{item:e})]}),(0,V.jsx)(TZe,{item:e,taxes:t})]})}function DZe({currencyType:e,totalTaxes:t,prices:{toBeRefundedAmount:n}}){let{t:r}=B(),i=m$(e);return(0,V.jsxs)(AG,{$gap:0,children:[(0,V.jsxs)(jG,{$justifyContent:`space-between`,children:[(0,V.jsx)(c9,{children:r(`To be refunded:`)}),(0,V.jsx)(c9,{children:i(n)})]}),t.map(t=>(0,V.jsx)(OZe,{tax:t,currencyType:e},t.percent))]})}var OZe=({tax:e,currencyType:t})=>{let{t:n}=B(),r=m$(t);return(0,V.jsxs)(jG,{$justifyContent:`space-between`,children:[(0,V.jsx)(`span`,{children:n(`incl. {{percent}}% VAT:`,{percent:e.percent})}),(0,V.jsx)(`span`,{children:r(e.amount)})]})},kZe=({cancellationSummaryResource:e})=>{let{t}=B(),n=yH(),r=(e?.totalTaxes??[]).map((e,t)=>({...e,index:t+1}));return(0,V.jsxs)(d9,{children:[(0,V.jsx)(ZN,{children:t(`Cancellation Summary`)}),e.transactionItemsToBeRefunded.length>0&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(c9,{children:t(`To be refunded`)}),(0,V.jsx)(l9,{children:e.transactionItemsToBeRefunded.map((i,a)=>(0,V.jsxs)(I.Fragment,{children:[(0,V.jsx)(p9,{item:i,taxes:r,labels:i.paidAt&&(0,V.jsx)(p$,{size:`small`,children:t(`Paid on {{date}}`,{date:n(BV(i.paidAt))})})}),a+1<e.transactionItemsToBeRefunded.length&&(0,V.jsx)(f9,{})]},i.id??a))})]}),e.transactionItemsAlreadyProcessed.length>0&&(0,V.jsx)(u9,{title:t(`Already refunded`),body:(0,V.jsx)(l9,{children:e.transactionItemsAlreadyProcessed.map((i,a)=>(0,V.jsxs)(I.Fragment,{children:[(0,V.jsx)(p9,{item:i,taxes:r,labels:i.paidAt&&(0,V.jsx)(p$,{size:`small`,color:i.refundTotalPrice?`danger`:`success`,children:t(i.refundTotalPrice?`Refunded on {{date}}`:`Paid on {{date}}`,{date:n(BV(i.paidAt))})})}),a+1<e.transactionItemsAlreadyProcessed.length&&(0,V.jsx)(f9,{})]},i.id??a))})}),(0,V.jsx)(DZe,{prices:e,totalTaxes:e.totalTaxes,currencyType:e.transactionItemsToBeRefunded[0].currencyType})]})},m9=U(YN)` 4770 padding-top: 1.5rem; 4771 padding-bottom: 1.5rem; 4772`,AZe=U.div` 4773 display: flex; 4774 justify-content: end; 4775`,h9=({children:e,step:t,handleSubmit:n,guestAttributeValues:r,submitButtonTitle:i})=>{let{t:a}=B(),{validateStaticStep:o}=O5(),s=(0,I.useMemo)(()=>r5(pJe(t).flatMap(({section:e})=>n5(e)),r),[t,r]);return(0,V.jsx)(aI,{initialValues:s,validate:e=>o(t,e),onSubmit:n,children:(0,V.jsxs)(lI,{children:[t.children.map(e=>e.entityType===`block`?(0,V.jsx)(B5,{block:e.block},`${e.entityType}_${e.block.id}`):(0,V.jsx)(m9,{color:e.section.backgroundColor,children:(0,V.jsx)(l7,{stepId:t.id,section:e.section,validationRules:e.section.validationRules})},`${e.entityType}_${e.section.id}`)),!!e&&(0,V.jsx)(m9,{color:`content`,children:e}),(0,V.jsx)(m9,{color:`content`,children:(0,V.jsx)(AZe,{children:(0,V.jsx)(vI,{children:i||a(`registration.submit`)})})})]})})},g9=()=>{let{t:e}=B(),t=Iy(),{registrationForm:{id:n,guest:r,isCancelable:i,isShopEnabled:a},cancelRegistration:o}=O5(),{data:s,isLoading:c}=kw({queryKey:F8.keys.showConfirmCancellation(n),queryFn:()=>F8.showConfirmCancellation(n).then(e=>e.data.data)}),{data:l,isLoading:u}=kw({enabled:a,queryKey:F8.keys.cancellationSummary(n,r.id),queryFn:()=>F8.getCancellationSummary(n,r.id).then(e=>e.data.data)});return i||t(`../landing-page`),c||!s||a&&(u||!l)?(0,V.jsx)(lD,{}):(0,V.jsx)(h9,{step:s.step,handleSubmit:o,guestAttributeValues:r.guestAttributeValues,submitButtonTitle:e(a?`Accept c
4775ancellation conditions`:`registration.submit`),children:a&&!!l?.transactionItemsToBeRefunded.length&&(0,V.jsx)(kZe,{cancellationSummaryResource:l})})},jZe=({block:e})=>{let{t}=B();return e?(0,V.jsx)(z2,{block:e}):(0,V.jsx)(C5,{headline:t(`Closed registration`),text:t(`This registration is closed.`)})},MZe=()=>{let{t:e}=B(),{registrationForm:t}=O5();return(0,V.jsx)(r9,{headline:e(`Changes confirmed`),text:e(`Your changes will now be reflected in the system.`),blockId:t.editedBlockId})},_9=()=>{let{registrationForm:{id:e},nominateReplacement:t}=O5(),{data:n,isLoading:r}=kw({queryKey:F8.keys.showConfirmReplacement(e),queryFn:()=>F8.showConfirmReplacement(e).then(e=>e.data.data)});return r?(0,V.jsx)(lD,{}):!n||!n.step?null:(0,V.jsx)(h9,{step:n.step,handleSubmit:t})},v9=()=>{let{t:e}=B(),{registrationForm:t}=O5();return(0,V.jsx)(r9,{headline:e(`Replacement nomination received`),text:e(`We will send an invitation to your representative.`),blockId:t.replacedBlockId})},y9=U(YN)` 4776 padding: ${({theme:e})=>e.spacing(4)}; 4777`,NZe=U.div` 4778 display: flex; 4779 justify-content: flex-end; 4780 padding: 0 0 ${({theme:e})=>e.spacing(4)} 0; 4781 gap: ${({theme:e})=>e.spacing(4)}; 4782`,b9=()=>{let{t:e}=B(),t=Iy(),{registrationForm:n,hiddenSteps:r,submitLanding:i,givenConsents:a,landingConsents:o,areConsentsLoading:s,setHasSeenLanding:c}=O5(),l=n.guest.isRegistered,u=n.landingBlockId===null&&!o.length,{regionId:d}=O8();(0,I.useEffect)(()=>{c(!0)},[c]);let f=(0,I.useCallback)(async e=>{let n=i(e);t(`../${n}`)},[t,i]);if(s)return(0,V.jsx)(y9,{color:`content`,children:(0,V.jsx)(lD,{})});if(u){let e=u5(r,n.steps,null);return(0,V.jsx)(P8,{to:`../${e}`,replace:!0})}return(0,V.jsxs)(V.Fragment,{children:[n.landingBlockId&&(0,V.jsx)(v5,{blockId:n.landingBlockId}),(0,V.jsx)(y9,{color:`content`,children:(0,V.jsx)(aI,{initialValues:i5(o,a),onSubmit:f,validate:t=>a5(o,t,e),children:(0,V.jsxs)(lI,{children:[o.length>0&&(0,V.jsx)(_5,{consents:o}),(0,V.jsxs)(NZe,{children:[l?n.isCancelable&&(0,V.jsx)(nz,{to:`../cancel`,children:e(`registration.cancel`)}):n.isDeclinable&&(0,V.jsx)(nz,{to:`../decline`,children:e(`registration.decline`)}),n.isReplacementEnabled&&n.guest.id!==`new`&&(0,V.jsx)(nz,{to:`../nominate-replacement`,children:e(`Nominate replacement`)}),(n.isEditable||!l)&&(0,V.jsx)(vI,{disabled:!d,children:e(l?`registration.update`:`registration.register`)})]})]})})})]})},PZe=U(wG)` 4783 background-color: ${({theme:e})=>e.colors.palette.danger.main.base}; 4784 color: ${({theme:e})=>e.colors.palette.danger.main.contrast}; 4785`,FZe=U(nD)` 4786 height: 1.25rem; 4787 width: 1.25rem; 4788`,IZe=U(TG)` 4789 display: grid; 4790 grid-template-columns: max-content 1fr; 4791 gap: ${({theme:e})=>e.spacing(2)}; 4792 align-items: center; 4793`,x9=({children:e})=>(0,V.jsx)(PZe,{$variant:`outlined`,children:(0,V.jsxs)(IZe,{children:[(0,V.jsx)(FZe,{$icon:`warning`}),e]})}),S9=U.div` 4794 display: flex; 4795 flex-direction: column; 4796 gap: ${({theme:e})=>e.spacing(0)}; 4797`,LZe=U.div` 4798 display: flex; 4799 flex-direction: column; 4800 padding: ${({theme:e})=>e.spacing(4)}; 4801 gap: ${({theme:e})=>e.spacing(2)}; 4802`,RZe=U.div` 4803 display: grid; 4804 flex: 1; 4805 grid-template-columns: 1fr; 4806 4807 ${({theme:e})=>e.breakpoints.tablet} { 4808 gap: ${({theme:e})=>e.spacing(6)}; 4809 grid-template-columns: 1fr 1fr; 4810 } 4811`,zZe=U.div` 4812 padding-left: ${({theme:e})=>e.spacing(4)}; 4813 white-space: nowrap; 4814`,BZe=U.ul` 4815 list-style: none; 4816 4817 & > li { 4818 display: flex; 4819 justify-content: space-between; 4820 } 4821`,VZe=U.div` 4822 display: flex; 4823 justify-content: space-between; 4824 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 4825`,HZe=({currency:e,prices:t,total:n,addedAdditionalPersons:r})=>{let{t:i}=B(),a=(0,I.useMemo)(()=>{let e=[];for(let n=0;n<t.length;n+=7)e.push(t.slice(n,n+7));return e},[t]);return(0,V.jsx)(l$,{currencyType:e??void 0,children:(0,V.jsxs)(LZe,{children:[(0,V.jsxs)(`strong`,{children:[i(`Requested nights`),`:`]}),(0,V.jsx)(RZe,{children:a.map((e,t)=>(0,V.jsx)(BZe,{children:e.map((e,t)=>(0,V.jsxs)(`li`,{children:[(0,V.jsx)(`span`,{children:(0,V.jsx)(bH,{date:e.date})}),e.price&&(0,V.jsx)(zZe,{children:(0,V.jsxs)(`span`,{children:[r?i(`from`)+` `:``,(0,V.jsx)(h$,{value:e.price})]})})]},t))},t))}),n>0&&(0,V.jsxs)(VZe,{children:[(0,V.jsxs)(`span`,{children:[i(`Total price`),`:`]}),(0,V.jsxs)(`span`,{children:[r?i(`from`)+` `:``,(0,V.jsx)(h$,{value:n})]})]})]})})},C9=U.div` 4826 display: grid; 4827 grid-template-columns: 1fr; 4828 grid-auto-rows: max-content; 4829 gap: ${({theme:e})=>e.spacing(4)}; 4830 padding: ${({theme:e})=>e.spacing(4)}; 4831 4832 ${({theme:e})=>e.breakpoints.tablet} { 4833 grid-template-columns: 1fr 1fr; 4834 } 4835`,UZe=U(wG)` 4836 display: grid; 4837 grid-template-columns: 1fr; 4838 gap: ${({theme:e})=>e.spacing(4)}; 4839 background: ${({theme:e})=>e.colors.palette.grey[10]}; 4840 4841 ${C9} { 4842 border: none; 4843 border-bottom: 1px solid ${({theme:e})=>e.colors.palette.grey[20]}; 4844 } 4845 4846 ${({theme:e})=>e.breakpoints.mobile} { 4847 grid-template-columns: 7fr 3fr; 4848 4849 ${C9} { 4850 border: none; 4851 border-right: 1px solid ${({theme:e})=>e.colors.palette.grey[20]}; 4852 } 4853 } 4854`,WZe=({summary:e,formValues:t,heading:n})=>{let r=(0,I.useId)(),{t:i}=B();return(0,V.jsxs)(`li`,{"aria-labelledby":r,children:[(0,V.jsx)(i7,{id:r,children:n}),(0,V.jsxs)(UZe,{$variant:`outlined`,children:[(0,V.jsxs)(C9,{children:[(0,V.jsxs)(S9,{children:[(0,V.jsxs)(U5,{
4854children:[i(`Requested check-in`),`:`]}),(0,V.jsx)(V5,{value:(0,V.jsx)(bH,{date:e.checkIn,format:{...sH,weekday:`short`}})})]}),(0,V.jsxs)(S9,{children:[(0,V.jsxs)(U5,{children:[i(`Requested check-out`),`:`]}),(0,V.jsx)(V5,{value:(0,V.jsx)(bH,{date:e.checkOut,format:{...sH,weekday:`short`}})})]}),e.stayConfiguration.isPreferredHotelSelectable&&(0,V.jsxs)(S9,{children:[(0,V.jsxs)(U5,{children:[i(`Requested hotel`),`:`]}),(0,V.jsx)(V5,{value:e.hotelName})]}),e.stayConfiguration.isPreferredRoomTypeSelectable&&(0,V.jsxs)(S9,{children:[(0,V.jsxs)(U5,{children:[i(`Requested room`),`:`]}),(0,V.jsx)(V5,{value:e.roomTypeName})]}),(0,V.jsxs)(S9,{children:[(0,V.jsxs)(U5,{children:[i(`Remarks for stay`),`:`]}),(0,V.jsx)(V5,{value:t?.remarkByGuest})]}),e.stayConfiguration.allowAdditionalPersons&&(0,V.jsxs)(S9,{children:[(0,V.jsxs)(U5,{children:[i(`Additional person`),`:`]}),(0,V.jsx)(V5,{value:t?.additionalPersonsText})]})]}),(0,V.jsx)(HZe,{currency:e.currency,prices:e.prices,total:e.totalPrice,addedAdditionalPersons:(t?.additionalPersonsText??``)!==``})]})]})},GZe=(e,t,n,r)=>e?r(t?`Booking`:`Inquiry`):r(t?`{{number}}. Booking`:`{{number}}. Inquiry`,{number:n+1}),KZe=({guestId:e,sectionId:t,formValues:n})=>{let{t:r}=B(),{getHotelSummary:i}=O5(),{data:a,isLoading:o}=i(t,{guestId:e===`new`?null:e,hotelStays:n.hotelStays.map(e=>({checkIn:e.checkIn,checkOut:e.checkOut,requestedHotelId:e.requestedHotelId,requestedRoomTypeId:e.requestedRoomTypeId}))});return(0,V.jsxs)(`section`,{children:[(0,V.jsx)(ZN,{children:r(`Hotel stays`)}),(0,V.jsxs)(r7,{children:[o&&(0,V.jsx)(lD,{}),a&&a.map((e,t)=>{let i=n.hotelStays[t],o=i.status===z5.BOOKING||i.status===z5.CANCELLATION_REQUESTED||e.stayConfiguration.wayOfBooking===X5.BOOKING;return(0,V.jsx)(WZe,{summary:e,formValues:i,heading:(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(`span`,{children:GZe(a.length===1,o,t,r)}),i.cancellationRequested&&(0,V.jsx)(p$,{color:`warning`,children:r(`Cancellation requested`)})]})},t)})]}),a&&a.length===0&&(0,V.jsx)(uG,{children:r(`No hotel stays have been selected.`)})]})},w9=({travelInquiry:e})=>{switch(e.type){case`flight`:return(0,V.jsx)(qZe,{travelInquiry:e});case`train`:return(0,V.jsx)(JZe,{travelInquiry:e})}},qZe=({travelInquiry:e})=>{let{t}=B(),n=yH();return(0,V.jsxs)(B7,{children:[(0,V.jsx)(U7,{children:t(`Inquiry`)}),(0,V.jsx)(`span`,{}),(0,V.jsxs)(G7,{label:t(`Departure location`),children:[e.departureLocation?.iataCode,` (`,e.departureLocation?.name,`)`]}),(0,V.jsxs)(G7,{label:t(`Arrival location`),children:[e.arrivalLocation?.iataCode,` (`,e.arrivalLocation?.name,`)`]}),(0,V.jsxs)(G7,{label:t(`Earliest departure time`),children:[n(e.earliestDepartureDate),` `,e.earliestDepartureTime]}),(0,V.jsxs)(G7,{label:t(`Latest arrival time`),children:[n(e.latestArrivalDate),` `,e.latestArrivalTime]}),(0,V.jsx)(G7,{label:t(`Travel type`),children:t(e.type)}),(0,V.jsx)(G7,{label:t(`Remarks`),children:t(e.remarks||`-`)})]})},JZe=({travelInquiry:e})=>{let{t}=B(),n=yH();return(0,V.jsxs)(B7,{children:[(0,V.jsx)(U7,{children:t(`Inquiry`)}),(0,V.jsx)(`span`,{}),(0,V.jsx)(G7,{label:t(`Departure location`),children:e.departureLocation}),(0,V.jsx)(G7,{label:t(`Arrival location`),children:e.arrivalLocation}),(0,V.jsxs)(G7,{label:t(`Earliest departure time`),children:[n(e.earliestDepartureDate),` `,e.earliestDepartureTime]}),(0,V.jsxs)(G7,{label:t(`Latest arrival time`),children:[n(e.latestArrivalDate),` `,e.latestArrivalTime]}),(0,V.jsx)(G7,{label:t(`Travel type`),children:t(e.type)}),(0,V.jsx)(G7,{label:t(`Remarks`),children:t(e.remarks||`-`)})]})},T9=({date:e,time:t,children:n})=>{let r=yH();return(0,V.jsxs)(`div`,{children:[(0,V.jsxs)(`div`,{children:[r(e,{dateStyle:`short`}),`, `,t]}),(0,V.jsx)(`strong`,{children:n})]})},E9=({travelSegment:e,direction:t})=>{switch(e.type){case`car`:return(0,V.jsx)(YZe,{travelSegment:e,direction:t});case`flight`:return(0,V.jsx)(ZZe,{travelSegment:e});case`train`:return(0,V.jsx)(XZe,{travelSegment:e});case`shuttle`:return(0,V.jsx)(QZe,{travelSegment:e})}},YZe=({travelSegment:e,direction:t})=>{let n=yH(),{t:r}=B();return(0,V.jsxs)(B7,{children:[(0,V.jsxs)(G7,{label:r(t===`arrival`?`Arrival time`:`Departure time`),children:[n(t===`arrival`?e.arrivalDate:e.departureDate,{dateStyle:`short`}),`,`,t===`arrival`?e.arrivalTime:e.departureTime]}),(0,V.jsx)(G7,{label:r(`License plate`),children:_7(e)}),(0,V.jsx)(G7,{label:r(`Departure location`),children:e.departureLocation||`-`}),(0,V.jsx)(G7,{label:r(`Arrival location`),children:e.arrivalLocation||`-`}),(0,V.jsx)(G7,{label:r(`Parking spot`),children:e.parkingSpot||`-`}),(0,V.jsx)(G7,{label:r(`Charging station`),children:e.chargingStation||`-`})]})},XZe=({travelSegment:e})=>{let{t}=B();return(0,V.jsxs)(B7,{children:[(0,V.jsx)(T9,{date:e.departureDate,time:e.departureTime,children:e.departureLocation}),(0,V.jsx)(T9,{date:e.arrivalDate,time:e.arrivalTime,children:e.arrivalLocation}),(0,V.jsx)(G7,{label:t(`Train number`),children:_7(e)}),(0,V.jsx)(G7,{label:t(`Service class`),children:e.serviceClass||`-`})]})},ZZe=({travelSegment:e})=>{let{t}=B();return(0,V.jsxs)(B7,{children:[(0,V.jsxs)(T9,{date:e.departureDate,time:e.departureTime,children:[`(`,e.departureLocation?.iataCode,`) `,e.departureLocation?.name]}),(0,V.jsxs)(T9,{date:e.arrivalDate,time:e.arrivalTime,children:[`(`,e.arrivalLocation?.iataCode,`) `,e.arrivalLocation?.name]}),(0,V.jsx)(G7,{label:t(`Flight number`),children:_7(e)}),(0,V.jsx)(G7,{label:t(`Service class`),children:e.serviceClass||`-`})]})},QZe=({travelSegment:e})=>{let{t}=B();return(0,V.jsxs)(B7,{children:[(0,V.jsx)(T9,{date:e.departureDate,time:e.departureTime,children:e.departureLocation}),(0,V.jsx)(G7,{label:t(`Name`),children:_7(e)}),(0,V.jsx)(T9,{date:e.arrivalDate,time:e.arrivalTime,children:e.arrivalLocation})]})},$Ze=U(wG).attrs({$variant:`outlined`})` 4855 display: grid; 4856 background: ${({theme:e})=>e.colors.palette.grey[10]}; 4857 grid-template: 4858 "arrivalHeader" max-content 4859 "arrivalList" 1fr 4860 "departureHeader" max-content 4861 "departureList" 1fr / 1fr; 4862 4863 ${({theme:e})=>e.breakpoints.largeDesktop} { 4864 grid-template: 4865 "arrivalHeader departureHeader" max-content 4866 "arrivalList departureList" 1fr / 1fr 1fr; 4867 } 4868`,D9=U.div` 4869 display: flex; 4870 justify-content: space-between; 4871 align-items: center; 4872 padding: ${({theme:e})=>e.spacing(4)} ${({theme:e})=>e.spacing(6)}; 4873`,O9=U(b7)` 4874 display: flex; 4875 flex-direction: column; 4876 4877 background-color: ${({theme:e})=>e.colors.palette.grey[30]}; 4878`,k9=U.div` 4879 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 4880 padding-bottom: ${({theme:e})=>e.spacing(2)}; 4881`,eQe=U(O9)` 4882 grid-area: arrivalRemarks; 4883`,tQe=U(O9)` 4884 grid-area: departureRemarks; 4885`,nQe=U(D9)` 4886 grid-area: arrivalHeader; 4887 4888 ${({theme:e})=>e.breakpoints.largeDesktop} { 4889 border-right: 1px solid ${({theme:e})=>e.colors.palette.grey[20]}; 4890 } 4891`,rQe=U(D9)` 4892 grid-area: departureHeader; 4893`,A9=U.ul` 4894 display: flex; 4895 flex-direction: column; 4896 list-style: none; 4897 gap: ${({theme:e})=>e.spacing(2)}; 4898 padding: ${({theme:e})=>e.spacing(4)} ${({theme:e})=>e.spacing(6)}; 4899`,iQe=U(A9)` 4900 grid-area: arrivalList; 4901 4902 ${({theme:e})=>e.breakpoints.largeDesktop} { 4903 border-right: 1px solid ${({theme:e})=>e.colors.palette.grey[20]}; 4904 } 4905`,aQe=U(A9)` 4906 grid-area: departureList; 4907`,oQe=U.h2` 4908 color: ${({theme:e})=>e.colors.palette.grey[90]}; 4909 font-weight: ${({theme:e})=>e.fonts.weights.bold}; 4910 font-size: ${({theme:e})=>e.fonts.sizes.large}; 4911`,sQe=({heading:e,travel:t})=>{let{t:n}=B(),r=(0,I.useId)();return(0,V.jsxs)(`section`,{"aria-labelledby":r,children:[(0,V.jsx)(oQe,{id:r,children:e}),(0,V.jsxs)($Ze,{children:[(0,V.jsx)(nQe,{children:(0,V.jsx)(OG,{children:n(`Arrival`)})}),(0,V.jsxs)(iQe,{"aria-label":n(`Arrival`),children:[t.arrivalInquiry&&(0,V.jsx)(`li`,{"aria-label":`${n(`Inquiry`)}: ${n(t.arrivalInquiry.type)}`,children:(0,V.jsx)(w9,{travelInquiry:t.arrivalInquiry})}),t.arrivalTravelTemplate?.travelSegments.map(e=>(0,V.jsx)(`li`,{children:(0,V.jsx)(E9,{travelSegment:e,direction:`arrival`})},e.id)),t.arrivals.map((e,t)=>(0,V.jsx)(`li`,{children:(0,V.jsx)(E9,{travelSegment:e,direction:`arrival`})}
4911,N5(e)?e.id:`form-values ${t}`)),t.arrivalSelfTravel&&(0,V.jsx)(`li`,{"aria-label":n(`Self travel`),children:(0,V.jsxs)(z7,{children:[(0,V.jsx)(`div`,{children:(0,V.jsx)(U7,{children:n(`Self travel`)})}),(0,V.jsx)(V7,{children:(0,V.jsx)(CG,{dateTime:`${t.arrivalSelfTravel.date}T${t.arrivalSelfTravel.time}`})}),t.arrivalSelfTravel.remarks&&(0,V.jsx)(G7,{label:n(`Remarks`),children:t.arrivalSelfTravel.remarks})]})}),t.arrivalRemarks&&(0,V.jsxs)(eQe,{children:[(0,V.jsxs)(k9,{children:[n(`Remarks`),`:`]}),t.arrivalRemarks]})]}),(0,V.jsx)(rQe,{children:(0,V.jsx)(OG,{children:n(`Departure`)})}),(0,V.jsxs)(aQe,{"aria-label":n(`Departure`),children:[t.departureInquiry&&(0,V.jsx)(`li`,{"aria-label":`${n(`Inquiry`)}: ${n(t.departureInquiry.type)}`,children:(0,V.jsx)(w9,{travelInquiry:t.departureInquiry})}),t.departureTravelTemplate?.travelSegments.map(e=>(0,V.jsx)(`li`,{children:(0,V.jsx)(E9,{travelSegment:e,direction:`departure`})},e.id)),t.departures.map((e,t)=>(0,V.jsx)(`li`,{children:(0,V.jsx)(E9,{travelSegment:e,direction:`departure`})}
4911,N5(e)?e.id:`form-values ${t}`)),t.departureSelfTravel&&(0,V.jsx)(`li`,{"aria-label":n(`Self travel`),children:(0,V.jsxs)(z7,{children:[(0,V.jsx)(`div`,{children:(0,V.jsx)(U7,{children:n(`Self travel`)})}),(0,V.jsxs)(V7,{children:[(0,V.jsx)(CG,{dateTime:`${t.departureSelfTravel.date}T${t.departureSelfTravel.time}`}),t.departureSelfTravel.remarks&&(0,V.jsx)(G7,{label:n(`Remarks`),children:t.departureSelfTravel.remarks})]})]})}),t.departureRemarks&&(0,V.jsxs)(tQe,{children:[(0,V.jsxs)(k9,{children:[n(`Remarks`),`:`]}),t.departureRemarks]})]})]})]})},cQe=U.ul` 4912 display: flex; 4913 flex-direction: column; 4914 gap: ${({theme:e})=>e.spacing(6)}; 4915 list-style: none; 4916`,lQe=({travels:e})=>{let{t}=B();return(0,V.jsx)(cQe,{children:e.map((e,n)=>(0,V.jsx)(`li`,{children:(0,V.jsx)(sQe,{travel:e,heading:t(`{{number}}. Travel`,{number:n+1})})},n))})};function uQe(e,t){return Object.entries(e).filter(([e,n])=>{if(e.startsWith(t))return n}).reduce((e,[n,r])=>(e[n.slice(t.length)]=r,e),{})}var dQe=({section:e})=>{let{errors:t,filledSteps:n,companionsByType:r}=O5(),i=r.find(t=>t.id===e.companionSettings.companionType.id),a=(0,I.useMemo)(()=>n5(e).map(U8),[e]);return!i||i.companions.length===0?null:(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(lQ,{children:i.pluralLabel}),i.companions.map((e,r)=>{let o=`companions.${i.singularLabel}${r}.`,s=t&&uQe(t,o);return(0,V.jsx)(wG,{$color:`content`,$variant:`outlined`,children:(0,V.jsx)(W5,{filledSteps:n,companion:e,dataFields:a,errors:s??null})},r)})]})},fQe=U.div` 4917 ${({theme:e})=>e.forms.error}; 4918`,pQe=U.button` 4919 font: inherit; 4920 padding: ${({theme:e})=>e.spacing(8)}; 4921 background: ${({theme:e,$active:t})=>t?e.colors.palette.primary.main.base:e.colors.palette.grey[10]} 4922 none; 4923 color: ${({theme:e,$active:t})=>t?e.colors.palette.primary.main.contrast:`inherit`}; 4924 border: 1px solid ${({theme:e,$active:t})=>t?`transparent`:e.colors.card.background.outline}; 4925 border-radius: 8px; 4926 cursor: pointer; 4927`;function mQe(e,t,n){let r={};return e.transactionItemsToBePaidNow.length>0&&t===null&&(r.paymentProviderId=n(`Field is required`)),r}function hQe({paymentProviders:e}){let t=`paymentProviderId`,[n,r]=cI(t);return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(jG,{children:e.map(e=>(0,V.jsx)(pQe,{type:`button`,$active:n.value===e.id,onClick:()=>n.onChange({target:{name:t,value:e.id}}),children:e.label},e.id))}),r.touched&&r.error&&(0,V.jsx)(fQe,{children:r.error})]})}function gQe({taxes:e}){return(0,V.jsx)(jG,{children:e.map((t,n)=>(0,V.jsxs)(I.Fragment,{children:[(0,V.jsx)(`span`,{children:(0,V.jsx)(AC,{i18nKey:`<sup>{{taxDisclaimer}}</sup> includes {{percent}}% VAT`,values:{taxDisclaimer:n+1,percent:t.percent},components:{sup:(0,V.jsx)(`sup`,{})}})}),n!==e.length-1&&(0,V.jsx)(`span`,{children:`|`})]},t.percent))})}function _Qe({currencyType:e,tobePaidTaxes:t,totalTaxes:n,prices:{alreadyPaidTotalAmount:r,payLaterTotalAmount:i,payNowTotalAmount:a,toBeRefundedAmount:o,totalAmount:s}}){let{t:c}=B(),l=m$(e);return(0,V.jsxs)(AG,{children:[(0,V.jsxs)(AG,{$gap:0,children:[(0,V.jsxs)(jG,{$justifyContent:`space-between`,children:[(0,V.jsxs)(c9,{children:[c(`Total price`),`:`]}),(0,V.jsx)(c9,{children:l(s)})]}),n.map(t=>(0,V.jsx)(j9,{tax:t,currencyType:e},t.percent))]}),(0,V.jsxs)(AG,{$gap:0,children:[(0,V.jsxs)(jG,{$justifyContent:`space-between`,children:[(0,V.jsx)(`span`,{children:c(`Already paid:`)}),(0,V.jsx)(`span`,{children:l(r)})]}),(0,V.jsxs)(jG,{$justifyContent:`space-between`,children:[(0,V.jsx)(`span`,{children:c(`Pay later:`)}
4927),(0,V.jsx)(`span`,{children:l(i)})]})]}),(0,V.jsx)(rK,{}),(0,V.jsxs)(AG,{$gap:0,children:[(0,V.jsxs)(jG,{$justifyContent:`space-between`,children:[(0,V.jsx)(c9,{children:c(`Pay now:`)}),(0,V.jsx)(c9,{children:l(a)})]}),o>0&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(jG,{$justifyContent:`space-between`,children:[(0,V.jsx)(`span`,{children:c(`To be refunded:`)}),(0,V.jsx)(`span`,{children:l(o)})]}),(0,V.jsx)(CZe,{children:c(`Transactions cannot be offset. The refund will be processed separately.`)})]})]}),(0,V.jsx)(AG,{$gap:0,children:t.map(t=>(0,V.jsx)(j9,{tax:t,currencyType:e},t.percent))})]})}var j9=({tax:e,currencyType:t})=>{let{t:n}=B(),r=m$(t);return(0,V.jsxs)(jG,{$justifyContent:`space-between`,children:[(0,V.jsx)(`span`,{children:n(`incl. {{percent}}% VAT:`,{percent:e.percent})}),(0,V.jsx)(`span`,{children:r(e.amount)})]})},vQe=({shopSummaryResource:e})=>{let{t}=B(),n=yH(),r=(0,I.useMemo)(()=>e?e.transactionItemsToBePaidNow.concat(e.transactionItemsToBeRefunded):[],[e]),i=(e?.toBePaidTaxes??[]).map((e,t)=>({...e,index:t+1}));return(0,V.jsxs)(d9,{children:[(0,V.jsx)(ZN,{children:t(`Payment Summary`)}),e.transactionItemsToBePaidNow.length>0&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(c9,{children:t(`To be paid`)}),(0,V.jsx)(l9,{children:e.transactionItemsToBePaidNow.map((t,n)=>(0,V.jsxs)(I.Fragment,{children:[(0,V.jsx)(p9,{item:t,taxes:i}),n+1<e.transactionItemsToBePaidNow.length&&(0,V.jsx)(f9,{})]},t.id??n))})]}),e.transactionItemsToBeRefunded.length>0&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(c9,{children:t(`To be refunded`)}),(0,V.jsx)(l9,{children:e.transactionItemsToBeRefunded.map((r,a)=>(0,V.jsxs)(I.Fragment,{children:[(0,V.jsx)(p9,{item:r,taxes:i,labels:r.paidAt&&(0,V.jsx)(p$,{size:`small`,children:t(`Paid on {{date}}`,{date:n(BV(r.paidAt))})})}),a+1<e.transactionItemsToBeRefunded.length&&(0,V.jsx)(f9,{})]},r.id??a))})]}),e.transactionItemsToBePaidLater.length>0&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(c9,{children:t(`To be paid later`)}),(0,V.jsx)(l9,{children:e.transactionItemsToBePaidLater.map((r,a)=>(0,V.jsxs)(I.Fragment,{children:[(0,V.jsx)(p9,{item:r,taxes:i,labels:r.dueDate&&(0,V.jsx)(p$,{size:`small`,children:t(`Due on {{date}}`,{date:n(BV(r.dueDate))})})}),a+1<e.transactionItemsToBePaidLater.length&&(0,V.jsx)(f9,{})]},r.id??a))})]}),e.transactionItemsAlreadyProcessed.length>0&&(0,V.jsx)(u9,{title:t(`Already processed`),body:(0,V.jsx)(l9,{children:e.transactionItemsAlreadyProcessed.map((r,a)=>(0,V.jsxs)(I.Fragment,{children:[(0,V.jsx)(p9,{item:r,taxes:i,labels:r.paidAt&&(0,V.jsx)(p$,{size:`small`,color:r.refundTotalPrice?`danger`:`success`,children:t(r.refundTotalPrice?`Refunded on {{date}}`:`Paid on {{date}}`,{date:n(BV(r.paidAt))})})}),a+1<e.transactionItemsAlreadyProcessed.length&&(0,V.jsx)(f9,{})]},r.id??a))})}),r.length>0&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(gQe,{taxes:e.toBePaidTaxes}),(0,V.jsx)(_Qe,{prices:e,tobePaidTaxes:e.toBePaidTaxes,totalTaxes:e.totalTaxes,currencyType:r[0].currencyType})]}),e.transactionItemsToBePaidNow.length>0&&(0,V.jsx)(hQe,{paymentProviders:e.paymentProviders})]})},M9=U(YN)` 4928 display: grid; 4929 gap: ${({theme:e})=>e.spacing(4)}; 4930 padding: ${({theme:e})=>e.spacing(4)}; 4931`,yQe=U.div` 4932 display: flex; 4933 justify-content: flex-end; 4934 padding: 0 0 ${({theme:e})=>e.spacing(4)} 0; 4935 gap: ${({theme:e})=>e.spacing(4)}; 4936`,bQe=e=>e.hasSummaryError===void 0,N9=()=>{let{trackSummaryAborted:e,trackRegistrationCompleted:t,trackRegistrationFailed:n}=m8(),{isPreview:r}=O5(),{t:i}=B(),a=Iy(),{regionId:o}=O8(),{dataFieldSettings:{emailId:s}}=s8(),{errors:c,hiddenSteps:l,getHiddenDataFields:u,getHiddenSections:d,filledSteps:f,previousStep:p,submitRegistration:m,registrationForm:h,travels:g,isShopEnabled:_,submitRegistrationFormDataForShopSummary:v}=O5(),y=(0,I.useMemo)(()=>{if(s){let e=Object.values(f).find(e=>e[s]);if(e){let[,t]=e[s].split(`@`);return`@${t}`}}return``},[f,s]),{data:b=[],isLoading:x}=kw({queryKey:[...F8.keys.consentsForSummaryPage(h.id),o??null,y],queryFn:()=>F8.consentsForSummaryPage(h.id,o??null,y).then(e=>e.data.data)}),{data:S,isLoading:C}=kw({enabled:_,queryKey:[`shop-summary`],queryFn:()=>v({summaryPageConsents:{},paymentProviderId:null,shopSummaryHash:null})}),w=d(f),T=u(f),E=m5(h,`travel`,f),D=(0,I.useCallback)(async({consentValues:e,paymentProviderId:r})=>{await m({summaryPageConsents:e,paymentProviderId:r,shopSummaryHash:S?.shopSummaryHash??null})?t(`${h.id}`):n(`${h.id}`)},[m,S,t,h.id,n]),O=(0,I.useCallback)(()=>{let t=p();t!==null&&(e(`${h.id}`,t),a(`../${t}`))},[a,p,h.id,e]);if(S&&!bQe(S))return(0,V.jsx)(M9,{color:`content`,children:(0,V.jsx)(x9,{children:i(`The shop is currently not fully configured. Please contact an administrator.`)})});if(!Object.keys(f).length)return(0,V.jsx)(Ky,{to:`..`});
4936if(x||_&&C&&!S)return(0,V.jsx)(M9,{color:`content`,children:(0,V.jsx)(lD,{})});let k=!!((S?.transactionItemsToBePaidNow.length??0)+(S?.transactionItemsAlreadyProcessed.length??0)+(S?.transactionItemsToBeRefunded.length??0));return(0,V.jsxs)(V.Fragment,{children:[h.summaryBlockId&&(0,V.jsx)(v5,{blockId:h.summaryBlockId}),(0,V.jsx)(M9,{color:`content`,children:h.steps.filter(e=>!l.includes(e.id)).map(e=>{let t=f[e.id]??{},n=t5(e).filter(e=>!w.includes(e.section.id));return(0,V.jsx)(I.Fragment,{children:n.map(({section:e})=>{if(e.type===`companion`)return(0,V.jsx)(dQe,{section:e},e.id);if(e.type===`hotel`&&t.hotelSections?.[e.hotelSettings.hotelStayTypeId])return(0,V.jsx)(KZe,{guestId:h.guest.id===`new`?null:h.guest.id,sectionId:e.id,formValues:t.hotelSections[e.hotelSettings.hotelStayTypeId]},e.id);let n=n5(e).filter(t=>!T.includes(`${e.id}-${t.dataField.id}`)).map(e=>e.dataField);return(0,V.jsx)(I.Fragment,{children:n.map((e,n)=>(0,V.jsxs)(S9,{children:[(0,V.jsxs)(U5,{children:[e.label,`:`]}),(0,V.jsx)(H5,{dataField:e,value:t[e.id],error:c[`dataFieldValues.${n}.value`]})]},e.id))},e.id)})},e.id)})}),!E&&(0,V.jsx)(M9,{color:`content`,children:(0,V.jsx)(lQe,{travels:g})}),(0,V.jsx)(M9,{color:`content`,children:(0,V.jsx)(aI,{initialValues:{consentValues:i5(b),paymentProviderId:null},onSubmit:D,validate:e=>{let t={},n=a5(b,e.consentValues,i),r=S?mQe(S,e.paymentProviderId,i):{};return Object.keys(n).length&&(t.consentValues=n),{...t,...r}},children:(0,V.jsxs)(lI,{children:[_&&S&&k&&(0,V.jsx)(vQe,{shopSummaryResource:S}),b.length>0&&(0,V.jsx)(_5,{name:`consentValues`,consents:b}),(0,V.jsxs)(yQe,{children:[(0,V.jsx)(FE,{type:`button`,onClick:O,children:i(`Back`)}),(0,V.jsx)(vI,{color:`primary`,disabled:r||_&&S===void 0||!o,children:i(_&&(S?.transactionItemsToBePaidNow.length??0)>0?`Submit and pay`:`registration.submit`)})]})]})})})]})},xQe=()=>{let{registrationForm:e,clearRegistration:t}=O5();return(0,I.useEffect)(()=>{t()},[t]),(0,V.jsx)(v5,{blockId:e.waitingListConfirmationBlockId})},P9=()=>{let{registrationForm:{id:e,guest:t,isDeclinable:n},declineRegistration:r}=O5(),{data:i,isLoading:a}=kw({queryKey:F8.keys.showConfirmDeclination(e),queryFn:()=>F8.showConfirmDeclination(e).then(e=>e.data.data)}),o=Iy();return n||o(`../landing-page`),a||!i?(0,V.jsx)(lD,{}):(0,V.jsx)(h9,{step:i.step,handleSubmit:r,guestAttributeValues:t.guestAttributeValues})},SQe=()=>{let{registrationForm:e,clearRegistration:t}=O5();return(0,I.useEffect)(()=>{t()},[t]),(0,V.jsx)(v5,{blockId:e.confirmedBlockId})},F9=`filledSteps`,I9=({registrationForm:e})=>{let[t,n]=(0,I.useState)({}),[r,i]=(0,I.useState)(!1),{get:a,clearObjectStore:o}=A8(),s=e.guest.isRegistered,c=(0,I.useMemo)(()=>p5(e).some(e=>e.type===$.FILE),[e]),l=(0,I.useCallback)(async()=>{let t=sessionStorage.getItem(F9);if(!t){c&&await o(`guest_files`),i(!0);return}let r=JSON.parse(t),s=p5(e);for(let e of Object.keys(r))for(let t of Object.keys(r[+e])){let n=s.find(e=>`${e.id}`==t);if(!n||n.type!==$.FILE)continue;let i=r[+e][t];try{r[+e][t]=await a(`guest_files`,i)}catch{r[+e][t]=null}}n(r),i(!0)},[o,a,c,e]);return(0,I.useEffect)(()=>
4936{l()},[l]),r&&(0,V.jsx)(IJe,{initialFilledSteps:t,registrationForm:e,hasFileField:c,children:(0,V.jsx)(Yy,{children:(0,V.jsxs)(Jy,{element:(0,V.jsx)(CQe,{}),children:[(0,V.jsx)(Jy,{index:!0,element:(0,V.jsx)(P8,{to:`landing-page`,replace:!0})}),(0,V.jsx)(Jy,{path:`landing-page`,element:(0,V.jsx)(b9,{})}),(0,V.jsx)(Jy,{path:`summary`,element:(0,V.jsx)(N9,{})}),(0,V.jsx)(Jy,{path:`success`,element:(0,V.jsx)(_Ze,{})}),(0,V.jsx)(Jy,{path:`edited`,element:(0,V.jsx)(MZe,{})}),(0,V.jsx)(Jy,{path:`decline`,element:(0,V.jsx)(P9,{})}),(0,V.jsx)(Jy,{path:`declined`,element:(0,V.jsx)(i9,{})}),(0,V.jsx)(Jy,{path:`nominate-replacement`,element:(0,V.jsx)(_9,{})}),(0,V.jsx)(Jy,{path:`replaced`,element:(0,V.jsx)(v9,{})}),(0,V.jsx)(Jy,{path:`cancel`,element:(0,V.jsx)(g9,{})}),(0,V.jsx)(Jy,{path:`cancelled`,element:(0,V.jsx)(a9,{})}),(0,V.jsx)(Jy,{path:`confirmed`,element:(0,V.jsx)(SQe,{})}),(0,V.jsx)(Jy,{path:`waiting-list`,element:(0,V.jsx)(xQe,{})}),(e.isEditable||!s)&&(0,V.jsx)(Jy,{path:`:stepId`,element:(0,V.jsx)(n9,{travelSectionSettings:e.travelSectionSettings})})]})})})};function CQe(){let{pathname:e}=My(),{registrationForm:t,filledSteps:n,hasSeenLanding:r,landingConsents:i,areConsentsLoading:a}=O5(),o=t.landingBlockId!==null||i.length;return a?null:o&&Object.keys(n).length===0&&!e.endsWith(`/landing-page`)&&!r?(0,V.jsx)(P8,{to:`/registrations/${t.id}`,replace:!0}):(0,V.jsx)(qy,{})}var wQe=U(gI)` 4937 padding: ${({theme:e})=>e.spacing(5)} 0; 4938`,TQe=U(YN)` 4939 display: grid; 4940 justify-content: center; 4941 align-items: center; 4942`,EQe=U(lI)` 4943 display: grid; 4944`,DQe=({registrationForm:e,block:t})=>{let{t:n}=B(),r=Iy(),{regionId:i}=O8(),[a,o]=(0,I.useState)(null),s=(0,I.useCallback)(async({code:t})=>{let n=await F8.verifyCode(e.id,t);mb(n)&&(o(n.data.data),n.data.data.guest&&sessionStorage.setItem(`registrationToken`,n.data.data.guest.id),r(`../landing-page`))},[r,e.id]),c=(0,I.useCallback)(async({code:e})=>{if(!e)return{code:n(`Field is required`)}},[n]);return a?(0,V.jsx)(I9,{registrationForm:a}):(0,V.jsxs)(V.Fragment,{children:[t&&(0,V.jsx)(z2,{block:t}),(0,V.jsx)(TQe,{children:(0,V.jsx)(aI,{initialValues:{code:``},onSubmit:s,validate:c,children:(0,V.jsxs)(EQe,{children:[!t&&(0,V.jsx)(wQe,{children:n(`Protected registration`)}),(0,V.jsx)(tz,{name:`code`,label:n(`Please type in your code`)}),(0,V.jsx)(vI,{disabled:!i,children:n(`registration.submit`)})]})})})]})},OQe=U.div` 4945 display: flex; 4946 justify-content: center; 4947 align-items: center; 4948 width: 100%; 4949 height: 100%; 4950 flex-direction: column; 4951 gap: ${({theme:e})=>e.spacing(6)}; 4952`;function kQe({paymentLink:e}){let{t}=B();return(0,V.jsxs)(OQe,{children:[(0,V.jsx)(gI,{children:t(`Complete Payment`)}),(0,V.jsx)(`span`,{children:t(`Please click on the button to finalise the payment!`)}),(0,V.jsx)(JN,{color:`primary`,href:e,children:t(`Pay`)})]})}var AQe=U(gI)` 4953 padding: ${({theme:e})=>e.spacing(5)} 0; 4954`,jQe=U(YN)` 4955 display: grid; 4956 justify-content: center; 4957 align-items: center; 4958`,MQe=({block:e})=>{let{t}=B();return e?(0,V.jsx)(z2,{block:e}):(0,V.jsxs)(jQe,{children:[(0,V.jsx)(AQe,{children:t(`Private registration`)}),(0,V.jsx)(`p`,{children:t(`This registration is only accessible through a personal invitation.`)})]})},NQe=({registrationForm:e})=>{let t=Iy();return(0,V.jsx)(S5,{registrationForm:e,onSubmit:async()=>t(`../landing-page`)})},PQe=U(YN)` 4959 margin-top: ${({theme:e})=>e.spacing(5)}; 4960 margin-bottom: ${({theme:e})=>e.spacing(5)}; 4961`,FQe=()=>{let{t:e}=B();return(0,V.jsx)(PQe,{children:(0,V.jsxs)(wG,{children:[(0,V.jsx)(DG,{children:e(`Registration Preview`)}),(0,V.jsx)(TG,{children:e(`The preview ignores all conditions and cannot be submitted`)})]})})},IQe=({registrationForm:e,children:t})=>{let[n]=pb(),r=(0,I.useMemo)(()=>sessionStorage.getItem(`registrationToken`)||n.get(`token`)||``,[n]),[i,a]=(0,I.useState)({}),[o,s]=(0,I.useState)({}),[c,l]=(0,I.useState)([]),[u,d]=(0,I.useState)([]),f={},p=Iy(),{landingConsents:m,isLoading:h}=I8(e.id,null),g=(0,I.useCallback)(async(t,n)=>{let r={...i,[t]:n};return a(r),u5([],e.steps,t)},[i,e.steps]),_=()=>Promise.resolve(!0),v=()=>(p(`./declined`,{replace:!0}),Promise.resolve()),y=()=>(p(`./cancelled`,{replace:!0}),Promise.resolve()),b=()=>(p(`./replaced`,{replace:!0}),Promise.resolve()),x=()=>({}),S=()=>({}),C=(0,I.useCallback)(t=>d5([],e.steps,t??null),[e.steps]),w=(0,I.useCallback)(t=>(s(e=>({...e,...t})),u5([],e.steps,null)),[e.steps]),T=(0,I.useCallback)(e=>{if(c.find(t=>
4961t.id===e.companionType.id)===void 0){c.push({id:e.companionType.id,singularLabel:e.companionType.singularLabel,pluralLabel:e.companionType.pluralLabel,companions:[e.companion]}),l(c);return}let t=c.map(t=>{if(t.id===e.companionType.id){let n=t.companions.map((t,n)=>n===e.index?e.companion:t),r=t.companions.findIndex((t,n)=>e.index===n)>=0?n:n.concat(e.companion);return{...t,companions:r}}return t});l(t)},[c,l]),E=(0,I.useCallback)((e,t)=>{let n=c.map(n=>{if(n.id===t){let t=n.companions.filter((t,n)=>n!==e);return{...n,companions:t}}return n});l(n)},[c,l]),D=(0,I.useCallback)(()=>{s({}),a([]),l([])},[l,s]);(0,I.useEffect)(()=>{r&&r!==sessionStorage.getItem(`token`)&&sessionStorage.setItem(`registrationToken`,r)},[r]);let O=()=>({}),k=()=>({}),A=e=>e=>void 0,j=(e,t)=>e=>void 0,M=(0,I.useCallback)(()=>({data:[{checkIn:SB(new Date,`yyyy-MM-dd`),checkOut:SB(pz(new Date,1),`yyyy-MM-dd`),status:Y5.INQUIRY,hotelName:`Preview Hotel`,roomTypeName:`Preview Room`,currency:{name:`EUR`,isoCode:`EUR`,minorUnit:2},prices:[{date:SB(new Date,`yyyy-MM-dd`),price:1e3}],totalPrice:1e3,stayConfiguration:{hotelStayTypeId:1,earliestCombinedCheckIn:SB(new Date,`yyyy-MM-dd`),latestCombinedCheckOut:SB(pz(new Date,1),`yyyy-MM-dd`),earliestCheckIn:SB(new Date,`yyyy-MM-dd`),latestCheckOut:SB(pz(new Date,1),`yyyy-MM-dd`),prefillCheckInCheckOutInFrontend:!1,minStayPeriods:1,maxStayPeriods:2,maxNights:1,isPreferredHotelSelectable:!0,isPreferredRoomTypeSelectable:!0,showRoomCapacityInFrontend:!0,wayOfBooking:X5.INQUIRY,allowAdditionalPersons:!0,enableQuotaWarning:!1}}],isLoading:!1}),[]);return(0,V.jsx)(D5.Provider,{value:{errors:f,registrationForm:e,validateStep:x,validateStaticStep:S,previousStep:C,submitStep:g,submitRegistration:_,filledSteps:i,givenConsents:o,companionsByType:c,saveCompanion:T,removeCompanion:E,submitLanding:w,hiddenSteps:[],getHiddenSections:()=>[],getHiddenDataFields:()=>[],isPreview:!0,clearRegistration:D,declineRegistration:v,cancelRegistration:y,nominateReplacement:b,travels:u,setTravels:d,landingConsents:m,areConsentsLoading:h,companionFormValidation:O,validateCompanions:k,getStayConfigurationValidation:A,getHotelStayValidation:j,getHotelSummary:M,submitRegistrationFormDataForShopSummary:()=>Promise.resolve({}),isShopEnabled:!1,hasSeenLanding:!0,setHasSeenLanding:()=>{}},children:t})},LQe=()=>{let{registrationId:e=``}=Ly(),{data:t,isLoading:n}=kqe(e);if(n||!t)return(0,V.jsx)(lD,{});let r=t.isEmailGateEnabled?`email-gate`:`landing-page`;return(0,V.jsx)(IQe,{registrationForm:t,children:(0,V.jsx)(Yy,{children:(0,V.jsxs)(Jy,{element:(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(FQe,{}),(0,V.jsx)(qy,{})]}),children:[(0,V.jsx)(Jy,{index:!0,element:(0,V.jsx)(Ky,{to:r,replace:!0})}),t.isEmailGateEnabled&&(0,V.jsx)(Jy,{path:`email-gate`,element:(0,V.jsx)(NQe,{registrationForm:t})}),(0,V.jsx)(Jy,{path:`landing-page`,element:(0,V.jsx)(b9,{})}),(0,V.jsx)(Jy,{path:`summary`,element:(0,V.jsx)(N9,{})}),(0,V.jsx)(Jy,{path:`cancel`,element:(0,V.jsx)(g9,{})}),(0,V.jsx)(Jy,{path:`cancelled`,element:(0,V.jsx)(a9,{})}),(0,V.jsx)(Jy,{path:`decline`,element:(0,V.jsx)(P9,{})}),(0,V.jsx)(Jy,{path:`declined`,element:(0,V.jsx)(i9,{})}),t.isReplacementEnabled&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(Jy,{path:`nominate-replacement`,element:(0,V.jsx)(_9,{})}),(0,V.jsx)(Jy,{path:`replaced`,element:(0,V.jsx)(v9,{})})]}),(0,V.jsx)(Jy,{path:`:stepId`,element:(0,V.jsx)(n9,{travelSectionSettings:t.travelSectionSettings})})]})})})},L9=e=>[`shop`,`transactions`,`${e}`,`complete`],R9=e=>[`shop`,`transactions`,`${e}`,`cancel`],z9={completeTransactionKey:L9,completeTransaction:e=>z.get(hb(L9(e))),cancelTransactionKey:R9,cancelTransaction:e=>z.get(hb(R9(e)))},B9=function(e){return e.PENDING=`PENDING`,e.COMPLETED=`COMPLETED`,e.ERROR=`ERROR`,e.CANCELLED=`CANCELLED`,e}({}),V9=U.div` 4962 display: flex; 4963 width: 100%; 4964 height: 100%; 4965 justify-content: center; 4966 align-items: center; 4967`,RQe=U.div` 4968 display: flex; 4969 justify-content: center; 4970`,zQe=U(TG)` 4971 display: grid; 4972 grid-auto-rows: 1fr; 4973 padding: ${({theme:e})=>e.spacing(10)}; 4974 gap: ${({theme:e})=>e.spacing(2)}; 4975`,BQe=async e=>{for(;;){let t=await e();if(!mb(t))return B9.ERROR;if(t.data.data.status===B9.PENDING)await new Promise(e=>setTimeout(e,1e4));else return t.data.data.status}},H9=({reason:e})=>{let{t}=B(),[n]=pb(),r=n.get(`dgsTransactionId`)||``,i=n.get(`token`)||``,{data:a}=kw({queryKey:z9.completeTransactionKey(r),queryFn:()=>BQe(e===`cancel`?()=>z9.cancelTransaction(r):()=>z9.completeTransaction(r))});if(!a)return(0,V.jsx)(V9,{children:(0,V.jsx)(wG,{$variant:`outlined`,children:(0,V.jsxs)(zQe,{children:[t(`Your payment is being processed...`),(0,V.jsx)(RQe,{children:(0,V.jsx)(lD,{})})]})})});switch(a){case B9.COMPLETED:return(0,V.jsx)(Ky,{to:`../success`,replace:!0});case B9.CANCELLED:return(0,V.jsx)(V9,{children:(0,V.jsxs)(wG,{$variant:`outlined`,children:[(0,V.jsx)(TG,{children:t(`Your payment has been cancelled or did expire. You can return to the registration and try again.`)}),(0,V.jsx)(EG,{children:(0,V.jsx)(nz,{to:{pathname:`../../`,search:`token=${i}`},children:t(`Return to the registration`)})})]})});
4975case B9.ERROR:return(0,V.jsx)(V9,{children:(0,V.jsx)(x9,{children:t(`We're sorry, but an error occurred during your payment. Unfortunately, we cannot process your payment at this time.`)})})}},VQe=()=>(0,V.jsxs)(Yy,{children:[(0,V.jsx)(Jy,{index:!0,element:(0,V.jsx)(HQe,{})}),(0,V.jsxs)(Jy,{path:`/:registrationId/*`,children:[(0,V.jsx)(Jy,{index:!0,element:(0,V.jsx)(P8,{to:`landing-page`,replace:!0})}),(0,V.jsx)(Jy,{path:`payment-callback/success`,element:(0,V.jsx)(H9,{reason:`success`})}),(0,V.jsx)(Jy,{path:`payment-callback/cancel`,element:(0,V.jsx)(H9,{reason:`cancel`})}),(0,V.jsx)(Jy,{path:`*`,element:(0,V.jsx)(UQe,{})})]}),(0,V.jsxs)(Jy,{path:`/preview/:registrationId/*`,children:[(0,V.jsx)(Jy,{index:!0,element:(0,V.jsx)(P8,{to:`landing-page`,replace:!0})}),(0,V.jsx)(Jy,{path:`*`,element:(0,V.jsx)(LQe,{})})]})]}),HQe=()=>{let e=N8(),t=sessionStorage.getItem(`registrationFormId`),{productData:{defaultRegistrationFormId:n}}=s8();return(0,I.useEffect)(()=>{e(t||(n?n.toString():`..`))},[n,e,t]),null},UQe=()=>{let{registrationId:e=``}=Ly(),t=C8(),{data:n,isLoading:r}=Dqe(e,t);return(0,I.useEffect)(()=>{n&&sessionStorage.setItem(`registrationFormId`,n.id.toString())},[n]),r||!n?(0,V.jsx)(lD,{}):Mqe(n)?n.isCodePageEnabled&&!t?(0,V.jsx)(DQe,{registrationForm:n,block:n.co
4975dePageBlock}):(0,V.jsx)(MQe,{block:n.privateBlock}):jqe(n)?(0,V.jsx)(jZe,{block:n.closedBlock}):Nqe(n)?(0,V.jsx)(kQe,{paymentLink:n.paymentLink}):n.isEmailGateEnabled&&!t?(0,V.jsx)(EJe,{registrationForm:n}):(0,V.jsx)(I9,{registrationForm:n})},WQe=U.div` 4976 border: 1px solid ${({theme:e})=>e.colors.palette.background.main.contrast}; 4977 padding: ${({theme:e})=>e.spacing(2)}; 4978 display: grid; 4979 grid-template-columns: max-content max-content max-content; 4980 gap: ${({theme:e})=>e.spacing(2)}; 4981 font-size: ${({theme:e,$small:t})=>t?e.fonts.sizes.small:e.fonts.sizes.normal}; 4982 background-color: white; 4983`,GQe=U.span` 4984 border-right: 1px solid ${({theme:e})=>e.colors.palette.background.main.contrast}; 4985`,KQe=U.span` 4986 font-weight: bold; 4987`,U9=({vehicle:e,small:t=!1})=>(0,V.jsxs)(WQe,{$small:t,children:[(0,V.jsx)(KQe,{children:e.startNumber}),(0,V.jsx)(GQe,{}),(0,V.jsx)(`span`,{children:e.vehicleClassName})]}),W9=[`entrants`],G9=[...W9,`years`],K9={getYearsKey:G9,getYears:()=>z.get(hb(G9)),getEntrantsKey:(e,t)=>[...W9,e,`${t}`],getEntrants:(e,t,n)=>z.post(hb(W9),{yearOfParticipation:e,classId:t},{params:{page:n,perPage:8}}),getWinnersKey:(e,t)=>[...W9,`winners`,e,`${t}`],getWinners:(e,t)=>z.post(hb([...W9,`winners`]),{yearOfParticipation:e,classId:t}),...RC(W9)},qQe=U(YN)` 4988 padding: ${({theme:e})=>e.spacing(16)} ${({theme:e})=>e.spacing(4)}; 4989 display: grid; 4990 grid-template-columns: 1fr; 4991 gap: ${({theme:e})=>e.spacing(8)}; 4992 4993 ${({theme:e})=>e.breakpoints.tablet} { 4994 grid-template-columns: 1fr 1fr; 4995 } 4996`,JQe=U(YN)` 4997 padding: ${({theme:e})=>e.spacing(16)} ${({theme:e})=>e.spacing(4)}; 4998`,YQe=U.div` 4999 display: flex; 5000 flex-direction: column; 5001`,XQe=U(gI)` 5002 line-height: 1; 5003 font-family: ${({theme:e})=>e.fonts.headline}; 5004 text-transform: uppercase; 5005`,ZQe=U.div` 5006 margin-top: ${({theme:e})=>e.spacing(12)}; 5007 display: grid; 5008 grid-template-columns: max-content max-content; 5009 gap: ${({theme:e})=>e.spacing(2)}; 5010`,QQe=U.div` 5011 display: block; 5012 position: relative; 5013 color: inherit; 5014`,$Qe=U.div` 5015 position: absolute; 5016 left: ${({theme:e})=>e.spacing(4)}; 5017 top: ${({theme:e})=>e.spacing(4)}; 5018`,e$e=()=>{let{t:e}=B(),{vehicleId:t=``}=Ly(),{data:n}=kw({queryKey:K9.showKey(t),queryFn:()=>K9.show(t).then(e=>e.data.data)});return n===void 0?null:(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(qQe,{color:`content`,children:[(0,V.jsxs)(`div`,{children:[(0,V.jsxs)(YQe,{children:[(0,V.jsx)(XQe,{children:n.name}),(0,V.jsx)(`span`,{children:n.yearOfManufacturing})]}),(0,V.jsxs)(ZQe,{children:[(0,V.jsxs)(`span`,{children:[e(`Engine`),`:`]}),(0,V.jsx)(`span`,{children:`${n.cylinders??`-`}${n.engineCC?` ${n.engineCC} cc`:``}`}),(0,V.jsxs)(`span`,{children:[e(`Coachwork`),`:`]}),(0,V.jsx)(`span`,{children:`${n.vehicleType??`-`} ${e(`by`)} ${n.coachBuilder}`}),(0,V.jsxs)(`span`,{children:[e(`Entrant`),`:`]}),(0,V.jsx)(`span`,{children:`${n.entrant??`-`}${n.entrantCountry?` (${n.entrantCountry})`:``}`})]})]}),(0,V.jsxs)(QQe,{children:[(0,V.jsx)(f$,{image:n.image}),(0,V.jsx)($Qe,{children:(0,V.jsx)(U9,{vehicle:n})})]})]}),(0,V.jsx)(JQe,{children:(0,V.jsx)(H1,{content:n.info})})]})},t$e=U.div` 5019 border-top: 1px solid 5020 ${({theme:e,$active:t})=>t?e.colors.palette.background.main.contrast:`transparent`}; 5021 border-bottom: 1px solid 5022 ${({theme:e,$active:t})=>t?e.colors.palette.background.main.contrast:`transparent`}; 5023`,n$e=U.button` 5024 color: inherit; 5025 text-decoration: none; 5026 text-align: center; 5027 padding: ${({theme:e})=>e.spacing(2)} ${({theme:e})=>e.spacing(4)}; 5028 border-top: 2px solid ${({theme:e})=>e.colors.palette.background.main.contrast}; 5029 border-bottom: 2px solid ${({theme:e})=>e.colors.palette.background.main.contrast}; 5030 font: inherit; 5031 background-color: inherit; 5032 cursor: pointer; 5033 flex: 1; 5034`,r$e=({activeCategoryId:e,category:t})=>{let[,n]=pb(),r=`${t.id}`===e;return(0,V.jsx)(t$e,{$active:r,children:(0,V.jsx)(n$e,{$active:r,onClick:()=>n({class:`${t.id}`}),children:t.name})})},i$e=U.div` 5035 display: flex; 5036 flex-wrap: wrap; 5037 gap: ${({theme:e})=>e.spacing(8)}; 5038 padding: ${({theme:e})=>e.spacing(8)} 0; 5039`,q9=({activeClassId:e,classes:t})=>(0,V.jsx)(i$e,{children:t.map(t=>(0,V.jsx)(r$e,{category:t,activeCategoryId:e},t.id))}),a$e=U(ub)` 5040 display: block; 5041 position: relative; 5042 color: inherit; 5043`,o$e=U.div` 5044 position: absolute; 5045 left: ${({theme:e})=>e.spacing(4)}; 5046 top: ${({theme:e})=>e.spacing(4)}; 5047`,s$e=({vehicle:e})=>
5047(0,V.jsxs)(a$e,{to:`../details/${e.id}`,children:[(0,V.jsx)(f$,{image:e.image}),(0,V.jsx)(o$e,{children:(0,V.jsx)(U9,{vehicle:e,small:!0})})]}),c$e=U.div` 5048 display: grid; 5049 grid-template-columns: 1fr; 5050 gap: ${({theme:e})=>e.spacing(2)}; 5051 5052 ${({theme:e})=>e.breakpoints.tablet} { 5053 grid-template-columns: 1fr 1fr; 5054 } 5055 5056 ${({theme:e})=>e.breakpoints.desktop} { 5057 grid-template-columns: 1fr 1fr 1fr 1fr; 5058 } 5059`,l$e=({vehicles:e})=>(0,V.jsx)(c$e,{children:e.map(e=>(0,V.jsx)(s$e,{vehicle:e},e.id))}),J9=U(gI)` 5060 font-family: ${({theme:e})=>e.fonts.headline}; 5061 text-align: center; 5062`,u$e=U.div` 5063 display: flex; 5064 justify-content: center; 5065 align-items: center; 5066 padding-top: ${({theme:e})=>e.spacing(16)}; 5067 padding-bottom: ${({theme:e})=>e.spacing(8)}; 5068`,d$e=U.div` 5069 width: 2px; 5070 height: ${({theme:e})=>e.spacing(20)}; 5071 background-color: ${({theme:e})=>e.colors.palette.background.main.contrast}; 5072`,Y9=()=>(0,V.jsx)(u$e,{children:(0,V.jsx)(d$e,{})}),f$e=U.div` 5073 height: ${({theme:e})=>e.spacing(16)}; 5074`,p$e=U.p` 5075 text-align: center; 5076 padding: ${({theme:e})=>e.spacing(8)} 0 ${({theme:e})=>e.spacing(16)} 0; 5077`,m$e=U.div` 5078 display: flex; 5079 justify-content: center; 5080 align-items: center; 5081 padding: ${({theme:e})=>e.spacing(8)} 0; 5082 flex-direction: column; 5083 gap: ${({theme:e})=>e.spacing(4)}; 5084`,h$e=U.button` 5085 background: none; 5086 font: inherit; 5087 cursor: pointer; 5088 display: flex; 5089 flex-direction: column; 5090 gap: ${({theme:e})=>e.spacing(4)}; 5091`,g$e=U.div` 5092 position: relative; 5093 display: flex; 5094 justify-content: center; 5095 5096 & > div { 5097 rotate: 90deg; 5098 position: relative; 5099 top: unset; 5100 left: unset; 5101 right: unset; 5102 color: ${({theme:e})=>e.colors.palette.background.main.contrast}; 5103 } 5104`,_$e=({classes:e,year:t})=>{let{t:n}=B(),[r]=pb(),i=r.get(`class`)||``,{data:a,fetchNextPage:o,isFetchingNextPage:s,hasNextPage:c}=Aw({queryKey:K9.getEntrantsKey(t,i),queryFn:({pageParam:e})=>K9.getEntrants(t,i,e).then(e=>e.data),enabled:i!==``&&t!==``,initialPageParam:1,getNextPageParam:e=>{let t=(e.meta?.current_page||0)+1;if(!(t>(e.meta?.last_page||0)))return t}});return(0,V.jsxs)(YN,{color:`content`,children:[(0,V.jsx)(Y9,{}),(0,V.jsx)(J9,{children:n(`ALL ENTRANTS`,{year:t})}),(0,V.jsxs)(p$e,{children:[n(`Click at the vehicle of your choice to see more information.`),(0,V.jsx)(`br`,{}),n(`You can also use the filter to get the wanted class.`)]}),(0,V.jsx)(q9,{activeClassId:i,classes:e}),a&&(0,V.jsx)(l$e,{vehicles:a.pages.flatMap(e=>e.data)}),c&&(0,V.jsxs)(m$e,{children:[s&&(0,V.jsx)(lD,{}),(0,V.jsxs)(h$e,{disabled:s,onClick:()=>o(),children:[n(`load more`),(0,V.jsx)(g$e,{children:(0,V.jsx)(`div`,{className:`swiper-button-next`})})]})]}),(0,V.jsx)(f$e,{})]})};function X9(e,t){let n=[];for(let r=0;r<e.length;r+=t){let i=e.slice(r,r+t);n.push(i)}return n}var Z9=U.div` 5105 padding: ${({theme:e})=>e.spacing(2)}; 5106 border-top: 1px solid transparent; 5107 border-bottom: 1px solid transparent; 5108`,v$e=U(db)` 5109 color: inherit; 5110 text-decoration: none; 5111 text-align: center; 5112 border-top: 2px solid ${({theme:e})=>e.colors.palette.background.main.contrast}; 5113 border-bottom: 2px solid ${({theme:e})=>e.colors.palette.background.main.contrast}; 5114 5115 &.active > ${Z9} { 5116 border-top: 1px solid ${({theme:e})=>e.colors.palette.background.main.contrast}; 5117 border-bottom: 1px solid ${({theme:e})=>e.colors.palette.background.main.contrast}; 5118 } 5119`,y$e=({vehicleYear:e})=>(0,V.jsx)(v$e,{to:`../${e.year}?class=${e.vehicleClasses[0].id}`,children:(0,V.jsx)(Z9,{children:e.year})}),b$e=U.div` 5120 position: relative; 5121 width: 100%; 5122 5123 & .swiper-button-next { 5124 color: ${({theme:e})=>e.colors.palette.background.main.contrast}; 5125 right: 0; 5126 } 5127 5128 & .swiper-button-prev { 5129 color: ${({theme:e})=>e.colors.palette.background.main.contrast}; 5130 left: 0; 5131 } 5132`,x$e=U.div` 5133 display: grid; 5134 grid-auto-flow: column; 5135 grid-auto-columns: 1fr; 5136 gap: 1rem; 5137 margin: 0 2rem; 5138 5139 ${({theme:e})=>e.breakpoints.tablet} { 5140 gap: 2rem; 5141 margin: 0 2rem; 5142 } 5143 5144 ${({theme:e})=>e.breakpoints.desktop} { 5145 gap: 4rem; 5146 margin: 0 3rem; 5147 } 5148`,S$e=({years:e})=>{let t=uK(),n=X9(e,t===`mobile`?2:t===`tablet`?3:5);return(0,V.jsx)(b$e,{children:(0,V.jsx)(I3,{navigation:!0,modules:[n3],className:`mySwi
5148per`,children:n.map((e,t)=>(0,V.jsx)(L3,{children:(0,V.jsx)(x$e,{children:e.map(e=>(0,V.jsx)(y$e,{vehicleYear:e},e.year))})},t))})})},C$e=U(YN)` 5149 padding: ${({theme:e})=>e.spacing(16)} ${({theme:e})=>e.spacing(5)}; 5150`,w$e=U.div` 5151 height: ${({theme:e})=>e.spacing(12)}; 5152`,T$e=({years:e})=>{let{t}=B();return(0,V.jsxs)(C$e,{children:[(0,V.jsx)(J9,{children:t(`ENTRANTS & WINNERS`)}),(0,V.jsx)(w$e,{}),(0,V.jsx)(S$e,{years:e})]})},E$e=U.div` 5153 width: 100vw; 5154`,D$e=U(ub)` 5155 color: ${({theme:e})=>e.colors.palette.content.main.contrast}; 5156 display: grid; 5157 grid-auto-flow: row; 5158 grid-auto-rows: max-content; 5159 gap: ${({theme:e})=>e.spacing(4)}; 5160 grid-auto-columns: 1fr; 5161 text-decoration: none; 5162`,O$e=U.div` 5163 position: relative; 5164`,k$e=U.img` 5165 width: 100%; 5166`,A$e=U(ZN)` 5167 font-family: ${({theme:e})=>e.fonts.headline}; 5168 text-transform: uppercase; 5169`,Q9=U.div` 5170 display: flex; 5171 flex-direction: column; 5172 align-items: center; 5173`,j$e=U.div` 5174 display: flex; 5175 flex-direction: column; 5176`,M$e=U.span` 5177 text-transform: uppercase; 5178`,N$e=U.div` 5179 position: absolute; 5180 left: ${({theme:e})=>e.spacing(4)}; 5181 top: ${({theme:e})=>e.spacing(4)}; 5182`,P$e=({vehicle:e})=>{let{t}=B();return(0,V.jsxs)(D$e,{to:`../details/${e.id}`,children:[(0,V.jsxs)(O$e,{children:[(0,V.jsx)(N$e,{children:(0,V.jsx)(U9,{vehicle:e})}),(0,V.jsx)(k$e,{alt:e.name,src:e.image.url})]}),(0,V.jsxs)(Q9,{children:[(0,V.jsx)(A$e,{children:t(e.headline)}),e.text&&(0,V.jsx)(`span`,{children:t(e.text)})]}),(0,V.jsxs)(Q9,{children:[(0,V.jsx)(M$e,{children:e.name}),(0,V.jsx)(`span`,{children:e.yearOfManufacturing})]}),(0,V.jsxs)(j$e,{children:[(0,V.jsx)(`span`,{children:`${e.cylinders??`-`}${e.engineCC?` ${e.engineCC} cc`:``}`}),(0,V.jsx)(`span`,{children:`${t(`Coachwork`)}: ${e.vehicleType??`-`} ${t(`by`)} ${e.coachBuilder}`}),(0,V.jsx)(`span`,{children:`${t(`Entrant`)}: ${e.entrant??`-`}${e.entrantCountry?` (${e.entrantCountry})`:``}`})]})]})},F$e=U(YN)` 5183 & .swiper-button-next { 5184 color: ${({theme:e})=>e.colors.palette.background.main.contrast}; 5185 right: 0; 5186 } 5187 5188 & .swiper-button-prev { 5189 color: ${({theme:e})=>e.colors.palette.background.main.contrast}; 5190 left: 0; 5191 } 5192`,I$e=U.div` 5193 display: grid; 5194 grid-template-columns: 1fr; 5195 gap: ${({theme:e})=>e.spacing(4)}; 5196 margin: 0 2rem; 5197 5198 ${({theme:e})=>e.breakpoints.desktop} { 5199 grid-template-columns: 1fr 1fr; 5200 } 5201`,L$e=U.div` 5202 margin-bottom: ${({theme:e})=>e.spacing(12)}; 5203`,R$e=U(I3)` 5204 margin-top: ${({theme:e})=>e.spacing(12)}; 5205`,$9=({vehicleClassId:e,vehicleClasses:t,vehicles:n,headline:r,withClassNav:i})=>{let a=uK()===`mobile`?1:2;return(0,V.jsxs)(F$e,{color:`content`,children:[(0,V.jsx)(Y9,{}),(0,V.jsx)(J9,{children:r}),i&&(0,V.jsx)(L$e,{children:(0,V.jsx)(q9,{activeClassId:e,classes:t})}),(0,V.jsx)(R$e,{navigation:!0,modules:[n3],className:`mySwiper`,children:X9(n,a).map((e,t)=>(0,V.jsx)(L3,{children:(0,V.jsx)(I$e,{children:e.map(e=>(0,V.jsx)(P$e,{vehicle:e},`class_winners_${e.id}`))})},t))})]})},z$e=({years:e})=>{let{t}=B(),{year:n=``}=Ly(),r=e.find(e=>e.year===parseInt(n))?.vehicleClasses,[i]=pb(),a=i.get(`class`)||``,{data:o}=kw({queryKey:K9.getWinnersKey(n,a),queryFn:()=>K9.getWinners(n,a).then(e=>e.data.data)});if(r!==void 0)return(0,V.jsxs)(E$e,{children:[(0,V.jsx)(T$e,{years:e}),a!==``&&o!==void 0&&o.winners.length>0&&(0,V.jsx)($9,{headline:t(`CLASS WINNERS`,{year:n}),vehicleClassId:a,vehicleClasses:r,vehicles:o.winners,withClassNav:!0}),a!==``&&o!==void 0&&o.specialPrizes.length>0&&(0,V.jsx)($9,{headline:t(`SPECIAL PRIZES`,{year:n}),vehicleClassId:a,vehicleClasses:r,vehicles:o.specialPrizes,withClassNav:!1}),(0,V.jsx)(_$e,{year:n,classes:r}),(0,V.jsx)(b5,{slug:`interview-winners-${n}`}),(0,V.jsx)(b5,{slug:`learn_more`})]})},B$e=()=>{let{data:e}=kw({queryKey:K9.getYearsKey,queryFn:()=>K9.getYears().then(e=>e.data.data)});return e===void 0?null:(0,V.jsxs)(Yy,{children:[(0,V.jsx)(Jy,{index:!0,element:(0,V.jsx)(Ky,{to:`${e[0].year}?class=${e[0].vehicleClasses[0].id}`})}),(0,V.jsx)(Jy,{path:`details/:vehicleId`,element:(0,V.jsx)(e$e,{})}),(0,V.jsx)(Jy,{path:`:year`,element:(0,V.jsx)(z$e,{years:e})})]})},V$e=Ire(Yy),H$e=()=>(0,V.jsx)(_ae,{children:(0,V.jsx)(eqe,{children:(0,V.jsx)(V$e,{children:(0,V.jsxs)(Jy,{element:(0,V.jsx)(wqe,{}),children:[(0,V.jsx)(Jy,{index:!0,element:(0,V.jsx)(lD,{})}),(0,V.jsx)(Jy,{path:`blocks/:slug`,element:(0,V.jsx)(tqe,{})}),(0,V.jsx)(Jy,{path:`initiate-registration/:guestId`,element:(0,V.jsx)(Tqe,{})}),(0,V.jsx)(Jy,{path:`registrations/*`,element:(0,V.jsx)(VQe,{})}),(0,V.jsx)(Jy,{path:`entrants/*`,element:(0,V.jsx)(B$e,{})}),(0,V.jsx)(Jy,{path:`*`,element:(0,V.jsx)(Ky,{to:`/`,replace:!0})})]})})})}),U$e=()=>(0,V.jsx)(H$e,{}),W$e=document.getElementById(`root`),G$e=(0,lse.createRoot)(W$e);tre({dsn:`https://[email protected]/18`,integrations:[Lre({useEffect:I.useEffect,useLocation:My,useNavigationType:Ny,createRoutesFromChildren:Xy,matchRoutes:$v}),wne()],tracesSampleRate:`0.1`,environment:`production`,release:void 0,enabled:v8.mode===`production`}),G$e.render((0,V.jsx)(I.StrictMode,{children:(0,V.jsx)(U$e,{})})); 5206//# sourceMappingURL=index-BaW9JVCN.js.map
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.