PageSourceSearch

https://editions-meduza.fr/build/834.29567e02.js

js editions-meduza.fr collected 2026-09-25 13:19:36 UTC 200,077 bytes, 2 lines download raw bytes

1/*! For license information please see 834.29567e02.js.LICENSE.txt */
2(self.webpackChunk=self.webpackChunk||[]).push([[834],{3626:function(e,t,n){"use strict";n.d(t,{Aq:function(){return Fl},q5:function(){return kl},wx:function(){return Ul}});var r=Object.defineProperty,i=Object.defineProperties,o=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,u=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c=(e,t)=>{for(var n in t||(t={}))s.call(t,n)&&u(e,n,t[n]);if(a)for(var n of a(t))l.call(t,n)&&u(e,n,t[n]);return e},h=(e,t)=>{var n={};for(var r in e)s.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&a)for(var r of a(e))t.indexOf(r)<0&&l.call(e,r)&&(n[r]=e[r]);return n},d=(e=>(e.PaymentPlans="PaymentPlans",e.Modal="Modal",e))(d||{}),m=(e=>(e.PENDING="pending",e.SUCCESS="success",e.FAILED="failed",e))(m||{}),p=(e=>(e.en="en",e["fr-FR"]="fr-FR",e.fr="fr",e["de-DE"]="de-DE",e.de="de",e.it="it",e["it-IT"]="it-IT",e.es="es",e["es-ES"]="es-ES",e.pt="pt",e["pt-PT"]="pt-PT",e.nl="nl",e["nl-NL"]="nl-NL",e["nl-BE"]="nl-BE",e))(p||{});function f(e){return Math.round(100*e)}function g(e){return Number((e/100).toFixed(2))}function y(e){return String(g(e)).replace(".",",")}const _=e=>1===(null==e?void 0:e.installments_count)&&0===(null==e?void 0:e.deferred_days)&&0===(null==e?void 0:e.deferred_months);var v;"function"!=typeof(v=window.Element.prototype).matches&&(v.matches=v.msMatchesSelector||v.mozMatchesSelector||v.webkitMatchesSelector||function(e){const t=this,n=(t.document||t.ownerDocument).querySelectorAll(e);let r=0;for(;n[r]&&n[r]!==t;)++r;return!!n[r]}),"function"!=typeof v.closest&&(v.closest=function(e){let t=this;for(;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null}),"".trim||(String.prototype.trim=function(){return this.replace(/^[\s]+|[\s]+$/g,"")}),function(e){e.DOMException||((DOMException=function(e){this.message=e}).prototype=new Error);const t=/[\11\12\14\15\40]/;let n=0;const r=function(e,r){if(""===r)throw new DOMException(`Failed to execute '${e}' on 'DOMTokenList': The token provided must not be empty.`);if(-1!==(n=r.search(t)))throw new DOMException(`Failed to execute '${e}' on 'DOMTokenList': The token provided ('${r[n]}') contains HTML space characters, which are not valid in tokens.`)};var i,o;"function"!=typeof DOMTokenList&&function(e){const n=e.document,i=e.Object,o=i.prototype.hasOwnProperty,a=i.defineProperty;let s=0,l=0;const u=function(){if(!s)throw TypeError("Illegal constructor")};function c(){const n=e.event,r=n.propertyName;if(!l&&("className"===r||"classList"===r&&!a)){const e=n.srcElement,a=e[" uCLp"],u=`${e[r]}`,c=u.trim().split(t),h=e["classList"===r?" uCL":"classList"],d=a.length;e:for(var i=0,o=a.length=c.length,s=0;i!==o;++i){for(let e=0;e!==i;++e)if(c[e]===c[i]){s++;continue e}h[i-s]=c[i]}for(let e=o-s;e<d;++e)delete h[e];if("classList"!==r)return;l=1,e.classList=h,e.className=u,l=0,h.length=c.length-s}}function h(e){if(!e||!("innerHTML"in e))throw TypeError("Illegal invocation");e.detachEvent("onpropertychange",c),s=1;try{var n=function(){};n.prototype=new u}finally{s=0}const r=n.prototype,i=new n;e:for(var o=e.className.trim().split(t),h=0,d=o.length,m=0;h!==d;++h){for(let e=0;e!==h;++e)if(o[e]===o[h]){m++;continue e}this[h-m]=o[h]}r.length=d-m,r.value=e.className,r[" uCL"]=e,a?(a(e,"classList",{enumerable:1,get(){return i},configurable:0,set(n){l=1,e.className=r.value=n+="",l=0;const o=n.trim().split(t),a=r.length;e:for(var s=0,u=r.length=o.length,c=0;s!==u;++s){for(let e=0;e!==s;++e)if(o[e]===o[s]){c++;continue e}i[s-c]=o[s]}for(let e=u-c;e<a;++e)delete i[e]}}),a(e," uCLp",{enumerable:0,configurable:0,writeable:0,value:n.prototype}),a(r," uCL",{enumerable:0,configurable:0,writeable:0,value:e})):(e.classList=i,e[" uCL"]=i,e[" uCLp"]=n.prototype),e.attachEvent("onpropertychange",c)}u.prototype.toString=u.prototype.toLocaleString=function(){return this.value},u.prototype.add=function(){e:for(var e=0,t=arguments.length,n="",i=this[" uCL"],o=i[" uCLp"];e!==t;++e){r("add",n=`${arguments[e]}`);for(var a=0,s=o.length,u=n;a!==s;++a){if(this[a]===n)continue e;u+=` ${this[a]}`}this[s]=n,o.length+=1,o.value=u}l=1,i.className=o.value,l=0},u.prototype.remove=function(){for(var e=0,t=arguments.length,n="",i=this[" uCL"],o=i[" uCLp"];e!==t;++e){r("remove",n=`${arguments[e]}`);for(var a=0,s=o.length,u="",c=0;a!==s;++a)c?this[a-1]=this[a]:this[a]!==n?u+=`${this[a]} `:c=1;c&&(delete this[s],o.length-=1,o.value=u)}l=1,i.className=o.value,l=0},e.DOMTokenList=u;try{e.Object.defineProperty(e.Element.prototype,"classList",{enumerable:1,get(e){return o.call(this,"classList")||h(this),this.classList},configurable:0,set(e){this.className=e}})}catch(t){e[" uCL"]=h,n.documentElement.firstChild.appendChild(n.createElement("style")).styleSheet.cssText='_*{x-uCLp:expression(!this.hasOwnProperty("classList")&&window[" uCL"](this))}[class]{x-uCLp/**/:expression(!this.hasOwnProperty("classList")&&window[" uCL"](this))}'}}(e),i=e.DOMTokenList.prototype,o=e.document.createElement("div").classList,i.item||(i.item=function(e){return void 0===(t=this[e])?null:t;var t}),(!i.toggle||!1!==o.toggle("a",0))&&(i.toggle=function(e){if(arguments.length>1)return this[arguments[1]?"add":"remove"](e),!!arguments[1];const t=this.value;
2return this.remove(t),t===this.value&&(this.add(e),!0)}),(!i.replace||"boolean"!=typeof o.replace("a","b"))&&(i.replace=function(e,t){r("replace",e),r("replace",t);const n=this.value;return this.remove(e),this.value!==n&&(this.add(t),!0)}),i.contains||(i.contains=function(e){for(let t=0,n=this.length;t!==n;++t)if(this[t]===e)return!0;return!1}),i.forEach||(i.forEach=function(e){if(1===arguments.length)for(var t=0,n=this.length;t!==n;++t)e(this[t],t,this);else{t=0,n=this.length;for(var r=arguments[1];t!==n;++t)e.call(r,this[t],t,this)}}),i.entries||(i.entries=function(){const e=this;return{next(){return 0<e.length?{value:[0,e[0]],done:!1}:{done:!0}}}}),i.values||(i.values=function(){const e=this;return{next(){return 0<e.length?{value:e[0],done:!1}:{done:!0}}}}),i.keys||(i.keys=function(){const e=this;return{next(){return 0<e.length?{value:0,done:!1}:{done:!0}}}})}(window);var b,E,C,w,S,A,P,T,O,N,I,x={},M=[],L=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,R=Array.isArray;function H(e,t){for(var n in t)e[n]=t[n];return e}function D(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function B(e,t,n){var r,i,o,a={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?b.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===a[o]&&(a[o]=e.defaultProps[o]);return k(e,a,r,i,null)}function k(e,t,n,r,i){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==i?++C:i,__i:-1,__u:0};return null==i&&null!=E.vnode&&E.vnode(o),o}function F(){return{current:null}}function U(e){return e.children}function j(e,t){this.props=e,this.context=t}function G(e,t){if(null==t)return e.__?G(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?G(e):null}function W(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return W(e)}}function z(e){(!e.__d&&(e.__d=!0)&&w.push(e)&&!V.__r++||S!==E.debounceRendering)&&((S=E.debounceRendering)||A)(V)}function V(){var e,t,n,r,i,o,a,s;for(w.sort(P);e=w.shift();)e.__d&&(t=w.length,r=void 0,o=(i=(n=e).__v).__e,a=[],s=[],n.__P&&((r=H({},i)).__v=i.__v+1,E.vnode&&E.vnode(r),Q(n.__P,r,i,n.__n,n.__P.namespaceURI,32&i.__u?[o]:null,a,null==o?G(i):o,!!(32&i.__u),s),r.__v=i.__v,r.__.__k[r.__i]=r,ee(a,r,s),r.__e!=o&&W(r)),w.length>t&&w.sort(P));V.__r=0}function $(e,t,n,r,i,o,a,s,l,u,c){var h,d,m,p,f,g=r&&r.__k||M,y=t.length;for(n.__d=l,function(e,t,n){var r,i,o,a,s,l=t.length,u=n.length,c=u,h=0;for(e.__k=[],r=0;r<l;r++)null!=(i=t[r])&&"boolean"!=typeof i&&"function"!=typeof i?(a=r+h,(i=e.__k[r]="string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?k(null,i,null,null,null):R(i)?k(U,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?k(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,o=null,-1!==(s=i.__i=Z(i,n,a,c))&&(c--,(o=n[s])&&(o.__u|=131072)),null==o||null===o.__v?(-1==s&&h--,"function"!=typeof i.type&&(i.__u|=65536)):s!==a&&(s==a-1?h--:s==a+1?h++:(s>a?h--:h++,i.__u|=65536))):i=e.__k[r]=null;if(c)for(r=0;r<u;r++)null!=(o=n[r])&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=G(o)),ne(o,o))}(n,t,g),l=n.__d,h=0;h<y;h++)null!=(m=n.__k[h])&&(d=-1===m.__i?x:g[m.__i]||x,m.__i=h,Q(e,m,d,i,o,a,s,l,u,c),p=m.__e,m.ref&&d.ref!=m.ref&&(d.ref&&te(d.ref,null,m),c.push(m.ref,m.__c||p,m)),null==f&&null!=p&&(f=p),65536&m.__u||d.__k===m.__k?l=q(m,l,e):"function"==typeof m.type&&void 0!==m.__d?l=m.__d:p&&(l=p.nextSibling),m.__d=void 0,m.__u&=-196609);n.__d=l,n.__e=f}function q(e,t,n){var r,i;if("function"==typeof e.type){for(r=e.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=e,t=q(r[i],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=G(e)),n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function X(e,t){return t=t||[],null==e||"boolean"==typeof e||(R(e)?e.some((function(e){X(e,t)})):t.push(e)),t}function Z(e,t,n,r){var i=e.key,o=e.type,a=n-1,s=n+1,l=t[n];if(null===l||l&&i==l.key&&o===l.type&&!(131072&l.__u))return n;if(r>(null==l||131072&l.__u?0:1))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&!(131072&l.__u)&&i==l.key&&o===l.type)return a;a--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&i==l.key&&o===l.type)return s;s++}}return-1}function K(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||L.test(t)?n:n+"px"}function Y(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||K(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||K(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||"onFocusOut"===t||"onFocusIn"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=T,e.addEventListener(t,o?N:O,o)):e.removeEventListener(t,o?N:O,o);else{if("http://www.w3.org/2000/svg"==i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function J(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=T++;else if(t.t<n.u)return;return n(E.event?E.event(t):t)}}}function Q(e,t,n,r,i,o,a,s,l,u){var c,h,d,m,p,f,g,y,_,v,C,w,S,A,P,T,O=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(l=!!(32&n.__u),o=[s=t.__e=n.__e]),(c=E.__b)&&c(t);e:if("function"==typeof O)try{if(y=t.props,_="prototype"in O&&O.prototype.render,v=(c=O.contextType)&&r[c.__c],C=c?v?v.props.value:c.__:r,n.__c?g=(h=t.__c=n.__c).__=h.__E:(_?t.__c=h=new O(y,C):(t.__c=h=new j(y,C),h.constructor=O,h.render=re),v&&v.sub(h),h.props=y,h.state||(h.state={}
vendor: 4,442 bytes, line 2
2),h.context=C,h.__n=r,d=h.__d=!0,h.__h=[],h._sb=[]),_&&null==h.__s&&(h.__s=h.state),_&&null!=O.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=H({},h.__s)),H(h.__s,O.getDerivedStateFromProps(y,h.__s))),m=h.props,p=h.state,h.__v=t,d)_&&null==O.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),_&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(_&&null==O.getDerivedStateFromProps&&y!==m&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(y,C),!h.__e&&(null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(y,h.__s,C)||t.__v===n.__v)){for(t.__v!==n.__v&&(h.props=y,h.state=h.__s,h.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some((function(e){e&&(e.__=t)})),w=0;w<h._sb.length;w++)h.__h.push(h._sb[w]);h._sb=[],h.__h.length&&a.push(h);break e}null!=h.componentWillUpdate&&h.componentWillUpdate(y,h.__s,C),_&&null!=h.componentDidUpdate&&h.__h.push((function(){h.componentDidUpdate(m,p,f)}))}if(h.context=C,h.props=y,h.__P=e,h.__e=!1,S=E.__r,A=0,_){for(h.state=h.__s,h.__d=!1,S&&S(t),c=h.render(h.props,h.state,h.context),P=0;P<h._sb.length;P++)h.__h.push(h._sb[P]);h._sb=[]}else do{h.__d=!1,S&&S(t),c=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++A<25);h.state=h.__s,null!=h.getChildContext&&(r=H(H({},r),h.getChildContext())),_&&!d&&null!=h.getSnapshotBeforeUpdate&&(f=h.getSnapshotBeforeUpdate(m,p)),$(e,R(T=null!=c&&c.type===U&&null==c.key?c.props.children:c)?T:[T],t,n,r,i,o,a,s,l,u),h.base=t.__e,t.__u&=-161,h.__h.length&&a.push(h),g&&(h.__E=h.__=null)}catch(e){if(t.__v=null,l||null!=o){for(t.__u|=l?160:128;s&&8===s.nodeType&&s.nextSibling;)s=s.nextSibling;o[o.indexOf(s)]=null,t.__e=s}else t.__e=n.__e,t.__k=n.__k;E.__e(e,t,n)}else null==o&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,r,i,o,a,s,l){var u,c,h,d,m,p,f,g=n.props,y=t.props,_=t.type;if("svg"===_?i="http://www.w3.org/2000/svg":"math"===_?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),null!=o)for(u=0;u<o.length;u++)if((m=o[u])&&"setAttribute"in m==!!_&&(_?m.localName===_:3===m.nodeType)){e=m,o[u]=null;break}if(null==e){if(null===_)return document.createTextNode(y);e=document.createElementNS(i,_,y.is&&y),s&&(E.__m&&E.__m(t,o),s=!1),o=null}if(null===_)g===y||s&&e.data===y||(e.data=y);else{if(o=o&&b.call(e.childNodes),g=n.props||x,!s&&null!=o)for(g={},u=0;u<e.attributes.length;u++)g[(m=e.attributes[u]).name]=m.value;for(u in g)if(m=g[u],"children"!=u)if("dangerouslySetInnerHTML"==u)h=m;else if(!(u in y)){if("value"==u&&"defaultValue"in y||"checked"==u&&"defaultChecked"in y)continue;Y(e,u,null,m,i)}for(u in y)m=y[u],"children"==u?d=m:"dangerouslySetInnerHTML"==u?c=m:"value"==u?p=m:"checked"==u?f=m:s&&"function"!=typeof m||g[u]===m||Y(e,u,m,g[u],i);if(c)s||h&&(c.__html===h.__html||c.__html===e.innerHTML)||(e.innerHTML=c.__html),t.__k=[];else if(h&&(e.innerHTML=""),$(e,R(d)?d:[d],t,n,r,"foreignObject"===_?"http://www.w3.org/1999/xhtml":i,o,a,o?o[0]:n.__k&&G(n,0),s,l),null!=o)for(u=o.length;u--;)D(o[u]);s||(u="value","progress"===_&&null==p?e.removeAttribute("value"):void 0!==p&&(p!==e[u]||"progress"===_&&!p||"option"===_&&p!==g[u])&&Y(e,u,p,g[u],i),u="checked",void 0!==f&&f!==e[u]&&Y(e,u,f,g[u],i))}return e}(n.__e,t,n,r,i,o,a,l,u);(c=E.diffed)&&c(t)}function ee(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)te(n[r],n[++r],n[++r]);E.__c&&E.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){E.__e(e,t.__v)}}))}function te(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(e){E.__e(e,n)}}function ne(e,t,n){var r,i;if(E.unmount&&E.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||te(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){E.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&ne(r[i],t,n||"function"!=typeof e.type);n||D(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function re(e,t,n){return this.constructor(e,n)}function ie(e,t,n){var r,i,o,a;E.__&&E.__(e,t),i=(r="function"==typeof n)?null:n&&n.__k||t.__k,o=[],a=[],Q(t,e=(!r&&n||t).__k=B(U,null,[e]),i||x,x,t.namespaceURI,!r&&n?[n]:i?null:t.firstChild?b.call(t.childNodes):null,o,!r&&n?n:i?i.__e:t.firstChild,r,a),ee(o,e,a)}function oe(e,t){ie(e,t,oe)}function ae(e,t,n){var r,i,o,a,s=H({},e.props);for(o in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)"key"==o?r=t[o]:"ref"==o?i=t[o
vendor: 1,411 bytes, line 2
2]:s[o]=void 0===t[o]&&void 0!==a?a[o]:t[o];return arguments.length>2&&(s.children=arguments.length>3?b.call(arguments,2):n),k(e.type,s,r||e.key,i||e.ref,null)}function se(e,t){var n={__c:t="__cC"+I++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.forEach((function(e){e.__e=!0,z(e)}))},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}b=M.slice,E={__e:function(e,t,n,r){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}catch(t){e=t}throw e}},C=0,j.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=H({},this.state),"function"==typeof e&&(e=e(H({},n),this.props)),e&&H(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),z(this))},j.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),z(this))},j.prototype.render=U,w=[],A="function"==typeof Promise?Promise.prototype.then.bind(Prom
vendor: 8,555 bytes, line 2
2ise.resolve()):setTimeout,P=function(e,t){return e.__v.__b-t.__v.__b},V.__r=0,T=0,O=J(!1),N=J(!0),I=0;var le,ue,ce,he,de=0,me=[],pe=E,fe=pe.__b,ge=pe.__r,ye=pe.diffed,_e=pe.__c,ve=pe.unmount,be=pe.__;function Ee(e,t){pe.__h&&pe.__h(ue,e,de||t),de=0;var n=ue.__H||(ue.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Ce(e){return de=1,we(Fe,e)}function we(e,t,n){var r=Ee(le++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Fe(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=ue,!ue.u)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return!!e.__c}));if(i.every((function(e){return!e.__N})))return!o||o.call(this,e,t,n);var a=!1;return i.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&r.__c.props===e)&&(!o||o.call(this,e,t,n))};ue.u=!0;var o=ue.shouldComponentUpdate,a=ue.componentWillUpdate;ue.componentWillUpdate=function(e,t,n){if(this.__e){var r=o;o=void 0,i(e,t,n),o=r}a&&a.call(this,e,t,n)},ue.shouldComponentUpdate=i}return r.__N||r.__}function Se(e,t){var n=Ee(le++,3);!pe.__s&&ke(n.__H,t)&&(n.__=e,n.i=t,ue.__H.__h.push(n))}function Ae(e,t){var n=Ee(le++,4);!pe.__s&&ke(n.__H,t)&&(n.__=e,n.i=t,ue.__h.push(n))}function Pe(e){return de=5,Oe((function(){return{current:e}}),[])}function Te(e,t,n){de=6,Ae((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function Oe(e,t){var n=Ee(le++,7);return ke(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Ne(e,t){return de=8,Oe((function(){return e}),t)}function Ie(e){var t=ue.context[e.__c],n=Ee(le++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(ue)),t.props.value):e.__}function xe(e,t){pe.useDebugValue&&pe.useDebugValue(t?t(e):e)}function Me(){var e=Ee(le++,11);if(!e.__){for(var t=ue.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Le(){for(var e;e=me.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(De),e.__H.__h.forEach(Be),e.__H.__h=[]}catch(t){e.__H.__h=[],pe.__e(t,e.__v)}}pe.__b=function(e){ue=null,fe&&fe(e)},pe.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),be&&be(e,t)},pe.__r=function(e){ge&&ge(e),le=0;var t=(ue=e.__c).__H;t&&(ce===ue?(t.__h=[],ue.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(De),t.__h.forEach(Be),t.__h=[],le=0)),ce=ue},pe.diffed=function(e){ye&&ye(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==me.push(t)&&he===pe.requestAnimationFrame||((he=pe.requestAnimationFrame)||He)(Le)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),ce=ue=null},pe.__c=function(e,t){t.some((function(e){try{e.__h.forEach(De),e.__h=e.__h.filter((function(e){return!e.__||Be(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],pe.__e(n,e.__v)}})),_e&&_e(e,t)},pe.unmount=function(e){ve&&ve(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{De(e)}catch(e){t=e}})),n.__H=void 0,t&&pe.__e(t,n.__v))};var Re="function"==typeof requestAnimationFrame;function He(e){var t,n=function(){clearTimeout(r),Re&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Re&&(t=requestAnimationFrame(n))}function De(e){var t=ue,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),ue=t}function Be(e){var t=ue;e.__c=e.__(),ue=t}function ke(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function Fe(e,t){return"function"==typeof t?t(e):t}function Ue(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function je(e,t){this.props=e,this.context=t}function Ge(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:Ue(this.props,e)}function r(t){return this.shouldComponentUpdate=n,B(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(je.prototype=new j).isPureReactComponent=!0,je.prototype.shouldComponentUpdate=function(e,t){return Ue(this.props,e)||Ue(this.state,t)};var We=E.__b;E.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),We&&We(e)};var ze="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ve(e){function t(t){if(!("ref"in t))return e(t,null);var n=t.ref;delete t.ref;var r=e(t,n);return t.ref=n,r}return t.$$typeof=ze,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var $e=function(e,t){return null==e?null:X(X(e).map(t))},qe={map:$e,forEach:$e,count:function(e){return e?X(e).length:0},only:function(e){var t=X(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:X},Xe=E.__e;E.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);Xe(e,t,n,r)};var Ze=E.unmount;function Ke(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Ke(e,t,n)}))),e}function Ye(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Ye(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Je(){this.__u=0,this.t=null,this.__b=null}function Qe(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function et(e){var t,n,r;function i(i){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return B(n,i)}return i.displayName="Lazy",i.__f=!0,i}function tt(){this.u=null,this.o=null}E.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Ze&&Ze(e)},(Je.prototype=new j).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=Qe(r.__v),o=!1,a=function(){o||(o=!0,n.__R=null,i?i(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Ye(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Je.prototype.componentWillUnmount=function(){this.t=[]},Je.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Ke(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&B(U,null,e.fallback);return i&&(i.__u&=-33),[B(U,null,t.__a?null:e.children),i]};var nt=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function rt(e){return this.getChildContext=function(){return e.context},e.children}function it(e){var t=this,n=e.i;t.componentWillUnmount=function(){ie(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),ie(B(rt,{context:t.context},e.__v),t.l)}function ot(e,t){var n=B(it,{__v:e,i:t});return n.containerInfo=t,n}(tt.prototype=new j).__a=function(e){var t=this,n=Qe(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),nt(t,e,r)):i()};n?n(o):o()}},tt.prototype.render=function(e){this.u=null,this.o=new Map;var t=X(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},tt.prototype.componentDidUpdate=tt.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){nt(e,n,t)}))};var at="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,st=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,lt=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ut=/[A-Z0-9]/g,ct="undefined"!=typeof document,ht=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};
2function dt(e,t,n){return null==t.__k&&(t.textContent=""),ie(e,t),"function"==typeof n&&n(),e?e.__c:null}function mt(e,t,n){return oe(e,t),"function"==typeof n&&n(),e?e.__c:null}j.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(j.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var pt=E.event;function ft(){}function gt(){return this.cancelBubble}function yt(){return this.defaultPrevented}E.event=function(e){return pt&&(e=pt(e)),e.persist=ft,e.isPropagationStopped=gt,e.isDefaultPrevented=yt,e.nativeEvent=e};var _t,vt={enumerable:!1,configurable:!0,get:function(){return this.class}},bt=E.vnode;E.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},i=-1===n.indexOf("-");for(var o in t){var a=t[o];if(!("value"===o&&"defaultValue"in t&&null==a||ct&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var s=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===a?a="":"translate"===s&&"no"===a?a=!1:"o"===s[0]&&"n"===s[1]?"ondoubleclick"===s?o="ondblclick":"onchange"!==s||"input"!==n&&"textarea"!==n||ht(t.type)?"onfocus"===s?o="onfocusin":"onblur"===s?o="onfocusout":lt.test(o)&&(o=s):s=o="oninput":i&&st.test(o)?o=o.replace(ut,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===s&&r[o=s]&&(o="oninputCapture"),r[o]=a}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=X(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=X(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",vt)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=at,bt&&bt(e)};var Et=E.__r;E.__r=function(e){Et&&Et(e),_t=e.__c};
2var Ct=E.diffed;E.diffed=function(e){Ct&&Ct(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),_t=null};var wt={ReactCurrentDispatcher:{current:{readContext:function(e){return _t.__n[e.__c].props.value},useCallback:Ne,useContext:Ie,useDebugValue:xe,useDeferredValue:Ht,useEffect:Se,useId:Me,useImperativeHandle:Te,useInsertionEffect:Bt,useLayoutEffect:Ae,useMemo:Oe,useReducer:we,useRef:Pe,useState:Ce,useSyncExternalStore:Ft,useTransition:Dt}}};function St(e){return B.bind(null,e)}function At(e){return!!e&&e.$$typeof===at}function Pt(e){return At(e)&&e.type===U}function Tt(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Ot(e){return At(e)?ae.apply(null,arguments):e}function Nt(e){return!!e.__k&&(ie(null,e),!0)}function It(e){return e&&(e.base||1===e.nodeType&&e)||null}var xt=function(e,t){return e(t)},Mt=function(e,t){return e(t)},Lt=U;function Rt(e){e()}function Ht(e){return e}function Dt(){return[!1,Rt]}var Bt=Ae,kt=At;function Ft(e,t){var n=t(),r=Ce({h:{__:n,v:t}}),i=r[0].h,o=r[1];return Ae((function(){i.__=n,i.v=t,Ut(i)&&o({h:i})}),[e,n,t]),Se((function(){return Ut(i)&&o({h:i}),e((function(){Ut(i)&&o({h:i})}))}),[e]),n}function Ut(e){var t,n,r=e.v,i=e.__;try{var o=r();return!((t=i)===(n=o)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}}var jt={useState:Ce,useId:Me,useReducer:we,useEffect:Se,useLayoutEffect:Ae,useInsertionEffect:Bt,useTransition:Dt,useDeferredValue:Ht,useSyncExternalStore:Ft,startTransition:Rt,useRef:Pe,useImperativeHandle:Te,useMemo:Oe,useCallback:Ne,useContext:Ie,useDebugValue:xe,version:"18.3.1",Children:qe,render:dt,hydrate:mt,unmountComponentAtNode:Nt,createPortal:ot,createElement:B,createContext:se,createFactory:St,cloneElement:Ot,createRef:F,Fragment:U,isValidElement:At,isElement:kt,isFragment:Pt,isMemo:Tt,findDOMNode:It,Component:j,PureComponent:je,memo:Ge,forwardRef:Ve,flushSync:Mt,unstable_batchedUpdates:xt,StrictMode:Lt,Suspense:Je,SuspenseList:tt,lazy:et,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:wt};const Gt=Object.freeze(Object.defineProperty({__proto__:null,Children:qe,Component:j,Fragment:U,PureComponent:je,StrictMode:Lt,Suspense:Je,SuspenseList:tt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:wt,cloneElement:Ot,createContext:se,createElement:B,createFactory:St,createPortal:ot,createRef:F,default:jt,findDOMNode:It,flushSync:Mt,forwardRef:Ve,hydrate:mt,isElement:kt,isFragment:Pt,isMemo:Tt,isValidElement:At,lazy:et,memo:Ge,render:dt,startTransition:Rt,unmountComponentAtNode:Nt,unstable_batchedUpdates:xt,useCallback:Ne,useContext:Ie,useDebugValue:xe,useDeferredValue:Ht,useEffect:Se,useErrorBoundary:function(e){var t=Ee(le++,10),n=Ce();return t.__=e,ue.componentDidCatch||(ue.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]},useId:Me,useImperativeHandle:Te,useInsertionEffect:Bt,useLayoutEffect:Ae,useMemo:Oe,useReducer:we,useRef:Pe,useState:Ce,useSyncExternalStore:Ft,useTransition:Dt,version:"18.3.1"},Symbol.toStringTag,{value:"Module"}));function Wt(e){return{render:function(t){dt(t,e)},unmount:function(){Nt(e)}}}var zt=function(e,t){return(zt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Vt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}zt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var $t=function(){return $t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},$t.apply(this,arguments)};function qt(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function Xt(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)(r||!(i in t))&&(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function Zt(e,t){var n=t&&t.cache?t.cache:an,r=t&&t.serializer?t.serializer:en;return(t&&t.strategy?t.strategy:Qt)(e,{cache:n,serializer:r})}function Kt(e,t,n,r){var i=function(e){return null==e||"number"==typeof e||"boolean"==typeof e}(r)?r:n(r),o=t.get(i);return void 0===o&&(o=e.call(this,r),t.set(i,o)),o}function Yt(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return void 0===o&&(o=e.apply(this,r),t.set(i,o)),o}function Jt(e,t,n,r,i){return n.bind(t,e,r,i)}function Qt(e,t){return Jt(e,this,1===e.length?Kt:Yt,t.cache.create(),t.serializer)}var en=function(){return JSON.stringify(arguments)};function tn(){this.cache=Object.create(null)}tn.prototype.get=function(e){return this.cache[e]},tn.prototype.set=function(e,t){this.cache[e]=t};var nn,rn,on,an={create:function(){return new tn}},sn={variadic:function(e,t){return Jt(e,this,Yt,t.cache.create(),t.serializer)},monadic:function(e,t){return Jt(e,this,Kt,t.cache.create(),t.serializer)}};
2function ln(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function un(e){return e.type===rn.literal}function cn(e){return e.type===rn.argument}function hn(e){return e.type===rn.number}function dn(e){return e.type===rn.date}function mn(e){return e.type===rn.time}function pn(e){return e.type===rn.select}function fn(e){return e.type===rn.plural}function gn(e){return e.type===rn.pound}function yn(e){return e.type===rn.tag}function _n(e){return!(!e||"object"!=typeof e||e.type!==on.number)}function vn(e){return!(!e||"object"!=typeof e||e.type!==on.dateTime)}Zt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Xt([void 0],t,!1)))}),{strategy:sn.variadic}),Zt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Xt([void 0],t,!1)))}),{strategy:sn.variadic}),Zt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Xt([void 0],t,!1)))}),{strategy:sn.variadic}),Zt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.Locale).bind.apply(e,Xt([void 0],t,!1)))}),{strategy:sn.variadic}),Zt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.ListFormat).bind.apply(e,Xt([void 0],t,!1)))}),{strategy:sn.variadic}),function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(nn||(nn={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(rn||(rn={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(on||(on={}));var bn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,En=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Cn(e){var t={};return e.replace(En,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"long":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var wn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Sn(e){return e.replace(/^(.*?)-/,"")}var An=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Pn=/^(@+)?(\+|#+)?[rs]?$/g,Tn=/(\*)(0+)|(#+)(0+)|(0+)/g,On=/^(0+)$/;function Nn(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Pn,(function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function In(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function xn(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!On.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Mn(e){return In(e)||{}}function Ln(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Sn(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;
2case"scientific":t=$t($t($t({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return $t($t({},e),Mn(t))}),{}));continue;case"engineering":t=$t($t($t({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return $t($t({},e),Mn(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Tn,(function(e,n,r,i,o,a){if(n)t.minimumIntegerDigits=r.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(On.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(An.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(An,(function(e,n,r,i,o,a){return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var o=i.options[0];"w"===o?t=$t($t({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=$t($t({},t),Nn(o)))}else if(Pn.test(i.stem))t=$t($t({},t),Nn(i.stem));else{var a=In(i.stem);a&&(t=$t($t({},t),a));var s=xn(i.stem);s&&(t=$t($t({},t),s))}}return t}var Rn={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA
2:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Hn(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Rn[n||""]||Rn[r||""]||Rn["".concat(r,"-001")]||Rn["001"])[0]}var Dn,Bn=new RegExp("^".concat(bn.source,"*")),kn=new RegExp("".concat(bn.source,"*$"));function Fn(e,t){return{start:e,end:t}}var Un=!!String.prototype.startsWith&&"_a".startsWith("a",1),jn=!!String.fromCodePoint,Gn=!!Object.fromEntries,Wn=!!String.prototype.codePointAt,zn=!!String.prototype.trimStart,Vn=!!String.prototype.trimEnd,$n=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},qn=!0;try{qn="a"===(null===(Dn=tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Dn?void 0:Dn[0])}catch(v){qn=!1}var Xn,Zn=Un?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Kn=jn?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;i>o;){if((n=e[o++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Yn=Gn?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],a=i[1];t[o]=a}return t},Jn=Wn?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},Qn=zn?function(e){return e.trimStart()}:function(e){return e.replace(Bn,"")},er=Vn?function(e){return e.trimEnd()}:function(e){return e.replace(kn,"")};function tr(e,t){return new RegExp(e,t)}if(qn){var nr=tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Xn=function(e,t){var n;return nr.lastIndex=t,null!==(n=nr.exec(e)[1])&&void 0!==n?n:""}}else Xn=function(e,t){for(var n=[];;){var r=Jn(e,t);if(void 0===r||sr(r)||lr(r))break;n.push(r),t+=r>=65536?2:1}return Kn.apply(void 0,n)};var rr,ir=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();
2if(123===i){if((o=this.parseArgument(e,n)).err)return o;r.push(o.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(nn.UNMATCHED_CLOSING_TAG,Fn(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&or(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{var a=this.clonePosition();this.bump(),r.push({type:rn.pound,location:Fn(a,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:rn.literal,value:"<".concat(r,"/>"),location:Fn(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!or(this.char()))return this.error(nn.INVALID_TAG,Fn(a,this.clonePosition()));var s=this.clonePosition();return r!==this.parseTagName()?this.error(nn.UNMATCHED_CLOSING_TAG,Fn(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:rn.tag,value:r,children:o,location:Fn(n,this.clonePosition())},err:null}:this.error(nn.INVALID_TAG,Fn(a,this.clonePosition())))}return this.error(nn.UNCLOSED_TAG,Fn(n,this.clonePosition()))}return this.error(nn.INVALID_TAG,Fn(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&ar(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{var o=this.tryParseUnquoted(e,t);if(o)r+=o;else{var a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}var s=Fn(n,this.clonePosition());return{val:{type:rn.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&function(e){return or(e)||47===e}(this.peek()||0)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Kn.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),Kn(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(nn.EXPECT_ARGUMENT_CLOSING_BRACE,Fn(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(nn.EMPTY_ARGUMENT,Fn(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(nn.MALFORMED_ARGUMENT,Fn(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(nn.EXPECT_ARGUMENT_CLOSING_BRACE,Fn(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:rn.argument,value:r,location:Fn(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(nn.EXPECT_ARGUMENT_CLOSING_BRACE,Fn(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(nn.MALFORMED_ARGUMENT,Fn(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Xn(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Fn(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(nn.EXPECT_ARGUMENT_TYPE,Fn(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(m=er(y.val)).length)return this.error(nn.EXPECT_ARGUMENT_STYLE,Fn(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:Fn(u,this.clonePosition())}}if((_=this.tryParseArgumentClose(r)).err)return _;var c=Fn(r,this.clonePosition());if(l&&Zn(null==l?void 0:l.style,"::",0)){var h=Qn(l.style.slice(2));if("number"===a)return(y=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?y:{val:{type:rn.number,value:n,location:c,style:y.val},err:null};if(0===h.length)return this.error(nn.EXPECT_DATE_TIME_SKELETON,c);var d=h;this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var a=1+(1&o),s=o<2?1:3+(o>>1),l=Hn(t);for(("H"==l||"k"==l)&&(s=0);s-- >0;)n+="a";for(;a-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(h,this.locale));var m={type:on.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Cn(d):{}};return{val:{type:"date"===a?rn.date:rn.time,value:n,location:c,style:m},err:null}}return{val:{type:"number"===a?rn.number:"date"===a?rn.date:rn.time,value:n,location:c,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};
2case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(nn.EXPECT_SELECT_ARGUMENT_OPTIONS,Fn(p,$t({},p)));this.bumpSpace();var f=this.parseIdentifierIfPossible(),g=0;if("select"!==a&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(nn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Fn(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(nn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,nn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;this.bumpSpace(),f=this.parseIdentifierIfPossible(),g=y.val}var _,v=this.tryParsePluralOrSelectOptions(e,a,t,f);if(v.err)return v;if((_=this.tryParseArgumentClose(r)).err)return _;var b=Fn(r,this.clonePosition());return"select"===a?{val:{type:rn.select,value:n,options:Yn(v.val),location:b},err:null}:{val:{type:rn.plural,value:n,options:Yn(v.val),offset:g,pluralType:"plural"===a?"cardinal":"ordinal",location:b},err:null};default:return this.error(nn.INVALID_ARGUMENT_TYPE,Fn(o,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(nn.EXPECT_ARGUMENT_CLOSING_BRACE,Fn(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(nn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Fn(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(wn).filter((function(e){return e.length>0}));n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],a=i.slice(1),s=0,l=a;s<l.length;s++)if(0===l[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:a})}return t}(e)}catch(e){return this.error(nn.INVALID_NUMBER_SKELETON,t)}return{val:{type:on.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Ln(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i,o=!1,a=[],s=new Set,l=r.value,u=r.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var h=this.tryParseDecimalInteger(nn.EXPECT_PLURAL_ARGUMENT_SELECTOR,nn.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=Fn(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}if(s.has(l))return this.error("select"===t?nn.DUPLICATE_SELECT_ARGUMENT_SELECTOR:nn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(o=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?nn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:nn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Fn(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,n);if(m.err)return m;var p=this.tryParseArgumentClose(d);if(p.err)return p;a.push([l,{value:m.val,location:Fn(d,this.clonePosition())}]),s.add(l),this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,u=i.location}return 0===a.length?this.error("select"===t?nn.EXPECT_SELECT_ARGUMENT_SELECTOR:nn.EXPECT_PLURAL_ARGUMENT_SELECTOR,Fn(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(nn.MISSING_OTHER_CLAUSE,Fn(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;i=!0,o=10*o+(a-48),this.bump()}var s=Fn(r,this.clonePosition());return i?$n(o*=n)?{val:o,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Jn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();
210===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Zn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&sr(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function or(e){return e>=97&&e<=122||e>=65&&e<=90}function ar(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function sr(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function lr(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function ur(e){e.forEach((function(e){if(delete e.location,pn(e)||fn(e))for(var t in e.options)delete e.options[t].location,ur(e.options[t].value);else hn(e)&&_n(e.style)||(dn(e)||mn(e))&&vn(e.style)?delete e.style.location:yn(e)&&ur(e.children)}))}function cr(e,t){void 0===t&&(t={}),t=$t({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new ir(e,t).parse();if(n.err){var r=SyntaxError(nn[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return null!=t&&t.captureLocation||ur(n.val),n.val}!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(rr||(rr={}));var hr,dr=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return Vt(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),mr=function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),rr.INVALID_VALUE,i)||this}return Vt(t,e),t}(dr),pr=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),rr.INVALID_VALUE,r)||this}return Vt(t,e),t}(dr),fr=function(e){function t(t,n){return e.call(this,'The intl str
2ing context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),rr.MISSING_VALUE,n)||this}return Vt(t,e),t}(dr);function gr(e){return"function"==typeof e}function yr(e,t,n,r,i,o,a){if(1===e.length&&un(e[0]))return[{type:hr.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(un(c))s.push({type:hr.literal,value:c.value});else if(gn(c))"number"==typeof o&&s.push({type:hr.literal,value:n.getNumberFormat(t).format(o)});else{var h=c.value;if(!i||!(h in i))throw new fr(h,a);var d=i[h];if(cn(c))(!d||"string"==typeof d||"number"==typeof d)&&(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?hr.literal:hr.object,value:d});else if(dn(c)){var m="string"==typeof c.style?r.date[c.style]:vn(c.style)?c.style.parsedOptions:void 0;s.push({type:hr.literal,value:n.getDateTimeFormat(t,m).format(d)})}else if(mn(c)){m="string"==typeof c.style?r.time[c.style]:vn(c.style)?c.style.parsedOptions:r.time.medium;s.push({type:hr.literal,value:n.getDateTimeFormat(t,m).format(d)})}else if(hn(c)){(m="string"==typeof c.style?r.number[c.style]:_n(c.style)?c.style.parsedOptions:void 0)&&m.scale&&(d*=m.scale||1),s.push({type:hr.literal,value:n.getNumberFormat(t,m).format(d)})}else{if(yn(c)){var p=c.children,f=c.value,g=i[f];
2if(!gr(g))throw new pr(f,"function",a);var y=g(yr(p,t,n,r,i,o).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),s.push.apply(s,y.map((function(e){return{type:"string"==typeof e?hr.literal:hr.object,value:e}})))}if(pn(c)){if(!(_=c.options[d]||c.options.other))throw new mr(c.value,d,Object.keys(c.options),a);s.push.apply(s,yr(_.value,t,n,r,i))}else if(fn(c)){var _;if(!(_=c.options["=".concat(d)])){if(!Intl.PluralRules)throw new dr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',rr.MISSING_INTL_API,a);var v=n.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));_=c.options[v]||c.options.other}if(!_)throw new mr(c.value,d,Object.keys(c.options),a);s.push.apply(s,yr(_.value,t,n,r,i,d-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===hr.literal&&t.type===hr.literal?n.value+=t.value:e.push(t),e}),[])}(s)}function _r(e,t){return t?Object.keys(e).reduce((function(n,r){return n[r]=function(e,t){return t?$t($t($t({},e||{}),t||{}),Object.keys(e).reduce((function(n,r){return n[r]=$t($t({},e[r]),t[r]||{}),n}),{})):e}(e[r],t[r]),n}),$t({},e)):e}function vr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(hr||(hr={}));var br,Er=function(){function e(t,n,r,i){void 0===n&&(n=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===hr.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return yr(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=o.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=i||{};a.formatters;var s=qt(a,["formatters"]);this.ast=e.__parse(t,$t($t({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=_r(e.formats,r),this.formatters=i&&i.formatters||function(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Zt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Xt([void 0],t,!1)))}),{cache:vr(e.number),strategy:sn.variadic}),getDateTimeFormat:Zt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Xt([void 0],t,!1)))}),{cache:vr(e.dateTime),strategy:sn.variadic}),getPluralRules:Zt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Xt([void 0],t,!1)))}),{cache:vr(e.pluralRules),strategy:sn.variadic})}}(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=cr,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(br||(br={}));var Cr=function(e){function t(n,r,i){var o=this,a=i?i instanceof Error?i:new Error(String(i)):void 0;return(o=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return Vt(t,e),t}(Error),wr=function(e){function t(t,n){return e.call(this,br.UNSUPPORTED_FORMATTER,t,n)||this}return Vt(t,e),t}(Cr),Sr=function(e){function t(t,n){return e.call(this,br.INVALID_CONFIG,t,n)||this}return Vt(t,e),t}(Cr),Ar=function(e){function t(t,n){return e.call(this,br.MISSING_DATA,t,n)||this}return Vt(t,e),t}(Cr),Pr=function(e){function t(t,n,r){var i=e.call(this,br.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),r)||this;return i.locale=n,i}return Vt(t,e),t}(Cr),Tr=function(e){function t(t,n,r,i){var o=e.call(this,"".concat(t,"\nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description,"\n"),n,i)||this;return o.descriptor=r,o.locale=n,o}return Vt(t,e),t}(Pr),Or=function(e){function t(t,n){var r=e.call(this,br.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map((function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;return r.descriptor=t,r}return Vt(t,e),t}(Cr);function Nr(e,t,n){return void 0===n&&(n={}),t.reduce((function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t}),{})}var Ir={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function xr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function Mr(e,t,n,r){var i,o=e&&e[t];if(o&&(i=o[n]),i)return i;r(new wr("No ".concat(t," format named: ").concat(n)))}function Lr(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=$t({timeZone:t},e[r]),n}),{})}function Rr(e,t){return Object.keys($t($t({},e),t)).reduce((function(n,r){return n[r]=$t($t({},e[r]||{}),t[r]||{}),n}),{})}function Hr(e,t){if(!t)return e;var n=Er.formats;return $t($t($t({},n),e),{date:Rr(Lr(n.date,t),Lr(e.date||{},t)),time:Rr(Lr(n.time,t),Lr(e.time||{},t))})}var Dr=function(e,t,n,r,i){var o=e.locale,a=e.formats,s=e.messages,l=e.defaultLocale,u=e.defaultFormats,c=e.fallbackOnEmptyString,h=e.onError,d=e.timeZone,m=e.defaultRichTextElements;void 0===n&&(n={id:""});var p=n.id,f=n.defaultMessage;ln(!!p,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var g=String(p),y=s&&Object.prototype.hasOwnProperty.call(s,g)&&s[g];if(Array.isArray(y)&&1===y.length&&y[0].type===rn.literal)return y[
20].value;if(!r&&y&&"string"==typeof y&&!m)return y.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=$t($t({},m),r||{}),a=Hr(a,d),u=Hr(u,d),!y){if(!1===c&&""===y)return y;if((!f||o&&o.toLowerCase()!==l.toLowerCase())&&h(new Or(n,o)),f)try{return t.getMessageFormat(f,l,u,i).format(r)}catch(e){return h(new Tr('Error formatting default message for: "'.concat(g,'", rendering default message verbatim'),o,n,e)),"string"==typeof f?f:g}return g}try{return t.getMessageFormat(y,o,a,$t({formatters:t},i||{})).format(r)}catch(e){h(new Tr('Error formatting message: "'.concat(g,'", using ').concat(f?"default message":"id"," as fallback."),o,n,e))}if(f)try{return t.getMessageFormat(f,l,u,i).format(r)}catch(e){h(new Tr('Error formatting the default message for: "'.concat(g,'", rendering message verbatim'),o,n,e))}return"string"==typeof y?y:"string"==typeof f?f:g},Br=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function kr(e,t,n,r){var i=e.locale,o=e.formats,a=e.onError,s=e.timeZone;void 0===r&&(r={});var l=r.format,u=$t($t({},s&&{timeZone:s}),l&&Mr(o,t,l,a)),c=Nr(r,Br,u);return"time"===t&&!c.hour&&!c.minute&&!c.second&&!c.timeStyle&&!c.dateStyle&&(c=$t($t({},c),{hour:"numeric",minute:"numeric"})),n(i,c)}function Fr(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return kr(e,"date",t,a).format(s)}catch(t){e.onError(new Pr("Error formatting date.",e.locale,t))}return String(s)}function Ur(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return kr(e,"time",t,a).format(s)}catch(t){e.onError(new Pr("Error formatting time.",e.locale,t))}return String(s)}function jr(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=n[2],s=void 0===a?{}:a,l=e.timeZone,u=e.locale,c=e.onError,h=Nr(s,Br,l?{timeZone:l}:{});try{return t(u,h).formatRange(i,o)}catch(t){c(new Pr("Error formatting date time range.",e.locale,t))}return String(i)}function Gr(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return kr(e,"date",t,a).formatToParts(s)}catch(t){e.onError(new Pr("Error formatting date.",e.locale,t))}return[]}function Wr(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return kr(e,"time",t,a).formatToParts(s)}catch(t){e.onError(new Pr("Error formatting time.",e.locale,t))}return[]}var zr=["style","type","fallback","languageDisplay"];function Vr(e,t,n,r){var i=e.locale,o=e.onError;Intl.DisplayNames||o(new dr('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',rr.MISSING_INTL_API));var a=Nr(r,zr);try{return t(i,a).of(n)}catch(e){o(new Pr("Error formatting display name.",i,e))}}var $r=["type","style"],qr=Date.now();function Xr(e,t,n,r){void 0===r&&(r={});var i=Zr(e,t,n,r).reduce((function(e,t){var n=t.value;return"string"!=typeof n?e.push(n):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e}),[]);return 1===i.length?i[0]:0===i.length?"":i}function Zr(e,t,n,r){var i=e.locale,o=e.onError;void 0===r&&(r={}),Intl.ListFormat||o(new dr('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',rr.MISSING_INTL_API));var a=Nr(r,$r);try{var s={},l=n.map((function(e,t){if("object"==typeof e){var n=function(e){return"".concat(qr,"_").concat(e,"_").concat(qr)}(t);return s[n]=e,n}return String(e)}));return t(i,a).formatToParts(l).map((function(e){return"literal"===e.type?e:$t($t({},e),{value:s[e.value]||e.value})}))}catch(e){o(new Pr("Error formatting list.",i,e))}return n}var Kr=["type"];function Yr(e,t,n,r){var i=e.locale,o=e.onError;void 0===r&&(r={}),Intl.PluralRules||o(new dr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',rr.MISSING_INTL_API));
2var a=Nr(r,Kr);try{return t(i,a).select(n)}catch(e){o(new Pr("Error formatting plural.",i,e))}return"other"}var Jr=["numeric","style"];function Qr(e,t,n,r,i){void 0===i&&(i={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new dr('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',rr.MISSING_INTL_API));try{return function(e,t,n){var r=e.locale,i=e.formats,o=e.onError;void 0===n&&(n={});var a=n.format,s=!!a&&Mr(i,"relative",a,o)||{};return t(r,Nr(n,Jr,s))}(e,t,i).format(n,r)}catch(t){e.onError(new Pr("Error formatting relative time.",e.locale,t))}return String(n)}var ei=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function ti(e,t,n){var r=e.locale,i=e.formats,o=e.onError;void 0===n&&(n={});var a=n.format,s=a&&Mr(i,"number",a,o)||{};return t(r,Nr(n,ei,s))}function ni(e,t,n,r){void 0===r&&(r={});try{return ti(e,t,r).format(n)}catch(t){e.onError(new Pr("Error formatting number.",e.locale,t))}return String(n)}function ri(e,t,n,r){void 0===r&&(r={});try{return ti(e,t,r).formatToParts(n)}catch(t){e.onError(new Pr("Error formatting number.",e.locale,t))}return[]}function ii(e){e.onWarn&&e.defaultRichTextElements&&function(e){return"string"==typeof(e?e[Object.keys(e)[0]]:void 0)}(e.messages||{})&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}function oi(e,t){var n=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,i=Zt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Xt([void 0],t,!1)))}),{cache:xr(e.dateTime),strategy:sn.variadic}),o=Zt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Xt([void 0],t,!1)))}),{cache:xr(e.number),strategy:sn.variadic}),a=Zt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Xt([void 0],t,!1)))}),{cache:xr(e.pluralRules),strategy:sn.variadic});return{getDateTimeFormat:i,getNumberFormat:o,getMessageFormat:Zt((function(e,t,n,r){return new Er(e,t,n,$t({formatters:{getNumberFormat:o,getDateTimeFormat:i,getPluralRules:a}},r||{}))}),{cache:xr(e.message),strategy:sn.variadic}),getRelativeTimeFormat:Zt((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,Xt([void 0],e,!1)))}),{cache:xr(e.relativeTime),strategy:sn.variadic}),getPluralRules:a,getListFormat:Zt((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,Xt([void 0],e,!1)))}),{cache:xr(e.list),strategy:sn.variadic}),getDisplayNames:Zt((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,Xt([void 0],e,!1)))}),{cache:xr(e.displayNames),strategy:sn.variadic})}}(t),r=$t($t({},Ir),e),i=r.locale,o=r.defaultLocale,a=r.onError;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&a?a(new Ar('Missing locale data for locale: "'.concat(i,'" in Intl.NumberFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&a&&a(new Ar('Missing locale data for locale: "'.concat(i,'" in Intl.DateTimeFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(a&&a(new Sr('"locale" was not configured, using "'.concat(o,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),ii(r),$t($t({},r),{formatters:n,formatNumber:ni.bind(null,r,n.getNumberFormat),formatNumberToParts:ri.bind(null,r,n.getNumberFormat),formatRelativeTime:Qr.bind(null,r,n.getRelativeTimeFormat),formatDate:Fr.bind(null,r,n.getDateTimeFormat),formatDateToParts:Gr.bind(null,r,n.getDateTimeFormat),formatTime:Ur.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:jr.bind(null,r,n.getDateTimeFormat),formatTimeToParts:Wr.bind(null,r,n.getDateTimeFormat),formatPlural
2:Yr.bind(null,r,n.getPluralRules),formatMessage:Dr.bind(null,r,n),$t:Dr.bind(null,r,n),formatList:Xr.bind(null,r,n.getListFormat),formatListToParts:Zr.bind(null,r,n.getListFormat),formatDisplayName:Vr.bind(null,r,n.getDisplayNames)})}function ai(e){ln(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var si=$t($t({},Ir),{textComponent:U});function li(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(var o=0;o<i;o++){var a=n[o];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}function ui(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ci(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var hi,di={exports:{}},mi={};di.exports=function(){if(hi)return mi;hi=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,p=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:switch(e=e.type){case l:case u:case r:case o:case i:case h:return e;default:switch(e=e&&e.$$typeof){case s:case c:case p:case m:case a:return e;default:return d}}case n:return d}}}function b(e){return v(e)===u}return mi.AsyncMode=l,mi.ConcurrentMode=u,mi.ContextConsumer=s,mi.ContextProvider=a,mi.Element=t,mi.ForwardRef=c,mi.Fragment=r,mi.Lazy=p,mi.Memo=m,mi.Portal=n,mi.Profiler=o,mi.StrictMode=i,mi.Suspense=h,mi.isAsyncMode=function(e){return b(e)||v(e)===l},mi.isConcurrentMode=b,mi.isContextConsumer=function(e){return v(e)===s},mi.isContextProvider=function(e){return v(e)===a},mi.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},mi.isForwardRef=function(e){return v(e)===c},mi.isFragment=function(e){return v(e)===r},mi.isLazy=function(e){return v(e)===p},mi.isMemo=function(e){return v(e)===m},mi.isPortal=function(e){return v(e)===n},mi.isProfiler=function(e){return v(e)===o},mi.isStrictMode=function(e){return v(e)===i},mi.isSuspense=function(e){return v(e)===h},mi.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===o||e===i||e===h||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===c||e.$$typeof===g||e.$$typeof===y||e.$$typeof===_||e.$$typeof===f)},mi.typeOf=v,mi}();var pi=di.exports,fi={};fi[pi.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},fi[pi.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var gi="undefined"==typeof window||window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?se(null):window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=se(null));gi.Consumer;var yi,_i,vi=gi.Provider,bi=gi;function Ei(){var e=Ie(bi);return ai(e),e}function Ci(e){var t=function(t){var n=Ei(),r=t.value,i=t.children,o=qt(t,["value","children"]),a="string"==typeof r?new Date(r||0):r;return i("formatDate"===e?n.formatDateToParts(a,o):n.formatTimeToParts(a,o))};return t.displayName=_i[e],t}function wi(e){var t=function(t){var n=Ei(),r=t.value,i=t.children,o=qt(t,["value","children"]),a=n[e](r,o);return"function"==typeof i?i(a):B(n.textComponent||U,null,a)};return t.displayName=yi[e],t}function Si(e){return e&&Object.keys(e).reduce((function(t,n){var r=e[n];return t[n]=gr(r)?function(e){return function(t){return e(qe.toArray(t))}}(r):r,t}),{})}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(yi||(yi={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(_i||(_i={}));var Ai=function(e,t,n,r){for(var i=[],o=4;o<arguments.length;o++)i[o-4]=arguments[o];var a=Si(r),s=Dr.apply(void 0,Xt([e,t,n,a],i,!1));return Array.isArray(s)?qe.toArray(s):s},Pi=function(e,t){var n=e.defaultRichTextElements,r=qt(e,["defaultRichTextElements"]),i=Si(n),o=oi($t($t($t({},si),r),{defaultRichTextElements:i}),t),a={locale:o.locale,timeZone:o.timeZone,fallbackOnEmptyString:o.fallbackOnEmptyString,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:i};return $t($t({},o),{formatMessage:Ai.bind(null,a,o.formatters),$t:Ai.bind(null,a,o.formatters)})};function Ti(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}var Oi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}
2,t.state={cache:t.cache,intl:Pi(Ti(t.props),t.cache),prevConfig:Ti(t.props)},t}return Vt(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,r=t.cache,i=Ti(e);return li(n,i)?null:{intl:Pi(i,r),prevConfig:i}},t.prototype.render=function(){return ai(this.state.intl),B(vi,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=si,t}(je);function Ni(e){var t=Ei(),n=t.formatMessage,r=t.textComponent,i=void 0===r?U:r,o=e.id,a=e.description,s=e.defaultMessage,l=e.values,u=e.children,c=e.tagName,h=void 0===c?i:c,d=n({id:o,description:a,defaultMessage:s},l,{ignoreTag:e.ignoreTag});return"function"==typeof u?u(Array.isArray(d)?d:[d]):h?B(h,null,qe.toArray(d)):B(U,null,d)}Ni.displayName="FormattedMessage";var Ii=Ge(Ni,(function(e,t){var n=e.values,r=qt(e,["values"]),i=t.values,o=qt(t,["values"]);return li(i,n)&&li(r,o)}));Ii.displayName="MemoizedFormattedMessage";var xi=wi("formatDate");wi("formatTime");var Mi=wi("formatNumber");wi("formatList"),wi("formatDisplayName"),Ci("formatDate"),Ci("formatTime");const Li={"credit-features.credit-cost-display":"{creditCost} (APR {taegPercentage})","credit-features.information":"Überprüfen Sie Ihre Rückzahlungsmöglichkeiten, bevor Sie eine Verpflichtung eingehen.","credit-features.information.title":"Ein Kredit verpflichtet Sie und muss zurückgezahlt werden.","credit-features.legal-text":"Kredit in Höhe von {totalWithoutFirstInstallment} zu einem festen Sollzinssatz von {taegPercentage} über eine Laufzeit von {installmeentsCountWithoutFirst} Monaten. Ermöglicht, zusätzlich zu einer Anzahlung von {firstInstallmentAmount}, die Finanzierung eines Kaufs in Höhe von {productPriceWithoutCreditCost}. Vorbehaltlich der Prüfung und Annahme durch Alma. Gesetzliche Widerrufsfrist von 14 Tagen. Simulation präsentiert von Alma, eingetragen im RCS Nanterre unter der Nummer 839 100 575, Zahlungsinstitut und Finanzierungsgesellschaft, zugelassen von der ACPR unter der Nummer 17408 (IPC-Nummer / Bankcode).","credit-features.total-credit-cost":"Davon Kreditkosten","eligibility-modal.bullet-1":"Wählen Sie <strong>Alma</strong> beim Check-out. ","eligibility-modal.bullet-2":"Lassen Sie sich führen und bestätigen Sie Ihre Zahlung in <strong>2 Minuten.</strong>","eligibility-modal.bullet-3":"<strong>Behalten Sie die Kontrolle</strong> , indem Sie Ihre Fälligkeitstermine in Ihrem eigenen Tempo vor- oder zurückverlegen.","eligibility-modal.no-eligibility":"Ups, die Prüfung hat anscheinend nicht funktioniert.","eligibility-modal.p1x-bullet-1":"Wählen Sie <strong>Alma - Jetzt bezahlen</strong> zum Zeitpunkt der Zahlung.","eligibility-modal.p1x-bullet-2":"Tragen Sie Ihre <strong>Kreditkarteninformationen ein.</strong>","eligibility-modal.p1x-bullet-3":"<strong> Die Bestätigung </strong> Ihrer Zahlung erfolgt sofort !","eligibility-modal.title-deferred-plan":"Zahlen Sie mit Alma in Raten oder später.","eligibility-modal.title-normal":"Zahlen Sie mit Alma in mehreren Raten.","eligibility-modal.title-pay-now":"Bezahlen Sie auf einmal mit Alma per Kreditkarte.","installments.today":"Heute","installments.total-amount":"Gesamtsumme","installments.total-fees":"Davon Kosten","payment-plan-strings.credit":"Klicken Sie, um mehr zu erfahren","payment-plan-strings.day-abbreviation":"T{deferredDays}","payment-plan-strings.default-message":"Bezahlen Sie zinsfrei in mehreren Raten mit Alma.","payment-plan-strings.deferred":"{totalAmount} zu zahlen am {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Bis zu {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Ab {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(0% Finanzierung)","payment-plan-strings.pay-now":"Zahlen Sie jetzt {totalAmount}","payment-plan-strings.pay.now.button":"Jetzt bezahlen"},Ri={"credit-features.credit-cost-display":"{creditCost} (APR {taegPercentage})","credit-features.information":"Check your repayment capacity before committing yourself.","credit-features.information.title":"Credit is a commitment and must be repaid.","credit-features.legal-text":"Loan of {totalWithoutFirstInstallment} at a fixed interest rate of {taegPercentage} over a period of {installmeentsCountWithoutFirst} months. In addition to a down payment of {firstInstallmentAmount}, this loan can be used to finance a purchase of {productPriceWithoutCreditCost}. Subject to review and acceptance by Alma. Legal cooling-off period of 14 days. Simulation presented by Alma, registered with the RCS Nanterre under number 839 100 575, payment and finance company approved by the ACPR under number 17408 (CIB number / Bank code).","credit-features.total-credit-cost":"Of which cost of credit","eligibility-modal.bullet-1":"Cho
2ose <strong>Alma</strong> at checkout.","eligibility-modal.bullet-2":"Let us guide you and validate your payment in <strong>2 minutes.</strong>","eligibility-modal.bullet-3":"<strong>Stay in control</strong> by advancing or postponing your deadlines at your own pace.","eligibility-modal.no-eligibility":"Oops, looks like the simulation didn't work.","eligibility-modal.p1x-bullet-1":"Choose <strong>Alma - Pay now</strong> at checkout.","eligibility-modal.p1x-bullet-2":"Enter your <strong>credit card details.</strong>","eligibility-modal.p1x-bullet-3":"<strong>Your payment is instantly validated at </strong> !","eligibility-modal.title-deferred-plan":"Pay in installments or later by credit card with Alma.","eligibility-modal.title-normal":"Pay in installments by credit card with Alma.","eligibility-modal.title-pay-now":"Pay cash by credit card with Alma.","installments.today":"Today","installments.total-amount":"Total","installments.total-fees":"Of which costs (incl. VAT)","payment-plan-strings.credit":"Click to find out more","payment-plan-strings.day-abbreviation":"D{deferredDays}","payment-plan-strings.default-message":"Pay in installments with Alma","payment-plan-strings.deferred":"{totalAmount} to pay the {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Until {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"From {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} then {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} then {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(free of charge)","payment-plan-strings.pay-now":"Pay now {totalAmount}","payment-plan-strings.pay.now.button":"Pay now"},Hi={"credit-features.credit-cost-display":"{creditCost} (TAE {taegPercentage})","credit-features.information":"Compruebe tu capacidad de reembolso antes de comprometerte.","credit-features.information.title":"El crédito y/o pago a plazos es un compromiso y debe devolverse.","credit-features.legal-text":" Préstamo de {totalWithoutFirstInstallment}  a un tipo deudor fijo a {taegPercentage} a lo largo de un periodo de {installmeentsCountWithoutFirst} meses.  Además de un depósito de {firstInstallmentAmount}, esto te permitirá financiar una compra de {productPriceWithoutCreditCost}. Sujeto a revisión y aceptación por parte de Alma. Plazo legal de retractación de 14 días. Simulación presentada por Alma, inscrita en el Registro Mercantil de Nanterre con el número 839 100 575, sociedad de pago y financiación autorizada por la ACPR con el número 17408 (número CIB / código bancario).","credit-features.total-credit-cost":"Coste de crédito (incl. en el total)","eligibility-modal.bullet-1":"Elige <strong>Alma</strong> como método de pago.","eligibility-modal.bullet-2":"Déjate guiar y válida tu pago en <strong>2 minutos.</strong>","eligibility-modal.bullet-3":"<strong>Mantén el control</strong> adelantando o aplazando los plazos a su propio ritmo.","eligibility-modal.no-eligibility":"Uy, parece que la simulación no ha funcionado.","eligibility-modal.p1x-bullet-1":"Elije <strong>Alma - Pagar ahora</strong> al momento de la compra.","eligibility-modal.p1x-bullet-2":"Introduce los datos de tu tarjeta bancaria en <strong>.</strong>","eligibility-modal.p1x-bullet-3":"<strong>¡La validación </strong> de tu pago es instantánea!","eligibility-modal.title-deferred-plan":"Paga a plazos o posteriormente con tarjeta bancaria con Alma.","eligibility-modal.title-normal":"Pagar a plazos con tarjeta bancaria con Alma.","eligibility-modal.title-pay-now":"Paga de contado con tu tarjeta bancaria a través de alma.","installments.today":"Hoy","installments.total-amount":"Total","installments.total-fees":"De los cuales, costes (IVA incluido)","payment-plan-strings.credit":"Haz click para más información","payment-plan-strings.day-abbreviation":"D{deferredDays}","payment-plan-strings.default-message":"Pagar a plazos con Alma","payment-plan-strings.deferred":"{totalAmount} a pagar el {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Hasta {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Desde {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} hoy, después {numberOfRemainingInstallments} mensualidad de {othersInstallmentAmount}} other {{firstInstallmentAmount} hoy, después {numberOfRemainingInstallments} mensualidades de {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} plazos de {totalAmount}","payment-plan-strings.no-fee":"(sin intereses)","payment-plan-strings.pay-now":"Pague ahora {totalAmount}","payment-plan-strings.pay.now.button":"Pagar ahora"},Di={"credit-features.credit-cost-display":"{creditCost} (TAEG {taegPercentage})","credit-features.information":"Vérifiez vos capacités de remboursement avant de vous engager.","credit-features.information.title":"Un crédit vous engage et doit être remboursé.","credit-features.legal-text":"Crédit d'un montant de {totalWithoutFirstInstallment} au taux débiteur fixe de {taegPercentage} sur une durée de {installmeentsCountWithoutFirst} mois. Permettant, en complément d'un acompte de {firstInstallmentAmount}, de financer un achat d'un montant de {productPriceWithoutCreditCost}. Sous réserve d'étude et d'acceptation par Alma. Délai légal de rétractation de 14 jours. Simulation présentée par Alma, immatriculée au RCS Nanterre sous le numéro 839 100 575, établissement de paiement et société de financement agréée par l’ACPR sous le n° 17408 (numéro CIB / Code banque).","credit-features.total-credit-cost":"Dont coût du crédit","eligibility-modal.bullet-1":"Choisissez <strong>Alma</strong> au moment du paiement.","eligibility-modal.bullet-2":"Laissez-vous guider et validez votre paiement en <strong>2 minutes.</strong>","eligibility-modal.bullet-3":"<strong>Gardez le contrôle</strong> en avançant ou reculant vos échéances à votre rythme.","eligibility-modal.no-eligibility":"Oups, il semblerait que la simulation n'ait pas fonctionné.","eligibility-modal.p1x-bullet-1":"Choisissez <strong>Alma - Payer maintenant</strong> au moment du paiement.","eligibility-modal.p1x-bullet-2":"Renseignez les informations de votre <strong>carte bancaire.</strong>","eligibility-modal.p1x-bullet-3":"<strong>La validation </strong> de votre paiement est instantanée !","eligibility-modal.title-deferred-plan":"Payez en plusieurs fois ou plus tard par carte bancaire avec Alma.","eligibility-modal.title-normal":"Payez en plusieurs fois par carte bancaire avec Alma.","eligibility-modal.title-pay-now":"Payez comptant par c
2arte bancaire avec Alma.","installments.today":"Aujourd'hui","installments.total-amount":"Total","installments.total-fees":"Dont frais (TTC)","payment-plan-strings.credit":"Cliquez pour en savoir plus","payment-plan-strings.day-abbreviation":"J{deferredDays}","payment-plan-strings.default-message":"Payez en plusieurs fois avec Alma","payment-plan-strings.deferred":"{totalAmount} à payer le {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Jusqu'à {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"À partir de {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(sans frais)","payment-plan-strings.pay-now":"Payer maintenant {totalAmount}","payment-plan-strings.pay.now.button":"Payer maintenant"},Bi={"credit-features.credit-cost-display":"{creditCost} (TAEG {taegPercentage})","credit-features.information":"Verificate la vostra capacità di rimborso prima di prendere un impegno.","credit-features.information.title":"Il credito è un impegno e deve essere ripagato.","credit-features.legal-text":"{totalWithoutFirstInstallment} {taegPercentage} {installmeentsCountWithoutFirst} Prestito a tasso fisso per un periodo di mesi. {firstInstallmentAmount} {productPriceWithoutCreditCost}Oltre a un deposito di , questo vi permetterà di finanziare un acquisto di . Soggetto a revisione e accettazione da parte di Alma. Periodo di recesso legale di 14 giorni. Simulazione presentata da Alma, iscritta al Registro del Commercio e delle Imprese di Nanterre con il numero 839 100 575, società di pagamento e di finanziamento approvata dall'ACPR con il numero 17408 (numero CIB / codice bancario).","credit-features.total-credit-cost":"Di cui commissioni","eligibility-modal.bullet-1":"Seleziona <strong>Alma</strong> come metodo di pagamento.","eligibility-modal.bullet-2":"Segui le istruzioni e completa l'acquisto <strong>in meno di 2 minuti.</strong>","eligibility-modal.bullet-3":"<strong>Gestisci il tuo piano di pagamento</strong> e modifica le scadenze secondo le tue esigenze.","eligibility-modal.no-eligibility":"Ops, sembra che qualcosa non abbia funzionato.","eligibility-modal.p1x-bullet-1":"Scegli <strong>Alma - Paga ora</strong> alla cassa.","eligibility-modal.p1x-bullet-2":"Inserisci i dati della tua <strong>carta bancaria.</strong>","eligibility-modal.p1x-bullet-3":"Ricevi la <strong>conferma di pagamento</strong> istantaneamente!","eligibility-modal.title-deferred-plan":"Paga a rate con Alma, senza registrazione.","eligibility-modal.title-normal":"Paga a rate con Alma, senza registrazione.","eligibility-modal.title-pay-now":"Paga ora con carta tramite Alma.","installments.today":"Oggi","installments.total-amount":"Totale","installments.total-fees":"Di cui commissioni","payment-plan-strings.credit":"Clicca qui per saperne di più","payment-plan-strings.day-abbreviation":"G{deferredDays}","payment-plan-strings.default-message":"Paga a rate con Alma, senza registrazione.","payment-plan-strings.deferred":"{totalAmount} da pagare il {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Disponibile fino a {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Pagamento rateale disponibile a partire da {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {Oggi paghi {firstInstallmentAmount} poi tra {numberOfRemainingInstallments} mese {othersInstallmentAmount}} other {Oggi paghi {firstInstallmentAmount} poi {numberOfRemainingInstallments} rate mensili di {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"In {installmentsCount} rate mensili di {totalAmount}","payment-plan-strings.no-fee":"(senza interessi)","payment-plan-strings.pay-now":"Paga ora {totalAmount}","payment-plan-strings.pay.now.button":"Paga ora"},ki={"credit-features.credit-cost-display":"{creditCost} (gemiddeld rente percentage {taegPercentage})","credit-features.information":"Controleer uw terugbetalingscapaciteit voordat u een toezegging doet.","credit-features.information.title":"Krediet is een verplichting en moet worden terugbetaald.","credit-features.legal-text":"Krediet van {totalWithoutFirstInstallment} tegen een vaste rentevoet van {taegPercentage} over een periode van {installmeentsCountWithoutFirst} maanden. Naast een aanbetaling van {firstInstallmentAmount}, kun je hiermee een aankoop financieren van {productPriceWithoutCreditCost}. Onder voorbehoud van beoordeling en aanvaarding door Alma. Wettelijke herroepingsrecht van 14 dagen. Simulatie aangeboden door Alma, ingeschreven in het handels- en bedrijvenregister van Nanterre onder het nummer 839 100 575, betalings- en financieringsmaatschappij erkend door de ACPR onder nummer 17408 (CIB-nummer / bankcode).","credit-features.total-credit-cost":"Waarvan kredietkosten","eligibility-modal.bullet-1":"Kies <strong>Alma</strong> bij het afrekenen om de eerste termijnbetaling te voldoen. Dit kan gemakkelijk via jouw favoriete betaalmethode.","eligibility-modal.bullet-2":"Betaal gemakkelijk <strong>binnen 1 minuut </strong>. Je hebt hier geen account voor nodig.","eligibility-modal.bullet-3":"<strong>Behoud de controle </strong> en bepaal je eigen tempo. Bij Alma schuif je de deadlines gemakkelijk vooruit of achteruit. Zonder bijkomende kosten.","eligibility-modal.no-eligibility":"Oeps, het lijkt erop dat de simulatie niet werkte.","eligibility-modal.p1x-bullet-1":"Kies <strong>Alma - Betaal nu</strong> bij het afrekenen om de eerste termijnbetaling te voldoen. Dit kan gemakkelijk via jouw favoriete betaalmethode.","eligibility-modal.p1x-bullet-2":"Vul je <strong>gegevens </strong> in","eligibility-modal.p1x-bullet-3":"<strong>De bevestiging </strong> van jouw betaling is direct!","eligibility-modal.title-deferred-plan":"Betaal in termijnen bij Alma - helemaal rentevrij.","eligibility-modal.title-normal":"Betaal in termijnen bij Alma - helemaal rentevrij.","eligibility-modal.title-pay-now":"Betaal met iDEAL of per creditcard bij Alma.","installments.today":"Vandaag","installments.total-amount":"Totaal","installments.total-fees":"Waarvan kosten (incl. BTW)","payment-plan-strings.credit":"Klik hier voor meer informatie","payment-plan-strings.day-abbreviation":"D{deferredDays}","payment-plan-strings.default-message":"Betaal in termijnen bij Alma - helemaal rentevrij","payment-plan-strings.deferred":"{totalAmount} te betalen op {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Tot {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Vanaf {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(zonder kosten)","payment-plan-strings.pay-now":"Betaal nu {totalAmount}","payment-plan-strings.pay.now.button":"Betaal nu"},Fi={"credit-features.credit-cost-display":"{creditCost} (TAEG {taegPercentage})","credit-features.information":"Verifique a sua capacidade de reembolso antes de assumir um compromisso.","credit-features.information.title":"O crédito é um compromisso e deve ser reembolsado.","credit-features.legal-text":"{totalWithoutFirstInstallment} {taegPercentage} {installmeentsCountWithoutFirst} Empréstimo de a uma taxa de juro fixa de durante um período de meses. {firstInstallmentAmount} {productPriceWithoutCreditCost}Para além de um depósito de , isto permitir-lhe-á financiar uma compra de . Sujeito a análise e aceitação pela Alma. Prazo legal de retratação de 14 dias. Simulação apresentada pela Alma, inscrita na Conservatória do Registo Comercial e das Sociedades de Nanterre sob o número 839 100 575, sociedade de pagamento e de financiamento a
2provada pela ACPR sob o número 17408 (número CIB / código bancário).","credit-features.total-credit-cost":"Incluindo comissões de crédito","eligibility-modal.bullet-1":"Seleccionar <strong>Alma - Pay Now</strong> no final da compra.","eligibility-modal.bullet-2":"Siga as instruções e valide o seu pagamento em <strong>2 minutos.</strong>","eligibility-modal.bullet-3":"<strong>Mantenha o controlo</strong> adiando as datas de pagamento ao seu próprio ritmo.","eligibility-modal.no-eligibility":"Ups, parece que a simulação não funcionou.","eligibility-modal.p1x-bullet-1":"Escolha <strong>Alma - Pague agora</strong> no checkout.","eligibility-modal.p1x-bullet-2":"Preencha os dados do seu <strong>cartão de bancário.</strong>","eligibility-modal.p1x-bullet-3":"<strong>A validação </strong> do seu pagamento é instantânea!","eligibility-modal.title-deferred-plan":"Pagar em prestações ou mais tarde por cartão de crédito com Alma.","eligibility-modal.title-normal":"Pagar em prestações por cartão bancário com a Alma.","eligibility-modal.title-pay-now":"Pague na integralidade com a Alma por cartão bancário.","installments.today":"Hoje","installments.total-amount":"Total","installments.total-fees":"Das quais comissões (incl. IVA)","payment-plan-strings.credit":"Clique aqui para saber mais","payment-plan-strings.day-abbreviation":"D{deferredDays}","payment-plan-strings.default-message":"Pagamento em prestações com a Alma","payment-plan-strings.deferred":"{totalAmount} a pagar em {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Até {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"A partir de {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} depois {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} depois {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(sem encargos)","payment-plan-strings.pay-now":"Pagar agora {totalAmount}","payment-plan-strings.pay.now.button":"Pagar agora"},Ui=e=>{switch(e.slice(0,2)){case p.fr:return Di;case p.es:return Hi;case p.it:return Bi;case p.de:return Li;case p.pt:return Fi;case p.nl:return ki;case p.en:default:return Ri}},ji=({children:e,locale:t})=>jt.createElement(Oi,{messages:Ui(t),locale:t,defaultLocale:"en"},e);var Gi="v4.0.4";function Wi(e,t,n=""){return((e,t,n)=>new Promise(((r,i)=>{var o=e=>{try{s(n.next(e))}catch(e){i(e)}},a=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(o,a);s((n=n.apply(e,t)).next())})))(this,null,(function*(){return(yield fetch(n,{method:"POST",headers:c({"Content-Type":"application/json"},t),cache:"force-cache",body:JSON.stringify(e)})).json()}))}const zi=(e,t)=>!(!e.eligible||!t)&&(e.purchase_amount>=(null==t?void 0:t.minAmount)&&e.purchase_amount<=(null==t?void 0:t.maxAmount)),Vi=(e,t)=>t?e.map((e=>{const n=30*(e.deferred_months?e.deferred_months:0)+(e.deferred_days?e.deferred_days:0),r=t.find((t=>{const r=30*(t.deferredMonths?t.deferredMonths:0)+(t.deferredDays?t.deferredDays:0);return e.installments_count===t.installmentsCount&&n===r}));return c(((e,t)=>i(e,o(t)))(c({},e),{eligible:zi(e,r)}),((e,t)=>{var n;const r=null==(n=e.constraints)?void 0:n.purchase_amount;return r&&t?{minAmount:Math.max(t.minAmount,null==r?void 0:r.minimum),maxAmount:Math.min(t.maxAmount,null==r?void 0:r.maximum)}:null!=t?t:{}})(e,r))})):e.filter((e=>!(1===e.installments_count&&0===e.deferred_days&&0===e.deferred_months)));var $i="v4.0.4";const qi=(e,{domain:t,merchantId:n},r,i,o)=>{var a,s;const[l,u]=Ce([]),[c,h]=Ce(m.PENDING),{getCache:d,setCache:p,createKey:f,clearCache:g}={setCache:(e,t)=>{const n=Date.now();sessionStorage.setItem(e,JSON.stringify({value:t,timestamp:n}))},getCache:e=>{const t=sessionStorage.getItem(e)||"";return t?JSON.parse(t):null},clearCache:()=>{sessionStorage.clear()}
2,deleteCache:e=>{sessionStorage.removeItem(e)},createKey:e=>{const{purchaseAmount:t,plans:n,customerBillingCountry:r,customerShippingCountry:i,domain:o,merchantId:a}=e;return(e=>e.split("").reduce(((e,t)=>(e<<5)-e+t.charCodeAt(0)|0),0).toString().replace("-","A"))(`${o}${a}${t.toString()}${JSON.stringify(n)}${r}${i}${Gi}`)}},y=f({purchaseAmount:e,plans:r,customerBillingCountry:i,customerShippingCountry:o,domain:t,merchantId:n}),_=null==(a=d(y))?void 0:a.value,v=null==(s=d(y))?void 0:s.timestamp,b=v&&(e=>Date.now()-e>=36e5)(v),E=null==r?void 0:r.map((e=>({installments_count:e.installmentsCount,deferred_days:null==e?void 0:e.deferredDays,deferred_months:null==e?void 0:e.deferredMonths})));return Se((()=>{if(c===m.PENDING){let r=null;i&&(r={country:i});let a=null;o&&(a={country:o}),_&&!b&&(u(_),h(m.SUCCESS)),b&&g(),_||Wi({purchase_amount:e,queries:E,billing_address:r,shipping_address:a},{Authorization:`Alma-Merchant-Auth ${n}`,"X-Alma-Agent":`Alma Widget/${$i}`},`${t}/v2/payments/eligibility`).then((e=>{"error_code"in e?h(m.FAILED):(u(e),p(y,e),h(m.SUCCESS))})).catch((()=>{h(m.FAILED)}))}}),[c,e,y,i,o,_,b,E,n,t,p,g]),[Vi(l,r),c]};var Xi={match:function(e,t){return eo(e).some((function(e){var n=e.inverse,r="all"===e.type||t.type===e.type;if(r&&n||!r&&!n)return!1;var i=e.expressions.every((function(e){var n=e.feature,r=e.modifier,i=e.value,o=t[n];if(!o)return!1;switch(n){case"orientation":case"scan":return o.toLowerCase()===i.toLowerCase();case"width":case"height":case"device-width":case"device-height":i=ro(i),o=ro(o);break;case"resolution":i=no(i),o=no(o);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":i=to(i),o=to(o);break;case"grid":case"color":case"color-index":case"monochrome":i=parseInt(i,10)||1,o=parseInt(o,10)||0}switch(r){case"min":return o>=i;case"max":return o<=i;default:return o===i}}));return i&&!n||!i&&n}))}};Xi.parse=eo;var Zi=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,Ki=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,Yi=/^(?:(min|max)-)?(.+)/,Ji=/(em|rem|px|cm|mm|in|pt|pc)?$/,Qi=/(dpi|dpcm|dppx)?$/;function eo(e){return e.split(",").map((function(e){var t=(e=e.trim()).match(Zi),n=t[1],r=t[2],i=t[3]||"",o={};return o.inverse=!!n&&"not"===n.toLowerCase(),o.type=r?r.toLowerCase():"all",i=i.match(/\([^\)]+\)/g)||[],o.expressions=i.map((function(e){var t=e.match(Ki),n=t[1].toLowerCase().match(Yi);return{modifier:n[1],feature:n[2],value:t[2]}})),o}))}function to(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function no(e){var t=parseFloat(e);switch(String(e).match(Qi)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function ro(e){var t=parseFloat(e);switch(String(e).match(Ji)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}var io=Xi.match,oo="undefined"!=typeof window?window.matchMedia:null;function ao(e,t,n){var r,i=this;function o(e){i.matches=e.matches,i.media=e.media}oo&&!n&&(r=oo.call(window,e)),r?(this.matches=r.matches,this.media=r.media,r.addListener(o)):(this.matches=io(e,t),this.media=e),this.addListener=function(e){r&&r.addListener(e)},this.removeListener=function(e){r&&r.removeListener(e)},this.dispose=function(){r&&r.removeListener(o)}}var so=function(e,t,n){return new ao(e,t,n)};const lo=ui(so);var uo=/[A-Z]/g,co=/^ms-/,ho={};function mo(e){return"-"+e.toLowerCase()}function po(e){if(ho.hasOwnProperty(e))return ho[e];var t=e.replace(uo,mo);return ho[e]=co.test(t)?"-"+t:t}var fo,go,yo,_o,vo={exports:{}};vo.exports=function(){if(_o)return yo;_o=1;var e=go?fo:(go=1,fo="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");function t(){}function n(){}return n.resetWarningCache=t,yo=function(){function r(t,n,r,i,o,a){if(a!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function i(){return r}r.isRequired=r;var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o}}()();var bo=vo.exports;const Eo=ui(bo),Co=Eo.oneOfType([Eo.string,Eo.number]),wo={all:Eo.bool,grid:Eo.bool,aural:Eo.bool,braille:Eo.bool,handheld:Eo.bool,print:Eo.bool,projection:Eo.bool,screen:Eo.bool,tty:Eo.bool,tv:Eo.bool,embossed:Eo.bool},So={orientation:Eo.oneOf(["portrait","landscape"]),scan:Eo.oneOf(["progressive","interlace"]),aspectRatio:Eo.string,deviceAspectRatio:Eo.string,height:Co,deviceHeight:Co,width:Co,deviceWidth:Co,color:Eo.bool,colorIndex:Eo.bool,monochrome:Eo.bool,resolution:Co,type:Object.keys(wo)},Ao=So,{type:Po}=Ao,To=h(Ao,["type"]),Oo=c({minAspectRatio:Eo.string,maxAspectRatio:Eo.string,minDeviceAspectRatio:Eo.string,maxDeviceAspectRatio:Eo.string,minHeight:Co,maxHeight:Co,minDeviceHeight:Co,maxDeviceHeight:Co,minWidth:Co,maxWidth:Co,minDeviceWidth:Co,maxDeviceWidth:Co,minColor:Eo.number,maxColor:Eo.number,minColorIndex:Eo.number,maxColorIndex:Eo.number,minMonochrome:Eo.number,maxMonochrome:Eo.number,minResolution:Co,maxResolution:Co},To);var No={all:c(c({},wo),Oo),types:wo,matchers:So,features:Oo};const Io=e=>{const t=[];return Object.keys(No.all).forEach((n=>{const r=e[n];null!=r&&t.push(((e,t)=>{const n=po(e);return"number"==typeof t&&(t=`${t}px`),!0===t?n:!1===t?(e=>`not ${e}`)(n):`(${n}: ${t})`})(n,r))})),(e=>e.join(" and "))(t)},xo=se(void 0),Mo=e=>e?Object.keys(e).reduce(((t,n)=>(t[po(n)]=e[n],t)),{}):void 0,Lo=()=>{const e=Pe(!1);return Se((()=>{e.current=!0}),[]),e.current},Ro=e=>{const t=Ie(xo),n=()=>Mo(e)||Mo(t),[r,i]=Ce(n);return Se((()=>{const e=n();(function(e,t){if(e===t)return!0;
2if(!e||!t)return!1;const n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(let r=0;r<i;r++){const i=n[r];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0})(r,e)||i(e)}),[e,t]),r},Ho=e=>{const t=()=>(e=>e.query||Io(e))(e),[n,r]=Ce(t);return Se((()=>{const e=t();n!==e&&r(e)}),[e]),n},Do=(e,t,n)=>{const r=Ro(t),i=Ho(e);if(!i)throw new Error("Invalid or missing MediaQuery!");const o=((e,t)=>{const n=()=>lo(e,t||{},!!t),[r,i]=Ce(n),o=Lo();return Se((()=>{if(o){const e=n();return i(e),()=>{e&&e.dispose()}}}),[e,t]),r})(i,r),a=(e=>{const[t,n]=Ce(e.matches);return Se((()=>{const t=e=>{n(e.matches)};return e.addListener(t),n(e.matches),()=>{e.removeListener(t)}}),[e]),t})(o),s=Lo();return Se((()=>{s&&n&&n(a)}),[a]),Se((()=>()=>{o&&o.dispose()}),[]),a};var Bo={exports:{}};!function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,r(n)))}return e}function r(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var o in e)t.call(e,o)&&e[o]&&(r=i(r,o));return r}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}(Bo);const ko=ui(Bo.exports),Fo="_container_xqepo_1",Uo="_total_xqepo_15",jo="_creditInfo_xqepo_22",Go="_creditInfoTitle_xqepo_33",Wo="_fees_xqepo_37",zo="_creditCost_xqepo_47",Vo="_creditInfoLegalText_xqepo_51",$o="alma-eligibility-modal",qo={desktopModal:`${$o}-desktop-modal`,mobileModal:`${$o}-mobile-modal`,leftSide:`${$o}-left-side`,bullet:`${$o}-bullet`,rightSide:`${$o}-right-side`,title:`${$o}-title`,info:`${$o}-info`,infoMessage:`${$o}-info-message`,eligibilityOptions:`${$o}-eligibility-options`,activeOption:`${$o}-active-option`,closeButton:`${$o}-close-button`,scheduleDetails:`${$o}-schedule-details`,scheduleTotal:`${$o}-schedule-total`,scheduleCredit:`${$o}-schedule-credit`,cardContainer:`${$o}-card-logos`,summary:`${$o}-summary`},Xo=({currentPlan:e})=>{var t,n,r,i,o,a;const s=Ei(),l=g(e.purchase_amount+e.customer_total_cost_amount),u=g(e.customer_total_cost_amount),c=(null==e?void 0:e.annual_interest_rate)&&e.annual_interest_rate/1e4||0,h=g(e.customer_total_cost_amount),d=e.installments_count>4,m=g(null!=(r=null==(n=null==(t=e.payment_plan)?void 0:t[0])?void 0:n.total_amount)?r:0),p=g(e.purchase_amount+e.customer_total_cost_amount-(null!=(a=null==(o=null==(i=e.payment_plan)?void 0:i[0])?void 0:o.total_amount)?a:0));return jt.createElement(jt.Fragment,null,d&&jt.createElement("div",{className:jo},jt.createElement("span",{className:Go},jt.createElement(Ii,{id:"credit-features.information.title",defaultMessage:"Un crédit vous engage et doit être remboursé."})),jt.createElement("br",null),jt.createElement(Ii,{id:"credit-features.information",defaultMessage:"Vérifiez vos capacités de remboursement avant de vous engager."})),jt.createElement("div",{className:ko(Fo,qo.summary),"data-testid":"modal-summary"},jt.createElement("div",{className:ko(Uo,qo.scheduleTotal)},jt.createElement(Ii,{tagName:"div",id:"installments.total-amount",defaultMessage:"Total"}),jt.createElement(Mi,{value:l||0,style:"currency",currency:"EUR"})),jt.createElement("div",{className:ko(Wo,qo.scheduleCredit)},d?jt.createElement(jt.Fragment,null,jt.createElement(Ii,{id:"credit-features.total-credit-cost",defaultMessage:"Dont coût du crédit"}),jt.createElement("span",{className:zo},jt.createElement(Ii,{id:"credit-features.credit-cost-display",defaultMessage:"{creditCost} (TAEG {taegPercentage})",values:{creditCost:s.formatNumber(u,{style:"currency",currency:"EUR"}),taegPercentage:s.formatNumber(c,{style:"percent",maximumFractionDigits:2})}}))):jt.createElement(jt.Fragment,null,jt.createElement(Ii,{id:"installments.total-fees",defaultMessage:"Dont frais (TTC)",tagName:"div"}),jt.createElement("div",null,jt.createElement(Mi,{value:h,style:"currency",currency:"EUR"})))),d&&jt.createElement("div",{className:Vo},jt.createElement(Ii,{id:"credit-features.legal-text",defaultMessage:"Crédit d'un montant de {totalWithoutFirstInstallment} au taux débiteur fixe de {taegPercentage} sur une durée de {installmeentsCountWithoutFirst} mois. Permettant, en complément d'un acompte de {firstInstallmentAmount}, de financer un achat d'un montant de {productPriceWithoutCreditCost}. Sous réserve d'étude et d'acceptation par Alma. Délai légal de rétractation de 14 jours. Simulation présentée par Alma, immatriculée au RCS Nanterre sous le numéro 839 100 575, établissement de paiement et société de financement agréée par l’ACPR sous le n° 17408 (numéro CIB / Code banque).",values:{totalWithoutFirstInstallment:s.formatNumber(p,{style:"currency",currency:"EUR"}),taegPercentage:s.formatNumber(c,{style:"percent",maximumFractionDigits:2}),installmeentsCountWithoutFirst:e.installments_count-1,firstInstallmentAmount:s.formatNumber(m,{style:"currency",currency:"EUR"}),productPriceWithoutCreditCost:s.formatNumber(l-u,{style:"currency",currency:"EUR"})}}))))},Zo="_loadingIndicator_rleli_1",Ko=({className:e})=>jt.createElement("div",{className:ko(Zo,e),"data-testid":"loader"},jt.createElement("svg",{width:"120",height:"134",viewBox:"0 0 120 134",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jt.createElement("path",{d:"M83.8164 41.0325C79.1708 22.8241 69.3458 17 59.9939 17C50.642 
217 40.8171 22.8241 36.1715 41.0325L16 117H35.8804C39.119 104.311 49.1016 97.2436 59.9939 97.2436C70.8863 97.2436 80.8689 104.324 84.1075 117H104L83.8164 41.0325ZM59.9939 79.5428C53.6623 79.5428 47.925 82.0552 43.6918 86.1283L55.0936 41.9207C56.1853 37.6953 57.7985 36.3503 60.0061 36.3503C62.2136 36.3503 63.8269 37.6953 64.9185 41.9207L76.3082 86.1283C72.075 82.0552 66.3256 79.5428 59.9939 79.5428Z",fill:"#FA5022"})));var Yo={exports:{}};!function(e){!function(){var t,n,r=!1;function i(e){if("undefined"!=typeof document&&!r){var i=document.documentElement;n=window.pageYOffset,document.documentElement.scrollHeight>window.innerHeight?i.style.width="calc(100% - "+function(){if(void 0!==t)return t;var e=document.documentElement,n=document.createElement("div");return n.setAttribute("style","width:99px;height:99px;position:absolute;top:-9999px;overflow:scroll;"),e.appendChild(n),t=n.offsetWidth-n.clientWidth,e.removeChild(n),t}()+"px)":i.style.width="100%",i.style.position="fixed",i.style.top=-n+"px",i.style.overflow="hidden",r=!0}}function o(){if("undefined"!=typeof document&&r){var e=document.documentElement;e.style.width="",e.style.position="",e.style.top="",e.style.overflow="",window.scroll(0,n),r=!1}}var a={on:i,off:o,toggle:function(){r?o():i()}};e.exports=a}()}(Yo);const Jo=ui(Yo.exports);var Qo={exports:{}},ea={};const ta=ci(Gt);var na={exports:{}},ra={},ia={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce((function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])}),[]);return n.filter(s)};var n="none",r="contents",i=/input|select|textarea|button|object|iframe/;function o(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var i=window.getComputedStyle(e),o=i.getPropertyValue("display");return t?o!==r&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,i):o===n}catch(e){return!1}}function a(e,t){var n=e.nodeName.toLowerCase();return(i.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),o(t))return!1;t=t.parentNode}return!0}(e)}function s(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default}(ia,ia.exports);var oa=ia.exports;Object.defineProperty(ra,"__esModule",{value:!0}),ra.resetState=function(){sa=[]},ra.log=function(){},ra.handleBlur=ca,ra.handleFocus=ha,ra.markForFocusLater=function(){sa.push(document.activeElement)},ra.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==sa.length&&(t=sa.pop(),t.focus({preventScroll:e})))}catch(e){}},ra.popWithoutFocus=function(){sa.length>0&&sa.pop()},ra.setupScopedFocus=function(e){la=e,window.addEventListener?(window.addEventListener("blur",ca,!1),document.addEventListener("focus",ha,!0)):(window.attachEvent("onBlur",ca),document.attachEvent("onFocus",ha))},ra.teardownScopedFocus=function(){la=null,window.addEventListener?(window.removeEventListener("blur",ca),document.removeEventListener("focus",ha)):(window.detachEvent("onBlur",ca),document.detachEvent("onFocus",ha))};var aa=function(e){return e&&e.__esModule?e:{default:e}}(oa);var sa=[],la=null,ua=!1;function ca(){ua=!0}function ha(){if(ua){if(ua=!1,!la)return;setTimeout((function(){la.contains(document.activeElement)||((0,aa.default)(la)[0]||la).focus()}),0)}}var da={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.default)(e);if(!n.length)return void t.preventDefault();var o=void 0,a=t.shiftKey,s=n[0],l=n[n.length-1],u=i();if(e===u){if(!a)return;o=l}if(l===u&&!a&&(o=s),s===u&&a&&(o=l),o)return t.preventDefault(),void o.focus();var c=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=c&&"Chrome"!=c[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var h=n.indexOf(u);if(h>-1&&(h+=a?-1:1),void 0===(o=n[h]))return t.preventDefault(),void(o=a?l:s).focus();t.preventDefault(),o.focus()}};var n,r=(n=oa)&&n.__esModule?n:{default:n};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?i(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}
2(da,da.exports);var ma=da.exports,pa={},fa=function(){},ga={},ya={exports:{}};!function(e){var t,n;t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen},e.exports?e.exports=n:window.ExecutionEnvironment=n}(ya);var _a=ya.exports;Object.defineProperty(ga,"__esModule",{value:!0}),ga.canUseDOM=ga.SafeNodeList=ga.SafeHTMLCollection=void 0;var va=function(e){return e&&e.__esModule?e:{default:e}}(_a);var ba=va.default,Ea=ba.canUseDOM?window.HTMLElement:{};ga.SafeHTMLCollection=ba.canUseDOM?window.HTMLCollection:{},ga.SafeNodeList=ba.canUseDOM?window.NodeList:{},ga.canUseDOM=ba.canUseDOM,ga.default=Ea,Object.defineProperty(pa,"__esModule",{value:!0}),pa.resetState=function(){Sa&&(Sa.removeAttribute?Sa.removeAttribute("aria-hidden"):null!=Sa.length?Sa.forEach((function(e){return e.removeAttribute("aria-hidden")})):document.querySelectorAll(Sa).forEach((function(e){return e.removeAttribute("aria-hidden")}))),Sa=null},pa.log=function(){},pa.assertNodeList=Aa,pa.setElement=function(e){var t=e;if("string"==typeof t&&wa.canUseDOM){var n=document.querySelectorAll(t);Aa(n,t),t=n}return Sa=t||Sa},pa.validateElement=Pa,pa.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var i,o=Pa(e)[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){i.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}},pa.show=function(e){var t=!0,n=!1,r=void 0;try{for(var i,o=Pa(e)[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){i.value.removeAttribute("aria-hidden")}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}},pa.documentNotReadyOrSSRTesting=function(){Sa=null};var Ca=function(e){return e&&e.__esModule?e:{default:e}}(fa),wa=ga;var Sa=null;function Aa(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function Pa(e){var t=e||Sa;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,Ca.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}var Ta={};Object.defineProperty(Ta,"__esModule",{value:!0}),Ta.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in Oa)Ia(e,Oa[t]);var n=document.body;for(var r in Na)Ia(n,Na[r]);Oa={},Na={}},Ta.log=function(){};var Oa={},Na={};function Ia(e,t){e.classList.remove(t)}Ta.add=function(e,t){return function(e,t,n){n.forEach((function(n){(function(e,t){e[t]||(e[t]=0),e[t]+=1})(t,n),e.add(n)}))}(e.classList,"html"==e.nodeName.toLowerCase()?Oa:Na,t.split(" "))},Ta.remove=function(e,t){return function(e,t,n){n.forEach((function(n){(function(e,t){e[t]&&(e[t]-=1)})(t,n),0===t[n]&&e.remove(n)}))}(e.classList,"html"==e.nodeName.toLowerCase()?Oa:Na,t.split(" "))};var xa={};Object.defineProperty(xa,"__esModule",{value:!0}),xa.log=function(){La.openInstances.forEach((function(e){}))},xa.resetState=function(){La=new Ma};var Ma=function e(){var t=this;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},La=new Ma;xa.default=La;var Ra={};Object.defineProperty(Ra,"__esModule",{value:!0}),Ra.resetState=function(){for(var e=[Da,Ba],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}Da=Ba=null,ka=[]},Ra.log=function(){for(var e=[Da,Ba],t=0;t<e.length;t++);};
2var Ha=function(e){return e&&e.__esModule?e:{default:e}}(xa);var Da=void 0,Ba=void 0,ka=[];function Fa(){0!==ka.length&&ka[ka.length-1].focusContent()}Ha.default.subscribe((function(e,t){!Da&&!Ba&&((Da=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),Da.style.position="absolute",Da.style.opacity="0",Da.setAttribute("tabindex","0"),Da.addEventListener("focus",Fa),(Ba=Da.cloneNode()).addEventListener("focus",Fa)),(ka=t).length>0?(document.body.firstChild!==Da&&document.body.insertBefore(Da,document.body.firstChild),document.body.lastChild!==Ba&&document.body.appendChild(Ba)):(Da.parentElement&&Da.parentElement.removeChild(Da),Ba.parentElement&&Ba.parentElement.removeChild(Ba))})),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=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},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=ta,a=f(bo),s=p(ra),l=f(ma),u=p(pa),c=p(Ta),h=ga,d=f(h),m=f(xa);function p(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function f(e){return e&&e.__esModule?e:{default:e}}var g={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},y=0,_=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,i=e.htmlOpenClassName,o=e.bodyOpenClassName,a=e.parentSelector,l=a&&a().ownerDocument||document;o&&c.remove(l.body,o),i&&c.remove(l.getElementsByTagName("html")[0],i),r&&y>0&&(0===(y-=1)&&u.show(t)),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(s.returnFocus(n.props.preventScroll),s.teardownScopedFocus()):s.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),m.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(s.setupScopedFocus(n.node),s.markForFocusLater()),n.setState({isOpen:!0},(function(){n.openAnimationFrame=requestAnimationFrame((function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,l.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose
vendor: 13,628 bytes, line 2
2=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){!n.props.shouldCloseOnOverlayClick&&e.target==n.overlay&&e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var i="object"===(void 0===t?"undefined":r(t))?t:{base:g[e],afterOpen:g[e]+"--after-open",beforeClose:g[e]+"--before-close"},o=i.base;return n.state.afterOpen&&(o=o+" "+i.afterOpen),n.state.beforeClose&&(o=o+" "+i.beforeClose),"string"==typeof t&&t?o+" "+t:o},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName,o=e.parentSelector,a=o&&o().ownerDocument||document;i&&c.add(a.body,i),r&&c.add(a.getElementsByTagName("html")[0],r),n&&(y+=1,u.hide(t)),m.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,r=e.className,i=e.overlayClassName,o=e.defaultStyles,a=e.children,s=r?{}:o.content,l=i?{}:o.overlay;if(this.shouldBeClosed())return null;var u={ref:this.setOverlayRef,className:this.buildClassName("overlay",i),style:n({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},c=n({id:t,ref:this.setContentRef,style:n({},s,this.props.style.content),className:this.buildClassName("content",r),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),h=this.props.contentElement(c,a);return this.props.overlayElement(u,h)}}]),t}(o.Component);_.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},_.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),parentSelector:a.default.func,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(d.default),a.default.instanceOf(h.SafeHTMLCollection),a.default.instanceOf(h.SafeNodeList),a.default.arrayOf(a.default.instanceOf(d.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},t.default=_,e.exports=t.default}(na,na.exports);var Ua=na.exports;function ja(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function Ga(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function Wa(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}ja.__suppressDeprecationWarning=!0,Ga.__suppressDeprecationWarning=!0,Wa.__suppressDeprecationWarning=!0;const za=Object.freeze(Object.defineProperty({__proto__:null,polyfill:function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,i=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?i="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(i="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==i){var o=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+o+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n  "+n:"")+(null!==r?"\n  "+r:"")+(null!==i?"\n  "+i:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=ja,t.componentWillReceiveProps=Ga),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Wa;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,r)}}return e}},Symbol.toStringTag,{value:"Module"})),Va=ci(za);Object.defineProperty(ea,"__esModule",{value:!0}),ea.bodyOpenClassName=ea.portalClassName=void 0;var $a=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},qa=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Xa=ta,Za=rs(Xa),Ka=rs(ta),Ya=rs(bo),Ja=rs(Ua),Qa=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(pa),es=ga,ts=rs(es),ns=Va;function rs(e){return e&&e.__esModule?e:{default:e}}function is(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var os=ea.portalClassName="ReactModalPortal",as=ea.bodyOpenClassName="ReactModal__Body--open",ss=es.canUseDOM&&void 0!==Ka.default.createPortal,ls=function(e){return document.createElement(e)},us=function(){return ss?Ka.default.createPortal:Ka.default.unstable_renderSubtreeIntoContainer};function cs(e){return e()}var hs=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=is(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.removePortal=function(){!ss&&Ka.default.unmountComponentAtNode(r.node);var e=cs(r.props.parentSelector);e&&e.contains(r.node)&&e.removeChild(r.node)},r.portalRef=function(e){r.portal=e},r.renderPortal=function(e){var n=us()(r,Za.default.createElement(Ja.default,$a({defaultStyles:t.defaultStyles},e)),r.node);r.portalRef(n)},is(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),qa(t,[{key:"componentDidMount",value:function(){es.canUseDOM&&(ss||(this.node=ls("div")),this.node.className=this.props.portalClassName,cs(this.props.parentSelector).appendChild(this.node),!ss&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:cs(e.parentSelector),nextParent:cs(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(es.canUseDOM){var r=this.props,i=r.isOpen,o=r.portalClassName;e.portalClassName!==o&&(this.node.className=o);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||i)&&!ss&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(es.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return es.canUseDOM&&ss?(!this.node&&ss&&(this.node=ls("div")),us()(Za.default.createElement(Ja.default,$a({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){Qa.setElement(e)}}]),t}(Xa.Component);hs.propTypes={isOpen:Ya.default.bool.isRequired,style:Ya.default.shape({content:Ya.default.object,overlay:Ya.default.object}),portalClassName:Ya.default.string,bodyOpenClassName:Ya.default.string,htmlOpenClassName:Ya.default.string,className:Ya.default.oneOfType([Ya.default.string,Ya.default.shape({base:Ya.default.string.isRequired,afterOpen:Ya.default.string.isRequired,beforeClose:Ya.default.string.isRequired})]),overlayClassName:Ya.default.oneOfType([Ya.default.string,Ya.default.shape({base:Ya.default.string.isRequired,afterOpen:Ya.default.string.isRequired,beforeClose:Ya.default.string.isRequired})]),appElement:Ya.default.oneOfType([Ya.default.instanceOf(ts.default),Ya.default.instanceOf(es.SafeHTMLCollection),Ya.default.instanceOf(es.SafeNodeList),Ya.default.arrayOf(Ya.default.instanceOf(ts.default))]),onAfterOpen:Ya.default.func,onRequestClose:Ya.default.func,closeTimeoutMS:Ya.default.number,ariaHideApp:Ya.default.bool,shouldFocusAfterRender:Ya.default.bool,shouldCloseOnOverlayClick:Ya.default.bool,shouldReturnFocusAfterClose:Ya.default.bool,preventScroll:Ya.default.bool,parentSelector:Ya.default.func,aria:Ya.default.object,data:Ya.default.object,role:Ya.default.string,contentLabel:Ya.default.string,shouldCloseOnEsc:Ya.default.bool,overlayRef:Ya.default.func,contentRef:Ya.default.func,id:Ya.default.string,overlayElement:Ya.default.func,contentElement:Ya.default.func},hs.defaultProps={isOpen:!1,portalClassName:os,bodyOpenClassName:as,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return Za.default.createElement("div",e,t)},contentElement:function(e,t){return Za.default.createElement("div",e,t)}},hs.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,ns.polyfill)(hs),ea.default=hs,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=ea)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default}(Qo,Qo.exports);const ds=ui(Qo.exports);function ms({color:e="#fff",className:t}){return jt.createElement("svg",{className:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jt.createElement("path",{d:"M12.5964 11.404L9.41445 8.22205L12.5964 5.04007C12.7732 4.86329 12.7732 4.50974 12.5964 4.33296L11.8893 3.62585C11.6904 3.42698 11.359 3.44908 11.1822 3.62585L8.00023 6.80783L4.81825 3.62585C4.61938 3.42698 4.28792 3.44908 4.11114 3.62585L3.40404 4.33296C3.20516 4.53183 3.20516 4.84119 3.40404 5.04007L6.58602 8.22205L3.40404 11.404C3.20516 11.6029 3.20517 11.9123 3.40404 12.1111L4.11115 12.8182C4.28792 12.995 4.61938 13.0171 4.81825 12.8182L8.00023 9.63626L11.1822 12.8182C11.359 12.995 11.6904 13.0171 11.8893 12.8182L12.5964 12.1111C12.7732 11.9344 12.7732 11.5808 
212.5964 11.404Z",fill:e}))}const ps="_modal_19xub_1",fs="_content_19xub_15",gs="_contentScrollable_19xub_21",ys="_overlay_19xub_27",_s="_header_19xub_40",vs="_closeButton_19xub_49",bs=e=>{var t=e,{children:n,isOpen:r,onClose:i,className:o,contentClassName:a,scrollable:s=!1}=t,l=h(t,["children","isOpen","onClose","className","contentClassName","scrollable"]);return ds.setAppElement("body"),jt.createElement(ds,c({className:ko(ps,o),overlayClassName:ys,onAfterOpen:()=>{Jo.on()},onAfterClose:()=>{Jo.off()},onRequestClose:i,isOpen:r,shouldCloseOnOverlayClick:!0,shouldCloseOnEsc:!0},l),jt.createElement("div",{className:_s},jt.createElement("button",{type:"button",onClick:i,className:ko(vs,qo.closeButton),"data-testid":"modal-close-button"},jt.createElement(ms,null))),jt.createElement("div",{className:ko(fs,a,{[gs]:s})},n))},Es=Symbol.for("constructDateFrom");function Cs(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&Es in e?e[Es](t):e instanceof Date?new e.constructor(t):new Date(t)}function ws(e,t){const n=function(e){return Cs(e,e)}(e);return n.setHours(0,0,0,0),n}function Ss(e,t,n){const[r,i]=function(e,...t){const n=Cs.bind(null,t.find((e=>"object"==typeof e)));return t.map(n)}(null==n||n.in,e,t);return+ws(r)==+ws(i)}function As(e,t){return Ss(Cs(e,e),function(e){return Cs(e,Date.now())}(e))}function Ps(e){return 1e3*e}const Ts="_openModalInfo_bndtu_1",Os=e=>{const{deferred_days:t,deferred_months:n,installments_count:r}=e;return 1!==r||t||n?1===r&&t?jt.createElement(Ii,{id:"payment-plan-strings.day-abbreviation",defaultMessage:"J{deferredDays}",values:{deferredDays:`+${t}`}}):1===r&&n?jt.createElement(Ii,{id:"payment-plan-strings.month-abbreviation",defaultMessage:"M{deferredMonths}",values:{deferredMonths:`+${n}`}}):`${r}x`:jt.createElement(Ii,{id:"payment-plan-strings.pay.now.button",defaultMessage:"Payer maintenant"})},Ns=e=>{var t;if(null!=(t=e.payment_plan)&&t.every((e=>0===e.customer_fee&&0===e.customer_interest)))return jt.createElement(jt.Fragment,null," ",jt.createElement(Ii,{id:"payment-plan-strings.no-fee",defaultMessage:"(sans frais)"}))},Is="_buttons_12ibe_1",xs="_active_12ibe_29",Ms="_textButton_12ibe_35",Ls=({eligibilityPlans:e,currentPlanIndex:t,setCurrentPlanIndex:n})=>jt.createElement("div",{className:ko(Is,qo.eligibilityOptions)},e.map(((e,r)=>jt.createElement("button",{type:"button",key:`p${e.installments_count}x-d+${e.deferred_days}-m+${e.deferred_months}`,className:ko({[ko(xs,qo.activeOption)]:r===t}),onClick:()=>n(r)},jt.createElement("span",{className:Ms},Os(e)))))),Rs="_installment_1c45h_1",Hs="_date_1c45h_11",Ds="_dot_1c45
2h_17",Bs="_isCurrent_1c45h_26",ks="_bold_1c45h_30",Fs=({installment:e,index:t})=>jt.createElement("div",{className:Rs,"data-testid":`installment-${t}`},jt.createElement("div",{className:Hs},jt.createElement("div",{className:ko(Ds,{[Bs]:0===t})}),As(1e3*e.due_date)?jt.createElement(Ii,{id:"installments.today",defaultMessage:"Aujourd'hui",tagName:"strong"}):jt.createElement(xi,{value:1e3*e.due_date,day:"numeric",month:"long",year:"numeric"})),jt.createElement("div",{className:ko({[ks]:0===t})},jt.createElement(Mi,{value:e.total_amount/100,style:"currency",currency:"EUR"}))),Us="_schedule_mjau7_1",js=({currentPlan:e})=>jt.createElement("div",{className:ko(Us,qo.scheduleDetails),"data-testid":"modal-installments-element"},((null==e?void 0:e.payment_plan)||[]).map(((e,t)=>jt.createElement(Fs,{key:1e3*e.due_date,installment:e,index:t})))),Gs=e=>{var t=e,{color:n="#FA5022"}=t,r=h(t,["color"]);return jt.createElement("svg",c({width:"50",height:"25",viewBox:"0 0 360 109",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),jt.createElement("path",{d:"M333.24 28.3462V38.4459C327.504 31.1018 319.176 26.5132 309.288 26.5132C290.208 26.5132 275.424 43.5497 275.424 64.5757C275.424 85.6018 290.208 102.638 309.288 102.638C319.872 102.638 328.668 97.3908 334.416 89.1241V100.817H352.668V28.3462H333.24ZM314.028 84.4876C303.42 84.4876 294.828 75.574 294.828 64.5757C294.828 53.5775 303.42 44.6639 314.028 44.6639C324.636 44.6639 333.228 53.5775 333.228 64.5757C333.228 75.574 324.636 84.4876 314.028 84.4876ZM109.5 8.23073H128.916V100.805H109.5V8.23073ZM151.248 59.7356C151.248 39.8117 163.5 26.5252 180.468 26.5252C191.004 26.5252 199.332 31.1976 204.348 39.1648C209.376 31.1976 217.692 26.5252 228.228 26.5252C245.196 26.5252 257.448 39.8117 257.448 59.7356V100.817H238.032V57.639C238.032 49.8635 232.872 44.7957 226.044 44.7957C219.216 44.7957 214.056 49.8755 214.056 57.639V100.817H194.64V57.639C194.64 49.8635 189.48 44.7957 182.652 44.7957C175.824 44.7957 170.664 49.8755 170.664 57.639V100.817H151.248V59.7356ZM74.34 29.101C69.744 11.9088 60.0241 6.40967 50.772 6.40967C41.5201 6.40967 31.8 11.9088 27.204 29.101L7.24805 100.829H26.916C30.12 88.8485 39.996 82.1753 50.772 82.1753C61.548 82.1753 71.424 88.8605 74.6281 100.829H94.3081L74.34 29.101ZM50.772 65.4623C44.508 65.4623 38.8321 67.8345 34.6441 71.6803L45.924 29.9397C47.0041 25.9501 48.6001 24.6802 50.784 24.6802C52.9681 24.6802 54.5641 25.9501 55.6441 29.9397L66.912 71.6803C62.724 67.8345 57.036 65.4623 50.772 65.4623Z",fill:n}))},Ws=()=>jt.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"16",viewBox:"0 0 24 16"},jt.createElement("defs",null,jt.createElement("linearGradient",{id:"cardamex",x1:"10.914%",x2:"87.432%",y1:"86.279%",y2:"15.035%"},jt.createElement("stop",{offset:"0%",stopColor:"#3FA9F5"}),jt.createElement("stop",{offset:"100%",stopColor:"#0071BC"}))),jt.createElement("g",{fill:"none",fillRule:"evenodd"},jt.createElement("path",{fill:"url(#cardamex)",fillRule:"nonzero",d:"M22.559 16H1.379C.627 16 0 15.392 0 14.662V1.338C0 .608.627 0 1.379 0H22.62C23.373 0 24 .608 24 1.338v13.324c-.063.73-.627 1.338-1.441 1.338z"}),jt.createElement("g",{fill:"#FFF"},jt.createElement("path",{d:"M10.115 8.711L8.889 6.044H7.295v3.852L5.517 6.044H4.17l-1.778 4.03h1.103l.368-.889h2.023l.368.89h2.084V7.11l1.349 2.963h.92l1.348-2.904v2.904h.98v-4.03H11.28l-1.165 2.667zm-5.272-.474H4.23l.613-1.422v.06l.613 1.362h-.613z"}),jt.createElement("path",{fillRule:"nonzero",d:"M19.372 7.94l.735-.77 1.042-1.185h-1.287L18.697 7.23l-1.164-1.245h-3.985v3.97h3.923l1.226-1.303 1.165 1.304h1.287L20.107 8.71l-.735-.77zM16.92 9.186h-2.33v-.77h2.268v-.77H14.59v-.712h2.33L18.084 8 16.92 9.185z"})))),zs=()=>jt.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"16",viewBox:"0 0 24 16"},jt.createElement("defs",null,jt.createElement("linearGradient",{id:"cardcb",x1:"5.842%",x2:"95.393%",y1:"81.753%",y2:"17.344%"},jt.createElement("stop",{offset:"0%",stopColor:"#39B54A"})," ",jt.createElement("stop",{offset:"100%",stopColor:"#0A5296"}))),jt.createElement("g",{fill:"none",fillRule:"nonzero"},jt.createElement("path",{fill:"url(#cardcb)",d:"M22.621 16H1.38C.627 16 0 15.392 0 14.662V1.338C0 .608.627 0 1.379 0H22.62C23.373 0 24 .608 24 1.338v13.324c-.063.73-.627 1.338-1.379 1.338z"}),jt.createElement("g",{fill:"#FFF"},jt.createElement("path",{d:"M19.094 4.03h-6.437V8h6.498c1.165 0 2.084-.889 2.084-2.015-.06-1.066-.98-1.955-2.145-1.955zM19.094 8.593h-6.437v3.97h6.498c1.165 0 2.084-.889 2.084-2.015-.06-1.067-.98-1.955-2.145-1.955zM7.017 8.06h4.966c-.245-2.371-2.391-4.267-4.966-4.267-2.758 0-5.027 2.074-5.027 4.681s2.269 4.682 5.027 4.682c2.698 0 4.904-2.015 5.027-4.563H7.017v-.534z"})))),Vs=()=>jt.createElement("svg",{width:"24px",height:"16px",viewBox:"0 0 24 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},jt.createElement("g",{id:"Parcours-1C-B",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},jt.createElement("g",{id:"mobile-1C-Paiement-V1",transform:"translate(-269.000000, -313.000000)"},jt.createElement("g",{id:"mastercard",transform:"translate(269.000000, 313.000000)"},jt.createElement("rect",{id:"Rectangle",fill:"#FFFFFF",x:"0",y:"0",width:"24",height:"16",rx:"1"}),jt.createElement("g",{id:"Group-6",transform:"translate(4.000000, 3.000000)"}
2,jt.createElement("circle",{id:"Oval-4-Copy",fill:"#EA001B",cx:"5.05263158",cy:"5.05263158",r:"5.05263158"}),jt.createElement("circle",{id:"Oval-4",fillOpacity:"0.25",fill:"#F79F1A",cx:"10.9473684",cy:"5.05263158",r:"5.05263158"}),jt.createElement("circle",{id:"Oval-4-Copy-2",fillOpacity:"0.9",fill:"#F79F1A",cx:"10.9473684",cy:"5.05263158",r:"5.05263158"}),jt.createElement("circle",{id:"Oval-4-Copy-3",fillOpacity:"0.3",fill:"#EA001B",cx:"5.05263158",cy:"5.05263158",r:"5.05263158"})))))),$s=()=>jt.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"16",viewBox:"0 0 24 16"},jt.createElement("g",{fill:"none",fillRule:"nonzero"},jt.createElement("path",{fill:"#FCFCFC",d:"M22.684 16H1.38C.627 16 0 15.39 0 14.656V1.344C0 .61.627 0 1.379 0H22.62C23.373 0 24 .61 24 1.344v13.374c0 .671-.564 1.282-1.316 1.282z"})," ",jt.createElement("path",{fill:"#005098",d:"M8.889 10.726l.948-5.393h1.482l-.949 5.393zM15.704 5.452a3.658 3.658 0 0 0-1.304-.237c-1.481 0-2.489.71-2.489 1.778 0 .77.711 1.185 1.304 1.481.592.237.77.415.77.652 0 .355-.474.533-.889.533-.592 0-.889-.059-1.363-.296l-.177-.06-.178 1.186c.355.178 1.007.296 1.659.296 1.54 0 2.548-.71 2.548-1.837 0-.592-.415-1.067-1.244-1.481-.534-.237-.83-.415-.83-.652 0-.237.237-.474.83-.474.474 0 .83.118 1.126.178l.118.059.119-1.126M19.496 5.333H18.37c-.355 0-.592.119-.77.474l-2.193 4.919h1.541s.237-.652.296-.83h1.897c.059.178.178.83.178.83h1.362l-1.
2185-5.393zM17.66 8.77l.593-1.481s.118-.296.178-.533l.118.474s.296 1.303.356 1.54h-1.245zM7.644 5.333L6.222 9.007l-.178-.77C5.748 7.348 4.92 6.459 4.03 5.985l1.303 4.682h1.541l2.311-5.393h-1.54"}),jt.createElement("path",{fill:"#F6A500",d:"M4.919 5.333h-2.37v.119c1.836.474 3.08 1.54 3.555 2.844L5.57 5.807c-.118-.414-.355-.474-.651-.474"}),jt.createElement("path",{fill:"#0A5296",d:"M23.937 3.23H0V1.316C0 .598.627 0 1.379 0H22.62C23.373 0 24 .598 24 1.316V3.23h-.063z"}),jt.createElement("path",{fill:"#F4A428",d:"M.063 13H24v1.8c0 .655-.625 1.2-1.375 1.2H1.375C.625 16 0 15.455 0 14.8V13h.063z"}))),qs={cardContainer:"_cardContainer_5dhmv_1"},Xs=({cards:e})=>{const t=Array.from(new Set(e));return jt.createElement("div",{"data-testid":"card-logos",className:ko(qs.cardContainer,qo.cardContainer)},t.map((e=>jt.createElement("div",{key:e,className:qs.card,"data-testid":`card-logo-${e}`},"cb"===e&&jt.createElement(zs,null),"amex"===e&&jt.createElement(Ws,null),"mastercard"===e&&jt.createElement(Vs,null),"visa"===e&&jt.createElement($s,null)))))},Zs="_list_11ul3_1",Ks="_listItem_11ul3_10",Ys="_bullet_11ul3_17",Js=e=>jt.createElement("strong",null,e),Qs=({isCurrentPlanP1X:e})=>jt.createElement("div",{className:ko(Zs,qo.info),"data-testid":"modal-info-element"},jt.createElement("div",{className:Ks},jt.createElement("div",{className:ko(Ys,qo.bullet)},"1"),jt.createElement("div",{className:qo.infoMessage},jt.createElement(Ii,e?{id:"eligibility-modal.p1x-bullet-1",defaultMessage:"Choisissez <strong>Alma - Payer maintenant</strong> au moment du paiement.",values:{strong:Js}}:{id:"eligibility-modal.bullet-1",defaultMessage:"Choisissez <strong>Alma</strong> au moment du paiement.",values:{strong:Js}}))),jt.createElement("div",{className:Ks},jt.createElement("div",{className:ko(Ys,qo.bullet)},"2"),jt.createElement("div",{className:qo.infoMessage},jt.createElement(Ii,e?{id:"eligibility-modal.p1x-bullet-2",defaultMessage:"Renseignez les informations de votre <strong>carte bancaire.</strong>",values:{strong:Js}}:{id:"eligibility-modal.bullet-2",defaultMessage:"Laissez-vous guider et validez votre paiement en <strong>2 minutes.</strong>",values:{strong:Js}}))),jt.createElement("div",{className:Ks},jt.createElement("div",{className:ko(Ys,qo.bullet)},"3"),jt.createElement("div",{className:qo.infoMessage},jt.createElement(Ii,e?{id:"eligibility-modal.p1x-bullet-3",defaultMessage:"<strong>La validation </strong> de votre paiement est instantanée !",values:{strong:Js}}:{id:"eligibility-modal.bullet-3",defaultMessage:"<strong>Gardez le contrôle</strong> en avançant ou reculant vos échéances à votre rythme.",values:{strong:Js}})))),el="_title_1yl0a_1",tl=({isSomePlanDeferred:e,isCurrentPlanP1X:t})=>jt.createElement("div",{className:ko(el,qo.title),"data-testid":"modal-title-element"},e&&jt.createElement(Ii,{id:"eligibility-modal.title-deferred-plan",defaultMessage:"Payez en plusieurs fois ou plus tard par carte bancaire avec Alma."}),!e&&t&&jt.createElement(Ii,{id:"eligibility-modal.title-pay-now",defaultMessage:"Payez comptant par carte bancaire avec Alma."}),!e&&!t&&jt.createElement(Ii,{id:"eligibility-modal.title-normal",defaultMessage:"Payez en plusieurs fois par carte bancaire avec Alma."})),nl="_container_lop95_1",rl="_block_lop95_7",il="_left_lop95_14",ol="_logo_lop95_20",al=({children:e,isSomePlanDeferred:t,cards:n,isCurrentPlanP1X:r})=>jt.createElement("div",{className:ko(nl,qo.desktopModal),"data-testid":"modal-container"},jt.createElement("aside",{className:ko([rl,il,qo.leftSide])},jt.createElement(tl,{isSomePlanDeferred:t,isCurrentPlanP1X:r}),jt.createElement(Qs,{isCurrentPlanP1X:r}),n&&jt.createElement(Xs,{cards:n}),jt.createElement(Gs,{className:ol,width:"75"})),jt.createElement("div",{className:ko(rl,qo.rightSide)},e)),sl="_noEligibility_1lg7e_1",ll="_loader_1lg7e_9",ul="_scheduleArea_1lg7e_16",cl="_verticalLine_1lg7e_20",hl="_container_1ca7c_1",dl="_logo_1ca7c_6",ml=({children:e,isSomePlanDeferred:t,cards:n,isCurrentPlanP1X:r})=>jt.createElement("div",{className:ko(hl,qo.mobileModal),"data-testid":"modal-container"},jt.createElement(tl,{isSomePlanDeferred:t,isCurrentPlanP1X:r}),e,jt.createElement(Qs,{isCurrentPlanP1X:r}),n&&jt.createElement(Xs,{cards:n}),jt.createElement(Gs,{className:dl,width:"75"})),pl=({initialPlanIndex:e,onClose:t,eligibilityPlans:n,status:r,cards:i})=>{const[o,a]=Ce(e||0),s=Do({minWidth:800})?al:ml,l=n.filter((e=>e.eligible)),u=l[o],c=n.some((e=>e.deferred_days>0||e.deferred_months>0));return jt.createElement(bs,{onClose:t,ariaHideApp:!1,scrollable:!0,isOpen:!0},jt.createElement(s,{isSomePlanDeferred:c,cards:i,isCurrentPlanP1X:_(u)},r===m.PENDING&&jt.createElement("div",{className:ll},jt.createElement(Ko,null)),r===m.SUCCESS&&0===l.length&&jt.createElement("div",{className:sl},jt.createElement(Ii,{id:"eligibility-modal.no-eligibility",defaultMessage:"Oups, il semblerait que la simulation n'ait pas fonctionné."})),r===m.SUCCESS&&l.length>=1&&jt.createElement(jt.Fragment,null,jt.createElement(Ls,{eligibilityPlans:l,currentPlanIndex:o,setCurrentPlanIndex:a}),jt.createElement("div",{className:ul},jt.createElement("div",{className:cl}),jt.createElement(js,{currentPlan:u}),jt.createElement(Xo,{currentPlan:u})))))},fl=({purchaseAmount:e,apiData:t,configPlans:n,customerBillingCountry:r,customerShippingCountry:i,onClose:o,cards:a})=>{const[s,l]=qi(e,t,n,r,i);return jt.createElement(pl,{initialPlanIndex:0,onClose:o,eligibilityPlans:s,status:l,cards:a})},gl="_loadingIndicator_mdgfa_1",yl="_line1_mdgfa_8",_l="_line2_mdgfa_14",vl=({className:e})=>jt.createElement("div",{className:ko(gl,e),"data-testid":"loader"},jt.createElement("div",{className:yl}),jt.createElement("div",{className:_l})),bl="alma-payment-plans",El={container:`${bl}-container`,eligibilityLine:`${bl}-eligibility-line`,eligibilityOptions:`${bl}-eligibility-options`,notEligibleOption:`${bl}-not-eligible-option`,paymentInfo:`${bl}-payment-info`,activeOption:`${bl}-active-option`},Cl="_widgetButton_11p0j_1",wl="_logo_11p0j_18",Sl="_primaryContainer_11p0j_22",Al="_paymentPlans_11p0j_28",Pl="_plan_11p0j_37",Tl="_active_11p0j_52",Ol="_monochrome_11p0j_57",Nl="_notEligible_11p0j_61",Il="_hideBorder_11p0j_67",xl="_info_11p0j_71",Ml="_pending_11p0j_87",Ll="_clickable_11p0j_91",Rl="_unClickable_11p0j_95",Hl=({apiData:e,configPlans:t,hideIfNotEligible:n,monochrome:r,purchaseAmount:i,suggestedPaymentPlan:o,cards:a,customerBillingCountry:s,customerShippingCountry:l,transitionDelay:u,hideBorder:c=!1,onModalClose:h})=>{const[d,p]=qi(i,e,t,s,l),f=d.filter((e=>e.eligible)),y=(({suggestedPaymentPlan:e,eligibilityPlans:t})=>{const n=Array.isArray(e)?e:[e];let r=0;return n.some((e=>{const n=t.findIndex((t=>t.installments_count===e&&t.eligible&&!t.deferred_days&&!t.deferred_months));return-1!==n&&(r=n,!0)})),r})({eligibilityPlans:d,suggestedPaymentPlan:null!=o?o:0}),v=void 0!==o,b=void 0!==u,[E,C]=Ce(!1),w=d.reduce(((e,t,n)=>t.eligible?[...e,n]:e),[]),{current:S,onHover:A,onLeave:P}=((e,t)=>{const[n,r]=Ce(0),[i,o]=Ce(!0);return Se((()=>{let o,a=!0;if(-1!==t)return 0!==e.length&&(!e.includes(n)&&i&&r(e[0]),o=setTimeout((()=>{i&&a&&r(e[e.includes(n)?(e.indexOf(n)+1)%e.length:0])}),t)),()=>{a=!1,clearTimeout(o)}}),[e,n,t,i]),{current:n,onHover:e=>{r(e),o(!1)},onLeave:()=>{o(!0)}}})(w,b?null!=u?u:5500:v?36e5:5500);Se((()=>{p===m.SUCCESS&&v&&(A(y),P())}),[p]);if(p===m.PENDING)return jt.createElement("div",{className:ko(Cl,Ml)},jt.createElement(vl,null));if(n&&0===f.length||0===d.length||p===m.FAILED)return null;const T=e=>{e.preventDefault(),f.length>0&&C(!0)};return jt.createElement(jt.Fragment,null,jt.createElement("div",{tabIndex:0,role:"button",onClick:T,onKeyDown:e=>"Enter"===e.key&&T(e),className:ko(Cl,{[Ll]:f.length>0,[Rl]:0===f.length,[Il]:c},El.container),"data-testid":"widget-button"},jt.createElement("div",{className:ko(Sl,El.eligibilityLine)},jt.createElement(Gs,{className:wl,color:r?"var(--off-black)":void 0}),jt.createElement("div",{className:ko(Al,El.eligibilityOptions)},d.map(((e,t)=>{const n=t===S;return jt.createElement("div",{key:`p${e.installments_count}x-d+${e.deferred_days}-m+${e.deferred_months}`,onMouseEnter:()=>A(t),onTouchStart:()=>A(t),onMouseOut:P,onBlur:P,onTouchEnd:P,className:ko(Pl,{[ko(Tl,El.activeOption)]:n,[Ol]:r&&n,[ko(Nl,El.notEligibleOption)]:!e.eligible})},Os(e))})))),jt.createElement("div",{className:ko(xl,{[ko(Nl,El.notEligibleOption)]:d[S]&&!d[S].eligible},El.paymentInfo)},0!==d.length&&(e=>{const{deferred_days:t,deferred_months:n,installments_count:r,eligible:i,purchase_amount:o,minAmount:a=0,maxAmount:s=0,payment_plan:l}=e,u=t+30*n;if(!i)return jt.createElement(Ii,o>s?{id:"payment-plan-strings.ineligible-greater-than-max",defaultMessage:"Jusqu'à {maxAmount}",values:{maxAmount:jt.createElement(Mi,{value:g(s),style:"currency",currency:"EUR"})}}:{id:"payment-plan-strings.ineligible-lower-than-min",defaultMessage:"À partir de {minAmount}",values:{minAmount:jt.createElement(Mi,{value:g(a),style:"currency",currency:"EUR"})}});if(!l)throw Error(`No payment plan provided for payment in ${r} installments. Please contact us if you see this error.`);if(0!==u&&1===r)return jt.createElement(jt.Fragment,null,jt.createElement(Ii,{id:"payment-plan-strings.deferred",defaultMessage:"{totalAmount} à payer le {dueDate}",values:{totalAmount:jt.createElement(Mi,{value:g(l[0].total_amount),style:"currency",currency:"EUR"}),dueDate:jt.createElement(xi,{value:Ps(l[0].due_date),day:"numeric",month:"long",year:"numeric"})}}),Ns(e));if(r>0){const t=null==l?void 0:l.every(((e,t)=>0===t||e.total_amount===l[0].total_amount));return r>4?jt.createElement("span",{className:Ts},jt.createElement(Ii,{id:"payment-plan-strings.credit",defaultMessage:"Cliquez pour en savoir plus",description:"Link to credit details"})):_(e)?jt.createElement(jt.Fragment,null,jt.createElement(Ii,{id:"payment-plan-strings.pay-now",defaultMessage:"Payer maintenant {totalAmount}",values:{totalAmount:jt.createElement(Mi,{value:g(l[0].total_amount),style:"currency",currency:"EUR"}),installmentsCount:r}}),Ns(e)):jt.createElement(jt.Fragment,null,jt.createElement(Ii,t?{id:"payment-plan-strings.multiple-installments-same-amount",defaultMessage:"{installmentsCount} x {totalAmount}",values:{totalAmount:jt.createElement(Mi,{value:g(l[0].total_amount),style:"currency",currency:"EUR"}),installmentsCount:r}}:{id:"payment-plan-strings.multiple-installments",defaultMessage:"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",values:{firstInstallmentAmount:jt.createElement(Mi,{value:g(l[0].total_amount),style:"currency",currency:"EUR"}),numberOfRemainingInstallments:r-1,othersInstallmentAmount:jt.createElement(Mi,{value:g(l[1].total_amount),style:"currency",currency:"EUR"})}}),Ns(e))}return jt.createElement(Ii,{id:"payment-plan-strings.default-message",defaultMessage:"Payez en plusieurs fois avec Alma"})})(d[S]))),E&&jt.createElement(pl,{initialPlanIndex:(e=>{const t=w.findIndex((t=>t===e));return-1===t?0:t})(S),onClose:e=>{C(!1),null==h||h(e)},eligibilityPlans:f,status:p,cards:a}))},Dl=new Map,Bl=e=>({add:(t,n)=>((e,t,n)=>{var r;const i=document.querySelector(n.container);if(i){const e=Dl.get(i);e&&(e.unmount(),Dl.delete(i))}if(t===d.PaymentPlans){const{purchaseAmount:t,plans:r,transitionDelay:o,hideIfNotEligible:a,hideBorder:s=!1,monochrome:l=!0,suggestedPaymentPlan:u,customerBillingCountry:c,customerShippingCountry:h,locale:d=p.en,cards:m,onModalClose:f}=n;if(i){const n=Wt(i);n.render(jt.createElement(ji,{locale:d},jt.createElement(Hl,{apiData:e,configPlans:r,hideIfNotEligible:a,monochrome:l,purchaseAmount:t,suggestedPaymentPlan:u,cards:m,customerBillingCountry:c,customerShippingCountry:h,transitionDelay:o,hideBorder:s,onModalClose:f}))),Dl.set(i,n)}}if(t===d.Modal){const{clickableSelector:t,purchaseAmount:o,plans:a,locale:s=p.en,customerBillingCountry:l,customerShippingCountry:u,cards:c,onClose:h}=n,d=e=>{if(!i)return;const t=Dl.get(i);t&&(t.unmount(),Dl.delete(i)),null==h||h(e)},m=()=>{if(i){const t=Wt(i);t.render(jt.createElement(ji,{locale:s},jt.createElement(fl,{purchaseAmount:o,apiData:e,configPlans:a,customerBillingCountry:l,customerShippingCountry:u,onClose:d,cards:c}))),Dl.set(i,t)}};return t&&(null==(r=document.querySelector(t))||r.addEventListener("click",m,!1)),{open:m,close:d}}})(e,t,n)});var kl,Fl,Ul=(e=>(e.LIVE="https://api.getalma.eu",e.TEST="https://api.sandbox.getalma.eu",e))(Ul||{});(e=>{e.initialize=function(e,t){return Bl({domain:t,merchantId:e})},e.PaymentPlans=d.PaymentPlans,e.Modal=d.Modal})(kl||(kl={})),(e=>{e.priceToCents=f,e.priceFromCents=g,e.formatCents=y})(Fl||(Fl={}))},8409:function(e,t,n){var r,i,o;!function(){"use strict";i=[n(527)],r=function(e){function t(e,n){return void 0===document.body.style.maxHeight?null:this&&this.options===t.prototype.options?void(e&&e.length?(this.list=e,this.num=e.length,this.initOptions(n),this.initialize()):this.console.log("blueimp Gallery: No or empty list provided as first argument.",e)):new t(e,n)}return e.extend(t.prototype,{options:{container:"#blueimp-gallery",slidesContainer:"div",titleElement:"h3",displayClass:"blueimp-gallery-display",controlsClass:"blueimp-gallery-controls",singleClass:"blueimp-gallery-single",leftEdgeClass:"blueimp-gallery-left",rightEdgeClass:"blueimp-gallery-right",playingClass:"blueimp-gallery-playing",svgasimgClass:"blueimp-gallery-svgasimg",smilClass:"blueimp-gallery-smil",slideClass:"slide",slideActiveClass:"slide-active",slidePrevClass:"slide-prev",slideNextClass:"slide-next",slideLoadingClass:"slide-loading",slideErrorClass:"slide-error",slideContentClass:"slide-content",toggleClass:"toggle",prevClass:"prev",nextClass:"next",closeClass:"close",playPauseClass:"play-pause",typeProperty:"type",titleProperty:"title",altTextProperty:"alt",urlProperty:"href",srcsetProperty:"srcset",sizesProperty:"sizes",sourcesProperty:"sources",displayTransition:!0,clearSlides:!0,toggleControlsOnEnter:!0,toggleControlsOnSlideClick:!0,toggleSlideshowOnSpace:!0,enableKeyboardNavigation:!0,closeOnEscape:!0,closeOnSlideClick:!0,closeOnSwipeUpOrDown:!0,closeOnHashChange:!0,emulateTouchEvents:!0,stopTouchEventsPropagation:!1,hidePageScrollbars:!0,disableScroll:!0,
2carousel:!1,continuous:!0,unloadElements:!0,startSlideshow:!1,slideshowInterval:5e3,slideshowDirection:"ltr",index:0,preloadRange:2,transitionDuration:300,slideshowTransitionDuration:500,event:void 0,onopen:void 0,onopened:void 0,onslide:void 0,onslideend:void 0,onslidecomplete:void 0,onclose:void 0,onclosed:void 0},carouselOptions:{hidePageScrollbars:!1,toggleControlsOnEnter:!1,toggleSlideshowOnSpace:!1,enableKeyboardNavigation:!1,closeOnEscape:!1,closeOnSlideClick:!1,closeOnSwipeUpOrDown:!1,closeOnHashChange:!1,disableScroll:!1,startSlideshow:!0},console:window.console&&"function"==typeof window.console.log?window.console:{log:function(){}},support:function(t){var n,r={source:!!window.HTMLSourceElement,picture:!!window.HTMLPictureElement,svgasimg:document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),smil:!!document.createElementNS&&/SVGAnimate/.test(document.createElementNS("http://www.w3.org/2000/svg","animate").toString()),touch:void 0!==window.ontouchstart||window.DocumentTouch&&document instanceof DocumentTouch},i={webkitTransition:{end:"webkitTransitionEnd",prefix:"-webkit-"},MozTransition:{end:"transitionend",prefix:"-moz-"},OTransition:{end:"otransitionend",prefix:"-o-"},transition:{end:"transitionend",prefix:""}};for(n in i)if(Object.prototype.hasOwnProperty.call(i,n)&&void 0!==t.style[n]){r.transition=i[n],r.transition.name=n;break}function o(){var e,n,i=r.transition;document.body.appendChild(t),i&&(e=i.name.slice(0,-9)+"ransform",void 0!==t.style[e]&&(t.style[e]="translateZ(0)",n=window.getComputedStyle(t).getPropertyValue(i.prefix+"transform"),r.transform={prefix:i.prefix,name:e,translate:!0,translateZ:!!n&&"none"!==n})),document.body.removeChild(t)}return document.body?o():e(document).on("DOMContentLoaded",o),r}(document.createElement("div")),requestAnimationFrame:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,cancelAnimationFrame:window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame,initialize:function(){if(this.initStartIndex(),!1===this.initWidget())return!1;this.initEventListeners(),this.onslide(this.index),this.ontransitionend(),this.options.startSlideshow&&this.play()},slide:function(e,t){window.clearTimeout(this.timeout);var n,r,i,o=this.index;if(o!==e&&1!==this.num){if(t||(t=this.options.transitionDuration),this.support.transform){for(this.options.continuous||(e=this.circle(e)),n=Math.abs(o-e)/(o-e),this.options.continuous&&(r=n,(n=-this.positions[this.circle(e)]/this.slideWidth)!==r&&(e=-n*this.num+e)),i=Math.abs(o-e)-1;i;)i-=1,this.move(this.circle((e>o?e:o)-i-1),this.slideWidth*n,0);e=this.circle(e),this.move(o,this.slideWidth*n,t),this.move(e,0,t),this.options.continuous&&this.move(this.circle(e-n),-this.slideWidth*n,0)}else e=this.circle(e),this.animate(o*-this.slideWidth,e*-this.slideWidth,t);this.onslide(e)}},getIndex:function(){return this.index},getNumber:function(){return this.num},prev:function(){(this.options.continuous||this.index)&&this.slide(this.index-1)},next:function(){(this.options.continuous||this.index<this.num-1)&&this.slide(this.index+1)},play:function(e){var t=this,n=this.index+("rtl"===this.options.slideshowDirection?-1:1);window.clearTimeout(this.timeout),this.interval=e||this.options.slideshowInterval,this.elements[this.index]>1&&(this.timeout=this.setTimeout(!this.requestAnimationFrame&&this.slide||function(e,n){t.animationFrameId=t.requestAnimationFrame.call(window,(function(){t.slide(e,n)}))},[n,this.options.slideshowTransitionDuration],this.interval)),this.container.addClass(this.options.playingClass),this.slidesContainer[0].setAttribute("aria-live","off"),this.playPauseElement.length&&this.playPauseElement[0].setAttribute("aria-pressed","true")},pause:function(){window.clearTimeout(this.timeout),this.interval=null,this.cancelAnimationFrame&&(this.cancelAnimationFrame.call(window,this.animationFrameId),this.animationFrameId=null),this.container.removeClass(this.options.playingClass),this.slidesContainer[0].setAttribute("aria-live","polite"),this.playPauseElement.length&&this.playPauseElement[0].setAttribute("aria-pressed","fal
2se")},add:function(e){var t;for(e.concat||(e=Array.prototype.slice.call(e)),this.list.concat||(this.list=Array.prototype.slice.call(this.list)),this.list=this.list.concat(e),this.num=this.list.length,this.num>2&&null===this.options.continuous&&(this.options.continuous=!0,this.container.removeClass(this.options.leftEdgeClass)),this.container.removeClass(this.options.rightEdgeClass).removeClass(this.options.singleClass),t=this.num-e.length;t<this.num;t+=1)this.addSlide(t),this.positionSlide(t);this.positions.length=this.num,this.initSlides(!0)},resetSlides:function(){this.slidesContainer.empty(),this.unloadAllSlides(),this.slides=[]},handleClose:function(){var e=this.options;this.destroyEventListeners(),this.pause(),this.container[0].style.display="none",this.container.removeClass(e.displayClass).removeClass(e.singleClass).removeClass(e.leftEdgeClass).removeClass(e.rightEdgeClass),e.hidePageScrollbars&&(document.body.style.overflow=this.bodyOverflowStyle),this.options.clearSlides&&this.resetSlides(),this.options.onclosed&&this.options.onclosed.call(this)},close:function(){var e=this;function t(n){n.target===e.container[0]&&(e.container.off(e.support.transition.end,t),e.handleClose())}this.options.onclose&&this.options.onclose.call(this),this.support.transition&&this.options.displayTransition?(this.container.on(this.support.transition.end,t),this.container.removeClass(this.options.displayClass)):this.handleClose()},circle:function(e){return(this.num+e%this.num)%this.num},move:function(e,t,n){this.translateX(e,t,n),this.positions[e]=t},translate:function(e,t,n,r){if(this.slides[e]){var i=this.slides[e].style,o=this.support.transition,a=this.support.transform;i[o.name+"Duration"]=r+"ms",i[a.name]="translate("+t+"px, "+n+"px)"+(a.translateZ?" translateZ(0)":"")}},translateX:function(e,t,n){this.translate(e,t,0,n)},translateY:function(e,t,n){this.translate(e,0,t,n)},animate:function(e,t,n){if(n)var r=this,i=(new Date).getTime(),o=window.setInterval((function(){var a=(new Date).getTime()-i;if(a>n)return r.slidesContainer[0].style.left=t+"px",r.ontransitionend(),void window.clearInterval(o);r.slidesContainer[0].style.left=(t-e)*(Math.floor(a/n*100)/100)+e+"px"}),4);else this.slidesContainer[0].style.left=t+"px"},preventDefault:function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},stopPropagation:function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},onresize:function(){this.initSlides(!0)},onhashchange:function(){this.options.closeOnHashChange&&this.close()},onmousedown:function(e){e.which&&1===e.which&&"VIDEO"!==e.target.nodeName&&"AUDIO"!==e.target.nodeName&&(e.preventDefault(),(e.originalEvent||e).touches=[{pageX:e.pageX,pageY:e.pageY}],this.ontouchstart(e))},onmousemove:function(e){this.touchStart&&((e.originalEvent||e).touches=[{pageX:e.pageX,pageY:e.pageY}],this.ontouchmove(e))},onmouseup:function(e){this.touchStart&&(this.ontouchend(e),delete this.touchStart)},onmouseout:function(t){if(this.touchStart){var n=t.target,r=t.relatedTarget;r&&(r===n||e.contains(n,r))||this.onmouseup(t)}},ontouchstart:function(e){this.options.stopTouchEventsPropagation&&this.stopPropagation(e);var t=(e.originalEvent||e).touches[0];this.touchStart={x:t.pageX,y:t.pageY,time:Date.now()},this.isScrolling=void 0,this.touchDelta={}},ontouchmove:function(e){this.options.stopTouchEventsPropagation&&this.stopPropagation(e);var t,n,r=(e.originalEvent||e).touches,i=r[0],o=(e.originalEvent||e).scale,a=this.index;if(!(r.length>1||o&&1!==o))if(this.options.disableScroll&&e.preventDefault(),this.touchDelta={x:i.pageX-this.touchStart.x,y:i.pageY-this.touchStart.y},t=this.touchDelta.x,void 0===this.isScrolling&&(this.isScrolling=this.isScrolling||Math.abs(t)<Math.abs(this.touchDelta.y)),this.isScrolling)this.options.carousel||this.translateY(a,this.touchDelta.y+this.positions[a],0);else for(e.preventDefault(),window.clearTimeout(this.timeout),this.options.continuous?n=[this.circle(a+1),a,this.circle(a-1)]:(this.touchDelta.x=t/=!a&&t>0||a===this.num-1&&t<0?Math.abs(t)/this.slideWidth+1:1,n=[a],a&&n.push(a-1),a<this.num-1&&n.unshift(a+1));n.length;)a=n.pop(),this.translateX(a,t+this.positions[a],0)},ontouchend:function(e){this.options.stopTouchEventsPropagation&&this.stopPropagation(e);var t,n,r,i,o,a=this.index,s=Math.abs(this.touchDelta.x),l=this.slideWidth,u=Math.ceil(this.options.transitionDuration*(1-s/l)/2),c=s>20,h=!a&&this.touchDelta.x>0||a===this.num-1&&this.touchDelta.x<0,d=!c&&this.options.closeOnSwipeUpOrDown&&Math.abs(this.touchDelta.y)>20;this.options.continuous&&(h=!1),t=this.touchDelta.x<0?-1:1,this.isScrolling?d?this.close():this.translateY(a,0,u):c&&!h?(n=a+t,r=a-t,i=l*t,o=-l*t,this.options.continuous?(this.move(this.circle(n),i,0),this.move(this.circle(a-2*t),o,0)):n>=0&&n<this.num&&this.move(n,i,0),this.move(a,this.positions[a]+i,u),this.move(this.circle(r),this.positions[this.circle(r)]+i,u),a=this.circle(r),this.onslide(a)):this.options.continuous?(this.move(this.circle(a-1),-l,u),this.move(a,0,u),this.move(this.circle(a+1),l,u)):(a&&this.move(a-1,-l,u),this.move(a,0,u),a<this.num-1&&this.move(a+1,l,u))},ontouchcancel:function(e){this.touchStart&&(this.ontouchend(e),delete this.touchStart)},ontransitionend:function(e){var t=this.slides[this.index];e&&t!==e.target||(this.interval&&this.play(),this.setTimeout(this.options.onslideend,[this.index,t]))},oncomplete:function(t){var n,r=t.target||t.srcElement,i=r&&r.parentNode;r&&i&&(n=this.getNodeIndex(i),e(i).removeClass(this.options.slideLoadingClass),"error"===t.type?(e(i).addClass(this.options.slideErrorClass),this.elements[n]=3):this.elements[n]=2,r.clientHeight>this.container[0].clientHeight&&(r.style.maxHeight=this.container[0].clientHeight),this.interval&&this.slides[this.index]===i&&this.play(),this.setTimeout(this.options.onslidecomplete,[n,i]))},onload:function(e){this.oncomplete(e)},onerror:function(e){this.oncomplete(e)},onkeydown:function(e){switch(e.which||e.keyCode){case 13:this.options.toggleControlsOnEnter&&(this.preventDefault(e),this.toggleControls());break;case 27:this.options.closeOnEscape&&(this.close(),e.stopImmediatePropagation());break;case 32:this.options.toggleSlideshowOnSpace&&(this.preventDefault(e),this.toggleSlideshow());break;case 37:this.options.enableKeyboardNavigation&&(this.preventDefault(e),this.prev());break;case 39:this.options.enableKeyboardNavigation&&(this.preventDefault(e),this.next())}},handleClick:function(t){var n=this.options,r=t.target||t.srcElement,i=r.parentNode;function o(t){return e(r).hasClass(t)||e(i).hasClass(t)}o(n.toggleClass)?(this.preventDefault(t),this.toggleControls()):o(n.prevClass)?(this.preventDefault(t),this.prev()):o(n.nextClass)?(this.preventDefault(t),this.next()):o(n.closeClass)?(this.preventDefault(t),this.close()):o(n.playPauseClass)?(this.preventDefault(t),this.toggleSlideshow()):i===this.slidesContainer[0]?n.closeOnSlideClick?(this.preventDefault(t),this.close()):n.toggleControlsOnSlideClick&&(this.preventDefault(t),this.toggleControls()):i.parentNode&&i.parentNode===this.slidesContainer[0]&&n.toggleControlsOnSlideClick&&(this.preventDefault(t),this.toggleControls())},onclick:function(e){if(!(this.options.emulateTouchEvents&&this.touchDelta&&(Math.abs(this.touchDelta.x)>20||Math.abs(this.touchDelta.y)>20)))return this.handleClick(e);delete this.touchDelta},updateEdgeClasses:function(e){e?this.container.removeClass(this.options.leftEdgeClass):this.container.addClass(this.options.leftEdgeClass),e===this.num-1?this.container.addClass(this.options.rightEdgeClass):this.container.removeClass(this.options.rightEdgeClass)},updateActiveSlide:function(t,n){for(var r,i,o=this.slides,a=this.options,s=[{index:n,method:"addClass",hidden:!1},{index:t,method:"removeClass",hidden:!0}];s.length;)r=s.pop(),e(o[r.index])[r.method](a.slideActiveClass),i=this.circle(r.index-1),(a.continuous||i<r.index)&&e(o[i])[r.method](a.slidePrevClass),i=this.circle(r.index+1),(a.continuous||i>
2r.index)&&e(o[i])[r.method](a.slideNextClass);this.slides[t].setAttribute("aria-hidden","true"),this.slides[n].removeAttribute("aria-hidden")},handleSlide:function(e,t){this.options.continuous||this.updateEdgeClasses(t),this.updateActiveSlide(e,t),this.loadElements(t),this.options.unloadElements&&this.unloadElements(e,t),this.setTitle(t)},onslide:function(e){this.handleSlide(this.index,e),this.index=e,this.setTimeout(this.options.onslide,[e,this.slides[e]])},setTitle:function(e){var t=this.slides[e].firstChild,n=t.title||t.alt,r=this.titleElement;r.length&&(this.titleElement.empty(),n&&r[0].appendChild(document.createTextNode(n)))},setTimeout:function(e,t,n){var r=this;return e&&window.setTimeout((function(){e.apply(r,t||[])}),n||0)},imageFactory:function(t,n){var r,i,o,a,s,l,u,c,h=this.options,d=this,m=t,p=this.imagePrototype.cloneNode(!1);function f(t){if(!i){if(!(t={type:t.type,target:r||p}).target.parentNode)return d.setTimeout(f,[t]);i=!0,e(p).off("load error",f),n(t)}}if("string"!=typeof m&&(m=this.getItemProperty(t,h.urlProperty),o=this.support.picture&&this.support.source&&this.getItemProperty(t,h.sourcesProperty),a=this.getItemProperty(t,h.srcsetProperty),s=this.getItemProperty(t,h.sizesProperty),l=this.getItemProperty(t,h.titleProperty),u=this.getItemProperty(t,h.altTextProperty)||l),p.draggable=!1,l&&(p.title=l),u&&(p.alt=u),e(p).on("load error",f),o&&o.length){for(r=this.picturePrototype.cloneNode(!1),c=0;c<o.length;c+=1)r.appendChild(e.extend(this.sourcePrototype.cloneNode(!1),o[c]));r.appendChild(p),e(r).addClass(h.toggleClass)}return a&&(s&&(p.sizes=s),p.srcset=a),p.src=m,r||p},createElement:function(t,n){var r=t&&this.getItemProperty(t,this.options.typeProperty),i=r&&this[r.split("/")[0]+"Factory"]||this.imageFactory,o=t&&i.call(this,t,n);return o||(o=this.elementPrototype.cloneNode(!1),this.setTimeout(n,[{type:"error",target:o}])),e(o).addClass(this.options.slideContentClass),o},iteratePreloadRange:function(e,t){var n,r=this.num,i=this.options,o=Math.min(r,2*i.preloadRange+1),a=e;for(n=0;n<o;n+=1){if((a+=n*(n%2==0?-1:1))<0||a>=r){if(!i.continuous)continue;a=this.circle(a)}t.call(this,a)}},loadElement:function(t){this.elements[t]||(this.slides[t].firstChild?this.elements[t]=e(this.slides[t]).hasClass(this.options.slideErrorClass)?3:2:(this.elements[t]=1,e(this.slides[t]).addClass(this.options.slideLoadingClass),this.slides[t].appendChild(this.createElement(this.list[t],this.proxyListener))))},loadElements:function(e){this.iteratePreloadRange(e,this.loadElement)},unloadElements:function(e,t){var n=this.options.preloadRange;this.iteratePreloadRange(e,(function(e){var r=Math.abs(e-t);r>n&&r+n<this.num&&(this.unloadSlide(e),delete this.elements[e])}))},addSlide:function(e){var t=this.slidePrototype.cloneNode(!1);t.setAttribute("data-index",e),t.setAttribute("aria-hidden","true"),this.slidesContainer[0].appendChild(t),this.slides.push(t)},positionSlide:function(e){var t=this.slides[e];t.style.width=this.slideWidth+"px",this.support.transform&&(t.style.left=e*-this.slideWidth+"px",this.move(e,this.index>e?-this.slideWidth:this.index<e?this.slideWidth:0,0))},initSlides:function(t){var n,r;for(t||(this.positions=[],this.positions.length=this.num,this.elements={},this.picturePrototype=this.support.picture&&document.createElement("picture"),this.sourcePrototype=this.support.source&&document.createElement("source"),this.imagePrototype=document.createElement("img"),this.elementPrototype=document.createElement("div"),this.slidePrototype=this.elementPrototype.cloneNode(!1),e(this.slidePrototype).addClass(this.options.slideClass),this.slides=this.slidesContainer[0].children,n=this.options.clearSlides||this.slides.length!==this.num),this.slideWidth=this.container[0].clientWidth,this.slideHeight=this.container[0].clientHeight,this.slidesContainer[0].style.width=this.num*this.slideWidth+"px",n&&this.resetSlides(),r=0;r<this.num;r+=1)n&&this.addSlide(r),this.positionSlide(r);this.options.continuous&&this.support.transform&&(this.move(this.circle(this.index-1),-this.slideWidth,0),this.move(this.circle(this.index+1),this.slideWidth,0)),this.support.transform||(this.slidesContainer[0].style.left=this.index*-this.slideWidth+"px")},unloadSlide:function(e){var t,n;null!==(n=(t=this.slides[e]).firstChild)&&t.removeChild(n)},unloadAllSlides:function(){var e,t;for(e=0,t=this.slides.length;e<t;e++)this.unloadSlide(e)},toggleControls:function(){var e=this.options.controlsClass;this.container.hasClass(e)?this.container.removeClass(e):this.container.addClass(e)},toggleSlideshow:function(){this.interval?this.pause():this.play()},getNodeIndex:function(e){return parseInt(e.getAttribute("data-index"),10)},getNestedProperty:function(e,t){return t.replace(/\[(?:'([^']+)'|"([^"]+)"|(\d+))\]|(?:(?:^|\.)([^\.\[]+))/g,(function(t,n,r,i,o){var a=o||n||r||i&&parseInt(i,10);t&&e&&(e=e[a])}
2)),e},getDataProperty:function(t,n){var r,i;if(t.dataset?(r=n.replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()})),i=t.dataset[r]):t.getAttribute&&(i=t.getAttribute("data-"+n.replace(/([A-Z])/g,"-$1").toLowerCase())),"string"==typeof i){if(/^(true|false|null|-?\d+(\.\d+)?|\{[\s\S]*\}|\[[\s\S]*\])$/.test(i))try{return e.parseJSON(i)}catch(e){}return i}},getItemProperty:function(e,t){var n=this.getDataProperty(e,t);return void 0===n&&(n=e[t]),void 0===n&&(n=this.getNestedProperty(e,t)),n},initStartIndex:function(){var e,t=this.options.index,n=this.options.urlProperty;if(t&&"number"!=typeof t)for(e=0;e<this.num;e+=1)if(this.list[e]===t||this.getItemProperty(this.list[e],n)===this.getItemProperty(t,n)){t=e;break}this.index=this.circle(parseInt(t,10)||0)},initEventListeners:function(){var t=this,n=this.slidesContainer;function r(e){var n=t.support.transition&&t.support.transition.end===e.type?"transitionend":e.type;t["on"+n](e)}e(window).on("resize",r),e(window).on("hashchange",r),e(document.body).on("keydown",r),this.container.on("click",r),this.support.touch?n.on("touchstart touchmove touchend touchcancel",r):this.options.emulateTouchEvents&&this.support.transition&&n.on("mousedown mousemove mouseup mouseout",r),this.support.transition&&n.on(this.support.transition.end,r),this.proxyListener=r},destroyEventListeners:function(){var t=this.slidesContainer,n=this.proxyListener;e(window).off("resize",n),e(document.body).off("keydown",n),this.container.off("click",n),this.support.touch?t.off("touchstart touchmove touchend touchcancel",n):this.options.emulateTouchEvents&&this.support.transition&&t.off("mousedown mousemove mouseup mouseout",n),this.support.transition&&t.off(this.support.transition.end,n)},handleOpen:function(){this.options.onopened&&this.options.onopened.call(this)},initWidget:function(){var t=this;function n(e){e.target===t.container[0]&&(t.container.off(t.support.transition.end,n),t.handleOpen())}return this.container=e(this.options.container),this.container.length?(this.slidesContainer=this.container.find(this.options.slidesContainer).first(),this.slidesContainer.length?(this.titleElement=this.container.find(this.options.titleElement).first(),this.playPauseElement=this.container.find("."+this.options.playPauseClass).first(),1===this.num&&this.container.addClass(this.options.singleClass),this.support.svgasimg&&this.container.addClass(this.options.svgasimgClass),this.support.smil&&this.container.addClass(this.options.smilClass),this.options.onopen&&this.options.onopen.call(this),this.support.transition&&this.options.displayTransition?this.container.on(this.support.transition.end,n):this.handleOpen(),this.options.hidePageScrollbars&&(this.bodyOverflowStyle=document.body.style.overflow,document.body.style.overflow="hidden"),this.container[0].style.display="block",this.initSlides(),void this.container.addClass(this.options.displayClass)):(this.console.log("blueimp Gallery: Slides container not found.",this.options.slidesContainer),!1)):(this.console.log("blueimp Gallery: Widget container not found.",this.options.container),!1)},initOptions:function(t){this.options=e.extend({},this.options),(t&&t.carousel||this.options.carousel&&(!t||!1!==t.carousel))&&e.extend(this.options,this.carouselOptions),e.extend(this.options,t),this.num<3&&(this.options.continuous=!!this.options.continuous&&null),this.support.transition||(this.options.emulateTouchEvents=!1),this.options.event&&this.preventDefault(this.options.event)}}),t},void 0===(o="function"==typeof r?r.apply(t,i):r)||(e.exports=o)}()},527:function(e,t,n){var r;!function(){"use strict";function i(e,t){var n;for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function o(e){if(!this||this.find!==o.prototype.find)return new o(e);if(this.length=0,e)if("string"==typeof e&&(e=this.find(e)),e.nodeType||e===e.window)this.length=1,this[0]=e;else{var t=e.length;for(this.length=t;t;)this[t-=1]=e[t]}}o.extend=i,o.contains=function(e,t){do{if((t=t.parentNode)===e)return!0}while(t);return!1},o.parseJSON=function(e){return JSON.parse(e)},i(o.prototype,{find:function(e){var t=this[0]||document;return"string"==typeof e&&(e=t.querySelectorAll?t.querySelectorAll(e):"#"===e.charAt(0)?t.getElementById(e.slice(1)):t.getElementsByTagName(e)),new o(e)},hasClass:function(e){return!!this[0]&&new RegExp("(?:^|\\s+)"+e+"(?:\\s+|$)").test(this[0].className)},addClass:function(e){for(var t,n,r,i=this.length;i;)if((n=this[i-=1]).className)for(t||(t=e.split(/\s+/)),r=0;r<t.length;r+=1)this.hasClass(t[r])||(n.className+=" "+t[r]);else n.className=e;return this},removeClass:function(e){for(var t,n=new RegExp("^(?:"+e.split(/\s+/).join("|")+")$"),r=/(\S+)(?:\s+|$)/g,i=function(e,t){return n.test(t)?"":e},o=/\s+$/,a=this.length;a;)(t=this[a-=1]).className=t.className.replace(r,i).replace(o,"");return this},on:function(e,t){for(var n,r,i=e.split(/\s+/);i.length;)for(e=i.shift(),n=this.length;n;)(r=this[n-=1]).addEventListener?r.addEventListener(e,t,!1):r.attachEvent&&r.attachEvent("on"+e,t);return this},off:function(e,t){for(var n,r,i=e.split(/\s+/);i.length;)for(e=i.shift(),n=this.length;n;)(r=this[n-=1]).removeEventListener?r.removeEventListener(e,t,!1):r.detachEvent&&r.detachEvent("on"+e,t);return this},empty:function(){for(var e,t=this.length;t;)for(e=this[t-=1];e.hasChildNodes();)e.removeChild(e.lastChild);return this},first:function(){return new o(this[0])}}),void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()}}]);

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.