(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{55511:function(e,t,r){"use strict";r.d(t,{Z:function(){return B}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(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]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),i=Math.abs,o=String.fromCharCode,a=Object.assign;function s(e,t,r){return e.replace(t,r)}function l(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function c(e,t,r){return e.slice(t,r)}function d(e){return e.length}function h(e,t){return t.push(e),e}var p=1,f=1,m=0,g=0,y=0,v="";function b(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:p,column:f,length:a,return:""}}function w(e,t){return a(b("",null,null,"",null,null,0),e,{length:-e.length},t)}function S(){return y=g<m?u(v,g++):0,f++,10===y&&(f=1,p++),y}function k(){return u(v,g)}function x(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 P(e){return p=f=1,m=d(v=e),g=0,[]}function E(e){var t,r;return(t=g-1,r=function e(t){for(;S();)switch(y){case t:return g;case 34:case 39:34!==t&&39!==t&&e(y);break;case 40:41===t&&e(t);break;case 92:S()}return g}(91===e?e+2:40===e?e+1:e),c(v,t,r)).trim()}var T="-ms-",O="-moz-",q="-webkit-",I="comm",_="rule",C="decl",A="@keyframes";function D(e,t){for(var r="",n=e.length,i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function R(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case C:return e.return=e.return||e.value;case I:return"";case A:return e.return=e.value+"{"+D(e.children,n)+"}";case _:e.value=e.props.join(",")}return d(r=D(e.children,n))?e.return=e.value+"{"+r+"}":""}function j(e,t,r,n,o,a,l,u,d,h,p){for(var f=o-1,m=0===o?a:[""],g=m.length,y=0,v=0,w=0;y<n;++y)for(var S=0,k=c(e,f+1,f=i(v=l[y])),x=e;S<g;++S)(x=(v>0?m[S]+" "+k:s(k,/&\f/g,m[S])).trim())&&(d[w++]=x);return b(e,t,r,0===o?_:u,d,h,p)}function N(e,t,r,n){return b(e,t,r,C,c(e,0,n),c(e,n+1,-1),n)}var F=function(e,t,r){for(var n=0,i=0;n=i,i=k(),38===n&&12===i&&(t[r]=1),!x(i);)S();return c(v,e,g)},$=function(e,t){var r=-1,n=44;do switch(x(n)){case 0:38===n&&12===k()&&(t[r]=1),e[r]+=F(g-1,t,r);break;case 2:e[r]+=E(n);break;case 4:if(44===n){e[++r]=58===k()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=o(n)}while(n=S());return e},M=function(e,t){var r;return r=$(P(e),t),v="",r},L=new WeakMap,G=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||L.get(r))&&!n){L.set(e,!0);for(var i=[],o=M(t,i),a=r.props,s=0,l=0;s<o.length;s++)for(var u=0;u<a.length;u++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[u]):a[u]+" "+o[s]}}},z=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},U=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case C:e.return=function e(t,r){switch(45^u(t,0)?(((r<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return q+"print-"+t+t;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 q+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return q+t+O+t+T+t+t;case 6828:case 4268:return q+t+T+t+t;case 6165:return q+t+T+"flex-"+t+t;case 5187:return q+t+s(t,/(\w+).+(:[^]+)/,q+"box-$1$2"+T+"flex-$1$2")+t;case 5443:return q+t+T+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return q+t+T+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return q+t+T+s(t,"shrink","negative")+t;case 5292:return q+t+T+s(t,"basis","preferred-size")+t;case 6060:return q+"box-"+s(t,"-grow","")+q+t+T+s(t,"grow","positive")+t;case 4554:return q+s(t,/([^-])(transform)/g,"$1"+q+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,q+"$1"),/(image-set)/,q+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,q+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,q+"box-pack:$3"+T+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+q+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,q+"$1$2")+t;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(d(t)-1-r>6)switch(u(t,r+1)){case 109:if(45!==u(t,r+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+q+"$2-$3$1"+O+(108==u(t,r+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?e(s(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==u(t,r+1))break;case 6444:switch(u(t,d(t)-3-(~l(t,"!important")&&10))){case 107:return s(t,":",":"+q)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+q+(45===u(t,14)?"inline-":"")+"box$3$1"+q+"$2$3$1"+T+"$2box$3")+t}break;case 5936:switch(u(t,r+11)){case 114:return q+t+T+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return q+t+T+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return q+t+T+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return q+t+T+t+t}return t}(e.value,e.length);break;case A:return D([w(e,{value:s(e.value,"@","@"+q)})],n);case _:if(e.length){var i,o;return i=e.props,o=function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return D([w(e,{props:[s(t,/:(read-\w+)/,":"+O+"$1")]})],n);case"::placeholder":return D([w(e,{props:[s(t,/:(plac\w+)/,":"+q+"input-$1")]}),w(e,{props:[s(t,/:(plac\w+)/,":"+O+"$1")]}),w(e,{props:[s(t,/:(plac\w+)/,T+"input-$1")]})],n)}return""},i.map(o).join("")}}}],B=function(e){var t,r,i,a,m,w,T=e.key;if("css"===T){var O=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(O,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var q=e.stylisPlugins||U,_={},C=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+T+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)_[t[r]]=!0;C.push(e)});var A=(r=(t=[G,z].concat(q,[R,(i=function(e){w.insert(e)},function(e){!e.root&&(e=e.return)&&i(e)})])).length,function(e,n,i,o){for(var a="",s=0;s<r;s++)a+=t[s](e,n,i,o)||"";return a}),F=function(e){var t,r;return D((r=function e(t,r,n,i,a,m,w,P,T){for(var O,q=0,_=0,C=w,A=0,D=0,R=0,F=1,$=1,M=1,L=0,G="",z=a,U=m,B=i,V=G;$;)switch(R=L,L=S()){case 40:if(108!=R&&58==u(V,C-1)){-1!=l(V+=s(E(L),"&","&\f"),"&\f")&&(M=-1);break}case 34:case 39:case 91:V+=E(L);break;case 9:case 10:case 13:case 32:V+=function(e){for(;y=k();)if(y<33)S();else break;return x(e)>2||x(y)>3?"":" "}(R);break;case 92:V+=function(e,t){for(var r;--t&&S()&&!(y<48)&&!(y>102)&&(!(y>57)||!(y<65))&&(!(y>70)||!(y<97)););return r=g+(t<6&&32==k()&&32==S()),c(v,e,r)}(g-1,7);continue;case 47:switch(k()){case 42:case 47:h(b(O=function(e,t){for(;S();)if(e+y===57)break;else if(e+y===84&&47===k())break;return"/*"+c(v,t,g-1)+"*"+o(47===e?e:S())}(S(),g),r,n,I,o(y),c(O,2,-2),0),T);break;default:V+="/"}break;case 123*F:P[q++]=d(V)*M;case 125*F:case 59:case 0:switch(L){case 0:case 125:$=0;case 59+_:-1==M&&(V=s(V,/\f/g,"")),D>0&&d(V)-C&&h(D>32?N(V+";",i,n,C-1):N(s(V," ","")+";",i,n,C-2),T);break;case 59:V+=";";default:if(h(B=j(V,r,n,q,_,a,P,G,z=[],U=[],C),m),123===L){if(0===_)e(V,r,B,B,z,m,C,P,U);else switch(99===A&&110===u(V,3)?100:A){case 100:case 108:case 109:case 115:e(t,B,B,i&&h(j(t,B,B,0,0,a,P,G,a,z=[],C),U),a,U,C,P,i?z:U);break;default:e(V,B,B,B,[""],U,0,P,U)}}}q=_=D=0,F=M=1,G=V="",C=w;break;case 58:C=1+d(V),D=R;default:if(F<1){if(123==L)--F;else if(125==L&&0==F++&&125==(y=g>0?u(v,--g):0,f--,10===y&&(f=1,p--),y))continue}switch(V+=o(L),L*F){case 38:M=_>0?1:(V+="\f",-1);break;case 44:P[q++]=(d(V)-1)*M,M=1;break;case 64:45===k()&&(V+=E(S())),A=k(),_=C=d(G=V+=function(e){for(;!x(k());)S();return c(v,e,g)}(g)),L++;break;case 45:45===R&&2==d(V)&&(F=0)}}return m}("",null,null,null,[""],t=P(t=e),0,[0],t),v="",r),A)};m=function(e,t,r,n){w=r,F(e?e+"{"+t.styles+"}":t.styles),n&&($.inserted[t.name]=!0)};var $={key:T,sheet:new n({key:T,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:_,registered:{},insert:m};return $.sheet.hydrate(C),$}},86894:function(e,t,r){"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{Z:function(){return n}})},66712:function(e,t,r){"use strict";r.d(t,{C:function(){return u},E:function(){return g},T:function(){return d},c:function(){return f},h:function(){return h},w:function(){return c}});var n=r(2784),i=r(55511),o=r(82792),a=r(33957),s=r(82668),l=n.createContext("undefined"!=typeof HTMLElement?(0,i.Z)({key:"css"}):null),u=l.Provider,c=function(e){return(0,n.forwardRef)(function(t,r){return e(t,(0,n.useContext)(l),r)})},d=n.createContext({}),h={}.hasOwnProperty,p="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",f=function(e,t){var r={};for(var n in t)h.call(t,n)&&(r[n]=t[n]);return r[p]=e,r},m=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,o.hC)(t,r,n),(0,s.L)(function(){return(0,o.My)(t,r,n)}),null},g=c(function(e,t,r){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var s=e[p],l=[i],u="";"string"==typeof e.className?u=(0,o.fp)(t.registered,l,e.className):null!=e.className&&(u=e.className+" ");var c=(0,a.O)(l,void 0,n.useContext(d));u+=t.key+"-"+c.name;var f={};for(var g in e)h.call(e,g)&&"css"!==g&&g!==p&&(f[g]=e[g]);return f.className=u,r&&(f.ref=r),n.createElement(n.Fragment,null,n.createElement(m,{cache:t,serialized:c,isStringTag:"string"==typeof s}),n.createElement(s,f))})},28165:function(e,t,r){"use strict";r.d(t,{F4:function(){return p},az:function(){return c},iv:function(){return h},xB:function(){return d}});var n,i,o=r(66712),a=r(2784),s=r(82792),l=r(82668),u=r(33957);r(55511),r(73463);var c=function(e,t){var r=arguments;if(null==t||!o.h.call(t,"css"))return a.createElement.apply(void 0,r);var n=r.length,i=Array(n);i[0]=o.E,i[1]=(0,o.c)(e,t);for(var s=2;s<n;s++)i[s]=r[s];return a.createElement.apply(null,i)};n=c||(c={}),i||(i=n.JSX||(n.JSX={}));var d=(0,o.w)(function(e,t){var r=e.styles,n=(0,u.O)([r],void 0,a.useContext(o.T)),i=a.useRef();return(0,l.j)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==a&&(o=!0,a.setAttribute("data-emotion",e),r.hydrate([a])),i.current=[r,o],function(){r.flush()}},[t]),(0,l.j)(function(){var e=i.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==n.next&&(0,s.My)(t,n.next,!0),r.tags.length){var o=r.tags[r.tags.length-1].nextElementSibling;r.before=o,r.flush()}t.insert("",n,r,!1)},[t,n.name]),null});function h(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,u.O)(t)}function p(){var e=h.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},52903:function(e,t,r){"use strict";r.d(t,{BX:function(){return s},HY:function(){return o},tZ:function(){return a}});var n=r(52322),i=r(66712);r(2784),r(55511),r(73463),r(33957),r(82668);var o=n.Fragment,a=function(e,t,r){return i.h.call(t,"css")?n.jsx(i.E,(0,i.c)(e,t),r):n.jsx(e,t,r)},s=function(e,t,r){return i.h.call(t,"css")?n.jsxs(i.E,(0,i.c)(e,t),r):n.jsxs(e,t,r)}},33957:function(e,t,r){"use strict";r.d(t,{O:function(){return f}});var n,i={animationIterationCount:1,aspectRatio: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,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=r(86894),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!=typeof e},c=(0,o.Z)(function(e){return l(e)?e:e.replace(a,"-$&").toLowerCase()}),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,function(e,t,r){return n={name:t,styles:r,next:n},t})}return 1===i[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function h(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return n={name:r.name,styles:r.styles,next:n},r.name;if(void 0!==r.styles){var i=r.next;if(void 0!==i)for(;void 0!==i;)n={name:i.name,styles:i.styles,next:n},i=i.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=h(e,t,r[i])+";";else for(var o in r){var a=r[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=o+"{"+t[a]+"}":u(a)&&(n+=c(o)+":"+d(o,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var s=0;s<a.length;s++)u(a[s])&&(n+=c(o)+":"+d(o,a[s])+";");else{var l=h(e,t,a);switch(o){case"animation":case"animationName":n+=c(o)+":"+l+";";break;default:n+=o+"{"+l+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var o=n,a=r(e);return n=o,h(e,t,a)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var p=/label:\s*([^\s;{]+)\s*(;|$)/g;function f(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i,o=!0,a="";n=void 0;var s=e[0];null==s||void 0===s.raw?(o=!1,a+=h(r,t,s)):a+=s[0];for(var l=1;l<e.length;l++)a+=h(r,t,e[l]),o&&(a+=s[l]);p.lastIndex=0;for(var u="";null!==(i=p.exec(a));)u+="-"+i[1];return{name:function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(a)+u,styles:a,next:n}}},82668:function(e,t,r){"use strict";r.d(t,{L:function(){return a},j:function(){return s}});var n,i=r(2784),o=!!(n||(n=r.t(i,2))).useInsertionEffect&&(n||(n=r.t(i,2))).useInsertionEffect,a=o||function(e){return e()},s=o||i.useLayoutEffect},82792:function(e,t,r){"use strict";function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}r.d(t,{My:function(){return o},fp:function(){return n},hC:function(){return i}});var i=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},o=function(e,t,r){i(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next;while(void 0!==o)}}},31310:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}}),r(2784);var n=r(28165),i=r(52322);function o(e){let{styles:t,defaultTheme:r={}}=e,o="function"==typeof t?e=>t(null==e||0===Object.keys(e).length?r:e):t;return(0,i.jsx)(n.xB,{styles:o})}},25165:function(e,t,r){"use strict";r.d(t,{ZP:function(){return y},nf:function(){return v},bu:function(){return w}});var n=r(7896),i=r(66712),o=r(33957),a=r(82668),s=r(82792),l=r(2784),u=r(86894),c=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,d=(0,u.Z)(function(e){return c.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),h=function(e){return"theme"!==e},p=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?d:h},f=function(e,t,r){var n;if(t){var i=t.shouldForwardProp;n=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},m=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,s.hC)(t,r,n),(0,a.L)(function(){return(0,s.My)(t,r,n)}),null},g=(function e(t,r){var a,u,c=t.__emotion_real===t,d=c&&t.__emotion_base||t;void 0!==r&&(a=r.label,u=r.target);var h=f(t,r,c),g=h||p(d),y=!g("as");return function(){var v=arguments,b=c&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==a&&b.push("label:"+a+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{var w=v[0];b.push(w[0]);for(var S=v.length,k=1;k<S;k++)b.push(v[k],w[k])}var x=(0,i.w)(function(e,t,r){var n=y&&e.as||d,a="",c=[],f=e;if(null==e.theme){for(var v in f={},e)f[v]=e[v];f.theme=l.useContext(i.T)}"string"==typeof e.className?a=(0,s.fp)(t.registered,c,e.className):null!=e.className&&(a=e.className+" ");var w=(0,o.O)(b.concat(c),t.registered,f);a+=t.key+"-"+w.name,void 0!==u&&(a+=" "+u);var S=y&&void 0===h?p(n):g,k={};for(var x in e)(!y||"as"!==x)&&S(x)&&(k[x]=e[x]);return k.className=a,r&&(k.ref=r),l.createElement(l.Fragment,null,l.createElement(m,{cache:t,serialized:w,isStringTag:"string"==typeof n}),l.createElement(n,k))});return x.displayName=void 0!==a?a:"Styled("+("string"==typeof d?d:d.displayName||d.name||"Component")+")",x.defaultProps=t.defaultProps,x.__emotion_real=x,x.__emotion_base=d,x.__emotion_styles=b,x.__emotion_forwardProp=h,Object.defineProperty(x,"toString",{value:function(){return"."+u}}),x.withComponent=function(t,i){return e(t,(0,n.Z)({},r,i,{shouldForwardProp:f(x,i,!0)})).apply(void 0,b)},x}}).bind(null);function y(e,t){return g(e,t)}function v(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){g[e]=g(e)});let b=[];function w(e){return b[0]=e,(0,o.O)(b)}},55236:function(e,t,r){"use strict";r.d(t,{i:function(){return s}});var n=r(2784),i=r(87395),o=r(52322);let a=n.createContext(void 0);function s({props:e,name:t}){return function(e){let{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;let o=t.components[r];return o.defaultProps?(0,i.Z)(o.defaultProps,n):o.styleOverrides||o.variants?n:(0,i.Z)(o,n)}({props:e,name:t,theme:{components:n.useContext(a)}})}t.Z=function({value:e,children:t}){return(0,o.jsx)(a.Provider,{value:e,children:t})}},74692:function(e,t,r){"use strict";r.d(t,{V:function(){return a}});var n=r(2784),i=r(52322);let o=n.createContext(),a=()=>n.useContext(o)??!1;t.Z=function({value:e,...t}){return(0,i.jsx)(o.Provider,{value:e??!0,...t})}},51340:function(e,t,r){"use strict";r.d(t,{L7:function(){return c},P$:function(){return h},VO:function(){return o},W8:function(){return u},dt:function(){return d},k9:function(){return l}});var n=r(3525),i=r(67507);let o={xs:0,sm:600,md:900,lg:1200,xl:1536},a={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${o[e]}px)`},s={containerQueries:e=>({up:t=>{let r="number"==typeof t?t:o[t]||t;return"number"==typeof r&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function l(e,t,r){let n=e.theme||{};if(Array.isArray(t)){let e=n.breakpoints||a;return t.reduce((n,i,o)=>(n[e.up(e.keys[o])]=r(t[o]),n),{})}if("object"==typeof t){let e=n.breakpoints||a;return Object.keys(t).reduce((a,l)=>{if((0,i.WX)(e.keys,l)){let e=(0,i.ue)(n.containerQueries?n:s,l);e&&(a[e]=r(t[l],l))}else Object.keys(e.values||o).includes(l)?a[e.up(l)]=r(t[l],l):a[l]=t[l];return a},{})}return r(t)}function u(e={}){return e.keys?.reduce((t,r)=>(t[e.up(r)]={},t),{})||{}}function c(e,t){return e.reduce((e,t)=>{let r=e[t];return r&&0!==Object.keys(r).length||delete e[t],e},t)}function d(e,...t){let r=u(e),i=[r,...t].reduce((e,t)=>(0,n.Z)(e,t),{});return c(Object.keys(r),i)}function h({values:e,breakpoints:t,base:r}){let n;let i=Object.keys(r||function(e,t){if("object"!=typeof e)return{};let r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n<e.length&&(r[t]=!0)}):n.forEach(t=>{null!=e[t]&&(r[t]=!0)}),r}(e,t));return 0===i.length?e:i.reduce((t,r,i)=>(Array.isArray(e)?(t[r]=null!=e[i]?e[i]:e[n],n=i):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[n],n=r):t[r]=e,t),{})}},38401:function(e,t,r){"use strict";r.d(t,{$n:function(){return y},Fq:function(){return p},LR:function(){return l},_j:function(){return m},fk:function(){return b},mi:function(){return h},q8:function(){return g},ux:function(){return v},ve:function(){return c},zp:function(){return f}});var n=r(99623),i=r(83863);function o(e,t=0,r=1){return(0,i.Z)(e,t,r)}function a(e){let t;if(e.type)return e;if("#"===e.charAt(0))return a(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let r=e.indexOf("("),i=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(i))throw Error((0,n.Z)(9,e));let o=e.substring(r+1,e.length-1);if("color"===i){if(t=(o=o.split(" ")).shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(t))throw Error((0,n.Z)(10,t))}else o=o.split(",");return{type:i,values:o=o.map(e=>parseFloat(e)),colorSpace:t}}let s=e=>{let t=a(e);return t.values.slice(0,3).map((e,r)=>t.type.includes("hsl")&&0!==r?`${e}%`:e).join(" ")},l=(e,t)=>{try{return s(e)}catch(t){return e}};function u(e){let{type:t,colorSpace:r}=e,{values:n}=e;return t.includes("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=t.includes("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function c(e){let{values:t}=e=a(e),r=t[0],n=t[1]/100,i=t[2]/100,o=n*Math.min(i,1-i),s=(e,t=(e+r/30)%12)=>i-o*Math.max(Math.min(t-3,9-t,1),-1),l="rgb",c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(l+="a",c.push(t[3])),u({type:l,values:c})}function d(e){let t="hsl"===(e=a(e)).type||"hsla"===e.type?a(c(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function h(e,t){let r=d(e),n=d(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function p(e,t){return e=a(e),t=o(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,u(e)}function f(e,t,r){try{return p(e,t)}catch(t){return e}}function m(e,t){if(e=a(e),t=o(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return u(e)}function g(e,t,r){try{return m(e,t)}catch(t){return e}}function y(e,t){if(e=a(e),t=o(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return u(e)}function v(e,t,r){try{return y(e,t)}catch(t){return e}}function b(e,t,r){try{return function(e,t=.15){return d(e)>.5?m(e,t):y(e,t)}(e,t)}catch(t){return e}}},16501:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});let n=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function i(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:i=5,...o}=e,a=n(t),s=Object.keys(a);function l(e){let n="number"==typeof t[e]?t[e]:e;return`@media (min-width:${n}${r})`}function u(e){let n="number"==typeof t[e]?t[e]:e;return`@media (max-width:${n-i/100}${r})`}function c(e,n){let o=s.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[s[o]]?t[s[o]]:n)-i/100}${r})`}return{keys:s,values:a,up:l,down:u,between:c,only:function(e){return s.indexOf(e)+1<s.length?c(e,s[s.indexOf(e)+1]):l(e)},not:function(e){let t=s.indexOf(e);return 0===t?l(s[1]):t===s.length-1?u(s[t]):c(e,s[s.indexOf(e)+1]).replace("@media","@media not all and")},unit:r,...o}}},70483:function(e,t,r){"use strict";r.d(t,{ZP:function(){return h}});var n=r(25165),i=r(3525),o=r(35575),a=r(37450),s=r(43565);let l=(0,o.Z)();function u(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function c(e,t){let r="function"==typeof t?t(e):t;if(Array.isArray(r))return r.flatMap(t=>c(e,t));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=r.style;else{let{variants:e,...n}=r;t=n}return d(e,r.variants,[t])}return r?.isProcessed?r.style:r}function d(e,t,r=[]){let n;e:for(let i=0;i<t.length;i+=1){let o=t[i];if("function"==typeof o.props){if(n??={...e,...e.ownerState,ownerState:e.ownerState},!o.props(n))continue}else for(let t in o.props)if(e[t]!==o.props[t]&&e.ownerState?.[t]!==o.props[t])continue e;"function"==typeof o.style?(n??={...e,...e.ownerState,ownerState:e.ownerState},r.push(o.style(n))):r.push(o.style)}return r}function h(e={}){let{themeId:t,defaultTheme:r=l,rootShouldForwardProp:o=u,slotShouldForwardProp:h=u}=e;function p(e){e.theme=!function(e){for(let t in e)return!1;return!0}(e.theme)?e.theme[t]||e.theme:r}return(e,t={})=>{var r;(0,n.nf)(e,e=>e.filter(e=>e!==a.Z));let{name:l,slot:f,skipVariantsResolver:m,skipSx:g,overridesResolver:y=(r=f?f.charAt(0).toLowerCase()+f.slice(1):f)?(e,t)=>t[r]:null,...v}=t,b=void 0!==m?m:f&&"Root"!==f&&"root"!==f||!1,w=g||!1,S=u;"Root"===f||"root"===f?S=o:f?S=h:"string"==typeof e&&e.charCodeAt(0)>96&&(S=void 0);let k=(0,n.ZP)(e,{shouldForwardProp:S,label:void 0,...v}),x=e=>{if("function"==typeof e&&e.__emotion_real!==e)return function(t){return c(t,e)};if((0,i.P)(e)){let t=(0,s.Z)(e);return t.variants?function(e){return c(e,t)}:t.style}return e},P=(...t)=>{let r=[],n=t.map(x),i=[];if(r.push(p),l&&y&&i.push(function(e){let t=e.theme,r=t.components?.[l]?.styleOverrides;if(!r)return null;let n={};for(let t in r)n[t]=c(e,r[t]);return y(e,n)}),l&&!b&&i.push(function(e){let t=e.theme,r=t?.components?.[l]?.variants;return r?d(e,r):null}),w||i.push(a.Z),Array.isArray(n[0])){let e;let t=n.shift(),o=Array(r.length).fill(""),a=Array(i.length).fill("");(e=[...o,...t,...a]).raw=[...o,...t.raw,...a],r.unshift(e)}let o=k(...r,...n,...i);return e.muiName&&(o.muiName=e.muiName),o};return k.withConfig&&(P.withConfig=k.withConfig),P}}},81345:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(22907);function i(e=8,t=(0,n.hB)({spacing:e})){if(e.mui)return e;let r=(...e)=>(0===e.length?[1]:e).map(e=>{let r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ");return r.mui=!0,r}},35575:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(3525),i=r(16501),o=r(67507),a={borderRadius:4},s=r(81345),l=r(37450),u=r(35391);function c(e,t){if(this.vars){if(!this.colorSchemes?.[e]||"function"!=typeof this.getColorSchemeSelector)return{};let r=this.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return this.palette.mode===e?t:{}}var d=function(e={},...t){let{breakpoints:r={},palette:d={},spacing:h,shape:p={},...f}=e,m=(0,i.Z)(r),g=(0,s.Z)(h),y=(0,n.Z)({breakpoints:m,direction:"ltr",components:{},palette:{mode:"light",...d},spacing:g,shape:{...a,...p}},f);return(y=(0,o.ZP)(y)).applyStyles=c,(y=t.reduce((e,t)=>(0,n.Z)(e,t),y)).unstable_sxConfig={...u.Z,...f?.unstable_sxConfig},y.unstable_sx=function(e){return(0,l.Z)({sx:e,theme:this})},y}},67507:function(e,t,r){"use strict";function n(e,t){if(!e.containerQueries)return t;let r=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{let r=/min-width:\s*([0-9.]+)/;return+(e.match(r)?.[1]||0)-+(t.match(r)?.[1]||0)});return r.length?r.reduce((e,r)=>{let n=t[r];return delete e[r],e[r]=n,e},{...t}):t}function i(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function o(e,t){let r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;let[,n,i]=r,o=Number.isNaN(+n)?n||0:+n;return e.containerQueries(i).up(o)}function a(e){let t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function r(r,n){r.up=(...r)=>t(e.breakpoints.up(...r),n),r.down=(...r)=>t(e.breakpoints.down(...r),n),r.between=(...r)=>t(e.breakpoints.between(...r),n),r.only=(...r)=>t(e.breakpoints.only(...r),n),r.not=(...r)=>{let i=t(e.breakpoints.not(...r),n);return i.includes("not all and")?i.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):i}}let n={},i=e=>(r(n,e),n);return r(i),{...e,containerQueries:i}}r.d(t,{WX:function(){return i},ZP:function(){return a},ar:function(){return n},ue:function(){return o}})},12601:function(e,t,r){"use strict";var n=r(3525);t.Z=function(e,t){return t?(0,n.Z)(e,t,{clone:!1}):e}},43565:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(25165);function i(e){let{variants:t,...r}=e,i={variants:t,style:(0,n.bu)(r),isProcessed:!0};return i.style===r||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=(0,n.bu)(e.style))}),i}},22907:function(e,t,r){"use strict";r.d(t,{hB:function(){return f},eI:function(){return p},NA:function(){return m},e6:function(){return y},o3:function(){return v}});var n=r(51340),i=r(18888),o=r(12601);let a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(e){let t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}(e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}let[t,r]=e.split(""),n=a[t],i=s[r]||"";return Array.isArray(i)?i.map(e=>n+e):[n+i]}),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],h=[...c,...d];function p(e,t,r,n){let o=(0,i.DW)(e,t,!0)??r;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;let t=o[Math.abs(e)];return e>=0?t:"number"==typeof t?-t:`-${t}`}:"function"==typeof o?o:()=>void 0}function f(e){return p(e,"spacing",8,"spacing")}function m(e,t){return"string"==typeof t||null==t?t:e(t)}function g(e,t){let r=f(e.theme);return Object.keys(e).map(i=>(function(e,t,r,i){var o;if(!t.includes(r))return null;let a=(o=u(r),e=>o.reduce((t,r)=>(t[r]=m(i,e),t),{})),s=e[r];return(0,n.k9)(e,s,a)})(e,t,i,r)).reduce(o.Z,{})}function y(e){return g(e,c)}function v(e){return g(e,d)}function b(e){return g(e,h)}y.propTypes={},y.filterProps=c,v.propTypes={},v.filterProps=d,b.propTypes={},b.filterProps=h},18888:function(e,t,r){"use strict";r.d(t,{DW:function(){return o},Jq:function(){return a}});var n=r(2651),i=r(51340);function o(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){let r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function a(e,t,r,n=r){let i;return i="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:o(e,r)||n,t&&(i=t(i,n,e)),i}t.ZP=function(e){let{prop:t,cssProperty:r=e.prop,themeKey:s,transform:l}=e,u=e=>{if(null==e[t])return null;let u=e[t],c=o(e.theme,s)||{};return(0,i.k9)(e,u,e=>{let i=a(c,l,e);return(e===i&&"string"==typeof e&&(i=a(c,l,`${t}${"default"===e?"":(0,n.Z)(e)}`,e)),!1===r)?i:{[r]:i}})};return u.propTypes={},u.filterProps=[t],u}},35391:function(e,t,r){"use strict";r.d(t,{Z:function(){return L}});var n=r(22907),i=r(18888),o=r(12601),a=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,o.Z)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r},s=r(51340);function l(e){return"number"!=typeof e?e:`${e}px solid`}function u(e,t){return(0,i.ZP)({prop:e,themeKey:"borders",transform:t})}let c=u("border",l),d=u("borderTop",l),h=u("borderRight",l),p=u("borderBottom",l),f=u("borderLeft",l),m=u("borderColor"),g=u("borderTopColor"),y=u("borderRightColor"),v=u("borderBottomColor"),b=u("borderLeftColor"),w=u("outline",l),S=u("outlineColor"),k=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,n.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,s.k9)(e,e.borderRadius,e=>({borderRadius:(0,n.NA)(t,e)}))}return null};k.propTypes={},k.filterProps=["borderRadius"],a(c,d,h,p,f,m,g,y,v,b,k,w,S);let x=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,n.eI)(e.theme,"spacing",8,"gap");return(0,s.k9)(e,e.gap,e=>({gap:(0,n.NA)(t,e)}))}return null};x.propTypes={},x.filterProps=["gap"];let P=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,n.eI)(e.theme,"spacing",8,"columnGap");return(0,s.k9)(e,e.columnGap,e=>({columnGap:(0,n.NA)(t,e)}))}return null};P.propTypes={},P.filterProps=["columnGap"];let E=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,n.eI)(e.theme,"spacing",8,"rowGap");return(0,s.k9)(e,e.rowGap,e=>({rowGap:(0,n.NA)(t,e)}))}return null};E.propTypes={},E.filterProps=["rowGap"];let T=(0,i.ZP)({prop:"gridColumn"}),O=(0,i.ZP)({prop:"gridRow"}),q=(0,i.ZP)({prop:"gridAutoFlow"}),I=(0,i.ZP)({prop:"gridAutoColumns"}),_=(0,i.ZP)({prop:"gridAutoRows"}),C=(0,i.ZP)({prop:"gridTemplateColumns"});function A(e,t){return"grey"===t?t:e}function D(e){return e<=1&&0!==e?`${100*e}%`:e}a(x,P,E,T,O,q,I,_,C,(0,i.ZP)({prop:"gridTemplateRows"}),(0,i.ZP)({prop:"gridTemplateAreas"}),(0,i.ZP)({prop:"gridArea"})),a((0,i.ZP)({prop:"color",themeKey:"palette",transform:A}),(0,i.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:A}),(0,i.ZP)({prop:"backgroundColor",themeKey:"palette",transform:A}));let R=(0,i.ZP)({prop:"width",transform:D}),j=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,s.k9)(e,e.maxWidth,t=>{let r=e.theme?.breakpoints?.values?.[t]||s.VO[t];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:D(t)}}):null;j.filterProps=["maxWidth"];let N=(0,i.ZP)({prop:"minWidth",transform:D}),F=(0,i.ZP)({prop:"height",transform:D}),$=(0,i.ZP)({prop:"maxHeight",transform:D}),M=(0,i.ZP)({prop:"minHeight",transform:D});(0,i.ZP)({prop:"size",cssProperty:"width",transform:D}),(0,i.ZP)({prop:"size",cssProperty:"height",transform:D}),a(R,j,N,F,$,M,(0,i.ZP)({prop:"boxSizing"}));var L={border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:k},color:{themeKey:"palette",transform:A},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:A},backgroundColor:{themeKey:"palette",transform:A},p:{style:n.o3},pt:{style:n.o3},pr:{style:n.o3},pb:{style:n.o3},pl:{style:n.o3},px:{style:n.o3},py:{style:n.o3},padding:{style:n.o3},paddingTop:{style:n.o3},paddingRight:{style:n.o3},paddingBottom:{style:n.o3},paddingLeft:{style:n.o3},paddingX:{style:n.o3},paddingY:{style:n.o3},paddingInline:{style:n.o3},paddingInlineStart:{style:n.o3},paddingInlineEnd:{style:n.o3},paddingBlock:{style:n.o3},paddingBlockStart:{style:n.o3},paddingBlockEnd:{style:n.o3},m:{style:n.e6},mt:{style:n.e6},mr:{style:n.e6},mb:{style:n.e6},ml:{style:n.e6},mx:{style:n.e6},my:{style:n.e6},margin:{style:n.e6},marginTop:{style:n.e6},marginRight:{style:n.e6},marginBottom:{style:n.e6},marginLeft:{style:n.e6},marginX:{style:n.e6},marginY:{style:n.e6},marginInline:{style:n.e6},marginInlineStart:{style:n.e6},marginInlineEnd:{style:n.e6},marginBlock:{style:n.e6},marginBlockStart:{style:n.e6},marginBlockEnd:{style:n.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:x},rowGap:{style:E},columnGap:{style:P},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:D},maxWidth:{style:j},minWidth:{transform:D},height:{transform:D},maxHeight:{transform:D},minHeight:{transform:D},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},89836:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(3525),i=r(35391);let o=e=>{let t={systemProps:{},otherProps:{}},r=e?.theme?.unstable_sxConfig??i.Z;return Object.keys(e).forEach(n=>{r[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t};function a(e){let t;let{sx:r,...i}=e,{systemProps:a,otherProps:s}=o(i);return t=Array.isArray(r)?[a,...r]:"function"==typeof r?(...e)=>{let t=r(...e);return(0,n.P)(t)?{...a,...t}:a}:{...a,...r},{...s,sx:t}}},37450:function(e,t,r){"use strict";var n=r(2651),i=r(12601),o=r(18888),a=r(51340),s=r(67507),l=r(35391);let u=function(){function e(e,t,r,i){let s={[e]:t,theme:r},l=i[e];if(!l)return{[e]:t};let{cssProperty:u=e,themeKey:c,transform:d,style:h}=l;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};let p=(0,o.DW)(r,c)||{};return h?h(s):(0,a.k9)(s,t,t=>{let r=(0,o.Jq)(p,d,t);return(t===r&&"string"==typeof t&&(r=(0,o.Jq)(p,d,`${e}${"default"===t?"":(0,n.Z)(t)}`,t)),!1===u)?r:{[u]:r}})}return function t(r){let{sx:n,theme:o={}}=r||{};if(!n)return null;let u=o.unstable_sxConfig??l.Z;function c(r){let n=r;if("function"==typeof r)n=r(o);else if("object"!=typeof r)return r;if(!n)return null;let l=(0,a.W8)(o.breakpoints),c=Object.keys(l),d=l;return Object.keys(n).forEach(r=>{var s;let l="function"==typeof(s=n[r])?s(o):s;if(null!=l){if("object"==typeof l){if(u[r])d=(0,i.Z)(d,e(r,l,o,u));else{let e=(0,a.k9)({theme:o},l,e=>({[r]:e}));(function(...e){let t=new Set(e.reduce((e,t)=>e.concat(Object.keys(t)),[]));return e.every(e=>t.size===Object.keys(e).length)})(e,l)?d[r]=t({sx:l,theme:o}):d=(0,i.Z)(d,e)}}else d=(0,i.Z)(d,e(r,l,o,u))}}),(0,s.ar)(o,(0,a.L7)(c,d))}return Array.isArray(n)?n.map(c):c(n)}}();u.filterProps=["sx"],t.Z=u},92924:function(e,t,r){"use strict";var n=r(35575),i=r(92869);let o=(0,n.Z)();t.Z=function(e=o){return(0,i.Z)(e)}},92869:function(e,t,r){"use strict";var n=r(2784),i=r(66712);t.Z=function(e=null){let t=n.useContext(i.T);return t&&0!==Object.keys(t).length?t:e}},68542:function(e,t){"use strict";let r;let n=e=>e,i=(r=n,{configure(e){r=e},generate:e=>r(e),reset(){r=n}});t.Z=i},2651:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(99623);function i(e){if("string"!=typeof e)throw Error((0,n.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},83863:function(e,t){"use strict";t.Z=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}},69075:function(e,t,r){"use strict";function n(e,t,r){let n={};for(let i in e){let o=e[i],a="",s=!0;for(let e=0;e<o.length;e+=1){let n=o[e];n&&(a+=(!0===s?"":" ")+t(n),s=!1,r&&r[n]&&(a+=" "+r[n]))}n[i]=a}return n}r.d(t,{Z:function(){return n}})},3525:function(e,t,r){"use strict";r.d(t,{P:function(){return i},Z:function(){return function e(t,r,o={clone:!0}){let a=o.clone?{...t}:t;return i(t)&&i(r)&&Object.keys(r).forEach(s=>{n.isValidElement(r[s])?a[s]=r[s]:i(r[s])&&Object.prototype.hasOwnProperty.call(t,s)&&i(t[s])?a[s]=e(t[s],r[s],o):o.clone?a[s]=i(r[s])?function e(t){if(n.isValidElement(t)||!i(t))return t;let r={};return Object.keys(t).forEach(n=>{r[n]=e(t[n])}),r}(r[s]):r[s]:a[s]=r[s]}),a}}});var n=r(2784);function i(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}},99623:function(e,t,r){"use strict";function n(e,...t){let r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>r.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${r} for the full message.`}r.d(t,{Z:function(){return n}})},15672:function(e,t,r){"use strict";r.d(t,{ZP:function(){return o}});var n=r(68542);let i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function o(e,t,r="Mui"){let o=i[t];return o?`${r}-${o}`:`${n.Z.generate(e)}-${t}`}},69222:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(15672);function i(e,t,r="Mui"){let i={};return t.forEach(t=>{i[t]=(0,n.ZP)(e,t,r)}),i}},87395:function(e,t,r){"use strict";r.d(t,{Z:function(){return function e(t,r){let n={...r};for(let i in t)if(Object.prototype.hasOwnProperty.call(t,i)){if("components"===i||"slots"===i)n[i]={...t[i],...n[i]};else if("componentsProps"===i||"slotProps"===i){let o=t[i],a=r[i];if(a){if(o)for(let t in n[i]={...a},o)Object.prototype.hasOwnProperty.call(o,t)&&(n[i][t]=e(o[t],a[t]));else n[i]=a}else n[i]=o||{}}else void 0===n[i]&&(n[i]=t[i])}return n}}})},20157:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(52322),i=r(2784);t.default=function({html:e,height:t=null,width:r=null,children:o,dataNtpc:a=""}){return(0,i.useEffect)(()=>{a&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${a}`}})},[a]),(0,n.jsxs)(n.Fragment,{children:[o,e?(0,n.jsx)("div",{style:{height:null!=t?`${t}px`:"auto",width:null!=r?`${r}px`:"auto"},"data-ntpc":a,dangerouslySetInnerHTML:{__html:e}}):null]})}},68925:function(e,t,r){"use strict";let n;var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGAEvent=t.GoogleAnalytics=void 0;let o=r(52322),a=r(2784),s=i(r(45847));t.GoogleAnalytics=function(e){let{gaId:t,dataLayerName:r="dataLayer"}=e;return void 0===n&&(n=r),(0,a.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:`
          window['${r}'] = window['${r}'] || [];
          function gtag(){window['${r}'].push(arguments);}
          gtag('js', new Date());

          gtag('config', '${t}');`}}),(0,o.jsx)(s.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${t}`})]})},t.sendGAEvent=function(...e){if(void 0===n){console.warn("@next/third-parties: GA has not been initialized");return}window[n]?window[n].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${n} does not exist`)}},89362:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=r(52322),o=r(89565),a=n(r(20157));t.default=function(e){let{apiKey:t,...r}=e,n={...r,key:t},{html:s}=(0,o.GoogleMapsEmbed)(n);return(0,i.jsx)(a.default,{height:n.height||null,width:n.width||null,html:s,dataNtpc:"GoogleMapsEmbed"})}},78072:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGTMEvent=t.GoogleTagManager=void 0;let i=r(52322),o=r(2784),a=n(r(45847)),s="dataLayer";t.GoogleTagManager=function(e){let{gtmId:t,dataLayerName:r="dataLayer",auth:n,preview:l,dataLayer:u}=e;s=r;let c="dataLayer"!==r?`&l=${r}`:"",d=n?`&gtm_auth=${n}`:"",h=l?`&gtm_preview=${l}&gtm_cookies_win=x`:"";return(0,o.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:`
      (function(w,l){
        w[l]=w[l]||[];
        w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});
        ${u?`w[l].push(${JSON.stringify(u)})`:""}
      })(window,'${r}');`}}),(0,i.jsx)(a.default,{id:"_next-gtm","data-ntpc":"GTM",src:`https://www.googletagmanager.com/gtm.js?id=${t}${c}${d}${h}`})]})},t.sendGTMEvent=(e,t)=>{let r=t||s;window[r]=window[r]||[],window[r].push(e)}},48790:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGAEvent=t.GoogleAnalytics=t.sendGTMEvent=t.GoogleTagManager=t.YouTubeEmbed=t.GoogleMapsEmbed=void 0;var i=r(89362);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return n(i).default}});var o=r(62316);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return n(o).default}});var a=r(78072);Object.defineProperty(t,"GoogleTagManager",{enumerable:!0,get:function(){return a.GoogleTagManager}}),Object.defineProperty(t,"sendGTMEvent",{enumerable:!0,get:function(){return a.sendGTMEvent}});var s=r(68925);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return s.GoogleAnalytics}}),Object.defineProperty(t,"sendGAEvent",{enumerable:!0,get:function(){return s.sendGAEvent}})},62316:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=r(52322),o=n(r(45847)),a=r(89565),s=n(r(20157)),l={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"};t.default=function(e){let{html:t,scripts:r,stylesheets:n}=(0,a.YouTubeEmbed)(e);return(0,i.jsx)(s.default,{height:e.height||null,width:e.width||null,html:t,dataNtpc:"YouTubeEmbed",children:null==r?void 0:r.map(e=>(0,i.jsx)(o.default,{src:e.url,strategy:l[e.strategy],stylesheets:n},e.url))})}},96279:function(e,t,r){var n="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g,i=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();(function(e){var t=void 0!==i&&i||"undefined"!=typeof self&&self||void 0!==r.g&&r.g||{},n={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(n.arrayBuffer)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(e){return e&&o.indexOf(Object.prototype.toString.call(e))>-1};function s(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function l(e){return"string"!=typeof e&&(e=String(e)),e}function u(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n.iterable&&(t[Symbol.iterator]=function(){return t}),t}function c(e){this.map={},e instanceof c?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){if(2!=e.length)throw TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function d(e){if(!e._noBody){if(e.bodyUsed)return Promise.reject(TypeError("Already read"));e.bodyUsed=!0}}function h(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function p(e){var t=new FileReader,r=h(t);return t.readAsArrayBuffer(e),r}function f(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){if(this.bodyUsed=this.bodyUsed,this._bodyInit=e,e){if("string"==typeof e)this._bodyText=e;else if(n.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(n.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(n.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else{var t;n.arrayBuffer&&n.blob&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=f(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||a(e))?this._bodyArrayBuffer=f(e):this._bodyText=e=Object.prototype.toString.call(e)}}else this._noBody=!0,this._bodyText="";!this.headers.get("content-type")&&("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(!this._bodyFormData)return Promise.resolve(new Blob([this._bodyText]));throw Error("could not read FormData body as blob")}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return d(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(n.blob)return this.blob().then(p);throw Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,n,i,o=d(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,r=h(t=new FileReader),i=(n=/charset=([A-Za-z0-9_-]+)/.exec(e.type))?n[1]:"utf-8",t.readAsText(e,i),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(!this._bodyFormData)return Promise.resolve(this._bodyText);throw Error("could not read FormData body as text")},n.formData&&(this.formData=function(){return this.text().then(v)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(e,t){e=s(e),t=l(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},c.prototype.delete=function(e){delete this.map[s(e)]},c.prototype.get=function(e){return e=s(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(s(e))},c.prototype.set=function(e,t){this.map[s(e)]=l(t)},c.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},c.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),u(e)},c.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),u(e)},c.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),u(e)},n.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var g=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function y(e,r){if(!(this instanceof y))throw TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,i,o=(r=r||{}).body;if(e instanceof y){if(e.bodyUsed)throw TypeError("Already read");this.url=e.url,this.credentials=e.credentials,r.headers||(this.headers=new c(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=r.credentials||this.credentials||"same-origin",(r.headers||!this.headers)&&(this.headers=new c(r.headers)),this.method=(i=(n=r.method||this.method||"GET").toUpperCase(),g.indexOf(i)>-1?i:n),this.mode=r.mode||this.mode||null,this.signal=r.signal||this.signal||function(){if("AbortController"in t)return new AbortController().signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),("GET"===this.method||"HEAD"===this.method)&&("no-store"===r.cache||"no-cache"===r.cache)){var a=/([?&])_=[^&]*/;a.test(this.url)?this.url=this.url.replace(a,"$1_="+new Date().getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+new Date().getTime()}}function v(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}}),t}function b(e,t){if(!(this instanceof b))throw TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},m.call(y.prototype),m.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var e=new b(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var w=[301,302,303,307,308];b.redirect=function(e,t){if(-1===w.indexOf(t))throw RangeError("Invalid status code");return new b(null,{status:t,headers:{location:e}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function S(r,i){return new Promise(function(o,a){var u=new y(r,i);if(u.signal&&u.signal.aborted)return a(new e.DOMException("Aborted","AbortError"));var d=new XMLHttpRequest;function h(){d.abort()}if(d.onload=function(){var e,t,r={statusText:d.statusText,headers:(e=d.getAllResponseHeaders()||"",t=new c,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var r=e.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();try{t.append(n,i)}catch(e){console.warn("Response "+e.message)}}}),t)};0===u.url.indexOf("file://")&&(d.status<200||d.status>599)?r.status=200:r.status=d.status,r.url="responseURL"in d?d.responseURL:r.headers.get("X-Request-URL");var n="response"in d?d.response:d.responseText;setTimeout(function(){o(new b(n,r))},0)},d.onerror=function(){setTimeout(function(){a(TypeError("Network request failed"))},0)},d.ontimeout=function(){setTimeout(function(){a(TypeError("Network request timed out"))},0)},d.onabort=function(){setTimeout(function(){a(new e.DOMException("Aborted","AbortError"))},0)},d.open(u.method,function(e){try{return""===e&&t.location.href?t.location.href:e}catch(t){return e}}(u.url),!0),"include"===u.credentials?d.withCredentials=!0:"omit"===u.credentials&&(d.withCredentials=!1),"responseType"in d&&(n.blob?d.responseType="blob":n.arrayBuffer&&(d.responseType="arraybuffer")),i&&"object"==typeof i.headers&&!(i.headers instanceof c||t.Headers&&i.headers instanceof t.Headers)){var p=[];Object.getOwnPropertyNames(i.headers).forEach(function(e){p.push(s(e)),d.setRequestHeader(e,l(i.headers[e]))}),u.headers.forEach(function(e,t){-1===p.indexOf(t)&&d.setRequestHeader(t,e)})}else u.headers.forEach(function(e,t){d.setRequestHeader(t,e)});u.signal&&(u.signal.addEventListener("abort",h),d.onreadystatechange=function(){4===d.readyState&&u.signal.removeEventListener("abort",h)}),d.send(void 0===u._bodyInit?null:u._bodyInit)})}S.polyfill=!0,t.fetch||(t.fetch=S,t.Headers=c,t.Request=y,t.Response=b),e.Headers=c,e.Request=y,e.Response=b,e.fetch=S})({}),i.fetch.ponyfill=!0,delete i.fetch.polyfill;var o=n.fetch?n:i;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t},18673:function(e,t){var r;function n(e,t){var r=[],n=0;function i(e){return r.push(e),t}function o(){return r[n++]}return{tokenize:function(t){return t.replace(e,i)},detokenize:function(e){return e.replace(RegExp("("+t+")","g"),o)}}}r=new function(){var e="`TMP`",t="`COMMENT`",r="[^\\u0020-\\u007e]",i="(?:[0-9]*\\.[0-9]+|[0-9]+)",o="direction\\s*:\\s*",a="['\"]?\\s*",s="(^|[^a-zA-Z])",l="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",u="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",c="(?:[_a-z0-9-]|"+r+"|"+u+")",d=i+"(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?(?:[_a-z]|"+r+"|"+u)+")"+c+"*)?",h="((?:-?"+d+")|(?:inherit|auto))",p="(#?"+c+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",f="(?:[!#$%&*-~]|"+r+"|"+u+")*?",m="(?![a-zA-Z])",g="(?!("+c+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|\"[^\"]*\"|"+t+")*?{)",y="(?!"+f+a+"\\))",v="(?="+f+a+"\\))",b="(\\s*(?:!important\\s*)?[;}])",w=/`TMP`/g,S=RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),k=RegExp("("+l+g+"[^;}]+;?)","gi"),x=RegExp("("+l+"[^\\}]*?})","gi"),P=RegExp("("+o+")ltr","gi"),E=RegExp("("+o+")rtl","gi"),T=RegExp(s+"(left)"+m+y+g,"gi"),O=RegExp(s+"(right)"+m+y+g,"gi"),q=RegExp(s+"(left)"+v,"gi"),I=RegExp(s+"(right)"+v,"gi"),_=RegExp(s+"(ltr)"+v,"gi"),C=RegExp(s+"(rtl)"+v,"gi"),A=RegExp(s+"([ns]?)e-resize","gi"),D=RegExp(s+"([ns]?)w-resize","gi"),R=RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+h+"(\\s+)"+h+"(\\s+)"+h+"(\\s+)"+h+b,"gi"),j=RegExp("((?:-color|border-style)\\s*:\\s*)"+p+"(\\s+)"+p+"(\\s+)"+p+"(\\s+)"+p+b,"gi"),N=RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+d+")","gi"),F=RegExp("(background-position-x\\s*:\\s*)(-?"+i+"%)","gi"),$=RegExp("(border-radius\\s*:\\s*)"+h+"(?:(?:\\s+"+h+")(?:\\s+"+h+")?(?:\\s+"+h+")?)?(?:(?:(?:\\s*\\/\\s*)"+h+")(?:\\s+"+h+")?(?:\\s+"+h+")?(?:\\s+"+h+")?)?"+b,"gi"),M=RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+h,"gi"),L=RegExp("(text-shadow\\s*:\\s*)"+h+"(\\s*)"+p,"gi"),G=RegExp("(text-shadow\\s*:\\s*)"+p+"(\\s*)"+h,"gi"),z=RegExp("(text-shadow\\s*:\\s*)"+h,"gi"),U=RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+h+"(\\s*\\))","gi"),B=RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+h+"((?:\\s*,\\s*"+h+"){0,2}\\s*\\))","gi");function V(e,t,r){var n,i;return"%"===r.slice(-1)&&(-1!==(n=r.indexOf("."))?(i=r.length-n-2,r=(r=100-parseFloat(r)).toFixed(i)+"%"):r=100-parseFloat(r)+"%"),t+r}function W(e){switch(e.length){case 4:e=[e[1],e[0],e[3],e[2]];break;case 3:e=[e[1],e[0],e[1],e[2]];break;case 2:e=[e[1],e[0]];break;case 1:e=[e[0]]}return e.join(" ")}function H(e,t){var r=[].slice.call(arguments),n=r.slice(2,6).filter(function(e){return e}),i=r.slice(6,10).filter(function(e){return e}),o=r[10]||"";return t+(i.length?W(n)+" / "+W(i):W(n))+o}function Q(e){return 0===parseFloat(e)?e:"-"===e[0]?e.slice(1):"-"+e}function Z(e,t,r){return t+Q(r)}function J(e,t,r,n,i){return t+r+Q(n)+i}function K(e,t,r,n,i){return t+r+n+Q(i)}return{transform:function(r,i){var o=new n(k,"`NOFLIP_SINGLE`"),a=new n(x,"`NOFLIP_CLASS`"),s=new n(S,t);return r=s.tokenize(a.tokenize(o.tokenize(r.replace("`","%60")))),i.transformDirInUrl&&(r=r.replace(_,"$1"+e).replace(C,"$1ltr").replace(w,"rtl")),i.transformEdgeInUrl&&(r=r.replace(q,"$1"+e).replace(I,"$1left").replace(w,"right")),r=r.replace(P,"$1"+e).replace(E,"$1ltr").replace(w,"rtl").replace(T,"$1"+e).replace(O,"$1left").replace(w,"right").replace(A,"$1$2"+e).replace(D,"$1$2e-resize").replace(w,"w-resize").replace($,H).replace(M,Z).replace(L,K).replace(G,K).replace(z,Z).replace(U,J).replace(B,J).replace(R,"$1$2$3$8$5$6$7$4$9").replace(j,"$1$2$3$8$5$6$7$4$9").replace(N,V).replace(F,V),r=o.detokenize(a.detokenize(s.detokenize(r)))}}},e.exports?t.transform=function(e,t,n){var i;return"object"==typeof t?i=t:(i={},"boolean"==typeof t&&(i.transformDirInUrl=t),"boolean"==typeof n&&(i.transformEdgeInUrl=n)),r.transform(e,i)}:"undefined"!=typeof window&&(window.cssjanus=r)},73463:function(e,t,r){"use strict";var n=r(73887),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(f){var i=p(r);i&&i!==f&&e(t,i,n)}var a=c(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),g=0;g<a.length;++g){var y=a[g];if(!o[y]&&!(n&&n[y])&&!(m&&m[y])&&!(s&&s[y])){var v=h(r,y);try{u(t,y,v)}catch(e){}}}}return t}},43459:function(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case d:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case h:case g:case m:case l:return e;default:return t}}case i:return t}}}function k(e){return S(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=h,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||S(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return S(e)===u},t.isContextProvider=function(e){return S(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return S(e)===h},t.isFragment=function(e){return S(e)===o},t.isLazy=function(e){return S(e)===g},t.isMemo=function(e){return S(e)===m},t.isPortal=function(e){return S(e)===i},t.isProfiler=function(e){return S(e)===s},t.isStrictMode=function(e){return S(e)===a},t.isSuspense=function(e){return S(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=S},73887:function(e,t,r){"use strict";e.exports=r(43459)},15447:function(e,t,r){"use strict";let n;r.d(t,{cC:function(){return G},Jc:function(){return to},$G:function(){return V}});var i=r(2784),o=r(64896),a=r.n(o),s=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function l(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},r=e.match(/<\/?([^\s]+?)[/\s>]/);if(r&&(t.name=r[1],(a()[r[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var n=e.indexOf("-->");return{type:"comment",comment:-1!==n?e.slice(4,n):""}}for(var i=new RegExp(s),o=null;null!==(o=i.exec(e));)if(o[0].trim()){if(o[1]){var l=o[1].trim(),u=[l,""];l.indexOf("=")>-1&&(u=l.split("=")),t.attrs[u[0]]=u[1],i.lastIndex--}else o[2]&&(t.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1))}return t}var u=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,c=/^\s*$/,d=Object.create(null),h={parse:function(e,t){t||(t={}),t.components||(t.components=d);var r,n=[],i=[],o=-1,a=!1;if(0!==e.indexOf("<")){var s=e.indexOf("<");n.push({type:"text",content:-1===s?e:e.substring(0,s)})}return e.replace(u,function(s,u){if(a){if(s!=="</"+r.name+">")return;a=!1}var d,h="/"!==s.charAt(1),p=s.startsWith("<!--"),f=u+s.length,m=e.charAt(f);if(p){var g=l(s);return o<0?n.push(g):(d=i[o]).children.push(g),n}if(h&&(o++,"tag"===(r=l(s)).type&&t.components[r.name]&&(r.type="component",a=!0),r.voidElement||a||!m||"<"===m||r.children.push({type:"text",content:e.slice(f,e.indexOf("<",f))}),0===o&&n.push(r),(d=i[o-1])&&d.children.push(r),i[o]=r),(!h||r.voidElement)&&(o>-1&&(r.voidElement||r.name===s.slice(2,-1))&&(r=-1==--o?n:i[o]),!a&&"<"!==m&&m)){d=-1===o?n:i[o].children;var y=e.indexOf("<",f),v=e.slice(f,-1===y?void 0:y);c.test(v)&&(v=" "),(y>-1&&o+d.length>=0||" "!==v)&&d.push({type:"text",content:v})}}),n}};let p=(e,t,r,n)=>{let i=[r,{code:t,...n||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,"warn","react-i18next::",!0);w(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)},f={},m=(e,t,r,n)=>{w(r)&&f[r]||(w(r)&&(f[r]=new Date),p(e,t,r,n))},g=(e,t)=>()=>{if(e.isInitialized)t();else{let r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}},y=(e,t,r)=>{e.loadNamespaces(t,g(e,r))},v=(e,t,r,n)=>{if(w(r)&&(r=[r]),e.options.preload&&e.options.preload.indexOf(t)>-1)return y(e,r,n);r.forEach(t=>{0>e.options.ns.indexOf(t)&&e.options.ns.push(t)}),e.loadLanguages(t,g(e,n))},b=(e,t,r={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:r.lng,precheck:(t,n)=>{if(r.bindI18n?.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!n(t.isLanguageChangingTo,e))return!1}}):(m(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0),w=e=>"string"==typeof e,S=e=>"object"==typeof e&&null!==e,k=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,x={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"\xa9","&#169;":"\xa9","&reg;":"\xae","&#174;":"\xae","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},P=e=>x[e],E={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(k,P)},T=()=>E,O=()=>n,q=(e,t)=>{if(!e)return!1;let r=e.props?.children??e.children;return t?r.length>0:!!r},I=e=>{if(!e)return[];let t=e.props?.children??e.children;return e.props?.i18nIsDynamicList?C(t):t},_=e=>Array.isArray(e)&&e.every(i.isValidElement),C=e=>Array.isArray(e)?e:[e],A=(e,t)=>{let r={...t};return r.props=Object.assign(e.props,t.props),r},D=(e,t,r,n)=>{if(!e)return"";let o="",a=C(e),s=t?.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return a.forEach((e,a)=>{if(w(e)){o+=`${e}`;return}if((0,i.isValidElement)(e)){let{props:i,type:l}=e,u=Object.keys(i).length,c=s.indexOf(l)>-1,d=i.children;if(!d&&c&&!u){o+=`<${l}/>`;return}if(!d&&(!c||u)||i.i18nIsDynamicList){o+=`<${a}></${a}>`;return}if(c&&1===u&&w(d)){o+=`<${l}>${d}</${l}>`;return}let h=D(d,t,r,n);o+=`<${a}>${h}</${a}>`;return}if(null===e){p(r,"TRANS_NULL_VALUE","Passed in a null value as child",{i18nKey:n});return}if(S(e)){let{format:t,...i}=e,a=Object.keys(i);if(1===a.length){let e=t?`${a[0]}, ${t}`:a[0];o+=`{{${e}}}`;return}p(r,"TRANS_INVALID_OBJ","Invalid child - Object should only have keys {{ value, format }} (format is optional).",{i18nKey:n,child:e});return}p(r,"TRANS_INVALID_VAR","Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.",{i18nKey:n,child:e})}),o},R=(e,t,r,n,o,a)=>{if(""===t)return[];let s=n.transKeepBasicHtmlNodesFor||[],l=t&&new RegExp(s.map(e=>`<${e}`).join("|")).test(t);if(!e&&!l&&!a)return[t];let u={},c=e=>{C(e).forEach(e=>{w(e)||(q(e)?c(I(e)):S(e)&&!(0,i.isValidElement)(e)&&Object.assign(u,e))})};c(e);let d=h.parse(`<0>${t}</0>`),p={...u,...o},f=(e,t,r)=>{let n=I(e),i=g(n,t.children,r);return _(n)&&0===i.length||e.props?.i18nIsDynamicList?n:i},m=(e,t,r,n,o)=>{e.dummy?(e.children=t,r.push((0,i.cloneElement)(e,{key:n},o?void 0:t))):r.push(...i.Children.map([e],e=>{let r={...e.props};return delete r.i18nIsDynamicList,(0,i.createElement)(e.type,{...r,key:n,ref:e.ref},o?null:t)}))},g=(t,o,u)=>{let c=C(t);return C(o).reduce((t,o,d)=>{let h=o.children?.[0]?.content&&r.services.interpolator.interpolate(o.children[0].content,p,r.language);if("tag"===o.type){let a=c[parseInt(o.name,10)];1!==u.length||a||(a=u[0][o.name]),a||(a={});let y=0!==Object.keys(o.attrs).length?A({props:o.attrs},a):a,v=(0,i.isValidElement)(y),b=v&&q(o,!0)&&!o.voidElement,k=l&&S(y)&&y.dummy&&!v,x=S(e)&&Object.hasOwnProperty.call(e,o.name);if(w(y)){let e=r.services.interpolator.interpolate(y,p,r.language);t.push(e)}else if(q(y)||b){let e=f(y,o,u);m(y,e,t,d)}else if(k)m(y,g(c,o.children,u),t,d);else if(Number.isNaN(parseFloat(o.name))){if(x){let e=f(y,o,u);m(y,e,t,d,o.voidElement)}else if(n.transSupportBasicHtmlNodes&&s.indexOf(o.name)>-1){if(o.voidElement)t.push((0,i.createElement)(o.name,{key:`${o.name}-${d}`}));else{let e=g(c,o.children,u);t.push((0,i.createElement)(o.name,{key:`${o.name}-${d}`},e))}}else if(o.voidElement)t.push(`<${o.name} />`);else{let e=g(c,o.children,u);t.push(`<${o.name}>${e}</${o.name}>`)}}else if(S(y)&&!v){let e=o.children[0]?h:null;e&&t.push(e)}else m(y,h,t,d,1!==o.children.length||!h)}else if("text"===o.type){let e=n.transWrapTextNodes,s=a?n.unescape(r.services.interpolator.interpolate(o.content,p,r.language)):r.services.interpolator.interpolate(o.content,p,r.language);e?t.push((0,i.createElement)(e,{key:`${o.name}-${d}`},s)):t.push(s)}return t},[])};return I(g([{dummy:!0,children:e||[]}],d,C(e||[]))[0])},j=(e,t,r)=>{let n=e.key||t,o=(0,i.cloneElement)(e,{key:n});return!o.props||!o.props.children||0>r.indexOf(`${t}/>`)&&0>r.indexOf(`${t} />`)?o:(0,i.createElement)(function(){return(0,i.createElement)(i.Fragment,null,o)},{key:n})},N=(e,t)=>e.map((e,r)=>j(e,r,t)),F=(e,t)=>{let r={};return Object.keys(e).forEach(n=>{Object.assign(r,{[n]:j(e[n],n,t)})}),r},$=(e,t,r,n)=>e?Array.isArray(e)?N(e,t):S(e)?F(e,t):(m(r,"TRANS_INVALID_COMPONENTS",'<Trans /> "components" prop expects an object or array',{i18nKey:n}),null):null,M=(0,i.createContext)();class L{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function G({children:e,count:t,parent:r,i18nKey:n,context:o,tOptions:a={},values:s,defaults:l,components:u,ns:c,i18n:d,t:h,shouldUnescape:p,...f}){let{i18n:g,defaultNS:y}=(0,i.useContext)(M)||{},v=d||g||O(),b=h||v?.t.bind(v);return function({children:e,count:t,parent:r,i18nKey:n,context:o,tOptions:a={},values:s,defaults:l,components:u,ns:c,i18n:d,t:h,shouldUnescape:p,...f}){let g=d||O();if(!g)return m(g,"NO_I18NEXT_INSTANCE","Trans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:n}),e;let y=h||g.t.bind(g)||(e=>e),v={...T(),...g.options?.react},b=c||y.ns||g.options?.defaultNS;b=w(b)?[b]:b||["translation"];let S=D(e,v,g,n),k=l||S||v.transEmptyNodeValue||n,{hashTransKey:x}=v,P=n||(x?x(S||k):S||k);g.options?.interpolation?.defaultVariables&&(s=s&&Object.keys(s).length>0?{...s,...g.options.interpolation.defaultVariables}:{...g.options.interpolation.defaultVariables});let E=!s&&(void 0===t||g.options?.interpolation?.alwaysFormat)&&e?{interpolation:{...a.interpolation,prefix:"#$?",suffix:"?$#"}}:a.interpolation,q={...a,context:o||a.context,count:t,...s,...E,defaultValue:k,ns:b},I=P?y(P,q):k,_=R($(u,I,g,n)||e,I,g,v,q,p),C=r??v.defaultTransParent;return C?(0,i.createElement)(C,f,_):_}({children:e,count:t,parent:r,i18nKey:n,context:o,tOptions:a,values:s,defaults:l,components:u,ns:c||b?.ns||y||v?.options?.defaultNS,i18n:v,t:h,shouldUnescape:p,...f})}let z=(e,t)=>{let r=(0,i.useRef)();return(0,i.useEffect)(()=>{r.current=t?r.current:e},[e,t]),r.current},U=(e,t,r,n)=>e.getFixedT(t,r,n),B=(e,t,r,n)=>(0,i.useCallback)(U(e,t,r,n),[e,t,r,n]),V=(e,t={})=>{let{i18n:r}=t,{i18n:n,defaultNS:o}=(0,i.useContext)(M)||{},a=r||n||O();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new L),!a){m(a,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");let e=(e,t)=>w(t)?t:S(t)&&w(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}a.options.react?.wait&&m(a,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");let s={...T(),...a.options.react,...t},{useSuspense:l,keyPrefix:u}=s,c=e||o||a.options?.defaultNS;c=w(c)?[c]:c||["translation"],a.reportNamespaces.addUsedNamespaces?.(c);let d=(a.isInitialized||a.initializedStoreOnce)&&c.every(e=>b(e,a,s)),h=B(a,t.lng||null,"fallback"===s.nsMode?c:c[0],u),p=()=>h,f=()=>U(a,t.lng||null,"fallback"===s.nsMode?c:c[0],u),[g,k]=(0,i.useState)(p),x=c.join();t.lng&&(x=`${t.lng}${x}`);let P=z(x),E=(0,i.useRef)(!0);(0,i.useEffect)(()=>{let{bindI18n:e,bindI18nStore:r}=s;E.current=!0,d||l||(t.lng?v(a,t.lng,c,()=>{E.current&&k(f)}):y(a,c,()=>{E.current&&k(f)})),d&&P&&P!==x&&E.current&&k(f);let n=()=>{E.current&&k(f)};return e&&a?.on(e,n),r&&a?.store.on(r,n),()=>{E.current=!1,a&&e?.split(" ").forEach(e=>a.off(e,n)),r&&a&&r.split(" ").forEach(e=>a.store.off(e,n))}},[a,x]),(0,i.useEffect)(()=>{E.current&&d&&k(p)},[a,u,d]);let q=[g,a,d];if(q.t=g,q.i18n=a,q.ready=d,d||!d&&!l)return q;throw new Promise(e=>{t.lng?v(a,t.lng,c,()=>e()):y(a,c,()=>e())})};function W({i18n:e,defaultNS:t,children:r}){let n=(0,i.useMemo)(()=>({i18n:e,defaultNS:t}),[e,t]);return(0,i.createElement)(M.Provider,{value:n},r)}var H=r(7896);function Q(e){return(Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Z(e,t,r){var n;return(n=function(e,t){if("object"!=Q(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Q(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==Q(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var J=r(73463),K=r.n(J);function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function X(e,t){if(e){if("string"==typeof e)return Y(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Y(e,t):void 0}}function ee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||X(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var et=r(31461);function er(e,t){if(null==e)return{};var r,n,i=(0,et.Z)(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.includes(r)||({}).propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var en={defaultNS:"common",errorStackTraceLimit:0,i18n:{defaultLocale:"en",locales:["en"]},get initImmediate(){return"undefined"!=typeof window},get initAsync(){return"undefined"!=typeof window},interpolation:{escapeValue:!1},load:"currentOnly",localeExtension:"json",localePath:"./public/locales",localeStructure:"{{lng}}/{{ns}}",react:{useSuspense:!1},reloadOnPrerender:!1,serializeConfig:!0,use:[]},ei="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,eo=["i18n"],ea=["i18n"];function es(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function el(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?es(Object(r),!0).forEach(function(t){Z(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):es(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var eu=["backend","detection"],ec=function(e){if("string"!=typeof(null==e?void 0:e.lng))throw Error("config.lng was not passed into createConfig");var t,r,n,i=e.i18n,o=er(e,eo),a=en.i18n,s=el(el(el(el({},er(en,ea)),o),a),i),l=s.defaultNS,u=s.lng,c=s.localeExtension,d=s.localePath,h=s.nonExplicitSupportedLngs,p=s.locales.filter(function(e){return"default"!==e});if("cimode"===u)return s;if(void 0===s.fallbackLng&&(s.fallbackLng=s.defaultLocale,"default"===s.fallbackLng)){var f=ee(p,1);s.fallbackLng=f[0]}var m=null==e||null===(t=e.interpolation)||void 0===t?void 0:t.prefix,g=null==e||null===(r=e.interpolation)||void 0===r?void 0:r.suffix,y=null!=m?m:"{{",v=null!=g?g:"}}";"string"!=typeof(null==e?void 0:e.localeStructure)&&(m||g)&&(s.localeStructure="".concat(y,"lng").concat(v,"/").concat(y,"ns").concat(v));var b=s.fallbackLng,w=s.localeStructure;if(h){var S=function(e,t){var r=ee(t.split("-"),1)[0];return e[t]=[r],e};if("string"==typeof b)s.fallbackLng=s.locales.filter(function(e){return e.includes("-")}).reduce(S,{default:[b]});else if(Array.isArray(b))s.fallbackLng=s.locales.filter(function(e){return e.includes("-")}).reduce(S,{default:b});else if("object"===Q(b))s.fallbackLng=Object.entries(s.fallbackLng).reduce(function(e,t){var r=ee(t,2),n=r[0],i=r[1];return e[n]=n.includes("-")?Array.from(new Set([n.split("-")[0]].concat(function(e){if(Array.isArray(e))return Y(e)}(i)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||X(i)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))):i,e},b);else if("function"==typeof b)throw Error("If nonExplicitSupportedLngs is true, no functions are allowed for fallbackLng")}return(null==e||null===(n=e.use)||void 0===n?void 0:n.some(function(e){return"backend"===e.type}))||("string"==typeof d?s.backend={addPath:"".concat(d,"/").concat(w,".missing.").concat(c),loadPath:"".concat(d,"/").concat(w,".").concat(c)}:"function"!=typeof d||(s.backend={addPath:function(e,t){return d(e,t,!0)},loadPath:function(e,t){return d(e,t,!1)}})),"string"==typeof s.ns||Array.isArray(s.ns)||(s.ns=[l]),eu.forEach(function(t){e[t]&&(s[t]=el(el({},s[t]),e[t]))}),s};let ed=e=>"string"==typeof e,eh=()=>{let e,t;let r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r},ep=e=>null==e?"":""+e,ef=(e,t,r)=>{e.forEach(e=>{t[e]&&(r[e]=t[e])})},em=/###/g,eg=e=>e&&e.indexOf("###")>-1?e.replace(em,"."):e,ey=e=>!e||ed(e),ev=(e,t,r)=>{let n=ed(t)?t.split("."):t,i=0;for(;i<n.length-1;){if(ey(e))return{};let t=eg(n[i]);!e[t]&&r&&(e[t]=new r),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return ey(e)?{}:{obj:e,k:eg(n[i])}},eb=(e,t,r)=>{let{obj:n,k:i}=ev(e,t,Object);if(void 0!==n||1===t.length){n[i]=r;return}let o=t[t.length-1],a=t.slice(0,t.length-1),s=ev(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,(s=ev(e,a=a.slice(0,a.length-1),Object))&&s.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=r},ew=(e,t,r,n)=>{let{obj:i,k:o}=ev(e,t,Object);i[o]=i[o]||[],i[o].push(r)},eS=(e,t)=>{let{obj:r,k:n}=ev(e,t);if(r)return r[n]},ek=(e,t,r)=>{let n=eS(e,r);return void 0!==n?n:eS(t,r)},ex=(e,t,r)=>{for(let n in t)"__proto__"!==n&&"constructor"!==n&&(n in e?ed(e[n])||e[n]instanceof String||ed(t[n])||t[n]instanceof String?r&&(e[n]=t[n]):ex(e[n],t[n],r):e[n]=t[n]);return e},eP=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var eE={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};let eT=e=>ed(e)?e.replace(/[&<>"'\/]/g,e=>eE[e]):e;class eO{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}let eq=[" ",",","?","!",";"],eI=new eO(20),e_=(e,t,r)=>{t=t||"",r=r||"";let n=eq.filter(e=>0>t.indexOf(e)&&0>r.indexOf(e));if(0===n.length)return!0;let i=eI.getRegExp(`(${n.map(e=>"?"===e?"\\?":e).join("|")})`),o=!i.test(e);if(!o){let t=e.indexOf(r);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o},eC=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];let n=t.split(r),i=e;for(let e=0;e<n.length;){let t;if(!i||"object"!=typeof i)return;let o="";for(let a=e;a<n.length;++a)if(a!==e&&(o+=r),o+=n[a],void 0!==(t=i[o])){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<n.length-1)continue;e+=a-e+1;break}i=t}return i},eA=e=>e&&e.replace("_","-"),eD={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class eR{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||eD,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,r,n){return n&&!this.debug?null:(ed(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new eR(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new eR(this.logger,e)}}var ej=new eR;class eN{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let r=this.observers[e].get(t)||0;this.observers[e].set(t,r+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this.observers[e]&&Array.from(this.observers[e].entries()).forEach(e=>{let[t,n]=e;for(let e=0;e<n;e++)t(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(t=>{let[n,i]=t;for(let t=0;t<i;t++)n.apply(n,[e,...r])})}}class eF extends eN{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r){let n,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,a=void 0!==i.ignoreJSONStructure?i.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?n=e.split("."):(n=[e,t],r&&(Array.isArray(r)?n.push(...r):ed(r)&&o?n.push(...r.split(o)):n.push(r)));let s=eS(this.data,n);return(!s&&!t&&!r&&e.indexOf(".")>-1&&(e=n[0],t=n[1],r=n.slice(2).join(".")),!s&&a&&ed(r))?eC(this.data&&this.data[e]&&this.data[e][t],r,o):s}addResource(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,a=[e,t];r&&(a=a.concat(o?r.split(o):r)),e.indexOf(".")>-1&&(a=e.split("."),n=t,t=a[1]),this.addNamespaces(t),eb(this.data,a,n),i.silent||this.emit("added",e,t,r,n)}addResources(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(let n in r)(ed(r[n])||Array.isArray(r[n]))&&this.addResource(e,t,n,r[n],{silent:!0});n.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,n,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),n=r,r=t,t=a[1]),this.addNamespaces(t);let s=eS(this.data,a)||{};o.skipCopy||(r=JSON.parse(JSON.stringify(r))),n?ex(s,r,i):s={...s,...r},eb(this.data,a,s),o.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var e$={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,i){return e.forEach(e=>{this.processors[e]&&(t=this.processors[e].process(t,r,n,i))}),t}};let eM={};class eL extends eN{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),ef(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=ej.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;let r=this.resolve(e,t);return r&&void 0!==r.res}extractFromKey(e,t){let r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");let n=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS||[],o=r&&e.indexOf(r)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!e_(e,r,n);if(o&&!a){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:ed(i)?[i]:i};let o=e.split(r);(r!==n||r===n&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(n)}return{key:e,namespaces:ed(i)?[i]:i}}translate(e,t,r){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);let n=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:o,namespaces:a}=this.extractFromKey(e[e.length-1],t),s=a[a.length-1],l=t.lng||this.language,u=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(u){let e=t.nsSeparator||this.options.nsSeparator;return n?{res:`${s}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:`${s}${e}${o}`}return n?{res:o,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:o}let c=this.resolve(e,t),d=c&&c.res,h=c&&c.usedKey||o,p=c&&c.exactUsedKey||o,f=Object.prototype.toString.apply(d),m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,g=!this.i18nFormat||this.i18nFormat.handleAsObject,y=!ed(d)&&"boolean"!=typeof d&&"number"!=typeof d;if(g&&d&&y&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(f)&&!(ed(m)&&Array.isArray(d))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,d,{...t,ns:a}):`key '${o} (${this.language})' returned an object instead of string.`;return n?(c.res=e,c.usedParams=this.getUsedParamsDetails(t),c):e}if(i){let e=Array.isArray(d),r=e?[]:{},n=e?p:h;for(let e in d)if(Object.prototype.hasOwnProperty.call(d,e)){let o=`${n}${i}${e}`;r[e]=this.translate(o,{...t,joinArrays:!1,ns:a}),r[e]===o&&(r[e]=d[e])}d=r}}else if(g&&ed(m)&&Array.isArray(d))(d=d.join(m))&&(d=this.extendTranslation(d,e,t,r));else{let n=!1,a=!1,u=void 0!==t.count&&!ed(t.count),h=eL.hasDefaultValue(t),p=u?this.pluralResolver.getSuffix(l,t.count,t):"",f=t.ordinal&&u?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",m=u&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),g=m&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${p}`]||t[`defaultValue${f}`]||t.defaultValue;!this.isValidLookup(d)&&h&&(n=!0,d=g),this.isValidLookup(d)||(a=!0,d=o);let y=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:d,v=h&&g!==d&&this.options.updateMissing;if(a||n||v){if(this.logger.log(v?"updateKey":"missingKey",l,s,o,v?g:d),i){let e=this.resolve(o,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],r=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&r&&r[0])for(let t=0;t<r.length;t++)e.push(r[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);let n=(e,r,n)=>{let i=h&&n!==d?n:y;this.options.missingKeyHandler?this.options.missingKeyHandler(e,s,r,i,v,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,s,r,i,v,t),this.emit("missingKey",e,s,r,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&u?e.forEach(e=>{let r=this.pluralResolver.getSuffixes(e,t);m&&t[`defaultValue${this.options.pluralSeparator}zero`]&&0>r.indexOf(`${this.options.pluralSeparator}zero`)&&r.push(`${this.options.pluralSeparator}zero`),r.forEach(r=>{n([e],o+r,t[`defaultValue${r}`]||g)})}):n(e,o,g))}d=this.extendTranslation(d,e,t,c,r),a&&d===o&&this.options.appendNamespaceToMissingKey&&(d=`${s}:${o}`),(a||n)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${o}`:o,n?d:void 0):this.options.parseMissingKeyHandler(d))}return n?(c.res=d,c.usedParams=this.getUsedParamsDetails(t),c):d}extendTranslation(e,t,r,n,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!r.skipInterpolation){let a;r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});let s=ed(e)&&(r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){let t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let l=r.replace&&!ed(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,r.lng||this.language||n.usedLng,r),s){let t=e.match(this.interpolator.nestingRegexp);a<(t&&t.length)&&(r.nest=!1)}!r.lng&&"v1"!==this.options.compatibilityAPI&&n&&n.res&&(r.lng=this.language||n.usedLng),!1!==r.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,n=Array(e),a=0;a<e;a++)n[a]=arguments[a];return i&&i[0]===n[0]&&!r.context?(o.logger.warn(`It seems you are nesting recursively key: ${n[0]} in key: ${t[0]}`),null):o.translate(...n,t)},r)),r.interpolation&&this.interpolator.reset()}let a=r.postProcess||this.options.postProcess,s=ed(a)?[a]:a;return null!=e&&s&&s.length&&!1!==r.applyPostProcessor&&(e=e$.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...n,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e){let t,r,n,i,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ed(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(t))return;let s=this.extractFromKey(e,a),l=s.key;r=l;let u=s.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));let c=void 0!==a.count&&!ed(a.count),d=c&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),h=void 0!==a.context&&(ed(a.context)||"number"==typeof a.context)&&""!==a.context,p=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);u.forEach(e=>{this.isValidLookup(t)||(o=e,!eM[`${p[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(eM[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(r=>{let o;if(this.isValidLookup(t))return;i=r;let s=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(s,l,r,e,a);else{let e;c&&(e=this.pluralResolver.getSuffix(r,a.count,a));let t=`${this.options.pluralSeparator}zero`,n=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(s.push(l+e),a.ordinal&&0===e.indexOf(n)&&s.push(l+e.replace(n,this.options.pluralSeparator)),d&&s.push(l+t)),h){let r=`${l}${this.options.contextSeparator}${a.context}`;s.push(r),c&&(s.push(r+e),a.ordinal&&0===e.indexOf(n)&&s.push(r+e.replace(n,this.options.pluralSeparator)),d&&s.push(r+t))}}for(;o=s.pop();)this.isValidLookup(t)||(n=o,t=this.getResource(r,e,o,a))}))})}),{res:t,usedKey:r,exactUsedKey:n,usedLng:i,usedNS:o}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,r,n):this.resourceStore.getResource(e,t,r,n)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.replace&&!ed(e.replace),r=t?e.replace:e;if(t&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!t)for(let e of(r={...r},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete r[e];return r}static hasDefaultValue(e){let t="defaultValue";for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&void 0!==e[r])return!0;return!1}}let eG=e=>e.charAt(0).toUpperCase()+e.slice(1);class ez{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ej.create("languageUtils")}getScriptPartFromCode(e){if(!(e=eA(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=eA(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(ed(e)&&e.indexOf("-")>-1){if("undefined"!=typeof Intl&&void 0!==Intl.getCanonicalLocales)try{let t=Intl.getCanonicalLocales(e)[0];if(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)return t}catch(e){}let t=["hans","hant","latn","cyrl","cans","mong","arab"],r=e.split("-");return this.options.lowerCaseLng?r=r.map(e=>e.toLowerCase()):2===r.length?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=eG(r[1].toLowerCase()))):3===r.length&&(r[0]=r[0].toLowerCase(),2===r[1].length&&(r[1]=r[1].toUpperCase()),"sgn"!==r[0]&&2===r[2].length&&(r[2]=r[2].toUpperCase()),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=eG(r[1].toLowerCase())),t.indexOf(r[2].toLowerCase())>-1&&(r[2]=eG(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let r=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(r))&&(t=r)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>{if(e===r||!(0>e.indexOf("-")&&0>r.indexOf("-"))&&(e.indexOf("-")>0&&0>r.indexOf("-")&&e.substring(0,e.indexOf("-"))===r||0===e.indexOf(r)&&r.length>1))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),ed(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){let r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),n=[],i=e=>{e&&(this.isSupportedCode(e)?n.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return ed(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):ed(e)&&i(this.formatLanguageCode(e)),r.forEach(e=>{0>n.indexOf(e)&&i(this.formatLanguageCode(e))}),n}}let eU=[{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}],eB={1:e=>Number(e>1),2:e=>Number(1!=e),3:e=>0,4:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),5:e=>Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5),6:e=>Number(1==e?0:e>=2&&e<=4?1:2),7:e=>Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),8:e=>Number(1==e?0:2==e?1:8!=e&&11!=e?2:3),9:e=>Number(e>=2),10:e=>Number(1==e?0:2==e?1:e<7?2:e<11?3:4),11:e=>Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3),12:e=>Number(e%10!=1||e%100==11),13:e=>Number(0!==e),14:e=>Number(1==e?0:2==e?1:3==e?2:3),15:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2),16:e=>Number(e%10==1&&e%100!=11?0:0!==e?1:2),17:e=>Number(1==e||e%10==1&&e%100!=11?0:1),18:e=>Number(0==e?0:1==e?1:2),19:e=>Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3),20:e=>Number(1==e?0:0==e||e%100>0&&e%100<20?1:2),21:e=>Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0),22:e=>Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)},eV=["v1","v2","v3"],eW=["v4"],eH={zero:0,one:1,two:2,few:3,many:4,other:5},eQ=()=>{let e={};return eU.forEach(t=>{t.lngs.forEach(r=>{e[r]={numbers:t.nr,plurals:eB[t.fc]}})}),e};class eZ{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=ej.create("pluralResolver"),(!this.options.compatibilityJSON||eW.includes(this.options.compatibilityJSON))&&("undefined"==typeof Intl||!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=eQ(),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi()){let r;let n=eA("dev"===e?"en":e),i=t.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:n,type:i});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];try{r=new Intl.PluralRules(n,{type:i})}catch(i){if(!e.match(/-|_/))return;let n=this.languageUtils.getLanguagePartFromCode(e);r=this.getRule(n,t)}return this.pluralRulesCache[o]=r,r}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,t);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,r).map(e=>`${t}${e}`)}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,t);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((e,t)=>eH[e]-eH[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):r.numbers.map(r=>this.getSuffix(e,r,t)):[]}getSuffix(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this.getRule(e,r);return n?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:this.getSuffixRetroCompatible(n,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){let r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),n=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===n?n="plural":1===n&&(n=""));let i=()=>this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString();return"v1"===this.options.compatibilityJSON?1===n?"":"number"==typeof n?`_plural_${n.toString()}`:i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!eV.includes(this.options.compatibilityJSON)}}let eJ=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4)||void 0===arguments[4]||arguments[4],o=ek(e,t,r);return!o&&i&&ed(r)&&void 0===(o=eC(e,r,n))&&(o=eC(t,r,n)),o},eK=e=>e.replace(/\$/g,"$$$$");class eY{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=ej.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:r,useRawValueToEscape:n,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:s,formatSeparator:l,unescapeSuffix:u,unescapePrefix:c,nestingPrefix:d,nestingPrefixEscaped:h,nestingSuffix:p,nestingSuffixEscaped:f,nestingOptionsSeparator:m,maxReplaces:g,alwaysFormat:y}=e.interpolation;this.escape=void 0!==t?t:eT,this.escapeValue=void 0===r||r,this.useRawValueToEscape=void 0!==n&&n,this.prefix=i?eP(i):o||"{{",this.suffix=a?eP(a):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=d?eP(d):h||eP("$t("),this.nestingSuffix=p?eP(p):f||eP(")"),this.nestingOptionsSeparator=m||",",this.maxReplaces=g||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,r,n){let i,o,a;let s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=e=>{if(0>e.indexOf(this.formatSeparator)){let i=eJ(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,r,{...n,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),o=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(eJ(t,s,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,r,{...n,...t,interpolationkey:o})};this.resetRegExp();let u=n&&n.missingInterpolationHandler||this.options.missingInterpolationHandler,c=n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>eK(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?eK(this.escape(e)):eK(e)}].forEach(t=>{for(a=0;i=t.regex.exec(e);){let r=i[1].trim();if(void 0===(o=l(r))){if("function"==typeof u){let t=u(e,i,n);o=ed(t)?t:""}else if(n&&Object.prototype.hasOwnProperty.call(n,r))o="";else if(c){o=i[0];continue}else this.logger.warn(`missed to pass in variable ${r} for interpolating ${e}`),o=""}else ed(o)||this.useRawValueToEscape||(o=ep(o));let s=t.safeValue(o);if(e=e.replace(i[0],s),c?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,++a>=this.maxReplaces)break}}),e}nest(e,t){let r,n,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=(e,t)=>{let r=this.nestingOptionsSeparator;if(0>e.indexOf(r))return e;let n=e.split(RegExp(`${r}[ ]*{`)),o=`{${n[1]}`;e=n[0];let a=(o=this.interpolate(o,i)).match(/'/g),s=o.match(/"/g);(a&&a.length%2==0&&!s||s.length%2!=0)&&(o=o.replace(/'/g,'"'));try{i=JSON.parse(o),t&&(i={...t,...i})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${r}${o}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];(i=(i={...o}).replace&&!ed(i.replace)?i.replace:i).applyPostProcessor=!1,delete i.defaultValue;let l=!1;if(-1!==r[0].indexOf(this.formatSeparator)&&!/{.*}/.test(r[1])){let e=r[1].split(this.formatSeparator).map(e=>e.trim());r[1]=e.shift(),s=e,l=!0}if((n=t(a.call(this,r[1].trim(),i),i))&&r[0]===e&&!ed(n))return n;ed(n)||(n=ep(n)),n||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),n=""),l&&(n=s.reduce((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:r[1].trim()}),n.trim())),e=e.replace(r[0],n),this.regexp.lastIndex=0}return e}}let eX=e=>{let t=e.toLowerCase().trim(),r={};if(e.indexOf("(")>-1){let n=e.split("(");t=n[0].toLowerCase().trim();let i=n[1].substring(0,n[1].length-1);"currency"===t&&0>i.indexOf(":")?r.currency||(r.currency=i.trim()):"relativetime"===t&&0>i.indexOf(":")?r.range||(r.range=i.trim()):i.split(";").forEach(e=>{if(e){let[t,...n]=e.split(":"),i=n.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();r[o]||(r[o]=i),"false"===i&&(r[o]=!1),"true"===i&&(r[o]=!0),isNaN(i)||(r[o]=parseInt(i,10))}})}return{formatName:t,formatOptions:r}},e0=e=>{let t={};return(r,n,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});let a=n+JSON.stringify(o),s=t[a];return s||(s=e(eA(n),i),t[a]=s),s(r)}};class e1{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=ej.create("formatter"),this.options=e,this.formats={number:e0((e,t)=>{let r=new Intl.NumberFormat(e,{...t});return e=>r.format(e)}),currency:e0((e,t)=>{let r=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>r.format(e)}),datetime:e0((e,t)=>{let r=new Intl.DateTimeFormat(e,{...t});return e=>r.format(e)}),relativetime:e0((e,t)=>{let r=new Intl.RelativeTimeFormat(e,{...t});return e=>r.format(e,t.range||"day")}),list:e0((e,t)=>{let r=new Intl.ListFormat(e,{...t});return e=>r.format(e)})},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=e0(t)}format(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&0>i[0].indexOf(")")&&i.find(e=>e.indexOf(")")>-1)){let e=i.findIndex(e=>e.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:o}=eX(t);if(this.formats[i]){let t=e;try{let a=n&&n.formatParams&&n.formatParams[n.interpolationkey]||{},s=a.locale||a.lng||n.locale||n.lng||r;t=this.formats[i](e,s,{...o,...n,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}}let e2=(e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)};class e5 extends eN{constructor(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=n,this.logger=ej.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,n.backend,n)}queueLoad(e,t,r,n){let i={},o={},a={},s={};return e.forEach(e=>{let n=!0;t.forEach(t=>{let a=`${e}|${t}`;!r.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,n=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))}),n||(a[e]=!0)}),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,r){let n=e.split("|"),i=n[0],o=n[1];t&&this.emit("failedLoading",i,o,t),!t&&r&&this.store.addResourceBundle(i,o,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&r&&(this.state[e]=0);let a={};this.queue.forEach(r=>{ew(r.loaded,[i],o),e2(r,e),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach(e=>{a[e]||(a[e]={});let t=r.loaded[e];t.length&&t.forEach(t=>{void 0===a[e][t]&&(a[e][t]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:r,tried:n,wait:i,callback:o});return}this.readingCalls++;let a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(a&&s&&n<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,r,n+1,2*i,o)},i);return}o(a,s)},s=this.backend[r].bind(this.backend);if(2===s.length){try{let r=s(e,t);r&&"function"==typeof r.then?r.then(e=>a(null,e)).catch(a):a(null,r)}catch(e){a(e)}return}return s(e,t,a)}prepareLoading(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=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."),n&&n();ed(e)&&(e=this.languageUtils.toResolveHierarchy(e)),ed(t)&&(t=[t]);let i=this.queueLoad(e,t,r,n);if(!i.toLoad.length)return i.pending.length||n(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),n=r[0],i=r[1];this.read(n,i,"read",void 0,void 0,(r,o)=>{r&&this.logger.warn(`${t}loading namespace ${i} for language ${n} failed`,r),!r&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${n}`,o),this.loaded(e,r,o)})}saveMissing(e,t,r,n,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(null!=r&&""!==r){if(this.backend&&this.backend.create){let s={...o,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;(i=5===l.length?l(e,t,r,n,s):l(e,t,r,n))&&"function"==typeof i.then?i.then(e=>a(null,e)).catch(a):a(null,i)}catch(e){a(e)}else l(e,t,r,n,a,s)}e&&e[0]&&this.store.addResource(e[0],t,r,n)}}}let e3=()=>({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:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),ed(e[1])&&(t.defaultValue=e[1]),ed(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let r=e[3]||e[2];Object.keys(r).forEach(e=>{t[e]=r[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),e4=e=>(ed(e.ns)&&(e.ns=[e.ns]),ed(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),ed(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),e6=()=>{},e8=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})};class e7 extends eN{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=e4(e),this.services={},this.logger=ej,this.modules={external:[]},e8(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(r=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&(ed(t.ns)?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));let n=e3();this.options={...n,...this.options,...e4(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...n.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);let i=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;this.modules.logger?ej.init(i(this.modules.logger),this.options):ej.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=e1);let r=new ez(this.options);this.store=new eF(this.options.resources,this.options);let o=this.services;o.logger=ej,o.resourceStore=this.store,o.languageUtils=r,o.pluralResolver=new eZ(r,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),t&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(o.formatter=i(t),o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new eY(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new e5(i(this.modules.backend),o.resourceStore,o,this.options),o.backendConnector.on("*",function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];e.emit(t,...n)}),this.modules.languageDetector&&(o.languageDetector=i(this.modules.languageDetector),o.languageDetector.init&&o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=i(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new eL(this.services,this.options),this.translator.on("*",function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];e.emit(t,...n)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,r||(r=e6),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});let o=eh(),a=()=>{let e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(t),r(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?a():setTimeout(a,0),o}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e6,r=t,n=ed(e)?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return r();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};n?t(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload&&this.options.preload.forEach(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),r(e)})}else r(null)}reloadResources(e,t,r){let n=eh();return"function"==typeof e&&(r=e,e=void 0),"function"==typeof t&&(r=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),r||(r=e6),this.services.backendConnector.reload(e,t,e=>{n.resolve(),r(e)}),n}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&e$.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var r=this;this.isLanguageChangingTo=e;let n=eh();this.emit("languageChanging",e);let i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(e,o)=>{o?(i(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,n.resolve(function(){return r.t(...arguments)}),t&&t(e,function(){return r.t(...arguments)})},a=t=>{e||t||!this.services.languageDetector||(t=[]);let r=ed(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);r&&(this.language||i(r),this.translator.language||this.translator.changeLanguage(r),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(r)),this.loadResources(r,e=>{o(e,r)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),n}getFixedT(e,t,r){var n=this;let i=function(e,t){let o,a;if("object"!=typeof t){for(var s=arguments.length,l=Array(s>2?s-2:0),u=2;u<s;u++)l[u-2]=arguments[u];o=n.options.overloadTranslationOptionHandler([e,t].concat(l))}else o={...t};o.lng=o.lng||i.lng,o.lngs=o.lngs||i.lngs,o.ns=o.ns||i.ns,""!==o.keyPrefix&&(o.keyPrefix=o.keyPrefix||r||i.keyPrefix);let c=n.options.keySeparator||".";return a=o.keyPrefix&&Array.isArray(e)?e.map(e=>`${o.keyPrefix}${c}${e}`):o.keyPrefix?`${o.keyPrefix}${c}${e}`:e,n.t(a,o)};return ed(e)?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=r,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?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;let r=t.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;let o=(e,t)=>{let r=this.services.backendConnector.state[`${e}|${t}`];return -1===r||0===r||2===r};if(t.precheck){let e=t.precheck(this,o);if(void 0!==e)return e}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(r,e)&&(!n||o(i,e)))}loadNamespaces(e,t){let r=eh();return this.options.ns?(ed(e)&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){let r=eh();ed(e)&&(e=[e]);let n=this.options.preload||[],i=e.filter(e=>0>n.indexOf(e)&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=n.concat(i),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}dir(e){return(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e)?["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"].indexOf((this.services&&this.services.languageUtils||new ez(e3())).getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}static createInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new e7(e,t)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e6,r=e.forkResourceStore;r&&delete e.forkResourceStore;let n={...this.options,...e,isClone:!0},i=new e7(n);return(void 0!==e.debug||void 0!==e.prefix)&&(i.logger=i.logger.clone(e)),["store","services","language"].forEach(e=>{i[e]=this[e]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r&&(i.store=new eF(this.store.data,n),i.services.resourceStore=i.store),i.translator=new eL(i.services,n),i.translator.on("*",function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];i.emit(e,...r)}),i.init(n,t),i.translator.options=n,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let e9=e7.createInstance();e9.createInstance=e7.createInstance,e9.createInstance,e9.dir,e9.init,e9.loadResources,e9.reloadResources,e9.use,e9.changeLanguage,e9.getFixedT,e9.t,e9.exists,e9.setDefaultNamespace,e9.hasLoadedNamespace,e9.loadNamespaces,e9.loadLanguages;var te=function(e){void 0===e.ns&&(e.ns=[]);var t,r,n=e9.createInstance(e);return n.isInitialized?t=Promise.resolve(e9.t):(null==e||null===(r=e.use)||void 0===r||r.forEach(function(e){return n.use(e)}),"function"==typeof e.onPreInitI18next&&e.onPreInitI18next(n),t=n.init(e)),{i18n:n,initPromise:t}},tt=i.createElement;function tr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function tn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tr(Object(r),!0).forEach(function(t){Z(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var ti=function(e,t){if(t&&e.isInitialized)for(var r=0,n=Object.keys(t);r<n.length;r++)for(var i=n[r],o=0,a=Object.keys(t[i]);o<a.length;o++){var s,l=a[o];null!=e&&null!==(s=e.store)&&void 0!==s&&s.data&&e.store.data[i]&&e.store.data[i][l]||e.addResourceBundle(i,l,t[i][l],!0,!0)}},to=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return K()(function(r){var n,o,a=(r.pageProps||{})._nextI18Next,s=null!==(n=null==a?void 0:a.initialLocale)&&void 0!==n?n:null==r||null===(o=r.router)||void 0===o?void 0:o.locale,l=null==a?void 0:a.ns,u=(0,i.useRef)(null),c=(0,i.useMemo)(function(){if(!a&&!t)return null;var e,r=null!=t?t:null==a?void 0:a.userConfig;if(!r)throw Error("appWithTranslation was called without a next-i18next config");if(!(null!=r&&r.i18n))throw Error("appWithTranslation was called without config.i18n");if(!(null!=r&&null!==(e=r.i18n)&&void 0!==e&&e.defaultLocale))throw Error("config.i18n does not include a defaultLocale property");var n=(a||{}).initialI18nStore,i=null!=t&&t.resources?t.resources:n;s||(s=r.i18n.defaultLocale);var o=u.current;return o?ti(o,i):(ti(o=te(tn(tn(tn({},ec(tn(tn({},r),{},{lng:s}))),{},{lng:s},l&&{ns:l}),{},{resources:i})).i18n,i),u.current=o),o},[a,s,l]);return ei(function(){c&&s&&c.changeLanguage(s)},[c,s]),null!==c?tt(W,{i18n:c},tt(e,r)):tt(e,(0,H.Z)({key:s},r))},e)}},55351:function(e,t,r){"use strict";r.d(t,{PB:function(){return m},lX:function(){return f}});var n=r(2784),i=r(97729),o=r.n(i);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function s(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}var l=["keyOverride"],u=["crossOrigin"],c={templateTitle:"",noindex:!1,nofollow:!1,norobots:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},d=function(e,t,r){void 0===t&&(t=[]);var i=void 0===r?{}:r,o=i.defaultWidth,a=i.defaultHeight;return t.reduce(function(t,r,i){return t.push(n.createElement("meta",{key:"og:"+e+":0"+i,property:"og:"+e,content:r.url})),r.alt&&t.push(n.createElement("meta",{key:"og:"+e+":alt0"+i,property:"og:"+e+":alt",content:r.alt})),r.secureUrl&&t.push(n.createElement("meta",{key:"og:"+e+":secure_url0"+i,property:"og:"+e+":secure_url",content:r.secureUrl.toString()})),r.type&&t.push(n.createElement("meta",{key:"og:"+e+":type0"+i,property:"og:"+e+":type",content:r.type.toString()})),r.width?t.push(n.createElement("meta",{key:"og:"+e+":width0"+i,property:"og:"+e+":width",content:r.width.toString()})):o&&t.push(n.createElement("meta",{key:"og:"+e+":width0"+i,property:"og:"+e+":width",content:o.toString()})),r.height?t.push(n.createElement("meta",{key:"og:"+e+":height"+i,property:"og:"+e+":height",content:r.height.toString()})):a&&t.push(n.createElement("meta",{key:"og:"+e+":height"+i,property:"og:"+e+":height",content:a.toString()})),t},[])},h=function(e){var t,r,i,o,h,p=[];e.titleTemplate&&(c.templateTitle=e.titleTemplate);var f="";e.title?(f=e.title,c.templateTitle&&(f=c.templateTitle.replace(/%s/g,function(){return f}))):e.defaultTitle&&(f=e.defaultTitle),f&&p.push(n.createElement("title",{key:"title"},f));var m=void 0===e.noindex?c.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,g=void 0===e.nofollow?c.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,y=e.norobots||c.norobots,v="";if(e.robotsProps){var b=e.robotsProps,w=b.nosnippet,S=b.maxSnippet,k=b.maxImagePreview,x=b.maxVideoPreview,P=b.noarchive,E=b.noimageindex,T=b.notranslate,O=b.unavailableAfter;v=(w?",nosnippet":"")+(S?",max-snippet:"+S:"")+(k?",max-image-preview:"+k:"")+(P?",noarchive":"")+(O?",unavailable_after:"+O:"")+(E?",noimageindex":"")+(x?",max-video-preview:"+x:"")+(T?",notranslate":"")}if(e.norobots&&(c.norobots=!0),m||g?(e.dangerouslySetAllPagesToNoIndex&&(c.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(c.nofollow=!0),p.push(n.createElement("meta",{key:"robots",name:"robots",content:(m?"noindex":"index")+","+(g?"nofollow":"follow")+v}))):(!y||v)&&p.push(n.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+v})),e.description&&p.push(n.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&p.push(n.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&p.push(n.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach(function(e){p.push(n.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&p.push(n.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&p.push(n.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&p.push(n.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&p.push(n.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(t=e.openGraph)&&t.title||f)&&p.push(n.createElement("meta",{key:"og:title",property:"og:title",content:(null==(o=e.openGraph)?void 0:o.title)||f})),(null!=(r=e.openGraph)&&r.description||e.description)&&p.push(n.createElement("meta",{key:"og:description",property:"og:description",content:(null==(h=e.openGraph)?void 0:h.description)||e.description})),e.openGraph){if((e.openGraph.url||e.canonical)&&p.push(n.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var q=e.openGraph.type.toLowerCase();p.push(n.createElement("meta",{key:"og:type",property:"og:type",content:q})),"profile"===q&&e.openGraph.profile?(e.openGraph.profile.firstName&&p.push(n.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&p.push(n.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&p.push(n.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&p.push(n.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===q&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEach(function(e,t){p.push(n.createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))}),e.openGraph.book.isbn&&p.push(n.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&p.push(n.createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEach(function(e,t){p.push(n.createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))})):"article"===q&&e.openGraph.article?(e.openGraph.article.publishedTime&&p.push(n.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&p.push(n.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&p.push(n.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach(function(e,t){p.push(n.createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))}),e.openGraph.article.section&&p.push(n.createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach(function(e,t){p.push(n.createElement("meta",{key:"article:tag:0"+t,property:"article:tag",content:e}))})):("video.movie"===q||"video.episode"===q||"video.tv_show"===q||"video.other"===q)&&e.openGraph.video&&(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach(function(e,t){e.profile&&p.push(n.createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&p.push(n.createElement("meta",{key:"video:actor:role:0"+t,property:"video:actor:role",content:e.role}))}),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach(function(e,t){p.push(n.createElement("meta",{key:"video:director:0"+t,property:"video:director",content:e}))}),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach(function(e,t){p.push(n.createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))}),e.openGraph.video.duration&&p.push(n.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&p.push(n.createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEach(function(e,t){p.push(n.createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))}),e.openGraph.video.series&&p.push(n.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(c.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(c.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&p.push.apply(p,d("image",e.openGraph.images,{defaultWidth:c.defaultOpenGraphImageWidth,defaultHeight:c.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(c.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(c.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&p.push.apply(p,d("video",e.openGraph.videos,{defaultWidth:c.defaultOpenGraphVideoWidth,defaultHeight:c.defaultOpenGraphVideoHeight})),e.openGraph.audio&&p.push.apply(p,d("audio",e.openGraph.audio)),e.openGraph.locale&&p.push(n.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&p.push(n.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&p.push(n.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach(function(e){var t,r,i=e.keyOverride,o=s(e,l);p.push(n.createElement("meta",a({key:"meta:"+(null!=(t=null!=(r=null!=i?i:o.name)?r:o.property)?t:o.httpEquiv)},o)))}),null!=(i=e.additionalLinkTags)&&i.length&&e.additionalLinkTags.forEach(function(e){var t,r=e.crossOrigin,i=s(e,u);p.push(n.createElement("link",a({key:"link"+(null!=(t=i.keyOverride)?t:i.href)+i.rel},i,{crossOrigin:"anonymous"===r||"use-credentials"===r||""===r?r:void 0})))}),p},p=function(e){return n.createElement(o(),null,h(e))},f=function(e){var t=e.title,r=e.titleTemplate,i=e.defaultTitle,o=e.themeColor,a=e.dangerouslySetAllPagesToNoIndex,s=e.dangerouslySetAllPagesToNoFollow,l=e.description,u=e.canonical,c=e.facebook,d=e.openGraph,h=e.additionalMetaTags,f=e.twitter,m=e.defaultOpenGraphImageWidth,g=e.defaultOpenGraphImageHeight,y=e.defaultOpenGraphVideoWidth,v=e.defaultOpenGraphVideoHeight,b=e.mobileAlternate,w=e.languageAlternates,S=e.additionalLinkTags,k=e.robotsProps,x=e.norobots;return n.createElement(p,{title:t,titleTemplate:r,defaultTitle:i,themeColor:o,dangerouslySetAllPagesToNoIndex:void 0!==a&&a,dangerouslySetAllPagesToNoFollow:void 0!==s&&s,description:l,canonical:u,facebook:c,openGraph:d,additionalMetaTags:h,twitter:f,defaultOpenGraphImageWidth:m,defaultOpenGraphImageHeight:g,defaultOpenGraphVideoWidth:y,defaultOpenGraphVideoHeight:v,mobileAlternate:b,languageAlternates:w,additionalLinkTags:S,robotsProps:k,norobots:x})},m=function(e){var t=e.title,r=e.themeColor,i=e.noindex,o=e.nofollow,a=e.robotsProps,s=e.description,l=e.canonical,u=e.openGraph,c=e.facebook,d=e.twitter,h=e.additionalMetaTags,f=e.titleTemplate,m=e.defaultTitle,g=e.mobileAlternate,y=e.languageAlternates,v=e.additionalLinkTags;return n.createElement(n.Fragment,null,n.createElement(p,{title:t,themeColor:r,noindex:i,nofollow:o,robotsProps:a,description:s,canonical:l,facebook:c,openGraph:u,additionalMetaTags:h,twitter:d,titleTemplate:f,defaultTitle:m,mobileAlternate:g,languageAlternates:y,additionalLinkTags:v}))};RegExp("["+Object.keys(Object.freeze({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"})).join("")+"]","g")},86570:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(51464)}])},71771:function(e,t,r){"use strict";r(34406),e.exports={i18n:{defaultLocale:"en",locales:["en"]},localePath:"./public/locales"}},51464:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return C}});var n=r(52903),i=r(6886),o=r.n(i),a=r(67042),s=r.n(a),l=r(97466),u=r.n(l),c=r(55671),d=r(66712),h=r(48790),p=r(97729),f=r.n(p),m=r(45847),g=r.n(m),y=r(15447),v=r(55351),b=r(2784),w=r(8624),S=r(55511),k=r(34824),x=r(13839),P=r(28211),E=r(37396),T=r(54479),O=r(71771),q=r.n(O),I=r(16020);r(47437),r(30008),r(19099);let _=function(e){let{rtl:t,prepend:r=!1}=e;return(0,S.Z)({key:"css",prepend:r,stylisPlugins:!0===t?[k.Ji,x.Z]:[]})}({prepend:!1});var C=(0,y.Jc)(function(e){let{Component:t,pageProps:r,emotionCache:i=_}=e;(0,b.useEffect)(()=>{let e=document.querySelector("#jss-server-side");if(null!=e){var t;null===(t=e.parentElement)||void 0===t||t.removeChild(e)}},[]);let a=(0,I.x)({initialState:r.initialApolloState}),l=["production","prod","prd"].includes("prod");return(0,n.BX)(n.HY,{children:[(0,n.tZ)(u(),{id:"27dd9dfed1918748",dynamic:[o().style.fontFamily,s().style.fontFamily],children:":root{--font-noto-serif:".concat(o().style.fontFamily,";--font-apercu-pro:").concat(s().style.fontFamily,"}")}),(0,n.tZ)(P.Q,{flags:r.flags,children:(0,n.tZ)(c.e,{client:a,children:(0,n.BX)(d.C,{value:i,children:[(0,n.tZ)(v.lX,{titleTemplate:"%s | Jesus Film Project",defaultTitle:"Watch | Jesus Film Project",description:"Free Gospel Video Streaming Library. Watch, learn and share the gospel in over 2000 languages.",dangerouslySetAllPagesToNoFollow:!1===l,dangerouslySetAllPagesToNoIndex:!1===l}),(0,n.BX)(f(),{children:[(0,n.tZ)("meta",{name:"theme-color",content:"#000",className:u().dynamic([["27dd9dfed1918748",[o().style.fontFamily,s().style.fontFamily]]])}),(0,n.tZ)("meta",{name:"viewport",content:"minimum-scale=1, initial-scale=1, width=device-width",className:u().dynamic([["27dd9dfed1918748",[o().style.fontFamily,s().style.fontFamily]]])})]}),(0,n.tZ)(g(),{id:"datadog-rum",children:"\n             (function(h,o,u,n,d) {\n               h=h[d]=h[d]||{q:[],onReady:function(c){h.q.push(c)}}\n               d=o.createElement(u);d.async=1;d.src=n\n               n=o.getElementsByTagName(u)[0];n.parentNode.insertBefore(d,n)\n             })(window,document,'script','https://www.datadoghq-browser-agent.com/us1/v5/datadog-rum.js','DD_RUM')\n             window.DD_RUM.onReady(function() {\n               window.DD_RUM.init({\n                applicationId: '".concat("d11c4af1-16c0-4b0a-a417-fd89e9c01d8e","',\n                clientToken: '").concat("pubc62481357262dc3b0cb3a0aff9f0a780","',\n                site: 'datadoghq.com',\n                service: 'watch',\n                env: '").concat("prod","',\n                version: '").concat("119e3de96f1d42b1ba1694ab5d9f8495a7e37534","',\n                sampleRate: 50,\n                sessionReplaySampleRate: 10,\n                trackInteractions: true,\n                defaultPrivacyLevel: 'mask-user-input'\n               });\n             })\n           ")}),(0,n.tZ)(E.f,{themeName:T.Ix.website,themeMode:T.hY.light,children:(0,n.BX)(w.t,{children:[(0,n.tZ)(h.GoogleTagManager,{gtmId:"GTM-5KK2PTZ"}),(0,n.tZ)(t,{...r,className:u().dynamic([["27dd9dfed1918748",[o().style.fontFamily,s().style.fontFamily]]])+" "+(r&&null!=r.className&&r.className||"")})]})})]})})})]})},q())},16020:function(e,t,r){"use strict";r.d(t,{x:function(){return rF}});var n,i,o,a,s=r(22970),l=r(80996);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function c(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,n.key,n)}}function d(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var h=function(){return"function"==typeof Symbol},p=function(e){return h()&&!!Symbol[e]},f=function(e){return p(e)?Symbol[e]:"@@"+e};h()&&!p("observable")&&(Symbol.observable=Symbol("observable"));var m=f("iterator"),g=f("observable"),y=f("species");function v(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw TypeError(r+" is not a function");return r}}function b(e){var t=e.constructor;return void 0!==t&&null===(t=t[y])&&(t=void 0),void 0!==t?t:q}function w(e){w.log?w.log(e):setTimeout(function(){throw e})}function S(e){Promise.resolve().then(function(){try{e()}catch(e){w(e)}})}function k(e){var t=e._cleanup;if(void 0!==t){if(e._cleanup=void 0,!t)return;try{if("function"==typeof t)t();else{var r=v(t,"unsubscribe");r&&r.call(t)}}catch(e){w(e)}}}function x(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function P(e,t,r){e._state="running";var n=e._observer;try{var i=v(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(x(e),i)i.call(n,r);else throw r;break;case"complete":x(e),i&&i.call(n)}}catch(e){w(e)}"closed"===e._state?k(e):"running"===e._state&&(e._state="ready")}function E(e,t,r){if("closed"!==e._state){if("buffering"===e._state){e._queue.push({type:t,value:r});return}if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:r}],S(function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(P(e,t[r].type,t[r].value),"closed"!==e._state);++r);}}(e)});return}P(e,t,r)}}var T=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new O(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(x(this),k(this))},d(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),O=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){E(this._subscription,"next",e)},t.error=function(e){E(this._subscription,"error",e)},t.complete=function(){E(this._subscription,"complete")},d(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),q=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new T(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(r,n){if("function"!=typeof e){n(TypeError(e+" is not a function"));return}function i(){o.unsubscribe(),r()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){n(e),o.unsubscribe()}},error:n,complete:r})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(b(this))(function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(b(this))(function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=b(this),n=arguments.length>1,i=!1,o=arguments[1],a=o;return new r(function(r){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||n)try{a=e(a,t)}catch(e){return r.error(e)}else a=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=b(this);return new i(function(t){var n,o=0;return function e(a){n=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===r.length?(n=void 0,t.complete()):e(i.from(r[o++]))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=b(this);return new r(function(n){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var o=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[g]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var n=v(t,g);if(n){var i=n.call(t);if(Object(i)!==i)throw TypeError(i+" is not an object");return i instanceof q&&i.constructor===r?i:new r(function(e){return i.subscribe(e)})}if(p("iterator")&&(n=v(t,m)))return new r(function(e){S(function(){if(!e.closed){for(var r,i=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return u(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,void 0)}}(e))){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n.call(t));!(r=i()).done;){var o=r.value;if(e.next(o),e.closed)return}e.complete()}})});if(Array.isArray(t))return new r(function(e){S(function(){if(!e.closed){for(var r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new("function"==typeof this?this:e)(function(e){S(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})})},d(e,null,[{key:y,get:function(){return this}}]),e}();h()&&Object.defineProperty(q,Symbol("extensions"),{value:{symbol:g,hostReportError:w},configurable:!0});var I=r(45931),_=r(20496),C=r(92277),A=r(90781),D=r(95115);let R=Object.freeze({});function j(e,t,r=A.h8){let n,i,o;let a=new Map;for(let e of Object.values(D.h))a.set(e,function(e,t){let r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}(t,e));let s=Array.isArray(e),l=[e],u=-1,c=[],d=e,h=[],p=[];do{var f,m,g;let e;let y=++u===l.length,v=y&&0!==c.length;if(y){if(i=0===p.length?void 0:h[h.length-1],d=o,o=p.pop(),v){if(s){d=d.slice();let e=0;for(let[t,r]of c){let n=t-e;null===r?(d.splice(n,1),e++):d[n]=r}}else for(let[e,t]of(d=Object.defineProperties({},Object.getOwnPropertyDescriptors(d)),c))d[e]=t}u=n.index,l=n.keys,c=n.edits,s=n.inArray,n=n.prev}else if(o){if(null==(d=o[i=s?u:l[u]]))continue;h.push(i)}if(!Array.isArray(d)){(0,A.UG)(d)||(0,_.a)(!1,`Invalid AST Node: ${(0,C.X)(d)}.`);let r=y?null===(f=a.get(d.kind))||void 0===f?void 0:f.leave:null===(m=a.get(d.kind))||void 0===m?void 0:m.enter;if((e=null==r?void 0:r.call(t,d,i,o,h,p))===R)break;if(!1===e){if(!y){h.pop();continue}}else if(void 0!==e&&(c.push([i,e]),!y)){if((0,A.UG)(e))d=e;else{h.pop();continue}}}void 0===e&&v&&c.push([i,d]),y?h.pop():(n={inArray:s,index:u,keys:l,edits:c,prev:n},l=(s=Array.isArray(d))?d:null!==(g=r[d.kind])&&void 0!==g?g:[],u=-1,c=[],o&&p.push(o),o=d)}while(void 0!==n);return 0!==c.length?c[c.length-1][1]:e}function N(e,t){var r=t,n=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,l._K)(85,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&n.push(e)}),void 0===r&&((0,l.kG)(1===n.length,86,n.length),r=n[0].name.value),(0,s.pi)((0,s.pi)({},e),{definitions:(0,s.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function F(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function $(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return(0,l.kG)(n,87,r),n||null;default:return null}}var M=r(50734),L=r(44245),G=r(80892),z=Object.assign(function(e){return JSON.stringify(e,U)},{reset:function(){o=new M.L(L.Q.canonicalStringify||1e3)}});function U(e,t){if(t&&"object"==typeof t){var r=Object.getPrototypeOf(t);if(r===Object.prototype||null===r){var n=Object.keys(t);if(n.every(B))return t;var i=JSON.stringify(n),a=o.get(i);if(!a){n.sort();var s=JSON.stringify(n);a=o.get(s)||n,o.set(i,a),o.set(s,a)}var l=Object.create(r);return a.forEach(function(e){l[e]=t[e]}),l}}return t}function B(e,t,r){return 0===t||r[t-1]<=e}function V(e){return{__ref:String(e)}}function W(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function H(e,t,r,n){if("IntValue"===r.kind||"FloatValue"===r.kind)e[t.value]=Number(r.value);else if("BooleanValue"===r.kind||"StringValue"===r.kind)e[t.value]=r.value;else if("ObjectValue"===r.kind){var i={};r.fields.map(function(e){return H(i,e.name,e.value,n)}),e[t.value]=i}else if("Variable"===r.kind){var o=(n||{})[r.name.value];e[t.value]=o}else if("ListValue"===r.kind)e[t.value]=r.values.map(function(e){var r={};return H(r,t,e,n),r[t.value]});else if("EnumValue"===r.kind)e[t.value]=r.value;else if("NullValue"===r.kind)e[t.value]=null;else throw(0,l._K)(96,t.value,r.kind)}!1!==globalThis.__DEV__&&(0,G.zP)("canonicalStringify",function(){return o.size}),z.reset();var Q=["connection","include","skip","client","rest","export","nonreactive"],Z=z,J=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(!r.connection.filter||!(r.connection.filter.length>0))return r.connection.key;var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach(function(e){i[e]=t[e]}),"".concat(r.connection.key,"(").concat(Z(i),")")}var o=e;if(t){var a=Z(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach(function(e){-1===Q.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(Z(r[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=Z;return Z=e,t}});function K(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){return H(r,e.name,e.value,t)}),r}return null}function Y(e){return e.alias?e.alias.value:e.name.value}function X(e,t,r){for(var n,i=0,o=t.selections;i<o.length;i++){var a=o[i];if(ee(a)){if("__typename"===a.name.value)return e[Y(a)]}else n?n.push(a):n=[a]}if("string"==typeof e.__typename)return e.__typename;if(n)for(var s=0,l=n;s<l.length;s++){var a=l[s],u=X(e,$(a,r).selectionSet,r);if("string"==typeof u)return u}}function ee(e){return"Field"===e.kind}function et(e){(0,l.kG)(e&&"Document"===e.kind,88);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,l._K)(89,e.kind);return e});return(0,l.kG)(t.length<=1,90,t.length),e}function er(e){return et(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function en(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function ei(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function eo(e){var t=er(e);return(0,l.kG)(t&&"query"===t.operation,91),t}function ea(e){(0,l.kG)("Document"===e.kind,92),(0,l.kG)(e.definitions.length<=1,93);var t=e.definitions[0];return(0,l.kG)("FragmentDefinition"===t.kind,94),t}function es(e){et(e);for(var t,r=0,n=e.definitions;r<n.length;r++){var i=n[r];if("OperationDefinition"===i.kind){var o=i.operation;if("query"===o||"mutation"===o||"subscription"===o)return i}"FragmentDefinition"!==i.kind||t||(t=i)}if(t)return t;throw(0,l._K)(95)}function el(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&H(t,e.variable.name,e.defaultValue)}),t}function eu(e,t){return t?t(e):q.of()}function ec(e){return"function"==typeof e?new eh(e):e}function ed(e){return e.request.length<=1}var eh=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return q.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(ec).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var i=ec(r),o=ec(n||new e(eu));return Object.assign(new e(ed(i)&&ed(o)?function(e){return t(e)?i.request(e)||q.of():o.request(e)||q.of()}:function(e,r){return t(e)?i.request(e,r)||q.of():o.request(e,r)||q.of()}),{left:i,right:o})},e.execute=function(e,t){var r,n,i,o;return e.request((i=t.context,(n={variables:(r=function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];if(0>t.indexOf(i))throw(0,l._K)(46,i)}return e}(t)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(n.operationName="string"!=typeof n.query?en(n.query)||void 0:""),o=(0,s.pi)({},i),Object.defineProperty(n,"setContext",{enumerable:!1,value:function(e){o="function"==typeof e?(0,s.pi)((0,s.pi)({},o),e(o)):(0,s.pi)((0,s.pi)({},o),e)}}),Object.defineProperty(n,"getContext",{enumerable:!1,value:function(){return(0,s.pi)({},o)}}),n))||q.of()},e.concat=function(t,r){var n=ec(t);if(ed(n))return!1!==globalThis.__DEV__&&l.kG.warn(38,n),n;var i=ec(r);return Object.assign(new e(ed(i)?function(e){return n.request(e,function(e){return i.request(e)||q.of()})||q.of()}:function(e,t){return n.request(e,function(e){return i.request(e,t)||q.of()})||q.of()}),{left:n,right:i})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(eu)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,l._K)(39)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}();function ep(e,t){var r,n=e.directives;return!n||!n.length||(r=[],n&&n.length&&n.forEach(function(e){var t;if(!("skip"!==(t=e.name.value)&&"include"!==t)){var n=e.arguments,i=e.name.value;(0,l.kG)(n&&1===n.length,79,i);var o=n[0];(0,l.kG)(o.name&&"if"===o.name.value,80,i);var a=o.value;(0,l.kG)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),81,i),r.push({directive:e,ifArgument:o})}}),r).every(function(e){var r=e.directive,n=e.ifArgument,i=!1;return"Variable"===n.value.kind?(i=t&&t[n.value.name.value],(0,l.kG)(void 0!==i,78,r.name.value)):i=n.value.value,"skip"===r.name.value?!i:i})}function ef(e,t,r){var n=new Set(e),i=n.size;return j(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return R}}),r?!n.size:n.size<i}var em=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=(0,l._K)(42,t,e.message);throw n.parseError=e,n}return r},eg=r(43869);function ey(e){var t={next:function(){return e.read()}};return eg.DN&&(t[Symbol.asyncIterator]=function(){return this}),t}var ev=function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},eb=r(45832),ew=r(43056),eS=Object.prototype.hasOwnProperty;function ek(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ex(e)}function ex(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new eE,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var eP=function(e,t,r){return this.merge(e[r],t[r])},eE=function(){function e(e){void 0===e&&(e=eP),this.reconciler=e,this.isObject=I.s,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return(0,I.s)(t)&&(0,I.s)(e)?(Object.keys(t).forEach(function(i){if(eS.call(e,i)){var o=e[i];if(t[i]!==o){var a=r.reconciler.apply(r,(0,s.ev)([e,t,i],n,!1));a!==o&&((e=r.shallowCopyForMerge(e))[i]=a)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,I.s)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,s.pi)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}();function eT(e){return"incremental"in e}function eO(e,t){var r=e,n=new eE;return eT(t)&&(0,ew.O)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}r=n.merge(r,t)}),r}var eq=Object.prototype.hasOwnProperty;function eI(e,t){e.status>=300&&ev(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(r){throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}var e_=function(e){if(!e&&"undefined"==typeof fetch)throw(0,l._K)(40)},eC=r(85717);let eA=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function eD(e){return eR[e.charCodeAt(0)]}let eR=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],ej={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>eN(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=e$("(",eN(e.variableDefinitions,", "),")"),r=eN([e.operation,eN([e.name,t]),eN(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+e$(" = ",r)+e$(" ",eN(n," "))},SelectionSet:{leave:({selections:e})=>eF(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){let o=e$("",e,": ")+t,a=o+e$("(",eN(r,", "),")");return a.length>80&&(a=o+e$("(\n",eM(eN(r,"\n")),"\n)")),eN([a,eN(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+e$(" ",eN(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>eN(["...",e$("on ",e),eN(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${e$("(",eN(r,", "),")")} on ${t} ${e$("",eN(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,eC.LZ)(e):`"${e.replace(eA,eD)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+eN(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+eN(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+e$("(",eN(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>e$("",e,"\n")+eN(["schema",eN(t," "),eF(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>e$("",e,"\n")+eN(["scalar",t,eN(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>e$("",e,"\n")+eN(["type",t,e$("implements ",eN(r," & ")),eN(n," "),eF(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>e$("",e,"\n")+t+(eL(r)?e$("(\n",eM(eN(r,"\n")),"\n)"):e$("(",eN(r,", "),")"))+": "+n+e$(" ",eN(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>e$("",e,"\n")+eN([t+": "+r,e$("= ",n),eN(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>e$("",e,"\n")+eN(["interface",t,e$("implements ",eN(r," & ")),eN(n," "),eF(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>e$("",e,"\n")+eN(["union",t,eN(r," "),e$("= ",eN(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>e$("",e,"\n")+eN(["enum",t,eN(r," "),eF(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>e$("",e,"\n")+eN([t,eN(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>e$("",e,"\n")+eN(["input",t,eN(r," "),eF(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>e$("",e,"\n")+"directive @"+t+(eL(r)?e$("(\n",eM(eN(r,"\n")),"\n)"):e$("(",eN(r,", "),")"))+(n?" repeatable":"")+" on "+eN(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>eN(["extend schema",eN(e," "),eF(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>eN(["extend scalar",e,eN(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>eN(["extend type",e,e$("implements ",eN(t," & ")),eN(r," "),eF(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>eN(["extend interface",e,e$("implements ",eN(t," & ")),eN(r," "),eF(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>eN(["extend union",e,eN(t," "),e$("= ",eN(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>eN(["extend enum",e,eN(t," "),eF(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>eN(["extend input",e,eN(t," "),eF(r)]," ")}};function eN(e,t=""){var r;return null!==(r=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==r?r:""}function eF(e){return e$("{\n",eM(eN(e,"\n")),"\n}")}function e$(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function eM(e){return e$("  ",e.replace(/\n/g,"\n  "))}function eL(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}var eG=Object.assign(function(e){var t=a.get(e);return t||(t=j(e,ej),a.set(e,t)),t},{reset:function(){a=new M.s(L.Q.print||2e3)}});eG.reset(),!1!==globalThis.__DEV__&&(0,G.zP)("print",function(){return a?a.size:0});var ez={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},eU=function(e,t){return t(e)};function eB(e){return new q(function(t){t.error(e)})}var eV={kind:D.h.FIELD,name:{kind:D.h.NAME,value:"__typename"}};function eW(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function eH(e,t){et(t);for(var r,n,i,o=eW(""),a=eW(""),u=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,ew.k)(r)){if(r.kind===D.h.OPERATION_DEFINITION)return o(r.name&&r.name.value);if(r.kind===D.h.FRAGMENT_DEFINITION)return a(r.name.value)}return!1!==globalThis.__DEV__&&l.kG.error(97),null},c=0,d=t.definitions.length-1;d>=0;--d)t.definitions[d].kind===D.h.OPERATION_DEFINITION&&++c;var h=(r=new Map,n=new Map,e.forEach(function(e){e&&(e.name?r.set(e.name,e):e.test&&n.set(e.test,e))}),function(e){var t=r.get(e.name.value);return!t&&n.size&&n.forEach(function(r,n){n(e)&&(t=r)}),t}),p=function(e){return(0,ew.O)(e)&&e.map(h).some(function(e){return e&&e.remove})},f=new Map,m=!1,g={enter:function(e){if(p(e.directives))return m=!0,null}},y=j(t,{Field:g,InlineFragment:g,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=u(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(p(e.directives))return m=!0,null;var o=u(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){f.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===f.get(JSON.stringify(n))?e:c>0&&e.selectionSet.selections.every(function(e){return e.kind===D.h.FIELD&&"__typename"===e.name.value})?(a(e.name.value).removed=!0,m=!0,null):void 0}},Directive:{leave:function(e){if(h(e))return m=!0,null}}});if(!m)return t;var v=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){v(a(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},b=new Set;y.definitions.forEach(function(e){e.kind===D.h.OPERATION_DEFINITION?v(o(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){b.add(e)}):e.kind!==D.h.FRAGMENT_DEFINITION||0!==c||a(e.name.value).removed||b.add(e.name.value)}),b.forEach(function(e){v(a(e)).fragmentSpreads.forEach(function(e){b.add(e)})});var w={enter:function(e){var t;if(t=e.name.value,!b.has(t)||a(t).removed)return null}};return!function e(t,r){return!t||t.selectionSet.selections.every(function(t){return t.kind===D.h.FRAGMENT_SPREAD&&e(r[t.name.value],r)})}(er(i=j(y,{FragmentSpread:w,FragmentDefinition:w,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=v(o(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,s.pi)((0,s.pi)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}))||ea(i),F(ei(i)))?i:null}var eQ=Object.assign(function(e){return j(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==D.h.OPERATION_DEFINITION){var n=e.selections;if(!(!n||n.some(function(e){return ee(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!(ee(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return(0,s.pi)((0,s.pi)({},e),{selections:(0,s.ev)((0,s.ev)([],n,!0),[eV],!1)})}}}})},{added:function(e){return e===eV}});function eZ(e){return et(e),eH([{test:function(e){return"client"===e.name.value},remove:!0}],e)}var eJ=(0,l.wY)(function(){return fetch}),eK=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,n=e.fetch,i=e.print,o=void 0===i?eU:i,a=e.includeExtensions,u=e.preserveHeaderCase,c=e.useGETForQueries,d=e.includeUnusedVariables,h=void 0!==d&&d,p=(0,s._T)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&e_(n||eJ);var f={http:{includeExtensions:a,preserveHeaderCase:u},options:p.fetchOptions,credentials:p.credentials,headers:p.headers};return new eh(function(e){var t,i,a,u,d,p,m,g,y=(t=e,i=r,t.getContext().uri||("function"==typeof i?i(t):i||"/graphql")),v=e.getContext(),b={};if(v.clientAwareness){var w=v.clientAwareness,S=w.name,k=w.version;S&&(b["apollographql-client-name"]=S),k&&(b["apollographql-client-version"]=k)}var x=(0,s.pi)((0,s.pi)({},b),v.headers),P={http:v.http,options:v.fetchOptions,credentials:v.credentials,headers:x};if(ef(["client"],e.query)){var E=eZ(e.query);if(!E)return eB(Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=E}var T=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={},o={};r.forEach(function(e){i=(0,s.pi)((0,s.pi)((0,s.pi)({},i),e.options),{headers:(0,s.pi)((0,s.pi)({},i.headers),e.headers)}),e.credentials&&(i.credentials=e.credentials),o=(0,s.pi)((0,s.pi)({},o),e.http)}),i.headers&&(i.headers=function(e,t){if(!t){var r={};return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n={};Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i={};return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(i.headers,o.preserveHeaderCase));var a=e.operationName,l=e.extensions,u=e.variables,c=e.query,d={operationName:a,variables:u};return o.includeExtensions&&(d.extensions=l),o.includeQuery&&(d.query=t(c,eG)),{options:i,body:d}}(e,o,ez,f,P),O=T.options,_=T.body;_.variables&&!h&&(_.variables=(a=_.variables,u=e.query,d=(0,s.pi)({},a),p=new Set(Object.keys(a)),j(u,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&p.delete(e.name.value)}}),p.forEach(function(e){delete d[e]}),d)),O.signal||"undefined"==typeof AbortController||(g=new AbortController,O.signal=g.signal);var C="OperationDefinition"===(m=es(e.query)).kind&&"subscription"===m.operation,A=ef(["defer"],e.query);if(c&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(O.method="GET"),A||C){O.headers=O.headers||{};var D="multipart/mixed;";C&&A&&!1!==globalThis.__DEV__&&l.kG.warn(41),C?D+="boundary=graphql;subscriptionSpec=1.0,application/json":A&&(D+="deferSpec=20220824,application/json"),O.headers.accept=D}if("GET"===O.method){var R=function(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=em(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var o=void 0;try{o=em(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",o)}var a="",s=e,l=e.indexOf("#");-1!==l&&(a=e.substr(l),s=e.substr(0,l));var u=-1===s.indexOf("?")?"?":"&";return{newURI:s+u+r.join("&")+a}}(y,_),N=R.newURI,F=R.parseError;if(F)return eB(F);y=N}else try{O.body=em(_,"Payload")}catch(e){return eB(e)}return new q(function(t){var r=n||(0,l.wY)(function(){return fetch})||eJ,i=t.next.bind(t);return r(y,O).then(function(t){e.setContext({response:t});var r,n=null===(r=t.headers)||void 0===r?void 0:r.get("content-type");return null!==n&&/^multipart\/mixed/i.test(n)?function(e,t){return(0,s.mG)(this,void 0,void 0,function(){var r,n,i,o,a,l,u,c,d,h,p,f,m,g,y,v,b,w,S,k,x,P,E;return(0,s.Jh)(this,function(T){switch(T.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");r=new TextDecoder("utf-8"),n=null===(E=e.headers)||void 0===E?void 0:E.get("content-type"),i="boundary=",o=(null==n?void 0:n.includes(i))?null==n?void 0:n.substring((null==n?void 0:n.indexOf(i))+i.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",a="\r\n--".concat(o),l="",u=function(e){var t,r,n,i,o,a,s=e;if(e.body&&(s=e.body),t=s,eg.DN&&t[Symbol.asyncIterator])return n=s[Symbol.asyncIterator](),(r={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},r;if(s.getReader)return ey(s.getReader());if(s.stream)return ey(s.stream().getReader());if(s.arrayBuffer)return i=s.arrayBuffer(),o=!1,a={next:function(){return o?Promise.resolve({value:void 0,done:!0}):(o=!0,new Promise(function(e,t){i.then(function(t){e({value:t,done:!1})}).catch(t)}))}},eg.DN&&(a[Symbol.asyncIterator]=function(){return this}),a;if(s.pipe)return function(e){var t=null,r=null,n=!1,i=[],o=[];function a(e){if(!r){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function s(e){r=e,o.slice().forEach(function(t){t[1](e)}),t&&t()}function l(){n=!0,o.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",l),e.removeListener("finish",l),e.removeListener("close",l)},e.on("data",a),e.on("error",s),e.on("end",l),e.on("finish",l),e.on("close",l);var u={next:function(){return new Promise(function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void o.push([e,t])})}};return eg.DN&&(u[Symbol.asyncIterator]=function(){return this}),u}(s);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),c=!0,T.label=1;case 1:if(!c)return[3,3];return[4,u.next()];case 2:for(h=(d=T.sent()).value,p=d.done,f="string"==typeof h?h:r.decode(h),m=l.length-a.length+1,c=!p,l+=f,g=l.indexOf(a,m);g>-1;){if(y=void 0,y=(x=[l.slice(0,g),l.slice(g+a.length)])[0],l=x[1],v=y.indexOf("\r\n\r\n"),(b=function(e){var t={};return e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}}),t}(y.slice(0,v))["content-type"])&&-1===b.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");if(w=y.slice(v)){if(Object.keys(S=eI(e,w)).length>1||"data"in S||"incremental"in S||"errors"in S||"payload"in S){if((0,I.s)(S)&&"payload"in S){if(k={},"payload"in S){if(1===Object.keys(S).length&&null===S.payload)return[2];k=(0,s.pi)({},S.payload)}"errors"in S&&(k=(0,s.pi)((0,s.pi)({},k),{extensions:(0,s.pi)((0,s.pi)({},"extensions"in k?k.extensions:null),((P={})[eb.YG]=S.errors,P))})),t(k)}else t(S)}else if(1===Object.keys(S).length&&"hasNext"in S&&!S.hasNext)return[2]}g=l.indexOf(a)}return[3,1];case 3:return[2]}})})}(t,i):t.text().then(function(e){return eI(t,e)}).then(function(r){return Array.isArray(r)||eq.call(r,"data")||eq.call(r,"errors")||ev(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r}).then(i)}).then(function(){g=void 0,t.complete()}).catch(function(e){g=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){g&&g.abort()}})})},eY=eh.execute,eX=r(12674),e0=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,eK(t).request)||this;return r.options=t,r}return(0,s.ZT)(t,e),t}(eh),e1=r(78807);let e2=()=>Object.create(null),{forEach:e5,slice:e3}=Array.prototype,{hasOwnProperty:e4}=Object.prototype;class e6{constructor(e=!0,t=e2){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return e5.call(e,e=>t=t.getChildTrie(e)),e4.call(t,"data")?t.data:t.data=this.makeData(e3.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r<n;++r){let n=t.mapFor(e[r],!1);t=n&&n.get(e[r])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let r=e[0],n=this.mapFor(r,!1),i=n&&n.get(r);!i||(t=i.removeArray(e3.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||n.delete(r))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),r=t.get(e);return r||t.set(e,r=new e6(this.weakness,this.makeData)),r}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}var e8=r(61114),e7=r(38223);function e9(e){return e}var te=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=eg.sy?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(e9,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),Object.assign(new e(function(e){return(t(e)?r:n).transformDocument(e)},{cache:!1}),{left:r,right:n})},e.prototype.resetCache=function(){var t=this;if(this.cached){var r=new e6(eg.mr);this.performWork=(0,e7.re)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,l.kG)(Array.isArray(n),77),r.lookupArray(n)},max:L.Q["documentTransform.cache"],cache:e8.k})}},e.prototype.performWork=function(e){return et(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var r=this;return Object.assign(new e(function(e){return t.transformDocument(r.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}();function tt(e,t,r){return new q(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(r){if(e){var o=function(){return n.closed?0:e(r)};i=i.then(o,o).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var a={next:o(t,"next"),error:o(r,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}function tr(e){var t=tn(e);return(0,ew.O)(t)}function tn(e){var t=(0,ew.O)(e.errors)?e.errors.slice(0):[];return eT(e)&&(0,ew.O)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var ti=r(99635);function to(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}),n.forEach(function(e){return e[t](r)})}function ta(e){function t(t){Object.defineProperty(e,t,{value:q})}return eg.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}function ts(e){return e&&"function"==typeof e.then}var tl=function(e){function t(t){var r=e.call(this,function(e){return r.addObserver(e),function(){return r.removeObserver(e)}})||this;return r.observers=new Set,r.promise=new Promise(function(e,t){r.resolve=e,r.reject=t}),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),to(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),to(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?ts(n)?n.then(function(e){return r.sub=e.subscribe(r.handlers)},r.handlers.error):r.sub=n.subscribe(r.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),to(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.error(e)},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new q(t)]),ts(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return(0,s.ZT)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach(function(r){return r(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(r,n){t||(t=!0,e(r,n))})},t}(q);ta(tl);var tu=r(64368),tc=r(9428),td=Object.prototype.toString;function th(e,t){switch(td.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var r=e.slice(0);return t.set(e,r),r.forEach(function(e,n){r[n]=th(e,t)}),r;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var n=Object.create(Object.getPrototypeOf(e));return t.set(e,n),Object.keys(e).forEach(function(r){n[r]=th(e[r],t)}),n;default:return e}}function tp(e,t,r,n){var i=t.data,o=(0,s._T)(t,["data"]),a=r.data,l=(0,s._T)(r,["data"]);return(0,e1.Z)(o,l)&&function e(t,r,n,i){if(r===n)return!0;var o=new Set;return t.selections.every(function(t){if(o.has(t)||(o.add(t),!ep(t,i.variables)||tf(t)))return!0;if(ee(t)){var a=Y(t),s=r&&r[a],l=n&&n[a],u=t.selectionSet;if(!u)return(0,e1.Z)(s,l);var c=Array.isArray(s),d=Array.isArray(l);if(c!==d)return!1;if(c&&d){var h=s.length;if(l.length!==h)return!1;for(var p=0;p<h;++p)if(!e(u,s[p],l[p],i))return!1;return!0}return e(u,s,l,i)}var f=$(t,i.fragmentMap);if(f)return!!tf(f)||e(f.selectionSet,r,n,i)})}(es(e).selectionSet,i,a,{fragmentMap:F(ei(e)),variables:n})}function tf(e){return!!e.directives&&e.directives.some(tm)}function tm(e){return"nonreactive"===e.name.value}var tg=Object.assign,ty=Object.hasOwnProperty,tv=function(e){function t(t){var r=t.queryManager,n=t.queryInfo,i=t.options,o=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=tw)}catch(e){}var r=!o.observers.size;o.observers.add(e);var n=o.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(o.maskResult(n.result)),r&&o.reobserve().catch(function(){}),function(){o.observers.delete(e)&&!o.observers.size&&o.tearDownQuery()}})||this;o.observers=new Set,o.subscriptions=new Set,o.queryInfo=n,o.queryManager=r,o.waitForOwnResult=tk(i.fetchPolicy),o.isTornDown=!1,o.subscribeToMore=o.subscribeToMore.bind(o),o.maskResult=o.maskResult.bind(o);var a=r.defaultOptions.watchQuery,l=(void 0===a?{}:a).fetchPolicy,u=void 0===l?"cache-first":l,c=i.fetchPolicy,d=void 0===c?u:c,h=i.initialFetchPolicy,p=void 0===h?"standby"===d?u:d:h;o.options=(0,s.pi)((0,s.pi)({},i),{initialFetchPolicy:p,fetchPolicy:d}),o.queryId=n.queryId||r.generateQueryId();var f=er(o.query);return o.queryName=f&&f.name&&f.name.value,o}return(0,s.ZT)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise(function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:r},i=e.subscribe(n)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||tu.Ie.ready,n=(0,s.pi)((0,s.pi)({},t),{loading:(0,tu.Oj)(r),networkStatus:r}),i=this.options.fetchPolicy,o=void 0===i?"cache-first":i;if(tk(o)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var a=this.queryInfo.getDiff();(a.complete||this.options.returnPartialData)&&(n.data=a.result),(0,e1.D)(n.data,{})&&(n.data=void 0),a.complete?(delete n.partial,a.complete&&n.networkStatus===tu.Ie.loading&&("cache-first"===o||"cache-only"===o)&&(n.networkStatus=tu.Ie.ready,n.loading=!1)):n.partial=!0,n.networkStatus===tu.Ie.ready&&(n.error||n.errors)&&(n.networkStatus=tu.Ie.error),!1===globalThis.__DEV__||a.complete||this.options.partialRefetch||n.loading||n.data||n.error||tS(a.missing)}return e&&this.updateLastResult(n),n},t.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},t.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query),n=this.queryManager.dataMasking,i=n?r.nonReactiveQuery:this.query;return(n||r.hasNonreactiveDirective?!tp(i,this.last.result,e,this.variables):!(0,e1.D)(this.last.result,e))||t&&!(0,e1.D)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,e1.D)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0};if("no-cache"===this.options.fetchPolicy?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&ty.call(e,"variables")){var n=eo(this.query),i=n.variableDefinitions;i&&i.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||l.kG.warn(21,e,(null===(t=n.name)||void 0===t?void 0:t.value)||n)}return e&&!(0,e1.D)(this.options.variables,e)&&(r.variables=this.options.variables=(0,s.pi)((0,s.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,tu.Ie.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,s.pi)((0,s.pi)({},e.query?e:(0,s.pi)((0,s.pi)((0,s.pi)((0,s.pi)({},this.options),{query:this.options.query}),e),{variables:(0,s.pi)((0,s.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var n=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var i=this.queryInfo,o=i.networkStatus;i.networkStatus=tu.Ie.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var a=new Set,u=null==e?void 0:e.updateQuery,c="no-cache"!==this.options.fetchPolicy;return c||(0,l.kG)(u,22),this.queryManager.fetchQuery(n,r,tu.Ie.fetchMore).then(function(l){if(t.queryManager.removeQuery(n),i.networkStatus===tu.Ie.fetchMore&&(i.networkStatus=o),c)t.queryManager.cache.batch({update:function(n){var i=e.updateQuery;i?n.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return i(e,{fetchMoreResult:l.data,variables:r.variables})}):n.writeQuery({query:r.query,variables:r.variables,data:l.data})},onWatchUpdated:function(e){a.add(e.query)}});else{var d=t.getLast("result"),h=u(d.data,{fetchMoreResult:l.data,variables:r.variables});t.reportResult((0,s.pi)((0,s.pi)({},d),{networkStatus:o,loading:(0,tu.Oj)(o),data:h}),t.variables)}return t.maskResult(l)}).finally(function(){c&&!a.has(t.query)&&tb(t)})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery(function(e,t){return n(e,(0,s.pi)({subscriptionData:r},t))})},error:function(t){if(e.onError){e.onError(t);return}!1!==globalThis.__DEV__&&l.kG.error(23,t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,tc.o)(this.options,e||{});tg(this.options,t)},t.prototype.setVariables=function(e){return(0,e1.D)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},tu.Ie.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,r=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),n=r.result,i=r.complete,o=e(n,{variables:this.variables,complete:!!i,previousData:n});o&&(t.cache.writeQuery({query:this.options.query,data:o,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:o}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(!r||!this.hasObservers()){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==r){(0,l.kG)(r,24),(t||(this.pollingInfo={})).interval=r;var n=function(){var t,r;e.pollingInfo&&((0,tu.Oj)(e.queryInfo.networkStatus)||(null===(r=(t=e.options).skipPollAttempt)||void 0===r?void 0:r.call(t))?i():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},tu.Ie.poll).then(i,i))},i=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};i()}}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!(0,e1.D)(t,this.last.variables)&&(r=void 0),this.last=(0,s.pi)({result:this.queryManager.assumeImmutableResults?e:th(e),variables:t},r?{error:r}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var n=t===tu.Ie.refetch||t===tu.Ie.fetchMore||t===tu.Ie.poll,i=this.options.variables,o=this.options.fetchPolicy,a=(0,tc.o)(this.options,e||{}),l=n?a:tg(this.options,a),u=this.transformDocument(l.query);this.lastQuery=u,!n&&(this.updatePolling(),e&&e.variables&&!(0,e1.D)(e.variables,i)&&"standby"!==l.fetchPolicy&&(l.fetchPolicy===o||"function"==typeof l.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",l),void 0===t&&(t=tu.Ie.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=tk(l.fetchPolicy));var c=function(){r.concast===p&&(r.waitForOwnResult=!1)},d=l.variables&&(0,s.pi)({},l.variables),h=this.fetch(l,t,u),p=h.concast,f=h.fromLink,m={next:function(e){(0,e1.D)(r.variables,d)&&(c(),r.reportResult(e,d))},error:function(e){(0,e1.D)(r.variables,d)&&((0,eb.MS)(e)||(e=new eb.cA({networkError:e})),c(),r.reportError(e,d))}};return n||!f&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=p,this.observer=m),p.addObserver(m),p},t.prototype.reobserve=function(e,t){var r;return(r=this.reobserveAsConcast(e,t).promise.then(this.maskResult)).catch(function(){}),r},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=this.last;this.resetLastResults();var n=this.subscribe.apply(this,e);return this.last=r,n},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this.getLastError(),n=this.isDifferentFromLastResult(e,t);(r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(r||n)&&to(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var r=(0,s.pi)((0,s.pi)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:tu.Ie.error,loading:!1});this.updateLastResult(r,t),to(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t.prototype.maskResult=function(e){return e&&"data"in e?(0,s.pi)((0,s.pi)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t}(q);function tb(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,t){return(this.nextFetchPolicy=n,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,t):r}}):e.reobserve()}function tw(e){!1!==globalThis.__DEV__&&l.kG.error(25,e.message,e.stack)}function tS(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&l.kG.debug(26,e)}function tk(e){return"network-only"===e||"no-cache"===e||"standby"===e}ta(tv);var tx=new(eg.mr?WeakMap:Map);function tP(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return tx.set(e,(tx.get(e)+1)%1e15),r.apply(this,arguments)})}function tE(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var tT=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;tx.has(r)||(tx.set(r,0),tP(r,"evict"),tP(r,"modify"),tP(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||tu.Ie.loading;return this.variables&&this.networkStatus!==tu.Ie.loading&&!(0,e1.D)(this.variables,e.variables)&&(t=tu.Ie.setVariables),(0,e1.D)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){tE(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,e1.D)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(e);return this.updateLastDiff(r,e),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,r=this,n=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(null===(t=this.observableQuery)||void 0===t?void 0:t.getLastError()))&&(this.updateLastDiff(e),this.dirty||(0,e1.D)(n&&n.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return r.notify()},0))))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():tb(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;tE(this),this.shouldNotify()&&this.listeners.forEach(function(t){return t(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,tu.Oj)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var n=(0,s.pi)((0,s.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,e1.D)(n,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=n))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===tx.get(this.cache)&&(0,e1.D)(t,r.variables)&&(0,e1.D)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i=this,o=new eE,a=(0,ew.O)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,ew.O)(e.incremental)){var s=eO(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var l=this.getDiff();e.data=o.merge(l.result,e.data)}this.graphQLErrors=a,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(tO(e,r.errorPolicy)?this.cache.performTransaction(function(o){if(i.shouldWrite(e,r.variables))o.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),i.lastWrite={result:e,variables:r.variables,dmCount:tx.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete){e.data=i.lastDiff.diff.result;return}var a=i.getDiffOptions(r.variables),s=o.diff(a);!i.stopped&&(0,e1.D)(i.variables,r.variables)&&i.updateWatch(r.variables),i.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=tu.Ie.ready},e.prototype.markError=function(e){return this.networkStatus=tu.Ie.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function tO(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!tr(e);return!n&&r&&e.data&&(n=!0),n}var tq=r(23180),tI=eg.mr?WeakMap:Map,t_=eg.sy?WeakSet:Set,tC=new e7.g7,tA=!1;function tD(){tA||(tA=!0,!1!==globalThis.__DEV__&&l.kG.warn(52))}function tR(e,t,r){return tC.withValue(!0,function(){var n=function e(t,r,n,i,o){var a,s=n.knownChanged,u=function(e,t){if(t.has(e))return t.get(e);var r=Array.isArray(e)?[]:Object.create(null);return t.set(e,r),r}(t,n.mutableTargets);if(Array.isArray(t)){for(var c=0,d=Array.from(t.entries());c<d.length;c++){var h=d[c],p=h[0],f=h[1];if(null===f){u[p]=null;continue}var m=e(f,r,n,i,!1!==globalThis.__DEV__?"".concat(o||"","[").concat(p,"]"):void 0);s.has(m)&&s.add(u),u[p]=m}return s.has(u)?u:t}for(var g=0,y=r.selections;g<y.length;g++){var v=y[g],b=void 0;if(i&&s.add(u),v.kind===D.h.FIELD){var w=Y(v),S=v.selectionSet;if(void 0===(b=u[w]||t[w]))continue;if(S&&null!==b){var m=e(t[w],S,n,i,!1!==globalThis.__DEV__?"".concat(o||"",".").concat(w):void 0);s.has(m)&&(b=m)}!1!==globalThis.__DEV__||(u[w]=b),!1!==globalThis.__DEV__&&(!i||"__typename"===w||(null===(a=Object.getOwnPropertyDescriptor(u,w))||void 0===a?void 0:a.value)?(delete u[w],u[w]=b):Object.defineProperty(u,w,function(e,t,r,n,i){var o=function(){return tC.getValue()||(!1!==globalThis.__DEV__&&l.kG.warn(48,n?"".concat(i," '").concat(n,"'"):"anonymous ".concat(i),"".concat(r,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}(w,b,o||"",n.operationName,n.operationType)))}if(v.kind===D.h.INLINE_FRAGMENT&&(!v.typeCondition||n.cache.fragmentMatches(v,t.__typename))&&(b=e(t,v.selectionSet,n,i,o)),v.kind===D.h.FRAGMENT_SPREAD){var k=v.name.value,x=n.fragmentMap[k]||(n.fragmentMap[k]=n.cache.lookupFragment(k));(0,l.kG)(x,47,k);var P=function(e){var t,r,n=null===(t=e.directives)||void 0===t?void 0:t.find(function(e){return"unmask"===e.name.value});if(!n)return"mask";var i=null===(r=n.arguments)||void 0===r?void 0:r.find(function(e){return"mode"===e.name.value});return(!1!==globalThis.__DEV__&&i&&(i.value.kind===D.h.VARIABLE?!1!==globalThis.__DEV__&&l.kG.warn(82):i.value.kind!==D.h.STRING?!1!==globalThis.__DEV__&&l.kG.warn(83):"migrate"!==i.value.value&&!1!==globalThis.__DEV__&&l.kG.warn(84,i.value.value)),i&&"value"in i.value&&"migrate"===i.value.value)?"migrate":"unmask"}(v);"mask"!==P&&(b=e(t,x.selectionSet,n,"migrate"===P,o))}s.has(b)&&s.add(u)}return"__typename"in t&&!("__typename"in u)&&(u.__typename=t.__typename),Object.keys(u).length!==Object.keys(t).length&&s.add(u),s.has(u)?u:t}(e,t,r,!1);return Object.isFrozen(e)&&(0,tq.J)(n),n})}function tj(e,t,r,n){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&tD(),e;var i=t.definitions.filter(function(e){return e.kind===D.h.FRAGMENT_DEFINITION});void 0===n&&((0,l.kG)(1===i.length,49,i.length),n=i[0].name.value);var o=i.find(function(e){return e.name.value===n});return((0,l.kG)(!!o,50,n),null==e||(0,e1.Z)(e,{}))?e:tR(e,o.selectionSet,{operationType:"fragment",operationName:o.name.value,fragmentMap:F(ei(t)),cache:r,mutableTargets:new tI,knownChanged:new t_})}var tN=Object.prototype.hasOwnProperty,tF=Object.create(null),t$=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new M.s(L.Q["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new e6(!1),this.noCacheWarningsByQueryId=new Set;var r=new te(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var n=e.documentTransform;this.documentTransform=n?r.concat(n).concat(r):r,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches((0,l._K)(27))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,s.mG)(this,arguments,void 0,function(e){var t,r,n,i,o,a,u,c=e.mutation,d=e.variables,h=e.optimisticResponse,p=e.updateQueries,f=e.refetchQueries,m=void 0===f?[]:f,g=e.awaitRefetchQueries,y=void 0!==g&&g,v=e.update,b=e.onQueryUpdated,w=e.fetchPolicy,S=void 0===w?(null===(a=this.defaultOptions.mutate)||void 0===a?void 0:a.fetchPolicy)||"network-only":w,k=e.errorPolicy,x=void 0===k?(null===(u=this.defaultOptions.mutate)||void 0===u?void 0:u.errorPolicy)||"none":k,P=e.keepRootFields,E=e.context;return(0,s.Jh)(this,function(e){switch(e.label){case 0:if((0,l.kG)(c,28),(0,l.kG)("network-only"===S||"no-cache"===S,29),t=this.generateMutationId(),c=this.cache.transformForLink(this.transform(c)),r=this.getDocumentInfo(c).hasClientExports,d=this.getVariables(c,d),!r)return[3,2];return[4,this.localState.addExportedVariables(c,d,E)];case 1:d=e.sent(),e.label=2;case 2:return n=this.mutationStore&&(this.mutationStore[t]={mutation:c,variables:d,loading:!0,error:null}),i=h&&this.markMutationOptimistic(h,{mutationId:t,document:c,variables:d,fetchPolicy:S,errorPolicy:x,context:E,updateQueries:p,update:v,keepRootFields:P}),this.broadcastQueries(),o=this,[2,new Promise(function(e,r){return tt(o.getObservableFromLink(c,(0,s.pi)((0,s.pi)({},E),{optimisticResponse:i?h:void 0}),d,{},!1),function(e){if(tr(e)&&"none"===x)throw new eb.cA({graphQLErrors:tn(e)});n&&(n.loading=!1,n.error=null);var r=(0,s.pi)({},e);return"function"==typeof m&&(m=m(r)),"ignore"===x&&tr(r)&&delete r.errors,o.markMutationResult({mutationId:t,result:r,document:c,variables:d,fetchPolicy:S,errorPolicy:x,context:E,update:v,updateQueries:p,awaitRefetchQueries:y,refetchQueries:m,removeOptimistic:i?t:void 0,onQueryUpdated:b,keepRootFields:P})}).subscribe({next:function(r){o.broadcastQueries(),"hasNext"in r&&!1!==r.hasNext||e((0,s.pi)((0,s.pi)({},r),{data:o.maskOperation({document:c,data:r.data,fetchPolicy:S,id:t})}))},error:function(e){n&&(n.loading=!1,n.error=e),i&&o.cache.removeOptimistic(t),o.broadcastQueries(),r(e instanceof eb.cA?e:new eb.cA({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var n=e.result,i=[],o="no-cache"===e.fetchPolicy;if(!o&&tO(n,e.errorPolicy)){if(eT(n)||i.push({result:n.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),eT(n)&&(0,ew.O)(n.incremental)){var a=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),l=void 0;a.result&&(l=eO(a.result,n)),void 0!==l&&(n.data=l,i.push({result:l,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var u=e.updateQueries;u&&this.queries.forEach(function(e,o){var a=e.observableQuery,s=a&&a.queryName;if(s&&tN.call(u,s)){var l=u[s],c=r.queries.get(o),d=c.document,h=c.variables,p=t.diff({query:d,variables:h,returnPartialData:!0,optimistic:!1}),f=p.result;if(p.complete&&f){var m=l(f,{mutationResult:n,queryName:d&&en(d)||void 0,queryVariables:h});m&&i.push({result:m,dataId:"ROOT_QUERY",query:d,variables:h})}}})}if(i.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var c=[];if(this.refetchQueries({updateCache:function(t){o||i.forEach(function(e){return t.write(e)});var a,l=e.update,u=!(eT(a=n)||"hasNext"in a&&"data"in a)||eT(n)&&!n.hasNext;if(l){if(!o){var c=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});c.complete&&("incremental"in(n=(0,s.pi)((0,s.pi)({},n),{data:c.result}))&&delete n.incremental,"hasNext"in n&&delete n.hasNext)}u&&l(t,n,{context:e.context,variables:e.variables})}o||e.keepRootFields||!u||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return c.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(c).then(function(){return n})}return Promise.resolve(n)},e.prototype.markMutationOptimistic=function(e,t){var r=this,n="function"==typeof e?e(t.variables,{IGNORE:tF}):e;return n!==tF&&(this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,s.pi)((0,s.pi)({},t),{result:{data:n}}),e)}catch(e){!1!==globalThis.__DEV__&&l.kG.error(e)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(e,t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:e&&ef(["client","export"],e,!0),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:ef(["nonreactive"],e),nonReactiveQuery:(et(e),j(e,{FragmentSpread:function(e){var t;if(null===(t=e.directives)||void 0===t||!t.some(function(e){return"unmask"===e.name.value}))return(0,s.pi)((0,s.pi)({},e),{directives:(0,s.ev)((0,s.ev)([],e.directives||[],!0),[{kind:D.h.DIRECTIVE,name:{kind:D.h.NAME,value:"nonreactive"}}],!1)})}})),clientQuery:this.localState.clientQuery(e),serverQuery:eH([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:el(er(e)),asQuery:(0,s.pi)((0,s.pi)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,s.pi)((0,s.pi)({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,s.pi)((0,s.pi)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,s.pi)((0,s.pi)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new tT(this),n=new tv({queryManager:this,queryInfo:r,options:e});return n.lastQuery=t,this.queries.set(n.queryId,r),r.init({document:t,observableQuery:n,variables:n.variables}),n},e.prototype.query=function(e,t){var r=this;void 0===t&&(t=this.generateQueryId()),(0,l.kG)(e.query,30),(0,l.kG)("Document"===e.query.kind,31),(0,l.kG)(!e.returnPartialData,32),(0,l.kG)(!e.pollInterval,33);var n=this.transform(e.query);return this.fetchQuery(t,(0,s.pi)((0,s.pi)({},e),{query:n})).then(function(i){return i&&(0,s.pi)((0,s.pi)({},i),{data:r.maskOperation({document:n,data:i.data,fetchPolicy:e.fetchPolicy,id:t})})}).finally(function(){return r.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches((0,l._K)(34)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=tu.Ie.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,n=new Map,i=new Map,o=new Set;return Array.isArray(e)&&e.forEach(function(e){if("string"==typeof e)n.set(e,e),i.set(e,!1);else if((0,I.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)){var r=eG(t.transform(e));n.set(r,en(e)),i.set(r,!1)}else(0,I.s)(e)&&e.query&&o.add(e)}),this.queries.forEach(function(t,n){var o=t.observableQuery,a=t.document;if(o){if("all"===e){r.set(n,o);return}var s=o.queryName;if("standby"===o.options.fetchPolicy||"active"===e&&!o.hasObservers())return;("active"===e||s&&i.has(s)||a&&i.has(eG(a)))&&(r.set(n,o),s&&i.set(s,!0),a&&i.set(eG(a),!0))}}),o.size&&o.forEach(function(e){var n=(0,ti.X)("legacyOneTimeQuery"),i=t.getQuery(n).init({document:e.query,variables:e.variables}),o=new tv({queryManager:t,queryInfo:i,options:(0,s.pi)((0,s.pi)({},e),{fetchPolicy:"network-only"})});(0,l.kG)(o.queryId===n),i.setObservableQuery(o),r.set(n,o)}),!1!==globalThis.__DEV__&&i.size&&i.forEach(function(e,t){if(!e){var r=n.get(t);r?!1!==globalThis.__DEV__&&l.kG.warn(35,r):!1!==globalThis.__DEV__&&l.kG.warn(36)}}),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),t.getQuery(i).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.variables,i=e.fetchPolicy,o=e.errorPolicy,a=void 0===o?"none":o,s=e.context,l=void 0===s?{}:s,u=e.extensions,c=void 0===u?{}:u;r=this.transform(r),n=this.getVariables(r,n);var d=function(e){return t.getObservableFromLink(r,l,e,c).map(function(n){"no-cache"!==i&&(tO(n,a)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=tr(n),s=(0,eb.ls)(n);if(o||s){var l={};if(o&&(l.graphQLErrors=n.errors),s&&(l.protocolErrors=n.extensions[eb.YG]),"none"===a||s)throw new eb.cA(l)}return"ignore"===a&&delete n.errors,n})};if(this.getDocumentInfo(r).hasClientExports){var h=this.localState.addExportedVariables(r,n,l).then(d);return new q(function(e){var t=null;return h.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return d(n)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,n,i){var o,a,l=this;void 0===i&&(i=null!==(o=null==t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var u=this.getDocumentInfo(e),c=u.serverQuery,d=u.clientQuery;if(c){var h=this.inFlightLinkObservables,p=this.link,f={query:c,variables:r,operationName:en(c)||void 0,context:this.prepareContext((0,s.pi)((0,s.pi)({},t),{forceFetch:!i})),extensions:n};if(t=f.context,i){var m=eG(c),g=z(r),y=h.lookup(m,g);if(!(a=y.observable)){var v=new tl([eY(p,f)]);a=y.observable=v,v.beforeNext(function e(t,r){"next"===t&&"hasNext"in r&&r.hasNext?v.beforeNext(e):h.remove(m,g)})}}else a=new tl([eY(p,f)])}else a=new tl([q.of({data:{}})]),t=this.prepareContext(t);return d&&(a=tt(a,function(e){return l.localState.runResolvers({document:d,remoteResult:e,context:t,variables:r})})),a},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return tt(this.getObservableFromLink(i,r.context,r.variables),function(o){var a=tn(o),s=a.length>0,l=r.errorPolicy;if(n>=e.lastRequestId){if(s&&"none"===l)throw e.markError(new eb.cA({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var u={data:o.data,loading:!1,networkStatus:tu.Ie.ready};return s&&"none"===l&&(u.data=void 0),s&&"ignore"!==l&&(u.errors=a,u.networkStatus=tu.Ie.error),u},function(t){var r=(0,eb.MS)(t)?t:new eb.cA({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i,o,a=this;void 0===r&&(r=tu.Ie.loading),void 0===n&&(n=t.query);var s=this.getVariables(n,t.variables),l=this.getQuery(e),u=this.defaultOptions.watchQuery,c=t.fetchPolicy,d=void 0===c?u&&u.fetchPolicy||"cache-first":c,h=t.errorPolicy,p=void 0===h?u&&u.errorPolicy||"none":h,f=t.returnPartialData,m=t.notifyOnNetworkStatusChange,g=t.context,y=Object.assign({},t,{query:n,variables:s,fetchPolicy:d,errorPolicy:p,returnPartialData:void 0!==f&&f,notifyOnNetworkStatusChange:void 0!==m&&m,context:void 0===g?{}:g}),v=function(e){y.variables=e;var n=a.fetchQueryByPolicy(l,y,r);return"standby"!==y.fetchPolicy&&n.sources.length>0&&l.observableQuery&&l.observableQuery.applyNextFetchPolicy("after-fetch",t),n},b=function(){return a.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){b(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(y.query).hasClientExports)i=new tl(this.localState.addExportedVariables(y.query,y.variables,y.context).then(v).then(function(e){return e.sources})),o=!0;else{var w=v(y.variables);o=w.fromLink,i=new tl(w.sources)}return i.promise.then(b,b),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,ti.X)("refetchQueries"):void 0:a,l=e.onQueryUpdated,u=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){u.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})});var c=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof tT&&e.watcher.observableQuery;if(n){if(l){u.delete(n.queryId);var i=l(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&c.set(n,i),i}null!==l&&u.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),u.size&&u.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;if(l){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}n=l(i,a,o)}l&&!0!==n||(n=i.refetch()),!1!==n&&c.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),c},e.prototype.maskOperation=function(e){var t,r,n,i=e.document,o=e.data;if(!1!==globalThis.__DEV__){var a,s=e.fetchPolicy,u=e.id,c=null===(t=er(i))||void 0===t?void 0:t.operation,d=(null!==(r=null==c?void 0:c[0])&&void 0!==r?r:"o")+u;!this.dataMasking||"no-cache"!==s||(a=!0,j(i,{FragmentSpread:function(e){if(!(a=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return R}}),a)||this.noCacheWarningsByQueryId.has(d)||(this.noCacheWarningsByQueryId.add(d),!1!==globalThis.__DEV__&&l.kG.warn(37,null!==(n=en(i))&&void 0!==n?n:"Unnamed ".concat(null!=c?c:"operation")))}return this.dataMasking?function(e,t,r){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&tD(),e;var n,i=er(t);return((0,l.kG)(i,51),null==e)?e:tR(e,i.selectionSet,{operationType:i.operation,operationName:null===(n=i.name)||void 0===n?void 0:n.value,fragmentMap:F(ei(t)),cache:r,mutableTargets:new tI,knownChanged:new t_})}(o,i,this.cache):o},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?tj(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,t,r){var n=this,i=t.query,o=t.variables,a=t.fetchPolicy,l=t.refetchWritePolicy,u=t.errorPolicy,c=t.returnPartialData,d=t.context,h=t.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:i,variables:o,networkStatus:r});var f=function(){return e.getDiff()},m=function(t,r){void 0===r&&(r=e.networkStatus||tu.Ie.loading);var a=t.result;!1===globalThis.__DEV__||c||(0,e1.D)(a,{})||tS(t.missing);var l=function(e){return q.of((0,s.pi)({data:e,loading:(0,tu.Oj)(r),networkStatus:r},t.complete?null:{partial:!0}))};return a&&n.getDocumentInfo(i).hasForcedResolvers?n.localState.runResolvers({document:i,remoteResult:{data:a},context:d,variables:o,onlyRunForcedResolvers:!0}).then(function(e){return l(e.data||void 0)}):"none"===u&&r===tu.Ie.refetch&&Array.isArray(t.missing)?l(void 0):l(a)},g="no-cache"===a?0:r===tu.Ie.refetch&&"merge"!==l?1:2,y=function(){return n.getResultsFromLink(e,g,{query:i,variables:o,context:d,fetchPolicy:a,errorPolicy:u})},v=h&&"number"==typeof p&&p!==r&&(0,tu.Oj)(r);switch(a){default:case"cache-first":var b=f();if(b.complete)return{fromLink:!1,sources:[m(b,e.markReady())]};if(c||v)return{fromLink:!0,sources:[m(b),y()]};return{fromLink:!0,sources:[y()]};case"cache-and-network":var b=f();if(b.complete||c||v)return{fromLink:!0,sources:[m(b),y()]};return{fromLink:!0,sources:[y()]};case"cache-only":return{fromLink:!1,sources:[m(f(),e.markReady())]};case"network-only":if(v)return{fromLink:!0,sources:[m(f()),y()]};return{fromLink:!0,sources:[y()]};case"no-cache":if(v)return{fromLink:!0,sources:[m(e.getDiff()),y()]};return{fromLink:!0,sources:[y()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new tT(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,s.pi)((0,s.pi)((0,s.pi)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}();function tM(e){return e.kind===D.h.FIELD||e.kind===D.h.FRAGMENT_SPREAD||e.kind===D.h.INLINE_FRAGMENT}var tL=r(17600),tG=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=ek(t.resolvers,e)}):this.resolvers=ek(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return(0,s.mG)(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,n=e.context,i=e.variables,o=e.onlyRunForcedResolvers,a=void 0!==o&&o;return(0,s.Jh)(this,function(e){return t?[2,this.resolveDocument(t,r.data,n,i,this.fragmentMatcher,a).then(function(e){return(0,s.pi)((0,s.pi)({},r),{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return ef(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return eZ(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,s.pi)((0,s.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,s.mG)(this,arguments,void 0,function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,s.Jh)(this,function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return(0,s.pi)((0,s.pi)({},t),e.exportedVariables)})]:[2,(0,s.pi)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return j(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return R}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:"query"===es(e).operation?e:j(e,{OperationDefinition:{enter:function(e){return(0,s.pi)((0,s.pi)({},e),{operation:"query"})}}}),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,s.mG)(this,arguments,void 0,function(e,t,r,n,i,o){var a,l,u,c,d,h,p,f,m;return void 0===r&&(r={}),void 0===n&&(n={}),void 0===i&&(i=function(){return!0}),void 0===o&&(o=!1),(0,s.Jh)(this,function(g){return a=es(e),l=F(ei(e)),u=this.collectSelectionsToResolve(a,l),d=(c=a.operation)?c.charAt(0).toUpperCase()+c.slice(1):"Query",h=this,p=h.cache,f=h.client,m={fragmentMap:l,context:(0,s.pi)((0,s.pi)({},r),{cache:p,client:f}),variables:n,fragmentMatcher:i,defaultOperationType:d,exportedVariables:{},selectionsToResolve:u,onlyRunForcedResolvers:o},[2,this.resolveSelectionSet(a.selectionSet,!1,t,m).then(function(e){return{result:e,exportedVariables:m.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,n){return(0,s.mG)(this,void 0,void 0,function(){var i,o,a,u,c,d=this;return(0,s.Jh)(this,function(h){return i=n.fragmentMap,o=n.context,a=n.variables,u=[r],c=function(e){return(0,s.mG)(d,void 0,void 0,function(){var c,d;return(0,s.Jh)(this,function(s){return(t||n.selectionsToResolve.has(e))&&ep(e,a)?ee(e)?[2,this.resolveField(e,t,r,n).then(function(t){var r;void 0!==t&&u.push(((r={})[Y(e)]=t,r))})]:("InlineFragment"===e.kind?c=e:(c=i[e.name.value],(0,l.kG)(c,19,e.name.value)),c&&c.typeCondition&&(d=c.typeCondition.name.value,n.fragmentMatcher(r,d,o))?[2,this.resolveSelectionSet(c.selectionSet,t,r,n).then(function(e){u.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(c)).then(function(){return ex(u)})]})})},e.prototype.resolveField=function(e,t,r,n){return(0,s.mG)(this,void 0,void 0,function(){var i,o,a,l,u,c,d,h,p,f=this;return(0,s.Jh)(this,function(s){return r?(i=n.variables,l=(o=e.name.value)!==(a=Y(e)),c=Promise.resolve(u=r[a]||r[o]),(!n.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(d=r.__typename||n.defaultOperationType,(h=this.resolvers&&this.resolvers[d])&&(p=h[l?o:a])&&(c=Promise.resolve(tL.ab.withValue(this.cache,p,[r,K(e,i),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,c.then(function(r){if(void 0===r&&(r=u),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=r)})}),!e.selectionSet||null==r)return r;var i,o,a=null!==(o=null===(i=e.directives)||void 0===i?void 0:i.some(function(e){return"client"===e.name.value}))&&void 0!==o&&o;return Array.isArray(r)?f.resolveSubSelectedArray(e,t||a,r,n):e.selectionSet?f.resolveSelectionSet(e.selectionSet,t||a,r,n):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map(function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(i){if(!n.has(i)){var o=new Set;n.set(i,o),j(i,{Directive:function(e,t,n,i,a){"client"===e.name.value&&a.forEach(function(e){r(e)&&tM(e)&&o.add(e)})},FragmentSpread:function(n,i,a,s,u){var c=t[n.name.value];(0,l.kG)(c,20,n.name.value);var d=e(c);d.size>0&&(u.forEach(function(e){r(e)&&tM(e)&&o.add(e)}),o.add(n),d.forEach(function(e){o.add(e)}))}})}return n.get(i)}(e)},e}(),tz=r(58769),tU=!1,tB=function(){function e(e){var t,r=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,l._K)(16);var n=e.uri,i=e.credentials,o=e.headers,a=e.cache,u=e.documentTransform,c=e.ssrMode,d=void 0!==c&&c,h=e.ssrForceFetchDelay,p=void 0===h?0:h,f=e.connectToDevTools,m=e.queryDeduplication,g=void 0===m||m,y=e.defaultOptions,v=e.defaultContext,b=e.assumeImmutableResults,w=void 0===b?a.assumeImmutableResults:b,S=e.resolvers,k=e.typeDefs,x=e.fragmentMatcher,P=e.name,E=e.version,T=e.devtools,O=e.dataMasking,q=e.link;q||(q=n?new e0({uri:n,credentials:i,headers:o}):eh.empty()),this.link=q,this.cache=a,this.disableNetworkFetches=d||p>0,this.queryDeduplication=g,this.defaultOptions=y||Object.create(null),this.typeDefs=k,this.devtoolsConfig=(0,s.pi)((0,s.pi)({},T),{enabled:null!==(t=null==T?void 0:T.enabled)&&void 0!==t?t:f}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),p&&setTimeout(function(){return r.disableNetworkFetches=!1},p),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=eX.i,this.localState=new tG({cache:a,client:this,resolvers:S,fragmentMatcher:x}),this.queryManager=new t$({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:v,documentTransform:u,queryDeduplication:g,ssrMode:d,dataMasking:!!O,clientAwareness:{name:P,version:E},localState:this.localState,assumeImmutableResults:w,onBroadcast:this.devtoolsConfig.enabled?function(){r.devToolsHookCb&&r.devToolsHookCb({action:{},state:{queries:r.queryManager.getQueryStore(),mutations:r.queryManager.mutationStore||{}},dataWithOptimisticResults:r.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!tU&&!1!==globalThis.__DEV__&&(tU=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&l.kG.log("Download the Apollo DevTools for a better development experience: %s",r)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,tz.J)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,s.pi)((0,s.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,tz.J)(this.defaultOptions.query,e)),(0,l.kG)("cache-and-network"!==e.fetchPolicy,17),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,s.pi)((0,s.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,tz.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,r=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map(function(n){return(0,s.pi)((0,s.pi)({},n),{data:t.queryManager.maskOperation({document:e.query,data:n.data,fetchPolicy:e.fetchPolicy,id:r})})})},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment((0,s.pi)((0,s.pi)({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,t)))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return eY(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach(function(e,t){r.push(t),n.push(e)});var i=Promise.all(n);return i.queries=r,i.results=n,i.catch(function(e){!1!==globalThis.__DEV__&&l.kG.debug(18,e)}),i},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(tB.prototype.getMemoryInternals=G.su);var tV=eh.from,tW=function(){function e(e,t,r,n,i){var o=this;this.observer=e,this.operation=t,this.forward=r,this.delayFor=n,this.retryIf=i,this.retryCount=0,this.currentSubscription=null,this.onError=function(e){return(0,s.mG)(o,void 0,void 0,function(){return(0,s.Jh)(this,function(t){switch(t.label){case 0:return this.retryCount+=1,[4,this.retryIf(this.retryCount,this.operation,e)];case 1:if(t.sent())return this.scheduleRetry(this.delayFor(this.retryCount,this.operation,e)),[2];return this.observer.error(e),[2]}})})},this.try()}return e.prototype.cancel=function(){this.currentSubscription&&this.currentSubscription.unsubscribe(),clearTimeout(this.timerId),this.timerId=void 0,this.currentSubscription=null},e.prototype.try=function(){var e=this;this.currentSubscription=this.forward(this.operation).subscribe({next:function(t){var r;if((0,eb.ls)(t)){e.onError(new eb.cA({protocolErrors:t.extensions[eb.YG]})),null===(r=e.currentSubscription)||void 0===r||r.unsubscribe();return}e.observer.next(t)},error:this.onError,complete:this.observer.complete.bind(this.observer)})},e.prototype.scheduleRetry=function(e){var t=this;if(this.timerId)throw Error("RetryLink BUG! Encountered overlapping retries");this.timerId=setTimeout(function(){t.timerId=void 0,t.try()},e)},e}(),tH=function(e){function t(t){var r,n,i,o,a,s,l,u,c,d,h,p,f=e.call(this)||this,m=t||{},g=m.attempts,y=m.delay;return f.delayFor="function"==typeof y?y:(i=void 0===(n=(r=y||{}).initial)?300:n,a=void 0===(o=r.jitter)||o,l=void 0===(s=r.max)?1/0:s,u=a?i:i/2,function(e){var t=Math.min(l,u*Math.pow(2,e));return a&&(t=Math.random()*t),t}),f.retryIf="function"==typeof g?g:(d=(c=g||{}).retryIf,p=void 0===(h=c.max)?5:h,function(e,t,r){return!(e>=p)&&(d?d(r,t):!!r)}),f}return(0,s.ZT)(t,e),t.prototype.request=function(e,t){var r=this;return new q(function(n){var i=new tW(n,e,t,r.delayFor,r.retryIf);return function(){i.cancel()}})},t}(eh),tQ=r(96279),tZ=r.n(tQ),tJ=r(2784),tK=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,e7.re)(N,{max:L.Q["cache.fragmentQueryDocuments"]||1e3,cache:e8.k})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,s.pi)((0,s.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,r=this,n=e.fragment,i=e.fragmentName,o=e.from,a=e.optimistic,u=(0,s._T)(e,["fragment","fragmentName","from","optimistic"]),c=this.getFragmentDoc(n,i),d=void 0===o||"string"==typeof o?o:this.identify(o),h=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var p=i||ea(n).name.value;d||!1===globalThis.__DEV__||l.kG.warn(1,p)}var f=(0,s.pi)((0,s.pi)({},u),{returnPartialData:!0,id:d,query:c,optimistic:void 0===a||a});return new q(function(o){return r.watch((0,s.pi)((0,s.pi)({},f),{immediate:!0,callback:function(a){var l=h?tj(a.result,n,r,i):a.result;if(!(t&&tp(c,{data:t.result},{data:l},e.variables))){var u={data:l,complete:!!a.complete};a.missing&&(u.missing=ex(a.missing.map(function(e){return e.missing}))),t=(0,s.pi)((0,s.pi)({},a),{result:l}),o.next(u)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,s.pi)((0,s.pi)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,n=(0,s._T)(e,["id","data"]);return this.write(Object.assign(n,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,n=e.fragment,i=e.fragmentName,o=(0,s._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(n,i),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var n=r.readQuery(e),i=t(n);return null==i?n:(r.writeQuery((0,s.pi)((0,s.pi)({},e),{data:i})),i)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var n=r.readFragment(e),i=t(n);return null==i?n:(r.writeFragment((0,s.pi)((0,s.pi)({},e),{data:i})),i)}})},e}();!1!==globalThis.__DEV__&&(tK.prototype.getMemoryInternals=G.Kb);var tY=function(e){function t(r,n,i,o){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var l=s.path.length-1;l>=0;--l)s.missing=((a={})[s.path[l]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,s.ZT)(t,e),t}(Error),tX=Object.prototype.hasOwnProperty;function t0(e){return null==e}function t1(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=t0(n)?t0(i)?void 0:{_id:i}:{id:n}),t0(n)&&!t0(i)&&(n=i),!t0(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var t2={dataIdFromObject:t1,addTypename:!0,resultCaching:!0,canonizeResults:!1};function t5(e){var t=e.canonizeResults;return void 0===t?t2.canonizeResults:t}var t3=/^[_a-z][_0-9a-z]*/i;function t4(e){var t=e.match(t3);return t?t[0]:e}function t6(e){return(0,I.s)(e)&&!W(e)&&!(0,ew.k)(e)}function t8(e,t){var r=F(ei(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var t7=Object.create(null),t9=function(){return t7},re=Object.create(null),rt=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,tq.J)(W(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return W(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return V(e);if(W(e))return e;var n=r.policies.identify(e)[0];if(n){var i=V(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,s.pi)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),tX.call(this.data,e)){var r=this.data[e];if(r&&tX.call(r,t))return r[t]}return"__typename"===t&&tX.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof ri?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),tX.call(this.data,e))?this.data[e]:this instanceof ri?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;W(e)&&(e=e.__ref),W(t)&&(t=t.__ref);var i="string"==typeof e?this.lookup(r=e):e,o="string"==typeof t?this.lookup(r=t):t;if(o){(0,l.kG)("string"==typeof r,2);var a=new eE(ra).merge(i,o);if(this.data[r]=a,a!==i&&(delete this.refs[r],this.group.caching)){var s=Object.create(null);i||(s.__exists=1),Object.keys(o).forEach(function(e){if(!i||i[e]!==a[e]){s[e]=1;var t=t4(e);t===e||n.policies.hasKeyArgs(a.__typename,t)||(s[t]=1),void 0!==a[e]||n instanceof ri||delete a[e]}}),s.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[r]===a.__typename&&delete s.__typename,Object.keys(s).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,n=this.lookup(e);if(n){var i=Object.create(null),o=!1,a=!0,u={DELETE:t7,INVALIDATE:re,isReference:W,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||V(e)}:t,{store:r})}};if(Object.keys(n).forEach(function(c){var d=t4(c),h=n[c];if(void 0!==h){var p="function"==typeof t?t:t[c]||t[d];if(p){var f=p===t9?t7:p((0,tq.J)(h),(0,s.pi)((0,s.pi)({},u),{fieldName:d,storeFieldName:c,storage:r.getStorage(e,c)}));if(f===re)r.group.dirty(e,c);else if(f===t7&&(f=void 0),f!==h&&(i[c]=f,o=!0,h=f,!1!==globalThis.__DEV__)){var m=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&l.kG.warn(3,e),!0};if(W(f))m(f);else if(Array.isArray(f))for(var g=!1,y=void 0,v=0,b=f;v<b.length;v++){var w=b[v];if(W(w)){if(g=!0,m(w))break}else"object"==typeof w&&w&&r.policies.identify(w)[0]&&(y=w);if(g&&void 0!==y){!1!==globalThis.__DEV__&&l.kG.warn(4,y);break}}}}void 0!==h&&(a=!1)}}),o)return this.merge(e,i),a&&(this instanceof ri?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,a?((n={})[a]=t9,n):t9)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(tX.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof ri&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach(function(t){tX.call(e.policies.rootTypenamesById,t)||r.push(t)}),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(r){e&&tX.call(e,r)||t.delete(r)}),e){var r=e.__META,n=(0,s._T)(e,["__META"]);Object.keys(n).forEach(function(e){t.merge(e,n[e])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof ri?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach(function(n){tX.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])});var n=Object.keys(r);if(n.length){for(var i=this;i instanceof ri;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!tX.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach(function(e){W(e)&&(t[e.__ref]=!0),(0,I.s)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,I.s)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),rr=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,e7.dP)():null,this.keyMaker=new e6(eg.mr)},e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=t4(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function rn(e,t){rs(e)&&e.group.depend(t,"__exists")}i=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,o=e.call(this,r,new rr(void 0===n||n))||this;return o.stump=new ro(o),o.storageTrie=new e6(eg.mr),i&&o.replace(i),o}return(0,s.ZT)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(n=rt||(rt={})),n.Root=i;var ri=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,s.ZT)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach(function(r){(0,e1.D)(n[r],i[r])||t.group.dirty(e,r)}):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,s.pi)((0,s.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return tX.call(this.data,t)?(0,s.pi)((0,s.pi)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(rt),ro=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new rr(t.group.caching,t.group))||this}return(0,s.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(ri);function ra(e,t,r){var n=e[r],i=t[r];return(0,e1.D)(n,i)?n:i}function rs(e){return!!(e instanceof rt&&e.group.caching)}var rl=function(){function e(){this.known=new(eg.sy?WeakSet:Set),this.pool=new e6(eg.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,I.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,I.s)(e)){var t=(0,I.s)(e)?(0,ew.k)(e)?e.slice(0):(0,s.pi)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,I.s)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var n=e.map(this.admit,this),i=this.pool.lookupArray(n);return i.array||(this.known.add(i.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],s=this.sortedKeys(e);a.push(s.json);var l=a.length;s.sorted.forEach(function(r){a.push(t.admit(e[r]))});var i=this.pool.lookupArray(a);if(!i.object){var u=i.object=Object.create(o);this.known.add(u),s.sorted.forEach(function(e,t){u[e]=a[l+t]}),!1!==globalThis.__DEV__&&Object.freeze(u)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}();function ru(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var rc=function(){function e(e){var t=this;this.knownResults=new(eg.mr?WeakMap:Map),this.config=(0,tc.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:t5(e)}),this.canon=e.canon||new rl,this.executeSelectionSet=(0,e7.re)(function(e){var r,n=e.context.canonizeResults,i=ru(e);i[3]=!n;var o=(r=t.executeSelectionSet).peek.apply(r,i);return o?n?(0,s.pi)((0,s.pi)({},o),{result:t.canon.admit(o.result)}):o:(rn(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||L.Q["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:ru,makeCacheKey:function(e,t,r,n){if(rs(r.store))return r.store.makeCacheKey(e,W(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,e7.re)(function(e){return rn(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||L.Q["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(rs(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new rl},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,n=e.query,i=e.rootId,o=e.variables,a=e.returnPartialData,l=e.canonizeResults,u=void 0===l?this.config.canonizeResults:l,c=this.config.cache.policies;o=(0,s.pi)((0,s.pi)({},el(eo(n))),o);var d=V(void 0===i?"ROOT_QUERY":i),h=this.executeSelectionSet({selectionSet:es(n).selectionSet,objectOrReference:d,enclosingRef:d,context:(0,s.pi)({store:r,query:n,policies:c,variables:o,varString:z(o),canonizeResults:u},t8(n,this.config.fragments))});if(h.missing&&(t=[new tY(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(h.missing),h.missing,n,o)],!(void 0===a||a)))throw t[0];return{result:h.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(rs(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,r=this,n=e.selectionSet,i=e.objectOrReference,o=e.enclosingRef,a=e.context;if(W(i)&&!a.policies.rootTypenamesById[i.__ref]&&!a.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var s=a.variables,u=a.policies,c=a.store.getFieldValue(i,"__typename"),d=[],h=new eE;function p(e,r){var n;return e.missing&&(t=h.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof c&&!u.rootIdsByTypename[c]&&d.push({__typename:c});var f=new Set(n.selections);f.forEach(function(e){var n,m;if(ep(e,s)){if(ee(e)){var g=u.readField({fieldName:e.name.value,field:e,variables:a.variables,from:i},a),y=Y(e);void 0===g?eQ.added(e)||(t=h.merge(t,((n={})[y]="Can't find field '".concat(e.name.value,"' on ").concat(W(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),n))):(0,ew.k)(g)?g.length>0&&(g=p(r.executeSubSelectedArray({field:e,array:g,enclosingRef:o,context:a}),y)):e.selectionSet?null!=g&&(g=p(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:g,enclosingRef:W(g)?g:o,context:a}),y)):a.canonizeResults&&(g=r.canon.pass(g)),void 0!==g&&d.push(((m={})[y]=g,m))}else{var v=$(e,a.lookupFragment);if(!v&&e.kind===D.h.FRAGMENT_SPREAD)throw(0,l._K)(10,e.name.value);v&&u.fragmentMatches(v,c)&&v.selectionSet.selections.forEach(f.add,f)}}});var m={result:ex(d),missing:t},g=a.canonizeResults?this.canon.admit(m):(0,tq.J)(m);return g.result&&this.knownResults.set(g.result,n),g},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,i=e.array,o=e.enclosingRef,a=e.context,s=new eE;function u(e,r){var n;return e.missing&&(t=s.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map(function(e,t){return null===e?null:(0,ew.k)(e)?u(r.executeSubSelectedArray({field:n,array:e,enclosingRef:o,context:a}),t):n.selectionSet?u(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:W(e)?e:o,context:a}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,I.s)(r)&&((0,l.kG)(!W(r),11,W(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(n.add,n))})}}(a.store,n,e),e)}),{result:a.canonizeResults?this.canon.admit(i):i,missing:t}},e}(),rd=r(63118),rh=Object.create(null);function rp(e){var t=JSON.stringify(e);return rh[t]||(rh[t]=Object.create(null))}function rf(e){var t=rp(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},i=r.keyObject=rg(e,function(e){var i=rv(r.storeObject,e,n);return void 0===i&&t!==r.storeObject&&tX.call(t,e[0])&&(i=rv(t,e,ry)),(0,l.kG)(void 0!==i,5,e.join("."),t),i});return"".concat(r.typename,":").concat(JSON.stringify(i))})}function rm(e){var t=rp(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=JSON.stringify(rg(e,function(e){var r=e[0],o=r.charAt(0);if("@"===o){if(n&&(0,ew.O)(n.directives)){var a=r.slice(1),s=n.directives.find(function(e){return e.name.value===a}),l=s&&K(s,i);return l&&rv(l,e.slice(1))}return}if("$"===o){var u=r.slice(1);if(i&&tX.call(i,u)){var c=e.slice(0);return c[0]=u,rv(i,c)}return}if(t)return rv(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function rg(e,t){var r=new eE;return(function e(t){var r=rp(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,o){(0,ew.k)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,ew.k)(t[o+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e},Object.create(null))}function ry(e,t){return e[t]}function rv(e,t,r){return r=r||ry,function e(t){return(0,I.s)(t)?(0,ew.k)(t)?t.map(e):rg(Object.keys(t).sort(),function(e){return rv(t,e)}):t}(t.reduce(function e(t,n){return(0,ew.k)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}function rb(e){return void 0!==e.args?e.args:e.field?K(e.field,e.variables):null}var rw=function(){},rS=function(e,t){return t.fieldName},rk=function(e,t,r){return(0,r.mergeObjects)(e,t)},rx=function(e,t){return t},rP=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,s.pi)({dataIdFromObject:t1},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,n,i=this,o=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var a=t&&t.storeObject||e,l=(0,s.pi)((0,s.pi)({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=rT(arguments,a);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),u=o&&this.getTypePolicy(o),c=u&&u.keyFn||this.config.dataIdFromObject;return tC.withValue(!0,function(){for(;c;){var t=c((0,s.pi)((0,s.pi)({},e),a),l);if((0,ew.k)(t))c=rf(t);else{n=t;break}}}),n=n?String(n):void 0,l.keyObject?[n,l.keyObject]:[n]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var n=e[r],i=n.queryType,o=n.mutationType,a=n.subscriptionType,l=(0,s._T)(n,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",r),o&&t.setRootTypename("Mutation",r),a&&t.setRootTypename("Subscription",r),tX.call(t.toBeAdded,r)?t.toBeAdded[r].push(l):t.toBeAdded[r]=[l]})},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?rk:!1===t?rx:e.merge}a(n,t.merge),n.keyFn=!1===i?rw:(0,ew.k)(i)?rf(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEach(function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,l=i.read,u=i.merge;n.keyFn=!1===s?rS:(0,ew.k)(s)?rm(s):"function"==typeof s?s:n.keyFn,"function"==typeof l&&(n.read=l),a(n,u)}n.read&&n.merge&&(n.keyFn=n.keyFn||rS)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,l.kG)(!n||n===e,6,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){t.getSupertypeSet(r,!0),e[r].forEach(function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(t3);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!tX.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var n=this.supertypeMap.get(e);!n&&this.fuzzySubtypes.size&&(n=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,i){if(r.test(e)){var o=t.supertypeMap.get(i);o&&o.forEach(function(e){return n.add(e)})}})),n&&n.size&&n.forEach(function(e){var n=t.getTypePolicy(e),i=n.fields;Object.assign(r,(0,s._T)(n,["fields"])),Object.assign(r.fields,i)})}var i=this.toBeAdded[e];return i&&i.length&&i.splice(0).forEach(function(r){t.updateTypePolicy(e,r)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var a=this.getSupertypeSet(t,!0),s=[a],u=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&0>s.indexOf(t)&&s.push(t)},c=!!(r&&this.fuzzySubtypes.size),d=!1,h=0;h<s.length;++h){var p=s[h];if(p.has(o))return a.has(o)||(d&&!1!==globalThis.__DEV__&&l.kG.warn(7,t,o),a.add(o)),!0;p.forEach(u),c&&h===s.length-1&&function e(t,r,n){return!!(0,I.s)(r)&&((0,ew.k)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if(ee(t)&&ep(t,n)){var i=Y(t);return tX.call(r,i)&&(!t.selectionSet||e(t.selectionSet,r[i],n))}return!0}))}(e.selectionSet,r,n)&&(c=!1,d=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&u(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r,n,i,o,a=e.typename,s=e.fieldName,l=this.getFieldPolicy(a,s,!1),u=l&&l.keyFn;if(u&&a)for(var c={typename:a,fieldName:s,field:e.field||null,variables:e.variables},d=rb(e);u;){var h=u(d,c);if((0,ew.k)(h))u=rm(h);else{o=h||s;break}}return void 0===o&&(o=e.field?(t=e.field,r=e.variables,n=null,t.directives&&(n={},t.directives.forEach(function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach(function(t){var i=t.name,o=t.value;return H(n[e.name.value],i,o,r)})})),i=null,t.arguments&&t.arguments.length&&(i={},t.arguments.forEach(function(e){var t=e.name,n=e.value;return H(i,t,n,r)})),J(t.name.value,i,n)):J(s,rb(e))),!1===o?s:s===t4(o)?o:s+":"+o},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),o=t4(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o,!1),l=s&&s.read;if(l){var u=rE(this,r,e,t,t.store.getStorage(W(r)?r.__ref:r,i));return tL.ab.withValue(this.cache,l,[a,u])}return a}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===rk?rO(n.store)(e,t):s===rx?t:(n.overwrite&&(e=void 0),s(e,t,rE(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function rE(e,t,r,n,i){var o=e.getStoreFieldName(r),a=t4(o),s=r.variables||n.variables,l=n.store,u=l.toReference,c=l.canRead;return{args:rb(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:W,toReference:u,storage:i,cache:e.cache,canRead:c,readField:function(){return e.readField(rT(arguments,t,s),n)},mergeObjects:rO(n.store)}}function rT(e,t,r){var n,i=e[0],o=e[1],a=e.length;return"string"==typeof i?n={fieldName:i,from:a>1?o:t}:(n=(0,s.pi)({},i),tX.call(n,"from")||(n.from=t)),!1!==globalThis.__DEV__&&void 0===n.from&&!1!==globalThis.__DEV__&&l.kG.warn(8,(0,rd.v)(Array.from(e))),void 0===n.variables&&(n.variables=r),n}function rO(e){return function(t,r){if((0,ew.k)(t)||(0,ew.k)(r))throw(0,l._K)(9);if((0,I.s)(t)&&(0,I.s)(r)){var n=e.getFieldValue(t,"__typename"),i=e.getFieldValue(r,"__typename");if(n&&i&&n!==i)return r;if(W(t)&&t6(r))return e.merge(t.__ref,r),t;if(t6(t)&&W(r))return e.merge(t,r.__ref),r;if(t6(t)&&t6(r))return(0,s.pi)((0,s.pi)({},t),r)}return r}}function rq(e,t,r){var n="".concat(t).concat(r),i=e.flavors.get(n);return i||e.flavors.set(n,i=e.clientOnly===t&&e.deferred===r?e:(0,s.pi)((0,s.pi)({},e),{clientOnly:t,deferred:r})),i}var rI=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,n=t.query,i=t.result,o=t.dataId,a=t.variables,u=t.overwrite,c=er(n),d=new eE;a=(0,s.pi)((0,s.pi)({},el(c)),a);var h=(0,s.pi)((0,s.pi)({store:e,written:Object.create(null),merge:function(e,t){return d.merge(e,t)},variables:a,varString:z(a)},t8(n,this.fragments)),{overwrite:!!u,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),p=this.processSelectionSet({result:i||Object.create(null),dataId:o,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:h});if(!W(p))throw(0,l._K)(12,i);return h.incomingById.forEach(function(t,n){var i=t.storeObject,o=t.mergeTree,a=t.fieldNodeSet,u=V(n);if(o&&o.map.size){var c=r.applyMerges(o,u,i,h);if(W(c))return;i=c}if(!1!==globalThis.__DEV__&&!h.overwrite){var d=Object.create(null);a.forEach(function(e){e.selectionSet&&(d[e.name.value]=!0)});var p=function(e){var t=o&&o.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(i).forEach(function(e){!0!==d[t4(e)]||p(e)||function(e,t,r,n){var i=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},o=i(e);if(o){var a=i(t);if(!(!a||W(o)||(0,e1.D)(o,a)||Object.keys(o).every(function(e){return void 0!==n.getFieldValue(a,e)}))){var u=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),c=t4(r),d="".concat(u,".").concat(c);if(!rR.has(d)){rR.add(d);var h=[];(0,ew.k)(o)||(0,ew.k)(a)||[o,a].forEach(function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||h.includes(t)||h.push(t)}),!1!==globalThis.__DEV__&&l.kG.warn(15,c,u,h.length?"either ensure all objects of type "+h.join(" and ")+" have an ID or a custom merge function, or ":"",d,(0,s.pi)({},o),(0,s.pi)({},a))}}}}(u,i,e,h.store)})}e.merge(n,i)}),e.retain(p.__ref),p},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,i=e.selectionSet,o=e.context,a=e.mergeTree,u=this.cache.policies,c=Object.create(null),d=r&&u.rootTypenamesById[r]||X(n,i,o.fragmentMap)||r&&o.store.get(r,"__typename");"string"==typeof d&&(c.__typename=d);var h=function(){var e=rT(arguments,c,o.variables);if(W(e.from)){var t=o.incomingById.get(e.from.__ref);if(t){var r=u.readField((0,s.pi)((0,s.pi)({},e),{from:t.storeObject}),o);if(void 0!==r)return r}}return u.readField(e,o)},p=new Set;this.flattenFields(i,n,o,d).forEach(function(e,r){var i,o=n[Y(r)];if(p.add(r),void 0!==o){var s=u.getStoreFieldName({typename:d,fieldName:r.name.value,field:r,variables:e.variables}),f=rC(a,s),m=t.processFieldValue(o,r,r.selectionSet?rq(e,!1,!1):e,f),g=void 0;r.selectionSet&&(W(m)||t6(m))&&(g=h("__typename",m));var y=u.getMergeFunction(d,r.name.value,g);y?f.info={field:r,typename:d,merge:y}:rD(a,s),c=e.merge(c,((i={})[s]=m,i))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||eQ.added(r)||u.getReadFunction(d,r.name.value)||!1===globalThis.__DEV__||l.kG.error(13,Y(r),n)});try{var f=u.identify(n,{typename:d,selectionSet:i,fragmentMap:o.fragmentMap,storeObject:c,readField:h}),m=f[0],g=f[1];r=r||m,g&&(c=o.merge(c,g))}catch(e){if(!r)throw e}if("string"==typeof r){var y=V(r),v=o.written[r]||(o.written[r]=[]);if(v.indexOf(i)>=0||(v.push(i),this.reader&&this.reader.isFresh(n,y,i,o)))return y;var b=o.incomingById.get(r);return b?(b.storeObject=o.merge(b.storeObject,c),b.mergeTree=function e(t,r){if(t===r||!r||rA(r))return t;if(!t||rA(t))return r;var n=t.info&&r.info?(0,s.pi)((0,s.pi)({},t.info),r.info):t.info||r.info,i=t.map.size&&r.map.size,o={info:n,map:i?new Map:t.map.size?t.map:r.map};if(i){var a=new Set(r.map.keys());t.map.forEach(function(t,n){o.map.set(n,e(t,r.map.get(n))),a.delete(n)}),a.forEach(function(n){o.map.set(n,e(r.map.get(n),t.map.get(n)))})}return o}(b.mergeTree,a),p.forEach(function(e){return b.fieldNodeSet.add(e)})):o.incomingById.set(r,{storeObject:c,mergeTree:rA(a)?void 0:a,fieldNodeSet:p}),y}return c},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,ew.k)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,rC(n,o));return rD(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?th(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=X(t,e,r.fragmentMap));var i=new Map,o=this.cache.policies,a=new e6(!1);return function e(s,u){var c=a.lookup(s,u.clientOnly,u.deferred);c.visited||(c.visited=!0,s.selections.forEach(function(a){if(ep(a,r.variables)){var s=u.clientOnly,c=u.deferred;if(!(s&&c)&&(0,ew.O)(a.directives)&&a.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var n=K(e,r.variables);n&&!1===n.if||(c=!0)}}),ee(a)){var d=i.get(a);d&&(s=s&&d.clientOnly,c=c&&d.deferred),i.set(a,rq(r,s,c))}else{var h=$(a,r.lookupFragment);if(!h&&a.kind===D.h.FRAGMENT_SPREAD)throw(0,l._K)(14,a.name.value);h&&o.fragmentMatches(h,n,t,r.variables)&&e(h.selectionSet,rq(r,s,c))}}}))}(e,r),i},e.prototype.applyMerges=function(e,t,r,n,i){var o=this;if(e.map.size&&!W(r)){var a,u,c=!(0,ew.k)(r)&&(W(t)||t6(t))?t:void 0,d=r;c&&!i&&(i=[W(c)?c.__ref:c]);var h=function(e,t){return(0,ew.k)(e)?"number"==typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var r=h(c,t),a=h(d,t);if(void 0!==a){i&&i.push(t);var s=o.applyMerges(e,r,a,n,i);s!==a&&(u=u||new Map).set(t,s),i&&(0,l.kG)(i.pop()===t)}}),u&&(r=(0,ew.k)(d)?d.slice(0):(0,s.pi)({},d),u.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,i&&(a=n.store).getStorage.apply(a,i)):r},e}(),r_=[];function rC(e,t){var r=e.map;return r.has(t)||r.set(t,r_.pop()||{map:new Map}),r.get(t)}function rA(e){return!e||!(e.info||e.map.size)}function rD(e,t){var r=e.map,n=r.get(t);n&&rA(n)&&(r_.push(n),r.delete(t))}var rR=new Set,rj=function(e){function t(t){void 0===t&&(t={});var r,n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new te(eQ),n.assumeImmutableResults=!0,n.makeVar=tL.QS,n.txCount=0,n.config=(r=t,(0,tc.o)(t2,r)),n.addTypename=!!n.config.addTypename,n.policies=new rP({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,s.ZT)(t,e),t.prototype.init=function(){var e=this.data=new rt.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.storeWriter=new rI(this,this.storeReader=new rc({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:t5(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,e7.re)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||L.Q["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(rs(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,z({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,s.pi)((0,s.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof tY)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(tX.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,s.pi)((0,s.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,tL._v)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,tL.li)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){z.reset(),eG.reset(),this.addTypenameTransform.resetCache(),null===(t=this.config.fragments)||void 0===t||t.resetCaches();var t,r=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if(W(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&l.kG.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(tX.call(e,"id"))return!1;e=(0,s.pi)((0,s.pi)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),z.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,tL.li)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,n=e.update,i=e.optimistic,o=void 0===i||i,a=e.removeOptimistic,l=e.onWatchUpdated,u=function(e){var i=r.data,o=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=n(r)}finally{--r.txCount,r.data=i,r.optimisticData=o}},c=new Set;return l&&!this.txCount&&this.broadcastWatches((0,s.pi)((0,s.pi)({},e),{onWatchUpdated:function(e){return c.add(e),!1}})),"string"==typeof o?this.optimisticData=this.optimisticData.addLayer(o,u):!1===o?u(this.data):u(),"string"==typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),l&&c.size?(this.broadcastWatches((0,s.pi)((0,s.pi)({},e),{onWatchUpdated:function(e,t){var r=l.call(this,e,t);return!1!==r&&c.delete(e),r}})),c.size&&c.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null===(t=this.config.fragments)||void 0===t?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,n,r)))&&(r&&(0,e1.D)(r.result,n.result)||e.callback(e.lastDiff=n,r))},t}(tK);!1!==globalThis.__DEV__&&(rj.prototype.getMemoryInternals=G.q4);let rN=()=>{var e;return new rj({possibleTypes:{Action:["NavigateToBlockAction","LinkAction","EmailAction"],Block:["ButtonBlock","CardBlock","GridContainerBlock","GridItemBlock","IconBlock","ImageBlock","RadioQuestionBlock","RadioOptionBlock","SignUpBlock","SpacerBlock","StepBlock","TextResponseBlock","TypographyBlock","VideoBlock","VideoTriggerBlock"]},typePolicies:{Query:{fields:{videos:{...(void 0===e&&(e=!1),{keyArgs:e,merge:function(e,t,r){var n=r.args,i=e?e.slice(0):[];if(t){if(n)for(var o=n.offset,a=void 0===o?0:o,s=0;s<t.length;++s)i[a+s]=t[s];else i.push.apply(i,t)}return i}}),keyArgs:["where",["labels","availableVariantLanguageIds","title"]]}}}}})};function rF(){let{token:e,initialState:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,tJ.useMemo)(()=>(function(){var e;let{token:t,initialState:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=eK({uri:"https://api-gateway.central.jesusfilm.org/",fetch:tZ()}),i=(e=async(e,r)=>{let{headers:n}=r;return{headers:{...n,Authorization:null!=t?"JWT ".concat(t):void 0,"x-graphql-client-name":"watch","x-graphql-client-version":"119e3de96f1d42b1ba1694ab5d9f8495a7e37534"}}},new eh(function(t,r){var n=(0,s._T)(t,[]);return new q(function(i){var o,a=!1;return Promise.resolve(n).then(function(r){return e(r,t.getContext())}).then(t.setContext).then(function(){a||(o=r(t).subscribe({next:i.next.bind(i),error:i.error.bind(i),complete:i.complete.bind(i)}))}).catch(i.error.bind(i)),function(){a=!0,o&&o.unsubscribe()}})}));return new tB({ssrMode:!1,link:tV([new tH({delay:{initial:500,max:Number.POSITIVE_INFINITY,jitter:!0},attempts:{max:5}}),i,n]),cache:rN().restore(null!=r?r:{}),connectToDevTools:!0})})({token:e,initialState:t}),[e,t])}},8624:function(e,t,r){"use strict";r.d(t,{t:function(){return tl},l:function(){return tu}});var n,i,o={};r.r(o),r.d(o,{abtestingClient:function(){return T},apiClientVersion:function(){return P}});var a={};r.r(a),r.d(a,{analyticsClient:function(){return V},apiClientVersion:function(){return U}});var s={};r.r(s),r.d(s,{apiClientVersion:function(){return et},insightsClient:function(){return en}});var l={};r.r(l),r.d(l,{apiClientVersion:function(){return ei},personalizationClient:function(){return ea}});var u={};r.r(u),r.d(u,{apiClientVersion:function(){return eg},querySuggestionsClient:function(){return ev}});var c={};r.r(c),r.d(c,{apiClientVersion:function(){return eI},searchClient:function(){return e_}});var d={};r.r(d),r.d(d,{apiClientVersion:function(){return eL},ingestionClient:function(){return eV},isOnDemandTrigger:function(){return ez},isScheduleTrigger:function(){return eU},isSubscriptionTrigger:function(){return eB}});var h={};r.r(h),r.d(h,{apiClientVersion:function(){return e1},monitoringClient:function(){return e2}});var p={};r.r(p),r.d(p,{apiClientVersion:function(){return e5},recommendClient:function(){return e3}});var f=r(52903);function m(e={serializable:!0}){let t={};return{get(r,n,i={miss:()=>Promise.resolve()}){let o=JSON.stringify(r);if(o in t)return Promise.resolve(e.serializable?JSON.parse(t[o]):t[o]);let a=n();return a.then(e=>i.miss(e)).then(()=>a)},set:(r,n)=>(t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}function g(e,t="up"){let r=Date.now();return{...e,status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>12e4},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=12e4}}}var y=class extends Error{name="AlgoliaError";constructor(e,t){super(e),t&&(this.name=t)}},v=class extends y{stackTrace;constructor(e,t,r){super(e,r),this.stackTrace=t}},b=class extends v{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.",e,"RetryError")}},w=class extends v{status;constructor(e,t,r,n="ApiError"){super(e,r,n),this.status=t}},S=class extends y{response;constructor(e,t){super(e,"DeserializationError"),this.response=t}},k=class extends w{error;constructor(e,t,r,n){super(e,t,n,"DetailedApiError"),this.error=r}};function x(e){let t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}var P="5.20.4",E=["de","us"];function T(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(r&&("string"!=typeof r||!E.includes(r)))throw Error(`\`region\` must be one of the following: ${E.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...o}){let a=function(e,t,r="WithinHeaders"){let n={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===r?n:{},queryParameters:()=>"WithinQueryParameters"===r?n:{}}}(e,t,r),s=function({hosts:e,hostsCache:t,baseHeaders:r,logger:n,baseQueryParameters:i,algoliaAgent:o,timeouts:a,requester:s,requestsCache:l,responsesCache:u}){async function c(e){let r=await Promise.all(e.map(e=>t.get(e,()=>Promise.resolve(g(e))))),n=r.filter(e=>e.isUp()),i=r.filter(e=>e.isTimedOut()),o=[...n,...i];return{hosts:o.length>0?o:e,getTimeout:(e,t)=>(0===i.length&&0===e?1:i.length+3+e)*t}}async function d(l,u,d=!0){let h=[],p=function(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data))return JSON.stringify(Array.isArray(e.data)?e.data:{...e.data,...t.data})}(l,u),f=function(e,t,r){let n={Accept:"application/json",...e,...t,...r},i={};return Object.keys(n).forEach(e=>{let t=n[e];i[e.toLowerCase()]=t}),i}(r,l.headers,u.headers),m="GET"===l.method?{...l.data,...u.data}:{},y={...i,...l.queryParameters,...m};if(o.value&&(y["x-algolia-agent"]=o.value),u&&u.queryParameters)for(let e of Object.keys(u.queryParameters))u.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(u.queryParameters[e])?y[e]=u.queryParameters[e].toString():y[e]=u.queryParameters[e];let v=0,P=async(e,r)=>{let i=e.pop();if(void 0===i)throw new b(h.map(e=>x(e)));let o={...a,...u.timeouts},c={data:p,headers:f,method:l.method,url:function(e,t,r){let n=Object.keys(r).filter(e=>void 0!==r[e]).sort().map(e=>`${e}=${encodeURIComponent("[object Array]"===Object.prototype.toString.call(r[e])?r[e].join(","):r[e]).replace(/\+/g,"%20")}`).join("&"),i=`${e.protocol}://${e.url}${e.port?`:${e.port}`:""}/${"/"===t.charAt(0)?t.substring(1):t}`;return n.length&&(i+=`?${n}`),i}(i,l.path,y),connectTimeout:r(v,o.connect),responseTimeout:r(v,d?o.read:o.write)},m=t=>{let r={request:c,response:t,host:i,triesLeft:e.length};return h.push(r),r},E=await s.send(c);if(function({isTimedOut:e,status:t}){return e||function({isTimedOut:e,status:t}){return!e&&0==~~t}({isTimedOut:e,status:t})||2!=~~(t/100)&&4!=~~(t/100)}(E)){let o=m(E);return E.isTimedOut&&v++,n.info("Retryable failure",x(o)),await t.set(i,g(i,E.isTimedOut?"timed out":"down")),P(e,r)}if(function({status:e}){return 2==~~(e/100)}(E))return function(e){try{return JSON.parse(e.content)}catch(t){throw new S(t.message,e)}}(E);throw m(E),function({content:e,status:t},r){try{let n=JSON.parse(e);if("error"in n)return new k(n.message,t,n.error,r);return new w(n.message,t,r)}catch{}return new w(e,t,r)}(E,h)},E=e.filter(e=>"readWrite"===e.accept||(d?"read"===e.accept:"write"===e.accept)),T=await c(E);return P([...T.hosts].reverse(),T.getTimeout)}return{hostsCache:t,requester:s,timeouts:a,logger:n,algoliaAgent:o,baseHeaders:r,baseQueryParameters:i,hosts:e,request:function(e,t={}){let n=e.useReadTransporter||"GET"===e.method;if(!n)return d(e,t,n);let o=()=>d(e,t);if(!0!==(t.cacheable||e.cacheable))return o();let a={request:e,requestOptions:t,transporter:{queryParameters:i,headers:r}};return u.get(a,()=>l.get(a,()=>l.set(a,o()).then(e=>Promise.all([l.delete(a),e]),e=>Promise.all([l.delete(a),Promise.reject(e)])).then(([e,t])=>t)),{miss:e=>u.set(a,e)})},requestsCache:l,responsesCache:u}}({hosts:[{url:i?"analytics.{region}.algolia.com".replace("{region}",i):"analytics.algolia.com",accept:"readWrite",protocol:"https"}],...o,algoliaAgent:function({algoliaAgents:e,client:t,version:r}){let n=(function(e){let t={value:`Algolia for JavaScript (${e})`,add(e){let r=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return -1===t.value.indexOf(r)&&(t.value=`${t.value}${r}`),t}};return t})(r).add({segment:t,version:r});return e.forEach(e=>n.add(e)),n}({algoliaAgents:n,client:"Abtesting",version:P}),baseHeaders:{"content-type":"text/plain",...a.headers(),...o.baseHeaders},baseQueryParameters:{...a.queryParameters(),...o.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},addABTests(e,t){if(!e)throw Error("Parameter `addABTestsRequest` is required when calling `addABTests`.");if(!e.name)throw Error("Parameter `addABTestsRequest.name` is required when calling `addABTests`.");if(!e.variants)throw Error("Parameter `addABTestsRequest.variants` is required when calling `addABTests`.");if(!e.endAt)throw Error("Parameter `addABTestsRequest.endAt` is required when calling `addABTests`.");return s.request({method:"POST",path:"/2/abtests",queryParameters:{},headers:{},data:e},t)},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteABTest({id:e},t){if(!e)throw Error("Parameter `id` is required when calling `deleteABTest`.");let r="/2/abtests/{id}".replace("{id}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},estimateABTest(e,t){if(!e)throw Error("Parameter `estimateABTestRequest` is required when calling `estimateABTest`.");if(!e.configuration)throw Error("Parameter `estimateABTestRequest.configuration` is required when calling `estimateABTest`.");if(!e.variants)throw Error("Parameter `estimateABTestRequest.variants` is required when calling `estimateABTest`.");return s.request({method:"POST",path:"/2/abtests/estimate",queryParameters:{},headers:{},data:e},t)},getABTest({id:e},t){if(!e)throw Error("Parameter `id` is required when calling `getABTest`.");let r="/2/abtests/{id}".replace("{id}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},listABTests({offset:e,limit:t,indexPrefix:r,indexSuffix:n}={},i){let o={};return void 0!==e&&(o.offset=e.toString()),void 0!==t&&(o.limit=t.toString()),void 0!==r&&(o.indexPrefix=r.toString()),void 0!==n&&(o.indexSuffix=n.toString()),s.request({method:"GET",path:"/2/abtests",queryParameters:o,headers:{}},i)},scheduleABTest(e,t){if(!e)throw Error("Parameter `scheduleABTestsRequest` is required when calling `scheduleABTest`.");if(!e.name)throw Error("Parameter `scheduleABTestsRequest.name` is required when calling `scheduleABTest`.");if(!e.variants)throw Error("Parameter `scheduleABTestsRequest.variants` is required when calling `scheduleABTest`.");if(!e.scheduledAt)throw Error("Parameter `scheduleABTestsRequest.scheduledAt` is required when calling `scheduleABTest`.");if(!e.endAt)throw Error("Parameter `scheduleABTestsRequest.endAt` is required when calling `scheduleABTest`.");return s.request({method:"POST",path:"/2/abtests/schedule",queryParameters:{},headers:{},data:e},t)},stopABTest({id:e},t){if(!e)throw Error("Parameter `id` is required when calling `stopABTest`.");let r="/2/abtests/{id}/stop".replace("{id}",encodeURIComponent(e));return s.request({method:"POST",path:r,queryParameters:{},headers:{}},t)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:{debug:(e,t)=>Promise.resolve(),info:(e,t)=>Promise.resolve(),error:(e,t)=>Promise.resolve()},requester:{send:function(e){return new Promise(t=>{let r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach(t=>r.setRequestHeader(t,e.headers[t]));let n=(e,n)=>setTimeout(()=>{r.abort(),t({status:0,content:n,isTimedOut:!0})},e),i=n(e.connectTimeout,"Connection timeout"),o;r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===o&&(clearTimeout(i),o=n(e.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(i),clearTimeout(o),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(i),clearTimeout(o),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)})}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:function e(t){let r=[...t.caches],n=r.shift();return void 0===n?{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then(e=>Promise.all([e,r.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(t,i,o={miss:()=>Promise.resolve()})=>n.get(t,i,o).catch(()=>e({caches:r}).get(t,i,o)),set:(t,i)=>n.set(t,i).catch(()=>e({caches:r}).set(t,i)),delete:t=>n.delete(t).catch(()=>e({caches:r}).delete(t)),clear:()=>n.clear().catch(()=>e({caches:r}).clear())}}({caches:[function(e){let t;let r=`algolia-client-js-${e.key}`;function n(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function i(){return JSON.parse(n().getItem(r)||"{}")}function o(e){n().setItem(r,JSON.stringify(e))}return{get:(t,r,n={miss:()=>Promise.resolve()})=>Promise.resolve().then(()=>(!function(){let t=e.timeToLive?1e3*e.timeToLive:null,r=Object.fromEntries(Object.entries(i()).filter(([,e])=>void 0!==e.timestamp));o(r),t&&o(Object.fromEntries(Object.entries(r).filter(([,e])=>{let r=new Date().getTime();return!(e.timestamp+t<r)})))}(),i()[JSON.stringify(t)])).then(e=>Promise.all([e?e.value:r(),void 0!==e])).then(([e,t])=>Promise.all([e,t||n.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve().then(()=>{let o=i();return o[JSON.stringify(e)]={timestamp:new Date().getTime(),value:t},n().setItem(r,JSON.stringify(o)),t}),delete:e=>Promise.resolve().then(()=>{let t=i();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))}),clear:()=>Promise.resolve().then(()=>{n().removeItem(r)})}}({key:`${P}-${e}`}),m()]}),...n})}function O(){return{send:function(e){return new Promise(t=>{let r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach(t=>r.setRequestHeader(t,e.headers[t]));let n=(e,n)=>setTimeout(()=>{r.abort(),t({status:0,content:n,isTimedOut:!0})},e),i=n(e.connectTimeout,"Connection timeout"),o;r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===o&&(clearTimeout(i),o=n(e.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(i),clearTimeout(o),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(i),clearTimeout(o),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)})}}}function q(e){let t;let r=`algolia-client-js-${e.key}`;function n(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function i(){return JSON.parse(n().getItem(r)||"{}")}function o(e){n().setItem(r,JSON.stringify(e))}return{get:(t,r,n={miss:()=>Promise.resolve()})=>Promise.resolve().then(()=>(!function(){let t=e.timeToLive?1e3*e.timeToLive:null,r=Object.fromEntries(Object.entries(i()).filter(([,e])=>void 0!==e.timestamp));o(r),t&&o(Object.fromEntries(Object.entries(r).filter(([,e])=>{let r=new Date().getTime();return!(e.timestamp+t<r)})))}(),i()[JSON.stringify(t)])).then(e=>Promise.all([e?e.value:r(),void 0!==e])).then(([e,t])=>Promise.all([e,t||n.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve().then(()=>{let o=i();return o[JSON.stringify(e)]={timestamp:new Date().getTime(),value:t},n().setItem(r,JSON.stringify(o)),t}),delete:e=>Promise.resolve().then(()=>{let t=i();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))}),clear:()=>Promise.resolve().then(()=>{n().removeItem(r)})}}function I(e){let t=[...e.caches],r=t.shift();return void 0===r?{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then(e=>Promise.all([e,r.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(e,n,i={miss:()=>Promise.resolve()})=>r.get(e,n,i).catch(()=>I({caches:t}).get(e,n,i)),set:(e,n)=>r.set(e,n).catch(()=>I({caches:t}).set(e,n)),delete:e=>r.delete(e).catch(()=>I({caches:t}).delete(e)),clear:()=>r.clear().catch(()=>I({caches:t}).clear())}}function _(e={serializable:!0}){let t={};return{get(r,n,i={miss:()=>Promise.resolve()}){let o=JSON.stringify(r);if(o in t)return Promise.resolve(e.serializable?JSON.parse(t[o]):t[o]);let a=n();return a.then(e=>i.miss(e)).then(()=>a)},set:(r,n)=>(t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}function C(e,t,r="WithinHeaders"){let n={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===r?n:{},queryParameters:()=>"WithinQueryParameters"===r?n:{}}}function A({algoliaAgents:e,client:t,version:r}){let n=(function(e){let t={value:`Algolia for JavaScript (${e})`,add(e){let r=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return -1===t.value.indexOf(r)&&(t.value=`${t.value}${r}`),t}};return t})(r).add({segment:t,version:r});return e.forEach(e=>n.add(e)),n}function D(){return{debug:(e,t)=>Promise.resolve(),info:(e,t)=>Promise.resolve(),error:(e,t)=>Promise.resolve()}}function R(e,t="up"){let r=Date.now();return{...e,status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>12e4},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=12e4}}}var j=class extends Error{name="AlgoliaError";constructor(e,t){super(e),t&&(this.name=t)}},N=class extends j{stackTrace;constructor(e,t,r){super(e,r),this.stackTrace=t}},F=class extends N{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.",e,"RetryError")}},$=class extends N{status;constructor(e,t,r,n="ApiError"){super(e,r,n),this.status=t}},M=class extends j{response;constructor(e,t){super(e,"DeserializationError"),this.response=t}},L=class extends ${error;constructor(e,t,r,n){super(e,t,n,"DetailedApiError"),this.error=r}};function G(e){let t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}function z({hosts:e,hostsCache:t,baseHeaders:r,logger:n,baseQueryParameters:i,algoliaAgent:o,timeouts:a,requester:s,requestsCache:l,responsesCache:u}){async function c(e){let r=await Promise.all(e.map(e=>t.get(e,()=>Promise.resolve(R(e))))),n=r.filter(e=>e.isUp()),i=r.filter(e=>e.isTimedOut()),o=[...n,...i];return{hosts:o.length>0?o:e,getTimeout:(e,t)=>(0===i.length&&0===e?1:i.length+3+e)*t}}async function d(l,u,d=!0){let h=[],p=function(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data))return JSON.stringify(Array.isArray(e.data)?e.data:{...e.data,...t.data})}(l,u),f=function(e,t,r){let n={Accept:"application/json",...e,...t,...r},i={};return Object.keys(n).forEach(e=>{let t=n[e];i[e.toLowerCase()]=t}),i}(r,l.headers,u.headers),m="GET"===l.method?{...l.data,...u.data}:{},g={...i,...l.queryParameters,...m};if(o.value&&(g["x-algolia-agent"]=o.value),u&&u.queryParameters)for(let e of Object.keys(u.queryParameters))u.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(u.queryParameters[e])?g[e]=u.queryParameters[e].toString():g[e]=u.queryParameters[e];let y=0,v=async(e,r)=>{let i=e.pop();if(void 0===i)throw new F(h.map(e=>G(e)));let o={...a,...u.timeouts},c={data:p,headers:f,method:l.method,url:function(e,t,r){let n=Object.keys(r).filter(e=>void 0!==r[e]).sort().map(e=>`${e}=${encodeURIComponent("[object Array]"===Object.prototype.toString.call(r[e])?r[e].join(","):r[e]).replace(/\+/g,"%20")}`).join("&"),i=`${e.protocol}://${e.url}${e.port?`:${e.port}`:""}/${"/"===t.charAt(0)?t.substring(1):t}`;return n.length&&(i+=`?${n}`),i}(i,l.path,g),connectTimeout:r(y,o.connect),responseTimeout:r(y,d?o.read:o.write)},m=t=>{let r={request:c,response:t,host:i,triesLeft:e.length};return h.push(r),r},b=await s.send(c);if(function({isTimedOut:e,status:t}){return e||function({isTimedOut:e,status:t}){return!e&&0==~~t}({isTimedOut:e,status:t})||2!=~~(t/100)&&4!=~~(t/100)}(b)){let o=m(b);return b.isTimedOut&&y++,n.info("Retryable failure",G(o)),await t.set(i,R(i,b.isTimedOut?"timed out":"down")),v(e,r)}if(function({status:e}){return 2==~~(e/100)}(b))return function(e){try{return JSON.parse(e.content)}catch(t){throw new M(t.message,e)}}(b);throw m(b),function({content:e,status:t},r){try{let n=JSON.parse(e);if("error"in n)return new L(n.message,t,n.error,r);return new $(n.message,t,r)}catch{}return new $(e,t,r)}(b,h)},b=e.filter(e=>"readWrite"===e.accept||(d?"read"===e.accept:"write"===e.accept)),w=await c(b);return v([...w.hosts].reverse(),w.getTimeout)}return{hostsCache:t,requester:s,timeouts:a,logger:n,algoliaAgent:o,baseHeaders:r,baseQueryParameters:i,hosts:e,request:function(e,t={}){let n=e.useReadTransporter||"GET"===e.method;if(!n)return d(e,t,n);let o=()=>d(e,t);if(!0!==(t.cacheable||e.cacheable))return o();let a={request:e,requestOptions:t,transporter:{queryParameters:i,headers:r}};return u.get(a,()=>l.get(a,()=>l.set(a,o()).then(e=>Promise.all([l.delete(a),e]),e=>Promise.all([l.delete(a),Promise.reject(e)])).then(([e,t])=>t)),{miss:e=>u.set(a,e)})},requestsCache:l,responsesCache:u}}var U="5.20.4",B=["de","us"];function V(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(r&&("string"!=typeof r||!B.includes(r)))throw Error(`\`region\` must be one of the following: ${B.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...o}){let a=C(e,t,r),s=z({hosts:[{url:i?"analytics.{region}.algolia.com".replace("{region}",i):"analytics.algolia.com",accept:"readWrite",protocol:"https"}],...o,algoliaAgent:A({algoliaAgents:n,client:"Analytics",version:U}),baseHeaders:{"content-type":"text/plain",...a.headers(),...o.baseHeaders},baseQueryParameters:{...a.queryParameters(),...o.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},getAddToCartRate({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getAddToCartRate`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/conversions/addToCartRate",queryParameters:o,headers:{}},i)},getAverageClickPosition({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getAverageClickPosition`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/clicks/averageClickPosition",queryParameters:o,headers:{}},i)},getClickPositions({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getClickPositions`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/clicks/positions",queryParameters:o,headers:{}},i)},getClickThroughRate({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getClickThroughRate`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/clicks/clickThroughRate",queryParameters:o,headers:{}},i)},getConversionRate({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getConversionRate`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/conversions/conversionRate",queryParameters:o,headers:{}},i)},getNoClickRate({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getNoClickRate`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/searches/noClickRate",queryParameters:o,headers:{}},i)},getNoResultsRate({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getNoResultsRate`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/searches/noResultRate",queryParameters:o,headers:{}},i)},getPurchaseRate({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getPurchaseRate`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/conversions/purchaseRate",queryParameters:o,headers:{}},i)},getRevenue({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getRevenue`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/conversions/revenue",queryParameters:o,headers:{}},i)},getSearchesCount({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getSearchesCount`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/searches/count",queryParameters:o,headers:{}},i)},getSearchesNoClicks({index:e,startDate:t,endDate:r,limit:n,offset:i,tags:o},a){if(!e)throw Error("Parameter `index` is required when calling `getSearchesNoClicks`.");let l={};return void 0!==e&&(l.index=e.toString()),void 0!==t&&(l.startDate=t.toString()),void 0!==r&&(l.endDate=r.toString()),void 0!==n&&(l.limit=n.toString()),void 0!==i&&(l.offset=i.toString()),void 0!==o&&(l.tags=o.toString()),s.request({method:"GET",path:"/2/searches/noClicks",queryParameters:l,headers:{}},a)},getSearchesNoResults({index:e,startDate:t,endDate:r,limit:n,offset:i,tags:o},a){if(!e)throw Error("Parameter `index` is required when calling `getSearchesNoResults`.");let l={};return void 0!==e&&(l.index=e.toString()),void 0!==t&&(l.startDate=t.toString()),void 0!==r&&(l.endDate=r.toString()),void 0!==n&&(l.limit=n.toString()),void 0!==i&&(l.offset=i.toString()),void 0!==o&&(l.tags=o.toString()),s.request({method:"GET",path:"/2/searches/noResults",queryParameters:l,headers:{}},a)},getStatus({index:e},t){if(!e)throw Error("Parameter `index` is required when calling `getStatus`.");let r={};return void 0!==e&&(r.index=e.toString()),s.request({method:"GET",path:"/2/status",queryParameters:r,headers:{}},t)},getTopCountries({index:e,startDate:t,endDate:r,limit:n,offset:i,tags:o},a){if(!e)throw Error("Parameter `index` is required when calling `getTopCountries`.");let l={};return void 0!==e&&(l.index=e.toString()),void 0!==t&&(l.startDate=t.toString()),void 0!==r&&(l.endDate=r.toString()),void 0!==n&&(l.limit=n.toString()),void 0!==i&&(l.offset=i.toString()),void 0!==o&&(l.tags=o.toString()),s.request({method:"GET",path:"/2/countries",queryParameters:l,headers:{}},a)},getTopFilterAttributes({index:e,search:t,startDate:r,endDate:n,limit:i,offset:o,tags:a},l){if(!e)throw Error("Parameter `index` is required when calling `getTopFilterAttributes`.");let u={};return void 0!==e&&(u.index=e.toString()),void 0!==t&&(u.search=t.toString()),void 0!==r&&(u.startDate=r.toString()),void 0!==n&&(u.endDate=n.toString()),void 0!==i&&(u.limit=i.toString()),void 0!==o&&(u.offset=o.toString()),void 0!==a&&(u.tags=a.toString()),s.request({method:"GET",path:"/2/filters",queryParameters:u,headers:{}},l)},getTopFilterForAttribute({attribute:e,index:t,search:r,startDate:n,endDate:i,limit:o,offset:a,tags:l},u){if(!e)throw Error("Parameter `attribute` is required when calling `getTopFilterForAttribute`.");if(!t)throw Error("Parameter `index` is required when calling `getTopFilterForAttribute`.");let c="/2/filters/{attribute}".replace("{attribute}",encodeURIComponent(e)),d={};return void 0!==t&&(d.index=t.toString()),void 0!==r&&(d.search=r.toString()),void 0!==n&&(d.startDate=n.toString()),void 0!==i&&(d.endDate=i.toString()),void 0!==o&&(d.limit=o.toString()),void 0!==a&&(d.offset=a.toString()),void 0!==l&&(d.tags=l.toString()),s.request({method:"GET",path:c,queryParameters:d,headers:{}},u)},getTopFiltersNoResults({index:e,search:t,startDate:r,endDate:n,limit:i,offset:o,tags:a},l){if(!e)throw Error("Parameter `index` is required when calling `getTopFiltersNoResults`.");let u={};return void 0!==e&&(u.index=e.toString()),void 0!==t&&(u.search=t.toString()),void 0!==r&&(u.startDate=r.toString()),void 0!==n&&(u.endDate=n.toString()),void 0!==i&&(u.limit=i.toString()),void 0!==o&&(u.offset=o.toString()),void 0!==a&&(u.tags=a.toString()),s.request({method:"GET",path:"/2/filters/noResults",queryParameters:u,headers:{}},l)},getTopHits({index:e,search:t,clickAnalytics:r,revenueAnalytics:n,startDate:i,endDate:o,limit:a,offset:l,tags:u},c){if(!e)throw Error("Parameter `index` is required when calling `getTopHits`.");let d={};return void 0!==e&&(d.index=e.toString()),void 0!==t&&(d.search=t.toString()),void 0!==r&&(d.clickAnalytics=r.toString()),void 0!==n&&(d.revenueAnalytics=n.toString()),void 0!==i&&(d.startDate=i.toString()),void 0!==o&&(d.endDate=o.toString()),void 0!==a&&(d.limit=a.toString()),void 0!==l&&(d.offset=l.toString()),void 0!==u&&(d.tags=u.toString()),s.request({method:"GET",path:"/2/hits",queryParameters:d,headers:{}},c)},getTopSearches({index:e,clickAnalytics:t,revenueAnalytics:r,startDate:n,endDate:i,orderBy:o,direction:a,limit:l,offset:u,tags:c},d){if(!e)throw Error("Parameter `index` is required when calling `getTopSearches`.");let h={};return void 0!==e&&(h.index=e.toString()),void 0!==t&&(h.clickAnalytics=t.toString()),void 0!==r&&(h.revenueAnalytics=r.toString()),void 0!==n&&(h.startDate=n.toString()),void 0!==i&&(h.endDate=i.toString()),void 0!==o&&(h.orderBy=o.toString()),void 0!==a&&(h.direction=a.toString()),void 0!==l&&(h.limit=l.toString()),void 0!==u&&(h.offset=u.toString()),void 0!==c&&(h.tags=c.toString()),s.request({method:"GET",path:"/2/searches",queryParameters:h,headers:{}},d)},getUsersCount({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getUsersCount`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/users/count",queryParameters:o,headers:{}},i)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:D(),requester:O(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:_(),requestsCache:_({serializable:!1}),hostsCache:I({caches:[q({key:`${U}-${e}`}),_()]}),...n})}function W(e={serializable:!0}){let t={};return{get(r,n,i={miss:()=>Promise.resolve()}){let o=JSON.stringify(r);if(o in t)return Promise.resolve(e.serializable?JSON.parse(t[o]):t[o]);let a=n();return a.then(e=>i.miss(e)).then(()=>a)},set:(r,n)=>(t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}function H(e,t="up"){let r=Date.now();return{...e,status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>12e4},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=12e4}}}var Q=class extends Error{name="AlgoliaError";constructor(e,t){super(e),t&&(this.name=t)}},Z=class extends Q{stackTrace;constructor(e,t,r){super(e,r),this.stackTrace=t}},J=class extends Z{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.",e,"RetryError")}},K=class extends Z{status;constructor(e,t,r,n="ApiError"){super(e,r,n),this.status=t}},Y=class extends Q{response;constructor(e,t){super(e,"DeserializationError"),this.response=t}},X=class extends K{error;constructor(e,t,r,n){super(e,t,n,"DetailedApiError"),this.error=r}};function ee(e){let t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}var et="5.20.4",er=["de","us"];function en(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(r&&("string"!=typeof r||!er.includes(r)))throw Error(`\`region\` must be one of the following: ${er.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...o}){let a=function(e,t,r="WithinHeaders"){let n={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===r?n:{},queryParameters:()=>"WithinQueryParameters"===r?n:{}}}(e,t,r),s=function({hosts:e,hostsCache:t,baseHeaders:r,logger:n,baseQueryParameters:i,algoliaAgent:o,timeouts:a,requester:s,requestsCache:l,responsesCache:u}){async function c(e){let r=await Promise.all(e.map(e=>t.get(e,()=>Promise.resolve(H(e))))),n=r.filter(e=>e.isUp()),i=r.filter(e=>e.isTimedOut()),o=[...n,...i];return{hosts:o.length>0?o:e,getTimeout:(e,t)=>(0===i.length&&0===e?1:i.length+3+e)*t}}async function d(l,u,d=!0){let h=[],p=function(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data))return JSON.stringify(Array.isArray(e.data)?e.data:{...e.data,...t.data})}(l,u),f=function(e,t,r){let n={Accept:"application/json",...e,...t,...r},i={};return Object.keys(n).forEach(e=>{let t=n[e];i[e.toLowerCase()]=t}),i}(r,l.headers,u.headers),m="GET"===l.method?{...l.data,...u.data}:{},g={...i,...l.queryParameters,...m};if(o.value&&(g["x-algolia-agent"]=o.value),u&&u.queryParameters)for(let e of Object.keys(u.queryParameters))u.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(u.queryParameters[e])?g[e]=u.queryParameters[e].toString():g[e]=u.queryParameters[e];let y=0,v=async(e,r)=>{let i=e.pop();if(void 0===i)throw new J(h.map(e=>ee(e)));let o={...a,...u.timeouts},c={data:p,headers:f,method:l.method,url:function(e,t,r){let n=Object.keys(r).filter(e=>void 0!==r[e]).sort().map(e=>`${e}=${encodeURIComponent("[object Array]"===Object.prototype.toString.call(r[e])?r[e].join(","):r[e]).replace(/\+/g,"%20")}`).join("&"),i=`${e.protocol}://${e.url}${e.port?`:${e.port}`:""}/${"/"===t.charAt(0)?t.substring(1):t}`;return n.length&&(i+=`?${n}`),i}(i,l.path,g),connectTimeout:r(y,o.connect),responseTimeout:r(y,d?o.read:o.write)},m=t=>{let r={request:c,response:t,host:i,triesLeft:e.length};return h.push(r),r},b=await s.send(c);if(function({isTimedOut:e,status:t}){return e||function({isTimedOut:e,status:t}){return!e&&0==~~t}({isTimedOut:e,status:t})||2!=~~(t/100)&&4!=~~(t/100)}(b)){let o=m(b);return b.isTimedOut&&y++,n.info("Retryable failure",ee(o)),await t.set(i,H(i,b.isTimedOut?"timed out":"down")),v(e,r)}if(function({status:e}){return 2==~~(e/100)}(b))return function(e){try{return JSON.parse(e.content)}catch(t){throw new Y(t.message,e)}}(b);throw m(b),function({content:e,status:t},r){try{let n=JSON.parse(e);if("error"in n)return new X(n.message,t,n.error,r);return new K(n.message,t,r)}catch{}return new K(e,t,r)}(b,h)},b=e.filter(e=>"readWrite"===e.accept||(d?"read"===e.accept:"write"===e.accept)),w=await c(b);return v([...w.hosts].reverse(),w.getTimeout)}return{hostsCache:t,requester:s,timeouts:a,logger:n,algoliaAgent:o,baseHeaders:r,baseQueryParameters:i,hosts:e,request:function(e,t={}){let n=e.useReadTransporter||"GET"===e.method;if(!n)return d(e,t,n);let o=()=>d(e,t);if(!0!==(t.cacheable||e.cacheable))return o();let a={request:e,requestOptions:t,transporter:{queryParameters:i,headers:r}};return u.get(a,()=>l.get(a,()=>l.set(a,o()).then(e=>Promise.all([l.delete(a),e]),e=>Promise.all([l.delete(a),Promise.reject(e)])).then(([e,t])=>t)),{miss:e=>u.set(a,e)})},requestsCache:l,responsesCache:u}}({hosts:[{url:i?"insights.{region}.algolia.io".replace("{region}",i):"insights.algolia.io",accept:"readWrite",protocol:"https"}],...o,algoliaAgent:function({algoliaAgents:e,client:t,version:r}){let n=(function(e){let t={value:`Algolia for JavaScript (${e})`,add(e){let r=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return -1===t.value.indexOf(r)&&(t.value=`${t.value}${r}`),t}};return t})(r).add({segment:t,version:r});return e.forEach(e=>n.add(e)),n}({algoliaAgents:n,client:"Insights",version:et}),baseHeaders:{"content-type":"text/plain",...a.headers(),...o.baseHeaders},baseQueryParameters:{...a.queryParameters(),...o.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteUserToken({userToken:e},t){if(!e)throw Error("Parameter `userToken` is required when calling `deleteUserToken`.");let r="/1/usertokens/{userToken}".replace("{userToken}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},pushEvents(e,t){if(!e)throw Error("Parameter `insightsEvents` is required when calling `pushEvents`.");if(!e.events)throw Error("Parameter `insightsEvents.events` is required when calling `pushEvents`.");return s.request({method:"POST",path:"/1/events",queryParameters:{},headers:{},data:e},t)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:{debug:(e,t)=>Promise.resolve(),info:(e,t)=>Promise.resolve(),error:(e,t)=>Promise.resolve()},requester:{send:function(e){return new Promise(t=>{let r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach(t=>r.setRequestHeader(t,e.headers[t]));let n=(e,n)=>setTimeout(()=>{r.abort(),t({status:0,content:n,isTimedOut:!0})},e),i=n(e.connectTimeout,"Connection timeout"),o;r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===o&&(clearTimeout(i),o=n(e.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(i),clearTimeout(o),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(i),clearTimeout(o),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)})}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:W(),requestsCache:W({serializable:!1}),hostsCache:function e(t){let r=[...t.caches],n=r.shift();return void 0===n?{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then(e=>Promise.all([e,r.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(t,i,o={miss:()=>Promise.resolve()})=>n.get(t,i,o).catch(()=>e({caches:r}).get(t,i,o)),set:(t,i)=>n.set(t,i).catch(()=>e({caches:r}).set(t,i)),delete:t=>n.delete(t).catch(()=>e({caches:r}).delete(t)),clear:()=>n.clear().catch(()=>e({caches:r}).clear())}}({caches:[function(e){let t;let r=`algolia-client-js-${e.key}`;function n(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function i(){return JSON.parse(n().getItem(r)||"{}")}function o(e){n().setItem(r,JSON.stringify(e))}return{get:(t,r,n={miss:()=>Promise.resolve()})=>Promise.resolve().then(()=>(!function(){let t=e.timeToLive?1e3*e.timeToLive:null,r=Object.fromEntries(Object.entries(i()).filter(([,e])=>void 0!==e.timestamp));o(r),t&&o(Object.fromEntries(Object.entries(r).filter(([,e])=>{let r=new Date().getTime();return!(e.timestamp+t<r)})))}(),i()[JSON.stringify(t)])).then(e=>Promise.all([e?e.value:r(),void 0!==e])).then(([e,t])=>Promise.all([e,t||n.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve().then(()=>{let o=i();return o[JSON.stringify(e)]={timestamp:new Date().getTime(),value:t},n().setItem(r,JSON.stringify(o)),t}),delete:e=>Promise.resolve().then(()=>{let t=i();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))}),clear:()=>Promise.resolve().then(()=>{n().removeItem(r)})}}({key:`${et}-${e}`}),W()]}),...n})}var ei="5.20.4",eo=["eu","us"];function ea(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(!r||r&&("string"!=typeof r||!eo.includes(r)))throw Error(`\`region\` is required and must be one of the following: ${eo.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...o}){let a=C(e,t,r),s=z({hosts:[{url:"personalization.{region}.algolia.com".replace("{region}",i),accept:"readWrite",protocol:"https"}],...o,algoliaAgent:A({algoliaAgents:n,client:"Personalization",version:ei}),baseHeaders:{"content-type":"text/plain",...a.headers(),...o.baseHeaders},baseQueryParameters:{...a.queryParameters(),...o.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteUserProfile({userToken:e},t){if(!e)throw Error("Parameter `userToken` is required when calling `deleteUserProfile`.");let r="/1/profiles/{userToken}".replace("{userToken}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},getPersonalizationStrategy:e=>s.request({method:"GET",path:"/1/strategies/personalization",queryParameters:{},headers:{}},e),getUserTokenProfile({userToken:e},t){if(!e)throw Error("Parameter `userToken` is required when calling `getUserTokenProfile`.");let r="/1/profiles/personalization/{userToken}".replace("{userToken}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},setPersonalizationStrategy(e,t){if(!e)throw Error("Parameter `personalizationStrategyParams` is required when calling `setPersonalizationStrategy`.");if(!e.eventsScoring)throw Error("Parameter `personalizationStrategyParams.eventsScoring` is required when calling `setPersonalizationStrategy`.");if(!e.facetsScoring)throw Error("Parameter `personalizationStrategyParams.facetsScoring` is required when calling `setPersonalizationStrategy`.");if(!e.personalizationImpact)throw Error("Parameter `personalizationStrategyParams.personalizationImpact` is required when calling `setPersonalizationStrategy`.");return s.request({method:"POST",path:"/1/strategies/personalization",queryParameters:{},headers:{},data:e},t)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:D(),requester:O(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:_(),requestsCache:_({serializable:!1}),hostsCache:I({caches:[q({key:`${ei}-${e}`}),_()]}),...n})}function es(e={serializable:!0}){let t={};return{get(r,n,i={miss:()=>Promise.resolve()}){let o=JSON.stringify(r);if(o in t)return Promise.resolve(e.serializable?JSON.parse(t[o]):t[o]);let a=n();return a.then(e=>i.miss(e)).then(()=>a)},set:(r,n)=>(t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}function el(e,t="up"){let r=Date.now();return{...e,status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>12e4},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=12e4}}}var eu=class extends Error{name="AlgoliaError";constructor(e,t){super(e),t&&(this.name=t)}},ec=class extends eu{stackTrace;constructor(e,t,r){super(e,r),this.stackTrace=t}},ed=class extends ec{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.",e,"RetryError")}},eh=class extends ec{status;constructor(e,t,r,n="ApiError"){super(e,r,n),this.status=t}},ep=class extends eu{response;constructor(e,t){super(e,"DeserializationError"),this.response=t}},ef=class extends eh{error;constructor(e,t,r,n){super(e,t,n,"DetailedApiError"),this.error=r}};function em(e){let t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}var eg="5.20.4",ey=["eu","us"];function ev(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(!r||r&&("string"!=typeof r||!ey.includes(r)))throw Error(`\`region\` is required and must be one of the following: ${ey.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...o}){let a=function(e,t,r="WithinHeaders"){let n={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===r?n:{},queryParameters:()=>"WithinQueryParameters"===r?n:{}}}(e,t,r),s=function({hosts:e,hostsCache:t,baseHeaders:r,logger:n,baseQueryParameters:i,algoliaAgent:o,timeouts:a,requester:s,requestsCache:l,responsesCache:u}){async function c(e){let r=await Promise.all(e.map(e=>t.get(e,()=>Promise.resolve(el(e))))),n=r.filter(e=>e.isUp()),i=r.filter(e=>e.isTimedOut()),o=[...n,...i];return{hosts:o.length>0?o:e,getTimeout:(e,t)=>(0===i.length&&0===e?1:i.length+3+e)*t}}async function d(l,u,d=!0){let h=[],p=function(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data))return JSON.stringify(Array.isArray(e.data)?e.data:{...e.data,...t.data})}(l,u),f=function(e,t,r){let n={Accept:"application/json",...e,...t,...r},i={};return Object.keys(n).forEach(e=>{let t=n[e];i[e.toLowerCase()]=t}),i}(r,l.headers,u.headers),m="GET"===l.method?{...l.data,...u.data}:{},g={...i,...l.queryParameters,...m};if(o.value&&(g["x-algolia-agent"]=o.value),u&&u.queryParameters)for(let e of Object.keys(u.queryParameters))u.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(u.queryParameters[e])?g[e]=u.queryParameters[e].toString():g[e]=u.queryParameters[e];let y=0,v=async(e,r)=>{let i=e.pop();if(void 0===i)throw new ed(h.map(e=>em(e)));let o={...a,...u.timeouts},c={data:p,headers:f,method:l.method,url:function(e,t,r){let n=Object.keys(r).filter(e=>void 0!==r[e]).sort().map(e=>`${e}=${encodeURIComponent("[object Array]"===Object.prototype.toString.call(r[e])?r[e].join(","):r[e]).replace(/\+/g,"%20")}`).join("&"),i=`${e.protocol}://${e.url}${e.port?`:${e.port}`:""}/${"/"===t.charAt(0)?t.substring(1):t}`;return n.length&&(i+=`?${n}`),i}(i,l.path,g),connectTimeout:r(y,o.connect),responseTimeout:r(y,d?o.read:o.write)},m=t=>{let r={request:c,response:t,host:i,triesLeft:e.length};return h.push(r),r},b=await s.send(c);if(function({isTimedOut:e,status:t}){return e||function({isTimedOut:e,status:t}){return!e&&0==~~t}({isTimedOut:e,status:t})||2!=~~(t/100)&&4!=~~(t/100)}(b)){let o=m(b);return b.isTimedOut&&y++,n.info("Retryable failure",em(o)),await t.set(i,el(i,b.isTimedOut?"timed out":"down")),v(e,r)}if(function({status:e}){return 2==~~(e/100)}(b))return function(e){try{return JSON.parse(e.content)}catch(t){throw new ep(t.message,e)}}(b);throw m(b),function({content:e,status:t},r){try{let n=JSON.parse(e);if("error"in n)return new ef(n.message,t,n.error,r);return new eh(n.message,t,r)}catch{}return new eh(e,t,r)}(b,h)},b=e.filter(e=>"readWrite"===e.accept||(d?"read"===e.accept:"write"===e.accept)),w=await c(b);return v([...w.hosts].reverse(),w.getTimeout)}return{hostsCache:t,requester:s,timeouts:a,logger:n,algoliaAgent:o,baseHeaders:r,baseQueryParameters:i,hosts:e,request:function(e,t={}){let n=e.useReadTransporter||"GET"===e.method;if(!n)return d(e,t,n);let o=()=>d(e,t);if(!0!==(t.cacheable||e.cacheable))return o();let a={request:e,requestOptions:t,transporter:{queryParameters:i,headers:r}};return u.get(a,()=>l.get(a,()=>l.set(a,o()).then(e=>Promise.all([l.delete(a),e]),e=>Promise.all([l.delete(a),Promise.reject(e)])).then(([e,t])=>t)),{miss:e=>u.set(a,e)})},requestsCache:l,responsesCache:u}}({hosts:[{url:"query-suggestions.{region}.algolia.com".replace("{region}",i),accept:"readWrite",protocol:"https"}],...o,algoliaAgent:function({algoliaAgents:e,client:t,version:r}){let n=(function(e){let t={value:`Algolia for JavaScript (${e})`,add(e){let r=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return -1===t.value.indexOf(r)&&(t.value=`${t.value}${r}`),t}};return t})(r).add({segment:t,version:r});return e.forEach(e=>n.add(e)),n}({algoliaAgents:n,client:"QuerySuggestions",version:eg}),baseHeaders:{"content-type":"text/plain",...a.headers(),...o.baseHeaders},baseQueryParameters:{...a.queryParameters(),...o.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},createConfig(e,t){if(!e)throw Error("Parameter `configurationWithIndex` is required when calling `createConfig`.");return s.request({method:"POST",path:"/1/configs",queryParameters:{},headers:{},data:e},t)},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteConfig({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `deleteConfig`.");let r="/1/configs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},getAllConfigs:e=>s.request({method:"GET",path:"/1/configs",queryParameters:{},headers:{}},e),getConfig({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `getConfig`.");let r="/1/configs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getConfigStatus({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `getConfigStatus`.");let r="/1/configs/{indexName}/status".replace("{indexName}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getLogFile({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `getLogFile`.");let r="/1/logs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},updateConfig({indexName:e,configuration:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `updateConfig`.");if(!t)throw Error("Parameter `configuration` is required when calling `updateConfig`.");if(!t.sourceIndices)throw Error("Parameter `configuration.sourceIndices` is required when calling `updateConfig`.");let n="/1/configs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.request({method:"PUT",path:n,queryParameters:{},headers:{},data:t},r)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:{debug:(e,t)=>Promise.resolve(),info:(e,t)=>Promise.resolve(),error:(e,t)=>Promise.resolve()},requester:{send:function(e){return new Promise(t=>{let r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach(t=>r.setRequestHeader(t,e.headers[t]));let n=(e,n)=>setTimeout(()=>{r.abort(),t({status:0,content:n,isTimedOut:!0})},e),i=n(e.connectTimeout,"Connection timeout"),o;r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===o&&(clearTimeout(i),o=n(e.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(i),clearTimeout(o),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(i),clearTimeout(o),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)})}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:es(),requestsCache:es({serializable:!1}),hostsCache:function e(t){let r=[...t.caches],n=r.shift();return void 0===n?{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then(e=>Promise.all([e,r.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(t,i,o={miss:()=>Promise.resolve()})=>n.get(t,i,o).catch(()=>e({caches:r}).get(t,i,o)),set:(t,i)=>n.set(t,i).catch(()=>e({caches:r}).set(t,i)),delete:t=>n.delete(t).catch(()=>e({caches:r}).delete(t)),clear:()=>n.clear().catch(()=>e({caches:r}).clear())}}({caches:[function(e){let t;let r=`algolia-client-js-${e.key}`;function n(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function i(){return JSON.parse(n().getItem(r)||"{}")}function o(e){n().setItem(r,JSON.stringify(e))}return{get:(t,r,n={miss:()=>Promise.resolve()})=>Promise.resolve().then(()=>(!function(){let t=e.timeToLive?1e3*e.timeToLive:null,r=Object.fromEntries(Object.entries(i()).filter(([,e])=>void 0!==e.timestamp));o(r),t&&o(Object.fromEntries(Object.entries(r).filter(([,e])=>{let r=new Date().getTime();return!(e.timestamp+t<r)})))}(),i()[JSON.stringify(t)])).then(e=>Promise.all([e?e.value:r(),void 0!==e])).then(([e,t])=>Promise.all([e,t||n.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve().then(()=>{let o=i();return o[JSON.stringify(e)]={timestamp:new Date().getTime(),value:t},n().setItem(r,JSON.stringify(o)),t}),delete:e=>Promise.resolve().then(()=>{let t=i();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))}),clear:()=>Promise.resolve().then(()=>{n().removeItem(r)})}}({key:`${eg}-${e}`}),es()]}),...n})}function eb(e={serializable:!0}){let t={};return{get(r,n,i={miss:()=>Promise.resolve()}){let o=JSON.stringify(r);if(o in t)return Promise.resolve(e.serializable?JSON.parse(t[o]):t[o]);let a=n();return a.then(e=>i.miss(e)).then(()=>a)},set:(r,n)=>(t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}function ew({func:e,validate:t,aggregator:r,error:n,timeout:i=()=>0}){let o=a=>new Promise((s,l)=>{e(a).then(async e=>(r&&await r(e),await t(e))?s(e):n&&await n.validate(e)?l(Error(await n.message(e))):setTimeout(()=>{o(e).then(s).catch(l)},await i())).catch(e=>{l(e)})});return o()}function eS(e,t="up"){let r=Date.now();return{...e,status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>12e4},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=12e4}}}var ek=class extends Error{name="AlgoliaError";constructor(e,t){super(e),t&&(this.name=t)}},ex=class extends ek{stackTrace;constructor(e,t,r){super(e,r),this.stackTrace=t}},eP=class extends ex{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.",e,"RetryError")}},eE=class extends ex{status;constructor(e,t,r,n="ApiError"){super(e,r,n),this.status=t}},eT=class extends ek{response;constructor(e,t){super(e,"DeserializationError"),this.response=t}},eO=class extends eE{error;constructor(e,t,r,n){super(e,t,n,"DetailedApiError"),this.error=r}};function eq(e){let t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}var eI="5.20.4";function e_(e,t,r){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,...i}){let o=function(e,t,r="WithinHeaders"){let n={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===r?n:{},queryParameters:()=>"WithinQueryParameters"===r?n:{}}}(e,t,r),a=function({hosts:e,hostsCache:t,baseHeaders:r,logger:n,baseQueryParameters:i,algoliaAgent:o,timeouts:a,requester:s,requestsCache:l,responsesCache:u}){async function c(e){let r=await Promise.all(e.map(e=>t.get(e,()=>Promise.resolve(eS(e))))),n=r.filter(e=>e.isUp()),i=r.filter(e=>e.isTimedOut()),o=[...n,...i];return{hosts:o.length>0?o:e,getTimeout:(e,t)=>(0===i.length&&0===e?1:i.length+3+e)*t}}async function d(l,u,d=!0){let h=[],p=function(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data))return JSON.stringify(Array.isArray(e.data)?e.data:{...e.data,...t.data})}(l,u),f=function(e,t,r){let n={Accept:"application/json",...e,...t,...r},i={};return Object.keys(n).forEach(e=>{let t=n[e];i[e.toLowerCase()]=t}),i}(r,l.headers,u.headers),m="GET"===l.method?{...l.data,...u.data}:{},g={...i,...l.queryParameters,...m};if(o.value&&(g["x-algolia-agent"]=o.value),u&&u.queryParameters)for(let e of Object.keys(u.queryParameters))u.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(u.queryParameters[e])?g[e]=u.queryParameters[e].toString():g[e]=u.queryParameters[e];let y=0,v=async(e,r)=>{let i=e.pop();if(void 0===i)throw new eP(h.map(e=>eq(e)));let o={...a,...u.timeouts},c={data:p,headers:f,method:l.method,url:function(e,t,r){let n=Object.keys(r).filter(e=>void 0!==r[e]).sort().map(e=>`${e}=${encodeURIComponent("[object Array]"===Object.prototype.toString.call(r[e])?r[e].join(","):r[e]).replace(/\+/g,"%20")}`).join("&"),i=`${e.protocol}://${e.url}${e.port?`:${e.port}`:""}/${"/"===t.charAt(0)?t.substring(1):t}`;return n.length&&(i+=`?${n}`),i}(i,l.path,g),connectTimeout:r(y,o.connect),responseTimeout:r(y,d?o.read:o.write)},m=t=>{let r={request:c,response:t,host:i,triesLeft:e.length};return h.push(r),r},b=await s.send(c);if(function({isTimedOut:e,status:t}){return e||function({isTimedOut:e,status:t}){return!e&&0==~~t}({isTimedOut:e,status:t})||2!=~~(t/100)&&4!=~~(t/100)}(b)){let o=m(b);return b.isTimedOut&&y++,n.info("Retryable failure",eq(o)),await t.set(i,eS(i,b.isTimedOut?"timed out":"down")),v(e,r)}if(function({status:e}){return 2==~~(e/100)}(b))return function(e){try{return JSON.parse(e.content)}catch(t){throw new eT(t.message,e)}}(b);throw m(b),function({content:e,status:t},r){try{let n=JSON.parse(e);if("error"in n)return new eO(n.message,t,n.error,r);return new eE(n.message,t,r)}catch{}return new eE(e,t,r)}(b,h)},b=e.filter(e=>"readWrite"===e.accept||(d?"read"===e.accept:"write"===e.accept)),w=await c(b);return v([...w.hosts].reverse(),w.getTimeout)}return{hostsCache:t,requester:s,timeouts:a,logger:n,algoliaAgent:o,baseHeaders:r,baseQueryParameters:i,hosts:e,request:function(e,t={}){let n=e.useReadTransporter||"GET"===e.method;if(!n)return d(e,t,n);let o=()=>d(e,t);if(!0!==(t.cacheable||e.cacheable))return o();let a={request:e,requestOptions:t,transporter:{queryParameters:i,headers:r}};return u.get(a,()=>l.get(a,()=>l.set(a,o()).then(e=>Promise.all([l.delete(a),e]),e=>Promise.all([l.delete(a),Promise.reject(e)])).then(([e,t])=>t)),{miss:e=>u.set(a,e)})},requestsCache:l,responsesCache:u}}({hosts:[{url:`${e}-dsn.algolia.net`,accept:"read",protocol:"https"},{url:`${e}.algolia.net`,accept:"write",protocol:"https"}].concat(function(e){for(let t=e.length-1;t>0;t--){let r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}([{url:`${e}-1.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-2.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-3.algolianet.com`,accept:"readWrite",protocol:"https"}])),...i,algoliaAgent:function({algoliaAgents:e,client:t,version:r}){let n=(function(e){let t={value:`Algolia for JavaScript (${e})`,add(e){let r=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return -1===t.value.indexOf(r)&&(t.value=`${t.value}${r}`),t}};return t})(r).add({segment:t,version:r});return e.forEach(e=>n.add(e)),n}({algoliaAgents:n,client:"Search",version:eI}),baseHeaders:{"content-type":"text/plain",...o.headers(),...i.baseHeaders},baseQueryParameters:{...o.queryParameters(),...i.baseQueryParameters}});return{transporter:a,appId:e,apiKey:t,clearCache:()=>Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then(()=>void 0),get _ua(){return a.algoliaAgent.value},addAlgoliaAgent(e,t){a.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?a.baseQueryParameters["x-algolia-api-key"]=e:a.baseHeaders["x-algolia-api-key"]=e},waitForTask({indexName:e,taskID:t,maxRetries:r=50,timeout:n=e=>Math.min(200*e,5e3)},i){let o=0;return ew({func:()=>this.getTask({indexName:e,taskID:t},i),validate:e=>"published"===e.status,aggregator:()=>o+=1,error:{validate:()=>o>=r,message:()=>`The maximum number of retries exceeded. (${o}/${r})`},timeout:()=>n(o)})},waitForAppTask({taskID:e,maxRetries:t=50,timeout:r=e=>Math.min(200*e,5e3)},n){let i=0;return ew({func:()=>this.getAppTask({taskID:e},n),validate:e=>"published"===e.status,aggregator:()=>i+=1,error:{validate:()=>i>=t,message:()=>`The maximum number of retries exceeded. (${i}/${t})`},timeout:()=>r(i)})},waitForApiKey({operation:e,key:t,apiKey:r,maxRetries:n=50,timeout:i=e=>Math.min(200*e,5e3)},o){let a=0,s={aggregator:()=>a+=1,error:{validate:()=>a>=n,message:()=>`The maximum number of retries exceeded. (${a}/${n})`},timeout:()=>i(a)};if("update"===e){if(!r)throw Error("`apiKey` is required when waiting for an `update` operation.");return ew({...s,func:()=>this.getApiKey({key:t},o),validate:e=>{for(let t of Object.keys(r)){let n=r[t],i=e[t];if(Array.isArray(n)&&Array.isArray(i)){if(n.length!==i.length||n.some((e,t)=>e!==i[t]))return!1}else if(n!==i)return!1}return!0}})}return ew({...s,func:()=>this.getApiKey({key:t},o).catch(e=>{if(404!==e.status)throw e}),validate:t=>"add"===e?void 0!==t:void 0===t})},browseObjects({indexName:e,browseParams:t,...r},n){return ew({func:r=>this.browse({indexName:e,browseParams:{cursor:r?r.cursor:void 0,hitsPerPage:1e3,...t}},n),validate:e=>void 0===e.cursor,...r})},browseRules({indexName:e,searchRulesParams:t,...r},n){let i={hitsPerPage:1e3,...t};return ew({func:t=>this.searchRules({indexName:e,searchRulesParams:{...i,page:t?t.page+1:i.page||0}},n),validate:e=>e.hits.length<i.hitsPerPage,...r})},browseSynonyms({indexName:e,searchSynonymsParams:t,...r},n){let i={page:0,...t,hitsPerPage:1e3};return ew({func:t=>{let r=this.searchSynonyms({indexName:e,searchSynonymsParams:{...i,page:i.page}},n);return i.page+=1,r},validate:e=>e.hits.length<i.hitsPerPage,...r})},async chunkedBatch({indexName:e,objects:t,action:r="addObject",waitForTasks:n,batchSize:i=1e3},o){let a=[],s=[];for(let[n,l]of t.entries())a.push({action:r,body:l}),(a.length===i||n===t.length-1)&&(s.push(await this.batch({indexName:e,batchWriteParams:{requests:a}},o)),a=[]);if(n)for(let t of s)await this.waitForTask({indexName:e,taskID:t.taskID});return s},async saveObjects({indexName:e,objects:t,waitForTasks:r,batchSize:n},i){return await this.chunkedBatch({indexName:e,objects:t,action:"addObject",waitForTasks:r,batchSize:n},i)},async deleteObjects({indexName:e,objectIDs:t,waitForTasks:r,batchSize:n},i){return await this.chunkedBatch({indexName:e,objects:t.map(e=>({objectID:e})),action:"deleteObject",waitForTasks:r,batchSize:n},i)},async partialUpdateObjects({indexName:e,objects:t,createIfNotExists:r,waitForTasks:n,batchSize:i},o){return await this.chunkedBatch({indexName:e,objects:t,action:r?"partialUpdateObject":"partialUpdateObjectNoCreate",batchSize:i,waitForTasks:n},o)},async replaceAllObjects({indexName:e,objects:t,batchSize:r,scopes:n},i){let o=`${e}_tmp_${Math.floor(1e6*Math.random())+1e5}`;void 0===n&&(n=["settings","rules","synonyms"]);try{let a=await this.operationIndex({indexName:e,operationIndexParams:{operation:"copy",destination:o,scope:n}},i),s=await this.chunkedBatch({indexName:o,objects:t,waitForTasks:!0,batchSize:r},i);await this.waitForTask({indexName:o,taskID:a.taskID}),a=await this.operationIndex({indexName:e,operationIndexParams:{operation:"copy",destination:o,scope:n}},i),await this.waitForTask({indexName:o,taskID:a.taskID});let l=await this.operationIndex({indexName:o,operationIndexParams:{operation:"move",destination:e}},i);return await this.waitForTask({indexName:o,taskID:l.taskID}),{copyOperationResponse:a,batchResponses:s,moveOperationResponse:l}}catch(e){throw await this.deleteIndex({indexName:o}),e}},async indexExists({indexName:e}){try{await this.getSettings({indexName:e})}catch(e){if(e instanceof eE&&404===e.status)return!1;throw e}return!0},searchForHits(e,t){return this.search(e,t)},searchForFacets(e,t){return this.search(e,t)},addApiKey(e,t){if(!e)throw Error("Parameter `apiKey` is required when calling `addApiKey`.");if(!e.acl)throw Error("Parameter `apiKey.acl` is required when calling `addApiKey`.");return a.request({method:"POST",path:"/1/keys",queryParameters:{},headers:{},data:e},t)},addOrUpdateObject({indexName:e,objectID:t,body:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `addOrUpdateObject`.");if(!t)throw Error("Parameter `objectID` is required when calling `addOrUpdateObject`.");if(!r)throw Error("Parameter `body` is required when calling `addOrUpdateObject`.");let i="/1/indexes/{indexName}/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return a.request({method:"PUT",path:i,queryParameters:{},headers:{},data:r},n)},appendSource(e,t){if(!e)throw Error("Parameter `source` is required when calling `appendSource`.");if(!e.source)throw Error("Parameter `source.source` is required when calling `appendSource`.");return a.request({method:"POST",path:"/1/security/sources/append",queryParameters:{},headers:{},data:e},t)},assignUserId({xAlgoliaUserID:e,assignUserIdParams:t},r){if(!e)throw Error("Parameter `xAlgoliaUserID` is required when calling `assignUserId`.");if(!t)throw Error("Parameter `assignUserIdParams` is required when calling `assignUserId`.");if(!t.cluster)throw Error("Parameter `assignUserIdParams.cluster` is required when calling `assignUserId`.");let n={};return void 0!==e&&(n["X-Algolia-User-ID"]=e.toString()),a.request({method:"POST",path:"/1/clusters/mapping",queryParameters:{},headers:n,data:t},r)},batch({indexName:e,batchWriteParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `batch`.");if(!t)throw Error("Parameter `batchWriteParams` is required when calling `batch`.");if(!t.requests)throw Error("Parameter `batchWriteParams.requests` is required when calling `batch`.");let n="/1/indexes/{indexName}/batch".replace("{indexName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},batchAssignUserIds({xAlgoliaUserID:e,batchAssignUserIdsParams:t},r){if(!e)throw Error("Parameter `xAlgoliaUserID` is required when calling `batchAssignUserIds`.");if(!t)throw Error("Parameter `batchAssignUserIdsParams` is required when calling `batchAssignUserIds`.");if(!t.cluster)throw Error("Parameter `batchAssignUserIdsParams.cluster` is required when calling `batchAssignUserIds`.");if(!t.users)throw Error("Parameter `batchAssignUserIdsParams.users` is required when calling `batchAssignUserIds`.");let n={};return void 0!==e&&(n["X-Algolia-User-ID"]=e.toString()),a.request({method:"POST",path:"/1/clusters/mapping/batch",queryParameters:{},headers:n,data:t},r)},batchDictionaryEntries({dictionaryName:e,batchDictionaryEntriesParams:t},r){if(!e)throw Error("Parameter `dictionaryName` is required when calling `batchDictionaryEntries`.");if(!t)throw Error("Parameter `batchDictionaryEntriesParams` is required when calling `batchDictionaryEntries`.");if(!t.requests)throw Error("Parameter `batchDictionaryEntriesParams.requests` is required when calling `batchDictionaryEntries`.");let n="/1/dictionaries/{dictionaryName}/batch".replace("{dictionaryName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},browse({indexName:e,browseParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `browse`.");let n="/1/indexes/{indexName}/browse".replace("{indexName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0},r)},clearObjects({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `clearObjects`.");let r="/1/indexes/{indexName}/clear".replace("{indexName}",encodeURIComponent(e));return a.request({method:"POST",path:r,queryParameters:{},headers:{}},t)},clearRules({indexName:e,forwardToReplicas:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `clearRules`.");let n="/1/indexes/{indexName}/rules/clear".replace("{indexName}",encodeURIComponent(e)),i={};return void 0!==t&&(i.forwardToReplicas=t.toString()),a.request({method:"POST",path:n,queryParameters:i,headers:{}},r)},clearSynonyms({indexName:e,forwardToReplicas:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `clearSynonyms`.");let n="/1/indexes/{indexName}/synonyms/clear".replace("{indexName}",encodeURIComponent(e)),i={};return void 0!==t&&(i.forwardToReplicas=t.toString()),a.request({method:"POST",path:n,queryParameters:i,headers:{}},r)},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return a.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return a.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return a.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return a.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteApiKey({key:e},t){if(!e)throw Error("Parameter `key` is required when calling `deleteApiKey`.");let r="/1/keys/{key}".replace("{key}",encodeURIComponent(e));return a.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteBy({indexName:e,deleteByParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `deleteBy`.");if(!t)throw Error("Parameter `deleteByParams` is required when calling `deleteBy`.");let n="/1/indexes/{indexName}/deleteByQuery".replace("{indexName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},deleteIndex({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `deleteIndex`.");let r="/1/indexes/{indexName}".replace("{indexName}",encodeURIComponent(e));return a.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteObject({indexName:e,objectID:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `deleteObject`.");if(!t)throw Error("Parameter `objectID` is required when calling `deleteObject`.");let n="/1/indexes/{indexName}/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return a.request({method:"DELETE",path:n,queryParameters:{},headers:{}},r)},deleteRule({indexName:e,objectID:t,forwardToReplicas:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `deleteRule`.");if(!t)throw Error("Parameter `objectID` is required when calling `deleteRule`.");let i="/1/indexes/{indexName}/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),o={};return void 0!==r&&(o.forwardToReplicas=r.toString()),a.request({method:"DELETE",path:i,queryParameters:o,headers:{}},n)},deleteSource({source:e},t){if(!e)throw Error("Parameter `source` is required when calling `deleteSource`.");let r="/1/security/sources/{source}".replace("{source}",encodeURIComponent(e));return a.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteSynonym({indexName:e,objectID:t,forwardToReplicas:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `deleteSynonym`.");if(!t)throw Error("Parameter `objectID` is required when calling `deleteSynonym`.");let i="/1/indexes/{indexName}/synonyms/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),o={};return void 0!==r&&(o.forwardToReplicas=r.toString()),a.request({method:"DELETE",path:i,queryParameters:o,headers:{}},n)},getApiKey({key:e},t){if(!e)throw Error("Parameter `key` is required when calling `getApiKey`.");let r="/1/keys/{key}".replace("{key}",encodeURIComponent(e));return a.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getAppTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `getAppTask`.");let r="/1/task/{taskID}".replace("{taskID}",encodeURIComponent(e));return a.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getDictionaryLanguages:e=>a.request({method:"GET",path:"/1/dictionaries/*/languages",queryParameters:{},headers:{}},e),getDictionarySettings:e=>a.request({method:"GET",path:"/1/dictionaries/*/settings",queryParameters:{},headers:{}},e),getLogs({offset:e,length:t,indexName:r,type:n}={},i){let o={};return void 0!==e&&(o.offset=e.toString()),void 0!==t&&(o.length=t.toString()),void 0!==r&&(o.indexName=r.toString()),void 0!==n&&(o.type=n.toString()),a.request({method:"GET",path:"/1/logs",queryParameters:o,headers:{}},i)},getObject({indexName:e,objectID:t,attributesToRetrieve:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `getObject`.");if(!t)throw Error("Parameter `objectID` is required when calling `getObject`.");let i="/1/indexes/{indexName}/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),o={};return void 0!==r&&(o.attributesToRetrieve=r.toString()),a.request({method:"GET",path:i,queryParameters:o,headers:{}},n)},getObjects(e,t){if(!e)throw Error("Parameter `getObjectsParams` is required when calling `getObjects`.");if(!e.requests)throw Error("Parameter `getObjectsParams.requests` is required when calling `getObjects`.");return a.request({method:"POST",path:"/1/indexes/*/objects",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0},t)},getRule({indexName:e,objectID:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `getRule`.");if(!t)throw Error("Parameter `objectID` is required when calling `getRule`.");let n="/1/indexes/{indexName}/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return a.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getSettings({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `getSettings`.");let r="/1/indexes/{indexName}/settings".replace("{indexName}",encodeURIComponent(e));return a.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getSources:e=>a.request({method:"GET",path:"/1/security/sources",queryParameters:{},headers:{}},e),getSynonym({indexName:e,objectID:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `getSynonym`.");if(!t)throw Error("Parameter `objectID` is required when calling `getSynonym`.");let n="/1/indexes/{indexName}/synonyms/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return a.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getTask({indexName:e,taskID:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `getTask`.");if(!t)throw Error("Parameter `taskID` is required when calling `getTask`.");let n="/1/indexes/{indexName}/task/{taskID}".replace("{indexName}",encodeURIComponent(e)).replace("{taskID}",encodeURIComponent(t));return a.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getTopUserIds:e=>a.request({method:"GET",path:"/1/clusters/mapping/top",queryParameters:{},headers:{}},e),getUserId({userID:e},t){if(!e)throw Error("Parameter `userID` is required when calling `getUserId`.");let r="/1/clusters/mapping/{userID}".replace("{userID}",encodeURIComponent(e));return a.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},hasPendingMappings({getClusters:e}={},t){let r={};return void 0!==e&&(r.getClusters=e.toString()),a.request({method:"GET",path:"/1/clusters/mapping/pending",queryParameters:r,headers:{}},t)},listApiKeys:e=>a.request({method:"GET",path:"/1/keys",queryParameters:{},headers:{}},e),listClusters:e=>a.request({method:"GET",path:"/1/clusters",queryParameters:{},headers:{}},e),listIndices({page:e,hitsPerPage:t}={},r){let n={};return void 0!==e&&(n.page=e.toString()),void 0!==t&&(n.hitsPerPage=t.toString()),a.request({method:"GET",path:"/1/indexes",queryParameters:n,headers:{}},r)},listUserIds({page:e,hitsPerPage:t}={},r){let n={};return void 0!==e&&(n.page=e.toString()),void 0!==t&&(n.hitsPerPage=t.toString()),a.request({method:"GET",path:"/1/clusters/mapping",queryParameters:n,headers:{}},r)},multipleBatch(e,t){if(!e)throw Error("Parameter `batchParams` is required when calling `multipleBatch`.");if(!e.requests)throw Error("Parameter `batchParams.requests` is required when calling `multipleBatch`.");return a.request({method:"POST",path:"/1/indexes/*/batch",queryParameters:{},headers:{},data:e},t)},operationIndex({indexName:e,operationIndexParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `operationIndex`.");if(!t)throw Error("Parameter `operationIndexParams` is required when calling `operationIndex`.");if(!t.operation)throw Error("Parameter `operationIndexParams.operation` is required when calling `operationIndex`.");if(!t.destination)throw Error("Parameter `operationIndexParams.destination` is required when calling `operationIndex`.");let n="/1/indexes/{indexName}/operation".replace("{indexName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},partialUpdateObject({indexName:e,objectID:t,attributesToUpdate:r,createIfNotExists:n},i){if(!e)throw Error("Parameter `indexName` is required when calling `partialUpdateObject`.");if(!t)throw Error("Parameter `objectID` is required when calling `partialUpdateObject`.");if(!r)throw Error("Parameter `attributesToUpdate` is required when calling `partialUpdateObject`.");let o="/1/indexes/{indexName}/{objectID}/partial".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),s={};return void 0!==n&&(s.createIfNotExists=n.toString()),a.request({method:"POST",path:o,queryParameters:s,headers:{},data:r},i)},removeUserId({userID:e},t){if(!e)throw Error("Parameter `userID` is required when calling `removeUserId`.");let r="/1/clusters/mapping/{userID}".replace("{userID}",encodeURIComponent(e));return a.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},replaceSources({source:e},t){if(!e)throw Error("Parameter `source` is required when calling `replaceSources`.");return a.request({method:"PUT",path:"/1/security/sources",queryParameters:{},headers:{},data:e},t)},restoreApiKey({key:e},t){if(!e)throw Error("Parameter `key` is required when calling `restoreApiKey`.");let r="/1/keys/{key}/restore".replace("{key}",encodeURIComponent(e));return a.request({method:"POST",path:r,queryParameters:{},headers:{}},t)},saveObject({indexName:e,body:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `saveObject`.");if(!t)throw Error("Parameter `body` is required when calling `saveObject`.");let n="/1/indexes/{indexName}".replace("{indexName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},saveRule({indexName:e,objectID:t,rule:r,forwardToReplicas:n},i){if(!e)throw Error("Parameter `indexName` is required when calling `saveRule`.");if(!t)throw Error("Parameter `objectID` is required when calling `saveRule`.");if(!r)throw Error("Parameter `rule` is required when calling `saveRule`.");if(!r.objectID)throw Error("Parameter `rule.objectID` is required when calling `saveRule`.");if(!r.consequence)throw Error("Parameter `rule.consequence` is required when calling `saveRule`.");let o="/1/indexes/{indexName}/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),s={};return void 0!==n&&(s.forwardToReplicas=n.toString()),a.request({method:"PUT",path:o,queryParameters:s,headers:{},data:r},i)},saveRules({indexName:e,rules:t,forwardToReplicas:r,clearExistingRules:n},i){if(!e)throw Error("Parameter `indexName` is required when calling `saveRules`.");if(!t)throw Error("Parameter `rules` is required when calling `saveRules`.");let o="/1/indexes/{indexName}/rules/batch".replace("{indexName}",encodeURIComponent(e)),s={};return void 0!==r&&(s.forwardToReplicas=r.toString()),void 0!==n&&(s.clearExistingRules=n.toString()),a.request({method:"POST",path:o,queryParameters:s,headers:{},data:t},i)},saveSynonym({indexName:e,objectID:t,synonymHit:r,forwardToReplicas:n},i){if(!e)throw Error("Parameter `indexName` is required when calling `saveSynonym`.");if(!t)throw Error("Parameter `objectID` is required when calling `saveSynonym`.");if(!r)throw Error("Parameter `synonymHit` is required when calling `saveSynonym`.");if(!r.objectID)throw Error("Parameter `synonymHit.objectID` is required when calling `saveSynonym`.");if(!r.type)throw Error("Parameter `synonymHit.type` is required when calling `saveSynonym`.");let o="/1/indexes/{indexName}/synonyms/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),s={};return void 0!==n&&(s.forwardToReplicas=n.toString()),a.request({method:"PUT",path:o,queryParameters:s,headers:{},data:r},i)},saveSynonyms({indexName:e,synonymHit:t,forwardToReplicas:r,replaceExistingSynonyms:n},i){if(!e)throw Error("Parameter `indexName` is required when calling `saveSynonyms`.");if(!t)throw Error("Parameter `synonymHit` is required when calling `saveSynonyms`.");let o="/1/indexes/{indexName}/synonyms/batch".replace("{indexName}",encodeURIComponent(e)),s={};return void 0!==r&&(s.forwardToReplicas=r.toString()),void 0!==n&&(s.replaceExistingSynonyms=n.toString()),a.request({method:"POST",path:o,queryParameters:s,headers:{},data:t},i)},search(e,t){if(e&&Array.isArray(e)&&(e={requests:e.map(({params:e,...t})=>"facet"===t.type?{...t,...e,type:"facet"}:{...t,...e,facet:void 0,maxFacetHits:void 0,facetQuery:void 0})}),!e)throw Error("Parameter `searchMethodParams` is required when calling `search`.");if(!e.requests)throw Error("Parameter `searchMethodParams.requests` is required when calling `search`.");let r={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return a.request(r,t)},searchDictionaryEntries({dictionaryName:e,searchDictionaryEntriesParams:t},r){if(!e)throw Error("Parameter `dictionaryName` is required when calling `searchDictionaryEntries`.");if(!t)throw Error("Parameter `searchDictionaryEntriesParams` is required when calling `searchDictionaryEntries`.");if(!t.query)throw Error("Parameter `searchDictionaryEntriesParams.query` is required when calling `searchDictionaryEntries`.");let n="/1/dictionaries/{dictionaryName}/search".replace("{dictionaryName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t,useReadTransporter:!0,cacheable:!0},r)},searchForFacetValues({indexName:e,facetName:t,searchForFacetValuesRequest:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `searchForFacetValues`.");if(!t)throw Error("Parameter `facetName` is required when calling `searchForFacetValues`.");let i="/1/indexes/{indexName}/facets/{facetName}/query".replace("{indexName}",encodeURIComponent(e)).replace("{facetName}",encodeURIComponent(t));return a.request({method:"POST",path:i,queryParameters:{},headers:{},data:r||{},useReadTransporter:!0,cacheable:!0},n)},searchRules({indexName:e,searchRulesParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `searchRules`.");let n="/1/indexes/{indexName}/rules/search".replace("{indexName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0,cacheable:!0},r)},searchSingleIndex({indexName:e,searchParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `searchSingleIndex`.");let n="/1/indexes/{indexName}/query".replace("{indexName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0,cacheable:!0},r)},searchSynonyms({indexName:e,searchSynonymsParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `searchSynonyms`.");let n="/1/indexes/{indexName}/synonyms/search".replace("{indexName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0,cacheable:!0},r)},searchUserIds(e,t){if(!e)throw Error("Parameter `searchUserIdsParams` is required when calling `searchUserIds`.");if(!e.query)throw Error("Parameter `searchUserIdsParams.query` is required when calling `searchUserIds`.");return a.request({method:"POST",path:"/1/clusters/mapping/search",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0},t)},setDictionarySettings(e,t){if(!e)throw Error("Parameter `dictionarySettingsParams` is required when calling `setDictionarySettings`.");if(!e.disableStandardEntries)throw Error("Parameter `dictionarySettingsParams.disableStandardEntries` is required when calling `setDictionarySettings`.");return a.request({method:"PUT",path:"/1/dictionaries/*/settings",queryParameters:{},headers:{},data:e},t)},setSettings({indexName:e,indexSettings:t,forwardToReplicas:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `setSettings`.");if(!t)throw Error("Parameter `indexSettings` is required when calling `setSettings`.");let i="/1/indexes/{indexName}/settings".replace("{indexName}",encodeURIComponent(e)),o={};return void 0!==r&&(o.forwardToReplicas=r.toString()),a.request({method:"PUT",path:i,queryParameters:o,headers:{},data:t},n)},updateApiKey({key:e,apiKey:t},r){if(!e)throw Error("Parameter `key` is required when calling `updateApiKey`.");if(!t)throw Error("Parameter `apiKey` is required when calling `updateApiKey`.");if(!t.acl)throw Error("Parameter `apiKey.acl` is required when calling `updateApiKey`.");let n="/1/keys/{key}".replace("{key}",encodeURIComponent(e));return a.request({method:"PUT",path:n,queryParameters:{},headers:{},data:t},r)}}}({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:{debug:(e,t)=>Promise.resolve(),info:(e,t)=>Promise.resolve(),error:(e,t)=>Promise.resolve()},requester:{send:function(e){return new Promise(t=>{let r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach(t=>r.setRequestHeader(t,e.headers[t]));let n=(e,n)=>setTimeout(()=>{r.abort(),t({status:0,content:n,isTimedOut:!0})},e),i=n(e.connectTimeout,"Connection timeout"),o;r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===o&&(clearTimeout(i),o=n(e.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(i),clearTimeout(o),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(i),clearTimeout(o),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)})}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:eb(),requestsCache:eb({serializable:!1}),hostsCache:function e(t){let r=[...t.caches],n=r.shift();return void 0===n?{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then(e=>Promise.all([e,r.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(t,i,o={miss:()=>Promise.resolve()})=>n.get(t,i,o).catch(()=>e({caches:r}).get(t,i,o)),set:(t,i)=>n.set(t,i).catch(()=>e({caches:r}).set(t,i)),delete:t=>n.delete(t).catch(()=>e({caches:r}).delete(t)),clear:()=>n.clear().catch(()=>e({caches:r}).clear())}}({caches:[function(e){let t;let r=`algolia-client-js-${e.key}`;function n(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function i(){return JSON.parse(n().getItem(r)||"{}")}function o(e){n().setItem(r,JSON.stringify(e))}return{get:(t,r,n={miss:()=>Promise.resolve()})=>Promise.resolve().then(()=>(!function(){let t=e.timeToLive?1e3*e.timeToLive:null,r=Object.fromEntries(Object.entries(i()).filter(([,e])=>void 0!==e.timestamp));o(r),t&&o(Object.fromEntries(Object.entries(r).filter(([,e])=>{let r=new Date().getTime();return!(e.timestamp+t<r)})))}(),i()[JSON.stringify(t)])).then(e=>Promise.all([e?e.value:r(),void 0!==e])).then(([e,t])=>Promise.all([e,t||n.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve().then(()=>{let o=i();return o[JSON.stringify(e)]={timestamp:new Date().getTime(),value:t},n().setItem(r,JSON.stringify(o)),t}),delete:e=>Promise.resolve().then(()=>{let t=i();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))}),clear:()=>Promise.resolve().then(()=>{n().removeItem(r)})}}({key:`${eI}-${e}`}),eb()]}),...r})}function eC(e={serializable:!0}){let t={};return{get(r,n,i={miss:()=>Promise.resolve()}){let o=JSON.stringify(r);if(o in t)return Promise.resolve(e.serializable?JSON.parse(t[o]):t[o]);let a=n();return a.then(e=>i.miss(e)).then(()=>a)},set:(r,n)=>(t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}function eA(e,t="up"){let r=Date.now();return{...e,status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>12e4},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=12e4}}}var eD=class extends Error{name="AlgoliaError";constructor(e,t){super(e),t&&(this.name=t)}},eR=class extends eD{stackTrace;constructor(e,t,r){super(e,r),this.stackTrace=t}},ej=class extends eR{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.",e,"RetryError")}},eN=class extends eR{status;constructor(e,t,r,n="ApiError"){super(e,r,n),this.status=t}},eF=class extends eD{response;constructor(e,t){super(e,"DeserializationError"),this.response=t}},e$=class extends eN{error;constructor(e,t,r,n){super(e,t,n,"DetailedApiError"),this.error=r}};function eM(e){let t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}var eL="1.20.4",eG=["eu","us"];function ez(e){return"onDemand"===e.type}function eU(e){return"schedule"===e.type}function eB(e){return"subscription"===e.type}function eV(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(!r||r&&("string"!=typeof r||!eG.includes(r)))throw Error(`\`region\` is required and must be one of the following: ${eG.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...o}){let a=function(e,t,r="WithinHeaders"){let n={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===r?n:{},queryParameters:()=>"WithinQueryParameters"===r?n:{}}}(e,t,r),s=function({hosts:e,hostsCache:t,baseHeaders:r,logger:n,baseQueryParameters:i,algoliaAgent:o,timeouts:a,requester:s,requestsCache:l,responsesCache:u}){async function c(e){let r=await Promise.all(e.map(e=>t.get(e,()=>Promise.resolve(eA(e))))),n=r.filter(e=>e.isUp()),i=r.filter(e=>e.isTimedOut()),o=[...n,...i];return{hosts:o.length>0?o:e,getTimeout:(e,t)=>(0===i.length&&0===e?1:i.length+3+e)*t}}async function d(l,u,d=!0){let h=[],p=function(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data))return JSON.stringify(Array.isArray(e.data)?e.data:{...e.data,...t.data})}(l,u),f=function(e,t,r){let n={Accept:"application/json",...e,...t,...r},i={};return Object.keys(n).forEach(e=>{let t=n[e];i[e.toLowerCase()]=t}),i}(r,l.headers,u.headers),m="GET"===l.method?{...l.data,...u.data}:{},g={...i,...l.queryParameters,...m};if(o.value&&(g["x-algolia-agent"]=o.value),u&&u.queryParameters)for(let e of Object.keys(u.queryParameters))u.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(u.queryParameters[e])?g[e]=u.queryParameters[e].toString():g[e]=u.queryParameters[e];let y=0,v=async(e,r)=>{let i=e.pop();if(void 0===i)throw new ej(h.map(e=>eM(e)));let o={...a,...u.timeouts},c={data:p,headers:f,method:l.method,url:function(e,t,r){let n=Object.keys(r).filter(e=>void 0!==r[e]).sort().map(e=>`${e}=${encodeURIComponent("[object Array]"===Object.prototype.toString.call(r[e])?r[e].join(","):r[e]).replace(/\+/g,"%20")}`).join("&"),i=`${e.protocol}://${e.url}${e.port?`:${e.port}`:""}/${"/"===t.charAt(0)?t.substring(1):t}`;return n.length&&(i+=`?${n}`),i}(i,l.path,g),connectTimeout:r(y,o.connect),responseTimeout:r(y,d?o.read:o.write)},m=t=>{let r={request:c,response:t,host:i,triesLeft:e.length};return h.push(r),r},b=await s.send(c);if(function({isTimedOut:e,status:t}){return e||function({isTimedOut:e,status:t}){return!e&&0==~~t}({isTimedOut:e,status:t})||2!=~~(t/100)&&4!=~~(t/100)}(b)){let o=m(b);return b.isTimedOut&&y++,n.info("Retryable failure",eM(o)),await t.set(i,eA(i,b.isTimedOut?"timed out":"down")),v(e,r)}if(function({status:e}){return 2==~~(e/100)}(b))return function(e){try{return JSON.parse(e.content)}catch(t){throw new eF(t.message,e)}}(b);throw m(b),function({content:e,status:t},r){try{let n=JSON.parse(e);if("error"in n)return new e$(n.message,t,n.error,r);return new eN(n.message,t,r)}catch{}return new eN(e,t,r)}(b,h)},b=e.filter(e=>"readWrite"===e.accept||(d?"read"===e.accept:"write"===e.accept)),w=await c(b);return v([...w.hosts].reverse(),w.getTimeout)}return{hostsCache:t,requester:s,timeouts:a,logger:n,algoliaAgent:o,baseHeaders:r,baseQueryParameters:i,hosts:e,request:function(e,t={}){let n=e.useReadTransporter||"GET"===e.method;if(!n)return d(e,t,n);let o=()=>d(e,t);if(!0!==(t.cacheable||e.cacheable))return o();let a={request:e,requestOptions:t,transporter:{queryParameters:i,headers:r}};return u.get(a,()=>l.get(a,()=>l.set(a,o()).then(e=>Promise.all([l.delete(a),e]),e=>Promise.all([l.delete(a),Promise.reject(e)])).then(([e,t])=>t)),{miss:e=>u.set(a,e)})},requestsCache:l,responsesCache:u}}({hosts:[{url:"data.{region}.algolia.com".replace("{region}",i),accept:"readWrite",protocol:"https"}],...o,algoliaAgent:function({algoliaAgents:e,client:t,version:r}){let n=(function(e){let t={value:`Algolia for JavaScript (${e})`,add(e){let r=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return -1===t.value.indexOf(r)&&(t.value=`${t.value}${r}`),t}};return t})(r).add({segment:t,version:r});return e.forEach(e=>n.add(e)),n}({algoliaAgents:n,client:"Ingestion",version:eL}),baseHeaders:{"content-type":"text/plain",...a.headers(),...o.baseHeaders},baseQueryParameters:{...a.queryParameters(),...o.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},createAuthentication(e,t){if(!e)throw Error("Parameter `authenticationCreate` is required when calling `createAuthentication`.");if(!e.type)throw Error("Parameter `authenticationCreate.type` is required when calling `createAuthentication`.");if(!e.name)throw Error("Parameter `authenticationCreate.name` is required when calling `createAuthentication`.");if(!e.input)throw Error("Parameter `authenticationCreate.input` is required when calling `createAuthentication`.");return s.request({method:"POST",path:"/1/authentications",queryParameters:{},headers:{},data:e},t)},createDestination(e,t){if(!e)throw Error("Parameter `destinationCreate` is required when calling `createDestination`.");if(!e.type)throw Error("Parameter `destinationCreate.type` is required when calling `createDestination`.");if(!e.name)throw Error("Parameter `destinationCreate.name` is required when calling `createDestination`.");if(!e.input)throw Error("Parameter `destinationCreate.input` is required when calling `createDestination`.");return s.request({method:"POST",path:"/1/destinations",queryParameters:{},headers:{},data:e},t)},createSource(e,t){if(!e)throw Error("Parameter `sourceCreate` is required when calling `createSource`.");if(!e.type)throw Error("Parameter `sourceCreate.type` is required when calling `createSource`.");if(!e.name)throw Error("Parameter `sourceCreate.name` is required when calling `createSource`.");return s.request({method:"POST",path:"/1/sources",queryParameters:{},headers:{},data:e},t)},createTask(e,t){if(!e)throw Error("Parameter `taskCreate` is required when calling `createTask`.");if(!e.sourceID)throw Error("Parameter `taskCreate.sourceID` is required when calling `createTask`.");if(!e.destinationID)throw Error("Parameter `taskCreate.destinationID` is required when calling `createTask`.");if(!e.action)throw Error("Parameter `taskCreate.action` is required when calling `createTask`.");return s.request({method:"POST",path:"/2/tasks",queryParameters:{},headers:{},data:e},t)},createTaskV1(e,t){if(!e)throw Error("Parameter `taskCreate` is required when calling `createTaskV1`.");if(!e.sourceID)throw Error("Parameter `taskCreate.sourceID` is required when calling `createTaskV1`.");if(!e.destinationID)throw Error("Parameter `taskCreate.destinationID` is required when calling `createTaskV1`.");if(!e.trigger)throw Error("Parameter `taskCreate.trigger` is required when calling `createTaskV1`.");if(!e.action)throw Error("Parameter `taskCreate.action` is required when calling `createTaskV1`.");return s.request({method:"POST",path:"/1/tasks",queryParameters:{},headers:{},data:e},t)},createTransformation(e,t){if(!e)throw Error("Parameter `transformationCreate` is required when calling `createTransformation`.");if(!e.code)throw Error("Parameter `transformationCreate.code` is required when calling `createTransformation`.");if(!e.name)throw Error("Parameter `transformationCreate.name` is required when calling `createTransformation`.");return s.request({method:"POST",path:"/1/transformations",queryParameters:{},headers:{},data:e},t)},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteAuthentication({authenticationID:e},t){if(!e)throw Error("Parameter `authenticationID` is required when calling `deleteAuthentication`.");let r="/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteDestination({destinationID:e},t){if(!e)throw Error("Parameter `destinationID` is required when calling `deleteDestination`.");let r="/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteSource({sourceID:e},t){if(!e)throw Error("Parameter `sourceID` is required when calling `deleteSource`.");let r="/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `deleteTask`.");let r="/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteTaskV1({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `deleteTaskV1`.");let r="/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteTransformation({transformationID:e},t){if(!e)throw Error("Parameter `transformationID` is required when calling `deleteTransformation`.");let r="/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},disableTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `disableTask`.");let r="/2/tasks/{taskID}/disable".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PUT",path:r,queryParameters:{},headers:{}},t)},disableTaskV1({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `disableTaskV1`.");let r="/1/tasks/{taskID}/disable".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PUT",path:r,queryParameters:{},headers:{}},t)},enableTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `enableTask`.");let r="/2/tasks/{taskID}/enable".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PUT",path:r,queryParameters:{},headers:{}},t)},enableTaskV1({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `enableTaskV1`.");let r="/1/tasks/{taskID}/enable".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PUT",path:r,queryParameters:{},headers:{}},t)},getAuthentication({authenticationID:e},t){if(!e)throw Error("Parameter `authenticationID` is required when calling `getAuthentication`.");let r="/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getDestination({destinationID:e},t){if(!e)throw Error("Parameter `destinationID` is required when calling `getDestination`.");let r="/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getEvent({runID:e,eventID:t},r){if(!e)throw Error("Parameter `runID` is required when calling `getEvent`.");if(!t)throw Error("Parameter `eventID` is required when calling `getEvent`.");let n="/1/runs/{runID}/events/{eventID}".replace("{runID}",encodeURIComponent(e)).replace("{eventID}",encodeURIComponent(t));return s.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getRun({runID:e},t){if(!e)throw Error("Parameter `runID` is required when calling `getRun`.");let r="/1/runs/{runID}".replace("{runID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getSource({sourceID:e},t){if(!e)throw Error("Parameter `sourceID` is required when calling `getSource`.");let r="/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `getTask`.");let r="/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getTaskV1({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `getTaskV1`.");let r="/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getTransformation({transformationID:e},t){if(!e)throw Error("Parameter `transformationID` is required when calling `getTransformation`.");let r="/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},listAuthentications({itemsPerPage:e,page:t,type:r,platform:n,sort:i,order:o}={},a){let l={};return void 0!==e&&(l.itemsPerPage=e.toString()),void 0!==t&&(l.page=t.toString()),void 0!==r&&(l.type=r.toString()),void 0!==n&&(l.platform=n.toString()),void 0!==i&&(l.sort=i.toString()),void 0!==o&&(l.order=o.toString()),s.request({method:"GET",path:"/1/authentications",queryParameters:l,headers:{}},a)},listDestinations({itemsPerPage:e,page:t,type:r,authenticationID:n,transformationID:i,sort:o,order:a}={},l){let u={};return void 0!==e&&(u.itemsPerPage=e.toString()),void 0!==t&&(u.page=t.toString()),void 0!==r&&(u.type=r.toString()),void 0!==n&&(u.authenticationID=n.toString()),void 0!==i&&(u.transformationID=i.toString()),void 0!==o&&(u.sort=o.toString()),void 0!==a&&(u.order=a.toString()),s.request({method:"GET",path:"/1/destinations",queryParameters:u,headers:{}},l)},listEvents({runID:e,itemsPerPage:t,page:r,status:n,type:i,sort:o,order:a,startDate:l,endDate:u},c){if(!e)throw Error("Parameter `runID` is required when calling `listEvents`.");let d="/1/runs/{runID}/events".replace("{runID}",encodeURIComponent(e)),h={};return void 0!==t&&(h.itemsPerPage=t.toString()),void 0!==r&&(h.page=r.toString()),void 0!==n&&(h.status=n.toString()),void 0!==i&&(h.type=i.toString()),void 0!==o&&(h.sort=o.toString()),void 0!==a&&(h.order=a.toString()),void 0!==l&&(h.startDate=l.toString()),void 0!==u&&(h.endDate=u.toString()),s.request({method:"GET",path:d,queryParameters:h,headers:{}},c)},listRuns({itemsPerPage:e,page:t,status:r,type:n,taskID:i,sort:o,order:a,startDate:l,endDate:u}={},c){let d={};return void 0!==e&&(d.itemsPerPage=e.toString()),void 0!==t&&(d.page=t.toString()),void 0!==r&&(d.status=r.toString()),void 0!==n&&(d.type=n.toString()),void 0!==i&&(d.taskID=i.toString()),void 0!==o&&(d.sort=o.toString()),void 0!==a&&(d.order=a.toString()),void 0!==l&&(d.startDate=l.toString()),void 0!==u&&(d.endDate=u.toString()),s.request({method:"GET",path:"/1/runs",queryParameters:d,headers:{}},c)},listSources({itemsPerPage:e,page:t,type:r,authenticationID:n,sort:i,order:o}={},a){let l={};return void 0!==e&&(l.itemsPerPage=e.toString()),void 0!==t&&(l.page=t.toString()),void 0!==r&&(l.type=r.toString()),void 0!==n&&(l.authenticationID=n.toString()),void 0!==i&&(l.sort=i.toString()),void 0!==o&&(l.order=o.toString()),s.request({method:"GET",path:"/1/sources",queryParameters:l,headers:{}},a)},listTasks({itemsPerPage:e,page:t,action:r,enabled:n,sourceID:i,sourceType:o,destinationID:a,triggerType:l,withEmailNotifications:u,sort:c,order:d}={},h){let p={};return void 0!==e&&(p.itemsPerPage=e.toString()),void 0!==t&&(p.page=t.toString()),void 0!==r&&(p.action=r.toString()),void 0!==n&&(p.enabled=n.toString()),void 0!==i&&(p.sourceID=i.toString()),void 0!==o&&(p.sourceType=o.toString()),void 0!==a&&(p.destinationID=a.toString()),void 0!==l&&(p.triggerType=l.toString()),void 0!==u&&(p.withEmailNotifications=u.toString()),void 0!==c&&(p.sort=c.toString()),void 0!==d&&(p.order=d.toString()),s.request({method:"GET",path:"/2/tasks",queryParameters:p,headers:{}},h)},listTasksV1({itemsPerPage:e,page:t,action:r,enabled:n,sourceID:i,destinationID:o,triggerType:a,sort:l,order:u}={},c){let d={};return void 0!==e&&(d.itemsPerPage=e.toString()),void 0!==t&&(d.page=t.toString()),void 0!==r&&(d.action=r.toString()),void 0!==n&&(d.enabled=n.toString()),void 0!==i&&(d.sourceID=i.toString()),void 0!==o&&(d.destinationID=o.toString()),void 0!==a&&(d.triggerType=a.toString()),void 0!==l&&(d.sort=l.toString()),void 0!==u&&(d.order=u.toString()),s.request({method:"GET",path:"/1/tasks",queryParameters:d,headers:{}},c)},listTransformations({itemsPerPage:e,page:t,sort:r,order:n}={},i){let o={};return void 0!==e&&(o.itemsPerPage=e.toString()),void 0!==t&&(o.page=t.toString()),void 0!==r&&(o.sort=r.toString()),void 0!==n&&(o.order=n.toString()),s.request({method:"GET",path:"/1/transformations",queryParameters:o,headers:{}},i)},pushTask({taskID:e,pushTaskPayload:t,watch:r},n){if(!e)throw Error("Parameter `taskID` is required when calling `pushTask`.");if(!t)throw Error("Parameter `pushTaskPayload` is required when calling `pushTask`.");if(!t.action)throw Error("Parameter `pushTaskPayload.action` is required when calling `pushTask`.");if(!t.records)throw Error("Parameter `pushTaskPayload.records` is required when calling `pushTask`.");let i="/2/tasks/{taskID}/push".replace("{taskID}",encodeURIComponent(e)),o={};return void 0!==r&&(o.watch=r.toString()),n={timeouts:{connect:18e4,read:18e4,write:18e4,...n?.timeouts}},s.request({method:"POST",path:i,queryParameters:o,headers:{},data:t},n)},runSource({sourceID:e,runSourcePayload:t},r){if(!e)throw Error("Parameter `sourceID` is required when calling `runSource`.");let n="/1/sources/{sourceID}/run".replace("{sourceID}",encodeURIComponent(e));return s.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{}},r)},runTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `runTask`.");let r="/2/tasks/{taskID}/run".replace("{taskID}",encodeURIComponent(e));return s.request({method:"POST",path:r,queryParameters:{},headers:{}},t)},runTaskV1({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `runTaskV1`.");let r="/1/tasks/{taskID}/run".replace("{taskID}",encodeURIComponent(e));return s.request({method:"POST",path:r,queryParameters:{},headers:{}},t)},searchAuthentications(e,t){if(!e)throw Error("Parameter `authenticationSearch` is required when calling `searchAuthentications`.");if(!e.authenticationIDs)throw Error("Parameter `authenticationSearch.authenticationIDs` is required when calling `searchAuthentications`.");return s.request({method:"POST",path:"/1/authentications/search",queryParameters:{},headers:{},data:e},t)},searchDestinations(e,t){if(!e)throw Error("Parameter `destinationSearch` is required when calling `searchDestinations`.");if(!e.destinationIDs)throw Error("Parameter `destinationSearch.destinationIDs` is required when calling `searchDestinations`.");return s.request({method:"POST",path:"/1/destinations/search",queryParameters:{},headers:{},data:e},t)},searchSources(e,t){if(!e)throw Error("Parameter `sourceSearch` is required when calling `searchSources`.");if(!e.sourceIDs)throw Error("Parameter `sourceSearch.sourceIDs` is required when calling `searchSources`.");return s.request({method:"POST",path:"/1/sources/search",queryParameters:{},headers:{},data:e},t)},searchTasks(e,t){if(!e)throw Error("Parameter `taskSearch` is required when calling `searchTasks`.");if(!e.taskIDs)throw Error("Parameter `taskSearch.taskIDs` is required when calling `searchTasks`.");return s.request({method:"POST",path:"/2/tasks/search",queryParameters:{},headers:{},data:e},t)},searchTasksV1(e,t){if(!e)throw Error("Parameter `taskSearch` is required when calling `searchTasksV1`.");if(!e.taskIDs)throw Error("Parameter `taskSearch.taskIDs` is required when calling `searchTasksV1`.");return s.request({method:"POST",path:"/1/tasks/search",queryParameters:{},headers:{},data:e},t)},searchTransformations(e,t){if(!e)throw Error("Parameter `transformationSearch` is required when calling `searchTransformations`.");if(!e.transformationIDs)throw Error("Parameter `transformationSearch.transformationIDs` is required when calling `searchTransformations`.");return s.request({method:"POST",path:"/1/transformations/search",queryParameters:{},headers:{},data:e},t)},triggerDockerSourceDiscover({sourceID:e},t){if(!e)throw Error("Parameter `sourceID` is required when calling `triggerDockerSourceDiscover`.");let r="/1/sources/{sourceID}/discover".replace("{sourceID}",encodeURIComponent(e));return t={timeouts:{connect:18e4,read:18e4,write:18e4,...t?.timeouts}},s.request({method:"POST",path:r,queryParameters:{},headers:{}},t)},tryTransformation(e,t){if(!e)throw Error("Parameter `transformationTry` is required when calling `tryTransformation`.");if(!e.code)throw Error("Parameter `transformationTry.code` is required when calling `tryTransformation`.");if(!e.sampleRecord)throw Error("Parameter `transformationTry.sampleRecord` is required when calling `tryTransformation`.");return s.request({method:"POST",path:"/1/transformations/try",queryParameters:{},headers:{},data:e},t)},tryTransformationBeforeUpdate({transformationID:e,transformationTry:t},r){if(!e)throw Error("Parameter `transformationID` is required when calling `tryTransformationBeforeUpdate`.");if(!t)throw Error("Parameter `transformationTry` is required when calling `tryTransformationBeforeUpdate`.");if(!t.code)throw Error("Parameter `transformationTry.code` is required when calling `tryTransformationBeforeUpdate`.");if(!t.sampleRecord)throw Error("Parameter `transformationTry.sampleRecord` is required when calling `tryTransformationBeforeUpdate`.");let n="/1/transformations/{transformationID}/try".replace("{transformationID}",encodeURIComponent(e));return s.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},updateAuthentication({authenticationID:e,authenticationUpdate:t},r){if(!e)throw Error("Parameter `authenticationID` is required when calling `updateAuthentication`.");if(!t)throw Error("Parameter `authenticationUpdate` is required when calling `updateAuthentication`.");let n="/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateDestination({destinationID:e,destinationUpdate:t},r){if(!e)throw Error("Parameter `destinationID` is required when calling `updateDestination`.");if(!t)throw Error("Parameter `destinationUpdate` is required when calling `updateDestination`.");let n="/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateSource({sourceID:e,sourceUpdate:t},r){if(!e)throw Error("Parameter `sourceID` is required when calling `updateSource`.");if(!t)throw Error("Parameter `sourceUpdate` is required when calling `updateSource`.");let n="/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateTask({taskID:e,taskUpdate:t},r){if(!e)throw Error("Parameter `taskID` is required when calling `updateTask`.");if(!t)throw Error("Parameter `taskUpdate` is required when calling `updateTask`.");let n="/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateTaskV1({taskID:e,taskUpdate:t},r){if(!e)throw Error("Parameter `taskID` is required when calling `updateTaskV1`.");if(!t)throw Error("Parameter `taskUpdate` is required when calling `updateTaskV1`.");let n="/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateTransformation({transformationID:e,transformationCreate:t},r){if(!e)throw Error("Parameter `transformationID` is required when calling `updateTransformation`.");if(!t)throw Error("Parameter `transformationCreate` is required when calling `updateTransformation`.");if(!t.code)throw Error("Parameter `transformationCreate.code` is required when calling `updateTransformation`.");if(!t.name)throw Error("Parameter `transformationCreate.name` is required when calling `updateTransformation`.");let n="/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e));return s.request({method:"PUT",path:n,queryParameters:{},headers:{},data:t},r)},validateSource:(e,t)=>(t={timeouts:{connect:18e4,read:18e4,write:18e4,...t?.timeouts}},s.request({method:"POST",path:"/1/sources/validate",queryParameters:{},headers:{},data:e||{}},t)),validateSourceBeforeUpdate({sourceID:e,sourceUpdate:t},r){if(!e)throw Error("Parameter `sourceID` is required when calling `validateSourceBeforeUpdate`.");if(!t)throw Error("Parameter `sourceUpdate` is required when calling `validateSourceBeforeUpdate`.");let n="/1/sources/{sourceID}/validate".replace("{sourceID}",encodeURIComponent(e));return r={timeouts:{connect:18e4,read:18e4,write:18e4,...r?.timeouts}},s.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:25e3,read:25e3,write:25e3},logger:{debug:(e,t)=>Promise.resolve(),info:(e,t)=>Promise.resolve(),error:(e,t)=>Promise.resolve()},requester:{send:function(e){return new Promise(t=>{let r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach(t=>r.setRequestHeader(t,e.headers[t]));let n=(e,n)=>setTimeout(()=>{r.abort(),t({status:0,content:n,isTimedOut:!0})},e),i=n(e.connectTimeout,"Connection timeout"),o;r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===o&&(clearTimeout(i),o=n(e.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(i),clearTimeout(o),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(i),clearTimeout(o),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)})}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:eC(),requestsCache:eC({serializable:!1}),hostsCache:function e(t){let r=[...t.caches],n=r.shift();return void 0===n?{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then(e=>Promise.all([e,r.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(t,i,o={miss:()=>Promise.resolve()})=>n.get(t,i,o).catch(()=>e({caches:r}).get(t,i,o)),set:(t,i)=>n.set(t,i).catch(()=>e({caches:r}).set(t,i)),delete:t=>n.delete(t).catch(()=>e({caches:r}).delete(t)),clear:()=>n.clear().catch(()=>e({caches:r}).clear())}}({caches:[function(e){let t;let r=`algolia-client-js-${e.key}`;function n(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function i(){return JSON.parse(n().getItem(r)||"{}")}function o(e){n().setItem(r,JSON.stringify(e))}return{get:(t,r,n={miss:()=>Promise.resolve()})=>Promise.resolve().then(()=>(!function(){let t=e.timeToLive?1e3*e.timeToLive:null,r=Object.fromEntries(Object.entries(i()).filter(([,e])=>void 0!==e.timestamp));o(r),t&&o(Object.fromEntries(Object.entries(r).filter(([,e])=>{let r=new Date().getTime();return!(e.timestamp+t<r)})))}(),i()[JSON.stringify(t)])).then(e=>Promise.all([e?e.value:r(),void 0!==e])).then(([e,t])=>Promise.all([e,t||n.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve().then(()=>{let o=i();return o[JSON.stringify(e)]={timestamp:new Date().getTime(),value:t},n().setItem(r,JSON.stringify(o)),t}),delete:e=>Promise.resolve().then(()=>{let t=i();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))}),clear:()=>Promise.resolve().then(()=>{n().removeItem(r)})}}({key:`${eL}-${e}`}),eC()]}),...n})}function eW(e={serializable:!0}){let t={};return{get(r,n,i={miss:()=>Promise.resolve()}){let o=JSON.stringify(r);if(o in t)return Promise.resolve(e.serializable?JSON.parse(t[o]):t[o]);let a=n();return a.then(e=>i.miss(e)).then(()=>a)},set:(r,n)=>(t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}function eH(e,t="up"){let r=Date.now();return{...e,status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>12e4},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=12e4}}}var eQ=class extends Error{name="AlgoliaError";constructor(e,t){super(e),t&&(this.name=t)}},eZ=class extends eQ{stackTrace;constructor(e,t,r){super(e,r),this.stackTrace=t}},eJ=class extends eZ{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.",e,"RetryError")}},eK=class extends eZ{status;constructor(e,t,r,n="ApiError"){super(e,r,n),this.status=t}},eY=class extends eQ{response;constructor(e,t){super(e,"DeserializationError"),this.response=t}},eX=class extends eK{error;constructor(e,t,r,n){super(e,t,n,"DetailedApiError"),this.error=r}};function e0(e){let t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}var e1="1.20.4";function e2(e,t,r){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,...i}){let o=function(e,t,r="WithinHeaders"){let n={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===r?n:{},queryParameters:()=>"WithinQueryParameters"===r?n:{}}}(e,t,r),a=function({hosts:e,hostsCache:t,baseHeaders:r,logger:n,baseQueryParameters:i,algoliaAgent:o,timeouts:a,requester:s,requestsCache:l,responsesCache:u}){async function c(e){let r=await Promise.all(e.map(e=>t.get(e,()=>Promise.resolve(eH(e))))),n=r.filter(e=>e.isUp()),i=r.filter(e=>e.isTimedOut()),o=[...n,...i];return{hosts:o.length>0?o:e,getTimeout:(e,t)=>(0===i.length&&0===e?1:i.length+3+e)*t}}async function d(l,u,d=!0){let h=[],p=function(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data))return JSON.stringify(Array.isArray(e.data)?e.data:{...e.data,...t.data})}(l,u),f=function(e,t,r){let n={Accept:"application/json",...e,...t,...r},i={};return Object.keys(n).forEach(e=>{let t=n[e];i[e.toLowerCase()]=t}),i}(r,l.headers,u.headers),m="GET"===l.method?{...l.data,...u.data}:{},g={...i,...l.queryParameters,...m};if(o.value&&(g["x-algolia-agent"]=o.value),u&&u.queryParameters)for(let e of Object.keys(u.queryParameters))u.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(u.queryParameters[e])?g[e]=u.queryParameters[e].toString():g[e]=u.queryParameters[e];let y=0,v=async(e,r)=>{let i=e.pop();if(void 0===i)throw new eJ(h.map(e=>e0(e)));let o={...a,...u.timeouts},c={data:p,headers:f,method:l.method,url:function(e,t,r){let n=Object.keys(r).filter(e=>void 0!==r[e]).sort().map(e=>`${e}=${encodeURIComponent("[object Array]"===Object.prototype.toString.call(r[e])?r[e].join(","):r[e]).replace(/\+/g,"%20")}`).join("&"),i=`${e.protocol}://${e.url}${e.port?`:${e.port}`:""}/${"/"===t.charAt(0)?t.substring(1):t}`;return n.length&&(i+=`?${n}`),i}(i,l.path,g),connectTimeout:r(y,o.connect),responseTimeout:r(y,d?o.read:o.write)},m=t=>{let r={request:c,response:t,host:i,triesLeft:e.length};return h.push(r),r},b=await s.send(c);if(function({isTimedOut:e,status:t}){return e||function({isTimedOut:e,status:t}){return!e&&0==~~t}({isTimedOut:e,status:t})||2!=~~(t/100)&&4!=~~(t/100)}(b)){let o=m(b);return b.isTimedOut&&y++,n.info("Retryable failure",e0(o)),await t.set(i,eH(i,b.isTimedOut?"timed out":"down")),v(e,r)}if(function({status:e}){return 2==~~(e/100)}(b))return function(e){try{return JSON.parse(e.content)}catch(t){throw new eY(t.message,e)}}(b);throw m(b),function({content:e,status:t},r){try{let n=JSON.parse(e);if("error"in n)return new eX(n.message,t,n.error,r);return new eK(n.message,t,r)}catch{}return new eK(e,t,r)}(b,h)},b=e.filter(e=>"readWrite"===e.accept||(d?"read"===e.accept:"write"===e.accept)),w=await c(b);return v([...w.hosts].reverse(),w.getTimeout)}return{hostsCache:t,requester:s,timeouts:a,logger:n,algoliaAgent:o,baseHeaders:r,baseQueryParameters:i,hosts:e,request:function(e,t={}){let n=e.useReadTransporter||"GET"===e.method;if(!n)return d(e,t,n);let o=()=>d(e,t);if(!0!==(t.cacheable||e.cacheable))return o();let a={request:e,requestOptions:t,transporter:{queryParameters:i,headers:r}};return u.get(a,()=>l.get(a,()=>l.set(a,o()).then(e=>Promise.all([l.delete(a),e]),e=>Promise.all([l.delete(a),Promise.reject(e)])).then(([e,t])=>t)),{miss:e=>u.set(a,e)})},requestsCache:l,responsesCache:u}}({hosts:[{url:"status.algolia.com",accept:"readWrite",protocol:"https"}],...i,algoliaAgent:function({algoliaAgents:e,client:t,version:r}){let n=(function(e){let t={value:`Algolia for JavaScript (${e})`,add(e){let r=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return -1===t.value.indexOf(r)&&(t.value=`${t.value}${r}`),t}};return t})(r).add({segment:t,version:r});return e.forEach(e=>n.add(e)),n}({algoliaAgents:n,client:"Monitoring",version:e1}),baseHeaders:{"content-type":"text/plain",...o.headers(),...i.baseHeaders},baseQueryParameters:{...o.queryParameters(),...i.baseQueryParameters}});return{transporter:a,appId:e,apiKey:t,clearCache:()=>Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then(()=>void 0),get _ua(){return a.algoliaAgent.value},addAlgoliaAgent(e,t){a.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?a.baseQueryParameters["x-algolia-api-key"]=e:a.baseHeaders["x-algolia-api-key"]=e},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return a.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return a.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return a.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return a.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},getClusterIncidents({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getClusterIncidents`.");let r="/1/incidents/{clusters}".replace("{clusters}",encodeURIComponent(e));return a.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getClusterStatus({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getClusterStatus`.");let r="/1/status/{clusters}".replace("{clusters}",encodeURIComponent(e));return a.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getIncidents:e=>a.request({method:"GET",path:"/1/incidents",queryParameters:{},headers:{}},e),getIndexingTime({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getIndexingTime`.");let r="/1/indexing/{clusters}".replace("{clusters}",encodeURIComponent(e));return a.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getLatency({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getLatency`.");let r="/1/latency/{clusters}".replace("{clusters}",encodeURIComponent(e));return a.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getMetrics({metric:e,period:t},r){if(!e)throw Error("Parameter `metric` is required when calling `getMetrics`.");if(!t)throw Error("Parameter `period` is required when calling `getMetrics`.");let n="/1/infrastructure/{metric}/period/{period}".replace("{metric}",encodeURIComponent(e)).replace("{period}",encodeURIComponent(t));return a.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getReachability({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getReachability`.");let r="/1/reachability/{clusters}/probes".replace("{clusters}",encodeURIComponent(e));return a.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getServers:e=>a.request({method:"GET",path:"/1/inventory/servers",queryParameters:{},headers:{}},e),getStatus:e=>a.request({method:"GET",path:"/1/status",queryParameters:{},headers:{}},e)}}({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:{debug:(e,t)=>Promise.resolve(),info:(e,t)=>Promise.resolve(),error:(e,t)=>Promise.resolve()},requester:{send:function(e){return new Promise(t=>{let r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach(t=>r.setRequestHeader(t,e.headers[t]));let n=(e,n)=>setTimeout(()=>{r.abort(),t({status:0,content:n,isTimedOut:!0})},e),i=n(e.connectTimeout,"Connection timeout"),o;r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===o&&(clearTimeout(i),o=n(e.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(i),clearTimeout(o),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(i),clearTimeout(o),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)})}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:eW(),requestsCache:eW({serializable:!1}),hostsCache:function e(t){let r=[...t.caches],n=r.shift();return void 0===n?{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then(e=>Promise.all([e,r.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(t,i,o={miss:()=>Promise.resolve()})=>n.get(t,i,o).catch(()=>e({caches:r}).get(t,i,o)),set:(t,i)=>n.set(t,i).catch(()=>e({caches:r}).set(t,i)),delete:t=>n.delete(t).catch(()=>e({caches:r}).delete(t)),clear:()=>n.clear().catch(()=>e({caches:r}).clear())}}({caches:[function(e){let t;let r=`algolia-client-js-${e.key}`;function n(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function i(){return JSON.parse(n().getItem(r)||"{}")}function o(e){n().setItem(r,JSON.stringify(e))}return{get:(t,r,n={miss:()=>Promise.resolve()})=>Promise.resolve().then(()=>(!function(){let t=e.timeToLive?1e3*e.timeToLive:null,r=Object.fromEntries(Object.entries(i()).filter(([,e])=>void 0!==e.timestamp));o(r),t&&o(Object.fromEntries(Object.entries(r).filter(([,e])=>{let r=new Date().getTime();return!(e.timestamp+t<r)})))}(),i()[JSON.stringify(t)])).then(e=>Promise.all([e?e.value:r(),void 0!==e])).then(([e,t])=>Promise.all([e,t||n.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve().then(()=>{let o=i();return o[JSON.stringify(e)]={timestamp:new Date().getTime(),value:t},n().setItem(r,JSON.stringify(o)),t}),delete:e=>Promise.resolve().then(()=>{let t=i();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))}),clear:()=>Promise.resolve().then(()=>{n().removeItem(r)})}}({key:`${e1}-${e}`}),eW()]}),...r})}var e5="5.20.4";function e3(e,t,r){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,...i}){let o=C(e,t,r),a=z({hosts:[{url:`${e}-dsn.algolia.net`,accept:"read",protocol:"https"},{url:`${e}.algolia.net`,accept:"write",protocol:"https"}].concat(function(e){for(let t=e.length-1;t>0;t--){let r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}([{url:`${e}-1.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-2.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-3.algolianet.com`,accept:"readWrite",protocol:"https"}])),...i,algoliaAgent:A({algoliaAgents:n,client:"Recommend",version:e5}),baseHeaders:{"content-type":"text/plain",...o.headers(),...i.baseHeaders},baseQueryParameters:{...o.queryParameters(),...i.baseQueryParameters}});return{transporter:a,appId:e,apiKey:t,clearCache:()=>Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then(()=>void 0),get _ua(){return a.algoliaAgent.value},addAlgoliaAgent(e,t){a.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?a.baseQueryParameters["x-algolia-api-key"]=e:a.baseHeaders["x-algolia-api-key"]=e},batchRecommendRules({indexName:e,model:t,recommendRule:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `batchRecommendRules`.");if(!t)throw Error("Parameter `model` is required when calling `batchRecommendRules`.");let i="/1/indexes/{indexName}/{model}/recommend/rules/batch".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t));return a.request({method:"POST",path:i,queryParameters:{},headers:{},data:r||{}},n)},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return a.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return a.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return a.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return a.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteRecommendRule({indexName:e,model:t,objectID:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `deleteRecommendRule`.");if(!t)throw Error("Parameter `model` is required when calling `deleteRecommendRule`.");if(!r)throw Error("Parameter `objectID` is required when calling `deleteRecommendRule`.");let i="/1/indexes/{indexName}/{model}/recommend/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t)).replace("{objectID}",encodeURIComponent(r));return a.request({method:"DELETE",path:i,queryParameters:{},headers:{}},n)},getRecommendRule({indexName:e,model:t,objectID:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `getRecommendRule`.");if(!t)throw Error("Parameter `model` is required when calling `getRecommendRule`.");if(!r)throw Error("Parameter `objectID` is required when calling `getRecommendRule`.");let i="/1/indexes/{indexName}/{model}/recommend/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t)).replace("{objectID}",encodeURIComponent(r));return a.request({method:"GET",path:i,queryParameters:{},headers:{}},n)},getRecommendStatus({indexName:e,model:t,taskID:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `getRecommendStatus`.");if(!t)throw Error("Parameter `model` is required when calling `getRecommendStatus`.");if(!r)throw Error("Parameter `taskID` is required when calling `getRecommendStatus`.");let i="/1/indexes/{indexName}/{model}/task/{taskID}".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t)).replace("{taskID}",encodeURIComponent(r));return a.request({method:"GET",path:i,queryParameters:{},headers:{}},n)},getRecommendations(e,t){if(e&&Array.isArray(e)&&(e={requests:e}),!e)throw Error("Parameter `getRecommendationsParams` is required when calling `getRecommendations`.");if(!e.requests)throw Error("Parameter `getRecommendationsParams.requests` is required when calling `getRecommendations`.");let r={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return a.request(r,t)},searchRecommendRules({indexName:e,model:t,searchRecommendRulesParams:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `searchRecommendRules`.");if(!t)throw Error("Parameter `model` is required when calling `searchRecommendRules`.");let i="/1/indexes/{indexName}/{model}/recommend/rules/search".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t));return a.request({method:"POST",path:i,queryParameters:{},headers:{},data:r||{},useReadTransporter:!0,cacheable:!0},n)}}}({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:D(),requester:O(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:_(),requestsCache:_({serializable:!1}),hostsCache:I({caches:[q({key:`${e5}-${e}`}),_()]}),...r})}var e4=Object.defineProperty,e6=Object.getOwnPropertyDescriptor,e8=Object.getOwnPropertyNames,e7=Object.prototype.hasOwnProperty,e9=(e,t)=>{for(var r in t)e4(e,r,{get:t[r],enumerable:!0})},te=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of e8(t))e7.call(e,i)||i===r||e4(e,i,{get:()=>t[i],enumerable:!(n=e6(t,i))||n.enumerable});return e},tt=(e,t,r)=>(te(e,t,"default"),r&&te(r,t,"default")),tr={};e9(tr,{algoliasearch:()=>ti,apiClientVersion:()=>eI});var tn={};function ti(e,t,r){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");let n=e_(e,t,r);return{...n,get _ua(){return n.transporter.algoliaAgent.value},initAbtesting:r=>T(r.appId||e,r.apiKey||t,r.region,r.options),initAnalytics:r=>V(r.appId||e,r.apiKey||t,r.region,r.options),initIngestion:r=>eV(r.appId||e,r.apiKey||t,r.region,r.options),initInsights:r=>en(r.appId||e,r.apiKey||t,r.region,r.options),initMonitoring:(r={})=>e2(r.appId||e,r.apiKey||t,r.options),initPersonalization:r=>ea(r.appId||e,r.apiKey||t,r.region,r.options),initQuerySuggestions:r=>ev(r.appId||e,r.apiKey||t,r.region,r.options),initRecommend:(r={})=>e3(r.appId||e,r.apiKey||t,r.options)}}e9(tn,{apiClientVersion:()=>eI}),tt(tn,o),tt(tn,a),tt(tn,s),tt(tn,l),tt(tn,u),tt(tn,c),tt(tn,d),tt(tn,h),tt(tn,p),tt(tr,tn);var to=r(2784);let ta=ti("FJYYBFHBHS",null!==(i=null!==(n=r(34406).env.ALGOLIA_SERVER_API_KEY)&&void 0!==n?n:"62fd37e5f5cc038ba79823f8cafc03db")&&void 0!==i?i:""),ts=(0,to.createContext)(ta);function tl(e){let{children:t}=e;return(0,f.tZ)(ts.Provider,{value:ta,children:t})}function tu(){let e=(0,to.useContext)(ts);if(void 0===e)throw Error("useInstantSearch must be used within a InstantSearchProvider");return e}},28211:function(e,t,r){"use strict";r.d(t,{Q:function(){return a},V:function(){return s}});var n=r(52903),i=r(2784);let o=(0,i.createContext)(void 0),a=e=>{let{flags:t={},children:r}=e;return(0,n.tZ)(o.Provider,{value:{...t},children:r})};function s(){let e=(0,i.useContext)(o);return null!=e?e:{}}},37396:function(e,t,r){"use strict";r.d(t,{f:function(){return v}});var n=r(52903),i=r(2784),o=r(2618),a=r(75596),s=r(52322);let l="function"==typeof(0,o.zY)({}),u=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),c=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),d=function(e){var t,r;let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i={};n&&e.colorSchemes&&"function"==typeof e.getColorSchemeSelector&&Object.entries(e.colorSchemes).forEach(t=>{var r,n;let[o,a]=t,s=e.getColorSchemeSelector(o);s.startsWith("@")?i[s]={":root":{colorScheme:null===(r=a.palette)||void 0===r?void 0:r.mode}}:i[s.replace(/\s*&/,"")]={colorScheme:null===(n=a.palette)||void 0===n?void 0:n.mode}});let o={html:u(e,n),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...c(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...i},a=null===(r=e.components)||void 0===r?void 0:null===(t=r.MuiCssBaseline)||void 0===t?void 0:t.styleOverrides;return a&&(o=[o,a]),o},h="mui-ecs",p=e=>{let t=d(e,!1),r=Array.isArray(t)?t[0]:t;return!e.vars&&r&&(r.html[":root:has(".concat(h,")")]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(t=>{var n,i;let[o,a]=t,s=e.getColorSchemeSelector(o);s.startsWith("@")?r[s]={[":root:not(:has(.".concat(h,"))")]:{colorScheme:null===(n=a.palette)||void 0===n?void 0:n.mode}}:r[s.replace(/\s*&/,"")]={["&:not(:has(.".concat(h,"))")]:{colorScheme:null===(i=a.palette)||void 0===i?void 0:i.mode}}}),t},f=(0,o.zY)(l?e=>{let{theme:t,enableColorScheme:r}=e;return d(t,r)}:e=>{let{theme:t}=e;return p(t)});var m=function(e){let{children:t,enableColorScheme:r=!1}=(0,a.i)({props:e,name:"MuiCssBaseline"});return(0,s.jsxs)(i.Fragment,{children:[l&&(0,s.jsx)(f,{enableColorScheme:r}),!l&&!r&&(0,s.jsx)("span",{className:h,style:{display:"none"}}),t]})},g=r(59872),y=r(54479);let v=e=>{let{themeName:t,themeMode:r,children:i,rtl:o=!1,locale:a="",nested:s}=e,l=(0,y.gh)({themeName:t,themeMode:r,rtl:o,locale:a});return(0,n.BX)(g.Z,{theme:l,children:[!0!==s&&(0,n.tZ)(m,{}),i]})}},54479:function(e,t,r){"use strict";r.d(t,{hY:function(){return a},Ix:function(){return s},gh:function(){return ee}});var n,i,o,a,s,l=r(38957),u=r(3525),c=r(16501);let d={xs:0,sm:568,md:600,lg:961,xl:1200,xxl:1400},h={xs:0,sm:0,md:600,lg:600,xl:600,xxl:600},p={xs:d.sm-1,sm:d.md-1,md:d.lg-1,lg:d.xl-1,xl:d.xxl-1,xxl:9999},f=Object.keys(d),m={breakpoints:(0,c.Z)({values:d,keys:f,unit:"px",up:e=>{let t="number"==typeof e?e:d[e],r="number"==typeof e?e<d.md?h.sm:h.md:h[e];return"@media (min-width:".concat(t,"px) and (min-height:").concat(r,"px)")},only:e=>{let t=d[e],r=p[e],n=h[e],i="(min-width: ".concat(t,"px) and (max-width: ").concat(r,"px) and (min-height:").concat(n,"px)"),o="sm"===e?"(min-width: ".concat(d.md,"px) and (max-width: 9999px) and (max-height: ").concat(h.md,"px), "):"";return"@media ".concat(o).concat(i)},between:void 0})},g={900:"#26262E",800:"#30313D",700:"#6D6F81",300:"#AAACBB",200:"#DCDDE5",100:"#FEFEFE",0:"#FFFFFF"},y=()=>{let e={light:g[800],main:g[900],dark:g[900],contrastText:g[0]},t={main:g[800],contrastText:g[0]},r={main:"#B62D1C",contrastText:g[0]};return{palette:{grey:g,mode:"light",background:{default:g[0],paper:g[100]},primary:e,secondary:t,error:r,text:{primary:e.main,secondary:e.light},action:{disabled:g[700],disabledBackground:e.main}},components:{MuiButton:{styleOverrides:{containedPrimary:{"@media (hover: hover)":{"&:hover":{backgroundColor:g[700]}}}}},MuiButtonGroup:{styleOverrides:{groupedContainedVertical:{"&:not(:last-of-type)":{borderBottom:"1px solid ".concat(g[700])}}}},MuiIconButton:{styleOverrides:{root:{"@media (hover: hover)":{":hover":{color:e.main,backgroundColor:"rgba(0, 0, 0 ,0)"}},":disabled":{color:g[300]}}}},MuiLink:{styleOverrides:{root:{color:e.main}}}}}},v=()=>{let e={light:g[100],main:g[100],dark:g[200],contrastText:g[900]},t={main:g[200],contrastText:g[900]},r={main:"#FF6B58",contrastText:g[900]};return{palette:{...y().palette,mode:"dark",background:{default:g[900],paper:g[800]},primary:e,secondary:t,error:r,text:{primary:e.main,secondary:e.dark},action:{disabled:g[300],disabledBackground:e.main}},components:{MuiButton:{styleOverrides:{containedPrimary:{"@media (hover: hover)":{"&:hover":{backgroundColor:g[300]}}}}},MuiButtonGroup:{styleOverrides:{groupedContainedVertical:{"&:not(:last-of-type)":{borderBottom:"1px solid ".concat(g[300])}}}},MuiIconButton:{styleOverrides:{root:{"@media (hover: hover)":{":hover":{color:e.main,backgroundColor:"rgba(0, 0, 0 ,0)"}},":disabled":{color:g[700]}}}},MuiLink:{styleOverrides:{root:{color:e.main}}}}}},b={spacing:4},w=(0,l.Z)(b),S={components:{MuiTypography:{styleOverrides:{gutterBottom:{marginBottom:w.spacing(4)}},variants:[{props:{variant:"overline",gutterBottom:!0},style:{marginBottom:w.spacing(1)}}]},MuiButtonGroup:{styleOverrides:{groupedContainedVertical:{margin:0},root:{borderRadius:8}}},MuiButton:{styleOverrides:{root:{textTransform:"none",boxShadow:"none"}},defaultProps:{disableRipple:!0},variants:[{props:{size:"large"},style:{minHeight:"42px",borderRadius:"16px",fontWeight:700}},{props:{size:"medium"},style:{minHeight:"36.5px",borderRadius:"12px",fontWeight:700}},{props:{size:"small"},style:{minHeight:"30.75px",borderRadius:"8px"}}]},MuiFormControl:{styleOverrides:{root:{"&.MuiTextField-root":{marginBottom:w.spacing(2)}}}},MuiOutlinedInput:{styleOverrides:{root:{backgroundColor:"rgba(173, 173, 173, 0.3)",borderBottomLeftRadius:0,borderBottomRightRadius:0},notchedOutline:{borderLeft:"none",borderTop:"none",borderRight:"none",borderWidth:0,borderBottomLeftRadius:0,borderBottomRightRadius:0},input:{transform:"translate(0px, 6px) scale(1)",transition:"color 200ms cubic-bezier(0.0,0,0.2,1) 0ms,transform 200ms cubic-bezier(0.0,0,0.2,1) 0ms,max-width 200ms cubic-bezier(0.0,0,0.2,1) 0ms","&:-webkit-autofill":{transitionDelay:"9999s",transitionProperty:"background-color, color",WebkitBoxShadow:"none"}}}},MuiInputLabel:{styleOverrides:{outlined:{"&.MuiInputLabel-shrink":{transform:"translate(14px, 5px) scale(0.75)"}}}},MuiLink:{styleOverrides:{root:{paddingLeft:10,opacity:.7,"@media (hover: hover)":{"&:hover":{opacity:1}}}}}}},k={typography:{fontFamily:'"Montserrat","Open Sans","Tahoma","Verdana",sans-serif',h1:{fontSize:36,fontWeight:600,lineHeight:"38px",textShadow:"0px 1px 3px rgba(0, 0, 0, 0.25)"},h2:{fontSize:28,fontWeight:800,lineHeight:"33px"},h3:{fontSize:24,fontWeight:800,lineHeight:"28px"},h4:{fontSize:22,fontWeight:800,lineHeight:"27px"},h5:{fontSize:18,fontWeight:800,lineHeight:"23px"},h6:{fontSize:14,fontWeight:600,lineHeight:"20px",letterSpacing:2,textTransform:"uppercase"},subtitle1:{fontSize:18,fontWeight:600,lineHeight:"24px",letterSpacing:.5},subtitle2:{fontSize:16,fontWeight:600,lineHeight:"24px",letterSpacing:.5},body1:{fontFamily:'"Open Sans","Tahoma","Verdana",sans-serif',fontSize:16,fontWeight:400,lineHeight:"24px"},body2:{fontFamily:'"Open Sans","Tahoma","Verdana",sans-serif',fontSize:14,fontWeight:400,lineHeight:"20px"},overline:{fontSize:11,fontWeight:600,lineHeight:"16px",letterSpacing:3,marginBottom:"4px"},caption:{fontFamily:'"Open Sans","Tahoma","Verdana",sans-serif',fontSize:12,fontWeight:400,lineHeight:"20px"}}},x={typography:{fontFamily:'"El Messiri","Tajawal","Arial",sans-serif',h1:{fontSize:36,fontWeight:600,lineHeight:"46px"},h2:{fontSize:28,fontWeight:700,lineHeight:"38px"},h3:{fontSize:24,fontWeight:700,lineHeight:"34px"},h4:{fontSize:22,fontWeight:700,lineHeight:"32px"},h5:{fontSize:18,fontWeight:700,lineHeight:"28px"},h6:{fontSize:16,fontWeight:700,lineHeight:"24px"},subtitle1:{fontSize:18,fontWeight:600,lineHeight:"28px"},subtitle2:{fontSize:16,fontWeight:600,lineHeight:"26px"},body1:{fontSize:16,fontWeight:400,lineHeight:"26px"},body2:{fontSize:14,fontWeight:400,lineHeight:"24px"},overline:{fontSize:16,fontWeight:700,lineHeight:"24px"},caption:{fontSize:12,fontWeight:400,lineHeight:"20px"}}},P={typography:{fontFamily:'"Arial",sans-serif',h1:{fontSize:36,fontWeight:700,lineHeight:"46px"},h2:{fontSize:28,fontWeight:700,lineHeight:"38px"},h3:{fontSize:24,fontWeight:700,lineHeight:"34px"},h4:{fontSize:22,fontWeight:700,lineHeight:"32px"},h5:{fontSize:18,fontWeight:700,lineHeight:"28px"},h6:{fontSize:16,fontWeight:700,lineHeight:"24px"},subtitle1:{fontSize:18,fontWeight:700,lineHeight:"28px"},subtitle2:{fontSize:16,fontWeight:700,lineHeight:"26px"},body1:{fontSize:16,fontWeight:400,lineHeight:"26px"},body2:{fontSize:14,fontWeight:400,lineHeight:"24px"},overline:{fontSize:14,fontWeight:700,lineHeight:"24px"},caption:{fontSize:12,fontWeight:400,lineHeight:"20px"}}},E=(e,t)=>({...b,...S,...m,...e?"ur"===t?P:x:k,direction:e?"rtl":"ltr"}),T=(e,t)=>(0,l.Z)((0,u.Z)(y(),E(e,t))),O=(e,t)=>(0,l.Z)((0,u.Z)(v(),E(e,t))),q={error:"#B62D1C",success:"#3AA74A",warning:"#F0720C",900:"#26262E",800:"#444451",700:"#6D6D7D",200:"#DEDFE0",100:"#EFEFEF",0:"#FFFFFF"},I={palette:{mode:"light",background:{default:"#EFEFEF",paper:"#FFFFFF"},primary:{light:"#E43343",main:"#C52D3A",dark:"#9E2630",contrastText:q[0]},secondary:{light:q[700],main:q[800],dark:q[900],contrastText:q[0]},error:{main:q.error,contrastText:q[0]},success:{main:q.success,contrastText:q[0]},warning:{main:q.warning,contrastText:q[0]},text:{primary:q[800],secondary:q[700]},divider:q[200]}},_={components:{MuiButton:{styleOverrides:{root:{fontFamily:"'Montserrat', sans-serif",fontWeight:800,borderRadius:"12px",textTransform:"none"},contained:{boxShadow:"none"},outlined:{borderWidth:"2px","&:hover":{borderWidth:"2px"}}},variants:[{props:{size:"small"},style:{fontWeight:600}}]},MuiTab:{styleOverrides:{root:{fontWeight:600,textTransform:"none"}}},MuiAppBar:{defaultProps:{elevation:0},styleOverrides:{colorDefault:{backgroundColor:q[0]}}},MuiToolbar:{defaultProps:{variant:"dense"},styleOverrides:{dense:{maxHeight:48,paddingLeft:24,paddingRight:24,borderBottom:"1px solid",borderColor:q[200]}}},MuiListItemText:{styleOverrides:{primary:{fontWeight:600,fontFamily:"'Montserrat', sans-serif"},secondary:{color:q[800]}}},MuiTypography:{defaultProps:{variantMapping:{h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",subtitle3:"h6",body1:"p",body2:"p",overline:"span",overline2:"span",caption:"span"}}}}},C={...I,..._,typography:{fontFamily:'"Montserrat", "Open Sans", "Tahoma", "Verdana", sans-serif',h1:{fontWeight:500,fontSize:32,lineHeight:"36px"},h2:{fontWeight:500,fontSize:30,lineHeight:"33px"},h3:{fontWeight:600,fontSize:27,lineHeight:"32px"},h4:{fontWeight:600,fontSize:24,lineHeight:"30px"},h5:{fontWeight:600,fontSize:22,lineHeight:"27px"},h6:{fontWeight:600,fontSize:20,lineHeight:"24px",letterSpacing:0},subtitle1:{fontWeight:600,fontSize:18,lineHeight:"24px"},subtitle2:{fontWeight:600,fontSize:16,lineHeight:"21px"},subtitle3:{fontSize:14,fontWeight:600,lineHeight:"19px",fontFamily:'"Montserrat", "Open Sans", "Tahoma", "Verdana", sans-serif'},body1:{fontFamily:'"Open Sans", "Tahoma", "Verdana", sans-serif',fontWeight:400,fontSize:16,lineHeight:"24px"},body2:{fontFamily:'"Open Sans", "Tahoma", "Verdana", sans-serif',fontWeight:400,fontSize:14,lineHeight:"22px"},overline:{fontWeight:600,fontSize:11,lineHeight:"16px",letterSpacing:3,textTransform:"uppercase"},overline2:{fontWeight:600,fontSize:10,lineHeight:"16px",letterSpacing:1,textTransform:"uppercase",fontFamily:'"Montserrat", "Open Sans", "Tahoma", "Verdana", sans-serif'},caption:{fontFamily:'"Open Sans", "Tahoma", "Verdana", sans-serif',fontWeight:400,fontSize:12,lineHeight:"18px"}},spacing:4},A=(0,l.Z)(C),D={...m},R={...S},j={...b},N={typography:{...k.typography,subtitle1:{fontFamily:'"Open Sans"',fontSize:12,fontWeight:600,lineHeight:"18px",fontFeatureSettings:'"clig" off, "liga"'},subtitle2:{fontFamily:'"Open Sans"',fontSize:10,fontWeight:600,lineHeight:"15px",fontFeatureSettings:'"clig" off, "liga"'},body2:{fontFamily:'"Open Sans"',fontSize:14,fontWeight:400,lineHeight:"22px"},caption:{fontFamily:'"Open Sans"',fontSize:12,fontWeight:400,lineHeight:"18px"}}},F={typography:{...x.typography,subtitle1:{fontSize:12,fontWeight:600,lineHeight:"18px"},subtitle2:{fontSize:10,fontWeight:600,lineHeight:"15px"},body2:{fontSize:14,fontWeight:400,lineHeight:"22px"},caption:{fontSize:12,fontWeight:400,lineHeight:"18px"}}},$={typography:{...P.typography,subtitle1:{fontSize:12,fontWeight:600,lineHeight:"18px"},subtitle2:{fontSize:10,fontWeight:600,lineHeight:"15px"},body2:{fontSize:14,fontWeight:400,lineHeight:"22px"},caption:{fontSize:12,fontWeight:400,lineHeight:"18px"}}},M=(e,t)=>({...j,...R,...D,...e?"ur"===t?$:F:N,direction:e?"rtl":"ltr"}),L=(e,t)=>(0,l.Z)((0,u.Z)(y(),M(e,t))),G=(e,t)=>(0,l.Z)((0,u.Z)(v(),M(e,t))),z={0:"#FFFFFF"},U={palette:{mode:"light",background:{default:z[0]},primary:{main:"#CB333B",light:"#F8485E",dark:"#A4343A",contrastText:z[0]},secondary:{main:"#424A66",light:"#7283BE",dark:"#353C55",contrastText:z[0]},error:{main:"#EF3340",contrastText:z[0]},text:{primary:"#252424",secondary:"#4D4D4D",disabled:"#AAACBB"},action:{disabled:"#AAACBB",disabledBackground:"#EFEFEF"}}},B={palette:{mode:"dark",background:{default:"#131111",paper:"#303030"},primary:U.palette.primary,secondary:{main:"#BBBCBC",light:"#EDEDED",dark:"#939494",contrastText:z[0]},error:U.palette.error,text:{primary:z[0],secondary:"#4D4D4D",disabled:"#4D4D4D"}}};var V=r(52903),W=r(65792),H=r(52322),Q=(0,W.Z)((0,H.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown");let Z={fontFamily:"var(--font-apercu-pro)",h1:{fontWeight:700,fontSize:36,lineHeight:40/36,[m.breakpoints.up("md")]:{fontSize:80,lineHeight:1.075,letterSpacing:-3}},h2:{fontWeight:700,fontSize:27,lineHeight:33/36,[m.breakpoints.up("md")]:{lineHeight:67/64,fontSize:64,letterSpacing:-1}},h3:{fontWeight:700,fontSize:27,lineHeight:33/36,[m.breakpoints.up("md")]:{lineHeight:1,fontSize:48}},h4:{fontWeight:700,fontSize:21,lineHeight:29/21,[m.breakpoints.up("md")]:{lineHeight:40/36,fontSize:36}},h5:{fontWeight:700,fontSize:18,lineHeight:21/18,[m.breakpoints.up("md")]:{lineHeight:33/27,fontSize:33}},h6:{fontSize:16,fontWeight:500,lineHeight:1.75},subtitle1:{fontWeight:500,fontSize:16,lineHeight:21/16,[m.breakpoints.up("md")]:{lineHeight:1.35,fontSize:20}},subtitle2:{fontWeight:500,fontSize:14,lineHeight:20/14,[m.breakpoints.up("md")]:{fontWeight:700,lineHeight:21/18,fontSize:18}},body1:{fontSize:16,fontWeight:500,lineHeight:1.75,fontFamily:"var(--font-noto-serif)"},body2:{fontSize:14,fontWeight:500,lineHeight:20/14,fontFamily:"var(--font-noto-serif)"},overline1:{fontFamily:"var(--font-apercu-pro)",fontSize:14,fontWeight:700,lineHeight:1,letterSpacing:"0.12em",textTransform:"uppercase",[m.breakpoints.up("md")]:{lineHeight:28/18,fontSize:18}},overline2:{fontFamily:"var(--font-apercu-pro)",fontSize:14,fontWeight:700,lineHeight:17/14,letterSpacing:"0.14em",textTransform:"uppercase"}},J={components:{MuiContainer:{styleOverrides:{root:{"&:not(.MuiContainer-disableGutters)":{paddingLeft:24,paddingRight:24,[null!==(o=m.breakpoints.up("sm"))&&void 0!==o?o:""]:{paddingLeft:24,paddingRight:24}}}}},MuiButton:{styleOverrides:{root:{textTransform:"none",boxShadow:"none",gap:"8px",borderRadius:"8px"}},defaultProps:{disableRipple:!0},variants:[{props:{size:"large"},style:{fontSize:"24px",lineHeight:"32px",fontWeight:400,padding:"20px 28px"}},{props:{size:"medium"},style:{fontSize:"20px",lineHeight:"28px",fontWeight:500,padding:"16px 24px"}},{props:{size:"small"},style:{fontSize:"16px",lineHeight:"24px",fontWeight:700,padding:"12px 20px"}}]},MuiOutlinedInput:{styleOverrides:{notchedOutline:{top:0,borderWidth:"2px","> legend":{display:"none"}},input:{fontFamily:"var(--font-apercu-pro)",":not([readonly])":{transform:"translate(0px, 9px) scale(1)",transition:"color 200ms cubic-bezier(0.0,0,0.2,1) 0ms,transform 200ms cubic-bezier(0.0,0,0.2,1) 0ms,max-width 200ms cubic-bezier(0.0,0,0.2,1) 0ms"}}}},MuiInputLabel:{styleOverrides:{outlined:{fontFamily:"var(--font-apercu-pro)","&.MuiInputLabel-shrink":{transform:"translate(14px, 9px) scale(0.75)"}}}},MuiSelect:{defaultProps:{IconComponent:Q}},MuiAutocomplete:{defaultProps:{popupIcon:(0,V.tZ)(Q,{})}},MuiTabs:{styleOverrides:{root:{"& .MuiButtonBase-root.MuiTab-root":{...Z.overline1}}}}}},K={...b,...m,typography:Z,components:{MuiTypography:{defaultProps:{variantMapping:{h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",overline1:"span",overline2:"span"}}}},...J},Y=(0,l.Z)((0,u.Z)(U,K)),X=(0,l.Z)((0,u.Z)(B,K));(n=a||(a={})).dark="dark",n.light="light",(i=s||(s={})).base="base",i.website="website",i.journeyUi="journeyUi",i.journeysAdmin="journeysAdmin";let ee=e=>{let{themeName:t,themeMode:r,rtl:n=!1,locale:i=""}=e,o={base:{light:T(n,i),dark:O(n,i)},journeyUi:{light:L(n,i),dark:G(n,i)},website:{light:Y,dark:X}};return"journeysAdmin"===t?("dark"===r&&console.warn("Journeys Admin has no dark theme! Using light theme."),A):{...o[t][r]}}},75596:function(e,t,r){"use strict";r.d(t,{i:function(){return i}}),r(2784);var n=r(55236);function i(e){return(0,n.i)(e)}r(52322)},59872:function(e,t,r){"use strict";r.d(t,{Z:function(){return _}});var n=r(2784);let i=n.createContext(null);function o(){return n.useContext(i)}var a="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",s=r(52322),l=function(e){let{children:t,theme:r}=e,l=o(),u=n.useMemo(()=>{let e=null===l?{...r}:"function"==typeof r?r(l):{...l,...r};return null!=e&&(e[a]=null!==l),e},[r,l]);return(0,s.jsx)(i.Provider,{value:u,children:t})},u=r(66712),c=r(92869),d=r(74692),h=r(55236);let p={};function f(e,t,r,i=!1){return n.useMemo(()=>{let n=e&&t[e]||t;if("function"==typeof r){let o=r(n),a=e?{...t,[e]:o}:o;return i?()=>a:a}return e?{...t,[e]:r}:{...t,...r}},[e,t,r,i])}var m=function(e){let{children:t,theme:r,themeId:n}=e,i=(0,c.Z)(p),a=o()||p,m=f(n,i,r),g=f(n,a,r,!0),y="rtl"===(n?m[n]:m).direction;return(0,s.jsx)(l,{theme:g,children:(0,s.jsx)(u.T.Provider,{value:m,children:(0,s.jsx)(d.Z,{value:y,children:(0,s.jsx)(h.Z,{value:n?m[n].components:m.components,children:t})})})})},g=r(5042);function y(e){let{theme:t,...r}=e,n=g.Z in t?t[g.Z]:void 0;return(0,s.jsx)(m,{...r,themeId:n?g.Z:void 0,theme:n||t})}var v=r(37450),b=r(31310);let w="mode",S="color-scheme";function k(e){if("undefined"!=typeof window&&"function"==typeof window.matchMedia&&"system"===e)return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function x(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function P(e,t){let r;if("undefined"!=typeof window){try{(r=localStorage.getItem(e)||void 0)||localStorage.setItem(e,t)}catch{}return r||t}}var E=r(38957),T=r(12830);let{CssVarsProvider:O,useColorScheme:q,getInitColorSchemeScript:I}=function(e){let{themeId:t,theme:r={},modeStorageKey:i=w,colorSchemeStorageKey:a=S,disableTransitionOnChange:l=!1,defaultColorScheme:u,resolveTheme:c}=e,d={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},h=n.createContext(void 0),p="string"==typeof u?u:u.light,f="string"==typeof u?u:u.dark;return{CssVarsProvider:function(e){let{children:d,theme:p,modeStorageKey:f=i,colorSchemeStorageKey:g=a,disableTransitionOnChange:y=l,storageWindow:v="undefined"==typeof window?void 0:window,documentNode:E="undefined"==typeof document?void 0:document,colorSchemeNode:T="undefined"==typeof document?void 0:document.documentElement,disableNestedContext:O=!1,disableStyleSheetGeneration:q=!1,defaultMode:I="system"}=e,_=n.useRef(!1),C=o(),A=n.useContext(h),D=!!A&&!O,R=n.useMemo(()=>p||("function"==typeof r?r():r),[p]),j=R[t],{colorSchemes:N={},components:F={},cssVarPrefix:$,...M}=j||R,L=Object.keys(N).filter(e=>!!N[e]).join(","),G=n.useMemo(()=>L.split(","),[L]),z="string"==typeof u?u:u.light,U="string"==typeof u?u:u.dark,B=N[z]&&N[U]?I:N[M.defaultColorScheme]?.palette?.mode||M.palette?.mode,{mode:V,setMode:W,systemMode:H,lightColorScheme:Q,darkColorScheme:Z,colorScheme:J,setColorScheme:K}=function(e){let{defaultMode:t="light",defaultLightColorScheme:r,defaultDarkColorScheme:i,supportedColorSchemes:o=[],modeStorageKey:a=w,colorSchemeStorageKey:s=S,storageWindow:l="undefined"==typeof window?void 0:window}=e,u=o.join(","),c=o.length>1,[d,h]=n.useState(()=>{let e=P(a,t),n=P(`${s}-light`,r),o=P(`${s}-dark`,i);return{mode:e,systemMode:k(e),lightColorScheme:n,darkColorScheme:o}}),[,p]=n.useState(!1),f=n.useRef(!1);n.useEffect(()=>{c&&p(!0),f.current=!0},[c]);let m=x(d,e=>"light"===e?d.lightColorScheme:"dark"===e?d.darkColorScheme:void 0),g=n.useCallback(e=>{h(r=>{if(e===r.mode)return r;let n=e??t;try{localStorage.setItem(a,n)}catch{}return{...r,mode:n,systemMode:k(n)}})},[a,t]),y=n.useCallback(e=>{e?"string"==typeof e?e&&!u.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):h(t=>{let r={...t};return x(t,t=>{try{localStorage.setItem(`${s}-${t}`,e)}catch{}"light"===t&&(r.lightColorScheme=e),"dark"===t&&(r.darkColorScheme=e)}),r}):h(t=>{let n={...t},o=null===e.light?r:e.light,a=null===e.dark?i:e.dark;if(o){if(u.includes(o)){n.lightColorScheme=o;try{localStorage.setItem(`${s}-light`,o)}catch(e){}}else console.error(`\`${o}\` does not exist in \`theme.colorSchemes\`.`)}if(a){if(u.includes(a)){n.darkColorScheme=a;try{localStorage.setItem(`${s}-dark`,a)}catch(e){}}else console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)}return n}):h(e=>{try{localStorage.setItem(`${s}-light`,r),localStorage.setItem(`${s}-dark`,i)}catch{}return{...e,lightColorScheme:r,darkColorScheme:i}})},[u,s,r,i]),v=n.useCallback(e=>{"system"===d.mode&&h(t=>{let r=e?.matches?"dark":"light";return t.systemMode===r?t:{...t,systemMode:r}})},[d.mode]),b=n.useRef(v);return b.current=v,n.useEffect(()=>{if("function"!=typeof window.matchMedia||!c)return;let e=(...e)=>b.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}},[c]),n.useEffect(()=>{if(l&&c){let e=e=>{let r=e.newValue;"string"==typeof e.key&&e.key.startsWith(s)&&(!r||u.match(r))&&(e.key.endsWith("light")&&y({light:r}),e.key.endsWith("dark")&&y({dark:r})),e.key===a&&(!r||["light","dark","system"].includes(r))&&g(r||t)};return l.addEventListener("storage",e),()=>{l.removeEventListener("storage",e)}}},[y,g,a,s,u,t,l,c]),{...d,mode:f.current||!c?d.mode:void 0,systemMode:f.current||!c?d.systemMode:void 0,colorScheme:f.current||!c?m:void 0,setMode:g,setColorScheme:y}}({supportedColorSchemes:G,defaultLightColorScheme:z,defaultDarkColorScheme:U,modeStorageKey:f,colorSchemeStorageKey:g,defaultMode:B,storageWindow:v}),Y=V,X=J;D&&(Y=A.mode,X=A.colorScheme);let ee=X||M.defaultColorScheme,et=M.generateThemeVars?.()||M.vars,er={...M,components:F,colorSchemes:N,cssVarPrefix:$,vars:et};if("function"==typeof er.generateSpacing&&(er.spacing=er.generateSpacing()),ee){let e=N[ee];e&&"object"==typeof e&&Object.keys(e).forEach(t=>{e[t]&&"object"==typeof e[t]?er[t]={...er[t],...e[t]}:er[t]=e[t]})}let en=M.colorSchemeSelector;n.useEffect(()=>{if(X&&T&&en&&"media"!==en){let e=en;if("class"===en&&(e=".%s"),"data"===en&&(e="[data-%s]"),en?.startsWith("data-")&&!en.includes("%s")&&(e=`[${en}="%s"]`),e.startsWith("."))T.classList.remove(...G.map(t=>e.substring(1).replace("%s",t))),T.classList.add(e.substring(1).replace("%s",X));else{let t=e.replace("%s",X).match(/\[([^\]]+)\]/);if(t){let[e,r]=t[1].split("=");r||G.forEach(t=>{T.removeAttribute(e.replace(X,t))}),T.setAttribute(e,r?r.replace(/"|'/g,""):"")}else T.setAttribute(e,X)}}},[X,en,T,G]),n.useEffect(()=>{let e;if(y&&_.current&&E){let t=E.createElement("style");t.appendChild(E.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),E.head.appendChild(t),window.getComputedStyle(E.body),e=setTimeout(()=>{E.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[X,y,E]),n.useEffect(()=>(_.current=!0,()=>{_.current=!1}),[]);let ei=n.useMemo(()=>({allColorSchemes:G,colorScheme:X,darkColorScheme:Z,lightColorScheme:Q,mode:Y,setColorScheme:K,setMode:W,systemMode:H}),[G,X,Z,Q,Y,K,W,H,er.colorSchemeSelector]),eo=!0;(q||!1===M.cssVariables||D&&C?.cssVarPrefix===$)&&(eo=!1);let ea=(0,s.jsxs)(n.Fragment,{children:[(0,s.jsx)(m,{themeId:j?t:void 0,theme:c?c(er):er,children:d}),eo&&(0,s.jsx)(b.Z,{styles:er.generateStyleSheets?.()||[]})]});return D?ea:(0,s.jsx)(h.Provider,{value:ei,children:ea})},useColorScheme:()=>n.useContext(h)||d,getInitColorSchemeScript:e=>(function(e){let{defaultMode:t="system",defaultLightColorScheme:r="light",defaultDarkColorScheme:n="dark",modeStorageKey:i=w,colorSchemeStorageKey:o=S,attribute:a="data-color-scheme",colorSchemeNode:l="document.documentElement",nonce:u}=e||{},c="",d=a;if("class"===a&&(d=".%s"),"data"===a&&(d="[data-%s]"),d.startsWith(".")){let e=d.substring(1);c+=`${l}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));
      ${l}.classList.add('${e}'.replace('%s', colorScheme));`}let h=d.match(/\[([^\]]+)\]/);if(h){let[e,t]=h[1].split("=");t||(c+=`${l}.removeAttribute('${e}'.replace('%s', light));
      ${l}.removeAttribute('${e}'.replace('%s', dark));`),c+=`
      ${l}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else c+=`${l}.setAttribute('${d}', colorScheme);`;return(0,s.jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?u:"",dangerouslySetInnerHTML:{__html:`(function() {
try {
  let colorScheme = '';
  const mode = localStorage.getItem('${i}') || '${t}';
  const dark = localStorage.getItem('${o}-dark') || '${n}';
  const light = localStorage.getItem('${o}-light') || '${r}';
  if (mode === 'system') {
    // handle system mode
    const mql = window.matchMedia('(prefers-color-scheme: dark)');
    if (mql.matches) {
      colorScheme = dark
    } else {
      colorScheme = light
    }
  }
  if (mode === 'light') {
    colorScheme = light;
  }
  if (mode === 'dark') {
    colorScheme = dark;
  }
  if (colorScheme) {
    ${c}
  }
} catch(e){}})();`}},"mui-color-scheme-init")})({colorSchemeStorageKey:a,defaultLightColorScheme:p,defaultDarkColorScheme:f,modeStorageKey:i,...e})}}({themeId:g.Z,theme:()=>(0,E.Z)({cssVariables:!0}),colorSchemeStorageKey:"mui-color-scheme",modeStorageKey:"mui-mode",defaultColorScheme:{light:"light",dark:"dark"},resolveTheme:e=>{let t={...e,typography:(0,T.Z)(e.palette,e.typography)};return t.unstable_sx=function(e){return(0,v.Z)({sx:e,theme:this})},t}});function _(e){let{theme:t,...r}=e;return"function"!=typeof t&&"colorSchemes"in(g.Z in t?t[g.Z]:t)?(0,s.jsx)(O,{theme:t,...r}):(0,s.jsx)(y,{theme:t,...r})}},38957:function(e,t,r){"use strict";r.d(t,{Z:function(){return K}});var n=r(99623),i=r(3525),o=r(38401),a={black:"#000",white:"#fff"},s={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},l={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},u={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},c={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},d={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},h={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},p={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function f(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:a.white,default:a.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}let m=f();function g(){return{text:{primary:a.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:a.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}let y=g();function v(e,t,r,n){let i=n.light||n,a=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,o.$n)(e.main,i):"dark"===t&&(e.dark=(0,o._j)(e.main,a)))}function b(e){let t;let{mode:r="light",contrastThreshold:b=3,tonalOffset:w=.2,...S}=e,k=e.primary||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:d[200],light:d[50],dark:d[400]}:{main:d[700],light:d[400],dark:d[800]}}(r),x=e.secondary||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:l[200],light:l[50],dark:l[400]}:{main:l[500],light:l[300],dark:l[700]}}(r),P=e.error||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:u[500],light:u[300],dark:u[700]}:{main:u[700],light:u[400],dark:u[800]}}(r),E=e.info||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:h[400],light:h[300],dark:h[700]}:{main:h[700],light:h[500],dark:h[900]}}(r),T=e.success||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:p[400],light:p[300],dark:p[700]}:{main:p[800],light:p[500],dark:p[900]}}(r),O=e.warning||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:c[400],light:c[300],dark:c[700]}:{main:"#ed6c02",light:c[500],dark:c[900]}}(r);function q(e){return(0,o.mi)(e,y.text.primary)>=b?y.text.primary:m.text.primary}let I=e=>{let{color:t,name:r,mainShade:i=500,lightShade:o=300,darkShade:a=700}=e;if(!(t={...t}).main&&t[i]&&(t.main=t[i]),!t.hasOwnProperty("main"))throw Error((0,n.Z)(11,r?" (".concat(r,")"):"",i));if("string"!=typeof t.main)throw Error((0,n.Z)(12,r?" (".concat(r,")"):"",JSON.stringify(t.main)));return v(t,"light",o,w),v(t,"dark",a,w),t.contrastText||(t.contrastText=q(t.main)),t};return"light"===r?t=f():"dark"===r&&(t=g()),(0,i.Z)({common:{...a},mode:r,primary:I({color:k,name:"primary"}),secondary:I({color:x,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:I({color:P,name:"error"}),warning:I({color:O,name:"warning"}),info:I({color:E,name:"info"}),success:I({color:T,name:"success"}),grey:s,contrastThreshold:b,getContrastText:q,augmentColor:I,tonalOffset:w,...t},S)}var w=r(81345),S=r(22907);let k=(e,t,r,n=[])=>{let i=e;t.forEach((e,o)=>{o===t.length-1?Array.isArray(i)?i[Number(e)]=r:i&&"object"==typeof i&&(i[e]=r):i&&"object"==typeof i&&(i[e]||(i[e]=n.includes(e)?[]:{}),i=i[e])})},x=(e,t,r)=>{!function e(n,i=[],o=[]){Object.entries(n).forEach(([n,a])=>{r&&(!r||r([...i,n]))||null==a||("object"==typeof a&&Object.keys(a).length>0?e(a,[...i,n],Array.isArray(a)?[...o,n]:o):t([...i,n],a,o))})}(e)},P=(e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function E(e,t){let{prefix:r,shouldSkipGeneratingVar:n}=t||{},i={},o={},a={};return x(e,(e,t,s)=>{if(("string"==typeof t||"number"==typeof t)&&(!n||!n(e,t))){let n=`--${r?`${r}-`:""}${e.join("-")}`,l=P(e,t);Object.assign(i,{[n]:l}),k(o,e,`var(${n})`,s),k(a,e,`var(${n}, ${l})`,s)}},e=>"vars"===e[0]),{css:i,vars:o,varsWithDefaults:a}}var T=function(e,t={}){let{getSelector:r=function(t,r){let n=o;if("class"===o&&(n=".%s"),"data"===o&&(n="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(n=`[${o}="%s"]`),t){if("media"===n){if(e.defaultColorScheme===t)return":root";let n=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${n})`]:{":root":r}}}if(n)return e.defaultColorScheme===t?`:root, ${n.replace("%s",String(t))}`:n.replace("%s",String(t))}return":root"},disableCssColorScheme:n,colorSchemeSelector:o}=t,{colorSchemes:a={},components:s,defaultColorScheme:l="light",...u}=e,{vars:c,css:d,varsWithDefaults:h}=E(u,t),p=h,f={},{[l]:m,...g}=a;if(Object.entries(g||{}).forEach(([e,r])=>{let{vars:n,css:o,varsWithDefaults:a}=E(r,t);p=(0,i.Z)(p,a),f[e]={css:o,vars:n}}),m){let{css:e,vars:r,varsWithDefaults:n}=E(m,t);p=(0,i.Z)(p,n),f[l]={css:e,vars:r}}return{vars:p,generateThemeVars:()=>{let e={...c};return Object.entries(f).forEach(([,{vars:t}])=>{e=(0,i.Z)(e,t)}),e},generateStyleSheets:()=>{let t=[],i=e.defaultColorScheme||"light";function o(e,r){Object.keys(r).length&&t.push("string"==typeof e?{[e]:{...r}}:e)}o(r(void 0,{...d}),d);let{[i]:s,...l}=f;if(s){let{css:e}=s,t=a[i]?.palette?.mode,l=!n&&t?{colorScheme:t,...e}:{...e};o(r(i,{...l}),l)}return Object.entries(l).forEach(([e,{css:t}])=>{let i=a[e]?.palette?.mode,s=!n&&i?{colorScheme:i,...t}:{...t};o(r(e,{...s}),s)}),t}}},O=r(35391),q=r(37450),I=r(35575),_=r(12830);function C(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return["".concat(t[0],"px ").concat(t[1],"px ").concat(t[2],"px ").concat(t[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(t[4],"px ").concat(t[5],"px ").concat(t[6],"px ").concat(t[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(t[8],"px ").concat(t[9],"px ").concat(t[10],"px ").concat(t[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}let A=["none",C(0,2,1,-1,0,1,1,0,0,1,3,0),C(0,3,1,-2,0,2,2,0,0,1,5,0),C(0,3,3,-2,0,3,4,0,0,1,8,0),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)];var D=r(63821),R={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function j(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={...e};return!function e(t){let r=Object.entries(t);for(let n=0;n<r.length;n++){let[o,a]=r[n];!((0,i.P)(a)||void 0===a||"string"==typeof a||"boolean"==typeof a||"number"==typeof a||Array.isArray(a))||o.startsWith("unstable_")?delete t[o]:(0,i.P)(a)&&(t[o]={...a},e(t[o]))}}(t),"import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ".concat(JSON.stringify(t,null,2),";\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;")}var N=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t,r=arguments.length,o=Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];let{breakpoints:s,mixins:l={},spacing:u,palette:c={},transitions:d={},typography:h={},shape:p,...f}=e;if(e.vars)throw Error((0,n.Z)(20));let m=b(c),g=(0,I.Z)(e),y=(0,i.Z)(g,{mixins:{toolbar:{minHeight:56,[(t=g.breakpoints).up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}},...l},palette:m,shadows:A.slice(),typography:(0,_.Z)(m,h),transitions:(0,D.ZP)(d),zIndex:{...R}});return y=(0,i.Z)(y,f),(y=o.reduce((e,t)=>(0,i.Z)(e,t),y)).unstable_sxConfig={...O.Z,...null==f?void 0:f.unstable_sxConfig},y.unstable_sx=function(e){return(0,q.Z)({sx:e,theme:this})},y.toRuntimeSource=j,y},F=r(32243);let $=[...Array(25)].map((e,t)=>{if(0===t)return"none";let r=(0,F.Z)(t);return"linear-gradient(rgba(255 255 255 / ".concat(r,"), rgba(255 255 255 / ").concat(r,"))")});function M(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function L(e){return"dark"===e?$:[]}function G(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!(null===(t=e[1])||void 0===t?void 0:t.match(/(mode|contrastThreshold|tonalOffset)/))}var z=e=>[...[...Array(25)].map((t,r)=>"--".concat(e?"".concat(e,"-"):"","overlays-").concat(r)),"--".concat(e?"".concat(e,"-"):"","palette-AppBar-darkBg"),"--".concat(e?"".concat(e,"-"):"","palette-AppBar-darkColor")],U=e=>(t,r)=>{let n=e.rootSelector||":root",i=e.colorSchemeSelector,o=i;if("class"===i&&(o=".%s"),"data"===i&&(o="[data-%s]"),(null==i?void 0:i.startsWith("data-"))&&!i.includes("%s")&&(o="[".concat(i,'="%s"]')),e.defaultColorScheme===t){if("dark"===t){let i={};return(z(e.cssVarPrefix).forEach(e=>{i[e]=r[e],delete r[e]}),"media"===o)?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:i}}:o?{[o.replace("%s",t)]:i,["".concat(n,", ").concat(o.replace("%s",t))]:r}:{[n]:{...r,...i}}}if(o&&"media"!==o)return"".concat(n,", ").concat(o.replace("%s",String(t)))}else if(t){if("media"===o)return{["@media (prefers-color-scheme: ".concat(String(t),")")]:{[n]:r}};if(o)return o.replace("%s",String(t))}return n};function B(e,t,r){!e[t]&&r&&(e[t]=r)}function V(e){return e&&e.startsWith("hsl")?(0,o.ve)(e):e}function W(e,t){"".concat(t,"Channel") in e||(e["".concat(t,"Channel")]=(0,o.LR)(V(e[t]),"MUI: Can't create `palette.".concat(t,"Channel` because `palette.").concat(t,"` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().")+"\n"+"To suppress this warning, you need to explicitly provide the `palette.".concat(t,'Channel` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.')))}let H=e=>{try{return e()}catch(e){}},Q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"mui";return function(e=""){return(t,...r)=>`var(--${e?`${e}-`:""}${t}${function t(...r){if(!r.length)return"";let n=r[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${e?`${e}-`:""}${n}${t(...r.slice(1))})`}(...r)})`}(e)};function Z(e,t,r,n){if(!t)return;t=!0===t?{}:t;let i="dark"===n?"dark":"light";if(!r){e[n]=function(e){let{palette:t={mode:"light"},opacity:r,overlays:n,...i}=e,o=b(t);return{palette:o,opacity:{...M(o.mode),...r},overlays:n||L(o.mode),...i}}({...t,palette:{mode:i,...null==t?void 0:t.palette}});return}let{palette:o,...a}=N({...r,palette:{mode:i,...null==t?void 0:t.palette}});return e[n]={...t,palette:o,opacity:{...M(i),...null==t?void 0:t.opacity},overlays:(null==t?void 0:t.overlays)||L(i)},a}function J(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...!0!==r&&r,palette:b({...!0===r?{}:r.palette,mode:t})})}function K(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t=arguments.length,r=Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];let{palette:s,cssVariables:l=!1,colorSchemes:u=s?void 0:{light:!0},defaultColorScheme:c=null==s?void 0:s.mode,...d}=e,h=c||"light",p=null==u?void 0:u[h],f={...u,...s?{[h]:{..."boolean"!=typeof p&&p,palette:s}}:void 0};if(!1===l){if(!("colorSchemes"in e))return N(e,...r);let t=s;"palette"in e||!f[h]||(!0!==f[h]?t=f[h].palette:"dark"!==h||(t={mode:"dark"}));let n=N({...e,palette:t},...r);return n.defaultColorScheme=h,n.colorSchemes=f,"light"===n.palette.mode&&(n.colorSchemes.light={...!0!==f.light&&f.light,palette:n.palette},J(n,"dark",f.dark)),"dark"===n.palette.mode&&(n.colorSchemes.dark={...!0!==f.dark&&f.dark,palette:n.palette},J(n,"light",f.light)),n}return s||"light"in f||"light"!==h||(f.light=!0),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t,r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];let{colorSchemes:l={light:!0},defaultColorScheme:u,disableCssColorScheme:c=!1,cssVarPrefix:d="mui",shouldSkipGeneratingVar:h=G,colorSchemeSelector:p=l.light&&l.dark?"media":void 0,rootSelector:f=":root",...m}=e,g=Object.keys(l)[0],y=u||(l.light&&"light"!==g?"light":g),v=Q(d),{[y]:b,light:k,dark:x,...P}=l,E={...P},I=b;if(("dark"!==y||"dark"in l)&&("light"!==y||"light"in l)||(I=!0),!I)throw Error((0,n.Z)(21,y));let _=Z(E,I,m,y);k&&!E.light&&Z(E,k,void 0,"light"),x&&!E.dark&&Z(E,x,void 0,"dark");let C={defaultColorScheme:y,..._,cssVarPrefix:d,colorSchemeSelector:p,rootSelector:f,getCssVar:v,colorSchemes:E,font:{...function(e){let t={};return Object.entries(e).forEach(e=>{let[r,n]=e;"object"==typeof n&&(t[r]=`${n.fontStyle?`${n.fontStyle} `:""}${n.fontVariant?`${n.fontVariant} `:""}${n.fontWeight?`${n.fontWeight} `:""}${n.fontStretch?`${n.fontStretch} `:""}${n.fontSize||""}${n.lineHeight?`/${n.lineHeight} `:""}${n.fontFamily||""}`)}),t}(_.typography),..._.font},spacing:"number"==typeof(t=m.spacing)?"".concat(t,"px"):"string"==typeof t||"function"==typeof t||Array.isArray(t)?t:"8px"};Object.keys(C.colorSchemes).forEach(e=>{let t=C.colorSchemes[e].palette,r=e=>{let r=e.split("-"),n=r[1],i=r[2];return v(e,t[n][i])};if("light"===t.mode&&(B(t.common,"background","#fff"),B(t.common,"onBackground","#000")),"dark"===t.mode&&(B(t.common,"background","#000"),B(t.common,"onBackground","#fff")),function(e,t){t.forEach(t=>{e[t]||(e[t]={})})}(t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),"light"===t.mode){B(t.Alert,"errorColor",(0,o.q8)(t.error.light,.6)),B(t.Alert,"infoColor",(0,o.q8)(t.info.light,.6)),B(t.Alert,"successColor",(0,o.q8)(t.success.light,.6)),B(t.Alert,"warningColor",(0,o.q8)(t.warning.light,.6)),B(t.Alert,"errorFilledBg",r("palette-error-main")),B(t.Alert,"infoFilledBg",r("palette-info-main")),B(t.Alert,"successFilledBg",r("palette-success-main")),B(t.Alert,"warningFilledBg",r("palette-warning-main")),B(t.Alert,"errorFilledColor",H(()=>t.getContrastText(t.error.main))),B(t.Alert,"infoFilledColor",H(()=>t.getContrastText(t.info.main))),B(t.Alert,"successFilledColor",H(()=>t.getContrastText(t.success.main))),B(t.Alert,"warningFilledColor",H(()=>t.getContrastText(t.warning.main))),B(t.Alert,"errorStandardBg",(0,o.ux)(t.error.light,.9)),B(t.Alert,"infoStandardBg",(0,o.ux)(t.info.light,.9)),B(t.Alert,"successStandardBg",(0,o.ux)(t.success.light,.9)),B(t.Alert,"warningStandardBg",(0,o.ux)(t.warning.light,.9)),B(t.Alert,"errorIconColor",r("palette-error-main")),B(t.Alert,"infoIconColor",r("palette-info-main")),B(t.Alert,"successIconColor",r("palette-success-main")),B(t.Alert,"warningIconColor",r("palette-warning-main")),B(t.AppBar,"defaultBg",r("palette-grey-100")),B(t.Avatar,"defaultBg",r("palette-grey-400")),B(t.Button,"inheritContainedBg",r("palette-grey-300")),B(t.Button,"inheritContainedHoverBg",r("palette-grey-A100")),B(t.Chip,"defaultBorder",r("palette-grey-400")),B(t.Chip,"defaultAvatarColor",r("palette-grey-700")),B(t.Chip,"defaultIconColor",r("palette-grey-700")),B(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),B(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),B(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),B(t.LinearProgress,"primaryBg",(0,o.ux)(t.primary.main,.62)),B(t.LinearProgress,"secondaryBg",(0,o.ux)(t.secondary.main,.62)),B(t.LinearProgress,"errorBg",(0,o.ux)(t.error.main,.62)),B(t.LinearProgress,"infoBg",(0,o.ux)(t.info.main,.62)),B(t.LinearProgress,"successBg",(0,o.ux)(t.success.main,.62)),B(t.LinearProgress,"warningBg",(0,o.ux)(t.warning.main,.62)),B(t.Skeleton,"bg","rgba(".concat(r("palette-text-primaryChannel")," / 0.11)")),B(t.Slider,"primaryTrack",(0,o.ux)(t.primary.main,.62)),B(t.Slider,"secondaryTrack",(0,o.ux)(t.secondary.main,.62)),B(t.Slider,"errorTrack",(0,o.ux)(t.error.main,.62)),B(t.Slider,"infoTrack",(0,o.ux)(t.info.main,.62)),B(t.Slider,"successTrack",(0,o.ux)(t.success.main,.62)),B(t.Slider,"warningTrack",(0,o.ux)(t.warning.main,.62));let e=(0,o.fk)(t.background.default,.8);B(t.SnackbarContent,"bg",e),B(t.SnackbarContent,"color",H(()=>t.getContrastText(e))),B(t.SpeedDialAction,"fabHoverBg",(0,o.fk)(t.background.paper,.15)),B(t.StepConnector,"border",r("palette-grey-400")),B(t.StepContent,"border",r("palette-grey-400")),B(t.Switch,"defaultColor",r("palette-common-white")),B(t.Switch,"defaultDisabledColor",r("palette-grey-100")),B(t.Switch,"primaryDisabledColor",(0,o.ux)(t.primary.main,.62)),B(t.Switch,"secondaryDisabledColor",(0,o.ux)(t.secondary.main,.62)),B(t.Switch,"errorDisabledColor",(0,o.ux)(t.error.main,.62)),B(t.Switch,"infoDisabledColor",(0,o.ux)(t.info.main,.62)),B(t.Switch,"successDisabledColor",(0,o.ux)(t.success.main,.62)),B(t.Switch,"warningDisabledColor",(0,o.ux)(t.warning.main,.62)),B(t.TableCell,"border",(0,o.ux)((0,o.zp)(t.divider,1),.88)),B(t.Tooltip,"bg",(0,o.zp)(t.grey[700],.92))}if("dark"===t.mode){B(t.Alert,"errorColor",(0,o.ux)(t.error.light,.6)),B(t.Alert,"infoColor",(0,o.ux)(t.info.light,.6)),B(t.Alert,"successColor",(0,o.ux)(t.success.light,.6)),B(t.Alert,"warningColor",(0,o.ux)(t.warning.light,.6)),B(t.Alert,"errorFilledBg",r("palette-error-dark")),B(t.Alert,"infoFilledBg",r("palette-info-dark")),B(t.Alert,"successFilledBg",r("palette-success-dark")),B(t.Alert,"warningFilledBg",r("palette-warning-dark")),B(t.Alert,"errorFilledColor",H(()=>t.getContrastText(t.error.dark))),B(t.Alert,"infoFilledColor",H(()=>t.getContrastText(t.info.dark))),B(t.Alert,"successFilledColor",H(()=>t.getContrastText(t.success.dark))),B(t.Alert,"warningFilledColor",H(()=>t.getContrastText(t.warning.dark))),B(t.Alert,"errorStandardBg",(0,o.q8)(t.error.light,.9)),B(t.Alert,"infoStandardBg",(0,o.q8)(t.info.light,.9)),B(t.Alert,"successStandardBg",(0,o.q8)(t.success.light,.9)),B(t.Alert,"warningStandardBg",(0,o.q8)(t.warning.light,.9)),B(t.Alert,"errorIconColor",r("palette-error-main")),B(t.Alert,"infoIconColor",r("palette-info-main")),B(t.Alert,"successIconColor",r("palette-success-main")),B(t.Alert,"warningIconColor",r("palette-warning-main")),B(t.AppBar,"defaultBg",r("palette-grey-900")),B(t.AppBar,"darkBg",r("palette-background-paper")),B(t.AppBar,"darkColor",r("palette-text-primary")),B(t.Avatar,"defaultBg",r("palette-grey-600")),B(t.Button,"inheritContainedBg",r("palette-grey-800")),B(t.Button,"inheritContainedHoverBg",r("palette-grey-700")),B(t.Chip,"defaultBorder",r("palette-grey-700")),B(t.Chip,"defaultAvatarColor",r("palette-grey-300")),B(t.Chip,"defaultIconColor",r("palette-grey-300")),B(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),B(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),B(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),B(t.LinearProgress,"primaryBg",(0,o.q8)(t.primary.main,.5)),B(t.LinearProgress,"secondaryBg",(0,o.q8)(t.secondary.main,.5)),B(t.LinearProgress,"errorBg",(0,o.q8)(t.error.main,.5)),B(t.LinearProgress,"infoBg",(0,o.q8)(t.info.main,.5)),B(t.LinearProgress,"successBg",(0,o.q8)(t.success.main,.5)),B(t.LinearProgress,"warningBg",(0,o.q8)(t.warning.main,.5)),B(t.Skeleton,"bg","rgba(".concat(r("palette-text-primaryChannel")," / 0.13)")),B(t.Slider,"primaryTrack",(0,o.q8)(t.primary.main,.5)),B(t.Slider,"secondaryTrack",(0,o.q8)(t.secondary.main,.5)),B(t.Slider,"errorTrack",(0,o.q8)(t.error.main,.5)),B(t.Slider,"infoTrack",(0,o.q8)(t.info.main,.5)),B(t.Slider,"successTrack",(0,o.q8)(t.success.main,.5)),B(t.Slider,"warningTrack",(0,o.q8)(t.warning.main,.5));let e=(0,o.fk)(t.background.default,.98);B(t.SnackbarContent,"bg",e),B(t.SnackbarContent,"color",H(()=>t.getContrastText(e))),B(t.SpeedDialAction,"fabHoverBg",(0,o.fk)(t.background.paper,.15)),B(t.StepConnector,"border",r("palette-grey-600")),B(t.StepContent,"border",r("palette-grey-600")),B(t.Switch,"defaultColor",r("palette-grey-300")),B(t.Switch,"defaultDisabledColor",r("palette-grey-600")),B(t.Switch,"primaryDisabledColor",(0,o.q8)(t.primary.main,.55)),B(t.Switch,"secondaryDisabledColor",(0,o.q8)(t.secondary.main,.55)),B(t.Switch,"errorDisabledColor",(0,o.q8)(t.error.main,.55)),B(t.Switch,"infoDisabledColor",(0,o.q8)(t.info.main,.55)),B(t.Switch,"successDisabledColor",(0,o.q8)(t.success.main,.55)),B(t.Switch,"warningDisabledColor",(0,o.q8)(t.warning.main,.55)),B(t.TableCell,"border",(0,o.q8)((0,o.zp)(t.divider,1),.68)),B(t.Tooltip,"bg",(0,o.zp)(t.grey[700],.92))}W(t.background,"default"),W(t.background,"paper"),W(t.common,"background"),W(t.common,"onBackground"),W(t,"divider"),Object.keys(t).forEach(e=>{let r=t[e];r&&"object"==typeof r&&(r.main&&B(t[e],"mainChannel",(0,o.LR)(V(r.main))),r.light&&B(t[e],"lightChannel",(0,o.LR)(V(r.light))),r.dark&&B(t[e],"darkChannel",(0,o.LR)(V(r.dark))),r.contrastText&&B(t[e],"contrastTextChannel",(0,o.LR)(V(r.contrastText))),"text"===e&&(W(t[e],"primary"),W(t[e],"secondary")),"action"===e&&(r.active&&W(t[e],"active"),r.selected&&W(t[e],"selected")))})});let A={prefix:d,disableCssColorScheme:c,shouldSkipGeneratingVar:h,getSelector:U(C=a.reduce((e,t)=>(0,i.Z)(e,t),C))},{vars:D,generateThemeVars:R,generateStyleSheets:N}=T(C,A);return C.vars=D,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(e=>{let[t,r]=e;C[t]=r}),C.generateThemeVars=R,C.generateStyleSheets=N,C.generateSpacing=function(){return(0,w.Z)(m.spacing,(0,S.hB)(this))},C.getColorSchemeSelector=function(e){return"media"===p?`@media (prefers-color-scheme: ${e})`:p?p.startsWith("data-")&&!p.includes("%s")?`[${p}="${e}"] &`:"class"===p?`.${e} &`:"data"===p?`[data-${e}] &`:`${p.replace("%s",e)} &`:"&"},C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=h,C.unstable_sxConfig={...O.Z,...null==m?void 0:m.unstable_sxConfig},C.unstable_sx=function(e){return(0,q.Z)({sx:e,theme:this})},C.toRuntimeSource=j,C}({...d,colorSchemes:f,defaultColorScheme:h,..."boolean"!=typeof l&&l},...r)}},63821:function(e,t,r){"use strict";r.d(t,{ZP:function(){return s},x9:function(){return i}});let n={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},i={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function o(e){return"".concat(Math.round(e),"ms")}function a(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function s(e){let t={...n,...e.easing},r={...i,...e.duration};return{getAutoHeightDuration:a,create:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{duration:i=r.standard,easing:a=t.easeInOut,delay:s=0,...l}=n;return(Array.isArray(e)?e:[e]).map(e=>"".concat(e," ").concat("string"==typeof i?i:o(i)," ").concat(a," ").concat("string"==typeof s?s:o(s))).join(",")},...e,easing:t,duration:r}}},12830:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(3525);let i={textTransform:"uppercase"},o='"Roboto", "Helvetica", "Arial", sans-serif';function a(e,t){let{fontFamily:r=o,fontSize:a=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:u=500,fontWeightBold:c=700,htmlFontSize:d=16,allVariants:h,pxToRem:p,...f}="function"==typeof t?t(e):t,m=a/14,g=p||(e=>"".concat(e/d*m,"rem")),y=(e,t,n,i,a)=>({fontFamily:r,fontWeight:e,fontSize:g(t),lineHeight:n,...r===o?{letterSpacing:"".concat(Math.round(i/t*1e5)/1e5,"em")}:{},...a,...h}),v={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(u,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(u,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(u,14,1.75,.4,i),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,i),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,n.Z)({htmlFontSize:d,pxToRem:g,fontFamily:r,fontSize:a,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:u,fontWeightBold:c,...v},f,{clone:!1})}},3361:function(e,t,r){"use strict";let n=(0,r(38957).Z)();t.Z=n},32243:function(e,t,r){"use strict";function n(e){return Math.round(10*(e<1?5.11916*e**2:4.5*Math.log(e+1)+2))/1e3}r.d(t,{Z:function(){return n}})},5042:function(e,t){"use strict";t.Z="$$material"},46697:function(e,t,r){"use strict";var n=r(64676);t.Z=e=>(0,n.Z)(e)&&"classes"!==e},64676:function(e,t){"use strict";t.Z=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}},44781:function(e,t,r){"use strict";var n=r(70483),i=r(3361),o=r(5042),a=r(46697);let s=(0,n.ZP)({themeId:o.Z,defaultTheme:i.Z,rootShouldForwardProp:a.Z});t.ZP=s},84193:function(e,t,r){"use strict";var n=r(2651);t.Z=n.Z},65792:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});var n=r(2784),i=r(40489),o=r(69075),a=r(84193),s=r(44781),l=r(81681),u=r(75596),c=r(69222),d=r(15672);function h(e){return(0,d.ZP)("MuiSvgIcon",e)}(0,c.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var p=r(52322);let f=e=>{let{color:t,fontSize:r,classes:n}=e,i={root:["root","inherit"!==t&&"color".concat((0,a.Z)(t)),"fontSize".concat((0,a.Z)(r))]};return(0,o.Z)(i,h,n)},m=(0,s.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t["color".concat((0,a.Z)(r.color))],t["fontSize".concat((0,a.Z)(r.fontSize))]]}})((0,l.Z)(e=>{var t,r,n,i,o,a,s,l,u,c,d,h,p,f,m,g,y,v;let{theme:b}=e;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:null===(i=b.transitions)||void 0===i?void 0:null===(n=i.create)||void 0===n?void 0:n.call(i,"fill",{duration:null===(r=(null!==(m=b.vars)&&void 0!==m?m:b).transitions)||void 0===r?void 0:null===(t=r.duration)||void 0===t?void 0:t.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:(null===(a=b.typography)||void 0===a?void 0:null===(o=a.pxToRem)||void 0===o?void 0:o.call(a,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:(null===(l=b.typography)||void 0===l?void 0:null===(s=l.pxToRem)||void 0===s?void 0:s.call(l,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:(null===(c=b.typography)||void 0===c?void 0:null===(u=c.pxToRem)||void 0===u?void 0:u.call(c,35))||"2.1875rem"}},...Object.entries((null!==(g=b.vars)&&void 0!==g?g:b).palette).filter(e=>{let[,t]=e;return t&&t.main}).map(e=>{var t,r,n;let[i]=e;return{props:{color:i},style:{color:null===(r=(null!==(n=b.vars)&&void 0!==n?n:b).palette)||void 0===r?void 0:null===(t=r[i])||void 0===t?void 0:t.main}}}),{props:{color:"action"},style:{color:null===(h=(null!==(y=b.vars)&&void 0!==y?y:b).palette)||void 0===h?void 0:null===(d=h.action)||void 0===d?void 0:d.active}},{props:{color:"disabled"},style:{color:null===(f=(null!==(v=b.vars)&&void 0!==v?v:b).palette)||void 0===f?void 0:null===(p=f.action)||void 0===p?void 0:p.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),g=n.forwardRef(function(e,t){let r=(0,u.i)({props:e,name:"MuiSvgIcon"}),{children:o,className:a,color:s="inherit",component:l="svg",fontSize:c="medium",htmlColor:d,inheritViewBox:h=!1,titleAccess:g,viewBox:y="0 0 24 24",...v}=r,b=n.isValidElement(o)&&"svg"===o.type,w={...r,color:s,component:l,fontSize:c,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:y,hasSvgAsChild:b},S={};h||(S.viewBox=y);let k=f(w);return(0,p.jsxs)(m,{as:l,className:(0,i.Z)(k.root,a),focusable:"false",color:d,"aria-hidden":!g||void 0,role:g?"img":void 0,ref:t,...S,...v,...b&&o.props,ownerState:w,children:[b?o.props.children:o,g?(0,p.jsx)("title",{children:g}):null]})});function y(e,t){function r(r,n){return(0,p.jsx)(g,{"data-testid":"".concat(t,"Icon"),ref:n,...r,children:e})}return r.muiName=g.muiName,n.memo(n.forwardRef(r))}g&&(g.muiName="SvgIcon")},81681:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(43565);let i={theme:void 0};var o=function(e){let t,r;return function(o){let a=t;return(void 0===a||o.theme!==r)&&(i.theme=o.theme,t=a=(0,n.Z)(e(i)),r=o.theme),a}}},2618:function(e,t,r){"use strict";r.d(t,{zY:function(){return d},u7:function(){return h}}),r(2784);var n=r(89836),i=r(31310),o=r(92924),a=r(52322),s=function({styles:e,themeId:t,defaultTheme:r={}}){let n=(0,o.Z)(r),s="function"==typeof e?e(t&&n[t]||n):e;return(0,a.jsx)(i.Z,{styles:s})},l=r(3361),u=r(5042),c=function(e){return(0,a.jsx)(s,{...e,defaultTheme:l.Z,themeId:u.Z})};function d(e){return function(t){return(0,a.jsx)(c,{styles:"function"==typeof e?r=>e({theme:r,...t}):e})}}function h(){return n.Z}},39382:function(e,t,r){"use strict";var n=r(34406);r(81633);var i=r(2784),o=i&&"object"==typeof i&&"default"in i?i:{default:i},a=void 0!==n&&n.env&&!0,s=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,r=t.name,n=void 0===r?"stylesheet":r,i=t.optimizeForSpeed,o=void 0===i?a:i;u(s(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",u("boolean"==typeof o,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=o,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l=document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(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]},t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(u(s(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed){var r=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(n){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var n=this._tags[e];u(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},t.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];u(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},t.cssRules=function(){var e=this;return this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,r){t&&u(s(t),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+e,""),t&&n.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return r?i.insertBefore(n,r):i.appendChild(n),n},function(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,n.key,n)}}(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),e}();function u(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var c=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},d={};function h(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;return d[n]||(d[n]="jsx-"+c(e+"-"+r)),d[n]}function p(e,t){var r=e+t;return d[r]||(d[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),d[r]}var f=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,n=void 0===r?null:r,i=t.optimizeForSpeed,o=void 0!==i&&i;this._sheet=n||new l({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),n&&"boolean"==typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),n=r.styleId,i=r.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var o=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[n]=o,this._instancesCounts[n]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var n=this._fromServer&&this._fromServer[r];n?(n.parentNode.removeChild(n),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],n=e[1];return o.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,n=e.id;if(r){var i=h(n,r);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return p(i,e)}):[p(i,t)]}}return{styleId:h(n),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),m=i.createContext(null);m.displayName="StyleSheetContext";var g=o.default.useInsertionEffect||o.default.useLayoutEffect,y=new f;function v(e){var t=y||i.useContext(m);return t&&g(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}v.dynamic=function(e){return e.map(function(e){return h(e[0],e[1])}).join(" ")},t.style=v},97466:function(e,t,r){"use strict";e.exports=r(39382).style},81633:function(){},30008:function(){},19099:function(){},47437:function(){},6886:function(e){e.exports={style:{fontFamily:"'__Noto_Serif_d4679a', '__Noto_Serif_Fallback_d4679a'",fontStyle:"normal"},className:"__className_d4679a"}},67042:function(e){e.exports={style:{fontFamily:"'__apercuPro_cc32db', '__apercuPro_Fallback_cc32db'"},className:"__className_cc32db"}},15153:function(e){!function(){"use strict";var t={114:function(e){function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var r,n="",i=0,o=-1,a=0,s=0;s<=e.length;++s){if(s<e.length)r=e.charCodeAt(s);else if(47===r)break;else r=47;if(47===r){if(o===s-1||1===a);else if(o!==s-1&&2===a){if(n.length<2||2!==i||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2)){if(n.length>2){var l=n.lastIndexOf("/");if(l!==n.length-1){-1===l?(n="",i=0):i=(n=n.slice(0,l)).length-1-n.lastIndexOf("/"),o=s,a=0;continue}}else if(2===n.length||1===n.length){n="",i=0,o=s,a=0;continue}}t&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+e.slice(o+1,s):n=e.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===r&&-1!==a?++a:a=-1}return n}var n={resolve:function(){for(var e,n,i="",o=!1,a=arguments.length-1;a>=-1&&!o;a--)a>=0?n=arguments[a]:(void 0===e&&(e=""),n=e),t(n),0!==n.length&&(i=n+"/"+i,o=47===n.charCodeAt(0));return(i=r(i,!o),o)?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var n=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return(0!==(e=r(e,!n)).length||n||(e="."),e.length>0&&i&&(e+="/"),n)?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,r=0;r<arguments.length;++r){var i=arguments[r];t(i),i.length>0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":n.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r||(e=n.resolve(e))===(r=n.resolve(r)))return"";for(var i=1;i<e.length&&47===e.charCodeAt(i);++i);for(var o=e.length,a=o-i,s=1;s<r.length&&47===r.charCodeAt(s);++s);for(var l=r.length-s,u=a<l?a:l,c=-1,d=0;d<=u;++d){if(d===u){if(l>u){if(47===r.charCodeAt(s+d))return r.slice(s+d+1);if(0===d)return r.slice(s+d)}else a>u&&(47===e.charCodeAt(i+d)?c=d:0===d&&(c=0));break}var h=e.charCodeAt(i+d);if(h!==r.charCodeAt(s+d))break;47===h&&(c=d)}var p="";for(d=i+c+1;d<=o;++d)(d===o||47===e.charCodeAt(d))&&(0===p.length?p+="..":p+="/..");return p.length>0?p+r.slice(s+c):(s+=c,47===r.charCodeAt(s)&&++s,r.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),n=47===r,i=-1,o=!0,a=e.length-1;a>=1;--a)if(47===(r=e.charCodeAt(a))){if(!o){i=a;break}}else o=!1;return -1===i?n?"/":".":n&&1===i?"//":e.slice(0,i)},basename:function(e,r){if(void 0!==r&&"string"!=typeof r)throw TypeError('"ext" argument must be a string');t(e);var n,i=0,o=-1,a=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var s=r.length-1,l=-1;for(n=e.length-1;n>=0;--n){var u=e.charCodeAt(n);if(47===u){if(!a){i=n+1;break}}else -1===l&&(a=!1,l=n+1),s>=0&&(u===r.charCodeAt(s)?-1==--s&&(o=n):(s=-1,o=l))}return i===o?o=l:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!a){i=n+1;break}}else -1===o&&(a=!1,o=n+1);return -1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var r=-1,n=0,i=-1,o=!0,a=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47===l){if(!o){n=s+1;break}continue}-1===i&&(o=!1,i=s+1),46===l?-1===r?r=s:1!==a&&(a=1):-1!==r&&(a=-1)}return -1===r||-1===i||0===a||1===a&&r===i-1&&r===n+1?"":e.slice(r,i)},format:function(e){var t,r;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=e.dir||e.root,r=e.base||(e.name||"")+(e.ext||""),t?t===e.root?t+r:t+"/"+r:r},parse:function(e){t(e);var r,n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var i=e.charCodeAt(0),o=47===i;o?(n.root="/",r=1):r=0;for(var a=-1,s=0,l=-1,u=!0,c=e.length-1,d=0;c>=r;--c){if(47===(i=e.charCodeAt(c))){if(!u){s=c+1;break}continue}-1===l&&(u=!1,l=c+1),46===i?-1===a?a=c:1!==d&&(d=1):-1!==a&&(d=-1)}return -1===a||-1===l||0===d||1===d&&a===l-1&&a===s+1?-1!==l&&(0===s&&o?n.base=n.name=e.slice(1,l):n.base=n.name=e.slice(s,l)):(0===s&&o?(n.name=e.slice(1,a),n.base=e.slice(1,l)):(n.name=e.slice(s,a),n.base=e.slice(s,l)),n.ext=e.slice(a,l)),s>0?n.dir=e.slice(0,s-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};n.posix=n,e.exports=n}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,n),a=!1}finally{a&&delete r[e]}return o.exports}n.ab="//";var i=n(114);e.exports=i}()},97729:function(e,t,r){e.exports=r(68792)},45847:function(e,t,r){e.exports=r(19406)},34406:function(e){var t,r,n,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l=[],u=!1,c=-1;function d(){u&&n&&(u=!1,n.length?l=n.concat(l):c=-1,l.length&&h())}function h(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(n=l,l=[];++c<t;)n&&n[c].run();c=-1,t=l.length}n=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function f(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new p(e,t)),1!==l.length||u||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=f,i.addListener=f,i.once=f,i.off=f,i.removeListener=f,i.removeAllListeners=f,i.emit=f,i.prependListener=f,i.prependOnceListener=f,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},38421:function(e,t,r){"use strict";e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,r(2784))},13839:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(18673),i=r.n(n),o=r(65645),a=r(59452),s=r(20766),l=r(12004);function u(e,t,r,n,i,a,u,c,d,h,p,f){for(var m=i-1,g=0===i?a:[""],y=(0,s.Ei)(g),v=0,b=0,w=0;v<n;++v)for(var S=0,k=(0,s.tb)(e,m+1,m=(0,s.Wn)(b=u[v])),x=e;S<y;++S)(x=(0,s.fy)(b>0?g[S]+" "+k:(0,s.gx)(k,/&\f/g,g[S])))&&(d[w++]=x);return(0,l.dH)(e,t,r,0===i?o.Fr:c,d,h,p,f)}function c(e,t,r,n,i){return(0,l.dH)(e,t,r,o.h5,(0,s.tb)(e,0,n),(0,s.tb)(e,n+1,-1),n,i)}function d(e,t,r,n){if(e.type===o.lK||e.type===o.QY||e.type===o.Fr&&(!e.parent||e.parent.type===o.iD||e.parent.type===o.Fr)){var d,h=i().transform(function e(t,r,n){switch(t.type){case o.K$:case o.h5:case o.Ab:return t.return=t.return||t.value;case o.Fr:t.value=Array.isArray(t.props)?t.props.join(","):t.props,Array.isArray(t.children)&&t.children.forEach(function(e){e.type===o.Ab&&(e.children=e.value)})}var i=(0,a.q)(Array.prototype.concat(t.children),e);return(0,s.to)(i)?t.return=t.value+"{"+i+"}":""}(e,t,r));e.children=h?(d=h,(0,l.cE)(function e(t,r,n,i,a,d,h,p,f){for(var m,g=0,y=0,v=h,b=0,w=0,S=0,k=1,x=1,P=1,E=0,T="",O=a,q=d,I=i,_=T;x;)switch(S=E,E=(0,l.lp)()){case 40:if(108!=S&&58==(0,s.uO)(_,v-1)){-1!=(0,s.Cw)(_+=(0,s.gx)((0,l.iF)(E),"&","&\f"),"&\f",(0,s.Wn)(g?p[g-1]:0))&&(P=-1);break}case 34:case 39:case 91:_+=(0,l.iF)(E);break;case 9:case 10:case 13:case 32:_+=(0,l.Qb)(S);break;case 92:_+=(0,l.kq)((0,l.Ud)()-1,7);continue;case 47:switch((0,l.fj)()){case 42:case 47:(0,s.R3)((m=(0,l.q6)((0,l.lp)(),(0,l.Ud)()),(0,l.dH)(m,r,n,o.Ab,(0,s.Dp)((0,l.Tb)()),(0,s.tb)(m,2,-2),0,f)),f),(5==(0,l.r)(S||1)||5==(0,l.r)((0,l.fj)()||1))&&(0,s.to)(_)&&" "!==(0,s.tb)(_,-1,void 0)&&(_+=" ");break;default:_+="/"}break;case 123*k:p[g++]=(0,s.to)(_)*P;case 125*k:case 59:case 0:switch(E){case 0:case 125:x=0;case 59+y:-1==P&&(_=(0,s.gx)(_,/\f/g,"")),w>0&&((0,s.to)(_)-v||0===k&&47===S)&&(0,s.R3)(w>32?c(_+";",i,n,v-1,f):c((0,s.gx)(_," ","")+";",i,n,v-2,f),f);break;case 59:_+=";";default:if((0,s.R3)(I=u(_,r,n,g,y,a,p,T,O=[],q=[],v,d),d),123===E){if(0===y)e(_,r,I,I,O,d,v,p,q);else{switch(b){case 99:if(110===(0,s.uO)(_,3))break;case 108:if(97===(0,s.uO)(_,2))break;default:y=0;case 100:case 109:case 115:}y?e(t,I,I,i&&(0,s.R3)(u(t,I,I,0,0,a,p,T,a,O=[],v,q),q),a,q,v,p,i?O:q):e(_,I,I,I,[""],q,0,p,q)}}}g=y=w=0,k=P=1,T=_="",v=h;break;case 58:v=1+(0,s.to)(_),w=S;default:if(k<1){if(123==E)--k;else if(125==E&&0==k++&&125==(0,l.mp)())continue}switch(_+=(0,s.Dp)(E),E*k){case 38:P=y>0?1:(_+="\f",-1);break;case 44:p[g++]=((0,s.to)(_)-1)*P,P=1;break;case 64:45===(0,l.fj)()&&(_+=(0,l.iF)((0,l.lp)())),b=(0,l.fj)(),y=v=(0,s.to)(T=_+=(0,l.QU)((0,l.Ud)())),E++;break;case 45:45===S&&2==(0,s.to)(_)&&(k=0)}}return d}("",null,null,null,[""],d=(0,l.un)(d),0,[0],d)))[0].children:[],e.return=""}}Object.defineProperty(d,"name",{value:"stylisRTLPlugin"});var h=d},89565:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=t.GoogleMapsEmbed=t.GoogleAnalytics=void 0;var n=r(77386);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return n.GoogleAnalytics}});var i=r(75377);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return i.GoogleMapsEmbed}});var o=r(82415);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return o.YouTubeEmbed}})},77386:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=void 0;let o=i(r(48847)),a=r(35539);t.GoogleAnalytics=e=>{var t=n(e,[]);return(0,a.formatData)(o.default,t)}},75377:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleMapsEmbed=void 0;let o=i(r(13240)),a=r(35539);t.GoogleMapsEmbed=e=>{var t=n(e,[]);return(0,a.formatData)(o.default,t)}},82415:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=void 0;let o=i(r(51991)),a=r(35539);t.YouTubeEmbed=e=>{var t=n(e,[]);return(0,a.formatData)(o.default,t)}},35539:function(e,t){"use strict";function r(e,t,r=!1){return t?Object.keys(e).filter(e=>r?!t.includes(e):t.includes(e)).reduce((t,r)=>(t[r]=e[r],t),{}):{}}function n(e,t,r,n){let i=n&&Object.keys(n).length>0?new URL(Object.values(n)[0],e):new URL(e);return t&&r&&t.forEach(e=>{r[e]&&i.searchParams.set(e,r[e])}),i.toString()}function i(e,t,r,i,o){var a;if(!t)return`<${e}></${e}>`;let s=(null===(a=t.src)||void 0===a?void 0:a.url)?Object.assign(Object.assign({},t),{src:n(t.src.url,t.src.params,i,o)}):t,l=Object.keys(Object.assign(Object.assign({},s),r)).reduce((e,t)=>{let n=null==r?void 0:r[t],i=s[t],o=null!=n?n:i,a=!0===o?t:`${t}="${o}"`;return o?e+` ${a}`:e},"");return`<${e}${l}></${e}>`}Object.defineProperty(t,"__esModule",{value:!0}),t.formatData=t.createHtml=t.formatUrl=void 0,t.formatUrl=n,t.createHtml=i,t.formatData=function(e,t){var o,a,s,l,u;let c=r(t,null===(o=e.scripts)||void 0===o?void 0:o.reduce((e,t)=>[...e,...Array.isArray(t.params)?t.params:[]],[])),d=r(t,null===(s=null===(a=e.html)||void 0===a?void 0:a.attributes.src)||void 0===s?void 0:s.params),h=r(t,[null===(u=null===(l=e.html)||void 0===l?void 0:l.attributes.src)||void 0===u?void 0:u.slugParam]),p=r(t,[...Object.keys(c),...Object.keys(d),...Object.keys(h)],!0);return Object.assign(Object.assign({},e),{html:e.html?i(e.html.element,e.html.attributes,p,d,h):null,scripts:e.scripts?e.scripts.map(e=>Object.assign(Object.assign({},e),{url:n(e.url,e.params,c)})):null})}},64896:function(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},17600:function(e,t,r){"use strict";r.d(t,{QS:function(){return u},_v:function(){return l},ab:function(){return i},li:function(){return s}});var n=r(38223),i=new n.g7,o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.dP)()}),t}function s(e){a(e).vars.forEach(function(t){return t.forgetCache(e)})}function l(e){a(e).vars.forEach(function(t){return t.attachCache(e)})}function u(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){a(e).dep.dirty(n),e.broadcastWatches&&e.broadcastWatches()});var l=Array.from(r);r.clear(),l.forEach(function(t){return t(e)})}}else{var u=i.getValue();u&&(o(u),a(u).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),a(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},64368:function(e,t,r){"use strict";var n,i;function o(e){return!!e&&e<7}r.d(t,{Ie:function(){return n},Oj:function(){return o}}),(i=n||(n={}))[i.loading=1]="loading",i[i.setVariables=2]="setVariables",i[i.fetchMore=3]="fetchMore",i[i.refetch=4]="refetch",i[i.poll=6]="poll",i[i.ready=7]="ready",i[i.error=8]="error"},45832:function(e,t,r){"use strict";r.d(t,{MS:function(){return s},YG:function(){return o},cA:function(){return u},ls:function(){return a}});var n=r(22970);r(80996);var i=r(45931),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var l=function(e){var t=(0,n.ev)((0,n.ev)((0,n.ev)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(e){return(0,i.s)(e)&&e.message||"Error message not found."}).join("\n")},u=function(e){function t(r){var i=r.graphQLErrors,o=r.protocolErrors,a=r.clientErrors,s=r.networkError,u=r.errorMessage,c=r.extraInfo,d=e.call(this,u)||this;return d.name="ApolloError",d.graphQLErrors=i||[],d.protocolErrors=o||[],d.clientErrors=a||[],d.networkError=s||null,d.message=u||l(d),d.extraInfo=c,d.cause=(0,n.ev)((0,n.ev)((0,n.ev)([s],i||[],!0),o||[],!0),a||[],!0).find(function(e){return!!e})||null,d.__proto__=t.prototype,d}return(0,n.ZT)(t,e),t}(Error)},42370:function(e,t,r){"use strict";r.d(t,{K:function(){return l}});var n,i=r(38421),o=r(43869),a=r(80996),s=o.aS?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function l(){(0,a.kG)("createContext"in(n||(n=r.t(i,2))),54);var e=i.createContext[s];return e||(Object.defineProperty(i.createContext,s,{value:e=i.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},55671:function(e,t,r){"use strict";r.d(t,{e:function(){return s}});var n=r(22970),i=r(80996),o=r(38421),a=r(42370),s=function(e){var t=e.client,r=e.children,s=(0,a.K)(),l=o.useContext(s),u=o.useMemo(function(){return(0,n.pi)((0,n.pi)({},l),{client:t||l.client})},[l,t]);return(0,i.kG)(u.client,55),o.createElement(s.Provider,{value:u},r)}},50734:function(e,t,r){"use strict";r.d(t,{L:function(){return l},s:function(){return s}});var n=r(61114),i=r(4820),o=new WeakSet;function a(e){!(e.size<=(e.max||-1))&&(o.has(e)||(o.add(e),setTimeout(function(){e.clean(),o.delete(e)},100)))}var s=function(e,t){var r=new n.k(e,t);return r.set=function(e,t){var r=n.k.prototype.set.call(this,e,t);return a(this),r},r},l=function(e,t){var r=new i.e(e,t);return r.set=function(e,t){var r=i.e.prototype.set.call(this,e,t);return a(this),r},r}},80892:function(e,t,r){"use strict";r.d(t,{Kb:function(){return u},q4:function(){return l},su:function(){return s},zP:function(){return a}});var n=r(22970),i=r(44245),o={};function a(e,t){o[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,r,a,s;if(!(!1!==globalThis.__DEV__))throw Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],r=e[1];return[t,i.Q[t]||r]})),sizes:(0,n.pi)({print:null===(e=o.print)||void 0===e?void 0:e.call(o),parser:null===(t=o.parser)||void 0===t?void 0:t.call(o),canonicalStringify:null===(r=o.canonicalStringify)||void 0===r?void 0:r.call(o),links:function e(t){var r;return t?(0,n.ev)((0,n.ev)([null===(r=null==t?void 0:t.getMemoryInternals)||void 0===r?void 0:r.call(t)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(h):[]}(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:p(this.queryManager.documentTransform)}},null===(s=(a=this.cache).getMemoryInternals)||void 0===s?void 0:s.call(a))}}:void 0,l=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,n.pi)((0,n.pi)({},c.apply(this)),{addTypenameDocumentTransform:p(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:d(this.storeReader.executeSelectionSet),executeSubSelectedArray:d(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:d(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:d(null==e?void 0:e.findFragmentSpreads),lookup:d(null==e?void 0:e.lookup),transform:d(null==e?void 0:e.transform)}})}:void 0,u=!1!==globalThis.__DEV__?c:void 0;function c(){return{cache:{fragmentQueryDocuments:d(this.getFragmentDoc)}}}function d(e){return e&&"dirtyKey"in e?e.size:void 0}function h(e){return null!=e}function p(e){return(function e(t){return t?(0,n.ev)((0,n.ev)([d(null==t?void 0:t.performWork)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(h):[]})(e).map(function(e){return{cache:e}})}},44245:function(e,t,r){"use strict";r.d(t,{Q:function(){return a}});var n=r(22970),i=r(80996),o=Symbol.for("apollo.cacheSize"),a=(0,n.pi)({},i.CO[o])},43056:function(e,t,r){"use strict";r.d(t,{O:function(){return i},k:function(){return n}});var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},43869:function(e,t,r){"use strict";r.d(t,{DN:function(){return l},JC:function(){return d},Nq:function(){return u},aS:function(){return s},mr:function(){return o},sy:function(){return a}});var n=r(80996),i="ReactNative"==(0,n.wY)(function(){return navigator.product}),o="function"==typeof WeakMap&&!(i&&!global.HermesInternal),a="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,l=s&&Symbol.asyncIterator,u="function"==typeof(0,n.wY)(function(){return window.document.createElement}),c=(0,n.wY)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,d=(u||i)&&!c},9428:function(e,t,r){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(r[t]=n)})}),r}r.d(t,{o:function(){return n}})},99635:function(e,t,r){"use strict";r.d(t,{X:function(){return i}});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},23180:function(e,t,r){"use strict";r.d(t,{J:function(){return i}});var n=r(45931);function i(e){if(!1!==globalThis.__DEV__){var t;(t=new Set([e])).forEach(function(e){(0,n.s)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(r){(0,n.s)(e[r])&&t.add(e[r])})})}return e}},58769:function(e,t,r){"use strict";r.d(t,{J:function(){return o}});var n=r(22970),i=r(9428);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,n.pi)((0,n.pi)({},e&&e.variables),t.variables))})}},45931:function(e,t,r){"use strict";function n(e){return null!==e&&"object"==typeof e}r.d(t,{s:function(){return n}})},63118:function(e,t,r){"use strict";r.d(t,{v:function(){return i}});var n=r(99635);function i(e,t){void 0===t&&(t=0);var r=(0,n.X)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?r:t},t).split(JSON.stringify(r)).join("<undefined>")}},80996:function(e,t,r){"use strict";r.d(t,{CO:function(){return m},kG:function(){return v},wY:function(){return f},_K:function(){return b}});var n,i=r(22970),o="Invariant Violation",a=Object.setPrototypeOf,s=void 0===a?function(e,t){return e.__proto__=t,e}:a,l=function(e){function t(r){void 0===r&&(r=o);var n=e.call(this,"number"==typeof r?o+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=o,s(n,t.prototype),n}return(0,i.ZT)(t,e),t}(Error);function u(e,t){if(!e)throw new l(t)}var c=["debug","log","warn","error","silent"],d=c.indexOf("log");function h(e){return function(){if(c.indexOf(e)>=d)return(console[e]||console.log).apply(console,arguments)}}(n=u||(u={})).debug=h("debug"),n.log=h("log"),n.warn=h("warn"),n.error=h("error");var p=r(12674);function f(e){try{return e()}catch(e){}}var m=f(function(){return globalThis})||f(function(){return window})||f(function(){return self})||f(function(){return global})||f(function(){return f.constructor("return this")()}),g=r(63118);function y(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"==typeof t){var i=t;(t=k(i))||(t=x(i,r),r=[])}e.apply(void 0,[t].concat(r))}}var v=Object.assign(function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];e||u(e,k(t,r)||x(t,r))},{debug:y(u.debug),log:y(u.log),warn:y(u.warn),error:y(u.error)});function b(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new l(k(e,t)||x(e,t))}var w=Symbol.for("ApolloErrorMessageHandler_"+p.i);function S(e){if("string"==typeof e)return e;try{return(0,g.v)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function k(e,t){if(void 0===t&&(t=[]),e)return m[w]&&m[w](e,t.map(S))}function x(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:p.i,message:e,args:t.map(S)})))}},12674:function(e,t,r){"use strict";r.d(t,{i:function(){return n}});var n="3.13.3"},7896:function(e,t,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}r.d(t,{Z:function(){return n}})},31461:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}r.d(t,{Z:function(){return n}})},4820:function(e,t,r){"use strict";function n(){}r.d(t,{e:function(){return i}});class i{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}},61114:function(e,t,r){"use strict";function n(){}r.d(t,{k:function(){return s}});let i="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},o="undefined"!=typeof WeakMap?WeakMap:Map,a="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:n,unregister:n}};class s{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new o,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let r=t.key;delete t.key,t.keyRef=new i(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new a(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},78807:function(e,t,r){"use strict";r.d(t,{D:function(){return s}});let{toString:n,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return function e(t,r){if(t===r)return!0;let a=n.call(t);if(a!==n.call(r))return!1;switch(a){case"[object Array]":if(t.length!==r.length)break;case"[object Object]":{if(d(t,r))return!0;let n=l(t),o=l(r),a=n.length;if(a!==o.length)return!1;for(let e=0;e<a;++e)if(!i.call(r,n[e]))return!1;for(let i=0;i<a;++i){let o=n[i];if(!e(t[o],r[o]))return!1}return!0}case"[object Error]":return t.name===r.name&&t.message===r.message;case"[object Number]":if(t!=t)return r!=r;case"[object Boolean]":case"[object Date]":return+t==+r;case"[object RegExp]":case"[object String]":return t==`${r}`;case"[object Map]":case"[object Set]":{if(t.size!==r.size)return!1;if(d(t,r))return!0;let n=t.entries(),i="[object Map]"===a;for(;;){let t=n.next();if(t.done)break;let[o,a]=t.value;if(!r.has(o)||i&&!e(a,r.get(o)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":t=new Uint8Array(t),r=new Uint8Array(r);case"[object DataView]":{let e=t.byteLength;if(e===r.byteLength)for(;e--&&t[e]===r[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let e=o.call(t);if(e!==o.call(r))return!1;return!function(e,t){let r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}(e,c)}}return!1}(e,t)}finally{a.clear()}}function l(e){return Object.keys(e).filter(u,e)}function u(e){return void 0!==this[e]}t.Z=s;let c="{ [native code] }";function d(e,t){let r=a.get(e);if(r){if(r.has(t))return!0}else a.set(e,r=new Set);return r.add(t),!1}},40489:function(e,t,r){"use strict";t.Z=function(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n)}return i}(e))&&(n&&(n+=" "),n+=t);return n}},20496:function(e,t,r){"use strict";function n(e,t){if(!e)throw Error(t)}r.d(t,{a:function(){return n}})},92277:function(e,t,r){"use strict";function n(e){return function e(t,r){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,r){if(null===t)return"null";if(r.includes(t))return"[Circular]";let n=[...r,t];if("function"==typeof t.toJSON){let r=t.toJSON();if(r!==t)return"string"==typeof r?r:e(r,n)}else if(Array.isArray(t))return function(t,r){if(0===t.length)return"[]";if(r.length>2)return"[Array]";let n=Math.min(10,t.length),i=t.length-n,o=[];for(let i=0;i<n;++i)o.push(e(t[i],r));return 1===i?o.push("... 1 more item"):i>1&&o.push(`... ${i} more items`),"["+o.join(", ")+"]"}(t,n);return function(t,r){let n=Object.entries(t);return 0===n.length?"{}":r.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(t)+"]":"{ "+n.map(([t,n])=>t+": "+e(n,r)).join(", ")+" }"}(t,n)}(t,r);default:return String(t)}}(e,[])}r.d(t,{X:function(){return n}})},90781:function(e,t,r){"use strict";var n,i;r.d(t,{UG:function(){return u},WU:function(){return a},Ye:function(){return o},h8:function(){return s},ku:function(){return n}});class o{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class a{constructor(e,t,r,n,i,o){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let s={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},l=new Set(Object.keys(s));function u(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&l.has(t)}(i=n||(n={})).QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription"},85717:function(e,t,r){"use strict";r.d(t,{LZ:function(){return o},wv:function(){return i}});var n=r(51591);function i(e){var t,r;let i=Number.MAX_SAFE_INTEGER,o=null,a=-1;for(let t=0;t<e.length;++t){let s=e[t],l=function(e){let t=0;for(;t<e.length&&(0,n.FD)(e.charCodeAt(t));)++t;return t}(s);l!==s.length&&(o=null!==(r=o)&&void 0!==r?r:t,a=t,0!==t&&l<i&&(i=l))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!==(t=o)&&void 0!==t?t:0,a+1)}function o(e,t){let r=e.replace(/"""/g,'\\"""'),i=r.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every(e=>0===e.length||(0,n.FD)(e.charCodeAt(0))),s=r.endsWith('\\"""'),l=e.endsWith('"')&&!s,u=e.endsWith("\\"),c=l||u,d=!(null!=t&&t.minimize)&&(!o||e.length>70||c||a||s),h="",p=o&&(0,n.FD)(e.charCodeAt(0));return(d&&!p||a)&&(h+="\n"),h+=r,(d||c)&&(h+="\n"),'"""'+h+'"""'}},51591:function(e,t,r){"use strict";function n(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}r.d(t,{FD:function(){return n},HQ:function(){return s},LQ:function(){return a},X1:function(){return i}})},95115:function(e,t,r){"use strict";var n,i;r.d(t,{h:function(){return n}}),(i=n||(n={})).NAME="Name",i.DOCUMENT="Document",i.OPERATION_DEFINITION="OperationDefinition",i.VARIABLE_DEFINITION="VariableDefinition",i.SELECTION_SET="SelectionSet",i.FIELD="Field",i.ARGUMENT="Argument",i.FRAGMENT_SPREAD="FragmentSpread",i.INLINE_FRAGMENT="InlineFragment",i.FRAGMENT_DEFINITION="FragmentDefinition",i.VARIABLE="Variable",i.INT="IntValue",i.FLOAT="FloatValue",i.STRING="StringValue",i.BOOLEAN="BooleanValue",i.NULL="NullValue",i.ENUM="EnumValue",i.LIST="ListValue",i.OBJECT="ObjectValue",i.OBJECT_FIELD="ObjectField",i.DIRECTIVE="Directive",i.NAMED_TYPE="NamedType",i.LIST_TYPE="ListType",i.NON_NULL_TYPE="NonNullType",i.SCHEMA_DEFINITION="SchemaDefinition",i.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",i.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",i.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",i.FIELD_DEFINITION="FieldDefinition",i.INPUT_VALUE_DEFINITION="InputValueDefinition",i.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",i.UNION_TYPE_DEFINITION="UnionTypeDefinition",i.ENUM_TYPE_DEFINITION="EnumTypeDefinition",i.ENUM_VALUE_DEFINITION="EnumValueDefinition",i.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",i.DIRECTIVE_DEFINITION="DirectiveDefinition",i.SCHEMA_EXTENSION="SchemaExtension",i.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",i.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",i.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",i.UNION_TYPE_EXTENSION="UnionTypeExtension",i.ENUM_TYPE_EXTENSION="EnumTypeExtension",i.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"},38223:function(e,t,r){"use strict";let n;r.d(t,{g7:function(){return y},dP:function(){return M},re:function(){return z}});let i=()=>Object.create(null),{forEach:o,slice:a}=Array.prototype,{hasOwnProperty:s}=Object.prototype;class l{constructor(e=!0,t=i){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return o.call(e,e=>t=t.getChildTrie(e)),s.call(t,"data")?t.data:t.data=this.makeData(a.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r<n;++r){let n=this.weakness&&u(e[r])?t.weak:t.strong;t=n&&n.get(e[r])}return t&&t.data}getChildTrie(e){let t=this.weakness&&u(e)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),r=t.get(e);return r||t.set(e,r=new l(this.weakness,this.makeData)),r}}function u(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}var c=r(4820);let d=null,h={},p=1;function f(e){try{return e()}catch(e){}}let m="@wry/context:Slot",g=f(()=>globalThis)||f(()=>global)||Object.create(null),y=g[m]||Array[m]||function(e){try{Object.defineProperty(g,m,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",p++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=d;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===h)break;return e!==d&&(d.slots[this.id]=t),!0}return d&&(d.slots[this.id]=h),!1}getValue(){if(this.hasValue())return d.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},o=d;d={parent:o,slots:i};try{return t.apply(n,r)}finally{d=o}}static bind(e){let t=d;return function(){let r=d;try{return d=t,e.apply(this,arguments)}finally{d=r}}}static noContext(e,t,r){if(!d)return e.apply(r,t);{let n=d;try{return d=null,e.apply(r,t)}finally{d=n}}}}),{bind:v,noContext:b}=y,w=new y,{hasOwnProperty:S}=Object.prototype,k=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function x(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let P=[];function E(e,t){if(!e)throw Error(t||"assertion failure")}function T(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function O(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class q{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++q.count}peek(){if(1===this.value.length&&!C(this))return I(this),this.value[0]}recompute(e){var t;return E(!this.recomputing,"already recomputing"),I(this),C(this)&&(N(this),w.withValue(this,_,[this,e]),function(e,t){if("function"==typeof e.subscribe)try{x(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(this,e)&&(this.dirty=!1,C(this)||(t=this,A(t,R)))),O(this.value)}setDirty(){this.dirty||(this.dirty=!0,A(this,D),x(this))}dispose(){this.setDirty(),N(this),A(this,(e,t)=>{e.setDirty(),F(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=P.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(k(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),P.push(this.deps),this.deps=null)}}function I(e){let t=w.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),C(e)?D(t,e):R(t,e),t}function _(e,t){let r;e.recomputing=!0;let{normalizeResult:n}=e;n&&1===e.value.length&&(r=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!T(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function C(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function A(e,t){let r=e.parents.size;if(r){let n=k(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function D(e,t){E(e.childValues.has(t)),E(C(t));let r=!C(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=P.pop()||new Set;e.dirtyChildren.add(t),r&&A(e,D)}function R(e,t){E(e.childValues.has(t)),E(!C(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):T(r,t.value)||e.setDirty(),j(e,t),C(e)||A(e,R)}function j(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(P.length<100&&P.push(r),e.dirtyChildren=null))}function N(e){e.childValues.size>0&&e.childValues.forEach((t,r)=>{F(e,r)}),e.forgetDeps(),E(null===e.dirtyChildren)}function F(e,t){t.parents.delete(e),e.childValues.delete(t),j(e,t)}q.count=0;let $={setDirty:!0,dispose:!0,forget:!0};function M(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=w.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(x(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let i=r&&S.call($,r)?r:"setDirty";k(n).forEach(e=>e[i]()),t.delete(e),x(n)}},n}function L(...e){return(n||(n=new l("function"==typeof WeakMap))).lookupArray(e)}let G=new Set;function z(e,{max:t=65536,keyArgs:r,makeCacheKey:n=L,normalizeResult:i,subscribe:o,cache:a=c.e}=Object.create(null)){let s="function"==typeof a?new a(t,e=>e.dispose()):a,l=function(){let t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let a=s.get(t);a||(s.set(t,a=new q(e)),a.normalizeResult=i,a.subscribe=o,a.forget=()=>s.delete(t));let l=a.recompute(Array.prototype.slice.call(arguments));return s.set(t,a),G.add(s),w.hasValue()||(G.forEach(e=>e.clean()),G.clear()),l};function u(e){let t=e&&s.get(e);t&&t.setDirty()}function d(e){let t=e&&s.get(e);if(t)return t.peek()}function h(e){return!!e&&s.delete(e)}return Object.defineProperty(l,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(l.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:o,cache:s}),l.dirtyKey=u,l.dirty=function(){u(n.apply(null,arguments))},l.peekKey=d,l.peek=function(){return d(n.apply(null,arguments))},l.forgetKey=h,l.forget=function(){return h(n.apply(null,arguments))},l.makeCacheKey=n,l.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(l)}},65645:function(e,t,r){"use strict";r.d(t,{Ab:function(){return a},Fr:function(){return s},G$:function(){return o},K$:function(){return c},MS:function(){return n},QY:function(){return d},h5:function(){return l},iD:function(){return u},lK:function(){return h},uj:function(){return i}});var n="-ms-",i="-moz-",o="-webkit-",a="comm",s="rule",l="decl",u="@media",c="@import",d="@supports",h="@keyframes"},34824:function(e,t,r){"use strict";r.d(t,{Ji:function(){return s}});var n=r(65645),i=r(20766),o=r(12004),a=r(59452);function s(e,t,r,s){if(e.length>-1&&!e.return)switch(e.type){case n.h5:e.return=function e(t,r,o){switch((0,i.vp)(t,r)){case 5103:return n.G$+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return n.G$+t+t;case 4855:return n.G$+t.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+t;case 4789:return n.uj+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return n.G$+t+n.uj+t+n.MS+t+t;case 5936:switch((0,i.uO)(t,r+11)){case 114:return n.G$+t+n.MS+(0,i.gx)(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return n.G$+t+n.MS+(0,i.gx)(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return n.G$+t+n.MS+(0,i.gx)(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return n.G$+t+n.MS+t+t;case 6165:return n.G$+t+n.MS+"flex-"+t+t;case 5187:return n.G$+t+(0,i.gx)(t,/(\w+).+(:[^]+)/,n.G$+"box-$1$2"+n.MS+"flex-$1$2")+t;case 5443:return n.G$+t+n.MS+"flex-item-"+(0,i.gx)(t,/flex-|-self/g,"")+((0,i.EQ)(t,/flex-|baseline/)?"":n.MS+"grid-row-"+(0,i.gx)(t,/flex-|-self/g,""))+t;case 4675:return n.G$+t+n.MS+"flex-line-pack"+(0,i.gx)(t,/align-content|flex-|-self/g,"")+t;case 5548:return n.G$+t+n.MS+(0,i.gx)(t,"shrink","negative")+t;case 5292:return n.G$+t+n.MS+(0,i.gx)(t,"basis","preferred-size")+t;case 6060:return n.G$+"box-"+(0,i.gx)(t,"-grow","")+n.G$+t+n.MS+(0,i.gx)(t,"grow","positive")+t;case 4554:return n.G$+(0,i.gx)(t,/([^-])(transform)/g,"$1"+n.G$+"$2")+t;case 6187:return(0,i.gx)((0,i.gx)((0,i.gx)(t,/(zoom-|grab)/,n.G$+"$1"),/(image-set)/,n.G$+"$1"),t,"")+t;case 5495:case 3959:return(0,i.gx)(t,/(image-set\([^]*)/,n.G$+"$1$`$1");case 4968:return(0,i.gx)((0,i.gx)(t,/(.+:)(flex-)?(.*)/,n.G$+"box-pack:$3"+n.MS+"flex-pack:$3"),/space-between/,"justify")+n.G$+t+t;case 4200:if(!(0,i.EQ)(t,/flex-|baseline/))return n.MS+"grid-column-align"+(0,i.tb)(t,r)+t;break;case 2592:case 3360:return n.MS+(0,i.gx)(t,"template-","")+t;case 4384:case 3616:if(o&&o.some(function(e,t){return r=t,(0,i.EQ)(e.props,/grid-\w+-end/)}))return~(0,i.Cw)(t+(o=o[r].value),"span",0)?t:n.MS+(0,i.gx)(t,"-start","")+t+n.MS+"grid-row-span:"+(~(0,i.Cw)(o,"span",0)?(0,i.EQ)(o,/\d+/):+(0,i.EQ)(o,/\d+/)-+(0,i.EQ)(t,/\d+/))+";";return n.MS+(0,i.gx)(t,"-start","")+t;case 4896:case 4128:return o&&o.some(function(e){return(0,i.EQ)(e.props,/grid-\w+-start/)})?t:n.MS+(0,i.gx)((0,i.gx)(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return(0,i.gx)(t,/(.+)-inline(.+)/,n.G$+"$1$2")+t;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((0,i.to)(t)-1-r>6)switch((0,i.uO)(t,r+1)){case 109:if(45!==(0,i.uO)(t,r+4))break;case 102:return(0,i.gx)(t,/(.+:)(.+)-([^]+)/,"$1"+n.G$+"$2-$3$1"+n.uj+(108==(0,i.uO)(t,r+3)?"$3":"$2-$3"))+t;case 115:return~(0,i.Cw)(t,"stretch",0)?e((0,i.gx)(t,"stretch","fill-available"),r,o)+t:t}break;case 5152:case 5920:return(0,i.gx)(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,r,i,o,a,s,l){return n.MS+r+":"+i+l+(o?n.MS+r+"-span:"+(a?s:+s-+i)+l:"")+t});case 4949:if(121===(0,i.uO)(t,r+6))return(0,i.gx)(t,":",":"+n.G$)+t;break;case 6444:switch((0,i.uO)(t,45===(0,i.uO)(t,14)?18:11)){case 120:return(0,i.gx)(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+n.G$+(45===(0,i.uO)(t,14)?"inline-":"")+"box$3$1"+n.G$+"$2$3$1"+n.MS+"$2box$3")+t;case 100:return(0,i.gx)(t,":",":"+n.MS)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return(0,i.gx)(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,r);return;case n.lK:return(0,a.q)([(0,o.JG)(e,{value:(0,i.gx)(e.value,"@","@"+n.G$)})],s);case n.Fr:if(e.length)return(0,i.$e)(r=e.props,function(t){switch((0,i.EQ)(t,s=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":(0,o.xb)((0,o.JG)(e,{props:[(0,i.gx)(t,/:(read-\w+)/,":"+n.uj+"$1")]})),(0,o.xb)((0,o.JG)(e,{props:[t]})),(0,i.f0)(e,{props:(0,i.hX)(r,s)});break;case"::placeholder":(0,o.xb)((0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,":"+n.G$+"input-$1")]})),(0,o.xb)((0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,":"+n.uj+"$1")]})),(0,o.xb)((0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,n.MS+"input-$1")]})),(0,o.xb)((0,o.JG)(e,{props:[t]})),(0,i.f0)(e,{props:(0,i.hX)(r,s)})}return""})}}},59452:function(e,t,r){"use strict";function n(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}r.d(t,{q:function(){return n}})},12004:function(e,t,r){"use strict";r.d(t,{JG:function(){return d},QU:function(){return T},Qb:function(){return x},Tb:function(){return p},Ud:function(){return y},cE:function(){return S},dH:function(){return c},fj:function(){return g},iF:function(){return k},kq:function(){return P},lp:function(){return m},mp:function(){return f},q6:function(){return E},r:function(){return b},un:function(){return w},xb:function(){return h}});var n=r(20766),i=1,o=1,a=0,s=0,l=0,u="";function c(e,t,r,n,a,s,l,u){return{value:e,root:t,parent:r,type:n,props:a,children:s,line:i,column:o,length:l,return:"",siblings:u}}function d(e,t){return(0,n.f0)(c("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function h(e){for(;e.root;)e=d(e.root,{children:[e]});(0,n.R3)(e,e.siblings)}function p(){return l}function f(){return l=s>0?(0,n.uO)(u,--s):0,o--,10===l&&(o=1,i--),l}function m(){return l=s<a?(0,n.uO)(u,s++):0,o++,10===l&&(o=1,i++),l}function g(){return(0,n.uO)(u,s)}function y(){return s}function v(e,t){return(0,n.tb)(u,e,t)}function b(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 w(e){return i=o=1,a=(0,n.to)(u=e),s=0,[]}function S(e){return u="",e}function k(e){return(0,n.fy)(v(s-1,function e(t){for(;m();)switch(l){case t:return s;case 34:case 39:34!==t&&39!==t&&e(l);break;case 40:41===t&&e(t);break;case 92:m()}return s}(91===e?e+2:40===e?e+1:e)))}function x(e){for(;l=g();)if(l<33)m();else break;return b(e)>2||b(l)>3?"":" "}function P(e,t){for(;--t&&m()&&!(l<48)&&!(l>102)&&(!(l>57)||!(l<65))&&(!(l>70)||!(l<97)););return v(e,s+(t<6&&32==g()&&32==m()))}function E(e,t){for(;m();)if(e+l===57)break;else if(e+l===84&&47===g())break;return"/*"+v(t,s-1)+"*"+(0,n.Dp)(47===e?e:m())}function T(e){for(;!b(g());)m();return v(e,s)}},20766:function(e,t,r){"use strict";r.d(t,{$e:function(){return g},Cw:function(){return c},Dp:function(){return i},EQ:function(){return l},Ei:function(){return f},R3:function(){return m},Wn:function(){return n},f0:function(){return o},fy:function(){return s},gx:function(){return u},hX:function(){return y},tb:function(){return h},to:function(){return p},uO:function(){return d},vp:function(){return a}});var n=Math.abs,i=String.fromCharCode,o=Object.assign;function a(e,t){return 45^d(e,0)?(((t<<2^d(e,0))<<2^d(e,1))<<2^d(e,2))<<2^d(e,3):0}function s(e){return e.trim()}function l(e,t){return(e=t.exec(e))?e[0]:e}function u(e,t,r){return e.replace(t,r)}function c(e,t,r){return e.indexOf(t,r)}function d(e,t){return 0|e.charCodeAt(t)}function h(e,t,r){return e.slice(t,r)}function p(e){return e.length}function f(e){return e.length}function m(e,t){return t.push(e),e}function g(e,t){return e.map(t).join("")}function y(e,t){return e.filter(function(e){return!l(e,t)})}},22970:function(e,t,r){"use strict";r.d(t,{Jh:function(){return l},ZT:function(){return i},_T:function(){return a},ev:function(){return u},mG:function(){return s},pi:function(){return o}});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})}function l(e,t){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function u(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError},48847:function(e){"use strict";e.exports=JSON.parse('{"id":"google-analytics","description":"Install a Google Analytics tag on your website","website":"https://analytics.google.com/analytics/web/","scripts":[{"url":"https://www.googletagmanager.com/gtag/js","params":["id"],"strategy":"worker","location":"head","action":"append"},{"code":"window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){window.dataLayer.push(arguments);};gtag(\'js\',new Date());gtag(\'config\',\'${args.id}\')","strategy":"worker","location":"head","action":"append"}]}')},13240:function(e){"use strict";e.exports=JSON.parse('{"id":"google-maps-embed","description":"Embed a Google Maps embed on your webpage","website":"https://developers.google.com/maps/documentation/embed/get-started","html":{"element":"iframe","attributes":{"loading":"lazy","src":{"url":"https://www.google.com/maps/embed/v1/place","slugParam":"mode","params":["key","q","center","zoom","maptype","language","region"]},"referrerpolicy":"no-referrer-when-downgrade","frameborder":"0","style":"border:0","allowfullscreen":true,"width":null,"height":null}}}')},51991:function(e){"use strict";e.exports=JSON.parse('{"id":"youtube-embed","description":"Embed a YouTube embed on your webpage.","website":"https://github.com/paulirish/lite-youtube-embed","html":{"element":"lite-youtube","attributes":{"videoid":null,"playlabel":null}},"stylesheets":["https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.css"],"scripts":[{"url":"https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.js","strategy":"idle","location":"head","action":"append"}]}')}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(86570),t(70743)}),_N_E=e.O()}]);
//# sourceMappingURL=_app-44c2137d2a61d7c1.js.map