@shipengine/alchemy 0.4.2 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +10 -12
  2. package/index.mjs +2215 -7291
  3. package/package.json +3 -1
package/index.js CHANGED
@@ -1,30 +1,28 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const Q=require("react"),gr=require("react/jsx-runtime"),Pt=require("@emotion/react"),st=require("@shipengine/react-api"),Ug=require("react-i18next");function Vg(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Ta=Vg(Q);function Zg(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function qg(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Yg=function(){function e(r){var n=this;this._insertTag=function(a){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(a,i),n.tags.push(a)},this.isSpeedy=r.speedy===void 0?process.env.NODE_ENV==="production":r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(qg(this));var a=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var i=n.charCodeAt(0)===64&&n.charCodeAt(1)===105;i&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
2
- `+n+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!i}if(this.isSpeedy){var o=Zg(a);try{o.insertRule(n,o.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',s)}}else a.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),j="-ms-",Ze="-moz-",T="-webkit-",Va="comm",mr="rule",Ir="decl",Jg="@import",Za="@keyframes",Kg=Math.abs,Sr=String.fromCharCode,Qg=Object.assign;function nc(e,t){return Z(e,0)^45?(((t<<2^Z(e,0))<<2^Z(e,1))<<2^Z(e,2))<<2^Z(e,3):0}function ac(e){return e.trim()}function Ve(e,t){return(e=t.exec(e))?e[0]:e}function L(e,t,r){return e.replace(t,r)}function Ct(e,t){return e.indexOf(t)}function Z(e,t){return e.charCodeAt(t)|0}function At(e,t,r){return e.slice(t,r)}function Oe(e){return e.length}function qa(e){return e.length}function rr(e,t){return t.push(e),e}function ic(e,t){return e.map(t).join("")}var _r=1,bt=1,oc=0,fe=0,re=0,It="";function xr(e,t,r,n,a,i,o){return{value:e,root:t,parent:r,type:n,props:a,children:i,line:_r,column:bt,length:o,return:""}}function ke(e,t){return Qg(xr("",null,null,"",null,null,0),e,{length:-e.length},t)}function ep(){return re}function tp(){return re=fe>0?Z(It,--fe):0,bt--,re===10&&(bt=1,_r--),re}function Ce(){return re=fe<oc?Z(It,fe++):0,bt++,re===10&&(bt=1,_r++),re}function We(){return Z(It,fe)}function or(){return fe}function Wt(e,t){return At(It,e,t)}function Ft(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function sc(e){return _r=bt=1,oc=Oe(It=e),fe=0,[]}function uc(e){return It="",e}function sr(e){return ac(Wt(fe-1,Ea(e===91?e+2:e===40?e+1:e)))}function rp(e){for(;(re=We())&&re<33;)Ce();return Ft(e)>2||Ft(re)>3?"":" "}function np(e,t){for(;--t&&Ce()&&!(re<48||re>102||re>57&&re<65||re>70&&re<97););return Wt(e,or()+(t<6&&We()==32&&Ce()==32))}function Ea(e){for(;Ce();)switch(re){case e:return fe;case 34:case 39:e!==34&&e!==39&&Ea(re);break;case 40:e===41&&Ea(e);break;case 92:Ce();break}return fe}function ap(e,t){for(;Ce()&&e+re!==47+10;)if(e+re===42+42&&We()===47)break;return"/*"+Wt(t,fe-1)+"*"+Sr(e===47?e:Ce())}function ip(e){for(;!Ft(We());)Ce();return Wt(e,fe)}function op(e){return uc(ur("",null,null,null,[""],e=sc(e),0,[0],e))}function ur(e,t,r,n,a,i,o,s,u){for(var f=0,g=0,c=o,d=0,h=0,v=0,m=1,b=1,y=1,A=0,x="",I=a,S=i,D=n,$=x;b;)switch(v=A,A=Ce()){case 40:if(v!=108&&Z($,c-1)==58){Ct($+=L(sr(A),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:$+=sr(A);break;case 9:case 10:case 13:case 32:$+=rp(v);break;case 92:$+=np(or()-1,7);continue;case 47:switch(We()){case 42:case 47:rr(sp(ap(Ce(),or()),t,r),u);break;default:$+="/"}break;case 123*m:s[f++]=Oe($)*y;case 125*m:case 59:case 0:switch(A){case 0:case 125:b=0;case 59+g:h>0&&Oe($)-c&&rr(h>32?qi($+";",n,r,c-1):qi(L($," ","")+";",n,r,c-2),u);break;case 59:$+=";";default:if(rr(D=Zi($,t,r,f,g,a,s,x,I=[],S=[],c),i),A===123)if(g===0)ur($,t,D,D,I,i,c,s,S);else switch(d===99&&Z($,3)===110?100:d){case 100:case 109:case 115:ur(e,D,D,n&&rr(Zi(e,D,D,0,0,a,s,x,a,I=[],c),S),a,S,c,s,n?I:S);break;default:ur($,D,D,D,[""],S,0,s,S)}}f=g=h=0,m=y=1,x=$="",c=o;break;case 58:c=1+Oe($),h=v;default:if(m<1){if(A==123)--m;else if(A==125&&m++==0&&tp()==125)continue}switch($+=Sr(A),A*m){case 38:y=g>0?1:($+="\f",-1);break;case 44:s[f++]=(Oe($)-1)*y,y=1;break;case 64:We()===45&&($+=sr(Ce())),d=We(),g=c=Oe(x=$+=ip(or())),A++;break;case 45:v===45&&Oe($)==2&&(m=0)}}return i}function Zi(e,t,r,n,a,i,o,s,u,f,g){for(var c=a-1,d=a===0?i:[""],h=qa(d),v=0,m=0,b=0;v<n;++v)for(var y=0,A=At(e,c+1,c=Kg(m=o[v])),x=e;y<h;++y)(x=ac(m>0?d[y]+" "+A:L(A,/&\f/g,d[y])))&&(u[b++]=x);return xr(e,t,r,a===0?mr:s,u,f,g)}function sp(e,t,r){return xr(e,t,r,Va,Sr(ep()),At(e,2,-2),0)}function qi(e,t,r,n){return xr(e,t,r,Ir,At(e,0,n),At(e,n+1,-1),n)}function cc(e,t,r){switch(nc(e,t)){case 5103:return T+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return T+e+e;case 4789:return Ze+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return T+e+Ze+e+j+e+e;case 5936:switch(Z(e,t+11)){case 114:return T+e+j+L(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return T+e+j+L(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return T+e+j+L(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return T+e+j+e+e;case 6165:return T+e+j+"flex-"+e+e;case 5187:return T+e+L(e,/(\w+).+(:[^]+)/,T+"box-$1$2"+j+"flex-$1$2")+e;case 5443:return T+e+j+"flex-item-"+L(e,/flex-|-self/g,"")+(Ve(e,/flex-|baseline/)?"":j+"grid-row-"+L(e,/flex-|-self/g,""))+e;case 4675:return T+e+j+"flex-line-pack"+L(e,/align-content|flex-|-self/g,"")+e;case 5548:return T+e+j+L(e,"shrink","negative")+e;case 5292:return T+e+j+L(e,"basis","preferred-size")+e;case 6060:return T+"box-"+L(e,"-grow","")+T+e+j+L(e,"grow","positive")+e;case 4554:return T+L(e,/([^-])(transform)/g,"$1"+T+"$2")+e;case 6187:return L(L(L(e,/(zoom-|grab)/,T+"$1"),/(image-set)/,T+"$1"),e,"")+e;case 5495:case 3959:return L(e,/(image-set\([^]*)/,T+"$1$`$1");case 4968:return L(L(e,/(.+:)(flex-)?(.*)/,T+"box-pack:$3"+j+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+T+e+e;case 4200:if(!Ve(e,/flex-|baseline/))return j+"grid-column-align"+At(e,t)+e;break;case 2592:case 3360:return j+L(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,a){return t=a,Ve(n.props,/grid-\w+-end/)})?~Ct(e+(r=r[t].value),"span")?e:j+L(e,"-start","")+e+j+"grid-row-span:"+(~Ct(r,"span")?Ve(r,/\d+/):+Ve(r,/\d+/)-+Ve(e,/\d+/))+";":j+L(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Ve(n.props,/grid-\w+-start/)})?e:j+L(L(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return L(e,/(.+)-inline(.+)/,T+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Oe(e)-1-t>6)switch(Z(e,t+1)){case 109:if(Z(e,t+4)!==45)break;case 102:return L(e,/(.+:)(.+)-([^]+)/,"$1"+T+"$2-$3$1"+Ze+(Z(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ct(e,"stretch")?cc(L(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return L(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,a,i,o,s,u,f){return j+a+":"+i+f+(o?j+a+"-span:"+(s?u:+u-+i)+f:"")+e});case 4949:if(Z(e,t+6)===121)return L(e,":",":"+T)+e;break;case 6444:switch(Z(e,Z(e,14)===45?18:11)){case 120:return L(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+T+(Z(e,14)===45?"inline-":"")+"box$3$1"+T+"$2$3$1"+j+"$2box$3")+e;case 100:return L(e,":",":"+j)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return L(e,"scroll-","scroll-snap-")+e}return e}function qe(e,t){for(var r="",n=qa(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function up(e,t,r,n){switch(e.type){case Jg:case Ir:return e.return=e.return||e.value;case Va:return"";case Za:return e.return=e.value+"{"+qe(e.children,n)+"}";case mr:e.value=e.props.join(",")}return Oe(r=qe(e.children,n))?e.return=e.value+"{"+r+"}":""}function cp(e){var t=qa(e);return function(r,n,a,i){for(var o="",s=0;s<t;s++)o+=e[s](r,n,a,i)||"";return o}}function lp(e){return function(t){t.root||(t=t.return)&&e(t)}}function fp(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Ir:e.return=cc(e.value,e.length,r);return;case Za:return qe([ke(e,{value:L(e.value,"@","@"+T)})],n);case mr:if(e.length)return ic(e.props,function(a){switch(Ve(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return qe([ke(e,{props:[L(a,/:(read-\w+)/,":"+Ze+"$1")]})],n);case"::placeholder":return qe([ke(e,{props:[L(a,/:(plac\w+)/,":"+T+"input-$1")]}),ke(e,{props:[L(a,/:(plac\w+)/,":"+Ze+"$1")]}),ke(e,{props:[L(a,/:(plac\w+)/,j+"input-$1")]})],n)}return""})}}function lc(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var gp=function(t,r,n){for(var a=0,i=0;a=i,i=We(),a===38&&i===12&&(r[n]=1),!Ft(i);)Ce();return Wt(t,fe)},pp=function(t,r){var n=-1,a=44;do switch(Ft(a)){case 0:a===38&&We()===12&&(r[n]=1),t[n]+=gp(fe-1,r,n);break;case 2:t[n]+=sr(a);break;case 4:if(a===44){t[++n]=We()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Sr(a)}while(a=Ce());return t},dp=function(t,r){return uc(pp(sc(t),r))},Yi=new WeakMap,hp=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,a=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Yi.get(n))&&!a){Yi.set(t,!0);for(var i=[],o=dp(r,i),s=n.props,u=0,f=0;u<o.length;u++)for(var g=0;g<s.length;g++,f++)t.props[f]=i[u]?o[u].replace(/&\f/g,s[g]):s[g]+" "+o[u]}}},yp=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},vp="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",Cp=function(t){return t.type==="comm"&&t.children.indexOf(vp)>-1},Ap=function(t){return function(r,n,a){if(!(r.type!=="rule"||t.compat)){var i=r.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var o=r.parent===a[0],s=o?a[0].children:a,u=s.length-1;u>=0;u--){var f=s[u];if(f.line<r.line)break;if(f.column<r.column){if(Cp(f))return;break}}i.forEach(function(g){console.error('The pseudo class "'+g+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+g.split("-child")[0]+'-of-type".')})}}}},fc=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},bp=function(t,r){for(var n=t-1;n>=0;n--)if(!fc(r[n]))return!0;return!1},Ji=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},mp=function(t,r,n){fc(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Ji(t)):bp(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Ji(t)))};function gc(e,t){switch(nc(e,t)){case 5103:return T+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return T+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return T+e+Ze+e+j+e+e;case 6828:case 4268:return T+e+j+e+e;case 6165:return T+e+j+"flex-"+e+e;case 5187:return T+e+L(e,/(\w+).+(:[^]+)/,T+"box-$1$2"+j+"flex-$1$2")+e;case 5443:return T+e+j+"flex-item-"+L(e,/flex-|-self/,"")+e;case 4675:return T+e+j+"flex-line-pack"+L(e,/align-content|flex-|-self/,"")+e;case 5548:return T+e+j+L(e,"shrink","negative")+e;case 5292:return T+e+j+L(e,"basis","preferred-size")+e;case 6060:return T+"box-"+L(e,"-grow","")+T+e+j+L(e,"grow","positive")+e;case 4554:return T+L(e,/([^-])(transform)/g,"$1"+T+"$2")+e;case 6187:return L(L(L(e,/(zoom-|grab)/,T+"$1"),/(image-set)/,T+"$1"),e,"")+e;case 5495:case 3959:return L(e,/(image-set\([^]*)/,T+"$1$`$1");case 4968:return L(L(e,/(.+:)(flex-)?(.*)/,T+"box-pack:$3"+j+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+T+e+e;case 4095:case 3583:case 4068:case 2532:return L(e,/(.+)-inline(.+)/,T+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Oe(e)-1-t>6)switch(Z(e,t+1)){case 109:if(Z(e,t+4)!==45)break;case 102:return L(e,/(.+:)(.+)-([^]+)/,"$1"+T+"$2-$3$1"+Ze+(Z(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ct(e,"stretch")?gc(L(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Z(e,t+1)!==115)break;case 6444:switch(Z(e,Oe(e)-3-(~Ct(e,"!important")&&10))){case 107:return L(e,":",":"+T)+e;case 101:return L(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+T+(Z(e,14)===45?"inline-":"")+"box$3$1"+T+"$2$3$1"+j+"$2box$3")+e}break;case 5936:switch(Z(e,t+11)){case 114:return T+e+j+L(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return T+e+j+L(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return T+e+j+L(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return T+e+j+e+e}return e}var Ip=function(t,r,n,a){if(t.length>-1&&!t.return)switch(t.type){case Ir:t.return=gc(t.value,t.length);break;case Za:return qe([ke(t,{value:L(t.value,"@","@"+T)})],a);case mr:if(t.length)return ic(t.props,function(i){switch(Ve(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return qe([ke(t,{props:[L(i,/:(read-\w+)/,":"+Ze+"$1")]})],a);case"::placeholder":return qe([ke(t,{props:[L(i,/:(plac\w+)/,":"+T+"input-$1")]}),ke(t,{props:[L(i,/:(plac\w+)/,":"+Ze+"$1")]}),ke(t,{props:[L(i,/:(plac\w+)/,j+"input-$1")]})],a)}return""})}},Sp=[Ip],pc=function(t){var r=t.key;if(process.env.NODE_ENV!=="production"&&!r)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
3
- If multiple caches share the same key they might "fight" for each other's style elements.`);if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(m){var b=m.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var a=t.stylisPlugins||Sp;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var i={},o,s=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(m){for(var b=m.getAttribute("data-emotion").split(" "),y=1;y<b.length;y++)i[b[y]]=!0;s.push(m)});var u,f=[hp,yp];process.env.NODE_ENV!=="production"&&f.push(Ap({get compat(){return v.compat}}),mp);{var g,c=[up,process.env.NODE_ENV!=="production"?function(m){m.root||(m.return?g.insert(m.return):m.value&&m.type!==Va&&g.insert(m.value+"{}"))}:lp(function(m){g.insert(m)})],d=cp(f.concat(a,c)),h=function(b){return qe(op(b),d)};u=function(b,y,A,x){g=A,process.env.NODE_ENV!=="production"&&y.map!==void 0&&(g={insert:function(S){A.insert(S+y.map)}}),h(b?b+"{"+y.styles+"}":y.styles),x&&(v.inserted[y.name]=!0)}}var v={key:r,sheet:new Yg({key:r,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:u};return v.sheet.hydrate(s),v},Qe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _p(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function xp(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){if(this instanceof n){var a=[null];a.push.apply(a,arguments);var i=Function.bind.apply(t,a);return new i}return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var $a={},Op={get exports(){return $a},set exports(e){$a=e}},H={};/** @license React v16.13.1
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const T=require("react"),rt=require("react/jsx-runtime"),nt=require("@emotion/react"),Qt=require("@packlink/brands"),pr=require("@packlink/giger"),be=require("@shipengine/react-api"),wa=require("react-i18next");function Sa(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Vt=Sa(T);function Oa(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function xa(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Ea=function(){function e(r){var a=this;this._insertTag=function(n){var i;a.tags.length===0?a.insertionPoint?i=a.insertionPoint.nextSibling:a.prepend?i=a.container.firstChild:i=a.before:i=a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(n,i),a.tags.push(n)},this.isSpeedy=r.speedy===void 0?process.env.NODE_ENV==="production":r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(a){a.forEach(this._insertTag)},t.insert=function(a){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(xa(this));var n=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var i=a.charCodeAt(0)===64&&a.charCodeAt(1)===105;i&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
2
+ `+a+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!i}if(this.isSpeedy){var o=Oa(n);try{o.insertRule(a,o.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(a)&&console.error('There was a problem inserting the following rule: "'+a+'"',s)}}else n.appendChild(document.createTextNode(a));this.ctr++},t.flush=function(){this.tags.forEach(function(a){return a.parentNode&&a.parentNode.removeChild(a)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),P="-ms-",se="-moz-",O="-webkit-",er="comm",ct="rule",ft="decl",Pa="@import",tr="@keyframes",Ca=Math.abs,lt=String.fromCharCode,Ra=Object.assign;function En(e,t){return L(e,0)^45?(((t<<2^L(e,0))<<2^L(e,1))<<2^L(e,2))<<2^L(e,3):0}function Pn(e){return e.trim()}function oe(e,t){return(e=t.exec(e))?e[0]:e}function S(e,t,r){return e.replace(t,r)}function Re(e,t){return e.indexOf(t)}function L(e,t){return e.charCodeAt(t)|0}function ke(e,t,r){return e.slice(t,r)}function K(e){return e.length}function rr(e){return e.length}function Ye(e,t){return t.push(e),e}function Cn(e,t){return e.map(t).join("")}var dt=1,Ne=1,Rn=0,F=0,A=0,Le="";function pt(e,t,r,a,n,i,o){return{value:e,root:t,parent:r,type:a,props:n,children:i,line:dt,column:Ne,length:o,return:""}}function ee(e,t){return Ra(pt("",null,null,"",null,null,0),e,{length:-e.length},t)}function ka(){return A}function Na(){return A=F>0?L(Le,--F):0,Ne--,A===10&&(Ne=1,dt--),A}function B(){return A=F<Rn?L(Le,F++):0,Ne++,A===10&&(Ne=1,dt++),A}function re(){return L(Le,F)}function Xe(){return F}function Be(e,t){return ke(Le,e,t)}function Ue(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function kn(e){return dt=Ne=1,Rn=K(Le=e),F=0,[]}function Nn(e){return Le="",e}function Ze(e){return Pn(Be(F-1,qt(e===91?e+2:e===40?e+1:e)))}function La(e){for(;(A=re())&&A<33;)B();return Ue(e)>2||Ue(A)>3?"":" "}function _a(e,t){for(;--t&&B()&&!(A<48||A>102||A>57&&A<65||A>70&&A<97););return Be(e,Xe()+(t<6&&re()==32&&B()==32))}function qt(e){for(;B();)switch(A){case e:return F;case 34:case 39:e!==34&&e!==39&&qt(A);break;case 40:e===41&&qt(e);break;case 92:B();break}return F}function Aa(e,t){for(;B()&&e+A!==47+10;)if(e+A===42+42&&re()===47)break;return"/*"+Be(t,F-1)+"*"+lt(e===47?e:B())}function Ta(e){for(;!Ue(re());)B();return Be(e,F)}function ja(e){return Nn(Qe("",null,null,null,[""],e=kn(e),0,[0],e))}function Qe(e,t,r,a,n,i,o,s,u){for(var f=0,l=0,c=o,d=0,p=0,y=0,b=1,w=1,h=1,g=0,x="",m=n,v=i,N=a,C=x;w;)switch(y=g,g=B()){case 40:if(y!=108&&L(C,c-1)==58){Re(C+=S(Ze(g),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:C+=Ze(g);break;case 9:case 10:case 13:case 32:C+=La(y);break;case 92:C+=_a(Xe()-1,7);continue;case 47:switch(re()){case 42:case 47:Ye($a(Aa(B(),Xe()),t,r),u);break;default:C+="/"}break;case 123*b:s[f++]=K(C)*h;case 125*b:case 59:case 0:switch(g){case 0:case 125:w=0;case 59+l:p>0&&K(C)-c&&Ye(p>32?gr(C+";",a,r,c-1):gr(S(C," ","")+";",a,r,c-2),u);break;case 59:C+=";";default:if(Ye(N=hr(C,t,r,f,l,n,s,x,m=[],v=[],c),i),g===123)if(l===0)Qe(C,t,N,N,m,i,c,s,v);else switch(d===99&&L(C,3)===110?100:d){case 100:case 109:case 115:Qe(e,N,N,a&&Ye(hr(e,N,N,0,0,n,s,x,n,m=[],c),v),n,v,c,s,a?m:v);break;default:Qe(C,N,N,N,[""],v,0,s,v)}}f=l=p=0,b=h=1,x=C="",c=o;break;case 58:c=1+K(C),p=y;default:if(b<1){if(g==123)--b;else if(g==125&&b++==0&&Na()==125)continue}switch(C+=lt(g),g*b){case 38:h=l>0?1:(C+="\f",-1);break;case 44:s[f++]=(K(C)-1)*h,h=1;break;case 64:re()===45&&(C+=Ze(B())),d=re(),l=c=K(x=C+=Ta(Xe())),g++;break;case 45:y===45&&K(C)==2&&(b=0)}}return i}function hr(e,t,r,a,n,i,o,s,u,f,l){for(var c=n-1,d=n===0?i:[""],p=rr(d),y=0,b=0,w=0;y<a;++y)for(var h=0,g=ke(e,c+1,c=Ca(b=o[y])),x=e;h<p;++h)(x=Pn(b>0?d[h]+" "+g:S(g,/&\f/g,d[h])))&&(u[w++]=x);return pt(e,t,r,n===0?ct:s,u,f,l)}function $a(e,t,r){return pt(e,t,r,er,lt(ka()),ke(e,2,-2),0)}function gr(e,t,r,a){return pt(e,t,r,ft,ke(e,0,a),ke(e,a+1,-1),a)}function Ln(e,t,r){switch(En(e,t)){case 5103:return O+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return O+e+e;case 4789:return se+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return O+e+se+e+P+e+e;case 5936:switch(L(e,t+11)){case 114:return O+e+P+S(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return O+e+P+S(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return O+e+P+S(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return O+e+P+e+e;case 6165:return O+e+P+"flex-"+e+e;case 5187:return O+e+S(e,/(\w+).+(:[^]+)/,O+"box-$1$2"+P+"flex-$1$2")+e;case 5443:return O+e+P+"flex-item-"+S(e,/flex-|-self/g,"")+(oe(e,/flex-|baseline/)?"":P+"grid-row-"+S(e,/flex-|-self/g,""))+e;case 4675:return O+e+P+"flex-line-pack"+S(e,/align-content|flex-|-self/g,"")+e;case 5548:return O+e+P+S(e,"shrink","negative")+e;case 5292:return O+e+P+S(e,"basis","preferred-size")+e;case 6060:return O+"box-"+S(e,"-grow","")+O+e+P+S(e,"grow","positive")+e;case 4554:return O+S(e,/([^-])(transform)/g,"$1"+O+"$2")+e;case 6187:return S(S(S(e,/(zoom-|grab)/,O+"$1"),/(image-set)/,O+"$1"),e,"")+e;case 5495:case 3959:return S(e,/(image-set\([^]*)/,O+"$1$`$1");case 4968:return S(S(e,/(.+:)(flex-)?(.*)/,O+"box-pack:$3"+P+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+O+e+e;case 4200:if(!oe(e,/flex-|baseline/))return P+"grid-column-align"+ke(e,t)+e;break;case 2592:case 3360:return P+S(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(a,n){return t=n,oe(a.props,/grid-\w+-end/)})?~Re(e+(r=r[t].value),"span")?e:P+S(e,"-start","")+e+P+"grid-row-span:"+(~Re(r,"span")?oe(r,/\d+/):+oe(r,/\d+/)-+oe(e,/\d+/))+";":P+S(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(a){return oe(a.props,/grid-\w+-start/)})?e:P+S(S(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return S(e,/(.+)-inline(.+)/,O+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(K(e)-1-t>6)switch(L(e,t+1)){case 109:if(L(e,t+4)!==45)break;case 102:return S(e,/(.+:)(.+)-([^]+)/,"$1"+O+"$2-$3$1"+se+(L(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Re(e,"stretch")?Ln(S(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return S(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(a,n,i,o,s,u,f){return P+n+":"+i+f+(o?P+n+"-span:"+(s?u:+u-+i)+f:"")+e});case 4949:if(L(e,t+6)===121)return S(e,":",":"+O)+e;break;case 6444:switch(L(e,L(e,14)===45?18:11)){case 120:return S(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+O+(L(e,14)===45?"inline-":"")+"box$3$1"+O+"$2$3$1"+P+"$2box$3")+e;case 100:return S(e,":",":"+P)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return S(e,"scroll-","scroll-snap-")+e}return e}function ue(e,t){for(var r="",a=rr(e),n=0;n<a;n++)r+=t(e[n],n,e,t)||"";return r}function Ia(e,t,r,a){switch(e.type){case Pa:case ft:return e.return=e.return||e.value;case er:return"";case tr:return e.return=e.value+"{"+ue(e.children,a)+"}";case ct:e.value=e.props.join(",")}return K(r=ue(e.children,a))?e.return=e.value+"{"+r+"}":""}function Da(e){var t=rr(e);return function(r,a,n,i){for(var o="",s=0;s<t;s++)o+=e[s](r,a,n,i)||"";return o}}function Fa(e){return function(t){t.root||(t=t.return)&&e(t)}}function Ua(e,t,r,a){if(e.length>-1&&!e.return)switch(e.type){case ft:e.return=Ln(e.value,e.length,r);return;case tr:return ue([ee(e,{value:S(e.value,"@","@"+O)})],a);case ct:if(e.length)return Cn(e.props,function(n){switch(oe(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ue([ee(e,{props:[S(n,/:(read-\w+)/,":"+se+"$1")]})],a);case"::placeholder":return ue([ee(e,{props:[S(n,/:(plac\w+)/,":"+O+"input-$1")]}),ee(e,{props:[S(n,/:(plac\w+)/,":"+se+"$1")]}),ee(e,{props:[S(n,/:(plac\w+)/,P+"input-$1")]})],a)}return""})}}function _n(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ma=function(t,r,a){for(var n=0,i=0;n=i,i=re(),n===38&&i===12&&(r[a]=1),!Ue(i);)B();return Be(t,F)},Ba=function(t,r){var a=-1,n=44;do switch(Ue(n)){case 0:n===38&&re()===12&&(r[a]=1),t[a]+=Ma(F-1,r,a);break;case 2:t[a]+=Ze(n);break;case 4:if(n===44){t[++a]=re()===58?"&\f":"",r[a]=t[a].length;break}default:t[a]+=lt(n)}while(n=B());return t},Va=function(t,r){return Nn(Ba(kn(t),r))},mr=new WeakMap,qa=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,a=t.parent,n=t.column===a.column&&t.line===a.line;a.type!=="rule";)if(a=a.parent,!a)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!mr.get(a))&&!n){mr.set(t,!0);for(var i=[],o=Va(r,i),s=a.props,u=0,f=0;u<o.length;u++)for(var l=0;l<s.length;l++,f++)t.props[f]=i[u]?o[u].replace(/&\f/g,s[l]):s[l]+" "+o[u]}}},za=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},Ha="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",Ka=function(t){return t.type==="comm"&&t.children.indexOf(Ha)>-1},Ja=function(t){return function(r,a,n){if(!(r.type!=="rule"||t.compat)){var i=r.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var o=r.parent===n[0],s=o?n[0].children:n,u=s.length-1;u>=0;u--){var f=s[u];if(f.line<r.line)break;if(f.column<r.column){if(Ka(f))return;break}}i.forEach(function(l){console.error('The pseudo class "'+l+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+l.split("-child")[0]+'-of-type".')})}}}},An=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Ya=function(t,r){for(var a=t-1;a>=0;a--)if(!An(r[a]))return!0;return!1},vr=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Wa=function(t,r,a){An(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),vr(t)):Ya(r,a)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),vr(t)))};function Tn(e,t){switch(En(e,t)){case 5103:return O+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return O+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return O+e+se+e+P+e+e;case 6828:case 4268:return O+e+P+e+e;case 6165:return O+e+P+"flex-"+e+e;case 5187:return O+e+S(e,/(\w+).+(:[^]+)/,O+"box-$1$2"+P+"flex-$1$2")+e;case 5443:return O+e+P+"flex-item-"+S(e,/flex-|-self/,"")+e;case 4675:return O+e+P+"flex-line-pack"+S(e,/align-content|flex-|-self/,"")+e;case 5548:return O+e+P+S(e,"shrink","negative")+e;case 5292:return O+e+P+S(e,"basis","preferred-size")+e;case 6060:return O+"box-"+S(e,"-grow","")+O+e+P+S(e,"grow","positive")+e;case 4554:return O+S(e,/([^-])(transform)/g,"$1"+O+"$2")+e;case 6187:return S(S(S(e,/(zoom-|grab)/,O+"$1"),/(image-set)/,O+"$1"),e,"")+e;case 5495:case 3959:return S(e,/(image-set\([^]*)/,O+"$1$`$1");case 4968:return S(S(e,/(.+:)(flex-)?(.*)/,O+"box-pack:$3"+P+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+O+e+e;case 4095:case 3583:case 4068:case 2532:return S(e,/(.+)-inline(.+)/,O+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(K(e)-1-t>6)switch(L(e,t+1)){case 109:if(L(e,t+4)!==45)break;case 102:return S(e,/(.+:)(.+)-([^]+)/,"$1"+O+"$2-$3$1"+se+(L(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Re(e,"stretch")?Tn(S(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(L(e,t+1)!==115)break;case 6444:switch(L(e,K(e)-3-(~Re(e,"!important")&&10))){case 107:return S(e,":",":"+O)+e;case 101:return S(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+O+(L(e,14)===45?"inline-":"")+"box$3$1"+O+"$2$3$1"+P+"$2box$3")+e}break;case 5936:switch(L(e,t+11)){case 114:return O+e+P+S(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return O+e+P+S(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return O+e+P+S(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return O+e+P+e+e}return e}var Ga=function(t,r,a,n){if(t.length>-1&&!t.return)switch(t.type){case ft:t.return=Tn(t.value,t.length);break;case tr:return ue([ee(t,{value:S(t.value,"@","@"+O)})],n);case ct:if(t.length)return Cn(t.props,function(i){switch(oe(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ue([ee(t,{props:[S(i,/:(read-\w+)/,":"+se+"$1")]})],n);case"::placeholder":return ue([ee(t,{props:[S(i,/:(plac\w+)/,":"+O+"input-$1")]}),ee(t,{props:[S(i,/:(plac\w+)/,":"+se+"$1")]}),ee(t,{props:[S(i,/:(plac\w+)/,P+"input-$1")]})],n)}return""})}},Xa=[Ga],jn=function(t){var r=t.key;if(process.env.NODE_ENV!=="production"&&!r)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
3
+ If multiple caches share the same key they might "fight" for each other's style elements.`);if(r==="css"){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,function(b){var w=b.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var n=t.stylisPlugins||Xa;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var i={},o,s=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(b){for(var w=b.getAttribute("data-emotion").split(" "),h=1;h<w.length;h++)i[w[h]]=!0;s.push(b)});var u,f=[qa,za];process.env.NODE_ENV!=="production"&&f.push(Ja({get compat(){return y.compat}}),Wa);{var l,c=[Ia,process.env.NODE_ENV!=="production"?function(b){b.root||(b.return?l.insert(b.return):b.value&&b.type!==er&&l.insert(b.value+"{}"))}:Fa(function(b){l.insert(b)})],d=Da(f.concat(n,c)),p=function(w){return ue(ja(w),d)};u=function(w,h,g,x){l=g,process.env.NODE_ENV!=="production"&&h.map!==void 0&&(l={insert:function(v){g.insert(v+h.map)}}),p(w?w+"{"+h.styles+"}":h.styles),x&&(y.inserted[h.name]=!0)}}var y={key:r,sheet:new Ea({key:r,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:u};return y.sheet.hydrate(s),y};function Za(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zt={},Qa={get exports(){return zt},set exports(e){zt=e}},R={};/** @license React v16.13.1
4
4
  * react-is.production.min.js
5
5
  *
6
6
  * Copyright (c) Facebook, Inc. and its affiliates.
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var Ki;function wp(){if(Ki)return H;Ki=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,c=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function x(S){if(typeof S=="object"&&S!==null){var D=S.$$typeof;switch(D){case t:switch(S=S.type,S){case u:case f:case n:case i:case a:case c:return S;default:switch(S=S&&S.$$typeof,S){case s:case g:case v:case h:case o:return S;default:return D}}case r:return D}}}function I(S){return x(S)===f}return H.AsyncMode=u,H.ConcurrentMode=f,H.ContextConsumer=s,H.ContextProvider=o,H.Element=t,H.ForwardRef=g,H.Fragment=n,H.Lazy=v,H.Memo=h,H.Portal=r,H.Profiler=i,H.StrictMode=a,H.Suspense=c,H.isAsyncMode=function(S){return I(S)||x(S)===u},H.isConcurrentMode=I,H.isContextConsumer=function(S){return x(S)===s},H.isContextProvider=function(S){return x(S)===o},H.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===t},H.isForwardRef=function(S){return x(S)===g},H.isFragment=function(S){return x(S)===n},H.isLazy=function(S){return x(S)===v},H.isMemo=function(S){return x(S)===h},H.isPortal=function(S){return x(S)===r},H.isProfiler=function(S){return x(S)===i},H.isStrictMode=function(S){return x(S)===a},H.isSuspense=function(S){return x(S)===c},H.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===n||S===f||S===i||S===a||S===c||S===d||typeof S=="object"&&S!==null&&(S.$$typeof===v||S.$$typeof===h||S.$$typeof===o||S.$$typeof===s||S.$$typeof===g||S.$$typeof===b||S.$$typeof===y||S.$$typeof===A||S.$$typeof===m)},H.typeOf=x,H}var M={};/** @license React v16.13.1
10
+ */var yr;function ei(){if(yr)return R;yr=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,a=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,c=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function x(v){if(typeof v=="object"&&v!==null){var N=v.$$typeof;switch(N){case t:switch(v=v.type,v){case u:case f:case a:case i:case n:case c:return v;default:switch(v=v&&v.$$typeof,v){case s:case l:case y:case p:case o:return v;default:return N}}case r:return N}}}function m(v){return x(v)===f}return R.AsyncMode=u,R.ConcurrentMode=f,R.ContextConsumer=s,R.ContextProvider=o,R.Element=t,R.ForwardRef=l,R.Fragment=a,R.Lazy=y,R.Memo=p,R.Portal=r,R.Profiler=i,R.StrictMode=n,R.Suspense=c,R.isAsyncMode=function(v){return m(v)||x(v)===u},R.isConcurrentMode=m,R.isContextConsumer=function(v){return x(v)===s},R.isContextProvider=function(v){return x(v)===o},R.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===t},R.isForwardRef=function(v){return x(v)===l},R.isFragment=function(v){return x(v)===a},R.isLazy=function(v){return x(v)===y},R.isMemo=function(v){return x(v)===p},R.isPortal=function(v){return x(v)===r},R.isProfiler=function(v){return x(v)===i},R.isStrictMode=function(v){return x(v)===n},R.isSuspense=function(v){return x(v)===c},R.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===a||v===f||v===i||v===n||v===c||v===d||typeof v=="object"&&v!==null&&(v.$$typeof===y||v.$$typeof===p||v.$$typeof===o||v.$$typeof===s||v.$$typeof===l||v.$$typeof===w||v.$$typeof===h||v.$$typeof===g||v.$$typeof===b)},R.typeOf=x,R}var k={};/** @license React v16.13.1
11
11
  * react-is.development.js
12
12
  *
13
13
  * Copyright (c) Facebook, Inc. and its affiliates.
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Qi;function Rp(){return Qi||(Qi=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,c=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function x(O){return typeof O=="string"||typeof O=="function"||O===n||O===f||O===i||O===a||O===c||O===d||typeof O=="object"&&O!==null&&(O.$$typeof===v||O.$$typeof===h||O.$$typeof===o||O.$$typeof===s||O.$$typeof===g||O.$$typeof===b||O.$$typeof===y||O.$$typeof===A||O.$$typeof===m)}function I(O){if(typeof O=="object"&&O!==null){var ae=O.$$typeof;switch(ae){case t:var be=O.type;switch(be){case u:case f:case n:case i:case a:case c:return be;default:var ft=be&&be.$$typeof;switch(ft){case s:case g:case v:case h:case o:return ft;default:return ae}}case r:return ae}}}var S=u,D=f,$=s,N=o,ne=t,W=g,F=n,q=v,oe=h,ee=r,Ge=i,Pe=a,_e=c,Fe=!1;function Xe(O){return Fe||(Fe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Ye(O)||I(O)===u}function Ye(O){return I(O)===f}function Ae(O){return I(O)===s}function Je(O){return I(O)===o}function k(O){return typeof O=="object"&&O!==null&&O.$$typeof===t}function ue(O){return I(O)===g}function E(O){return I(O)===n}function _(O){return I(O)===v}function w(O){return I(O)===h}function P(O){return I(O)===r}function B(O){return I(O)===i}function V(O){return I(O)===a}function K(O){return I(O)===c}M.AsyncMode=S,M.ConcurrentMode=D,M.ContextConsumer=$,M.ContextProvider=N,M.Element=ne,M.ForwardRef=W,M.Fragment=F,M.Lazy=q,M.Memo=oe,M.Portal=ee,M.Profiler=Ge,M.StrictMode=Pe,M.Suspense=_e,M.isAsyncMode=Xe,M.isConcurrentMode=Ye,M.isContextConsumer=Ae,M.isContextProvider=Je,M.isElement=k,M.isForwardRef=ue,M.isFragment=E,M.isLazy=_,M.isMemo=w,M.isPortal=P,M.isProfiler=B,M.isStrictMode=V,M.isSuspense=K,M.isValidElementType=x,M.typeOf=I}()),M}(function(e){process.env.NODE_ENV==="production"?e.exports=wp():e.exports=Rp()})(Op);var dc=$a,Lp={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Tp={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},hc={};hc[dc.ForwardRef]=Lp;hc[dc.Memo]=Tp;var Ep=!0;function $p(e,t,r){var n="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):n+=a+" "}),n}var yc=function(t,r,n){var a=t.key+"-"+r.name;(n===!1||Ep===!1)&&t.registered[a]===void 0&&(t.registered[a]=r.styles)},Pp=function(t,r,n){yc(t,r,n);var a=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+a:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Fp(e){for(var t=0,r,n=0,a=e.length;a>=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Dp={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},eo=`You have illegal escape sequence in your template literal, most likely inside content's property value.
17
+ */var br;function ti(){return br||(br=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,a=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,c=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function x(E){return typeof E=="string"||typeof E=="function"||E===a||E===f||E===i||E===n||E===c||E===d||typeof E=="object"&&E!==null&&(E.$$typeof===y||E.$$typeof===p||E.$$typeof===o||E.$$typeof===s||E.$$typeof===l||E.$$typeof===w||E.$$typeof===h||E.$$typeof===g||E.$$typeof===b)}function m(E){if(typeof E=="object"&&E!==null){var Oe=E.$$typeof;switch(Oe){case t:var ye=E.type;switch(ye){case u:case f:case a:case i:case n:case c:return ye;default:var dr=ye&&ye.$$typeof;switch(dr){case s:case l:case y:case p:case o:return dr;default:return Oe}}case r:return Oe}}}var v=u,N=f,C=s,X=o,Z=t,_=l,z=a,D=y,_e=p,V=r,ze=i,we=n,he=c,Ae=!1;function Te(E){return Ae||(Ae=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),He(E)||m(E)===u}function He(E){return m(E)===f}function ge(E){return m(E)===s}function St(E){return m(E)===o}function Ot(E){return typeof E=="object"&&E!==null&&E.$$typeof===t}function me(E){return m(E)===l}function Ke(E){return m(E)===a}function ve(E){return m(E)===y}function Se(E){return m(E)===p}function je(E){return m(E)===r}function Je(E){return m(E)===i}function $e(E){return m(E)===n}function ce(E){return m(E)===c}k.AsyncMode=v,k.ConcurrentMode=N,k.ContextConsumer=C,k.ContextProvider=X,k.Element=Z,k.ForwardRef=_,k.Fragment=z,k.Lazy=D,k.Memo=_e,k.Portal=V,k.Profiler=ze,k.StrictMode=we,k.Suspense=he,k.isAsyncMode=Te,k.isConcurrentMode=He,k.isContextConsumer=ge,k.isContextProvider=St,k.isElement=Ot,k.isForwardRef=me,k.isFragment=Ke,k.isLazy=ve,k.isMemo=Se,k.isPortal=je,k.isProfiler=Je,k.isStrictMode=$e,k.isSuspense=ce,k.isValidElementType=x,k.typeOf=m}()),k}(function(e){process.env.NODE_ENV==="production"?e.exports=ei():e.exports=ti()})(Qa);var $n=zt,ri={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ni={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},In={};In[$n.ForwardRef]=ri;In[$n.Memo]=ni;var ai=!0;function ii(e,t,r){var a="";return r.split(" ").forEach(function(n){e[n]!==void 0?t.push(e[n]+";"):a+=n+" "}),a}var Dn=function(t,r,a){var n=t.key+"-"+r.name;(a===!1||ai===!1)&&t.registered[n]===void 0&&(t.registered[n]=r.styles)},oi=function(t,r,a){Dn(t,r,a);var n=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+n:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function si(e){for(var t=0,r,a=0,n=e.length;n>=4;++a,n-=4)r=e.charCodeAt(a)&255|(e.charCodeAt(++a)&255)<<8|(e.charCodeAt(++a)&255)<<16|(e.charCodeAt(++a)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(a+2)&255)<<16;case 2:t^=(e.charCodeAt(a+1)&255)<<8;case 1:t^=e.charCodeAt(a)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var ui={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},wr=`You have illegal escape sequence in your template literal, most likely inside content's property value.
18
18
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
19
19
  You can read more about this here:
20
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,kp="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Bp=/[A-Z]|^ms/g,vc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ya=function(t){return t.charCodeAt(1)===45},to=function(t){return t!=null&&typeof t!="boolean"},on=lc(function(e){return Ya(e)?e:e.replace(Bp,"-$&").toLowerCase()}),pr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(vc,function(n,a,i){return we={name:a,styles:i,next:we},a})}return Dp[t]!==1&&!Ya(t)&&typeof r=="number"&&r!==0?r+"px":r};if(process.env.NODE_ENV!=="production"){var Wp=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,jp=["normal","none","initial","inherit","unset"],Np=pr,Gp=/^-ms-/,Xp=/-(.)/g,ro={};pr=function(t,r){if(t==="content"&&(typeof r!="string"||jp.indexOf(r)===-1&&!Wp.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+r+"\"'`");var n=Np(t,r);return n!==""&&!Ya(t)&&t.indexOf("-")!==-1&&ro[t]===void 0&&(ro[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(Gp,"ms-").replace(Xp,function(a,i){return i.toUpperCase()})+"?")),n}}var Cc="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Dt(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Cc);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return we={name:r.name,styles:r.styles,next:we},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)we={name:n.name,styles:n.styles,next:we},n=n.next;var a=r.styles+";";return process.env.NODE_ENV!=="production"&&r.map!==void 0&&(a+=r.map),a}return Hp(e,t,r)}case"function":{if(e!==void 0){var i=we,o=r(e);return we=i,Dt(e,t,o)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var s=[],u=r.replace(vc,function(g,c,d){var h="animation"+s.length;return s.push("const "+h+" = keyframes`"+d.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+h+"}"});s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+u+"`"]).join(`
20
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,ci="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",fi=/[A-Z]|^ms/g,Fn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,nr=function(t){return t.charCodeAt(1)===45},Sr=function(t){return t!=null&&typeof t!="boolean"},xt=_n(function(e){return nr(e)?e:e.replace(fi,"-$&").toLowerCase()}),at=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Fn,function(a,n,i){return J={name:n,styles:i,next:J},n})}return ui[t]!==1&&!nr(t)&&typeof r=="number"&&r!==0?r+"px":r};if(process.env.NODE_ENV!=="production"){var li=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,di=["normal","none","initial","inherit","unset"],pi=at,hi=/^-ms-/,gi=/-(.)/g,Or={};at=function(t,r){if(t==="content"&&(typeof r!="string"||di.indexOf(r)===-1&&!li.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+r+"\"'`");var a=pi(t,r);return a!==""&&!nr(t)&&t.indexOf("-")!==-1&&Or[t]===void 0&&(Or[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(hi,"ms-").replace(gi,function(n,i){return i.toUpperCase()})+"?")),a}}var Un="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Me(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Un);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return J={name:r.name,styles:r.styles,next:J},r.name;if(r.styles!==void 0){var a=r.next;if(a!==void 0)for(;a!==void 0;)J={name:a.name,styles:a.styles,next:J},a=a.next;var n=r.styles+";";return process.env.NODE_ENV!=="production"&&r.map!==void 0&&(n+=r.map),n}return mi(e,t,r)}case"function":{if(e!==void 0){var i=J,o=r(e);return J=i,Me(e,t,o)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var s=[],u=r.replace(Fn,function(l,c,d){var p="animation"+s.length;return s.push("const "+p+" = keyframes`"+d.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+p+"}"});s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+u+"`"]).join(`
21
21
  `)+`
22
22
 
23
23
  You should wrap it with \`css\` like this:
24
24
 
25
- `+("css`"+u+"`"))}break}if(t==null)return r;var f=t[r];return f!==void 0?f:r}function Hp(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=Dt(e,t,r[a])+";";else for(var i in r){var o=r[i];if(typeof o!="object")t!=null&&t[o]!==void 0?n+=i+"{"+t[o]+"}":to(o)&&(n+=on(i)+":"+pr(i,o)+";");else{if(i==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(Cc);if(Array.isArray(o)&&typeof o[0]=="string"&&(t==null||t[o[0]]===void 0))for(var s=0;s<o.length;s++)to(o[s])&&(n+=on(i)+":"+pr(i,o[s])+";");else{var u=Dt(e,t,o);switch(i){case"animation":case"animationName":{n+=on(i)+":"+u+";";break}default:process.env.NODE_ENV!=="production"&&i==="undefined"&&console.error(kp),n+=i+"{"+u+"}"}}}}return n}var no=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Ac;process.env.NODE_ENV!=="production"&&(Ac=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var we,ao=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var a=!0,i="";we=void 0;var o=t[0];o==null||o.raw===void 0?(a=!1,i+=Dt(n,r,o)):(process.env.NODE_ENV!=="production"&&o[0]===void 0&&console.error(eo),i+=o[0]);for(var s=1;s<t.length;s++)i+=Dt(n,r,t[s]),a&&(process.env.NODE_ENV!=="production"&&o[s]===void 0&&console.error(eo),i+=o[s]);var u;process.env.NODE_ENV!=="production"&&(i=i.replace(Ac,function(d){return u=d,""})),no.lastIndex=0;for(var f="",g;(g=no.exec(i))!==null;)f+="-"+g[1];var c=Fp(i)+f;return process.env.NODE_ENV!=="production"?{name:c,styles:i,map:u,next:we,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:c,styles:i,next:we}},Mp=function(t){return t()},zp=Ta["useInsertionEffect"]?Ta["useInsertionEffect"]:!1,Up=zp||Mp,Or={}.hasOwnProperty,Ja=Q.createContext(typeof HTMLElement<"u"?pc({key:"css"}):null);process.env.NODE_ENV!=="production"&&(Ja.displayName="EmotionCacheContext");Ja.Provider;var Vp=function(t){return Q.forwardRef(function(r,n){var a=Q.useContext(Ja);return t(r,a,n)})},bc=Q.createContext({});process.env.NODE_ENV!=="production"&&(bc.displayName="EmotionThemeContext");var io=function(t){var r=t.split(".");return r[r.length-1]},Zp=function(t){var r=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(t);if(r||(r=/^([A-Za-z0-9$.]+)@/.exec(t),r))return io(r[1])},qp=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),Yp=function(t){return t.replace(/\$/g,"-")},Jp=function(t){if(t)for(var r=t.split(`
26
- `),n=0;n<r.length;n++){var a=Zp(r[n]);if(a){if(qp.has(a))break;if(/^[A-Z]/.test(a))return Yp(a)}}},Pa="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Fa="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",mc=function(t,r){if(process.env.NODE_ENV!=="production"&&typeof r.css=="string"&&r.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+r.css+"`");var n={};for(var a in r)Or.call(r,a)&&(n[a]=r[a]);if(n[Pa]=t,process.env.NODE_ENV!=="production"&&r.css&&(typeof r.css!="object"||typeof r.css.name!="string"||r.css.name.indexOf("-")===-1)){var i=Jp(new Error().stack);i&&(n[Fa]=i)}return n},Kp=function(t){var r=t.cache,n=t.serialized,a=t.isStringTag;return yc(r,n,a),Up(function(){return Pp(r,n,a)}),null},Ka=Vp(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[Pa],i=[n],o="";typeof e.className=="string"?o=$p(t.registered,i,e.className):e.className!=null&&(o=e.className+" ");var s=ao(i,void 0,Q.useContext(bc));if(process.env.NODE_ENV!=="production"&&s.name.indexOf("-")===-1){var u=e[Fa];u&&(s=ao([s,"label:"+u+";"]))}o+=t.key+"-"+s.name;var f={};for(var g in e)Or.call(e,g)&&g!=="css"&&g!==Pa&&(process.env.NODE_ENV==="production"||g!==Fa)&&(f[g]=e[g]);return f.ref=r,f.className=o,Q.createElement(Q.Fragment,null,Q.createElement(Kp,{cache:t,serialized:s,isStringTag:typeof a=="string"}),Q.createElement(a,f))});process.env.NODE_ENV!=="production"&&(Ka.displayName="EmotionCssPropInternal");function ve(e,t,r){return Or.call(t,"css")?gr.jsx(Ka,mc(e,t),r):gr.jsx(e,t,r)}function Qp(e,t,r){return Or.call(t,"css")?gr.jsxs(Ka,mc(e,t),r):gr.jsxs(e,t,r)}var wr={},Rr={},kt={},ed={get exports(){return kt},set exports(e){kt=e}};(function(e,t){var r=200,n="__lodash_hash_undefined__",a=800,i=16,o=9007199254740991,s="[object Arguments]",u="[object Array]",f="[object AsyncFunction]",g="[object Boolean]",c="[object Date]",d="[object Error]",h="[object Function]",v="[object GeneratorFunction]",m="[object Map]",b="[object Number]",y="[object Null]",A="[object Object]",x="[object Proxy]",I="[object RegExp]",S="[object Set]",D="[object String]",$="[object Undefined]",N="[object WeakMap]",ne="[object ArrayBuffer]",W="[object DataView]",F="[object Float32Array]",q="[object Float64Array]",oe="[object Int8Array]",ee="[object Int16Array]",Ge="[object Int32Array]",Pe="[object Uint8Array]",_e="[object Uint8ClampedArray]",Fe="[object Uint16Array]",Xe="[object Uint32Array]",Ye=/[\\^$.*+?()[\]{}|]/g,Ae=/^\[object .+?Constructor\]$/,Je=/^(?:0|[1-9]\d*)$/,k={};k[F]=k[q]=k[oe]=k[ee]=k[Ge]=k[Pe]=k[_e]=k[Fe]=k[Xe]=!0,k[s]=k[u]=k[ne]=k[g]=k[W]=k[c]=k[d]=k[h]=k[m]=k[b]=k[A]=k[I]=k[S]=k[D]=k[N]=!1;var ue=typeof Qe=="object"&&Qe&&Qe.Object===Object&&Qe,E=typeof self=="object"&&self&&self.Object===Object&&self,_=ue||E||Function("return this")(),w=t&&!t.nodeType&&t,P=w&&!0&&e&&!e.nodeType&&e,B=P&&P.exports===w,V=B&&ue.process,K=function(){try{var l=P&&P.require&&P.require("util").types;return l||V&&V.binding&&V.binding("util")}catch{}}(),O=K&&K.isTypedArray;function ae(l,p,C){switch(C.length){case 0:return l.call(p);case 1:return l.call(p,C[0]);case 2:return l.call(p,C[0],C[1]);case 3:return l.call(p,C[0],C[1],C[2])}return l.apply(p,C)}function be(l,p){for(var C=-1,R=Array(l);++C<l;)R[C]=p(C);return R}function ft(l){return function(p){return l(p)}}function kf(l,p){return l?.[p]}function Bf(l,p){return function(C){return l(p(C))}}var Wf=Array.prototype,jf=Function.prototype,Zt=Object.prototype,Zr=_["__core-js_shared__"],qt=jf.toString,He=Zt.hasOwnProperty,Li=function(){var l=/[^.]+$/.exec(Zr&&Zr.keys&&Zr.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""}(),Ti=Zt.toString,Nf=qt.call(Object),Gf=RegExp("^"+qt.call(He).replace(Ye,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Yt=B?_.Buffer:void 0,Ei=_.Symbol,$i=_.Uint8Array,Pi=Yt?Yt.allocUnsafe:void 0,Fi=Bf(Object.getPrototypeOf,Object),Di=Object.create,Xf=Zt.propertyIsEnumerable,Hf=Wf.splice,nt=Ei?Ei.toStringTag:void 0,Jt=function(){try{var l=Jr(Object,"defineProperty");return l({},"",{}),l}catch{}}(),Mf=Yt?Yt.isBuffer:void 0,ki=Math.max,zf=Date.now,Bi=Jr(_,"Map"),xt=Jr(Object,"create"),Uf=function(){function l(){}return function(p){if(!it(p))return{};if(Di)return Di(p);l.prototype=p;var C=new l;return l.prototype=void 0,C}}();function at(l){var p=-1,C=l==null?0:l.length;for(this.clear();++p<C;){var R=l[p];this.set(R[0],R[1])}}function Vf(){this.__data__=xt?xt(null):{},this.size=0}function Zf(l){var p=this.has(l)&&delete this.__data__[l];return this.size-=p?1:0,p}function qf(l){var p=this.__data__;if(xt){var C=p[l];return C===n?void 0:C}return He.call(p,l)?p[l]:void 0}function Yf(l){var p=this.__data__;return xt?p[l]!==void 0:He.call(p,l)}function Jf(l,p){var C=this.__data__;return this.size+=this.has(l)?0:1,C[l]=xt&&p===void 0?n:p,this}at.prototype.clear=Vf,at.prototype.delete=Zf,at.prototype.get=qf,at.prototype.has=Yf,at.prototype.set=Jf;function Me(l){var p=-1,C=l==null?0:l.length;for(this.clear();++p<C;){var R=l[p];this.set(R[0],R[1])}}function Kf(){this.__data__=[],this.size=0}function Qf(l){var p=this.__data__,C=Kt(p,l);if(C<0)return!1;var R=p.length-1;return C==R?p.pop():Hf.call(p,C,1),--this.size,!0}function eg(l){var p=this.__data__,C=Kt(p,l);return C<0?void 0:p[C][1]}function tg(l){return Kt(this.__data__,l)>-1}function rg(l,p){var C=this.__data__,R=Kt(C,l);return R<0?(++this.size,C.push([l,p])):C[R][1]=p,this}Me.prototype.clear=Kf,Me.prototype.delete=Qf,Me.prototype.get=eg,Me.prototype.has=tg,Me.prototype.set=rg;function gt(l){var p=-1,C=l==null?0:l.length;for(this.clear();++p<C;){var R=l[p];this.set(R[0],R[1])}}function ng(){this.size=0,this.__data__={hash:new at,map:new(Bi||Me),string:new at}}function ag(l){var p=er(this,l).delete(l);return this.size-=p?1:0,p}function ig(l){return er(this,l).get(l)}function og(l){return er(this,l).has(l)}function sg(l,p){var C=er(this,l),R=C.size;return C.set(l,p),this.size+=C.size==R?0:1,this}gt.prototype.clear=ng,gt.prototype.delete=ag,gt.prototype.get=ig,gt.prototype.has=og,gt.prototype.set=sg;function pt(l){var p=this.__data__=new Me(l);this.size=p.size}function ug(){this.__data__=new Me,this.size=0}function cg(l){var p=this.__data__,C=p.delete(l);return this.size=p.size,C}function lg(l){return this.__data__.get(l)}function fg(l){return this.__data__.has(l)}function gg(l,p){var C=this.__data__;if(C instanceof Me){var R=C.__data__;if(!Bi||R.length<r-1)return R.push([l,p]),this.size=++C.size,this;C=this.__data__=new gt(R)}return C.set(l,p),this.size=C.size,this}pt.prototype.clear=ug,pt.prototype.delete=cg,pt.prototype.get=lg,pt.prototype.has=fg,pt.prototype.set=gg;function pg(l,p){var C=en(l),R=!C&&Qr(l),X=!C&&!R&&Xi(l),z=!C&&!R&&!X&&Mi(l),Y=C||R||X||z,G=Y?be(l.length,String):[],J=G.length;for(var me in l)(p||He.call(l,me))&&!(Y&&(me=="length"||X&&(me=="offset"||me=="parent")||z&&(me=="buffer"||me=="byteLength"||me=="byteOffset")||Ni(me,J)))&&G.push(me);return G}function qr(l,p,C){(C!==void 0&&!tr(l[p],C)||C===void 0&&!(p in l))&&Yr(l,p,C)}function dg(l,p,C){var R=l[p];(!(He.call(l,p)&&tr(R,C))||C===void 0&&!(p in l))&&Yr(l,p,C)}function Kt(l,p){for(var C=l.length;C--;)if(tr(l[C][0],p))return C;return-1}function Yr(l,p,C){p=="__proto__"&&Jt?Jt(l,p,{configurable:!0,enumerable:!0,value:C,writable:!0}):l[p]=C}var hg=Rg();function Qt(l){return l==null?l===void 0?$:y:nt&&nt in Object(l)?Lg(l):Dg(l)}function Wi(l){return Ot(l)&&Qt(l)==s}function yg(l){if(!it(l)||Pg(l))return!1;var p=rn(l)?Gf:Ae;return p.test(jg(l))}function vg(l){return Ot(l)&&Hi(l.length)&&!!k[Qt(l)]}function Cg(l){if(!it(l))return Fg(l);var p=Gi(l),C=[];for(var R in l)R=="constructor"&&(p||!He.call(l,R))||C.push(R);return C}function ji(l,p,C,R,X){l!==p&&hg(p,function(z,Y){if(X||(X=new pt),it(z))Ag(l,p,Y,C,ji,R,X);else{var G=R?R(Kr(l,Y),z,Y+"",l,p,X):void 0;G===void 0&&(G=z),qr(l,Y,G)}},zi)}function Ag(l,p,C,R,X,z,Y){var G=Kr(l,C),J=Kr(p,C),me=Y.get(J);if(me){qr(l,C,me);return}var he=z?z(G,J,C+"",l,p,Y):void 0,wt=he===void 0;if(wt){var nn=en(J),an=!nn&&Xi(J),Vi=!nn&&!an&&Mi(J);he=J,nn||an||Vi?en(G)?he=G:Ng(G)?he=xg(G):an?(wt=!1,he=Ig(J,!0)):Vi?(wt=!1,he=_g(J,!0)):he=[]:Gg(J)||Qr(J)?(he=G,Qr(G)?he=Xg(G):(!it(G)||rn(G))&&(he=Tg(J))):wt=!1}wt&&(Y.set(J,he),X(he,J,R,z,Y),Y.delete(J)),qr(l,C,he)}function bg(l,p){return Bg(kg(l,p,Ui),l+"")}var mg=Jt?function(l,p){return Jt(l,"toString",{configurable:!0,enumerable:!1,value:Mg(p),writable:!0})}:Ui;function Ig(l,p){if(p)return l.slice();var C=l.length,R=Pi?Pi(C):new l.constructor(C);return l.copy(R),R}function Sg(l){var p=new l.constructor(l.byteLength);return new $i(p).set(new $i(l)),p}function _g(l,p){var C=p?Sg(l.buffer):l.buffer;return new l.constructor(C,l.byteOffset,l.length)}function xg(l,p){var C=-1,R=l.length;for(p||(p=Array(R));++C<R;)p[C]=l[C];return p}function Og(l,p,C,R){var X=!C;C||(C={});for(var z=-1,Y=p.length;++z<Y;){var G=p[z],J=R?R(C[G],l[G],G,C,l):void 0;J===void 0&&(J=l[G]),X?Yr(C,G,J):dg(C,G,J)}return C}function wg(l){return bg(function(p,C){var R=-1,X=C.length,z=X>1?C[X-1]:void 0,Y=X>2?C[2]:void 0;for(z=l.length>3&&typeof z=="function"?(X--,z):void 0,Y&&Eg(C[0],C[1],Y)&&(z=X<3?void 0:z,X=1),p=Object(p);++R<X;){var G=C[R];G&&l(p,G,R,z)}return p})}function Rg(l){return function(p,C,R){for(var X=-1,z=Object(p),Y=R(p),G=Y.length;G--;){var J=Y[l?G:++X];if(C(z[J],J,z)===!1)break}return p}}function er(l,p){var C=l.__data__;return $g(p)?C[typeof p=="string"?"string":"hash"]:C.map}function Jr(l,p){var C=kf(l,p);return yg(C)?C:void 0}function Lg(l){var p=He.call(l,nt),C=l[nt];try{l[nt]=void 0;var R=!0}catch{}var X=Ti.call(l);return R&&(p?l[nt]=C:delete l[nt]),X}function Tg(l){return typeof l.constructor=="function"&&!Gi(l)?Uf(Fi(l)):{}}function Ni(l,p){var C=typeof l;return p=p??o,!!p&&(C=="number"||C!="symbol"&&Je.test(l))&&l>-1&&l%1==0&&l<p}function Eg(l,p,C){if(!it(C))return!1;var R=typeof p;return(R=="number"?tn(C)&&Ni(p,C.length):R=="string"&&p in C)?tr(C[p],l):!1}function $g(l){var p=typeof l;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?l!=="__proto__":l===null}function Pg(l){return!!Li&&Li in l}function Gi(l){var p=l&&l.constructor,C=typeof p=="function"&&p.prototype||Zt;return l===C}function Fg(l){var p=[];if(l!=null)for(var C in Object(l))p.push(C);return p}function Dg(l){return Ti.call(l)}function kg(l,p,C){return p=ki(p===void 0?l.length-1:p,0),function(){for(var R=arguments,X=-1,z=ki(R.length-p,0),Y=Array(z);++X<z;)Y[X]=R[p+X];X=-1;for(var G=Array(p+1);++X<p;)G[X]=R[X];return G[p]=C(Y),ae(l,this,G)}}function Kr(l,p){if(!(p==="constructor"&&typeof l[p]=="function")&&p!="__proto__")return l[p]}var Bg=Wg(mg);function Wg(l){var p=0,C=0;return function(){var R=zf(),X=i-(R-C);if(C=R,X>0){if(++p>=a)return arguments[0]}else p=0;return l.apply(void 0,arguments)}}function jg(l){if(l!=null){try{return qt.call(l)}catch{}try{return l+""}catch{}}return""}function tr(l,p){return l===p||l!==l&&p!==p}var Qr=Wi(function(){return arguments}())?Wi:function(l){return Ot(l)&&He.call(l,"callee")&&!Xf.call(l,"callee")},en=Array.isArray;function tn(l){return l!=null&&Hi(l.length)&&!rn(l)}function Ng(l){return Ot(l)&&tn(l)}var Xi=Mf||zg;function rn(l){if(!it(l))return!1;var p=Qt(l);return p==h||p==v||p==f||p==x}function Hi(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=o}function it(l){var p=typeof l;return l!=null&&(p=="object"||p=="function")}function Ot(l){return l!=null&&typeof l=="object"}function Gg(l){if(!Ot(l)||Qt(l)!=A)return!1;var p=Fi(l);if(p===null)return!0;var C=He.call(p,"constructor")&&p.constructor;return typeof C=="function"&&C instanceof C&&qt.call(C)==Nf}var Mi=O?ft(O):vg;function Xg(l){return Og(l,zi(l))}function zi(l){return tn(l)?pg(l,!0):Cg(l)}var Hg=wg(function(l,p,C,R){ji(l,p,C,R)});function Mg(l){return function(){return l}}function Ui(l){return l}function zg(){return!1}e.exports=Hg})(ed,kt);var Le={},Ic={};const td={palette:{primary:{main:"#ff5f00",light:"#ffcdb8",ultraLight:"#fce9e6",dark:"#d94900"},secondary:{main:"#0871c4",light:"#0c8cef",ultraLight:"#eff4ff",dark:"#023864"}},defaultFontFamily:"proxima-nova,sans-serif",fontFaces:[{family:"proxima-nova",source:["$cdnUrl/brand/packlink_cons/fonts/ProximaNova-BoldWeb.woff2"],descriptors:{weight:"700",style:"normal",display:"swap"}},{family:"proxima-nova",source:["$cdnUrl/brand/packlink_cons/fonts/ProximaNova-SemiboldWeb.woff2"],descriptors:{weight:"600",style:"normal",display:"swap"}},{family:"proxima-nova",source:["$cdnUrl/brand/packlink_cons/fonts/ProximaNova-RegularWeb.woff2"],descriptors:{weight:"400",style:"normal",display:"swap"}}]};Ic.packlink_cons=td;var Sc={},_c={};const rd=e=>({defaultColor:e.palette.primary.main,visitedColor:e.palette.primary.dark,hoverColor:e.palette.primary.dark,activeColor:e.palette.primary.light,isDark:{defaultColor:e.palette.white,visitedColor:e.palette.white,hoverColor:e.palette.white,activeColor:e.palette.primary.light}});_c.createThemeLinkComponent=rd;var nd=_c;const ad={palette:{primary:{main:"#0871c4",light:"#0c8cef",ultraLight:"#eff4ff",dark:"#023864"},secondary:{main:"#023864",light:"#eff4ff",ultraLight:"#eff4ff",dark:"#023864"}},components:{Link:nd.createThemeLinkComponent},defaultFontFamily:"proxima-nova,sans-serif",fontFaces:[{family:"proxima-nova",source:["$cdnUrl/brand/packlink_cons/fonts/ProximaNova-BoldWeb.woff2"],descriptors:{weight:"700",style:"normal",display:"swap"}},{family:"proxima-nova",source:["$cdnUrl/brand/packlink_cons/fonts/ProximaNova-SemiboldWeb.woff2"],descriptors:{weight:"600",style:"normal",display:"swap"}},{family:"proxima-nova",source:["$cdnUrl/brand/packlink_cons/fonts/ProximaNova-RegularWeb.woff2"],descriptors:{weight:"400",style:"normal",display:"swap"}}]};Sc.packlink_pro=ad;var xc={},Oc={};const id=e=>({defaultColor:e.palette.primary.main,visitedColor:e.palette.primary.dark,hoverColor:e.palette.primary.dark,activeColor:e.palette.primary.light,isDark:{defaultColor:e.palette.white,visitedColor:e.palette.white,hoverColor:e.palette.white,activeColor:e.palette.primary.light}});Oc.createThemeLinkComponent=id;var wc={};const od=e=>({borderRadius:"0px"});wc.createThemeButtonComponent=od;var Rc={};const sd=()=>({borderRadius:"0",square:!0});Rc.createThemeCheckboxComponent=sd;var ud=Oc,cd=wc,ld=Rc;const fd={palette:{primary:{main:"#dc0032",light:"#ed7f98",ultraLight:"#fad9e0",dark:"#a90034"},secondary:{main:"#414042",light:"#808285",ultraLight:"#e6e7e8",dark:"#191919"},error:{main:"#dc0032",light:"#ed7f98"},success:{main:"#78be20",light:"#a7ce97"},gray:{main:"#808285",light:"#dedede",ultraLight:"#e6e7e8",megaLight:"#e6e7e8",dark:"#414042"},black:"#414042",white:"#fff"},typography:{fontWeight:{light:200,normal:300,semibold:400,bold:700}},card:{borderRadius:{mobile:"0",tablet:"0",desktop:"0"}},components:{Link:ud.createThemeLinkComponent,Button:cd.createThemeButtonComponent,Checkbox:ld.createThemeCheckboxComponent},defaultFontFamily:"pluto-sans, sans-serif",fontFaces:[{family:"pluto-sans",source:["$cdnUrl/brand/dpd/fonts/PlutoSans/PlutoSans-RegularWeb.woff"],descriptors:{weight:"400",style:"normal"}},{family:"pluto-sans",source:["$cdnUrl/brand/dpd/fonts/PlutoSans/PlutoSans-LightWeb.woff"],descriptors:{weight:"300",style:"normal"}},{family:"pluto-sans",source:["$cdnUrl/brand/dpd/fonts/PlutoSans/PlutoSans-ExtraLightWeb.woff"],descriptors:{weight:"200",style:"normal"}}]};xc.dpd=fd;var Qa={},Lc={};const gd=e=>({action:{justifyContent:"flex-start"},content:{textAlign:"left",padding:e.spacing(.5)},header:{titleColor:e.palette.gray.dark,padding:e.spacing(.5),borderBottom:`1px solid ${e.palette.gray.light}`}});Lc.createThemeDialogComponent=gd;var Tc={};const pd=e=>({defaultColor:e.palette.primary.main,visitedColor:e.palette.primary.dark,hoverColor:e.palette.primary.dark,activeColor:e.palette.primary.light,isDark:{defaultColor:e.palette.white,visitedColor:e.palette.white,hoverColor:e.palette.white,activeColor:e.palette.primary.light}});Tc.createThemeLinkComponent=pd;var dd=Lc,hd=Tc;const yd={palette:{primary:{main:"#0654ba",light:"#b3d3fd",ultraLight:"#d6e7fe",dark:"#0549a1"},secondary:{main:"#2e4265",light:"#aabbd8",ultraLight:"#cdd7e8",dark:"#001c3a"},error:{main:"#a40303",light:"#fed6d6"},success:{main:"#36cf57",light:"#caf2d3"},alert:{main:"#ba0606",light:"#fa5f5f"},info:{main:"#258bb5",light:"#cbe8f4"},gray:{main:"#a1a1a1",light:"#ccc",ultraLight:"#f5f5f5",megaLight:"#fafafa",dark:"#333"},black:"#000",white:"#fff"},components:{Dialog:dd.createThemeDialogComponent,Link:hd.createThemeLinkComponent},defaultFontFamily:"helvetica-neue, Helvetica, arial, roboto, sans-serif",fontFaces:[{family:"helvetica-neue",source:["$cdnUrl/brand/ebay/fonts/HelveticaNeue-Bold.woff"],descriptors:{weight:"600",style:"normal"}},{family:"helvetica-neue",source:["$cdnUrl/brand/ebay/fonts/HelveticaNeue-Medium.woff"],descriptors:{weight:"400",style:"normal"}},{family:"helvetica-neue",source:["$cdnUrl/brand/ebay/fonts/HelveticaNeue-Light.woff"],descriptors:{weight:"200",style:"normal"}}]};Qa.ebay=yd;var Ec={},vd=Qa;const Cd={...vd.ebay};Ec.ebay_it=Cd;var $c={},Pc={};const Ad=e=>({backgroundColor:e.palette.white,border:`1px solid ${e.palette.gray.light}`,isSelected:{backgroundColor:e.palette.primary.ultraLight,color:e.palette.primary.dark}});Pc.createThemeChipComponent=Ad;var Fc={};const bd=e=>({action:{justifyContent:"flex-end"},content:{textAlign:"left",padding:e.spacing(.5)},dialog:{borderRadius:e.borderRadius.M},header:{borderBottom:`1px solid ${e.palette.gray.light}`,padding:e.spacing(.5),titleColor:e.palette.gray.dark}});Fc.createThemeDialogComponent=bd;var Dc={};const md=e=>({defaultColor:e.palette.primary.main,visitedColor:e.palette.primary.dark,hoverColor:e.palette.primary.dark,activeColor:e.palette.primary.light,isDark:{defaultColor:e.palette.white,visitedColor:e.palette.white,hoverColor:e.palette.white,activeColor:e.palette.primary.light}});Dc.createThemeLinkComponent=md;var kc={};const Id=e=>({borderRadius:"20px"});kc.createThemeButtonComponent=Id;var Sd=Pc,_d=Fc,xd=Dc,Od=kc;const wd={palette:{primary:{main:"#0070ba",light:"#b1e2fc",ultraLight:"#e0f4fe",dark:"#035098"},secondary:{main:"#003087",light:"#96a3d2",ultraLight:"#e6e9f4",dark:"#001e72"},error:{main:"#df341c",light:"#fac8ca"},success:{main:"#56b652",light:"#bfe3be"},alert:{main:"#ffc032",light:"#ffebb7"},info:{main:"#37aad5",light:"#b6e5f0"},gray:{main:"#6c7378",light:"#dedede",ultraLight:"#ececec",megaLight:"#f5f7fa",dark:"#2c2e2f"},black:"#000",white:"#fff"},typography:{fontWeight:{light:200,normal:300,semibold:400,bold:600}},components:{Chip:Sd.createThemeChipComponent,Dialog:_d.createThemeDialogComponent,Link:xd.createThemeLinkComponent,Button:Od.createThemeButtonComponent},defaultFontFamily:"PayPal Sans Small, sans-serif",fontFaces:[{family:"PayPal Sans Small",source:["$cdnUrl/brand/paypal/fonts/PayPalSans-Small-Web/Light.woff"],descriptors:{weight:"200",style:"normal"}},{family:"PayPal Sans Small",source:["$cdnUrl/brand/paypal/fonts/PayPalSans-Small-Web/Regular.woff"],descriptors:{weight:"300",style:"normal"}},{family:"PayPal Sans Small",source:["$cdnUrl/brand/paypal/fonts/PayPalSans-Small-Web/Medium.woff"],descriptors:{weight:"400",style:"normal"}},{family:"PayPal Sans Small",source:["$cdnUrl/brand/paypal/fonts/PayPalSans-Small-Web/Bold.woff"],descriptors:{weight:"600",style:"normal"}}]};$c.paypal=wd;var Bc={},Wc={};const Rd=e=>{const t={fontSize:e.typography.fontSize.S,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.S,letterSpacing:e.typography.letterSpacing.M};return{heading1:{fontSize:e.typography.fontSize.XXXXL,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.XXXL,letterSpacing:e.typography.letterSpacing.S},heading2:{fontSize:e.typography.fontSize.XXXL,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.XXL,letterSpacing:e.typography.letterSpacing.M},heading3:{fontSize:e.typography.fontSize.XXL,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.XXL,letterSpacing:e.typography.letterSpacing.L},heading4:{fontSize:e.typography.fontSize.XL,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.XL,letterSpacing:e.typography.letterSpacing.L},heading5:{fontSize:e.typography.fontSize.L,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.L,letterSpacing:e.typography.letterSpacing.L},heading6:{fontSize:e.typography.fontSize.M,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.M,letterSpacing:e.typography.letterSpacing.L},subtitle1:{fontSize:e.typography.fontSize.M,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.M,letterSpacing:e.typography.letterSpacing.L},subtitle2:{fontSize:e.typography.fontSize.S,fontWeight:e.typography.fontWeight.semibold,lineHeight:e.typography.lineHeight.S,letterSpacing:e.typography.letterSpacing.XL},body1:t,body2:t,small:{fontSize:e.typography.fontSize.XS,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.S,letterSpacing:e.typography.letterSpacing.XL}}};Wc.createThemeTypographyComponent=Rd;var jc={};const Ld=e=>({fontWeight:e.typography.fontWeight.normal,color:e.palette.black});jc.createThemeFieldComponent=Ld;var Td=Wc,Ed=jc;const $d={palette:{primary:{main:"#297768",light:"#69ccb8",ultraLight:"#ecf9f6",dark:"#1d5449"},secondary:{main:"#006fbb",light:"#47b6ff",ultraLight:"#e8f6ff",dark:"#005187"},error:{main:"#c22828",light:"#FFF0F1"},success:{main:"#297768",light:"#d4e4e1"},alert:{main:"#d67500",light:"#fef1d3"},gray:{dark:"#45505b",main:"#637381",light:"#dfe4e8",ultraLight:"#f4f6f8"}},typography:{fontWeight:{light:300,normal:400,semibold:500,bold:700}},components:{Typography:Td.createThemeTypographyComponent,Field:Ed.createThemeFieldComponent},defaultFontFamily:"Roboto, sans-serif",fontFaces:[{family:"Roboto",source:["$cdnUrl/brand/paypal_shipcenter/fonts/Roboto/Roboto-Regular.ttf"],descriptors:{weight:"400",style:"normal"}},{family:"Roboto",source:["$cdnUrl/brand/paypal_shipcenter/fonts/Roboto/Roboto-Medium.ttf"],descriptors:{weight:"500",style:"normal"}},{family:"Roboto",source:["$cdnUrl/brand/paypal_shipcenter/fonts/Roboto/Roboto-Bold.ttf"],descriptors:{weight:"700",style:"normal"}}]};Bc.paypal_shipcenter=$d;var Nc={},Gc={};const Pd=e=>({heading1:{fontSize:e.typography.fontSize.XXXXL,fontWeight:e.typography.fontWeight.light,lineHeight:e.typography.lineHeight.XXXL,letterSpacing:e.typography.letterSpacing.S},heading2:{fontSize:e.typography.fontSize.XXXL,fontWeight:e.typography.fontWeight.light,lineHeight:e.typography.lineHeight.XXL,letterSpacing:e.typography.letterSpacing.M},heading3:{fontSize:e.typography.fontSize.XXL,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.XL,letterSpacing:e.typography.letterSpacing.L},heading4:{fontSize:e.typography.fontSize.XL,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.M,letterSpacing:e.typography.letterSpacing.L},heading5:{fontSize:e.typography.fontSize.XL,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.L,letterSpacing:e.typography.letterSpacing.L},heading6:{fontSize:e.typography.fontSize.XL,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.L,letterSpacing:e.typography.letterSpacing.L},subtitle1:{fontSize:e.typography.fontSize.M,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.M,letterSpacing:e.typography.letterSpacing.L},subtitle2:{fontSize:e.typography.fontSize.M,fontWeight:e.typography.fontWeight.semibold,lineHeight:e.typography.lineHeight.M,letterSpacing:e.typography.letterSpacing.XL},body1:{fontSize:e.typography.fontSize.M,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.M,letterSpacing:e.typography.letterSpacing.M},body2:{fontSize:e.typography.fontSize.S,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.S,letterSpacing:e.typography.letterSpacing.L},small:{fontSize:e.typography.fontSize.S,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.S,letterSpacing:e.typography.letterSpacing.XL}});Gc.createThemeTypographyComponent=Pd;var Fd=Gc;const Dd={palette:{primary:{main:"#3C64F4",light:"#DBE3FE",ultraLight:"#F0F3FF",dark:"#0024A6"},secondary:{main:"#3C64F4",light:"#DBE3FE",ultraLight:"#F0F3FF",dark:"#0024A6"},error:{main:"#80000B",light:"#FFF0F1"},success:{main:"#004D0D",light:"#EEFCF0"},alert:{main:"#CC720A",light:"#FFF9E5"},info:{main:"#0024A6",light:"#F0F3FF"},gray:{dark:"#313440",main:"#5E637A",light:"#D9DCED",ultraLight:"#F6F7FC"}},typography:{fontWeight:{light:200,normal:400,semibold:600,bold:700},lineHeight:{S:"20px",M:"24px",L:"28px",XL:"32px",XXL:"40px",XXXL:"60px"}},elevations:{flat1:{boxShadow:"0px 0px 0px rgba(32, 36, 44, 0.25)",zIndex:1},flat2:{boxShadow:"0px 0px 0px rgba(32, 36, 44, 0.25)",zIndex:1e3},above:{boxShadow:"0px 1px 6px rgba(49, 52, 64, 0.2)",zIndex:1e3},raised:{boxShadow:"0px 1px 6px rgba(49, 52, 64, 0.2)",zIndex:1002},raisedInverted1:{boxShadow:"0px -1px 6px rgba(49, 52, 64, 0.2)",zIndex:1002},raisedInverted2:{boxShadow:"0px -1px 6px rgba(49, 52, 64, 0.2)",zIndex:1003},popout1:{boxShadow:"0px 2px 12px rgba(49, 52, 64, 0.2)",zIndex:1004},popout2:{boxShadow:"0px 2px 12px rgba(49, 52, 64, 0.2)",zIndex:1005},overlay1:{boxShadow:"0px 2px 12px rgba(49, 52, 64, 0.2)",zIndex:1006},overlay2:{boxShadow:"0px 2px 12px rgba(49, 52, 64, 0.2)",zIndex:1008}},components:{Typography:Fd.createThemeTypographyComponent},defaultFontFamily:"SourceSansPro, sans-serif",fontFaces:[{family:"SourceSansPro",source:["$cdnUrl/brand/bigcommerce/fonts/SourceSansPro/SourceSansPro-ExtraLight.ttf"],descriptors:{weight:"200",style:"normal"}},{family:"SourceSansPro",source:["$cdnUrl/brand/bigcommerce/fonts/SourceSansPro/SourceSansPro-Regular.ttf"],descriptors:{weight:"400",style:"normal"}},{family:"SourceSansPro",source:["$cdnUrl/brand/bigcommerce/fonts/SourceSansPro/SourceSansPro-SemiBold.ttf"],descriptors:{weight:"600",style:"normal"}},{family:"SourceSansPro",source:["$cdnUrl/brand/bigcommerce/fonts/SourceSansPro/SourceSansPro-Bold.ttf"],descriptors:{weight:"700",style:"normal"}}]};Nc.bigcommerce=Dd;var Xc={},Hc={};const kd=e=>({heading1:{fontSize:e.typography.fontSize.XXXL,fontWeight:e.typography.fontWeight.bold,lineHeight:e.typography.lineHeight.XXXL,letterSpacing:e.typography.letterSpacing.M},heading2:{fontSize:e.typography.fontSize.XXL,fontWeight:e.typography.fontWeight.semibold,lineHeight:e.typography.lineHeight.XXL,letterSpacing:e.typography.letterSpacing.L},heading3:{fontSize:e.typography.fontSize.XL,fontWeight:e.typography.fontWeight.semibold,lineHeight:e.typography.lineHeight.XL,letterSpacing:e.typography.letterSpacing.L},heading4:{fontSize:e.typography.fontSize.L,fontWeight:e.typography.fontWeight.bold,lineHeight:e.typography.lineHeight.L,letterSpacing:e.typography.letterSpacing.L},heading5:{fontSize:"",fontWeight:0,lineHeight:"",letterSpacing:0},heading6:{fontSize:"",fontWeight:0,lineHeight:"",letterSpacing:0},subtitle1:{fontSize:e.typography.fontSize.M,fontWeight:e.typography.fontWeight.semibold,lineHeight:e.typography.lineHeight.M,letterSpacing:e.typography.letterSpacing.L},subtitle2:{fontSize:e.typography.fontSize.S,fontWeight:e.typography.fontWeight.semibold,lineHeight:e.typography.lineHeight.S,letterSpacing:e.typography.letterSpacing.XL},body1:{fontSize:e.typography.fontSize.M,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.M,letterSpacing:e.typography.letterSpacing.S},body2:{fontSize:e.typography.fontSize.S,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.S,letterSpacing:e.typography.letterSpacing.L},small:{fontSize:e.typography.fontSize.XS,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.S,letterSpacing:e.typography.letterSpacing.XL}});Hc.createThemeTypographyComponent=kd;var Bd=Hc;const Wd={palette:{primary:{main:"#5f27cd",light:"#d0Bff3",ultraLight:"#f0eafb",dark:"#451d96"},secondary:{main:"#352beb",light:"#e9f0fb",ultraLight:"#f8fcff",dark:"#152947"},error:{main:"#b20000",light:"#ffe5e6"},success:{main:"#136c50",light:"#e1faf2"},alert:{main:"#7c5a04",light:"#fef0cd"},info:{main:"#0c66a7",light:"#e7f4fd"},gray:{dark:"#44546c",main:"#707c8f",light:"#9ba4b0",ultraLight:"#d4d8dd"}},typography:{fontWeight:{light:300,normal:400,semibold:500,bold:700},lineHeight:{S:"20px",M:"24px",L:"28px",XL:"32px",XXL:"36px",XXXL:"48px"}},components:{Typography:Bd.createThemeTypographyComponent},defaultFontFamily:"Roboto, sans-serif",fontFaces:[{family:"Roboto",source:["$cdnUrl/brand/shipengine_dashboard/fonts/Roboto/Roboto-Regular.woff2"],descriptors:{weight:"400",style:"normal"}},{family:"Roboto",source:["$cdnUrl/brand/shipengine_dashboard/fonts/Roboto/Roboto-Medium.woff2"],descriptors:{weight:"500",style:"normal"}},{family:"Roboto",source:["$cdnUrl/brand/shipengine_dashboard/fonts/Roboto/Roboto-Bold.woff2"],descriptors:{weight:"700",style:"normal"}}]};Xc.shipengine_dashboard=Wd;var ei={},Mc={};const jd=e=>({backgroundColor:e.palette.gray.ultraLight,border:"none",borderRadius:e.borderRadius.L,color:e.palette.gray.main,fontWeight:e.typography.fontWeight.semibold,padding:`${e.spacing(.5)}px ${e.spacing(2)}px`,isSelected:{backgroundColor:e.palette.primary.ultraLight,color:e.palette.primary.main}});Mc.createThemeChipComponent=jd;var zc={};const Nd=e=>({defaultColor:e.palette.secondary.main,visitedColor:e.palette.secondary.dark,hoverColor:e.palette.secondary.dark,activeColor:e.palette.secondary.light,isDark:{defaultColor:e.palette.white,visitedColor:e.palette.white,hoverColor:e.palette.white,activeColor:e.palette.secondary.light}});zc.createThemeLinkComponent=Nd;var Uc={};const Gd=e=>({borderRadius:e.borderRadius.S});Uc.createThemeButtonComponent=Gd;var Vc={};const Xd=e=>({heading1:{fontSize:e.typography.fontSize.XXXXL,fontWeight:e.typography.fontWeight.bold,lineHeight:e.typography.lineHeight.XXXL,letterSpacing:e.typography.letterSpacing.S},heading2:{fontSize:e.typography.fontSize.XXXL,fontWeight:e.typography.fontWeight.bold,lineHeight:e.typography.lineHeight.XXL,letterSpacing:e.typography.letterSpacing.M},heading3:{fontSize:e.typography.fontSize.XXL,fontWeight:e.typography.fontWeight.bold,lineHeight:e.typography.lineHeight.XXL,letterSpacing:e.typography.letterSpacing.L},heading4:{fontSize:e.typography.fontSize.XL,fontWeight:e.typography.fontWeight.bold,lineHeight:e.typography.lineHeight.XL,letterSpacing:e.typography.letterSpacing.L},heading5:{fontSize:e.typography.fontSize.L,fontWeight:e.typography.fontWeight.bold,lineHeight:e.typography.lineHeight.L,letterSpacing:e.typography.letterSpacing.L},heading6:{fontSize:e.typography.fontSize.M,fontWeight:e.typography.fontWeight.bold,lineHeight:e.typography.lineHeight.M,letterSpacing:e.typography.letterSpacing.L},subtitle1:{fontSize:e.typography.fontSize.M,fontWeight:e.typography.fontWeight.semibold,lineHeight:e.typography.lineHeight.M,letterSpacing:e.typography.letterSpacing.L},subtitle2:{fontSize:e.typography.fontSize.S,fontWeight:e.typography.fontWeight.semibold,lineHeight:e.typography.lineHeight.S,letterSpacing:e.typography.letterSpacing.XL},body1:{fontSize:e.typography.fontSize.M,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.M,letterSpacing:e.typography.letterSpacing.S},body2:{fontSize:e.typography.fontSize.S,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.S,letterSpacing:e.typography.letterSpacing.L},small:{fontSize:e.typography.fontSize.XS,fontWeight:e.typography.fontWeight.normal,lineHeight:e.typography.lineHeight.S,letterSpacing:e.typography.letterSpacing.XL}});Vc.createThemeTypographyComponent=Xd;var Zc={};const Hd=e=>({action:{justifyContent:"center"},content:{textAlign:"center",padding:e.spacing(3)},dialog:{backgroundColor:e.toRGBA(e.palette.black,.26),borderRadius:e.borderRadius.S},header:{borderBottom:`2px solid ${e.palette.gray.ultraLight}`,padding:e.spacing(3),titleColor:e.palette.secondary.main}});Zc.createThemeDialogComponent=Hd;var qc={};const Md=e=>({borderRadius:e.borderRadius.XS,square:!1});qc.createThemeCheckboxComponent=Md;var Yc={};const zd=e=>({fontWeight:e.typography.fontWeight.bold,color:e.palette.gray.dark});Yc.createThemeFieldComponent=zd;var Jc={};const Ud=e=>({borderRadius:e.borderRadius.S});Jc.createThemeFieldContainerComponent=Ud;var Vd=Mc,Zd=zc,qd=Uc,Yd=Vc,Jd=Zc,Kd=qc,Qd=Yc,eh=Jc;const th={palette:{primary:{ultraLight:"#EDEDED",light:"#D6D6D6",main:"#7A7A7A",dark:"#626262"},secondary:{ultraLight:"#F4F4F4",light:"#787878",main:"#616161",dark:"#303030"},error:{main:"#a72514",light:"#fee5e4"},success:{main:"#286327",light:"#dcfddb"},alert:{main:"#725200",light:"#ffe7ca"},info:{main:"#195f7f",light:"#dbedfd"},gray:{main:"#706f6f",light:"#d3d3d3",ultraLight:"#f4f4f4",megaLight:"#fafafa",dark:"#373737"},black:"#000",white:"#fff",dataVisualization:{highContrast:{blueDark:"#002039",coral:"#F95D6A",purpleDark:"#665191",orange:"#FFA600",purple:"#A05195",orangeDark:"#FF7C43",blue:"#3970C1",cyan:"#45CEE0",pink:"#D12771",green:"#B3D849"},lowContrast:{blueDark:"#5283AB",coral:"#FCA6AD",purpleDark:"#B1A2D0",orange:"#FDDFA5",purple:"#D4BBFF",orangeDark:"#FCC2A9",blue:"#96B3DE",cyan:"#BAE6FF",pink:"#E995BA",green:"#DEF895"}}},spacingBase:8,borderRadius:{XS:"2px",S:"4px",M:"8px",L:"16px",XL:"32px"},breakPoints:{mobileLarge:480,tablet:768,tabletLarge:960,desktop:1280},typography:{fontWeight:{light:200,normal:400,semibold:600,bold:700},fontSize:{XXS:"10px",XS:"12px",S:"14px",M:"16px",L:"18px",XL:"20px",XXL:"24px",XXXL:"32px",XXXXL:"48px"},lineHeight:{S:"20px",M:"24px",L:"28px",XL:"32px",XXL:"48px",XXXL:"72px"},letterSpacing:{S:0,M:1,L:3,XL:5,XXL:8,XXXL:12}},card:{borderRadius:{mobile:"4px",tablet:"8px",desktop:"8px"}},elevations:{flat1:{boxShadow:"0 2px 2px rgba(0, 0, 0, 0.1)",zIndex:1},flat2:{boxShadow:"0 2px 2px rgba(0, 0, 0, 0.1)",zIndex:1e3},above:{boxShadow:"0 0 12px rgba(0, 0, 0, 0.1)",zIndex:1e3},sticky:{boxShadow:"none",zIndex:1001},raised:{boxShadow:"0 8px 8px rgba(0, 0, 0, 0.1)",zIndex:1002},raisedInverted1:{boxShadow:"0 -8px 8px rgba(0, 0, 0, 0.1)",zIndex:1002},raisedInverted2:{boxShadow:"0 -8px 8px rgba(0, 0, 0, 0.1)",zIndex:1003},popout1:{boxShadow:"0 4px 16px rgba(0, 0, 0, 0.1)",zIndex:1004},popout2:{boxShadow:"0 4px 16px rgba(0, 0, 0, 0.1)",zIndex:1005},overlay1:{boxShadow:"0 0 24px rgba(0, 0, 0, 0.1)",zIndex:1006},backdrop:{boxShadow:"none",zIndex:1007},overlay2:{boxShadow:"0 0 24px rgba(0, 0, 0, 0.1)",zIndex:1008}},grid:{mobile:{columns:4,horizontalSpace:16,verticalSpace:16,gutter:16},mobileLarge:{columns:4,horizontalSpace:16,verticalSpace:16,gutter:16},tablet:{columns:12,horizontalSpace:16,verticalSpace:24,gutter:24},tabletLarge:{columns:12,horizontalSpace:16,verticalSpace:24,gutter:24},desktop:{columns:12,horizontalSpace:16,verticalSpace:24,gutter:24},desktopLarge:{columns:12,horizontalSpace:16,verticalSpace:24,gutter:24}},components:{Chip:Vd.createThemeChipComponent,Link:Zd.createThemeLinkComponent,Button:qd.createThemeButtonComponent,Dialog:Jd.createThemeDialogComponent,Typography:Yd.createThemeTypographyComponent,Checkbox:Kd.createThemeCheckboxComponent,Field:Qd.createThemeFieldComponent,FieldContainer:eh.createThemeFieldContainerComponent},defaultFontFamily:"Arial",fontFaces:[],iconSize:{small:"16px",medium:"20px",regular:"24px",large:"32px"}};ei.fallback=th;var rh=Ic,nh=Sc,ah=xc,ih=Qa,oh=Ec,sh=$c,uh=Bc,ch=Nc,lh=Xc,fh=ei;Le.packlink_cons=rh.packlink_cons;Le.packlink_pro=nh.packlink_pro;Le.dpd=ah.dpd;Le.ebay=ih.ebay;Le.ebay_it=oh.ebay_it;Le.paypal=sh.paypal;Le.paypal_shipcenter=uh.paypal_shipcenter;Le.bigcommerce=ch.bigcommerce;Le.shipengine_dashboard=lh.shipengine_dashboard;Le.fallback=fh.fallback;function Re(e){return Re=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Re(e)}function gh(e,t){if(Re(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Re(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Kc(e){var t=gh(e,"string");return Re(t)==="symbol"?t:String(t)}function te(e,t,r){return t=Kc(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Qc={};(function(e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,r=e.aliasToReal,n={};for(var a in r){var i=r[a];t.call(n,i)?n[i].push(a):n[i]=[a]}return n}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}})(Qc);var sn,oo;function el(){return oo||(oo=1,sn={}),sn}var ie=Qc,ph=el(),so=Array.prototype.push;function dh(e,t){return t==2?function(r,n){return e.apply(void 0,arguments)}:function(r){return e.apply(void 0,arguments)}}function un(e,t){return t==2?function(r,n){return e(r,n)}:function(r){return e(r)}}function uo(e){for(var t=e?e.length:0,r=Array(t);t--;)r[t]=e[t];return r}function hh(e){return function(t){return e({},t)}}function yh(e,t){return function(){for(var r=arguments.length,n=r-1,a=Array(r);r--;)a[r]=arguments[r];var i=a[t],o=a.slice(0,t);return i&&so.apply(o,i),t!=n&&so.apply(o,a.slice(t+1)),e.apply(this,o)}}function cn(e,t){return function(){var r=arguments.length;if(r){for(var n=Array(r);r--;)n[r]=arguments[r];var a=n[0]=t.apply(void 0,n);return e.apply(void 0,n),a}}}function Da(e,t,r,n){var a=typeof t=="function",i=t===Object(t);if(i&&(n=r,r=t,t=void 0),r==null)throw new TypeError;n||(n={});var o={cap:"cap"in n?n.cap:!0,curry:"curry"in n?n.curry:!0,fixed:"fixed"in n?n.fixed:!0,immutable:"immutable"in n?n.immutable:!0,rearg:"rearg"in n?n.rearg:!0},s=a?r:ph,u="curry"in n&&n.curry,f="fixed"in n&&n.fixed,g="rearg"in n&&n.rearg,c=a?r.runInContext():void 0,d=a?r:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isError:e.isError,isFunction:e.isFunction,isWeakMap:e.isWeakMap,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},h=d.ary,v=d.assign,m=d.clone,b=d.curry,y=d.forEach,A=d.isArray,x=d.isError,I=d.isFunction,S=d.isWeakMap,D=d.keys,$=d.rearg,N=d.toInteger,ne=d.toPath,W=D(ie.aryMethod),F={castArray:function(E){return function(){var _=arguments[0];return A(_)?E(uo(_)):E.apply(void 0,arguments)}},iteratee:function(E){return function(){var _=arguments[0],w=arguments[1],P=E(_,w),B=P.length;return o.cap&&typeof w=="number"?(w=w>2?w-2:1,B&&B<=w?P:un(P,w)):P}},mixin:function(E){return function(_){var w=this;if(!I(w))return E(w,Object(_));var P=[];return y(D(_),function(B){I(_[B])&&P.push([B,w.prototype[B]])}),E(w,Object(_)),y(P,function(B){var V=B[1];I(V)?w.prototype[B[0]]=V:delete w.prototype[B[0]]}),w}},nthArg:function(E){return function(_){var w=_<0?1:N(_)+1;return b(E(_),w)}},rearg:function(E){return function(_,w){var P=w?w.length:0;return b(E(_,w),P)}},runInContext:function(E){return function(_){return Da(e,E(_),n)}}};function q(E,_){if(o.cap){var w=ie.iterateeRearg[E];if(w)return Ye(_,w);var P=!a&&ie.iterateeAry[E];if(P)return Xe(_,P)}return _}function oe(E,_,w){return u||o.curry&&w>1?b(_,w):_}function ee(E,_,w){if(o.fixed&&(f||!ie.skipFixed[E])){var P=ie.methodSpread[E],B=P&&P.start;return B===void 0?h(_,w):yh(_,B)}return _}function Ge(E,_,w){return o.rearg&&w>1&&(g||!ie.skipRearg[E])?$(_,ie.methodRearg[E]||ie.aryRearg[w]):_}function Pe(E,_){_=ne(_);for(var w=-1,P=_.length,B=P-1,V=m(Object(E)),K=V;K!=null&&++w<P;){var O=_[w],ae=K[O];ae!=null&&!(I(ae)||x(ae)||S(ae))&&(K[O]=m(w==B?ae:Object(ae))),K=K[O]}return V}function _e(E){return k.runInContext.convert(E)(void 0)}function Fe(E,_){var w=ie.aliasToReal[E]||E,P=ie.remap[w]||w,B=n;return function(V){var K=a?c:d,O=a?c[P]:_,ae=v(v({},B),V);return Da(K,w,O,ae)}}function Xe(E,_){return Ae(E,function(w){return typeof w=="function"?un(w,_):w})}function Ye(E,_){return Ae(E,function(w){var P=_.length;return dh($(un(w,P),_),P)})}function Ae(E,_){return function(){var w=arguments.length;if(!w)return E();for(var P=Array(w);w--;)P[w]=arguments[w];var B=o.rearg?0:w-1;return P[B]=_(P[B]),E.apply(void 0,P)}}function Je(E,_,w){var P,B=ie.aliasToReal[E]||E,V=_,K=F[B];return K?V=K(_):o.immutable&&(ie.mutate.array[B]?V=cn(_,uo):ie.mutate.object[B]?V=cn(_,hh(_)):ie.mutate.set[B]&&(V=cn(_,Pe))),y(W,function(O){return y(ie.aryMethod[O],function(ae){if(B==ae){var be=ie.methodSpread[B],ft=be&&be.afterRearg;return P=ft?ee(B,Ge(B,V,O),O):Ge(B,ee(B,V,O),O),P=q(B,P),P=oe(B,P,O),!1}}),!P}),P||(P=V),P==_&&(P=u?b(P,1):function(){return _.apply(this,arguments)}),P.convert=Fe(B,_),P.placeholder=_.placeholder=w,P}if(!i)return Je(t,r,s);var k=r,ue=[];return y(W,function(E){y(ie.aryMethod[E],function(_){var w=k[ie.remap[_]||_];w&&ue.push([_,Je(_,w,k)])})}),y(D(k),function(E){var _=k[E];if(typeof _=="function"){for(var w=ue.length;w--;)if(ue[w][0]==E)return;_.convert=Fe(E,_),ue.push([E,_])}}),y(ue,function(E){k[E[0]]=E[1]}),k.convert=_e,k.placeholder=k,y(D(k),function(E){y(ie.realToAlias[E]||[],function(_){k[_]=k[E]})}),k}var vh=Da;function Ch(e){return e}var Lr=Ch,Ah=typeof Qe=="object"&&Qe&&Qe.Object===Object&&Qe,tl=Ah,bh=tl,mh=typeof self=="object"&&self&&self.Object===Object&&self,Ih=bh||mh||Function("return this")(),ge=Ih,Sh=ge,_h=Sh.Symbol,St=_h,co=St,rl=Object.prototype,xh=rl.hasOwnProperty,Oh=rl.toString,Rt=co?co.toStringTag:void 0;function wh(e){var t=xh.call(e,Rt),r=e[Rt];try{e[Rt]=void 0;var n=!0}catch{}var a=Oh.call(e);return n&&(t?e[Rt]=r:delete e[Rt]),a}var Rh=wh,Lh=Object.prototype,Th=Lh.toString;function Eh(e){return Th.call(e)}var $h=Eh,lo=St,Ph=Rh,Fh=$h,Dh="[object Null]",kh="[object Undefined]",fo=lo?lo.toStringTag:void 0;function Bh(e){return e==null?e===void 0?kh:Dh:fo&&fo in Object(e)?Ph(e):Fh(e)}var ct=Bh;function Wh(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Te=Wh,jh=ct,Nh=Te,Gh="[object AsyncFunction]",Xh="[object Function]",Hh="[object GeneratorFunction]",Mh="[object Proxy]";function zh(e){if(!Nh(e))return!1;var t=jh(e);return t==Xh||t==Hh||t==Gh||t==Mh}var Tr=zh,Uh=ge,Vh=Uh["__core-js_shared__"],Zh=Vh,ln=Zh,go=function(){var e=/[^.]+$/.exec(ln&&ln.keys&&ln.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function qh(e){return!!go&&go in e}var Yh=qh,Jh=Function.prototype,Kh=Jh.toString;function Qh(e){if(e!=null){try{return Kh.call(e)}catch{}try{return e+""}catch{}}return""}var nl=Qh,ey=Tr,ty=Yh,ry=Te,ny=nl,ay=/[\\^$.*+?()[\]{}|]/g,iy=/^\[object .+?Constructor\]$/,oy=Function.prototype,sy=Object.prototype,uy=oy.toString,cy=sy.hasOwnProperty,ly=RegExp("^"+uy.call(cy).replace(ay,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function fy(e){if(!ry(e)||ty(e))return!1;var t=ey(e)?ly:iy;return t.test(ny(e))}var gy=fy;function py(e,t){return e?.[t]}var dy=py,hy=gy,yy=dy;function vy(e,t){var r=yy(e,t);return hy(r)?r:void 0}var lt=vy,Cy=lt,Ay=ge,by=Cy(Ay,"WeakMap"),al=by,po=al,my=po&&new po,il=my,Iy=Lr,ho=il,Sy=ho?function(e,t){return ho.set(e,t),e}:Iy,ol=Sy,_y=Te,yo=Object.create,xy=function(){function e(){}return function(t){if(!_y(t))return{};if(yo)return yo(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),Er=xy,Oy=Er,wy=Te;function Ry(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=Oy(e.prototype),n=e.apply(r,t);return wy(n)?n:r}}var $r=Ry,Ly=$r,Ty=ge,Ey=1;function $y(e,t,r){var n=t&Ey,a=Ly(e);function i(){var o=this&&this!==Ty&&this instanceof i?a:e;return o.apply(n?r:this,arguments)}return i}var Py=$y;function Fy(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var ti=Fy,Dy=Math.max;function ky(e,t,r,n){for(var a=-1,i=e.length,o=r.length,s=-1,u=t.length,f=Dy(i-o,0),g=Array(u+f),c=!n;++s<u;)g[s]=t[s];for(;++a<o;)(c||a<i)&&(g[r[a]]=e[a]);for(;f--;)g[s++]=e[a++];return g}var sl=ky,By=Math.max;function Wy(e,t,r,n){for(var a=-1,i=e.length,o=-1,s=r.length,u=-1,f=t.length,g=By(i-s,0),c=Array(g+f),d=!n;++a<g;)c[a]=e[a];for(var h=a;++u<f;)c[h+u]=t[u];for(;++o<s;)(d||a<i)&&(c[h+r[o]]=e[a++]);return c}var ul=Wy;function jy(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}var Ny=jy;function Gy(){}var ri=Gy,Xy=Er,Hy=ri,My=4294967295;function dr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=My,this.__views__=[]}dr.prototype=Xy(Hy.prototype);dr.prototype.constructor=dr;var ni=dr;function zy(){}var Uy=zy,vo=il,Vy=Uy,Zy=vo?function(e){return vo.get(e)}:Vy,cl=Zy,qy={},Yy=qy,Co=Yy,Jy=Object.prototype,Ky=Jy.hasOwnProperty;function Qy(e){for(var t=e.name+"",r=Co[t],n=Ky.call(Co,t)?r.length:0;n--;){var a=r[n],i=a.func;if(i==null||i==e)return a.name}return t}var ev=Qy,tv=Er,rv=ri;function hr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}hr.prototype=tv(rv.prototype);hr.prototype.constructor=hr;var ll=hr,nv=Array.isArray,pe=nv;function av(e){return e!=null&&typeof e=="object"}var Se=av;function iv(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var jt=iv,ov=ni,sv=ll,uv=jt;function cv(e){if(e instanceof ov)return e.clone();var t=new sv(e.__wrapped__,e.__chain__);return t.__actions__=uv(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var lv=cv,fv=ni,Ao=ll,gv=ri,pv=pe,dv=Se,hv=lv,yv=Object.prototype,vv=yv.hasOwnProperty;function yr(e){if(dv(e)&&!pv(e)&&!(e instanceof fv)){if(e instanceof Ao)return e;if(vv.call(e,"__wrapped__"))return hv(e)}return new Ao(e)}yr.prototype=gv.prototype;yr.prototype.constructor=yr;var Cv=yr,Av=ni,bv=cl,mv=ev,Iv=Cv;function Sv(e){var t=mv(e),r=Iv[t];if(typeof r!="function"||!(t in Av.prototype))return!1;if(e===r)return!0;var n=bv(r);return!!n&&e===n[0]}var _v=Sv,xv=800,Ov=16,wv=Date.now;function Rv(e){var t=0,r=0;return function(){var n=wv(),a=Ov-(n-r);if(r=n,a>0){if(++t>=xv)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var fl=Rv,Lv=ol,Tv=fl,Ev=Tv(Lv),gl=Ev,$v=/\{\n\/\* \[wrapped with (.+)\] \*/,Pv=/,? & /;function Fv(e){var t=e.match($v);return t?t[1].split(Pv):[]}var Dv=Fv,kv=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function Bv(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(kv,`{
27
- /* [wrapped with `+t+`] */
28
- `)}var Wv=Bv;function jv(e){return function(){return e}}var Nv=jv,Gv=lt,Xv=function(){try{var e=Gv(Object,"defineProperty");return e({},"",{}),e}catch{}}(),pl=Xv,Hv=Nv,bo=pl,Mv=Lr,zv=bo?function(e,t){return bo(e,"toString",{configurable:!0,enumerable:!1,value:Hv(t),writable:!0})}:Mv,Uv=zv,Vv=Uv,Zv=fl,qv=Zv(Vv),ai=qv;function Yv(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var ii=Yv;function Jv(e,t,r,n){for(var a=e.length,i=r+(n?1:-1);n?i--:++i<a;)if(t(e[i],i,e))return i;return-1}var Kv=Jv;function Qv(e){return e!==e}var eC=Qv;function tC(e,t,r){for(var n=r-1,a=e.length;++n<a;)if(e[n]===t)return n;return-1}var rC=tC,nC=Kv,aC=eC,iC=rC;function oC(e,t,r){return t===t?iC(e,t,r):nC(e,aC,r)}var sC=oC,uC=sC;function cC(e,t){var r=e==null?0:e.length;return!!r&&uC(e,t,0)>-1}var lC=cC,fC=ii,gC=lC,pC=1,dC=2,hC=8,yC=16,vC=32,CC=64,AC=128,bC=256,mC=512,IC=[["ary",AC],["bind",pC],["bindKey",dC],["curry",hC],["curryRight",yC],["flip",mC],["partial",vC],["partialRight",CC],["rearg",bC]];function SC(e,t){return fC(IC,function(r){var n="_."+r[0];t&r[1]&&!gC(e,n)&&e.push(n)}),e.sort()}var _C=SC,xC=Dv,OC=Wv,wC=ai,RC=_C;function LC(e,t,r){var n=t+"";return wC(e,OC(n,RC(xC(n),r)))}var dl=LC,TC=_v,EC=gl,$C=dl,PC=1,FC=2,DC=4,kC=8,mo=32,Io=64;function BC(e,t,r,n,a,i,o,s,u,f){var g=t&kC,c=g?o:void 0,d=g?void 0:o,h=g?i:void 0,v=g?void 0:i;t|=g?mo:Io,t&=~(g?Io:mo),t&DC||(t&=~(PC|FC));var m=[e,t,a,h,c,v,d,s,u,f],b=r.apply(void 0,m);return TC(e)&&EC(b,m),b.placeholder=n,$C(b,e,t)}var hl=BC;function WC(e){var t=e;return t.placeholder}var yl=WC,jC=9007199254740991,NC=/^(?:0|[1-9]\d*)$/;function GC(e,t){var r=typeof e;return t=t??jC,!!t&&(r=="number"||r!="symbol"&&NC.test(e))&&e>-1&&e%1==0&&e<t}var Pr=GC,XC=jt,HC=Pr,MC=Math.min;function zC(e,t){for(var r=e.length,n=MC(t.length,r),a=XC(e);n--;){var i=t[n];e[n]=HC(i,r)?a[i]:void 0}return e}var UC=zC,So="__lodash_placeholder__";function VC(e,t){for(var r=-1,n=e.length,a=0,i=[];++r<n;){var o=e[r];(o===t||o===So)&&(e[r]=So,i[a++]=r)}return i}var oi=VC,ZC=sl,qC=ul,YC=Ny,_o=$r,JC=hl,KC=yl,QC=UC,eA=oi,tA=ge,rA=1,nA=2,aA=8,iA=16,oA=128,sA=512;function vl(e,t,r,n,a,i,o,s,u,f){var g=t&oA,c=t&rA,d=t&nA,h=t&(aA|iA),v=t&sA,m=d?void 0:_o(e);function b(){for(var y=arguments.length,A=Array(y),x=y;x--;)A[x]=arguments[x];if(h)var I=KC(b),S=YC(A,I);if(n&&(A=ZC(A,n,a,h)),i&&(A=qC(A,i,o,h)),y-=S,h&&y<f){var D=eA(A,I);return JC(e,t,vl,b.placeholder,r,A,D,s,u,f-y)}var $=c?r:this,N=d?$[e]:e;return y=A.length,s?A=QC(A,s):v&&y>1&&A.reverse(),g&&u<y&&(A.length=u),this&&this!==tA&&this instanceof b&&(N=m||_o(N)),N.apply($,A)}return b}var Cl=vl,uA=ti,cA=$r,lA=Cl,fA=hl,gA=yl,pA=oi,dA=ge;function hA(e,t,r){var n=cA(e);function a(){for(var i=arguments.length,o=Array(i),s=i,u=gA(a);s--;)o[s]=arguments[s];var f=i<3&&o[0]!==u&&o[i-1]!==u?[]:pA(o,u);if(i-=f.length,i<r)return fA(e,t,lA,a.placeholder,void 0,o,f,void 0,void 0,r-i);var g=this&&this!==dA&&this instanceof a?n:e;return uA(g,this,o)}return a}var yA=hA,vA=ti,CA=$r,AA=ge,bA=1;function mA(e,t,r,n){var a=t&bA,i=CA(e);function o(){for(var s=-1,u=arguments.length,f=-1,g=n.length,c=Array(g+u),d=this&&this!==AA&&this instanceof o?i:e;++f<g;)c[f]=n[f];for(;u--;)c[f++]=arguments[++s];return vA(d,a?r:this,c)}return o}var IA=mA,SA=sl,_A=ul,xo=oi,Oo="__lodash_placeholder__",fn=1,xA=2,OA=4,wo=8,Lt=128,Ro=256,wA=Math.min;function RA(e,t){var r=e[1],n=t[1],a=r|n,i=a<(fn|xA|Lt),o=n==Lt&&r==wo||n==Lt&&r==Ro&&e[7].length<=t[8]||n==(Lt|Ro)&&t[7].length<=t[8]&&r==wo;if(!(i||o))return e;n&fn&&(e[2]=t[2],a|=r&fn?0:OA);var s=t[3];if(s){var u=e[3];e[3]=u?SA(u,s,t[4]):s,e[4]=u?xo(e[3],Oo):t[4]}return s=t[5],s&&(u=e[5],e[5]=u?_A(u,s,t[6]):s,e[6]=u?xo(e[5],Oo):t[6]),s=t[7],s&&(e[7]=s),n&Lt&&(e[8]=e[8]==null?t[8]:wA(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=a,e}var LA=RA,TA=/\s/;function EA(e){for(var t=e.length;t--&&TA.test(e.charAt(t)););return t}var $A=EA,PA=$A,FA=/^\s+/;function DA(e){return e&&e.slice(0,PA(e)+1).replace(FA,"")}var kA=DA,BA=ct,WA=Se,jA="[object Symbol]";function NA(e){return typeof e=="symbol"||WA(e)&&BA(e)==jA}var Nt=NA,GA=kA,Lo=Te,XA=Nt,To=0/0,HA=/^[-+]0x[0-9a-f]+$/i,MA=/^0b[01]+$/i,zA=/^0o[0-7]+$/i,UA=parseInt;function VA(e){if(typeof e=="number")return e;if(XA(e))return To;if(Lo(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Lo(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=GA(e);var r=MA.test(e);return r||zA.test(e)?UA(e.slice(2),r?2:8):HA.test(e)?To:+e}var ZA=VA,qA=ZA,Eo=1/0,YA=17976931348623157e292;function JA(e){if(!e)return e===0?e:0;if(e=qA(e),e===Eo||e===-Eo){var t=e<0?-1:1;return t*YA}return e===e?e:0}var KA=JA,QA=KA;function eb(e){var t=QA(e),r=t%1;return t===t?r?t-r:t:0}var Al=eb,tb=ol,rb=Py,nb=yA,ab=Cl,ib=IA,ob=cl,sb=LA,ub=gl,cb=dl,$o=Al,lb="Expected a function",Po=1,fb=2,gn=8,pn=16,dn=32,Fo=64,Do=Math.max;function gb(e,t,r,n,a,i,o,s){var u=t&fb;if(!u&&typeof e!="function")throw new TypeError(lb);var f=n?n.length:0;if(f||(t&=~(dn|Fo),n=a=void 0),o=o===void 0?o:Do($o(o),0),s=s===void 0?s:$o(s),f-=a?a.length:0,t&Fo){var g=n,c=a;n=a=void 0}var d=u?void 0:ob(e),h=[e,t,r,n,a,g,c,i,o,s];if(d&&sb(h,d),e=h[0],t=h[1],r=h[2],n=h[3],a=h[4],s=h[9]=h[9]===void 0?u?0:e.length:Do(h[9]-f,0),!s&&t&(gn|pn)&&(t&=~(gn|pn)),!t||t==Po)var v=rb(e,t,r);else t==gn||t==pn?v=nb(e,t,s):(t==dn||t==(Po|dn))&&!a.length?v=ib(e,t,r,n):v=ab.apply(void 0,h);var m=d?tb:ub;return cb(m(v,h),e,t)}var si=gb,pb=si,db=128;function hb(e,t,r){return t=r?void 0:t,t=e&&t==null?e.length:t,pb(e,db,void 0,void 0,void 0,void 0,t)}var yb=hb,ko=pl;function vb(e,t,r){t=="__proto__"&&ko?ko(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var ui=vb,hn,Bo;function Gt(){if(Bo)return hn;Bo=1;function e(t,r){return t===r||t!==t&&r!==r}return hn=e,hn}var Cb=ui,Ab=Gt(),bb=Object.prototype,mb=bb.hasOwnProperty;function Ib(e,t,r){var n=e[t];(!(mb.call(e,t)&&Ab(n,r))||r===void 0&&!(t in e))&&Cb(e,t,r)}var bl=Ib,Sb=bl,_b=ui;function xb(e,t,r,n){var a=!r;r||(r={});for(var i=-1,o=t.length;++i<o;){var s=t[i],u=n?n(r[s],e[s],s,r,e):void 0;u===void 0&&(u=e[s]),a?_b(r,s,u):Sb(r,s,u)}return r}var Xt=xb;function Ob(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var wb=Ob,yn,Wo;function Rb(){if(Wo)return yn;Wo=1;var e=ct,t=Se,r="[object Arguments]";function n(a){return t(a)&&e(a)==r}return yn=n,yn}var vn,jo;function Fr(){if(jo)return vn;jo=1;var e=Rb(),t=Se,r=Object.prototype,n=r.hasOwnProperty,a=r.propertyIsEnumerable,i=e(function(){return arguments}())?e:function(o){return t(o)&&n.call(o,"callee")&&!a.call(o,"callee")};return vn=i,vn}var ut={},Lb={get exports(){return ut},set exports(e){ut=e}};function Tb(){return!1}var Eb=Tb;(function(e,t){var r=ge,n=Eb,a=t&&!t.nodeType&&t,i=a&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===a,s=o?r.Buffer:void 0,u=s?s.isBuffer:void 0,f=u||n;e.exports=f})(Lb,ut);var $b=9007199254740991;function Pb(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=$b}var ci=Pb,Cn,No;function Fb(){if(No)return Cn;No=1;var e=ct,t=ci,r=Se,n="[object Arguments]",a="[object Array]",i="[object Boolean]",o="[object Date]",s="[object Error]",u="[object Function]",f="[object Map]",g="[object Number]",c="[object Object]",d="[object RegExp]",h="[object Set]",v="[object String]",m="[object WeakMap]",b="[object ArrayBuffer]",y="[object DataView]",A="[object Float32Array]",x="[object Float64Array]",I="[object Int8Array]",S="[object Int16Array]",D="[object Int32Array]",$="[object Uint8Array]",N="[object Uint8ClampedArray]",ne="[object Uint16Array]",W="[object Uint32Array]",F={};F[A]=F[x]=F[I]=F[S]=F[D]=F[$]=F[N]=F[ne]=F[W]=!0,F[n]=F[a]=F[b]=F[i]=F[y]=F[o]=F[s]=F[u]=F[f]=F[g]=F[c]=F[d]=F[h]=F[v]=F[m]=!1;function q(oe){return r(oe)&&t(oe.length)&&!!F[e(oe)]}return Cn=q,Cn}function Db(e){return function(t){return e(t)}}var li=Db,mt={},kb={get exports(){return mt},set exports(e){mt=e}};(function(e,t){var r=tl,n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===n,o=i&&r.process,s=function(){try{var u=a&&a.require&&a.require("util").types;return u||o&&o.binding&&o.binding("util")}catch{}}();e.exports=s})(kb,mt);var An,Go;function fi(){if(Go)return An;Go=1;var e=Fb(),t=li,r=mt,n=r&&r.isTypedArray,a=n?t(n):e;return An=a,An}var Bb=wb,Wb=Fr(),jb=pe,Nb=ut,Gb=Pr,Xb=fi(),Hb=Object.prototype,Mb=Hb.hasOwnProperty;function zb(e,t){var r=jb(e),n=!r&&Wb(e),a=!r&&!n&&Nb(e),i=!r&&!n&&!a&&Xb(e),o=r||n||a||i,s=o?Bb(e.length,String):[],u=s.length;for(var f in e)(t||Mb.call(e,f))&&!(o&&(f=="length"||a&&(f=="offset"||f=="parent")||i&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||Gb(f,u)))&&s.push(f);return s}var ml=zb,Ub=Object.prototype;function Vb(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Ub;return e===r}var gi=Vb;function Zb(e,t){return function(r){return e(t(r))}}var Il=Zb,qb=Il,Yb=qb(Object.keys,Object),Jb=Yb,Kb=gi,Qb=Jb,em=Object.prototype,tm=em.hasOwnProperty;function rm(e){if(!Kb(e))return Qb(e);var t=[];for(var r in Object(e))tm.call(e,r)&&r!="constructor"&&t.push(r);return t}var Sl=rm,nm=Tr,am=ci;function im(e){return e!=null&&am(e.length)&&!nm(e)}var Dr=im,om=ml,sm=Sl,um=Dr;function cm(e){return um(e)?om(e):sm(e)}var kr=cm,lm=Xt,fm=kr;function gm(e,t){return e&&lm(t,fm(t),e)}var _l=gm,bn,Xo;function pm(){if(Xo)return bn;Xo=1;function e(){this.__data__=[],this.size=0}return bn=e,bn}var mn,Ho;function Br(){if(Ho)return mn;Ho=1;var e=Gt();function t(r,n){for(var a=r.length;a--;)if(e(r[a][0],n))return a;return-1}return mn=t,mn}var In,Mo;function dm(){if(Mo)return In;Mo=1;var e=Br(),t=Array.prototype,r=t.splice;function n(a){var i=this.__data__,o=e(i,a);if(o<0)return!1;var s=i.length-1;return o==s?i.pop():r.call(i,o,1),--this.size,!0}return In=n,In}var Sn,zo;function hm(){if(zo)return Sn;zo=1;var e=Br();function t(r){var n=this.__data__,a=e(n,r);return a<0?void 0:n[a][1]}return Sn=t,Sn}var _n,Uo;function ym(){if(Uo)return _n;Uo=1;var e=Br();function t(r){return e(this.__data__,r)>-1}return _n=t,_n}var xn,Vo;function vm(){if(Vo)return xn;Vo=1;var e=Br();function t(r,n){var a=this.__data__,i=e(a,r);return i<0?(++this.size,a.push([r,n])):a[i][1]=n,this}return xn=t,xn}var On,Zo;function Wr(){if(Zo)return On;Zo=1;var e=pm(),t=dm(),r=hm(),n=ym(),a=vm();function i(o){var s=-1,u=o==null?0:o.length;for(this.clear();++s<u;){var f=o[s];this.set(f[0],f[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=a,On=i,On}var wn,qo;function Cm(){if(qo)return wn;qo=1;var e=Wr();function t(){this.__data__=new e,this.size=0}return wn=t,wn}var Rn,Yo;function Am(){if(Yo)return Rn;Yo=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return Rn=e,Rn}var Ln,Jo;function bm(){if(Jo)return Ln;Jo=1;function e(t){return this.__data__.get(t)}return Ln=e,Ln}var Tn,Ko;function mm(){if(Ko)return Tn;Ko=1;function e(t){return this.__data__.has(t)}return Tn=e,Tn}var Im=lt,Sm=ge,_m=Im(Sm,"Map"),pi=_m,En,Qo;function jr(){if(Qo)return En;Qo=1;var e=lt,t=e(Object,"create");return En=t,En}var $n,es;function xm(){if(es)return $n;es=1;var e=jr();function t(){this.__data__=e?e(null):{},this.size=0}return $n=t,$n}var Pn,ts;function Om(){if(ts)return Pn;ts=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return Pn=e,Pn}var Fn,rs;function wm(){if(rs)return Fn;rs=1;var e=jr(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function a(i){var o=this.__data__;if(e){var s=o[i];return s===t?void 0:s}return n.call(o,i)?o[i]:void 0}return Fn=a,Fn}var Dn,ns;function Rm(){if(ns)return Dn;ns=1;var e=jr(),t=Object.prototype,r=t.hasOwnProperty;function n(a){var i=this.__data__;return e?i[a]!==void 0:r.call(i,a)}return Dn=n,Dn}var kn,as;function Lm(){if(as)return kn;as=1;var e=jr(),t="__lodash_hash_undefined__";function r(n,a){var i=this.__data__;return this.size+=this.has(n)?0:1,i[n]=e&&a===void 0?t:a,this}return kn=r,kn}var Bn,is;function Tm(){if(is)return Bn;is=1;var e=xm(),t=Om(),r=wm(),n=Rm(),a=Lm();function i(o){var s=-1,u=o==null?0:o.length;for(this.clear();++s<u;){var f=o[s];this.set(f[0],f[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=a,Bn=i,Bn}var Wn,os;function Em(){if(os)return Wn;os=1;var e=Tm(),t=Wr(),r=pi;function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return Wn=n,Wn}var jn,ss;function $m(){if(ss)return jn;ss=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return jn=e,jn}var Nn,us;function Nr(){if(us)return Nn;us=1;var e=$m();function t(r,n){var a=r.__data__;return e(n)?a[typeof n=="string"?"string":"hash"]:a.map}return Nn=t,Nn}var Gn,cs;function Pm(){if(cs)return Gn;cs=1;var e=Nr();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return Gn=t,Gn}var Xn,ls;function Fm(){if(ls)return Xn;ls=1;var e=Nr();function t(r){return e(this,r).get(r)}return Xn=t,Xn}var Hn,fs;function Dm(){if(fs)return Hn;fs=1;var e=Nr();function t(r){return e(this,r).has(r)}return Hn=t,Hn}var Mn,gs;function km(){if(gs)return Mn;gs=1;var e=Nr();function t(r,n){var a=e(this,r),i=a.size;return a.set(r,n),this.size+=a.size==i?0:1,this}return Mn=t,Mn}var zn,ps;function di(){if(ps)return zn;ps=1;var e=Em(),t=Pm(),r=Fm(),n=Dm(),a=km();function i(o){var s=-1,u=o==null?0:o.length;for(this.clear();++s<u;){var f=o[s];this.set(f[0],f[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=a,zn=i,zn}var Un,ds;function Bm(){if(ds)return Un;ds=1;var e=Wr(),t=pi,r=di(),n=200;function a(i,o){var s=this.__data__;if(s instanceof e){var u=s.__data__;if(!t||u.length<n-1)return u.push([i,o]),this.size=++s.size,this;s=this.__data__=new r(u)}return s.set(i,o),this.size=s.size,this}return Un=a,Un}var Vn,hs;function Gr(){if(hs)return Vn;hs=1;var e=Wr(),t=Cm(),r=Am(),n=bm(),a=mm(),i=Bm();function o(s){var u=this.__data__=new e(s);this.size=u.size}return o.prototype.clear=t,o.prototype.delete=r,o.prototype.get=n,o.prototype.has=a,o.prototype.set=i,Vn=o,Vn}var Zn,ys;function Wm(){if(ys)return Zn;ys=1;function e(t){var r=[];if(t!=null)for(var n in Object(t))r.push(n);return r}return Zn=e,Zn}var qn,vs;function jm(){if(vs)return qn;vs=1;var e=Te,t=gi,r=Wm(),n=Object.prototype,a=n.hasOwnProperty;function i(o){if(!e(o))return r(o);var s=t(o),u=[];for(var f in o)f=="constructor"&&(s||!a.call(o,f))||u.push(f);return u}return qn=i,qn}var Yn,Cs;function Ht(){if(Cs)return Yn;Cs=1;var e=ml,t=jm(),r=Dr;function n(a){return r(a)?e(a,!0):t(a)}return Yn=n,Yn}var Nm=Xt,Gm=Ht();function Xm(e,t){return e&&Nm(t,Gm(t),e)}var Hm=Xm,Bt={},Mm={get exports(){return Bt},set exports(e){Bt=e}};(function(e,t){var r=ge,n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===n,o=i?r.Buffer:void 0,s=o?o.allocUnsafe:void 0;function u(f,g){if(g)return f.slice();var c=f.length,d=s?s(c):new f.constructor(c);return f.copy(d),d}e.exports=u})(Mm,Bt);function zm(e,t){for(var r=-1,n=e==null?0:e.length,a=0,i=[];++r<n;){var o=e[r];t(o,r,e)&&(i[a++]=o)}return i}var Um=zm;function Vm(){return[]}var xl=Vm,Zm=Um,qm=xl,Ym=Object.prototype,Jm=Ym.propertyIsEnumerable,As=Object.getOwnPropertySymbols,Km=As?function(e){return e==null?[]:(e=Object(e),Zm(As(e),function(t){return Jm.call(e,t)}))}:qm,hi=Km,Qm=Xt,eI=hi;function tI(e,t){return Qm(e,eI(e),t)}var rI=tI;function nI(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}var yi=nI,aI=Il,iI=aI(Object.getPrototypeOf,Object),vi=iI,oI=yi,sI=vi,uI=hi,cI=xl,lI=Object.getOwnPropertySymbols,fI=lI?function(e){for(var t=[];e;)oI(t,uI(e)),e=sI(e);return t}:cI,Ol=fI,gI=Xt,pI=Ol;function dI(e,t){return gI(e,pI(e),t)}var hI=dI,yI=yi,vI=pe;function CI(e,t,r){var n=t(e);return vI(e)?n:yI(n,r(e))}var wl=CI,AI=wl,bI=hi,mI=kr;function II(e){return AI(e,mI,bI)}var Rl=II,SI=wl,_I=Ol,xI=Ht();function OI(e){return SI(e,xI,_I)}var wI=OI,RI=lt,LI=ge,TI=RI(LI,"DataView"),EI=TI,$I=lt,PI=ge,FI=$I(PI,"Promise"),DI=FI,kI=lt,BI=ge,WI=kI(BI,"Set"),jI=WI,ka=EI,Ba=pi,Wa=DI,ja=jI,Na=al,Ll=ct,_t=nl,bs="[object Map]",NI="[object Object]",ms="[object Promise]",Is="[object Set]",Ss="[object WeakMap]",_s="[object DataView]",GI=_t(ka),XI=_t(Ba),HI=_t(Wa),MI=_t(ja),zI=_t(Na),ot=Ll;(ka&&ot(new ka(new ArrayBuffer(1)))!=_s||Ba&&ot(new Ba)!=bs||Wa&&ot(Wa.resolve())!=ms||ja&&ot(new ja)!=Is||Na&&ot(new Na)!=Ss)&&(ot=function(e){var t=Ll(e),r=t==NI?e.constructor:void 0,n=r?_t(r):"";if(n)switch(n){case GI:return _s;case XI:return bs;case HI:return ms;case MI:return Is;case zI:return Ss}return t});var Mt=ot,UI=Object.prototype,VI=UI.hasOwnProperty;function ZI(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&VI.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var qI=ZI,YI=ge,JI=YI.Uint8Array,Tl=JI,xs=Tl;function KI(e){var t=new e.constructor(e.byteLength);return new xs(t).set(new xs(e)),t}var Ci=KI,QI=Ci;function e1(e,t){var r=t?QI(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var t1=e1,r1=/\w*$/;function n1(e){var t=new e.constructor(e.source,r1.exec(e));return t.lastIndex=e.lastIndex,t}var a1=n1,Os=St,ws=Os?Os.prototype:void 0,Rs=ws?ws.valueOf:void 0;function i1(e){return Rs?Object(Rs.call(e)):{}}var o1=i1,Jn,Ls;function El(){if(Ls)return Jn;Ls=1;var e=Ci;function t(r,n){var a=n?e(r.buffer):r.buffer;return new r.constructor(a,r.byteOffset,r.length)}return Jn=t,Jn}var s1=Ci,u1=t1,c1=a1,l1=o1,f1=El(),g1="[object Boolean]",p1="[object Date]",d1="[object Map]",h1="[object Number]",y1="[object RegExp]",v1="[object Set]",C1="[object String]",A1="[object Symbol]",b1="[object ArrayBuffer]",m1="[object DataView]",I1="[object Float32Array]",S1="[object Float64Array]",_1="[object Int8Array]",x1="[object Int16Array]",O1="[object Int32Array]",w1="[object Uint8Array]",R1="[object Uint8ClampedArray]",L1="[object Uint16Array]",T1="[object Uint32Array]";function E1(e,t,r){var n=e.constructor;switch(t){case b1:return s1(e);case g1:case p1:return new n(+e);case m1:return u1(e,r);case I1:case S1:case _1:case x1:case O1:case w1:case R1:case L1:case T1:return f1(e,r);case d1:return new n;case h1:case C1:return new n(e);case y1:return c1(e);case v1:return new n;case A1:return l1(e)}}var $1=E1,P1=Er,F1=vi,D1=gi;function k1(e){return typeof e.constructor=="function"&&!D1(e)?P1(F1(e)):{}}var $l=k1,B1=Mt,W1=Se,j1="[object Map]";function N1(e){return W1(e)&&B1(e)==j1}var G1=N1,X1=G1,H1=li,Ts=mt,Es=Ts&&Ts.isMap,M1=Es?H1(Es):X1,z1=M1,U1=Mt,V1=Se,Z1="[object Set]";function q1(e){return V1(e)&&U1(e)==Z1}var Y1=q1,J1=Y1,K1=li,$s=mt,Ps=$s&&$s.isSet,Q1=Ps?K1(Ps):J1,e0=Q1,t0=Gr(),r0=ii,n0=bl,a0=_l,i0=Hm,o0=Bt,s0=jt,u0=rI,c0=hI,l0=Rl,f0=wI,g0=Mt,p0=qI,d0=$1,h0=$l,y0=pe,v0=ut,C0=z1,A0=Te,b0=e0,m0=kr,I0=Ht(),S0=1,_0=2,x0=4,Pl="[object Arguments]",O0="[object Array]",w0="[object Boolean]",R0="[object Date]",L0="[object Error]",Fl="[object Function]",T0="[object GeneratorFunction]",E0="[object Map]",$0="[object Number]",Dl="[object Object]",P0="[object RegExp]",F0="[object Set]",D0="[object String]",k0="[object Symbol]",B0="[object WeakMap]",W0="[object ArrayBuffer]",j0="[object DataView]",N0="[object Float32Array]",G0="[object Float64Array]",X0="[object Int8Array]",H0="[object Int16Array]",M0="[object Int32Array]",z0="[object Uint8Array]",U0="[object Uint8ClampedArray]",V0="[object Uint16Array]",Z0="[object Uint32Array]",U={};U[Pl]=U[O0]=U[W0]=U[j0]=U[w0]=U[R0]=U[N0]=U[G0]=U[X0]=U[H0]=U[M0]=U[E0]=U[$0]=U[Dl]=U[P0]=U[F0]=U[D0]=U[k0]=U[z0]=U[U0]=U[V0]=U[Z0]=!0;U[L0]=U[Fl]=U[B0]=!1;function cr(e,t,r,n,a,i){var o,s=t&S0,u=t&_0,f=t&x0;if(r&&(o=a?r(e,n,a,i):r(e)),o!==void 0)return o;if(!A0(e))return e;var g=y0(e);if(g){if(o=p0(e),!s)return s0(e,o)}else{var c=g0(e),d=c==Fl||c==T0;if(v0(e))return o0(e,s);if(c==Dl||c==Pl||d&&!a){if(o=u||d?{}:h0(e),!s)return u?c0(e,i0(o,e)):u0(e,a0(o,e))}else{if(!U[c])return a?e:{};o=d0(e,c,s)}}i||(i=new t0);var h=i.get(e);if(h)return h;i.set(e,o),b0(e)?e.forEach(function(b){o.add(cr(b,t,r,b,e,i))}):C0(e)&&e.forEach(function(b,y){o.set(y,cr(b,t,r,y,e,i))});var v=f?u?f0:l0:u?I0:m0,m=g?void 0:v(e);return r0(m||e,function(b,y){m&&(y=b,b=e[y]),n0(o,y,cr(b,t,r,y,e,i))}),o}var kl=cr,q0=kl,Y0=4;function J0(e){return q0(e,Y0)}var K0=J0,Q0=si,eS=8;function Ai(e,t,r){t=r?void 0:t;var n=Q0(e,eS,void 0,void 0,void 0,void 0,void 0,t);return n.placeholder=Ai.placeholder,n}Ai.placeholder={};var tS=Ai,rS=ct,nS=vi,aS=Se,iS="[object Object]",oS=Function.prototype,sS=Object.prototype,Bl=oS.toString,uS=sS.hasOwnProperty,cS=Bl.call(Object);function lS(e){if(!aS(e)||rS(e)!=iS)return!1;var t=nS(e);if(t===null)return!0;var r=uS.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Bl.call(r)==cS}var Wl=lS,fS=ct,gS=Se,pS=Wl,dS="[object DOMException]",hS="[object Error]";function yS(e){if(!gS(e))return!1;var t=fS(e);return t==hS||t==dS||typeof e.message=="string"&&typeof e.name=="string"&&!pS(e)}var vS=yS,CS=Mt,AS=Se,bS="[object WeakMap]";function mS(e){return AS(e)&&CS(e)==bS}var IS=mS,SS="__lodash_hash_undefined__";function _S(e){return this.__data__.set(e,SS),this}var xS=_S;function OS(e){return this.__data__.has(e)}var wS=OS,RS=di(),LS=xS,TS=wS;function vr(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new RS;++t<r;)this.add(e[t])}vr.prototype.add=vr.prototype.push=LS;vr.prototype.has=TS;var ES=vr;function $S(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var PS=$S;function FS(e,t){return e.has(t)}var DS=FS,kS=ES,BS=PS,WS=DS,jS=1,NS=2;function GS(e,t,r,n,a,i){var o=r&jS,s=e.length,u=t.length;if(s!=u&&!(o&&u>s))return!1;var f=i.get(e),g=i.get(t);if(f&&g)return f==t&&g==e;var c=-1,d=!0,h=r&NS?new kS:void 0;for(i.set(e,t),i.set(t,e);++c<s;){var v=e[c],m=t[c];if(n)var b=o?n(m,v,c,t,e,i):n(v,m,c,e,t,i);if(b!==void 0){if(b)continue;d=!1;break}if(h){if(!BS(t,function(y,A){if(!WS(h,A)&&(v===y||a(v,y,r,n,i)))return h.push(A)})){d=!1;break}}else if(!(v===m||a(v,m,r,n,i))){d=!1;break}}return i.delete(e),i.delete(t),d}var jl=GS;function XS(e){var t=-1,r=Array(e.size);return e.forEach(function(n,a){r[++t]=[a,n]}),r}var HS=XS;function MS(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var zS=MS,Fs=St,Ds=Tl,US=Gt(),VS=jl,ZS=HS,qS=zS,YS=1,JS=2,KS="[object Boolean]",QS="[object Date]",e_="[object Error]",t_="[object Map]",r_="[object Number]",n_="[object RegExp]",a_="[object Set]",i_="[object String]",o_="[object Symbol]",s_="[object ArrayBuffer]",u_="[object DataView]",ks=Fs?Fs.prototype:void 0,Kn=ks?ks.valueOf:void 0;function c_(e,t,r,n,a,i,o){switch(r){case u_:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case s_:return!(e.byteLength!=t.byteLength||!i(new Ds(e),new Ds(t)));case KS:case QS:case r_:return US(+e,+t);case e_:return e.name==t.name&&e.message==t.message;case n_:case i_:return e==t+"";case t_:var s=ZS;case a_:var u=n&YS;if(s||(s=qS),e.size!=t.size&&!u)return!1;var f=o.get(e);if(f)return f==t;n|=JS,o.set(e,t);var g=VS(s(e),s(t),n,a,i,o);return o.delete(e),g;case o_:if(Kn)return Kn.call(e)==Kn.call(t)}return!1}var l_=c_,Bs=Rl,f_=1,g_=Object.prototype,p_=g_.hasOwnProperty;function d_(e,t,r,n,a,i){var o=r&f_,s=Bs(e),u=s.length,f=Bs(t),g=f.length;if(u!=g&&!o)return!1;for(var c=u;c--;){var d=s[c];if(!(o?d in t:p_.call(t,d)))return!1}var h=i.get(e),v=i.get(t);if(h&&v)return h==t&&v==e;var m=!0;i.set(e,t),i.set(t,e);for(var b=o;++c<u;){d=s[c];var y=e[d],A=t[d];if(n)var x=o?n(A,y,d,t,e,i):n(y,A,d,e,t,i);if(!(x===void 0?y===A||a(y,A,r,n,i):x)){m=!1;break}b||(b=d=="constructor")}if(m&&!b){var I=e.constructor,S=t.constructor;I!=S&&"constructor"in e&&"constructor"in t&&!(typeof I=="function"&&I instanceof I&&typeof S=="function"&&S instanceof S)&&(m=!1)}return i.delete(e),i.delete(t),m}var h_=d_,Qn=Gr(),y_=jl,v_=l_,C_=h_,Ws=Mt,js=pe,Ns=ut,A_=fi(),b_=1,Gs="[object Arguments]",Xs="[object Array]",nr="[object Object]",m_=Object.prototype,Hs=m_.hasOwnProperty;function I_(e,t,r,n,a,i){var o=js(e),s=js(t),u=o?Xs:Ws(e),f=s?Xs:Ws(t);u=u==Gs?nr:u,f=f==Gs?nr:f;var g=u==nr,c=f==nr,d=u==f;if(d&&Ns(e)){if(!Ns(t))return!1;o=!0,g=!1}if(d&&!g)return i||(i=new Qn),o||A_(e)?y_(e,t,r,n,a,i):v_(e,t,u,r,n,a,i);if(!(r&b_)){var h=g&&Hs.call(e,"__wrapped__"),v=c&&Hs.call(t,"__wrapped__");if(h||v){var m=h?e.value():e,b=v?t.value():t;return i||(i=new Qn),a(m,b,r,n,i)}}return d?(i||(i=new Qn),C_(e,t,r,n,a,i)):!1}var S_=I_,__=S_,Ms=Se;function Nl(e,t,r,n,a){return e===t?!0:e==null||t==null||!Ms(e)&&!Ms(t)?e!==e&&t!==t:__(e,t,r,n,Nl,a)}var Gl=Nl,x_=Gr(),O_=Gl,w_=1,R_=2;function L_(e,t,r,n){var a=r.length,i=a,o=!n;if(e==null)return!i;for(e=Object(e);a--;){var s=r[a];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<i;){s=r[a];var u=s[0],f=e[u],g=s[1];if(o&&s[2]){if(f===void 0&&!(u in e))return!1}else{var c=new x_;if(n)var d=n(f,g,u,e,t,c);if(!(d===void 0?O_(g,f,w_|R_,n,c):d))return!1}}return!0}var T_=L_,E_=Te;function $_(e){return e===e&&!E_(e)}var Xl=$_,P_=Xl,F_=kr;function D_(e){for(var t=F_(e),r=t.length;r--;){var n=t[r],a=e[n];t[r]=[n,a,P_(a)]}return t}var k_=D_;function B_(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}var Hl=B_,W_=T_,j_=k_,N_=Hl;function G_(e){var t=j_(e);return t.length==1&&t[0][2]?N_(t[0][0],t[0][1]):function(r){return r===e||W_(r,e,t)}}var X_=G_,H_=pe,M_=Nt,z_=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,U_=/^\w*$/;function V_(e,t){if(H_(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||M_(e)?!0:U_.test(e)||!z_.test(e)||t!=null&&e in Object(t)}var bi=V_,Ml=di(),Z_="Expected a function";function mi(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Z_);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=e.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(mi.Cache||Ml),r}mi.Cache=Ml;var q_=mi,Y_=q_,J_=500;function K_(e){var t=Y_(e,function(n){return r.size===J_&&r.clear(),n}),r=t.cache;return t}var Q_=K_,ex=Q_,tx=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rx=/\\(\\)?/g,nx=ex(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(tx,function(r,n,a,i){t.push(a?i.replace(rx,"$1"):n||r)}),t}),zl=nx;function ax(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}var Ul=ax,zs=St,ix=Ul,ox=pe,sx=Nt,ux=1/0,Us=zs?zs.prototype:void 0,Vs=Us?Us.toString:void 0;function Vl(e){if(typeof e=="string")return e;if(ox(e))return ix(e,Vl)+"";if(sx(e))return Vs?Vs.call(e):"";var t=e+"";return t=="0"&&1/e==-ux?"-0":t}var cx=Vl,lx=cx;function fx(e){return e==null?"":lx(e)}var Zl=fx,gx=pe,px=bi,dx=zl,hx=Zl;function yx(e,t){return gx(e)?e:px(e,t)?[e]:dx(hx(e))}var ql=yx,vx=Nt,Cx=1/0;function Ax(e){if(typeof e=="string"||vx(e))return e;var t=e+"";return t=="0"&&1/e==-Cx?"-0":t}var zt=Ax,bx=ql,mx=zt;function Ix(e,t){t=bx(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[mx(t[r++])];return r&&r==n?e:void 0}var Yl=Ix,Sx=Yl;function _x(e,t,r){var n=e==null?void 0:Sx(e,t);return n===void 0?r:n}var xx=_x;function Ox(e,t){return e!=null&&t in Object(e)}var wx=Ox,Rx=ql,Lx=Fr(),Tx=pe,Ex=Pr,$x=ci,Px=zt;function Fx(e,t,r){t=Rx(t,e);for(var n=-1,a=t.length,i=!1;++n<a;){var o=Px(t[n]);if(!(i=e!=null&&r(e,o)))break;e=e[o]}return i||++n!=a?i:(a=e==null?0:e.length,!!a&&$x(a)&&Ex(o,a)&&(Tx(e)||Lx(e)))}var Dx=Fx,kx=wx,Bx=Dx;function Wx(e,t){return e!=null&&Bx(e,t,kx)}var jx=Wx,Nx=Gl,Gx=xx,Xx=jx,Hx=bi,Mx=Xl,zx=Hl,Ux=zt,Vx=1,Zx=2;function qx(e,t){return Hx(e)&&Mx(t)?zx(Ux(e),t):function(r){var n=Gx(r,e);return n===void 0&&n===t?Xx(r,e):Nx(t,n,Vx|Zx)}}var Yx=qx;function Jx(e){return function(t){return t?.[e]}}var Kx=Jx,Qx=Yl;function eO(e){return function(t){return Qx(t,e)}}var tO=eO,rO=Kx,nO=tO,aO=bi,iO=zt;function oO(e){return aO(e)?rO(iO(e)):nO(e)}var sO=oO,uO=X_,cO=Yx,lO=Lr,fO=pe,gO=sO;function pO(e){return typeof e=="function"?e:e==null?lO:typeof e=="object"?fO(e)?cO(e[0],e[1]):uO(e):gO(e)}var dO=pO,hO=kl,yO=dO,vO=1;function CO(e){return yO(typeof e=="function"?e:hO(e,vO))}var AO=CO,Zs=St,bO=Fr(),mO=pe,qs=Zs?Zs.isConcatSpreadable:void 0;function IO(e){return mO(e)||bO(e)||!!(qs&&e&&e[qs])}var SO=IO,_O=yi,xO=SO;function Jl(e,t,r,n,a){var i=-1,o=e.length;for(r||(r=xO),a||(a=[]);++i<o;){var s=e[i];t>0&&r(s)?t>1?Jl(s,t-1,r,n,a):_O(a,s):n||(a[a.length]=s)}return a}var OO=Jl,wO=OO;function RO(e){var t=e==null?0:e.length;return t?wO(e,1):[]}var LO=RO,TO=ti,Ys=Math.max;function EO(e,t,r){return t=Ys(t===void 0?e.length-1:t,0),function(){for(var n=arguments,a=-1,i=Ys(n.length-t,0),o=Array(i);++a<i;)o[a]=n[t+a];a=-1;for(var s=Array(t+1);++a<t;)s[a]=n[a];return s[t]=r(o),TO(e,this,s)}}var Kl=EO,$O=LO,PO=Kl,FO=ai;function DO(e){return FO(PO(e,void 0,$O),e+"")}var kO=DO,BO=si,WO=kO,jO=256,NO=WO(function(e,t){return BO(e,jO,void 0,void 0,void 0,t)}),GO=NO,XO=Ul,HO=jt,MO=pe,zO=Nt,UO=zl,VO=zt,ZO=Zl;function qO(e){return MO(e)?XO(e,VO):zO(e)?[e]:HO(UO(ZO(e)))}var YO=qO,JO={ary:yb,assign:_l,clone:K0,curry:tS,forEach:ii,isArray:pe,isError:vS,isFunction:Tr,isWeakMap:IS,iteratee:AO,keys:Sl,rearg:GO,toInteger:Al,toPath:YO},KO=vh,QO=JO;function ew(e,t,r){return KO(QO,e,t,r)}var tw=ew,ea,Js;function Ql(){if(Js)return ea;Js=1;var e=ui,t=Gt();function r(n,a,i){(i!==void 0&&!t(n[a],i)||i===void 0&&!(a in n))&&e(n,a,i)}return ea=r,ea}var ta,Ks;function rw(){if(Ks)return ta;Ks=1;function e(t){return function(r,n,a){for(var i=-1,o=Object(r),s=a(r),u=s.length;u--;){var f=s[t?u:++i];if(n(o[f],f,o)===!1)break}return r}}return ta=e,ta}var ra,Qs;function nw(){if(Qs)return ra;Qs=1;var e=rw(),t=e();return ra=t,ra}var na,eu;function aw(){if(eu)return na;eu=1;var e=Dr,t=Se;function r(n){return t(n)&&e(n)}return na=r,na}var aa,tu;function ef(){if(tu)return aa;tu=1;function e(t,r){if(!(r==="constructor"&&typeof t[r]=="function")&&r!="__proto__")return t[r]}return aa=e,aa}var ia,ru;function iw(){if(ru)return ia;ru=1;var e=Xt,t=Ht();function r(n){return e(n,t(n))}return ia=r,ia}var oa,nu;function ow(){if(nu)return oa;nu=1;var e=Ql(),t=Bt,r=El(),n=jt,a=$l,i=Fr(),o=pe,s=aw(),u=ut,f=Tr,g=Te,c=Wl,d=fi(),h=ef(),v=iw();function m(b,y,A,x,I,S,D){var $=h(b,A),N=h(y,A),ne=D.get(N);if(ne){e(b,A,ne);return}var W=S?S($,N,A+"",b,y,D):void 0,F=W===void 0;if(F){var q=o(N),oe=!q&&u(N),ee=!q&&!oe&&d(N);W=N,q||oe||ee?o($)?W=$:s($)?W=n($):oe?(F=!1,W=t(N,!0)):ee?(F=!1,W=r(N,!0)):W=[]:c(N)||i(N)?(W=$,i($)?W=v($):(!g($)||f($))&&(W=a(N))):F=!1}F&&(D.set(N,W),I(W,N,x,S,D),D.delete(N)),e(b,A,W)}return oa=m,oa}var sa,au;function sw(){if(au)return sa;au=1;var e=Gr(),t=Ql(),r=nw(),n=ow(),a=Te,i=Ht(),o=ef();function s(u,f,g,c,d){u!==f&&r(f,function(h,v){if(d||(d=new e),a(h))n(u,f,v,g,s,c,d);else{var m=c?c(o(u,v),h,v+"",u,f,d):void 0;m===void 0&&(m=h),t(u,v,m)}},i)}return sa=s,sa}var ua,iu;function uw(){if(iu)return ua;iu=1;var e=Lr,t=Kl,r=ai;function n(a,i){return r(t(a,i,e),a+"")}return ua=n,ua}var ca,ou;function cw(){if(ou)return ca;ou=1;var e=Gt(),t=Dr,r=Pr,n=Te;function a(i,o,s){if(!n(s))return!1;var u=typeof o;return(u=="number"?t(s)&&r(o,s.length):u=="string"&&o in s)?e(s[o],i):!1}return ca=a,ca}var la,su;function lw(){if(su)return la;su=1;var e=uw(),t=cw();function r(n){return e(function(a,i){var o=-1,s=i.length,u=s>1?i[s-1]:void 0,f=s>2?i[2]:void 0;for(u=n.length>3&&typeof u=="function"?(s--,u):void 0,f&&t(i[0],i[1],f)&&(u=s<3?void 0:u,s=1),a=Object(a);++o<s;){var g=i[o];g&&n(a,g,o,u)}return a})}return la=r,la}var fa,uu;function fw(){if(uu)return fa;uu=1;var e=sw(),t=lw(),r=t(function(n,a,i){e(n,a,i)});return fa=r,fa}var gw=tw,tf=gw("merge",fw());tf.placeholder=el();var Ke=tf;const Ie={palette:{primary:{ultraLight:"#EDEDED",light:"#D6D6D6",main:"#7A7A7A",dark:"#626262"},secondary:{ultraLight:"#F4F4F4",light:"#787878",main:"#616161",dark:"#303030"},error:{main:"#a72514",light:"#fee5e4"},success:{main:"#286327",light:"#dcfddb"},alert:{main:"#725200",light:"#ffe7ca"},info:{main:"#195f7f",light:"#dbedfd"},gray:{main:"#706f6f",light:"#d3d3d3",ultraLight:"#f4f4f4",megaLight:"#fafafa",dark:"#373737"},black:"#000",white:"#fff",dataVisualization:{highContrast:{blueDark:"#002039",coral:"#F95D6A",purpleDark:"#665191",orange:"#FFA600",purple:"#A05195",orangeDark:"#FF7C43",blue:"#3970C1",cyan:"#45CEE0",pink:"#D12771",green:"#B3D849"},lowContrast:{blueDark:"#5283AB",coral:"#FCA6AD",purpleDark:"#B1A2D0",orange:"#FDDFA5",purple:"#D4BBFF",orangeDark:"#FCC2A9",blue:"#96B3DE",cyan:"#BAE6FF",pink:"#E995BA",green:"#DEF895"}}},spacingBase:8,borderRadius:{XS:"2px",S:"4px",M:"8px",L:"16px",XL:"32px"},breakPoints:{mobileLarge:480,tablet:768,tabletLarge:960,desktop:1280},typography:{fontWeight:{light:200,normal:400,semibold:600,bold:700},fontSize:{XXS:"10px",XS:"12px",S:"14px",M:"16px",L:"18px",XL:"20px",XXL:"24px",XXXL:"32px",XXXXL:"48px"},lineHeight:{S:"20px",M:"24px",L:"28px",XL:"32px",XXL:"48px",XXXL:"72px"},letterSpacing:{S:0,M:1,L:3,XL:5,XXL:8,XXXL:12}},card:{borderRadius:{mobile:"4px",tablet:"8px",desktop:"8px"}},elevations:{flat1:{boxShadow:"0 2px 2px rgba(0, 0, 0, 0.1)",zIndex:1},flat2:{boxShadow:"0 2px 2px rgba(0, 0, 0, 0.1)",zIndex:1e3},above:{boxShadow:"0 0 12px rgba(0, 0, 0, 0.1)",zIndex:1e3},sticky:{boxShadow:"none",zIndex:1001},raised:{boxShadow:"0 8px 8px rgba(0, 0, 0, 0.1)",zIndex:1002},raisedInverted1:{boxShadow:"0 -8px 8px rgba(0, 0, 0, 0.1)",zIndex:1002},raisedInverted2:{boxShadow:"0 -8px 8px rgba(0, 0, 0, 0.1)",zIndex:1003},popout1:{boxShadow:"0 4px 16px rgba(0, 0, 0, 0.1)",zIndex:1004},popout2:{boxShadow:"0 4px 16px rgba(0, 0, 0, 0.1)",zIndex:1005},overlay1:{boxShadow:"0 0 24px rgba(0, 0, 0, 0.1)",zIndex:1006},backdrop:{boxShadow:"none",zIndex:1007},overlay2:{boxShadow:"0 0 24px rgba(0, 0, 0, 0.1)",zIndex:1008}},grid:{mobile:{columns:4,horizontalSpace:16,verticalSpace:16,gutter:16},mobileLarge:{columns:4,horizontalSpace:16,verticalSpace:16,gutter:16},tablet:{columns:12,horizontalSpace:16,verticalSpace:24,gutter:24},tabletLarge:{columns:12,horizontalSpace:16,verticalSpace:24,gutter:24},desktop:{columns:12,horizontalSpace:16,verticalSpace:24,gutter:24},desktopLarge:{columns:12,horizontalSpace:16,verticalSpace:24,gutter:24}},defaultFontFamily:"Arial",fontFaces:[],iconSize:{small:"16px",medium:"20px",regular:"24px",large:"32px"}};class pw{constructor(){var t=this;let{borderRadius:r={},breakPoints:n={},iconSize:a={},palette:i={},spacingBase:o,typography:s={},card:u={},elevations:f={},grid:g={},fontFaces:c,defaultFontFamily:d,components:h={}}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};te(this,"removePx",v=>parseInt(v.substring(0,v.indexOf("px")))),te(this,"mediaQuery",v=>`@media (min-width: ${this.breakPoints[v]}px)`),te(this,"getComponent",v=>this.components[v]||{}),te(this,"getComponentOverride",v=>this.components[v]||{}),te(this,"spacing",function(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;return t.spacingBase*v}),te(this,"getElevation",v=>({boxShadow:this.elevations[v].boxShadow,zIndex:this.elevations[v].zIndex})),te(this,"getCardStyle",()=>({backgroundColor:this.palette.white,borderRadius:this.card.borderRadius.mobile,[this.mediaQuery("tablet")]:{borderRadius:this.card.borderRadius.tablet},[this.mediaQuery("desktop")]:{borderRadius:this.card.borderRadius.desktop}})),te(this,"toRem",function(v){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.typography.fontSize.M;return`${t.removePx(v)/t.removePx(m)}rem`}),te(this,"toEm",v=>`${v/100}em`),te(this,"toPercentage",v=>`${v*100}%`),te(this,"toRGBA",(v,m)=>{let b=v.replace("#","");b.length===3&&(b=b[0]+b[0]+b[1]+b[1]+b[2]+b[2]);const y=parseInt(b.substring(0,2),16),A=parseInt(b.substring(2,4),16),x=parseInt(b.substring(4,6),16);return`rgba(${y}, ${A}, ${x}, ${m})`}),te(this,"getLineHeight",(v,m)=>this.removePx(m)/this.removePx(v)),this.borderRadius=Ke(Ie.borderRadius,r),this.breakPoints=Ke(Ie.breakPoints,n),this.iconSize=Ke(Ie.iconSize,a),this.palette=Ke(Ie.palette,i),this.spacingBase=o||Ie.spacingBase,this.typography=Ke(Ie.typography,s),this.card=Ke(Ie.card,u),this.elevations=Ke(Ie.elevations,f),this.grid=Ke(Ie.grid,g),this.fontFaces=c||Ie.fontFaces,this.defaultFontFamily=d||Ie.defaultFontFamily,this.components=h}}let Ga;(function(e){e.ADD_FILLED="ADD_FILLED",e.ADD="ADD",e.AGENT="AGENT",e.ALERT="ALERT",e.ANALYTICS="ANALYTICS",e.CONVERSATION="CONVERSATION",e.ARROW_BOTTOM="ARROW_BOTTOM",e.ARROW_LEFT="ARROW_LEFT",e.ARROW_RIGHT="ARROW_RIGHT",e.ARROW_TOP="ARROW_TOP",e.ATTACH="ATTACH",e.AUTOMATION="AUTOMATION",e.BELL="BELL",e.BOAT="BOAT",e.BUCKET="BUCKET",e.BUFFER="BUFFER",e.CALENDAR="CALENDAR",e.CANCEL_FILLED="CANCEL_FILLED",e.CANCEL="CANCEL",e.CAR="CAR",e.CARDBOARD_BOX_CHECK="CARDBOARD_BOX_CHECK",e.CARDBOARD_BOX_SHIELD="CARDBOARD_BOX_SHIELD",e.CARDBOARD_BOX="CARDBOARD_BOX",e.CARET_BOTTOM="CARET_BOTTOM",e.CARET_TOP="CARET_TOP",e.CARGO="CARGO",e.CART="CART",e.CASH_DISABLED="CASH_DISABLED",e.CASH="CASH",e.CHART_UPWARDS="CHART_UPWARDS",e.CHECK_FILLED="CHECK_FILLED",e.CHECK_MARK="CHECK_MARK",e.CHECK="CHECK",e.CHEVRON_BOTTOM="CHEVRON_BOTTOM",e.CHEVRON_LEFT="CHEVRON_LEFT",e.CHEVRON_RIGHT="CHEVRON_RIGHT",e.CHEVRON_TOP="CHEVRON_TOP",e.CIRCLE="CIRCLE",e.CIRCULAR_ARROW="CIRCULAR_ARROW",e.CLOCK="CLOCK",e.CLOSE="CLOSE",e.COINS="COINS",e.CONTRACT="CONTRACT",e.COPY="COPY",e.CREDIT_CARD="CREDIT_CARD",e.DASH="DASH",e.DESKTOP="DESKTOP",e.DOOR_DELIVERY="DOOR_DELIVERY",e.DOTS="DOTS",e.DOWNLOAD="DOWNLOAD",e.DUPLICATE="DUPLICATE",e.ECOMMERCE="ECOMMERCE",e.EDIT="EDIT",e.EYE_DISABLED="EYE_DISABLED",e.EYE="EYE",e.FAST_DELIVERY="FAST_DELIVERY",e.FILE_LIST="FILE_LIST",e.FILE_PDF="FILE_PDF",e.FILE="FILE",e.FILTER="FILTER",e.FORKLIFT="FORKLIFT",e.FOUR="FOUR",e.FRAGILE="FRAGILE",e.GIFT="GIFT",e.GROUP="GROUP",e.HAND_BOX="HAND_BOX",e.HARD_BOX="HARD_BOX",e.HELP="HELP",e.HOURGLASS="HOURGLASS",e.HOUSE="HOUSE",e.IMPORT="IMPORT",e.INBOX="INBOX",e.INFO_FILLED="INFO_FILLED",e.INFO="INFO",e.KEY="KEY",e.LABEL="LABEL",e.LIST="LIST",e.LOGOUT_BOLD="LOGOUT_BOLD",e.LOGOUT="LOGOUT",e.MAIL="MAIL",e.MAP="MAP",e.MARGIN_PROFILE="MARGIN_PROFILE",e.MARKER_FILLED="MARKER_FILLED",e.MARKER="MARKER",e.MENU="MENU",e.MOBILE="MOBILE",e.MONEY="MONEY",e.ONE="ONE",e.OPEN_BOX="OPEN_BOX",e.PADLOCK_OPEN="PADLOCK_OPEN",e.PADLOCK="PADLOCK",e.PAGINATION_LEFT="PAGINATION_LEFT",e.PAGINATION_RIGHT="PAGINATION_RIGHT",e.PALLET="PALLET",e.PANTONE="PANTONE",e.PERCENTAGE="PERCENTAGE",e.PLANE="PLANE",e.PLUG="PLUG",e.PLUS="PLUS",e.PRINTER_DISABLED="PRINTER_DISABLED",e.PRINTER="PRINTER",e.REMOVE_FILLED="REMOVE_FILLED",e.REMOVE="REMOVE",e.ROCKET="ROCKET",e.SAVINGS="SAVINGS",e.SCAN_BARCODE="SCAN_BARCODE",e.SEARCH="SEARCH",e.SETTINGS="SETTINGS",e.SHIELD_DISABLED="SHIELD_DISABLED",e.SHIELD="SHIELD",e.SINGLE_COLLECTION="SINGLE_COLLECTION",e.SORT_ALPHA_ASC="SORT_ALPHA_ASC",e.SORT_ALPHA_DESC="SORT_ALPHA_DESC",e.SORT="SORT",e.SPEED_TRUCK="SPEED_TRUCK",e.SPINNER="SPINNER",e.STORE="STORE",e.SUBSCRIPTION="SUBSCRIPTION",e.TABLET="TABLET",e.THREE="THREE",e.TIMER="TIMER",e.TRACKING="TRACKING",e.TRAIN="TRAIN",e.TRASH="TRASH",e.TROLLEY="TROLLEY",e.TRUCK="TRUCK",e.TWO="TWO",e.USER_FILLED="USER_FILLED",e.USER="USER",e.VAN="VAN",e.WAREHOUSE="WAREHOUSE",e.WEIGHT="WEIGHT",e.WORLD_SHIPPING="WORLD_SHIPPING",e.WORLD="WORLD"})(Ga||(Ga={}));const dw=Object.freeze(Object.defineProperty({__proto__:null,get IconNames(){return Ga},Theme:pw,fallbackTheme:Ie},Symbol.toStringTag,{value:"Module"})),rf=xp(dw);var Ii={},hw=kt;const yw=(e,t,r)=>({Chip:Ue(e,t.Chip,r?.Chip),Link:Ue(e,t.Link,r?.Link),Button:Ue(e,t.Button,r?.Button),Dialog:Ue(e,t.Dialog,r?.Dialog),Typography:Ue(e,t.Typography,r?.Typography),Checkbox:Ue(e,t.Checkbox,r?.Checkbox),Field:Ue(e,t.Field,r?.Field),FieldContainer:Ue(e,t.FieldContainer,r?.FieldContainer)});function Ue(e,t,r){const n=t(e),a=r?.(e);return hw({},n,a)}Ii.createThemeComponents=yw;Ii.createThemedComponent=Ue;var vw=kt,Cw=Le,nf=rf,Aw=Ii,bw=ei;const mw=(e,t)=>Array.isArray(t)?t:void 0;function af(e){const{components:t,...r}=bw.fallback,{components:n,...a}=e,i=vw({},r,a,mw),o=new nf.Theme(i);return o.components=Aw.createThemeComponents(o,t,n),o}function Iw(e){const t=Cw[e];return af(t)}function Sw(e){return new nf.Theme(e)}Rr.buildTheme=af;Rr.createTheme=Iw;Rr.deserialize=Sw;var of={};(function(e){e.BrandName=void 0,function(t){t.DPD="dpd",t.EBAY="ebay",t.EBAY_IT="ebay_it",t.PACKLINK_CONS="packlink_cons",t.PAYPAL="paypal",t.PACKLINK_PRO="packlink_pro",t.PAYPAL_SHIPCENTER="paypal_shipcenter",t.BIGCOMMERCE="bigcommerce",t.SHIPENGINE_DASHBOARD="shipengine_dashboard",t.FALLBACK="fallback"}(e.BrandName||(e.BrandName={}))})(of);(function(e){var t=Rr,r=of,n=rf;e.buildTheme=t.buildTheme,e.createTheme=t.createTheme,e.deserialize=t.deserialize,Object.defineProperty(e,"BrandName",{enumerable:!0,get:function(){return r.BrandName}}),Object.defineProperty(e,"BorderRadiusVariables",{enumerable:!0,get:function(){return n.BorderRadiusVariables}}),Object.defineProperty(e,"BreakpointsVariables",{enumerable:!0,get:function(){return n.BreakpointsVariables}}),Object.defineProperty(e,"CardVariables",{enumerable:!0,get:function(){return n.CardVariables}}),Object.defineProperty(e,"ComponentsVariables",{enumerable:!0,get:function(){return n.ComponentsVariables}}),Object.defineProperty(e,"CustomThemeData",{enumerable:!0,get:function(){return n.CustomThemeData}}),Object.defineProperty(e,"ElevationBase",{enumerable:!0,get:function(){return n.ElevationBase}}),Object.defineProperty(e,"ElevationsVariables",{enumerable:!0,get:function(){return n.ElevationsVariables}}),Object.defineProperty(e,"FontFacesVariables",{enumerable:!0,get:function(){return n.FontFacesVariables}}),Object.defineProperty(e,"FontSizeVariables",{enumerable:!0,get:function(){return n.FontSizeVariables}}),Object.defineProperty(e,"FontWeightVariables",{enumerable:!0,get:function(){return n.FontWeightVariables}}),Object.defineProperty(e,"GridBase",{enumerable:!0,get:function(){return n.GridBase}}),Object.defineProperty(e,"GridVariables",{enumerable:!0,get:function(){return n.GridVariables}}),Object.defineProperty(e,"IconNames",{enumerable:!0,get:function(){return n.IconNames}}),Object.defineProperty(e,"IconsVariables",{enumerable:!0,get:function(){return n.IconsVariables}}),Object.defineProperty(e,"LetterSpacingVariables",{enumerable:!0,get:function(){return n.LetterSpacingVariables}}),Object.defineProperty(e,"LineHeightVariables",{enumerable:!0,get:function(){return n.LineHeightVariables}}),Object.defineProperty(e,"PaletteVariables",{enumerable:!0,get:function(){return n.PaletteVariables}}),Object.defineProperty(e,"Theme",{enumerable:!0,get:function(){return n.Theme}}),Object.defineProperty(e,"ThemeCardBorderRadius",{enumerable:!0,get:function(){return n.ThemeCardBorderRadius}}),Object.defineProperty(e,"ThemeData",{enumerable:!0,get:function(){return n.ThemeData}}),Object.defineProperty(e,"ThemePaletteColorBase",{enumerable:!0,get:function(){return n.ThemePaletteColorBase}}),Object.defineProperty(e,"ThemePaletteColorExpanded",{enumerable:!0,get:function(){return n.ThemePaletteColorExpanded}}),Object.defineProperty(e,"ThemePaletteColorGray",{enumerable:!0,get:function(){return n.ThemePaletteColorGray}}),Object.defineProperty(e,"ThemePaletteColorStandard",{enumerable:!0,get:function(){return n.ThemePaletteColorStandard}}),Object.defineProperty(e,"ThemePaletteDataVisualization",{enumerable:!0,get:function(){return n.ThemePaletteDataVisualization}}),Object.defineProperty(e,"ThemePaletteDataVisualizationColors",{enumerable:!0,get:function(){return n.ThemePaletteDataVisualizationColors}}),Object.defineProperty(e,"TypographyVariables",{enumerable:!0,get:function(){return n.TypographyVariables}})})(wr);function sf(){let e={};return{get:a=>e[a],set:(a,i)=>{e[a]=i},reset:()=>{e={}}}}const _w=Q.createContext({resolveIcon:()=>Promise.resolve(""),iconCache:sf()}),xw=e=>{let{children:t,resolveIcon:r,iconCache:n=sf()}=e;return Q.useEffect(()=>{n.reset()},[n,r]),ve(_w.Provider,{value:{resolveIcon:r,iconCache:n},children:t})},Ow=e=>t=>{const r=e?`.${e}`:"html";return Pt.css({[r]:{boxSizing:"border-box",color:t.palette.gray.dark,fontWeight:t.typography.fontWeight.normal,fontSize:t.typography.fontSize.M,lineHeight:1.15,WebkitTextSizeAdjust:"100%",...r==="html"&&{body:{margin:0}},main:{display:"block"},"*, *::before, *::after":{boxSizing:"inherit"},"h1, h2, h3, h4, h5, h6":{marginTop:0,marginBottom:t.spacing(3)},"abbr[title]":{borderBottom:"none",textDecoration:"underline dotted"},"b, strong":{fontWeight:"bolder"},code:{fontFamily:"monospace, monospace",fontSize:"1em"},"ul, ol":{margin:0,padding:0},"button, input, optgroup, select, textarea":{fontFamily:"inherit",fontSize:"100%",lineHeight:"1.15",margin:0},"button, input":{overflow:"visible"},"button, select":{textTransform:"none"},'button, [type="button"], [type="reset"], [type="submit"]':{WebkitAppearance:"button"},'button::-moz-focus-inner,[type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner':{borderStyle:"none",padding:0},'button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring':{outline:"1px dotted ButtonText"},button:{border:0},"input[type=number]":{MozAppearance:"textfield"},"input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button":{margin:0,WebkitAppearance:"none"},"input[type=search]::-webkit-search-decoration, input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-results-button, input[type=search]::-webkit-search-results-decoration":{display:"none"},'input[type="time"]::-webkit-calendar-picker-indicator':{display:"none"},textarea:{resize:"vertical"},small:{fontSize:"80%"},fieldset:{padding:`${t.spacing(.7)}px ${t.spacing(1.5)}px ${t.spacing(1.25)}px`},legend:{boxSizing:"border-box",color:"inherit",display:"table",maxWidth:"100%",padding:0,whiteSpace:"normal"},'[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button':{height:"auto"},'[type="search"]':{WebkitAppearance:"textfield",outlineOffset:"-2px"},'[type="search"]::-webkit-search-decoration':{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},details:{display:"block"},template:{display:"none"},"[hidden]":{display:"none"}}},process.env.NODE_ENV==="production"?"":";label:getEmotionResetStyles;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkVtb3Rpb25SZXNldFN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFTZSIsImZpbGUiOiJFbW90aW9uUmVzZXRTdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MsIFNlcmlhbGl6ZWRTdHlsZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IFRoZW1lIH0gZnJvbSAnQHBhY2tsaW5rL2dpZ2VyLXRoZW1lJztcblxuZXhwb3J0IGNvbnN0IGdldEVtb3Rpb25SZXNldFN0eWxlcyA9XG4gICAgKGNsYXNzTmFtZT86IHN0cmluZykgPT5cbiAgICAodGhlbWU6IFRoZW1lKTogU2VyaWFsaXplZFN0eWxlcyA9PiB7XG4gICAgICAgIGNvbnN0IHBhcmVudFNlbGVjdG9yID0gY2xhc3NOYW1lID8gYC4ke2NsYXNzTmFtZX1gIDogJ2h0bWwnO1xuXG4gICAgICAgIHJldHVybiBjc3Moe1xuICAgICAgICAgICAgW3BhcmVudFNlbGVjdG9yXToge1xuICAgICAgICAgICAgICAgIGJveFNpemluZzogJ2JvcmRlci1ib3gnLFxuICAgICAgICAgICAgICAgIGNvbG9yOiB0aGVtZS5wYWxldHRlLmdyYXkuZGFyayxcbiAgICAgICAgICAgICAgICBmb250V2VpZ2h0OiB0aGVtZS50eXBvZ3JhcGh5LmZvbnRXZWlnaHQubm9ybWFsLFxuICAgICAgICAgICAgICAgIGZvbnRTaXplOiB0aGVtZS50eXBvZ3JhcGh5LmZvbnRTaXplLk0sXG5cbiAgICAgICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAgICAgKiAxLiBDb3JyZWN0IHRoZSBsaW5lIGhlaWdodCBpbiBhbGwgYnJvd3NlcnMuXG4gICAgICAgICAgICAgICAgICogMi4gUHJldmVudCBhZGp1c3RtZW50cyBvZiBmb250IHNpemUgYWZ0ZXIgb3JpZW50YXRpb24gY2hhbmdlcyBpbiBpT1MuXG4gICAgICAgICAgICAgICAgICovXG4gICAgICAgICAgICAgICAgbGluZUhlaWdodDogMS4xNSxcbiAgICAgICAgICAgICAgICBXZWJraXRUZXh0U2l6ZUFkanVzdDogJzEwMCUnLFxuXG4gICAgICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgICAgICogUmVtb3ZlIHRoZSBtYXJnaW4gaW4gYWxsIGJyb3dzZXJzLlxuICAgICAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgICAgIC4uLihwYXJlbnRTZWxlY3RvciA9PT0gJ2h0bWwnICYmIHtcbiAgICAgICAgICAgICAgICAgICAgYm9keToge1xuICAgICAgICAgICAgICAgICAgICAgICAgbWFyZ2luOiAwLFxuICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIH0pLFxuXG4gICAgICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgICAgICogUmVuZGVyIHRoZSBgbWFpbmAgZWxlbWVudCBjb25zaXN0ZW50bHkgaW4gSUUuXG4gICAgICAgICAgICAgICAgICovXG4gICAgICAgICAgICAgICAgbWFpbjoge1xuICAgICAgICAgICAgICAgICAgICBkaXNwbGF5OiAnYmxvY2snLFxuICAgICAgICAgICAgICAgIH0sXG5cbiAgICAgICAgICAgICAgICAnKiwgKjo6YmVmb3JlLCAqOjphZnRlcic6IHtcbiAgICAgICAgICAgICAgICAgICAgYm94U2l6aW5nOiAnaW5oZXJpdCcsXG4gICAgICAgICAgICAgICAgfSxcblxuICAgICAgICAgICAgICAgICdoMSwgaDIsIGgzLCBoNCwgaDUsIGg2Jzoge1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW5Ub3A6IDAsXG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbkJvdHRvbTogdGhlbWUuc3BhY2luZygzKSxcbiAgICAgICAgICAgICAgICB9LFxuXG4gICAgICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgICAgICogMS4gUmVtb3ZlIHRoZSBib3R0b20gYm9yZGVyIGluIENocm9tZSA1Ny1cbiAgICAgICAgICAgICAgICAgKiAyLiBBZGQgdGhlIGNvcnJlY3QgdGV4dCBkZWNvcmF0aW9uIGluIENocm9tZSwgRWRnZSwgSUUsIE9wZXJhLCBhbmQgU2FmYXJpLlxuICAgICAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgICAgICdhYmJyW3RpdGxlXSc6IHtcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyQm90dG9tOiAnbm9uZScsXG4gICAgICAgICAgICAgICAgICAgIHRleHREZWNvcmF0aW9uOiAndW5kZXJsaW5lIGRvdHRlZCcsXG4gICAgICAgICAgICAgICAgfSxcblxuICAgICAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICAgICAqIEFkZCB0aGUgY29ycmVjdCBmb250IHdlaWdodCBpbiBDaHJvbWUsIEVkZ2UsIGFuZCBTYWZhcmkuXG4gICAgICAgICAgICAgICAgICovXG5cbiAgICAgICAgICAgICAgICAnYiwgc3Ryb25nJzoge1xuICAgICAgICAgICAgICAgICAgICBmb250V2VpZ2h0OiAnYm9sZGVyJyxcbiAgICAgICAgICAgICAgICB9LFxuXG4gICAgICAgICAgICAgICAgY29kZToge1xuICAgICAgICAgICAgICAgICAgICBmb250RmFtaWx5OiAnbW9ub3NwYWNlLCBtb25vc3BhY2UnLFxuICAgICAgICAgICAgICAgICAgICBmb250U2l6ZTogJzFlbScsXG4gICAgICAgICAgICAgICAgfSxcblxuICAgICAgICAgICAgICAgICd1bCwgb2wnOiB7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbjogMCxcbiAgICAgICAgICAgICAgICAgICAgcGFkZGluZzogMCxcbiAgICAgICAgICAgICAgICB9LFxuXG4gICAgICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgICAgICogMS4gQ2hhbmdlIHRoZSBmb250IHN0eWxlcyBpbiBhbGwgYnJvd3NlcnMuXG4gICAgICAgICAgICAgICAgICogMi4gUmVtb3ZlIHRoZSBtYXJnaW4gaW4gRmlyZWZveCBhbmQgU2FmYXJpLlxuICAgICAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgICAgICdidXR0b24sIGlucHV0LCBvcHRncm91cCwgc2VsZWN0LCB0ZXh0YXJlYSc6IHtcbiAgICAgICAgICAgICAgICAgICAgZm9udEZhbWlseTogJ2luaGVyaXQnLFxuICAgICAgICAgICAgICAgICAgICBmb250U2l6ZTogJzEwMCUnLFxuICAgICAgICAgICAgICAgICAgICBsaW5lSGVpZ2h0OiAnMS4xNScsXG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbjogMCxcbiAgICAgICAgICAgICAgICB9LFxuXG4gICAgICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgICAgICogU2hvdyB0aGUgb3ZlcmZsb3cgaW4gSUUuXG4gICAgICAgICAgICAgICAgICogMS4gU2hvdyB0aGUgb3ZlcmZsb3cgaW4gRWRnZS5cbiAgICAgICAgICAgICAgICAgKi9cbiAgICAgICAgICAgICAgICAnYnV0dG9uLCBpbnB1dCc6IHtcbiAgICAgICAgICAgICAgICAgICAgb3ZlcmZsb3c6ICd2aXNpYmxlJyxcbiAgICAgICAgICAgICAgICB9LFxuXG4gICAgICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgICAgICogUmVtb3ZlIHRoZSBpbmhlcml0YW5jZSBvZiB0ZXh0IHRyYW5zZm9ybSBpbiBFZGdlLCBGaXJlZm94LCBhbmQgSUUuXG4gICAgICAgICAgICAgICAgICogMS4gUmVtb3ZlIHRoZSBpbmhlcml0YW5jZSBvZiB0ZXh0IHRyYW5zZm9ybSBpbiBGaXJlZm94LlxuICAgICAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgICAgICdidXR0b24sIHNlbGVjdCc6IHtcbiAgICAgICAgICAgICAgICAgICAgdGV4dFRyYW5zZm9ybTogJ25vbmUnLFxuICAgICAgICAgICAgICAgIH0sXG5cbiAgICAgICAgICAgICAgICAnYnV0dG9uLCBbdHlwZT1cImJ1dHRvblwiXSwgW3R5cGU9XCJyZXNldFwiXSwgW3R5cGU9XCJzdWJtaXRcIl0nOiB7XG4gICAgICAgICAgICAgICAgICAgIFdlYmtpdEFwcGVhcmFuY2U6ICdidXR0b24nLFxuICAgICAgICAgICAgICAgIH0sXG5cbiAgICAgICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAgICAgKiBSZW1vdmUgdGhlIGlubmVyIGJvcmRlciBhbmQgcGFkZGluZyBpbiBGaXJlZm94LlxuICAgICAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgICAgICdidXR0b246Oi1tb3otZm9jdXMtaW5uZXIsW3R5cGU9XCJidXR0b25cIl06Oi1tb3otZm9jdXMtaW5uZXIsIFt0eXBlPVwicmVzZXRcIl06Oi1tb3otZm9jdXMtaW5uZXIsIFt0eXBlPVwic3VibWl0XCJdOjotbW96LWZvY3VzLWlubmVyJzpcbiAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyU3R5bGU6ICdub25lJyxcbiAgICAgICAgICAgICAgICAgICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgICAgICAgICAgICAgIH0sXG5cbiAgICAgICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAgICAgKiBSZXN0b3JlIHRoZSBmb2N1cyBzdHlsZXMgdW5zZXQgYnkgdGhlIHByZXZpb3VzIHJ1bGUuXG4gICAgICAgICAgICAgICAgICovXG4gICAgICAgICAgICAgICAgJ2J1dHRvbjotbW96LWZvY3VzcmluZywgW3R5cGU9XCJidXR0b25cIl06LW1vei1mb2N1c3JpbmcsIFt0eXBlPVwicmVzZXRcIl06LW1vei1mb2N1c3JpbmcsIFt0eXBlPVwic3VibWl0XCJdOi1tb3otZm9jdXNyaW5nJzpcbiAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgb3V0bGluZTogJzFweCBkb3R0ZWQgQnV0dG9uVGV4dCcsXG4gICAgICAgICAgICAgICAgICAgIH0sXG5cbiAgICAgICAgICAgICAgICBidXR0b246IHtcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAgICAgICAgIH0sXG5cbiAgICAgICAgICAgICAgICAnaW5wdXRbdHlwZT1udW1iZXJdJzoge1xuICAgICAgICAgICAgICAgICAgICBNb3pBcHBlYXJhbmNlOiAndGV4dGZpZWxkJyxcbiAgICAgICAgICAgICAgICB9LFxuXG4gICAgICAgICAgICAgICAgJ2lucHV0W3R5cGU9bnVtYmVyXTo6LXdlYmtpdC1pbm5lci1zcGluLWJ1dHRvbiwgaW5wdXRbdHlwZT1udW1iZXJdOjotd2Via2l0LW91dGVyLXNwaW4tYnV0dG9uJzoge1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW46IDAsXG4gICAgICAgICAgICAgICAgICAgIFdlYmtpdEFwcGVhcmFuY2U6ICdub25lJyxcbiAgICAgICAgICAgICAgICB9LFxuXG4gICAgICAgICAgICAgICAgJ2lucHV0W3R5cGU9c2VhcmNoXTo6LXdlYmtpdC1zZWFyY2gtZGVjb3JhdGlvbiwgaW5wdXRbdHlwZT1zZWFyY2hdOjotd2Via2l0LXNlYXJjaC1jYW5jZWwtYnV0dG9uLCBpbnB1dFt0eXBlPXNlYXJjaF06Oi13ZWJraXQtc2VhcmNoLXJlc3VsdHMtYnV0dG9uLCBpbnB1dFt0eXBlPXNlYXJjaF06Oi13ZWJraXQtc2VhcmNoLXJlc3VsdHMtZGVjb3JhdGlvbic6XG4gICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGRpc3BsYXk6ICdub25lJyxcbiAgICAgICAgICAgICAgICAgICAgfSxcblxuICAgICAgICAgICAgICAgICdpbnB1dFt0eXBlPVwidGltZVwiXTo6LXdlYmtpdC1jYWxlbmRhci1waWNrZXItaW5kaWNhdG9yJzoge1xuICAgICAgICAgICAgICAgICAgICBkaXNwbGF5OiAnbm9uZScsXG4gICAgICAgICAgICAgICAgfSxcblxuICAgICAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICAgICAqIFJlbW92ZSB0aGUgZGVmYXVsdCB2ZXJ0aWNhbCBzY3JvbGxiYXIgaW4gSUUgMTArLlxuICAgICAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgICAgIHRleHRhcmVhOiB7XG4gICAgICAgICAgICAgICAgICAgIHJlc2l6ZTogJ3ZlcnRpY2FsJyxcbiAgICAgICAgICAgICAgICB9LFxuXG4gICAgICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgICAgICogQWRkIHRoZSBjb3JyZWN0IGZvbnQgc2l6ZSBpbiBhbGwgYnJvd3NlcnMuXG4gICAgICAgICAgICAgICAgICovXG4gICAgICAgICAgICAgICAgc21hbGw6IHtcbiAgICAgICAgICAgICAgICAgICAgZm9udFNpemU6ICc4MCUnLFxuICAgICAgICAgICAgICAgIH0sXG5cbiAgICAgICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAgICAgKiBDb3JyZWN0IHRoZSBwYWRkaW5nIGluIEZpcmVmb3guXG4gICAgICAgICAgICAgICAgICovXG4gICAgICAgICAgICAgICAgZmllbGRzZXQ6IHtcbiAgICAgICAgICAgICAgICAgICAgcGFkZGluZzogYCR7dGhlbWUuc3BhY2luZygwLjcpfXB4ICR7dGhlbWUuc3BhY2luZygxLjUpfXB4ICR7dGhlbWUuc3BhY2luZygxLjI1KX1weGAsXG4gICAgICAgICAgICAgICAgfSxcblxuICAgICAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICAgICAqIDEuIENvcnJlY3QgdGhlIHRleHQgd3JhcHBpbmcgaW4gRWRnZSBhbmQgSUUuXG4gICAgICAgICAgICAgICAgICogMi4gQ29ycmVjdCB0aGUgY29sb3IgaW5oZXJpdGFuY2UgZnJvbSBgZmllbGRzZXRgIGVsZW1lbnRzIGluIElFLlxuICAgICAgICAgICAgICAgICAqIDMuIFJlbW92ZSB0aGUgcGFkZGluZyBzbyBkZXZlbG9wZXJzIGFyZSBub3QgY2F1Z2h0IG91dCB3aGVuIHRoZXkgemVybyBvdXRcbiAgICAgICAgICAgICAgICAgKiAgICBgZmllbGRzZXRgIGVsZW1lbnRzIGluIGFsbCBicm93c2Vycy5cbiAgICAgICAgICAgICAgICAgKi9cbiAgICAgICAgICAgICAgICBsZWdlbmQ6IHtcbiAgICAgICAgICAgICAgICAgICAgYm94U2l6aW5nOiAnYm9yZGVyLWJveCcsXG4gICAgICAgICAgICAgICAgICAgIGNvbG9yOiAnaW5oZXJpdCcsXG4gICAgICAgICAgICAgICAgICAgIGRpc3BsYXk6ICd0YWJsZScsXG4gICAgICAgICAgICAgICAgICAgIG1heFdpZHRoOiAnMTAwJScsXG4gICAgICAgICAgICAgICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgICAgICAgICAgICAgIHdoaXRlU3BhY2U6ICdub3JtYWwnLFxuICAgICAgICAgICAgICAgIH0sXG5cbiAgICAgICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAgICAgKiBDb3JyZWN0IHRoZSBjdXJzb3Igc3R5bGUgb2YgaW5jcmVtZW50IGFuZCBkZWNyZW1lbnQgYnV0dG9ucyBpbiBDaHJvbWUuXG4gICAgICAgICAgICAgICAgICovXG4gICAgICAgICAgICAgICAgJ1t0eXBlPVwibnVtYmVyXCJdOjotd2Via2l0LWlubmVyLXNwaW4tYnV0dG9uLCBbdHlwZT1cIm51bWJlclwiXTo6LXdlYmtpdC1vdXRlci1zcGluLWJ1dHRvbic6IHtcbiAgICAgICAgICAgICAgICAgICAgaGVpZ2h0OiAnYXV0bycsXG4gICAgICAgICAgICAgICAgfSxcblxuICAgICAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICAgICAqIDEuIENvcnJlY3QgdGhlIG9kZCBhcHBlYXJhbmNlIGluIENocm9tZSBhbmQgU2FmYXJpLlxuICAgICAgICAgICAgICAgICAqIDIuIENvcnJlY3QgdGhlIG91dGxpbmUgc3R5bGUgaW4gU2FmYXJpLlxuICAgICAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgICAgICdbdHlwZT1cInNlYXJjaFwiXSc6IHtcbiAgICAgICAgICAgICAgICAgICAgV2Via2l0QXBwZWFyYW5jZTogJ3RleHRmaWVsZCcsXG4gICAgICAgICAgICAgICAgICAgIG91dGxpbmVPZmZzZXQ6ICctMnB4JyxcbiAgICAgICAgICAgICAgICB9LFxuXG4gICAgICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgICAgICogUmVtb3ZlIHRoZSBpbm5lciBwYWRkaW5nIGluIENocm9tZSBhbmQgU2FmYXJpIG9uIG1hY09TLlxuICAgICAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgICAgICdbdHlwZT1cInNlYXJjaFwiXTo6LXdlYmtpdC1zZWFyY2gtZGVjb3JhdGlvbic6IHtcbiAgICAgICAgICAgICAgICAgICAgV2Via2l0QXBwZWFyYW5jZTogJ25vbmUnLFxuICAgICAgICAgICAgICAgIH0sXG5cbiAgICAgICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAgICAgKiAxLiBDb3JyZWN0IHRoZSBpbmFiaWxpdHkgdG8gc3R5bGUgY2xpY2thYmxlIHR5cGVzIGluIGlPUyBhbmQgU2FmYXJpLlxuICAgICAgICAgICAgICAgICAqIDIuIENoYW5nZSBmb250IHByb3BlcnRpZXMgdG8gYGluaGVyaXRgIGluIFNhZmFyaS5cbiAgICAgICAgICAgICAgICAgKi9cbiAgICAgICAgICAgICAgICAnOjotd2Via2l0LWZpbGUtdXBsb2FkLWJ1dHRvbic6IHtcbiAgICAgICAgICAgICAgICAgICAgV2Via2l0QXBwZWFyYW5jZTogJ2J1dHRvbicsXG4gICAgICAgICAgICAgICAgICAgIGZvbnQ6ICdpbmhlcml0JyxcbiAgICAgICAgICAgICAgICB9LFxuXG4gICAgICAgICAgICAgICAgLypcbiAgICAgICAgICAgICAgICAgKiBBZGQgdGhlIGNvcnJlY3QgZGlzcGxheSBpbiBFZGdlLCBJRSAxMCssIGFuZCBGaXJlZm94LlxuICAgICAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgICAgIGRldGFpbHM6IHtcbiAgICAgICAgICAgICAgICAgICAgZGlzcGxheTogJ2Jsb2NrJyxcbiAgICAgICAgICAgICAgICB9LFxuXG4gICAgICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgICAgICogQWRkIHRoZSBjb3JyZWN0IGRpc3BsYXkgaW4gSUUgMTArLlxuICAgICAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgICAgIHRlbXBsYXRlOiB7XG4gICAgICAgICAgICAgICAgICAgIGRpc3BsYXk6ICdub25lJyxcbiAgICAgICAgICAgICAgICB9LFxuXG4gICAgICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgICAgICogQWRkIHRoZSBjb3JyZWN0IGRpc3BsYXkgaW4gSUUgMTArLlxuICAgICAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgICAgICdbaGlkZGVuXSc6IHtcbiAgICAgICAgICAgICAgICAgICAgZGlzcGxheTogJ25vbmUnLFxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB9LFxuICAgICAgICB9KTtcbiAgICB9O1xuIl19 */")};var uf={};Object.defineProperty(uf,"__esModule",{value:!0});var ww=uf.default=function(){};const cf=({cdnURL:e="/",scope:t,theme:r})=>{const[n,a]=Q.useState();return Q.useEffect(()=>{(async()=>{try{const i=r?.fontFaces??[];await Promise.all(i.map(async({family:o,source:s,descriptors:u})=>{const f=s.map(g=>`url(${g.replace("$cdnUrl",e)})`).join(", ");try{const c=await new FontFace(o,f,u).load();document.fonts.add(c)}catch(g){console.error(g)}})),a(r?.defaultFontFamily)}catch(i){st.logger.error({error:i},"Error loading fonts")}})()},[e,r]),Pt.css({[`.${t}`]:{fontFamily:n}})};var Xa={},Rw={get exports(){return Xa},set exports(e){Xa=e}},Cr={},Lw={get exports(){return Cr},set exports(e){Cr=e}},lf=function(t,r){return function(){for(var a=new Array(arguments.length),i=0;i<a.length;i++)a[i]=arguments[i];return t.apply(r,a)}},Tw=lf,rt=Object.prototype.toString;function Si(e){return Array.isArray(e)}function Ha(e){return typeof e>"u"}function Ew(e){return e!==null&&!Ha(e)&&e.constructor!==null&&!Ha(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function ff(e){return rt.call(e)==="[object ArrayBuffer]"}function $w(e){return rt.call(e)==="[object FormData]"}function Pw(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ff(e.buffer),t}function Fw(e){return typeof e=="string"}function Dw(e){return typeof e=="number"}function gf(e){return e!==null&&typeof e=="object"}function lr(e){if(rt.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function kw(e){return rt.call(e)==="[object Date]"}function Bw(e){return rt.call(e)==="[object File]"}function Ww(e){return rt.call(e)==="[object Blob]"}function pf(e){return rt.call(e)==="[object Function]"}function jw(e){return gf(e)&&pf(e.pipe)}function Nw(e){return rt.call(e)==="[object URLSearchParams]"}function Gw(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Xw(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function _i(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Si(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}function Ma(){var e={};function t(a,i){lr(e[i])&&lr(a)?e[i]=Ma(e[i],a):lr(a)?e[i]=Ma({},a):Si(a)?e[i]=a.slice():e[i]=a}for(var r=0,n=arguments.length;r<n;r++)_i(arguments[r],t);return e}function Hw(e,t,r){return _i(t,function(a,i){r&&typeof a=="function"?e[i]=Tw(a,r):e[i]=a}),e}function Mw(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}var de={isArray:Si,isArrayBuffer:ff,isBuffer:Ew,isFormData:$w,isArrayBufferView:Pw,isString:Fw,isNumber:Dw,isObject:gf,isPlainObject:lr,isUndefined:Ha,isDate:kw,isFile:Bw,isBlob:Ww,isFunction:pf,isStream:jw,isURLSearchParams:Nw,isStandardBrowserEnv:Xw,forEach:_i,merge:Ma,extend:Hw,trim:Gw,stripBOM:Mw},dt=de;function cu(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var df=function(t,r,n){if(!r)return t;var a;if(n)a=n(r);else if(dt.isURLSearchParams(r))a=r.toString();else{var i=[];dt.forEach(r,function(u,f){u===null||typeof u>"u"||(dt.isArray(u)?f=f+"[]":u=[u],dt.forEach(u,function(c){dt.isDate(c)?c=c.toISOString():dt.isObject(c)&&(c=JSON.stringify(c)),i.push(cu(f)+"="+cu(c))}))}),a=i.join("&")}if(a){var o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+a}return t},zw=de;function Xr(){this.handlers=[]}Xr.prototype.use=function(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1};Xr.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};Xr.prototype.forEach=function(t){zw.forEach(this.handlers,function(n){n!==null&&t(n)})};var Uw=Xr,Vw=de,Zw=function(t,r){Vw.forEach(t,function(a,i){i!==r&&i.toUpperCase()===r.toUpperCase()&&(t[r]=a,delete t[i])})},hf=function(t,r,n,a,i){return t.config=r,n&&(t.code=n),t.request=a,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t},yf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ga,lu;function vf(){if(lu)return ga;lu=1;var e=hf;return ga=function(r,n,a,i,o){var s=new Error(r);return e(s,n,a,i,o)},ga}var pa,fu;function qw(){if(fu)return pa;fu=1;var e=vf();return pa=function(r,n,a){var i=a.config.validateStatus;!a.status||!i||i(a.status)?r(a):n(e("Request failed with status code "+a.status,a.config,null,a.request,a))},pa}var da,gu;function Yw(){if(gu)return da;gu=1;var e=de;return da=e.isStandardBrowserEnv()?function(){return{write:function(n,a,i,o,s,u){var f=[];f.push(n+"="+encodeURIComponent(a)),e.isNumber(i)&&f.push("expires="+new Date(i).toGMTString()),e.isString(o)&&f.push("path="+o),e.isString(s)&&f.push("domain="+s),u===!0&&f.push("secure"),document.cookie=f.join("; ")},read:function(n){var a=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),da}var ha,pu;function Jw(){return pu||(pu=1,ha=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}),ha}var ya,du;function Kw(){return du||(du=1,ya=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}),ya}var va,hu;function Qw(){if(hu)return va;hu=1;var e=Jw(),t=Kw();return va=function(n,a){return n&&!e(a)?t(n,a):a},va}var Ca,yu;function eR(){if(yu)return Ca;yu=1;var e=de,t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return Ca=function(n){var a={},i,o,s;return n&&e.forEach(n.split(`
29
- `),function(f){if(s=f.indexOf(":"),i=e.trim(f.substr(0,s)).toLowerCase(),o=e.trim(f.substr(s+1)),i){if(a[i]&&t.indexOf(i)>=0)return;i==="set-cookie"?a[i]=(a[i]?a[i]:[]).concat([o]):a[i]=a[i]?a[i]+", "+o:o}}),a},Ca}var Aa,vu;function tR(){if(vu)return Aa;vu=1;var e=de;return Aa=e.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),a;function i(o){var s=o;return r&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return a=i(window.location.href),function(s){var u=e.isString(s)?i(s):s;return u.protocol===a.protocol&&u.host===a.host}}():function(){return function(){return!0}}(),Aa}var ba,Cu;function Hr(){if(Cu)return ba;Cu=1;function e(t){this.message=t}return e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,ba=e,ba}var ma,Au;function bu(){if(Au)return ma;Au=1;var e=de,t=qw(),r=Yw(),n=df,a=Qw(),i=eR(),o=tR(),s=vf(),u=yf,f=Hr();return ma=function(c){return new Promise(function(h,v){var m=c.data,b=c.headers,y=c.responseType,A;function x(){c.cancelToken&&c.cancelToken.unsubscribe(A),c.signal&&c.signal.removeEventListener("abort",A)}e.isFormData(m)&&delete b["Content-Type"];var I=new XMLHttpRequest;if(c.auth){var S=c.auth.username||"",D=c.auth.password?unescape(encodeURIComponent(c.auth.password)):"";b.Authorization="Basic "+btoa(S+":"+D)}var $=a(c.baseURL,c.url);I.open(c.method.toUpperCase(),n($,c.params,c.paramsSerializer),!0),I.timeout=c.timeout;function N(){if(I){var W="getAllResponseHeaders"in I?i(I.getAllResponseHeaders()):null,F=!y||y==="text"||y==="json"?I.responseText:I.response,q={data:F,status:I.status,statusText:I.statusText,headers:W,config:c,request:I};t(function(ee){h(ee),x()},function(ee){v(ee),x()},q),I=null}}if("onloadend"in I?I.onloadend=N:I.onreadystatechange=function(){!I||I.readyState!==4||I.status===0&&!(I.responseURL&&I.responseURL.indexOf("file:")===0)||setTimeout(N)},I.onabort=function(){I&&(v(s("Request aborted",c,"ECONNABORTED",I)),I=null)},I.onerror=function(){v(s("Network Error",c,null,I)),I=null},I.ontimeout=function(){var F=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",q=c.transitional||u;c.timeoutErrorMessage&&(F=c.timeoutErrorMessage),v(s(F,c,q.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",I)),I=null},e.isStandardBrowserEnv()){var ne=(c.withCredentials||o($))&&c.xsrfCookieName?r.read(c.xsrfCookieName):void 0;ne&&(b[c.xsrfHeaderName]=ne)}"setRequestHeader"in I&&e.forEach(b,function(F,q){typeof m>"u"&&q.toLowerCase()==="content-type"?delete b[q]:I.setRequestHeader(q,F)}),e.isUndefined(c.withCredentials)||(I.withCredentials=!!c.withCredentials),y&&y!=="json"&&(I.responseType=c.responseType),typeof c.onDownloadProgress=="function"&&I.addEventListener("progress",c.onDownloadProgress),typeof c.onUploadProgress=="function"&&I.upload&&I.upload.addEventListener("progress",c.onUploadProgress),(c.cancelToken||c.signal)&&(A=function(W){I&&(v(!W||W&&W.type?new f("canceled"):W),I.abort(),I=null)},c.cancelToken&&c.cancelToken.subscribe(A),c.signal&&(c.signal.aborted?A():c.signal.addEventListener("abort",A))),m||(m=null),I.send(m)})},ma}var se=de,mu=Zw,rR=hf,nR=yf,aR={"Content-Type":"application/x-www-form-urlencoded"};function Iu(e,t){!se.isUndefined(e)&&se.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function iR(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=bu()),e}function oR(e,t,r){if(se.isString(e))try{return(t||JSON.parse)(e),se.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}var Mr={transitional:nR,adapter:iR(),transformRequest:[function(t,r){return mu(r,"Accept"),mu(r,"Content-Type"),se.isFormData(t)||se.isArrayBuffer(t)||se.isBuffer(t)||se.isStream(t)||se.isFile(t)||se.isBlob(t)?t:se.isArrayBufferView(t)?t.buffer:se.isURLSearchParams(t)?(Iu(r,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):se.isObject(t)||r&&r["Content-Type"]==="application/json"?(Iu(r,"application/json"),oR(t)):t}],transformResponse:[function(t){var r=this.transitional||Mr.transitional,n=r&&r.silentJSONParsing,a=r&&r.forcedJSONParsing,i=!n&&this.responseType==="json";if(i||a&&se.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(i)throw o.name==="SyntaxError"?rR(o,this,"E_JSON_PARSE"):o}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};se.forEach(["delete","get","head"],function(t){Mr.headers[t]={}});se.forEach(["post","put","patch"],function(t){Mr.headers[t]=se.merge(aR)});var xi=Mr,sR=de,uR=xi,cR=function(t,r,n){var a=this||uR;return sR.forEach(n,function(o){t=o.call(a,t,r)}),t},Ia,Su;function Cf(){return Su||(Su=1,Ia=function(t){return!!(t&&t.__CANCEL__)}),Ia}var _u=de,Sa=cR,lR=Cf(),fR=xi,gR=Hr();function _a(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gR("canceled")}var pR=function(t){_a(t),t.headers=t.headers||{},t.data=Sa.call(t,t.data,t.headers,t.transformRequest),t.headers=_u.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),_u.forEach(["delete","get","head","post","put","patch","common"],function(a){delete t.headers[a]});var r=t.adapter||fR.adapter;return r(t).then(function(a){return _a(t),a.data=Sa.call(t,a.data,a.headers,t.transformResponse),a},function(a){return lR(a)||(_a(t),a&&a.response&&(a.response.data=Sa.call(t,a.response.data,a.response.headers,t.transformResponse))),Promise.reject(a)})},ye=de,Af=function(t,r){r=r||{};var n={};function a(g,c){return ye.isPlainObject(g)&&ye.isPlainObject(c)?ye.merge(g,c):ye.isPlainObject(c)?ye.merge({},c):ye.isArray(c)?c.slice():c}function i(g){if(ye.isUndefined(r[g])){if(!ye.isUndefined(t[g]))return a(void 0,t[g])}else return a(t[g],r[g])}function o(g){if(!ye.isUndefined(r[g]))return a(void 0,r[g])}function s(g){if(ye.isUndefined(r[g])){if(!ye.isUndefined(t[g]))return a(void 0,t[g])}else return a(void 0,r[g])}function u(g){if(g in r)return a(t[g],r[g]);if(g in t)return a(void 0,t[g])}var f={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u};return ye.forEach(Object.keys(t).concat(Object.keys(r)),function(c){var d=f[c]||i,h=d(c);ye.isUndefined(h)&&d!==u||(n[c]=h)}),n},xa,xu;function bf(){return xu||(xu=1,xa={version:"0.26.1"}),xa}var dR=bf().version,Oi={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Oi[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var Ou={};Oi.transitional=function(t,r,n){function a(i,o){return"[Axios v"+dR+"] Transitional option '"+i+"'"+o+(n?". "+n:"")}return function(i,o,s){if(t===!1)throw new Error(a(o," has been removed"+(r?" in "+r:"")));return r&&!Ou[o]&&(Ou[o]=!0,console.warn(a(o," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,o,s):!0}};function hR(e,t,r){if(typeof e!="object")throw new TypeError("options must be an object");for(var n=Object.keys(e),a=n.length;a-- >0;){var i=n[a],o=t[i];if(o){var s=e[i],u=s===void 0||o(s,i,e);if(u!==!0)throw new TypeError("option "+i+" must be "+u);continue}if(r!==!0)throw Error("Unknown option "+i)}}var yR={assertOptions:hR,validators:Oi},mf=de,vR=df,wu=Uw,Ru=pR,zr=Af,If=yR,ht=If.validators;function Ut(e){this.defaults=e,this.interceptors={request:new wu,response:new wu}}Ut.prototype.request=function(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=zr(this.defaults,r),r.method?r.method=r.method.toLowerCase():this.defaults.method?r.method=this.defaults.method.toLowerCase():r.method="get";var n=r.transitional;n!==void 0&&If.assertOptions(n,{silentJSONParsing:ht.transitional(ht.boolean),forcedJSONParsing:ht.transitional(ht.boolean),clarifyTimeoutError:ht.transitional(ht.boolean)},!1);var a=[],i=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(r)===!1||(i=i&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});var o=[];this.interceptors.response.forEach(function(h){o.push(h.fulfilled,h.rejected)});var s;if(!i){var u=[Ru,void 0];for(Array.prototype.unshift.apply(u,a),u=u.concat(o),s=Promise.resolve(r);u.length;)s=s.then(u.shift(),u.shift());return s}for(var f=r;a.length;){var g=a.shift(),c=a.shift();try{f=g(f)}catch(d){c(d);break}}try{s=Ru(f)}catch(d){return Promise.reject(d)}for(;o.length;)s=s.then(o.shift(),o.shift());return s};Ut.prototype.getUri=function(t){return t=zr(this.defaults,t),vR(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};mf.forEach(["delete","get","head","options"],function(t){Ut.prototype[t]=function(r,n){return this.request(zr(n||{},{method:t,url:r,data:(n||{}).data}))}});mf.forEach(["post","put","patch"],function(t){Ut.prototype[t]=function(r,n,a){return this.request(zr(a||{},{method:t,url:r,data:n}))}});var CR=Ut,Oa,Lu;function AR(){if(Lu)return Oa;Lu=1;var e=Hr();function t(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(o){n=o});var a=this;this.promise.then(function(i){if(a._listeners){var o,s=a._listeners.length;for(o=0;o<s;o++)a._listeners[o](i);a._listeners=null}}),this.promise.then=function(i){var o,s=new Promise(function(u){a.subscribe(u),o=u}).then(i);return s.cancel=function(){a.unsubscribe(o)},s},r(function(o){a.reason||(a.reason=new e(o),n(a.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]},t.prototype.unsubscribe=function(n){if(this._listeners){var a=this._listeners.indexOf(n);a!==-1&&this._listeners.splice(a,1)}},t.source=function(){var n,a=new t(function(o){n=o});return{token:a,cancel:n}},Oa=t,Oa}var wa,Tu;function bR(){return Tu||(Tu=1,wa=function(t){return function(n){return t.apply(null,n)}}),wa}var Ra,Eu;function mR(){if(Eu)return Ra;Eu=1;var e=de;return Ra=function(r){return e.isObject(r)&&r.isAxiosError===!0},Ra}var $u=de,IR=lf,fr=CR,SR=Af,_R=xi;function Sf(e){var t=new fr(e),r=IR(fr.prototype.request,t);return $u.extend(r,fr.prototype,t),$u.extend(r,t),r.create=function(a){return Sf(SR(e,a))},r}var Ne=Sf(_R);Ne.Axios=fr;Ne.Cancel=Hr();Ne.CancelToken=AR();Ne.isCancel=Cf();Ne.VERSION=bf().version;Ne.all=function(t){return Promise.all(t)};Ne.spread=bR();Ne.isAxiosError=mR();Lw.exports=Ne;Cr.default=Ne;(function(e){e.exports=Cr})(Rw);const za=_p(Xa),_f=({brandName:e,cdnURL:t="/"})=>{const[r,n]=Q.useState();return Q.useEffect(()=>{(async()=>{try{const a=await za.get("/brand/iconIndex.json",{baseURL:t});n(a.data)}catch(a){st.logger.error({error:a},`Error loading icon index for brand ${e}`)}})()},[e,t]),async a=>{if(r){const i=(r[a.toLowerCase()]||[]).includes(e)?e:wr.BrandName.FALLBACK;return(await za.get(`/brand/${i}/icons/${a.toLowerCase()}.svg`,{baseURL:t,responseType:"text"})).data}}},xf=({cdnURL:e="/",brandName:t})=>{const[r,n]=Q.useState();return Q.useEffect(()=>{(async()=>{try{const a=await za.get(`/brand/${t}/theme.json`,{baseURL:e}),i=new wr.Theme(a.data);n(i)}catch(a){st.logger.error({error:a},`Error loading theme for brand ${t}`)}})()},[t,e]),r},wi=Q.createContext(void 0),xR=({baseURL:e="https://api.shipengine.com",brandName:t=wr.BrandName.FALLBACK,cdnURL:r="/",children:n,getToken:a,onError:i,scope:o="lmnt"})=>{const s=xf({brandName:t,cdnURL:r}),u=cf({cdnURL:r,scope:o,theme:s}),f=_f({brandName:t,cdnURL:r});return s?(i=i??ww,ve(wi.Provider,{value:{baseURL:e,brandName:t,cdnURL:r,getToken:a,onError:i,scope:o,theme:s},children:Qp(Pt.ThemeProvider,{theme:s,children:[ve(Pt.Global,{styles:[Ow(o),u]}),ve(xw,{resolveIcon:f,children:ve(st.ShipEngine,{baseURL:e,getToken:a,children:n})})]})})):null},Of=()=>{const e=Q.useContext(wi);if(!e)throw new Error("useAlchemy must be called from within the scope of <Alchemy />");return e};class wf extends Ta.Component{constructor(t){super(t),this.state={error:void 0}}componentDidCatch(t,r){t.stack=r.componentStack,this.props.onError(t),st.logger.error({error:t},t.message),this.setState({error:t})}render(){const{fallback:t,children:r}=this.props,{error:n}=this.state;return n?ve("div",{role:"alert",children:ve(t,{error:n})}):r}}function Ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pu(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Kc(n.key),n)}}function $e(e,t,r){return t&&Pu(e.prototype,t),r&&Pu(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ua(e,t){return Ua=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Ua(e,t)}function Ur(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ua(e,t)}function Vt(e,t){if(t&&(Re(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return et(e)}function je(e){return je=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},je(e)}function OR(e){if(Array.isArray(e))return e}function wR(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Fu(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function RR(e,t){if(e){if(typeof e=="string")return Fu(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Fu(e,t)}}function LR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
30
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function TR(e){return OR(e)||wR(e)||RR(e)||LR()}function Du(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ku(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Du(Object(r),!0).forEach(function(n){te(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Du(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var ER={type:"logger",log:function(t){this.output("log",t)},warn:function(t){this.output("warn",t)},error:function(t){this.output("error",t)},output:function(t,r){console&&console[t]&&console[t].apply(console,r)}},$R=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Ee(this,e),this.init(t,r)}return $e(e,[{key:"init",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=r||ER,this.options=n,this.debug=n.debug}},{key:"setDebug",value:function(r){this.debug=r}},{key:"log",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return this.forward(n,"log","",!0)}},{key:"warn",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return this.forward(n,"warn","",!0)}},{key:"error",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return this.forward(n,"error","")}},{key:"deprecate",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(r,n,a,i){return i&&!this.debug?null:(typeof r[0]=="string"&&(r[0]="".concat(a).concat(this.prefix," ").concat(r[0])),this.logger[n](r))}},{key:"create",value:function(r){return new e(this.logger,ku(ku({},{prefix:"".concat(this.prefix,":").concat(r,":")}),this.options))}},{key:"clone",value:function(r){return r=r||this.options,r.prefix=r.prefix||this.prefix,new e(this.logger,r)}}]),e}(),Be=new $R,tt=function(){function e(){Ee(this,e),this.observers={}}return $e(e,[{key:"on",value:function(r,n){var a=this;return r.split(" ").forEach(function(i){a.observers[i]=a.observers[i]||[],a.observers[i].push(n)}),this}},{key:"off",value:function(r,n){if(this.observers[r]){if(!n){delete this.observers[r];return}this.observers[r]=this.observers[r].filter(function(a){return a!==n})}}},{key:"emit",value:function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];if(this.observers[r]){var o=[].concat(this.observers[r]);o.forEach(function(u){u.apply(void 0,a)})}if(this.observers["*"]){var s=[].concat(this.observers["*"]);s.forEach(function(u){u.apply(u,[r].concat(a))})}}}]),e}();function Tt(){var e,t,r=new Promise(function(n,a){e=n,t=a});return r.resolve=e,r.reject=t,r}function Bu(e){return e==null?"":""+e}function PR(e,t,r){e.forEach(function(n){t[n]&&(r[n]=t[n])})}function Ri(e,t,r){function n(s){return s&&s.indexOf("###")>-1?s.replace(/###/g,"."):s}function a(){return!e||typeof e=="string"}for(var i=typeof t!="string"?[].concat(t):t.split(".");i.length>1;){if(a())return{};var o=n(i.shift());!e[o]&&r&&(e[o]=new r),Object.prototype.hasOwnProperty.call(e,o)?e=e[o]:e={}}return a()?{}:{obj:e,k:n(i.shift())}}function Wu(e,t,r){var n=Ri(e,t,Object),a=n.obj,i=n.k;a[i]=r}function FR(e,t,r,n){var a=Ri(e,t,Object),i=a.obj,o=a.k;i[o]=i[o]||[],n&&(i[o]=i[o].concat(r)),n||i[o].push(r)}function Ar(e,t){var r=Ri(e,t),n=r.obj,a=r.k;if(n)return n[a]}function ju(e,t,r){var n=Ar(e,r);return n!==void 0?n:Ar(t,r)}function Rf(e,t,r){for(var n in t)n!=="__proto__"&&n!=="constructor"&&(n in e?typeof e[n]=="string"||e[n]instanceof String||typeof t[n]=="string"||t[n]instanceof String?r&&(e[n]=t[n]):Rf(e[n],t[n],r):e[n]=t[n]);return e}function yt(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var DR={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function kR(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return DR[t]}):e}var Vr=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,BR=[" ",",","?","!",";"];function WR(e,t,r){t=t||"",r=r||"";var n=BR.filter(function(s){return t.indexOf(s)<0&&r.indexOf(s)<0});if(n.length===0)return!0;var a=new RegExp("(".concat(n.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),i=!a.test(e);if(!i){var o=e.indexOf(r);o>0&&!a.test(e.substring(0,o))&&(i=!0)}return i}function Nu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ar(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Nu(Object(r),!0).forEach(function(n){te(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nu(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function jR(e){var t=NR();return function(){var n=je(e),a;if(t){var i=je(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Vt(this,a)}}function NR(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Lf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var n=t.split(r),a=e,i=0;i<n.length;++i){if(!a||typeof a[n[i]]=="string"&&i+1<n.length)return;if(a[n[i]]===void 0){for(var o=2,s=n.slice(i,i+o).join(r),u=a[s];u===void 0&&n.length>i+o;)o++,s=n.slice(i,i+o).join(r),u=a[s];if(u===void 0)return;if(u===null)return null;if(t.endsWith(s)){if(typeof u=="string")return u;if(s&&typeof u[s]=="string")return u[s]}var f=n.slice(i+o).join(r);return f?Lf(u,f,r):void 0}a=a[n[i]]}return a}}var GR=function(e){Ur(r,e);var t=jR(r);function r(n){var a,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return Ee(this,r),a=t.call(this),Vr&&tt.call(et(a)),a.data=n||{},a.options=i,a.options.keySeparator===void 0&&(a.options.keySeparator="."),a.options.ignoreJSONStructure===void 0&&(a.options.ignoreJSONStructure=!0),a}return $e(r,[{key:"addNamespaces",value:function(a){this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}},{key:"removeNamespaces",value:function(a){var i=this.options.ns.indexOf(a);i>-1&&this.options.ns.splice(i,1)}},{key:"getResource",value:function(a,i,o){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},u=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,f=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,g=[a,i];o&&typeof o!="string"&&(g=g.concat(o)),o&&typeof o=="string"&&(g=g.concat(u?o.split(u):o)),a.indexOf(".")>-1&&(g=a.split("."));var c=Ar(this.data,g);return c||!f||typeof o!="string"?c:Lf(this.data&&this.data[a]&&this.data[a][i],o,u)}},{key:"addResource",value:function(a,i,o,s){var u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},f=this.options.keySeparator;f===void 0&&(f=".");var g=[a,i];o&&(g=g.concat(f?o.split(f):o)),a.indexOf(".")>-1&&(g=a.split("."),s=i,i=g[1]),this.addNamespaces(i),Wu(this.data,g,s),u.silent||this.emit("added",a,i,o,s)}},{key:"addResources",value:function(a,i,o){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var u in o)(typeof o[u]=="string"||Object.prototype.toString.apply(o[u])==="[object Array]")&&this.addResource(a,i,u,o[u],{silent:!0});s.silent||this.emit("added",a,i,o)}},{key:"addResourceBundle",value:function(a,i,o,s,u){var f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},g=[a,i];a.indexOf(".")>-1&&(g=a.split("."),s=o,o=i,i=g[1]),this.addNamespaces(i);var c=Ar(this.data,g)||{};s?Rf(c,o,u):c=ar(ar({},c),o),Wu(this.data,g,c),f.silent||this.emit("added",a,i,o)}},{key:"removeResourceBundle",value:function(a,i){this.hasResourceBundle(a,i)&&delete this.data[a][i],this.removeNamespaces(i),this.emit("removed",a,i)}},{key:"hasResourceBundle",value:function(a,i){return this.getResource(a,i)!==void 0}},{key:"getResourceBundle",value:function(a,i){return i||(i=this.options.defaultNS),this.options.compatibilityAPI==="v1"?ar(ar({},{}),this.getResource(a,i)):this.getResource(a,i)}},{key:"getDataByLanguage",value:function(a){return this.data[a]}},{key:"hasLanguageSomeTranslations",value:function(a){var i=this.getDataByLanguage(a),o=i&&Object.keys(i)||[];return!!o.find(function(s){return i[s]&&Object.keys(i[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),r}(tt),Tf={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,r,n,a,i){var o=this;return t.forEach(function(s){o.processors[s]&&(r=o.processors[s].process(r,n,a,i))}),r}};function Gu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function le(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Gu(Object(r),!0).forEach(function(n){te(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gu(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function XR(e){var t=HR();return function(){var n=je(e),a;if(t){var i=je(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Vt(this,a)}}function HR(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var Xu={},Hu=function(e){Ur(r,e);var t=XR(r);function r(n){var a,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Ee(this,r),a=t.call(this),Vr&&tt.call(et(a)),PR(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],n,et(a)),a.options=i,a.options.keySeparator===void 0&&(a.options.keySeparator="."),a.logger=Be.create("translator"),a}return $e(r,[{key:"changeLanguage",value:function(a){a&&(this.language=a)}},{key:"exists",value:function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(a==null)return!1;var o=this.resolve(a,i);return o&&o.res!==void 0}},{key:"extractFromKey",value:function(a,i){var o=i.nsSeparator!==void 0?i.nsSeparator:this.options.nsSeparator;o===void 0&&(o=":");var s=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,u=i.ns||this.options.defaultNS||[],f=o&&a.indexOf(o)>-1,g=!this.options.userDefinedKeySeparator&&!i.keySeparator&&!this.options.userDefinedNsSeparator&&!i.nsSeparator&&!WR(a,o,s);if(f&&!g){var c=a.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:a,namespaces:u};var d=a.split(o);(o!==s||o===s&&this.options.ns.indexOf(d[0])>-1)&&(u=d.shift()),a=d.join(s)}return typeof u=="string"&&(u=[u]),{key:a,namespaces:u}}},{key:"translate",value:function(a,i,o){var s=this;if(Re(i)!=="object"&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),i||(i={}),a==null)return"";Array.isArray(a)||(a=[String(a)]);var u=i.returnDetails!==void 0?i.returnDetails:this.options.returnDetails,f=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,g=this.extractFromKey(a[a.length-1],i),c=g.key,d=g.namespaces,h=d[d.length-1],v=i.lng||this.language,m=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(v&&v.toLowerCase()==="cimode"){if(m){var b=i.nsSeparator||this.options.nsSeparator;return u?{res:"".concat(h).concat(b).concat(c),usedKey:c,exactUsedKey:c,usedLng:v,usedNS:h}:"".concat(h).concat(b).concat(c)}return u?{res:c,usedKey:c,exactUsedKey:c,usedLng:v,usedNS:h}:c}var y=this.resolve(a,i),A=y&&y.res,x=y&&y.usedKey||c,I=y&&y.exactUsedKey||c,S=Object.prototype.toString.apply(A),D=["[object Number]","[object Function]","[object RegExp]"],$=i.joinArrays!==void 0?i.joinArrays:this.options.joinArrays,N=!this.i18nFormat||this.i18nFormat.handleAsObject,ne=typeof A!="string"&&typeof A!="boolean"&&typeof A!="number";if(N&&A&&ne&&D.indexOf(S)<0&&!(typeof $=="string"&&S==="[object Array]")){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var W=this.options.returnedObjectHandler?this.options.returnedObjectHandler(x,A,le(le({},i),{},{ns:d})):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");return u?(y.res=W,y):W}if(f){var F=S==="[object Array]",q=F?[]:{},oe=F?I:x;for(var ee in A)if(Object.prototype.hasOwnProperty.call(A,ee)){var Ge="".concat(oe).concat(f).concat(ee);q[ee]=this.translate(Ge,le(le({},i),{joinArrays:!1,ns:d})),q[ee]===Ge&&(q[ee]=A[ee])}A=q}}else if(N&&typeof $=="string"&&S==="[object Array]")A=A.join($),A&&(A=this.extendTranslation(A,a,i,o));else{var Pe=!1,_e=!1,Fe=i.count!==void 0&&typeof i.count!="string",Xe=r.hasDefaultValue(i),Ye=Fe?this.pluralResolver.getSuffix(v,i.count,i):"",Ae=i["defaultValue".concat(Ye)]||i.defaultValue;!this.isValidLookup(A)&&Xe&&(Pe=!0,A=Ae),this.isValidLookup(A)||(_e=!0,A=c);var Je=i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,k=Je&&_e?void 0:A,ue=Xe&&Ae!==A&&this.options.updateMissing;if(_e||Pe||ue){if(this.logger.log(ue?"updateKey":"missingKey",v,h,c,ue?Ae:A),f){var E=this.resolve(c,le(le({},i),{},{keySeparator:!1}));E&&E.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var _=[],w=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo==="fallback"&&w&&w[0])for(var P=0;P<w.length;P++)_.push(w[P]);else this.options.saveMissingTo==="all"?_=this.languageUtils.toResolveHierarchy(i.lng||this.language):_.push(i.lng||this.language);var B=function(K,O,ae){var be=Xe&&ae!==A?ae:k;s.options.missingKeyHandler?s.options.missingKeyHandler(K,h,O,be,ue,i):s.backendConnector&&s.backendConnector.saveMissing&&s.backendConnector.saveMissing(K,h,O,be,ue,i),s.emit("missingKey",K,h,O,A)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Fe?_.forEach(function(V){s.pluralResolver.getSuffixes(V,i).forEach(function(K){B([V],c+K,i["defaultValue".concat(K)]||Ae)})}):B(_,c,Ae))}A=this.extendTranslation(A,a,i,y,o),_e&&A===c&&this.options.appendNamespaceToMissingKey&&(A="".concat(h,":").concat(c)),(_e||Pe)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?A=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(h,":").concat(c):c,Pe?A:void 0):A=this.options.parseMissingKeyHandler(A))}return u?(y.res=A,y):A}},{key:"extendTranslation",value:function(a,i,o,s,u){var f=this;if(this.i18nFormat&&this.i18nFormat.parse)a=this.i18nFormat.parse(a,le(le({},this.options.interpolation.defaultVariables),o),s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!o.skipInterpolation){o.interpolation&&this.interpolator.init(le(le({},o),{interpolation:le(le({},this.options.interpolation),o.interpolation)}));var g=typeof a=="string"&&(o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),c;if(g){var d=a.match(this.interpolator.nestingRegexp);c=d&&d.length}var h=o.replace&&typeof o.replace!="string"?o.replace:o;if(this.options.interpolation.defaultVariables&&(h=le(le({},this.options.interpolation.defaultVariables),h)),a=this.interpolator.interpolate(a,h,o.lng||this.language,o),g){var v=a.match(this.interpolator.nestingRegexp),m=v&&v.length;c<m&&(o.nest=!1)}o.nest!==!1&&(a=this.interpolator.nest(a,function(){for(var A=arguments.length,x=new Array(A),I=0;I<A;I++)x[I]=arguments[I];return u&&u[0]===x[0]&&!o.context?(f.logger.warn("It seems you are nesting recursively key: ".concat(x[0]," in key: ").concat(i[0])),null):f.translate.apply(f,x.concat([i]))},o)),o.interpolation&&this.interpolator.reset()}var b=o.postProcess||this.options.postProcess,y=typeof b=="string"?[b]:b;return a!=null&&y&&y.length&&o.applyPostProcessor!==!1&&(a=Tf.handle(y,a,i,this.options&&this.options.postProcessPassResolved?le({i18nResolved:s},o):o,this)),a}},{key:"resolve",value:function(a){var i=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,u,f,g,c;return typeof a=="string"&&(a=[a]),a.forEach(function(d){if(!i.isValidLookup(s)){var h=i.extractFromKey(d,o),v=h.key;u=v;var m=h.namespaces;i.options.fallbackNS&&(m=m.concat(i.options.fallbackNS));var b=o.count!==void 0&&typeof o.count!="string",y=b&&!o.ordinal&&o.count===0&&i.pluralResolver.shouldUseIntlApi(),A=o.context!==void 0&&(typeof o.context=="string"||typeof o.context=="number")&&o.context!=="",x=o.lngs?o.lngs:i.languageUtils.toResolveHierarchy(o.lng||i.language,o.fallbackLng);m.forEach(function(I){i.isValidLookup(s)||(c=I,!Xu["".concat(x[0],"-").concat(I)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(c)&&(Xu["".concat(x[0],"-").concat(I)]=!0,i.logger.warn('key "'.concat(u,'" for languages "').concat(x.join(", "),`" won't get resolved as namespace "`).concat(c,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),x.forEach(function(S){if(!i.isValidLookup(s)){g=S;var D=[v];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(D,v,S,I,o);else{var $;b&&($=i.pluralResolver.getSuffix(S,o.count,o));var N="".concat(i.options.pluralSeparator,"zero");if(b&&(D.push(v+$),y&&D.push(v+N)),A){var ne="".concat(v).concat(i.options.contextSeparator).concat(o.context);D.push(ne),b&&(D.push(ne+$),y&&D.push(ne+N))}}for(var W;W=D.pop();)i.isValidLookup(s)||(f=W,s=i.getResource(S,I,W,o))}}))})}}),{res:s,usedKey:u,exactUsedKey:f,usedLng:g,usedNS:c}}},{key:"isValidLookup",value:function(a){return a!==void 0&&!(!this.options.returnNull&&a===null)&&!(!this.options.returnEmptyString&&a==="")}},{key:"getResource",value:function(a,i,o){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(a,i,o,s):this.resourceStore.getResource(a,i,o,s)}}],[{key:"hasDefaultValue",value:function(a){var i="defaultValue";for(var o in a)if(Object.prototype.hasOwnProperty.call(a,o)&&i===o.substring(0,i.length)&&a[o]!==void 0)return!0;return!1}}]),r}(tt);function La(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Mu=function(){function e(t){Ee(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Be.create("languageUtils")}return $e(e,[{key:"getScriptPartFromCode",value:function(r){if(!r||r.indexOf("-")<0)return null;var n=r.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}},{key:"getLanguagePartFromCode",value:function(r){if(!r||r.indexOf("-")<0)return r;var n=r.split("-");return this.formatLanguageCode(n[0])}},{key:"formatLanguageCode",value:function(r){if(typeof r=="string"&&r.indexOf("-")>-1){var n=["hans","hant","latn","cyrl","cans","mong","arab"],a=r.split("-");return this.options.lowerCaseLng?a=a.map(function(i){return i.toLowerCase()}):a.length===2?(a[0]=a[0].toLowerCase(),a[1]=a[1].toUpperCase(),n.indexOf(a[1].toLowerCase())>-1&&(a[1]=La(a[1].toLowerCase()))):a.length===3&&(a[0]=a[0].toLowerCase(),a[1].length===2&&(a[1]=a[1].toUpperCase()),a[0]!=="sgn"&&a[2].length===2&&(a[2]=a[2].toUpperCase()),n.indexOf(a[1].toLowerCase())>-1&&(a[1]=La(a[1].toLowerCase())),n.indexOf(a[2].toLowerCase())>-1&&(a[2]=La(a[2].toLowerCase()))),a.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?r.toLowerCase():r}},{key:"isSupportedCode",value:function(r){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(r=this.getLanguagePartFromCode(r)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(r)>-1}},{key:"getBestMatchFromCodes",value:function(r){var n=this;if(!r)return null;var a;return r.forEach(function(i){if(!a){var o=n.formatLanguageCode(i);(!n.options.supportedLngs||n.isSupportedCode(o))&&(a=o)}}),!a&&this.options.supportedLngs&&r.forEach(function(i){if(!a){var o=n.getLanguagePartFromCode(i);if(n.isSupportedCode(o))return a=o;a=n.options.supportedLngs.find(function(s){if(s.indexOf(o)===0)return s})}}),a||(a=this.getFallbackCodes(this.options.fallbackLng)[0]),a}},{key:"getFallbackCodes",value:function(r,n){if(!r)return[];if(typeof r=="function"&&(r=r(n)),typeof r=="string"&&(r=[r]),Object.prototype.toString.apply(r)==="[object Array]")return r;if(!n)return r.default||[];var a=r[n];return a||(a=r[this.getScriptPartFromCode(n)]),a||(a=r[this.formatLanguageCode(n)]),a||(a=r[this.getLanguagePartFromCode(n)]),a||(a=r.default),a||[]}},{key:"toResolveHierarchy",value:function(r,n){var a=this,i=this.getFallbackCodes(n||this.options.fallbackLng||[],r),o=[],s=function(f){f&&(a.isSupportedCode(f)?o.push(f):a.logger.warn("rejecting language code not found in supportedLngs: ".concat(f)))};return typeof r=="string"&&r.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(r)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(r)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(r))):typeof r=="string"&&s(this.formatLanguageCode(r)),i.forEach(function(u){o.indexOf(u)<0&&s(a.formatLanguageCode(u))}),o}}]),e}(),MR=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],zR={1:function(t){return Number(t>1)},2:function(t){return Number(t!=1)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(t==1?0:t>=2&&t<=4?1:2)},7:function(t){return Number(t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(t==1?0:t==2?1:t!=8&&t!=11?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(t==1?0:t==2?1:t<7?2:t<11?3:4)},11:function(t){return Number(t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(t!==0)},14:function(t){return Number(t==1?0:t==2?1:t==3?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:t!==0?1:2)},17:function(t){return Number(t==1||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(t==0?0:t==1?1:2)},19:function(t){return Number(t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(t==1?0:t==0||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3)}},UR=["v1","v2","v3"],zu={zero:0,one:1,two:2,few:3,many:4,other:5};function VR(){var e={};return MR.forEach(function(t){t.lngs.forEach(function(r){e[r]={numbers:t.nr,plurals:zR[t.fc]}})}),e}var ZR=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Ee(this,e),this.languageUtils=t,this.options=r,this.logger=Be.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=VR()}return $e(e,[{key:"addRule",value:function(r,n){this.rules[r]=n}},{key:"getRule",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(r,{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[r]||this.rules[this.languageUtils.getLanguagePartFromCode(r)]}},{key:"needsPlural",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=this.getRule(r,n);return this.shouldUseIntlApi()?a&&a.resolvedOptions().pluralCategories.length>1:a&&a.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(r,a).map(function(i){return"".concat(n).concat(i)})}},{key:"getSuffixes",value:function(r){var n=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(r,a);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort(function(o,s){return zu[o]-zu[s]}).map(function(o){return"".concat(n.options.prepend).concat(o)}):i.numbers.map(function(o){return n.getSuffix(r,o,a)}):[]}},{key:"getSuffix",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=this.getRule(r,a);return i?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(i.select(n)):this.getSuffixRetroCompatible(i,n):(this.logger.warn("no plural rule found for: ".concat(r)),"")}},{key:"getSuffixRetroCompatible",value:function(r,n){var a=this,i=r.noAbs?r.plurals(n):r.plurals(Math.abs(n)),o=r.numbers[i];this.options.simplifyPluralSuffix&&r.numbers.length===2&&r.numbers[0]===1&&(o===2?o="plural":o===1&&(o=""));var s=function(){return a.options.prepend&&o.toString()?a.options.prepend+o.toString():o.toString()};return this.options.compatibilityJSON==="v1"?o===1?"":typeof o=="number"?"_plural_".concat(o.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&r.numbers.length===2&&r.numbers[0]===1?s():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}},{key:"shouldUseIntlApi",value:function(){return!UR.includes(this.options.compatibilityJSON)}}]),e}();function Uu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function xe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Uu(Object(r),!0).forEach(function(n){te(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Uu(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var qR=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ee(this,e),this.logger=Be.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(r){return r},this.init(t)}return $e(e,[{key:"init",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r.interpolation||(r.interpolation={escapeValue:!0});var n=r.interpolation;this.escape=n.escape!==void 0?n.escape:kR,this.escapeValue=n.escapeValue!==void 0?n.escapeValue:!0,this.useRawValueToEscape=n.useRawValueToEscape!==void 0?n.useRawValueToEscape:!1,this.prefix=n.prefix?yt(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?yt(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?yt(n.nestingPrefix):n.nestingPrefixEscaped||yt("$t("),this.nestingSuffix=n.nestingSuffix?yt(n.nestingSuffix):n.nestingSuffixEscaped||yt(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0?n.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var r="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(r,"g");var n="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(n,"g");var a="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(a,"g")}},{key:"interpolate",value:function(r,n,a,i){var o=this,s,u,f,g=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(b){return b.replace(/\$/g,"$$$$")}var d=function(y){if(y.indexOf(o.formatSeparator)<0){var A=ju(n,g,y);return o.alwaysFormat?o.format(A,void 0,a,xe(xe(xe({},i),n),{},{interpolationkey:y})):A}var x=y.split(o.formatSeparator),I=x.shift().trim(),S=x.join(o.formatSeparator).trim();return o.format(ju(n,g,I),S,a,xe(xe(xe({},i),n),{},{interpolationkey:I}))};this.resetRegExp();var h=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,v=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,m=[{regex:this.regexpUnescape,safeValue:function(y){return c(y)}},{regex:this.regexp,safeValue:function(y){return o.escapeValue?c(o.escape(y)):c(y)}}];return m.forEach(function(b){for(f=0;s=b.regex.exec(r);){var y=s[1].trim();if(u=d(y),u===void 0)if(typeof h=="function"){var A=h(r,s,i);u=typeof A=="string"?A:""}else if(i&&Object.prototype.hasOwnProperty.call(i,y))u="";else if(v){u=s[0];continue}else o.logger.warn("missed to pass in variable ".concat(y," for interpolating ").concat(r)),u="";else typeof u!="string"&&!o.useRawValueToEscape&&(u=Bu(u));var x=b.safeValue(u);if(r=r.replace(s[0],x),v?(b.regex.lastIndex+=u.length,b.regex.lastIndex-=s[0].length):b.regex.lastIndex=0,f++,f>=o.maxReplaces)break}}),r}},{key:"nest",value:function(r,n){var a=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o,s,u;function f(h,v){var m=this.nestingOptionsSeparator;if(h.indexOf(m)<0)return h;var b=h.split(new RegExp("".concat(m,"[ ]*{"))),y="{".concat(b[1]);h=b[0],y=this.interpolate(y,u);var A=y.match(/'/g),x=y.match(/"/g);(A&&A.length%2===0&&!x||x.length%2!==0)&&(y=y.replace(/'/g,'"'));try{u=JSON.parse(y),v&&(u=xe(xe({},v),u))}catch(I){return this.logger.warn("failed parsing options string in nesting for key ".concat(h),I),"".concat(h).concat(m).concat(y)}return delete u.defaultValue,h}for(;o=this.nestingRegexp.exec(r);){var g=[];u=xe({},i),u=u.replace&&typeof u.replace!="string"?u.replace:u,u.applyPostProcessor=!1,delete u.defaultValue;var c=!1;if(o[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(o[1])){var d=o[1].split(this.formatSeparator).map(function(h){return h.trim()});o[1]=d.shift(),g=d,c=!0}if(s=n(f.call(this,o[1].trim(),u),u),s&&o[0]===r&&typeof s!="string")return s;typeof s!="string"&&(s=Bu(s)),s||(this.logger.warn("missed to resolve ".concat(o[1]," for nesting ").concat(r)),s=""),c&&(s=g.reduce(function(h,v){return a.format(h,v,i.lng,xe(xe({},i),{},{interpolationkey:o[1].trim()}))},s.trim())),r=r.replace(o[0],s),this.regexp.lastIndex=0}return r}}]),e}();function Vu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ze(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Vu(Object(r),!0).forEach(function(n){te(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vu(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function YR(e){var t=e.toLowerCase().trim(),r={};if(e.indexOf("(")>-1){var n=e.split("(");t=n[0].toLowerCase().trim();var a=n[1].substring(0,n[1].length-1);if(t==="currency"&&a.indexOf(":")<0)r.currency||(r.currency=a.trim());else if(t==="relativetime"&&a.indexOf(":")<0)r.range||(r.range=a.trim());else{var i=a.split(";");i.forEach(function(o){if(o){var s=o.split(":"),u=TR(s),f=u[0],g=u.slice(1),c=g.join(":").trim().replace(/^'+|'+$/g,"");r[f.trim()]||(r[f.trim()]=c),c==="false"&&(r[f.trim()]=!1),c==="true"&&(r[f.trim()]=!0),isNaN(c)||(r[f.trim()]=parseInt(c,10))}})}}return{formatName:t,formatOptions:r}}function vt(e){var t={};return function(n,a,i){var o=a+JSON.stringify(i),s=t[o];return s||(s=e(a,i),t[o]=s),s(n)}}var JR=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ee(this,e),this.logger=Be.create("formatter"),this.options=t,this.formats={number:vt(function(r,n){var a=new Intl.NumberFormat(r,ze({},n));return function(i){return a.format(i)}}),currency:vt(function(r,n){var a=new Intl.NumberFormat(r,ze(ze({},n),{},{style:"currency"}));return function(i){return a.format(i)}}),datetime:vt(function(r,n){var a=new Intl.DateTimeFormat(r,ze({},n));return function(i){return a.format(i)}}),relativetime:vt(function(r,n){var a=new Intl.RelativeTimeFormat(r,ze({},n));return function(i){return a.format(i,n.range||"day")}}),list:vt(function(r,n){var a=new Intl.ListFormat(r,ze({},n));return function(i){return a.format(i)}})},this.init(t)}return $e(e,[{key:"init",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},a=n.interpolation;this.formatSeparator=a.formatSeparator?a.formatSeparator:a.formatSeparator||","}},{key:"add",value:function(r,n){this.formats[r.toLowerCase().trim()]=n}},{key:"addCached",value:function(r,n){this.formats[r.toLowerCase().trim()]=vt(n)}},{key:"format",value:function(r,n,a){var i=this,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=n.split(this.formatSeparator),u=s.reduce(function(f,g){var c=YR(g),d=c.formatName,h=c.formatOptions;if(i.formats[d]){var v=f;try{var m=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},b=m.locale||m.lng||o.locale||o.lng||a;v=i.formats[d](f,b,ze(ze(ze({},h),o),m))}catch(y){i.logger.warn(y)}return v}else i.logger.warn("there was no format function for ".concat(d));return f},r);return u}}]),e}();function Zu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function qu(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Zu(Object(r),!0).forEach(function(n){te(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zu(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function KR(e){var t=QR();return function(){var n=je(e),a;if(t){var i=je(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Vt(this,a)}}function QR(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function eL(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var tL=function(e){Ur(r,e);var t=KR(r);function r(n,a,i){var o,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return Ee(this,r),o=t.call(this),Vr&&tt.call(et(o)),o.backend=n,o.store=a,o.services=i,o.languageUtils=i.languageUtils,o.options=s,o.logger=Be.create("backendConnector"),o.waitingReads=[],o.maxParallelReads=s.maxParallelReads||10,o.readingCalls=0,o.maxRetries=s.maxRetries>=0?s.maxRetries:5,o.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(i,s.backend,s),o}return $e(r,[{key:"queueLoad",value:function(a,i,o,s){var u=this,f={},g={},c={},d={};return a.forEach(function(h){var v=!0;i.forEach(function(m){var b="".concat(h,"|").concat(m);!o.reload&&u.store.hasResourceBundle(h,m)?u.state[b]=2:u.state[b]<0||(u.state[b]===1?g[b]===void 0&&(g[b]=!0):(u.state[b]=1,v=!1,g[b]===void 0&&(g[b]=!0),f[b]===void 0&&(f[b]=!0),d[m]===void 0&&(d[m]=!0)))}),v||(c[h]=!0)}),(Object.keys(f).length||Object.keys(g).length)&&this.queue.push({pending:g,pendingCount:Object.keys(g).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(f),pending:Object.keys(g),toLoadLanguages:Object.keys(c),toLoadNamespaces:Object.keys(d)}}},{key:"loaded",value:function(a,i,o){var s=a.split("|"),u=s[0],f=s[1];i&&this.emit("failedLoading",u,f,i),o&&this.store.addResourceBundle(u,f,o),this.state[a]=i?-1:2;var g={};this.queue.forEach(function(c){FR(c.loaded,[u],f),eL(c,a),i&&c.errors.push(i),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(function(d){g[d]||(g[d]={});var h=c.loaded[d];h.length&&h.forEach(function(v){g[d][v]===void 0&&(g[d][v]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",g),this.queue=this.queue.filter(function(c){return!c.done})}},{key:"read",value:function(a,i,o){var s=this,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,f=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,g=arguments.length>5?arguments[5]:void 0;if(!a.length)return g(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:a,ns:i,fcName:o,tried:u,wait:f,callback:g});return}this.readingCalls++;var c=function(m,b){if(s.readingCalls--,s.waitingReads.length>0){var y=s.waitingReads.shift();s.read(y.lng,y.ns,y.fcName,y.tried,y.wait,y.callback)}if(m&&b&&u<s.maxRetries){setTimeout(function(){s.read.call(s,a,i,o,u+1,f*2,g)},f);return}g(m,b)},d=this.backend[o].bind(this.backend);if(d.length===2){try{var h=d(a,i);h&&typeof h.then=="function"?h.then(function(v){return c(null,v)}).catch(c):c(null,h)}catch(v){c(v)}return}return d(a,i,c)}},{key:"prepareLoading",value:function(a,i){var o=this,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),u&&u();typeof a=="string"&&(a=this.languageUtils.toResolveHierarchy(a)),typeof i=="string"&&(i=[i]);var f=this.queueLoad(a,i,s,u);if(!f.toLoad.length)return f.pending.length||u(),null;f.toLoad.forEach(function(g){o.loadOne(g)})}},{key:"load",value:function(a,i,o){this.prepareLoading(a,i,{},o)}},{key:"reload",value:function(a,i,o){this.prepareLoading(a,i,{reload:!0},o)}},{key:"loadOne",value:function(a){var i=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=a.split("|"),u=s[0],f=s[1];this.read(u,f,"read",void 0,void 0,function(g,c){g&&i.logger.warn("".concat(o,"loading namespace ").concat(f," for language ").concat(u," failed"),g),!g&&c&&i.logger.log("".concat(o,"loaded namespace ").concat(f," for language ").concat(u),c),i.loaded(a,g,c)})}},{key:"saveMissing",value:function(a,i,o,s,u){var f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},g=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(i)){this.logger.warn('did not save key "'.concat(o,'" as the namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(o==null||o==="")){if(this.backend&&this.backend.create){var c=qu(qu({},f),{},{isUpdate:u}),d=this.backend.create.bind(this.backend);if(d.length<6)try{var h;d.length===5?h=d(a,i,o,s,c):h=d(a,i,o,s),h&&typeof h.then=="function"?h.then(function(v){return g(null,v)}).catch(g):g(null,h)}catch(v){g(v)}else d(a,i,o,s,g,c)}!a||!a[0]||this.store.addResource(a[0],i,o,s)}}}]),r}(tt);function Yu(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var r={};if(Re(t[1])==="object"&&(r=t[1]),typeof t[1]=="string"&&(r.defaultValue=t[1]),typeof t[2]=="string"&&(r.tDescription=t[2]),Re(t[2])==="object"||Re(t[3])==="object"){var n=t[3]||t[2];Object.keys(n).forEach(function(a){r[a]=n[a]})}return r},interpolation:{escapeValue:!0,format:function(t,r,n,a){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Ju(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Ku(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function De(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ku(Object(r),!0).forEach(function(n){te(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ku(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function rL(e){var t=nL();return function(){var n=je(e),a;if(t){var i=je(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Vt(this,a)}}function nL(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ir(){}function aL(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(r){typeof e[r]=="function"&&(e[r]=e[r].bind(e))})}var br=function(e){Ur(r,e);var t=rL(r);function r(){var n,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(Ee(this,r),n=t.call(this),Vr&&tt.call(et(n)),n.options=Ju(a),n.services={},n.logger=Be,n.modules={external:[]},aL(et(n)),i&&!n.isInitialized&&!a.isClone){if(!n.options.initImmediate)return n.init(a,i),Vt(n,et(n));setTimeout(function(){n.init(a,i)},0)}return n}return $e(r,[{key:"init",value:function(){var a=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;typeof i=="function"&&(o=i,i={}),!i.defaultNS&&i.defaultNS!==!1&&i.ns&&(typeof i.ns=="string"?i.defaultNS=i.ns:i.ns.indexOf("translation")<0&&(i.defaultNS=i.ns[0]));var s=Yu();this.options=De(De(De({},s),this.options),Ju(i)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=De(De({},s.interpolation),this.options.interpolation)),i.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=i.keySeparator),i.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=i.nsSeparator);function u(y){return y?typeof y=="function"?new y:y:null}if(!this.options.isClone){this.modules.logger?Be.init(u(this.modules.logger),this.options):Be.init(null,this.options);var f;this.modules.formatter?f=this.modules.formatter:typeof Intl<"u"&&(f=JR);var g=new Mu(this.options);this.store=new GR(this.options.resources,this.options);var c=this.services;c.logger=Be,c.resourceStore=this.store,c.languageUtils=g,c.pluralResolver=new ZR(g,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),f&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(c.formatter=u(f),c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new qR(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new tL(u(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",function(y){for(var A=arguments.length,x=new Array(A>1?A-1:0),I=1;I<A;I++)x[I-1]=arguments[I];a.emit.apply(a,[y].concat(x))}),this.modules.languageDetector&&(c.languageDetector=u(this.modules.languageDetector),c.languageDetector.init&&c.languageDetector.init(c,this.options.detection,this.options)),this.modules.i18nFormat&&(c.i18nFormat=u(this.modules.i18nFormat),c.i18nFormat.init&&c.i18nFormat.init(this)),this.translator=new Hu(this.services,this.options),this.translator.on("*",function(y){for(var A=arguments.length,x=new Array(A>1?A-1:0),I=1;I<A;I++)x[I-1]=arguments[I];a.emit.apply(a,[y].concat(x))}),this.modules.external.forEach(function(y){y.init&&y.init(a)})}if(this.format=this.options.interpolation.format,o||(o=ir),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var h=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];h.forEach(function(y){a[y]=function(){var A;return(A=a.store)[y].apply(A,arguments)}});var v=["addResource","addResources","addResourceBundle","removeResourceBundle"];v.forEach(function(y){a[y]=function(){var A;return(A=a.store)[y].apply(A,arguments),a}});var m=Tt(),b=function(){var A=function(I,S){a.isInitialized&&!a.initializedStoreOnce&&a.logger.warn("init: i18next is already initialized. You should call init just once!"),a.isInitialized=!0,a.options.isClone||a.logger.log("initialized",a.options),a.emit("initialized",a.options),m.resolve(S),o(I,S)};if(a.languages&&a.options.compatibilityAPI!=="v1"&&!a.isInitialized)return A(null,a.t.bind(a));a.changeLanguage(a.options.lng,A)};return this.options.resources||!this.options.initImmediate?b():setTimeout(b,0),m}},{key:"loadResources",value:function(a){var i=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ir,s=o,u=typeof a=="string"?a:this.language;if(typeof a=="function"&&(s=a),!this.options.resources||this.options.partialBundledLanguages){if(u&&u.toLowerCase()==="cimode")return s();var f=[],g=function(h){if(h){var v=i.services.languageUtils.toResolveHierarchy(h);v.forEach(function(m){f.indexOf(m)<0&&f.push(m)})}};if(u)g(u);else{var c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.forEach(function(d){return g(d)})}this.options.preload&&this.options.preload.forEach(function(d){return g(d)}),this.services.backendConnector.load(f,this.options.ns,function(d){!d&&!i.resolvedLanguage&&i.language&&i.setResolvedLanguage(i.language),s(d)})}else s(null)}},{key:"reloadResources",value:function(a,i,o){var s=Tt();return a||(a=this.languages),i||(i=this.options.ns),o||(o=ir),this.services.backendConnector.reload(a,i,function(u){s.resolve(),o(u)}),s}},{key:"use",value:function(a){if(!a)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!a.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return a.type==="backend"&&(this.modules.backend=a),(a.type==="logger"||a.log&&a.warn&&a.error)&&(this.modules.logger=a),a.type==="languageDetector"&&(this.modules.languageDetector=a),a.type==="i18nFormat"&&(this.modules.i18nFormat=a),a.type==="postProcessor"&&Tf.addPostProcessor(a),a.type==="formatter"&&(this.modules.formatter=a),a.type==="3rdParty"&&this.modules.external.push(a),this}},{key:"setResolvedLanguage",value:function(a){if(!(!a||!this.languages)&&!(["cimode","dev"].indexOf(a)>-1))for(var i=0;i<this.languages.length;i++){var o=this.languages[i];if(!(["cimode","dev"].indexOf(o)>-1)&&this.store.hasLanguageSomeTranslations(o)){this.resolvedLanguage=o;break}}}},{key:"changeLanguage",value:function(a,i){var o=this;this.isLanguageChangingTo=a;var s=Tt();this.emit("languageChanging",a);var u=function(d){o.language=d,o.languages=o.services.languageUtils.toResolveHierarchy(d),o.resolvedLanguage=void 0,o.setResolvedLanguage(d)},f=function(d,h){h?(u(h),o.translator.changeLanguage(h),o.isLanguageChangingTo=void 0,o.emit("languageChanged",h),o.logger.log("languageChanged",h)):o.isLanguageChangingTo=void 0,s.resolve(function(){return o.t.apply(o,arguments)}),i&&i(d,function(){return o.t.apply(o,arguments)})},g=function(d){!a&&!d&&o.services.languageDetector&&(d=[]);var h=typeof d=="string"?d:o.services.languageUtils.getBestMatchFromCodes(d);h&&(o.language||u(h),o.translator.language||o.translator.changeLanguage(h),o.services.languageDetector&&o.services.languageDetector.cacheUserLanguage&&o.services.languageDetector.cacheUserLanguage(h)),o.loadResources(h,function(v){f(v,h)})};return!a&&this.services.languageDetector&&!this.services.languageDetector.async?g(this.services.languageDetector.detect()):!a&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(g):this.services.languageDetector.detect(g):g(a),s}},{key:"getFixedT",value:function(a,i,o){var s=this,u=function f(g,c){var d;if(Re(c)!=="object"){for(var h=arguments.length,v=new Array(h>2?h-2:0),m=2;m<h;m++)v[m-2]=arguments[m];d=s.options.overloadTranslationOptionHandler([g,c].concat(v))}else d=De({},c);d.lng=d.lng||f.lng,d.lngs=d.lngs||f.lngs,d.ns=d.ns||f.ns,d.keyPrefix=d.keyPrefix||o||f.keyPrefix;var b=s.options.keySeparator||".",y;return d.keyPrefix&&Array.isArray(g)?y=g.map(function(A){return"".concat(d.keyPrefix).concat(b).concat(A)}):y=d.keyPrefix?"".concat(d.keyPrefix).concat(b).concat(g):g,s.t(y,d)};return typeof a=="string"?u.lng=a:u.lngs=a,u.ns=i,u.keyPrefix=o,u}},{key:"t",value:function(){var a;return this.translator&&(a=this.translator).translate.apply(a,arguments)}},{key:"exists",value:function(){var a;return this.translator&&(a=this.translator).exists.apply(a,arguments)}},{key:"setDefaultNamespace",value:function(a){this.options.defaultNS=a}},{key:"hasLoadedNamespace",value:function(a){var i=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=this.resolvedLanguage||this.languages[0],u=this.options?this.options.fallbackLng:!1,f=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var g=function(h,v){var m=i.services.backendConnector.state["".concat(h,"|").concat(v)];return m===-1||m===2};if(o.precheck){var c=o.precheck(this,g);if(c!==void 0)return c}return!!(this.hasResourceBundle(s,a)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||g(s,a)&&(!u||g(f,a)))}},{key:"loadNamespaces",value:function(a,i){var o=this,s=Tt();return this.options.ns?(typeof a=="string"&&(a=[a]),a.forEach(function(u){o.options.ns.indexOf(u)<0&&o.options.ns.push(u)}),this.loadResources(function(u){s.resolve(),i&&i(u)}),s):(i&&i(),Promise.resolve())}},{key:"loadLanguages",value:function(a,i){var o=Tt();typeof a=="string"&&(a=[a]);var s=this.options.preload||[],u=a.filter(function(f){return s.indexOf(f)<0});return u.length?(this.options.preload=s.concat(u),this.loadResources(function(f){o.resolve(),i&&i(f)}),o):(i&&i(),Promise.resolve())}},{key:"dir",value:function(a){if(a||(a=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!a)return"rtl";var i=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],o=this.services&&this.services.languageUtils||new Mu(Yu());return i.indexOf(o.getLanguagePartFromCode(a))>-1||a.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var a=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ir,s=De(De(De({},this.options),i),{isClone:!0}),u=new r(s);(i.debug!==void 0||i.prefix!==void 0)&&(u.logger=u.logger.clone(i));var f=["store","services","language"];return f.forEach(function(g){u[g]=a[g]}),u.services=De({},this.services),u.services.utils={hasLoadedNamespace:u.hasLoadedNamespace.bind(u)},u.translator=new Hu(u.services,u.options),u.translator.on("*",function(g){for(var c=arguments.length,d=new Array(c>1?c-1:0),h=1;h<c;h++)d[h-1]=arguments[h];u.emit.apply(u,[g].concat(d))}),u.init(s,o),u.translator.options=u.options,u.translator.backendConnector.services.utils={hasLoadedNamespace:u.hasLoadedNamespace.bind(u)},u}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),r}(tt);te(br,"createInstance",function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new br(e,t)});var ce=br.createInstance();ce.createInstance=br.createInstance;ce.createInstance;ce.dir;ce.init;ce.loadResources;ce.reloadResources;ce.use;ce.changeLanguage;ce.getFixedT;ce.t;ce.exists;ce.setDefaultNamespace;ce.hasLoadedNamespace;ce.loadNamespaces;ce.loadLanguages;var Ef=[],iL=Ef.forEach,oL=Ef.slice;function sL(e){return iL.call(oL.call(arguments,1),function(t){if(t)for(var r in t)e[r]===void 0&&(e[r]=t[r])}),e}var Qu=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,uL=function(t,r,n){var a=n||{};a.path=a.path||"/";var i=encodeURIComponent(r),o="".concat(t,"=").concat(i);if(a.maxAge>0){var s=a.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");o+="; Max-Age=".concat(Math.floor(s))}if(a.domain){if(!Qu.test(a.domain))throw new TypeError("option domain is invalid");o+="; Domain=".concat(a.domain)}if(a.path){if(!Qu.test(a.path))throw new TypeError("option path is invalid");o+="; Path=".concat(a.path)}if(a.expires){if(typeof a.expires.toUTCString!="function")throw new TypeError("option expires is invalid");o+="; Expires=".concat(a.expires.toUTCString())}if(a.httpOnly&&(o+="; HttpOnly"),a.secure&&(o+="; Secure"),a.sameSite){var u=typeof a.sameSite=="string"?a.sameSite.toLowerCase():a.sameSite;switch(u){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return o},ec={create:function(t,r,n,a){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+n*60*1e3)),a&&(i.domain=a),document.cookie=uL(t,encodeURIComponent(r),i)},read:function(t){for(var r="".concat(t,"="),n=document.cookie.split(";"),a=0;a<n.length;a++){for(var i=n[a];i.charAt(0)===" ";)i=i.substring(1,i.length);if(i.indexOf(r)===0)return i.substring(r.length,i.length)}return null},remove:function(t){this.create(t,"",-1)}},cL={name:"cookie",lookup:function(t){var r;if(t.lookupCookie&&typeof document<"u"){var n=ec.read(t.lookupCookie);n&&(r=n)}return r},cacheUserLanguage:function(t,r){r.lookupCookie&&typeof document<"u"&&ec.create(r.lookupCookie,t,r.cookieMinutes,r.cookieDomain,r.cookieOptions)}},lL={name:"querystring",lookup:function(t){var r;if(typeof window<"u"){var n=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));for(var a=n.substring(1),i=a.split("&"),o=0;o<i.length;o++){var s=i[o].indexOf("=");if(s>0){var u=i[o].substring(0,s);u===t.lookupQuerystring&&(r=i[o].substring(s+1))}}}return r}},Et=null,tc=function(){if(Et!==null)return Et;try{Et=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{Et=!1}return Et},fL={name:"localStorage",lookup:function(t){var r;if(t.lookupLocalStorage&&tc()){var n=window.localStorage.getItem(t.lookupLocalStorage);n&&(r=n)}return r},cacheUserLanguage:function(t,r){r.lookupLocalStorage&&tc()&&window.localStorage.setItem(r.lookupLocalStorage,t)}},$t=null,rc=function(){if($t!==null)return $t;try{$t=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{$t=!1}return $t},gL={name:"sessionStorage",lookup:function(t){var r;if(t.lookupSessionStorage&&rc()){var n=window.sessionStorage.getItem(t.lookupSessionStorage);n&&(r=n)}return r},cacheUserLanguage:function(t,r){r.lookupSessionStorage&&rc()&&window.sessionStorage.setItem(r.lookupSessionStorage,t)}},pL={name:"navigator",lookup:function(t){var r=[];if(typeof navigator<"u"){if(navigator.languages)for(var n=0;n<navigator.languages.length;n++)r.push(navigator.languages[n]);navigator.userLanguage&&r.push(navigator.userLanguage),navigator.language&&r.push(navigator.language)}return r.length>0?r:void 0}},dL={name:"htmlTag",lookup:function(t){var r,n=t.htmlTag||(typeof document<"u"?document.documentElement:null);return n&&typeof n.getAttribute=="function"&&(r=n.getAttribute("lang")),r}},hL={name:"path",lookup:function(t){var r;if(typeof window<"u"){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof n[t.lookupFromPathIndex]!="string")return;r=n[t.lookupFromPathIndex].replace("/","")}else r=n[0].replace("/","")}return r}},yL={name:"subdomain",lookup:function(t){var r=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,n=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(n)return n[r]}};function vL(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var $f=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Ee(this,e),this.type="languageDetector",this.detectors={},this.init(t,r)}return $e(e,[{key:"init",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=r,this.options=sL(n,this.options||{},vL()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=a,this.addDetector(cL),this.addDetector(lL),this.addDetector(fL),this.addDetector(gL),this.addDetector(pL),this.addDetector(dL),this.addDetector(hL),this.addDetector(yL)}},{key:"addDetector",value:function(r){this.detectors[r.name]=r}},{key:"detect",value:function(r){var n=this;r||(r=this.options.order);var a=[];return r.forEach(function(i){if(n.detectors[i]){var o=n.detectors[i].lookup(n.options);o&&typeof o=="string"&&(o=[o]),o&&(a=a.concat(o))}}),this.services.languageUtils.getBestMatchFromCodes?a:a.length>0?a[0]:null}},{key:"cacheUserLanguage",value:function(r,n){var a=this;n||(n=this.options.caches),n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(r)>-1||n.forEach(function(i){a.detectors[i]&&a.detectors[i].cacheUserLanguage(r,a.options)}))}}]),e}();$f.type="languageDetector";const Pf=({resources:e})=>Q.useMemo(()=>ce.createInstance({defaultNS:"common",fallbackLng:"en",fallbackNS:"common",load:"languageOnly",ns:["common"],overloadTranslationOptionHandler:t=>({defaultValue:t[1]}),react:{useSuspense:!1},resources:e,supportedLngs:e?Object.keys(e):[]},t=>{if(t)return console.error(t)}).use($f),[e]),Ff=lc(e=>{const t=`.${e}`;return pc({key:"css",stylisPlugins:[n=>{n?.type==="rule"&&n?.value.startsWith(".css")&&(n.props=[n.props].flat().map(a=>a.includes(t)?a:`${t} ${a}`))},fp]})}),Df=({children:e,css:t,fallback:r,resources:n})=>{const{scope:a,onError:i}=Of(),o=Pf({resources:n});return ve("div",{className:a,css:t,"data-testid":a,children:ve(Pt.CacheProvider,{value:Ff(a),children:ve(Ug.I18nextProvider,{i18n:o,children:ve(wf,{fallback:r,onError:i,children:e})})})})},CL=(e,t)=>{if(!e)return;const r=e;return e&&t&&Object.entries(e).forEach(([n,a])=>{Object.keys(a).forEach(i=>{r[n][i]={...r[n][i],...t[n]?.[i]}})}),r},AL=(e,t,r)=>({resources:n,...a})=>ve(Df,{resources:CL(r?.resources,n),fallback:t,children:ve(e,{...a})}),bL={createElement:AL};exports.Alchemy=xR;exports.AlchemyContext=wi;exports.Element=Df;exports.ErrorBoundary=wf;exports.default=bL;exports.memoizedCreateCache=Ff;exports.useAlchemy=Of;exports.useI18n=Pf;exports.useLoadFonts=cf;exports.useLoadIcons=_f;exports.useLoadTheme=xf;Object.keys(st).forEach(e=>{e!=="default"&&!exports.hasOwnProperty(e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>st[e]})});
25
+ `+("css`"+u+"`"))}break}if(t==null)return r;var f=t[r];return f!==void 0?f:r}function mi(e,t,r){var a="";if(Array.isArray(r))for(var n=0;n<r.length;n++)a+=Me(e,t,r[n])+";";else for(var i in r){var o=r[i];if(typeof o!="object")t!=null&&t[o]!==void 0?a+=i+"{"+t[o]+"}":Sr(o)&&(a+=xt(i)+":"+at(i,o)+";");else{if(i==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(Un);if(Array.isArray(o)&&typeof o[0]=="string"&&(t==null||t[o[0]]===void 0))for(var s=0;s<o.length;s++)Sr(o[s])&&(a+=xt(i)+":"+at(i,o[s])+";");else{var u=Me(e,t,o);switch(i){case"animation":case"animationName":{a+=xt(i)+":"+u+";";break}default:process.env.NODE_ENV!=="production"&&i==="undefined"&&console.error(ci),a+=i+"{"+u+"}"}}}}return a}var xr=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Mn;process.env.NODE_ENV!=="production"&&(Mn=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var J,Er=function(t,r,a){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var n=!0,i="";J=void 0;var o=t[0];o==null||o.raw===void 0?(n=!1,i+=Me(a,r,o)):(process.env.NODE_ENV!=="production"&&o[0]===void 0&&console.error(wr),i+=o[0]);for(var s=1;s<t.length;s++)i+=Me(a,r,t[s]),n&&(process.env.NODE_ENV!=="production"&&o[s]===void 0&&console.error(wr),i+=o[s]);var u;process.env.NODE_ENV!=="production"&&(i=i.replace(Mn,function(d){return u=d,""})),xr.lastIndex=0;for(var f="",l;(l=xr.exec(i))!==null;)f+="-"+l[1];var c=si(i)+f;return process.env.NODE_ENV!=="production"?{name:c,styles:i,map:u,next:J,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:c,styles:i,next:J}},vi=function(t){return t()},yi=Vt["useInsertionEffect"]?Vt["useInsertionEffect"]:!1,bi=yi||vi,ht={}.hasOwnProperty,ar=T.createContext(typeof HTMLElement<"u"?jn({key:"css"}):null);process.env.NODE_ENV!=="production"&&(ar.displayName="EmotionCacheContext");ar.Provider;var wi=function(t){return T.forwardRef(function(r,a){var n=T.useContext(ar);return t(r,n,a)})},Bn=T.createContext({});process.env.NODE_ENV!=="production"&&(Bn.displayName="EmotionThemeContext");var Pr=function(t){var r=t.split(".");return r[r.length-1]},Si=function(t){var r=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(t);if(r||(r=/^([A-Za-z0-9$.]+)@/.exec(t),r))return Pr(r[1])},Oi=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),xi=function(t){return t.replace(/\$/g,"-")},Ei=function(t){if(t)for(var r=t.split(`
26
+ `),a=0;a<r.length;a++){var n=Si(r[a]);if(n){if(Oi.has(n))break;if(/^[A-Z]/.test(n))return xi(n)}}},Ht="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Kt="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Vn=function(t,r){if(process.env.NODE_ENV!=="production"&&typeof r.css=="string"&&r.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+r.css+"`");var a={};for(var n in r)ht.call(r,n)&&(a[n]=r[n]);if(a[Ht]=t,process.env.NODE_ENV!=="production"&&r.css&&(typeof r.css!="object"||typeof r.css.name!="string"||r.css.name.indexOf("-")===-1)){var i=Ei(new Error().stack);i&&(a[Kt]=i)}return a},Pi=function(t){var r=t.cache,a=t.serialized,n=t.isStringTag;return Dn(r,a,n),bi(function(){return oi(r,a,n)}),null},ir=wi(function(e,t,r){var a=e.css;typeof a=="string"&&t.registered[a]!==void 0&&(a=t.registered[a]);var n=e[Ht],i=[a],o="";typeof e.className=="string"?o=ii(t.registered,i,e.className):e.className!=null&&(o=e.className+" ");var s=Er(i,void 0,T.useContext(Bn));if(process.env.NODE_ENV!=="production"&&s.name.indexOf("-")===-1){var u=e[Kt];u&&(s=Er([s,"label:"+u+";"]))}o+=t.key+"-"+s.name;var f={};for(var l in e)ht.call(e,l)&&l!=="css"&&l!==Ht&&(process.env.NODE_ENV==="production"||l!==Kt)&&(f[l]=e[l]);return f.ref=r,f.className=o,T.createElement(T.Fragment,null,T.createElement(Pi,{cache:t,serialized:s,isStringTag:typeof n=="string"}),T.createElement(n,f))});process.env.NODE_ENV!=="production"&&(ir.displayName="EmotionCssPropInternal");function q(e,t,r){return ht.call(t,"css")?rt.jsx(ir,Vn(e,t),r):rt.jsx(e,t,r)}function Ci(e,t,r){return ht.call(t,"css")?rt.jsxs(ir,Vn(e,t),r):rt.jsxs(e,t,r)}var qn={};Object.defineProperty(qn,"__esModule",{value:!0});var Ri=qn.default=function(){},Cr=(e,t,r)=>new Promise((a,n)=>{var i=u=>{try{s(r.next(u))}catch(f){n(f)}},o=u=>{try{s(r.throw(u))}catch(f){n(f)}},s=u=>u.done?a(u.value):Promise.resolve(u.value).then(i,o);s((r=r.apply(e,t)).next())});const zn=({cdnURL:e="/",scope:t,theme:r})=>{const[a,n]=T.useState();return T.useEffect(()=>{Cr(void 0,null,function*(){var i;try{const o=(i=r?.fontFaces)!=null?i:[];yield Promise.all(o.map(s=>Cr(void 0,[s],function*({family:u,source:f,descriptors:l}){const c=f.map(d=>`url(${d.replace("$cdnUrl",e)})`).join(", ");try{const p=yield new FontFace(u,c,l).load();document.fonts.add(p)}catch(d){console.error(d)}}))),n(r?.defaultFontFamily)}catch(o){be.logger.error({error:o},"Error loading fonts")}})},[e,r]),nt.css({[`.${t}`]:{fontFamily:a}})};var Jt={},ki={get exports(){return Jt},set exports(e){Jt=e}},it={},Ni={get exports(){return it},set exports(e){it=e}},Hn=function(t,r){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return t.apply(r,n)}},Li=Hn,de=Object.prototype.toString;function or(e){return Array.isArray(e)}function Yt(e){return typeof e>"u"}function _i(e){return e!==null&&!Yt(e)&&e.constructor!==null&&!Yt(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Kn(e){return de.call(e)==="[object ArrayBuffer]"}function Ai(e){return de.call(e)==="[object FormData]"}function Ti(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Kn(e.buffer),t}function ji(e){return typeof e=="string"}function $i(e){return typeof e=="number"}function Jn(e){return e!==null&&typeof e=="object"}function et(e){if(de.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function Ii(e){return de.call(e)==="[object Date]"}function Di(e){return de.call(e)==="[object File]"}function Fi(e){return de.call(e)==="[object Blob]"}function Yn(e){return de.call(e)==="[object Function]"}function Ui(e){return Jn(e)&&Yn(e.pipe)}function Mi(e){return de.call(e)==="[object URLSearchParams]"}function Bi(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Vi(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function sr(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),or(e))for(var r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.call(null,e[n],n,e)}function Wt(){var e={};function t(n,i){et(e[i])&&et(n)?e[i]=Wt(e[i],n):et(n)?e[i]=Wt({},n):or(n)?e[i]=n.slice():e[i]=n}for(var r=0,a=arguments.length;r<a;r++)sr(arguments[r],t);return e}function qi(e,t,r){return sr(t,function(n,i){r&&typeof n=="function"?e[i]=Li(n,r):e[i]=n}),e}function zi(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}var U={isArray:or,isArrayBuffer:Kn,isBuffer:_i,isFormData:Ai,isArrayBufferView:Ti,isString:ji,isNumber:$i,isObject:Jn,isPlainObject:et,isUndefined:Yt,isDate:Ii,isFile:Di,isBlob:Fi,isFunction:Yn,isStream:Ui,isURLSearchParams:Mi,isStandardBrowserEnv:Vi,forEach:sr,merge:Wt,extend:qi,trim:Bi,stripBOM:zi},xe=U;function Rr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Wn=function(t,r,a){if(!r)return t;var n;if(a)n=a(r);else if(xe.isURLSearchParams(r))n=r.toString();else{var i=[];xe.forEach(r,function(u,f){u===null||typeof u>"u"||(xe.isArray(u)?f=f+"[]":u=[u],xe.forEach(u,function(c){xe.isDate(c)?c=c.toISOString():xe.isObject(c)&&(c=JSON.stringify(c)),i.push(Rr(f)+"="+Rr(c))}))}),n=i.join("&")}if(n){var o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+n}return t},Hi=U;function gt(){this.handlers=[]}gt.prototype.use=function(t,r,a){return this.handlers.push({fulfilled:t,rejected:r,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1};gt.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};gt.prototype.forEach=function(t){Hi.forEach(this.handlers,function(a){a!==null&&t(a)})};var Ki=gt,Ji=U,Yi=function(t,r){Ji.forEach(t,function(n,i){i!==r&&i.toUpperCase()===r.toUpperCase()&&(t[r]=n,delete t[i])})},Gn=function(t,r,a,n,i){return t.config=r,a&&(t.code=a),t.request=n,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t},Xn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Et,kr;function Zn(){if(kr)return Et;kr=1;var e=Gn;return Et=function(r,a,n,i,o){var s=new Error(r);return e(s,a,n,i,o)},Et}var Pt,Nr;function Wi(){if(Nr)return Pt;Nr=1;var e=Zn();return Pt=function(r,a,n){var i=n.config.validateStatus;!n.status||!i||i(n.status)?r(n):a(e("Request failed with status code "+n.status,n.config,null,n.request,n))},Pt}var Ct,Lr;function Gi(){if(Lr)return Ct;Lr=1;var e=U;return Ct=e.isStandardBrowserEnv()?function(){return{write:function(a,n,i,o,s,u){var f=[];f.push(a+"="+encodeURIComponent(n)),e.isNumber(i)&&f.push("expires="+new Date(i).toGMTString()),e.isString(o)&&f.push("path="+o),e.isString(s)&&f.push("domain="+s),u===!0&&f.push("secure"),document.cookie=f.join("; ")},read:function(a){var n=document.cookie.match(new RegExp("(^|;\\s*)("+a+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(a){this.write(a,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Ct}var Rt,_r;function Xi(){return _r||(_r=1,Rt=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}),Rt}var kt,Ar;function Zi(){return Ar||(Ar=1,kt=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}),kt}var Nt,Tr;function Qi(){if(Tr)return Nt;Tr=1;var e=Xi(),t=Zi();return Nt=function(a,n){return a&&!e(n)?t(a,n):n},Nt}var Lt,jr;function eo(){if(jr)return Lt;jr=1;var e=U,t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return Lt=function(a){var n={},i,o,s;return a&&e.forEach(a.split(`
27
+ `),function(f){if(s=f.indexOf(":"),i=e.trim(f.substr(0,s)).toLowerCase(),o=e.trim(f.substr(s+1)),i){if(n[i]&&t.indexOf(i)>=0)return;i==="set-cookie"?n[i]=(n[i]?n[i]:[]).concat([o]):n[i]=n[i]?n[i]+", "+o:o}}),n},Lt}var _t,$r;function to(){if($r)return _t;$r=1;var e=U;return _t=e.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a"),n;function i(o){var s=o;return r&&(a.setAttribute("href",s),s=a.href),a.setAttribute("href",s),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return n=i(window.location.href),function(s){var u=e.isString(s)?i(s):s;return u.protocol===n.protocol&&u.host===n.host}}():function(){return function(){return!0}}(),_t}var At,Ir;function mt(){if(Ir)return At;Ir=1;function e(t){this.message=t}return e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,At=e,At}var Tt,Dr;function Fr(){if(Dr)return Tt;Dr=1;var e=U,t=Wi(),r=Gi(),a=Wn,n=Qi(),i=eo(),o=to(),s=Zn(),u=Xn,f=mt();return Tt=function(c){return new Promise(function(p,y){var b=c.data,w=c.headers,h=c.responseType,g;function x(){c.cancelToken&&c.cancelToken.unsubscribe(g),c.signal&&c.signal.removeEventListener("abort",g)}e.isFormData(b)&&delete w["Content-Type"];var m=new XMLHttpRequest;if(c.auth){var v=c.auth.username||"",N=c.auth.password?unescape(encodeURIComponent(c.auth.password)):"";w.Authorization="Basic "+btoa(v+":"+N)}var C=n(c.baseURL,c.url);m.open(c.method.toUpperCase(),a(C,c.params,c.paramsSerializer),!0),m.timeout=c.timeout;function X(){if(m){var _="getAllResponseHeaders"in m?i(m.getAllResponseHeaders()):null,z=!h||h==="text"||h==="json"?m.responseText:m.response,D={data:z,status:m.status,statusText:m.statusText,headers:_,config:c,request:m};t(function(V){p(V),x()},function(V){y(V),x()},D),m=null}}if("onloadend"in m?m.onloadend=X:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(X)},m.onabort=function(){m&&(y(s("Request aborted",c,"ECONNABORTED",m)),m=null)},m.onerror=function(){y(s("Network Error",c,null,m)),m=null},m.ontimeout=function(){var z=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",D=c.transitional||u;c.timeoutErrorMessage&&(z=c.timeoutErrorMessage),y(s(z,c,D.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",m)),m=null},e.isStandardBrowserEnv()){var Z=(c.withCredentials||o(C))&&c.xsrfCookieName?r.read(c.xsrfCookieName):void 0;Z&&(w[c.xsrfHeaderName]=Z)}"setRequestHeader"in m&&e.forEach(w,function(z,D){typeof b>"u"&&D.toLowerCase()==="content-type"?delete w[D]:m.setRequestHeader(D,z)}),e.isUndefined(c.withCredentials)||(m.withCredentials=!!c.withCredentials),h&&h!=="json"&&(m.responseType=c.responseType),typeof c.onDownloadProgress=="function"&&m.addEventListener("progress",c.onDownloadProgress),typeof c.onUploadProgress=="function"&&m.upload&&m.upload.addEventListener("progress",c.onUploadProgress),(c.cancelToken||c.signal)&&(g=function(_){m&&(y(!_||_&&_.type?new f("canceled"):_),m.abort(),m=null)},c.cancelToken&&c.cancelToken.subscribe(g),c.signal&&(c.signal.aborted?g():c.signal.addEventListener("abort",g))),b||(b=null),m.send(b)})},Tt}var j=U,Ur=Yi,ro=Gn,no=Xn,ao={"Content-Type":"application/x-www-form-urlencoded"};function Mr(e,t){!j.isUndefined(e)&&j.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function io(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Fr()),e}function oo(e,t,r){if(j.isString(e))try{return(t||JSON.parse)(e),j.trim(e)}catch(a){if(a.name!=="SyntaxError")throw a}return(r||JSON.stringify)(e)}var vt={transitional:no,adapter:io(),transformRequest:[function(t,r){return Ur(r,"Accept"),Ur(r,"Content-Type"),j.isFormData(t)||j.isArrayBuffer(t)||j.isBuffer(t)||j.isStream(t)||j.isFile(t)||j.isBlob(t)?t:j.isArrayBufferView(t)?t.buffer:j.isURLSearchParams(t)?(Mr(r,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):j.isObject(t)||r&&r["Content-Type"]==="application/json"?(Mr(r,"application/json"),oo(t)):t}],transformResponse:[function(t){var r=this.transitional||vt.transitional,a=r&&r.silentJSONParsing,n=r&&r.forcedJSONParsing,i=!a&&this.responseType==="json";if(i||n&&j.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(i)throw o.name==="SyntaxError"?ro(o,this,"E_JSON_PARSE"):o}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};j.forEach(["delete","get","head"],function(t){vt.headers[t]={}});j.forEach(["post","put","patch"],function(t){vt.headers[t]=j.merge(ao)});var ur=vt,so=U,uo=ur,co=function(t,r,a){var n=this||uo;return so.forEach(a,function(o){t=o.call(n,t,r)}),t},jt,Br;function Qn(){return Br||(Br=1,jt=function(t){return!!(t&&t.__CANCEL__)}),jt}var Vr=U,$t=co,fo=Qn(),lo=ur,po=mt();function It(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new po("canceled")}var ho=function(t){It(t),t.headers=t.headers||{},t.data=$t.call(t,t.data,t.headers,t.transformRequest),t.headers=Vr.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Vr.forEach(["delete","get","head","post","put","patch","common"],function(n){delete t.headers[n]});var r=t.adapter||lo.adapter;return r(t).then(function(n){return It(t),n.data=$t.call(t,n.data,n.headers,t.transformResponse),n},function(n){return fo(n)||(It(t),n&&n.response&&(n.response.data=$t.call(t,n.response.data,n.response.headers,t.transformResponse))),Promise.reject(n)})},M=U,ea=function(t,r){r=r||{};var a={};function n(l,c){return M.isPlainObject(l)&&M.isPlainObject(c)?M.merge(l,c):M.isPlainObject(c)?M.merge({},c):M.isArray(c)?c.slice():c}function i(l){if(M.isUndefined(r[l])){if(!M.isUndefined(t[l]))return n(void 0,t[l])}else return n(t[l],r[l])}function o(l){if(!M.isUndefined(r[l]))return n(void 0,r[l])}function s(l){if(M.isUndefined(r[l])){if(!M.isUndefined(t[l]))return n(void 0,t[l])}else return n(void 0,r[l])}function u(l){if(l in r)return n(t[l],r[l]);if(l in t)return n(void 0,t[l])}var f={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u};return M.forEach(Object.keys(t).concat(Object.keys(r)),function(c){var d=f[c]||i,p=d(c);M.isUndefined(p)&&d!==u||(a[c]=p)}),a},Dt,qr;function ta(){return qr||(qr=1,Dt={version:"0.26.1"}),Dt}var go=ta().version,cr={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){cr[e]=function(a){return typeof a===e||"a"+(t<1?"n ":" ")+e}});var zr={};cr.transitional=function(t,r,a){function n(i,o){return"[Axios v"+go+"] Transitional option '"+i+"'"+o+(a?". "+a:"")}return function(i,o,s){if(t===!1)throw new Error(n(o," has been removed"+(r?" in "+r:"")));return r&&!zr[o]&&(zr[o]=!0,console.warn(n(o," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,o,s):!0}};function mo(e,t,r){if(typeof e!="object")throw new TypeError("options must be an object");for(var a=Object.keys(e),n=a.length;n-- >0;){var i=a[n],o=t[i];if(o){var s=e[i],u=s===void 0||o(s,i,e);if(u!==!0)throw new TypeError("option "+i+" must be "+u);continue}if(r!==!0)throw Error("Unknown option "+i)}}var vo={assertOptions:mo,validators:cr},ra=U,yo=Wn,Hr=Ki,Kr=ho,yt=ea,na=vo,Ee=na.validators;function Ve(e){this.defaults=e,this.interceptors={request:new Hr,response:new Hr}}Ve.prototype.request=function(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=yt(this.defaults,r),r.method?r.method=r.method.toLowerCase():this.defaults.method?r.method=this.defaults.method.toLowerCase():r.method="get";var a=r.transitional;a!==void 0&&na.assertOptions(a,{silentJSONParsing:Ee.transitional(Ee.boolean),forcedJSONParsing:Ee.transitional(Ee.boolean),clarifyTimeoutError:Ee.transitional(Ee.boolean)},!1);var n=[],i=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(r)===!1||(i=i&&p.synchronous,n.unshift(p.fulfilled,p.rejected))});var o=[];this.interceptors.response.forEach(function(p){o.push(p.fulfilled,p.rejected)});var s;if(!i){var u=[Kr,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(o),s=Promise.resolve(r);u.length;)s=s.then(u.shift(),u.shift());return s}for(var f=r;n.length;){var l=n.shift(),c=n.shift();try{f=l(f)}catch(d){c(d);break}}try{s=Kr(f)}catch(d){return Promise.reject(d)}for(;o.length;)s=s.then(o.shift(),o.shift());return s};Ve.prototype.getUri=function(t){return t=yt(this.defaults,t),yo(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};ra.forEach(["delete","get","head","options"],function(t){Ve.prototype[t]=function(r,a){return this.request(yt(a||{},{method:t,url:r,data:(a||{}).data}))}});ra.forEach(["post","put","patch"],function(t){Ve.prototype[t]=function(r,a,n){return this.request(yt(n||{},{method:t,url:r,data:a}))}});var bo=Ve,Ft,Jr;function wo(){if(Jr)return Ft;Jr=1;var e=mt();function t(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var a;this.promise=new Promise(function(o){a=o});var n=this;this.promise.then(function(i){if(n._listeners){var o,s=n._listeners.length;for(o=0;o<s;o++)n._listeners[o](i);n._listeners=null}}),this.promise.then=function(i){var o,s=new Promise(function(u){n.subscribe(u),o=u}).then(i);return s.cancel=function(){n.unsubscribe(o)},s},r(function(o){n.reason||(n.reason=new e(o),a(n.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]},t.prototype.unsubscribe=function(a){if(this._listeners){var n=this._listeners.indexOf(a);n!==-1&&this._listeners.splice(n,1)}},t.source=function(){var a,n=new t(function(o){a=o});return{token:n,cancel:a}},Ft=t,Ft}var Ut,Yr;function So(){return Yr||(Yr=1,Ut=function(t){return function(a){return t.apply(null,a)}}),Ut}var Mt,Wr;function Oo(){if(Wr)return Mt;Wr=1;var e=U;return Mt=function(r){return e.isObject(r)&&r.isAxiosError===!0},Mt}var Gr=U,xo=Hn,tt=bo,Eo=ea,Po=ur;function aa(e){var t=new tt(e),r=xo(tt.prototype.request,t);return Gr.extend(r,tt.prototype,t),Gr.extend(r,t),r.create=function(n){return aa(Eo(e,n))},r}var ae=aa(Po);ae.Axios=tt;ae.Cancel=mt();ae.CancelToken=wo();ae.isCancel=Qn();ae.VERSION=ta().version;ae.all=function(t){return Promise.all(t)};ae.spread=So();ae.isAxiosError=Oo();Ni.exports=ae;it.default=ae;(function(e){e.exports=it})(ki);const Gt=Za(Jt);var Xr=(e,t,r)=>new Promise((a,n)=>{var i=u=>{try{s(r.next(u))}catch(f){n(f)}},o=u=>{try{s(r.throw(u))}catch(f){n(f)}},s=u=>u.done?a(u.value):Promise.resolve(u.value).then(i,o);s((r=r.apply(e,t)).next())});const ia=({brandName:e,cdnURL:t="/"})=>{const[r,a]=T.useState();return T.useEffect(()=>{Xr(void 0,null,function*(){try{const n=yield Gt.get("/brand/iconIndex.json",{baseURL:t});a(n.data)}catch(n){be.logger.error({error:n},`Error loading icon index for brand ${e}`)}})},[e,t]),n=>Xr(void 0,null,function*(){if(r){const i=(r[n.toLowerCase()]||[]).includes(e)?e:Qt.BrandName.FALLBACK;return(yield Gt.get(`/brand/${i}/icons/${n.toLowerCase()}.svg`,{baseURL:t,responseType:"text"})).data}})};var Co=(e,t,r)=>new Promise((a,n)=>{var i=u=>{try{s(r.next(u))}catch(f){n(f)}},o=u=>{try{s(r.throw(u))}catch(f){n(f)}},s=u=>u.done?a(u.value):Promise.resolve(u.value).then(i,o);s((r=r.apply(e,t)).next())});const oa=({cdnURL:e="/",brandName:t})=>{const[r,a]=T.useState();return T.useEffect(()=>{Co(void 0,null,function*(){try{const n=yield Gt.get(`/brand/${t}/theme.json`,{baseURL:e}),i=new Qt.Theme(n.data);a(i)}catch(n){be.logger.error({error:n},`Error loading theme for brand ${t}`)}})},[t,e]),r},fr=T.createContext(void 0),Ro=({baseURL:e="https://api.shipengine.com",brandName:t=Qt.BrandName.FALLBACK,cdnURL:r="/",children:a,getToken:n,onError:i,scope:o="lmnt"})=>{const s=oa({brandName:t,cdnURL:r}),u=zn({cdnURL:r,scope:o,theme:s}),f=ia({brandName:t,cdnURL:r});return s?(i=i??Ri,q(fr.Provider,{value:{baseURL:e,brandName:t,cdnURL:r,getToken:n,onError:i,scope:o,theme:s},children:Ci(nt.ThemeProvider,{theme:s,children:[q(nt.Global,{styles:[pr.getEmotionResetStyles(o),u]}),q(pr.GigerConfigProvider,{resolveIcon:f,children:q(be.ShipEngine,{baseURL:e,getToken:n,children:a})})]})})):null},sa=()=>{const e=T.useContext(fr);if(!e)throw new Error("useAlchemy must be called from within the scope of <Alchemy />");return e};class ua extends Vt.Component{constructor(t){super(t),this.state={error:void 0}}componentDidCatch(t,r){t.stack=r.componentStack,this.props.onError(t),be.logger.error({error:t},t.message),this.setState({error:t})}render(){const{fallback:t,children:r}=this.props,{error:a}=this.state;return a?q("div",{role:"alert",children:q(t,{error:a})}):r}}function Y(e){return Y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Y(e)}function W(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ko(e,t){if(Y(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(Y(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ca(e){var t=ko(e,"string");return Y(t)==="symbol"?t:String(t)}function Zr(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,ca(a.key),a)}}function G(e,t,r){return t&&Zr(e.prototype,t),r&&Zr(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xt(e,t){return Xt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,n){return a.__proto__=n,a},Xt(e,t)}function bt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Xt(e,t)}function qe(e,t){if(t&&(Y(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return fe(e)}function ne(e){return ne=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ne(e)}function pe(e,t,r){return t=ca(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function No(e){if(Array.isArray(e))return e}function Lo(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Qr(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function _o(e,t){if(e){if(typeof e=="string")return Qr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qr(e,t)}}function Ao(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
28
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function To(e){return No(e)||Lo(e)||_o(e)||Ao()}function en(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function tn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?en(Object(r),!0).forEach(function(a){pe(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):en(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}var jo={type:"logger",log:function(t){this.output("log",t)},warn:function(t){this.output("warn",t)},error:function(t){this.output("error",t)},output:function(t,r){console&&console[t]&&console[t].apply(console,r)}},$o=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};W(this,e),this.init(t,r)}return G(e,[{key:"init",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=a.prefix||"i18next:",this.logger=r||jo,this.options=a,this.debug=a.debug}},{key:"setDebug",value:function(r){this.debug=r}},{key:"log",value:function(){for(var r=arguments.length,a=new Array(r),n=0;n<r;n++)a[n]=arguments[n];return this.forward(a,"log","",!0)}},{key:"warn",value:function(){for(var r=arguments.length,a=new Array(r),n=0;n<r;n++)a[n]=arguments[n];return this.forward(a,"warn","",!0)}},{key:"error",value:function(){for(var r=arguments.length,a=new Array(r),n=0;n<r;n++)a[n]=arguments[n];return this.forward(a,"error","")}},{key:"deprecate",value:function(){for(var r=arguments.length,a=new Array(r),n=0;n<r;n++)a[n]=arguments[n];return this.forward(a,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(r,a,n,i){return i&&!this.debug?null:(typeof r[0]=="string"&&(r[0]="".concat(n).concat(this.prefix," ").concat(r[0])),this.logger[a](r))}},{key:"create",value:function(r){return new e(this.logger,tn(tn({},{prefix:"".concat(this.prefix,":").concat(r,":")}),this.options))}},{key:"clone",value:function(r){return r=r||this.options,r.prefix=r.prefix||this.prefix,new e(this.logger,r)}}]),e}(),te=new $o,le=function(){function e(){W(this,e),this.observers={}}return G(e,[{key:"on",value:function(r,a){var n=this;return r.split(" ").forEach(function(i){n.observers[i]=n.observers[i]||[],n.observers[i].push(a)}),this}},{key:"off",value:function(r,a){if(this.observers[r]){if(!a){delete this.observers[r];return}this.observers[r]=this.observers[r].filter(function(n){return n!==a})}}},{key:"emit",value:function(r){for(var a=arguments.length,n=new Array(a>1?a-1:0),i=1;i<a;i++)n[i-1]=arguments[i];if(this.observers[r]){var o=[].concat(this.observers[r]);o.forEach(function(u){u.apply(void 0,n)})}if(this.observers["*"]){var s=[].concat(this.observers["*"]);s.forEach(function(u){u.apply(u,[r].concat(n))})}}}]),e}();function Ie(){var e,t,r=new Promise(function(a,n){e=a,t=n});return r.resolve=e,r.reject=t,r}function rn(e){return e==null?"":""+e}function Io(e,t,r){e.forEach(function(a){t[a]&&(r[a]=t[a])})}function lr(e,t,r){function a(s){return s&&s.indexOf("###")>-1?s.replace(/###/g,"."):s}function n(){return!e||typeof e=="string"}for(var i=typeof t!="string"?[].concat(t):t.split(".");i.length>1;){if(n())return{};var o=a(i.shift());!e[o]&&r&&(e[o]=new r),Object.prototype.hasOwnProperty.call(e,o)?e=e[o]:e={}}return n()?{}:{obj:e,k:a(i.shift())}}function nn(e,t,r){var a=lr(e,t,Object),n=a.obj,i=a.k;n[i]=r}function Do(e,t,r,a){var n=lr(e,t,Object),i=n.obj,o=n.k;i[o]=i[o]||[],a&&(i[o]=i[o].concat(r)),a||i[o].push(r)}function ot(e,t){var r=lr(e,t),a=r.obj,n=r.k;if(a)return a[n]}function an(e,t,r){var a=ot(e,r);return a!==void 0?a:ot(t,r)}function fa(e,t,r){for(var a in t)a!=="__proto__"&&a!=="constructor"&&(a in e?typeof e[a]=="string"||e[a]instanceof String||typeof t[a]=="string"||t[a]instanceof String?r&&(e[a]=t[a]):fa(e[a],t[a],r):e[a]=t[a]);return e}function Pe(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Fo={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function Uo(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return Fo[t]}):e}var wt=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,Mo=[" ",",","?","!",";"];function Bo(e,t,r){t=t||"",r=r||"";var a=Mo.filter(function(s){return t.indexOf(s)<0&&r.indexOf(s)<0});if(a.length===0)return!0;var n=new RegExp("(".concat(a.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),i=!n.test(e);if(!i){var o=e.indexOf(r);o>0&&!n.test(e.substring(0,o))&&(i=!0)}return i}function on(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function We(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?on(Object(r),!0).forEach(function(a){pe(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):on(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function Vo(e){var t=qo();return function(){var a=ne(e),n;if(t){var i=ne(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return qe(this,n)}}function qo(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function la(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var a=t.split(r),n=e,i=0;i<a.length;++i){if(!n||typeof n[a[i]]=="string"&&i+1<a.length)return;if(n[a[i]]===void 0){for(var o=2,s=a.slice(i,i+o).join(r),u=n[s];u===void 0&&a.length>i+o;)o++,s=a.slice(i,i+o).join(r),u=n[s];if(u===void 0)return;if(u===null)return null;if(t.endsWith(s)){if(typeof u=="string")return u;if(s&&typeof u[s]=="string")return u[s]}var f=a.slice(i+o).join(r);return f?la(u,f,r):void 0}n=n[a[i]]}return n}}var zo=function(e){bt(r,e);var t=Vo(r);function r(a){var n,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return W(this,r),n=t.call(this),wt&&le.call(fe(n)),n.data=a||{},n.options=i,n.options.keySeparator===void 0&&(n.options.keySeparator="."),n.options.ignoreJSONStructure===void 0&&(n.options.ignoreJSONStructure=!0),n}return G(r,[{key:"addNamespaces",value:function(n){this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}},{key:"removeNamespaces",value:function(n){var i=this.options.ns.indexOf(n);i>-1&&this.options.ns.splice(i,1)}},{key:"getResource",value:function(n,i,o){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},u=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,f=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,l=[n,i];o&&typeof o!="string"&&(l=l.concat(o)),o&&typeof o=="string"&&(l=l.concat(u?o.split(u):o)),n.indexOf(".")>-1&&(l=n.split("."));var c=ot(this.data,l);return c||!f||typeof o!="string"?c:la(this.data&&this.data[n]&&this.data[n][i],o,u)}},{key:"addResource",value:function(n,i,o,s){var u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},f=this.options.keySeparator;f===void 0&&(f=".");var l=[n,i];o&&(l=l.concat(f?o.split(f):o)),n.indexOf(".")>-1&&(l=n.split("."),s=i,i=l[1]),this.addNamespaces(i),nn(this.data,l,s),u.silent||this.emit("added",n,i,o,s)}},{key:"addResources",value:function(n,i,o){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var u in o)(typeof o[u]=="string"||Object.prototype.toString.apply(o[u])==="[object Array]")&&this.addResource(n,i,u,o[u],{silent:!0});s.silent||this.emit("added",n,i,o)}},{key:"addResourceBundle",value:function(n,i,o,s,u){var f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},l=[n,i];n.indexOf(".")>-1&&(l=n.split("."),s=o,o=i,i=l[1]),this.addNamespaces(i);var c=ot(this.data,l)||{};s?fa(c,o,u):c=We(We({},c),o),nn(this.data,l,c),f.silent||this.emit("added",n,i,o)}},{key:"removeResourceBundle",value:function(n,i){this.hasResourceBundle(n,i)&&delete this.data[n][i],this.removeNamespaces(i),this.emit("removed",n,i)}},{key:"hasResourceBundle",value:function(n,i){return this.getResource(n,i)!==void 0}},{key:"getResourceBundle",value:function(n,i){return i||(i=this.options.defaultNS),this.options.compatibilityAPI==="v1"?We(We({},{}),this.getResource(n,i)):this.getResource(n,i)}},{key:"getDataByLanguage",value:function(n){return this.data[n]}},{key:"hasLanguageSomeTranslations",value:function(n){var i=this.getDataByLanguage(n),o=i&&Object.keys(i)||[];return!!o.find(function(s){return i[s]&&Object.keys(i[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),r}(le),da={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,r,a,n,i){var o=this;return t.forEach(function(s){o.processors[s]&&(r=o.processors[s].process(r,a,n,i))}),r}};function sn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function I(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?sn(Object(r),!0).forEach(function(a){pe(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sn(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function Ho(e){var t=Ko();return function(){var a=ne(e),n;if(t){var i=ne(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return qe(this,n)}}function Ko(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var un={},cn=function(e){bt(r,e);var t=Ho(r);function r(a){var n,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return W(this,r),n=t.call(this),wt&&le.call(fe(n)),Io(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],a,fe(n)),n.options=i,n.options.keySeparator===void 0&&(n.options.keySeparator="."),n.logger=te.create("translator"),n}return G(r,[{key:"changeLanguage",value:function(n){n&&(this.language=n)}},{key:"exists",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(n==null)return!1;var o=this.resolve(n,i);return o&&o.res!==void 0}},{key:"extractFromKey",value:function(n,i){var o=i.nsSeparator!==void 0?i.nsSeparator:this.options.nsSeparator;o===void 0&&(o=":");var s=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,u=i.ns||this.options.defaultNS||[],f=o&&n.indexOf(o)>-1,l=!this.options.userDefinedKeySeparator&&!i.keySeparator&&!this.options.userDefinedNsSeparator&&!i.nsSeparator&&!Bo(n,o,s);if(f&&!l){var c=n.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:n,namespaces:u};var d=n.split(o);(o!==s||o===s&&this.options.ns.indexOf(d[0])>-1)&&(u=d.shift()),n=d.join(s)}return typeof u=="string"&&(u=[u]),{key:n,namespaces:u}}},{key:"translate",value:function(n,i,o){var s=this;if(Y(i)!=="object"&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),i||(i={}),n==null)return"";Array.isArray(n)||(n=[String(n)]);var u=i.returnDetails!==void 0?i.returnDetails:this.options.returnDetails,f=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,l=this.extractFromKey(n[n.length-1],i),c=l.key,d=l.namespaces,p=d[d.length-1],y=i.lng||this.language,b=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(y&&y.toLowerCase()==="cimode"){if(b){var w=i.nsSeparator||this.options.nsSeparator;return u?{res:"".concat(p).concat(w).concat(c),usedKey:c,exactUsedKey:c,usedLng:y,usedNS:p}:"".concat(p).concat(w).concat(c)}return u?{res:c,usedKey:c,exactUsedKey:c,usedLng:y,usedNS:p}:c}var h=this.resolve(n,i),g=h&&h.res,x=h&&h.usedKey||c,m=h&&h.exactUsedKey||c,v=Object.prototype.toString.apply(g),N=["[object Number]","[object Function]","[object RegExp]"],C=i.joinArrays!==void 0?i.joinArrays:this.options.joinArrays,X=!this.i18nFormat||this.i18nFormat.handleAsObject,Z=typeof g!="string"&&typeof g!="boolean"&&typeof g!="number";if(X&&g&&Z&&N.indexOf(v)<0&&!(typeof C=="string"&&v==="[object Array]")){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var _=this.options.returnedObjectHandler?this.options.returnedObjectHandler(x,g,I(I({},i),{},{ns:d})):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");return u?(h.res=_,h):_}if(f){var z=v==="[object Array]",D=z?[]:{},_e=z?m:x;for(var V in g)if(Object.prototype.hasOwnProperty.call(g,V)){var ze="".concat(_e).concat(f).concat(V);D[V]=this.translate(ze,I(I({},i),{joinArrays:!1,ns:d})),D[V]===ze&&(D[V]=g[V])}g=D}}else if(X&&typeof C=="string"&&v==="[object Array]")g=g.join(C),g&&(g=this.extendTranslation(g,n,i,o));else{var we=!1,he=!1,Ae=i.count!==void 0&&typeof i.count!="string",Te=r.hasDefaultValue(i),He=Ae?this.pluralResolver.getSuffix(y,i.count,i):"",ge=i["defaultValue".concat(He)]||i.defaultValue;!this.isValidLookup(g)&&Te&&(we=!0,g=ge),this.isValidLookup(g)||(he=!0,g=c);var St=i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,Ot=St&&he?void 0:g,me=Te&&ge!==g&&this.options.updateMissing;if(he||we||me){if(this.logger.log(me?"updateKey":"missingKey",y,p,c,me?ge:g),f){var Ke=this.resolve(c,I(I({},i),{},{keySeparator:!1}));Ke&&Ke.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var ve=[],Se=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Se&&Se[0])for(var je=0;je<Se.length;je++)ve.push(Se[je]);else this.options.saveMissingTo==="all"?ve=this.languageUtils.toResolveHierarchy(i.lng||this.language):ve.push(i.lng||this.language);var Je=function(ce,E,Oe){var ye=Te&&Oe!==g?Oe:Ot;s.options.missingKeyHandler?s.options.missingKeyHandler(ce,p,E,ye,me,i):s.backendConnector&&s.backendConnector.saveMissing&&s.backendConnector.saveMissing(ce,p,E,ye,me,i),s.emit("missingKey",ce,p,E,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Ae?ve.forEach(function($e){s.pluralResolver.getSuffixes($e,i).forEach(function(ce){Je([$e],c+ce,i["defaultValue".concat(ce)]||ge)})}):Je(ve,c,ge))}g=this.extendTranslation(g,n,i,h,o),he&&g===c&&this.options.appendNamespaceToMissingKey&&(g="".concat(p,":").concat(c)),(he||we)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(p,":").concat(c):c,we?g:void 0):g=this.options.parseMissingKeyHandler(g))}return u?(h.res=g,h):g}},{key:"extendTranslation",value:function(n,i,o,s,u){var f=this;if(this.i18nFormat&&this.i18nFormat.parse)n=this.i18nFormat.parse(n,I(I({},this.options.interpolation.defaultVariables),o),s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!o.skipInterpolation){o.interpolation&&this.interpolator.init(I(I({},o),{interpolation:I(I({},this.options.interpolation),o.interpolation)}));var l=typeof n=="string"&&(o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),c;if(l){var d=n.match(this.interpolator.nestingRegexp);c=d&&d.length}var p=o.replace&&typeof o.replace!="string"?o.replace:o;if(this.options.interpolation.defaultVariables&&(p=I(I({},this.options.interpolation.defaultVariables),p)),n=this.interpolator.interpolate(n,p,o.lng||this.language,o),l){var y=n.match(this.interpolator.nestingRegexp),b=y&&y.length;c<b&&(o.nest=!1)}o.nest!==!1&&(n=this.interpolator.nest(n,function(){for(var g=arguments.length,x=new Array(g),m=0;m<g;m++)x[m]=arguments[m];return u&&u[0]===x[0]&&!o.context?(f.logger.warn("It seems you are nesting recursively key: ".concat(x[0]," in key: ").concat(i[0])),null):f.translate.apply(f,x.concat([i]))},o)),o.interpolation&&this.interpolator.reset()}var w=o.postProcess||this.options.postProcess,h=typeof w=="string"?[w]:w;return n!=null&&h&&h.length&&o.applyPostProcessor!==!1&&(n=da.handle(h,n,i,this.options&&this.options.postProcessPassResolved?I({i18nResolved:s},o):o,this)),n}},{key:"resolve",value:function(n){var i=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,u,f,l,c;return typeof n=="string"&&(n=[n]),n.forEach(function(d){if(!i.isValidLookup(s)){var p=i.extractFromKey(d,o),y=p.key;u=y;var b=p.namespaces;i.options.fallbackNS&&(b=b.concat(i.options.fallbackNS));var w=o.count!==void 0&&typeof o.count!="string",h=w&&!o.ordinal&&o.count===0&&i.pluralResolver.shouldUseIntlApi(),g=o.context!==void 0&&(typeof o.context=="string"||typeof o.context=="number")&&o.context!=="",x=o.lngs?o.lngs:i.languageUtils.toResolveHierarchy(o.lng||i.language,o.fallbackLng);b.forEach(function(m){i.isValidLookup(s)||(c=m,!un["".concat(x[0],"-").concat(m)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(c)&&(un["".concat(x[0],"-").concat(m)]=!0,i.logger.warn('key "'.concat(u,'" for languages "').concat(x.join(", "),`" won't get resolved as namespace "`).concat(c,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),x.forEach(function(v){if(!i.isValidLookup(s)){l=v;var N=[y];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(N,y,v,m,o);else{var C;w&&(C=i.pluralResolver.getSuffix(v,o.count,o));var X="".concat(i.options.pluralSeparator,"zero");if(w&&(N.push(y+C),h&&N.push(y+X)),g){var Z="".concat(y).concat(i.options.contextSeparator).concat(o.context);N.push(Z),w&&(N.push(Z+C),h&&N.push(Z+X))}}for(var _;_=N.pop();)i.isValidLookup(s)||(f=_,s=i.getResource(v,m,_,o))}}))})}}),{res:s,usedKey:u,exactUsedKey:f,usedLng:l,usedNS:c}}},{key:"isValidLookup",value:function(n){return n!==void 0&&!(!this.options.returnNull&&n===null)&&!(!this.options.returnEmptyString&&n==="")}},{key:"getResource",value:function(n,i,o){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(n,i,o,s):this.resourceStore.getResource(n,i,o,s)}}],[{key:"hasDefaultValue",value:function(n){var i="defaultValue";for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)&&i===o.substring(0,i.length)&&n[o]!==void 0)return!0;return!1}}]),r}(le);function Bt(e){return e.charAt(0).toUpperCase()+e.slice(1)}var fn=function(){function e(t){W(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=te.create("languageUtils")}return G(e,[{key:"getScriptPartFromCode",value:function(r){if(!r||r.indexOf("-")<0)return null;var a=r.split("-");return a.length===2||(a.pop(),a[a.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(a.join("-"))}},{key:"getLanguagePartFromCode",value:function(r){if(!r||r.indexOf("-")<0)return r;var a=r.split("-");return this.formatLanguageCode(a[0])}},{key:"formatLanguageCode",value:function(r){if(typeof r=="string"&&r.indexOf("-")>-1){var a=["hans","hant","latn","cyrl","cans","mong","arab"],n=r.split("-");return this.options.lowerCaseLng?n=n.map(function(i){return i.toLowerCase()}):n.length===2?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),a.indexOf(n[1].toLowerCase())>-1&&(n[1]=Bt(n[1].toLowerCase()))):n.length===3&&(n[0]=n[0].toLowerCase(),n[1].length===2&&(n[1]=n[1].toUpperCase()),n[0]!=="sgn"&&n[2].length===2&&(n[2]=n[2].toUpperCase()),a.indexOf(n[1].toLowerCase())>-1&&(n[1]=Bt(n[1].toLowerCase())),a.indexOf(n[2].toLowerCase())>-1&&(n[2]=Bt(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?r.toLowerCase():r}},{key:"isSupportedCode",value:function(r){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(r=this.getLanguagePartFromCode(r)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(r)>-1}},{key:"getBestMatchFromCodes",value:function(r){var a=this;if(!r)return null;var n;return r.forEach(function(i){if(!n){var o=a.formatLanguageCode(i);(!a.options.supportedLngs||a.isSupportedCode(o))&&(n=o)}}),!n&&this.options.supportedLngs&&r.forEach(function(i){if(!n){var o=a.getLanguagePartFromCode(i);if(a.isSupportedCode(o))return n=o;n=a.options.supportedLngs.find(function(s){if(s.indexOf(o)===0)return s})}}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}},{key:"getFallbackCodes",value:function(r,a){if(!r)return[];if(typeof r=="function"&&(r=r(a)),typeof r=="string"&&(r=[r]),Object.prototype.toString.apply(r)==="[object Array]")return r;if(!a)return r.default||[];var n=r[a];return n||(n=r[this.getScriptPartFromCode(a)]),n||(n=r[this.formatLanguageCode(a)]),n||(n=r[this.getLanguagePartFromCode(a)]),n||(n=r.default),n||[]}},{key:"toResolveHierarchy",value:function(r,a){var n=this,i=this.getFallbackCodes(a||this.options.fallbackLng||[],r),o=[],s=function(f){f&&(n.isSupportedCode(f)?o.push(f):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(f)))};return typeof r=="string"&&r.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(r)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(r)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(r))):typeof r=="string"&&s(this.formatLanguageCode(r)),i.forEach(function(u){o.indexOf(u)<0&&s(n.formatLanguageCode(u))}),o}}]),e}(),Jo=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Yo={1:function(t){return Number(t>1)},2:function(t){return Number(t!=1)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(t==1?0:t>=2&&t<=4?1:2)},7:function(t){return Number(t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(t==1?0:t==2?1:t!=8&&t!=11?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(t==1?0:t==2?1:t<7?2:t<11?3:4)},11:function(t){return Number(t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(t!==0)},14:function(t){return Number(t==1?0:t==2?1:t==3?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:t!==0?1:2)},17:function(t){return Number(t==1||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(t==0?0:t==1?1:2)},19:function(t){return Number(t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(t==1?0:t==0||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3)}},Wo=["v1","v2","v3"],ln={zero:0,one:1,two:2,few:3,many:4,other:5};function Go(){var e={};return Jo.forEach(function(t){t.lngs.forEach(function(r){e[r]={numbers:t.nr,plurals:Yo[t.fc]}})}),e}var Xo=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};W(this,e),this.languageUtils=t,this.options=r,this.logger=te.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Go()}return G(e,[{key:"addRule",value:function(r,a){this.rules[r]=a}},{key:"getRule",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(r,{type:a.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[r]||this.rules[this.languageUtils.getLanguagePartFromCode(r)]}},{key:"needsPlural",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(r,a);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(r,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(r,n).map(function(i){return"".concat(a).concat(i)})}},{key:"getSuffixes",value:function(r){var a=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(r,n);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort(function(o,s){return ln[o]-ln[s]}).map(function(o){return"".concat(a.options.prepend).concat(o)}):i.numbers.map(function(o){return a.getSuffix(r,o,n)}):[]}},{key:"getSuffix",value:function(r,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=this.getRule(r,n);return i?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(i.select(a)):this.getSuffixRetroCompatible(i,a):(this.logger.warn("no plural rule found for: ".concat(r)),"")}},{key:"getSuffixRetroCompatible",value:function(r,a){var n=this,i=r.noAbs?r.plurals(a):r.plurals(Math.abs(a)),o=r.numbers[i];this.options.simplifyPluralSuffix&&r.numbers.length===2&&r.numbers[0]===1&&(o===2?o="plural":o===1&&(o=""));var s=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return this.options.compatibilityJSON==="v1"?o===1?"":typeof o=="number"?"_plural_".concat(o.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&r.numbers.length===2&&r.numbers[0]===1?s():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}},{key:"shouldUseIntlApi",value:function(){return!Wo.includes(this.options.compatibilityJSON)}}]),e}();function dn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function H(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?dn(Object(r),!0).forEach(function(a){pe(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dn(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}var Zo=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};W(this,e),this.logger=te.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(r){return r},this.init(t)}return G(e,[{key:"init",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r.interpolation||(r.interpolation={escapeValue:!0});var a=r.interpolation;this.escape=a.escape!==void 0?a.escape:Uo,this.escapeValue=a.escapeValue!==void 0?a.escapeValue:!0,this.useRawValueToEscape=a.useRawValueToEscape!==void 0?a.useRawValueToEscape:!1,this.prefix=a.prefix?Pe(a.prefix):a.prefixEscaped||"{{",this.suffix=a.suffix?Pe(a.suffix):a.suffixEscaped||"}}",this.formatSeparator=a.formatSeparator?a.formatSeparator:a.formatSeparator||",",this.unescapePrefix=a.unescapeSuffix?"":a.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":a.unescapeSuffix||"",this.nestingPrefix=a.nestingPrefix?Pe(a.nestingPrefix):a.nestingPrefixEscaped||Pe("$t("),this.nestingSuffix=a.nestingSuffix?Pe(a.nestingSuffix):a.nestingSuffixEscaped||Pe(")"),this.nestingOptionsSeparator=a.nestingOptionsSeparator?a.nestingOptionsSeparator:a.nestingOptionsSeparator||",",this.maxReplaces=a.maxReplaces?a.maxReplaces:1e3,this.alwaysFormat=a.alwaysFormat!==void 0?a.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var r="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(r,"g");var a="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(a,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(r,a,n,i){var o=this,s,u,f,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(w){return w.replace(/\$/g,"$$$$")}var d=function(h){if(h.indexOf(o.formatSeparator)<0){var g=an(a,l,h);return o.alwaysFormat?o.format(g,void 0,n,H(H(H({},i),a),{},{interpolationkey:h})):g}var x=h.split(o.formatSeparator),m=x.shift().trim(),v=x.join(o.formatSeparator).trim();return o.format(an(a,l,m),v,n,H(H(H({},i),a),{},{interpolationkey:m}))};this.resetRegExp();var p=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,y=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,b=[{regex:this.regexpUnescape,safeValue:function(h){return c(h)}},{regex:this.regexp,safeValue:function(h){return o.escapeValue?c(o.escape(h)):c(h)}}];return b.forEach(function(w){for(f=0;s=w.regex.exec(r);){var h=s[1].trim();if(u=d(h),u===void 0)if(typeof p=="function"){var g=p(r,s,i);u=typeof g=="string"?g:""}else if(i&&Object.prototype.hasOwnProperty.call(i,h))u="";else if(y){u=s[0];continue}else o.logger.warn("missed to pass in variable ".concat(h," for interpolating ").concat(r)),u="";else typeof u!="string"&&!o.useRawValueToEscape&&(u=rn(u));var x=w.safeValue(u);if(r=r.replace(s[0],x),y?(w.regex.lastIndex+=u.length,w.regex.lastIndex-=s[0].length):w.regex.lastIndex=0,f++,f>=o.maxReplaces)break}}),r}},{key:"nest",value:function(r,a){var n=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o,s,u;function f(p,y){var b=this.nestingOptionsSeparator;if(p.indexOf(b)<0)return p;var w=p.split(new RegExp("".concat(b,"[ ]*{"))),h="{".concat(w[1]);p=w[0],h=this.interpolate(h,u);var g=h.match(/'/g),x=h.match(/"/g);(g&&g.length%2===0&&!x||x.length%2!==0)&&(h=h.replace(/'/g,'"'));try{u=JSON.parse(h),y&&(u=H(H({},y),u))}catch(m){return this.logger.warn("failed parsing options string in nesting for key ".concat(p),m),"".concat(p).concat(b).concat(h)}return delete u.defaultValue,p}for(;o=this.nestingRegexp.exec(r);){var l=[];u=H({},i),u=u.replace&&typeof u.replace!="string"?u.replace:u,u.applyPostProcessor=!1,delete u.defaultValue;var c=!1;if(o[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(o[1])){var d=o[1].split(this.formatSeparator).map(function(p){return p.trim()});o[1]=d.shift(),l=d,c=!0}if(s=a(f.call(this,o[1].trim(),u),u),s&&o[0]===r&&typeof s!="string")return s;typeof s!="string"&&(s=rn(s)),s||(this.logger.warn("missed to resolve ".concat(o[1]," for nesting ").concat(r)),s=""),c&&(s=l.reduce(function(p,y){return n.format(p,y,i.lng,H(H({},i),{},{interpolationkey:o[1].trim()}))},s.trim())),r=r.replace(o[0],s),this.regexp.lastIndex=0}return r}}]),e}();function pn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?pn(Object(r),!0).forEach(function(a){pe(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pn(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function Qo(e){var t=e.toLowerCase().trim(),r={};if(e.indexOf("(")>-1){var a=e.split("(");t=a[0].toLowerCase().trim();var n=a[1].substring(0,a[1].length-1);if(t==="currency"&&n.indexOf(":")<0)r.currency||(r.currency=n.trim());else if(t==="relativetime"&&n.indexOf(":")<0)r.range||(r.range=n.trim());else{var i=n.split(";");i.forEach(function(o){if(o){var s=o.split(":"),u=To(s),f=u[0],l=u.slice(1),c=l.join(":").trim().replace(/^'+|'+$/g,"");r[f.trim()]||(r[f.trim()]=c),c==="false"&&(r[f.trim()]=!1),c==="true"&&(r[f.trim()]=!0),isNaN(c)||(r[f.trim()]=parseInt(c,10))}})}}return{formatName:t,formatOptions:r}}function Ce(e){var t={};return function(a,n,i){var o=n+JSON.stringify(i),s=t[o];return s||(s=e(n,i),t[o]=s),s(a)}}var es=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};W(this,e),this.logger=te.create("formatter"),this.options=t,this.formats={number:Ce(function(r,a){var n=new Intl.NumberFormat(r,ie({},a));return function(i){return n.format(i)}}),currency:Ce(function(r,a){var n=new Intl.NumberFormat(r,ie(ie({},a),{},{style:"currency"}));return function(i){return n.format(i)}}),datetime:Ce(function(r,a){var n=new Intl.DateTimeFormat(r,ie({},a));return function(i){return n.format(i)}}),relativetime:Ce(function(r,a){var n=new Intl.RelativeTimeFormat(r,ie({},a));return function(i){return n.format(i,a.range||"day")}}),list:Ce(function(r,a){var n=new Intl.ListFormat(r,ie({},a));return function(i){return n.format(i)}})},this.init(t)}return G(e,[{key:"init",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},n=a.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}},{key:"add",value:function(r,a){this.formats[r.toLowerCase().trim()]=a}},{key:"addCached",value:function(r,a){this.formats[r.toLowerCase().trim()]=Ce(a)}},{key:"format",value:function(r,a,n){var i=this,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=a.split(this.formatSeparator),u=s.reduce(function(f,l){var c=Qo(l),d=c.formatName,p=c.formatOptions;if(i.formats[d]){var y=f;try{var b=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},w=b.locale||b.lng||o.locale||o.lng||n;y=i.formats[d](f,w,ie(ie(ie({},p),o),b))}catch(h){i.logger.warn(h)}return y}else i.logger.warn("there was no format function for ".concat(d));return f},r);return u}}]),e}();function hn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function gn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?hn(Object(r),!0).forEach(function(a){pe(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hn(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function ts(e){var t=rs();return function(){var a=ne(e),n;if(t){var i=ne(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return qe(this,n)}}function rs(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ns(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var as=function(e){bt(r,e);var t=ts(r);function r(a,n,i){var o,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return W(this,r),o=t.call(this),wt&&le.call(fe(o)),o.backend=a,o.store=n,o.services=i,o.languageUtils=i.languageUtils,o.options=s,o.logger=te.create("backendConnector"),o.waitingReads=[],o.maxParallelReads=s.maxParallelReads||10,o.readingCalls=0,o.maxRetries=s.maxRetries>=0?s.maxRetries:5,o.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(i,s.backend,s),o}return G(r,[{key:"queueLoad",value:function(n,i,o,s){var u=this,f={},l={},c={},d={};return n.forEach(function(p){var y=!0;i.forEach(function(b){var w="".concat(p,"|").concat(b);!o.reload&&u.store.hasResourceBundle(p,b)?u.state[w]=2:u.state[w]<0||(u.state[w]===1?l[w]===void 0&&(l[w]=!0):(u.state[w]=1,y=!1,l[w]===void 0&&(l[w]=!0),f[w]===void 0&&(f[w]=!0),d[b]===void 0&&(d[b]=!0)))}),y||(c[p]=!0)}),(Object.keys(f).length||Object.keys(l).length)&&this.queue.push({pending:l,pendingCount:Object.keys(l).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(f),pending:Object.keys(l),toLoadLanguages:Object.keys(c),toLoadNamespaces:Object.keys(d)}}},{key:"loaded",value:function(n,i,o){var s=n.split("|"),u=s[0],f=s[1];i&&this.emit("failedLoading",u,f,i),o&&this.store.addResourceBundle(u,f,o),this.state[n]=i?-1:2;var l={};this.queue.forEach(function(c){Do(c.loaded,[u],f),ns(c,n),i&&c.errors.push(i),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(function(d){l[d]||(l[d]={});var p=c.loaded[d];p.length&&p.forEach(function(y){l[d][y]===void 0&&(l[d][y]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(function(c){return!c.done})}},{key:"read",value:function(n,i,o){var s=this,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,f=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,l=arguments.length>5?arguments[5]:void 0;if(!n.length)return l(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:n,ns:i,fcName:o,tried:u,wait:f,callback:l});return}this.readingCalls++;var c=function(b,w){if(s.readingCalls--,s.waitingReads.length>0){var h=s.waitingReads.shift();s.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(b&&w&&u<s.maxRetries){setTimeout(function(){s.read.call(s,n,i,o,u+1,f*2,l)},f);return}l(b,w)},d=this.backend[o].bind(this.backend);if(d.length===2){try{var p=d(n,i);p&&typeof p.then=="function"?p.then(function(y){return c(null,y)}).catch(c):c(null,p)}catch(y){c(y)}return}return d(n,i,c)}},{key:"prepareLoading",value:function(n,i){var o=this,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),u&&u();typeof n=="string"&&(n=this.languageUtils.toResolveHierarchy(n)),typeof i=="string"&&(i=[i]);var f=this.queueLoad(n,i,s,u);if(!f.toLoad.length)return f.pending.length||u(),null;f.toLoad.forEach(function(l){o.loadOne(l)})}},{key:"load",value:function(n,i,o){this.prepareLoading(n,i,{},o)}},{key:"reload",value:function(n,i,o){this.prepareLoading(n,i,{reload:!0},o)}},{key:"loadOne",value:function(n){var i=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=n.split("|"),u=s[0],f=s[1];this.read(u,f,"read",void 0,void 0,function(l,c){l&&i.logger.warn("".concat(o,"loading namespace ").concat(f," for language ").concat(u," failed"),l),!l&&c&&i.logger.log("".concat(o,"loaded namespace ").concat(f," for language ").concat(u),c),i.loaded(n,l,c)})}},{key:"saveMissing",value:function(n,i,o,s,u){var f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(i)){this.logger.warn('did not save key "'.concat(o,'" as the namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(o==null||o==="")){if(this.backend&&this.backend.create){var c=gn(gn({},f),{},{isUpdate:u}),d=this.backend.create.bind(this.backend);if(d.length<6)try{var p;d.length===5?p=d(n,i,o,s,c):p=d(n,i,o,s),p&&typeof p.then=="function"?p.then(function(y){return l(null,y)}).catch(l):l(null,p)}catch(y){l(y)}else d(n,i,o,s,l,c)}!n||!n[0]||this.store.addResource(n[0],i,o,s)}}}]),r}(le);function mn(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var r={};if(Y(t[1])==="object"&&(r=t[1]),typeof t[1]=="string"&&(r.defaultValue=t[1]),typeof t[2]=="string"&&(r.tDescription=t[2]),Y(t[2])==="object"||Y(t[3])==="object"){var a=t[3]||t[2];Object.keys(a).forEach(function(n){r[n]=a[n]})}return r},interpolation:{escapeValue:!0,format:function(t,r,a,n){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function vn(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function yn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function Q(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?yn(Object(r),!0).forEach(function(a){pe(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yn(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function is(e){var t=os();return function(){var a=ne(e),n;if(t){var i=ne(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return qe(this,n)}}function os(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ge(){}function ss(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(r){typeof e[r]=="function"&&(e[r]=e[r].bind(e))})}var st=function(e){bt(r,e);var t=is(r);function r(){var a,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(W(this,r),a=t.call(this),wt&&le.call(fe(a)),a.options=vn(n),a.services={},a.logger=te,a.modules={external:[]},ss(fe(a)),i&&!a.isInitialized&&!n.isClone){if(!a.options.initImmediate)return a.init(n,i),qe(a,fe(a));setTimeout(function(){a.init(n,i)},0)}return a}return G(r,[{key:"init",value:function(){var n=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;typeof i=="function"&&(o=i,i={}),!i.defaultNS&&i.defaultNS!==!1&&i.ns&&(typeof i.ns=="string"?i.defaultNS=i.ns:i.ns.indexOf("translation")<0&&(i.defaultNS=i.ns[0]));var s=mn();this.options=Q(Q(Q({},s),this.options),vn(i)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=Q(Q({},s.interpolation),this.options.interpolation)),i.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=i.keySeparator),i.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=i.nsSeparator);function u(h){return h?typeof h=="function"?new h:h:null}if(!this.options.isClone){this.modules.logger?te.init(u(this.modules.logger),this.options):te.init(null,this.options);var f;this.modules.formatter?f=this.modules.formatter:typeof Intl<"u"&&(f=es);var l=new fn(this.options);this.store=new zo(this.options.resources,this.options);var c=this.services;c.logger=te,c.resourceStore=this.store,c.languageUtils=l,c.pluralResolver=new Xo(l,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),f&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(c.formatter=u(f),c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new Zo(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new as(u(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",function(h){for(var g=arguments.length,x=new Array(g>1?g-1:0),m=1;m<g;m++)x[m-1]=arguments[m];n.emit.apply(n,[h].concat(x))}),this.modules.languageDetector&&(c.languageDetector=u(this.modules.languageDetector),c.languageDetector.init&&c.languageDetector.init(c,this.options.detection,this.options)),this.modules.i18nFormat&&(c.i18nFormat=u(this.modules.i18nFormat),c.i18nFormat.init&&c.i18nFormat.init(this)),this.translator=new cn(this.services,this.options),this.translator.on("*",function(h){for(var g=arguments.length,x=new Array(g>1?g-1:0),m=1;m<g;m++)x[m-1]=arguments[m];n.emit.apply(n,[h].concat(x))}),this.modules.external.forEach(function(h){h.init&&h.init(n)})}if(this.format=this.options.interpolation.format,o||(o=Ge),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var p=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];p.forEach(function(h){n[h]=function(){var g;return(g=n.store)[h].apply(g,arguments)}});var y=["addResource","addResources","addResourceBundle","removeResourceBundle"];y.forEach(function(h){n[h]=function(){var g;return(g=n.store)[h].apply(g,arguments),n}});var b=Ie(),w=function(){var g=function(m,v){n.isInitialized&&!n.initializedStoreOnce&&n.logger.warn("init: i18next is already initialized. You should call init just once!"),n.isInitialized=!0,n.options.isClone||n.logger.log("initialized",n.options),n.emit("initialized",n.options),b.resolve(v),o(m,v)};if(n.languages&&n.options.compatibilityAPI!=="v1"&&!n.isInitialized)return g(null,n.t.bind(n));n.changeLanguage(n.options.lng,g)};return this.options.resources||!this.options.initImmediate?w():setTimeout(w,0),b}},{key:"loadResources",value:function(n){var i=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ge,s=o,u=typeof n=="string"?n:this.language;if(typeof n=="function"&&(s=n),!this.options.resources||this.options.partialBundledLanguages){if(u&&u.toLowerCase()==="cimode")return s();var f=[],l=function(p){if(p){var y=i.services.languageUtils.toResolveHierarchy(p);y.forEach(function(b){f.indexOf(b)<0&&f.push(b)})}};if(u)l(u);else{var c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.forEach(function(d){return l(d)})}this.options.preload&&this.options.preload.forEach(function(d){return l(d)}),this.services.backendConnector.load(f,this.options.ns,function(d){!d&&!i.resolvedLanguage&&i.language&&i.setResolvedLanguage(i.language),s(d)})}else s(null)}},{key:"reloadResources",value:function(n,i,o){var s=Ie();return n||(n=this.languages),i||(i=this.options.ns),o||(o=Ge),this.services.backendConnector.reload(n,i,function(u){s.resolve(),o(u)}),s}},{key:"use",value:function(n){if(!n)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!n.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return n.type==="backend"&&(this.modules.backend=n),(n.type==="logger"||n.log&&n.warn&&n.error)&&(this.modules.logger=n),n.type==="languageDetector"&&(this.modules.languageDetector=n),n.type==="i18nFormat"&&(this.modules.i18nFormat=n),n.type==="postProcessor"&&da.addPostProcessor(n),n.type==="formatter"&&(this.modules.formatter=n),n.type==="3rdParty"&&this.modules.external.push(n),this}},{key:"setResolvedLanguage",value:function(n){if(!(!n||!this.languages)&&!(["cimode","dev"].indexOf(n)>-1))for(var i=0;i<this.languages.length;i++){var o=this.languages[i];if(!(["cimode","dev"].indexOf(o)>-1)&&this.store.hasLanguageSomeTranslations(o)){this.resolvedLanguage=o;break}}}},{key:"changeLanguage",value:function(n,i){var o=this;this.isLanguageChangingTo=n;var s=Ie();this.emit("languageChanging",n);var u=function(d){o.language=d,o.languages=o.services.languageUtils.toResolveHierarchy(d),o.resolvedLanguage=void 0,o.setResolvedLanguage(d)},f=function(d,p){p?(u(p),o.translator.changeLanguage(p),o.isLanguageChangingTo=void 0,o.emit("languageChanged",p),o.logger.log("languageChanged",p)):o.isLanguageChangingTo=void 0,s.resolve(function(){return o.t.apply(o,arguments)}),i&&i(d,function(){return o.t.apply(o,arguments)})},l=function(d){!n&&!d&&o.services.languageDetector&&(d=[]);var p=typeof d=="string"?d:o.services.languageUtils.getBestMatchFromCodes(d);p&&(o.language||u(p),o.translator.language||o.translator.changeLanguage(p),o.services.languageDetector&&o.services.languageDetector.cacheUserLanguage&&o.services.languageDetector.cacheUserLanguage(p)),o.loadResources(p,function(y){f(y,p)})};return!n&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!n&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(n),s}},{key:"getFixedT",value:function(n,i,o){var s=this,u=function f(l,c){var d;if(Y(c)!=="object"){for(var p=arguments.length,y=new Array(p>2?p-2:0),b=2;b<p;b++)y[b-2]=arguments[b];d=s.options.overloadTranslationOptionHandler([l,c].concat(y))}else d=Q({},c);d.lng=d.lng||f.lng,d.lngs=d.lngs||f.lngs,d.ns=d.ns||f.ns,d.keyPrefix=d.keyPrefix||o||f.keyPrefix;var w=s.options.keySeparator||".",h;return d.keyPrefix&&Array.isArray(l)?h=l.map(function(g){return"".concat(d.keyPrefix).concat(w).concat(g)}):h=d.keyPrefix?"".concat(d.keyPrefix).concat(w).concat(l):l,s.t(h,d)};return typeof n=="string"?u.lng=n:u.lngs=n,u.ns=i,u.keyPrefix=o,u}},{key:"t",value:function(){var n;return this.translator&&(n=this.translator).translate.apply(n,arguments)}},{key:"exists",value:function(){var n;return this.translator&&(n=this.translator).exists.apply(n,arguments)}},{key:"setDefaultNamespace",value:function(n){this.options.defaultNS=n}},{key:"hasLoadedNamespace",value:function(n){var i=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=this.resolvedLanguage||this.languages[0],u=this.options?this.options.fallbackLng:!1,f=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var l=function(p,y){var b=i.services.backendConnector.state["".concat(p,"|").concat(y)];return b===-1||b===2};if(o.precheck){var c=o.precheck(this,l);if(c!==void 0)return c}return!!(this.hasResourceBundle(s,n)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||l(s,n)&&(!u||l(f,n)))}},{key:"loadNamespaces",value:function(n,i){var o=this,s=Ie();return this.options.ns?(typeof n=="string"&&(n=[n]),n.forEach(function(u){o.options.ns.indexOf(u)<0&&o.options.ns.push(u)}),this.loadResources(function(u){s.resolve(),i&&i(u)}),s):(i&&i(),Promise.resolve())}},{key:"loadLanguages",value:function(n,i){var o=Ie();typeof n=="string"&&(n=[n]);var s=this.options.preload||[],u=n.filter(function(f){return s.indexOf(f)<0});return u.length?(this.options.preload=s.concat(u),this.loadResources(function(f){o.resolve(),i&&i(f)}),o):(i&&i(),Promise.resolve())}},{key:"dir",value:function(n){if(n||(n=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!n)return"rtl";var i=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],o=this.services&&this.services.languageUtils||new fn(mn());return i.indexOf(o.getLanguagePartFromCode(n))>-1||n.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var n=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ge,s=Q(Q(Q({},this.options),i),{isClone:!0}),u=new r(s);(i.debug!==void 0||i.prefix!==void 0)&&(u.logger=u.logger.clone(i));var f=["store","services","language"];return f.forEach(function(l){u[l]=n[l]}),u.services=Q({},this.services),u.services.utils={hasLoadedNamespace:u.hasLoadedNamespace.bind(u)},u.translator=new cn(u.services,u.options),u.translator.on("*",function(l){for(var c=arguments.length,d=new Array(c>1?c-1:0),p=1;p<c;p++)d[p-1]=arguments[p];u.emit.apply(u,[l].concat(d))}),u.init(s,o),u.translator.options=u.options,u.translator.backendConnector.services.utils={hasLoadedNamespace:u.hasLoadedNamespace.bind(u)},u}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),r}(le);pe(st,"createInstance",function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new st(e,t)});var $=st.createInstance();$.createInstance=st.createInstance;$.createInstance;$.dir;$.init;$.loadResources;$.reloadResources;$.use;$.changeLanguage;$.getFixedT;$.t;$.exists;$.setDefaultNamespace;$.hasLoadedNamespace;$.loadNamespaces;$.loadLanguages;var pa=[],us=pa.forEach,cs=pa.slice;function fs(e){return us.call(cs.call(arguments,1),function(t){if(t)for(var r in t)e[r]===void 0&&(e[r]=t[r])}),e}var bn=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,ls=function(t,r,a){var n=a||{};n.path=n.path||"/";var i=encodeURIComponent(r),o="".concat(t,"=").concat(i);if(n.maxAge>0){var s=n.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");o+="; Max-Age=".concat(Math.floor(s))}if(n.domain){if(!bn.test(n.domain))throw new TypeError("option domain is invalid");o+="; Domain=".concat(n.domain)}if(n.path){if(!bn.test(n.path))throw new TypeError("option path is invalid");o+="; Path=".concat(n.path)}if(n.expires){if(typeof n.expires.toUTCString!="function")throw new TypeError("option expires is invalid");o+="; Expires=".concat(n.expires.toUTCString())}if(n.httpOnly&&(o+="; HttpOnly"),n.secure&&(o+="; Secure"),n.sameSite){var u=typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite;switch(u){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return o},wn={create:function(t,r,a,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};a&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+a*60*1e3)),n&&(i.domain=n),document.cookie=ls(t,encodeURIComponent(r),i)},read:function(t){for(var r="".concat(t,"="),a=document.cookie.split(";"),n=0;n<a.length;n++){for(var i=a[n];i.charAt(0)===" ";)i=i.substring(1,i.length);if(i.indexOf(r)===0)return i.substring(r.length,i.length)}return null},remove:function(t){this.create(t,"",-1)}},ds={name:"cookie",lookup:function(t){var r;if(t.lookupCookie&&typeof document<"u"){var a=wn.read(t.lookupCookie);a&&(r=a)}return r},cacheUserLanguage:function(t,r){r.lookupCookie&&typeof document<"u"&&wn.create(r.lookupCookie,t,r.cookieMinutes,r.cookieDomain,r.cookieOptions)}},ps={name:"querystring",lookup:function(t){var r;if(typeof window<"u"){var a=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(a=window.location.hash.substring(window.location.hash.indexOf("?")));for(var n=a.substring(1),i=n.split("&"),o=0;o<i.length;o++){var s=i[o].indexOf("=");if(s>0){var u=i[o].substring(0,s);u===t.lookupQuerystring&&(r=i[o].substring(s+1))}}}return r}},De=null,Sn=function(){if(De!==null)return De;try{De=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{De=!1}return De},hs={name:"localStorage",lookup:function(t){var r;if(t.lookupLocalStorage&&Sn()){var a=window.localStorage.getItem(t.lookupLocalStorage);a&&(r=a)}return r},cacheUserLanguage:function(t,r){r.lookupLocalStorage&&Sn()&&window.localStorage.setItem(r.lookupLocalStorage,t)}},Fe=null,On=function(){if(Fe!==null)return Fe;try{Fe=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{Fe=!1}return Fe},gs={name:"sessionStorage",lookup:function(t){var r;if(t.lookupSessionStorage&&On()){var a=window.sessionStorage.getItem(t.lookupSessionStorage);a&&(r=a)}return r},cacheUserLanguage:function(t,r){r.lookupSessionStorage&&On()&&window.sessionStorage.setItem(r.lookupSessionStorage,t)}},ms={name:"navigator",lookup:function(t){var r=[];if(typeof navigator<"u"){if(navigator.languages)for(var a=0;a<navigator.languages.length;a++)r.push(navigator.languages[a]);navigator.userLanguage&&r.push(navigator.userLanguage),navigator.language&&r.push(navigator.language)}return r.length>0?r:void 0}},vs={name:"htmlTag",lookup:function(t){var r,a=t.htmlTag||(typeof document<"u"?document.documentElement:null);return a&&typeof a.getAttribute=="function"&&(r=a.getAttribute("lang")),r}},ys={name:"path",lookup:function(t){var r;if(typeof window<"u"){var a=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(a instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof a[t.lookupFromPathIndex]!="string")return;r=a[t.lookupFromPathIndex].replace("/","")}else r=a[0].replace("/","")}return r}},bs={name:"subdomain",lookup:function(t){var r=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,a=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(a)return a[r]}};function ws(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var ha=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};W(this,e),this.type="languageDetector",this.detectors={},this.init(t,r)}return G(e,[{key:"init",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=r,this.options=fs(a,this.options||{},ws()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(ds),this.addDetector(ps),this.addDetector(hs),this.addDetector(gs),this.addDetector(ms),this.addDetector(vs),this.addDetector(ys),this.addDetector(bs)}},{key:"addDetector",value:function(r){this.detectors[r.name]=r}},{key:"detect",value:function(r){var a=this;r||(r=this.options.order);var n=[];return r.forEach(function(i){if(a.detectors[i]){var o=a.detectors[i].lookup(a.options);o&&typeof o=="string"&&(o=[o]),o&&(n=n.concat(o))}}),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}},{key:"cacheUserLanguage",value:function(r,a){var n=this;a||(a=this.options.caches),a&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(r)>-1||a.forEach(function(i){n.detectors[i]&&n.detectors[i].cacheUserLanguage(r,n.options)}))}}]),e}();ha.type="languageDetector";const ga=({resources:e})=>T.useMemo(()=>$.createInstance({defaultNS:"common",fallbackLng:"en",fallbackNS:"common",load:"languageOnly",ns:["common"],overloadTranslationOptionHandler:t=>({defaultValue:t[1]}),react:{useSuspense:!1},resources:e,supportedLngs:e?Object.keys(e):[]},t=>{if(t)return console.error(t)}).use(ha),[e]),ma=_n(e=>{const t=`.${e}`;return jn({key:"css",stylisPlugins:[a=>{a?.type==="rule"&&a?.value.startsWith(".css")&&(a.props=[a.props].flat().map(n=>n.includes(t)?n:`${t} ${n}`))},Ua]})}),va=({children:e,css:t,fallback:r,resources:a})=>{const{scope:n,onError:i}=sa(),o=ga({resources:a});return q("div",{className:n,css:t,"data-testid":n,children:q(nt.CacheProvider,{value:ma(n),children:q(wa.I18nextProvider,{i18n:o,children:q(ua,{fallback:r,onError:i,children:e})})})})};var Ss=Object.defineProperty,ut=Object.getOwnPropertySymbols,ya=Object.prototype.hasOwnProperty,ba=Object.prototype.propertyIsEnumerable,xn=(e,t,r)=>t in e?Ss(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Zt=(e,t)=>{for(var r in t||(t={}))ya.call(t,r)&&xn(e,r,t[r]);if(ut)for(var r of ut(t))ba.call(t,r)&&xn(e,r,t[r]);return e},Os=(e,t)=>{var r={};for(var a in e)ya.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&ut)for(var a of ut(e))t.indexOf(a)<0&&ba.call(e,a)&&(r[a]=e[a]);return r};const xs=(e,t)=>{if(!e)return;const r=e;return e&&t&&Object.entries(e).forEach(([a,n])=>{Object.keys(n).forEach(i=>{var o;r[a][i]=Zt(Zt({},r[a][i]),(o=t[a])==null?void 0:o[i])})}),r},Es=(e,t,r)=>a=>{var n=a,{resources:i}=n,o=Os(n,["resources"]);return q(va,{resources:xs(r?.resources,i),fallback:t,children:q(e,Zt({},o))})},Ps={createElement:Es};exports.Alchemy=Ro;exports.AlchemyContext=fr;exports.Element=va;exports.ErrorBoundary=ua;exports.default=Ps;exports.memoizedCreateCache=ma;exports.useAlchemy=sa;exports.useI18n=ga;exports.useLoadFonts=zn;exports.useLoadIcons=ia;exports.useLoadTheme=oa;Object.keys(be).forEach(e=>{e!=="default"&&!exports.hasOwnProperty(e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>be[e]})});