cdn.transcend.io
Open in
urlscan Pro
2600:9000:2250:6600:2:8531:afc0:93a1
Public Scan
Submitted URL: http://cdn.transcend.io/cm/30fbff84-b0e3-4e26-9084-0b5158fdb1ed/ui.js
Effective URL: https://cdn.transcend.io/cm/30fbff84-b0e3-4e26-9084-0b5158fdb1ed/ui.js
Submission: On November 01 via api from US — Scanned from DE
Effective URL: https://cdn.transcend.io/cm/30fbff84-b0e3-4e26-9084-0b5158fdb1ed/ui.js
Submission: On November 01 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
// Copyright 2023 Transcend Inc. All Rights Reserved. // Learn more at https://transcend.io/consent-manager // This file includes Jason Miller's MIT-licensed Preact library and Emotion team's MIT-licensed emotion library // Preact license: https://github.com/preactjs/preact/blob/master/LICENSE // emotion license: https://github.com/emotion-js/emotion/blob/main/LICENSE self.transcend=Object.assign({readyQueue:[],ready(c){this.readyQueue.push(c)},showConsentManager(){this.ready((t)=>{t.showConsentManager()})},loadOptions:{"csp":"off","log":"warn error","uspapi":"off","telemetry":"on","backendSync":"off","syncEndpoint":"https://sync.transcend.io/consent-manager/30fbff84-b0e3-4e26-9084-0b5158fdb1ed","mutationObserver":"off","consentPrecedence":"user","telemetryEndpoint":"https://telemetry.transcend.io/collect","signedIabAgreement":"no","backendSyncEndpoint":"https://consent.transcend.io/sync","unknownCookiePolicy":"allow","unknownRequestPolicy":"allow","telemetryPartitioning":"origin","prompt":"1","privacyPolicy":"https://sidearmsports.com/privacy","regimePrecedence":"US-AK;US-AL;US-AR;US-AS;US-AZ;US-CA;US-CO;US-CT;US-DC;US-DE;US-FL;US-GA;US-GU;US-HI;US-IA;US-ID;US-IL;US-IN;US-KS;US-KY;US-LA;US-MA;US-MD;US-ME;US-MI;US-MN;US-MO;US-MP;US-MS;US-MT;US-NC;US-ND;US-NE;US-NH;US-NJ;US-NM;US-NV;US-NY;US-OH;US-OK;US-OR;US-PA;US-PR;US-RI;US-SC;US-SD;US-TN;US-TX;US-UM;US-UT;US-VA;US-VI;US-VT;US-WA;US-WI;US-WV;US-WY;canada;nFADP;LGPD;GDPR;Unknown","consentManagerConfig":{"privacyPolicy":"https://sidearmsports.com/privacy","theme":{"primaryColor":"#3333FF","fontColor":"#010101"},"initialViewStateByPrivacyRegime":{"US-AK":"PrivacyPolicyNotice","US-AL":"PrivacyPolicyNotice","US-AR":"PrivacyPolicyNotice","US-AS":"PrivacyPolicyNotice","US-AZ":"PrivacyPolicyNotice","US-CA":"PrivacyPolicyNotice","US-CO":"PrivacyPolicyNotice","US-CT":"PrivacyPolicyNotice","US-DC":"PrivacyPolicyNotice","US-DE":"PrivacyPolicyNotice","US-FL":"PrivacyPolicyNotice","US-GA":"PrivacyPolicyNotice","US-GU":"PrivacyPolicyNotice","US-HI":"PrivacyPolicyNotice","US-IA":"PrivacyPolicyNotice","US-ID":"PrivacyPolicyNotice","US-IL":"PrivacyPolicyNotice","US-IN":"PrivacyPolicyNotice","US-KS":"PrivacyPolicyNotice","US-KY":"PrivacyPolicyNotice","US-LA":"PrivacyPolicyNotice","US-MA":"PrivacyPolicyNotice","US-MD":"PrivacyPolicyNotice","US-ME":"PrivacyPolicyNotice","US-MI":"PrivacyPolicyNotice","US-MN":"PrivacyPolicyNotice","US-MO":"PrivacyPolicyNotice","US-MP":"PrivacyPolicyNotice","US-MS":"PrivacyPolicyNotice","US-MT":"PrivacyPolicyNotice","US-NC":"PrivacyPolicyNotice","US-ND":"PrivacyPolicyNotice","US-NE":"PrivacyPolicyNotice","US-NH":"PrivacyPolicyNotice","US-NJ":"PrivacyPolicyNotice","US-NM":"PrivacyPolicyNotice","US-NV":"PrivacyPolicyNotice","US-NY":"PrivacyPolicyNotice","US-OH":"PrivacyPolicyNotice","US-OK":"PrivacyPolicyNotice","US-OR":"PrivacyPolicyNotice","US-PA":"PrivacyPolicyNotice","US-PR":"PrivacyPolicyNotice","US-RI":"PrivacyPolicyNotice","US-SC":"PrivacyPolicyNotice","US-SD":"PrivacyPolicyNotice","US-TN":"PrivacyPolicyNotice","US-TX":"PrivacyPolicyNotice","US-UM":"PrivacyPolicyNotice","US-UT":"PrivacyPolicyNotice","US-VA":"PrivacyPolicyNotice","US-VI":"PrivacyPolicyNotice","US-VT":"PrivacyPolicyNotice","US-WA":"PrivacyPolicyNotice","US-WI":"PrivacyPolicyNotice","US-WV":"PrivacyPolicyNotice","US-WY":"PrivacyPolicyNotice","canada":"Hidden","nFADP":"PrivacyPolicyNotice","LGPD":"PrivacyPolicyNotice","GDPR":"PrivacyPolicyNotice","Unknown":"PrivacyPolicyNotice"}},"css":"https://cdn.transcend.io/cm/30fbff84-b0e3-4e26-9084-0b5158fdb1ed/cm.css","messages":"https://cdn.transcend.io/cm/30fbff84-b0e3-4e26-9084-0b5158fdb1ed/translations","tcfConfig":{"css":"https://cdn.transcend.io/cm/30fbff84-b0e3-4e26-9084-0b5158fdb1ed/tcf/tcf.css","messages":"https://cdn.transcend.io/cm/30fbff84-b0e3-4e26-9084-0b5158fdb1ed/tcf/translations","vendorList":"https://cdn.transcend.io/cm/30fbff84-b0e3-4e26-9084-0b5158fdb1ed/tcf/"}}},self.transcend);(()=>{(()=>{"use strict"; "use strict";(()=>{"use strict";var Va=Object.create,Ot=Object.defineProperty,Ga=Object.defineProperties,Ka=Object.getOwnPropertyDescriptor,Wa=Object.getOwnPropertyDescriptors,Ya=Object.getOwnPropertyNames,Jr=Object.getOwnPropertySymbols,za=Object.getPrototypeOf,en=Object.prototype.hasOwnProperty,Xa=Object.prototype.propertyIsEnumerable,tn=(e,t,r)=>t in e?Ot(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ae=(e,t)=>{for(var r in t||(t={}))en.call(t,r)&&tn(e,r,t[r]);if(Jr)for(var r of Jr(t))Xa.call(t,r)&&tn(e,r,t[r]);return e},yt=(e,t)=>Ga(e,Wa(t)),sr=(e,t)=>()=>(e&&(t=e(e=0)),t),N=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),cr=(e,t)=>{for(var r in t)Ot(e,r,{get:t[r],enumerable:!0})},rn=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ya(t))!en.call(e,n)&&n!==r&&Ot(e,n,{get:()=>t[n],enumerable:!(a=Ka(t,n))||a.enumerable});return e},Se=(e,t,r)=>(r=e!=null?Va(za(e)):{},rn(t||!e||!e.__esModule?Ot(r,"default",{value:e,enumerable:!0}):r,e)),Pe=e=>rn(Ot({},"__esModule",{value:!0}),e),nn=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},Za=(e,t,r)=>(nn(e,t,"read from private field"),r?r.call(e):t.get(e)),qa=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},Qa=(e,t,r,a)=>(nn(e,t,"write to private field"),a?a.call(e,r):t.set(e,r),r),an={};cr(an,{Component:()=>wt,Fragment:()=>ft,cloneElement:()=>ri,createContext:()=>_n,createElement:()=>b,createRef:()=>$a,h:()=>b,hydrate:()=>yn,isValidElement:()=>bn,options:()=>se,render:()=>dr,toChildArray:()=>cn});function tt(e,t){for(var r in t)e[r]=t[r];return e}function on(e){var t=e.parentNode;t&&t.removeChild(e)}function b(e,t,r){var a,n,o,i={};for(o in t)o=="key"?a=t[o]:o=="ref"?n=t[o]:i[o]=t[o];if(arguments.length>2&&(i.children=arguments.length>3?Mt.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)i[o]===void 0&&(i[o]=e.defaultProps[o]);return Dt(e,i,a,n,null)}function Dt(e,t,r,a,n){var o={type:e,props:t,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:n==null?++En:n};return se.vnode!=null&&se.vnode(o),o}function $a(){return{current:null}}function ft(e){return e.children}function wt(e,t){this.props=e,this.context=t}function _t(e,t){if(t==null)return e.__?_t(e.__,e.__.__k.indexOf(e)+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?_t(e):null}function un(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return un(e)}}function fr(e){(!e.__d&&(e.__d=!0)&&It.push(e)&&!Ht.__r++||Sn!==se.debounceRendering)&&((Sn=se.debounceRendering)||Cn)(Ht)}function Ht(){for(var e;Ht.__r=It.length;)e=It.sort(function(t,r){return t.__v.__b-r.__v.__b}),It=[],e.some(function(t){var r,a,n,o,i,l;t.__d&&(i=(o=(r=t).__v).__e,(l=r.__P)&&(a=[],(n=tt({},o)).__v=o.__v+1,pr(l,o,n,r.__n,l.ownerSVGElement!==void 0,o.__h!=null?[i]:null,a,i==null?_t(o):i,o.__h),hn(a,o),o.__e!=i&&un(o)))})}function ln(e,t,r,a,n,o,i,l,s,f){var u,h,d,c,g,m,v,E=a&&a.__k||gr,T=E.length;for(r.__k=[],u=0;u<t.length;u++)if((c=r.__k[u]=(c=t[u])==null||typeof c=="boolean"?null:typeof c=="string"||typeof c=="number"||typeof c=="bigint"?Dt(null,c,null,null,c):Array.isArray(c)?Dt(ft,{children:c},null,null,null):c.__b>0?Dt(c.type,c.props,c.key,null,c.__v):c)!=null){if(c.__=r,c.__b=r.__b+1,(d=E[u])===null||d&&c.key==d.key&&c.type===d.type)E[u]=void 0;else for(h=0;h<T;h++){if((d=E[h])&&c.key==d.key&&c.type===d.type){E[h]=void 0;break}d=null}pr(e,c,d=d||Nt,n,o,i,l,s,f),g=c.__e,(h=c.ref)&&d.ref!=h&&(v||(v=[]),d.ref&&v.push(d.ref,null,c),v.push(h,c.__c||g,c)),g!=null?(m==null&&(m=g),typeof c.type=="function"&&c.__k!=null&&c.__k===d.__k?c.__d=s=sn(c,s,e):s=fn(e,c,d,E,g,s),f||r.type!=="option"?typeof r.type=="function"&&(r.__d=s):e.value=""):s&&d.__e==s&&s.parentNode!=e&&(s=_t(d))}for(r.__e=m,u=T;u--;)E[u]!=null&&(typeof r.type=="function"&&E[u].__e!=null&&E[u].__e==r.__d&&(r.__d=_t(a,u+1)),vn(E[u],E[u]));if(v)for(u=0;u<v.length;u++)mn(v[u],v[++u],v[++u])}function sn(e,t,r){var a,n;for(a=0;a<e.__k.length;a++)(n=e.__k[a])&&(n.__=e,t=typeof n.type=="function"?sn(n,t,r):fn(r,n,n,e.__k,n.__e,t));return t}function cn(e,t){return t=t||[],e==null||typeof e=="boolean"||(Array.isArray(e)?e.some(function(r){cn(r,t)}):t.push(e)),t}function fn(e,t,r,a,n,o){var i,l,s;if(t.__d!==void 0)i=t.__d,t.__d=void 0;else if(r==null||n!=o||n.parentNode==null)e:if(o==null||o.parentNode!==e)e.appendChild(n),i=null;else{for(l=o,s=0;(l=l.nextSibling)&&s<a.length;s+=2)if(l==n)break e;e.insertBefore(n,o),i=o}return i!==void 0?i:n.nextSibling}function Ja(e,t,r,a,n){var o;for(o in r)o==="children"||o==="key"||o in t||Ut(e,o,null,r[o],a);for(o in t)n&&typeof t[o]!="function"||o==="children"||o==="key"||o==="value"||o==="checked"||r[o]===t[o]||Ut(e,o,t[o],r[o],a)}function pn(e,t,r){t[0]==="-"?e.setProperty(t,r):e[t]=r==null?"":typeof r!="number"||Pn.test(t)?r:r+"px"}function Ut(e,t,r,a,n){var o;e:if(t==="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof a=="string"&&(e.style.cssText=a=""),a)for(t in a)r&&t in r||pn(e.style,t,"");if(r)for(t in r)a&&r[t]===a[t]||pn(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?a||e.addEventListener(t,o?gn:dn,o):e.removeEventListener(t,o?gn:dn,o);else if(t!=="dangerouslySetInnerHTML"){if(n)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if(t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t in e)try{e[t]=r==null?"":r;break e}catch(i){}typeof r=="function"||(r!=null&&(r!==!1||t[0]==="a"&&t[1]==="r")?e.setAttribute(t,r):e.removeAttribute(t))}}function dn(e){this.l[e.type+!1](se.event?se.event(e):e)}function gn(e){this.l[e.type+!0](se.event?se.event(e):e)}function pr(e,t,r,a,n,o,i,l,s){var f,u,h,d,c,g,m,v,E,T,_,P=t.type;if(t.constructor!==void 0)return null;r.__h!=null&&(s=r.__h,l=t.__e=r.__e,t.__h=null,o=[l]),(f=se.__b)&&f(t);try{e:if(typeof P=="function"){if(v=t.props,E=(f=P.contextType)&&a[f.__c],T=f?E?E.props.value:f.__:a,r.__c?m=(u=t.__c=r.__c).__=u.__E:("prototype"in P&&P.prototype.render?t.__c=u=new P(v,T):(t.__c=u=new wt(v,T),u.constructor=P,u.render=ti),E&&E.sub(u),u.props=v,u.state||(u.state={}),u.context=T,u.__n=a,h=u.__d=!0,u.__h=[]),u.__s==null&&(u.__s=u.state),P.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=tt({},u.__s)),tt(u.__s,P.getDerivedStateFromProps(v,u.__s))),d=u.props,c=u.state,h)P.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(P.getDerivedStateFromProps==null&&v!==d&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(v,T),!u.__e&&u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(v,u.__s,T)===!1||t.__v===r.__v){u.props=v,u.state=u.__s,t.__v!==r.__v&&(u.__d=!1),u.__v=t,t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(D){D&&(D.__=t)}),u.__h.length&&i.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(v,u.__s,T),u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(d,c,g)})}u.context=T,u.props=v,u.state=u.__s,(f=se.__r)&&f(t),u.__d=!1,u.__v=t,u.__P=e,f=u.render(u.props,u.state,u.context),u.state=u.__s,u.getChildContext!=null&&(a=tt(tt({},a),u.getChildContext())),h||u.getSnapshotBeforeUpdate==null||(g=u.getSnapshotBeforeUpdate(d,c)),_=f!=null&&f.type===ft&&f.key==null?f.props.children:f,ln(e,Array.isArray(_)?_:[_],t,r,a,n,o,i,l,s),u.base=t.__e,t.__h=null,u.__h.length&&i.push(u),m&&(u.__E=u.__=null),u.__e=!1}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=ei(r.__e,t,r,a,n,o,i,s);(f=se.diffed)&&f(t)}catch(D){t.__v=null,(s||o!=null)&&(t.__e=l,t.__h=!!s,o[o.indexOf(l)]=null),se.__e(D,t,r)}}function hn(e,t){se.__c&&se.__c(t,e),e.some(function(r){try{e=r.__h,r.__h=[],e.some(function(a){a.call(r)})}catch(a){se.__e(a,r.__v)}})}function ei(e,t,r,a,n,o,i,l){var s,f,u,h=r.props,d=t.props,c=t.type,g=0;if(c==="svg"&&(n=!0),o!=null){for(;g<o.length;g++)if((s=o[g])&&(s===e||(c?s.localName==c:s.nodeType==3))){e=s,o[g]=null;break}}if(e==null){if(c===null)return document.createTextNode(d);e=n?document.createElementNS("http://www.w3.org/2000/svg",c):document.createElement(c,d.is&&d),o=null,l=!1}if(c===null)h===d||l&&e.data===d||(e.data=d);else{if(o=o&&Mt.call(e.childNodes),f=(h=r.props||Nt).dangerouslySetInnerHTML,u=d.dangerouslySetInnerHTML,!l){if(o!=null)for(h={},g=0;g<e.attributes.length;g++)h[e.attributes[g].name]=e.attributes[g].value;(u||f)&&(u&&(f&&u.__html==f.__html||u.__html===e.innerHTML)||(e.innerHTML=u&&u.__html||""))}if(Ja(e,d,h,n,l),u)t.__k=[];else if(g=t.props.children,ln(e,Array.isArray(g)?g:[g],t,r,a,n&&c!=="foreignObject",o,i,o?o[0]:r.__k&&_t(r,0),l),o!=null)for(g=o.length;g--;)o[g]!=null&&on(o[g]);l||("value"in d&&(g=d.value)!==void 0&&(g!==e.value||c==="progress"&&!g)&&Ut(e,"value",g,h.value,!1),"checked"in d&&(g=d.checked)!==void 0&&g!==e.checked&&Ut(e,"checked",g,h.checked,!1))}return e}function mn(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(a){se.__e(a,r)}}function vn(e,t,r){var a,n;if(se.unmount&&se.unmount(e),(a=e.ref)&&(a.current&&a.current!==e.__e||mn(a,null,t)),(a=e.__c)!=null){if(a.componentWillUnmount)try{a.componentWillUnmount()}catch(o){se.__e(o,t)}a.base=a.__P=null}if(a=e.__k)for(n=0;n<a.length;n++)a[n]&&vn(a[n],t,typeof e.type!="function");r||e.__e==null||on(e.__e),e.__e=e.__d=void 0}function ti(e,t,r){return this.constructor(e,r)}function dr(e,t,r){var a,n,o;se.__&&se.__(e,t),n=(a=typeof r=="function")?null:r&&r.__k||t.__k,o=[],pr(t,e=(!a&&r||t).__k=b(ft,null,[e]),n||Nt,Nt,t.ownerSVGElement!==void 0,!a&&r?[r]:n?null:t.firstChild?Mt.call(t.childNodes):null,o,!a&&r?r:n?n.__e:t.firstChild,a),hn(o,e)}function yn(e,t){dr(e,t,yn)}function ri(e,t,r){var a,n,o,i=tt({},e.props);for(o in t)o=="key"?a=t[o]:o=="ref"?n=t[o]:i[o]=t[o];return arguments.length>2&&(i.children=arguments.length>3?Mt.call(arguments,2):r),Dt(e.type,i,a||e.key,n||e.ref,null)}function _n(e,t){var r={__c:t="__cC"+Tn++,__:e,Consumer:function(a,n){return a.children(n)},Provider:function(a){var n,o;return this.getChildContext||(n=[],(o={})[t]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&n.some(fr)},this.sub=function(i){n.push(i);var l=i.componentWillUnmount;i.componentWillUnmount=function(){n.splice(n.indexOf(i),1),l&&l.call(i)}}),a.children}};return r.Provider.__=r.Consumer.contextType=r}var Mt,se,En,bn,It,Cn,Sn,Tn,Nt,gr,Pn,Ee=sr(()=>{Nt={},gr=[],Pn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Mt=gr.slice,se={__e:function(e,t){for(var r,a,n;t=t.__;)if((r=t.__c)&&!r.__)try{if((a=r.constructor)&&a.getDerivedStateFromError!=null&&(r.setState(a.getDerivedStateFromError(e)),n=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(e),n=r.__d),n)return r.__E=r}catch(o){e=o}throw e}},En=0,bn=function(e){return e!=null&&e.constructor===void 0},wt.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=tt({},this.state),typeof e=="function"&&(e=e(tt({},r),this.props)),e&&tt(r,e),e!=null&&this.__v&&(t&&this.__h.push(t),fr(this))},wt.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),fr(this))},wt.prototype.render=ft,It=[],Cn=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ht.__r=0,Tn=0}),Oe={};cr(Oe,{__assign:()=>Gt,__asyncDelegator:()=>hi,__asyncGenerator:()=>gi,__asyncValues:()=>mi,__await:()=>Ft,__awaiter:()=>li,__classPrivateFieldGet:()=>Ei,__classPrivateFieldIn:()=>Ci,__classPrivateFieldSet:()=>bi,__createBinding:()=>Kt,__decorate:()=>ii,__exportStar:()=>ci,__extends:()=>ni,__generator:()=>si,__importDefault:()=>_i,__importStar:()=>yi,__makeTemplateObject:()=>vi,__metadata:()=>ui,__param:()=>oi,__read:()=>An,__rest:()=>ai,__spread:()=>fi,__spreadArray:()=>di,__spreadArrays:()=>pi,__values:()=>hr});function ni(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Vt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function ai(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(e);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(r[a[n]]=e[a[n]]);return r}function ii(e,t,r,a){var n=arguments.length,o=n<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,r):a,i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,r,a);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(o=(n<3?i(o):n>3?i(t,r,o):i(t,r))||o);return n>3&&o&&Object.defineProperty(t,r,o),o}function oi(e,t){return function(r,a){t(r,a,e)}}function ui(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function li(e,t,r,a){function n(o){return o instanceof r?o:new r(function(i){i(o)})}return new(r||(r=Promise))(function(o,i){function l(u){try{f(a.next(u))}catch(h){i(h)}}function s(u){try{f(a.throw(u))}catch(h){i(h)}}function f(u){u.done?o(u.value):n(u.value).then(l,s)}f((a=a.apply(e,t||[])).next())})}function si(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,n,o,i;return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(f){return function(u){return s([f,u])}}function s(f){if(a)throw new TypeError("Generator is already executing.");for(;i&&(i=0,f[0]&&(r=0)),r;)try{if(a=1,n&&(o=f[0]&2?n.return:f[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,f[1])).done)return o;switch(n=0,o&&(f=[f[0]&2,o.value]),f[0]){case 0:case 1:o=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,n=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(o=r.trys,!(o=o.length>0&&o[o.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!o||f[1]>o[0]&&f[1]<o[3])){r.label=f[1];break}if(f[0]===6&&r.label<o[1]){r.label=o[1],o=f;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(f);break}o[2]&&r.ops.pop(),r.trys.pop();continue}f=t.call(e,r)}catch(u){f=[6,u],n=0}finally{a=o=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}function ci(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Kt(t,e,r)}function hr(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],a=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function An(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var a=r.call(e),n,o=[],i;try{for(;(t===void 0||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(l){i={error:l}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}function fi(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(An(arguments[t]));return e}function pi(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var a=Array(e),n=0,t=0;t<r;t++)for(var o=arguments[t],i=0,l=o.length;i<l;i++,n++)a[n]=o[i];return a}function di(e,t,r){if(r||arguments.length===2)for(var a=0,n=t.length,o;a<n;a++)(o||!(a in t))&&(o||(o=Array.prototype.slice.call(t,0,a)),o[a]=t[a]);return e.concat(o||Array.prototype.slice.call(t))}function Ft(e){return this instanceof Ft?(this.v=e,this):new Ft(e)}function gi(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a=r.apply(e,t||[]),n,o=[];return n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n;function i(d){a[d]&&(n[d]=function(c){return new Promise(function(g,m){o.push([d,c,g,m])>1||l(d,c)})})}function l(d,c){try{s(a[d](c))}catch(g){h(o[0][3],g)}}function s(d){d.value instanceof Ft?Promise.resolve(d.value.v).then(f,u):h(o[0][2],d)}function f(d){l("next",d)}function u(d){l("throw",d)}function h(d,c){d(c),o.shift(),o.length&&l(o[0][0],o[0][1])}}function hi(e){var t,r;return t={},a("next"),a("throw",function(n){throw n}),a("return"),t[Symbol.iterator]=function(){return this},t;function a(n,o){t[n]=e[n]?function(i){return(r=!r)?{value:Ft(e[n](i)),done:n==="return"}:o?o(i):i}:o}}function mi(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof hr=="function"?hr(e):e[Symbol.iterator](),r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r);function a(o){r[o]=e[o]&&function(i){return new Promise(function(l,s){i=e[o](i),n(l,s,i.done,i.value)})}}function n(o,i,l,s){Promise.resolve(s).then(function(f){o({value:f,done:l})},i)}}function vi(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function yi(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&Kt(t,e,r);return On(t,e),t}function _i(e){return e&&e.__esModule?e:{default:e}}function Ei(e,t,r,a){if(r==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!a:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?a:r==="a"?a.call(e):a?a.value:t.get(e)}function bi(e,t,r,a,n){if(a==="m")throw new TypeError("Private method is not writable");if(a==="a"&&!n)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return a==="a"?n.call(e,r):n?n.value=r:t.set(e,r),r}function Ci(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}var Vt,Gt,Kt,On,De=sr(()=>{Vt=function(e,t){return Vt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(r[n]=a[n])},Vt(e,t)},Gt=function(){return Gt=Object.assign||function(e){for(var t,r=1,a=arguments.length;r<a;r++){t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Gt.apply(this,arguments)},Kt=Object.create?function(e,t,r,a){a===void 0&&(a=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,n)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]},On=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}}),Dn={};cr(Dn,{useCallback:()=>vr,useContext:()=>In,useDebugValue:()=>Ti,useEffect:()=>Lt,useErrorBoundary:()=>Pi,useImperativeHandle:()=>Si,useLayoutEffect:()=>Mn,useMemo:()=>bt,useReducer:()=>wn,useRef:()=>mr,useState:()=>Ve});function Et(e,t){se.__h&&se.__h(Ge,e,dt||t),dt=0;var r=Ge.__H||(Ge.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function Ve(e){return dt=1,wn(Nn,e)}function wn(e,t,r){var a=Et(pt++,2);return a.t=e,a.__c||(a.__=[r?r(t):Nn(void 0,t),function(n){var o=a.t(a.__[0],n);a.__[0]!==o&&(a.__=[o,a.__[1]],a.__c.setState({}))}],a.__c=Ge),a.__}function Lt(e,t){var r=Et(pt++,3);!se.__s&&_r(r.__H,t)&&(r.__=e,r.__H=t,Ge.__H.__h.push(r))}function Mn(e,t){var r=Et(pt++,4);!se.__s&&_r(r.__H,t)&&(r.__=e,r.__H=t,Ge.__h.push(r))}function mr(e){return dt=5,bt(function(){return{current:e}},[])}function Si(e,t,r){dt=6,Mn(function(){typeof e=="function"?e(t()):e&&(e.current=t())},r==null?r:r.concat(e))}function bt(e,t){var r=Et(pt++,7);return _r(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function vr(e,t){return dt=8,bt(function(){return e},t)}function In(e){var t=Ge.context[e.__c],r=Et(pt++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(Ge)),t.props.value):e.__}function Ti(e,t){se.useDebugValue&&se.useDebugValue(t?t(e):e)}function Pi(e){var t=Et(pt++,10),r=Ve();return t.__=e,Ge.componentDidCatch||(Ge.componentDidCatch=function(a){t.__&&t.__(a),r[1](a)}),[r[0],function(){r[1](void 0)}]}function Ai(){Yt.forEach(function(e){if(e.__P)try{e.__H.__h.forEach(Wt),e.__H.__h.forEach(yr),e.__H.__h=[]}catch(t){e.__H.__h=[],se.__e(t,e.__v)}}),Yt=[]}function Wt(e){var t=Ge;typeof e.__c=="function"&&e.__c(),Ge=t}function yr(e){var t=Ge;e.__c=e.__(),Ge=t}function _r(e,t){return!e||e.length!==t.length||t.some(function(r,a){return r!==e[a]})}function Nn(e,t){return typeof t=="function"?t(e):t}var pt,Ge,Fn,dt,Yt,Er,br,Cr,Sr,Tr,Pr,ke=sr(()=>{Ee(),dt=0,Yt=[],Er=se.__b,br=se.__r,Cr=se.diffed,Sr=se.__c,Tr=se.unmount,se.__b=function(e){Ge=null,Er&&Er(e)},se.__r=function(e){br&&br(e),pt=0;var t=(Ge=e.__c).__H;t&&(t.__h.forEach(Wt),t.__h.forEach(yr),t.__h=[])},se.diffed=function(e){Cr&&Cr(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(Yt.push(t)!==1&&Fn===se.requestAnimationFrame||((Fn=se.requestAnimationFrame)||function(r){var a,n=function(){clearTimeout(o),Pr&&cancelAnimationFrame(a),setTimeout(r)},o=setTimeout(n,100);Pr&&(a=requestAnimationFrame(n))})(Ai)),Ge=void 0},se.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Wt),r.__h=r.__h.filter(function(a){return!a.__||yr(a)})}catch(a){t.some(function(n){n.__h&&(n.__h=[])}),t=[],se.__e(a,r.__v)}}),Sr&&Sr(e,t)},se.unmount=function(e){Tr&&Tr(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(Wt)}catch(r){se.__e(r,t.__v)}},Pr=typeof requestAnimationFrame=="function"}),rt=N(e=>{var t=(ke(),Pe(Dn)),r=(Ee(),Pe(an));function a(w,j){for(var K in j)w[K]=j[K];return w}function n(w,j){for(var K in w)if(K!=="__source"&&!(K in j))return!0;for(var X in j)if(X!=="__source"&&w[X]!==j[X])return!0;return!1}function o(w){this.props=w}function i(w,j){function K(re){var de=this.props.ref,oe=de==re.ref;return!oe&&de&&(de.call?de(null):de.current=null),j?!j(this.props,re)||!oe:n(this.props,re)}function X(re){return this.shouldComponentUpdate=K,r.createElement(w,re)}return X.displayName="Memo("+(w.displayName||w.name)+")",X.prototype.isReactComponent=!0,X.__f=!0,X}(o.prototype=new r.Component).isPureReactComponent=!0,o.prototype.shouldComponentUpdate=function(w,j){return n(this.props,w)||n(this.state,j)};var l=r.options.__b;r.options.__b=function(w){w.type&&w.type.__f&&w.ref&&(w.props.ref=w.ref,w.ref=null),l&&l(w)};var s=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function f(w){function j(K,X){var re=a({},K);return delete re.ref,w(re,(X=K.ref||X)&&(typeof X!="object"||"current"in X)?X:null)}return j.$$typeof=s,j.render=j,j.prototype.isReactComponent=j.__f=!0,j.displayName="ForwardRef("+(w.displayName||w.name)+")",j}var u=function(w,j){return w==null?null:r.toChildArray(r.toChildArray(w).map(j))},h={map:u,forEach:u,count:function(w){return w?r.toChildArray(w).length:0},only:function(w){var j=r.toChildArray(w);if(j.length!==1)throw"Children.only";return j[0]},toArray:r.toChildArray},d=r.options.__e;r.options.__e=function(w,j,K){if(w.then){for(var X,re=j;re=re.__;)if((X=re.__c)&&X.__c)return j.__e==null&&(j.__e=K.__e,j.__k=K.__k),X.__c(w,j)}d(w,j,K)};var c=r.options.unmount;function g(){this.__u=0,this.t=null,this.__b=null}function m(w){var j=w.__.__c;return j&&j.__e&&j.__e(w)}function v(w){var j,K,X;function re(de){if(j||(j=w()).then(function(oe){K=oe.default||oe},function(oe){X=oe}),X)throw X;if(!K)throw j;return r.createElement(K,de)}return re.displayName="Lazy",re.__f=!0,re}function E(){this.u=null,this.o=null}r.options.unmount=function(w){var j=w.__c;j&&j.__R&&j.__R(),j&&w.__h===!0&&(w.type=null),c&&c(w)},(g.prototype=new r.Component).__c=function(w,j){var K=j.__c,X=this;X.t==null&&(X.t=[]),X.t.push(K);var re=m(X.__v),de=!1,oe=function(){de||(de=!0,K.__R=null,re?re(Re):Re())};K.__R=oe;var Re=function(){if(!--X.__u){if(X.state.__e){var Z=X.state.__e;X.__v.__k[0]=function fe(Ce,Ue,$e){return Ce&&(Ce.__v=null,Ce.__k=Ce.__k&&Ce.__k.map(function(vt){return fe(vt,Ue,$e)}),Ce.__c&&Ce.__c.__P===Ue&&(Ce.__e&&$e.insertBefore(Ce.__e,Ce.__d),Ce.__c.__e=!0,Ce.__c.__P=$e)),Ce}(Z,Z.__c.__P,Z.__c.__O)}var $;for(X.setState({__e:X.__b=null});$=X.t.pop();)$.forceUpdate()}},He=j.__h===!0;X.__u++||He||X.setState({__e:X.__b=X.__v.__k[0]}),w.then(oe,oe)},g.prototype.componentWillUnmount=function(){this.t=[]},g.prototype.render=function(w,j){if(this.__b){if(this.__v.__k){var K=document.createElement("div"),X=this.__v.__k[0].__c;this.__v.__k[0]=function de(oe,Re,He){return oe&&(oe.__c&&oe.__c.__H&&(oe.__c.__H.__.forEach(function(Z){typeof Z.__c=="function"&&Z.__c()}),oe.__c.__H=null),(oe=a({},oe)).__c!=null&&(oe.__c.__P===He&&(oe.__c.__P=Re),oe.__c=null),oe.__k=oe.__k&&oe.__k.map(function(Z){return de(Z,Re,He)})),oe}(this.__b,K,X.__O=X.__P)}this.__b=null}var re=j.__e&&r.createElement(r.Fragment,null,w.fallback);return re&&(re.__h=null),[r.createElement(r.Fragment,null,j.__e?null:w.children),re]};var T=function(w,j,K){if(++K[1]===K[0]&&w.o.delete(j),w.props.revealOrder&&(w.props.revealOrder[0]!=="t"||!w.o.size))for(K=w.u;K;){for(;K.length>3;)K.pop()();if(K[1]<K[0])break;w.u=K=K[2]}};function _(w){return this.getChildContext=function(){return w.context},w.children}function P(w){var j=this,K=w.i;j.componentWillUnmount=function(){r.render(null,j.l),j.l=null,j.i=null},j.i&&j.i!==K&&j.componentWillUnmount(),w.__v?(j.l||(j.i=K,j.l={nodeType:1,parentNode:K,childNodes:[],appendChild:function(X){this.childNodes.push(X),j.i.appendChild(X)},insertBefore:function(X,re){this.childNodes.push(X),j.i.appendChild(X)},removeChild:function(X){this.childNodes.splice(this.childNodes.indexOf(X)>>>1,1),j.i.removeChild(X)}}),r.render(r.createElement(_,{context:j.context},w.__v),j.l)):j.l&&j.componentWillUnmount()}function D(w,j){return r.createElement(P,{__v:w,i:j})}(E.prototype=new r.Component).__e=function(w){var j=this,K=m(j.__v),X=j.o.get(w);return X[0]++,function(re){var de=function(){j.props.revealOrder?(X.push(re),T(j,w,X)):re()};K?K(de):de()}},E.prototype.render=function(w){this.u=null,this.o=new Map;var j=r.toChildArray(w.children);w.revealOrder&&w.revealOrder[0]==="b"&&j.reverse();for(var K=j.length;K--;)this.o.set(j[K],this.u=[1,0,this.u]);return w.children},E.prototype.componentDidUpdate=E.prototype.componentDidMount=function(){var w=this;this.o.forEach(function(j,K){T(w,K,j)})};var A=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,H=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,x=function(w){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(w)};function W(w,j,K){return j.__k==null&&(j.textContent=""),r.render(w,j),typeof K=="function"&&K(),w?w.__c:null}function z(w,j,K){return r.hydrate(w,j),typeof K=="function"&&K(),w?w.__c:null}r.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(w){Object.defineProperty(r.Component.prototype,w,{configurable:!0,get:function(){return this["UNSAFE_"+w]},set:function(j){Object.defineProperty(this,w,{configurable:!0,writable:!0,value:j})}})});var Q=r.options.event;function ae(){}function he(){return this.cancelBubble}function le(){return this.defaultPrevented}r.options.event=function(w){return Q&&(w=Q(w)),w.persist=ae,w.isPropagationStopped=he,w.isDefaultPrevented=le,w.nativeEvent=w};var _e,be={configurable:!0,get:function(){return this.class}},Me=r.options.vnode;r.options.vnode=function(w){var j=w.type,K=w.props,X=K;if(typeof j=="string"){for(var re in X={},K){var de=K[re];re==="value"&&"defaultValue"in K&&de==null||(re==="defaultValue"&&"value"in K&&K.value==null?re="value":re==="download"&&de===!0?de="":/ondoubleclick/i.test(re)?re="ondblclick":/^onchange(textarea|input)/i.test(re+j)&&!x(K.type)?re="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(re)?re=re.toLowerCase():H.test(re)?re=re.replace(/[A-Z0-9]/,"-$&").toLowerCase():de===null&&(de=void 0),X[re]=de)}j=="select"&&X.multiple&&Array.isArray(X.value)&&(X.value=r.toChildArray(K.children).forEach(function(oe){oe.props.selected=X.value.indexOf(oe.props.value)!=-1})),j=="select"&&X.defaultValue!=null&&(X.value=r.toChildArray(K.children).forEach(function(oe){oe.props.selected=X.multiple?X.defaultValue.indexOf(oe.props.value)!=-1:X.defaultValue==oe.props.value})),w.props=X}j&&K.class!=K.className&&(be.enumerable="className"in K,K.className!=null&&(X.class=K.className),Object.defineProperty(X,"className",be)),w.$$typeof=A,Me&&Me(w)};var U=r.options.__r;r.options.__r=function(w){U&&U(w),_e=w.__c};var J={ReactCurrentDispatcher:{current:{readContext:function(w){return _e.__n[w.__c].props.value}}}};function p(w){return r.createElement.bind(null,w)}function B(w){return!!w&&w.$$typeof===A}function G(w){return B(w)?r.cloneElement.apply(null,arguments):w}function Y(w){return!!w.__k&&(r.render(null,w),!0)}function ee(w){return w&&(w.base||w.nodeType===1&&w)||null}var ie=function(w,j){return w(j)},ce=function(w,j){return w(j)},ue=r.Fragment,Ie={useState:t.useState,useReducer:t.useReducer,useEffect:t.useEffect,useLayoutEffect:t.useLayoutEffect,useRef:t.useRef,useImperativeHandle:t.useImperativeHandle,useMemo:t.useMemo,useCallback:t.useCallback,useContext:t.useContext,useDebugValue:t.useDebugValue,version:"17.0.2",Children:h,render:W,hydrate:z,unmountComponentAtNode:Y,createPortal:D,createElement:r.createElement,createContext:r.createContext,createFactory:p,cloneElement:G,createRef:r.createRef,Fragment:r.Fragment,isValidElement:B,findDOMNode:ee,Component:r.Component,PureComponent:o,memo:i,forwardRef:f,flushSync:ce,unstable_batchedUpdates:ie,StrictMode:ue,Suspense:g,SuspenseList:E,lazy:v,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:J};Object.keys(t).forEach(function(w){e[w]=t[w]}),e.createElement=r.createElement,e.createContext=r.createContext,e.createRef=r.createRef,e.Fragment=r.Fragment,e.Component=r.Component,e.version="17.0.2",e.Children=h,e.render=W,e.hydrate=z,e.unmountComponentAtNode=Y,e.createPortal=D,e.createFactory=p,e.cloneElement=G,e.isValidElement=B,e.findDOMNode=ee,e.PureComponent=o,e.memo=i,e.forwardRef=f,e.flushSync=ce,e.unstable_batchedUpdates=ie,e.StrictMode=ue,e.Suspense=g,e.SuspenseList=E,e.lazy=v,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J,e.default=Ie}),Oi=N(e=>{"use strict";var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,a=t?Symbol.for("react.portal"):60106,n=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,l=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,f=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,h=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,c=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,m=t?Symbol.for("react.lazy"):60116,v=t?Symbol.for("react.block"):60121,E=t?Symbol.for("react.fundamental"):60117,T=t?Symbol.for("react.responder"):60118,_=t?Symbol.for("react.scope"):60119;function P(A){if(typeof A=="object"&&A!==null){var H=A.$$typeof;switch(H){case r:switch(A=A.type,A){case f:case u:case n:case i:case o:case d:return A;default:switch(A=A&&A.$$typeof,A){case s:case h:case m:case g:case l:return A;default:return H}}case a:return H}}}function D(A){return P(A)===u}e.AsyncMode=f,e.ConcurrentMode=u,e.ContextConsumer=s,e.ContextProvider=l,e.Element=r,e.ForwardRef=h,e.Fragment=n,e.Lazy=m,e.Memo=g,e.Portal=a,e.Profiler=i,e.StrictMode=o,e.Suspense=d,e.isAsyncMode=function(A){return D(A)||P(A)===f},e.isConcurrentMode=D,e.isContextConsumer=function(A){return P(A)===s},e.isContextProvider=function(A){return P(A)===l},e.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===r},e.isForwardRef=function(A){return P(A)===h},e.isFragment=function(A){return P(A)===n},e.isLazy=function(A){return P(A)===m},e.isMemo=function(A){return P(A)===g},e.isPortal=function(A){return P(A)===a},e.isProfiler=function(A){return P(A)===i},e.isStrictMode=function(A){return P(A)===o},e.isSuspense=function(A){return P(A)===d},e.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===n||A===u||A===i||A===o||A===d||A===c||typeof A=="object"&&A!==null&&(A.$$typeof===m||A.$$typeof===g||A.$$typeof===l||A.$$typeof===s||A.$$typeof===h||A.$$typeof===E||A.$$typeof===T||A.$$typeof===_||A.$$typeof===v)},e.typeOf=P}),Di=N((e,t)=>{"use strict";t.exports=Oi()}),wi=N((e,t)=>{"use strict";var r=Di(),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};l[r.ForwardRef]=o,l[r.Memo]=i;function s(v){return r.isMemo(v)?i:l[v.$$typeof]||a}var f=Object.defineProperty,u=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,g=Object.prototype;function m(v,E,T){if(typeof E!="string"){if(g){var _=c(E);_&&_!==g&&m(v,_,T)}var P=u(E);h&&(P=P.concat(h(E)));for(var D=s(v),A=s(E),H=0;H<P.length;++H){var x=P[H];if(!n[x]&&!(T&&T[x])&&!(A&&A[x])&&!(D&&D[x])){var W=d(E,x);try{f(v,x,W)}catch(z){}}}}return v}t.exports=m}),Ln=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CanonicalizeLocaleList=void 0;function t(r){return Intl.getCanonicalLocales(r)}e.CanonicalizeLocaleList=t}),Mi=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CanonicalizeTimeZoneName=void 0;function t(r,a){var n=a.tzData,o=a.uppercaseLinks,i=r.toUpperCase(),l=Object.keys(n).reduce(function(f,u){return f[u.toUpperCase()]=u,f},{}),s=o[i]||l[i];return s==="Etc/UTC"||s==="Etc/GMT"?"UTC":s}e.CanonicalizeTimeZoneName=t}),nt=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.msFromTime=e.OrdinaryHasInstance=e.SecFromTime=e.MinFromTime=e.HourFromTime=e.DateFromTime=e.MonthFromTime=e.InLeapYear=e.DayWithinYear=e.DaysInYear=e.YearFromTime=e.TimeFromYear=e.DayFromYear=e.WeekDay=e.Day=e.Type=e.HasOwnProperty=e.ArrayCreate=e.SameValue=e.ToObject=e.TimeClip=e.ToNumber=e.ToString=void 0;function t(U){if(typeof U=="symbol")throw TypeError("Cannot convert a Symbol value to a string");return String(U)}e.ToString=t;function r(U){if(U===void 0)return NaN;if(U===null)return 0;if(typeof U=="boolean")return U?1:0;if(typeof U=="number")return U;if(typeof U=="symbol"||typeof U=="bigint")throw new TypeError("Cannot convert symbol/bigint to number");return Number(U)}e.ToNumber=r;function a(U){var J=r(U);if(isNaN(J)||i(J,-0))return 0;if(isFinite(J))return J;var p=Math.floor(Math.abs(J));return J<0&&(p=-p),i(p,-0)?0:p}function n(U){return isFinite(U)?Math.abs(U)>8.64*1e15?NaN:a(U):NaN}e.TimeClip=n;function o(U){if(U==null)throw new TypeError("undefined/null cannot be converted to object");return Object(U)}e.ToObject=o;function i(U,J){return Object.is?Object.is(U,J):U===J?U!==0||1/U===1/J:U!==U&&J!==J}e.SameValue=i;function l(U){return new Array(U)}e.ArrayCreate=l;function s(U,J){return Object.prototype.hasOwnProperty.call(U,J)}e.HasOwnProperty=s;function f(U){if(U===null)return"Null";if(typeof U>"u")return"Undefined";if(typeof U=="function"||typeof U=="object")return"Object";if(typeof U=="number")return"Number";if(typeof U=="boolean")return"Boolean";if(typeof U=="string")return"String";if(typeof U=="symbol")return"Symbol";if(typeof U=="bigint")return"BigInt"}e.Type=f;var u=864e5;function h(U,J){return U-Math.floor(U/J)*J}function d(U){return Math.floor(U/u)}e.Day=d;function c(U){return h(d(U)+4,7)}e.WeekDay=c;function g(U){return Date.UTC(U,0)/u}e.DayFromYear=g;function m(U){return Date.UTC(U,0)}e.TimeFromYear=m;function v(U){return new Date(U).getUTCFullYear()}e.YearFromTime=v;function E(U){return U%4!==0?365:U%100!==0?366:U%400!==0?365:366}e.DaysInYear=E;function T(U){return d(U)-g(v(U))}e.DayWithinYear=T;function _(U){return E(v(U))===365?0:1}e.InLeapYear=_;function P(U){var J=T(U),p=_(U);if(J>=0&&J<31)return 0;if(J<59+p)return 1;if(J<90+p)return 2;if(J<120+p)return 3;if(J<151+p)return 4;if(J<181+p)return 5;if(J<212+p)return 6;if(J<243+p)return 7;if(J<273+p)return 8;if(J<304+p)return 9;if(J<334+p)return 10;if(J<365+p)return 11;throw new Error("Invalid time")}e.MonthFromTime=P;function D(U){var J=T(U),p=P(U),B=_(U);if(p===0)return J+1;if(p===1)return J-30;if(p===2)return J-58-B;if(p===3)return J-89-B;if(p===4)return J-119-B;if(p===5)return J-150-B;if(p===6)return J-180-B;if(p===7)return J-211-B;if(p===8)return J-242-B;if(p===9)return J-272-B;if(p===10)return J-303-B;if(p===11)return J-333-B;throw new Error("Invalid time")}e.DateFromTime=D;var A=24,H=60,x=60,W=1e3,z=W*x,Q=z*H;function ae(U){return h(Math.floor(U/Q),A)}e.HourFromTime=ae;function he(U){return h(Math.floor(U/z),H)}e.MinFromTime=he;function le(U){return h(Math.floor(U/W),x)}e.SecFromTime=le;function _e(U){return typeof U=="function"}function be(U,J,p){if(!_e(U))return!1;if(p!=null&&p.boundTargetFunction){var B=p==null?void 0:p.boundTargetFunction;return J instanceof B}if(typeof J!="object")return!1;var G=U.prototype;if(typeof G!="object")throw new TypeError("OrdinaryHasInstance called on an object with an invalid prototype property.");return Object.prototype.isPrototypeOf.call(G,J)}e.OrdinaryHasInstance=be;function Me(U){return h(U,W)}e.msFromTime=Me}),Rn=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CoerceOptionsToObject=void 0;var t=nt();function r(a){return typeof a>"u"?Object.create(null):(0,t.ToObject)(a)}e.CoerceOptionsToObject=r}),Bn=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultNumberOption=void 0;function t(r,a,n,o){if(r!==void 0){if(r=Number(r),isNaN(r)||r<a||r>n)throw new RangeError("".concat(r," is outside of range [").concat(a,", ").concat(n,"]"));return Math.floor(r)}return o}e.DefaultNumberOption=t}),Ar=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GetNumberOption=void 0;var t=Bn();function r(a,n,o,i,l){var s=a[n];return(0,t.DefaultNumberOption)(s,o,i,l)}e.GetNumberOption=r}),Rt=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GetOption=void 0;var t=nt();function r(a,n,o,i,l){if(typeof a!="object")throw new TypeError("Options must be an object");var s=a[n];if(s!==void 0){if(o!=="boolean"&&o!=="string")throw new TypeError("invalid type");if(o==="boolean"&&(s=!!s),o==="string"&&(s=(0,t.ToString)(s)),i!==void 0&&!i.filter(function(f){return f==s}).length)throw new RangeError("".concat(s," is not within ").concat(i.join(", ")));return s}return l}e.GetOption=r}),Ii=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GetOptionsObject=void 0;function t(r){if(typeof r>"u")return Object.create(null);if(typeof r=="object")return r;throw new TypeError("Options must be an object")}e.GetOptionsObject=t}),kn=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GetStringOrBooleanOption=void 0;var t=nt();function r(a,n,o,i,l,s){var f=a[n];if(f===void 0)return s;if(f===!0)return i;var u=!!f;if(u===!1)return l;if(f=(0,t.ToString)(f),f==="true"||f==="false")return s;if((o||[]).indexOf(f)===-1)throw new RangeError("Invalid value ".concat(f));return f}e.GetStringOrBooleanOption=r}),xn=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IsSanctionedSimpleUnitIdentifier=e.SIMPLE_UNITS=e.removeUnitNamespace=e.SANCTIONED_UNITS=void 0,e.SANCTIONED_UNITS=["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"];function t(a){return a.slice(a.indexOf("-")+1)}e.removeUnitNamespace=t,e.SIMPLE_UNITS=e.SANCTIONED_UNITS.map(t);function r(a){return e.SIMPLE_UNITS.indexOf(a)>-1}e.IsSanctionedSimpleUnitIdentifier=r}),Ni=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IsValidTimeZoneName=void 0;function t(r,a){var n=a.tzData,o=a.uppercaseLinks,i=r.toUpperCase(),l=new Set,s=new Set;return Object.keys(n).map(function(f){return f.toUpperCase()}).forEach(function(f){return l.add(f)}),Object.keys(o).forEach(function(f){s.add(f.toUpperCase()),l.add(o[f].toUpperCase())}),l.has(i)||s.has(i)}e.IsValidTimeZoneName=t}),jn=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IsWellFormedCurrencyCode=void 0;function t(n){return n.replace(/([a-z])/g,function(o,i){return i.toUpperCase()})}var r=/[^A-Z]/;function a(n){return n=t(n),!(n.length!==3||r.test(n))}e.IsWellFormedCurrencyCode=a}),Hn=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IsWellFormedUnitIdentifier=void 0;var t=xn();function r(n){return n.replace(/([A-Z])/g,function(o,i){return i.toLowerCase()})}function a(n){if(n=r(n),(0,t.IsSanctionedSimpleUnitIdentifier)(n))return!0;var o=n.split("-per-");if(o.length!==2)return!1;var i=o[0],l=o[1];return!(!(0,t.IsSanctionedSimpleUnitIdentifier)(i)||!(0,t.IsSanctionedSimpleUnitIdentifier)(l))}e.IsWellFormedUnitIdentifier=a}),Fi=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ApplyUnsignedRoundingMode=void 0;function t(r,a,n,o){if(r===a)return a;if(o===void 0)throw new Error("unsignedRoundingMode is mandatory");if(o==="zero")return a;if(o==="infinity")return n;var i=r-a,l=n-r;if(i<l)return a;if(l<i)return n;if(i!==l)throw new Error("Unexpected error");if(o==="half-zero")return a;if(o==="half-infinity")return n;if(o!=="half-even")throw new Error("Unexpected value for unsignedRoundingMode: ".concat(o));var s=a/(n-a)%2;return s===0?a:n}e.ApplyUnsignedRoundingMode=t}),Un=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CollapseNumberRange=void 0;function t(r){return r}e.CollapseNumberRange=t}),it=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.invariant=e.UNICODE_EXTENSION_SEQUENCE_REGEX=e.defineProperty=e.isLiteralPart=e.getMultiInternalSlots=e.getInternalSlot=e.setMultiInternalSlots=e.setInternalSlot=e.repeat=e.getMagnitude=void 0;function t(u){return Math.floor(Math.log(u)*Math.LOG10E)}e.getMagnitude=t;function r(u,h){if(typeof u.repeat=="function")return u.repeat(h);for(var d=new Array(h),c=0;c<d.length;c++)d[c]=u;return d.join("")}e.repeat=r;function a(u,h,d,c){u.get(h)||u.set(h,Object.create(null));var g=u.get(h);g[d]=c}e.setInternalSlot=a;function n(u,h,d){for(var c=0,g=Object.keys(d);c<g.length;c++){var m=g[c];a(u,h,m,d[m])}}e.setMultiInternalSlots=n;function o(u,h,d){return i(u,h,d)[d]}e.getInternalSlot=o;function i(u,h){for(var d=[],c=2;c<arguments.length;c++)d[c-2]=arguments[c];var g=u.get(h);if(!g)throw new TypeError("".concat(h," InternalSlot has not been initialized"));return d.reduce(function(m,v){return m[v]=g[v],m},Object.create(null))}e.getMultiInternalSlots=i;function l(u){return u.type==="literal"}e.isLiteralPart=l;function s(u,h,d){var c=d.value;Object.defineProperty(u,h,{configurable:!0,enumerable:!1,writable:!0,value:c})}e.defineProperty=s,e.UNICODE_EXTENSION_SEQUENCE_REGEX=/-u(?:-[0-9a-z]{2,8})+/gi;function f(u,h,d){if(d===void 0&&(d=Error),!u)throw new d(h)}e.invariant=f}),Vn=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ComputeExponentForMagnitude=void 0;function t(r,a,n){var o=n.getInternalSlots,i=o(r),l=i.notation,s=i.dataLocaleData,f=i.numberingSystem;switch(l){case"standard":return 0;case"scientific":return a;case"engineering":return Math.floor(a/3)*3;default:{var u=i.compactDisplay,h=i.style,d=i.currencyDisplay,c=void 0;if(h==="currency"&&d!=="name"){var g=s.numbers.currency[f]||s.numbers.currency[s.numbers.nu[0]];c=g.short}else{var m=s.numbers.decimal[f]||s.numbers.decimal[s.numbers.nu[0]];c=u==="long"?m.long:m.short}if(!c)return 0;var v=String(Math.pow(10,a)),E=Object.keys(c);if(v<E[0])return 0;if(v>E[E.length-1])return E[E.length-1].length-1;var T=E.indexOf(v);if(T===-1)return 0;var _=E[T],P=c[_].other;return P==="0"?0:_.length-c[_].other.match(/0+/)[0].length}}}e.ComputeExponentForMagnitude=t}),Gn=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToRawPrecision=void 0;var t=it();function r(a,n,o){var i=o,l,s,f;if(a===0)l=(0,t.repeat)("0",i),s=0,f=0;else{var u=a.toString(),h=u.indexOf("e"),d=u.split("e"),c=d[0],g=d[1],m=c.replace(".","");if(h>=0&&m.length<=i)s=+g,l=m+(0,t.repeat)("0",i-m.length),f=a;else{s=(0,t.getMagnitude)(a);var v=s-i+1,E=Math.round(P(a,v));P(E,i-1)>=10&&(s=s+1,E=Math.floor(E/10)),l=E.toString(),f=P(E,i-1-s)}}var T;if(s>=i-1?(l=l+(0,t.repeat)("0",s-i+1),T=s+1):s>=0?(l="".concat(l.slice(0,s+1),".").concat(l.slice(s+1)),T=s+1):(l="0.".concat((0,t.repeat)("0",-s-1)).concat(l),T=1),l.indexOf(".")>=0&&o>n){for(var _=o-n;_>0&&l[l.length-1]==="0";)l=l.slice(0,-1),_--;l[l.length-1]==="."&&(l=l.slice(0,-1))}return{formattedString:l,roundedNumber:f,integerDigitsCount:T};function P(D,A){return A<0?D*Math.pow(10,-A):D/Math.pow(10,A)}}e.ToRawPrecision=r}),Or=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToRawFixed=void 0;var t=it();function r(a,n,o){var i=o,l=Math.round(a*Math.pow(10,i)),s=l/Math.pow(10,i),f;if(l<1e21)f=l.toString();else{f=l.toString();var u=f.split("e"),h=u[0],d=u[1];f=h.replace(".",""),f=f+(0,t.repeat)("0",Math.max(+d-f.length+1,0))}var c;if(i!==0){var g=f.length;if(g<=i){var m=(0,t.repeat)("0",i+1-g);f=m+f,g=i+1}var v=f.slice(0,g-i),E=f.slice(g-i);f="".concat(v,".").concat(E),c=v.length}else c=f.length;for(var T=o-n;T>0&&f[f.length-1]==="0";)f=f.slice(0,-1),T--;return f[f.length-1]==="."&&(f=f.slice(0,-1)),{formattedString:f,roundedNumber:s,integerDigitsCount:c}}e.ToRawFixed=r}),Dr=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FormatNumericToString=void 0;var t=nt(),r=Gn(),a=it(),n=Or();function o(i,l){var s=l<0||(0,t.SameValue)(l,-0);s&&(l=-l);var f,u=i.roundingType;switch(u){case"significantDigits":f=(0,r.ToRawPrecision)(l,i.minimumSignificantDigits,i.maximumSignificantDigits);break;case"fractionDigits":f=(0,n.ToRawFixed)(l,i.minimumFractionDigits,i.maximumFractionDigits);break;default:f=(0,r.ToRawPrecision)(l,1,2),f.integerDigitsCount>1&&(f=(0,n.ToRawFixed)(l,0,0));break}l=f.roundedNumber;var h=f.formattedString,d=f.integerDigitsCount,c=i.minimumIntegerDigits;if(d<c){var g=(0,a.repeat)("0",c-d);h=g+h}return s&&(l=-l),{roundedNumber:l,formattedString:h}}e.FormatNumericToString=o}),Kn=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ComputeExponent=void 0;var t=it(),r=Vn(),a=Dr();function n(o,i,l){var s=l.getInternalSlots;if(i===0)return[0,0];i<0&&(i=-i);var f=(0,t.getMagnitude)(i),u=(0,r.ComputeExponentForMagnitude)(o,f,{getInternalSlots:s});i=u<0?i*Math.pow(10,-u):i/Math.pow(10,u);var h=(0,a.FormatNumericToString)(s(o),i);if(h.roundedNumber===0)return[u,f];var d=(0,t.getMagnitude)(h.roundedNumber);return d===f-u?[u,f]:[(0,r.ComputeExponentForMagnitude)(o,f+1,{getInternalSlots:s}),f+1]}e.ComputeExponent=n}),Wn=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CurrencyDigits=void 0;var t=nt();function r(a,n){var o=n.currencyDigitsData;return(0,t.HasOwnProperty)(o,a)?o[a]:2}e.CurrencyDigits=r}),Yn=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FormatApproximately=void 0;function t(r,a,n){var o=n.getInternalSlots,i=o(r),l=i.dataLocaleData.numbers.symbols[i.numberingSystem],s=l.approximatelySign;return a.push({type:"approximatelySign",value:s}),a}e.FormatApproximately=t}),Li=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.digitMapping=void 0,e.digitMapping={adlm:["\u{1E950}","\u{1E951}","\u{1E952}","\u{1E953}","\u{1E954}","\u{1E955}","\u{1E956}","\u{1E957}","\u{1E958}","\u{1E959}"],ahom:["\u{11730}","\u{11731}","\u{11732}","\u{11733}","\u{11734}","\u{11735}","\u{11736}","\u{11737}","\u{11738}","\u{11739}"],arab:["\u0660","\u0661","\u0662","\u0663","\u0664","\u0665","\u0666","\u0667","\u0668","\u0669"],arabext:["\u06F0","\u06F1","\u06F2","\u06F3","\u06F4","\u06F5","\u06F6","\u06F7","\u06F8","\u06F9"],bali:["\u1B50","\u1B51","\u1B52","\u1B53","\u1B54","\u1B55","\u1B56","\u1B57","\u1B58","\u1B59"],beng:["\u09E6","\u09E7","\u09E8","\u09E9","\u09EA","\u09EB","\u09EC","\u09ED","\u09EE","\u09EF"],bhks:["\u{11C50}","\u{11C51}","\u{11C52}","\u{11C53}","\u{11C54}","\u{11C55}","\u{11C56}","\u{11C57}","\u{11C58}","\u{11C59}"],brah:["\u{11066}","\u{11067}","\u{11068}","\u{11069}","\u{1106A}","\u{1106B}","\u{1106C}","\u{1106D}","\u{1106E}","\u{1106F}"],cakm:["\u{11136}","\u{11137}","\u{11138}","\u{11139}","\u{1113A}","\u{1113B}","\u{1113C}","\u{1113D}","\u{1113E}","\u{1113F}"],cham:["\uAA50","\uAA51","\uAA52","\uAA53","\uAA54","\uAA55","\uAA56","\uAA57","\uAA58","\uAA59"],deva:["\u0966","\u0967","\u0968","\u0969","\u096A","\u096B","\u096C","\u096D","\u096E","\u096F"],diak:["\u{11950}","\u{11951}","\u{11952}","\u{11953}","\u{11954}","\u{11955}","\u{11956}","\u{11957}","\u{11958}","\u{11959}"],fullwide:["\uFF10","\uFF11","\uFF12","\uFF13","\uFF14","\uFF15","\uFF16","\uFF17","\uFF18","\uFF19"],gong:["\u{11DA0}","\u{11DA1}","\u{11DA2}","\u{11DA3}","\u{11DA4}","\u{11DA5}","\u{11DA6}","\u{11DA7}","\u{11DA8}","\u{11DA9}"],gonm:["\u{11D50}","\u{11D51}","\u{11D52}","\u{11D53}","\u{11D54}","\u{11D55}","\u{11D56}","\u{11D57}","\u{11D58}","\u{11D59}"],gujr:["\u0AE6","\u0AE7","\u0AE8","\u0AE9","\u0AEA","\u0AEB","\u0AEC","\u0AED","\u0AEE","\u0AEF"],guru:["\u0A66","\u0A67","\u0A68","\u0A69","\u0A6A","\u0A6B","\u0A6C","\u0A6D","\u0A6E","\u0A6F"],hanidec:["\u3007","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],hmng:["\u{16B50}","\u{16B51}","\u{16B52}","\u{16B53}","\u{16B54}","\u{16B55}","\u{16B56}","\u{16B57}","\u{16B58}","\u{16B59}"],hmnp:["\u{1E140}","\u{1E141}","\u{1E142}","\u{1E143}","\u{1E144}","\u{1E145}","\u{1E146}","\u{1E147}","\u{1E148}","\u{1E149}"],java:["\uA9D0","\uA9D1","\uA9D2","\uA9D3","\uA9D4","\uA9D5","\uA9D6","\uA9D7","\uA9D8","\uA9D9"],kali:["\uA900","\uA901","\uA902","\uA903","\uA904","\uA905","\uA906","\uA907","\uA908","\uA909"],khmr:["\u17E0","\u17E1","\u17E2","\u17E3","\u17E4","\u17E5","\u17E6","\u17E7","\u17E8","\u17E9"],knda:["\u0CE6","\u0CE7","\u0CE8","\u0CE9","\u0CEA","\u0CEB","\u0CEC","\u0CED","\u0CEE","\u0CEF"],lana:["\u1A80","\u1A81","\u1A82","\u1A83","\u1A84","\u1A85","\u1A86","\u1A87","\u1A88","\u1A89"],lanatham:["\u1A90","\u1A91","\u1A92","\u1A93","\u1A94","\u1A95","\u1A96","\u1A97","\u1A98","\u1A99"],laoo:["\u0ED0","\u0ED1","\u0ED2","\u0ED3","\u0ED4","\u0ED5","\u0ED6","\u0ED7","\u0ED8","\u0ED9"],lepc:["\u1A90","\u1A91","\u1A92","\u1A93","\u1A94","\u1A95","\u1A96","\u1A97","\u1A98","\u1A99"],limb:["\u1946","\u1947","\u1948","\u1949","\u194A","\u194B","\u194C","\u194D","\u194E","\u194F"],mathbold:["\u{1D7CE}","\u{1D7CF}","\u{1D7D0}","\u{1D7D1}","\u{1D7D2}","\u{1D7D3}","\u{1D7D4}","\u{1D7D5}","\u{1D7D6}","\u{1D7D7}"],mathdbl:["\u{1D7D8}","\u{1D7D9}","\u{1D7DA}","\u{1D7DB}","\u{1D7DC}","\u{1D7DD}","\u{1D7DE}","\u{1D7DF}","\u{1D7E0}","\u{1D7E1}"],mathmono:["\u{1D7F6}","\u{1D7F7}","\u{1D7F8}","\u{1D7F9}","\u{1D7FA}","\u{1D7FB}","\u{1D7FC}","\u{1D7FD}","\u{1D7FE}","\u{1D7FF}"],mathsanb:["\u{1D7EC}","\u{1D7ED}","\u{1D7EE}","\u{1D7EF}","\u{1D7F0}","\u{1D7F1}","\u{1D7F2}","\u{1D7F3}","\u{1D7F4}","\u{1D7F5}"],mathsans:["\u{1D7E2}","\u{1D7E3}","\u{1D7E4}","\u{1D7E5}","\u{1D7E6}","\u{1D7E7}","\u{1D7E8}","\u{1D7E9}","\u{1D7EA}","\u{1D7EB}"],mlym:["\u0D66","\u0D67","\u0D68","\u0D69","\u0D6A","\u0D6B","\u0D6C","\u0D6D","\u0D6E","\u0D6F"],modi:["\u{11650}","\u{11651}","\u{11652}","\u{11653}","\u{11654}","\u{11655}","\u{11656}","\u{11657}","\u{11658}","\u{11659}"],mong:["\u1810","\u1811","\u1812","\u1813","\u1814","\u1815","\u1816","\u1817","\u1818","\u1819"],mroo:["\u{16A60}","\u{16A61}","\u{16A62}","\u{16A63}","\u{16A64}","\u{16A65}","\u{16A66}","\u{16A67}","\u{16A68}","\u{16A69}"],mtei:["\uABF0","\uABF1","\uABF2","\uABF3","\uABF4","\uABF5","\uABF6","\uABF7","\uABF8","\uABF9"],mymr:["\u1040","\u1041","\u1042","\u1043","\u1044","\u1045","\u1046","\u1047","\u1048","\u1049"],mymrshan:["\u1090","\u1091","\u1092","\u1093","\u1094","\u1095","\u1096","\u1097","\u1098","\u1099"],mymrtlng:["\uA9F0","\uA9F1","\uA9F2","\uA9F3","\uA9F4","\uA9F5","\uA9F6","\uA9F7","\uA9F8","\uA9F9"],newa:["\u{11450}","\u{11451}","\u{11452}","\u{11453}","\u{11454}","\u{11455}","\u{11456}","\u{11457}","\u{11458}","\u{11459}"],nkoo:["\u07C0","\u07C1","\u07C2","\u07C3","\u07C4","\u07C5","\u07C6","\u07C7","\u07C8","\u07C9"],olck:["\u1C50","\u1C51","\u1C52","\u1C53","\u1C54","\u1C55","\u1C56","\u1C57","\u1C58","\u1C59"],orya:["\u0B66","\u0B67","\u0B68","\u0B69","\u0B6A","\u0B6B","\u0B6C","\u0B6D","\u0B6E","\u0B6F"],osma:["\u{104A0}","\u{104A1}","\u{104A2}","\u{104A3}","\u{104A4}","\u{104A5}","\u{104A6}","\u{104A7}","\u{104A8}","\u{104A9}"],rohg:["\u{10D30}","\u{10D31}","\u{10D32}","\u{10D33}","\u{10D34}","\u{10D35}","\u{10D36}","\u{10D37}","\u{10D38}","\u{10D39}"],saur:["\uA8D0","\uA8D1","\uA8D2","\uA8D3","\uA8D4","\uA8D5","\uA8D6","\uA8D7","\uA8D8","\uA8D9"],segment:["\u{1FBF0}","\u{1FBF1}","\u{1FBF2}","\u{1FBF3}","\u{1FBF4}","\u{1FBF5}","\u{1FBF6}","\u{1FBF7}","\u{1FBF8}","\u{1FBF9}"],shrd:["\u{111D0}","\u{111D1}","\u{111D2}","\u{111D3}","\u{111D4}","\u{111D5}","\u{111D6}","\u{111D7}","\u{111D8}","\u{111D9}"],sind:["\u{112F0}","\u{112F1}","\u{112F2}","\u{112F3}","\u{112F4}","\u{112F5}","\u{112F6}","\u{112F7}","\u{112F8}","\u{112F9}"],sinh:["\u0DE6","\u0DE7","\u0DE8","\u0DE9","\u0DEA","\u0DEB","\u0DEC","\u0DED","\u0DEE","\u0DEF"],sora:["\u{110F0}","\u{110F1}","\u{110F2}","\u{110F3}","\u{110F4}","\u{110F5}","\u{110F6}","\u{110F7}","\u{110F8}","\u{110F9}"],sund:["\u1BB0","\u1BB1","\u1BB2","\u1BB3","\u1BB4","\u1BB5","\u1BB6","\u1BB7","\u1BB8","\u1BB9"],takr:["\u{116C0}","\u{116C1}","\u{116C2}","\u{116C3}","\u{116C4}","\u{116C5}","\u{116C6}","\u{116C7}","\u{116C8}","\u{116C9}"],talu:["\u19D0","\u19D1","\u19D2","\u19D3","\u19D4","\u19D5","\u19D6","\u19D7","\u19D8","\u19D9"],tamldec:["\u0BE6","\u0BE7","\u0BE8","\u0BE9","\u0BEA","\u0BEB","\u0BEC","\u0BED","\u0BEE","\u0BEF"],telu:["\u0C66","\u0C67","\u0C68","\u0C69","\u0C6A","\u0C6B","\u0C6C","\u0C6D","\u0C6E","\u0C6F"],thai:["\u0E50","\u0E51","\u0E52","\u0E53","\u0E54","\u0E55","\u0E56","\u0E57","\u0E58","\u0E59"],tibt:["\u0F20","\u0F21","\u0F22","\u0F23","\u0F24","\u0F25","\u0F26","\u0F27","\u0F28","\u0F29"],tirh:["\u{114D0}","\u{114D1}","\u{114D2}","\u{114D3}","\u{114D4}","\u{114D5}","\u{114D6}","\u{114D7}","\u{114D8}","\u{114D9}"],vaii:["\u1620","\u1621","\u1622","\u1623","\u1624","\u1625","\u1626","\u1627","\u1628","\u1629"],wara:["\u{118E0}","\u{118E1}","\u{118E2}","\u{118E3}","\u{118E4}","\u{118E5}","\u{118E6}","\u{118E7}","\u{118E8}","\u{118E9}"],wcho:["\u{1E2F0}","\u{1E2F1}","\u{1E2F2}","\u{1E2F3}","\u{1E2F4}","\u{1E2F5}","\u{1E2F6}","\u{1E2F7}","\u{1E2F8}","\u{1E2F9}"]}}),Ri=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.S_UNICODE_REGEX=void 0,e.S_UNICODE_REGEX=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/}),zn=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=Or(),r=Li(),a=Ri(),n=new RegExp("^".concat(a.S_UNICODE_REGEX.source)),o=new RegExp("".concat(a.S_UNICODE_REGEX.source,"$")),i=/[#0](?:[\.,][#0]+)*/g;function l(d,c,g,m){var v=d.sign,E=d.exponent,T=d.magnitude,_=m.notation,P=m.style,D=m.numberingSystem,A=c.numbers.nu[0],H=null;_==="compact"&&T&&(H=u(d,g,c,P,m.compactDisplay,m.currencyDisplay,D));var x;if(P==="currency"&&m.currencyDisplay!=="name"){var W=c.currencies[m.currency];if(W)switch(m.currencyDisplay){case"code":x=m.currency;break;case"symbol":x=W.symbol;break;default:x=W.narrow;break}else x=m.currency}var z;if(H)z=H;else if(P==="decimal"||P==="unit"||P==="currency"&&m.currencyDisplay==="name"){var Q=c.numbers.decimal[D]||c.numbers.decimal[A];z=f(Q.standard,v)}else if(P==="currency"){var ae=c.numbers.currency[D]||c.numbers.currency[A];z=f(ae[m.currencySign],v)}else{var he=c.numbers.percent[D]||c.numbers.percent[A];z=f(he,v)}var le=i.exec(z)[0];if(z=z.replace(i,"{0}").replace(/'(.)'/g,"$1"),P==="currency"&&m.currencyDisplay!=="name"){var ae=c.numbers.currency[D]||c.numbers.currency[A],_e=ae.currencySpacing.afterInsertBetween;_e&&!o.test(x)&&(z=z.replace("\xA4{0}","\xA4".concat(_e,"{0}")));var be=ae.currencySpacing.beforeInsertBetween;be&&!n.test(x)&&(z=z.replace("{0}\xA4","{0}".concat(be,"\xA4")))}for(var Me=z.split(/({c:[^}]+}|\{0\}|[¤%\-\+])/g),U=[],J=c.numbers.symbols[D]||c.numbers.symbols[A],p=0,B=Me;p<B.length;p++){var G=B[p];if(G)switch(G){case"{0}":{U.push.apply(U,s(J,d,_,E,D,!H&&!!m.useGrouping,le));break}case"-":U.push({type:"minusSign",value:J.minusSign});break;case"+":U.push({type:"plusSign",value:J.plusSign});break;case"%":U.push({type:"percentSign",value:J.percentSign});break;case"\xA4":U.push({type:"currency",value:x});break;default:/^\{c:/.test(G)?U.push({type:"compact",value:G.substring(3,G.length-1)}):U.push({type:"literal",value:G});break}}switch(P){case"currency":if(m.currencyDisplay==="name"){var Y=(c.numbers.currency[D]||c.numbers.currency[A]).unitPattern,ee=void 0,ie=c.currencies[m.currency];ie?ee=h(g,d.roundedNumber*Math.pow(10,E),ie.displayName):ee=m.currency;for(var ce=Y.split(/(\{[01]\})/g),ue=[],Ie=0,w=ce;Ie<w.length;Ie++){var G=w[Ie];switch(G){case"{0}":ue.push.apply(ue,U);break;case"{1}":ue.push({type:"currency",value:ee});break;default:G&&ue.push({type:"literal",value:G});break}}return ue}else return U;case"unit":{var j=m.unit,K=m.unitDisplay,X=c.units.simple[j],Y=void 0;if(X)Y=h(g,d.roundedNumber*Math.pow(10,E),c.units.simple[j][K]);else{var re=j.split("-per-"),de=re[0],oe=re[1];X=c.units.simple[de];var Re=h(g,d.roundedNumber*Math.pow(10,E),c.units.simple[de][K]),He=c.units.simple[oe].perUnit[K];if(He)Y=He.replace("{0}",Re);else{var Z=c.units.compound.per[K],$=h(g,1,c.units.simple[oe][K]);Y=Y=Z.replace("{0}",Re).replace("{1}",$.replace("{0}",""))}}for(var ue=[],fe=0,Ce=Y.split(/(\s*\{0\}\s*)/);fe<Ce.length;fe++){var G=Ce[fe],Ue=/^(\s*)\{0\}(\s*)$/.exec(G);Ue?(Ue[1]&&ue.push({type:"literal",value:Ue[1]}),ue.push.apply(ue,U),Ue[2]&&ue.push({type:"literal",value:Ue[2]})):G&&ue.push({type:"unit",value:G})}return ue}default:return U}}e.default=l;function s(d,c,g,m,v,E,T){var _=[],P=c.formattedString,D=c.roundedNumber;if(isNaN(D))return[{type:"nan",value:P}];if(!isFinite(D))return[{type:"infinity",value:P}];var A=r.digitMapping[v];A&&(P=P.replace(/\d/g,function(J){return A[+J]||J}));var H=P.indexOf("."),x,W;if(H>0?(x=P.slice(0,H),W=P.slice(H+1)):x=P,E&&(g!=="compact"||D>=1e4)){var z=d.group,Q=[],ae=T.split(".")[0],he=ae.split(","),le=3,_e=3;he.length>1&&(le=he[he.length-1].length),he.length>2&&(_e=he[he.length-2].length);var be=x.length-le;if(be>0){for(Q.push(x.slice(be,be+le)),be-=_e;be>0;be-=_e)Q.push(x.slice(be,be+_e));Q.push(x.slice(0,be+_e))}else Q.push(x);for(;Q.length>0;){var Me=Q.pop();_.push({type:"integer",value:Me}),Q.length>0&&_.push({type:"group",value:z})}}else _.push({type:"integer",value:x});if(W!==void 0&&_.push({type:"decimal",value:d.decimal},{type:"fraction",value:W}),(g==="scientific"||g==="engineering")&&isFinite(D)){_.push({type:"exponentSeparator",value:d.exponential}),m<0&&(_.push({type:"exponentMinusSign",value:d.minusSign}),m=-m);var U=(0,t.ToRawFixed)(m,0,0);_.push({type:"exponentInteger",value:U.formattedString})}return _}function f(d,c){d.indexOf(";")<0&&(d="".concat(d,";-").concat(d));var g=d.split(";"),m=g[0],v=g[1];switch(c){case 0:return m;case-1:return v;default:return v.indexOf("-")>=0?v.replace(/-/g,"+"):"+".concat(m)}}function u(d,c,g,m,v,E,T){var _,P=d.roundedNumber,D=d.sign,A=d.magnitude,H=String(Math.pow(10,A)),x=g.numbers.nu[0],W;if(m==="currency"&&E!=="name"){var z=g.numbers.currency,Q=z[T]||z[x],ae=(_=Q.short)===null||_===void 0?void 0:_[H];if(!ae)return null;W=h(c,P,ae)}else{var z=g.numbers.decimal,he=z[T]||z[x],le=he[v][H];if(!le)return null;W=h(c,P,le)}return W==="0"?null:(W=f(W,D).replace(/([^\s;\-\+\d¤]+)/g,"{c:$1}").replace(/0+/,"0"),W)}function h(d,c,g){return g[d.select(c)]||g.other}}),wr=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PartitionNumberPattern=void 0;var t=(De(),Pe(Oe)),r=Dr(),a=nt(),n=Kn(),o=t.__importDefault(zn());function i(l,s,f){var u,h=f.getInternalSlots,d=h(l),c=d.pl,g=d.dataLocaleData,m=d.numberingSystem,v=g.numbers.symbols[m]||g.numbers.symbols[g.numbers.nu[0]],E=0,T=0,_;if(isNaN(s))_=v.nan;else if(s==Number.POSITIVE_INFINITY||s==Number.NEGATIVE_INFINITY)_=v.infinity;else{if(!(0,a.SameValue)(s,-0)){if(!isFinite(s))throw new Error("Input must be a mathematical value");d.style=="percent"&&(s*=100),u=(0,n.ComputeExponent)(l,s,{getInternalSlots:h}),T=u[0],E=u[1],s=T<0?s*Math.pow(10,-T):s/Math.pow(10,T)}var P=(0,r.FormatNumericToString)(d,s);_=P.formattedString,s=P.roundedNumber}var D,A=d.signDisplay;switch(A){case"never":D=0;break;case"auto":(0,a.SameValue)(s,0)||s>0||isNaN(s)?D=0:D=-1;break;case"always":(0,a.SameValue)(s,0)||s>0||isNaN(s)?D=1:D=-1;break;default:s===0||isNaN(s)?D=0:s>0?D=1:D=-1}return(0,o.default)({roundedNumber:s,formattedString:_,exponent:T,magnitude:E,sign:D},d.dataLocaleData,c,d)}e.PartitionNumberPattern=i}),Mr=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PartitionNumberRangePattern=void 0;var t=wr(),r=Un(),a=Yn();function n(o,i,l,s){var f=s.getInternalSlots;if(isNaN(i)||isNaN(l))throw new RangeError("Input must be a number");var u=[],h=(0,t.PartitionNumberPattern)(o,i,{getInternalSlots:f}),d=(0,t.PartitionNumberPattern)(o,l,{getInternalSlots:f});if(h===d)return(0,a.FormatApproximately)(o,h,{getInternalSlots:f});for(var c=0,g=h;c<g.length;c++){var m=g[c];m.source="startRange"}u=u.concat(h);var v=f(o),E=v.dataLocaleData.numbers.symbols[v.numberingSystem];u.push({type:"literal",value:E.rangeSign,source:"shared"});for(var T=0,_=d;T<_.length;T++){var m=_[T];m.source="endRange"}return u=u.concat(d),(0,r.CollapseNumberRange)(u)}e.PartitionNumberRangePattern=n}),Bi=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FormatNumericRange=void 0;var t=Mr();function r(a,n,o,i){var l=i.getInternalSlots,s=(0,t.PartitionNumberRangePattern)(a,n,o,{getInternalSlots:l});return s.map(function(f){return f.value}).join("")}e.FormatNumericRange=r}),ki=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FormatNumericRangeToParts=void 0;var t=Mr();function r(a,n,o,i){var l=i.getInternalSlots,s=(0,t.PartitionNumberRangePattern)(a,n,o,{getInternalSlots:l});return s.map(function(f,u){return{type:f.type,value:f.value,source:f.source,result:u.toString()}})}e.FormatNumericRangeToParts=r}),xi=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FormatNumericToParts=void 0;var t=wr(),r=nt();function a(n,o,i){for(var l=(0,t.PartitionNumberPattern)(n,o,i),s=(0,r.ArrayCreate)(0),f=0,u=l;f<u.length;f++){var h=u[f];s.push({type:h.type,value:h.value})}return s}e.FormatNumericToParts=a}),ji=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GetUnsignedRoundingMode=void 0;var t={ceil:"zero",floor:"infinity",expand:"infinity",trunc:"zero",halfCeil:"half-zero",halfFloor:"half-infinity",halfExpand:"half-infinity",halfTrunc:"half-zero",halfEven:"half-even"},r={ceil:"infinity",floor:"zero",expand:"infinity",trunc:"zero",halfCeil:"half-infinity",halfFloor:"half-zero",halfExpand:"half-infinity",halfTrunc:"half-zero",halfEven:"half-even"};function a(n,o){return o?t[n]:r[n]}e.GetUnsignedRoundingMode=a}),Hi=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CanonicalizeLocaleList=void 0;function t(r){return Intl.getCanonicalLocales(r)}e.CanonicalizeLocaleList=t}),Bt=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.invariant=e.UNICODE_EXTENSION_SEQUENCE_REGEX=void 0,e.UNICODE_EXTENSION_SEQUENCE_REGEX=/-u(?:-[0-9a-z]{2,8})+/gi;function t(r,a,n){if(n===void 0&&(n=Error),!r)throw new n(a)}e.invariant=t}),Ir=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BestAvailableLocale=void 0;function t(r,a){for(var n=a;;){if(r.has(n))return n;var o=n.lastIndexOf("-");if(!~o)return;o>=2&&n[o-2]==="-"&&(o-=2),n=n.slice(0,o)}}e.BestAvailableLocale=t}),Ui=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LookupMatcher=void 0;var t=Bt(),r=Ir();function a(n,o,i){for(var l={locale:""},s=0,f=o;s<f.length;s++){var u=f[s],h=u.replace(t.UNICODE_EXTENSION_SEQUENCE_REGEX,""),d=(0,r.BestAvailableLocale)(n,h);if(d)return l.locale=d,u!==h&&(l.extension=u.slice(h.length+1,u.length)),l}return l.locale=i(),l}e.LookupMatcher=a}),Vi=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BestFitMatcher=void 0;var t=Ir(),r=Bt();function a(n,o,i){var l={},s={},f={},u=new Set;n.forEach(function(_){var P=new Intl.Locale(_).minimize().toString(),D=Intl.getCanonicalLocales(_)[0]||_;l[P]=_,s[_]=_,f[D]=_,u.add(P),u.add(_),u.add(D)});for(var h,d=0,c=o;d<c.length;d++){var g=c[d];if(h)break;var m=g.replace(r.UNICODE_EXTENSION_SEQUENCE_REGEX,"");if(n.has(m)){h=m;break}if(u.has(m)){h=m;break}var v=new Intl.Locale(m),E=v.maximize().toString(),T=v.minimize().toString();if(u.has(T)){h=T;break}h=(0,t.BestAvailableLocale)(u,E)}return h?{locale:s[h]||f[h]||l[h]||h}:{locale:i()}}e.BestFitMatcher=a}),Gi=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnicodeExtensionValue=void 0;var t=Bt();function r(a,n){(0,t.invariant)(n.length===2,"key must have 2 elements");var o=a.length,i="-".concat(n,"-"),l=a.indexOf(i);if(l!==-1){for(var s=l+4,f=s,u=s,h=!1;!h;){var d=a.indexOf("-",u),c=void 0;d===-1?c=o-u:c=d-u,c===2?h=!0:d===-1?(f=o,h=!0):(f=d,u=d+1)}return a.slice(s,f)}if(i="-".concat(n),l=a.indexOf(i),l!==-1&&l+3===o)return""}e.UnicodeExtensionValue=r}),Xn=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResolveLocale=void 0;var t=Ui(),r=Vi(),a=Bt(),n=Gi();function o(i,l,s,f,u,h){var d=s.localeMatcher,c;d==="lookup"?c=(0,t.LookupMatcher)(i,l,h):c=(0,r.BestFitMatcher)(i,l,h);for(var g=c.locale,m={locale:"",dataLocale:g},v="-u",E=0,T=f;E<T.length;E++){var _=T[E];(0,a.invariant)(g in u,"Missing locale data for ".concat(g));var P=u[g];(0,a.invariant)(typeof P=="object"&&P!==null,"locale data ".concat(_," must be an object"));var D=P[_];(0,a.invariant)(Array.isArray(D),"keyLocaleData for ".concat(_," must be an array"));var A=D[0];(0,a.invariant)(typeof A=="string"||A===null,"value must be string or null but got ".concat(typeof A," in key ").concat(_));var H="";if(c.extension){var x=(0,n.UnicodeExtensionValue)(c.extension,_);x!==void 0&&(x!==""?~D.indexOf(x)&&(A=x,H="-".concat(_,"-").concat(A)):~x.indexOf("true")&&(A="true",H="-".concat(_)))}if(_ in s){var W=s[_];(0,a.invariant)(typeof W=="string"||typeof W>"u"||W===null,"optionsValue must be String, Undefined or Null"),~D.indexOf(W)&&W!==A&&(A=W,H="")}m[_]=A,v+=H}if(v.length>2){var z=g.indexOf("-x-");if(z===-1)g=g+v;else{var Q=g.slice(0,z),ae=g.slice(z,g.length);g=Q+v+ae}g=Intl.getCanonicalLocales(g)[0]}return m.locale=g,m}e.ResolveLocale=o}),Ki=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LookupSupportedLocales=void 0;var t=Bt(),r=Ir();function a(n,o){for(var i=[],l=0,s=o;l<s.length;l++){var f=s[l],u=f.replace(t.UNICODE_EXTENSION_SEQUENCE_REGEX,""),h=(0,r.BestAvailableLocale)(n,u);h&&i.push(h)}return i}e.LookupSupportedLocales=a}),Zn=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResolveLocale=e.LookupSupportedLocales=e.match=void 0;var t=Hi(),r=Xn();function a(i,l,s,f){var u=l.reduce(function(h,d){return h.add(d),h},new Set);return(0,r.ResolveLocale)(u,(0,t.CanonicalizeLocaleList)(i),{localeMatcher:(f==null?void 0:f.algorithm)||"best fit"},[],{},function(){return s}).locale}e.match=a;var n=Ki();Object.defineProperty(e,"LookupSupportedLocales",{enumerable:!0,get:function(){return n.LookupSupportedLocales}});var o=Xn();Object.defineProperty(e,"ResolveLocale",{enumerable:!0,get:function(){return o.ResolveLocale}})}),qn=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SetNumberFormatUnitOptions=void 0;var t=Rt(),r=jn(),a=Hn();function n(o,i,l){i===void 0&&(i=Object.create(null));var s=l.getInternalSlots,f=s(o),u=(0,t.GetOption)(i,"style","string",["decimal","percent","currency","unit"],"decimal");f.style=u;var h=(0,t.GetOption)(i,"currency","string",void 0,void 0);if(h!==void 0&&!(0,r.IsWellFormedCurrencyCode)(h))throw RangeError("Malformed currency code");if(u==="currency"&&h===void 0)throw TypeError("currency cannot be undefined");var d=(0,t.GetOption)(i,"currencyDisplay","string",["code","symbol","narrowSymbol","name"],"symbol"),c=(0,t.GetOption)(i,"currencySign","string",["standard","accounting"],"standard"),g=(0,t.GetOption)(i,"unit","string",void 0,void 0);if(g!==void 0&&!(0,a.IsWellFormedUnitIdentifier)(g))throw RangeError("Invalid unit argument for Intl.NumberFormat()");if(u==="unit"&&g===void 0)throw TypeError("unit cannot be undefined");var m=(0,t.GetOption)(i,"unitDisplay","string",["short","narrow","long"],"short");u==="currency"&&(f.currency=h.toUpperCase(),f.currencyDisplay=d,f.currencySign=c),u==="unit"&&(f.unit=g,f.unitDisplay=m)}e.SetNumberFormatUnitOptions=n}),Qn=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SetNumberFormatDigitOptions=void 0;var t=Ar(),r=Bn(),a=Rt();function n(o,i,l,s,f){var u=(0,t.GetNumberOption)(i,"minimumIntegerDigits",1,21,1),h=i.minimumFractionDigits,d=i.maximumFractionDigits,c=i.minimumSignificantDigits,g=i.maximumSignificantDigits;o.minimumIntegerDigits=u;var m=(0,a.GetOption)(i,"roundingPriority","string",["auto","morePrecision","lessPrecision"],"auto"),v=c!==void 0||g!==void 0,E=h!==void 0||d!==void 0,T=!0,_=!0;if(m==="auto"&&(T=v,(v||!E&&f==="compact")&&(_=!1)),T&&(v?(c=(0,r.DefaultNumberOption)(c,1,21,1),g=(0,r.DefaultNumberOption)(g,c,21,21),o.minimumSignificantDigits=c,o.maximumSignificantDigits=g):(o.minimumSignificantDigits=1,o.maximumSignificantDigits=21)),_)if(E){if(h=(0,r.DefaultNumberOption)(h,0,20,void 0),d=(0,r.DefaultNumberOption)(d,0,20,void 0),h===void 0)h=Math.min(l,d);else if(d===void 0)d=Math.max(s,h);else if(h>d)throw new RangeError("Invalid range, ".concat(h," > ").concat(d));o.minimumFractionDigits=h,o.maximumFractionDigits=d}else o.minimumFractionDigits=l,o.maximumFractionDigits=s;T||_?m==="morePrecision"?o.roundingType="morePrecision":m==="lessPrecision"?o.roundingType="lessPrecision":v?o.roundingType="significantDigits":o.roundingType="fractionDigits":(o.roundingType="morePrecision",o.minimumFractionDigits=0,o.maximumFractionDigits=0,o.minimumSignificantDigits=1,o.maximumSignificantDigits=2)}e.SetNumberFormatDigitOptions=n}),Wi=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InitializeNumberFormat=void 0;var t=Ln(),r=Rt(),a=Zn(),n=qn(),o=Wn(),i=Qn(),l=it(),s=Rn(),f=Ar(),u=kn(),h=[1,2,5,10,20,25,50,100,200,250,500,1e3,2e3];function d(c,g,m,v){var E=v.getInternalSlots,T=v.localeData,_=v.availableLocales,P=v.numberingSystemNames,D=v.getDefaultLocale,A=v.currencyDigitsData,H=(0,t.CanonicalizeLocaleList)(g),x=(0,s.CoerceOptionsToObject)(m),W=Object.create(null),z=(0,r.GetOption)(x,"localeMatcher","string",["lookup","best fit"],"best fit");W.localeMatcher=z;var Q=(0,r.GetOption)(x,"numberingSystem","string",void 0,void 0);if(Q!==void 0&&P.indexOf(Q)<0)throw RangeError("Invalid numberingSystems: ".concat(Q));W.nu=Q;var ae=(0,a.ResolveLocale)(_,H,W,["nu"],T,D),he=T[ae.dataLocale];(0,l.invariant)(!!he,"Missing locale data for ".concat(ae.dataLocale));var le=E(c);le.locale=ae.locale,le.dataLocale=ae.dataLocale,le.numberingSystem=ae.nu,le.dataLocaleData=he,(0,n.SetNumberFormatUnitOptions)(c,x,{getInternalSlots:E});var _e=le.style,be,Me;if(_e==="currency"){var U=le.currency,J=(0,o.CurrencyDigits)(U,{currencyDigitsData:A});be=J,Me=J}else be=0,Me=_e==="percent"?0:3;var p=(0,r.GetOption)(x,"notation","string",["standard","scientific","engineering","compact"],"standard");le.notation=p,(0,i.SetNumberFormatDigitOptions)(le,x,be,Me,p);var B=(0,f.GetNumberOption)(x,"roundingIncrement",1,5e3,1);if(h.indexOf(B)===-1)throw new RangeError("Invalid rounding increment value: ".concat(B,".\nValid values are ").concat(h,"."));if(B!==1&&le.roundingType!=="fractionDigits")throw new TypeError("For roundingIncrement > 1 only fractionDigits is a valid roundingType");if(B!==1&&le.maximumFractionDigits!==le.minimumFractionDigits)throw new RangeError("With roundingIncrement > 1, maximumFractionDigits and minimumFractionDigits must be equal.");le.roundingIncrement=B;var G=(0,r.GetOption)(x,"trailingZeroDisplay","string",["auto","stripIfInteger"],"auto");le.trailingZeroDisplay=G;var Y=(0,r.GetOption)(x,"compactDisplay","string",["short","long"],"short"),ee="auto";return p==="compact"&&(le.compactDisplay=Y,ee="min2"),le.useGrouping=(0,u.GetStringOrBooleanOption)(x,"useGrouping",["min2","auto","always"],"always",!1,ee),le.signDisplay=(0,r.GetOption)(x,"signDisplay","string",["auto","never","always","exceptZero","negative"],"auto"),le.roundingMode=(0,r.GetOption)(x,"roundingMode","string",["ceil","floor","expand","trunc","halfCeil","halfFloor","halfExpand","halfTrunc","halfEven"],"halfExpand"),c}e.InitializeNumberFormat=d}),Yi=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PartitionPattern=void 0;var t=it();function r(a){for(var n=[],o=a.indexOf("{"),i=0,l=0,s=a.length;o<a.length&&o>-1;)i=a.indexOf("}",o),(0,t.invariant)(i>o,"Invalid pattern ".concat(a)),o>l&&n.push({type:"literal",value:a.substring(l,o)}),n.push({type:a.substring(o+1,i),value:void 0}),l=i+1,o=a.indexOf("{",l);return l<s&&n.push({type:"literal",value:a.substring(l,s)}),n}e.PartitionPattern=r}),zi=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SupportedLocales=void 0;var t=nt(),r=Rt(),a=Zn();function n(o,i,l){var s="best fit";return l!==void 0&&(l=(0,t.ToObject)(l),s=(0,r.GetOption)(l,"localeMatcher","string",["lookup","best fit"],"best fit")),(0,a.LookupSupportedLocales)(o,i)}e.SupportedLocales=n}),Xi=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isMissingLocaleDataError=void 0;var t=(De(),Pe(Oe)),r=function(n){t.__extends(o,n);function o(){var i=n!==null&&n.apply(this,arguments)||this;return i.type="MISSING_LOCALE_DATA",i}return o}(Error);function a(n){return n.type==="MISSING_LOCALE_DATA"}e.isMissingLocaleDataError=a}),Zi=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})}),qi=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RangePatternType=void 0;var t;(function(r){r.startRange="startRange",r.shared="shared",r.endRange="endRange"})(t=e.RangePatternType||(e.RangePatternType={}))}),Qi=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})}),$i=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})}),Ji=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})}),eo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})}),Nr=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.invariant=e.isMissingLocaleDataError=e.defineProperty=e.getMagnitude=e.setMultiInternalSlots=e.setInternalSlot=e.isLiteralPart=e.getMultiInternalSlots=e.getInternalSlot=e._formatToParts=void 0;var t=(De(),Pe(Oe));t.__exportStar(Ln(),e),t.__exportStar(Mi(),e),t.__exportStar(Rn(),e),t.__exportStar(Ar(),e),t.__exportStar(Rt(),e),t.__exportStar(Ii(),e),t.__exportStar(kn(),e),t.__exportStar(xn(),e),t.__exportStar(Ni(),e),t.__exportStar(jn(),e),t.__exportStar(Hn(),e),t.__exportStar(Fi(),e),t.__exportStar(Un(),e),t.__exportStar(Kn(),e),t.__exportStar(Vn(),e),t.__exportStar(Wn(),e),t.__exportStar(Yn(),e),t.__exportStar(Bi(),e),t.__exportStar(ki(),e),t.__exportStar(xi(),e),t.__exportStar(Dr(),e),t.__exportStar(ji(),e),t.__exportStar(Wi(),e),t.__exportStar(wr(),e),t.__exportStar(Mr(),e),t.__exportStar(Qn(),e),t.__exportStar(qn(),e),t.__exportStar(Or(),e),t.__exportStar(Gn(),e);var r=zn();Object.defineProperty(e,"_formatToParts",{enumerable:!0,get:function(){return t.__importDefault(r).default}}),t.__exportStar(Yi(),e),t.__exportStar(zi(),e);var a=it();Object.defineProperty(e,"getInternalSlot",{enumerable:!0,get:function(){return a.getInternalSlot}}),Object.defineProperty(e,"getMultiInternalSlots",{enumerable:!0,get:function(){return a.getMultiInternalSlots}}),Object.defineProperty(e,"isLiteralPart",{enumerable:!0,get:function(){return a.isLiteralPart}}),Object.defineProperty(e,"setInternalSlot",{enumerable:!0,get:function(){return a.setInternalSlot}}),Object.defineProperty(e,"setMultiInternalSlots",{enumerable:!0,get:function(){return a.setMultiInternalSlots}}),Object.defineProperty(e,"getMagnitude",{enumerable:!0,get:function(){return a.getMagnitude}}),Object.defineProperty(e,"defineProperty",{enumerable:!0,get:function(){return a.defineProperty}});var n=Xi();Object.defineProperty(e,"isMissingLocaleDataError",{enumerable:!0,get:function(){return n.isMissingLocaleDataError}}),t.__exportStar(Zi(),e),t.__exportStar(qi(),e),t.__exportStar(Qi(),e),t.__exportStar($i(),e),t.__exportStar(Ji(),e),t.__exportStar(eo(),e);var o=it();Object.defineProperty(e,"invariant",{enumerable:!0,get:function(){return o.invariant}}),t.__exportStar(nt(),e)}),to=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})}),$n=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ErrorKind=void 0;var t;(function(r){r[r.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",r[r.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",r[r.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",r[r.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",r[r.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",r[r.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",r[r.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",r[r.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",r[r.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",r[r.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",r[r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",r[r.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",r[r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",r[r.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",r[r.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",r[r.INVALID_TAG=23]="INVALID_TAG",r[r.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",r[r.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",r[r.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(t=e.ErrorKind||(e.ErrorKind={}))}),Fr=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createNumberElement=e.createLiteralElement=e.isDateTimeSkeleton=e.isNumberSkeleton=e.isTagElement=e.isPoundElement=e.isPluralElement=e.isSelectElement=e.isTimeElement=e.isDateElement=e.isNumberElement=e.isArgumentElement=e.isLiteralElement=e.SKELETON_TYPE=e.TYPE=void 0;var t;(function(v){v[v.literal=0]="literal",v[v.argument=1]="argument",v[v.number=2]="number",v[v.date=3]="date",v[v.time=4]="time",v[v.select=5]="select",v[v.plural=6]="plural",v[v.pound=7]="pound",v[v.tag=8]="tag"})(t=e.TYPE||(e.TYPE={}));var r;(function(v){v[v.number=0]="number",v[v.dateTime=1]="dateTime"})(r=e.SKELETON_TYPE||(e.SKELETON_TYPE={}));function a(v){return v.type===t.literal}e.isLiteralElement=a;function n(v){return v.type===t.argument}e.isArgumentElement=n;function o(v){return v.type===t.number}e.isNumberElement=o;function i(v){return v.type===t.date}e.isDateElement=i;function l(v){return v.type===t.time}e.isTimeElement=l;function s(v){return v.type===t.select}e.isSelectElement=s;function f(v){return v.type===t.plural}e.isPluralElement=f;function u(v){return v.type===t.pound}e.isPoundElement=u;function h(v){return v.type===t.tag}e.isTagElement=h;function d(v){return!!(v&&typeof v=="object"&&v.type===r.number)}e.isNumberSkeleton=d;function c(v){return!!(v&&typeof v=="object"&&v.type===r.dateTime)}e.isDateTimeSkeleton=c;function g(v){return{type:t.literal,value:v}}e.createLiteralElement=g;function m(v,E){return{type:t.number,value:v,style:E}}e.createNumberElement=m}),ro=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WHITE_SPACE_REGEX=e.SPACE_SEPARATOR_REGEX=void 0,e.SPACE_SEPARATOR_REGEX=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,e.WHITE_SPACE_REGEX=/[\t-\r \x85\u200E\u200F\u2028\u2029]/}),no=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseDateTimeSkeleton=void 0;var t=/(?:[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 r(a){var n={};return a.replace(t,function(o){var i=o.length;switch(o[0]){case"G":n.era=i===4?"long":i===5?"narrow":"short";break;case"y":n.year=i===2?"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":n.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":n.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":n.weekday=i===4?"short":i===5?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][i-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][i-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][i-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][i-1];break;case"k":n.hourCycle="h24",n.hour=["numeric","2-digit"][i-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":n.minute=["numeric","2-digit"][i-1];break;case"s":n.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":n.timeZoneName=i<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""}),n}e.parseDateTimeSkeleton=r}),ao=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WHITE_SPACE_REGEX=void 0,e.WHITE_SPACE_REGEX=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i}),io=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseNumberSkeleton=e.parseNumberSkeletonFromString=void 0;var t=(De(),Pe(Oe)),r=ao();function a(g){if(g.length===0)throw new Error("Number skeleton cannot be empty");for(var m=g.split(r.WHITE_SPACE_REGEX).filter(function(z){return z.length>0}),v=[],E=0,T=m;E<T.length;E++){var _=T[E],P=_.split("/");if(P.length===0)throw new Error("Invalid number skeleton");for(var D=P[0],A=P.slice(1),H=0,x=A;H<x.length;H++){var W=x[H];if(W.length===0)throw new Error("Invalid number skeleton")}v.push({stem:D,options:A})}return v}e.parseNumberSkeletonFromString=a;function n(g){return g.replace(/^(.*?)-/,"")}var o=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,i=/^(@+)?(\+|#+)?[rs]?$/g,l=/(\*)(0+)|(#+)(0+)|(0+)/g,s=/^(0+)$/;function f(g){var m={};return g[g.length-1]==="r"?m.roundingPriority="morePrecision":g[g.length-1]==="s"&&(m.roundingPriority="lessPrecision"),g.replace(i,function(v,E,T){return typeof T!="string"?(m.minimumSignificantDigits=E.length,m.maximumSignificantDigits=E.length):T==="+"?m.minimumSignificantDigits=E.length:E[0]==="#"?m.maximumSignificantDigits=E.length:(m.minimumSignificantDigits=E.length,m.maximumSignificantDigits=E.length+(typeof T=="string"?T.length:0)),""}),m}function u(g){switch(g){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 h(g){var m;if(g[0]==="E"&&g[1]==="E"?(m={notation:"engineering"},g=g.slice(2)):g[0]==="E"&&(m={notation:"scientific"},g=g.slice(1)),m){var v=g.slice(0,2);if(v==="+!"?(m.signDisplay="always",g=g.slice(2)):v==="+?"&&(m.signDisplay="exceptZero",g=g.slice(2)),!s.test(g))throw new Error("Malformed concise eng/scientific notation");m.minimumIntegerDigits=g.length}return m}function d(g){var m={},v=u(g);return v||m}function c(g){for(var m={},v=0,E=g;v<E.length;v++){var T=E[v];switch(T.stem){case"percent":case"%":m.style="percent";continue;case"%x100":m.style="percent",m.scale=100;continue;case"currency":m.style="currency",m.currency=T.options[0];continue;case"group-off":case",_":m.useGrouping=!1;continue;case"precision-integer":case".":m.maximumFractionDigits=0;continue;case"measure-unit":case"unit":m.style="unit",m.unit=n(T.options[0]);continue;case"compact-short":case"K":m.notation="compact",m.compactDisplay="short";continue;case"compact-long":case"KK":m.notation="compact",m.compactDisplay="long";continue;case"scientific":m=t.__assign(t.__assign(t.__assign({},m),{notation:"scientific"}),T.options.reduce(function(A,H){return t.__assign(t.__assign({},A),d(H))},{}));continue;case"engineering":m=t.__assign(t.__assign(t.__assign({},m),{notation:"engineering"}),T.options.reduce(function(A,H){return t.__assign(t.__assign({},A),d(H))},{}));continue;case"notation-simple":m.notation="standard";continue;case"unit-width-narrow":m.currencyDisplay="narrowSymbol",m.unitDisplay="narrow";continue;case"unit-width-short":m.currencyDisplay="code",m.unitDisplay="short";continue;case"unit-width-full-name":m.currencyDisplay="name",m.unitDisplay="long";continue;case"unit-width-iso-code":m.currencyDisplay="symbol";continue;case"scale":m.scale=parseFloat(T.options[0]);continue;case"integer-width":if(T.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");T.options[0].replace(l,function(A,H,x,W,z,Q){if(H)m.minimumIntegerDigits=x.length;else{if(W&&z)throw new Error("We currently do not support maximum integer digits");if(Q)throw new Error("We currently do not support exact integer digits")}return""});continue}if(s.test(T.stem)){m.minimumIntegerDigits=T.stem.length;continue}if(o.test(T.stem)){if(T.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");T.stem.replace(o,function(A,H,x,W,z,Q){return x==="*"?m.minimumFractionDigits=H.length:W&&W[0]==="#"?m.maximumFractionDigits=W.length:z&&Q?(m.minimumFractionDigits=z.length,m.maximumFractionDigits=z.length+Q.length):(m.minimumFractionDigits=H.length,m.maximumFractionDigits=H.length),""});var _=T.options[0];_==="w"?m=t.__assign(t.__assign({},m),{trailingZeroDisplay:"stripIfInteger"}):_&&(m=t.__assign(t.__assign({},m),f(_)));continue}if(i.test(T.stem)){m=t.__assign(t.__assign({},m),f(T.stem));continue}var P=u(T.stem);P&&(m=t.__assign(t.__assign({},m),P));var D=h(T.stem);D&&(m=t.__assign(t.__assign({},m),D))}return m}e.parseNumberSkeleton=c}),oo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=(De(),Pe(Oe));t.__exportStar(no(),e),t.__exportStar(io(),e)}),uo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.timeData=void 0,e.timeData={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]}}),lo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getBestPattern=void 0;var t=uo();function r(n,o){for(var i="",l=0;l<n.length;l++){var s=n.charAt(l);if(s==="j"){for(var f=0;l+1<n.length&&n.charAt(l+1)===s;)f++,l++;var u=1+(f&1),h=f<2?1:3+(f>>1),d="a",c=a(o);for((c=="H"||c=="k")&&(h=0);h-- >0;)i+=d;for(;u-- >0;)i=c+i}else s==="J"?i+="H":i+=s}return i}e.getBestPattern=r;function a(n){var o=n.hourCycle;if(o===void 0&&n.hourCycles&&n.hourCycles.length&&(o=n.hourCycles[0]),o)switch(o){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var i=n.language,l;i!=="root"&&(l=n.maximize().region);var s=t.timeData[l||""]||t.timeData[i||""]||t.timeData["".concat(i,"-001")]||t.timeData["001"];return s[0]}}),so=N(e=>{"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.Parser=void 0;var r=(De(),Pe(Oe)),a=$n(),n=Fr(),o=ro(),i=oo(),l=lo(),s=new RegExp("^".concat(o.SPACE_SEPARATOR_REGEX.source,"*")),f=new RegExp("".concat(o.SPACE_SEPARATOR_REGEX.source,"*$"));function u(p,B){return{start:p,end:B}}var h=!!String.prototype.startsWith,d=!!String.fromCodePoint,c=!!Object.fromEntries,g=!!String.prototype.codePointAt,m=!!String.prototype.trimStart,v=!!String.prototype.trimEnd,E=!!Number.isSafeInteger,T=E?Number.isSafeInteger:function(p){return typeof p=="number"&&isFinite(p)&&Math.floor(p)===p&&Math.abs(p)<=9007199254740991},_=!0;try{P=Q("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),_=((t=P.exec("a"))===null||t===void 0?void 0:t[0])==="a"}catch(p){_=!1}var P,D=h?function(p,B,G){return p.startsWith(B,G)}:function(p,B,G){return p.slice(G,G+B.length)===B},A=d?String.fromCodePoint:function(){for(var p=[],B=0;B<arguments.length;B++)p[B]=arguments[B];for(var G="",Y=p.length,ee=0,ie;Y>ee;){if(ie=p[ee++],ie>1114111)throw RangeError(ie+" is not a valid code point");G+=ie<65536?String.fromCharCode(ie):String.fromCharCode(((ie-=65536)>>10)+55296,ie%1024+56320)}return G},H=c?Object.fromEntries:function(p){for(var B={},G=0,Y=p;G<Y.length;G++){var ee=Y[G],ie=ee[0],ce=ee[1];B[ie]=ce}return B},x=g?function(p,B){return p.codePointAt(B)}:function(p,B){var G=p.length;if(!(B<0||B>=G)){var Y=p.charCodeAt(B),ee;return Y<55296||Y>56319||B+1===G||(ee=p.charCodeAt(B+1))<56320||ee>57343?Y:(Y-55296<<10)+(ee-56320)+65536}},W=m?function(p){return p.trimStart()}:function(p){return p.replace(s,"")},z=v?function(p){return p.trimEnd()}:function(p){return p.replace(f,"")};function Q(p,B){return new RegExp(p,B)}var ae;_?(he=Q("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),ae=function(p,B){var G;he.lastIndex=B;var Y=he.exec(p);return(G=Y[1])!==null&&G!==void 0?G:""}):ae=function(p,B){for(var G=[];;){var Y=x(p,B);if(Y===void 0||U(Y)||J(Y))break;G.push(Y),B+=Y>=65536?2:1}return A.apply(void 0,G)};var he,le=function(){function p(B,G){G===void 0&&(G={}),this.message=B,this.position={offset:0,line:1,column:1},this.ignoreTag=!!G.ignoreTag,this.locale=G.locale,this.requiresOtherClause=!!G.requiresOtherClause,this.shouldParseSkeletons=!!G.shouldParseSkeletons}return p.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},p.prototype.parseMessage=function(B,G,Y){for(var ee=[];!this.isEOF();){var ie=this.char();if(ie===123){var ce=this.parseArgument(B,Y);if(ce.err)return ce;ee.push(ce.val)}else{if(ie===125&&B>0)break;if(ie===35&&(G==="plural"||G==="selectordinal")){var ue=this.clonePosition();this.bump(),ee.push({type:n.TYPE.pound,location:u(ue,this.clonePosition())})}else if(ie===60&&!this.ignoreTag&&this.peek()===47){if(Y)break;return this.error(a.ErrorKind.UNMATCHED_CLOSING_TAG,u(this.clonePosition(),this.clonePosition()))}else if(ie===60&&!this.ignoreTag&&_e(this.peek()||0)){var ce=this.parseTag(B,G);if(ce.err)return ce;ee.push(ce.val)}else{var ce=this.parseLiteral(B,G);if(ce.err)return ce;ee.push(ce.val)}}}return{val:ee,err:null}},p.prototype.parseTag=function(B,G){var Y=this.clonePosition();this.bump();var ee=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:n.TYPE.literal,value:"<".concat(ee,"/>"),location:u(Y,this.clonePosition())},err:null};if(this.bumpIf(">")){var ie=this.parseMessage(B+1,G,!0);if(ie.err)return ie;var ce=ie.val,ue=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!_e(this.char()))return this.error(a.ErrorKind.INVALID_TAG,u(ue,this.clonePosition()));var Ie=this.clonePosition(),w=this.parseTagName();return ee!==w?this.error(a.ErrorKind.UNMATCHED_CLOSING_TAG,u(Ie,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:n.TYPE.tag,value:ee,children:ce,location:u(Y,this.clonePosition())},err:null}:this.error(a.ErrorKind.INVALID_TAG,u(ue,this.clonePosition())))}else return this.error(a.ErrorKind.UNCLOSED_TAG,u(Y,this.clonePosition()))}else return this.error(a.ErrorKind.INVALID_TAG,u(Y,this.clonePosition()))},p.prototype.parseTagName=function(){var B=this.offset();for(this.bump();!this.isEOF()&&Me(this.char());)this.bump();return this.message.slice(B,this.offset())},p.prototype.parseLiteral=function(B,G){for(var Y=this.clonePosition(),ee="";;){var ie=this.tryParseQuote(G);if(ie){ee+=ie;continue}var ce=this.tryParseUnquoted(B,G);if(ce){ee+=ce;continue}var ue=this.tryParseLeftAngleBracket();if(ue){ee+=ue;continue}break}var Ie=u(Y,this.clonePosition());return{val:{type:n.TYPE.literal,value:ee,location:Ie},err:null}},p.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!be(this.peek()||0))?(this.bump(),"<"):null},p.prototype.tryParseQuote=function(B){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(B==="plural"||B==="selectordinal")break;return null;default:return null}this.bump();var G=[this.char()];for(this.bump();!this.isEOF();){var Y=this.char();if(Y===39)if(this.peek()===39)G.push(39),this.bump();else{this.bump();break}else G.push(Y);this.bump()}return A.apply(void 0,G)},p.prototype.tryParseUnquoted=function(B,G){if(this.isEOF())return null;var Y=this.char();return Y===60||Y===123||Y===35&&(G==="plural"||G==="selectordinal")||Y===125&&B>0?null:(this.bump(),A(Y))},p.prototype.parseArgument=function(B,G){var Y=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(a.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,u(Y,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(a.ErrorKind.EMPTY_ARGUMENT,u(Y,this.clonePosition()));var ee=this.parseIdentifierIfPossible().value;if(!ee)return this.error(a.ErrorKind.MALFORMED_ARGUMENT,u(Y,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(a.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,u(Y,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:n.TYPE.argument,value:ee,location:u(Y,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(a.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,u(Y,this.clonePosition())):this.parseArgumentOptions(B,G,ee,Y);default:return this.error(a.ErrorKind.MALFORMED_ARGUMENT,u(Y,this.clonePosition()))}},p.prototype.parseIdentifierIfPossible=function(){var B=this.clonePosition(),G=this.offset(),Y=ae(this.message,G),ee=G+Y.length;this.bumpTo(ee);var ie=this.clonePosition(),ce=u(B,ie);return{value:Y,location:ce}},p.prototype.parseArgumentOptions=function(B,G,Y,ee){var ie,ce=this.clonePosition(),ue=this.parseIdentifierIfPossible().value,Ie=this.clonePosition();switch(ue){case"":return this.error(a.ErrorKind.EXPECT_ARGUMENT_TYPE,u(ce,Ie));case"number":case"date":case"time":{this.bumpSpace();var w=null;if(this.bumpIf(",")){this.bumpSpace();var j=this.clonePosition(),K=this.parseSimpleArgStyleIfPossible();if(K.err)return K;var X=z(K.val);if(X.length===0)return this.error(a.ErrorKind.EXPECT_ARGUMENT_STYLE,u(this.clonePosition(),this.clonePosition()));var re=u(j,this.clonePosition());w={style:X,styleLocation:re}}var de=this.tryParseArgumentClose(ee);if(de.err)return de;var oe=u(ee,this.clonePosition());if(w&&D(w==null?void 0:w.style,"::",0)){var Re=W(w.style.slice(2));if(ue==="number"){var K=this.parseNumberSkeletonFromString(Re,w.styleLocation);return K.err?K:{val:{type:n.TYPE.number,value:Y,location:oe,style:K.val},err:null}}else{if(Re.length===0)return this.error(a.ErrorKind.EXPECT_DATE_TIME_SKELETON,oe);var He=Re;this.locale&&(He=(0,l.getBestPattern)(Re,this.locale));var X={type:n.SKELETON_TYPE.dateTime,pattern:He,location:w.styleLocation,parsedOptions:this.shouldParseSkeletons?(0,i.parseDateTimeSkeleton)(He):{}},Z=ue==="date"?n.TYPE.date:n.TYPE.time;return{val:{type:Z,value:Y,location:oe,style:X},err:null}}}return{val:{type:ue==="number"?n.TYPE.number:ue==="date"?n.TYPE.date:n.TYPE.time,value:Y,location:oe,style:(ie=w==null?void 0:w.style)!==null&&ie!==void 0?ie:null},err:null}}case"plural":case"selectordinal":case"select":{var $=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(a.ErrorKind.EXPECT_SELECT_ARGUMENT_OPTIONS,u($,r.__assign({},$)));this.bumpSpace();var fe=this.parseIdentifierIfPossible(),Ce=0;if(ue!=="select"&&fe.value==="offset"){if(!this.bumpIf(":"))return this.error(a.ErrorKind.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,u(this.clonePosition(),this.clonePosition()));this.bumpSpace();var K=this.tryParseDecimalInteger(a.ErrorKind.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,a.ErrorKind.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(K.err)return K;this.bumpSpace(),fe=this.parseIdentifierIfPossible(),Ce=K.val}var Ue=this.tryParsePluralOrSelectOptions(B,ue,G,fe);if(Ue.err)return Ue;var de=this.tryParseArgumentClose(ee);if(de.err)return de;var $e=u(ee,this.clonePosition());return ue==="select"?{val:{type:n.TYPE.select,value:Y,options:H(Ue.val),location:$e},err:null}:{val:{type:n.TYPE.plural,value:Y,options:H(Ue.val),offset:Ce,pluralType:ue==="plural"?"cardinal":"ordinal",location:$e},err:null}}default:return this.error(a.ErrorKind.INVALID_ARGUMENT_TYPE,u(ce,Ie))}},p.prototype.tryParseArgumentClose=function(B){return this.isEOF()||this.char()!==125?this.error(a.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,u(B,this.clonePosition())):(this.bump(),{val:!0,err:null})},p.prototype.parseSimpleArgStyleIfPossible=function(){for(var B=0,G=this.clonePosition();!this.isEOF();){var Y=this.char();switch(Y){case 39:{this.bump();var ee=this.clonePosition();if(!this.bumpUntil("'"))return this.error(a.ErrorKind.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,u(ee,this.clonePosition()));this.bump();break}case 123:{B+=1,this.bump();break}case 125:{if(B>0)B-=1;else return{val:this.message.slice(G.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(G.offset,this.offset()),err:null}},p.prototype.parseNumberSkeletonFromString=function(B,G){var Y=[];try{Y=(0,i.parseNumberSkeletonFromString)(B)}catch(ee){return this.error(a.ErrorKind.INVALID_NUMBER_SKELETON,G)}return{val:{type:n.SKELETON_TYPE.number,tokens:Y,location:G,parsedOptions:this.shouldParseSkeletons?(0,i.parseNumberSkeleton)(Y):{}},err:null}},p.prototype.tryParsePluralOrSelectOptions=function(B,G,Y,ee){for(var ie,ce=!1,ue=[],Ie=new Set,w=ee.value,j=ee.location;;){if(w.length===0){var K=this.clonePosition();if(G!=="select"&&this.bumpIf("=")){var X=this.tryParseDecimalInteger(a.ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR,a.ErrorKind.INVALID_PLURAL_ARGUMENT_SELECTOR);if(X.err)return X;j=u(K,this.clonePosition()),w=this.message.slice(K.offset,this.offset())}else break}if(Ie.has(w))return this.error(G==="select"?a.ErrorKind.DUPLICATE_SELECT_ARGUMENT_SELECTOR:a.ErrorKind.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,j);w==="other"&&(ce=!0),this.bumpSpace();var re=this.clonePosition();if(!this.bumpIf("{"))return this.error(G==="select"?a.ErrorKind.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:a.ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,u(this.clonePosition(),this.clonePosition()));var de=this.parseMessage(B+1,G,Y);if(de.err)return de;var oe=this.tryParseArgumentClose(re);if(oe.err)return oe;ue.push([w,{value:de.val,location:u(re,this.clonePosition())}]),Ie.add(w),this.bumpSpace(),ie=this.parseIdentifierIfPossible(),w=ie.value,j=ie.location}return ue.length===0?this.error(G==="select"?a.ErrorKind.EXPECT_SELECT_ARGUMENT_SELECTOR:a.ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR,u(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!ce?this.error(a.ErrorKind.MISSING_OTHER_CLAUSE,u(this.clonePosition(),this.clonePosition())):{val:ue,err:null}},p.prototype.tryParseDecimalInteger=function(B,G){var Y=1,ee=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(Y=-1);for(var ie=!1,ce=0;!this.isEOF();){var ue=this.char();if(ue>=48&&ue<=57)ie=!0,ce=ce*10+(ue-48),this.bump();else break}var Ie=u(ee,this.clonePosition());return ie?(ce*=Y,T(ce)?{val:ce,err:null}:this.error(G,Ie)):this.error(B,Ie)},p.prototype.offset=function(){return this.position.offset},p.prototype.isEOF=function(){return this.offset()===this.message.length},p.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},p.prototype.char=function(){var B=this.position.offset;if(B>=this.message.length)throw Error("out of bound");var G=x(this.message,B);if(G===void 0)throw Error("Offset ".concat(B," is at invalid UTF-16 code unit boundary"));return G},p.prototype.error=function(B,G){return{val:null,err:{kind:B,message:this.message,location:G}}},p.prototype.bump=function(){if(!this.isEOF()){var B=this.char();B===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=B<65536?1:2)}},p.prototype.bumpIf=function(B){if(D(this.message,B,this.offset())){for(var G=0;G<B.length;G++)this.bump();return!0}return!1},p.prototype.bumpUntil=function(B){var G=this.offset(),Y=this.message.indexOf(B,G);return Y>=0?(this.bumpTo(Y),!0):(this.bumpTo(this.message.length),!1)},p.prototype.bumpTo=function(B){if(this.offset()>B)throw Error("targetOffset ".concat(B," must be greater than or equal to the current offset ").concat(this.offset()));for(B=Math.min(B,this.message.length);;){var G=this.offset();if(G===B)break;if(G>B)throw Error("targetOffset ".concat(B," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},p.prototype.bumpSpace=function(){for(;!this.isEOF()&&U(this.char());)this.bump()},p.prototype.peek=function(){if(this.isEOF())return null;var B=this.char(),G=this.offset(),Y=this.message.charCodeAt(G+(B>=65536?2:1));return Y!=null?Y:null},p}();e.Parser=le;function _e(p){return p>=97&&p<=122||p>=65&&p<=90}function be(p){return _e(p)||p===47}function Me(p){return p===45||p===46||p>=48&&p<=57||p===95||p>=97&&p<=122||p>=65&&p<=90||p==183||p>=192&&p<=214||p>=216&&p<=246||p>=248&&p<=893||p>=895&&p<=8191||p>=8204&&p<=8205||p>=8255&&p<=8256||p>=8304&&p<=8591||p>=11264&&p<=12271||p>=12289&&p<=55295||p>=63744&&p<=64975||p>=65008&&p<=65533||p>=65536&&p<=983039}function U(p){return p>=9&&p<=13||p===32||p===133||p>=8206&&p<=8207||p===8232||p===8233}function J(p){return p>=33&&p<=35||p===36||p>=37&&p<=39||p===40||p===41||p===42||p===43||p===44||p===45||p>=46&&p<=47||p>=58&&p<=59||p>=60&&p<=62||p>=63&&p<=64||p===91||p===92||p===93||p===94||p===96||p===123||p===124||p===125||p===126||p===161||p>=162&&p<=165||p===166||p===167||p===169||p===171||p===172||p===174||p===176||p===177||p===182||p===187||p===191||p===215||p===247||p>=8208&&p<=8213||p>=8214&&p<=8215||p===8216||p===8217||p===8218||p>=8219&&p<=8220||p===8221||p===8222||p===8223||p>=8224&&p<=8231||p>=8240&&p<=8248||p===8249||p===8250||p>=8251&&p<=8254||p>=8257&&p<=8259||p===8260||p===8261||p===8262||p>=8263&&p<=8273||p===8274||p===8275||p>=8277&&p<=8286||p>=8592&&p<=8596||p>=8597&&p<=8601||p>=8602&&p<=8603||p>=8604&&p<=8607||p===8608||p>=8609&&p<=8610||p===8611||p>=8612&&p<=8613||p===8614||p>=8615&&p<=8621||p===8622||p>=8623&&p<=8653||p>=8654&&p<=8655||p>=8656&&p<=8657||p===8658||p===8659||p===8660||p>=8661&&p<=8691||p>=8692&&p<=8959||p>=8960&&p<=8967||p===8968||p===8969||p===8970||p===8971||p>=8972&&p<=8991||p>=8992&&p<=8993||p>=8994&&p<=9e3||p===9001||p===9002||p>=9003&&p<=9083||p===9084||p>=9085&&p<=9114||p>=9115&&p<=9139||p>=9140&&p<=9179||p>=9180&&p<=9185||p>=9186&&p<=9254||p>=9255&&p<=9279||p>=9280&&p<=9290||p>=9291&&p<=9311||p>=9472&&p<=9654||p===9655||p>=9656&&p<=9664||p===9665||p>=9666&&p<=9719||p>=9720&&p<=9727||p>=9728&&p<=9838||p===9839||p>=9840&&p<=10087||p===10088||p===10089||p===10090||p===10091||p===10092||p===10093||p===10094||p===10095||p===10096||p===10097||p===10098||p===10099||p===10100||p===10101||p>=10132&&p<=10175||p>=10176&&p<=10180||p===10181||p===10182||p>=10183&&p<=10213||p===10214||p===10215||p===10216||p===10217||p===10218||p===10219||p===10220||p===10221||p===10222||p===10223||p>=10224&&p<=10239||p>=10240&&p<=10495||p>=10496&&p<=10626||p===10627||p===10628||p===10629||p===10630||p===10631||p===10632||p===10633||p===10634||p===10635||p===10636||p===10637||p===10638||p===10639||p===10640||p===10641||p===10642||p===10643||p===10644||p===10645||p===10646||p===10647||p===10648||p>=10649&&p<=10711||p===10712||p===10713||p===10714||p===10715||p>=10716&&p<=10747||p===10748||p===10749||p>=10750&&p<=11007||p>=11008&&p<=11055||p>=11056&&p<=11076||p>=11077&&p<=11078||p>=11079&&p<=11084||p>=11085&&p<=11123||p>=11124&&p<=11125||p>=11126&&p<=11157||p===11158||p>=11159&&p<=11263||p>=11776&&p<=11777||p===11778||p===11779||p===11780||p===11781||p>=11782&&p<=11784||p===11785||p===11786||p===11787||p===11788||p===11789||p>=11790&&p<=11798||p===11799||p>=11800&&p<=11801||p===11802||p===11803||p===11804||p===11805||p>=11806&&p<=11807||p===11808||p===11809||p===11810||p===11811||p===11812||p===11813||p===11814||p===11815||p===11816||p===11817||p>=11818&&p<=11822||p===11823||p>=11824&&p<=11833||p>=11834&&p<=11835||p>=11836&&p<=11839||p===11840||p===11841||p===11842||p>=11843&&p<=11855||p>=11856&&p<=11857||p===11858||p>=11859&&p<=11903||p>=12289&&p<=12291||p===12296||p===12297||p===12298||p===12299||p===12300||p===12301||p===12302||p===12303||p===12304||p===12305||p>=12306&&p<=12307||p===12308||p===12309||p===12310||p===12311||p===12312||p===12313||p===12314||p===12315||p===12316||p===12317||p>=12318&&p<=12319||p===12320||p===12336||p===64830||p===64831||p>=65093&&p<=65094}}),Lr=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._Parser=e.parse=void 0;var t=(De(),Pe(Oe)),r=$n(),a=so(),n=Fr();function o(l){l.forEach(function(s){if(delete s.location,(0,n.isSelectElement)(s)||(0,n.isPluralElement)(s))for(var f in s.options)delete s.options[f].location,o(s.options[f].value);else(0,n.isNumberElement)(s)&&(0,n.isNumberSkeleton)(s.style)||((0,n.isDateElement)(s)||(0,n.isTimeElement)(s))&&(0,n.isDateTimeSkeleton)(s.style)?delete s.style.location:(0,n.isTagElement)(s)&&o(s.children)})}function i(l,s){s===void 0&&(s={}),s=t.__assign({shouldParseSkeletons:!0,requiresOtherClause:!0},s);var f=new a.Parser(l,s).parse();if(f.err){var u=SyntaxError(r.ErrorKind[f.err.kind]);throw u.location=f.err.location,u.originalMessage=f.err.message,u}return s!=null&&s.captureLocation||o(f.val),f.val}e.parse=i,t.__exportStar(Fr(),e),e._Parser=a.Parser}),Jn=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strategies=void 0;function t(d,c){var g=c&&c.cache?c.cache:h,m=c&&c.serializer?c.serializer:f,v=c&&c.strategy?c.strategy:i;return v(d,{cache:g,serializer:m})}e.default=t;function r(d){return d==null||typeof d=="number"||typeof d=="boolean"}function a(d,c,g,m){var v=r(m)?m:g(m),E=c.get(v);return typeof E>"u"&&(E=d.call(this,m),c.set(v,E)),E}function n(d,c,g){var m=Array.prototype.slice.call(arguments,3),v=g(m),E=c.get(v);return typeof E>"u"&&(E=d.apply(this,m),c.set(v,E)),E}function o(d,c,g,m,v){return g.bind(c,d,m,v)}function i(d,c){var g=d.length===1?a:n;return o(d,this,g,c.cache.create(),c.serializer)}function l(d,c){return o(d,this,n,c.cache.create(),c.serializer)}function s(d,c){return o(d,this,a,c.cache.create(),c.serializer)}var f=function(){return JSON.stringify(arguments)};function u(){this.cache=Object.create(null)}u.prototype.get=function(d){return this.cache[d]},u.prototype.set=function(d,c){this.cache[d]=c};var h={create:function(){return new u}};e.strategies={variadic:l,monadic:s}}),ea=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MissingValueError=e.InvalidValueTypeError=e.InvalidValueError=e.FormatError=e.ErrorCode=void 0;var t=(De(),Pe(Oe)),r;(function(l){l.MISSING_VALUE="MISSING_VALUE",l.INVALID_VALUE="INVALID_VALUE",l.MISSING_INTL_API="MISSING_INTL_API"})(r=e.ErrorCode||(e.ErrorCode={}));var a=function(l){t.__extends(s,l);function s(f,u,h){var d=l.call(this,f)||this;return d.code=u,d.originalMessage=h,d}return s.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},s}(Error);e.FormatError=a;var n=function(l){t.__extends(s,l);function s(f,u,h,d){return l.call(this,'Invalid values for "'.concat(f,'": "').concat(u,'". Options are "').concat(Object.keys(h).join('", "'),'"'),r.INVALID_VALUE,d)||this}return s}(a);e.InvalidValueError=n;var o=function(l){t.__extends(s,l);function s(f,u,h){return l.call(this,'Value for "'.concat(f,'" must be of type ').concat(u),r.INVALID_VALUE,h)||this}return s}(a);e.InvalidValueTypeError=o;var i=function(l){t.__extends(s,l);function s(f,u){return l.call(this,'The intl string context variable "'.concat(f,'" was not provided to the string "').concat(u,'"'),r.MISSING_VALUE,u)||this}return s}(a);e.MissingValueError=i}),ta=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatToParts=e.isFormatXMLElementFn=e.PART_TYPE=void 0;var t=Lr(),r=ea(),a;(function(l){l[l.literal=0]="literal",l[l.object=1]="object"})(a=e.PART_TYPE||(e.PART_TYPE={}));function n(l){return l.length<2?l:l.reduce(function(s,f){var u=s[s.length-1];return!u||u.type!==a.literal||f.type!==a.literal?s.push(f):u.value+=f.value,s},[])}function o(l){return typeof l=="function"}e.isFormatXMLElementFn=o;function i(l,s,f,u,h,d,c){if(l.length===1&&(0,t.isLiteralElement)(l[0]))return[{type:a.literal,value:l[0].value}];for(var g=[],m=0,v=l;m<v.length;m++){var E=v[m];if((0,t.isLiteralElement)(E)){g.push({type:a.literal,value:E.value});continue}if((0,t.isPoundElement)(E)){typeof d=="number"&&g.push({type:a.literal,value:f.getNumberFormat(s).format(d)});continue}var T=E.value;if(!(h&&T in h))throw new r.MissingValueError(T,c);var _=h[T];if((0,t.isArgumentElement)(E)){(!_||typeof _=="string"||typeof _=="number")&&(_=typeof _=="string"||typeof _=="number"?String(_):""),g.push({type:typeof _=="string"?a.literal:a.object,value:_});continue}if((0,t.isDateElement)(E)){var P=typeof E.style=="string"?u.date[E.style]:(0,t.isDateTimeSkeleton)(E.style)?E.style.parsedOptions:void 0;g.push({type:a.literal,value:f.getDateTimeFormat(s,P).format(_)});continue}if((0,t.isTimeElement)(E)){var P=typeof E.style=="string"?u.time[E.style]:(0,t.isDateTimeSkeleton)(E.style)?E.style.parsedOptions:u.time.medium;g.push({type:a.literal,value:f.getDateTimeFormat(s,P).format(_)});continue}if((0,t.isNumberElement)(E)){var P=typeof E.style=="string"?u.number[E.style]:(0,t.isNumberSkeleton)(E.style)?E.style.parsedOptions:void 0;P&&P.scale&&(_=_*(P.scale||1)),g.push({type:a.literal,value:f.getNumberFormat(s,P).format(_)});continue}if((0,t.isTagElement)(E)){var D=E.children,A=E.value,H=h[A];if(!o(H))throw new r.InvalidValueTypeError(A,"function",c);var x=i(D,s,f,u,h,d),W=H(x.map(function(ae){return ae.value}));Array.isArray(W)||(W=[W]),g.push.apply(g,W.map(function(ae){return{type:typeof ae=="string"?a.literal:a.object,value:ae}}))}if((0,t.isSelectElement)(E)){var z=E.options[_]||E.options.other;if(!z)throw new r.InvalidValueError(E.value,_,Object.keys(E.options),c);g.push.apply(g,i(z.value,s,f,u,h));continue}if((0,t.isPluralElement)(E)){var z=E.options["=".concat(_)];if(!z){if(!Intl.PluralRules)throw new r.FormatError('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',r.ErrorCode.MISSING_INTL_API,c);var Q=f.getPluralRules(s,{type:E.pluralType}).select(_-(E.offset||0));z=E.options[Q]||E.options.other}if(!z)throw new r.InvalidValueError(E.value,_,Object.keys(E.options),c);g.push.apply(g,i(z.value,s,f,u,h,_-(E.offset||0)));continue}}return n(g)}e.formatToParts=i}),ra=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IntlMessageFormat=void 0;var t=(De(),Pe(Oe)),r=Lr(),a=t.__importStar(Jn()),n=ta();function o(u,h){return h?t.__assign(t.__assign(t.__assign({},u||{}),h||{}),Object.keys(u).reduce(function(d,c){return d[c]=t.__assign(t.__assign({},u[c]),h[c]||{}),d},{})):u}function i(u,h){return h?Object.keys(u).reduce(function(d,c){return d[c]=o(u[c],h[c]),d},t.__assign({},u)):u}function l(u){return{create:function(){return{get:function(h){return u[h]},set:function(h,d){u[h]=d}}}}}function s(u){return u===void 0&&(u={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,a.default)(function(){for(var h,d=[],c=0;c<arguments.length;c++)d[c]=arguments[c];return new((h=Intl.NumberFormat).bind.apply(h,t.__spreadArray([void 0],d,!1)))},{cache:l(u.number),strategy:a.strategies.variadic}),getDateTimeFormat:(0,a.default)(function(){for(var h,d=[],c=0;c<arguments.length;c++)d[c]=arguments[c];return new((h=Intl.DateTimeFormat).bind.apply(h,t.__spreadArray([void 0],d,!1)))},{cache:l(u.dateTime),strategy:a.strategies.variadic}),getPluralRules:(0,a.default)(function(){for(var h,d=[],c=0;c<arguments.length;c++)d[c]=arguments[c];return new((h=Intl.PluralRules).bind.apply(h,t.__spreadArray([void 0],d,!1)))},{cache:l(u.pluralRules),strategy:a.strategies.variadic})}}var f=function(){function u(h,d,c,g){d===void 0&&(d=u.defaultLocale);var m=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(v){var E=m.formatToParts(v);if(E.length===1)return E[0].value;var T=E.reduce(function(_,P){return!_.length||P.type!==n.PART_TYPE.literal||typeof _[_.length-1]!="string"?_.push(P.value):_[_.length-1]+=P.value,_},[]);return T.length<=1?T[0]||"":T},this.formatToParts=function(v){return(0,n.formatToParts)(m.ast,m.locales,m.formatters,m.formats,v,void 0,m.message)},this.resolvedOptions=function(){var v;return{locale:((v=m.resolvedLocale)===null||v===void 0?void 0:v.toString())||Intl.NumberFormat.supportedLocalesOf(m.locales)[0]}},this.getAst=function(){return m.ast},this.locales=d,this.resolvedLocale=u.resolveLocale(d),typeof h=="string"){if(this.message=h,!u.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=u.__parse(h,{ignoreTag:g==null?void 0:g.ignoreTag,locale:this.resolvedLocale})}else this.ast=h;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=i(u.formats,c),this.formatters=g&&g.formatters||s(this.formatterCache)}return Object.defineProperty(u,"defaultLocale",{get:function(){return u.memoizedDefaultLocale||(u.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),u.memoizedDefaultLocale},enumerable:!1,configurable:!0}),u.memoizedDefaultLocale=null,u.resolveLocale=function(h){if(!(typeof Intl.Locale>"u")){var d=Intl.NumberFormat.supportedLocalesOf(h);return d.length>0?new Intl.Locale(d[0]):new Intl.Locale(typeof h=="string"?h:h[0])}},u.__parse=r.parse,u.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"}}},u}();e.IntlMessageFormat=f}),gt=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=(De(),Pe(Oe)),r=ra();t.__exportStar(ta(),e),t.__exportStar(ra(),e),t.__exportStar(ea(),e),e.default=r.IntlMessageFormat}),Je=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MissingTranslationError=e.MessageFormatError=e.IntlFormatError=e.MissingDataError=e.InvalidConfigError=e.UnsupportedFormatterError=e.IntlError=e.IntlErrorCode=void 0;var t=(De(),Pe(Oe)),r;(function(u){u.FORMAT_ERROR="FORMAT_ERROR",u.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",u.INVALID_CONFIG="INVALID_CONFIG",u.MISSING_DATA="MISSING_DATA",u.MISSING_TRANSLATION="MISSING_TRANSLATION"})(r=e.IntlErrorCode||(e.IntlErrorCode={}));var a=function(u){t.__extends(h,u);function h(d,c,g){var m=this,v=g?g instanceof Error?g:new Error(String(g)):void 0;return m=u.call(this,"[@formatjs/intl Error ".concat(d,"] ").concat(c,"\n").concat(v?"\n".concat(v.message,"\n").concat(v.stack):""))||this,m.code=d,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(m,h),m}return h}(Error);e.IntlError=a;var n=function(u){t.__extends(h,u);function h(d,c){return u.call(this,r.UNSUPPORTED_FORMATTER,d,c)||this}return h}(a);e.UnsupportedFormatterError=n;var o=function(u){t.__extends(h,u);function h(d,c){return u.call(this,r.INVALID_CONFIG,d,c)||this}return h}(a);e.InvalidConfigError=o;var i=function(u){t.__extends(h,u);function h(d,c){return u.call(this,r.MISSING_DATA,d,c)||this}return h}(a);e.MissingDataError=i;var l=function(u){t.__extends(h,u);function h(d,c,g){return u.call(this,r.FORMAT_ERROR,"".concat(d,"\nLocale: ").concat(c,"\n"),g)||this}return h}(a);e.IntlFormatError=l;var s=function(u){t.__extends(h,u);function h(d,c,g,m){var v=u.call(this,"".concat(d,"\nMessageID: ").concat(g==null?void 0:g.id,"\nDefault Message: ").concat(g==null?void 0:g.defaultMessage,"\nDescription: ").concat(g==null?void 0:g.description,"\n"),c,m)||this;return v.descriptor=g,v}return h}(l);e.MessageFormatError=s;var f=function(u){t.__extends(h,u);function h(d,c){var g=u.call(this,r.MISSING_TRANSLATION,'Missing message: "'.concat(d.id,'" for locale "').concat(c,'", using ').concat(d.defaultMessage?"default message (".concat(typeof d.defaultMessage=="string"?d.defaultMessage:d.defaultMessage.map(function(m){var v;return(v=m.value)!==null&&v!==void 0?v:JSON.stringify(m)}).join(),")"):"id"," as fallback."))||this;return g.descriptor=d,g}return h}(a);e.MissingTranslationError=f}),ot=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNamedFormat=e.createFormatters=e.createIntlCache=e.DEFAULT_INTL_CONFIG=e.filterProps=void 0;var t=(De(),Pe(Oe)),r=gt(),a=t.__importStar(Jn()),n=Je();function o(d,c,g){return g===void 0&&(g={}),c.reduce(function(m,v){return v in d?m[v]=d[v]:v in g&&(m[v]=g[v]),m},{})}e.filterProps=o;var i=function(d){},l=function(d){};e.DEFAULT_INTL_CONFIG={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:i,onWarn:l};function s(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}e.createIntlCache=s;function f(d){return{create:function(){return{get:function(c){return d[c]},set:function(c,g){d[c]=g}}}}}function u(d){d===void 0&&(d=s());var c=Intl.RelativeTimeFormat,g=Intl.ListFormat,m=Intl.DisplayNames,v=(0,a.default)(function(){for(var _,P=[],D=0;D<arguments.length;D++)P[D]=arguments[D];return new((_=Intl.DateTimeFormat).bind.apply(_,t.__spreadArray([void 0],P,!1)))},{cache:f(d.dateTime),strategy:a.strategies.variadic}),E=(0,a.default)(function(){for(var _,P=[],D=0;D<arguments.length;D++)P[D]=arguments[D];return new((_=Intl.NumberFormat).bind.apply(_,t.__spreadArray([void 0],P,!1)))},{cache:f(d.number),strategy:a.strategies.variadic}),T=(0,a.default)(function(){for(var _,P=[],D=0;D<arguments.length;D++)P[D]=arguments[D];return new((_=Intl.PluralRules).bind.apply(_,t.__spreadArray([void 0],P,!1)))},{cache:f(d.pluralRules),strategy:a.strategies.variadic});return{getDateTimeFormat:v,getNumberFormat:E,getMessageFormat:(0,a.default)(function(_,P,D,A){return new r.IntlMessageFormat(_,P,D,t.__assign({formatters:{getNumberFormat:E,getDateTimeFormat:v,getPluralRules:T}},A||{}))},{cache:f(d.message),strategy:a.strategies.variadic}),getRelativeTimeFormat:(0,a.default)(function(){for(var _=[],P=0;P<arguments.length;P++)_[P]=arguments[P];return new(c.bind.apply(c,t.__spreadArray([void 0],_,!1)))},{cache:f(d.relativeTime),strategy:a.strategies.variadic}),getPluralRules:T,getListFormat:(0,a.default)(function(){for(var _=[],P=0;P<arguments.length;P++)_[P]=arguments[P];return new(g.bind.apply(g,t.__spreadArray([void 0],_,!1)))},{cache:f(d.list),strategy:a.strategies.variadic}),getDisplayNames:(0,a.default)(function(){for(var _=[],P=0;P<arguments.length;P++)_[P]=arguments[P];return new(m.bind.apply(m,t.__spreadArray([void 0],_,!1)))},{cache:f(d.displayNames),strategy:a.strategies.variadic})}}e.createFormatters=u;function h(d,c,g,m){var v=d&&d[c],E;if(v&&(E=v[g]),E)return E;m(new n.UnsupportedFormatterError("No ".concat(c," format named: ").concat(g)))}e.getNamedFormat=h}),na=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatMessage=void 0;var t=(De(),Pe(Oe)),r=Nr(),a=gt(),n=Je(),o=Lr();function i(u,h){return Object.keys(u).reduce(function(d,c){return d[c]=t.__assign({timeZone:h},u[c]),d},{})}function l(u,h){var d=Object.keys(t.__assign(t.__assign({},u),h));return d.reduce(function(c,g){return c[g]=t.__assign(t.__assign({},u[g]||{}),h[g]||{}),c},{})}function s(u,h){if(!h)return u;var d=a.IntlMessageFormat.formats;return t.__assign(t.__assign(t.__assign({},d),u),{date:l(i(d.date,h),i(u.date||{},h)),time:l(i(d.time,h),i(u.time||{},h))})}var f=function(u,h,d,c,g){var m=u.locale,v=u.formats,E=u.messages,T=u.defaultLocale,_=u.defaultFormats,P=u.fallbackOnEmptyString,D=u.onError,A=u.timeZone,H=u.defaultRichTextElements;d===void 0&&(d={id:""});var x=d.id,W=d.defaultMessage;(0,r.invariant)(!!x,"[@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 z=String(x),Q=E&&Object.prototype.hasOwnProperty.call(E,z)&&E[z];if(Array.isArray(Q)&&Q.length===1&&Q[0].type===o.TYPE.literal)return Q[0].value;if(!c&&Q&&typeof Q=="string"&&!H)return Q.replace(/'\{(.*?)\}'/gi,"{$1}");if(c=t.__assign(t.__assign({},H),c||{}),v=s(v,A),_=s(_,A),!Q){if(P===!1&&Q==="")return Q;if((!W||m&&m.toLowerCase()!==T.toLowerCase())&&D(new n.MissingTranslationError(d,m)),W)try{var ae=h.getMessageFormat(W,T,_,g);return ae.format(c)}catch(he){return D(new n.MessageFormatError('Error formatting default message for: "'.concat(z,'", rendering default message verbatim'),m,d,he)),typeof W=="string"?W:z}return z}try{var ae=h.getMessageFormat(Q,m,v,t.__assign({formatters:h},g||{}));return ae.format(c)}catch(he){D(new n.MessageFormatError('Error formatting message: "'.concat(z,'", using ').concat(W?"default message":"id"," as fallback."),m,d,he))}if(W)try{var ae=h.getMessageFormat(W,T,_,g);return ae.format(c)}catch(he){D(new n.MessageFormatError('Error formatting the default message for: "'.concat(z,'", rendering message verbatim'),m,d,he))}return typeof Q=="string"?Q:typeof W=="string"?W:z};e.formatMessage=f}),aa=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatTimeToParts=e.formatDateToParts=e.formatDateTimeRange=e.formatTime=e.formatDate=e.getFormatter=void 0;var t=(De(),Pe(Oe)),r=ot(),a=Je(),n=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function o(h,d,c,g){var m=h.locale,v=h.formats,E=h.onError,T=h.timeZone;g===void 0&&(g={});var _=g.format,P=t.__assign(t.__assign({},T&&{timeZone:T}),_&&(0,r.getNamedFormat)(v,d,_,E)),D=(0,r.filterProps)(g,n,P);return d==="time"&&!D.hour&&!D.minute&&!D.second&&!D.timeStyle&&!D.dateStyle&&(D=t.__assign(t.__assign({},D),{hour:"numeric",minute:"numeric"})),c(m,D)}e.getFormatter=o;function i(h,d){for(var c=[],g=2;g<arguments.length;g++)c[g-2]=arguments[g];var m=c[0],v=c[1],E=v===void 0?{}:v,T=typeof m=="string"?new Date(m||0):m;try{return o(h,"date",d,E).format(T)}catch(_){h.onError(new a.IntlError(a.IntlErrorCode.FORMAT_ERROR,"Error formatting date.",_))}return String(T)}e.formatDate=i;function l(h,d){for(var c=[],g=2;g<arguments.length;g++)c[g-2]=arguments[g];var m=c[0],v=c[1],E=v===void 0?{}:v,T=typeof m=="string"?new Date(m||0):m;try{return o(h,"time",d,E).format(T)}catch(_){h.onError(new a.IntlError(a.IntlErrorCode.FORMAT_ERROR,"Error formatting time.",_))}return String(T)}e.formatTime=l;function s(h,d){for(var c=[],g=2;g<arguments.length;g++)c[g-2]=arguments[g];var m=c[0],v=c[1],E=c[2],T=E===void 0?{}:E,_=h.timeZone,P=h.locale,D=h.onError,A=(0,r.filterProps)(T,n,_?{timeZone:_}:{});try{return d(P,A).formatRange(m,v)}catch(H){D(new a.IntlError(a.IntlErrorCode.FORMAT_ERROR,"Error formatting date time range.",H))}return String(m)}e.formatDateTimeRange=s;function f(h,d){for(var c=[],g=2;g<arguments.length;g++)c[g-2]=arguments[g];var m=c[0],v=c[1],E=v===void 0?{}:v,T=typeof m=="string"?new Date(m||0):m;try{return o(h,"date",d,E).formatToParts(T)}catch(_){h.onError(new a.IntlError(a.IntlErrorCode.FORMAT_ERROR,"Error formatting date.",_))}return[]}e.formatDateToParts=f;function u(h,d){for(var c=[],g=2;g<arguments.length;g++)c[g-2]=arguments[g];var m=c[0],v=c[1],E=v===void 0?{}:v,T=typeof m=="string"?new Date(m||0):m;try{return o(h,"time",d,E).formatToParts(T)}catch(_){h.onError(new a.IntlError(a.IntlErrorCode.FORMAT_ERROR,"Error formatting time.",_))}return[]}e.formatTimeToParts=u}),ia=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatDisplayName=void 0;var t=ot(),r=gt(),a=Je(),n=["style","type","fallback","languageDisplay"];function o(i,l,s,f){var u=i.locale,h=i.onError,d=Intl.DisplayNames;d||h(new r.FormatError('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',r.ErrorCode.MISSING_INTL_API));var c=(0,t.filterProps)(f,n);try{return l(u,c).of(s)}catch(g){h(new a.IntlError(a.IntlErrorCode.FORMAT_ERROR,"Error formatting display name.",g))}}e.formatDisplayName=o}),oa=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatListToParts=e.formatList=void 0;var t=(De(),Pe(Oe)),r=ot(),a=gt(),n=Je(),o=["type","style"],i=Date.now();function l(u){return"".concat(i,"_").concat(u,"_").concat(i)}function s(u,h,d,c){c===void 0&&(c={});var g=f(u,h,d,c).reduce(function(m,v){var E=v.value;return typeof E!="string"?m.push(E):typeof m[m.length-1]=="string"?m[m.length-1]+=E:m.push(E),m},[]);return g.length===1?g[0]:g.length===0?"":g}e.formatList=s;function f(u,h,d,c){var g=u.locale,m=u.onError;c===void 0&&(c={});var v=Intl.ListFormat;v||m(new a.FormatError('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',a.ErrorCode.MISSING_INTL_API));var E=(0,r.filterProps)(c,o);try{var T={},_=d.map(function(P,D){if(typeof P=="object"){var A=l(D);return T[A]=P,A}return String(P)});return h(g,E).formatToParts(_).map(function(P){return P.type==="literal"?P:t.__assign(t.__assign({},P),{value:T[P.value]||P.value})})}catch(P){m(new n.IntlError(n.IntlErrorCode.FORMAT_ERROR,"Error formatting list.",P))}return d}e.formatListToParts=f}),ua=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatPlural=void 0;var t=ot(),r=Je(),a=gt(),n=["type"];function o(i,l,s,f){var u=i.locale,h=i.onError;f===void 0&&(f={}),Intl.PluralRules||h(new a.FormatError('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',a.ErrorCode.MISSING_INTL_API));var d=(0,t.filterProps)(f,n);try{return l(u,d).select(s)}catch(c){h(new r.IntlFormatError("Error formatting plural.",u,c))}return"other"}e.formatPlural=o}),la=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatRelativeTime=void 0;var t=ot(),r=gt(),a=Je(),n=["numeric","style"];function o(l,s,f){var u=l.locale,h=l.formats,d=l.onError;f===void 0&&(f={});var c=f.format,g=!!c&&(0,t.getNamedFormat)(h,"relative",c,d)||{},m=(0,t.filterProps)(f,n,g);return s(u,m)}function i(l,s,f,u,h){h===void 0&&(h={}),u||(u="second");var d=Intl.RelativeTimeFormat;d||l.onError(new r.FormatError('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',r.ErrorCode.MISSING_INTL_API));try{return o(l,s,h).format(f,u)}catch(c){l.onError(new a.IntlFormatError("Error formatting relative time.",l.locale,c))}return String(f)}e.formatRelativeTime=i}),sa=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatNumberToParts=e.formatNumber=e.getFormatter=void 0;var t=ot(),r=Je(),a=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function n(l,s,f){var u=l.locale,h=l.formats,d=l.onError;f===void 0&&(f={});var c=f.format,g=c&&(0,t.getNamedFormat)(h,"number",c,d)||{},m=(0,t.filterProps)(f,a,g);return s(u,m)}e.getFormatter=n;function o(l,s,f,u){u===void 0&&(u={});try{return n(l,s,u).format(f)}catch(h){l.onError(new r.IntlError(r.IntlErrorCode.FORMAT_ERROR,"Error formatting number.",h))}return String(f)}e.formatNumber=o;function i(l,s,f,u){u===void 0&&(u={});try{return n(l,s,u).formatToParts(f)}catch(h){l.onError(new r.IntlError(r.IntlErrorCode.FORMAT_ERROR,"Error formatting number.",h))}return[]}e.formatNumberToParts=i}),co=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createIntl=void 0;var t=(De(),Pe(Oe)),r=ot(),a=Je(),n=sa(),o=la(),i=aa(),l=ua(),s=na(),f=oa(),u=ia();function h(g){var m=g?g[Object.keys(g)[0]]:void 0;return typeof m=="string"}function d(g){g.onWarn&&g.defaultRichTextElements&&h(g.messages||{})&&g.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 c(g,m){var v=(0,r.createFormatters)(m),E=t.__assign(t.__assign({},r.DEFAULT_INTL_CONFIG),g),T=E.locale,_=E.defaultLocale,P=E.onError;return T?!Intl.NumberFormat.supportedLocalesOf(T).length&&P?P(new a.MissingDataError('Missing locale data for locale: "'.concat(T,'" in Intl.NumberFormat. Using default locale: "').concat(_,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(T).length&&P&&P(new a.MissingDataError('Missing locale data for locale: "'.concat(T,'" in Intl.DateTimeFormat. Using default locale: "').concat(_,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(P&&P(new a.InvalidConfigError('"locale" was not configured, using "'.concat(_,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),E.locale=E.defaultLocale||"en"),d(E),t.__assign(t.__assign({},E),{formatters:v,formatNumber:n.formatNumber.bind(null,E,v.getNumberFormat),formatNumberToParts:n.formatNumberToParts.bind(null,E,v.getNumberFormat),formatRelativeTime:o.formatRelativeTime.bind(null,E,v.getRelativeTimeFormat),formatDate:i.formatDate.bind(null,E,v.getDateTimeFormat),formatDateToParts:i.formatDateToParts.bind(null,E,v.getDateTimeFormat),formatTime:i.formatTime.bind(null,E,v.getDateTimeFormat),formatDateTimeRange:i.formatDateTimeRange.bind(null,E,v.getDateTimeFormat),formatTimeToParts:i.formatTimeToParts.bind(null,E,v.getDateTimeFormat),formatPlural:l.formatPlural.bind(null,E,v.getPluralRules),formatMessage:s.formatMessage.bind(null,E,v),$t:s.formatMessage.bind(null,E,v),formatList:f.formatList.bind(null,E,v.getListFormat),formatListToParts:f.formatListToParts.bind(null,E,v.getListFormat),formatDisplayName:u.formatDisplayName.bind(null,E,v.getDisplayNames)})}e.createIntl=c}),Rr=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createIntl=e.formatNumberToParts=e.formatNumber=e.formatRelativeTime=e.formatPlural=e.formatList=e.formatDisplayName=e.formatTimeToParts=e.formatTime=e.formatDateToParts=e.formatDate=e.formatMessage=e.getNamedFormat=e.createFormatters=e.DEFAULT_INTL_CONFIG=e.filterProps=e.createIntlCache=e.defineMessage=e.defineMessages=void 0;var t=(De(),Pe(Oe));t.__exportStar(to(),e);function r(c){return c}e.defineMessages=r;function a(c){return c}e.defineMessage=a;var n=ot();Object.defineProperty(e,"createIntlCache",{enumerable:!0,get:function(){return n.createIntlCache}}),Object.defineProperty(e,"filterProps",{enumerable:!0,get:function(){return n.filterProps}}),Object.defineProperty(e,"DEFAULT_INTL_CONFIG",{enumerable:!0,get:function(){return n.DEFAULT_INTL_CONFIG}}),Object.defineProperty(e,"createFormatters",{enumerable:!0,get:function(){return n.createFormatters}}),Object.defineProperty(e,"getNamedFormat",{enumerable:!0,get:function(){return n.getNamedFormat}}),t.__exportStar(Je(),e);var o=na();Object.defineProperty(e,"formatMessage",{enumerable:!0,get:function(){return o.formatMessage}});var i=aa();Object.defineProperty(e,"formatDate",{enumerable:!0,get:function(){return i.formatDate}}),Object.defineProperty(e,"formatDateToParts",{enumerable:!0,get:function(){return i.formatDateToParts}}),Object.defineProperty(e,"formatTime",{enumerable:!0,get:function(){return i.formatTime}}),Object.defineProperty(e,"formatTimeToParts",{enumerable:!0,get:function(){return i.formatTimeToParts}});var l=ia();Object.defineProperty(e,"formatDisplayName",{enumerable:!0,get:function(){return l.formatDisplayName}});var s=oa();Object.defineProperty(e,"formatList",{enumerable:!0,get:function(){return s.formatList}});var f=ua();Object.defineProperty(e,"formatPlural",{enumerable:!0,get:function(){return f.formatPlural}});var u=la();Object.defineProperty(e,"formatRelativeTime",{enumerable:!0,get:function(){return u.formatRelativeTime}});var h=sa();Object.defineProperty(e,"formatNumber",{enumerable:!0,get:function(){return h.formatNumber}}),Object.defineProperty(e,"formatNumberToParts",{enumerable:!0,get:function(){return h.formatNumberToParts}});var d=co();Object.defineProperty(e,"createIntl",{enumerable:!0,get:function(){return d.createIntl}})}),zt=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.shallowEqual=e.assignUniqueKeysToParts=e.DEFAULT_INTL_CONFIG=e.invariantIntlContext=void 0;var t=(De(),Pe(Oe)),r=t.__importStar(rt()),a=Nr(),n=Rr();function o(s){(0,a.invariant)(s,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}e.invariantIntlContext=o,e.DEFAULT_INTL_CONFIG=t.__assign(t.__assign({},n.DEFAULT_INTL_CONFIG),{textComponent:r.Fragment});function i(s){return function(f){return s(r.Children.toArray(f))}}e.assignUniqueKeysToParts=i;function l(s,f){if(s===f)return!0;if(!s||!f)return!1;var u=Object.keys(s),h=Object.keys(f),d=u.length;if(h.length!==d)return!1;for(var c=0;c<d;c++){var g=u[c];if(s[g]!==f[g]||!Object.prototype.hasOwnProperty.call(f,g))return!1}return!0}e.shallowEqual=l}),Br=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Context=e.Provider=void 0;var t=(De(),Pe(Oe)),r=t.__importStar(rt()),a=t.__importDefault(wi()),n=zt();function o(u){return u.displayName||u.name||"Component"}var i=r.createContext(null),l=i.Consumer,s=i.Provider;e.Provider=s,e.Context=i;function f(u,h){var d=h||{},c=d.intlPropName,g=c===void 0?"intl":c,m=d.forwardRef,v=m===void 0?!1:m,E=d.enforceContext,T=E===void 0?!0:E,_=function(P){return r.createElement(l,null,function(D){var A;T&&(0,n.invariantIntlContext)(D);var H=(A={},A[g]=D,A);return r.createElement(u,t.__assign({},P,H,{ref:v?P.forwardedRef:null}))})};return _.displayName="injectIntl(".concat(o(u),")"),_.WrappedComponent=u,v?(0,a.default)(r.forwardRef(function(P,D){return r.createElement(_,t.__assign({},P,{forwardedRef:D}))}),u):(0,a.default)(_,u)}e.default=f}),Ct=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=(De(),Pe(Oe)),r=t.__importStar(rt()),a=Br(),n=zt();function o(){var i=r.useContext(a.Context);return(0,n.invariantIntlContext)(i),i}e.default=o}),ca=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createFormattedComponent=e.createFormattedDateTimePartsComponent=e.FormattedListParts=e.FormattedNumberParts=void 0;var t=(De(),Pe(Oe)),r=t.__importStar(rt()),a=t.__importDefault(Ct()),n;(function(u){u.formatDate="FormattedDate",u.formatTime="FormattedTime",u.formatNumber="FormattedNumber",u.formatList="FormattedList",u.formatDisplayName="FormattedDisplayName"})(n||(n={}));var o;(function(u){u.formatDate="FormattedDateParts",u.formatTime="FormattedTimeParts",u.formatNumber="FormattedNumberParts",u.formatList="FormattedListParts"})(o||(o={}));var i=function(u){var h=(0,a.default)(),d=u.value,c=u.children,g=t.__rest(u,["value","children"]);return c(h.formatNumberToParts(d,g))};e.FormattedNumberParts=i,e.FormattedNumberParts.displayName="FormattedNumberParts";var l=function(u){var h=(0,a.default)(),d=u.value,c=u.children,g=t.__rest(u,["value","children"]);return c(h.formatListToParts(d,g))};e.FormattedListParts=l,e.FormattedNumberParts.displayName="FormattedNumberParts";function s(u){var h=function(d){var c=(0,a.default)(),g=d.value,m=d.children,v=t.__rest(d,["value","children"]),E=typeof g=="string"?new Date(g||0):g,T=u==="formatDate"?c.formatDateToParts(E,v):c.formatTimeToParts(E,v);return m(T)};return h.displayName=o[u],h}e.createFormattedDateTimePartsComponent=s;function f(u){var h=function(d){var c=(0,a.default)(),g=d.value,m=d.children,v=t.__rest(d,["value","children"]),E=c[u](g,v);if(typeof m=="function")return m(E);var T=c.textComponent||r.Fragment;return r.createElement(T,null,E)};return h.displayName=n[u],h}e.createFormattedComponent=f}),fo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createIntl=void 0;var t=(De(),Pe(Oe)),r=t.__importStar(rt()),a=Br(),n=zt(),o=Rr(),i=gt();function l(d){return{locale:d.locale,timeZone:d.timeZone,fallbackOnEmptyString:d.fallbackOnEmptyString,formats:d.formats,textComponent:d.textComponent,messages:d.messages,defaultLocale:d.defaultLocale,defaultFormats:d.defaultFormats,onError:d.onError,onWarn:d.onWarn,wrapRichTextChunksInFragment:d.wrapRichTextChunksInFragment,defaultRichTextElements:d.defaultRichTextElements}}function s(d){return d&&Object.keys(d).reduce(function(c,g){var m=d[g];return c[g]=(0,i.isFormatXMLElementFn)(m)?(0,n.assignUniqueKeysToParts)(m):m,c},{})}var f=function(d,c,g,m){for(var v=[],E=4;E<arguments.length;E++)v[E-4]=arguments[E];var T=s(m),_=o.formatMessage.apply(void 0,t.__spreadArray([d,c,g,T],v,!1));return Array.isArray(_)?r.Children.toArray(_):_},u=function(d,c){var g=d.defaultRichTextElements,m=t.__rest(d,["defaultRichTextElements"]),v=s(g),E=(0,o.createIntl)(t.__assign(t.__assign(t.__assign({},n.DEFAULT_INTL_CONFIG),m),{defaultRichTextElements:v}),c),T={locale:E.locale,timeZone:E.timeZone,fallbackOnEmptyString:E.fallbackOnEmptyString,formats:E.formats,defaultLocale:E.defaultLocale,defaultFormats:E.defaultFormats,messages:E.messages,onError:E.onError,defaultRichTextElements:v};return t.__assign(t.__assign({},E),{formatMessage:f.bind(null,T,E.formatters),$t:f.bind(null,T,E.formatters)})};e.createIntl=u;var h=function(d){t.__extends(c,d);function c(){var g=d!==null&&d.apply(this,arguments)||this;return g.cache=(0,o.createIntlCache)(),g.state={cache:g.cache,intl:(0,e.createIntl)(l(g.props),g.cache),prevConfig:l(g.props)},g}return c.getDerivedStateFromProps=function(g,m){var v=m.prevConfig,E=m.cache,T=l(g);return(0,n.shallowEqual)(v,T)?null:{intl:(0,e.createIntl)(T,E),prevConfig:T}},c.prototype.render=function(){return(0,n.invariantIntlContext)(this.state.intl),r.createElement(a.Provider,{value:this.state.intl},this.props.children)},c.displayName="IntlProvider",c.defaultProps=n.DEFAULT_INTL_CONFIG,c}(r.PureComponent);e.default=h}),po=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=(De(),Pe(Oe)),r=t.__importStar(rt()),a=Nr(),n=t.__importDefault(Ct()),o=60,i=60*60,l=60*60*24;function s(m){var v=Math.abs(m);return v<o?"second":v<i?"minute":v<l?"hour":"day"}function f(m){switch(m){case"second":return 1;case"minute":return o;case"hour":return i;default:return l}}function u(m,v){if(!m)return 0;switch(v){case"second":return m;case"minute":return m*o;default:return m*i}}var h=["second","minute","hour"];function d(m){return m===void 0&&(m="second"),h.indexOf(m)>-1}var c=function(m){var v=(0,n.default)(),E=v.formatRelativeTime,T=v.textComponent,_=m.children,P=m.value,D=m.unit,A=t.__rest(m,["children","value","unit"]),H=E(P||0,D,A);return typeof _=="function"?_(H):T?r.createElement(T,null,H):r.createElement(r.Fragment,null,H)},g=function(m){var v=m.value,E=m.unit,T=m.updateIntervalInSeconds,_=t.__rest(m,["value","unit","updateIntervalInSeconds"]);(0,a.invariant)(!T||!!(T&&d(E)),"Cannot schedule update with unit longer than hour");var P=r.useState(),D=P[0],A=P[1],H=r.useState(0),x=H[0],W=H[1],z=r.useState(0),Q=z[0],ae=z[1],he;(E!==D||v!==x)&&(W(v||0),A(E),ae(d(E)?u(v,E):0)),r.useEffect(function(){function Me(){clearTimeout(he)}if(Me(),!T||!d(E))return Me;var U=Q-T,J=s(U);if(J==="day")return Me;var p=f(J),B=U%p,G=U-B,Y=G>=Q?G-p:G,ee=Math.abs(Y-Q);return Q!==Y&&(he=setTimeout(function(){return ae(Y)},ee*1e3)),Me},[Q,T,E]);var le=v||0,_e=E;if(d(E)&&typeof Q=="number"&&T){_e=s(Q);var be=f(_e);le=Math.round(Q/be)}return r.createElement(c,t.__assign({value:le,unit:_e},_))};g.displayName="FormattedRelativeTime",g.defaultProps={value:0,unit:"second"},e.default=g}),go=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=(De(),Pe(Oe)),r=t.__importStar(rt()),a=t.__importDefault(Ct()),n=function(o){var i=(0,a.default)(),l=i.formatPlural,s=i.textComponent,f=o.value,u=o.other,h=o.children,d=l(f,o),c=o[d]||u;return typeof h=="function"?h(c):s?r.createElement(s,null,c):c};n.defaultProps={type:"cardinal"},n.displayName="FormattedPlural",e.default=n}),ho=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=(De(),Pe(Oe)),r=t.__importStar(rt()),a=t.__importDefault(Ct()),n=zt();function o(s,f){var u=s.values,h=t.__rest(s,["values"]),d=f.values,c=t.__rest(f,["values"]);return(0,n.shallowEqual)(d,u)&&(0,n.shallowEqual)(h,c)}function i(s){var f=(0,a.default)(),u=f.formatMessage,h=f.textComponent,d=h===void 0?r.Fragment:h,c=s.id,g=s.description,m=s.defaultMessage,v=s.values,E=s.children,T=s.tagName,_=T===void 0?d:T,P=s.ignoreTag,D={id:c,description:g,defaultMessage:m},A=u(D,v,{ignoreTag:P});return typeof E=="function"?E(Array.isArray(A)?A:[A]):_?r.createElement(_,null,r.Children.toArray(A)):r.createElement(r.Fragment,null,A)}i.displayName="FormattedMessage";var l=r.memo(i,o);l.displayName="MemoizedFormattedMessage",e.default=l}),mo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=(De(),Pe(Oe)),r=t.__importStar(rt()),a=t.__importDefault(Ct()),n=function(o){var i=(0,a.default)(),l=o.from,s=o.to,f=o.children,u=t.__rest(o,["from","to","children"]),h=i.formatDateTimeRange(l,s,u);if(typeof f=="function")return f(h);var d=i.textComponent||r.Fragment;return r.createElement(d,null,h)};n.displayName="FormattedDateTimeRange",e.default=n}),Ne=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FormattedListParts=e.FormattedNumberParts=e.FormattedTimeParts=e.FormattedDateParts=e.FormattedDisplayName=e.FormattedList=e.FormattedNumber=e.FormattedTime=e.FormattedDate=e.defineMessage=e.defineMessages=e.ReactIntlError=e.ReactIntlErrorCode=e.MissingTranslationError=e.MessageFormatError=e.MissingDataError=e.InvalidConfigError=e.UnsupportedFormatterError=e.createIntlCache=e.useIntl=e.injectIntl=e.createIntl=e.RawIntlProvider=e.IntlProvider=e.IntlContext=e.FormattedRelativeTime=e.FormattedPlural=e.FormattedMessage=e.FormattedDateTimeRange=void 0;var t=(De(),Pe(Oe)),r=ca(),a=t.__importStar(Br());e.injectIntl=a.default,Object.defineProperty(e,"RawIntlProvider",{enumerable:!0,get:function(){return a.Provider}}),Object.defineProperty(e,"IntlContext",{enumerable:!0,get:function(){return a.Context}});var n=t.__importDefault(Ct());e.useIntl=n.default;var o=t.__importStar(fo());e.IntlProvider=o.default,Object.defineProperty(e,"createIntl",{enumerable:!0,get:function(){return o.createIntl}});var i=t.__importDefault(po());e.FormattedRelativeTime=i.default;var l=t.__importDefault(go());e.FormattedPlural=l.default;var s=t.__importDefault(ho());e.FormattedMessage=s.default;var f=t.__importDefault(mo());e.FormattedDateTimeRange=f.default;var u=Rr();Object.defineProperty(e,"createIntlCache",{enumerable:!0,get:function(){return u.createIntlCache}}),Object.defineProperty(e,"UnsupportedFormatterError",{enumerable:!0,get:function(){return u.UnsupportedFormatterError}}),Object.defineProperty(e,"InvalidConfigError",{enumerable:!0,get:function(){return u.InvalidConfigError}}),Object.defineProperty(e,"MissingDataError",{enumerable:!0,get:function(){return u.MissingDataError}}),Object.defineProperty(e,"MessageFormatError",{enumerable:!0,get:function(){return u.MessageFormatError}}),Object.defineProperty(e,"MissingTranslationError",{enumerable:!0,get:function(){return u.MissingTranslationError}}),Object.defineProperty(e,"ReactIntlErrorCode",{enumerable:!0,get:function(){return u.IntlErrorCode}}),Object.defineProperty(e,"ReactIntlError",{enumerable:!0,get:function(){return u.IntlError}});function h(g){return g}e.defineMessages=h;function d(g){return g}e.defineMessage=d,e.FormattedDate=(0,r.createFormattedComponent)("formatDate"),e.FormattedTime=(0,r.createFormattedComponent)("formatTime"),e.FormattedNumber=(0,r.createFormattedComponent)("formatNumber"),e.FormattedList=(0,r.createFormattedComponent)("formatList"),e.FormattedDisplayName=(0,r.createFormattedComponent)("formatDisplayName"),e.FormattedDateParts=(0,r.createFormattedDateTimePartsComponent)("formatDate"),e.FormattedTimeParts=(0,r.createFormattedDateTimePartsComponent)("formatTime");var c=ca();Object.defineProperty(e,"FormattedNumberParts",{enumerable:!0,get:function(){return c.FormattedNumberParts}}),Object.defineProperty(e,"FormattedListParts",{enumerable:!0,get:function(){return c.FormattedListParts}})}),fa=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ConsentManagerLanguageKey=e.LanguageKey=void 0;var t;(function(r){r.En="en",r.Ar="ar",r.Fr="fr",r.Es="es",r.De="de",r.It="it",r.Ja="ja",r.Ru="ru",r.ArAe="ar-AE",r.FrFr="fr-FR",r.DeDe="de-DE",r.DeAt="de-AT",r.DeCh="de-CH",r.ItIt="it-IT",r.ItCh="it-CH",r.AfZz="af-ZA",r.BgBg="bg-BG",r.ZhCn="zh-CN",r.HrHr="hr-HR",r.CsCz="cs-CZ",r.DaDk="da-DK",r.EnGb="en-GB",r.EnCa="en-CA",r.EnAe="en-AE",r.FiFi="fi-FI",r.ElGr="el-GR",r.HiIn="hi-IN",r.HuHu="hu-HU",r.IdId="id-ID",r.JaJp="ja-JP",r.KoKr="ko-KR",r.LtLt="lt-LT",r.MsMy="ms-MY",r.MrIn="mr-IN",r.NbNi="nb-NO",r.PlPl="pl-PL",r.PtBr="pt-BR",r.PtPt="pt-PT",r.RoRo="ro-RO",r.RuRu="ru-RU",r.SrLatnRs="sr-Latn-RS",r.SvSe="sv-SE",r.TaIn="ta-IN",r.ThTh="th-TH",r.TrTr="tr-TR",r.UkUa="uk-UA",r.ViVn="vi-VN",r.ZuZa="zu-ZA",r.EnUS="en-US",r.EnAu="en-AU",r.FrBe="fr-BE",r.FrCa="fr-CA",r.FrCh="fr-CH",r.EnIe="en-IE",r.NlNl="nl-NL",r.NlBe="nl-BE",r.EsEs="es-ES",r.Es419="es-419",r.ZhHk="zh-HK",r.HeIl="he-IL",r.EnNz="en-NZ"})(t=e.LanguageKey||(e.LanguageKey={})),e.ConsentManagerLanguageKey={En:t.En,FrFr:t.FrFr,DeDe:t.DeDe,ItIt:t.ItIt,PtBr:t.PtBr,Es419:t.Es419,EsEs:t.EsEs,CsCz:t.CsCz,DaDk:t.DaDk,FiFi:t.FiFi,ElGr:t.ElGr,LtLt:t.LtLt,NbNi:t.NbNi,PlPl:t.PlPl,RoRo:t.RoRo,RuRu:t.RuRu,SrLatnRs:t.SrLatnRs,SvSe:t.SvSe,ArAe:t.ArAe,JaJp:t.JaJp,KoKr:t.KoKr,ZhCn:t.ZhCn,ZhHk:t.ZhHk,AfZz:t.AfZz,BgBg:t.BgBg,HrHr:t.HrHr,HuHu:t.HuHu,IdId:t.IdId,MsMy:t.MsMy,HiIn:t.HiIn,MrIn:t.MrIn,TaIn:t.TaIn,ThTh:t.ThTh,TrTr:t.TrTr,UkUa:t.UkUa,ViVn:t.ViVn,NlNl:t.NlNl,HeIl:t.HeIl}}),vo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})}),yo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isKnownLocale=void 0;var t=fa(),r={};Object.values(t.LanguageKey).forEach(n=>{r[n]=n});function a(n){return!!n&&typeof n=="string"&&n in r}e.isKnownLocale=a}),_o=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defineMessages=void 0;function t(r,a){return Object.keys(a).reduce((n,o)=>Object.assign(n,{[o]:yt(Ae({},a[o]),{id:"".concat(r,".").concat(o)})}),{})}e.defineMessages=t}),Xt=N(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(a,n,o,i){i===void 0&&(i=o),Object.defineProperty(a,i,{enumerable:!0,get:function(){return n[o]}})}:function(a,n,o,i){i===void 0&&(i=o),a[i]=n[o]}),r=e&&e.__exportStar||function(a,n){for(var o in a)o!=="default"&&!Object.prototype.hasOwnProperty.call(n,o)&&t(n,a,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(fa(),e),r(vo(),e),r(yo(),e),r(_o(),e)}),Eo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flattenOneLevel=void 0;var{flat:t}=Array.prototype;e.flattenOneLevel=t?r=>r.flat(1):r=>r.reduce((a,n)=>a.concat(n),[])}),bo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createLogger=void 0;var t=Eo(),r=(a="",n=void 0,o=typeof console<"u"&&console)=>{if(!o)throw new Error("Console API is not available");let i=(_,P,...D)=>{let A=[],H=!0;D.forEach(({tag:x,message:W})=>{H?(typeof W.content=="string"?A.push(["%c".concat(x.content?"".concat(x.content,"%c "):"%c").concat(W.content),...x.styles,"",...W.styles]):A.push(["%c".concat(x.content),...x.styles,W.content]),H=!1):A.push(W.content)}),_.apply(o,(0,t.flattenOneLevel)(A))},l="font-size:larger;font-weight:bold;border-radius:0.25em;padding:0.08em 0.25em;",s="".concat(l,";color:navy;background-color:#78acff;"),f="".concat(l,";color:#2F4F4F;background-color:darkgray"),u="".concat(l,";color:amber;background-color:#6e3e00"),h="".concat(l,";color:#800000;background-color:#ff4500"),d=a,c=(_,P)=>{let D=d;d=_,P&&(P(),d=D)},g=new Map([["fatal","error"]]),m=(_,P,D=l)=>{if(n&&!n.has(P)){let z=()=>{};return z.styled=z,z}let A=o[g.has(_)?g.get(_):_],H=[D],x=[],W=(...z)=>{i(A,_,...z.map(Q=>({tag:{content:d,styles:H},message:{content:Q,styles:x}})))};return W.styled=(z,...Q)=>{let[ae]=Q;Q.length!==0&&(typeof ae!="string"||!ae.includes("%c"))&&(Q[0]="%c".concat(ae)),typeof z<"u"&&z!==null&&x.push(...Array.isArray(z)?z:[z]),W(...Q),x.length=0},W},v="info",E=[["group",[v,s]],["groupCollapsed",[v,s]],["groupEnd",[v,s]],["trace",["trace",f]],["log",[v,s]],["info",[v,s]],["debug",["debug",f]],["warn",["warn",u]],["error",["error",h]],["fatal",["error",h]]],T={tag:c};return E.forEach(([_,[P,D]])=>{T[_]=m(_,P,D)}),T};e.createLogger=r}),Co=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createLogger=void 0;var t=bo();Object.defineProperty(e,"createLogger",{enumerable:!0,get:function(){return t.createLogger}})}),ut=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEndomorphismMonoid=e.not=e.SK=e.hole=e.pipe=e.untupled=e.tupled=e.absurd=e.decrement=e.increment=e.tuple=e.flow=e.flip=e.constVoid=e.constUndefined=e.constNull=e.constFalse=e.constTrue=e.constant=e.unsafeCoerce=e.identity=e.apply=e.getRing=e.getSemiring=e.getMonoid=e.getSemigroup=e.getBooleanAlgebra=void 0;var t=function(D){return function(){return{meet:function(A,H){return function(x){return D.meet(A(x),H(x))}},join:function(A,H){return function(x){return D.join(A(x),H(x))}},zero:function(){return D.zero},one:function(){return D.one},implies:function(A,H){return function(x){return D.implies(A(x),H(x))}},not:function(A){return function(H){return D.not(A(H))}}}}};e.getBooleanAlgebra=t;var r=function(D){return function(){return{concat:function(A,H){return function(x){return D.concat(A(x),H(x))}}}}};e.getSemigroup=r;var a=function(D){var A=e.getSemigroup(D);return function(){return{concat:A().concat,empty:function(){return D.empty}}}};e.getMonoid=a;var n=function(D){return{add:function(A,H){return function(x){return D.add(A(x),H(x))}},zero:function(){return D.zero},mul:function(A,H){return function(x){return D.mul(A(x),H(x))}},one:function(){return D.one}}};e.getSemiring=n;var o=function(D){var A=e.getSemiring(D);return{add:A.add,mul:A.mul,one:A.one,zero:A.zero,sub:function(H,x){return function(W){return D.sub(H(W),x(W))}}}};e.getRing=o;var i=function(D){return function(A){return A(D)}};e.apply=i;function l(D){return D}e.identity=l,e.unsafeCoerce=l;function s(D){return function(){return D}}e.constant=s,e.constTrue=s(!0),e.constFalse=s(!1),e.constNull=s(null),e.constUndefined=s(void 0),e.constVoid=e.constUndefined;function f(D){return function(A,H){return D(H,A)}}e.flip=f;function u(D,A,H,x,W,z,Q,ae,he){switch(arguments.length){case 1:return D;case 2:return function(){return A(D.apply(this,arguments))};case 3:return function(){return H(A(D.apply(this,arguments)))};case 4:return function(){return x(H(A(D.apply(this,arguments))))};case 5:return function(){return W(x(H(A(D.apply(this,arguments)))))};case 6:return function(){return z(W(x(H(A(D.apply(this,arguments))))))};case 7:return function(){return Q(z(W(x(H(A(D.apply(this,arguments)))))))};case 8:return function(){return ae(Q(z(W(x(H(A(D.apply(this,arguments))))))))};case 9:return function(){return he(ae(Q(z(W(x(H(A(D.apply(this,arguments)))))))))}}}e.flow=u;function h(){for(var D=[],A=0;A<arguments.length;A++)D[A]=arguments[A];return D}e.tuple=h;function d(D){return D+1}e.increment=d;function c(D){return D-1}e.decrement=c;function g(D){throw new Error("Called `absurd` function which should be uncallable")}e.absurd=g;function m(D){return function(A){return D.apply(void 0,A)}}e.tupled=m;function v(D){return function(){for(var A=[],H=0;H<arguments.length;H++)A[H]=arguments[H];return D(A)}}e.untupled=v;function E(D,A,H,x,W,z,Q,ae,he){switch(arguments.length){case 1:return D;case 2:return A(D);case 3:return H(A(D));case 4:return x(H(A(D)));case 5:return W(x(H(A(D))));case 6:return z(W(x(H(A(D)))));case 7:return Q(z(W(x(H(A(D))))));case 8:return ae(Q(z(W(x(H(A(D)))))));case 9:return he(ae(Q(z(W(x(H(A(D))))))));default:for(var le=arguments[0],_e=1;_e<arguments.length;_e++)le=arguments[_e](le);return le}}e.pipe=E,e.hole=g;var T=function(D,A){return A};e.SK=T;function _(D){return function(A){return!D(A)}}e.not=_;var P=function(){return{concat:function(D,A){return u(D,A)},empty:l}};e.getEndomorphismMonoid=P}),pa=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sequenceS=e.sequenceT=e.getApplySemigroup=e.apS=e.apSecond=e.apFirst=e.ap=void 0;var t=ut();function r(c,g){return function(m){return function(v){return c.ap(c.map(v,function(E){return function(T){return g.ap(E,T)}}),m)}}}e.ap=r;function a(c){return function(g){return function(m){return c.ap(c.map(m,function(v){return function(){return v}}),g)}}}e.apFirst=a;function n(c){return function(g){return function(m){return c.ap(c.map(m,function(){return function(v){return v}}),g)}}}e.apSecond=n;function o(c){return function(g,m){return function(v){return c.ap(c.map(v,function(E){return function(T){var _;return Object.assign({},E,(_={},_[g]=T,_))}}),m)}}}e.apS=o;function i(c){return function(g){return{concat:function(m,v){return c.ap(c.map(m,function(E){return function(T){return g.concat(E,T)}}),v)}}}}e.getApplySemigroup=i;function l(c,g,m){return function(v){for(var E=Array(m.length+1),T=0;T<m.length;T++)E[T]=m[T];return E[m.length]=v,g===0?c.apply(null,E):l(c,g-1,E)}}var s={1:function(c){return[c]},2:function(c){return function(g){return[c,g]}},3:function(c){return function(g){return function(m){return[c,g,m]}}},4:function(c){return function(g){return function(m){return function(v){return[c,g,m,v]}}}},5:function(c){return function(g){return function(m){return function(v){return function(E){return[c,g,m,v,E]}}}}}};function f(c){return s.hasOwnProperty(c)||(s[c]=l(t.tuple,c-1,[])),s[c]}function u(c){return function(){for(var g=[],m=0;m<arguments.length;m++)g[m]=arguments[m];for(var v=g.length,E=f(v),T=c.map(g[0],E),_=1;_<v;_++)T=c.ap(T,g[_]);return T}}e.sequenceT=u;function h(c){var g=c.length;switch(g){case 1:return function(m){var v;return v={},v[c[0]]=m,v};case 2:return function(m){return function(v){var E;return E={},E[c[0]]=m,E[c[1]]=v,E}};case 3:return function(m){return function(v){return function(E){var T;return T={},T[c[0]]=m,T[c[1]]=v,T[c[2]]=E,T}}};case 4:return function(m){return function(v){return function(E){return function(T){var _;return _={},_[c[0]]=m,_[c[1]]=v,_[c[2]]=E,_[c[3]]=T,_}}}};case 5:return function(m){return function(v){return function(E){return function(T){return function(_){var P;return P={},P[c[0]]=m,P[c[1]]=v,P[c[2]]=E,P[c[3]]=T,P[c[4]]=_,P}}}}};default:return l(function(){for(var m=[],v=0;v<arguments.length;v++)m[v]=arguments[v];for(var E={},T=0;T<g;T++)E[c[T]]=m[T];return E},g-1,[])}}function d(c){return function(g){for(var m=Object.keys(g),v=m.length,E=h(m),T=c.map(g[m[0]],E),_=1;_<v;_++)T=c.ap(T,g[m[_]]);return T}}e.sequenceS=d}),kr=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getFunctorComposition=e.bindTo=e.flap=e.map=void 0;var t=ut();function r(i,l){return function(s){return function(f){return i.map(f,function(u){return l.map(u,s)})}}}e.map=r;function a(i){return function(l){return function(s){return i.map(s,function(f){return f(l)})}}}e.flap=a;function n(i){return function(l){return function(s){return i.map(s,function(f){var u;return u={},u[l]=f,u})}}}e.bindTo=n;function o(i,l){var s=r(i,l);return{map:function(f,u){return t.pipe(f,s(u))}}}e.getFunctorComposition=o}),So=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getApplicativeComposition=e.getApplicativeMonoid=void 0;var t=pa(),r=ut(),a=kr();function n(i){var l=t.getApplySemigroup(i);return function(s){return{concat:l(s).concat,empty:i.of(s.empty)}}}e.getApplicativeMonoid=n;function o(i,l){var s=a.getFunctorComposition(i,l).map,f=t.ap(i,l);return{map:s,of:function(u){return i.of(l.of(u))},ap:function(u,h){return r.pipe(u,f(h))}}}e.getApplicativeComposition=o}),To=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.bind=e.chainFirst=void 0;function t(a){return function(n){return function(o){return a.chain(o,function(i){return a.map(n(i),function(){return i})})}}}e.chainFirst=t;function r(a){return function(n,o){return function(i){return a.chain(i,function(l){return a.map(o(l),function(s){var f;return Object.assign({},l,(f={},f[n]=s,f))})})}}}e.bind=r}),Po=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.tailRec=void 0;var t=function(r,a){for(var n=a(r);n._tag==="Left";)n=a(n.left);return n.right};e.tailRec=t}),xr=N(e=>{"use strict";var t=e&&e.__spreadArray||function(g,m){for(var v=0,E=m.length,T=g.length;v<E;v++,T++)g[T]=m[v];return g};Object.defineProperty(e,"__esModule",{value:!0}),e.fromReadonlyNonEmptyArray=e.has=e.emptyRecord=e.emptyReadonlyArray=e.tail=e.head=e.isNonEmpty=e.singleton=e.right=e.left=e.isRight=e.isLeft=e.some=e.none=e.isSome=e.isNone=void 0;var r=function(g){return g._tag==="None"};e.isNone=r;var a=function(g){return g._tag==="Some"};e.isSome=a,e.none={_tag:"None"};var n=function(g){return{_tag:"Some",value:g}};e.some=n;var o=function(g){return g._tag==="Left"};e.isLeft=o;var i=function(g){return g._tag==="Right"};e.isRight=i;var l=function(g){return{_tag:"Left",left:g}};e.left=l;var s=function(g){return{_tag:"Right",right:g}};e.right=s;var f=function(g){return[g]};e.singleton=f;var u=function(g){return g.length>0};e.isNonEmpty=u;var h=function(g){return g[0]};e.head=h;var d=function(g){return g.slice(1)};e.tail=d,e.emptyReadonlyArray=[],e.emptyRecord={},e.has=Object.prototype.hasOwnProperty;var c=function(g){return t([g[0]],g.slice(1))};e.fromReadonlyNonEmptyArray=c}),Ao=N(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(c,g,m,v){v===void 0&&(v=m),Object.defineProperty(c,v,{enumerable:!0,get:function(){return g[m]}})}:function(c,g,m,v){v===void 0&&(v=m),c[v]=g[m]}),r=e&&e.__setModuleDefault||(Object.create?function(c,g){Object.defineProperty(c,"default",{enumerable:!0,value:g})}:function(c,g){c.default=g}),a=e&&e.__importStar||function(c){if(c&&c.__esModule)return c;var g={};if(c!=null)for(var m in c)m!=="default"&&Object.prototype.hasOwnProperty.call(c,m)&&t(g,c,m);return r(g,c),g};Object.defineProperty(e,"__esModule",{value:!0}),e.filterOrElse=e.chainEitherK=e.fromEitherK=e.chainOptionK=e.fromOptionK=e.fromPredicate=e.fromOption=void 0;var n=ut(),o=a(xr());function i(c){return function(g){return function(m){return c.fromEither(o.isNone(m)?o.left(g()):o.right(m.value))}}}e.fromOption=i;function l(c){return function(g,m){return function(v){return c.fromEither(g(v)?o.right(v):o.left(m(v)))}}}e.fromPredicate=l;function s(c){var g=i(c);return function(m){var v=g(m);return function(E){return n.flow(E,v)}}}e.fromOptionK=s;function f(c,g){var m=s(c);return function(v){var E=m(v);return function(T){return function(_){return g.chain(_,E(T))}}}}e.chainOptionK=f;function u(c){return function(g){return n.flow(g,c.fromEither)}}e.fromEitherK=u;function h(c,g){var m=u(c);return function(v){return function(E){return g.chain(E,m(v))}}}e.chainEitherK=h;function d(c,g){return function(m,v){return function(E){return g.chain(E,function(T){return c.fromEither(m(T)?o.right(T):o.left(v(T)))})}}}e.filterOrElse=d}),Oo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.right=e.left=e.flap=e.Functor=e.Bifunctor=e.URI=e.bimap=e.mapLeft=e.map=e.separated=void 0;var t=ut(),r=kr(),a=function(d,c){return{left:d,right:c}};e.separated=a;var n=function(d,c){return t.pipe(d,e.map(c))},o=function(d,c){return t.pipe(d,e.mapLeft(c))},i=function(d,c,g){return t.pipe(d,e.bimap(c,g))},l=function(d){return function(c){return e.separated(e.left(c),d(e.right(c)))}};e.map=l;var s=function(d){return function(c){return e.separated(d(e.left(c)),e.right(c))}};e.mapLeft=s;var f=function(d,c){return function(g){return e.separated(d(e.left(g)),c(e.right(g)))}};e.bimap=f,e.URI="Separated",e.Bifunctor={URI:e.URI,mapLeft:o,bimap:i},e.Functor={URI:e.URI,map:n},e.flap=r.flap(e.Functor);var u=function(d){return d.left};e.left=u;var h=function(d){return d.right};e.right=h}),Do=N(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(s,f,u,h){h===void 0&&(h=u),Object.defineProperty(s,h,{enumerable:!0,get:function(){return f[u]}})}:function(s,f,u,h){h===void 0&&(h=u),s[h]=f[u]}),r=e&&e.__setModuleDefault||(Object.create?function(s,f){Object.defineProperty(s,"default",{enumerable:!0,value:f})}:function(s,f){s.default=f}),a=e&&e.__importStar||function(s){if(s&&s.__esModule)return s;var f={};if(s!=null)for(var u in s)u!=="default"&&Object.prototype.hasOwnProperty.call(s,u)&&t(f,s,u);return r(f,s),f};Object.defineProperty(e,"__esModule",{value:!0}),e.filterE=e.witherDefault=e.wiltDefault=void 0;var n=a(xr());function o(s,f){return function(u){var h=s.traverse(u);return function(d,c){return u.map(h(d,c),f.separate)}}}e.wiltDefault=o;function i(s,f){return function(u){var h=s.traverse(u);return function(d,c){return u.map(h(d,c),f.compact)}}}e.witherDefault=i;function l(s){return function(f){var u=s.wither(f);return function(h){return function(d){return u(d,function(c){return f.map(h(c),function(g){return g?n.some(c):n.none})})}}}}e.filterE=l}),da=N(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(L,M,V,ve){ve===void 0&&(ve=V),Object.defineProperty(L,ve,{enumerable:!0,get:function(){return M[V]}})}:function(L,M,V,ve){ve===void 0&&(ve=V),L[ve]=M[V]}),r=e&&e.__setModuleDefault||(Object.create?function(L,M){Object.defineProperty(L,"default",{enumerable:!0,value:M})}:function(L,M){L.default=M}),a=e&&e.__importStar||function(L){if(L&&L.__esModule)return L;var M={};if(L!=null)for(var V in L)V!=="default"&&Object.prototype.hasOwnProperty.call(L,V)&&t(M,L,V);return r(M,L),M};Object.defineProperty(e,"__esModule",{value:!0}),e.fold=e.match=e.foldW=e.matchW=e.isRight=e.isLeft=e.fromOption=e.fromPredicate=e.FromEither=e.MonadThrow=e.throwError=e.ChainRec=e.Extend=e.extend=e.Alt=e.alt=e.altW=e.Bifunctor=e.mapLeft=e.bimap=e.Traversable=e.sequence=e.traverse=e.Foldable=e.reduceRight=e.foldMap=e.reduce=e.Monad=e.Chain=e.chain=e.chainW=e.Applicative=e.Apply=e.ap=e.apW=e.Pointed=e.of=e.Functor=e.map=e.getAltValidation=e.getApplicativeValidation=e.getWitherable=e.getFilterable=e.getCompactable=e.getSemigroup=e.getEq=e.getShow=e.URI=e.right=e.left=void 0,e.getValidation=e.getValidationMonoid=e.getValidationSemigroup=e.getApplyMonoid=e.getApplySemigroup=e.either=e.stringifyJSON=e.parseJSON=e.sequenceArray=e.traverseArray=e.traverseArrayWithIndex=e.traverseReadonlyArrayWithIndex=e.traverseReadonlyNonEmptyArrayWithIndex=e.ApT=e.apSW=e.apS=e.bindW=e.bind=e.bindTo=e.Do=e.exists=e.elem=e.toError=e.toUnion=e.chainNullableK=e.fromNullableK=e.tryCatchK=e.tryCatch=e.fromNullable=e.orElse=e.orElseW=e.swap=e.filterOrElseW=e.filterOrElse=e.chainOptionK=e.fromOptionK=e.duplicate=e.flatten=e.flattenW=e.chainFirstW=e.chainFirst=e.apSecond=e.apFirst=e.flap=e.getOrElse=e.getOrElseW=void 0;var n=So(),o=pa(),i=To(),l=Po(),s=Ao(),f=ut(),u=kr(),h=a(xr()),d=Oo(),c=Do();e.left=h.left,e.right=h.right;var g=function(L,M){return f.pipe(L,e.map(M))},m=function(L,M){return f.pipe(L,e.ap(M))},v=function(L,M){return f.pipe(L,e.chain(M))},E=function(L,M,V){return f.pipe(L,e.reduce(M,V))},T=function(L){return function(M,V){var ve=e.foldMap(L);return f.pipe(M,ve(V))}},_=function(L,M,V){return f.pipe(L,e.reduceRight(M,V))},P=function(L){var M=e.traverse(L);return function(V,ve){return f.pipe(V,M(ve))}},D=function(L,M,V){return f.pipe(L,e.bimap(M,V))},A=function(L,M){return f.pipe(L,e.mapLeft(M))},H=function(L,M){return f.pipe(L,e.alt(M))},x=function(L,M){return f.pipe(L,e.extend(M))},W=function(L,M){return l.tailRec(M(L),function(V){return e.isLeft(V)?e.right(e.left(V.left)):e.isLeft(V.right)?e.left(M(V.right.left)):e.right(e.right(V.right.right))})};e.URI="Either";var z=function(L,M){return{show:function(V){return e.isLeft(V)?"left("+L.show(V.left)+")":"right("+M.show(V.right)+")"}}};e.getShow=z;var Q=function(L,M){return{equals:function(V,ve){return V===ve||(e.isLeft(V)?e.isLeft(ve)&&L.equals(V.left,ve.left):e.isRight(ve)&&M.equals(V.right,ve.right))}}};e.getEq=Q;var ae=function(L){return{concat:function(M,V){return e.isLeft(V)?M:e.isLeft(M)?V:e.right(L.concat(M.right,V.right))}}};e.getSemigroup=ae;var he=function(L){var M=e.left(L.empty);return{URI:e.URI,_E:void 0,compact:function(V){return e.isLeft(V)?V:V.right._tag==="None"?M:e.right(V.right.value)},separate:function(V){return e.isLeft(V)?d.separated(V,V):e.isLeft(V.right)?d.separated(e.right(V.right.left),M):d.separated(M,e.right(V.right.right))}}};e.getCompactable=he;var le=function(L){var M=e.left(L.empty),V=e.getCompactable(L),ve=V.compact,qe=V.separate,st=function(Fe,et){return e.isLeft(Fe)||et(Fe.right)?Fe:M},ur=function(Fe,et){return e.isLeft(Fe)?d.separated(Fe,Fe):et(Fe.right)?d.separated(M,e.right(Fe.right)):d.separated(e.right(Fe.right),M)};return{URI:e.URI,_E:void 0,map:g,compact:ve,separate:qe,filter:st,filterMap:function(Fe,et){if(e.isLeft(Fe))return Fe;var ct=et(Fe.right);return ct._tag==="None"?M:e.right(ct.value)},partition:ur,partitionMap:function(Fe,et){if(e.isLeft(Fe))return d.separated(Fe,Fe);var ct=et(Fe.right);return e.isLeft(ct)?d.separated(e.right(ct.left),M):d.separated(M,e.right(ct.right))}}};e.getFilterable=le;var _e=function(L){var M=e.getFilterable(L),V=e.getCompactable(L);return{URI:e.URI,_E:void 0,map:g,compact:M.compact,separate:M.separate,filter:M.filter,filterMap:M.filterMap,partition:M.partition,partitionMap:M.partitionMap,traverse:P,sequence:e.sequence,reduce:E,foldMap:T,reduceRight:_,wither:c.witherDefault(e.Traversable,V),wilt:c.wiltDefault(e.Traversable,V)}};e.getWitherable=_e;var be=function(L){return{URI:e.URI,_E:void 0,map:g,ap:function(M,V){return e.isLeft(M)?e.isLeft(V)?e.left(L.concat(M.left,V.left)):M:e.isLeft(V)?V:e.right(M.right(V.right))},of:e.of}};e.getApplicativeValidation=be;var Me=function(L){return{URI:e.URI,_E:void 0,map:g,alt:function(M,V){if(e.isRight(M))return M;var ve=V();return e.isLeft(ve)?e.left(L.concat(M.left,ve.left)):ve}}};e.getAltValidation=Me;var U=function(L){return function(M){return e.isLeft(M)?M:e.right(L(M.right))}};e.map=U,e.Functor={URI:e.URI,map:g},e.of=e.right,e.Pointed={URI:e.URI,of:e.of};var J=function(L){return function(M){return e.isLeft(M)?M:e.isLeft(L)?L:e.right(M.right(L.right))}};e.apW=J,e.ap=e.apW,e.Apply={URI:e.URI,map:g,ap:m},e.Applicative={URI:e.URI,map:g,ap:m,of:e.of};var p=function(L){return function(M){return e.isLeft(M)?M:L(M.right)}};e.chainW=p,e.chain=e.chainW,e.Chain={URI:e.URI,map:g,ap:m,chain:v},e.Monad={URI:e.URI,map:g,ap:m,of:e.of,chain:v};var B=function(L,M){return function(V){return e.isLeft(V)?L:M(L,V.right)}};e.reduce=B;var G=function(L){return function(M){return function(V){return e.isLeft(V)?L.empty:M(V.right)}}};e.foldMap=G;var Y=function(L,M){return function(V){return e.isLeft(V)?L:M(V.right,L)}};e.reduceRight=Y,e.Foldable={URI:e.URI,reduce:E,foldMap:T,reduceRight:_};var ee=function(L){return function(M){return function(V){return e.isLeft(V)?L.of(e.left(V.left)):L.map(M(V.right),e.right)}}};e.traverse=ee;var ie=function(L){return function(M){return e.isLeft(M)?L.of(e.left(M.left)):L.map(M.right,e.right)}};e.sequence=ie,e.Traversable={URI:e.URI,map:g,reduce:E,foldMap:T,reduceRight:_,traverse:P,sequence:e.sequence};var ce=function(L,M){return function(V){return e.isLeft(V)?e.left(L(V.left)):e.right(M(V.right))}};e.bimap=ce;var ue=function(L){return function(M){return e.isLeft(M)?e.left(L(M.left)):M}};e.mapLeft=ue,e.Bifunctor={URI:e.URI,bimap:D,mapLeft:A};var Ie=function(L){return function(M){return e.isLeft(M)?L():M}};e.altW=Ie,e.alt=e.altW,e.Alt={URI:e.URI,map:g,alt:H};var w=function(L){return function(M){return e.isLeft(M)?M:e.right(L(M))}};e.extend=w,e.Extend={URI:e.URI,map:g,extend:x},e.ChainRec={URI:e.URI,map:g,ap:m,chain:v,chainRec:W},e.throwError=e.left,e.MonadThrow={URI:e.URI,map:g,ap:m,of:e.of,chain:v,throwError:e.throwError},e.FromEither={URI:e.URI,fromEither:f.identity},e.fromPredicate=s.fromPredicate(e.FromEither),e.fromOption=s.fromOption(e.FromEither),e.isLeft=h.isLeft,e.isRight=h.isRight;var j=function(L,M){return function(V){return e.isLeft(V)?L(V.left):M(V.right)}};e.matchW=j,e.foldW=e.matchW,e.match=e.matchW,e.fold=e.match;var K=function(L){return function(M){return e.isLeft(M)?L(M.left):M.right}};e.getOrElseW=K,e.getOrElse=e.getOrElseW,e.flap=u.flap(e.Functor),e.apFirst=o.apFirst(e.Apply),e.apSecond=o.apSecond(e.Apply),e.chainFirst=i.chainFirst(e.Chain),e.chainFirstW=e.chainFirst,e.flattenW=e.chainW(f.identity),e.flatten=e.flattenW,e.duplicate=e.extend(f.identity),e.fromOptionK=s.fromOptionK(e.FromEither),e.chainOptionK=s.chainOptionK(e.FromEither,e.Chain),e.filterOrElse=s.filterOrElse(e.FromEither,e.Chain),e.filterOrElseW=e.filterOrElse;var X=function(L){return e.isLeft(L)?e.right(L.left):e.left(L.right)};e.swap=X;var re=function(L){return function(M){return e.isLeft(M)?L(M.left):M}};e.orElseW=re,e.orElse=e.orElseW;var de=function(L){return function(M){return M==null?e.left(L):e.right(M)}};e.fromNullable=de;var oe=function(L,M){try{return e.right(L())}catch(V){return e.left(M(V))}};e.tryCatch=oe;var Re=function(L,M){return function(){for(var V=[],ve=0;ve<arguments.length;ve++)V[ve]=arguments[ve];return e.tryCatch(function(){return L.apply(void 0,V)},M)}};e.tryCatchK=Re;var He=function(L){var M=e.fromNullable(L);return function(V){return f.flow(V,M)}};e.fromNullableK=He;var Z=function(L){var M=e.fromNullableK(L);return function(V){return e.chain(M(V))}};e.chainNullableK=Z,e.toUnion=e.foldW(f.identity,f.identity);function $(L){return L instanceof Error?L:new Error(String(L))}e.toError=$;function fe(L){return function(M,V){if(V===void 0){var ve=fe(L);return function(qe){return ve(M,qe)}}return e.isLeft(V)?!1:L.equals(M,V.right)}}e.elem=fe;var Ce=function(L){return function(M){return e.isLeft(M)?!1:L(M.right)}};e.exists=Ce,e.Do=e.of(h.emptyRecord),e.bindTo=u.bindTo(e.Functor),e.bind=i.bind(e.Chain),e.bindW=e.bind,e.apS=o.apS(e.Apply),e.apSW=e.apS,e.ApT=e.of(h.emptyReadonlyArray);var Ue=function(L){return function(M){var V=L(0,h.head(M));if(e.isLeft(V))return V;for(var ve=[V.right],qe=1;qe<M.length;qe++){var st=L(qe,M[qe]);if(e.isLeft(st))return st;ve.push(st.right)}return e.right(ve)}};e.traverseReadonlyNonEmptyArrayWithIndex=Ue;var $e=function(L){var M=e.traverseReadonlyNonEmptyArrayWithIndex(L);return function(V){return h.isNonEmpty(V)?M(V):e.ApT}};e.traverseReadonlyArrayWithIndex=$e,e.traverseArrayWithIndex=e.traverseReadonlyArrayWithIndex;var vt=function(L){return e.traverseReadonlyArrayWithIndex(function(M,V){return L(V)})};e.traverseArray=vt,e.sequenceArray=e.traverseArray(f.identity);function Qr(L,M){return e.tryCatch(function(){return JSON.parse(L)},M)}e.parseJSON=Qr;var ar=function(L,M){return e.tryCatch(function(){var V=JSON.stringify(L);if(typeof V!="string")throw new Error("Converting unsupported structure to JSON");return V},M)};e.stringifyJSON=ar,e.either={URI:e.URI,map:g,of:e.of,ap:m,chain:v,reduce:E,foldMap:T,reduceRight:_,traverse:P,sequence:e.sequence,bimap:D,mapLeft:A,alt:H,extend:x,chainRec:W,throwError:e.throwError},e.getApplySemigroup=o.getApplySemigroup(e.Apply),e.getApplyMonoid=n.getApplicativeMonoid(e.Applicative);var ir=function(L,M){return o.getApplySemigroup(e.getApplicativeValidation(L))(M)};e.getValidationSemigroup=ir;var or=function(L,M){return n.getApplicativeMonoid(e.getApplicativeValidation(L))(M)};e.getValidationMonoid=or;function jt(L){var M=e.getApplicativeValidation(L).ap,V=e.getAltValidation(L).alt;return{URI:e.URI,_E:void 0,map:g,of:e.of,chain:v,bimap:D,mapLeft:A,reduce:E,foldMap:T,reduceRight:_,extend:x,traverse:P,sequence:e.sequence,chainRec:W,throwError:e.throwError,ap:M,alt:V}}e.getValidation=jt}),at=N(e=>{"use strict";var t=e&&e.__extends||function(){var y=function(C,O){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,I){S.__proto__=I}||function(S,I){for(var R in I)Object.prototype.hasOwnProperty.call(I,R)&&(S[R]=I[R])},y(C,O)};return function(C,O){y(C,O);function S(){this.constructor=C}C.prototype=O===null?Object.create(O):(S.prototype=O.prototype,new S)}}(),r=e&&e.__assign||function(){return r=Object.assign||function(y){for(var C,O=1,S=arguments.length;O<S;O++){C=arguments[O];for(var I in C)Object.prototype.hasOwnProperty.call(C,I)&&(y[I]=C[I])}return y},r.apply(this,arguments)},a=e&&e.__spreadArrays||function(){for(var y=0,C=0,O=arguments.length;C<O;C++)y+=arguments[C].length;for(var S=Array(y),I=0,C=0;C<O;C++)for(var R=arguments[C],k=0,F=R.length;k<F;k++,I++)S[I]=R[k];return S};Object.defineProperty(e,"__esModule",{value:!0}),e.partial=e.PartialType=e.type=e.InterfaceType=e.array=e.ArrayType=e.recursion=e.RecursiveType=e.Int=e.brand=e.RefinementType=e.keyof=e.KeyofType=e.literal=e.LiteralType=e.void=e.undefined=e.null=e.UnknownRecord=e.AnyDictionaryType=e.UnknownArray=e.AnyArrayType=e.boolean=e.BooleanType=e.bigint=e.BigIntType=e.number=e.NumberType=e.string=e.StringType=e.unknown=e.UnknownType=e.voidType=e.VoidType=e.UndefinedType=e.nullType=e.NullType=e.getIndex=e.getTags=e.emptyTags=e.mergeAll=e.getDomainKeys=e.appendContext=e.getContextEntry=e.getFunctionName=e.identity=e.Type=e.success=e.failure=e.failures=void 0,e.alias=e.clean=e.StrictType=e.dictionary=e.Integer=e.refinement=e.object=e.ObjectType=e.Dictionary=e.any=e.AnyType=e.never=e.NeverType=e.getDefaultContext=e.getValidationError=e.interface=e.Array=e.taggedUnion=e.TaggedUnionType=e.Function=e.FunctionType=e.exact=e.ExactType=e.strict=e.readonlyArray=e.ReadonlyArrayType=e.readonly=e.ReadonlyType=e.tuple=e.TupleType=e.intersection=e.IntersectionType=e.union=e.UnionType=e.record=e.DictionaryType=void 0;var n=da();e.failures=n.left;var o=function(y,C,O){return e.failures([{value:y,context:C,message:O}])};e.failure=o,e.success=n.right;var i=function(){function y(C,O,S,I){this.name=C,this.is=O,this.validate=S,this.encode=I,this.decode=this.decode.bind(this)}return y.prototype.pipe=function(C,O){var S=this;return O===void 0&&(O="pipe("+this.name+", "+C.name+")"),new y(O,C.is,function(I,R){var k=S.validate(I,R);return n.isLeft(k)?k:C.validate(k.right,R)},this.encode===e.identity&&C.encode===e.identity?e.identity:function(I){return S.encode(C.encode(I))})},y.prototype.asDecoder=function(){return this},y.prototype.asEncoder=function(){return this},y.prototype.decode=function(C){return this.validate(C,[{key:"",type:this,actual:C}])},y}();e.Type=i;var l=function(y){return y};e.identity=l;function s(y){return y.displayName||y.name||"<function"+y.length+">"}e.getFunctionName=s;function f(y,C){return{key:y,type:C}}e.getContextEntry=f;function u(y,C,O,S){for(var I=y.length,R=Array(I+1),k=0;k<I;k++)R[k]=y[k];return R[I]={key:C,type:O,actual:S},R}e.appendContext=u;function h(y,C){for(var O=C.length,S=0;S<O;S++)y.push(C[S])}var d=Object.prototype.hasOwnProperty;function c(y){return Object.keys(y).map(function(C){return C+": "+y[C].name}).join(", ")}function g(y){for(var C=0;C<y.length;C++)if(y[C].encode!==e.identity)return!1;return!0}function m(y){return"{ "+c(y)+" }"}function v(y){return"Partial<"+y+">"}function E(y,C,O,S){S===void 0&&(S="{ [K in "+C.name+"]: "+O.name+" }");var I=y.length;return new V(S,function(R){return e.UnknownRecord.is(R)&&y.every(function(k){return O.is(R[k])})},function(R,k){var F=e.UnknownRecord.validate(R,k);if(n.isLeft(F))return F;for(var q=F.right,te={},ge=[],pe=!1,ye=0;ye<I;ye++){var Le=y[ye],Ye=q[Le],Be=O.validate(Ye,u(k,Le,O,Ye));if(n.isLeft(Be))h(ge,Be.left);else{var ze=Be.right;pe=pe||ze!==Ye,te[Le]=ze}}return ge.length>0?e.failures(ge):e.success(pe||Object.keys(q).length!==I?te:q)},O.encode===e.identity?e.identity:function(R){for(var k={},F=0;F<I;F++){var q=y[F];k[q]=O.encode(R[q])}return k},C,O)}function T(y){var C;if(le(y)){var O=y.value;if(e.string.is(O))return C={},C[O]=null,C}else{if(_e(y))return y.keys;if(G(y)){var S=y.types.map(function(I){return T(I)});return S.some(w.is)?void 0:Object.assign.apply(Object,a([{}],S))}}}e.getDomainKeys=T;function _(y,C,O){return O===void 0&&(O="{ [K in "+y.name+"]: "+C.name+" }"),new V(O,function(S){return e.UnknownRecord.is(S)?Object.keys(S).every(function(I){return y.is(I)&&C.is(S[I])}):he(C)&&Array.isArray(S)},function(S,I){if(e.UnknownRecord.is(S)){for(var R={},k=[],F=Object.keys(S),q=F.length,te=!1,ge=0;ge<q;ge++){var pe=F[ge],ye=S[pe],Le=y.validate(pe,u(I,pe,y,pe));if(n.isLeft(Le))h(k,Le.left);else{var Ye=Le.right;te=te||Ye!==pe,pe=Ye;var Be=C.validate(ye,u(I,pe,C,ye));if(n.isLeft(Be))h(k,Be.left);else{var ze=Be.right;te=te||ze!==ye,R[pe]=ze}}}return k.length>0?e.failures(k):e.success(te?R:S)}return he(C)&&Array.isArray(S)?e.success(S):e.failure(S,I)},y.encode===e.identity&&C.encode===e.identity?e.identity:function(S){for(var I={},R=Object.keys(S),k=R.length,F=0;F<k;F++){var q=R[F];I[String(y.encode(q))]=C.encode(S[q])}return I},y,C)}function P(y){return"("+y.map(function(C){return C.name}).join(" | ")+")"}function D(y,C){for(var O=!0,S=!0,I=!e.UnknownRecord.is(y),R=0,k=C;R<k.length;R++){var F=k[R];F!==y&&(O=!1),e.UnknownRecord.is(F)&&(S=!1)}if(O)return y;if(S)return C[C.length-1];for(var q={},te=0,ge=C;te<ge.length;te++){var F=ge[te];for(var pe in F)(!q.hasOwnProperty(pe)||I||F[pe]!==y[pe])&&(q[pe]=F[pe])}return q}e.mergeAll=D;function A(y){switch(y._tag){case"RefinementType":case"ReadonlyType":return A(y.type);case"InterfaceType":case"StrictType":case"PartialType":return y.props;case"IntersectionType":return y.types.reduce(function(C,O){return Object.assign(C,A(O))},{})}}function H(y,C){for(var O=Object.getOwnPropertyNames(y),S=!1,I={},R=0;R<O.length;R++){var k=O[R];d.call(C,k)?I[k]=y[k]:S=!0}return S?I:y}function x(y){return be(y)?"{| "+c(y.props)+" |}":Me(y)?v("{| "+c(y.props)+" |}"):"Exact<"+y.name+">"}function W(y){return y.length>0}e.emptyTags={};function z(y,C){for(var O=[],S=0,I=y;S<I.length;S++){var R=I[S];C.indexOf(R)!==-1&&O.push(R)}return O}function Q(y,C){if(y===e.emptyTags)return C;if(C===e.emptyTags)return y;var O=Object.assign({},y);for(var S in C)if(y.hasOwnProperty(S)){var I=z(y[S],C[S]);if(W(I))O[S]=I;else{O=e.emptyTags;break}}else O[S]=C[S];return O}function ae(y,C){if(y===e.emptyTags||C===e.emptyTags)return e.emptyTags;var O=e.emptyTags;for(var S in y)if(C.hasOwnProperty(S)){var I=z(y[S],C[S]);I.length===0&&(O===e.emptyTags&&(O={}),O[S]=y[S].concat(C[S]))}return O}function he(y){return y._tag==="AnyType"}function le(y){return y._tag==="LiteralType"}function _e(y){return y._tag==="KeyofType"}function be(y){return y._tag==="InterfaceType"}function Me(y){return y._tag==="PartialType"}function U(y){return y._tag==="StrictType"}function J(y){return y._tag==="ExactType"}function p(y){return y._tag==="RefinementType"}function B(y){return y._tag==="IntersectionType"}function G(y){return y._tag==="UnionType"}function Y(y){return y._tag==="RecursiveType"}var ee=[];function ie(y){if(ee.indexOf(y)!==-1)return e.emptyTags;if(be(y)||U(y)){var C=e.emptyTags;for(var O in y.props){var S=y.props[O];le(S)&&(C===e.emptyTags&&(C={}),C[O]=[S.value])}return C}else{if(J(y)||p(y))return ie(y.type);if(B(y))return y.types.reduce(function(R,k){return Q(R,ie(k))},e.emptyTags);if(G(y))return y.types.slice(1).reduce(function(R,k){return ae(R,ie(k))},ie(y.types[0]));if(Y(y)){ee.push(y);var I=ie(y.type);return ee.pop(),I}}return e.emptyTags}e.getTags=ie;function ce(y){var C=ie(y[0]),O=Object.keys(C),S=y.length,I=function(te){for(var ge=C[te].slice(),pe=[C[te]],ye=1;ye<S;ye++){var Le=y[ye],Ye=ie(Le),Be=Ye[te];if(Be===void 0||Be.some(function(ze){return ge.indexOf(ze)!==-1}))return"continue-keys";ge.push.apply(ge,Be),pe.push(Be)}return{value:[te,pe]}};e:for(var R=0,k=O;R<k.length;R++){var F=k[R],q=I(F);if(typeof q=="object")return q.value;switch(q){case"continue-keys":continue e}}}e.getIndex=ce;var ue=function(y){t(C,y);function C(){var O=y.call(this,"null",function(S){return S===null},function(S,I){return O.is(S)?e.success(S):e.failure(S,I)},e.identity)||this;return O._tag="NullType",O}return C}(i);e.NullType=ue,e.nullType=new ue,e.null=e.nullType;var Ie=function(y){t(C,y);function C(){var O=y.call(this,"undefined",function(S){return S===void 0},function(S,I){return O.is(S)?e.success(S):e.failure(S,I)},e.identity)||this;return O._tag="UndefinedType",O}return C}(i);e.UndefinedType=Ie;var w=new Ie;e.undefined=w;var j=function(y){t(C,y);function C(){var O=y.call(this,"void",w.is,w.validate,e.identity)||this;return O._tag="VoidType",O}return C}(i);e.VoidType=j,e.voidType=new j,e.void=e.voidType;var K=function(y){t(C,y);function C(){var O=y.call(this,"unknown",function(S){return!0},e.success,e.identity)||this;return O._tag="UnknownType",O}return C}(i);e.UnknownType=K,e.unknown=new K;var X=function(y){t(C,y);function C(){var O=y.call(this,"string",function(S){return typeof S=="string"},function(S,I){return O.is(S)?e.success(S):e.failure(S,I)},e.identity)||this;return O._tag="StringType",O}return C}(i);e.StringType=X,e.string=new X;var re=function(y){t(C,y);function C(){var O=y.call(this,"number",function(S){return typeof S=="number"},function(S,I){return O.is(S)?e.success(S):e.failure(S,I)},e.identity)||this;return O._tag="NumberType",O}return C}(i);e.NumberType=re,e.number=new re;var de=function(y){t(C,y);function C(){var O=y.call(this,"bigint",function(S){return typeof S=="bigint"},function(S,I){return O.is(S)?e.success(S):e.failure(S,I)},e.identity)||this;return O._tag="BigIntType",O}return C}(i);e.BigIntType=de,e.bigint=new de;var oe=function(y){t(C,y);function C(){var O=y.call(this,"boolean",function(S){return typeof S=="boolean"},function(S,I){return O.is(S)?e.success(S):e.failure(S,I)},e.identity)||this;return O._tag="BooleanType",O}return C}(i);e.BooleanType=oe,e.boolean=new oe;var Re=function(y){t(C,y);function C(){var O=y.call(this,"UnknownArray",Array.isArray,function(S,I){return O.is(S)?e.success(S):e.failure(S,I)},e.identity)||this;return O._tag="AnyArrayType",O}return C}(i);e.AnyArrayType=Re,e.UnknownArray=new Re,e.Array=e.UnknownArray;var He=function(y){t(C,y);function C(){var O=y.call(this,"UnknownRecord",function(S){var I=Object.prototype.toString.call(S);return I==="[object Object]"||I==="[object Window]"},function(S,I){return O.is(S)?e.success(S):e.failure(S,I)},e.identity)||this;return O._tag="AnyDictionaryType",O}return C}(i);e.AnyDictionaryType=He,e.UnknownRecord=new He;var Z=function(y){t(C,y);function C(O,S,I,R,k){var F=y.call(this,O,S,I,R)||this;return F.value=k,F._tag="LiteralType",F}return C}(i);e.LiteralType=Z;function $(y,C){C===void 0&&(C=JSON.stringify(y));var O=function(S){return S===y};return new Z(C,O,function(S,I){return O(S)?e.success(y):e.failure(S,I)},e.identity,y)}e.literal=$;var fe=function(y){t(C,y);function C(O,S,I,R,k){var F=y.call(this,O,S,I,R)||this;return F.keys=k,F._tag="KeyofType",F}return C}(i);e.KeyofType=fe;function Ce(y,C){C===void 0&&(C=Object.keys(y).map(function(S){return JSON.stringify(S)}).join(" | "));var O=function(S){return e.string.is(S)&&d.call(y,S)};return new fe(C,O,function(S,I){return O(S)?e.success(S):e.failure(S,I)},e.identity,y)}e.keyof=Ce;var Ue=function(y){t(C,y);function C(O,S,I,R,k,F){var q=y.call(this,O,S,I,R)||this;return q.type=k,q.predicate=F,q._tag="RefinementType",q}return C}(i);e.RefinementType=Ue;function $e(y,C,O){return $r(y,C,O)}e.brand=$e,e.Int=$e(e.number,function(y){return Number.isInteger(y)},"Int");var vt=function(y){t(C,y);function C(O,S,I,R,k){var F=y.call(this,O,S,I,R)||this;return F.runDefinition=k,F._tag="RecursiveType",F}return C}(i);e.RecursiveType=vt,Object.defineProperty(vt.prototype,"type",{get:function(){return this.runDefinition()},enumerable:!0,configurable:!0});function Qr(y,C){var O,S=function(){return O||(O=C(I),O.name=y),O},I=new vt(y,function(R){return S().is(R)},function(R,k){return S().validate(R,k)},function(R){return S().encode(R)},S);return I}e.recursion=Qr;var ar=function(y){t(C,y);function C(O,S,I,R,k){var F=y.call(this,O,S,I,R)||this;return F.type=k,F._tag="ArrayType",F}return C}(i);e.ArrayType=ar;function ir(y,C){return C===void 0&&(C="Array<"+y.name+">"),new ar(C,function(O){return e.UnknownArray.is(O)&&O.every(y.is)},function(O,S){var I=e.UnknownArray.validate(O,S);if(n.isLeft(I))return I;for(var R=I.right,k=R.length,F=R,q=[],te=0;te<k;te++){var ge=R[te],pe=y.validate(ge,u(S,String(te),y,ge));if(n.isLeft(pe))h(q,pe.left);else{var ye=pe.right;ye!==ge&&(F===R&&(F=R.slice()),F[te]=ye)}}return q.length>0?e.failures(q):e.success(F)},y.encode===e.identity?e.identity:function(O){return O.map(y.encode)},y)}e.array=ir;var or=function(y){t(C,y);function C(O,S,I,R,k){var F=y.call(this,O,S,I,R)||this;return F.props=k,F._tag="InterfaceType",F}return C}(i);e.InterfaceType=or;function jt(y,C){C===void 0&&(C=m(y));var O=Object.keys(y),S=O.map(function(R){return y[R]}),I=O.length;return new or(C,function(R){if(e.UnknownRecord.is(R)){for(var k=0;k<I;k++){var F=O[k],q=R[F];if(q===void 0&&!d.call(R,F)||!S[k].is(q))return!1}return!0}return!1},function(R,k){var F=e.UnknownRecord.validate(R,k);if(n.isLeft(F))return F;for(var q=F.right,te=q,ge=[],pe=0;pe<I;pe++){var ye=O[pe],Le=te[ye],Ye=S[pe],Be=Ye.validate(Le,u(k,ye,Ye,Le));if(n.isLeft(Be))h(ge,Be.left);else{var ze=Be.right;(ze!==Le||ze===void 0&&!d.call(te,ye))&&(te===q&&(te=r({},q)),te[ye]=ze)}}return ge.length>0?e.failures(ge):e.success(te)},g(S)?e.identity:function(R){for(var k=r({},R),F=0;F<I;F++){var q=O[F],te=S[F].encode;te!==e.identity&&(k[q]=te(R[q]))}return k},y)}e.type=jt,e.interface=jt;var L=function(y){t(C,y);function C(O,S,I,R,k){var F=y.call(this,O,S,I,R)||this;return F.props=k,F._tag="PartialType",F}return C}(i);e.PartialType=L;function M(y,C){C===void 0&&(C=v(m(y)));var O=Object.keys(y),S=O.map(function(R){return y[R]}),I=O.length;return new L(C,function(R){if(e.UnknownRecord.is(R)){for(var k=0;k<I;k++){var F=O[k],q=R[F];if(q!==void 0&&!y[F].is(q))return!1}return!0}return!1},function(R,k){var F=e.UnknownRecord.validate(R,k);if(n.isLeft(F))return F;for(var q=F.right,te=q,ge=[],pe=0;pe<I;pe++){var ye=O[pe],Le=te[ye],Ye=y[ye],Be=Ye.validate(Le,u(k,ye,Ye,Le));if(n.isLeft(Be))Le!==void 0&&h(ge,Be.left);else{var ze=Be.right;ze!==Le&&(te===q&&(te=r({},q)),te[ye]=ze)}}return ge.length>0?e.failures(ge):e.success(te)},g(S)?e.identity:function(R){for(var k=r({},R),F=0;F<I;F++){var q=O[F],te=R[q];te!==void 0&&(k[q]=S[F].encode(te))}return k},y)}e.partial=M;var V=function(y){t(C,y);function C(O,S,I,R,k,F){var q=y.call(this,O,S,I,R)||this;return q.domain=k,q.codomain=F,q._tag="DictionaryType",q}return C}(i);e.DictionaryType=V;function ve(y,C,O){var S=T(y);return S?E(Object.keys(S),y,C,O):_(y,C,O)}e.record=ve;var qe=function(y){t(C,y);function C(O,S,I,R,k){var F=y.call(this,O,S,I,R)||this;return F.types=k,F._tag="UnionType",F}return C}(i);e.UnionType=qe;function st(y,C){C===void 0&&(C=P(y));var O=ce(y);if(O!==void 0&&y.length>0){var S=O[0],I=O[1],R=I.length,k=function(F){for(var q=0;q<R;q++)if(I[q].indexOf(F)!==-1)return q};return new lr(C,function(F){if(e.UnknownRecord.is(F)){var q=k(F[S]);return q!==void 0?y[q].is(F):!1}return!1},function(F,q){var te=e.UnknownRecord.validate(F,q);if(n.isLeft(te))return te;var ge=te.right,pe=k(ge[S]);if(pe===void 0)return e.failure(F,q);var ye=y[pe];return ye.validate(ge,u(q,String(pe),ye,ge))},g(y)?e.identity:function(F){var q=k(F[S]);if(q===void 0)throw new Error("no codec found to encode value in union codec "+C);return y[q].encode(F)},y,S)}else return new qe(C,function(F){return y.some(function(q){return q.is(F)})},function(F,q){for(var te=[],ge=0;ge<y.length;ge++){var pe=y[ge],ye=pe.validate(F,u(q,String(ge),pe,F));if(n.isLeft(ye))h(te,ye.left);else return e.success(ye.right)}return e.failures(te)},g(y)?e.identity:function(F){for(var q=0,te=y;q<te.length;q++){var ge=te[q];if(ge.is(F))return ge.encode(F)}throw new Error("no codec found to encode value in union type "+C)},y)}e.union=st;var ur=function(y){t(C,y);function C(O,S,I,R,k){var F=y.call(this,O,S,I,R)||this;return F.types=k,F._tag="IntersectionType",F}return C}(i);e.IntersectionType=ur;function Fe(y,C){C===void 0&&(C="("+y.map(function(S){return S.name}).join(" & ")+")");var O=y.length;return new ur(C,function(S){return y.every(function(I){return I.is(S)})},y.length===0?e.success:function(S,I){for(var R=[],k=[],F=0;F<O;F++){var q=y[F],te=q.validate(S,u(I,String(F),q,S));n.isLeft(te)?h(k,te.left):R.push(te.right)}return k.length>0?e.failures(k):e.success(D(S,R))},y.length===0?e.identity:function(S){return D(S,y.map(function(I){return I.encode(S)}))},y)}e.intersection=Fe;var et=function(y){t(C,y);function C(O,S,I,R,k){var F=y.call(this,O,S,I,R)||this;return F.types=k,F._tag="TupleType",F}return C}(i);e.TupleType=et;function ct(y,C){C===void 0&&(C="["+y.map(function(S){return S.name}).join(", ")+"]");var O=y.length;return new et(C,function(S){return e.UnknownArray.is(S)&&S.length===O&&y.every(function(I,R){return I.is(S[R])})},function(S,I){var R=e.UnknownArray.validate(S,I);if(n.isLeft(R))return R;for(var k=R.right,F=k.length>O?k.slice(0,O):k,q=[],te=0;te<O;te++){var ge=k[te],pe=y[te],ye=pe.validate(ge,u(I,String(te),pe,ge));if(n.isLeft(ye))h(q,ye.left);else{var Le=ye.right;Le!==ge&&(F===k&&(F=k.slice()),F[te]=Le)}}return q.length>0?e.failures(q):e.success(F)},g(y)?e.identity:function(S){return y.map(function(I,R){return I.encode(S[R])})},y)}e.tuple=ct;var La=function(y){t(C,y);function C(O,S,I,R,k){var F=y.call(this,O,S,I,R)||this;return F.type=k,F._tag="ReadonlyType",F}return C}(i);e.ReadonlyType=La;function Bl(y,C){return C===void 0&&(C="Readonly<"+y.name+">"),new La(C,y.is,y.validate,y.encode,y)}e.readonly=Bl;var Ra=function(y){t(C,y);function C(O,S,I,R,k){var F=y.call(this,O,S,I,R)||this;return F.type=k,F._tag="ReadonlyArrayType",F}return C}(i);e.ReadonlyArrayType=Ra;function kl(y,C){C===void 0&&(C="ReadonlyArray<"+y.name+">");var O=ir(y);return new Ra(C,O.is,O.validate,O.encode,y)}e.readonlyArray=kl;var xl=function(y,C){return ka(jt(y),C)};e.strict=xl;var Ba=function(y){t(C,y);function C(O,S,I,R,k){var F=y.call(this,O,S,I,R)||this;return F.type=k,F._tag="ExactType",F}return C}(i);e.ExactType=Ba;function ka(y,C){C===void 0&&(C=x(y));var O=A(y);return new Ba(C,y.is,function(S,I){var R=e.UnknownRecord.validate(S,I);if(n.isLeft(R))return R;var k=y.validate(S,I);return n.isLeft(k)?k:n.right(H(k.right,O))},function(S){return y.encode(H(S,O))},y)}e.exact=ka;var xa=function(y){t(C,y);function C(){var O=y.call(this,"Function",function(S){return typeof S=="function"},function(S,I){return O.is(S)?e.success(S):e.failure(S,I)},e.identity)||this;return O._tag="FunctionType",O}return C}(i);e.FunctionType=xa,e.Function=new xa;var lr=function(y){t(C,y);function C(O,S,I,R,k,F){var q=y.call(this,O,S,I,R,k)||this;return q.tag=F,q}return C}(qe);e.TaggedUnionType=lr;var jl=function(y,C,O){O===void 0&&(O=P(C));var S=st(C,O);return S instanceof lr?S:(console.warn("[io-ts] Cannot build a tagged union for "+O+", returning a de-optimized union"),new lr(O,S.is,S.validate,S.encode,C,y))};e.taggedUnion=jl;var Hl=function(y,C){return{value:y,context:C}};e.getValidationError=Hl;var Ul=function(y){return[{key:"",type:y}]};e.getDefaultContext=Ul;var ja=function(y){t(C,y);function C(){var O=y.call(this,"never",function(S){return!1},function(S,I){return e.failure(S,I)},function(){throw new Error("cannot encode never")})||this;return O._tag="NeverType",O}return C}(i);e.NeverType=ja,e.never=new ja;var Ha=function(y){t(C,y);function C(){var O=y.call(this,"any",function(S){return!0},e.success,e.identity)||this;return O._tag="AnyType",O}return C}(i);e.AnyType=Ha,e.any=new Ha,e.Dictionary=e.UnknownRecord;var Ua=function(y){t(C,y);function C(){var O=y.call(this,"object",function(S){return S!==null&&typeof S=="object"},function(S,I){return O.is(S)?e.success(S):e.failure(S,I)},e.identity)||this;return O._tag="ObjectType",O}return C}(i);e.ObjectType=Ua,e.object=new Ua;function $r(y,C,O){return O===void 0&&(O="("+y.name+" | "+s(C)+")"),new Ue(O,function(S){return y.is(S)&&C(S)},function(S,I){var R=y.validate(S,I);if(n.isLeft(R))return R;var k=R.right;return C(k)?e.success(k):e.failure(k,I)},y.encode,y,C)}e.refinement=$r,e.Integer=$r(e.number,Number.isInteger,"Integer"),e.dictionary=ve;var Vl=function(y){t(C,y);function C(O,S,I,R,k){var F=y.call(this,O,S,I,R)||this;return F.props=k,F._tag="StrictType",F}return C}(i);e.StrictType=Vl;function Gl(y){return y}e.clean=Gl;function Kl(y){return function(){return y}}e.alias=Kl}),jr=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.makeEnum=e.filterEnum=e.createEnum=e.listToEnum=void 0;function t(o){let i={};return o.reduce((l,s)=>(l[s]=s,l),i)}e.listToEnum=t;function r(...o){let i=o.map(l=>Array.isArray(l)?t(l):l);return Object.assign({},...i)}e.createEnum=r;function a(o,i){return Object.keys(o).filter(l=>i(o[l],l,o)).map(l=>l)}e.filterEnum=a;function n(o){return o}e.makeEnum=n}),ga=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getKeys=e.getStringKeys=void 0;function t(a){return Object.keys(a).filter(n=>typeof n=="string")}e.getStringKeys=t;function r(a){return Object.keys(a)}e.getKeys=r}),wo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.applyEnum=e.asyncApply=e.apply=void 0;var t=jr(),r=ga();function a(i,l){return Object.keys(i).reduce((s,f,u)=>Object.assign(s,{[f]:l(i[f],f,i,u)}),{})}e.apply=a;async function n(i,l){return(await Promise.all((0,r.getKeys)(i).map(async(s,f)=>({key:s,value:await l(i[s],s,i,f)})))).reduce((s,{key:f,value:u})=>Object.assign(s,{[f]:u}),{})}e.asyncApply=n;function o(i,l){let s=(0,t.createEnum)(Object.values(i));return a(s,l)}e.applyEnum=o}),Mo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pipe=e.pipeable=void 0;var t=ut(),r=function(_){return typeof _.map=="function"},a=function(_){return typeof _.contramap=="function"},n=function(_){return typeof _.mapWithIndex=="function"},o=function(_){return typeof _.ap=="function"},i=function(_){return typeof _.chain=="function"},l=function(_){return typeof _.bimap=="function"},s=function(_){return typeof _.extend=="function"},f=function(_){return typeof _.reduce=="function"},u=function(_){return typeof _.reduceWithIndex=="function"},h=function(_){return typeof _.alt=="function"},d=function(_){return typeof _.compact=="function"},c=function(_){return typeof _.filter=="function"},g=function(_){return typeof _.filterWithIndex=="function"},m=function(_){return typeof _.promap=="function"},v=function(_){return typeof _.compose=="function"},E=function(_){return typeof _.throwError=="function"};function T(_){var P={};if(r(_)){var D=function(Z){return function($){return _.map($,Z)}};P.map=D}if(a(_)){var A=function(Z){return function($){return _.contramap($,Z)}};P.contramap=A}if(n(_)){var H=function(Z){return function($){return _.mapWithIndex($,Z)}};P.mapWithIndex=H}if(o(_)){var x=function(Z){return function($){return _.ap($,Z)}},W=function(Z){return function($){return _.ap(_.map($,function(fe){return function(){return fe}}),Z)}};P.ap=x,P.apFirst=W,P.apSecond=function(Z){return function($){return _.ap(_.map($,function(){return function(fe){return fe}}),Z)}}}if(i(_)){var z=function(Z){return function($){return _.chain($,Z)}},Q=function(Z){return function($){return _.chain($,function(fe){return _.map(Z(fe),function(){return fe})})}},ae=function(Z){return _.chain(Z,t.identity)};P.chain=z,P.chainFirst=Q,P.flatten=ae}if(l(_)){var he=function(Z,$){return function(fe){return _.bimap(fe,Z,$)}},le=function(Z){return function($){return _.mapLeft($,Z)}};P.bimap=he,P.mapLeft=le}if(s(_)){var _e=function(Z){return function($){return _.extend($,Z)}},be=function(Z){return _.extend(Z,t.identity)};P.extend=_e,P.duplicate=be}if(f(_)){var Me=function(Z,$){return function(fe){return _.reduce(fe,Z,$)}},U=function(Z){var $=_.foldMap(Z);return function(fe){return function(Ce){return $(Ce,fe)}}},J=function(Z,$){return function(fe){return _.reduceRight(fe,Z,$)}};P.reduce=Me,P.foldMap=U,P.reduceRight=J}if(u(_)){var p=function(Z,$){return function(fe){return _.reduceWithIndex(fe,Z,$)}},B=function(Z){var $=_.foldMapWithIndex(Z);return function(fe){return function(Ce){return $(Ce,fe)}}},G=function(Z,$){return function(fe){return _.reduceRightWithIndex(fe,Z,$)}};P.reduceWithIndex=p,P.foldMapWithIndex=B,P.reduceRightWithIndex=G}if(h(_)){var Y=function(Z){return function($){return _.alt($,Z)}};P.alt=Y}if(d(_)&&(P.compact=_.compact,P.separate=_.separate),c(_)){var ee=function(Z){return function($){return _.filter($,Z)}},ie=function(Z){return function($){return _.filterMap($,Z)}},ce=function(Z){return function($){return _.partition($,Z)}},ue=function(Z){return function($){return _.partitionMap($,Z)}};P.filter=ee,P.filterMap=ie,P.partition=ce,P.partitionMap=ue}if(g(_)){var Ie=function(Z){return function($){return _.filterWithIndex($,Z)}},w=function(Z){return function($){return _.filterMapWithIndex($,Z)}},j=function(Z){return function($){return _.partitionWithIndex($,Z)}},K=function(Z){return function($){return _.partitionMapWithIndex($,Z)}};P.filterWithIndex=Ie,P.filterMapWithIndex=w,P.partitionWithIndex=j,P.partitionMapWithIndex=K}if(m(_)){var X=function(Z,$){return function(fe){return _.promap(fe,Z,$)}};P.promap=X}if(v(_)){var re=function(Z){return function($){return _.compose($,Z)}};P.compose=re}if(E(_)){var de=function(Z){return function($){return $._tag==="None"?_.throwError(Z()):_.of($.value)}},oe=function(Z){return Z._tag==="Left"?_.throwError(Z.left):_.of(Z.right)},Re=function(Z,$){return function(fe){return Z(fe)?_.of(fe):_.throwError($(fe))}},He=function(Z,$){return function(fe){return _.chain(fe,function(Ce){return Z(Ce)?_.of(Ce):_.throwError($(Ce))})}};P.fromOption=de,P.fromEither=oe,P.fromPredicate=Re,P.filterOrElse=He}return P}e.pipeable=T,e.pipe=t.pipe}),Io=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeCodec=e.CODEC_ERROR_MESSAGE=void 0;var t=da(),r=Mo(),a=i=>(0,r.pipe)(i,(0,t.fold)(l=>l.map(s=>{let f=s.context[s.context.length-1];return"".concat(s.context.map(u=>u.key).join(".")," expected type '").concat(f.type.name,"'")}),()=>["no errors"])),n=(i,l)=>(0,r.pipe)(i,(0,t.fold)(s=>s.map(f=>l(f.context)),()=>["no errors"]));e.CODEC_ERROR_MESSAGE="Failed to decode codec:";function o(i,l,s=!0,f=()=>""){let u=i.decode(s&&typeof l=="string"?JSON.parse(l):l);if(u._tag==="Left")throw new Error("".concat(e.CODEC_ERROR_MESSAGE," \n\n").concat(JSON.stringify(a(u),null,2)).concat(JSON.stringify(n(u,f),null,2)));return u.right}e.decodeCodec=o}),No=N(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(l,s,f,u){u===void 0&&(u=f),Object.defineProperty(l,u,{enumerable:!0,get:function(){return s[f]}})}:function(l,s,f,u){u===void 0&&(u=f),l[u]=s[f]}),r=e&&e.__setModuleDefault||(Object.create?function(l,s){Object.defineProperty(l,"default",{enumerable:!0,value:s})}:function(l,s){l.default=s}),a=e&&e.__importStar||function(l){if(l&&l.__esModule)return l;var s={};if(l!=null)for(var f in l)f!=="default"&&Object.prototype.hasOwnProperty.call(l,f)&&t(s,l,f);return r(s,l),s};Object.defineProperty(e,"__esModule",{value:!0}),e.dictionary=void 0;var n=ut(),o=a(at()),i=(l,s,f)=>(0,n.unsafeCoerce)(o.record(o.union([l,o.undefined]),s,f));e.dictionary=i}),Fo=N(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(i,l,s,f){f===void 0&&(f=s),Object.defineProperty(i,f,{enumerable:!0,get:function(){return l[s]}})}:function(i,l,s,f){f===void 0&&(f=s),i[f]=l[s]}),r=e&&e.__setModuleDefault||(Object.create?function(i,l){Object.defineProperty(i,"default",{enumerable:!0,value:l})}:function(i,l){i.default=l}),a=e&&e.__importStar||function(i){if(i&&i.__esModule)return i;var l={};if(i!=null)for(var s in i)s!=="default"&&Object.prototype.hasOwnProperty.call(i,s)&&t(l,i,s);return r(l,i),l};Object.defineProperty(e,"__esModule",{value:!0}),e.FixedLengthString=void 0;var n=a(at()),o=i=>n.brand(n.string,l=>l.length===i,"FixedLengthString");e.FixedLengthString=o}),Lo=N(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(i,l,s,f){f===void 0&&(f=s),Object.defineProperty(i,f,{enumerable:!0,get:function(){return l[s]}})}:function(i,l,s,f){f===void 0&&(f=s),i[f]=l[s]}),r=e&&e.__setModuleDefault||(Object.create?function(i,l){Object.defineProperty(i,"default",{enumerable:!0,value:l})}:function(i,l){i.default=l}),a=e&&e.__importStar||function(i){if(i&&i.__esModule)return i;var l={};if(i!=null)for(var s in i)s!=="default"&&Object.prototype.hasOwnProperty.call(i,s)&&t(l,i,s);return r(l,i),l};Object.defineProperty(e,"__esModule",{value:!0}),e.FixedLengthArray=void 0;var n=a(at()),o=(i,l,s)=>n.brand(n.array(s),f=>i<=f.length&&f.length<=l,"fixedLengthArray");e.FixedLengthArray=o}),Ro=N(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(i,l,s,f){f===void 0&&(f=s),Object.defineProperty(i,f,{enumerable:!0,get:function(){return l[s]}})}:function(i,l,s,f){f===void 0&&(f=s),i[f]=l[s]}),r=e&&e.__setModuleDefault||(Object.create?function(i,l){Object.defineProperty(i,"default",{enumerable:!0,value:l})}:function(i,l){i.default=l}),a=e&&e.__importStar||function(i){if(i&&i.__esModule)return i;var l={};if(i!=null)for(var s in i)s!=="default"&&Object.prototype.hasOwnProperty.call(i,s)&&t(l,i,s);return r(l,i),l};Object.defineProperty(e,"__esModule",{value:!0}),e.partialRecord=void 0;var n=a(at()),o=(i,l,s)=>n.record(n.union([i,n.undefined]),l,s);e.partialRecord=o}),Bo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isCodecError=void 0;function t(r){return r.message.startsWith("Failed to decode codec")}e.isCodecError=t}),ko=N(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(o,i,l,s){s===void 0&&(s=l),Object.defineProperty(o,s,{enumerable:!0,get:function(){return i[l]}})}:function(o,i,l,s){s===void 0&&(s=l),o[s]=i[l]}),r=e&&e.__setModuleDefault||(Object.create?function(o,i){Object.defineProperty(o,"default",{enumerable:!0,value:i})}:function(o,i){o.default=i}),a=e&&e.__importStar||function(o){if(o&&o.__esModule)return o;var i={};if(o!=null)for(var l in o)l!=="default"&&Object.prototype.hasOwnProperty.call(o,l)&&t(i,o,l);return r(i,o),i};Object.defineProperty(e,"__esModule",{value:!0}),e.NonEmptyString=void 0;var n=a(at());e.NonEmptyString=n.brand(n.string,o=>o.trim().length!==0,"NonEmptyString")}),xo=N(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(a,n,o,i){i===void 0&&(i=o),Object.defineProperty(a,i,{enumerable:!0,get:function(){return n[o]}})}:function(a,n,o,i){i===void 0&&(i=o),a[i]=n[o]}),r=e&&e.__exportStar||function(a,n){for(var o in a)o!=="default"&&!Object.prototype.hasOwnProperty.call(n,o)&&t(n,a,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(Io(),e),r(No(),e),r(Fo(),e),r(Lo(),e),r(Ro(),e),r(Bo(),e),r(ko(),e)}),jo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HttpMethod=void 0;var t=jr();e.HttpMethod=(0,t.makeEnum)({Get:"GET",Post:"POST",Delete:"DELETE",Put:"PUT",Patch:"PATCH"})}),ha=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEntries=void 0;function t(r){return Object.entries(r)}e.getEntries=t}),Ho=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getValues=void 0;function t(r){return Object.values(r)}e.getValues=t}),Uo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.groupBy=void 0;function t(r,a){return r.reduce((n,o)=>{var i;let l=a(o);return n.set(l,[...(i=n.get(l))!==null&&i!==void 0?i:[],o])},new Map)}e.groupBy=t}),Vo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.gql=e.INTERFACE_REGEX=void 0,e.INTERFACE_REGEX=/(interface|type|input) [a-zA-Z0-9]* (implements .+?|){([\s\S]+?)}/;function t(r,...a){if(a.length===0)return r[0];let n=r.length-1,o="";for(let i=0;i<n;i+=1){let l=a[i],s=e.INTERFACE_REGEX.test(typeof l=="string"?l:l.toString())?(e.INTERFACE_REGEX.exec(typeof l=="string"?l:l.toString())||[])[3]:l;o+=r[i]+s}return o+=r[n],o}e.gql=t}),ma=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.invertSafe=e.invert=void 0;var t=ha();function r(n,o=!0){let i={};return(0,t.getEntries)(n).forEach(([l,s])=>{if(s===void 0)throw new Error("inverse found undefined value, this is not supported");if(Array.isArray(s))s.forEach(f=>{i[f]?i[f].push(l):i[f]=[l]});else{if(i[s]&&o)throw new Error('Encountered duplicate value inverting object: "'.concat(s,": ").concat(l," and ").concat(i[s],'"'));i[s]=l}}),i}e.invert=r;function a(n){let o={};return(0,t.getEntries)(n).forEach(([i,l])=>{if(l===void 0)throw new Error("inverse found undefined value, this is not supported");Array.isArray(l)?l.forEach(s=>{o[s]?o[s].push(i):o[s]=[i]}):o[l]?o[l].push(i):o[l]=[i]}),o}e.invertSafe=a}),Go=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})}),Ko=N(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(l,s,f,u){u===void 0&&(u=f),Object.defineProperty(l,u,{enumerable:!0,get:function(){return s[f]}})}:function(l,s,f,u){u===void 0&&(u=f),l[u]=s[f]}),r=e&&e.__setModuleDefault||(Object.create?function(l,s){Object.defineProperty(l,"default",{enumerable:!0,value:s})}:function(l,s){l.default=s}),a=e&&e.__importStar||function(l){if(l&&l.__esModule)return l;var s={};if(l!=null)for(var f in l)f!=="default"&&Object.prototype.hasOwnProperty.call(l,f)&&t(s,l,f);return r(s,l),s};Object.defineProperty(e,"__esModule",{value:!0}),e.valuesOf=void 0;var n=a(at()),o=ma();function i(l){return n.keyof((0,o.invert)(l))}e.valuesOf=i}),St=N(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(a,n,o,i){i===void 0&&(i=o),Object.defineProperty(a,i,{enumerable:!0,get:function(){return n[o]}})}:function(a,n,o,i){i===void 0&&(i=o),a[i]=n[o]}),r=e&&e.__exportStar||function(a,n){for(var o in a)o!=="default"&&!Object.prototype.hasOwnProperty.call(n,o)&&t(n,a,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(wo(),e),r(xo(),e),r(jr(),e),r(jo(),e),r(ha(),e),r(ga(),e),r(Ho(),e),r(Uo(),e),r(Vo(),e),r(ma(),e),r(Go(),e),r(Ko(),e)}),Wo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Purpose=e.ConfigurablePurpose=e.DefaultConsentValue=e.SpecialTrackingPurpose=void 0;var t=St();e.SpecialTrackingPurpose=(0,t.makeEnum)({Unknown:"Unknown",Essential:"Essential"}),e.DefaultConsentValue=(0,t.makeEnum)({Off:"off",Auto:"Auto"}),e.ConfigurablePurpose=(0,t.makeEnum)({Advertising:"Advertising",Analytics:"Analytics",Functional:"Functional",SaleOfInfo:"SaleOfInfo"}),e.Purpose=(0,t.makeEnum)(Ae(Ae({},e.SpecialTrackingPurpose),e.ConfigurablePurpose))}),va=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PrivacyRegimeEnum=void 0;var t;(function(r){r.Unknown="Unknown",r.CPRA="CPRA",r.GDPR="GDPR",r.LGPD="LGPD",r.CDPA="CDPA",r.CPA="CPA",r.NEVADA_SB220="NEVADA_SB220",r.nFADP="nFADP"})(t=e.PrivacyRegimeEnum||(e.PrivacyRegimeEnum={}))}),Hr=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewState=e.DismissedViewState=e.DeepViewState=e.ResponseViewState=e.InitialViewState=e.InitialTranscendViewState=e.IABViewState=void 0;var t=St();e.IABViewState=(0,t.makeEnum)({TCF_EU:"TCF_EU"}),e.InitialTranscendViewState=(0,t.makeEnum)({QuickOptions:"QuickOptions",QuickOptions3:"QuickOptions3",AcceptAll:"AcceptAll",AcceptAllRejectAllToggle:"AcceptAllRejectAllToggle",AcceptAllOrMoreChoices:"AcceptAllOrMoreChoices",AcceptOrRejectAll:"AcceptOrRejectAll",AcceptOrRejectAllOrMoreChoices:"AcceptOrRejectAllOrMoreChoices",AcceptOrRejectAnalytics:"AcceptOrRejectAnalytics",AcceptOrRejectAdvertising:"AcceptOrRejectAdvertising",NoticeAndDoNotSell:"NoticeAndDoNotSell",DoNotSellExplainer:"DoNotSellExplainer",CompleteOptionsToggles:"CompleteOptionsToggles",PrivacyPolicyNotice:"PrivacyPolicyNotice",CompleteOptions:"CompleteOptions",CompleteOptionsInverted:"CompleteOptionsInverted",Hidden:"Hidden"}),e.InitialViewState=(0,t.makeEnum)(Ae(Ae({},e.InitialTranscendViewState),e.IABViewState)),e.ResponseViewState=(0,t.makeEnum)({DoNotSellDisclosure:"DoNotSellDisclosure",OptOutDisclosure:"OptOutDisclosure"}),e.DeepViewState=(0,t.makeEnum)({LanguageOptions:"LanguageOptions"}),e.DismissedViewState=(0,t.makeEnum)({Collapsed:"Collapsed",Closed:"Closed"}),e.ViewState=(0,t.makeEnum)(Ae(Ae(Ae(Ae({},e.InitialViewState),e.ResponseViewState),e.DeepViewState),e.DismissedViewState))}),ya=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserLanguage=void 0;var t=St();e.BrowserLanguage=(0,t.makeEnum)({"(Afan)/Oromoor/Oriya":"om",Abkhazian:"ab",Afar:"aa",Afrikaans:"af",Albanian:"sq",Amharic:"am","Arabic (Algeria)":"ar-DZ","Arabic (Bahrain)":"ar-BH","Arabic (Egypt)":"ar-EG","Arabic (Iraq)":"ar-IQ","Arabic (Jordan)":"ar-JO","Arabic (Kuwait)":"ar-KW","Arabic (Lebanon)":"ar-LB","Arabic (libya)":"ar-LY","Arabic (Morocco)":"ar-MA","Arabic (Oman)":"ar-OM","Arabic (Qatar)":"ar-QA","Arabic (Saudi Arabia)":"ar-SA","Arabic (Syria)":"ar-SY","Arabic (Tunisia)":"ar-TN","Arabic (U.A.E.)":"ar-AE","Arabic (Yemen)":"ar-YE",Arabic:"ar",Armenian:"hy",Assamese:"as",Aymara:"ay",Azeri:"az",Bashkir:"ba",Basque:"eu",Belarusian:"be",Bengali:"bn",Bhutani:"dz",Bihari:"bh",Bislama:"bi",Breton:"br","Bulgarian (Bulgaria)":"bg-BG",Bulgarian:"bg",Burmese:"my",Cambodian:"km",Catalan:"ca","Chinese (China)":"zh-CN","Chinese (Hong Kong SAR)":"zh-HK","Chinese (Macau SAR)":"zh-MO","Chinese (Singapore)":"zh-SG","Chinese (Taiwan)":"zh-TW",Chinese:"zh",Corsican:"co","Croatian (Croatia)":"hr-HR",Croatian:"hr","Czech (Czech Republic)":"cs-CZ",Czech:"cs","Danish (Denmark)":"da-DK",Danish:"da",Divehi:"div","Dutch (Belgium)":"nl-BE","Dutch (Netherlands)":"nl-NL",Dutch:"nl","English (Australia)":"en-AU","English (Belize)":"en-BZ","English (Canada)":"en-CA","English (Ireland)":"en-IE","English (Jamaica)":"en-JM","English (New Zealand)":"en-NZ","English (Philippines)":"en-PH","English (South Africa)":"en-ZA","English (Switzerland)":"en-CH","English (Trinidad)":"en-TT","English (United Kingdom)":"en-GB","English (United States)":"en-US","English (Zimbabwe)":"en-ZW",English:"us",Esperanto:"eo",Estonian:"et","Estonian (Estonia)":"et-EE",Faeroese:"fo",Farsi:"fa",Fiji:"fj","Finnish (Finland)":"fi-FI",Finnish:"fi","French (Belgium)":"fr-BE","French (Canada)":"fr-CA","French (France)":"fr-FR","French (Luxembourg)":"fr-LU","French (Monaco)":"fr-MC","French (Switzerland)":"fr-CH",French:"fr",Frisian:"fy","FYRO Macedonian":"mk",Gaelic:"gd",Galician:"gl",Georgian:"ka","German (Austria)":"de-AT","German (Germany)":"de-DE","German (Liechtenstein)":"de-LI","German (Luxembourg)":"de-LU","German (Switzerland)":"de-CH",German:"de","Greek (Greece)":"el-GR",Greek:"el",Greenlandic:"kl",Guarani:"gn",Gujarati:"gu",Hausa:"ha",Hebrew:"iw",Hindi:"hi","Hungarian (Hungary)":"hu-HU",Hungarian:"hu",Icelandic:"is","Icelandic (Iceland)":"is-IS",Indonesian:"in",Interlingua:"ia",Interlingue:"ie",Inupiak:"ik",Irish:"ga","Irish (Ireland)":"ga-IE","Italian (Italy)":"it-IT","Italian (Switzerland)":"it-CH",Italian:"it",Japanese:"ja",Javanese:"jw",Kannada:"kn",Kashmiri:"ks",Kazakh:"kk",Kinyarwanda:"rw",Kirghiz:"ky",Kirundi:"rn",Konkani:"kok",Korean:"ko",Kurdish:"ku",Kyrgyz:"kz",Laothian:"lo",Latin:"la",Latvian:"lv","Latvian (Latvia)":"lv-LV",Lingala:"ln","Lithuanian (Lithuania)":"lt-LT",Lithuanian:"lt",Malagasy:"mg",Malay:"ms",Malayalam:"ml",Maltese:"mt","Maltese (Malta)":"mt-MT",Maori:"mi",Marathi:"mr",Moldavian:"mo",Mongolian:"mn",Nauru:"na","Nepali (India)":"ne",Norwegian:"no","Norwegian Bokm\xE5l":"nb","Norwegian Nynorsk":"nn","Norwegian (Norway)":"no-NO","Norwegian Bokm\xE5l (Norway)":"nb-NO","Norwegian Nynorsk (Norway)":"nn-NO",Occitan:"oc",Oriya:"or","Pashto/Pushto":"ps","Polish (Poland)":"pl-PL",Polish:"pl","Portuguese (Brazil)":"pt-BR","Portuguese (Portugal)":"pt-PT","Portuguese (Switzerland)":"pt-CH",Portuguese:"pt",Punjabi:"pa",Quechua:"qu","Rhaeto-Romanic":"rm","Romanian (Moldova)":"ro-MD","Romanian (Romania)":"ro-RO",Romanian:"ro","Russian (Moldova)":"ru-MD",Russian:"ru",Samoan:"sm",Sangro:"sg",Sanskrit:"sa",Serbian:"sr","Serbo-Croatian":"sh",Sesotho:"st",Shona:"sn",Sindhi:"sd",Singhalese:"si",Siswati:"ss",Slovak:"sk","Slovak (Slovakia)":"sk-SK",Slovenian:"sl","Slovenian (Slovenia)":"sl-SI",Somali:"so",Sorbian:"sb","Spanish (Argentina)":"es-AR","Spanish (Bolivia)":"es-BO","Spanish (Chile)":"es-CL","Spanish (Colombia)":"es-CO","Spanish (Costa Rica)":"es-CR","Spanish (Dominican Republic)":"es-DO","Spanish (Ecuador)":"es-EC","Spanish (El Salvador)":"es-SV","Spanish (Espa\xF1a)":"es-ES","Spanish (Guatemala)":"es-GT","Spanish (Honduras)":"es-HN","Spanish (Mexico)":"es-MX","Spanish (Nicaragua)":"es-NI","Spanish (Panama)":"es-PA","Spanish (Paraguay)":"es-PY","Spanish (Peru)":"es-PE","Spanish (Puerto Rico)":"es-PR","Spanish (United States)":"es-US","Spanish (Uruguay)":"es-UY","Spanish (Venezuela)":"es-VE",Spanish:"es",Sundanese:"su",Sutu:"sx",Swahili:"sw","Swedish (Finland)":"sv-FI","Swedish (Sweden)":"sv-SE",Swedish:"sv","Swiss German":"gsw","Swiss German (Liechtenstein)":"gsw-LI","Swiss German (Switzerland)":"gsw-CH",Syriac:"syr",Tagalog:"tl",Tajik:"tg",Tamil:"ta",Tatar:"tt",Telugu:"te",Thai:"th",Tibetan:"bo",Tigrinya:"ti",Tonga:"to",Tsonga:"ts",Tswana:"tn",Turkish:"tr",Turkmen:"tk",Twi:"tw",Ukrainian:"uk",Urdu:"ur",Uzbek:"uz",Vietnamese:"vi",Volapuk:"vo",Welsh:"cy",Wolof:"wo",Xhosa:"xh",Yiddish:"yi",Yoruba:"yo",Zulu:"zu"})}),_a=N(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(l,s,f,u){u===void 0&&(u=f),Object.defineProperty(l,u,{enumerable:!0,get:function(){return s[f]}})}:function(l,s,f,u){u===void 0&&(u=f),l[u]=s[f]}),r=e&&e.__setModuleDefault||(Object.create?function(l,s){Object.defineProperty(l,"default",{enumerable:!0,value:s})}:function(l,s){l.default=s}),a=e&&e.__importStar||function(l){if(l&&l.__esModule)return l;var s={};if(l!=null)for(var f in l)f!=="default"&&Object.prototype.hasOwnProperty.call(l,f)&&t(s,l,f);return r(s,l),s};Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_VIEW_STATE_BY_PRIVACY_REGIME=e.TCFConfigInput=e.TCFConfig=e.ConsentManagerConfigInput=e.ConsentManagerConfig=e.OptionalConsentManagerConfig=e.RequiredConsentManagerConfig=e.ExperienceToInitialViewState=e.PrivacyRegimeToInitialViewState=e.PrivacyRegimeToInitialViewStateInput=e.ConsentManagerBreakpoints=e.ConsentManagerTheme=void 0;var n=a(at()),o=St(),i=Ur();e.ConsentManagerTheme=n.type({primaryColor:n.string,fontColor:n.string}),e.ConsentManagerBreakpoints=n.type({tablet:n.string,desktop:n.string}),e.PrivacyRegimeToInitialViewStateInput=n.partial((0,o.applyEnum)(i.PrivacyRegimeEnum,()=>(0,o.valuesOf)(i.InitialTranscendViewState))),e.PrivacyRegimeToInitialViewState=n.record((0,o.valuesOf)(i.PrivacyRegimeEnum),(0,o.valuesOf)(i.InitialTranscendViewState)),e.ExperienceToInitialViewState=n.record(n.string,(0,o.valuesOf)(i.InitialViewState)),e.RequiredConsentManagerConfig=n.type({theme:e.ConsentManagerTheme,breakpoints:e.ConsentManagerBreakpoints,privacyPolicy:n.string,secondaryPolicy:n.string,css:n.string,messages:n.string,initialViewStateByPrivacyRegime:e.ExperienceToInitialViewState,dismissedViewState:(0,o.valuesOf)(i.DismissedViewState)}),e.OptionalConsentManagerConfig=n.partial({languages:n.string,uiZIndex:n.string}),e.ConsentManagerConfig=n.intersection([e.RequiredConsentManagerConfig,e.OptionalConsentManagerConfig]),e.ConsentManagerConfigInput=n.partial(Ae(Ae({},e.OptionalConsentManagerConfig.props),e.RequiredConsentManagerConfig.props)),e.TCFConfig=n.type({vendorList:n.string,css:n.string,messages:n.string}),e.TCFConfigInput=n.partial(e.TCFConfig.props),e.DEFAULT_VIEW_STATE_BY_PRIVACY_REGIME={GDPR:i.InitialViewState.QuickOptions,LGPD:i.InitialViewState.QuickOptions,nFADP:i.InitialViewState.QuickOptions,CPRA:i.InitialViewState.Hidden,CDPA:i.InitialViewState.Hidden,CPA:i.InitialViewState.Hidden,NEVADA_SB220:i.InitialViewState.Hidden,Unknown:i.InitialViewState.Hidden}}),Ea=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_EXPERIENCE_PURPOSE_SCOPES=e.DEFAULT_EXPERIENCE_PURPOSE_OPT_OUTS=e.DEFAULT_REGIME_PURPOSE_OPT_OUTS=e.DEFAULT_REGIME_TRACKING_PURPOSE_SCOPES=e.GDPR_PURPOSES=e.UNKNOWN_DEFAULT_EXPERIENCE=void 0,e.UNKNOWN_DEFAULT_EXPERIENCE="Unknown",e.GDPR_PURPOSES=[["GDPR","LGPD","nFADP"],["Advertising","Analytics","Functional","SaleOfInfo"]],e.DEFAULT_REGIME_TRACKING_PURPOSE_SCOPES=[e.GDPR_PURPOSES,[["CPRA","CDPA","CPA","NEVADA_SB220"],["SaleOfInfo"]],[[e.UNKNOWN_DEFAULT_EXPERIENCE],[]]],e.DEFAULT_REGIME_PURPOSE_OPT_OUTS=[e.GDPR_PURPOSES],e.DEFAULT_EXPERIENCE_PURPOSE_OPT_OUTS=Object.fromEntries(e.DEFAULT_REGIME_PURPOSE_OPT_OUTS.map(([t,r])=>t.map(a=>[a,r])).flat()),e.DEFAULT_EXPERIENCE_PURPOSE_SCOPES=Object.fromEntries(e.DEFAULT_REGIME_TRACKING_PURPOSE_SCOPES.map(([t,r])=>t.map(a=>[a,r])).flat())}),Yo=N(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_EXPERIENCES=e.defaultExperience=e.RegionsOperator=e.REGIME_DISPLAY_PRIORITY=e.REGIME_TIMEZONES=e.REGIME_LANGUAGES=e.REGIME_REGIONS=void 0;var t=St(),r=va(),a=Hr(),n=_a(),o=Ea(),i=ya();e.REGIME_REGIONS={CPRA:[{country:"US",countrySubDivision:"US-CA"}],GDPR:[{country:"EU"},{country:"GB"},{country:"NO"},{country:"IS"},{country:"LI"}],LGPD:[{country:"BR"}],CDPA:[{country:"US",countrySubDivision:"US-VA"}],CPA:[{country:"US",countrySubDivision:"US-CO"}],UCPA:[{country:"US",countrySubDivision:"US-UT"}],NEVADA_SB220:[{country:"US",countrySubDivision:"US-NV"}],nFADP:[{country:"CH"}]},e.REGIME_LANGUAGES={GDPR:[i.BrowserLanguage["Bulgarian (Bulgaria)"],i.BrowserLanguage["Croatian (Croatia)"],i.BrowserLanguage["Czech (Czech Republic)"],i.BrowserLanguage["Danish (Denmark)"],i.BrowserLanguage["Dutch (Belgium)"],i.BrowserLanguage["Dutch (Netherlands)"],i.BrowserLanguage["English (Ireland)"],i.BrowserLanguage["Estonian (Estonia)"],i.BrowserLanguage["Finnish (Finland)"],i.BrowserLanguage["French (Belgium)"],i.BrowserLanguage["French (France)"],i.BrowserLanguage["French (Luxembourg)"],i.BrowserLanguage["German (Austria)"],i.BrowserLanguage["German (Germany)"],i.BrowserLanguage["German (Liechtenstein)"],i.BrowserLanguage["German (Luxembourg)"],i.BrowserLanguage["Greek (Greece)"],i.BrowserLanguage["Hungarian (Hungary)"],i.BrowserLanguage["Icelandic (Iceland)"],i.BrowserLanguage["Irish (Ireland)"],i.BrowserLanguage["Italian (Italy)"],i.BrowserLanguage["Latvian (Latvia)"],i.BrowserLanguage["Lithuanian (Lithuania)"],i.BrowserLanguage["Maltese (Malta)"],i.BrowserLanguage["Norwegian (Norway)"],i.BrowserLanguage["Norwegian Bokm\xE5l (Norway)"],i.BrowserLanguage["Norwegian Nynorsk (Norway)"],i.BrowserLanguage["Polish (Poland)"],i.BrowserLanguage["Portuguese (Portugal)"],i.BrowserLanguage["Romanian (Romania)"],i.BrowserLanguage["Slovak (Slovakia)"],i.BrowserLanguage["Slovenian (Slovenia)"],i.BrowserLanguage["Spanish (Espa\xF1a)"],i.BrowserLanguage["Swedish (Finland)"],i.BrowserLanguage["Swedish (Finland)"],i.BrowserLanguage["Swedish (Sweden)"]],LGPD:[i.BrowserLanguage["Portuguese (Brazil)"]],nFADP:[i.BrowserLanguage["German (Switzerland)"],i.BrowserLanguage["French (Switzerland)"],i.BrowserLanguage["Italian (Switzerland)"],i.BrowserLanguage["English (Switzerland)"],i.BrowserLanguage["Portuguese (Switzerland)"],i.BrowserLanguage["Swiss German (Switzerland)"]]},e.REGIME_TIMEZONES={},e.REGIME_DISPLAY_PRIORITY={GDPR:10,Unknown:100},e.RegionsOperator=(0,t.makeEnum)({In:"IN",NotIn:"NOT_IN"});function l(s){var f,u,h,d,c;let g=s==="Unknown",m=r.PrivacyRegimeEnum[s];return{name:s,displayName:s,regions:(f=e.REGIME_REGIONS[s])!==null&&f!==void 0?f:[],operator:g?e.RegionsOperator.NotIn:e.RegionsOperator.In,displayPriority:(u=e.REGIME_DISPLAY_PRIORITY[s])!==null&&u!==void 0?u:20,viewState:(h=n.DEFAULT_VIEW_STATE_BY_PRIVACY_REGIME[m])!==null&&h!==void 0?h:a.InitialViewState.Hidden,browserLanguages:(d=e.REGIME_LANGUAGES[s])!==null&&d!==void 0?d:[],browserTimeZones:(c=e.REGIME_TIMEZONES[s])!==null&&c!==void 0?c:[],experiencePurposeInputs:o.DEFAULT_EXPERIENCE_PURPOSE_SCOPES[s].map(v=>{var E,T;return{purpose:v,defaultOptOut:(T=(E=o.DEFAULT_EXPERIENCE_PURPOSE_OPT_OUTS[s])===null||E===void 0?void 0:E.includes(v))!==null&&T!==void 0?T:!1}})}}e.defaultExperience=l,e.DEFAULT_EXPERIENCES=(0,t.applyEnum)(r.PrivacyRegimeEnum,l)}),Ur=N(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(a,n,o,i){i===void 0&&(i=o),Object.defineProperty(a,i,{enumerable:!0,get:function(){return n[o]}})}:function(a,n,o,i){i===void 0&&(i=o),a[i]=n[o]}),r=e&&e.__exportStar||function(a,n){for(var o in a)o!=="default"&&!Object.prototype.hasOwnProperty.call(n,o)&&t(n,a,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(Wo(),e),r(va(),e),r(Hr(),e),r(ya(),e),r(Yo(),e)}),zo=N(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(l,s,f,u){u===void 0&&(u=f),Object.defineProperty(l,u,{enumerable:!0,get:function(){return s[f]}})}:function(l,s,f,u){u===void 0&&(u=f),l[u]=s[f]}),r=e&&e.__setModuleDefault||(Object.create?function(l,s){Object.defineProperty(l,"default",{enumerable:!0,value:s})}:function(l,s){l.default=s}),a=e&&e.__importStar||function(l){if(l&&l.__esModule)return l;var s={};if(l!=null)for(var f in l)f!=="default"&&Object.prototype.hasOwnProperty.call(l,f)&&t(s,l,f);return r(s,l),s};Object.defineProperty(e,"__esModule",{value:!0}),e.RegimePurposeScopesConfig=e.ConsentChange=e.TrackingPurpose=e.ConsentTokenPayload=e.ConsentPreferencesBody=e.FullTrackingConsentDetails=e.TrackingConsentDetails=e.TrackingConsent=e.TrackingPurposesConfig=e.DefaultConsentConfig=e.TrackingPurposesTypes=e.TrackingPurposeDetails=e.UserPrivacySignal=e.DefaultConsentConfigValue=e.AutoOptOutForGPC=e.AutoOptOutForDNT=e.AutoOptOutForGDPR=e.AutoOptOut=e.BooleanString=e.LogLevel=e.ConsoleSafeLogLevel=void 0;var n=a(at()),o=St(),i=Ur();e.ConsoleSafeLogLevel=n.keyof({info:null,log:null,warn:null,debug:null,error:null,trace:null,group:null,groupCollapsed:null,groupEnd:null}),e.LogLevel=n.union([e.ConsoleSafeLogLevel,n.literal("fatal")]),e.BooleanString=n.keyof({on:null,off:null}),e.AutoOptOut=n.literal("Auto"),e.AutoOptOutForGDPR=n.literal("AutoGDPR"),e.AutoOptOutForDNT=n.literal("AutoDNT"),e.AutoOptOutForGPC=n.literal("AutoGPC"),e.DefaultConsentConfigValue=n.union([n.boolean,e.AutoOptOut,e.AutoOptOutForGDPR,e.AutoOptOutForDNT,e.AutoOptOutForGPC,e.BooleanString]),e.UserPrivacySignal=n.union([n.literal("GPC"),n.literal("DNT")]),e.TrackingPurposeDetails=n.intersection([n.type({name:n.string,description:n.string,defaultConsent:e.DefaultConsentConfigValue,showInConsentManager:n.boolean,configurable:n.boolean,essential:n.boolean}),n.partial({trackingType:(0,o.valuesOf)(i.ConfigurablePurpose),optOutSignals:n.array(e.UserPrivacySignal)})]),e.TrackingPurposesTypes=n.record(n.string,e.TrackingPurposeDetails),e.DefaultConsentConfig=n.record(n.string,e.DefaultConsentConfigValue),e.TrackingPurposesConfig=n.intersection([n.type({useDefault:n.boolean,types:e.TrackingPurposesTypes}),n.partial({defaultConsent:n.union([e.DefaultConsentConfigValue,e.DefaultConsentConfig])})]),e.TrackingConsent=n.intersection([n.partial({Essential:n.literal(!0),Unknown:n.literal(!1)}),n.record(n.string,n.union([n.boolean,n.undefined]))]),e.TrackingConsentDetails=n.intersection([n.type({purposes:e.TrackingConsent,confirmed:n.boolean,timestamp:n.string}),n.partial({updated:n.boolean,prompted:n.boolean,metadata:n.UnknownRecord,metadataTimestamp:n.string})]),e.FullTrackingConsentDetails=n.intersection([e.TrackingConsentDetails,n.partial({tcf:n.string,usp:n.string,gpp:n.string,viewState:(0,o.valuesOf)(i.ViewState),airgapVersion:n.string})]),e.ConsentPreferencesBody=n.type({token:n.string,partition:n.string,consent:e.TrackingConsentDetails}),e.ConsentTokenPayload=n.intersection([n.type({encryptedIdentifier:n.string}),n.partial({deprecatedEncryptedIdentifiers:n.array(n.string)})]),e.TrackingPurpose=n.union([n.keyof(i.SpecialTrackingPurpose),n.string]),e.ConsentChange=n.record(e.TrackingPurpose,n.boolean),e.RegimePurposeScopesConfig=n.array((0,o.FixedLengthArray)(2,2,n.array(n.string)))}),Xo=N(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(o,i,l,s){s===void 0&&(s=l),Object.defineProperty(o,s,{enumerable:!0,get:function(){return i[l]}})}:function(o,i,l,s){s===void 0&&(s=l),o[s]=i[l]}),r=e&&e.__setModuleDefault||(Object.create?function(o,i){Object.defineProperty(o,"default",{enumerable:!0,value:i})}:function(o,i){o.default=i}),a=e&&e.__importStar||function(o){if(o&&o.__esModule)return o;var i={};if(o!=null)for(var l in o)l!=="default"&&Object.prototype.hasOwnProperty.call(o,l)&&t(i,o,l);return r(i,o),i};Object.defineProperty(e,"__esModule",{value:!0}),e.TcfV3VendorList=e.TcfGvlV3Vendor=e.TcfGvlV3DataRetention=e.TcfGvlV3Url=e.TcfGvlV3DataCategory=e.TcfGvlV3Purpose=e.TcfV2VendorList=e.TcfVendorListVersion=e.TcfVendor=e.TcfStack=e.TcfPurpose=void 0;var n=a(at());e.TcfPurpose=n.type({id:n.number,name:n.string,description:n.string,descriptionLegal:n.string}),e.TcfStack=n.type({id:n.number,purposes:n.array(n.number),specialFeatures:n.array(n.number),name:n.string,description:n.string}),e.TcfVendor=n.intersection([n.type({id:n.number,name:n.string,purposes:n.array(n.number),legIntPurposes:n.array(n.number),flexiblePurposes:n.array(n.number),specialPurposes:n.array(n.number),features:n.array(n.number),specialFeatures:n.array(n.number),policyUrl:n.string,cookieMaxAgeSeconds:n.union([n.number,n.null]),usesCookies:n.boolean}),n.partial({deletedDate:n.string,overflow:n.type({httpGetLimit:n.number}),cookieRefresh:n.boolean,usesNonCookieAccess:n.boolean,deviceStorageDisclosureUrl:n.string})]),e.TcfVendorListVersion=n.type({gvlSpecificationVersion:n.number,vendorListVersion:n.number,tcfPolicyVersion:n.number,lastUpdated:n.string}),e.TcfV2VendorList=n.intersection([e.TcfVendorListVersion,n.type({purposes:n.record(n.string,e.TcfPurpose),specialPurposes:n.record(n.string,e.TcfPurpose),features:n.record(n.string,e.TcfPurpose),specialFeatures:n.record(n.string,e.TcfPurpose),stacks:n.record(n.string,e.TcfStack),vendors:n.record(n.string,e.TcfVendor)})]),e.TcfGvlV3Purpose=n.type({id:n.number,name:n.string,description:n.string,illustrations:n.array(n.string)}),e.TcfGvlV3DataCategory=n.type({id:n.number,name:n.string,description:n.string}),e.TcfGvlV3Url=n.intersection([n.type({langId:n.string,privacy:n.string}),n.partial({legIntClaim:n.string})]),e.TcfGvlV3DataRetention=n.intersection([n.type({purposes:n.record(n.string,n.number),specialPurposes:n.record(n.string,n.number)}),n.partial({stdRetention:n.number})]),e.TcfGvlV3Vendor=n.intersection([n.type({id:n.number,name:n.string,purposes:n.array(n.number),legIntPurposes:n.array(n.number),flexiblePurposes:n.array(n.number),specialPurposes:n.array(n.number),features:n.array(n.number),specialFeatures:n.array(n.number),cookieMaxAgeSeconds:n.union([n.number,n.null]),usesCookies:n.boolean,cookieRefresh:n.boolean,usesNonCookieAccess:n.boolean,dataRetention:e.TcfGvlV3DataRetention,urls:n.array(e.TcfGvlV3Url),deviceStorageDisclosureUrl:n.string}),n.partial({deletedDate:n.string,overflow:n.type({httpGetLimit:n.number}),dataDeclaration:n.array(n.number)})]),e.TcfV3VendorList=n.intersection([e.TcfVendorListVersion,n.type({purposes:n.record(n.string,e.TcfGvlV3Purpose),specialPurposes:n.record(n.string,e.TcfGvlV3Purpose),features:n.record(n.string,e.TcfGvlV3Purpose),specialFeatures:n.record(n.string,e.TcfGvlV3Purpose),stacks:n.record(n.string,e.TcfStack),dataCategories:n.record(n.string,e.TcfGvlV3DataCategory),vendors:n.record(n.string,e.TcfGvlV3Vendor)})])}),Zo=N(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(a,n,o,i){i===void 0&&(i=o),Object.defineProperty(a,i,{enumerable:!0,get:function(){return n[o]}})}:function(a,n,o,i){i===void 0&&(i=o),a[i]=n[o]}),r=e&&e.__exportStar||function(a,n){for(var o in a)o!=="default"&&!Object.prototype.hasOwnProperty.call(n,o)&&t(n,a,o)};Object.defineProperty(e,"__esModule",{value:!0}),r(zo(),e),r(Xo(),e),r(_a(),e),r(Ur(),e),r(Ea(),e)});Ee(),Ee();var qo=Se(Ne());ke();var Qo=Se(Xt()),$o=/(?:\s*(?:,\s*)+|\s+)/,ba=self==null?void 0:self.airgap,Zt=self==null?void 0:self.transcend;function Jo(){var e;let t=Ae(Ae({},(e=ba==null?void 0:ba.loadOptions)==null?void 0:e.consentManagerConfig),Zt==null?void 0:Zt.loadOptions),{currentScript:r}=document,a=r?r.dataset:Object.create(null);return Ae(t?Ae({},t):{},a)}var Qe=Jo(),eu=(Zt==null?void 0:Zt.consentManagerConfig)||{},qt=["fatal","error","warn","info","log","debug","trace"],tu="info",ru=e=>{let t=-1;return e.forEach(r=>{let a=qt.indexOf(r);a!==-1&&(t=Math.max(a,t))}),t!==-1?qt.slice(0,t+1):[]},nu=["all","*"],Ca,Qt=((Ca=Qe.log)!=null?Ca:"").toLowerCase(),Tt=new Set(ru(nu.includes(Qt)?qt:!Qt||Qt==="off"?[]:Qt.toLowerCase().split($o))),Vr=Tt.size>qt.indexOf(tu),Gr=Object.create(null);function Sa(){return navigator.languages&&navigator.languages.length?navigator.languages:[navigator.language]}var au=e=>e.toLowerCase().split("-").flatMap((t,r,a)=>a.slice(0,r+1).join("-")).reverse(),iu=(e,t)=>t.find(r=>au(r).some(a=>e.some(n=>n.toLowerCase()===a)));function ou(e){if(Qe.locale&&e.includes(Qe.locale))return Qe.locale;let t=Sa();return iu(t,e)||Qo.ConsentManagerLanguageKey.En}var uu=e=>e.sort((t,r)=>{let a=Sa(),n=[...new Set(a.map(i=>i.split("-")[0]))],o=i=>a.includes(i)?a.indexOf(i):n.includes(i)?n.indexOf(i):1/0;return o(t)-o(r)}),Ta=async(e,t)=>{var r;return(r=Gr[t])!=null||(Gr[t]=await(async()=>{let a="".concat(e,"/").concat(t,".json"),n=await fetch(a);if(!n.ok)throw new Error("Failed to load translations for language ".concat(t));return n.json()})()),Gr[t]};function lu({supportedLanguages:e,translationsLocation:t}){let[r,a]=Ve(()=>ou(e)),[n,o]=Ve();Lt(()=>{Ta(t,r).then(l=>o(l))},[]);let i=vr(async l=>{let s=await Ta(t,l);o(s),a(l)},[a,t]);return{language:r,handleChangeLanguage:i,messages:n}}ke(),ke();var su=Se(Co()),Xe=(0,su.createLogger)("Transcend",Tt);function $t(e){return["Hidden","Closed","Collapsed","TCF_EU"].includes(e)}function cu(e){return["DoNotSellDisclosure"].includes(e)}function fu({initialViewState:e,dismissedViewState:t,eventTarget:r}){let[a,n]=Ve({current:"Hidden",previous:null,firstSelectedViewState:null}),o=vr((s,f,u=!1)=>{switch(s){case"back":a.previous!==null?n({current:a.previous,previous:a.current,auth:f,firstSelectedViewState:a.firstSelectedViewState}):Xe.warn("Tried to go back when there is no previous state");break;case"open":n({current:e,previous:a.current,auth:f,firstSelectedViewState:e||a.firstSelectedViewState});break;case"close":n({current:t,previous:a.current,auth:f,firstSelectedViewState:null});break;default:n({current:s,previous:a.current,auth:f,firstSelectedViewState:u?s:a.firstSelectedViewState||s});break}},[a,n,e,t]),i={viewState:a.current,previousViewState:a.previous},l="view-state-change";return r.dispatchEvent(new CustomEvent(l,{detail:i})),{viewState:a.current,handleSetViewState:o,auth:a.auth,firstSelectedViewState:a.firstSelectedViewState}}Ee(),ke();var Pa=_n({}),pu=({newAirgap:e,children:t})=>{let[r,a]=Ve(e);return b(Pa.Provider,{value:{airgap:r,setAirgap:a}},t)},xe=()=>In(Pa);ke();var du="cm-ui.purpose",Kr=({consentSelection:e,defaultPurposeToMessageKey:t})=>bt(()=>Object.keys(e!=null?e:{}).reduce((r,a)=>{if(r[a])return r;let n="".concat(du,".").concat(a);return yt(Ae({},r),{[a]:{id:n,defaultMessage:a,description:"Translatable name for custom purpose '".concat(a,"'")}})},t),[e,t]);Ee(),Ee(),ke();var gu=Se(Ne()),ht=Se(Xt()),ne=(0,ht.defineMessages)("ui.src.messages",{consentTitle:{defaultMessage:"What can we use data for?",description:"The title displayed when asking the user for specific opt out/in preferences."},consentTitleAcceptAll:{defaultMessage:"We use cookies",description:"The title displayed when asking the user to accept all data processing."},completeOptionsInvertedTitle:{defaultMessage:"Your Privacy Choices",description:"The title displayed in the CompleteOptionsInverted view state."},acceptAllDescription:{defaultMessage:"By clicking \u201CAccept all\u201D, you agree to the storing of cookies on your device for functional, analytics, and advertising purposes.",description:"The description displayed when asking the user to accept all data processing."},consentTitlePrivacyPolicyNotice:{defaultMessage:"Our Privacy Policy Has Changed",description:"The title displayed for the PrivacyPolicyNotice banner."},privacyPolicyNoticeDescription:{defaultMessage:"We've updated your privacy policy. Click the link below to learn more about how we use your personal information.",description:"The description displayed for the PrivacyPolicyNotice banner."},consentTitleDoNotSellExplainer:{defaultMessage:"Do Not Sell or Share My Personal Information",description:"The title displayed for the DoNotSellExplainer banner."},consentTitleAcceptOrRejectAnalytics:{defaultMessage:"This website uses analytics",description:"The title displayed for the AcceptOrRejectAnalytics banner."},acceptAnalytics:{defaultMessage:"Okay",description:'The affirmative response for opting into analytics in the "AcceptOrRejectAnalytics" view state.'},rejectAnalytics:{defaultMessage:"Do not track",description:'The negative response for opting out of analytics in the "AcceptOrRejectAnalytics" view state.'},acceptOrRejectAnalyticsDescription:{defaultMessage:'By clicking "Okay", you agree to the usage of your sensitive information for analytics purposes.',description:"The description displayed for the AcceptOrRejectAnalytics banner."},consentTitleAcceptOrRejectAdvertising:{defaultMessage:"This website uses advertising",description:"The title displayed for the AcceptOrRejectAdvertising banner."},acceptAdvertising:{defaultMessage:"Okay",description:'The affirmative response for opting into advertising in the "AcceptOrRejectAdvertising" view state.'},rejectAdvertising:{defaultMessage:"Opt out of advertising",description:'The negative response for opting out of advertising in the "AcceptOrRejectAdvertising" view state.'},acceptOrRejectAdvertisingDescription:{defaultMessage:'By clicking "Okay", you agree to the usage of your personal information for advertising purposes.',description:"The description displayed for the AcceptOrRejectAdvertising banner."},privacyPolicyNoticeButton:{defaultMessage:"Okay",description:"Button to dismiss privacy policy notice."},doNotSellOptedOut:{defaultMessage:"You have been successfully opted out.",description:"Explainer text in DoNotSellExplainer banner when opted out of sale of data."},close:{defaultMessage:"Close consent manager",description:"An accessible label for the button to close the modal"},switchLanguage:{defaultMessage:"Switch language",description:"An accessible label for the button to switch language"},doNotSellOptedIn:{defaultMessage:"Switch the toggle to opt out.",description:"Explainer text in DoNotSellExplainer banner when opted in to sale of data."},doNotSellDescription:{defaultMessage:"<p>We do not disclose your personal information to third parties in exchange for monetary consideration. In some instances, however, we may disclose your personal information to third parties in exchange for other valuable consideration, such as to enhance our product offerings, offer display advertisements, and in other ways which you can read about in our Privacy Statement.</p>\n <p>By opting out below, we will not disclose your personal information to third parties in exchange for valuable consideration.</p>\n <p>Please note that by opting out of these types of disclosures, you may limit our ability to customize your experience with content that may be of interest to you.</p>\n <p>If you have an account with us, sign in to persist your opt-out.</p>\n <p>If you do not have an account, you may opt-out of the disclosure of your personal information to third parties for valuable consideration (e.g., information stored in cookies) from this web browser below.</p>",description:"The description text for the the DoNotSellExplainer banner."},noticeTitle:{defaultMessage:"This website processes personal data",description:"The Do Not Sell/Share notice title."},saving:{defaultMessage:"Saving...",description:"The callback when preferences are being persisted."},preferencesSaved:{defaultMessage:"Preferences Saved!",description:"Confirmation that preferences are saved to an opted out state."},preferencesSavedOptedIn:{defaultMessage:"Preferences Saved!",description:"Confirmation that preferences are saved to an opted in state."},collapsedLabel:{defaultMessage:"Privacy Settings",description:"The title displayed in the collapsed version of the consent manager."},acceptAllButtonPrimary:{defaultMessage:"Accept all",description:"Button text for accepting all trackers."},rejectAllButtonPrimary:{defaultMessage:"Reject all",description:"Button text for rejecting all trackers."},moreChoicesButtonPrimary:{defaultMessage:"More choices",description:"Button text for redirecting the user to more granular consent choices."},consentTitleAcceptAllRejectAllToggle:{defaultMessage:"Your Privacy Choices",description:"The title displayed in the AcceptAllRejectAllToggle view state."},acceptAllRejectAllToggleDescription:{defaultMessage:"By opting in below, you agree to the storing of cookies on your device for functional, analytics, and advertising purposes.",description:"The description text for the AcceptAllRejectAllToggle view state."},consentTitleCompleteOptionsToggle:{defaultMessage:"Privacy Settings",description:"The title text for the CompleteOptionsToggles view state."},consentTitleCompleteOptionsToggleDescription:{defaultMessage:"Below is an overview of the different technologies we use when processing your personal information.",description:"The description text for the CompleteOptionsToggles view state."}}),Ke=(0,ht.defineMessages)("ui.src.quickOptions",{essentialsButtonPrimary:{defaultMessage:"Only Essentials",description:"Primary button text for selecting only essential data flows/cookies."},essentialsButtonSecondary:{defaultMessage:"required to operate",description:"Secondary button text for selecting only essential data flows/cookies."},functionalButtonPrimary:{defaultMessage:"Functional",description:"Primary button text for selecting functional and essential data flows/cookies."},functionalButtonSecondary:{defaultMessage:"extra site features",description:"Secondary button text for selecting functional and essential data flows/cookies."},functionalAnalyticsButtonPrimary:{defaultMessage:"Analytics",description:"Primary button text for selecting functional, analytics, and essential data flows/cookies."},functionalAnalyticsButtonSecondary:{defaultMessage:"extra site features",description:"Secondary button text for selecting functional, analytics, and essential data flows/cookies."},analyticsButtonPrimary:{defaultMessage:"Analytics",description:"Primary button text for selecting functional, essential, and analytics data flows/cookies."},analyticsButtonSecondary:{defaultMessage:"helps us improve",description:"Secondary button text for selecting functional, essential, and analytics data flows/cookies."},advertisingButtonPrimary:{defaultMessage:"Ads and Analytics",description:"Primary button text for selecting functional, essential, analytics and advertising data flows/cookies."},advertisingButtonSecondary:{defaultMessage:"helps us personalize ads",description:"Secondary button text for selecting functional, essential, analytics and advertising data flows/cookies."}}),lt=(0,ht.defineMessages)("ui.src.noticeAndDoNotSell",{confirmButtonPrimary:{defaultMessage:"Okay",description:"OK button text for the Do Not Sell/Share experience."},doNotSellPrimary:{defaultMessage:"Do Not Sell My Personal Information",description:"Do Not Sell notice in the footer of the Do Not Sell/Share experience."},doNotSellLabel:{defaultMessage:"Opt out of the sale of your personal information",description:"Hover/alt text for Do Not Sell notice in footer of the Do Not Sell/Share experience."},doNotSellHonored:{defaultMessage:"Your opt-out request has been honored.",description:"Title message for acknowledging do not sell preference has ben honored through click."},doNotSellHonoredDescription:{defaultMessage:"We've received your request for this device or browser, and we will no longer sell or share your data with third parties. Learn more about our data practices in our privacy policy.",description:"Description message for acknowledging do not sell preference has ben honored through click."},doNotSellHonoredGpc:{defaultMessage:"Opt-out preference signal honored.",description:"Title message for acknowledging do not sell preference has ben honored through GPC."}}),Wr=(0,ht.defineMessages)("ui.src.optOutDisclosure",{optOutHonored:{defaultMessage:"Your opt-out request has been honored.",description:"Title message for acknowledging opt out preference has ben honored through 1-click option."},optOutHonoredDescription:{defaultMessage:"We've received your request for this device or browser, and you have been opted out. Learn more about our data practices in our privacy policy.",description:"Description message for acknowledging opt out preference has ben honored through 1-click option."},optOutHonoredGpc:{defaultMessage:"Opt-out preference signal honored.",description:"Title message for acknowledging do not sell preference has ben honored through GPC."}}),Te=(0,ht.defineMessages)("ui.src.bottomMenu",{backButtonText:{defaultMessage:"Go back",description:"Hover text the back button in the footer of the consent banner language options."},backButtonTooltip:{defaultMessage:"Go back",description:"Main text for the back button in the footer of the consent banner language options."},moreChoicesButtonPrimary:{defaultMessage:"More choices",description:"Text for selecting specific more opt out choices."},moreChoicesButtonLabel:{defaultMessage:"Click to show more choices",description:"Hover/alt text for selecting specific privacy choices."},simplerChoicesButtonPrimary:{defaultMessage:"Simpler choices",description:"Text for selecting simpler opt out choices."},simplerChoicesButtonLabel:{defaultMessage:"Click to show simpler choices",description:"Hover/alt text for selecting simpler opt out choices."},showPolicyButtonLanguageOptions:{defaultMessage:"See our privacy policy",description:"Text for linking out to privacy policy in the LanguageOptions UI."},showPolicyButtonDoNotSellDisclosure:{defaultMessage:"See our privacy policy",description:"Text for linking out to privacy policy in the DoNotSellDisclosure UI."},showPolicyButtonOptOutDisclosure:{defaultMessage:"See our privacy policy",description:"Text for linking out to privacy policy in OptOutDisclosure UI."},showPolicyButtonQuickOptions:{defaultMessage:"See our privacy policy",description:"Text for linking out to privacy policy in the QuickOptions UI."},showPolicyButtonQuickOptions3:{defaultMessage:"See our privacy policy",description:"Text for linking out to privacy policy in the QuickOptions3 UI."},showPolicyButtonAcceptAll:{defaultMessage:"See our privacy policy",description:"Text for linking out to privacy policy in the AcceptAll UI."},showPolicyButtonAcceptAllOrMoreChoices:{defaultMessage:"See our privacy policy",description:"Text for linking out to privacy policy in the AcceptAllOrMoreChoices UI."},showPolicyButtonCompleteOptionsToggles:{defaultMessage:"See our privacy policy",description:"Text for linking out to privacy policy in the CompleteOptionsToggles UI."},showPolicyButtonAcceptOrRejectAll:{defaultMessage:"See our privacy policy",description:"Text for linking out to privacy policy in the AcceptOrRejectAll UI."},showPolicyButtonAcceptOrRejectAllOrMoreChoices:{defaultMessage:"See our privacy policy",description:"Text for linking out to privacy policy in the AcceptOrRejectAllOrMoreChoices UI."},showPolicyButtonAcceptOrRejectAnalytics:{defaultMessage:"See our privacy policy",description:"Text for linking out to privacy policy in the AcceptOrRejectAnalytics UI."},showPolicyButtonAcceptOrRejectAdvertising:{defaultMessage:"See our privacy policy",description:"Text for linking out to privacy policy in the AcceptOrRejectAdvertising UI."},showPolicyButtonAcceptAllRejectAllToggle:{defaultMessage:"See our privacy policy",description:"Text for linking out to privacy policy in the AcceptAllRejectAllToggle UI."},showPolicyButtonNoticeAndDoNotSell:{defaultMessage:"See our privacy policy",description:"Text for linking out to privacy policy in the NoticeAndDoNotSell UI."},showPolicyButtonDoNotSellExplainer:{defaultMessage:"See our privacy policy",description:"Text for linking out to privacy policy in the DoNotSellExplainer UI."},showPolicyButtonPrivacyPolicyNotice:{defaultMessage:"See our privacy policy",description:"Text for linking out to privacy policy in the PrivacyPolicyNotice UI."},showPolicyButtonCompleteOptions:{defaultMessage:"See our privacy policy",description:"Text for linking out to privacy policy in the CompleteOptions UI."},showPolicyButtonCompleteOptionsInverted:{defaultMessage:"See our privacy policy",description:"Text for linking out to privacy policy in the CompleteOptionsInverted UI."},showPolicyButtonLabel:{defaultMessage:"Visit our privacy policy",description:"Hover/alt for linking out to privacy policy."},showSecondaryPolicyButton:{defaultMessage:"Read more",description:"Text for linking out to secondary policy."},showSecondaryPolicyButtonLabel:{defaultMessage:"Read more about your privacy choices",description:"Hover/alt for linking out to secondary policy."}}),We=(0,ht.defineMessages)("ui.src.completeOptions",{essentialLabel:{defaultMessage:"Essential purposes",description:"Text for essential purposes in CompleteOptions view state."},functionalLabel:{defaultMessage:"Functionality",description:"Text for functional purposes in CompleteOptions view state."},analyticsLabel:{defaultMessage:"Analytics",description:"Text for analytics purposes in CompleteOptions view state."},advertisingLabel:{defaultMessage:"Advertising",description:"Text for advertising purposes in CompleteOptions view state."},saleOfInfoLabel:{defaultMessage:"Sale of personal information",description:"Text for sale of information purposes in CompleteOptions view state."},saveButtonPrimary:{defaultMessage:"Confirm",description:"Confirm button text in CompleteOptions view state."},essentialAriaLabel:{defaultMessage:"Essential data collection cannot be turned off.",description:"Hover/alt text for disabled essential purposes in CompleteOptions view state."},toggleDisable:{defaultMessage:"Click to disable collection of data for this purpose",description:"Hover/alt text for disabled opt in/opt out checkboxes when user is opted in in CompleteOptions view state."},toggleEnable:{defaultMessage:"Click to enable collection of data for this purpose",description:"Hover/alt text for disabled opt in/opt out checkboxes when user is opted out in CompleteOptions view state."},globalPrivacySignal:{defaultMessage:"Set automatically by your browser's Global Privacy Control signal.",description:"Text to display when Global Privacy Control (GPC) is respected."},description:{defaultMessage:"-",description:"Freeform description text for the CompleteOptions consent banner."}}),Wl=(0,ht.defineMessages)("ui.src.completeOptionsInverted",{functionalLabel:{defaultMessage:"Opt out of Functional",description:"Text for functional purposes in CompleteOptionsInverted view state."},analyticsLabel:{defaultMessage:"Opt out of Analytics",description:"Text for analytics purposes in CompleteOptionsInverted view state."},advertisingLabel:{defaultMessage:"Opt out of Advertising",description:"Text for advertising purposes in CompleteOptionsInverted view state."},saleOfInfoLabel:{defaultMessage:"Do Not Sell/Share My Personal Information.",description:"Text for sale of information purposes in CompleteOptionsInverted view state."}});Ee();function Aa(){return b("g",null,b("path",{d:"M1.10204 9.20907C1.09113 9.14909 1.08568 9.09456 1.07477 9.03459C1.03658 8.7565 0.774751 8.56021 0.496555 8.59837C0.218358 8.63654 0.0219839 8.89827 0.0601677 9.17635C0.0710774 9.24179 0.0819871 9.31267 0.0928967 9.3781C0.229268 10.1796 0.4911 10.9485 0.862029 11.6573C0.954761 11.8318 1.12932 11.9299 1.31478 11.9299C1.3966 11.9299 1.47842 11.9136 1.55479 11.87C1.80572 11.7391 1.9039 11.4283 1.76753 11.1775C1.4457 10.5722 1.22205 9.90701 1.10204 9.20907V9.20907Z"}),b("path",{d:"M2.53659 3.59285C2.66751 3.59285 2.80388 3.53832 2.90207 3.44017C3.43664 2.89491 4.04758 2.44779 4.72944 2.10973C4.98581 1.98432 5.08946 1.67897 4.96399 1.4227C4.83853 1.16642 4.53306 1.06282 4.27668 1.18823C3.49119 1.57537 2.78206 2.09337 2.16566 2.72043C1.96929 2.92217 1.97474 3.24933 2.17657 3.44563C2.28021 3.54377 2.41113 3.59285 2.53659 3.59285V3.59285Z"}),b("path",{d:"M6.54038 1.5263L6.56765 1.52085C7.31496 1.39544 8.07319 1.39544 8.80959 1.5263C8.83686 1.53175 8.86959 1.53175 8.89687 1.53175C9.14233 1.53175 9.36053 1.35727 9.40417 1.10645C9.45326 0.828361 9.2678 0.561182 8.98414 0.512108C8.12773 0.364887 7.24405 0.364887 6.38219 0.506655L6.36582 0.512108C6.09308 0.566634 5.91307 0.822908 5.95671 1.09554C6.00035 1.37908 6.26218 1.56992 6.54038 1.5263V1.5263Z"}),b("path",{d:"M1.56557 4.29079C1.31464 4.15993 1.00372 4.25262 0.872801 4.50344C0.458234 5.28317 0.185492 6.11742 0.0600303 6.98439C0.0163916 7.26248 0.212766 7.5242 0.490963 7.56782C0.518237 7.57328 0.540056 7.57328 0.56733 7.57328C0.818253 7.57328 1.03645 7.38789 1.07463 7.13707C1.18373 6.3846 1.42374 5.66485 1.7783 4.98873C1.91468 4.73245 1.81649 4.42165 1.56557 4.29079V4.29079Z"}),b("path",{d:"M14.2481 6.97349C14.259 7.02802 14.2645 7.088 14.2754 7.14252C14.3136 7.3988 14.5318 7.58419 14.7827 7.58419C14.8045 7.58419 14.8318 7.58419 14.8591 7.57873C15.1373 7.54057 15.3336 7.27884 15.2955 7.00075C15.2845 6.93532 15.2736 6.86989 15.2627 6.80446C15.1264 6.00292 14.8645 5.2341 14.4881 4.5198C14.3572 4.26898 14.0463 4.17083 13.7954 4.30715C13.5445 4.43801 13.4463 4.74881 13.5826 4.99963C13.899 5.61033 14.1281 6.27555 14.2481 6.97349Z"}),b("path",{d:"M12.4479 12.7369C11.9133 13.2822 11.3024 13.7293 10.6205 14.0674C10.3642 14.1928 10.2605 14.4981 10.386 14.7544C10.4733 14.9343 10.6587 15.0379 10.8442 15.0379C10.9206 15.0379 10.9969 15.0216 11.0678 14.9834C11.8533 14.5963 12.5625 14.0783 13.1789 13.4458C13.3752 13.244 13.3698 12.9169 13.1679 12.7206C12.9661 12.5297 12.6443 12.5352 12.4479 12.7369Z"}),b("path",{d:"M11.0789 1.19914C10.8225 1.07373 10.5171 1.17733 10.3916 1.43361C10.2661 1.68988 10.3698 1.99523 10.6262 2.12064C11.308 2.4587 11.9244 2.90582 12.459 3.45108C12.5572 3.55468 12.6935 3.60376 12.8245 3.60376C12.9554 3.60376 13.0808 3.55468 13.1845 3.45654C13.3863 3.26024 13.3918 2.93308 13.1954 2.73133C12.5735 2.10428 11.8644 1.58628 11.0789 1.19914V1.19914Z"}),b("path",{d:"M8.79322 14.6617C8.04045 14.7871 7.27132 14.7871 6.52946 14.6563C6.25126 14.6072 5.98397 14.7926 5.93488 15.0707C5.88579 15.3487 6.07125 15.6159 6.34945 15.665C6.78038 15.7413 7.22222 15.7795 7.66406 15.7795C8.095 15.7795 8.53138 15.7413 8.95686 15.6704L8.97868 15.665C9.25688 15.6159 9.43689 15.3542 9.39325 15.0707C9.34415 14.798 9.07141 14.6126 8.79322 14.6617Z"}),b("path",{d:"M4.71845 14.0619C4.0366 13.7239 3.4202 13.2767 2.89108 12.7315C2.69471 12.5297 2.36742 12.5243 2.16559 12.7206C1.96376 12.9169 1.9583 13.244 2.15468 13.4458C2.76562 14.0728 3.47475 14.5908 4.2657 14.9834C4.33661 15.0216 4.41843 15.0379 4.4948 15.0379C4.68572 15.0379 4.86573 14.9343 4.95301 14.7544C5.07847 14.4927 4.97483 14.1873 4.71845 14.0619V14.0619Z"}),b("path",{d:"M14.8537 8.61473C14.5755 8.57111 14.3136 8.7674 14.27 9.04549C14.1609 9.79795 13.9263 10.5177 13.5663 11.1938C13.4354 11.4447 13.5281 11.7555 13.7791 11.8863C13.8554 11.9245 13.9372 11.9463 14.0191 11.9463C14.2045 11.9463 14.3791 11.8481 14.4718 11.6737C14.8809 10.8939 15.1537 10.0597 15.2846 9.19271C15.3282 8.91463 15.1319 8.6529 14.8537 8.61473V8.61473Z"}),b("path",{d:"M4.55482 4.68883C5.28032 4.02361 6.17491 3.61466 7.15133 3.50561C7.49498 3.46744 7.84954 3.46744 8.18774 3.50561C8.4714 3.53832 8.72232 3.33657 8.75505 3.05304C8.78778 2.7695 8.58595 2.51868 8.3023 2.48596C7.88773 2.43689 7.4568 2.43689 7.03677 2.48596C5.84216 2.62228 4.74574 3.12392 3.86206 3.93637C3.65477 4.12721 3.63841 4.45437 3.82933 4.66157C3.93297 4.77062 4.06934 4.82515 4.20571 4.82515C4.33663 4.82515 4.45664 4.78152 4.55482 4.68883V4.68883Z"}),b("path",{d:"M7.66945 13.7293C7.88219 13.7293 8.09492 13.7184 8.30766 13.6911H8.31857C8.60222 13.6584 8.80405 13.4022 8.76587 13.1241C8.73314 12.8405 8.47676 12.6442 8.19857 12.6769H8.19311C8.01856 12.6988 7.844 12.7042 7.66945 12.7042C6.51848 12.7042 5.41115 12.2735 4.56019 11.4883C4.35291 11.2974 4.02562 11.3138 3.8347 11.521C3.64378 11.7282 3.66015 12.0553 3.86743 12.2462C4.9093 13.2059 6.2621 13.7293 7.66945 13.7293V13.7293Z"}),b("path",{d:"M9.9441 4.07814C11.1114 4.73791 11.9297 5.8666 12.1969 7.16433C12.246 7.4097 12.4588 7.57328 12.6988 7.57328C12.7315 7.57328 12.7697 7.56782 12.8024 7.56237C13.0806 7.50784 13.2606 7.23521 13.2006 6.95713C12.8733 5.36496 11.8697 3.99089 10.4514 3.1839C10.2059 3.04214 9.88955 3.12938 9.75318 3.37475C9.61135 3.62557 9.69863 3.93637 9.9441 4.07814Z"}),b("path",{d:"M3.21845 5.50128C2.96207 5.38132 2.6566 5.49583 2.5366 5.7521C2.1984 6.48821 2.0293 7.27339 2.0293 8.08038C2.0293 8.29303 2.04021 8.50568 2.06748 8.71834C2.13294 9.31267 2.29113 9.8852 2.5366 10.4196C2.62387 10.6104 2.80934 10.7195 3.00571 10.7195C3.07663 10.7195 3.14754 10.7031 3.21845 10.6704C3.47483 10.5504 3.58938 10.2505 3.47483 9.9888C3.273 9.54714 3.14208 9.07821 3.08753 8.59838C3.06572 8.42389 3.06026 8.24941 3.06026 8.07493C3.06026 7.41516 3.20209 6.77175 3.47483 6.17196C3.58938 5.92659 3.48028 5.62124 3.21845 5.50128V5.50128Z"}),b("path",{d:"M13.2008 9.20907C13.2553 8.93099 13.0753 8.65836 12.8026 8.60383C12.5244 8.54931 12.2517 8.72924 12.1971 9.00187C11.9298 10.3105 11.1116 11.4392 9.94971 12.099C9.70424 12.2407 9.61697 12.5515 9.75879 12.7969C9.85152 12.9605 10.0261 13.0532 10.2061 13.0532C10.2934 13.0532 10.3806 13.0314 10.457 12.9878C11.8807 12.1862 12.879 10.8067 13.2008 9.20907Z"}),b("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.2715 5.61577C10.9316 6.30826 11.2861 7.21885 11.2643 8.17306C11.2425 9.13272 10.8443 10.0215 10.1625 10.6813C9.48605 11.3247 8.61328 11.6737 7.68596 11.6737H7.59868C5.61857 11.63 4.04758 9.98334 4.09122 8.00403C4.11304 7.04982 4.51124 6.15559 5.20401 5.49582C5.89677 4.83605 6.80227 4.48163 7.76232 4.50344C8.71692 4.52525 9.61151 4.92329 10.2715 5.61577ZM5.11116 8.0313C5.07844 9.44353 6.20213 10.6213 7.61493 10.654C9.02774 10.6867 10.206 9.56349 10.2387 8.15126C10.2551 7.46968 10.0042 6.82081 9.52958 6.32462C9.05501 5.82843 8.41679 5.54489 7.73494 5.52854C7.05309 5.51218 6.40396 5.763 5.90757 6.23738C5.41118 6.71176 5.12753 7.34972 5.11116 8.0313Z"}))}function hu({fontColor:e}){return b("a",{className:"transcend-logo-container",href:"https://transcend.io/",target:"_blank",rel:"noopener noreferrer",title:"Powered by Transcend","aria-label":"Powered by Transcend"},b("svg",{className:"transcend-logo-svg",viewBox:"0 0 64 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b(Aa,null),b("g",{className:"transcend-wordmark",fill:e},b("path",{d:"M17.3591 4.46346H23.1514V5.6923H20.9856V11.6658H19.5284V5.6923H17.3591V4.46346Z"}),b("path",{d:"M24.0778 7.32484H24.1084C24.4203 6.73632 24.7734 6.43852 25.3772 6.43852C25.4863 6.43201 25.5956 6.44557 25.6997 6.47854V7.67678H25.6691C24.7734 7.58615 24.1284 8.05933 24.1284 9.1481V11.6658H22.7583V6.49855H24.0778V7.32484Z"}),b("path",{d:"M29.3862 11.0914H29.365C29.1025 11.4846 28.7306 11.7871 27.8443 11.7871C26.7849 11.7871 26.041 11.2327 26.041 10.2051C26.041 9.06689 26.9674 8.70436 28.1162 8.5431C28.9719 8.4254 29.365 8.35242 29.365 7.95458C29.365 7.58145 29.0731 7.34016 28.4987 7.34016C27.8537 7.34016 27.5418 7.57557 27.5017 8.06522H26.2835C26.3235 7.15889 26.9991 6.3632 28.5093 6.3632C30.0606 6.3632 30.6857 7.05767 30.6857 8.2665V10.9019C30.6857 11.2939 30.7457 11.5258 30.8669 11.6164V11.667H29.5474C29.4662 11.5646 29.4156 11.3233 29.3862 11.0914ZM29.3956 9.84257V9.06689C29.1543 9.20814 28.7812 9.28818 28.4387 9.36939C27.7242 9.53065 27.3711 9.69191 27.3711 10.1757C27.3711 10.6594 27.6936 10.8301 28.1774 10.8301C28.9625 10.8301 29.3956 10.3463 29.3956 9.84257Z"}),b("path",{d:"M32.9693 7.2036H32.9987C33.3519 6.64921 33.8227 6.3573 34.5289 6.3573C35.5965 6.3573 36.3121 7.16358 36.3121 8.2912V11.6658H34.9432V8.48776C34.9432 7.93455 34.6207 7.54612 34.0463 7.54612C33.4425 7.54612 32.9987 8.02989 32.9987 8.73494V11.6658H31.6287V6.49855H32.9693V7.2036Z"}),b("path",{d:"M36.9995 9.99322H38.2696C38.3602 10.5876 38.7827 10.8501 39.3972 10.8501C40.0116 10.8501 40.3388 10.6147 40.3388 10.2557C40.3388 9.76252 39.6844 9.7119 38.9793 9.57066C38.053 9.38939 37.1466 9.1375 37.1466 8.00989C37.1466 6.88227 38.073 6.36201 39.2512 6.36201C40.6119 6.36201 41.3699 7.03764 41.4676 8.07462H40.2329C40.1728 7.52023 39.8209 7.31896 39.2359 7.31896C38.7027 7.31896 38.3496 7.52023 38.3496 7.89336C38.3496 8.33711 39.0346 8.37713 39.7703 8.52779C40.6366 8.70906 41.5935 8.95153 41.5935 10.1592C41.5935 11.1973 40.7072 11.8212 39.4172 11.8212C37.9164 11.8165 37.0807 11.0914 36.9995 9.99322Z"}),b("path",{d:"M42.1055 9.08688C42.1055 7.54612 43.113 6.3573 44.6844 6.3573C46.0239 6.3573 46.8502 7.13298 47.0314 8.25117H45.6908C45.6557 8.0275 45.5412 7.82395 45.3683 7.67782C45.1953 7.53168 44.9755 7.45275 44.7491 7.45549C43.9252 7.45549 43.5003 8.08992 43.5003 9.08688C43.5003 10.0638 43.8934 10.7195 44.7291 10.7195C45.2835 10.7195 45.6708 10.4264 45.7661 9.84255H47.0856C46.9949 10.9407 46.1439 11.8165 44.7597 11.8165C43.1224 11.8165 42.1055 10.6288 42.1055 9.08688Z"}),b("path",{d:"M47.5918 9.07746C47.5918 7.5473 48.6288 6.3573 50.1401 6.3573C51.8021 6.3573 52.6884 7.62616 52.6884 9.4706H48.9407C49.0419 10.2663 49.4857 10.7595 50.2602 10.7595C50.7946 10.7595 51.1065 10.517 51.2583 10.125H52.6072C52.4165 11.0408 51.6008 11.8165 50.2708 11.8165C48.5582 11.8165 47.5918 10.6182 47.5918 9.07746ZM48.9619 8.52307H51.2583C51.2171 7.86863 50.7875 7.41547 50.1601 7.41547C49.4351 7.41547 49.0819 7.84862 48.9619 8.52307Z"}),b("path",{d:"M54.7 7.2036H54.7295C55.0826 6.64921 55.5534 6.3573 56.2596 6.3573C57.3272 6.3573 58.0429 7.16358 58.0429 8.2912V11.6658H56.6728V8.48776C56.6728 7.93455 56.3503 7.54612 55.7759 7.54612C55.172 7.54612 54.7283 8.02989 54.7283 8.73494V11.6658H53.3594V6.49855H54.7V7.2036Z"}),b("path",{d:"M58.7019 9.08691C58.7019 7.47553 59.6188 6.35733 60.9077 6.35733C61.1972 6.3446 61.4848 6.4088 61.7414 6.5434C61.998 6.678 62.2144 6.87819 62.3684 7.12359H62.399V4.46346H63.7691V11.6658H62.4496V10.9914H62.4284C62.1271 11.4846 61.6127 11.8153 60.8877 11.8153C59.5882 11.8165 58.7019 10.7595 58.7019 9.08691ZM62.4284 9.11751C62.4284 8.12997 62.1071 7.46964 61.2302 7.46964C60.4745 7.46964 60.092 8.1335 60.092 9.09044C60.092 10.0886 60.4851 10.6724 61.1902 10.6724C62.0059 10.6665 62.4284 10.0639 62.4284 9.11751Z"}))))}function mu({handleSetViewState:e}){let{formatMessage:t}=(0,gu.useIntl)(),r=mr(null);return b("button",{onClick:()=>e("open"),className:"collapsed-container","aria-label":t(ne.collapsedLabel)},b("svg",{className:"collapsed-square-logo-svg",viewBox:"0 0 15.25 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b(Aa,null)),b("p",{ref:r},t(ne.collapsedLabel)))}Ee();var vu=Se(Ne());Ee();function we({primaryText:e,secondaryText:t,handleClick:r}){return b("button",{className:"button",onClick:r},b("span",{className:"button-base-text button-primary-text"},e),t&&b("span",{className:"button-base-text button-secondary-text"},t))}function yu({handleSetViewState:e}){let{airgap:t}=xe(),{formatMessage:r}=(0,vu.useIntl)(),a=n=>{n.preventDefault(),t.optIn(n),e("close")};return b("div",{className:"column-content"},b("div",null,b("div",null,b("p",{id:"consent-dialog-title",className:"text-title text-title-left"},r(ne.consentTitleAcceptAll))),b("div",null,b("p",{className:"paragraph"},b("div",{dangerouslySetInnerHTML:{__html:r(ne.acceptAllDescription)}})))),b(we,{primaryText:r(ne.acceptAllButtonPrimary),handleClick:a}))}Ee();var _u=Se(Ne());Ee();function mt({label:e,type:t,onClick:r,href:a,children:n}){return b(ft,null,t==="button"&&b("button",{onClick:r,className:"bottom-menu-item","aria-label":e,title:e},n),t==="a"&&b("a",{className:"bottom-menu-item",href:a,target:"_blank",rel:"noopener noreferrer","aria-label":e,title:e},n))}var Eu={LanguageOptions:Te.showPolicyButtonLanguageOptions,DoNotSellDisclosure:Te.showPolicyButtonDoNotSellDisclosure,OptOutDisclosure:Te.showPolicyButtonOptOutDisclosure,QuickOptions:Te.showPolicyButtonQuickOptions,QuickOptions3:Te.showPolicyButtonQuickOptions3,AcceptAll:Te.showPolicyButtonAcceptAll,AcceptAllOrMoreChoices:Te.showPolicyButtonAcceptAllOrMoreChoices,AcceptOrRejectAll:Te.showPolicyButtonAcceptOrRejectAll,AcceptOrRejectAllOrMoreChoices:Te.showPolicyButtonAcceptOrRejectAllOrMoreChoices,AcceptOrRejectAnalytics:Te.showPolicyButtonAcceptOrRejectAnalytics,AcceptOrRejectAdvertising:Te.showPolicyButtonAcceptOrRejectAdvertising,AcceptAllRejectAllToggle:Te.showPolicyButtonAcceptAllRejectAllToggle,NoticeAndDoNotSell:Te.showPolicyButtonNoticeAndDoNotSell,DoNotSellExplainer:Te.showPolicyButtonDoNotSellExplainer,PrivacyPolicyNotice:Te.showPolicyButtonPrivacyPolicyNotice,CompleteOptions:Te.showPolicyButtonCompleteOptions,CompleteOptionsInverted:Te.showPolicyButtonCompleteOptionsInverted,Collapsed:Te.showPolicyButtonCompleteOptionsInverted,Closed:Te.showPolicyButtonCompleteOptionsInverted,Hidden:Te.showPolicyButtonCompleteOptionsInverted,TCF_EU:void 0,CompleteOptionsToggles:Te.showPolicyButtonCompleteOptionsToggles};function bu({viewState:e,handleSetViewState:t,firstSelectedViewState:r,secondaryPolicy:a,privacyPolicy:n}){let{formatMessage:o}=(0,_u.useIntl)(),i=Eu[e];return b("div",{className:"bottom-menu-container"},e==="LanguageOptions"?b("div",{className:"bottom-menu-item-container"},b(mt,{label:o(Te.backButtonTooltip),type:"button",onClick:l=>t("back",l)},o(Te.backButtonText))):!["NoticeAndDoNotSell","DoNotSellDisclosure","OptOutDisclosure","PrivacyPolicyNotice","AcceptOrRejectAnalytics","AcceptAllOrMoreChoices","AcceptOrRejectAllOrMoreChoices","CompleteOptionsInverted","DoNotSellExplainer","CompleteOptionsToggles","LanguageOptions","AcceptAllRejectAllToggle"].includes(e)&&(e==="CompleteOptions"?!r||r==="CompleteOptions"?null:b("div",{className:"bottom-menu-item-container"},b(mt,{label:o(Te.simplerChoicesButtonLabel),type:"button",onClick:()=>t(r)},o(Te.simplerChoicesButtonPrimary))):b("div",{className:"bottom-menu-item-container"},b(mt,{label:o(Te.moreChoicesButtonLabel),type:"button",onClick:()=>t("CompleteOptions")},o(Te.moreChoicesButtonPrimary)))),e==="NoticeAndDoNotSell"&&b("div",{className:"bottom-menu-item-container"},b(mt,{label:o(lt.doNotSellLabel),type:"button",onClick:()=>t("CompleteOptions")},o(lt.doNotSellPrimary))),a&&e==="CompleteOptionsInverted"&&b("div",{className:"bottom-menu-item-container"},b(mt,{label:o(Te.showSecondaryPolicyButtonLabel),type:"a",href:a,target:"_blank",rel:"noopener noreferrer"},o(Te.showSecondaryPolicyButton))),b("div",{className:"bottom-menu-item-container"},b(mt,{label:o(Te.showPolicyButtonLabel),type:"a",href:n,target:"_blank",rel:"noopener noreferrer"},i?o(i):"Undefined Policy Link Message")))}Ee(),ke();var Cu=Se(Ne());function Yr(e){let t=e.getConsent(),r={},a=e.getRegimePurposes(),n=e.getPurposeTypes();return Object.keys(n).filter(o=>a.has(o)).forEach(o=>{let{configurable:i,showInConsentManager:l}=n[o];l&&i&&(r[o]=!!t.purposes[o])}),r}Ee();var Su=Se(Ne());function Tu(e){let t=e.getConsent(),r="SaleOfInfo";return!!t.purposes[r]}function Jt(){let{formatMessage:e}=(0,Su.useIntl)(),{airgap:t}=xe(),r=Tu(t);return t.getPrivacySignals().has("GPC")&&!r?b("div",{className:"gpc-setting"},b("svg",{height:"6",width:"6"},b("circle",{cx:"3",cy:"3",r:"3",fill:"#52c41a"})),b("p",null,e(We.globalPrivacySignal))):b("span",{style:{display:"none"}})}Ee(),ke();var Pu=Se(Ne());function zr({name:e,initialToggleState:t,disabled:r,handleToggle:a,ariaLabel:n,invertLabels:o}){let{formatMessage:i}=(0,Pu.useIntl)(),[l,s]=Ve(t),f=d=>{let{checked:c}=d.target;s(c),a(c)},u=e.replace(/\s/g,"-").toLowerCase(),h=o?!l:!!l;return b("label",{className:"toggle-label",htmlFor:u,"aria-label":n||"".concat(i(h?We.toggleDisable:We.toggleEnable)," \u2013 ").concat(e.toLocaleLowerCase()),title:n||"".concat(i(h?We.toggleDisable:We.toggleEnable)," \u2013 ").concat(e.toLocaleLowerCase())},b("input",{className:"toggle-input",type:"checkbox",id:u,name:e,checked:l,onChange:f,disabled:r}),b("span",{className:"toggle-checkmark"}),e)}var Ze={confirmed:!0,prompted:!0},er={Essential:We.essentialLabel,Functional:We.functionalLabel,Analytics:We.analyticsLabel,Advertising:We.advertisingLabel,SaleOfInfo:We.saleOfInfoLabel},je=Object.keys(er);function Au({handleSetViewState:e}){let{formatMessage:t}=(0,Cu.useIntl)(),{airgap:r}=xe(),a=Yr(r),n=Kr({consentSelection:a,defaultPurposeToMessageKey:er}),[o,i]=Ve(a),l=(h,d)=>{let c={};c[h]=d,i(Ae(Ae({},o),c))},s=h=>{h.preventDefault();let d=r.getConsent();Object.entries(o).forEach(([c,g])=>{d.purposes[c]=g}),r.setConsent(h,d.purposes,Ze),e("close")},f=Object.entries(o).sort(([h],[d])=>je.indexOf(h)<0&&je.indexOf(d)>0?1:je.indexOf(d)<0&&je.indexOf(h)>0?-1:je.indexOf(h)-je.indexOf(d)),u=t(We.description);return b("div",{className:"complete-options-container"},b("p",{id:"consent-dialog-title",className:"text-title text-title-center"},t(ne.consentTitle)),b("form",{className:"complete-options-form"},b(Jt,null),u&&u!=="-"?b("p",{className:"paragraph"},b("div",{dangerouslySetInnerHTML:{__html:u}})):void 0,b("div",{className:"toggles-container"},b(zr,{key:"Essential",name:t(n.Essential),initialToggleState:!0,disabled:!0,handleToggle:()=>{},ariaLabel:t(We.essentialAriaLabel)}),f.map(([h,d])=>b(zr,{key:h,name:Object.hasOwnProperty.call(n,h)?t(n[h]):h,initialToggleState:d,disabled:!1,handleToggle:c=>l(h,c)}))),b(we,{handleClick:s,primaryText:t(We.saveButtonPrimary)})))}Ee();var Ou=Se(Ne());function Du({handleSetViewState:e,viewState:t,fontColor:r,supportedLanguages:a}){let{formatMessage:n}=(0,Ou.useIntl)(),o=t==="LanguageOptions",i=l=>{o?e("back",l):e("LanguageOptions")};return a&&a.length<2?b("span",null):b("button",{type:"button",className:"language-button ".concat(o?"language-button-active":"language-button-inactive"),onClick:i,"aria-label":n(ne.switchLanguage)},b("svg",{fill:r,width:"17",height:"17",viewBox:"0 0 17 17",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},b("path",{d:"M1.54545 0C0.700815 0 0 0.700815 0 1.54545V10.0455C0 10.8901 0.700815 11.5909 1.54545 11.5909H5.40909V15.4545C5.40909 16.3084 6.10068 17 6.95455 17H15.4545C16.3084 17 17 16.3084 17 15.4545V6.95455C17 6.10068 16.3084 5.40909 15.4545 5.40909H11.5909V1.54545C11.5909 0.700815 10.8901 0 10.0455 0H1.54545ZM1.54545 1.54545H10.0455V6.18182L6.18182 10.0455H1.54545V1.54545ZM5.40909 2.70455V3.86364H3.09091V4.63636H6.95455C6.95455 5.83331 6.61732 6.55191 5.99618 7.02397C5.82635 7.15304 5.62398 7.26123 5.40154 7.35449C5.15205 7.2311 4.91771 7.09143 4.72088 6.92587C4.16677 6.45979 3.86364 5.86635 3.86364 5.40909H3.09091C3.09091 6.17969 3.5342 6.93826 4.22283 7.51749C4.26843 7.55584 4.32435 7.58639 4.37225 7.62314C3.98477 7.68505 3.56774 7.72727 3.09091 7.72727V8.5C3.95275 8.5 4.71991 8.41088 5.37589 8.19513C5.85407 8.3841 6.38426 8.5 6.95455 8.5V7.72727C6.76545 7.72727 6.58468 7.70391 6.40669 7.67596C6.42513 7.66256 6.44592 7.65201 6.46404 7.63823C7.29178 7.00915 7.72727 5.98942 7.72727 4.63636H8.5V3.86364H6.18182V2.70455H5.40909ZM10.3564 8.48189H12.0497L13.8804 13.9272H12.3712L12.0316 12.7304H10.2537L9.90359 13.9272H8.53018L10.3564 8.48189ZM11.114 9.7089L10.5178 11.7343H11.7705L11.1864 9.7089H11.114Z"})),b("span",{className:"screen-reader"},n(ne.switchLanguage)))}Ee();var me=Se(Xt()),Oa=Object.values(me.ConsentManagerLanguageKey),Da={[me.ConsentManagerLanguageKey.En]:"English",[me.ConsentManagerLanguageKey.FrFr]:"Fran\xE7ais",[me.ConsentManagerLanguageKey.DeDe]:"Deutsch",[me.ConsentManagerLanguageKey.ItIt]:"Italiano",[me.ConsentManagerLanguageKey.PtBr]:"Portugu\xEAs",[me.ConsentManagerLanguageKey.Es419]:"Espa\xF1ol",[me.ConsentManagerLanguageKey.EsEs]:"Espa\xF1ol (Castellano)",[me.ConsentManagerLanguageKey.CsCz]:"\u010Ce\u0161tina",[me.ConsentManagerLanguageKey.DaDk]:"Dansk",[me.ConsentManagerLanguageKey.FiFi]:"Suomi",[me.ConsentManagerLanguageKey.ElGr]:"\u03B5\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",[me.ConsentManagerLanguageKey.LtLt]:"Lietuvi\u0173",[me.ConsentManagerLanguageKey.NbNi]:"Bokm\xE5l",[me.ConsentManagerLanguageKey.PlPl]:"Polski",[me.ConsentManagerLanguageKey.RoRo]:"Rom\xE2n\u0103",[me.ConsentManagerLanguageKey.RuRu]:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439 \u044F\u0437\u044B\u043A",[me.ConsentManagerLanguageKey.SrLatnRs]:"Srpski",[me.ConsentManagerLanguageKey.SvSe]:"Svenska",[me.ConsentManagerLanguageKey.ArAe]:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",[me.ConsentManagerLanguageKey.JaJp]:"\u65E5\u672C\u8A9E",[me.ConsentManagerLanguageKey.KoKr]:"\uD55C\uAD6D\uC5B4",[me.ConsentManagerLanguageKey.ZhCn]:"\u6C49\u8BED",[me.ConsentManagerLanguageKey.ZhHk]:"\u6F22\u8A9E",[me.ConsentManagerLanguageKey.RuRu]:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439 \u044F\u0437\u044B\u043A",[me.ConsentManagerLanguageKey.AfZz]:"Afrikaans",[me.ConsentManagerLanguageKey.BgBg]:"\u0431\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",[me.ConsentManagerLanguageKey.HrHr]:"Hrvatski",[me.ConsentManagerLanguageKey.HuHu]:"Magyar",[me.ConsentManagerLanguageKey.IdId]:"Bahasa Indonesia",[me.ConsentManagerLanguageKey.MsMy]:"Bahasa Melayu",[me.ConsentManagerLanguageKey.HiIn]:"\u0939\u093F\u0928\u094D\u0926\u0940",[me.ConsentManagerLanguageKey.MrIn]:"\u092E\u0930\u093E\u0920\u0940",[me.ConsentManagerLanguageKey.TaIn]:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",[me.ConsentManagerLanguageKey.ThTh]:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",[me.ConsentManagerLanguageKey.TrTr]:"T\xFCrk\xE7e",[me.ConsentManagerLanguageKey.UkUa]:"\u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430 \u043C\u043E\u0432\u0430",[me.ConsentManagerLanguageKey.ViVn]:"Ti\u1EBFng Vi\u1EC7t",[me.ConsentManagerLanguageKey.NlNl]:"Nederlands",[me.ConsentManagerLanguageKey.HeIl]:"\u05E2\u05D1\u05E8\u05D9\u05EA"};ke();function wu({handleChangeLanguage:e,handleSetViewState:t,supportedLanguages:r}){function a(o,i){e(o),t("back",i)}let n=bt(()=>uu(r),[r]);return b("div",{className:"language-options-container"},n.map(o=>b("div",{key:o,className:"language-item-container"},b(mt,{label:Da[o]||"",type:"button",onClick:i=>a(o,i)},Da[o]))))}Ee(),ke();var Mu=Se(Ne());function Iu({handleSetViewState:e}){let{formatMessage:t}=(0,Mu.useIntl)(),{airgap:r}=xe(),a=Yr(r),n=Kr({consentSelection:a,defaultPurposeToMessageKey:er}),[o,i]=Ve(a),l=(u,h)=>{let d={};d[u]=!h,i(Ae(Ae({},o),d))},s=u=>{u.preventDefault();let h=r.getConsent();Object.entries(o).forEach(([d,c])=>{h.purposes[d]=c}),r.setConsent(u,h.purposes,Ze),e("close")},f=Object.entries(o).sort(([u],[h])=>je.indexOf(u)<0&&je.indexOf(h)>0?1:je.indexOf(h)<0&&je.indexOf(u)>0?-1:je.indexOf(u)-je.indexOf(h));return b("div",{className:"complete-options-container"},b("p",{id:"consent-dialog-title",className:"text-title text-title-center"},t(ne.completeOptionsInvertedTitle)),b("form",{className:"complete-options-form"},b(Jt,null),b("div",{className:"toggles-container"},f.map(([u,h])=>b(zr,{key:u,invertLabels:!0,name:Object.hasOwnProperty.call(n,u)?t(n[u]):u,initialToggleState:!h,disabled:!1,handleToggle:d=>l(u,d)}))),b(we,{handleClick:s,primaryText:t(We.saveButtonPrimary)})))}Ee();var Nu=Se(Ne());function Fu({handleSetViewState:e}){let{airgap:t}=xe(),{formatMessage:r}=(0,Nu.useIntl)(),a=n=>{n.preventDefault(),t.setConsent(n,t.getConsent().purposes,Ze),e("close")};return b("div",{className:"column-content"},b("p",{id:"consent-dialog-title",className:"text-title text-title-left"},r(ne.noticeTitle)),b(we,{primaryText:r(lt.confirmButtonPrimary),handleClick:a}))}Ee();var Lu=Se(Ne());function Ru({handleSetViewState:e}){let{formatMessage:t}=(0,Lu.useIntl)(),{airgap:r}=xe(),a=(n,o)=>{n.preventDefault();let i=r.getConsent(),l={0:["Essential"],1:["Essential","Functional"],2:["Essential","Functional","Analytics"],3:["Essential","Functional","Analytics","Advertising"]};Object.keys(i.purposes).forEach(s=>{i.purposes[s]=l[o].includes(s)}),r.setConsent(n,i.purposes,Ze),e("close")};return b("div",null,b("p",{id:"consent-dialog-title",className:"text-title text-title-center"},t(ne.consentTitle)),b("div",{className:"column-content"},b(we,{primaryText:t(Ke.essentialsButtonPrimary),secondaryText:t(Ke.essentialsButtonSecondary),handleClick:n=>a(n,0)}),b(we,{primaryText:t(Ke.functionalButtonPrimary),secondaryText:t(Ke.functionalButtonSecondary),handleClick:n=>a(n,1)}),b(we,{primaryText:t(Ke.analyticsButtonPrimary),secondaryText:t(Ke.analyticsButtonSecondary),handleClick:n=>a(n,2)}),b(we,{primaryText:t(Ke.advertisingButtonPrimary),secondaryText:t(Ke.advertisingButtonSecondary),handleClick:n=>a(n,3)})))}Ee();var Bu=Se(Ne());ke();function ku({handleSetViewState:e,modalOpenAuth:t}){let{airgap:r}=xe(),{formatMessage:a}=(0,Bu.useIntl)(),[n,o]=Ve(!1),i=f=>{r.optOut(f)},l=()=>{e("close")},s=r.getPrivacySignals().has("GPC");return Lt(()=>{i(t),o(!0)},[]),n?b("div",{className:"column-content"},b("div",null,b("div",null,b("p",{id:"consent-dialog-title",className:"text-title text-title-left"},a(s?Wr.optOutHonoredGpc:Wr.optOutHonored))),b("div",null,b("p",{className:"paragraph"},b("div",{dangerouslySetInnerHTML:{__html:a(Wr.optOutHonoredDescription)}})))),b(we,{primaryText:a(lt.confirmButtonPrimary),handleClick:l})):b("div",null)}Ee();var xu=Se(Ne());function ju({handleSetViewState:e}){let{airgap:t}=xe(),{formatMessage:r}=(0,xu.useIntl)();return b("div",{className:"column-content"},b("div",null,b("div",null,b("p",{id:"consent-dialog-title",className:"text-title text-title-left"},r(ne.consentTitleAcceptOrRejectAdvertising))),b("div",null,b("p",{className:"paragraph"},b("div",{dangerouslySetInnerHTML:{__html:r(ne.acceptOrRejectAdvertisingDescription)}})))),b("div",{className:"accept-or-reject-all-button-row"},b(we,{primaryText:r(ne.acceptAdvertising),handleClick:a=>{a.preventDefault(),t.setConsent(a,{Advertising:!0},Ze),e("close")}}),b(we,{primaryText:r(ne.rejectAdvertising),handleClick:a=>{a.preventDefault(),t.setConsent(a,{Advertising:!1},Ze),e("close")}})))}Ee();var Hu=Se(Ne());function Uu({handleSetViewState:e}){let{airgap:t}=xe(),{formatMessage:r}=(0,Hu.useIntl)(),a=o=>{o.preventDefault(),t.optIn(o),e("close")},n=o=>{o.preventDefault(),t.optOut(o),e("close")};return b("div",{className:"column-content"},b("div",null,b("div",null,b("p",{id:"consent-dialog-title",className:"text-title text-title-left"},r(ne.consentTitleAcceptAll))),b("div",null,b("p",{className:"paragraph"},b("div",{dangerouslySetInnerHTML:{__html:r(ne.acceptAllDescription)}})))),b("div",{className:"accept-or-reject-all-button-row"},b(we,{primaryText:r(ne.acceptAllButtonPrimary),handleClick:a}),b(we,{primaryText:r(ne.rejectAllButtonPrimary),handleClick:n})))}Ee();var Vu=Se(Ne());ke();function Gu({handleSetViewState:e,modalOpenAuth:t}){let{airgap:r}=xe(),{formatMessage:a}=(0,Vu.useIntl)(),[n,o]=Ve(!1),i=f=>{r.setConsent(f,{SaleOfInfo:!1},Ze)},l=()=>{e("close")},s=r.getPrivacySignals().has("GPC");return Lt(()=>{i(t),o(!0)},[]),n?b("div",{className:"column-content"},b("div",null,b("div",null,b("p",{id:"consent-dialog-title",className:"text-title text-title-left"},a(s?lt.doNotSellHonoredGpc:lt.doNotSellHonored))),b("div",null,b("p",{className:"paragraph"},b("div",{dangerouslySetInnerHTML:{__html:a(lt.doNotSellHonoredDescription)}})))),b(we,{primaryText:a(lt.confirmButtonPrimary),handleClick:l})):b("div",null)}Ee();var Ku=Se(Ne());function Wu({handleSetViewState:e}){let{airgap:t}=xe(),{formatMessage:r}=(0,Ku.useIntl)();return b("div",{className:"column-content"},b("div",null,b("div",null,b("p",{id:"consent-dialog-title",className:"text-title text-title-left"},r(ne.consentTitleAcceptOrRejectAnalytics))),b("div",null,b("p",{className:"paragraph"},b("div",{dangerouslySetInnerHTML:{__html:r(ne.acceptOrRejectAnalyticsDescription)}})))),b("div",{className:"accept-or-reject-all-button-row"},b(we,{primaryText:r(ne.acceptAnalytics),handleClick:a=>{a.preventDefault(),t.setConsent(a,{Analytics:!0},Ze),e("close")}}),b(we,{primaryText:r(ne.rejectAnalytics),handleClick:a=>{a.preventDefault(),t.setConsent(a,{Analytics:!1},Ze),e("close")}})))}Ee(),ke();var Yu=Se(Ne());Ee();function tr({id:e,checked:t,handleSwitch:r,disabled:a,label:n}){let o=i=>{i.preventDefault(),r(!t,i)};return b(ft,null,b("label",{className:"switch label"},b("input",{key:e,className:"switch switch-checkbox screen-reader",id:"switch-".concat(e),type:"checkbox",disabled:a,checked:t,onClick:o}),b("span",{className:"switch switch-background"},b("span",{className:"switch switch-button"})),n))}var Xr;function zu({handleSetViewState:e,fontColor:t}){let{airgap:r}=xe(),{formatMessage:a}=(0,Yu.useIntl)(),[n,o]=Ve(null),[i,l]=Ve(!!r.getConsent().purposes.SaleOfInfo),s="sale-of-info-".concat(i),f=(u,h)=>{r.setConsent(h,{SaleOfInfo:u},Ze),l(u),o(!0),Xr&&clearTimeout(Xr),Xr=setTimeout(()=>{o(!1)},500)};return b("div",{className:"column-content"},b("button",{type:"button","aria-label":a(ne.close),className:"do-not-sell-explainer-close",onClick:()=>{e("close")}},b("svg",{width:"24",height:"24",viewBox:"0 0 32 32","aria-hidden":"true"},b("path",{fill:t,d:"M25.71 24.29a.996.996 0 1 1-1.41 1.41L16 17.41 7.71 25.7a.996.996 0 1 1-1.41-1.41L14.59 16l-8.3-8.29A.996.996 0 1 1 7.7 6.3l8.3 8.29 8.29-8.29a.996.996 0 1 1 1.41 1.41L17.41 16l8.3 8.29z"})),b("span",{className:"screen-reader"},a(ne.close))),b("div",null,b("div",null,b("p",{id:"consent-dialog-title",className:"text-title text-title-left"},a(ne.consentTitleDoNotSellExplainer))),b("div",null,b("p",{className:"paragraph"},b("div",{dangerouslySetInnerHTML:{__html:a(ne.doNotSellDescription)}}))),b("div",{className:"margin-tops do-not-sell-explainer-interface"},b(Jt,null),b(tr,{id:s,checked:i,handleSwitch:f,label:a(i?ne.doNotSellOptedIn:ne.doNotSellOptedOut)}),b("p",{className:"paragraph"},typeof n=="boolean"?a(n?ne.saving:i?ne.preferencesSavedOptedIn:ne.preferencesSaved):"\u200B"))))}Ee();var Xu=Se(Ne());function Zu({handleSetViewState:e}){let{formatMessage:t}=(0,Xu.useIntl)(),{airgap:r}=xe(),a=(n,o)=>{n.preventDefault();let i=r.getConsent(),l={0:["Essential"],1:["Essential","Functional","Analytics"],2:["Essential","Functional","Analytics","Advertising"]};Object.keys(i.purposes).forEach(s=>{i.purposes[s]=l[o].includes(s)}),r.setConsent(n,i.purposes,Ze),e("close")};return b("div",null,b("p",{id:"consent-dialog-title",className:"text-title text-title-center"},t(ne.consentTitle)),b("div",{className:"column-content"},b(we,{primaryText:t(Ke.essentialsButtonPrimary),secondaryText:t(Ke.essentialsButtonSecondary),handleClick:n=>a(n,0)}),b(we,{primaryText:t(Ke.functionalAnalyticsButtonPrimary),secondaryText:t(Ke.functionalAnalyticsButtonSecondary),handleClick:n=>a(n,1)}),b(we,{primaryText:t(Ke.advertisingButtonPrimary),secondaryText:t(Ke.advertisingButtonSecondary),handleClick:n=>a(n,2)})))}Ee();var qu=Se(Ne());function Qu({handleSetViewState:e}){let{airgap:t}=xe(),{formatMessage:r}=(0,qu.useIntl)(),a=n=>{n.preventDefault(),t.setConsent(n,{},Ze),e("close")};return b("div",{className:"column-content"},b("div",null,b("div",null,b("p",{id:"consent-dialog-title",className:"text-title text-title-left"},r(ne.consentTitlePrivacyPolicyNotice))),b("div",null,b("p",{className:"paragraph"},b("div",{dangerouslySetInnerHTML:{__html:r(ne.privacyPolicyNoticeDescription)}})))),b(we,{primaryText:r(ne.privacyPolicyNoticeButton),handleClick:a}))}Ee();var $u=Se(Ne());function Ju({handleSetViewState:e}){let{airgap:t}=xe(),{formatMessage:r}=(0,$u.useIntl)(),a=o=>{o.preventDefault(),t.optIn(o),e("close")},n=o=>{o.preventDefault(),e("CompleteOptions")};return b("div",{className:"column-content"},b("div",null,b("div",null,b("p",{id:"consent-dialog-title",className:"text-title text-title-left"},r(ne.consentTitleAcceptAll))),b("div",null,b("p",{className:"paragraph"},b("div",{dangerouslySetInnerHTML:{__html:r(ne.acceptAllDescription)}})))),b("div",{className:"accept-or-reject-all-button-row"},b(we,{primaryText:r(ne.acceptAllButtonPrimary),handleClick:a}),b(we,{primaryText:r(ne.moreChoicesButtonPrimary),handleClick:n})))}Ee();var el=Se(Ne());function tl({handleSetViewState:e}){let{airgap:t}=xe(),{formatMessage:r}=(0,el.useIntl)(),a=i=>{i.preventDefault(),t.optIn(i),e("close")},n=i=>{i.preventDefault(),t.optOut(i),e("close")},o=i=>{i.preventDefault(),e("CompleteOptions")};return b("div",{className:"column-content"},b("div",null,b("div",null,b("p",{id:"consent-dialog-title",className:"text-title text-title-left"},r(ne.consentTitleAcceptAll))),b("div",null,b("p",{className:"paragraph"},b("div",{dangerouslySetInnerHTML:{__html:r(ne.acceptAllDescription)}})))),b("div",{className:"accept-or-reject-all-button-row"},b(we,{primaryText:r(ne.acceptAllButtonPrimary),handleClick:a}),b(we,{primaryText:r(ne.rejectAllButtonPrimary),handleClick:n}),b(we,{primaryText:r(ne.moreChoicesButtonPrimary),handleClick:o})))}Ee(),ke();var rl=Se(Ne()),Zr;function nl({handleSetViewState:e,fontColor:t}){let{airgap:r}=xe(),{formatMessage:a}=(0,rl.useIntl)(),[n,o]=Ve(null),[i,l]=Ve(!!r.getConsent().purposes.SaleOfInfo),s="all-purposes-".concat(i),f=(u,h)=>{u?(h.preventDefault(),r.optIn(h)):(h.preventDefault(),r.optOut(h)),l(u),o(!0),Zr&&clearTimeout(Zr),Zr=setTimeout(()=>{o(!1)},500)};return b("div",{className:"column-content"},b("button",{type:"button","aria-label":a(ne.close),className:"do-not-sell-explainer-close",onClick:()=>{e("close")}},b("svg",{width:"24",height:"24",viewBox:"0 0 32 32","aria-hidden":"true"},b("path",{fill:t,d:"M25.71 24.29a.996.996 0 1 1-1.41 1.41L16 17.41 7.71 25.7a.996.996 0 1 1-1.41-1.41L14.59 16l-8.3-8.29A.996.996 0 1 1 7.7 6.3l8.3 8.29 8.29-8.29a.996.996 0 1 1 1.41 1.41L17.41 16l8.3 8.29z"})),b("span",{className:"screen-reader"},a(ne.close))),b("div",null,b("div",null,b("p",{id:"consent-dialog-title",className:"text-title text-title-left"},a(ne.consentTitleAcceptAllRejectAllToggle))),b("div",null,b("p",{className:"paragraph"},b("div",{dangerouslySetInnerHTML:{__html:a(ne.acceptAllRejectAllToggleDescription)}}))),b("div",{className:"margin-tops do-not-sell-explainer-interface"},b(Jt,null),b(tr,{id:s,checked:i,handleSwitch:f,label:a(i?ne.doNotSellOptedIn:ne.doNotSellOptedOut)}),b("p",{className:"paragraph"},typeof n=="boolean"?a(n?ne.saving:i?ne.preferencesSavedOptedIn:ne.preferencesSaved):"\u200B"))))}ke(),Ee(),ke();var al=Se(Ne());function il({handleSetViewState:e,fontColor:t}){var r;let{airgap:a}=xe(),{formatMessage:n}=(0,al.useIntl)(),o=Yr(a),i=Kr({consentSelection:o,defaultPurposeToMessageKey:er}),l=bt(()=>a.getPurposeTypes(),[]),[s,f]=Ve(o),u=Object.entries(s).sort(([d],[c])=>je.indexOf(d)<0&&je.indexOf(c)>0?1:je.indexOf(c)<0&&je.indexOf(d)>0?-1:je.indexOf(d)-je.indexOf(c)),h=({checked:d,purpose:c,event:g})=>{a.setConsent(g,{[c]:d},Ze),f(yt(Ae({},s),{[c]:d}))};return b("div",{className:"column-content"},b("button",{type:"button","aria-label":n(ne.close),className:"complete-options-toggle-close",onClick:()=>{e("close")}},b("svg",{width:"24",height:"24",viewBox:"0 0 32 32","aria-hidden":"true"},b("path",{fill:t,d:"M25.71 24.29a.996.996 0 1 1-1.41 1.41L16 17.41 7.71 25.7a.996.996 0 1 1-1.41-1.41L14.59 16l-8.3-8.29A.996.996 0 1 1 7.7 6.3l8.3 8.29 8.29-8.29a.996.996 0 1 1 1.41 1.41L17.41 16l8.3 8.29z"})),b("span",{className:"screen-reader"},n(ne.close))),b("div",null,b("div",null,b("p",{id:"consent-dialog-title",className:"text-title text-title-left"},n(ne.consentTitleCompleteOptionsToggle))),b("div",null,b("p",{className:"paragraph"},b("div",{dangerouslySetInnerHTML:{__html:n(ne.consentTitleCompleteOptionsToggleDescription)}}))),b("div",{className:"margin-tops complete-options-toggle-interface"},b("span",{key:"essential"},b(tr,{id:"Essential-true",checked:!0,disabled:!0,handleSwitch:(d,c)=>h({checked:d,purpose:"Essential",event:c}),label:Object.hasOwnProperty.call(i,"Essential")?n(i.Essential):"Essential"}),b("p",{className:"paragraph complete-options-toggle-description"},(r=l.Essential)==null?void 0:r.description)),u.map(([d,c])=>{var g;return b("span",{key:d},b(tr,{id:"".concat(d,"-").concat(c),checked:c,handleSwitch:(m,v)=>h({checked:m,purpose:d,event:v}),label:Object.hasOwnProperty.call(i,d)?n(i[d]):d}),b("p",{className:"paragraph complete-options-toggle-description"},(g=l[d])==null?void 0:g.description))}),b("p",{className:"paragraph"}))))}function ol({airgap:e,viewState:t,config:r,firstSelectedViewState:a,handleSetViewState:n,handleChangeLanguage:o,supportedLanguages:i,modalOpenAuth:l}){let s=mr(null);return Lt(()=>{var f,u;!$t(t)&&s.current&&((u=(f=s==null?void 0:s.current)==null?void 0:f.querySelector("button"))==null||u.focus())},[t,s]),$t(t)?t==="Collapsed"&&(!a||!$t(a))?b(mu,{handleSetViewState:n}):b("div",null):(cu(t)||e.setPrompted(!0),b("div",{role:"dialog","aria-modal":"true","aria-labelledby":"consent-dialog-title",className:"modal-container",id:"consentManagerMainDialog",ref:s},b("div",{role:"document",className:"modal-container-inner",tabIndex:0},b("div",{role:"document",className:"inner-container"},t==="QuickOptions"&&b(Ru,{handleSetViewState:n}),t==="AcceptAll"&&b(yu,{handleSetViewState:n}),t==="AcceptOrRejectAnalytics"&&b(Wu,{handleSetViewState:n}),t==="AcceptOrRejectAdvertising"&&b(ju,{handleSetViewState:n}),t==="DoNotSellExplainer"&&b(zu,{handleSetViewState:n,fontColor:r.theme.fontColor}),t==="CompleteOptionsToggles"&&b(il,{handleSetViewState:n,fontColor:r.theme.fontColor}),t==="QuickOptions3"&&b(Zu,{handleSetViewState:n}),t==="PrivacyPolicyNotice"&&b(Qu,{handleSetViewState:n}),t==="AcceptOrRejectAll"&&b(Uu,{handleSetViewState:n}),t==="AcceptAllRejectAllToggle"&&b(nl,{handleSetViewState:n,fontColor:r.theme.fontColor}),t==="AcceptAllOrMoreChoices"&&b(Ju,{handleSetViewState:n}),t==="AcceptOrRejectAllOrMoreChoices"&&b(tl,{handleSetViewState:n}),t==="DoNotSellDisclosure"&&l&&b(Gu,{handleSetViewState:n,modalOpenAuth:l}),t==="OptOutDisclosure"&&l&&b(ku,{handleSetViewState:n,modalOpenAuth:l}),t==="CompleteOptions"&&b(Au,{handleSetViewState:n}),t==="CompleteOptionsInverted"&&b(Iu,{handleSetViewState:n}),t==="NoticeAndDoNotSell"&&b(Fu,{handleSetViewState:n}),t==="LanguageOptions"&&b(wu,{handleSetViewState:n,handleChangeLanguage:o,supportedLanguages:i})),b("div",{className:"footer-container"},b(hu,{fontColor:r.theme.fontColor}),b(bu,{firstSelectedViewState:a,viewState:t,handleSetViewState:n,privacyPolicy:r.privacyPolicy,secondaryPolicy:r.secondaryPolicy}),b(Du,{handleSetViewState:n,viewState:t,fontColor:r.theme.fontColor,supportedLanguages:i})))))}var{regimePrecedence:ul="GDPR;LGPD;CPRA;CDPA;CPA;Unknown"}=Qe,ll=ul.split(/\s*;\s*/),sl=e=>ll.find(t=>e.has(t))||"Unknown",cl=Se(Xt()),fl=Se(Zo()),wa=new Map([["DNT","Do-Not-Track"],["GPC","Global Privacy Control"]]),Ma=!1;function pl({eventTarget:e,viewState:t,handleChangeLanguage:r,handleChangePrivacyPolicy:a,handleChangeSecondaryPolicy:n,handleSetViewState:o,airgap:i}){let l={setPrivacyPolicy:s=>Promise.resolve(a(s)),setSecondaryPolicy:s=>Promise.resolve(n(s)),setActiveLocale:s=>Promise.resolve(r(s)),getViewState:()=>t,viewStates:new Set(Object.values(fl.ViewState)),doNotSell:(s,f)=>Promise.resolve(o((f==null?void 0:f.viewState)||"DoNotSellDisclosure",s)),optOutNotice:(s,f)=>Promise.resolve(o((f==null?void 0:f.viewState)||"OptOutDisclosure",s)),showConsentManager:s=>Promise.resolve(o((s==null?void 0:s.viewState)||"open",void 0,!0)),hideConsentManager:()=>Promise.resolve(o("close")),toggleConsentManager:()=>Promise.resolve(o($t(t)?"open":"close",void 0,!0)),autoShowConsentManager:()=>{let s=i.getPrivacySignals(),f=i.getRegimePurposes(),u=s.has("DNT")&&f.size>0||s.has("GPC")&&f.has("SaleOfInfo");return i.getConsent().confirmed?(u&&!Ma&&Tt.has("warn")&&(Xe.warn("Tracking consent auto-prompt suppressed due to supported privacy signals:",[...s].map(h=>wa.has(h)?wa.get(h):h),"\n\nSee https://docs.transcend.io/docs/consent/configuration/configuring-the-ui#user-privacy-signal-integration for more information."),Ma=!0),Promise.resolve()):(o("open",void 0,!0),Promise.resolve())}};return Object.assign(e,l)}var rr,dl=class extends EventTarget{constructor(...e){super(...e),qa(this,rr,"Transcend")}get[Symbol.toStringTag](){return Za(this,rr)}set[Symbol.toStringTag](e){Qa(this,rr,e)}};rr=new WeakMap,ke();var gl=qo.IntlProvider,Ia=new dl;function hl({airgap:e,callback:t,defaultConfig:r}){let[{config:a,supportedLanguages:n},o]=Ve(r),i=sl(e.getRegimes()),{initialViewStateByPrivacyRegime:l,dismissedViewState:s}=a,f=l[i]||"Hidden",{viewState:u,firstSelectedViewState:h,handleSetViewState:d,auth:c}=fu({initialViewState:f,dismissedViewState:s,eventTarget:Ia}),{language:g,handleChangeLanguage:m,messages:v}=lu({supportedLanguages:n,translationsLocation:Qe.messages||a.messages||"./translations"}),E=pl({eventTarget:Ia,viewState:u,handleChangeLanguage:m,handleSetViewState:d,handleChangePrivacyPolicy:T=>o({supportedLanguages:n,config:yt(Ae({},a),{privacyPolicy:T})}),handleChangeSecondaryPolicy:T=>o({supportedLanguages:n,config:yt(Ae({},a),{secondaryPolicy:T})}),airgap:e});return t(E),b(gl,{locale:g,messages:v||{},defaultLocale:cl.ConsentManagerLanguageKey.En},b(pu,{newAirgap:e},v?b(ol,{airgap:e,modalOpenAuth:c,viewState:u,config:a,supportedLanguages:n,firstSelectedViewState:h,handleSetViewState:d,handleChangeLanguage:m}):null))}var nr=e=>document.createElementNS("http://www.w3.org/1999/xhtml",e),ml=Se(Hr()),{setTimeout:vl,clearTimeout:yl}=self,{requestIdleCallback:_l=(e,t={timeout:0})=>vl(e,t.timeout),cancelIdleCallback:Yl=e=>{yl(e)}}=self,Na=e=>{_l(()=>{throw e})},El=(e,t=()=>({}),r=void 0)=>{try{return JSON.parse(e,r)}catch(a){return Na(a),t==null?void 0:t()}},{privacyCenter:bl,privacyPolicy:Cl=bl||"/privacy",secondaryPolicy:Sl,languages:Tl,dismissedViewState:Pl="Hidden"}=Qe,Al={GDPR:"TCF_EU",LGPD:"QuickOptions",CPRA:"Hidden",CDPA:"Hidden",CPA:"Hidden",nFADP:"Hidden",NEVADA_SB220:"Hidden",Unknown:"Hidden"},Ol={css:"",messages:"",theme:{primaryColor:"#3333FF",fontColor:"#010101"},breakpoints:{tablet:"640px",desktop:"1024px"},initialViewStateByPrivacyRegime:Al};function Dl(){var e,t,r,a;let n=typeof Qe=="string"?El(Qe,()=>({})):Qe||{},o=n==null?void 0:n.initialViewStateByPrivacyRegime;o&&Object.keys(o).length===0&&(n==null||delete n.initialViewStateByPrivacyRegime);let i=Ae(Ae(Ae({},Ol),n),eu);(e=i.privacyPolicy)!=null||(i.privacyPolicy=Cl),(t=i.secondaryPolicy)!=null||(i.secondaryPolicy=Sl),(r=i.dismissedViewState)!=null||(i.dismissedViewState=Pl),(a=i.languages)!=null||(i.languages=Tl);let l=i.languages?i.languages.trim().split(/\s*,\s*/):[],s=i.languages?Oa.filter(f=>l.includes(f)):Oa;if(!wl(i))throw new Error("Invalid consent manager config");return{config:i,supportedLanguages:s}}var Fa=(e,t,r)=>{let a=Object.values(ml.ViewState).some(n=>n===e);return a||r.push("Unrecognized ".concat(t,": ").concat(e)),a};function wl(e){let t=[],r=[];Object.keys(e).length===0&&t.push("Consent manager UI config missing!");let a="dismissedViewState",n="initialViewStateByPrivacyRegime",{[a]:o,[n]:i}=e;return o&&Fa(o,a,t),i&&Object.values(i).forEach(l=>{l&&Fa(l,"".concat(n," map value"),t)}),r.length>0&&Tt.has("warn")&&r.forEach(l=>{Xe.warn(l,e)}),t.length>0?(Tt.has("error")&&t.forEach(l=>{Xe.error.styled("color: #686868",l,e)}),!1):!0}var kt=null,Pt,Ml=()=>Pt,Il=async e=>{var t,r;if(kt===null){let a=Dl(),n=nr("div");n.style.position="fixed",n.style.zIndex=(t=a.config.uiZIndex)!=null?t:"2147483647",n.id="transcend-consent-manager";try{let o=((r=n==null?void 0:n.attachShadow)==null?void 0:r.call(n,{mode:"closed"}))||n;Pt!=null||(Pt=nr("div")),o.appendChild(Pt);let i=Pt.appendChild(nr("style"));if((document.documentElement||document).append(n),i.sheet.insertRule(":host { all: initial }"),kt=await new Promise(l=>{dr(b(hl,{airgap:e,callback:s=>{l(s)},defaultConfig:a}),Pt)}),kt===null)throw new Error("Expected Consent Manager API to have initialized.");return kt}catch(o){throw n.remove(),Xe.error("Failed to initialize UI"),o}}else return kt},Nl=e=>{let t=Ml();if(t&&e){let r=nr("link");r.type="text/css",r.rel="stylesheet",r.id=e,r.href=e,t.appendChild(r)}else Xe.error("Failed to inject css into consent manager!")},qr=self,xt=qr.transcend,Fl=qr.airgap,At=xt==null?void 0:xt.readyQueue;Array.isArray(At)?(delete xt.readyQueue,Vr&&Xe.log("transcend.ready() queue = [",At,"]")):At=[];var Ll=new Promise(e=>{var t;((t=self.airgap)!=null?t:self.airgap=Ae({readyQueue:[],ready(r){this.readyQueue&&this.readyQueue.push(r)}},Fl)).ready(e)}),Rl=async()=>{try{Vr&&Xe.tag("Transcend",()=>{Xe.groupCollapsed("Initializing Consent Manager UI")});let e=await Ll,t=await Il(e);Nl(Qe.css||"cm.css");let r=Object.assign(t,yt(Ae({readyQueue:[]},xt.xdi?{xdi:xt.xdi}:{}),{ready(a){a(r)}}));qr.transcend=r,document.currentScript&&document.currentScript.remove(),Vr&&(Xe.tag("Transcend",()=>{Xe.log("Consent Manager UI ready")}),Xe.groupEnd()),At&&(At.forEach(a=>{try{a(r)}catch(n){Na(n)}}),At.length=0)}catch(e){Tt.has("error")&&Xe.error.styled("color: #686868",e)}};Rl()})(); })() })()