1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{8417:function(t,e,n){"use strict";n.d(e,{Z:function(){return it}});var r=function(){function t(t){var e=this;this._insertTag=function(t){var n;n=0===e.tags.length?e.insertionPoint?e.insertionPoint.nextSibling:e.prepend?e.container.firstChild:e.before:e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(t,n),e.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),void 0!==t.nonce&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}(this));var e=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}(e);try{n.insertRule(t,n.cssRules.length)}catch(r){0}}else e.appendChild(document.createTextNode(t));this.ctr++}
vendor: 5,086 bytes, line 1
1,e.flush=function(){this.tags.forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),this.tags=[],this.ctr=0},t}(),i=Math.abs,o=String.fromCharCode,s=Object.assign;function a(t){return t.trim()}function c(t,e,n){return t.replace(e,n)}function u(t,e){return t.indexOf(e)}function l(t,e){return 0|t.charCodeAt(e)}function d(t,e,n){return t.slice(e,n)}function h(t){return t.length}function p(t){return t.length}function f(t,e){return e.push(t),t}var m=1,g=1,y=0,v=0,_=0,b="";function w(t,e,n,r,i,o,s){return{value:t,root:e,parent:n,type:r,props:i,children:o,line:m,column:g,length:s,return:""}}function k(t,e){return s(w("",null,null,"",null,null,0),t,{length:-t.length},e)}function S(){return _=v>0?l(b,--v):0,g--,10===_&&(g=1,m--),_}function x(){return _=v<y?l(b,v++):0,g++,10===_&&(g=1,m++),_}function E(){return l(b,v)}function T(){return v}function C(t,e){return d(b,t,e)}function R(t){switch(t){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 O(t){return m=g=1,y=h(b=t),v=0,[]}function I(t){return b="",t}function A(t){return a(C(v-1,P(91===t?t+2:40===t?t+1:t)))}function Z(t){for(;(_=E())&&_<33;)x();return R(t)>2||R(_)>3?"":" "}function M(t,e){for(;--e&&x()&&!(_<48||_>102||_>57&&_<65||_>70&&_<97););return C(t,T()+(e<6&&32==E()&&32==x()))}function P(t){for(;x();)switch(_){case t:return v;case 34:case 39:34!==t&&39!==t&&P(_);break;case 40:41===t&&P(t);break;case 92:x()}return v}function D(t,e){for(;x()&&t+_!==57&&(t+_!==84||47!==E()););return"/*"+C(e,v-1)+"*"+o(47===t?t:x())}function L(t){for(;!R(E());)x();return C(t,v)}var N="-ms-",z="-moz-",j="-webkit-",F="comm",$="rule",B="decl",U="@keyframes";function q(t,e){for(var n="",r=p(t),i=0;i<r;i++)n+=e(t[i],i,t,e)||"";return n}function G(t,e,n,r){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case B:return t.return=t.return||t.value;case F:return"";case U:return t.return=t.value+"{"+q(t.children,r)+"}";case $:t.value=t.props.join(",")}return h(n=q(t.children,r))?t.return=t.value+"{"+n+"}":""}function H(t){return I(W("",null,null,null,[""],t=O(t),0,[0],t))}function W(t,e,n,r,i,s,a,d,p){for(var m=0,g=0,y=a,v=0,_=0,b=0,w=1,k=1,C=1,R=0,O="",I=i,P=s,N=r,z=O;k;)switch(b=R,R=x()){case 40:if(108!=b&&58==l(z,y-1)){-1!=u(z+=c(A(R),"&","&\f"),"&\f")&&(C=-1);break}case 34:case 39:case 91:z+=A(R);break;case 9:case 10:case 13:case 32:z+=Z(b);break;case 92:z+=M(T()-1,7);continue;case 47:switch(E()){case 42:case 47:f(K(D(x(),T()),e,n),p);break;default:z+="/"}break;case 123*w:d[m++]=h(z)*C;case 125*w:case 59:case 0:switch(R){case 0:case 125:k=0;case 59+g:-1==C&&(z=c(z,/\f/g,"")),_>0&&h(z)-y&&f(_>32?Q(z+";",r,n,y-1):Q(c(z," ","")+";",r,n,y-2),p);break;case 59:z+=";";default:if(f(N=V(z,e,n,m,g,i,d,O,I=[],P=[],y),s),123===R)if(0===g)W(z,e,N,N,I,s,y,d,P);else switch(99===v&&110===l(z,3)?100:v){case 100:case 108:case 109:case 115:W(t,N,N,r&&f(V(t,N,N,0,0,i,d,O,i,I=[],y),P),i,P,y,d,r?I:P);break;default:W(z,N,N,N,[""],P,0,d,P)}}m=g=_=0,w=C=1,O=z="",y=a;break;case 58:y=1+h(z),_=b;default:if(w<1)if(123==R)--w;else if(125==R&&0==w++&&125==S())continue;switch(z+=o(R),R*w){case 38:C=g>0?1:(z+="\f",-1);break;case 44:d[m++]=(h(z)-1)*C,C=1;break;case 64:45===E()&&(z+=A(x())),v=E(),g=y=h(O=z+=L(T())),R++;break;case 45:45===b&&2==h(z)&&(w=0)}}return s}function V(t,e,n,r,o,s,u,l,h,f,m){for(var g=o-1,y=0===o?s:[""],v=p(y),_=0,b=0,k=0;_<r;++_)for(var S=0,x=d(t,g+1,g=i(b=u[_])),E=t;S<v;++S)(E=a(b>0?y[S]+" "+x:c(x,/&\f/g,y[S])))&&(h[k++]=E);return w(t,e,n,0===o?$:l,h,f,m)}function K(t,e,n){return w(t,e,n,F,o(_),d(t,2,-2),0)}function Q(t,e,n,r){return w(t,e,n,B,d(t,0,r),d(t,r+1,-1),r)}n(25108);var Y=function(t,e,n){for(var r=0,i=0;r=i,i=E(),38===r&&12===i&&(e[n]=1),!R(i);)x();return C(t,v)},X=function(t,e){return I(function(t,e){var n=-1,r=44;do{switch(R(r)){case 0:38===r&&12===E()&&(e[n]=1),t[n]+=Y(v-1,e,n);break;case 2:t[n]+=A(r);break;case 4:if(44===r){t[++n]=58===E()?"&\f":"",e[n]=t[n].length;break}default:t[n]+=o(r)}}while(r=x());return t}(O(t),e))},J=new WeakMap,tt=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var e=t.value,n=t.parent,r=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||J.get(n))&&!r){J.set(t,!0);for(var i=[],o=X(e,i),s=n.props,a=0,c=0;a<o.length;a++)for(var u=0;u<s.length;u++,c++)t.props[c]=i[a]?o[a].replace(/&\f/g,s[u]):s[u]+" "+o[a]}}},et=function(t){if("decl"===t.type){var e=t.value;108===e.charCodeAt(0)&&98===e.charCodeAt(2)&&(t.return="",t.value="")}};function nt(t,e){switch(function(t,e){return 45^l(t,0)?(((e<<2^l(t,0))<<2^l(t,1))<<2^l(t,2))<<2^l(t,3):0}(t,e)){case 5103:return"-webkit-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 j+t+t;
1case 5349:case 4246:case 4810:case 6968:case 2756:return j+t+z+t+N+t+t;case 6828:case 4268:return j+t+N+t+t;case 6165:return j+t+N+"flex-"+t+t;case 5187:return j+t+c(t,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+t;case 5443:return j+t+N+"flex-item-"+c(t,/flex-|-self/,"")+t;case 4675:return j+t+N+"flex-line-pack"+c(t,/align-content|flex-|-self/,"")+t;case 5548:return j+t+N+c(t,"shrink","negative")+t;case 5292:return j+t+N+c(t,"basis","preferred-size")+t;case 6060:return"-webkit-box-"+c(t,"-grow","")+j+t+N+c(t,"grow","positive")+t;case 4554:return j+c(t,/([^-])(transform)/g,"$1-webkit-$2")+t;case 6187:return c(c(c(t,/(zoom-|grab)/,"-webkit-$1"),/(image-set)/,"-webkit-$1"),t,"")+t;case 5495:case 3959:return c(t,/(image-set\([^]*)/,"-webkit-$1$`$1");case 4968:return c(c(t,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+j+t+t;case 4095:case 3583:case 4068:case 2532:return c(t,/(.+)-inline(.+)/,"-webkit-$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(h(t)-1-e>6)switch(l(t,e+1)){case 109:if(45!==l(t,e+4))break;case 102:return c(t,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1-moz-"+(108==l(t,e+3)?"$3":"$2-$3"))+t;case 115:return~u(t,"stretch")?nt(c(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(115!==l(t,e+1))break;case 6444:switch(l(t,h(t)-3-(~u(t,"!important")&&10))){case 107:return c(t,":",":-webkit-")+t;case 101:return c(t,/(.+:)([^;!]+)(;|!.+)?/,"$1-webkit-"+(45===l(t,14)?"inline-":"")+"box$3$1"+"-webkit-$2$3$1"+"-ms-$2box$3")+t}break;case 5936:switch(l(t,e+11)){case 114:return j+t+N+c(t,/[svh]\w+-[tblr]{2}/,"tb")+t;
1case 108:return j+t+N+c(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return j+t+N+c(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return j+t+N+t+t}return t}var rt=[function(t,e,n,r){if(t.length>-1&&!t.return)switch(t.type){case B:t.return=nt(t.value,t.length);break;case U:return q([k(t,{value:c(t.value,"@","@-webkit-")})],r);case $:if(t.length)return function(t,e){return t.map(e).join("")}(t.props,(function(e){switch(function(t,e){return(t=e.exec(t))?t[0]:t}(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return q([k(t,{props:[c(e,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return q([k(t,{props:[c(e,/:(plac\w+)/,":-webkit-input-$1")]}),k(t,{props:[c(e,/:(plac\w+)/,":-moz-$1")]}),k(t,{props:[c(e,/:(plac\w+)/,"-ms-input-$1")]})],r)}return""}))}}],it=function(t){var e=t.key;if("css"===e){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var i=t.stylisPlugins||rt;var o,s,a={},c=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),(function(t){for(var e=t.getAttribute("data-emotion").split(" "),n=1;n<e.length;n++)a[e[n]]=!0;c.push(t)}));var u,l,d=[G,(l=function(t){u.insert(t)},function(t){t.root||(t=t.return)&&l(t)})],h=function(t){var e=p(t);return function(n,r,i,o){for(var s="",a=0;a<e;a++)s+=t[a](n,r,i,o)||"";return s}}([tt,et].concat(i,d));s=function(t,e,n,r){u=n,q(H(t?t+"{"+e.styles+"}":e.styles),h),r&&(f.inserted[e.name]=!0)};var f={key:e,sheet:new r({key:e,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:s};return f.sheet.hydrate(c),f}},45042:function(t,e,n){"use strict";function r(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}n.d(e,{Z:function(){return r}})},75260:function(t,e,n){"use strict";n.d(e,{C:function(){return a},T:function(){return u},i:function(){return o},w:function(){return c}});var r=n(67294),i=n(8417),o=(n(48137),n(27278),!0),s=r.createContext("undefined"!==typeof HTMLElement?(0,i.Z)({key:"css"}):null);var a=s.Provider,c=function(t){return(0,r.forwardRef)((function(e,n){var i=(0,r.useContext)(s);return t(e,i,n)}))};o||(c=function(t){return function(e){var n=(0,r.useContext)(s);return null===n?(n=(0,i.Z)({key:"css"}),r.createElement(s.Provider,{value:n},t(e,n))):t(e,n)}});var u=r.createContext({})},70917:function(t,e,n){"use strict";n.d(e,{F4:function(){return l},iv:function(){return u},xB:function(){return c}});var r=n(75260),i=n(67294),o=n(70444),s=n(27278),a=n(48137),c=(n(8417),n(8679),(0,r.w)((function(t,e){var n=t.styles,c=(0,a.O)([n],void 0,i.useContext(r.T));if(!r.i){for(var u,l=c.name,d=c.styles,h=c.next;void 0!==h;)l+=" "+h.name,d+=h.styles,h=h.next;var p=!0===e.compat,f=e.insert("",{name:l,styles:d},e.sheet,p);return p?null:i.createElement("style",((u={})["data-emotion"]=e.key+"-global "+l,u.dangerouslySetInnerHTML={__html:f},u.nonce=e.sheet.nonce,u))}var m=i.useRef();return(0,s.j)((function(){var t=e.key+"-global",n=new e.sheet.constructor({key:t,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+t+" "+c.name+'"]');return e.sheet.tags.length&&(n.before=e.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",t),n.hydrate([i])),m.current=[n,r],function(){n.flush()}}),[e]),(0,s.j)((function(){var t=m.current,n=t[0];if(t[1])t[1]=!1;else{if(void 0!==c.next&&(0,o.My)(e,c.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}e.insert("",c,n,!1)}}),[e,c.name]),null})));function u(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return(0,a.O)(e)}var l=function(){var t=u.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},48137:function(t,e,n){"use strict";n.d(e,{O:function(){return f}});var r={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,msGr
1idRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=n(45042),o=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,a=function(t){return 45===t.charCodeAt(1)},c=function(t){return null!=t&&"boolean"!==typeof t},u=(0,i.Z)((function(t){return a(t)?t:t.replace(o,"-$&").toLowerCase()})),l=function(t,e){switch(t){case"animation":case"animationName":if("string"===typeof e)return e.replace(s,(function(t,e,n){return h={name:e,styles:n,next:h},e}))}return 1===r[t]||a(t)||"number"!==typeof e||0===e?e:e+"px"};function d(t,e,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return h={name:n.name,styles:n.styles,next:h},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)h={name:r.name,styles:r.styles,next:h},r=r.next;return n.styles+";"}return function(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=d(t,e,n[i])+";";else for(var o in n){var s=n[o];if("object"!==typeof s)null!=e&&void 0!==e[s]?r+=o+"{"+e[s]+"}":c(s)&&(r+=u(o)+":"+l(o,s)+";");else if(!Array.isArray(s)||"string"!==typeof s[0]||null!=e&&void 0!==e[s[0]]){var a=d(t,e,s);switch(o){case"animation":case"animationName":r+=u(o)+":"+a+";";break;default:r+=o+"{"+a+"}"}}else for(var h=0;h<s.length;h++)c(s[h])&&(r+=u(o)+":"+l(o,s[h])+";")}return r}(t,e,n);case"function":if(void 0!==t){var i=h,o=n(t);return h=i,d(t,e,o)}}if(null==e)return n;var s=e[n];return void 0!==s?s:n}var h,p=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var f=function(t,e,n){if(1===t.length&&"object"===typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var r=!0,i="";h=void 0;var o=t[0];null==o||void 0===o.raw?(r=!1,i+=d(n,e,o)):i+=o[0];for(var s=1;s<t.length;s++)i+=d(n,e,t[s]),r&&(i+=o[s]);p.lastIndex=0;for(var a,c="";null!==(a=p.exec(i));)c+="-"+a[1];var u=function(t){for(var e,n=0,r=0,i=t.length;i>=4;++r,i-=4)e=1540483477*(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+c;return{name:u,styles:i,next:h}}},27278:function(t,e,n){"use strict";var r;n.d(e,{L:function(){return s},j:function(){return a}});var i=n(67294),o=!!(r||(r=n.t(i,2))).useInsertionEffect&&(r||(r=n.t(i,2))).useInsertionEffect,s=o||function(t){return t()},a=o||i.useLayoutEffect},70444:function(t,e,n){"use strict";n.d(e,{My:function(){return o},fp:function(){return r},hC:function(){return i}});function r(t,e,n){var r="";return n.split(" ").forEach((function(n){void 0!==t[n]?e.push(t[n]+";"):r+=n+" "})),r}var i=function(t,e,n){var r=t.key+"-"+e.name;!1===n&&void 0===t.registered[r]&&(t.registered[r]=e.styles)},o=function(t,e,n){i(t,e,n);var r=t.key+"-"+e.name;if(void 0===t.inserted[e.name]){var o=e;do{t.insert(e===o?"."+r:"",o,t.sheet,!0),o=o.next}while(void 0!==o)}}},50594:function(t,e,n){"use strict";var r=n(64836);e.Z=void 0;var i=r(n(64938)),o=n(85893),s=(0,i.default)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");e.Z=s},326:function(t,e,n){"use strict";var r=n(64836);e.Z=void 0;var i=r(n(64938)),o=n(85893),s=(0,i.default)((0,o.jsx)("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu");e.Z=s},64938:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(76031)},42293:function(t,e,n){"use strict";n.d(e,{Z:function(){return _}});var r=n(63366),i=n(87462),o=n(67294),s=n(90512),a=n(94780),c=n(11496),u=n(71657),l=n(98216),d=n(90629),h=n(1588),p=n(34867);function f(t){return(0,p.Z)("MuiAppBar",t)}(0,h.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);var m=n(85893);const g=["className","color","enableColorOnDark","position"],y=(t,e)=>t?`${null==t?void 0:t.replace(")","")}, ${e})`:e,v=(0,c.ZP)(d.Z,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`position${(0,l.Z)(n.position)}`],e[`color${(0,l.Z)(n.color)}`]]}})((({theme:t,ownerState:e})=>{const n="light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[900];return(0,i.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===e.position&&{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===e.position&&{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===e.position&&{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"static"===e.position&&{position:"static"},"relative"===e.position&&{position:"relative"},!t.vars&&(0,i.Z)({},"default"===e.color&&{backgroundColor:n,color:t.palette.getContrastText(n)},e.color&&"default"!==e.color&&"inherit"!==e.color&&"transparent"!==e.color&&{backgroundColor:t.palette[e.color].main,color:t.palette[e.color].contrastText},"inherit"===e.color&&{color:"inherit"},"dark"===t.palette.mode&&!e.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===e.color&&(0,i.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===t.palette.mode&&{backgroundImage:"none"})),t.vars&&(0,i.Z)({},"default"===e.color&&{"--AppBar-background":e.enableColorOnDark?t.vars.palette.AppBar.defaultBg:y(t.vars.palette.AppBar.darkBg,t.vars.palette.AppBar.defaultBg),"--AppBar-color":e.enableColorOnDark?t.vars.palette.text.primary:y(t.vars.palette.AppBar.darkColor,t.vars.palette.text.primary)},e.color&&!e.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":e.enableColorOnDark?t.vars.palette[e.color].main:y(t.vars.palette.AppBar.darkBg,t.vars.palette[e.color].main),"--AppBar-color":e.enableColorOnDark?t.vars.palette[e.color].contrastText:y(t.vars.palette.AppBar.darkColor,t.vars.palette[e.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===e.color?"inherit":"var(--AppBar-color)"},"transparent"===e.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}));var _=o.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiAppBar"}),{className:o,color:c="primary",enableColorOnDark:d=!1,position:h="fixed"}=n,p=(0,r.Z)(n,g),y=(0,i.Z)({},n,{color:c,position:h,enableColorOnDark:d}),_=(t=>{const{color:e,position:n,classes:r}=t,i={root:["root",`color${(0,l.Z)(e)}`,`position${(0,l.Z)(n)}`]};return(0,a.Z)(i,f,r)})(y);return(0,m.jsx)(v,(0,i.Z)({square:!0,component:"header",ownerState:y,elevation:4,className:(0,s.Z)(_.root,o,"fixed"===h&&"mui-fixed"),ref:e},p))}))},87357:function(t,e,n){"use strict";n.d(e,{Z:function(){return v}});var r=n(87462),i=n(63366),o=n(67294),s=n(90512),a=n(49731),c=n(86523),u=n(39707),l=n(96682),d=n(85893);const h=["className","component"];var p=n(37078),f=n(68239),m=n(10606);const g=(0,f.Z)(),y=function(t={}){const{themeId:e,defaultTheme:n,defaultClassName:p="MuiBox-root",generateClassName:f}=t,m=(0,a.ZP)("div",{shouldForwardProp:t=>"theme"!==t&&"sx"!==t&&"as"!==t})(c.Z);return o.forwardRef((function(t,o){const a=(0,l.Z)(n),c=(0,u.Z)(t),{className:g,component:y="div"}=c,v=(0,i.Z)(c,h);return(0,d.jsx)(m,(0,r.Z)({as:y,ref:o,className:(0,s.Z)(g,f?f(p):p),theme:e&&a[e]||a},v))}))}({themeId:m.Z,defaultTheme:g,defaultClassName:"MuiBox-root",generateClassName:p.Z.generate});var v=y},11057:function(t,e,n){"use strict";n.d(e,{Z:function(){return E}});var r=n(63366),i=n(87462),o=n(67294),s=n(90512),a=n(47925),c=n(94780),u=n(41796),l=n(11496),d=n(71657),h=n(47739),p=n(98216),f=n(1588),m=n(34867);function g(t){return(0,m.Z)("MuiButton",t)}var y=(0,f.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),v=n(98363),_=n(85893);const b=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],w=t=>(0,i.Z)({},"small"===t.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===t.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===t.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),k=(0,l.ZP)(h.Z,{shouldForwardProp:t=>(0,l.FO)(t)||"classes"===t,name:"MuiButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`${n.variant}${(0,p.Z)(n.color)}`],e[`size${(0,p.Z)(n.size)}`],e[`${n.variant}Size${(0,p.Z)(n.size)}`],"inherit"===n.color&&e.colorInherit,n.disableElevation&&e.disableElevation,n.fullWidth&&e.fullWidth]}})((({theme:t,ownerState:e})=>{var n,r;const o="light"===t.palette.mode?t.palette.grey[300]:t.palette.grey[800],s="light"===t.palette.mode?t.palette.grey.A100:t.palette.grey[700];return(0,i.Z)({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":(0,i.Z)({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.Fq)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===e.variant&&"inherit"!==e.color&&{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainCh
1annel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.Fq)(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===e.variant&&"inherit"!==e.color&&{border:`1px solid ${(t.vars||t).palette[e.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.Fq)(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===e.variant&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:s,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},"contained"===e.variant&&"inherit"!==e.color&&{backgroundColor:(t.vars||t).palette[e.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[e.color].main}}),"&:active":(0,i.Z)({},"contained"===e.variant&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${y.focusVisible}`]:(0,i.Z)({},"contained"===e.variant&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${y.disabled}`]:(0,i.Z)({color:(t.vars||t).palette.action.disabled},"outlined"===e.variant&&{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"contained"===e.variant&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},"text"===e.variant&&{padding:"6px 8px"},"text"===e.variant&&"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main},"outlined"===e.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===e.variant&&"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main,border:t.vars?`1px solid rgba(${t.vars.palette[e.color].mainChannel} / 0.5)`:`1px solid ${(0,u.Fq)(t.palette[e.color].main,.5)}`},"contained"===e.variant&&{color:t.vars?t.vars.palette.text.primary:null==(n=(r=t.palette).getContrastText)?void 0:n.call(r,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:o,boxShadow:(t.vars||t).shadows[2]},"contained"===e.variant&&"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].contrastText,backgroundColor:(t.vars||t).palette[e.color].main},"inherit"===e.color&&{color:"inherit",borderColor:"currentColor"},"small"===e.size&&"text"===e.variant&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},"large"===e.size&&"text"===e.variant&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},"small"===e.size&&"outlined"===e.variant&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},"large"===e.size&&"outlined"===e.variant&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},"small"===e.size&&"contained"===e.variant&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},"large"===e.size&&"contained"===e.variant&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},e.fullWidth&&{width:"100%"})}),(({ownerState:t})=>t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${y.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${y.disabled}`]:{boxShadow:"none"}})),S=(0,l.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.startIcon,e[`iconSize${(0,p.Z)(n.size)}`]]}})((({ownerState:t})=>(0,i.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},w(t)))),x=(0,l.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.endIcon,e[`iconSize${(0,p.Z)(n.size)}`]]}})((({ownerState:t})=>(0,i.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},w(t))));var E=o.forwardRef((function(t,e){const n=o.useContext(v.Z),u=(0,a.Z)(n,t),l=(0,d.Z)({props:u,name:"MuiButton"}),{children:h,color:f="primary",component:m="button",className:y,disabled:w=!1,disableElevation:E=!1,disableFocusRipple:T=!1,endIcon:C,focusVisibleClassName:R,fullWidth:O=!1,size:I="medium",startIcon:A,type:Z,variant:M="text"}=l,P=(0,r.Z)(l,b),D=(0,i.Z)({},l,{color:f,component:m,disabled:w,disableElevation:E,disableFocusRipple:T,fullWidth:O,size:I,type:Z,variant:M}),L=(t=>{const{color:e,disableElevation:n,fullWidth:r,size:o,variant:s,classes:a}=t,u={root:["root",s,`${s}${(0,p.Z)(e)}`,`size${(0,p.Z)(o)}`,`${s}Size${(0,p.Z)(o)}`,"inherit"===e&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,p.Z)(o)}`],endIcon:["endIcon",`iconSize${(0,p.Z)(o)}`]},l=(0,c.Z)(u,g,a);return(0,i.Z)({},a,l)})(D),N=A&&(0,_.jsx)(S,{className:L.startIcon,ownerState:D,children:A}),z=C&&(0,_.jsx)(x,{className:L.endIcon,ownerState:D,children:C});return(0,_.jsxs)(k,(0,i.Z)({ownerState:D,className:(0,s.Z)(n.className,L.root,y),component:m,disabled:w,focusRipple:!T,focusVisibleClassName:(0,s.Z)(L.focusVisible,R),ref:e,type:Z},P,{classes:L,children:[N,h,z]}))}))},47739:function(t,e,n){"use strict";n.d(e,{Z:function(){return U}});var r=n(87462),i=n(63366),o=n(67294),s=n(90512),a=n(94780),c=n(11496),u=n(71657),l=n(51705),d=n(2068),h=n(18791);var p=n(75068),f=n(220);function m(t,e){var n=Object.create(null);return t&&o.Children.map(t,(function(t){return t}
1)).forEach((function(t){n[t.key]=function(t){return e&&(0,o.isValidElement)(t)?e(t):t}(t)})),n}function g(t,e,n){return null!=n[e]?n[e]:t.props[e]}function y(t,e,n){var r=m(t.children),i=function(t,e){function n(n){return n in e?e[n]:t[n]}t=t||{},e=e||{};var r,i=Object.create(null),o=[];for(var s in t)s in e?o.length&&(i[s]=o,o=[]):o.push(s);var a={};for(var c in e){if(i[c])for(r=0;r<i[c].length;r++){var u=i[c][r];a[i[c][r]]=n(u)}a[c]=n(c)}for(r=0;r<o.length;r++)a[o[r]]=n(o[r]);return a}(e,r);return Object.keys(i).forEach((function(s){var a=i[s];if((0,o.isValidElement)(a)){var c=s in e,u=s in r,l=e[s],d=(0,o.isValidElement)(l)&&!l.props.in;!u||c&&!d?u||!c||d?u&&c&&(0,o.isValidElement)(l)&&(i[s]=(0,o.cloneElement)(a,{onExited:n.bind(null,a),in:l.props.in,exit:g(a,"exit",t),enter:g(a,"enter",t)})):i[s]=(0,o.cloneElement)(a,{in:!1}):i[s]=(0,o.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:g(a,"exit",t),enter:g(a,"enter",t)})}})),i}var v=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},_=function(t){function e(e,n){var r,i=(r=t.call(this,e,n)||this).handleExited.bind(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}(0,p.Z)(e,t);var n=e.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(t,e){var n,r,i=e.children,s=e.handleExited;return{children:e.firstRender?(n=t,r=s,m(n.children,(function(t){return(0,o.cloneElement)(t,{onExited:r.bind(null,t),in:!0,appear:g(t,"appear",n),enter:g(t,"enter",n),exit:g(t,"exit",n)})}))):y(t,i,s),firstRender:!1}},n.handleExited=function(t,e){var n=m(this.props.children);t.key in n||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState((function(e){var n=(0,r.Z)({},e.children);return delete n[t.key],{children:n}})))},n.render=function(){var t=this.props,e=t.component,n=t.childFactory,r=(0,i.Z)(t,["component","childFactory"]),s=this.state.contextValue,a=v(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===e?o.createElement(f.Z.Provider,{value:s},a):o.createElement(f.Z.Provider,{value:s},o.createElement(e,r,a))},e}(o.Component);_.propTypes={},_.defaultProps={component:"div",childFactory:function(t){return t}};var b=_,w=n(70917),k=n(85893);var S=function(t){const{className:e,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:c,in:u,onExited:l,timeout:d}=t,[h,p]=o.useState(!1),f=(0,s.Z)(e,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:c,height:c,top:-c/2+a,left:-c/2+i},g=(0,s.Z)(n.child,h&&n.childLeaving,r&&n.childPulsate);return u||h||p(!0),o.useEffect((()=>{if(!u&&null!=l){const t=setTimeout(l,d);return()=>{clearTimeout(t)}}}),[l,u,d]),(0,k.jsx)("span",{className:f,style:m,children:(0,k.jsx)("span",{className:g})})},x=n(1588);var E=(0,x.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const T=["center","classes","className"];let C,R,O,I,A=t=>t;const Z=(0,w.F4)(C||(C=A` 2 0% { 3 transform: scale(0); 4 opacity: 0.1; 5 } 6 7 100% { 8 transform: scale(1); 9 opacity: 0.3; 10 } 11`)),M=(0,w.F4)(R||(R=A` 12 0% { 13 opacity: 1; 14 } 15 16 100% { 17 opacity: 0; 18 } 19`)),P=(0,w.F4)(O||(O=A` 20 0% { 21 transform: scale(1); 22 } 23 24 50% { 25 transform: scale(0.92); 26 } 27 28 100% { 29 transform: scale(1); 30 } 31`)),D=(0,c.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),L=(0,c.ZP)(S,{name:"MuiTouchRipple",slot:"Ripple"})(I||(I=A` 32 opacity: 0; 33 position: absolute; 34 35 &.${0} { 36 opacity: 0.3; 37 transform: scale(1); 38 animation-name: ${0}; 39 animation-duration: ${0}ms; 40 animation-timing-function: ${0}; 41 } 42 43 &.${0} { 44 animation-duration: ${0}ms; 45 } 46 47 & .${0} { 48 opacity: 1; 49 display: block; 50 width: 100%; 51 height: 100%; 52 border-radius: 50%; 53 background-color: currentColor; 54 } 55 56 & .${0} { 57 opacity: 0; 58 animation-name: ${0}; 59 animation-duration: ${0}ms; 60 animation-timing-function: ${0}; 61 } 62 63 & .${0} { 64 position: absolute; 65 /* @noflip */ 66 left: 0px; 67 top: 0; 68 animation-name: ${0}; 69 animation-duration: 2500ms; 70 animation-timing-function: ${0}; 71 animation-iteration-count: infinite; 72 animation-delay: 200ms; 73 } 74`),E.rippleVisible,Z,550,(({theme:t})=>t.transitions.easing.easeInOut),E.ripplePulsate,(({theme:t})=>t.transitions.duration.shorter),E.child,E.childLeaving,M,550,(({theme:t})=>t.transitions.easing.easeInOut),E.childPulsate,P,(({theme:t})=>t.transitions.easing.easeInOut));var N=o.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiTouchRipple"}),{center:a=!1,classes:c={},className:l}
74=n,d=(0,i.Z)(n,T),[h,p]=o.useState([]),f=o.useRef(0),m=o.useRef(null);o.useEffect((()=>{m.current&&(m.current(),m.current=null)}),[h]);const g=o.useRef(!1),y=o.useRef(0),v=o.useRef(null),_=o.useRef(null);o.useEffect((()=>()=>{y.current&&clearTimeout(y.current)}),[]);const w=o.useCallback((t=>{const{pulsate:e,rippleX:n,rippleY:r,rippleSize:i,cb:o}=t;p((t=>[...t,(0,k.jsx)(L,{classes:{ripple:(0,s.Z)(c.ripple,E.ripple),rippleVisible:(0,s.Z)(c.rippleVisible,E.rippleVisible),ripplePulsate:(0,s.Z)(c.ripplePulsate,E.ripplePulsate),child:(0,s.Z)(c.child,E.child),childLeaving:(0,s.Z)(c.childLeaving,E.childLeaving),childPulsate:(0,s.Z)(c.childPulsate,E.childPulsate)},timeout:550,pulsate:e,rippleX:n,rippleY:r,rippleSize:i},f.current)])),f.current+=1,m.current=o}),[c]),S=o.useCallback(((t={},e={},n=(()=>{}))=>{const{pulsate:r=!1,center:i=a||e.pulsate,fakeElement:o=!1}=e;if("mousedown"===(null==t?void 0:t.type)&&g.current)return void(g.current=!1);"touchstart"===(null==t?void 0:t.type)&&(g.current=!0);const s=o?null:_.current,c=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,l,d;if(i||void 0===t||0===t.clientX&&0===t.clientY||!t.clientX&&!t.touches)u=Math.round(c.width/2),l=Math.round(c.height/2);else{const{clientX:e,clientY:n}=t.touches&&t.touches.length>0?t.touches[0]:t;u=Math.round(e-c.left),l=Math.round(n-c.top)}if(i)d=Math.sqrt((2*c.width**2+c.height**2)/3),d%2===0&&(d+=1);else{const t=2*Math.max(Math.abs((s?s.clientWidth:0)-u),u)+2,e=2*Math.max(Math.abs((s?s.clientHeight:0)-l),l)+2;d=Math.sqrt(t**2+e**2)}null!=t&&t.touches?null===v.current&&(v.current=()=>{w({pulsate:r,rippleX:u,rippleY:l,rippleSize:d,cb:n})},y.current=setTimeout((()=>{v.current&&(v.current(),v.current=null)}),80)):w({pulsate:r,rippleX:u,rippleY:l,rippleSize:d,cb:n})}),[a,w]),x=o.useCallback((()=>{S({},{pulsate:!0})}),[S]),C=o.useCallback(((t,e)=>{if(clearTimeout(y.current),"touchend"===(null==t?void 0:t.type)&&v.current)return v.current(),v.current=null,void(y.current=setTimeout((()=>{C(t,e)})));v.current=null,p((t=>t.length>0?t.slice(1):t)),m.current=e}),[]);return o.useImperativeHandle(e,(()=>({pulsate:x,start:S,stop:C})),[x,S,C]),(0,k.jsx)(D,(0,r.Z)({className:(0,s.Z)(E.root,c.root,l),ref:_},d,{children:(0,k.jsx)(b,{component:null,exit:!0,children:h})}))})),z=n(34867);function j(t){return(0,z.Z)("MuiButtonBase",t)}var F=(0,x.Z)("MuiButtonBase",["root","disabled","focusVisible"]);const $=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],B=(0,c.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${F.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});var U=o.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiButtonBase"}),{action:c,centerRipple:p=!1,children:f,className:m,component:g="button",disabled:y=!1,disableRipple:v=!1,disableTouchRipple:_=!1,focusRipple:b=!1,LinkComponent:w="a",onBlur:S,onClick:x,onContextMenu:E,onDragLeave:T,onFocus:C,onFocusVisible:R,onKeyDown:O,onKeyUp:I,onMouseDown:A,onMouseLeave:Z,onMouseUp:M,onTouchEnd:P,onTouchMove:D,onTouchStart:L,tabIndex:z=0,TouchRippleProps:F,touchRippleRef:U,type:q}=n,G=(0,i.Z)(n,$),H=o.useRef(null),W=o.useRef(null),V=(0,l.Z)(W,U),{isFocusVisibleRef:K,onFocus:Q,onBlur:Y,ref:X}=(0,h.Z)(),[J,tt]=o.useState(!1);y&&J&&tt(!1),o.useImperativeHandle(c,(()=>({focusVisible:()=>{tt(!0),H.current.focus()}})),[]);const[et,nt]=o.useState(!1);o.useEffect((()=>{nt(!0)}),[]);const rt=et&&!v&&!y;function it(t,e,n=_){return(0,d.Z)((r=>{e&&e(r);return!n&&W.current&&W.current[t](r),!0}))}o.useEffect((()=>{J&&b&&!v&&et&&W.current.pulsate()}),[v,b,J,et]);const ot=it("start",A),st=it("stop",E),at=it("stop",T),ct=it("stop",M),ut=it("stop",(t=>{J&&t.preventDefault(),Z&&Z(t)})),lt=it("start",L),dt=it("stop",P),ht=it("stop",D),pt=it("stop",(t=>{Y(t),!1===K.current&&tt(!1),S&&S(t)}
74),!1),ft=(0,d.Z)((t=>{H.current||(H.current=t.currentTarget),Q(t),!0===K.current&&(tt(!0),R&&R(t)),C&&C(t)})),mt=()=>{const t=H.current;return g&&"button"!==g&&!("A"===t.tagName&&t.href)},gt=o.useRef(!1),yt=(0,d.Z)((t=>{b&&!gt.current&&J&&W.current&&" "===t.key&&(gt.current=!0,W.current.stop(t,(()=>{W.current.start(t)}))),t.target===t.currentTarget&&mt()&&" "===t.key&&t.preventDefault(),O&&O(t),t.target===t.currentTarget&&mt()&&"Enter"===t.key&&!y&&(t.preventDefault(),x&&x(t))})),vt=(0,d.Z)((t=>{b&&" "===t.key&&W.current&&J&&!t.defaultPrevented&&(gt.current=!1,W.current.stop(t,(()=>{W.current.pulsate(t)}))),I&&I(t),x&&t.target===t.currentTarget&&mt()&&" "===t.key&&!t.defaultPrevented&&x(t)}));let _t=g;"button"===_t&&(G.href||G.to)&&(_t=w);const bt={};"button"===_t?(bt.type=void 0===q?"button":q,bt.disabled=y):(G.href||G.to||(bt.role="button"),y&&(bt["aria-disabled"]=y));const wt=(0,l.Z)(e,X,H);const kt=(0,r.Z)({},n,{centerRipple:p,component:g,disabled:y,disableRipple:v,disableTouchRipple:_,focusRipple:b,tabIndex:z,focusVisible:J}),St=(t=>{const{disabled:e,focusVisible:n,focusVisibleClassName:r,classes:i}=t,o={root:["root",e&&"disabled",n&&"focusVisible"]},s=(0,a.Z)(o,j,i);return n&&r&&(s.root+=` ${r}`),s})(kt);return(0,k.jsxs)(B,(0,r.Z)({as:_t,className:(0,s.Z)(St.root,m),ownerState:kt,onBlur:pt,onClick:x,onContextMenu:st,onFocus:ft,onKeyDown:yt,onKeyUp:vt,onMouseDown:ot,onMouseLeave:ut,onMouseUp:ct,onDragLeave:at,onTouchEnd:dt,onTouchMove:ht,onTouchStart:lt,ref:wt,tabIndex:y?-1:z,type:q},bt,G,{children:[f,rt?(0,k.jsx)(N,(0,r.Z)({ref:V,center:p},F)):null]}))}))},98363:function(t,e,n){"use strict";const r=n(67294).createContext({});e.Z=r},93946:function(t,e,n){"use strict";n.d(e,{Z:function(){return b}});var r=n(63366),i=n(87462),o=n(67294),s=n(90512),a=n(94780),c=n(41796),u=n(11496),l=n(71657),d=n(47739),h=n(98216),p=n(1588),f=n(34867);function m(t){return(0,f.Z)("MuiIconButton",t)}var g=(0,p.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),y=n(85893);const v=["edge","children","className","color","disabled","disableFocusRipple","size"],_=(0,u.ZP)(d.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,"default"!==n.color&&e[`color${(0,h.Z)(n.color)}`],n.edge&&e[`edge${(0,h.Z)(n.edge)}`],e[`size${(0,h.Z)(n.size)}`]]}})((({theme:t,ownerState:e})=>(0,i.Z)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!e.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,c.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12})),(({theme:t,ownerState:e})=>{var n;const r=null==(n=(t.vars||t).palette)?void 0:n[e.color];return(0,i.Z)({},"inherit"===e.color&&{color:"inherit"},"inherit"!==e.color&&"default"!==e.color&&(0,i.Z)({color:null==r?void 0:r.main},!e.disableRipple&&{"&:hover":(0,i.Z)({},r&&{backgroundColor:t.vars?`rgba(${r.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,c.Fq)(r.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===e.size&&{padding:5,fontSize:t.typography.pxToRem(18)},"large"===e.size&&{padding:12,fontSize:t.typography.pxToRem(28)},{[`&.${g.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})}));var b=o.forwardRef((function(t,e){const n=(0,l.Z)({props:t,name:"MuiIconButton"}),{edge:o=!1,children:c,className:u,color:d="default",disabled:p=!1,disableFocusRipple:f=!1,size:g="medium"}=n,b=(0,r.Z)(n,v),w=(0,i.Z)({},n,{edge:o,color:d,disabled:p,disableFocusRipple:f,size:g}),k=(t=>{const{classes:e,disabled:n,color:r,edge:i,size:o}=t,s={root:["root",n&&"disabled","default"!==r&&`color${(0,h.Z)(r)}`,i&&`edge${(0,h.Z)(i)}`,`size${(0,h.Z)(o)}`]};return(0,a.Z)(s,m,e)})(w);return(0,y.jsx)(_,(0,i.Z)({className:(0,s.Z)(k.root,u),centerRipple:!0,focusRipple:!f,disabled:p,ref:e,ownerState:w},b,{children:c}))}
74))},90629:function(t,e,n){"use strict";n.d(e,{Z:function(){return v}});var r=n(63366),i=n(87462),o=n(67294),s=n(90512),a=n(94780),c=n(41796),u=n(11496);var l=t=>{let e;return e=t<1?5.11916*t**2:4.5*Math.log(t+1)+2,(e/100).toFixed(2)},d=n(71657),h=n(1588),p=n(34867);function f(t){return(0,p.Z)("MuiPaper",t)}(0,h.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var m=n(85893);const g=["className","component","elevation","square","variant"],y=(0,u.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],!n.square&&e.rounded,"elevation"===n.variant&&e[`elevation${n.elevation}`]]}})((({theme:t,ownerState:e})=>{var n;return(0,i.Z)({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow")},!e.square&&{borderRadius:t.shape.borderRadius},"outlined"===e.variant&&{border:`1px solid ${(t.vars||t).palette.divider}`},"elevation"===e.variant&&(0,i.Z)({boxShadow:(t.vars||t).shadows[e.elevation]},!t.vars&&"dark"===t.palette.mode&&{backgroundImage:`linear-gradient(${(0,c.Fq)("#fff",l(e.elevation))}, ${(0,c.Fq)("#fff",l(e.elevation))})`},t.vars&&{backgroundImage:null==(n=t.vars.overlays)?void 0:n[e.elevation]}))}));var v=o.forwardRef((function(t,e){const n=(0,d.Z)({props:t,name:"MuiPaper"}),{className:o,component:c="div",elevation:u=1,square:l=!1,variant:h="elevation"}=n,p=(0,r.Z)(n,g),v=(0,i.Z)({},n,{component:c,elevation:u,square:l,variant:h}),_=(t=>{const{square:e,elevation:n,variant:r,classes:i}=t,o={root:["root",r,!e&&"rounded","elevation"===r&&`elevation${n}`]};return(0,a.Z)(o,f,i)})(v);return(0,m.jsx)(y,(0,i.Z)({as:c,ownerState:v,className:(0,s.Z)(_.root,o),ref:e},p))}))},15861:function(t,e,n){"use strict";n.d(e,{Z:function(){return b}});var r=n(63366),i=n(87462),o=n(67294),s=n(90512),a=n(39707),c=n(94780),u=n(11496),l=n(71657),d=n(98216),h=n(1588),p=n(34867);function f(t){return(0,p.Z)("MuiTypography",t)}(0,h.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var m=n(85893);const g=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],y=(0,u.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.variant&&e[n.variant],"inherit"!==n.align&&e[`align${(0,d.Z)(n.align)}`],n.noWrap&&e.noWrap,n.gutterBottom&&e.gutterBottom,n.paragraph&&e.paragraph]}})((({theme:t,ownerState:e})=>(0,i.Z)({margin:0},"inherit"===e.variant&&{font:"inherit"},"inherit"!==e.variant&&t.typography[e.variant],"inherit"!==e.align&&{textAlign:e.align},e.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e.gutterBottom&&{marginBottom:"0.35em"},e.paragraph&&{marginBottom:16}))),v={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},_={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};var b=o.forwardRef((function(t,e){const n=(0,l.Z)({props:t,name:"MuiTypography"}),o=(t=>_[t]||t)(n.color),u=(0,a.Z)((0,i.Z)({},n,{color:o})),{align:h="inherit",className:p,component:b,gutterBottom:w=!1,noWrap:k=!1,paragraph:S=!1,variant:x="body1",variantMapping:E=v}=u,T=(0,r.Z)(u,g),C=(0,i.Z)({},u,{align:h,color:o,className:p,component:b,gutterBottom:w,noWrap:k,paragraph:S,variant:x,variantMapping:E}),R=b||(S?"p":E[x]||v[x])||"span",O=(t=>{const{align:e,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:s}=t,a={root:["root",o,"inherit"!==t.align&&`align${(0,d.Z)(e)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return(0,c.Z)(a,f,s)})(C);return(0,m.jsx)(y,(0,i.Z)({as:R,ref:e,ownerState:C,className:(0,s.Z)(O.root,p)},T))}))},68239:function(t,e,n){"use strict";n.d(e,{Z:function(){return P}});var r=n(87462),i=n(63366),o=n(71387),s=n(59766),a=n(66500),c=n(44920),u=n(86523);var l=n(41796);var d={black:"#000",white:"#fff"};var h={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"};var p={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"};var f={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"};var m={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"};var g={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"};var y={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"};var v={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"};const _=["mode","contrastThreshold","tonalOffset"],b={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:d.white,default:d.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)",disabledBackgroun
74d:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},w={text:{primary:d.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:d.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}};function k(t,e,n,r){const i=r.light||r,o=r.dark||1.5*r;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:"light"===e?t.light=(0,l.$n)(t.main,i):"dark"===e&&(t.dark=(0,l._j)(t.main,o)))}function S(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:a=.2}=t,c=(0,i.Z)(t,_),u=t.primary||function(t="light"){return"dark"===t?{main:g[200],light:g[50],dark:g[400]}:{main:g[700],light:g[400],dark:g[800]}}(e),S=t.secondary||function(t="light"){return"dark"===t?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(e),x=t.error||function(t="light"){return"dark"===t?{main:f[500],light:f[300],dark:f[700]}:{main:f[700],light:f[400],dark:f[800]}}(e),E=t.info||function(t="light"){return"dark"===t?{main:y[400],light:y[300],dark:y[700]}:{main:y[700],light:y[500],dark:y[900]}}(e),T=t.success||function(t="light"){return"dark"===t?{main:v[400],light:v[300],dark:v[700]}:{main:v[800],light:v[500],dark:v[900]}}(e),C=t.warning||function(t="light"){return"dark"===t?{main:m[400],light:m[300],dark:m[700]}:{main:"#ed6c02",light:m[500],dark:m[900]}}(e);function R(t){return(0,l.mi)(t,w.text.primary)>=n?w.text.primary:b.text.primary}const O=({color:t,name:e,mainShade:n=500,lightShade:i=300,darkShade:s=700})=>{if(!(t=(0,r.Z)({},t)).main&&t[n]&&(t.main=t[n]),!t.hasOwnProperty("main"))throw new Error((0,o.Z)(11,e?` (${e})`:"",n));if("string"!==typeof t.main)throw new Error((0,o.Z)(12,e?` (${e})`:"",JSON.stringify(t.main)));return k(t,"light",i,a),k(t,"dark",s,a),t.contrastText||(t.contrastText=R(t.main)),t},I={dark:w,light:b};return(0,s.Z)((0,r.Z)({common:(0,r.Z)({},d),mode:e,primary:O({color:u,name:"primary"}),secondary:O({color:S,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:O({color:x,name:"error"}),warning:O({color:C,name:"warning"}),info:O({color:E,name:"info"}),success:O({color:T,name:"success"}),grey:h,contrastThreshold:n,getContrastText:R,augmentColor:O,tonalOffset:a},I[e]),c)}const x=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const E={textTransform:"uppercase"},T='"Roboto", "Helvetica", "Arial", sans-serif';function C(t,e){const n="function"===typeof e?e(t):e,{fontFamily:o=T,fontSize:a=14,fontWeightLight:c=300,fontWeightRegular:u=400,fontWeightMedium:l=500,fontWeightBold:d=700,htmlFontSize:h=16,allVariants:p,pxToRem:f}=n,m=(0,i.Z)(n,x);const g=a/14,y=f||(t=>t/h*g+"rem"),v=(t,e,n,i,s)=>{return(0,r.Z)({fontFamily:o,fontWeight:t,fontSize:y(e),lineHeight:n},o===T?{letterSpacing:(a=i/e,Math.round(1e5*a)/1e5)+"em"}:{},s,p);var a},_={h1:v(c,96,1.167,-1.5),h2:v(c,60,1.2,-.5),h3:v(u,48,1.167,0),h4:v(u,34,1.235,.25),h5:v(u,24,1.334,0),h6:v(l,20,1.6,.15),subtitle1:v(u,16,1.75,.15),subtitle2:v(l,14,1.57,.1),body1:v(u,16,1.5,.15),body2:v(u,14,1.43,.15),button:v(l,14,1.75,.4,E),caption:v(u,12,1.66,.4),overline:v(u,12,2.66,1,E),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,s.Z)((0,r.Z)({htmlFontSize:h,pxToRem:y,fontFamily:o,fontSize:a,fontWeightLight:c,fontWeightRegular:u,fontWeightMedium:l,fontWeightBold:d},_),m,{clone:!1})}function R(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,0.2)`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,0.14)`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,0.12)`].join(",")}var O=["none",R(0,2,1,-1,0,1,1,0,0,1,3,0),R(0,3,1,-2,0,2,2,0,0,1,5,0),R(0,3,3,-2,0,3,4,0,0,1,8,0),R(0,2,4,-1,0,4,5,0,0,1,10,0),R(0,3,5,-1,0,5,8,0,0,1,14,0),R(0,3,5,-1,0,6,10,0,0,1,18,0),R(0,4,5,-2,0,7,10,1,0,2,16,1),R(0,5,5,-3,0,8,10,1,0,3,14,2),R(0,5,6,-3,0,9,12,1,0,3,16,2),R(0,6,6,-3,0,10,14,1,0,4,18,3),R(0,6,7,-4,0,11,15,1,0,4,20,3),R(0,7,8,-4,0,12,17,2,0,5,22,4),R(0,7,8,-4,0,13,19,2,0,5,24,4),R(0,7,9,-4,0,14,21,2,0,5,26,4),R(0,8,9,-5,0,15,22,2,0,6,28,5),R(0,8,10,-5,0,16,24,2,0,6,30,5),R(0,8,11,-5,0,17,26,2,0,6,32,5),R(0,9,11,-5,0,18,28,2,0,7,34,6),R(0,9,12,-6,0,19,29,2,0,7,36,6
74),R(0,10,13,-6,0,20,31,3,0,8,38,7),R(0,10,13,-6,0,21,33,3,0,8,40,7),R(0,10,14,-6,0,22,35,3,0,8,42,7),R(0,11,14,-7,0,23,36,3,0,9,44,8),R(0,11,15,-7,0,24,38,3,0,9,46,8)],I=n(96067);var A={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const Z=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function M(t={},...e){const{mixins:n={},palette:l={},transitions:d={},typography:h={}}=t,p=(0,i.Z)(t,Z);if(t.vars)throw new Error((0,o.Z)(18));const f=S(l),m=(0,a.Z)(t);let g=(0,s.Z)(m,{mixins:(y=m.breakpoints,v=n,(0,r.Z)({toolbar:{minHeight:56,[y.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[y.up("sm")]:{minHeight:64}}},v)),palette:f,shadows:O.slice(),typography:C(f,h),transitions:(0,I.ZP)(d),zIndex:(0,r.Z)({},A)});var y,v;return g=(0,s.Z)(g,p),g=e.reduce(((t,e)=>(0,s.Z)(t,e)),g),g.unstable_sxConfig=(0,r.Z)({},c.Z,null==p?void 0:p.unstable_sxConfig),g.unstable_sx=function(t){return(0,u.Z)({sx:t,theme:this})},g}var P=M},96067:function(t,e,n){"use strict";n.d(e,{ZP:function(){return l},x9:function(){return a}});var r=n(63366),i=n(87462);const o=["duration","easing","delay"],s={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)"},a={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function c(t){return`${Math.round(t)}ms`}function u(t){if(!t)return 0;const e=t/36;return Math.round(10*(4+15*e**.25+e/5))}function l(t){const e=(0,i.Z)({},s,t.easing),n=(0,i.Z)({},a,t.duration);return(0,i.Z)({getAutoHeightDuration:u,create:(t=["all"],i={})=>{const{duration:s=n.standard,easing:a=e.easeInOut,delay:u=0}=i;(0,r.Z)(i,o);return(Array.isArray(t)?t:[t]).map((t=>`${t} ${"string"===typeof s?s:c(s)} ${a} ${"string"===typeof u?u:c(u)}`)).join(",")}},t,{easing:e,duration:n})}},88606:function(t,e,n){"use strict";function r(t){return String(parseFloat(t)).length===String(t).length}function i(t){return String(t).match(/[\d.\-+]*\s*(.*)/)[1]||""}function o(t){return parseFloat(t)}function s(t){return(e,n)=>{const r=i(e);if(r===n)return e;let s=o(e);"px"!==r&&("em"===r||"rem"===r)&&(s=o(e)*o(t));let a=s;if("px"!==n)if("em"===n)a=s/o(t);else{if("rem"!==n)return e;a=s/o(t)}return parseFloat(a.toFixed(5))+n}}function a({size:t,grid:e}){const n=t-t%e,r=n+e;return t-n<r-t?n:r}function c({lineHeight:t,pixels:e,htmlFontSize:n}){return e/(t*n)}function u({cssProperty:t,min:e,max:n,unit:r="rem",breakpoints:i=[600,900,1200],transform:o=null}){const s={[t]:`${e}${r}`},a=(n-e)/i[i.length-1];return i.forEach((n=>{let i=e+a*n;null!==o&&(i=o(i)),s[`@media (min-width:${n}px)`]={[t]:`${Math.round(1e4*i)/1e4}${r}`}})),s}n.d(e,{LV:function(){return a},Wy:function(){return i},YL:function(){return o},dA:function(){return r},vY:function(){return c},vs:function(){return s},ze:function(){return u}})},90247:function(t,e,n){"use strict";const r=(0,n(68239).Z)();e.Z=r},10606:function(t,e){"use strict";e.Z="$$material"},11496:function(t,e,n){"use strict";n.d(e,{ZP:function(){return S},FO:function(){return b},Dz:function(){return w}});var r=n(63366),i=n(87462),o=n(49731),s=n(66500),a=n(14142);const c=["variant"];function u(t){return 0===t.length}function l(t){const{variant:e}=t,n=(0,r.Z)(t,c);let i=e||"";return Object.keys(n).sort().forEach((e=>{i+="color"===e?u(i)?t[e]:(0,a.Z)(t[e]):`${u(i)?e:(0,a.Z)(e)}${(0,a.Z)(t[e].toString())}`})),i}var d=n(86523);const h=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}const f=(0,s.Z)(),m=t=>t?t.charAt(0).toLowerCase()+t.slice(1):t;function g({defaultTheme:t,theme:e,themeId:n}){return r=e,0===Object.keys(r).length?t:e[n]||e;var r}function y(t){return t?(e,n)=>n[t]:null}var v=n(90247),_=n(10606);const b=t=>p(t)&&"classes"!==t,w=p,k=function(t={}){const{themeId:e,defaultTheme:n=f,rootShouldForwardProp:s=p,slotShouldForwardProp:a=p}=t,c=t=>(0,d.Z)((0,i.Z)({},t,{theme:g((0,i.Z)({},t,{defaultTheme:n,themeId:e}))}));return c.__mui_systemSx=!0,(t,u={})=>{(0,o.Co)(t,(t=>t.filter((t=>!(null!=t&&t.__mui_systemSx)))));const{name:d,slot:f,skipVariantsResolver:v,skipSx:_,overridesResolver:b=y(m(f))}=u,w=(0,r.Z)(u,h),k=void 0!==v?v:f&&"Root"!==f&&"root"!==f||!1,S=_||!1;let x=p;"Root"===f||"root"===f?x=s:f?x=a:function(t){return"string"===typeof t&&t.charCodeAt(0)>96}(t)&&(x=void 0);const E=(0,o.ZP)(t,(0,i.Z)({shouldForwardProp:x,label:undefined},w)),T=(r,...o)=>{const s=o?o.map((t=>"function"===typeof t&&t.__emotion_real!==t?r=>t((0,i.Z)({},r,{theme:g((0,i.Z)({},r,{defaultTheme:n,themeId:e}))})):t)):[];let a=r;d&&b&&s.push((t=>{const r=g((0,i.Z)({},t,{defaultTheme:n,themeId:e})),o=((t,e)=>e.components&&e.components[t]&&e.components[t].styleOverrides?e.components[t].styleOverrides:null)(d,r);if(o){const e={};
74return Object.entries(o).forEach((([n,o])=>{e[n]="function"===typeof o?o((0,i.Z)({},t,{theme:r})):o})),b(t,e)}return null})),d&&!k&&s.push((t=>{const r=g((0,i.Z)({},t,{defaultTheme:n,themeId:e}));return((t,e,n,r)=>{var i;const{ownerState:o={}}=t,s=[],a=null==n||null==(i=n.components)||null==(i=i[r])?void 0:i.variants;return a&&a.forEach((n=>{let r=!0;Object.keys(n.props).forEach((e=>{o[e]!==n.props[e]&&t[e]!==n.props[e]&&(r=!1)})),r&&s.push(e[l(n.props)])})),s})(t,((t,e)=>{let n=[];e&&e.components&&e.components[t]&&e.components[t].variants&&(n=e.components[t].variants);const r={};return n.forEach((t=>{const e=l(t.props);r[e]=t.style})),r})(d,r),r,d)})),S||s.push(c);const u=s.length-o.length;if(Array.isArray(r)&&u>0){const t=new Array(u).fill("");a=[...r,...t],a.raw=[...r.raw,...t]}else"function"===typeof r&&r.__emotion_real!==r&&(a=t=>r((0,i.Z)({},t,{theme:g((0,i.Z)({},t,{defaultTheme:n,themeId:e}))})));const h=E(a,...s);return t.muiName&&(h.muiName=t.muiName),h};return E.withConfig&&(T.withConfig=E.withConfig),T}}({themeId:_.Z,defaultTheme:v.Z,rootShouldForwardProp:b});var S=k},71657:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(29628),i=n(90247),o=n(10606);function s({props:t,name:e}){return(0,r.Z)({props:t,name:e,defaultTheme:i.Z,themeId:o.Z})}},98216:function(t,e,n){"use strict";var r=n(14142);e.Z=r.Z},88169:function(t,e,n){"use strict";n.d(e,{Z:function(){return _}});var r=n(87462),i=n(67294),o=n(63366),s=n(90512),a=n(94780),c=n(98216),u=n(71657),l=n(11496),d=n(1588),h=n(34867);function p(t){return(0,h.Z)("MuiSvgIcon",t)}(0,d.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var f=n(85893);const m=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],g=(0,l.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,"inherit"!==n.color&&e[`color${(0,c.Z)(n.color)}`],e[`fontSize${(0,c.Z)(n.fontSize)}`]]}})((({theme:t,ownerState:e})=>{var n,r,i,o,s,a,c,u,l,d,h,p,f;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:e.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=t.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(i=t.transitions)||null==(i=i.duration)?void 0:i.shorter}),fontSize:{inherit:"inherit",small:(null==(o=t.typography)||null==(s=o.pxToRem)?void 0:s.call(o,20))||"1.25rem",medium:(null==(a=t.typography)||null==(c=a.pxToRem)?void 0:c.call(a,24))||"1.5rem",large:(null==(u=t.typography)||null==(l=u.pxToRem)?void 0:l.call(u,35))||"2.1875rem"}[e.fontSize],color:null!=(d=null==(h=(t.vars||t).palette)||null==(h=h[e.color])?void 0:h.main)?d:{action:null==(p=(t.vars||t).palette)||null==(p=p.action)?void 0:p.active,disabled:null==(f=(t.vars||t).palette)||null==(f=f.action)?void 0:f.disabled,inherit:void 0}[e.color]}})),y=i.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiSvgIcon"}),{children:l,className:d,color:h="inherit",component:y="svg",fontSize:v="medium",htmlColor:_,inheritViewBox:b=!1,titleAccess:w,viewBox:k="0 0 24 24"}=n,S=(0,o.Z)(n,m),x=i.isValidElement(l)&&"svg"===l.type,E=(0,r.Z)({},n,{color:h,component:y,fontSize:v,instanceFontSize:t.fontSize,inheritViewBox:b,viewBox:k,hasSvgAsChild:x}),T={};b||(T.viewBox=k);const C=(t=>{const{color:e,fontSize:n,classes:r}=t,i={root:["root","inherit"!==e&&`color${(0,c.Z)(e)}`,`fontSize${(0,c.Z)(n)}`]};return(0,a.Z)(i,p,r)})(E);return(0,f.jsxs)(g,(0,r.Z)({as:y,className:(0,s.Z)(C.root,d),focusable:"false",color:_,"aria-hidden":!w||void 0,role:w?"img":void 0,ref:e},T,S,x&&l.props,{ownerState:E,children:[x?l.props.children:l,w?(0,f.jsx)("title",{children:w}):null]}))}));y.muiName="SvgIcon";var v=y;function _(t,e){function n(n,i){return(0,f.jsx)(v,(0,r.Z)({"data-testid":`${e}Icon`,ref:i},n,{children:t}))}return n.muiName=v.muiName,i.memo(i.forwardRef(n))}},57144:function(t,e,n){"use strict";var r=n(39336);e.Z=r.Z},76031:function(t,e,n){"use strict";n.r(e),n.d(e,{capitalize:function(){return i.Z},createChainedFunction:function(){return o},createSvgIcon:function(){return s.Z},debounce:function(){return a.Z},deprecatedPropType:function(){return c},isMuiElement:function(){return u.Z},ownerDocument:function(){return l.Z},ownerWindow:function(){return d.Z},requirePropFactory:function(){return h},setRef:function(){return p},unstable_ClassNameGenerator:function(){return w},unstable_useEnhancedEffect:function(){return f.Z},unstable_useId:function(){return m.Z},unsupportedProp:function(){return g},useControlled:function(){return y.Z},useEventCallback:function(){return v.Z},useForkRef:function(){return _.Z},useIsFocusVisible:function(){return b.Z}});var r=n(37078),i=n(98216),o=n(49064).Z,s=n(88169),a=n(57144);var c=function(t,e){return()=>null},u=n(71579),l=n(8038),d=n(5340);n(87462);var h=function(t,e){return()=>null},p=n(7960).Z,f=n(58974),m=n(27909);var g=function(t,e,n,r,i){return null},y=n(49299),v=n(2068),_=n(51705),b=n(18791);const w={configure:t=>{r.Z.configure(t)}}},71579:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(67294);var i=function(t,e){return r.isValidElement(t)&&-1!==e.indexOf(t.type.muiName)}},8038:function(t,e,n){"use strict";var r=n(82690);e.Z=r.Z},5340:function(t,e,n){"use strict";var r=n(74161);e.Z=r.Z},49299:function(t,e,n){"use strict";var r=n(19032);e.Z=r.Z},58974:function(t,e,n){"use strict";var r=n(73546);e.Z=r.Z},2068:function(t,e,n){"use strict";var r=n(59948);e.Z=r.Z},51705:function(t,e,n){"use strict";var r=n(33703);e.Z=r.Z},27909:function(t,e,n){"use strict";var r=n(92996);e.Z=r.Z},18791:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var r=n(67294);let i,o=!0,s=!1;const a={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(t){t.metaKey||t.altKey||t.ctrlKey||(o=!0)}function u(){o=!1}function l(){"hidden"===this.visibilityState&&s&&(o=!0)}function d(t){const{target:e}=t;try{return e.matches(":focus-visible")}catch(n){}return o||function(t){const{type:e,tagName:n}=t;return!("INPUT"!==n||!a[e]||t.readOnly)||"TEXTAREA"===n&&!t.readOnly||!!t.isContentEditable}(e)}var h=function(){const t=r.useCallback((t=>{var e;null!=t&&((e=t.ownerDocument).addEventListener("keydown",c,!0),e.addEventListener("mousedown",u,!0),e.addEventListener("pointerdown",u,!0),e.addEventListener("touchstart",u,!0),e.addEventListener("visibilitychange",l,!0))}),[]),e=r.useRef(!1);return{isFocusVisibleRef:e,onFocus:function(t){return!!d(t)&&(e.current=!0,!0)},onBlur:function(){return!!e.current&&(s=!0,window.clearTimeout(i),i=window.setTimeout((()=>{s=!1}),100),e.current=!1,!0)},ref:t}}},49731:function(t,e,n){"use strict";n.d(e,{ZP:function(){return v},Co:function(){return _}});var r=n(87462),i=n(67294),o=n(45042),s=/^((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|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|playsInl
74ine|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)-.*))$/,a=(0,o.Z)((function(t){return s.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91})),c=n(75260),u=n(70444),l=n(48137),d=n(27278),h=a,p=function(t){return"theme"!==t},f=function(t){return"string"===typeof t&&t.charCodeAt(0)>96?h:p},m=function(t,e,n){var r;if(e){var i=e.shouldForwardProp;r=t.__emotion_forwardProp&&i?function(e){return t.__emotion_forwardProp(e)&&i(e)}:i}return"function"!==typeof r&&n&&(r=t.__emotion_forwardProp),r},g=function(t){var e=t.cache,n=t.serialized,r=t.isStringTag;return(0,u.hC)(e,n,r),(0,d.L)((function(){return(0,u.My)(e,n,r)})),null},y=function t(e,n){var o,s,a=e.__emotion_real===e,d=a&&e.__emotion_base||e;void 0!==n&&(o=n.label,s=n.target);var h=m(e,n,a),p=h||f(d),y=!p("as");return function(){var v=arguments,_=a&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==o&&_.push("label:"+o+";"),null==v[0]||void 0===v[0].raw)_.push.apply(_,v);else{0,_.push(v[0][0]);for(var b=v.length,w=1;w<b;w++)_.push(v[w],v[0][w])}var k=(0,c.w)((function(t,e,n){var r=y&&t.as||d,o="",a=[],m=t;if(null==t.theme){for(var v in m={},t)m[v]=t[v];m.theme=i.useContext(c.T)}"string"===typeof t.className?o=(0,u.fp)(e.registered,a,t.className):null!=t.className&&(o=t.className+" ");var b=(0,l.O)(_.concat(a),e.registered,m);o+=e.key+"-"+b.name,void 0!==s&&(o+=" "+s);var w=y&&void 0===h?f(r):p,k={};for(var S in t)y&&"as"===S||w(S)&&(k[S]=t[S]);return k.className=o,k.ref=n,i.createElement(i.Fragment,null,i.createElement(g,{cache:e,serialized:b,isStringTag:"string"===typeof r}),i.createElement(r,k))}));return k.displayName=void 0!==o?o:"Styled("+("string"===typeof d?d:d.displayName||d.name||"Component")+")",k.defaultProps=e.defaultProps,k.__emotion_real=k,k.__emotion_base=d,k.__emotion_styles=_,k.__emotion_forwardProp=h,Object.defineProperty(k,"toString",{value:function(){return"."+s}}),k.withComponent=function(e,i){return t(e,(0,r.Z)({},n,i,{shouldForwardProp:m(k,i,!0)})).apply(void 0,_)},k}}.bind();function v(t,e){return y(t,e)}["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(t){y[t]=y(t)}));const _=(t,e)=>{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))}},95408:function(t,e,n){"use strict";n.d(e,{L7:function(){return a},P$:function(){return c},VO:function(){return r},W8:function(){return s},k9:function(){return o}});const r={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${r[t]}px)`};function o(t,e,n){const o=t.theme||{};if(Array.isArray(e)){const t=o.breakpoints||i;return e.reduce(((r,i,o)=>(r[t.up(t.keys[o])]=n(e[o]),r)),{})}if("object"===typeof e){const t=o.breakpoints||i;return Object.keys(e).reduce(((i,o)=>
74{if(-1!==Object.keys(t.values||r).indexOf(o)){i[t.up(o)]=n(e[o],o)}else{const t=o;i[t]=e[t]}return i}),{})}return n(e)}function s(t={}){var e;return(null==(e=t.keys)?void 0:e.reduce(((e,n)=>(e[t.up(n)]={},e)),{}))||{}}function a(t,e){return t.reduce(((t,e)=>{const n=t[e];return(!n||0===Object.keys(n).length)&&delete t[e],t}),e)}function c({values:t,breakpoints:e,base:n}){const r=n||function(t,e){if("object"!==typeof t)return{};const n={},r=Object.keys(e);return Array.isArray(t)?r.forEach(((e,r)=>{r<t.length&&(n[e]=!0)})):r.forEach((e=>{null!=t[e]&&(n[e]=!0)})),n}(t,e),i=Object.keys(r);if(0===i.length)return t;let o;return i.reduce(((e,n,r)=>(Array.isArray(t)?(e[n]=null!=t[r]?t[r]:t[o],o=r):"object"===typeof t?(e[n]=null!=t[n]?t[n]:t[o],o=n):e[n]=t,e)),{})}},41796:function(t,e,n){"use strict";n.d(e,{$n:function(){return d},Fq:function(){return u},_4:function(){return h},_j:function(){return l},mi:function(){return c}});var r=n(71387);function i(t,e=0,n=1){return Math.min(Math.max(e,t),n)}function o(t){if(t.type)return t;if("#"===t.charAt(0))return o(function(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&1===n[0].length&&(n=n.map((t=>t+t))),n?`rgb${4===n.length?"a":""}(${n.map(((t,e)=>e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3)).join(", ")})`:""}(t));const e=t.indexOf("("),n=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.Z)(9,t));let i,s=t.substring(e+1,t.length-1);if("color"===n){if(s=s.split(" "),i=s.shift(),4===s.length&&"/"===s[3].charAt(0)&&(s[3]=s[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error((0,r.Z)(10,i))}else s=s.split(",");return s=s.map((t=>parseFloat(t))),{type:n,values:s,colorSpace:i}}function s(t){const{type:e,colorSpace:n}=t;let{values:r}=t;return-1!==e.indexOf("rgb")?r=r.map(((t,e)=>e<3?parseInt(t,10):t)):-1!==e.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==e.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${e}(${r})`}function a(t){let e="hsl"===(t=o(t)).type||"hsla"===t.type?o(function(t){t=o(t);const{values:e}
74=t,n=e[0],r=e[1]/100,i=e[2]/100,a=r*Math.min(i,1-i),c=(t,e=(t+n/30)%12)=>i-a*Math.max(Math.min(e-3,9-e,1),-1);let u="rgb";const l=[Math.round(255*c(0)),Math.round(255*c(8)),Math.round(255*c(4))];return"hsla"===t.type&&(u+="a",l.push(e[3])),s({type:u,values:l})}(t)).values:t.values;return e=e.map((e=>("color"!==t.type&&(e/=255),e<=.03928?e/12.92:((e+.055)/1.055)**2.4))),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function c(t,e){const n=a(t),r=a(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(t,e){return t=o(t),e=i(e),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),"color"===t.type?t.values[3]=`/${e}`:t.values[3]=e,s(t)}function l(t,e){if(t=o(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]*=1-e;else if(-1!==t.type.indexOf("rgb")||-1!==t.type.indexOf("color"))for(let n=0;n<3;n+=1)t.values[n]*=1-e;return s(t)}function d(t,e){if(t=o(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*e;else if(-1!==t.type.indexOf("rgb"))for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(-1!==t.type.indexOf("color"))for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return s(t)}function h(t,e=.15){return a(t)>.5?l(t,e):d(t,e)}},66500:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var r=n(87462),i=n(63366),o=n(59766);const s=["values","unit","step"];function a(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:o=5}=t,a=(0,i.Z)(t,s),c=(t=>{const e=Object.keys(t).map((e=>({key:e,val:t[e]})))||[];return e.sort(((t,e)=>t.val-e.val)),e.reduce(((t,e)=>(0,r.Z)({},t,{[e.key]:e.val})),{})})(e),u=Object.keys(c);function l(t){return`@media (min-width:${"number"===typeof e[t]?e[t]:t}${n})`}function d(t){return`@media (max-width:${("number"===typeof e[t]?e[t]:t)-o/100}${n})`}function h(t,r){const i=u.indexOf(r);return`@media (min-width:${"number"===typeof e[t]?e[t]:t}${n}) and (max-width:${(-1!==i&&"number"===typeof e[u[i]]?e[u[i]]:r)-o/100}${n})`}return(0,r.Z)({keys:u,values:c,up:l,down:d,between:h,only:function(t){return u.indexOf(t)+1<u.length?h(t,u[u.indexOf(t)+1]):l(t)},not:function(t){const e=u.indexOf(t);return 0===e?l(u[1]):e===u.length-1?d(u[e]):h(t,u[u.indexOf(t)+1]).replace("@media","@media not all and")},unit:n},a)}var c={borderRadius:4},u=n(98700);var l=n(86523),d=n(44920);const h=["breakpoints","palette","spacing","shape"];var p=function(t={},...e){const{breakpoints:n={},palette:s={},spacing:p,shape:f={}}=t,m=(0,i.Z)(t,h),g=a(n),y=function(t=8){if(t.mui)return t;const e=(0,u.hB)({spacing:t}),n=(...t)=>(0===t.length?[1]:t).map((t=>{const n=e(t);return"number"===typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}(p);let v=(0,o.Z)({breakpoints:g,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},s),spacing:y,shape:(0,r.Z)({},c,f)},m);return v=e.reduce(((t,e)=>(0,o.Z)(t,e)),v),v.unstable_sxConfig=(0,r.Z)({},d.Z,null==m?void 0:m.unstable_sxConfig),v.unstable_sx=function(t){return(0,l.Z)({sx:t,theme:this})},v}},47730:function(t,e,n){"use strict";var r=n(59766);e.Z=function(t,e){return e?(0,r.Z)(t,e,{clone:!1}):t}},98700:function(t,e,n){"use strict";n.d(e,{hB:function(){return f},eI:function(){return p},NA:function(){return m},e6:function(){return v},o3:function(){return _}});var r=n(95408),i=n(54844),o=n(47730);const s={m:"margin",p:"padding"},a={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(t){const e={};return n=>(void 0===e[n]&&(e[n]=t(n)),e[n])}((t=>{if(t.length>2){if(!c[t])return[t];t=c[t]}const[e,n]=t.split(""),r=s[e],i=a[n]||"";return Array.isArray(i)?i.map((t=>r+t)):[r+i]})),l=["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=[...l,...d];function p(t,e,n,r){var o;const s=null!=(o=(0,i.DW)(t,e,!1))?o:n;return"number"===typeof s?t=>"string"===typeof t?t:s*t:Array.isArray(s)?t=>"string"===typeof t?t:s[t]:"function"===typeof s?s:()=>{}}function f(t){return p(t,"spacing",8)}function m(t,e){if("string"===typeof e||null==e)return e;const n=t(Math.abs(e));return e>=0?n:"number"===typeof n?-n:`-${n}`}function g(t,e,n,i){if(-1===e.indexOf(n))return null;const o=function(t,e){return n=>t.reduce(((t,r)=>(t[r]=m(e,n),t)),{})}(u(n),i),s=t[n];return(0,r.k9)(t,s,o)}function y(t,e){const n=f(t.theme);return Object.keys(t).map((r=>g(t,e,r,n))).reduce(o.Z,{})}function v(t){return y(t,l)}function _(t){return y(t,d)}function b(t){return y(t,h)}
74v.propTypes={},v.filterProps=l,_.propTypes={},_.filterProps=d,b.propTypes={},b.filterProps=h},54844:function(t,e,n){"use strict";n.d(e,{DW:function(){return o},Jq:function(){return s}});var r=n(14142),i=n(95408);function o(t,e,n=!0){if(!e||"string"!==typeof e)return null;if(t&&t.vars&&n){const n=`vars.${e}`.split(".").reduce(((t,e)=>t&&t[e]?t[e]:null),t);if(null!=n)return n}return e.split(".").reduce(((t,e)=>t&&null!=t[e]?t[e]:null),t)}function s(t,e,n,r=n){let i;return i="function"===typeof t?t(n):Array.isArray(t)?t[n]||r:o(t,n)||r,e&&(i=e(i,r,t)),i}e.ZP=function(t){const{prop:e,cssProperty:n=t.prop,themeKey:a,transform:c}=t,u=t=>{if(null==t[e])return null;const u=t[e],l=o(t.theme,a)||{};return(0,i.k9)(t,u,(t=>{let i=s(l,c,t);return t===i&&"string"===typeof t&&(i=s(l,c,`${e}${"default"===t?"":(0,r.Z)(t)}`,t)),!1===n?i:{[n]:i}}))};return u.propTypes={},u.filterProps=[e],u}},44920:function(t,e,n){"use strict";n.d(e,{Z:function(){return A}});var r=n(98700),i=n(54844),o=n(47730);var s=function(...t){const e=t.reduce(((t,e)=>(e.filterProps.forEach((n=>{t[n]=e})),t)),{}),n=t=>Object.keys(t).reduce(((n,r)=>e[r]?(0,o.Z)(n,e[r](t)):n),{});return n.propTypes={},n.filterProps=t.reduce(((t,e)=>t.concat(e.filterProps)),[]),n},a=n(95408);function c(t){return"number"!==typeof t?t:`${t}px solid`}const u=(0,i.ZP)({prop:"border",themeKey:"borders",transform:c}),l=(0,i.ZP)({prop:"borderTop",themeKey:"borders",transform:c}),d=(0,i.ZP)({prop:"borderRight",themeKey:"borders",transform:c}),h=(0,i.ZP)({prop:"borderBottom",themeKey:"borders",transform:c}),p=(0,i.ZP)({prop:"borderLeft",themeKey:"borders",transform:c}),f=(0,i.ZP)({prop:"borderColor",themeKey:"palette"}),m=(0,i.ZP)({prop:"borderTopColor",themeKey:"palette"}),g=(0,i.ZP)({prop:"borderRightColor",themeKey:"palette"}),y=(0,i.ZP)({prop:"borderBottomColor",themeKey:"palette"}),v=(0,i.ZP)({prop:"borderLeftColor",themeKey:"palette"}),_=t=>{if(void 0!==t.borderRadius&&null!==t.borderRadius){const e=(0,r.eI)(t.theme,"shape.borderRadius",4,"borderRadius"),n=t=>({borderRadius:(0,r.NA)(e,t)});return(0,a.k9)(t,t.borderRadius,n)}return null};_.propTypes={},_.filterProps=["borderRadius"];s(u,l,d,h,p,f,m,g,y,v,_);const b=t=>{if(void 0!==t.gap&&null!==t.gap){const e=(0,r.eI)(t.theme,"spacing",8,"gap"),n=t=>({gap:(0,r.NA)(e,t)});return(0,a.k9)(t,t.gap,n)}return null};b.propTypes={},b.filterProps=["gap"];const w=t=>
74{if(void 0!==t.columnGap&&null!==t.columnGap){const e=(0,r.eI)(t.theme,"spacing",8,"columnGap"),n=t=>({columnGap:(0,r.NA)(e,t)});return(0,a.k9)(t,t.columnGap,n)}return null};w.propTypes={},w.filterProps=["columnGap"];const k=t=>{if(void 0!==t.rowGap&&null!==t.rowGap){const e=(0,r.eI)(t.theme,"spacing",8,"rowGap"),n=t=>({rowGap:(0,r.NA)(e,t)});return(0,a.k9)(t,t.rowGap,n)}return null};k.propTypes={},k.filterProps=["rowGap"];s(b,w,k,(0,i.ZP)({prop:"gridColumn"}),(0,i.ZP)({prop:"gridRow"}),(0,i.ZP)({prop:"gridAutoFlow"}),(0,i.ZP)({prop:"gridAutoColumns"}),(0,i.ZP)({prop:"gridAutoRows"}),(0,i.ZP)({prop:"gridTemplateColumns"}),(0,i.ZP)({prop:"gridTemplateRows"}),(0,i.ZP)({prop:"gridTemplateAreas"}),(0,i.ZP)({prop:"gridArea"}));function S(t,e){return"grey"===e?e:t}s((0,i.ZP)({prop:"color",themeKey:"palette",transform:S}),(0,i.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:S}),(0,i.ZP)({prop:"backgroundColor",themeKey:"palette",transform:S}));function x(t){return t<=1&&0!==t?100*t+"%":t}const E=(0,i.ZP)({prop:"width",transform:x}),T=t=>{if(void 0!==t.maxWidth&&null!==t.maxWidth){const e=e=>{var n;return{maxWidth:(null==(n=t.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[e])||a.VO[e]||x(e)}};return(0,a.k9)(t,t.maxWidth,e)}return null};T.filterProps=["maxWidth"];const C=(0,i.ZP)({prop:"minWidth",transform:x}),R=(0,i.ZP)({prop:"height",transform:x}),O=(0,i.ZP)({prop:"maxHeight",transform:x}),I=(0,i.ZP)({prop:"minHeight",transform:x});(0,i.ZP)({prop:"size",cssProperty:"width",transform:x}),(0,i.ZP)({prop:"size",cssProperty:"height",transform:x}),s(E,T,C,R,O,I,(0,i.ZP)({prop:"boxSizing"}));var A={border:{themeKey:"borders",transform:c},borderTop:{themeKey:"borders",transform:c},borderRight:{themeKey:"borders",transform:c},borderBottom:{themeKey:"borders",transform:c},borderLeft:{themeKey:"borders",transform:c},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:_},color:{themeKey:"palette",transform:S},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:S},backgroundColor:{themeKey:"palette",transform:S},p:{style:r.o3},pt:{style:r.o3},pr:{style:r.o3},pb:{style:r.o3},pl:{style:r.o3},px:{style:r.o3},py:{style:r.o3},padding:{style:r.o3},paddingTop:{style:r.o3},paddingRight:{style:r.o3},paddingBottom:{style:r.o3},paddingLeft:{style:r.o3},paddingX:{style:r.o3},paddingY:{style:r.o3},paddingInline:{style:r.o3},paddingInlineStart:{style:r.o3},paddingInlineEnd:{style:r.o3},paddingBlock:{style:r.o3},paddingBlockStart:{style:r.o3},paddingBlockEnd:{style:r.o3},m:{style:r.e6},mt:{style:r.e6},mr:{style:r.e6},mb:{style:r.e6},ml:{style:r.e6},mx:{style:r.e6},my:{style:r.e6},margin:{style:r.e6},marginTop:{style:r.e6},marginRight:{style:r.e6},marginBottom:{style:r.e6},marginLeft:{style:r.e6},marginX:{style:r.e6},marginY:{style:r.e6},marginInline:{style:r.e6},marginInlineStart:{style:r.e6},marginInlineEnd:{style:r.e6},marginBlock:{style:r.e6},marginBlockStart:{style:r.e6},marginBlockEnd:{style:r.e6},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:b},rowGap:{style:k},columnGap:{style:w},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:x},maxWidth:{style:T},minWidth:{transform:x},height:{transform:x},maxHeight:{transform:x},minHeight:{transform:x},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},39707:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(87462),i=n(63366),o=n(59766),s=n(44920);const a=["sx"];function c(t){const{sx:e}=t,n=(0,i.Z)(t,a),{systemProps:c,otherProps:u}=(t=>{var e,n;const r={systemProps:{},otherProps:{}},i=null!=(e=null==t||null==(n=t.theme)?void 0:n.unstable_sxConfig)?e:s.Z;return Object.keys(t).forEach((e=>{i[e]?r.systemProps[e]=t[e]:r.otherProps[e]=t[e]})),r})(n);let l;return l=Array.isArray(e)?[c,...e]:"function"===typeof e?(...t)=>{const n=e(...t);return(0,o.P)(n)?(0,r.Z)({},c,n):c}:(0,r.Z)({},c,e),(0,r.Z)({},u,{sx:l})}},86523:function(t,e,n){"use strict";var r=n(14142),i=n(47730),o=n(54844),s=n(95408),a=n(44920);const c=function(){function t(t,e,n,i){const a={[t]:e,theme:n},c=i[t];if(!c)return{[t]:e};const{cssProperty:u=t,themeKey:l,transform:d,style:h}=c;if(null==e)return null;if("typography"===l&&"inherit"===e)return{[t]:e};const p=(0,o.DW)(n,l)||{};if(h)return h(a);return(0,s.k9)(a,e,(e=>{let n=(0,o.Jq)(p,d,e);return e===n&&"string"===typeof e&&(n=(0,o.Jq)(p,d,`${t}${"default"===e?"":(0,r.Z)(e)}`,e)),!1===u?n:{[u]:n}}))}return function e(n){var r;const{sx:o,theme:c={}}=n||{};if(!o)return null;const u=null!=(r=c.unstable_sxConfig)?r:a.Z;function l(n){let r=n;if("function"===typeof n)r=n(c);else if("object"!==typeof n)return n;if(!r)return null;const o=(0,s.W8)(c.breakpoints),a=Object.keys(o);let l=o;return Object.keys(r).forEach((n=>{const o=(a=r[n],d=c,"function"===typeof a?a(d):a);var a,d;if(null!==o&&void 0!==o)if("object"===typeof o)if(u[n])l=(0,i.Z)(l,t(n,o,c,u));else{const t=(0,s.k9)({theme:c},o,(t=>({[n]:t})));!function(...t){const e=t.reduce(((t,e)=>t.concat(Object.keys(e))),[]),n=new Set(e);return t.every((t=>n.size===Object.keys(t).length))}(t,o)?l=(0,i.Z)(l,t):l[n]=e({sx:o,theme:c})}else l=(0,i.Z)(l,t(n,o,c,u))})),(0,s.L7)(a,l)}return Array.isArray(o)?o.map(l):l(o)}}();c.filterProps=["sx"],e.Z=c},96682:function(t,e,n){"use strict";var r=n(66500),i=n(34168);const o=(0,r.Z)();e.Z=function(t=o){return(0,i.Z)(t)}},20539:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(47925);function i(t){const{theme:e,name:n,props:i}=t;return e&&e.components&&e.components[n]&&e.components[n].defaultProps?(0,r.Z)(e.components[n].defaultProps,i):i}},29628:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(20539),i=n(96682);function o({props:t,name:e,defaultTheme:n,themeId:o}){let s=(0,i.Z)(n);o&&(s=s[o]||s);return(0,r.Z)({theme:s,name:e,props:t})}},34168:function(t,e,n){"use strict";var r=n(67294),i=n(75260);e.Z=function(t=null){const e=r.useContext(i.T);return e&&(n=e,0!==Object.keys(n).length)?e:t;var n}},37078:function(t,e){"use strict";const n=t=>t,r=(()=>{let t=n;return{configure(e){t=e},generate:e=>t(e),reset(){t=n}}})();e.Z=r},14142:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(71387);function i(t){if("string"!==typeof t)throw new Error((0,r.Z)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},94780:function(t,e,n){"use strict";function r(t,e,n){const r={};return Object.keys(t).forEach((i=>{r[i]=t[i].reduce(((t,r)=>{if(r){const i=e(r);""!==i&&t.push(i),n&&n[r]&&t.push(n[r])}return t}),[]).join(" ")})),r}n.d(e,{Z:function(){return r}})},49064:function(t,e,n){"use strict";function r(...t){return t.reduce(((t,e)=>null==e?t:function(...n){t.apply(this,n),e.apply(this,n)}),(()=>{}))}n.d(e,{Z:function(){return r}})},39336:function(t,e,n){"use strict";function r(t,e=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{t.apply(this,r)}),e)}return r.clear=()=>{clearTimeout(n)},r}n.d(e,{Z:function(){return r}})},59766:function(t,e,n){"use strict";n.d(e,{P:function(){return i},Z:function(){return s}});var r=n(87462);function i(t){return null!==t&&"object"===typeof t&&t.constructor===Object}function o(t){if(!i(t))return t;const e={};return Object.keys(t).forEach((n=>{e[n]=o(t[n])})),e}function s(t,e,n={clone:!0}){const a=n.clone?(0,r.Z)({},t):t;return i(t)&&i(e)&&Object.keys(e).forEach((r=>{"__proto__"!==r&&(i(e[r])&&r in t&&i(t[r])?a[r]=s(t[r],e[r],n):n.clone?a[r]=i(e[r])?o(e[r]):e[r]:a[r]=e[r])})),a}},71387:function(t,e,n){"use strict";function r(t){let e="https://mui.com/production-error/?code="+t;for(let n=1;n<arguments.length;n+=1)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+t+"; visit "+e+" for the full message."}n.d(e,{Z:function(){return r}})},34867:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(37078);const i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function o(t,e,n="Mui"){const o=i[e];return o?`${n}-${o}`:`${r.Z.generate(t)}-${e}`}},1588:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(34867);function i(t,e,n="Mui"){const i={};return e.forEach((e=>{i[e]=(0,r.Z)(t,e,n)}
74)),i}},82690:function(t,e,n){"use strict";function r(t){return t&&t.ownerDocument||document}n.d(e,{Z:function(){return r}})},74161:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(82690);function i(t){return(0,r.Z)(t).defaultView||window}},47925:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(87462);function i(t,e){const n=(0,r.Z)({},e);return Object.keys(t).forEach((o=>{if(o.toString().match(/^(components|slots)$/))n[o]=(0,r.Z)({},t[o],n[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){const s=t[o]||{},a=e[o];n[o]={},a&&Object.keys(a)?s&&Object.keys(s)?(n[o]=(0,r.Z)({},a),Object.keys(s).forEach((t=>{n[o][t]=i(s[t],a[t])}))):n[o]=a:n[o]=s}else void 0===n[o]&&(n[o]=t[o])})),n}},7960:function(t,e,n){"use strict";function r(t,e){"function"===typeof t?t(e):t&&(t.current=e)}n.d(e,{Z:function(){return r}})},19032:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(67294);function i({controlled:t,default:e,name:n,state:i="value"}){const{current:o}=r.useRef(void 0!==t),[s,a]=r.useState(e);return[o?t:s,r.useCallback((t=>{o||a(t)}),[])]}},73546:function(t,e,n){"use strict";var r=n(67294);const i="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;e.Z=i},59948:function(t,e,n){"use strict";var r=n(67294),i=n(73546);e.Z=function(t){const e=r.useRef(t);return(0,i.Z)((()=>{e.current=t})),r.useCallback(((...t)=>(0,e.current)(...t)),[])}},33703:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(67294),i=n(7960);function o(...t){return r.useMemo((()=>t.every((t=>null==t))?null:e=>{t.forEach((t=>{(0,i.Z)(t,e)}))}),t)}},92996:function(t,e,n){"use strict";var r;n.d(e,{Z:function(){return a}});var i=n(67294);let o=0;const s=(r||(r=n.t(i,2)))["useId".toString()];function a(t){if(void 0!==s){const e=s();return null!=t?t:e}return function(t){const[e,n]=i.useState(t),r=t||e;return i.useEffect((()=>{null==e&&(o+=1,n(`mui-${o}`))}),[e]),r}(t)}},51131:function(t,e,n){"use strict";n.d(e,{J:function(){return r}});const r="production"},64487:function(t,e,n){"use strict";n.d(e,{$e:function(){return a},Tb:function(){return i},e:function(){return o},v:function(){return s}});var r=n(95659);function i(t,e){return(0,r.Gd)().captureException(t,{captureContext:e})}function o(t){(0,r.Gd)().configureScope(t)}function s(t,e){(0,r.Gd)().setContext(t,e)}function a(t){(0,r.Gd)().withScope(t)}},95659:function(t,e,n){"use strict";n.d(e,{Gd:function(){return f},cu:function(){return h}});var r=n(62844),i=n(21170),o=n(12343),s=n(71235),a=n(51131),c=n(10350),u=n(9015);const l=100;class d{constructor(t,e=new c.s,n=4){this._version=n,this._stack=[{scope:e}],t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){const t=c.s.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(t){const e=this.pushScope();try{t(e)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,e){const n=this._lastEventId=e&&e.event_id?e.event_id:(0,r.DM)(),i=new Error("Sentry syntheticException");return this._withClient(((r,o)=>{r.captureException(t,{originalException:t,syntheticException:i,...e,event_id:n},o)})),n}captureMessage(t,e,n){const i=this._lastEventId=n&&n.event_id?n.event_id:(0,r.DM)(),o=new Error(t);return this._withClient(((r,s)=>{r.captureMessage(t,e,{originalException:t,syntheticException:o,...n,event_id:i},s)})),i}captureEvent(t,e){const n=e&&e.event_id?e.event_id:(0,r.DM)();return t.type||(this._lastEventId=n),this._withClient(((r,i)=>{r.captureEvent(t,{...e,event_id:n},i)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){const{scope:n,client:r}=this.getStackTop();if(!r)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:a=l}=r.getOptions&&r.getOptions()||{};if(a<=0)return;const c={timestamp:(0,i.yW)(),...t},u=s?(0,o.Cf)((()=>s(c,e))):c;null!==u&&(r.emit&&r.emit("beforeAddBreadcrumb",u,e),n.addBreadcrumb(u,a))}
74setUser(t){this.getScope().setUser(t)}setTags(t){this.getScope().setTags(t)}setExtras(t){this.getScope().setExtras(t)}setTag(t,e){this.getScope().setTag(t,e)}setExtra(t,e){this.getScope().setExtra(t,e)}setContext(t,e){this.getScope().setContext(t,e)}configureScope(t){const{scope:e,client:n}=this.getStackTop();n&&t(e)}run(t){const e=p(this);try{t(this)}finally{p(e)}}getIntegration(t){const e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(n){return null}}startTransaction(t,e){return this._callExtensionMethod("startTransaction",t,e)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const t=this.getStackTop().scope,e=t.getSession();e&&(0,u.RJ)(e),this._sendSessionUpdate(),t.setSession()}startSession(t){const{scope:e,client:n}=this.getStackTop(),{release:r,environment:i=a.J}=n&&n.getOptions()||{},{userAgent:o}=s.n2.navigator||{},c=(0,u.Hv)({release:r,environment:i,user:e.getUser(),...o&&{userAgent:o},...t}),l=e.getSession&&e.getSession();return l&&"ok"===l.status&&(0,u.CT)(l,{status:"exited"}),this.endSession(),e.setSession(c),c}shouldSendDefaultPii(){const t=this.getClient(),e=t&&t.getOptions();return Boolean(e&&e.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:e}=this.getStackTop(),n=t.getSession();n&&e&&e.captureSession&&e.captureSession(n)}_withClient(t){const{scope:e,client:n}=this.getStackTop();n&&t(n,e)}_callExtensionMethod(t,...e){const n=h().__SENTRY__;if(n&&n.extensions&&"function"===typeof n.extensions[t])return n.extensions[t].apply(this,e)}}function h(){return s.n2.__SENTRY__=s.n2.__SENTRY__||{extensions:{},hub:void 0},s.n2}function p(t){const e=h(),n=y(e);return v(e,t),n}function f(){const t=h();if(t.__SENTRY__&&t.__SENTRY__.acs){const e=t.__SENTRY__.acs.getCurrentHub();if(e)return e}return m(t)}function m(t=h()){return g(t)&&!y(t).isOlderThan(4)||v(t,new d),y(t)}function g(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function y(t){return(0,s.YO)("hub",(()=>new d),t)}function v(t,e){if(!t)return!1;return(t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0}},10350:function(t,e,n){"use strict";n.d(e,{c:function(){return d},s:function(){return u}});var r=n(67597),i=n(21170),o=n(96893),s=n(62844),a=n(71235),c=n(9015);class u{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=h()}static clone(t){const e=new u;return t&&(e._breadcrumbs=[...t._breadcrumbs],e._tags={...t._tags},e._extra={...t._extra},e._contexts={...t._contexts},e._user=t._user,e._level=t._level,e._span=t._span,e._session=t._session,e._transactionName=t._transactionName,e._fingerprint=t._fingerprint,e._eventProcessors=[...t._eventProcessors],e._requestSession=t._requestSession,e._attachments=[...t._attachments],e._sdkProcessingMetadata={...t._sdkProcessingMetadata}
74,e._propagationContext={...t._propagationContext}),e}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&(0,c.CT)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if("function"===typeof t){const e=t(this);return e instanceof u?e:this}return t instanceof u?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession),t._propagationContext&&(this._propagationContext=t._propagationContext)):(0,r.PO)(t)&&(this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=h(),this}addBreadcrumb(t,e){const n="number"===typeof e?e:100;if(n<=0)return this;const r={timestamp:(0,i.yW)(),...t};return this._breadcrumbs=[...this._breadcrumbs,r].slice(-n),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,e={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const e=this._span.transaction;if(e){t.sdkProcessingMetadata={dynamicSamplingContext:e.getDynamicSamplingContext(),...t.sdkProcessingMetadata};const n=e.name;n&&(t.tags={transaction:n,...t.tags})}}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata,prop
74agationContext:this._propagationContext},this._notifyEventProcessors([...l(),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}_notifyEventProcessors(t,e,n,i=0){return new o.cW(((o,s)=>{const a=t[i];if(null===e||"function"!==typeof a)o(e);else{const c=a({...e},n);(0,r.J8)(c)?c.then((e=>this._notifyEventProcessors(t,e,n,i+1).then(o))).then(null,s):this._notifyEventProcessors(t,c,n,i+1).then(o).then(null,s)}}))}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((t=>{t(this)})),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?(0,s.lE)(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function l(){return(0,a.YO)("globalEventProcessors",(()=>[]))}function d(t){l().push(t)}function h(){return{traceId:(0,s.DM)(),spanId:(0,s.DM)().substring(16),sampled:!1}}},9015:function(t,e,n){"use strict";n.d(e,{CT:function(){return a},Hv:function(){return s},RJ:function(){return c}});var r=n(21170),i=n(62844),o=n(20535);function s(t){const e=(0,r.ph)(),n={sid:(0,i.DM)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return(0,o.Jr)({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"===typeof t.did||"string"===typeof t.did?`${t.did}`:void 0,duration:t.duration,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(n)};return t&&a(n,t),n}function a(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||(0,r.ph)(),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,i.DM)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"===typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"===typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"===typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function c(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),a(t,n)}},58464:function(t,e,n){"use strict";n.d(e,{Rt:function(){return o},l4:function(){return a},qT:function(){return c}});var r=n(67597);const i=(0,n(71235).Rf)();function o(t,e={}){try{let n=t;const r=5,i=[];let o=0,a=0;const c=" > ",u=c.length;let l;const d=Array.isArray(e)?e:e.keyAttrs,h=!Array.isArray(e)&&e.maxStringLength||80;for(;n&&o++<r&&(l=s(n,d),!("html"===l||o>1&&a+i.length*u+l.length>=h));)i.push(l),a+=l.length,n=n.parentNode;return i.reverse().join(c)}catch(n){return"<unknown>"}}function s(t,e){const n=t,i=[];let o,s,a,c,u;if(!n||!n.tagName)return"";i.push(n.tagName.toLowerCase());const l=e&&e.length?e.filter((t=>n.getAttribute(t))).map((t=>[t,n.getAttribute(t)])):null;if(l&&l.length)l.forEach((t=>{i.push(`[${t[0]}="${t[1]}"]`)}));else if(n.id&&i.push(`#${n.id}`),o=n.className,o&&(0,r.HD)(o))for(s=o.split(/\s+/),u=0;u<s.length;u++)i.push(`.${s[u]}`);const d=["aria-label","type","name","title","alt"];for(u=0;u<d.length;u++)a=d[u],c=n.getAttribute(a),c&&i.push(`[${a}="${c}"]`);return i.join("")}function a(){try{return i.document.location.href}catch(t){return""}}function c(t){return i.document&&i.document.querySelector?i.document.querySelector(t):null}},68518:function(t,e,n){"use strict";function r(){return"undefined"!==typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function i(){return"npm"}n.d(e,{S:function(){return i},n:function(){return r}})},67597:function(t,e,n){"use strict";n.d(e,{Cy:function(){return g},HD:function(){return u},J8:function(){return m},Kj:function(){return f},PO:function(){return d},TX:function(){return a},V9:function(){return v},VW:function(){return s},VZ:function(){return i},cO:function(){return h},fm:function(){return c},i2:function(){return y},kK:function(){return p},pt:function(){return l}});const r=Object.prototype.toString;function i(t){switch(r.call(t)){case"[object Error]":case"[object E
74xception]":case"[object DOMException]":return!0;default:return v(t,Error)}}function o(t,e){return r.call(t)===`[object ${e}]`}function s(t){return o(t,"ErrorEvent")}function a(t){return o(t,"DOMError")}function c(t){return o(t,"DOMException")}function u(t){return o(t,"String")}function l(t){return null===t||"object"!==typeof t&&"function"!==typeof t}function d(t){return o(t,"Object")}function h(t){return"undefined"!==typeof Event&&v(t,Event)}function p(t){return"undefined"!==typeof Element&&v(t,Element)}function f(t){return o(t,"RegExp")}function m(t){return Boolean(t&&t.then&&"function"===typeof t.then)}function g(t){return d(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function y(t){return"number"===typeof t&&t!==t}function v(t,e){try{return t instanceof e}catch(n){return!1}}},12343:function(t,e,n){"use strict";n.d(e,{Cf:function(){return o},RU:function(){return i},kg:function(){return s}});var r=n(71235);const i=["debug","info","warn","error","log","assert","trace"];function o(t){if(!("console"in r.n2))return t();const e=r.n2.console,n={};i.forEach((t=>{const r=e[t]&&e[t].__sentry_original__;t in e&&r&&(n[t]=e[t],e[t]=r)}));try{return t()}finally{Object.keys(n).forEach((t=>{e[t]=n[t]}))}}let s;s=function(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1}};return i.forEach((t=>{e[t]=()=>{}})),e}()},62844:function(t,e,n){"use strict";n.d(e,{DM:function(){return o},Db:function(){return c},EG:function(){return u},YO:function(){return l},jH:function(){return a},lE:function(){return d}});var r=n(20535),i=n(71235);function o(){const t=i.n2,e=t.crypto||t.msCrypto;if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");const n=e&&e.getRandomValues?()=>e.getRandomValues(new Uint8Array(1))[0]:()=>16*Math.random();return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(t=>(t^(15&n())>>t/4).toString(16)))}function s(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function a(t){const{message:e,event_id:n}=t;if(e)return e;const r=s(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function c(t,e,n){const r=t.exception=t.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=e||""),o.type||(o.type=n||"Error")}function u(t,e){const n=s(t);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){const t={...r&&r.data,...e.data};n.mechanism.data=t}}function l(t){if(t&&t.__sentry_captured__)return!0;try{(0,r.xp)(t,"__sentry_captured__",!0)}catch(e){}return!1}function d(t){return Array.isArray(t)?t:[t]}},61422:function(t,e,n){"use strict";n.d(e,{KV:function(){return o},l$:function(){return s}});var r=n(68518);t=n.hmd(t);var i=n(34155);function o(){return!(0,r.n)()&&"[object process]"===Object.prototype.toString.call("undefined"!==typeof i?i:0)}function s(t,e){return t.require(e)}},20535:function(t,e,n){"use strict";n.d(e,{$Q:function(){return c},HK:function(){return u},Jr:function(){return m},Sh:function(){return d},_j:function(){return l},hl:function(){return s},xp:function(){return a},zf:function(){return f}});var r=n(58464),i=n(67597),o=n(57321);function s(t,e,n){if(!(e in t))return;const r=t[e],i=n(r);if("function"===typeof i)try{c(i,r)}catch(o){}t[e]=i}function a(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}function c(t,e){const n=e.prototype||{};t.prototype=e.prototype=n,a(t,"__sentry_original__",e)}function u(t){return t.__sentry_original__}function l(t){return Object.keys(t).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`)).join("&")}function d(t){if((0,i.VZ)(t))return{message:t.message,name:t.name,stack:t.stack,...p(t)};if((0,i.cO)(t)){const e={type:t.type,target:h(t.target),currentTarget:h(t.currentTarget),...p(t)};return"undefined"!==typeof CustomEvent&&(0,i.V9)(t,CustomEvent)&&(e.detail=t.detail),e}return t}function h(t){try{return(0,i.kK)(t)?(0,r.Rt)(t):Object.prototype.toString.call(t)}catch(e){return"<unknown>"}}function p(t){if("object"===typeof t&&null!==t){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function f(t,e=40){const n=Object.keys(d(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return(0,o.$G)(n[0],e);for(let r=n.length;r>0;r--){const t=n.slice(0,r).join(", ");
74if(!(t.length>e))return r===n.length?t:(0,o.$G)(t,e)}return""}function m(t){return g(t,new Map)}function g(t,e){if((0,i.PO)(t)){const n=e.get(t);if(void 0!==n)return n;const r={};e.set(t,r);for(const i of Object.keys(t))"undefined"!==typeof t[i]&&(r[i]=g(t[i],e));return r}if(Array.isArray(t)){const n=e.get(t);if(void 0!==n)return n;const r=[];return e.set(t,r),t.forEach((t=>{r.push(g(t,e))})),r}return t}},57321:function(t,e,n){"use strict";n.d(e,{$G:function(){return i},U0:function(){return s},nK:function(){return o}});var r=n(67597);function i(t,e=0){return"string"!==typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function o(t,e){if(!Array.isArray(t))return"";const n=[];for(let i=0;i<t.length;i++){const e=t[i];try{n.push(String(e))}catch(r){n.push("[value cannot be serialized]")}}return n.join(e)}function s(t,e=[],n=!1){return e.some((e=>function(t,e,n=!1){return!!(0,r.HD)(t)&&((0,r.Kj)(e)?e.test(t):!!(0,r.HD)(e)&&(n?t===e:t.includes(e)))}(t,e,n)))}},96893:function(t,e,n){"use strict";n.d(e,{$2:function(){return s},WD:function(){return o},cW:function(){return a}});var r,i=n(67597);function o(t){return new a((e=>{e(t)}))}function s(t){return new a(((e,n)=>{n(t)}))}!function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(r||(r={}));class a{constructor(t){a.prototype.__init.call(this),a.prototype.__init2.call(this),a.prototype.__init3.call(this),a.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(e){this._reject(e)}}then(t,e){return new a(((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(i){r(i)}else n(e)},t=>{if(e)try{n(e(t))}catch(i){r(i)}else r(t)}]),this._executeHandlers()}))}catch(t){return this.then((t=>t),t)}finally(t){return new a(((e,n)=>{let r,i;return this.then((e=>{i=!1,r=e,t&&t()}),(e=>{i=!0,r=e,t&&t()})).then((()=>{i?n(r):e(r)}))}))}__init(){this._resolve=t=>{this._setResult(r.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(r.REJECTED,t)}}__init3(){this._setResult=(t,e)=>{this._state===r.PENDING&&((0,i.J8)(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach((t=>{t[0]||(this._state===r.RESOLVED&&t[1](this._value),this._state===r.REJECTED&&t[2](this._value),t[0]=!0)}))}}}},21170:function(t,e,n){"use strict";n.d(e,{Z1:function(){return h},ph:function(){return l},yW:function(){return u}});var r=n(61422),i=n(71235);t=n.hmd(t);const o=(0,i.Rf)(),s={nowSeconds:()=>Date.now()/1e3};const a=(0,r.KV)()?function(){try{return(0,r.l$)(t,"perf_hooks").performance}catch(e){return}}():function(){const{performance:t}=o;if(!t||!t.now)return;return{now:()=>t.now(),timeOrigin:Date.now()-t.now()}}(),c=void 0===a?s:{nowSeconds:()=>(a.timeOrigin+a.now())/1e3},u=s.nowSeconds.bind(s),l=c.nowSeconds.bind(c);let d;const h=(()=>{const{performance:t}=o;if(!t||!t.now)return void(d="none");const e=36e5,n=t.now(),r=Date.now(),i=t.timeOrigin?Math.abs(t.timeOrigin+n-r):e,s=i<e,a=t.timing&&t.timing.navigationStart,c="number"===typeof a?Math.abs(a+n-r):e;return s||c<e?i<=c?(d="timeOrigin",t.timeOrigin):(d="navigationStart",a):(d="dateNow",r)})()},71235:function(t,e,n){"use strict";function r(t){return t&&t.Math==Math?t:void 0}n.d(e,{Rf:function(){return o},YO:function(){return s},n2:function(){return i}});const i="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof n.g&&r(n.g)||function(){return this}()||{};function o(){return i}function s(t,e,n){const r=n||i,o=r.__SENTRY__=r.__SENTRY__||{};return o[t]||(o[t]=e())}},8679:function(t,e,n){"use strict";var r=n(21296),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},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function c(t){return r.isMemo(t)?s:a[t.$$typeof]||i}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=s;var u=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;
74t.exports=function t(e,n,r){if("string"!==typeof n){if(f){var i=p(n);i&&i!==f&&t(e,i,r)}var s=l(n);d&&(s=s.concat(d(n)));for(var a=c(e),m=c(n),g=0;g<s.length;++g){var y=s[g];if(!o[y]&&(!r||!r[y])&&(!m||!m[y])&&(!a||!a[y])){var v=h(n,y);try{u(e,y,v)}catch(_){}}}}return e}},96103:function(t,e){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,_=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function w(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case l:case d:case o:case a:case s:case p:return t;default:switch(t=t&&t.$$typeof){case u:case h:case g:case m:case c:return t;default:return e}}case i:return e}}}function k(t){return w(t)===d}e.AsyncMode=l,e.ConcurrentMode=d,e.ContextConsumer=u,e.ContextProvider=c,e.Element=r,e.ForwardRef=h,e.Fragment=o,e.Lazy=g,e.Memo=m,e.Portal=i,e.Profiler=a,e.StrictMode=s,e.Suspense=p,e.isAsyncMode=function(t){return k(t)||w(t)===l},e.isConcurrentMode=k,e.isContextConsumer=function(t){return w(t)===u},e.isContextProvider=function(t){return w(t)===c},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===r},e.isForwardRef=function(t){return w(t)===h},e.isFragment=function(t){return w(t)===o},e.isLazy=function(t){return w(t)===g},e.isMemo=function(t){return w(t)===m},e.isPortal=function(t){return w(t)===i},e.isProfiler=function(t){return w(t)===a},e.isStrictMode=function(t){return w(t)===s},e.isSuspense=function(t){return w(t)===p},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===o||t===d||t===a||t===s||t===p||t===f||"object"===typeof t&&null!==t&&(t.$$typeof===g||t.$$typeof===m||t.$$typeof===c||t.$$typeof===u||t.$$typeof===h||t.$$typeof===v||t.$$typeof===_||t.$$typeof===b||t.$$typeof===y)},e.typeOf=w},21296:function(t,e,n){"use strict";t.exports=n(96103)},2962:function(t,e,n){"use strict";n.d(e,{PB:function(){return f},lX:function(){return p}});var r=n(67294),i=n(9008),o=n.n(i);function s(){return s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s.apply(this,arguments)}function a(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}var c=["keyOverride"],u={templateTitle:"",noindex:!1,nofollow:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},l=function(t,e,n){void 0===e&&(e=[]);var i=void 0===n?{}:n,o=i.defaultWidth,s=i.defaultHeight;return e.reduce((function(e,n,i){return e.push(r.createElement("meta",{key:"og:"+t+":0"+i,property:"og:"+t,content:n.url})),n.alt&&e.push(r.createElement("meta",{key:"og:"+t+":alt0"+i,property:"og:"+t+":alt",content:n.alt})),n.secureUrl&&e.push(r.createElement("meta",{key:"og:"+t+":secure_url0"+i,property:"og:"+t+":secure_url",content:n.secureUrl.toString()})),n.type&&e.push(r.createElement("meta",{key:"og:"+t+":type0"+i,property:"og:"+t+":type",content:n.type.toString()})),n.width?e.push(r.createElement("meta",{key:"og:"+t+":width0"+i,property:"og:"+t+":width",content:n.width.toString()})):o&&e.push(r.createElement("meta",{key:"og:"+t+":width0"+i,property:"og:"+t+":width",content:o.toString()})),n.height?e.push(r.createElement("meta",{key:"og:"+t+":height"+i,property:"og:"+t+":height",content:n.height.toString()})):s&&e.push(r.createElement("meta",{key:"og:"+t+":height"+i,property:"og:"+t+":height",content:s.toString()})),e}),[])},d=function(t){var e,n,i,o=[];t.titleTemplate&&(u.templateTitle=t.titleTemplate);var d="";t.title?(d=t.title,u.templateTitle&&(d=u.templateTitle.replace(/%s/g,(function(){return d})))):t.defaultTitle&&(d=t.defaultTitle),d&&o.push(r.createElement("title",{key:"title"},d));var h,p,f=t.noindex||u.noindex||t.dangerouslySetAllPagesToNoIndex,m=t.nofollow||u.nofollow||t.dangerouslySetAllPagesToNoFollow,g="";if(t.robotsProps){var y=t.robotsProps,v=y.nosnippet,_=y.maxSnippet,b=y.maxImagePreview,w=y.maxVideoPreview,k=y.noarchive,S=y.noimageindex,x=y.notranslate,E=y.unavailableAfter;
74g=(v?",nosnippet":"")+(_?",max-snippet:"+_:"")+(b?",max-image-preview:"+b:"")+(k?",noarchive":"")+(E?",unavailable_after:"+E:"")+(S?",noimageindex":"")+(w?",max-video-preview:"+w:"")+(x?",notranslate":"")}(f||m?(t.dangerouslySetAllPagesToNoIndex&&(u.noindex=!0),t.dangerouslySetAllPagesToNoFollow&&(u.nofollow=!0),o.push(r.createElement("meta",{key:"robots",name:"robots",content:(f?"noindex":"index")+","+(m?"nofollow":"follow")+g}))):o.push(r.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+g})),t.description&&o.push(r.createElement("meta",{key:"description",name:"description",content:t.description})),t.themeColor&&o.push(r.createElement("meta",{key:"theme-color",name:"theme-color",content:t.themeColor})),t.mobileAlternate&&o.push(r.createElement("link",{rel:"alternate",key:"mobileAlternate",media:t.mobileAlternate.media,href:t.mobileAlternate.href})),t.languageAlternates&&t.languageAlternates.length>0&&t.languageAlternates.forEach((function(t){o.push(r.createElement("link",{rel:"alternate",key:"languageAlternate-"+t.hrefLang,hrefLang:t.hrefLang,href:t.href}))})),t.twitter&&(t.twitter.cardType&&o.push(r.createElement("meta",{key:"twitter:card",name:"twitter:card",content:t.twitter.cardType})),t.twitter.site&&o.push(r.createElement("meta",{key:"twitter:site",name:"twitter:site",content:t.twitter.site})),t.twitter.handle&&o.push(r.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:t.twitter.handle}))),t.facebook&&t.facebook.appId&&o.push(r.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:t.facebook.appId})),null!=(e=t.openGraph)&&e.title||d)&&o.push(r.createElement("meta",{key:"og:title",property:"og:title",content:(null==(h=t.openGraph)?void 0:h.title)||d}));(null!=(n=t.openGraph)&&n.description||t.description)&&o.push(r.createElement("meta",{key:"og:description",property:"og:description",content:(null==(p=t.openGraph)?void 0:p.description)||t.description}));if(t.openGraph){if((t.openGraph.url||t.canonical)&&o.push(r.createElement("meta",{key:"og:url",property:"og:url",content:t.openGraph.url||t.canonical})),t.openGraph.type){var T=t.openGraph.type.toLowerCase();o.push(r.createElement("meta",{key:"og:type",property:"og:type",content:T})),"profile"===T&&t.openGraph.profile?(t.openGraph.profile.firstName&&o.push(r.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:t.openGraph.profile.firstName})),t.openGraph.profile.lastName&&o.push(r.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:t.openGraph.profile.lastName})),t.openGraph.profile.username&&o.push(r.createElement("meta",{key:"profile:username",property:"profile:username",content:t.openGraph.profile.username})),t.openGraph.profile.gender&&o.push(r.createElement("meta",{key:"profile:gender",property:"profile:gender",content:t.openGraph.profile.gender}))):"book"===T&&t.openGraph.book?(t.openGraph.book.authors&&t.openGraph.book.authors.length&&t.openGraph.book.authors.forEach((function(t,e){o.push(r.createElement("meta",{key:"book:author:0"+e,property:"book:author",content:t}))})),t.openGraph.book.isbn&&o.push(r.createElement("meta",{key:"book:isbn",property:"book:isbn",content:t.openGraph.book.isbn})),t.openGraph.book.releaseDate&&o.push(r.createElement("meta",{key:"book:release_date",property:"book:release_date",content:t.openGraph.book.releaseDate})),t.openGraph.book.tags&&t.openGraph.book.tags.length&&t.openGraph.book.tags.forEac
74h((function(t,e){o.push(r.createElement("meta",{key:"book:tag:0"+e,property:"book:tag",content:t}))}))):"article"===T&&t.openGraph.article?(t.openGraph.article.publishedTime&&o.push(r.createElement("meta",{key:"article:published_time",property:"article:published_time",content:t.openGraph.article.publishedTime})),t.openGraph.article.modifiedTime&&o.push(r.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:t.openGraph.article.modifiedTime})),t.openGraph.article.expirationTime&&o.push(r.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:t.openGraph.article.expirationTime})),t.openGraph.article.authors&&t.openGraph.article.authors.length&&t.openGraph.article.authors.forEach((function(t,e){o.push(r.createElement("meta",{key:"article:author:0"+e,property:"article:author",content:t}))})),t.openGraph.article.section&&o.push(r.createElement("meta",{key:"article:section",property:"article:section",content:t.openGraph.article.section})),t.openGraph.article.tags&&t.openGraph.article.tags.length&&t.openGraph.article.tags.forEach((function(t,e){o.push(r.createElement("meta",{key:"article:tag:0"+e,property:"article:tag",content:t}))}))):"video.movie"!==T&&"video.episode"!==T&&"video.tv_show"!==T&&"video.other"!==T||!t.openGraph.video||(t.openGraph.video.actors&&t.openGraph.video.actors.length&&t.openGraph.video.actors.forEach((function(t,e){t.profile&&o.push(r.createElement("meta",{key:"video:actor:0"+e,property:"video:actor",content:t.profile})),t.role&&o.push(r.createElement("meta",{key:"video:actor:role:0"+e,property:"video:actor:role",content:t.role}))})),t.openGraph.video.directors&&t.openGraph.video.directors.length&&t.openGraph.video.directors.forEach((function(t,e){o.push(r.createElement("meta",{key:"video:director:0"+e,property:"video:director",content:t}))})),t.openGraph.video.writers&&t.openGraph.video.writers.length&&t.openGraph.video.writers.forEach((function(t,e){o.push(r.createElement("meta",{key:"video:writer:0"+e,property:"video:writer",content:t}))})),t.openGraph.video.duration&&o.push(r.createElement("meta",{key:"video:duration",property:"video:duration",content:t.openGraph.video.duration.toString()})),t.openGraph.video.releaseDate&&o.push(r.createElement("meta",{key:"video:release_date",property:"video:release_date",content:t.openGraph.video.releaseDate})),t.openGraph.video.tags&&t.openGraph.video.tags.length&&t.openGraph.video.tags.forEac
74h((function(t,e){o.push(r.createElement("meta",{key:"video:tag:0"+e,property:"video:tag",content:t}))})),t.openGraph.video.series&&o.push(r.createElement("meta",{key:"video:series",property:"video:series",content:t.openGraph.video.series})))}t.defaultOpenGraphImageWidth&&(u.defaultOpenGraphImageWidth=t.defaultOpenGraphImageWidth),t.defaultOpenGraphImageHeight&&(u.defaultOpenGraphImageHeight=t.defaultOpenGraphImageHeight),t.openGraph.images&&t.openGraph.images.length&&o.push.apply(o,l("image",t.openGraph.images,{defaultWidth:u.defaultOpenGraphImageWidth,defaultHeight:u.defaultOpenGraphImageHeight})),t.defaultOpenGraphVideoWidth&&(u.defaultOpenGraphVideoWidth=t.defaultOpenGraphVideoWidth),t.defaultOpenGraphVideoHeight&&(u.defaultOpenGraphVideoHeight=t.defaultOpenGraphVideoHeight),t.openGraph.videos&&t.openGraph.videos.length&&o.push.apply(o,l("video",t.openGraph.videos,{defaultWidth:u.defaultOpenGraphVideoWidth,defaultHeight:u.defaultOpenGraphVideoHeight})),t.openGraph.audio&&o.push.apply(o,l("audio",t.openGraph.audio)),t.openGraph.locale&&o.push(r.createElement("meta",{key:"og:locale",property:"og:locale",content:t.openGraph.locale})),(t.openGraph.siteName||t.openGraph.site_name)&&o.push(r.createElement("meta",{key:"og:site_name",property:"og:site_name",content:t.openGraph.siteName||t.openGraph.site_name}))}return t.canonical&&o.push(r.createElement("link",{rel:"canonical",href:t.canonical,key:"canonical"})),t.additionalMetaTags&&t.additionalMetaTags.length>0&&t.additionalMetaTags.forEach((function(t){var e,n,i=t.keyOverride,u=a(t,c);o.push(r.createElement("meta",s({key:"meta:"+(null!=(e=null!=(n=null!=i?i:u.name)?n:u.property)?e:u.httpEquiv)},u)))})),null!=(i=t.additionalLinkTags)&&i.length&&t.additionalLinkTags.forEach((function(t){var e;o.push(r.createElement("link",s({key:"link"+(null!=(e=t.keyOverride)?e:t.href)+t.rel},t)))})),o},h=function(t){return r.createElement(o(),null,d(t))},p=function(t){var e=t.title,n=t.titleTemplate,i=t.defaultTitle,o=t.themeColor,s=t.dangerouslySetAllPagesToNoIndex,a=void 0!==s&&s,c=t.dangerouslySetAllPagesToNoFollow,u=void 0!==c&&c,l=t.description,d=t.canonical,p=t.facebook,f=t.openGraph,m=t.additionalMetaTags,g=t.twitter,y=t.defaultOpenGraphImageWidth,v=t.defaultOpenGraphImageHeight,_=t.defaultOpenGraphVideoWidth,b=t.defaultOpenGraphVideoHeight,w=t.mobileAlternate,k=t.languageAlternates,S=t.additionalLinkTags,x=t.robotsProps;return r.createElement(h,{title:e,titleTemplate:n,defaultTitle:i,themeColor:o,dangerouslySetAllPagesToNoIndex:a,dangerouslySetAllPagesToNoFollow:u,description:l,canonical:d,facebook:p,openGraph:f,additionalMetaTags:m,twitter:g,defaultOpenGraphImageWidth:y,defaultOpenGraphImageHeight:v,defaultOpenGraphVideoWidth:_,defaultOpenGraphVideoHeight:b,mobileAlternate:w,languageAlternates:k,additionalLinkTags:S,robotsProps:x})},f=function(t){var e=t.title,n=t.themeColor,i=t.noindex,o=void 0!==i&&i,s=t.nofollow,a=t.robotsProps,c=t.description,u=t.canonical,l=t.openGraph,p=t.facebook,f=t.twitter,m=t.additionalMetaTags,g=t.titleTemplate,y=t.defaultTitle,v=t.mobileAlternate,_=t.languageAlternates,b=t.additionalLinkTags,w=t.useAppDir,k=void 0!==w&&w;return r.createElement(r.Fragment,null,k?d({title:e,themeColor:n,noindex:o,nofollow:s,robotsProps:a,description:c,canonical:u,facebook:p,openGraph:l,additionalMetaTags:m,twitter:f,titleTemplate:g,defaultTitle:y,mobileAlternate:v,languageAlternates:_,additionalLinkTags:b}):r.createElement(h,{title:e,themeColor:n,noindex:o,nofollow:s,robotsProps:a,description:c,canonical:u,facebook:p,openGraph:l,additionalMetaTags:m,twitter:f,titleTemplate:g,defaultTitle:y,mobileAlternate:v,languageAlternates:_,additionalLinkTags:b}))},m=Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"});new RegExp("["+Object.keys(m).join("")+"]","g")},6840:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(90163)}])},23676:function(t,e,n){"use strict";var r=n(95659);function i(t){if("boolean"===typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const e=(0,r.Gd)().getClient(),n=t||e&&e.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}function o(t,e){let n=0;for(let r=t.length-1;r>=0;r--){const e=t[r];"."===e?t.splice(r,1):".."===e?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}const s=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function a(t){const e=t.length>1024?`<truncated>${t.slice(-1024)}`:t,n=s.exec(e);return n?n.slice(1):[]}function c(...t){let e="",n=!1;for(let r=t.length-1;r>=-1&&!n;r--){const i=r>=0?t[r]:"/";i&&(e=`${i}/${e}`,n="/"===i.charAt(0))}return e=o(e.split("/").filter((t=>!!t)),!n).join("/"),(n?"/":"")+e||"."}function u(t){let e=0;for(;e<t.length&&""===t[e];e++);let n=t.length-1;for(;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}class l{static __initStatic(){this.id="RewriteFrames"}constructor(t={}){l.prototype.__init.call(this),this.name=l.id,t.root&&(this._root=t.root),this._prefix=t.prefix||"app:///",t.iteratee&&(this._iteratee=t.iteratee)}setupOnce(t,e){t((t=>{const n=e().getIntegration(l);return n?n.process(t):t}))}process(t){let e=t;return t.exception&&Array.isArray(t.exception.values)&&(e=this._processExceptionsEvent(e)),e}__init(){this._iteratee=t=>{if(!t.filename)return t;const e=/^[a-zA-Z]:\\/.test(t.filename)||t.filename.includes("\\")&&!t.filename.includes("/"),n=/^\//.test(t.filename);if(e||n){const n=e?t.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):t.filename,r=this._root?function(t,e){t=c(t).slice(1),e=c(e).slice(1);const n=u(t.split("/")),r=u(e.split("/")),i=Math.min(n.length,r.length);let o=i;for(let a=0;a<i;a++)if(n[a]!==r[a]){o=a;break}let s=[];for(let a=o;a<n.length;a++)s.push("..");return s=s.concat(r.slice(o)),s.join("/")}(this._root,n):function(t,e){let n=a(t)[2];return e&&n.slice(-1*e.length)===e&&(n=n.slice(0,n.length-e.length)),n}(n);t.filename=`${this._prefix}${r}`}return t}}_processExceptionsEvent(t){try{return{...t,exception:{...t.exception,values:t.exception.values.map((t=>({...t,...t.stacktrace&&{stacktrace:this._processStacktrace(t.stacktrace)}})))}}}catch(e){return t}}_processStacktrace(t){return{...t,frames:t&&t.frames&&t.frames.map((t=>this._iteratee(t)))}}}l.__initStatic();const d="7.64.0";var h=n(57321);const p=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],f=[/^.*healthcheck.*$/,/^.*healthy.*$/,/^.*live.*$/,/^.*ready.*$/,/^.*heartbeat.*$/,/^.*\/health$/,/^.*\/healthz$/];class m{static __initStatic(){this.id="InboundFilters"}constructor(t={}){this.name=m.id,this._options=t}setupOnce(t,e){const n=t=>{const n=e();if(n){const e=n.getIntegration(m);if(e){const r=n.getClient(),i=r?r.getOptions():{},o=function(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:p],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[],...t.disableTransactionDefaults?[]:f],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(e._options,i);return function(t,e){if(e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(e){}return!1}(t))return!0;
74if(function(t,e){if(t.type||!e||!e.length)return!1;return function(t){if(t.message)return[t.message];if(t.exception){const{values:n}=t.exception;try{const{type:t="",value:e=""}=n&&n[n.length-1]||{};return[`${e}`,`${t}: ${e}`]}catch(e){return[]}}return[]}(t).some((t=>(0,h.U0)(t,e)))}(t,e.ignoreErrors))return!0;if(function(t,e){if("transaction"!==t.type||!e||!e.length)return!1;const n=t.transaction;return!!n&&(0,h.U0)(n,e)}(t,e.ignoreTransactions))return!0;if(function(t,e){if(!e||!e.length)return!1;const n=g(t);return!!n&&(0,h.U0)(n,e)}(t,e.denyUrls))return!0;if(!function(t,e){if(!e||!e.length)return!0;const n=g(t);return!n||(0,h.U0)(n,e)}(t,e.allowUrls))return!0;return!1}(t,o)?null:t}}return t};n.id=this.name,t(n)}}function g(t){try{let n;try{n=t.exception.values[0].stacktrace.frames}catch(e){}return n?function(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch(n){return null}}m.__initStatic();var y=n(20535);let v;class _{static __initStatic(){this.id="FunctionToString"}constructor(){this.name=_.id}setupOnce(){v=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=(0,y.HK)(this)||this;return v.apply(e,t)}}catch(t){}}}_.__initStatic();var b=n(62844),w=n(10350);const k=[];function S(t){const e=t.defaultIntegrations||[],n=t.integrations;let r;e.forEach((t=>{t.isDefaultInstance=!0})),r=Array.isArray(n)?[...e,...n]:"function"===typeof n?(0,b.lE)(n(e)):e;const i=function(t){const e={};return t.forEach((t=>{const{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)})),Object.keys(e).map((t=>e[t]))}(r),o=function(t,e){for(let n=0;n<t.length;n++)if(!0===e(t[n]))return n;return-1}(i,(t=>"Debug"===t.name));if(-1!==o){const[t]=i.splice(o,1);i.push(t)}return i}function x(t,e){e[t.name]=t,-1===k.indexOf(t.name)&&(t.setupOnce(w.c,r.Gd),k.push(t.name))}var E=n(25108);const T=/\(error: (.*)\)/,C=/captureMessage|captureException/;function R(...t){const e=t.sort(((t,e)=>t[0]-e[0])).map((t=>t[1]));return(t,n=0)=>{const r=[],i=t.split("\n");for(let o=n;o<i.length;o++){const t=i[o];if(t.length>1024)continue;const n=T.test(t)?t.replace(T,"$1"):t;if(!n.match(/\S*Error: /)){for(const t of e){const e=t(n);if(e){r.push(e);break}}if(r.length>=50)break}}return function(t){if(!t.length)return[];const e=Array.from(t);/sentryWrapped/.test(e[e.length-1].function||"")&&e.pop();e.reverse(),C.test(e[e.length-1].function||"")&&(e.pop(),C.test(e[e.length-1].function||"")&&e.pop());return e.slice(0,50).map((t=>({...t,filename:t.filename||e[e.length-1].filename,function:t.function||"?"})))}(r)}}const O="<anonymous>";function I(t){try{return t&&"function"===typeof t&&t.name||O}catch(e){return O}}var A=n(71235);const Z=(0,A.Rf)();function M(){if(!("fetch"in Z))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function P(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}var D=n(67597),L=n(12343);const N=(0,A.Rf)();const z=(0,A.Rf)(),j={},F={};function $(t){if(!F[t])switch(F[t]=!0,t){case"console":!function(){if(!("console"in z))return;L.RU.forEach((function(t){t in z.console&&(0,y.hl)(z.console,t,(function(e){return function(...n){U("console",{args:n,level:t}),e&&e.apply(z.console,n)}}))}))}();break;case"dom":!function(){if(!("document"in z))return;const t=U.bind(null,"dom"),e=K(t,!0);z.document.addEventListener("click",e,!1),z.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((e=>{const n=z[e]&&z[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,y.hl)(n,"addEventListener",(function(e){return function(n,r,i){if("click"===n||"keypress"==n)try{const r=this,o=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},s=o[n]=o[n]||{refCount:0};if(!s.handler){const r=K(t);s.handler=r,e.call(this,n,r,i)}s.refCount++}catch(o){}return e.call(this,n,r,i)}})),(0,y.hl)(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{const n=this,i=n.__sentry_instrumentation_handlers__||{},o=i[e];o&&(o.refCount--,o.refCount<=0&&(t.call(this,e,o.handler,r),o.handler=void 0,delete i[e]),0===Object.keys(i).length&&delete n.__sentry_instrumentation_handlers__)}catch(i){}return t.call(this,e,n,r)}})))}))}();break;case"xhr":!function(){if(!("XMLHttpRequest"in z))return;const t=XMLHttpRequest.prototype;(0,y.hl)(t,"open",(function(t){return function(...e){const n=e[1],r=this.__sentry_xhr_v2__={method:(0,D.HD)(e[0])?e[0].toUpperCase():e[0],url:e[1],request_headers:{}};
74(0,D.HD)(n)&&"POST"===r.method&&n.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const i=()=>{const t=this.__sentry_xhr_v2__;if(t&&4===this.readyState){try{t.status_code=this.status}catch(n){}U("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&"function"===typeof this.onreadystatechange?(0,y.hl)(this,"onreadystatechange",(function(t){return function(...e){return i(),t.apply(this,e)}})):this.addEventListener("readystatechange",i),(0,y.hl)(this,"setRequestHeader",(function(t){return function(...e){const[n,r]=e,i=this.__sentry_xhr_v2__;return i&&(i.request_headers[n.toLowerCase()]=r),t.apply(this,e)}})),t.apply(this,e)}})),(0,y.hl)(t,"send",(function(t){return function(...e){const n=this.__sentry_xhr_v2__;return n&&void 0!==e[0]&&(n.body=e[0]),U("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}}))}();break;case"fetch":!function(){if(!function(){if(!M())return!1;if(P(Z.fetch))return!0;let t=!1;const e=Z.document;if(e&&"function"===typeof e.createElement)try{const n=e.createElement("iframe");
74n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=P(n.contentWindow.fetch)),e.head.removeChild(n)}catch(n){}return t}())return;(0,y.hl)(z,"fetch",(function(t){return function(...e){const{method:n,url:r}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){const[e,n]=t;return{url:G(e),method:q(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:G(e),method:q(e,"method")?String(e.method).toUpperCase():"GET"}}(e),i={args:e,fetchData:{method:n,url:r},startTimestamp:Date.now()};return U("fetch",{...i}),t.apply(z,e).then((t=>(U("fetch",{...i,endTimestamp:Date.now(),response:t}),t)),(t=>{throw U("fetch",{...i,endTimestamp:Date.now(),error:t}),t}))}}))}();break;case"history":!function(){if(!function(){const t=N.chrome,e=t&&t.app&&t.app.runtime,n="history"in N&&!!N.history.pushState&&!!N.history.replaceState;return!e&&n}())return;const t=z.onpopstate;function e(t){return function(...e){const n=e.length>2?e[2]:void 0;if(n){const t=H,e=String(n);H=e,U("history",{from:t,to:e})}return t.apply(this,e)}}z.onpopstate=function(...e){const n=z.location.href,r=H;if(H=n,U("history",{from:r,to:n}),t)try{return t.apply(this,e)}catch(i){}},(0,y.hl)(z.history,"pushState",e),(0,y.hl)(z.history,"replaceState",e)}();break;case"error":Q=z.onerror,z.onerror=function(t,e,n,r,i){return U("error",{column:r,error:i,line:n,msg:t,url:e}),!(!Q||Q.__SENTRY_LOADER__)&&Q.apply(this,arguments)},z.onerror.__SENTRY_INSTRUMENTED__=!0;break;case"unhandledrejection":Y=z.onunhandledrejection,z.onunhandledrejection=function(t){return U("unhandledrejection",t),!(Y&&!Y.__SENTRY_LOADER__)||Y.apply(this,arguments)},z.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0;break;default:return}}function B(t,e){j[t]=j[t]||[],j[t].push(e),$(t)}function U(t,e){if(t&&j[t])for(const r of j[t]||[])try{r(e)}catch(n){}}function q(t,e){return!!t&&"object"===typeof t&&!!t[e]}function G(t){return"string"===typeof t?t:t?q(t,"url")?t.url:t.toString?t.toString():"":""}let H;let W,V;function K(t,e=!1){return n=>{if(!n||V===n)return;if(function(t){if("keypress"!==t.type)return!1;try{const e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(e){}return!0}(n))return;const r="keypress"===n.type?"input":n.type;(void 0===W||function(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(n){}return!1}(V,n))&&(t({event:n,name:r,global:e}),V=n),clearTimeout(W),W=z.setTimeout((()=>{W=void 0}),1e3)}}let Q=null;let Y=null;var X=n(25108);const J=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function tt(t,e=!1){const{host:n,path:r,pass:i,port:o,projectId:s,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${s}`}function et(t){const e=J.exec(t);if(!e)return void X.error(`Invalid Sentry Dsn: ${t}`);const[n,r,i="",o,s="",a]=e.slice(1);let c="",u=a;const l=u.split("/");if(l.length>1&&(c=l.slice(0,-1).join("/"),u=l.pop()),u){const t=u.match(/^\d+/);t&&(u=t[0])}return nt({host:o,pass:i,path:c,projectId:u,port:s,protocol:n,publicKey:r})}function nt(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}var rt=n(96893);function it(t,e=100,n=1/0){try{return st("",t,e,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function ot(t,e=3,n=102400){const r=it(t,e);return i=r,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(i))>n?ot(t,e-1,n):r;var i}function st(t,e,r=1/0,i=1/0,o=function(){const t="function"===typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(let t=0;t<e.length;t++)if(e[t]===n)return!0;return e.push(n),!1},function(n){if(t)e.delete(n);else for(let t=0;t<e.length;t++)if(e[t]===n){e.splice(t,1);break}}]}()){const[s,a]=o;if(null==e||["number","boolean","string"].includes(typeof e)&&!(0,D.i2)(e))return e;const c=function(t,e){try{if("domain"===t&&e&&"object"===typeof e&&e._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if("undefined"!==typeof n.g&&e===n.g)return"[Global]";if("undefined"!==typeof window&&e===window)return"[Window]";if("undefined"!==typeof document&&e===document)return"[Document]";if((0,D.Cy)(e))return"[SyntheticEvent]";if("number"===typeof e&&e!==e)return"[NaN]";if("function"===typeof e)return`[Function: ${I(e)}]`;if("symbol"===typeof e)return`[${String(e)}]`;if("bigint"===typeof e)return`[BigInt: ${String(e)}]`;const r=function(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}(e);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(r){return`**non-serializable** (${r})`}}(t,e);if(!c.startsWith("[object "))return c;if(e.__sentry_skip_normalization__)return e;const u="number"===typeof e.__sentry_override_normalization_depth__?e.__sentry_override_normalization_depth__:r;if(0===u)return c.replace("object ","");if(s(e))return"[Circular ~]";const l=e;if(l&&"function"===typeof l.toJSON)try{return st("",l.toJSON(),u-1,i,o)}catch(f){}const d=Array.isArray(e)?[]:{};let h=0;const p=(0,y.Sh)(e);for(const n in p){if(!Object.prototype.hasOwnProperty.call(p,n))continue;if(h>=i){d[n]="[MaxProperties ~]";break}const t=p[n];d[n]=st(n,t,u-1,i,o),h++}return a(e),d}function at(t,e=[]){return[t,e]}function ct(t,e){const[n,r]=t;return[n,[...r,e]]}function ut(t,e){const n=t[1];for(const r of n){if(e(r,r[0].type))return!0}return!1}function lt(t,e){return(e||new TextEncoder).encode(t)}function dt(t,e){const[n,r]=t;let i=JSON.stringify(n);function o(t){"string"===typeof i?i="string"===typeof t?i+t:[lt(i,e),t]:i.push("string"===typeof t?lt(t,e):t)}for(const a of r){const[t,e]=a;if(o(`\n${JSON.stringify(t)}\n`),"string"===typeof e||e instanceof Uint8Array)o(e);else{let t;try{t=JSON.stringify(e)}catch(s){t=JSON.stringify(it(e))}o(t)}}return"string"===typeof i?i:function(t){const e=t.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(e);let r=0;for(const i of t)n.set(i,r),r+=i.length;return n}(i)}function ht(t,e){const n="string"===typeof t.data?lt(t.data,e):t.data;return[(0,y.Jr)({type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),n]}const pt={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor"};function ft(t){return pt[t]}function mt(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function gt(t,e,n,r){const i=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&{sdk:e},...!!n&&{dsn:tt(r)},...i&&{trace:(0,y.Jr)({...i})}}}
74class yt extends Error{constructor(t,e="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=e}}function vt(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function _t(t,e={}){const n="string"===typeof e?e:e.tunnel,r="string"!==typeof e&&e._metadata?e._metadata.sdk:void 0;return n||`${function(t){return`${vt(t)}${t.projectId}/envelope/`}(t)}?${function(t,e){return(0,y._j)({sentry_key:t.publicKey,sentry_version:"7",...e&&{sentry_client:`${e.name}/${e.version}`}})}(t,r)}`}var bt=n(9015),wt=n(51131);function kt(t,e,n){const r=e.getOptions(),{publicKey:i}=e.getDsn()||{},{segment:o}=n&&n.getUser()||{},s=(0,y.Jr)({environment:r.environment||wt.J,release:r.release,user_segment:o,public_key:i,trace_id:t});return e.emit&&e.emit("createDsc",s),s}var St=n(21170);function xt(t,e,n,r){const{normalizeDepth:i=3,normalizeMaxBreadth:o=1e3}=t,s={...e,event_id:e.event_id||n.event_id||(0,b.DM)(),timestamp:e.timestamp||(0,St.yW)()},a=n.integrations||t.integrations.map((t=>t.name));!function(t,e){const{environment:n,release:r,dist:i,maxValueLength:o=250}=e;"environment"in t||(t.environment="environment"in e?n:wt.J);void 0===t.release&&void 0!==r&&(t.release=r);void 0===t.dist&&void 0!==i&&(t.dist=i);t.message&&(t.message=(0,h.$G)(t.message,o));const s=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=(0,h.$G)(s.value,o));const a=t.request;a&&a.url&&(a.url=(0,h.$G)(a.url,o))}(s,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(s,a),void 0===e.type&&function(t,e){const n=A.n2._sentryDebugIds;if(!n)return;let r;const i=Et.get(e);i?r=i:(r=new Map,Et.set(e,r));const o=Object.keys(n).reduce(((t,i)=>{let o;const s=r.get(i);s?o=s:(o=e(i),r.set(i,o));for(let e=o.length-1;e>=0;e--){const r=o[e];if(r.filename){t[r.filename]=n[i];break}}return t}),{});try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.filename&&(t.debug_id=o[t.filename])}))}))}catch(s){}}(s,t.stackParser);let c=r;n.captureContext&&(c=w.s.clone(c).update(n.captureContext));let u=(0,rt.WD)(s);if(c){if(c.getAttachments){const t=[...n.attachments||[],...c.getAttachments()];t.length&&(n.attachments=t)}u=c.applyToEvent(s,n)}return u.then((t=>(t&&function(t){const e={};try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)}))}))}catch(r){}if(0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.keys(e).forEach((t=>{n.push({type:"sourcemap",code_file:t,debug_id:e[t]})}))}(t),"number"===typeof i&&i>0?function(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((t=>({...t,...t.data&&{data:it(t.data,e,n)}})))},...t.user&&{user:it(t.user,e,n)},...t.contexts&&{contexts:it(t.contexts,e,n)},...t.extra&&{extra:it(t.extra,e,n)}};t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=it(t.contexts.trace.data,e,n)));t.spans&&(r.spans=t.spans.map((t=>(t.data&&(t.data=it(t.data,e,n)),t))));return r}(t,i,o):t)))}const Et=new WeakMap;function Tt(t){return void 0===t.type}function Ct(t){return"transaction"===t.type}var Rt=n(68518);function Ot(t,e){const n=At(t,e),r={type:e&&e.name,value:Mt(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function It(t,e){return{exception:{values:[Ot(t,e)]}}}function At(t,e){const n=e.stacktrace||e.stack||"",r=function(t){if(t){if("number"===typeof t.framesToPop)return t.framesToPop;if(Zt.test(t.message))return 1}return 0}(e);try{return t(n,r)}catch(i){}return[]}const Zt=/Minified React error #\d+;/i;function Mt(t){const e=t&&t.message;return e?e.error&&"string"===typeof e.error.message?e.error.message:e:"No error message"}function Pt(t,e,n,i,o){let s;if((0,D.VW)(e)&&e.error){return It(t,e.error)}if((0,D.TX)(e)||(0,D.fm)(e)){const r=e;if("stack"in e)s=It(t,e);else{const e=r.name||((0,D.TX)(r)?"DOMError":"DOMException"),o=r.message?`${e}: ${r.message}`:e;s=Dt(t,o,n,i),(0,b.Db)(s,o)}return"code"in r&&(s.tags={...s.tags,"DOMException.code":`${r.code}`}),s}if((0,D.VZ)(e))return It(t,e);if((0,D.PO)(e)||(0,D.cO)(e)){return s=function(t,e,n,i){const o=(0,r.Gd)().getClient(),s=o&&o.getOptions().normalizeDepth,a={exception:{values:[{type:(0,D.cO)(e)?e.constructor.name:i?"UnhandledRejection":"Error",value:Lt(e,{isUnhandledRejection:i})}]},extra:{__serialized__:ot(e,s)}};if(n){const e=At(t,n);e.length&&(a.exception.values[0].stacktrace={frames:e})}return a}(t,e,n,o),(0,b.EG)(s,{synthetic:!0}),s}return s=Dt(t,e,n,i),(0,b.Db)(s,`${e}`,void 0),(0,b.EG)(s,{synthetic:!0}),s}function Dt(t,e,n,r){const i={message:e};if(r&&n){const r=At(t,n);r.length&&(i.exception={values:[{value:e,stacktrace:{frames:r}}]})}return i}function Lt(t,{isUnhandledRejection:e}){const n=(0,y.zf)(t),r=e?"promise rejection":"exception";if((0,D.VW)(t))return`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``;if((0,D.cO)(t)){return`Event \`${function(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch(e){}}(t)}\` (type=${t.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}var Nt=n(64487);
74const zt=A.n2;let jt=0;function Ft(){return jt>0}function $t(){jt++,setTimeout((()=>{jt--}))}function Bt(t,e={},n){if("function"!==typeof t)return t;try{const e=t.__sentry_wrapped__;if(e)return e;if((0,y.HK)(t))return t}catch(i){return t}const r=function(){const r=Array.prototype.slice.call(arguments);try{n&&"function"===typeof n&&n.apply(this,arguments);const i=r.map((t=>Bt(t,e)));return t.apply(this,i)}catch(i){throw $t(),(0,Nt.$e)((t=>{t.addEventProcessor((t=>(e.mechanism&&((0,b.Db)(t,void 0,void 0),(0,b.EG)(t,e.mechanism)),t.extra={...t.extra,arguments:r},t))),(0,Nt.Tb)(i)})),i}};try{for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=t[e])}catch(o){}(0,y.$Q)(r,t),(0,y.xp)(t,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>t.name})}catch(o){}return r}var Ut=n(58464);const qt=["fatal","error","warning","log","info","debug"];function Gt(t){return"warn"===t?"warning":qt.includes(t)?t:"log"}function Ht(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}const Wt=1024,Vt="Breadcrumbs";class Kt{static __initStatic(){this.id=Vt}constructor(t){this.name=Kt.id,this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){this.options.console&&B("console",Qt),this.options.dom&&B("dom",function(t){function e(e){let n,i="object"===typeof t?t.serializeAttribute:void 0,o="object"===typeof t&&"number"===typeof t.maxStringLength?t.maxStringLength:void 0;o&&o>Wt&&(o=Wt),"string"===typeof i&&(i=[i]);try{const t=e.event;n=function(t){return!!t&&!!t.target}(t)?(0,Ut.Rt)(t.target,{keyAttrs:i,maxStringLength:o}):(0,Ut.Rt)(t,{keyAttrs:i,maxStringLength:o})}catch(s){n="<unknown>"}0!==n.length&&(0,r.Gd)().addBreadcrumb({category:`ui.${e.name}`,message:n},{event:e.event,name:e.name,global:e.global})}return e}(this.options.dom)),this.options.xhr&&B("xhr",Yt),this.options.fetch&&B("fetch",Xt),this.options.history&&B("history",Jt)}addSentryBreadcrumb(t){this.options.sentry&&(0,r.Gd)().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,b.jH)(t)},{event:t})}}function Qt(t){for(let n=0;n<t.args.length;n++)if("ref=Ref<"===t.args[n]){t.args[n+1]="viewRef";break}const e={category:"console",data:{arguments:t.args,logger:"console"},level:Gt(t.level),message:(0,h.nK)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message=`Assertion failed: ${(0,h.nK)(t.args.slice(1)," ")||"console.assert"}`,e.data.arguments=t.args.slice(1)}(0,r.Gd)().addBreadcrumb(e,{input:t.args,level:t.level})}function Yt(t){const{startTimestamp:e,endTimestamp:n}=t,i=t.xhr.__sentry_xhr_v2__;if(!e||!n||!i)return;const{method:o,url:s,status_code:a,body:c}=i,u={method:o,url:s,status_code:a},l={xhr:t.xhr,input:c,startTimestamp:e,endTimestamp:n};(0,r.Gd)().addBreadcrumb({category:"xhr",data:u,type:"http"},l)}function Xt(t){const{startTimestamp:e,endTimestamp:n}=t;if(n&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){const i=t.fetchData,o={data:t.error,input:t.args,startTimestamp:e,endTimestamp:n};(0,r.Gd)().addBreadcrumb({category:"fetch",data:i,level:"error",type:"http"},o)}else{const i={...t.fetchData,status_code:t.response&&t.response.status},o={input:t.args,response:t.response,startTimestamp:e,endTimestamp:n};(0,r.Gd)().addBreadcrumb({category:"fetch",data:i,type:"http"},o)}}function Jt(t){let e=t.from,n=t.to;const i=Ht(zt.location.href);let o=Ht(e);const s=Ht(n);o.path||(o=i),i.protocol===s.protocol&&i.host===s.host&&(n=s.relative),i.protocol===o.protocol&&i.host===o.host&&(e=o.relative),(0,r.Gd)().addBreadcrumb({category:"navigation",data:{from:e,to:n}})}Kt.__initStatic();class te extends class{constructor(t){if(this._options=t,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},t.dsn&&(this._dsn=function(t){const e="string"===typeof t?et(t):nt(t);if(e)return e}(t.dsn)),this._dsn){const e=_t(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}}captureException(t,e,n){if((0,b.YO)(t))return;let r=e&&e.event_id;return this._process(this.eventFromException(t,e).then((t=>this._captureEvent(t,e,n))).then((t=>{r=t}))),r}captureMessage(t,e,n,r){let i=n&&n.event_id;const o=(0,D.pt)(t)?this.eventFromMessage(String(t),e,n):this.eventFromException(t,n);return this._process(o.then((t=>this._captureEvent(t,n,r))).then((t=>{i=t}
74))),i}captureEvent(t,e,n){if(e&&e.originalException&&(0,b.YO)(e.originalException))return;let r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((t=>{r=t}))),r}captureSession(t){this._isEnabled()&&("string"!==typeof t.release||(this.sendSession(t),(0,bt.CT)(t,{init:!1})))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const e=this._transport;return e?this._isClientDoneProcessing(t).then((n=>e.flush(t).then((t=>n&&t)))):(0,rt.WD)(!0)}close(t){return this.flush(t).then((t=>(this.getOptions().enabled=!1,t)))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=function(t){const e={};return t.forEach((t=>{t&&x(t,e)})),e}(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch(e){return null}}addIntegration(t){x(t,this._integrations)}sendEvent(t,e={}){if(this._dsn){let n=function(t,e,n,r){const i=mt(n),o=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n&&n.sdk);const s=gt(t,i,r,e);return delete t.sdkProcessingMetadata,at(s,[[{type:o},t]])}(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of e.attachments||[])n=ct(n,ht(t,this._options.transportOptions&&this._options.transportOptions.textEncoder));const r=this._sendEnvelope(n);r&&r.then((e=>this.emit("afterSendEvent",t,e)),null)}}sendSession(t){if(this._dsn){const e=function(t,e,n,r){const i=mt(n);return at({sent_at:(new Date).toISOString(),...i&&{sdk:i},...!!r&&{dsn:tt(e)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])}(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(e)}}recordDroppedEvent(t,e,n){if(this._options.sendClientReports){const n=`${t}:${e}`;this._outcomes[n]=this._outcomes[n]+1||1}}on(t,e){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(e)}emit(t,...e){this._hooks[t]&&this._hooks[t].forEach((t=>t(...e)))}_updateSessionFromEvent(t,e){let n=!1,r=!1;const i=e.exception&&e.exception.values;if(i){r=!0;for(const t of i){const e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}}const o="ok"===t.status;(o&&0===t.errors||o&&n)&&((0,bt.CT)(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new rt.cW((e=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),e(!0)):(n+=1,t&&n>=t&&(clearInterval(r),e(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._dsn}_prepareEvent(t,e,n){const r=this.getOptions(),i=Object.keys(this._integrations);return!e.integrations&&i.length>0&&(e.integrations=i),xt(r,t,e,n).then((t=>{if(null===t)return t;const{propagationContext:e}=t.sdkProcessingMetadata||{};if(!(t.contexts&&t.contexts.trace)&&e){const{traceId:r,spanId:i,parentSpanId:o,dsc:s}=e;t.contexts={trace:{trace_id:r,span_id:i,parent_span_id:o},...t.contexts};const a=s||kt(r,this,n);t.sdkProcessingMetadata={dynamicSamplingContext:a,...t.sdkProcessingMetadata}}return t}))}_captureEvent(t,e={},n){return this._processEvent(t,e,n).then((t=>t.event_id),(t=>{0}))}_processEvent(t,e,n){const r=this.getOptions(),{sampleRate:i}=r;if(!this._isEnabled())return(0,rt.$2)(new yt("SDK not enabled, will not capture event.","log"));const o=Ct(t),s=Tt(t),a=t.type||"error",c=`before send for type \`${a}\``;if(s&&"number"===typeof i&&Math.random()>i)return this.recordDroppedEvent("sample_rate","error",t),(0,rt.$2)(new yt(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));const u="replay_event"===a?"replay":a;return this._prepareEvent(t,e,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",u,t),new yt("An event processor returned `null`, will not send event.","log");if(e.data&&!0===e.data.__sentry__)return n;const i=function(t,e,n){const{beforeSend:r,beforeSendTransaction:i}=t;if(Tt(e)&&r)return r(e,n);if(Ct(e)&&i)return i(e,n);return e}(r,n,e);return function(t,e){const n=`${e} must return \`null\` or a valid event.`;if((0,D.J8)(t))return t.then((t=>{if(!(0,D.PO)(t)&&null!==t)throw new yt(n);return t}),(t=>{throw new yt(`${e} rejected with ${t}`)}));if(!(0,D.PO)(t)&&null!==t)throw new yt(n);return t}(i,c)}
74)).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",u,t),new yt(`${c} returned \`null\`, will not send event.`,"log");const i=n&&n.getSession();!o&&i&&this._updateSessionFromEvent(i,r);const s=r.transaction_info;if(o&&s&&r.transaction!==t.transaction){const t="custom";r.transaction_info={...s,source:t}}return this.sendEvent(r,e),r})).then(null,(t=>{if(t instanceof yt)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new yt(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${t}`)}))}_process(t){this._numProcessing++,t.then((t=>(this._numProcessing--,t)),(t=>(this._numProcessing--,t)))}_sendEnvelope(t){if(this._transport&&this._dsn)return this.emit("beforeEnvelope",t),this._transport.send(t).then(null,(t=>{}))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map((e=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t[e]}}))}}{constructor(t){const e=zt.SENTRY_SDK_SOURCE||(0,Rt.S)();t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${e}:@sentry/browser`,version:d}],version:d},super(t),t.sendClientReports&&zt.document&&zt.document.addEventListener("visibilitychange",(()=>{"hidden"===zt.document.visibilityState&&this._flushOutcomes()}))}eventFromException(t,e){return function(t,e,n,r){const i=Pt(t,e,n&&n.syntheticException||void 0,r);return(0,b.EG)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),(0,rt.WD)(i)}(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return function(t,e,n="info",r,i){const o=Dt(t,e,r&&r.syntheticException||void 0,i);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),(0,rt.WD)(o)}(this._options.stackParser,t,e,n,this._options.attachStacktrace)}sendEvent(t,e){const n=this.getIntegrationById(Vt);n&&n.addSentryBreadcrumb&&n.addSentryBreadcrumb(t),super.sendEvent(t,e)}captureUserFeedback(t){if(!this._isEnabled())return;const e=function(t,{metadata:e,tunnel:n,dsn:r}){const i={event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&e.sdk&&{sdk:{name:e.sdk.name,version:e.sdk.version}},...!!n&&!!r&&{dsn:tt(r)}},o=function(t){return[{type:"user_report"},t]}(t);return at(i,[o])}(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}_flushOutcomes(){const t=this._clearOutcomes();if(0===t.length)return;if(!this._dsn)return;const e=(n=t,at((r=this._options.tunnel&&tt(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:i||(0,St.yW)(),discarded_events:n}]]));var n,r,i;this._sendEnvelope(e)}}class ee{static __initStatic(){this.id="GlobalHandlers"}constructor(t){this.name=ee.id,this._options={onerror:!0,onunhandledrejection:!0,...t},this._installFunc={onerror:ne,onunhandledrejection:re}}setupOnce(){Error.stackTraceLimit=50;const t=this._options;for(const e in t){const n=this._installFunc[e];n&&t[e]&&(e,n(),this._installFunc[e]=void 0)}}}function ne(){B("error",(t=>{const[e,n,r]=se();if(!e.getIntegration(ee))return;const{msg:i,url:o,line:s,column:a,error:c}=t;if(Ft()||c&&c.__sentry_own_request__)return;const u=void 0===c&&(0,D.HD)(i)?function(t,e,n,r){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let o=(0,D.VW)(t)?t.message:t,s="Error";const a=o.match(i);a&&(s=a[1],o=a[2]);return ie({exception:{values:[{type:s,value:o}]}},e,n,r)}(i,o,s,a):ie(Pt(n,c||i,void 0,r,!1),o,s,a);u.level="error",oe(e,c,u,"onerror")}))}function re(){B("unhandledrejection",(t=>{const[e,n,r]=se();if(!e.getIntegration(ee))return;let i=t;try{"reason"in t?i=t.reason:"detail"in t&&"reason"in t.detail&&(i=t.detail.reason)}catch(s){}if(Ft()||i&&i.__sentry_own_request__)return!0;const o=(0,D.pt)(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:Pt(n,i,void 0,r,!0);o.level="error",oe(e,i,o,"onunhandledrejection")}))}function ie(t,e,n,r){const i=t.exception=t.exception||{},o=i.values=i.values||[],s=o[0]=o[0]||{},a=s.stacktrace=s.stacktrace||{},c=a.frames=a.frames||[],u=isNaN(parseInt(r,10))?void 0:r,l=isNaN(parseInt(n,10))?void 0:n,d=(0,D.HD)(e)&&e.length>0?e:(0,Ut.l4)();return 0===c.length&&c.push({colno:u,filename:d,function:"?",in_app:!0,lineno:l}),t}function oe(t,e,n,r){(0,b.EG)(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function se(){const t=(0,r.Gd)(),e=t.getClient(),n=e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[t,n.stackParser,n.attachStacktrace]}ee.__initStatic();const ae=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class ce{static __initStatic(){this.id="TryCatch"}constructor(t){this.name=ce.id,this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){this._options.setTimeout&&(0,y.hl)(zt,"setTimeout",ue),this._options.setInterval&&(0,y.hl)(zt,"setInterval",ue),this._options.requestAnimationFrame&&(0,y.hl)(zt,"requestAnimationFrame",le),this._options.XMLHttpRequest&&"XMLHttpRequest"in zt&&(0,y.hl)(XMLHttpRequest.prototype,"send",de);const t=this._options.eventTarget;if(t){(Array.isArray(t)?t:ae).forEach(he)}}}function ue(t){return function(...e){const n=e[0];
74return e[0]=Bt(n,{mechanism:{data:{function:I(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}}function le(t){return function(e){return t.apply(this,[Bt(e,{mechanism:{data:{function:"requestAnimationFrame",handler:I(t)},handled:!0,type:"instrument"}})])}}function de(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((t=>{t in n&&"function"===typeof n[t]&&(0,y.hl)(n,t,(function(e){const n={mechanism:{data:{function:t,handler:I(e)},handled:!0,type:"instrument"}},r=(0,y.HK)(e);return r&&(n.mechanism.data.handler=I(r)),Bt(e,n)}))})),t.apply(this,e)}}function he(t){const e=zt,n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,y.hl)(n,"addEventListener",(function(e){return function(n,r,i){try{"function"===typeof r.handleEvent&&(r.handleEvent=Bt(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:I(r),target:t},handled:!0,type:"instrument"}}))}catch(o){}return e.apply(this,[n,Bt(r,{mechanism:{data:{function:"addEventListener",handler:I(r),target:t},handled:!0,type:"instrument"}}),i])}})),(0,y.hl)(n,"removeEventListener",(function(t){return function(e,n,r){const i=n;try{const n=i&&i.__sentry_wrapped__;n&&t.call(this,e,n,r)}catch(o){}return t.call(this,e,i,r)}})))}function pe(t,e,n=250,r,i,o,s){if(!o.exception||!o.exception.values||!s||!(0,D.V9)(s.originalException,Error))return;const a=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;var c,u;a&&(o.exception.values=(c=fe(t,e,i,s.originalException,r,o.exception.values,a,0),u=n,c.map((t=>(t.value&&(t.value=(0,h.$G)(t.value,u)),t)))))}function fe(t,e,n,r,i,o,s,a){if(o.length>=n+1)return o;let c=[...o];if((0,D.V9)(r[i],Error)){me(s,a);const o=t(e,r[i]),u=c.length;ge(o,i,u,a),c=fe(t,e,n,r[i],i,[o,...c],o,u)}return Array.isArray(r.errors)&&r.errors.forEach(((r,o)=>{if((0,D.V9)(r,Error)){me(s,a);const u=t(e,r),l=c.length;ge(u,`errors[${o}]`,l,a),c=fe(t,e,n,r,i,[u,...c],u,l)}})),c}function me(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,is_exception_group:!0,exception_id:e}}function ge(t,e,n,r){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:r}}ce.__initStatic();class ye{static __initStatic(){this.id="LinkedErrors"}constructor(t={}){this.name=ye.id,this._key=t.key||"cause",this._limit=t.limit||5}setupOnce(t,e){t(((t,n)=>{const r=e(),i=r.getClient(),o=r.getIntegration(ye);if(!i||!o)return t;const s=i.getOptions();return pe(Ot,s.stackParser,s.maxValueLength,o._key,o._limit,t,n),t}))}}ye.__initStatic();class ve{static __initStatic(){this.id="HttpContext"}constructor(){this.name=ve.id}setupOnce(){(0,w.c)((t=>{if((0,r.Gd)().getIntegration(ve)){if(!zt.navigator&&!zt.location&&!zt.document)return t;const e=t.request&&t.request.url||zt.location&&zt.location.href,{referrer:n}=zt.document||{},{userAgent:r}=zt.navigator||{},i={...t.request&&t.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},o={...t.request,...e&&{url:e},headers:i};return{...t,request:o}}return t}))}}ve.__initStatic();class _e{static __initStatic(){this.id="Dedupe"}constructor(){this.name=_e.id}setupOnce(t,e){const n=t=>{if(t.type)return t;const n=e().getIntegration(_e);if(n){try{if(function(t,e){if(!e)return!1;if(function(t,e){const n=t.message,r=e.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!we(t,e))return!1;if(!be(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){const n=ke(e),r=ke(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!we(t,e))return!1;if(!be(t,e))return!1;return!0}(t,e))return!0;return!1}(t,n._previousEvent))return null}catch(r){return n._previousEvent=t}return n._previousEvent=t}return t};n.id=this.name,t(n)}}function be(t,e){let n=Se(t),r=Se(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let i=0;i<r.length;i++){const t=r[i],e=n[i];if(t.filename!==e.filename||t.lineno!==e.lineno||t.colno!==e.colno||t.function!==e.function)return!1}return!0}function we(t,e){let n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;
74if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(i){return!1}}function ke(t){return t.exception&&t.exception.values&&t.exception.values[0]}function Se(t){const e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(n){return}}_e.__initStatic();const xe="?";function Ee(t,e,n,r){const i={filename:t,function:e,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}const Te=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Ce=/\((\S*)(?::(\d+))(?::(\d+))\)/,Re=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Oe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Ie=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Ae=R(...[[30,t=>{const e=Te.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){const t=Ce.exec(e[2]);t&&(e[2]=t[1],e[3]=t[2],e[4]=t[3])}const[t,n]=Ze(e[1]||xe,e[2]);return Ee(n,t,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],[50,t=>{const e=Re.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const t=Oe.exec(e[3]);t&&(e[1]=e[1]||"eval",e[3]=t[1],e[4]=t[2],e[5]="")}let t=e[3],n=e[1]||xe;return[n,t]=Ze(n,t),Ee(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}],[40,t=>{const e=Ie.exec(t);return e?Ee(e[2],e[1]||xe,+e[3],e[4]?+e[4]:void 0):void 0}]]),Ze=(t,e)=>{const n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:xe,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]};function Me(t){const e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(r){if(!(void 0===t||e.length<t))return(0,rt.$2)(new yt("Not adding Promise because buffer limit was reached."));const i=r();return-1===e.indexOf(i)&&e.push(i),i.then((()=>n(i))).then(null,(()=>n(i).then(null,(()=>{})))),i},drain:function(t){return new rt.cW(((n,r)=>{let i=e.length;if(!i)return n(!0);const o=setTimeout((()=>{t&&t>0&&n(!1)}),t);e.forEach((t=>{(0,rt.WD)(t).then((()=>{--i||(clearTimeout(o),n(!0))}),r)}))}))}}}function Pe(t,{statusCode:e,headers:n},r=Date.now()){const i={...t},o=n&&n["x-sentry-rate-limits"],s=n&&n["retry-after"];if(o)for(const a of o.trim().split(",")){const[t,e]=a.split(":",2),n=parseInt(t,10),o=1e3*(isNaN(n)?60:n);if(e)for(const s of e.split(";"))i[s]=r+o;else i.all=r+o}else s?i.all=r+function(t,e=Date.now()){const n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${t}`);return isNaN(r)?6e4:r-e}(s,r):429===e&&(i.all=r+6e4);return i}function De(t,e,n=Me(t.bufferSize||30)){let r={};function i(i){const o=[];if(ut(i,((e,n)=>{const i=ft(n);if(function(t,e,n=Date.now()){return function(t,e){return t[e]||t.all||0}(t,e)>n}(r,i)){const r=Le(e,n);t.recordDroppedEvent("ratelimit_backoff",i,r)}else o.push(e)})),0===o.length)return(0,rt.WD)();const s=at(i[0],o),a=e=>{ut(s,((n,r)=>{const i=Le(n,r);t.recordDroppedEvent(e,ft(r),i)}))};return n.add((()=>e({body:dt(s,t.textEncoder)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode),r=Pe(r,t),t)),(t=>{throw a("network_error"),t})))).then((t=>t),(t=>{if(t instanceof yt)return a("queue_overflow"),(0,rt.WD)();throw t}))}return i.__sentry__baseTransport__=!0,{send:i,flush:t=>n.drain(t)}}function Le(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}let Ne;function ze(t,e=function(){if(Ne)return Ne;if(P(zt.fetch))return Ne=zt.fetch.bind(zt);const t=zt.document;let e=zt.fetch;if(t&&"function"===typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(n){}return Ne=e.bind(zt)}()){let n=0,r=0;return De(t,(function(i){const o=i.body.length;n+=o,r++;const s={body:i.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&r<15,...t.fetchOptions};try{return e(t.url,s).then((t=>(n-=o,r--,{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}})))}catch(a){return Ne=void 0,n-=o,r--,(0,rt.$2)(a)}}))}function je(t){return De(t,(function(e){return new rt.cW(((n,r)=>{const i=new XMLHttpRequest;i.onerror=r,i.onreadystatechange=()=>{4===i.readyState&&n({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",t.url);for(const e in t.headers)Object.prototype.hasOwnProperty.call(t.headers,e)&&i.setRequestHeader(e,t.headers[e]);i.send(e.body)}))}))}const Fe=[new m,new _,new ce,new Kt,new ee,new ye,new _e,new ve];function $e(t={}){void 0===t.defaultIntegrations&&(t.defaultIntegrations=Fe),void 0===t.release&&("string"===typeof __SENTRY_RELEASE__&&(t.release=__SENTRY_RELEASE__),zt.SENTRY_RELEASE&&zt.SENTRY_RELEASE.id&&(t.release=zt.SENTRY_RELEASE.id)),void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0);const e={...t,stackParser:(n=t.stackParser||Ae,Array.isArray(n)?R(...n):n),integrations:S(t),transport:t.transport||(M()?ze:je)};var n;!function(t,e){!0===e.debug&&E.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");const n=(0,r.Gd)();n.getScope().update(e.initialScope);const i=new t(e);n.bindClient(i)}(te,e),t.autoSessionTracking&&function(){if("undefined"===typeof zt.document)return;const t=(0,r.Gd)();if(!t.captureSession)return;Be(t),B("history",(({from:t,to:e})=>{void 0!==t&&t!==e&&Be((0,r.Gd)())}))}()}function Be(t){t.startSession({ignoreDuration:!0}),t.captureSession()}const Ue="baggage",qe="sentry-",Ge=/^sentry-/;function He(t){if(!t)return;return function(t){if(0===Object.keys(t).length)return;return Object.entries(t).reduce(((t,[e,n],r)=>{const i=`${encodeURIComponent(e)}=${encodeURIComponent(n)}`,o=0===r?i:`${t},${i}`;return o.length>8192?t:o}),"")}(Object.entries(t).reduce(((t,[e,n])=>(n&&(t[`sentry-${e}`]=n),t)),{}))}function We(t){return t.split(",").map((t=>t.split("=").map((t=>decodeURIComponent(t.trim()))))).reduce(((t,[e,n])=>(t[e]=n,t)),{})}const Ve=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Ke(t,e){const n=function(t){if(!t)return;const e=t.match(Ve);if(!e)return;let n;return"1"===e[3]?n=!0:"0"===e[3]&&(n=!1),{traceId:e[1],parentSampled:n,parentSpanId:e[2]}}(t),r=function(t){if(!(0,D.HD)(t)&&!Array.isArray(t))return;let e={};if(Array.isArray(t))e=t.reduce(((t,e)=>({...t,...We(e)})),{});else{if(!t)return;e=We(t)}const n=Object.entries(e).reduce(((t,[e,n])=>(e.match(Ge)&&(t[e.slice(qe.length)]=n),t)),{});return Object.keys(n).length>0?n:void 0}(e),{traceId:i,parentSpanId:o,parentSampled:s}=n||{},a={traceId:i||(0,b.DM)(),spanId:(0,b.DM)().substring(16),sampled:void 0!==s&&s};return o&&(a.parentSpanId=o),r&&(a.dsc=r),{traceparentData:n,dynamicSamplingContext:r,propagationContext:a}}function Qe(t=(0,b.DM)(),e=(0,b.DM)().substring(16),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}class Ye{constructor(t=1e3){this._maxlen=t,this.spans=[]}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class Xe{constructor(t){if(this.traceId=(0,b.DM)(),this.spanId=(0,b.DM)().substring(16),this.startTimestamp=(0,St.ph)(),this.tags={},this.data={},this.instrumenter="sentry",!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&
74(this.op=t.op),t.description&&(this.description=t.description),t.name&&(this.description=t.name),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp),t.instrumenter&&(this.instrumenter=t.instrumenter)}startChild(t){const e=new Xe({...t,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});return e.spanRecorder=this.spanRecorder,e.spanRecorder&&e.spanRecorder.add(e),e.transaction=this.transaction,e}setTag(t,e){return this.tags={...this.tags,[t]:e},this}setData(t,e){return this.data={...this.data,[t]:e},this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t)),this.setData("http.response.status_code",t);const e=function(t){if(t<400&&t>=100)return"ok";if(t>=400&&t<500)switch(t){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}(t);return"unknown_error"!==e&&this.setStatus(e),this}setName(t){this.description=t}isSuccess(){return"ok"===this.status}finish(t){this.endTimestamp="number"===typeof t?t:(0,St.ph)()}toTraceparent(){return Qe(this.traceId,this.spanId,this.sampled)}toContext(){return(0,y.Jr)({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(t){return this.data=t.data||{},this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=t.spanId||this.spanId,this.startTimestamp=t.startTimestamp||this.startTimestamp,this.status=t.status,this.tags=t.tags||{},this.traceId=t.traceId||this.traceId,this}getTraceContext(){return(0,y.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return(0,y.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}}class Je extends Xe{constructor(t,e){super(t),delete this.description,this._measurements={},this._contexts={},this._hub=e||(0,r.Gd)(),this._name=t.name||"",this.metadata={source:"custom",...t.metadata,spanMetadata:{}},this._trimEnd=t.trimEnd,this.transaction=this;const n=this.metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(t){this.setName(t)}setName(t,e="custom"){this._name=t,this.metadata.source=e}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new Ye(t)),this.spanRecorder.add(this)}setContext(t,e){null===e?delete this._contexts[t]:this._contexts[t]=e}setMeasurement(t,e,n=""){this._measurements[t]={value:e,unit:n}}setMetadata(t){this.metadata={...this.metadata,...t}}finish(t){if(void 0!==this.endTimestamp)return;this.name||(this.name="<unlabeled transaction>"),super.finish(t);const e=this._hub.getClient();if(e&&e.emit&&e.emit("finishTransaction",this),!0!==this.sampled)return void(e&&e.recordDroppedEvent("sample_rate","transaction"));const n=this.spanRecorder?this.spanRecorder.spans.filter((t=>t!==this&&t.endTimestamp)):[];this._trimEnd&&n.length>0&&(this.endTimestamp=n.reduce(((t,e)=>t.endTimestamp&&e.endTimestamp?t.endTimestamp>e.endTimestamp?t:e:t)).endTimestamp);const r=this.metadata,i={contexts:{...this._contexts,trace:this.getTraceContext()},spans:n,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...r,dynamicSamplingContext:this.getDynamicSamplingContext()},...r.source&&{transaction_info:{source:r.source}}};return Object.keys(this._measurements).length>0&&(i.measurements=this._measurements),this._hub.captureEvent(i)}toContext(){const t=super.toContext();return(0,y.Jr)({...t,name:this.name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this.name=t.name||"",this._trimEnd=t.trimEnd,this}getDynamicSamplingContext(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext;const t=this._hub||(0,r.Gd)(),e=t.getClient();if(!e)return{};const n=t.getScope(),i=kt(this.traceId,e,n),o=this.metadata.sampleRate;void 0!==o&&(i.sample_rate=`${o}`);const s=this.metadata.source;return s&&"url"!==s&&(i.transaction=this.name),void 0!==this.sampled&&(i.sampled=String(this.sampled)),i}setHub(t){this._hub=t}}const tn={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},en=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class nn extends Ye{constructor(t,e,n,r){super(r),this._pushActivity=t,this._popActivity=e,this.transactionSpanId=n}add(t){t.spanId!==this.transactionSpanId&&(t.finish=e=>{t.endTimestamp="number"===typeof e?e:(0,St.ph)(),this._popActivity(t.spanId)},void 0===t.endTimestamp&&this._pushActivity(t.spanId)),super.add(t)}}class rn extends Je{constructor(t,e,n=tn.idleTimeout,r=tn.finalTimeout,i=tn.heartbeatInterval,o=!1){super(t,e),this._idleHub=e,this._idleTimeout=n,this._finalTimeout=r,this._heartbeatInterval=i,this._onScope=o,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason=en[4],o&&e.configureScope((t=>t.setSpan(this))),this._restartIdleTimeout(),setTimeout((()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=en[3],this.finish())}),this._finalTimeout)}finish(t=(0,St.ph)()){if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setTag("finishReason",this._finishReason),this.spanRecorder){for(const e of this._beforeFinishCallbacks)e(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter((e=>{if(e.spanId===this.spanId)return!0;e.endTimestamp||(e.endTimestamp=t,e.setStatus("cancelled"));const n=e.startTimestamp<t,r=(this._finalTimeout+this._idleTimeout)/1e3,
74i=e.endTimestamp-this.startTimestamp<r;return n&&i}))}if(this._onScope){const t=this._idleHub.getScope();t.getTransaction()===this&&t.setSpan(void 0)}return super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){const e=t=>{this._finished||this._pushActivity(t)},n=t=>{this._finished||this._popActivity(t)};this.spanRecorder=new nn(e,n,this.spanId,t),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(t,{restartOnChildSpanChange:e}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=!1===e,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason=en[5],this.finish(t)))}setFinishReason(t){this._finishReason=t}_restartIdleTimeout(t){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout((()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason=en[1],this.finish(t))}),this._idleTimeout)}_pushActivity(t){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),this.activities[t]=!0}_popActivity(t){if(this.activities[t]&&delete this.activities[t],0===Object.keys(this.activities).length){const t=(0,St.ph)();this._idleTimeoutCanceledPermanently?(this._finishReason=en[5],this.finish(t)):this._restartIdleTimeout(t+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?(this.setStatus("deadline_exceeded"),this._finishReason=en[0],this.finish()):this._pingHeartbeat()}_pingHeartbeat(){setTimeout((()=>{this._beat()}),this._heartbeatInterval)}}function on(t){return(t||(0,r.Gd)()).getScope().getTransaction()}let sn=!1;function an(){const t=on();if(t){const e="internal_error";t.setStatus(e)}}function cn(){const t=this.getScope().getSpan();return t?{"sentry-trace":t.toTraceparent()}:{}}function un(t,e,n){if(!i(e))return t.sampled=!1,t;if(void 0!==t.sampled)return t.setMetadata({sampleRate:Number(t.sampled)}),t;let r;return"function"===typeof e.tracesSampler?(r=e.tracesSampler(n),t.setMetadata({sampleRate:Number(r)})):void 0!==n.parentSampled?r=n.parentSampled:"undefined"!==typeof e.tracesSampleRate?(r=e.tracesSampleRate,t.setMetadata({sampleRate:Number(r)})):(r=1,t.setMetadata({sampleRate:r})),function(t){if((0,D.i2)(t)||"number"!==typeof t&&"boolean"!==typeof t)return!1;if(t<0||t>1)return!1;return!0}(r)&&r?(t.sampled=Math.random()<r,t.sampled,t):(t.sampled=!1,t)}function ln(t,e){const n=this.getClient(),r=n&&n.getOptions()||{};(r.instrumenter||"sentry")!==(t.instrumenter||"sentry")&&(t.sampled=!1);let i=new Je(t,this);return i=un(i,r,{parentSampled:t.parentSampled,transactionContext:t,...e}),i.sampled&&i.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",i),i}function dn(t,e,n,r,i,o,s){const a=t.getClient(),c=a&&a.getOptions()||{};let u=new rn(e,t,n,r,s,i);return u=un(u,c,{parentSampled:e.parentSampled,transactionContext:e,...o}),u.sampled&&u.initSpanRecorder(c._experiments&&c._experiments.maxSpans),a&&a.emit&&a.emit("startTransaction",u),u}function hn(){const t=(0,r.cu)();t.__SENTRY__&&(t.__SENTRY__.extensions=t.__SENTRY__.extensions||{},t.__SENTRY__.extensions.startTransaction||(t.__SENTRY__.extensions.startTransaction=ln),t.__SENTRY__.extensions.traceHeaders||(t.__SENTRY__.extensions.traceHeaders=cn),sn||(sn=!0,B("error",an),B("unhandledrejection",an)))}an.tag="sentry_tracingErrorCallback";const pn=A.n2;const fn=(t,e,n)=>{let r,i;return o=>{e.value>=0&&(o||n)&&(i=e.value-(r||0),(i||void 0===r)&&(r=e.value,e.delta=i,t(e)))}},mn=()=>pn.__WEB_VITALS_POLYFILL__?pn.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||(()=>{const t=pn.performance.timing,e=pn.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==e?"back_forward":1===e?"reload":"navigate"};for(const r in t)"navigationStart"!==r&&"toJSON"!==r&&(n[r]=Math.max(t[r]-t.navigationStart,0));return n})()):pn.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],gn=()=>{const t=mn();return t&&t.activationStart||0},yn=(t,e)=>{const n=mn();let r="navigate";return n&&(r=pn.document.prerendering||gn()>0?"prerender":n.type.replace(/_/g,"-")),{name:t,value:"undefined"===typeof e?-1:e,rating:"good",delta:0,entries:[],id:`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},vn=(t,e,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const r=new PerformanceObserver((t=>{e(t.getEntries())}));return r.observe(Object.assign({type:t,buffered:!0},n||{})),r}}catch(r){}},_n=(t,e)=>{const n=r=>
74{"pagehide"!==r.type&&"hidden"!==pn.document.visibilityState||(t(r),e&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)};let bn=-1;const wn=()=>(bn<0&&(bn="hidden"!==pn.document.visibilityState||pn.document.prerendering?1/0:0,_n((({timeStamp:t})=>{bn=t}),!0)),{get firstHiddenTime(){return bn}}),kn={};function Sn(t){return"number"===typeof t&&isFinite(t)}function xn(t,{startTimestamp:e,...n}){return e&&t.startTimestamp>e&&(t.startTimestamp=e),t.startChild({startTimestamp:e,...n})}function En(t){return t/1e3}function Tn(){return pn&&pn.addEventListener&&pn.performance}let Cn,Rn,On=0,In={};function An(){const t=Tn();if(t&&St.Z1){t.mark&&pn.performance.mark("sentry-tracing-init"),(t=>{const e=wn(),n=yn("FID");let r;const i=t=>{t.startTime<e.firstHiddenTime&&(n.value=t.processingStart-t.startTime,n.entries.push(t),r(!0))},o=t=>{t.forEach(i)},s=vn("first-input",o);r=fn(t,n),s&&_n((()=>{o(s.takeRecords()),s.disconnect()}),!0)})((t=>{const e=t.entries.pop();if(!e)return;const n=En(St.Z1),r=En(e.startTime);In.fid={value:t.value,unit:"millisecond"},In["mark.fid"]={value:n+r,unit:"second"}}));const e=(t=>{const e=yn("CLS",0);let n,r=0,i=[];const o=t=>{t.forEach((t=>{if(!t.hadRecentInput){const o=i[0],s=i[i.length-1];r&&0!==i.length&&t.startTime-s.startTime<1e3&&t.startTime-o.startTime<5e3?(r+=t.value,i.push(t)):(r=t.value,i=[t]),r>e.value&&(e.value=r,e.entries=i,n&&n())}}))},s=vn("layout-shift",o);if(s){n=fn(t,e);const r=()=>{o(s.takeRecords()),n(!0)};return _n(r),r}})((t=>{const e=t.entries.pop();e&&(In.cls={value:t.value,unit:""},Rn=e)})),n=(t=>{const e=wn(),n=yn("LCP");let r;const i=t=>{const i=t[t.length-1];if(i){const t=Math.max(i.startTime-gn(),0);t<e.firstHiddenTime&&(n.value=t,n.entries=[i],r())}},o=vn("largest-contentful-paint",i);if(o){r=fn(t,n);const e=()=>{kn[n.id]||(i(o.takeRecords()),o.disconnect(),kn[n.id]=!0,r(!0))};return["keydown","click"].forEach((t=>{addEventListener(t,e,{once:!0,capture:!0})})),_n(e,!0),e}})((t=>{const e=t.entries.pop();e&&(In.lcp={value:t.value,unit:"millisecond"},Cn=e)}));return()=>{e&&e(),n&&n()}}return()=>{}}function Zn(t){const e=Tn();if(!e||!pn.performance.getEntries||!St.Z1)return;const n=En(St.Z1),r=e.getEntries();let i,o;if(r.slice(On).forEach((e=>{const r=En(e.startTime),s=En(e.duration);if(!("navigation"===t.op&&n+r<t.startTimestamp))switch(e.entryType){case"navigation":!function(t,e,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((r=>{Mn(t,e,r,n)})),Mn(t,e,"secureConnection",n,"TLS/SSL","connectEnd"),Mn(t,e,"fetch",n,"cache","domainLookupStart"),Mn(t,e,"domainLookup",n,"DNS"),function(t,e,n){xn(t,{op:"browser",description:"request",startTimestamp:n+En(e.requestStart),endTimestamp:n+En(e.responseEnd)}),xn(t,{op:"browser",description:"response",startTimestamp:n+En(e.responseStart),endTimestamp:n+En(e.responseEnd)})}(t,e,n)}(t,e,n),i=n+En(e.responseStart),o=n+En(e.requestStart);break;case"mark":case"paint":case"measure":{!function(t,e,n,r,i){const o=i+n,s=o+r;xn(t,{description:e.name,endTimestamp:s,op:e.entryType,startTimestamp:o})}(t,e,r,s,n);const i=wn(),o=e.startTime<i.firstHiddenTime;"first-paint"===e.name&&o&&(In.fp={value:e.startTime,unit:"millisecond"}),"first-contentful-paint"===e.name&&o&&(In.fcp={value:e.startTime,unit:"millisecond"});break}case"resource":{const i=e.name.replace(pn.location.origin,"");!function(t,e,n,r,i,o){if("xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType)return;const s={};"transferSize"in e&&(s["http.response_transfer_size"]=e.transferSize);"encodedBodySize"in e&&(s["http.response_content_length"]=e.encodedBodySize);"decodedBodySize"in e&&(s["http.decoded_response_content_length"]=e.decodedBodySize);"renderBlockingStatus"in e&&(s["resource.render_blocking_status"]=e.renderBlockingStatus);const a=o+r;xn(t,{description:n,endTimestamp:a+i,op:e.initiatorType?`resource.${e.initiatorType}`:"resource.other",startTimestamp:a,data:s})}(t,e,i,r,s,n);break}}})),On=Math.max(r.length-1,0),function(t){const e=pn.navigator;if(!e)return;const n=e.connection;n&&(n.effectiveType&&t.setTag("effectiveConnectionType",n.effectiveType),n.type&&t.setTag("connectionType",n.type),Sn(n.rtt)&&(In["connection.rtt"]={value:n.rtt,unit:"millisecond"}));Sn(e.deviceMemory)&&t.setTag("deviceMemory",`${e.deviceMemory} GB`);Sn(e.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(e.hardwareConcurrency))}(t),"pageload"===t.op){"number"===typeof i&&(In.ttfb={value:1e3*(i-t.startTimestamp),unit:"millisecond"},"number"===typeof o&&o<=i&&(In["ttfb.requestTime"]={value:1e3*(i-o),unit:"millisecond"})),["fcp","fp","lcp"].forEach((e=>{if(!In[e]||n>=t.startTimestamp)return;const r=In[e].value,i=n+En(r),o=Math.abs(1e3*(i-t.startTimestamp));In[e].value=o}));const e=In["mark.fid"];e&&In.fid&&(xn(t,{description:"first input delay",endTimestamp:e.value+En(In.fid.value),op:"ui.action",startTimestamp:e.value}),delete In["mark.fid"]),"fcp"in In||delete In.cls,Object.keys(In).forEac
74h((e=>{t.setMeasurement(e,In[e].value,In[e].unit)})),function(t){Cn&&(Cn.element&&t.setTag("lcp.element",(0,Ut.Rt)(Cn.element)),Cn.id&&t.setTag("lcp.id",Cn.id),Cn.url&&t.setTag("lcp.url",Cn.url.trim().slice(0,200)),t.setTag("lcp.size",Cn.size));Rn&&Rn.sources&&Rn.sources.forEach(((e,n)=>t.setTag(`cls.source.${n+1}`,(0,Ut.Rt)(e.node))))}(t)}Cn=void 0,Rn=void 0,In={}}function Mn(t,e,n,r,i,o){const s=o?e[o]:e[`${n}End`],a=e[`${n}Start`];a&&s&&xn(t,{op:"browser",description:i||n,startTimestamp:r+En(a),endTimestamp:r+En(s)})}const Pn=["localhost",/^\/(?!\/)/],Dn={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:Pn,tracePropagationTargets:Pn};function Ln(t){const{traceFetch:e,traceXHR:n,tracePropagationTargets:o,tracingOrigins:s,shouldCreateSpanForRequest:a,enableHTTPTimings:c}={traceFetch:Dn.traceFetch,traceXHR:Dn.traceXHR,...t},u="function"===typeof a?a:t=>!0,l=t=>function(t,e){return(0,h.U0)(t,e||Pn)}(t,o||s),d={};e&&B("fetch",(t=>{const e=function(t,e,n,o){if(!i()||!t.fetchData)return;const s=e(t.fetchData.url);if(t.endTimestamp&&s){const e=t.fetchData.__span;if(!e)return;const n=o[e];if(n){if(t.response){n.setHttpStatus(t.response.status);const e=t.response&&t.response.headers&&t.response.headers.get("content-length"),r=parseInt(e);r>0&&n.setData("http.response_content_length",r)}else t.error&&n.setStatus("internal_error");n.finish(),delete o[e]}return}const a=(0,r.Gd)(),c=a.getScope(),u=a.getClient(),l=c.getSpan(),{method:d,url:h}=t.fetchData,p=s&&l?l.startChild({data:{url:h,type:"fetch","http.method":d},description:`${d} ${h}`,op:"http.client"}):void 0;p&&(t.fetchData.__span=p.spanId,o[p.spanId]=p);if(n(t.fetchData.url)&&u){const e=t.args[0];t.args[1]=t.args[1]||{};const n=t.args[1];n.headers=function(t,e,n,r,i){const o=i||n.getSpan(),s=o&&o.transaction,{traceId:a,sampled:c,dsc:u}=n.getPropagationContext(),l=o?o.toTraceparent():Qe(a,void 0,c),d=He(s?s.getDynamicSamplingContext():u||kt(a,e,n)),h="undefined"!==typeof Request&&(0,D.V9)(t,Request)?t.headers:r.headers;if(h){if("undefined"!==typeof Headers&&(0,D.V9)(h,Headers)){const t=new Headers(h);return t.append("sentry-trace",l),d&&t.append(Ue,d),t}if(Array.isArray(h)){const t=[...h,["sentry-trace",l]];return d&&t.push([Ue,d]),t}{const t="baggage"in h?h.baggage:void 0,e=[];return Array.isArray(t)?e.push(...t):t&&e.push(t),d&&e.push(d),{...h,"sentry-trace":l,baggage:e.length>0?e.join(","):void 0}}}return{"sentry-trace":l,baggage:d}}(e,u,c,n,p)}return p}(t,u,l,d);c&&e&&Nn(e)})),n&&B("xhr",(t=>{const e=function(t,e,n,o){const s=t.xhr,a=s&&s.__sentry_xhr_v2__;if(!i()||s&&s.__sentry_own_request__||!s||!a)return;const c=e(a.url);if(t.endTimestamp&&c){const t=s.__sentry_xhr_span_id__;if(!t)return;const e=o[t];return void(e&&(e.setHttpStatus(a.status_code),e.finish(),delete o[t]))}const u=(0,r.Gd)(),l=u.getScope(),d=l.getSpan(),h=c&&d?d.startChild({data:{...a.data,type:"xhr","http.method":a.method,url:a.url},description:`${a.method} ${a.url}`,op:"http.client"}):void 0;h&&(s.__sentry_xhr_span_id__=h.spanId,o[s.__sentry_xhr_span_id__]=h);if(s.setRequestHeader&&n(a.url))if(h){const t=h&&h.transaction,e=He(t&&t.getDynamicSamplingContext());jn(s,h.toTraceparent(),e)}else{const t=u.getClient(),{traceId:e,sampled:n,dsc:r}=l.getPropagationContext();jn(s,Qe(e,void 0,n),He(r||(t?kt(e,t,l):void 0)))}return h}(t,u,l,d);c&&e&&Nn(e)}))}function Nn(t){const e=t.data.url,n=new PerformanceObserver((r=>{r.getEntries().forEach((r=>{if(("fetch"===r.initiatorType||"xmlhttprequest"===r.initiatorType)&&r.name.endsWith(e)){(function(t){const{name:e,version:n}=function(t){let e="unknown",n="unknown",r="";for(const i of t){if("/"===i){[e,n]=t.split("/");break}if(!isNaN(Number(i))){e="h"===r?"http":r,n=t.split(r)[1];break}r+=i}r===t&&(e=r);return{name:e,version:n}}(t.nextHopProtocol),r=[];if(r.push(["network.protocol.version",n],["network.protocol.name",e]),!St.Z1)return r;return[...r,["http.request.redirect_start",zn(t.redirectStart)],["http.request.fetch_start",zn(t.fetchStart)],["http.request.domain_lookup_start",zn(t.domainLookupStart)],["http.request.domain_lookup_end",zn(t.domainLookupEnd)],["http.request.connect_start",zn(t.connectStart)],["http.request.secure_connection_start",zn(t.secureConnectionStart)],["http.request.connection_end",zn(t.connectEnd)],["http.request.request_start",zn(t.requestStart)],["http.request.response_start",zn(t.responseStart)],["http.request.response_end",zn(t.responseEnd)]]})(r).forEach((e=>t.setData(...e))),n.disconnect()}}))}));n.observe({entryTypes:["resource"]})}function zn(t){return((St.Z1||performance.timeOrigin)+t)/1e3}function jn(t,e,n){try{t.setRequestHeader("sentry-trace",e),n&&t.setRequestHeader(Ue,n)}catch(r){}}
74const Fn={...tn,markBackgroundTransactions:!0,routingInstrumentation:function(t,e=!0,n=!0){if(!pn||!pn.location)return;let r,i=pn.location.href;e&&(r=t({name:pn.location.pathname,startTimestamp:St.Z1?St.Z1/1e3:void 0,op:"pageload",metadata:{source:"url"}})),n&&B("history",(({to:e,from:n})=>{void 0===n&&i&&-1!==i.indexOf(e)?i=void 0:n!==e&&(i=void 0,r&&r.finish(),r=t({name:pn.location.pathname,op:"navigation",metadata:{source:"url"}}))}))},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,_experiments:{},...Dn};class $n{constructor(t){this.name="BrowserTracing",this._hasSetTracePropagationTargets=!1,hn(),this.options={...Fn,...t},void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),t&&!t.tracePropagationTargets&&t.tracingOrigins&&(this.options.tracePropagationTargets=t.tracingOrigins),this._collectWebVitals=An(),this.options.enableLongTask&&vn("longtask",(t=>{for(const e of t){const t=on();if(!t)return;const n=En(St.Z1+e.startTime),r=En(e.duration);t.startChild({description:"Main UI thread blocked",op:"ui.long-task",startTimestamp:n,endTimestamp:n+r})}})),this.options._experiments.enableInteractions&&vn("event",(t=>{for(const e of t){const t=on();if(!t)return;if("click"===e.name){const n=En(St.Z1+e.startTime),r=En(e.duration);t.startChild({description:(0,Ut.Rt)(e.target),op:`ui.interaction.${e.name}`,startTimestamp:n,endTimestamp:n+r})}}}),{durationThreshold:0})}setupOnce(t,e){this._getCurrentHub=e;const n=e().getClient(),r=n&&n.getOptions(),{routingInstrumentation:i,startTransactionOnLocationChange:o,startTransactionOnPageLoad:s,markBackgroundTransactions:a,traceFetch:c,traceXHR:u,shouldCreateSpanForRequest:l,enableHTTPTimings:d,_experiments:h}=this.options,p=r&&r.tracePropagationTargets||this.options.tracePropagationTargets;i((t=>{const n=this._createRouteTransaction(t);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(n,t,e),n}),s,o),a&&pn&&pn.document&&pn.document.addEventListener("visibilitychange",(()=>{const t=on();if(pn.document.hidden&&t){const e="cancelled";t.status||t.setStatus(e),t.setTag("visibilitychange","document.hidden"),t.finish()}})),h.enableInteractions&&this._registerInteractionListener(),Ln({traceFetch:c,traceXHR:u,tracePropagationTargets:p,shouldCreateSpanForRequest:l,enableHTTPTimings:d})}_createRouteTransaction(t){if(!this._getCurrentHub)return;const e=this._getCurrentHub(),{beforeNavigate:n,idleTimeout:r,finalTimeout:i,heartbeatInterval:o}=this.options,s="pageload"===t.op,a=s?Bn("sentry-trace"):"",c=s?Bn("baggage"):"",{traceparentData:u,dynamicSamplingContext:l,propagationContext:d}=Ke(a,c),h={...t,...u,metadata:{...t.metadata,dynamicSamplingContext:u&&!l?{}:l},trimEnd:!0},p="function"===typeof n?n(h):h,f=void 0===p?{...h,sampled:!1}:p;f.metadata=f.name!==h.name?{...f.metadata,source:"custom"}:f.metadata,this._latestRouteName=f.name,this._latestRouteSource=f.metadata&&f.metadata.source,f.sampled;const{location:m}=pn,g=dn(e,f,r,i,!0,{location:m},o),y=e.getScope();return s&&u?y.setPropagationContext(d):y.setPropagationContext({traceId:g.traceId,spanId:g.spanId,parentSpanId:g.parentSpanId,sampled:!!g.sampled}),g.registerBeforeFinishCallback((t=>{this._collectWebVitals(),Zn(t)})),g}_registerInteractionListener(){let t;const e=()=>{const{idleTimeout:e,finalTimeout:n,heartbeatInterval:r}=this.options,i=on();if(i&&i.op&&["navigation","pageload"].includes(i.op))return;if(t&&(t.setFinishReason("interactionInterrupted"),t.finish(),t=void 0),!this._getCurrentHub)return;if(!this._latestRouteName)return;const o=this._getCurrentHub(),{location:s}=pn,a={name:this._latestRouteName,op:"ui.action.click",trimEnd:!0,metadata:{source:this._latestRouteSource||"url"}};t=dn(o,a,e,n,!0,{location:s},r)};["click"].forEach((t=>{addEventListener(t,e,{once:!1,capture:!0})}))}}function Bn(t){const e=(0,Ut.qT)(`meta[name=${t}]`);return e?e.getAttribute("content"):void 0}function Un(t,e,n){const r=e.match(/([a-z_]+)\.(.*)/i);if(null===r)t[e]=n;else{Un(t[r[1]],r[2],n)}}function qn(t,e,n={}){return Array.isArray(e)?Gn(t,e,n):function(t,e,n){const r=r=>{const i=e(r);if(t.allowExclusionByUser){if(!i.find((e=>e.name===t.name)))return i}return Gn(t,i,n)};return r}(t,e,n)}function Gn(t,e,n){const r=e.find((e=>e.name===t.name));if(r){for(const[t,e]of Object.entries(n))Un(r,t,e);return e}return[...e,t]}var Hn=n(34155);var Wn=n(11163),Vn=n.n(Wn);const Kn=zt;
74const Qn={"routing.instrumentation":"next-router"};let Yn,Xn;const Jn=(0,r.Gd)().getClient();function tr(t,e=!0,n=!0){const{route:i,params:o,sentryTrace:s,baggage:a}=function(){let t;const e=Kn.document.getElementById("__NEXT_DATA__");if(e&&e.innerHTML)try{t=JSON.parse(e.innerHTML)}catch(s){}if(!t)return{};const n={},{page:r,query:i,props:o}=t;return n.route=r,n.params=i,o&&o.pageProps&&(n.sentryTrace=o.pageProps._sentryTraceData,n.baggage=o.pageProps._sentryBaggage),n}(),{traceparentData:c,dynamicSamplingContext:u,propagationContext:l}=Ke(s,a);if((0,r.Gd)().getScope().setPropagationContext(l),Xn=i||Kn.location.pathname,e){const e=i?"route":"url";Yn=t({name:Xn,op:"pageload",tags:Qn,...o&&Jn&&Jn.getOptions().sendDefaultPii&&{data:o},...c,metadata:{source:e,dynamicSamplingContext:c&&!u?{}:u}})}n&&Vn().events.on("routeChangeStart",(e=>{const n=e.split(/[\?#]/,1)[0];const r=function(t){const e=(Kn.__BUILD_MANIFEST||{}).sortedPages;if(!e)return;return e.find((e=>{const n=function(t){const e=t.split("/");let n="";e[e.length-1].match(/^\[\[\.\.\..+\]\]$/)&&(e.pop(),n="(?:/(.+?))?");const r=e.map((t=>t.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)"))).join("/");return new RegExp(`^${r}${n}(?:/)?$`)}(e);return t.match(n)}))}(n);let i,o;r?(i=r,o="route"):(i=n,o="url");const s={...Qn,from:Xn};Xn=i,Yn&&Yn.finish();const a=t({name:i,op:"navigation",tags:s,metadata:{source:o}});if(a){const t=a.startChild({op:"ui.nextjs.route-change",description:"Next.js Route Change"}),e=()=>{t.finish(),Vn().events.off("routeChangeComplete",e)};Vn().events.on("routeChangeComplete",e)}}))}const er=n.g;const nr=n.g;var rr=n(61422),ir=n(25108),or=n(34155);const sr=A.n2,ar="sentryReplaySession",cr="Unable to send Replay",ur=15e4,lr=5e3,dr=2e7;var hr;function pr(t){const e=null===t||void 0===t?void 0:t.host;return Boolean(e&&e.shadowRoot&&e.shadowRoot===t)}function fr({maskInputOptions:t,tagName:e,type:n}){"option"===e.toLowerCase()&&(e="select");const r="string"===typeof n?n.toLowerCase():void 0;return t[e.toLowerCase()]||r&&t[r]||"password"===r||"input"===e&&!n&&t.text}function mr({input:t,maskInputSelector:e,unmaskInputSelector:n,maskInputOptions:r,tagName:i,type:o,value:s,maskInputFn:a}){let c=s||"";return n&&t.matches(n)||(t.hasAttribute("data-rr-is-password")&&(o="password"),(fr({maskInputOptions:r,tagName:i,type:o})||e&&t.matches(e))&&(c=a?a(c):"*".repeat(c.length))),c}!function(t){t[t.Document=0]="Document",t[t.DocumentType=1]="DocumentType",t[t.Element=2]="Element",t[t.Text=3]="Text",t[t.CDATA=4]="CDATA",t[t.Comment=5]="Comment"}(hr||(hr={}));const gr="__rrweb_original__";function yr(t){const e=t.type;return t.hasAttribute("data-rr-is-password")?"password":e?e.toLowerCase():null}function vr(t,e,n){return"string"===typeof n&&n.toLowerCase(),"INPUT"!==e||"radio"!==n&&"checkbox"!==n?t.value:t.getAttribute("value")||""}let _r=1;const br=new RegExp("[^a-z0-9-_:]");function wr(t){return t?t.replace(/[\S]/g,"*"):""}function kr(t){try{const e=t.rules||t.cssRules;return e?Array.from(e).map(Sr).join(""):null}catch(e){return null}}function Sr(t){let e=t.cssText;if(function(t){return"styleSheet"in t}(t))try{e=kr(t.styleSheet)||e}catch(n){}return xr(e)}function xr(t){if(t.indexOf(":")>-1){const e=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return t.replace(e,"$1\\$2")}return t}let Er,Tr;const Cr=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Rr=/^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/,Or=/^(data:)([^,]*),(.*)/i;function Ir(t,e){return(t||"").replace(Cr,((t,n,r,i,o,s)=>{const a=r||o||s,c=n||i||"";if(!a)return t;if(!Rr.test(a))return`url(${c}${a}${c})`;if(Or.test(a))return`url(${c}${a}${c})`;if("/"===a[0])return`url(${c}${function(t){let e="";return e=t.indexOf("//")>-1?t.split("/").slice(0,3).join("/"):t.split("/")[0],e=e.split("?")[0],e}(e)+a}${c})`;const u=e.split("/"),l=a.split("/");u.pop();for(const e of l)"."!==e&&(".."===e?u.pop():u.push(e));return`url(${c}${u.join("/")}${c})`}))}const Ar=/^[^ \t\n\r\u000c]+/,Zr=/^[, \t\n\r\u000c]+/;function Mr(t,e){if(!e||""===e.trim())return e;const n=t.createElement("a");return n.href=e,n.href}function Pr(){const t=document.createElement("a");return t.href="",t.href}function Dr(t,e,n,r,i,o,s,a){if(!i)return i;const c=r.toLowerCase(),u=n.toLowerCase();return"src"===c||"href"===c||"xlink:href"===c&&"#"!==i[0]?Mr(t,i):"background"!==c||"table"!==u&&"td"!==u&&"th"!==u?"srcset"===c?function(t,e){if(""===e.trim())return e;let n=0;function r(t){let r,i=t.exec(e.substring(n));return i?(r=i[0],n+=r.length,r):""}let i=[];for(;r(Zr),!(n>=e.length);
74){let o=r(Ar);if(","===o.slice(-1))o=Mr(t,o.substring(0,o.length-1)),i.push(o);else{let r="";o=Mr(t,o);let s=!1;for(;;){let t=e.charAt(n);if(""===t){i.push((o+r).trim());break}if(s)")"===t&&(s=!1);else{if(","===t){n+=1,i.push((o+r).trim());break}"("===t&&(s=!0)}r+=t,n+=1}}}return i.join(", ")}(t,i):"style"===c?Ir(i,Pr()):"object"===u&&"data"===c?Mr(t,i):o&&function(t,e,n,r){if(r&&t.matches(r))return!1;return["placeholder","title","aria-label"].indexOf(e)>-1||"input"===n&&"value"===e&&t.hasAttribute("type")&&["submit","button"].indexOf(t.getAttribute("type").toLowerCase())>-1}(e,c,u,s)?a?a(i):wr(i):i:Mr(t,i)}function Lr(t,e,n,r,i){if(!t)return!1;if(t.nodeType!==t.ELEMENT_NODE)return Lr(t.parentNode,e,n,r,i);if(r&&(t.matches(r)||t.closest(r)))return!1;if(i)return!0;if("string"===typeof e){if(t.classList.contains(e))return!0}else for(let o=0;o<t.classList.length;o++){const n=t.classList[o];if(e.test(n))return!0}return!(!n||!t.matches(n))||Lr(t.parentNode,e,n,r,i)}function Nr(t,e){var n;const{doc:r,blockClass:i,blockSelector:o,unblockSelector:s,maskTextClass:a,maskTextSelector:c,unmaskTextSelector:u,inlineStylesheet:l,maskInputSelector:d,unmaskInputSelector:h,maskAllText:p,maskInputOptions:f={},maskTextFn:m,maskInputFn:g,dataURLOptions:y={},inlineImages:v,recordCanvas:_,keepIframeSrcFn:b}=e;let w;if(r.__sn){const t=r.__sn.id;w=1===t?void 0:t}switch(t.nodeType){case t.DOCUMENT_NODE:return"CSS1Compat"!==t.compatMode?{type:hr.Document,childNodes:[],compatMode:t.compatMode,rootId:w}:{type:hr.Document,childNodes:[],rootId:w};case t.DOCUMENT_TYPE_NODE:return{type:hr.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId,rootId:w};case t.ELEMENT_NODE:const e=function(t,e,n,r){if(r&&t.matches(r))return!1;if("string"===typeof e){if(t.classList.contains(e))return!0}else for(let i=0;i<t.classList.length;i++){const n=t.classList[i];if(e.test(n))return!0}return!!n&&t.matches(n)}(t,i,o,s),E=function(t){if(t instanceof HTMLFormElement)return"form";const e=t.tagName.toLowerCase().trim();return br.test(e)?"div":e}(t);let T={};for(const{name:n,value:i}of Array.from(t.attributes))Fr(E,n)||(T[n]=Dr(r,t,E,n,i,p,u,m));if("link"===E&&l){const e=Array.from(r.styleSheets).find((e=>e.href===t.href));let n=null;e&&(n=kr(e)),n&&(delete T.rel,delete T.href,T._cssText=Ir(n,e.href))}if("style"===E&&t.sheet&&!(t.innerText||t.textContent||"").trim().length){const e=kr(t.sheet);e&&(T._cssText=Ir(e,Pr()))}if("input"===E||"textarea"===E||"select"===E||"option"===E){const e=t,n=yr(e),r=vr(e,E.toUpperCase(),n),i=t.checked;"submit"!==n&&"button"!==n&&r&&(T.value=mr({input:e,type:n,tagName:E,value:r,maskInputSelector:d,unmaskInputSelector:h,maskInputOptions:f,maskInputFn:g})),i&&(T.checked=i)}if("option"===E&&(t.selected&&!f.select?T.selected=!0:delete T.selected),"canvas"===E&&_)if("2d"===t.__context)(function(t){const e=t.getContext("2d");if(!e)return!0;for(let n=0;n<t.width;n+=50)for(let r=0;r<t.height;r+=50){const i=e.getImageData,o=gr in i?i.__rrweb_original__:i;if(new Uint32Array(o.call(e,n,r,Math.min(50,t.width-n),Math.min(50,t.height-r)).data.buffer).some((t=>0!==t)))return!1}return!0})(t)||(T.rr_dataURL=t.toDataURL(y.type,y.quality));else if(!("__context"in t)){const e=t.toDataURL(y.type,y.quality),n=document.createElement("canvas");n.width=t.width,n.height=t.height;e!==n.toDataURL(y.type,y.quality)&&(T.rr_dataURL=e)}if("img"===E&&v){Er||(Er=r.createElement("canvas"),Tr=Er.getContext("2d"));const e=t,n=e.crossOrigin;e.crossOrigin="anonymous";const i=()=>{try{Er.width=e.naturalWidth,Er.height=e.naturalHeight,Tr.drawImage(e,0,0),T.rr_dataURL=Er.toDataURL(y.type,y.quality)}catch(t){ir.warn(`Cannot inline img src=${e.currentSrc}! Error: ${t}`)}n?T.crossOrigin=n:delete T.crossOrigin};e.complete&&0!==e.naturalWidth?i():e.onload=i}if("audio"!==E&&"video"!==E||(T.rr_mediaState=t.paused?"paused":"played",T.rr_mediaCurrentTime=t.currentTime),t.scrollLeft&&(T.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(T.rr_scrollTop=t.scrollTop),e){const{width:e,height:n}=t.getBoundingClientRect();T={class:T.class,rr_width:`${e}px`,rr_height:`${n}px`}}return"iframe"!==E||b(T.src)||(t.contentDocument||(T.rr_src=T.src),delete T.src),{type:hr.Element,tagName:E,attributes:T,childNodes:[],isSVG:(S=t,Boolean("svg"===S.tagName||S.ownerSVGElement)||void 0),needBlock:e,rootId:w};case t.TEXT_NODE:const C=t.parentNode&&t.parentNode.tagName;let R=t.textContent;const O="STYLE"===C||void 0,I="SCRIPT"===C||void 0;if(O&&R){try{t.nextSibling||t.previousSibling||(null===(n=t.parentNode.sheet)||void 0===n?void 0:n.cssRules)&&(R=(k=t.parentNode.sheet).cssRules?Array.from(k.cssRules).map((t=>t.cssText?xr(t.cssText):"")).join(""):"")}catch(x){ir.warn(`Cannot get CSS styles from text's parentNode. Error: ${x}`,t)}R=Ir(R,Pr())}if(I&&(R="SCRIPT_PLACEHOLDER"),"TEXTAREA"===C&&R)R="";else if("OPTION"===C&&R){R=mr({input:t.parentNode,type:null,tagName:C,value:R,maskInputSelector:d,unmaskInputSelector:h,maskInputOptions:f,maskInputFn:g})}else!O&&!I&&Lr(t,a,c,u,p)&&R&&(R=m?m(R):wr(R));return{type:hr.Text,textContent:R||"",isStyle:O,rootId:w};case t.CDATA_SECTION_NODE:return{type:hr.CDATA,textContent:"",rootId:w};case t.COMMENT_NODE:return{type:hr.Comment,textContent:t.textContent||"",rootId:w};default:return!1}var k,S}function zr(t){return void 0===t||null===t?"":t.toLowerCase()}function jr(t,e){const{doc:n,map:r,blockClass:i,blockSelector:o,unblockSelector:s,maskTextClass:a,maskTextSelector:c,unmaskTextSelector:u,skipChild:l=!1,inlineStylesheet:d=!0,maskInputSelector:h,unmaskInputSelector:p,maskAllText:f,maskInputOptions:m={},maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:_={},inlineImages:b=!1,recordCanvas:w=!1,onSerialize:k,onIframeLoad:S,iframeLoadTimeout:x=5e3,keepIframeSrcFn:E=(()=>!1)}=e;let{preserveWhiteSpace:T=!0}=e;const C=Nr(t,{doc:n,blockClass:i,blockSelector:o,unblockSelector:s,maskTextClass:a,maskTextSelector:c,unmaskTextSelector:u,inlineStylesheet:d,maskInputSelector:h,unmaskInputSelector:p,maskAllText:f,maskInputOptions:m,maskTextFn:g,maskInputFn:y,dataURLOptions:_,inlineImages:b,recordCanvas:w,keepIframeSrcFn:E});if(!C)return ir.warn(t,"not serialized"),null;let R;R="__sn"in t?t.__sn.id:!function(t,e){if(e.comment&&t.type===hr.Comment)return!0;
74if(t.type===hr.Element){if(e.script&&("script"===t.tagName||"link"===t.tagName&&("preload"===t.attributes.rel||"modulepreload"===t.attributes.rel)&&"script"===t.attributes.as||"link"===t.tagName&&"prefetch"===t.attributes.rel&&"string"===typeof t.attributes.href&&t.attributes.href.endsWith(".js")))return!0;if(e.headFavicon&&("link"===t.tagName&&"shortcut icon"===t.attributes.rel||"meta"===t.tagName&&(zr(t.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===zr(t.attributes.name)||"icon"===zr(t.attributes.rel)||"apple-touch-icon"===zr(t.attributes.rel)||"shortcut icon"===zr(t.attributes.rel))))return!0;if("meta"===t.tagName){if(e.headMetaDescKeywords&&zr(t.attributes.name).match(/^description|keywords$/))return!0;if(e.headMetaSocial&&(zr(t.attributes.property).match(/^(og|twitter|fb):/)||zr(t.attributes.name).match(/^(og|twitter):/)||"pinterest"===zr(t.attributes.name)))return!0;if(e.headMetaRobots&&("robots"===zr(t.attributes.name)||"googlebot"===zr(t.attributes.name)||"bingbot"===zr(t.attributes.name)))return!0;if(e.headMetaHttpEquiv&&void 0!==t.attributes["http-equiv"])return!0;if(e.headMetaAuthorship&&("author"===zr(t.attributes.name)||"generator"===zr(t.attributes.name)||"framework"===zr(t.attributes.name)||"publisher"===zr(t.attributes.name)||"progid"===zr(t.attributes.name)||zr(t.attributes.property).match(/^article:/)||zr(t.attributes.property).match(/^product:/)))return!0;if(e.headMetaVerification&&("google-site-verification"===zr(t.attributes.name)||"yandex-verification"===zr(t.attributes.name)||"csrf-token"===zr(t.attributes.name)||"p:domain_verify"===zr(t.attributes.name)||"verify-v1"===zr(t.attributes.name)||"verification"===zr(t.attributes.name)||"shopify-checkout-api-token"===zr(t.attributes.name)))return!0}}return!1}(C,v)&&(T||C.type!==hr.Text||C.isStyle||C.textContent.replace(/^\s+|\s+$/gm,"").length)?_r++:-2;const O=Object.assign(C,{id:R});if(t.__sn=O,-2===R)return null;r[R]=t,k&&k(t);let I=!l;if(O.type===hr.Element&&(I=I&&!O.needBlock,delete O.needBlock,t.shadowRoot&&(O.isShadowHost=!0)),(O.type===hr.Document||O.type===hr.Element)&&I){v.headWhitespace&&C.type===hr.Element&&"head"===C.tagName&&(T=!1);const e={doc:n,map:r,blockClass:i,blockSelector:o,unblockSelector:s,maskTextClass:a,maskTextSelector:c,unmaskTextSelector:u,skipChild:l,inlineStylesheet:d,maskInputSelector:h,unmaskInputSelector:p,maskAllText:f,maskInputOptions:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:_,inlineImages:b,recordCanvas:w,preserveWhiteSpace:T,onSerialize:k,onIframeLoad:S,iframeLoadTimeout:x,keepIframeSrcFn:E};for(const n of Array.from(t.childNodes)){const t=jr(n,e);t&&O.childNodes.push(t)}if(function(t){return t.nodeType===t.ELEMENT_NODE}(t)&&t.shadowRoot)for(const n of Array.from(t.shadowRoot.childNodes)){const t=jr(n,e);t&&(t.isShadow=!0,O.childNodes.push(t))}}return t.parentNode&&pr(t.parentNode)&&(O.isShadow=!0),O.type===hr.Element&&"iframe"===O.tagName&&function(t,e,n){const r=t.contentWindow;if(!r)return;let i,o=!1;try{i=r.document.readyState}catch(a){return}if("complete"!==i){const r=setTimeout((()=>{o||(e(),o=!0)}),n);return void t.addEventListener("load",(()=>{clearTimeout(r),o=!0,e()}))}const s="about:blank";r.location.href===s&&t.src!==s&&""!==t.src?t.addEventListener("load",e):setTimeout(e,0)}(t,(()=>{const e=t.contentDocument;if(e&&S){const n=jr(e,{doc:e,map:r,blockClass:i,blockSelector:o,unblockSelector:s,maskTextClass:a,maskTextSelector:c,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:d,maskInputSelector:h,unmaskInputSelector:p,maskAllText:f,maskInputOptions:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:_,inlineImages:b,recordCanvas:w,preserveWhiteSpace:T,onSerialize:k,onIframeLoad:S,iframeLoadTimeout:x,keepIframeSrcFn:E});n&&S(t,n)}}),x),O}function Fr(t,e,n){return("video"===t||"audio"===t)&&"autoplay"===e}var $r,Br,Ur,qr,Gr,Hr;function Wr(t,e,n=document){const r={capture:!0,passive:!0};return n.addEventListener(t,e,r),()=>n.removeEventListener(t,e,r)}!function(t){t[t.DomContentLoaded=0]="DomContentLoaded",t[t.Load=1]="Load",t[t.FullSnapshot=2]="FullSnapshot",t[t.IncrementalSnapshot=3]="IncrementalSnapshot",t[t.Meta=4]="Meta",t[t.Custom=5]="Custom",t[t.Plugin=6]="Plugin"}($r||($r={})),function(t){t[t.Mutation=0]="Mutation",t[t.MouseMove=1]="MouseMove",t[t.MouseInteraction=2]="MouseInteraction",t[t.Scroll=3]="Scroll",t[t.ViewportResize=4]="ViewportResize",t[t.In
74put=5]="Input",t[t.TouchMove=6]="TouchMove",t[t.MediaInteraction=7]="MediaInteraction",t[t.StyleSheetRule=8]="StyleSheetRule",t[t.CanvasMutation=9]="CanvasMutation",t[t.Font=10]="Font",t[t.Log=11]="Log",t[t.Drag=12]="Drag",t[t.StyleDeclaration=13]="StyleDeclaration"}(Br||(Br={})),function(t){t[t.MouseUp=0]="MouseUp",t[t.MouseDown=1]="MouseDown",t[t.Click=2]="Click",t[t.ContextMenu=3]="ContextMenu",t[t.DblClick=4]="DblClick",t[t.Focus=5]="Focus",t[t.Blur=6]="Blur",t[t.TouchStart=7]="TouchStart",t[t.TouchMove_Departed=8]="TouchMove_Departed",t[t.TouchEnd=9]="TouchEnd",t[t.TouchCancel=10]="TouchCancel"}(Ur||(Ur={})),function(t){t[t["2D"]=0]="2D",t[t.WebGL=1]="WebGL",t[t.WebGL2=2]="WebGL2"}(qr||(qr={})),function(t){t[t.Play=0]="Play",t[t.Pause=1]="Pause",t[t.Seeked=2]="Seeked",t[t.VolumeChange=3]="VolumeChange"}(Gr||(Gr={})),function(t){t.Start="start",t.Pause="pause",t.Resume="resume",t.Resize="resize",t.Finish="finish",t.FullsnapshotRebuilded="fullsnapshot-rebuilded",t.LoadStylesheetStart="load-stylesheet-start",t.LoadStylesheetEnd="load-stylesheet-end",t.SkipStart="skip-start",t.SkipEnd="skip-end",t.MouseInteraction="mouse-interaction",t.EventCast="event-cast",t.CustomEvent="custom-event",t.Flush="flush",t.StateChange="state-change",t.PlayBack="play-back"}(Hr||(Hr={}));const Vr="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let Kr={map:{},getId:()=>(ir.error(Vr),-1),getNode:()=>(ir.error(Vr),null),removeNodeFromMap(){ir.error(Vr)},has:()=>(ir.error(Vr),!1),reset(){ir.error(Vr)}};function Qr(t,e,n={}){let r=null,i=0;return function(o){let s=Date.now();i||!1!==n.leading||(i=s);let a=e-(s-i),c=this,u=arguments;a<=0||a>e?(r&&(clearTimeout(r),r=null),i=s,t.apply(c,u)):r||!1===n.trailing||(r=setTimeout((()=>{i=!1===n.leading?0:Date.now(),r=null,t.apply(c,u)}),a))}}function Yr(t,e,n,r,i=window){const o=i.Object.getOwnPropertyDescriptor(t,e);return i.Object.defineProperty(t,e,r?n:{set(t){setTimeout((()=>{n.set.call(this,t)}),0),o&&o.set&&o.set.call(this,t)}}),()=>Yr(t,e,o||{},!0)}function Xr(t,e,n){try{if(!(e in t))return()=>{};const r=t[e],i=n(r);return"function"===typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),t[e]=i,()=>{t[e]=r}}catch(r){return()=>{}}}function Jr(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function ti(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function ei(t,e,n,r){if(!t)return!1;
74if(t.nodeType===t.ELEMENT_NODE){let i=!1;const o=r&&t.matches(r);return"string"===typeof e?i=void 0!==t.closest?!o&&null!==t.closest("."+e):!o&&t.classList.contains(e):!o&&t.classList.forEach((t=>{e.test(t)&&(i=!0)})),!i&&n&&(i=t.matches(n)),!o&&i||ei(t.parentNode,e,n,r)}return t.nodeType,t.TEXT_NODE,ei(t.parentNode,e,n,r)}function ni(t){return"__sn"in t&&-2===t.__sn.id}function ri(t,e){if(pr(t))return!1;const n=e.getId(t);return!e.has(n)||(!t.parentNode||t.parentNode.nodeType!==t.DOCUMENT_NODE)&&(!t.parentNode||ri(t.parentNode,e))}function ii(t){return Boolean(t.changedTouches)}function oi(t){return"__sn"in t&&(t.__sn.type===hr.Element&&"iframe"===t.__sn.tagName)}function si(t){return Boolean(null===t||void 0===t?void 0:t.shadowRoot)}function ai(t){return"__ln"in t}"undefined"!==typeof window&&window.Proxy&&window.Reflect&&(Kr=new Proxy(Kr,{get:(t,e,n)=>("map"===e&&ir.error(Vr),Reflect.get(t,e,n))}));class ci{constructor(){this.length=0,this.head=null}get(t){if(t>=this.length)throw new Error("Position outside of list range");let e=this.head;for(let n=0;n<t;n++)e=(null===e||void 0===e?void 0:e.next)||null;return e}addNode(t){const e={value:t,previous:null,next:null};if(t.__ln=e,t.previousSibling&&ai(t.previousSibling)){const n=t.previousSibling.__ln.next;e.next=n,e.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=e,n&&(n.previous=e)}else if(t.nextSibling&&ai(t.nextSibling)&&t.nextSibling.__ln.previous){const n=t.nextSibling.__ln.previous;e.previous=n,e.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=e,n&&(n.next=e)}else this.head&&(this.head.previous=e),e.next=this.head,this.head=e;this.length++}removeNode(t){const e=t.__ln;this.head&&(e.previous?(e.previous.next=e.next,e.next&&(e.next.previous=e.previous)):(this.head=e.next,this.head&&(this.head.previous=null)),t.__ln&&delete t.__ln,this.length--)}}const ui=(t,e)=>`${t}@${e}`;function li(t){return"__sn"in t}class di{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=t=>{t.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const t=[],e=new ci,n=t=>{let e=t,n=-2;for(;-2===n;)e=e&&e.nextSibling,n=e&&this.mirror.getId(e);return n},r=r=>{var i,o,s,a,c;const u=r.getRootNode?null===(i=r.getRootNode())||void 0===i?void 0:i.host:null;let l=u;for(;null===(s=null===(o=null===l||void 0===l?void 0:l.getRootNode)||void 0===o?void 0:o.call(l))||void 0===s?void 0:s.host;)l=(null===(c=null===(a=null===l||void 0===l?void 0:l.getRootNode)||void 0===a?void 0:a.call(l))||void 0===c?void 0:c.host)||null;const d=!this.doc.contains(r)&&(!l||!this.doc.contains(l));if(!r.parentNode||d)return;const h=pr(r.parentNode)?this.mirror.getId(u):this.mirror.getId(r.parentNode),p=n(r);if(-1===h||-1===p)return e.addNode(r);let f=jr(r,{doc:this.doc,map:this.mirror.map,blockClass:this.blockClass,blockSelector:this.blockSelector,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,maskInputSelector:this.maskInputSelector,unmaskInputSelector:this.unmaskInputSelector,skipChild:!0,inlineStylesheet:this.inlineStylesheet,maskAllText:this.maskAllText,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:t=>{oi(t)&&this.iframeManager.addIframe(t),si(r)&&this.shadowDomManager.addShadowRoot(r.shadowRoot,document)},onIframeLoad:(t,e)=>{this.iframeManager.attachIframe(t,e),this.shadowDomManager.observeAttachShadow(t)}});f&&t.push({parentId:h,nextId:p,node:f})};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());
74for(const s of this.movedSet)pi(this.removes,s,this.mirror)&&!this.movedSet.has(s.parentNode)||r(s);for(const s of this.addedSet)fi(this.droppedSet,s)||pi(this.removes,s,this.mirror)?fi(this.movedSet,s)?r(s):this.droppedSet.add(s):r(s);let i=null;for(;e.length;){let t=null;if(i){const e=this.mirror.getId(i.value.parentNode),r=n(i.value);-1!==e&&-1!==r&&(t=i)}if(!t)for(let r=e.length-1;r>=0;r--){const i=e.get(r);if(i){const e=this.mirror.getId(i.value.parentNode),r=n(i.value);if(-1!==e&&-1!==r){t=i;break}}}if(!t){for(;e.head;)e.removeNode(e.head.value);break}i=t.previous,e.removeNode(t.value),r(t.value)}const o={texts:this.texts.map((t=>({id:this.mirror.getId(t.node),value:t.value}))).filter((t=>this.mirror.has(t.id))),attributes:this.attributes.map((t=>({id:this.mirror.getId(t.node),attributes:t.attributes}))).filter((t=>this.mirror.has(t.id))),removes:this.removes,adds:t};(o.texts.length||o.attributes.length||o.removes.length||o.adds.length)&&(this.texts=[],this.attributes=[],this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(o))},this.processMutation=t=>{if(!ni(t.target))switch(t.type){case"characterData":{const e=t.target.textContent;ei(t.target,this.blockClass,this.blockSelector,this.unblockSelector)||e===t.oldValue||this.texts.push({value:Lr(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextSelector,this.maskAllText)&&e?this.maskTextFn?this.maskTextFn(e):e.replace(/[\S]/g,"*"):e,node:t.target});break}case"attributes":{const n=t.target;let r=n.getAttribute(t.attributeName);if("value"===t.attributeName&&(r=mr({input:n,maskInputSelector:this.maskInputSelector,unmaskInputSelector:this.unmaskInputSelector,maskInputOptions:this.maskInputOptions,tagName:n.tagName,type:n.getAttribute("type"),value:r,maskInputFn:this.maskInputFn})),ei(t.target,this.blockClass,this.blockSelector,this.unblockSelector)||r===t.oldValue)return;let i=this.attributes.find((e=>e.node===t.target));if(i||(i={node:t.target,attributes:{}},this.attributes.push(i)),"type"===t.attributeName&&"INPUT"===n.tagName&&"password"===(t.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),"style"===t.attributeName){const r=this.doc.createElement("span");t.oldValue&&r.setAttribute("style",t.oldValue),void 0!==i.attributes.style&&null!==i.attributes.style||(i.attributes.style={});try{const t=i.attributes.style;for(const e of Array.from(n.style)){const i=n.style.getPropertyValue(e),o=n.style.getPropertyPriority(e);i===r.style.getPropertyValue(e)&&o===r.style.getPropertyPriority(e)||(t[e]=""===o?i:[i,o])}for(const e of Array.from(r.style))""===n.style.getPropertyValue(e)&&(t[e]=!1)}catch(e){ir.warn("[rrweb] Error when parsing update to style attribute:",e)}}else{const e=t.target;i.attributes[t.attributeName]=Dr(this.doc,e,e.tagName,t.attributeName,r,this.maskAllText,this.unmaskTextSelector,this.maskTextFn)}break}case"childList":t.addedNodes.forEach((e=>this.genAdds(e,t.target))),t.removedNodes.forEach((e=>{const n=this.mirror.getId(e),r=pr(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);ei(t.target,this.blockClass,this.blockSelector,this.unblockSelector)||ni(e)||(this.addedSet.has(e)?(hi(this.addedSet,e),this.droppedSet.add(e)):this.addedSet.has(t.target)&&-1===n||ri(t.target,this.mirror)||(this.movedSet.has(e)&&this.movedMap[ui(n,r)]?hi(this.movedSet,e):this.removes.push({parentId:r,id:n,isShadow:!!pr(t.target)||void 0})),this.mapRemoves.push(e))}))}},this.genAdds=(t,e)=>{if(!e||!ei(e,this.blockClass,this.blockSelector,this.unblockSelector)){if(li(t)){if(ni(t))return;this.movedSet.add(t);let n=null;e&&li(e)&&(n=e.__sn.id),n&&(this.movedMap[ui(t.__sn.id,n)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);ei(t,this.blockClass,this.blockSelector,this.unblockSelector)||t.childNodes.forEach((t=>this.genAdds(t)))}}}init(t){["mutationCb","blockClass","blockSelector","unblockSelector","maskTextClass","maskTextSelector","unmaskTextSelector","maskInputSelector","unmaskInputSelector","inlineStylesheet","maskAllText","maskInputOptions","maskTextFn","maskInputFn","recordCanvas","inlineImages","slimDOMOptions","doc","mirror","iframeManager","shadowDomManager","canvasManager"].forEach((e=>{this[e]=t[e]}))}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit
74()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function hi(t,e){t.delete(e),e.childNodes.forEach((e=>hi(t,e)))}function pi(t,e,n){const{parentNode:r}=e;if(!r)return!1;const i=n.getId(r);return!!t.some((t=>t.id===i))||pi(t,r,n)}function fi(t,e){const{parentNode:n}=e;return!!n&&(!!t.has(n)||fi(t,n))}const mi=t=>(...e)=>{try{return t(...e)}catch(n){try{n.__rrweb__=!0}catch(r){}throw n}},gi=[];function yi(t){try{if("composedPath"in t){const e=t.composedPath();if(e.length)return e[0]}else if("path"in t&&t.path.length)return t.path[0]}catch(e){}return t&&t.target}function vi(t,e){var n,r;const i=new di;gi.push(i),i.init(t);let o=window.MutationObserver||window.__rrMutationObserver;const s=null===(r=null===(n=null===window||void 0===window?void 0:window.Zone)||void 0===n?void 0:n.__symbol__)||void 0===r?void 0:r.call(n,"MutationObserver");s&&window[s]&&(o=window[s]);const a=new o(mi((e=>{t.onMutation&&!1===t.onMutation(e)||i.processMutations(e)})));return a.observe(e,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),a}function _i({mouseInteractionCb:t,doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:s}){if(!1===s.mouseInteraction)return()=>{};const a=!0===s.mouseInteraction||void 0===s.mouseInteraction?{}:s.mouseInteraction,c=[];return Object.keys(Ur).filter((t=>Number.isNaN(Number(t))&&!t.endsWith("_Departed")&&!1!==a[t])).forEach((s=>{const a=s.toLowerCase(),u=mi((e=>s=>{const a=yi(s);if(ei(a,r,i,o))return;const c=ii(s)?s.changedTouches[0]:s;if(!c)return;const u=n.getId(a),{clientX:l,clientY:d}=c;mi(t)({type:Ur[e],id:u,x:l,y:d})})(s));c.push(Wr(a,u,e))})),mi((()=>{c.forEach((t=>t()))}))}function bi({scrollCb:t,doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:s}){const a=Qr((s=>{const a=yi(s);if(!a||ei(a,r,i,o))return;const c=n.getId(a);if(a===e){const n=e.scrollingElement||e.documentElement;mi(t)({id:c,x:n.scrollLeft,y:n.scrollTop})}else mi(t)({id:c,x:a.scrollLeft,y:a.scrollTop})}),s.scroll||100);return Wr("scroll",mi(a),e)}function wi(t,e){const n=Object.assign({},t);return e||delete n.userTriggered,n}const ki=["INPUT","TEXTAREA","SELECT"],Si=new WeakMap;function xi({inputCb:t,doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,ignoreClass:s,ignoreSelector:a,maskInputSelector:c,unmaskInputSelector:u,maskInputOptions:l,maskInputFn:d,sampling:h,userTriggeredOnInput:p}){function f(t){let n=yi(t);const h=n&&n.tagName,f=t.isTrusted;if("OPTION"===h&&(n=n.parentElement),!n||!h||ki.indexOf(h)<0||ei(n,r,i,o))return;const g=n,y=yr(g);if(g.classList.contains(s)||a&&g.matches(a))return;let v=vr(g,h,y),_=!1;"radio"!==y&&"checkbox"!==y||(_=n.checked),function({tagName:t,type:e,maskInputOptions:n,maskInputSelector:r}){return r||fr({maskInputOptions:n,tagName:t,type:e})}({maskInputOptions:l,maskInputSelector:c,tagName:h,type:y})&&(v=mr({input:g,maskInputOptions:l,maskInputSelector:c,unmaskInputSelector:u,tagName:h,type:y,value:v,maskInputFn:d})),m(n,mi(wi)({text:v,isChecked:_,userTriggered:f},p));const b=n.name;"radio"===y&&b&&_&&e.querySelectorAll(`input[type="radio"][name="${b}"]`).forEach((t=>{if(t!==n){const e=mr({input:t,maskInputOptions:l,maskInputSelector:c,unmaskInputSelector:u,tagName:h,type:y,value:vr(t,h,y),maskInputFn:d});m(t,mi(wi)({text:e,isChecked:!_,userTriggered:!1},p))}}))}function m(e,r){const i=Si.get(e);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){Si.set(e,r);const i=n.getId(e);t(Object.assign(Object.assign({},r),{id:i}))}}const g=("last"===h.input?["change"]:["input","change"]).map((t=>Wr(t,mi(f),e))),y=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value"),v=[[HTMLInputElement.prototype,"value"],[HTMLInputElement.prototype,"checked"],[HTMLSelectElement.prototype,"value"],[HTMLTextAreaElement.prototype,"value"],[HTMLSelectElement.prototype,"selectedIndex"],[HTMLOptionElement.prototype,"selected"]];return y&&y.set&&g.push(...v.map((t=>Yr(t[0],t[1],{set(){mi(f)({target:this})}})))),mi((()=>{g.forEach((t=>t()))}))}function Ei(t){return function(t,e){if(Ci("CSSGroupingRule")&&t.parentRule instanceof CSSGroupingRule||Ci("CSSMediaRule")&&t.parentRule instanceof CSSMediaRule||Ci("CSSSupportsRule")&&t.parentRule instanceof CSSSupportsRule||Ci("CSSConditionRule")&&t.parentRule instanceof CSSConditionRule){const n=Array.from(t.parentRule.cssRules).indexOf(t);e.unshift(n)}else{const n=Array.from(t.parentStyleSheet.cssRules).indexOf(t);e.unshift(n)}return e}(t,[])}function Ti(t,e={}){const n=t.doc.defaultView;if(!n)return()=>{};!function(t,e){const{mutationCb:n,mousemoveCb:r,mouseInteractionCb:i,scrollCb:o,viewportResizeCb:s,inputCb:a,mediaInteractionCb:c,styleSheetRuleCb:u,styleDeclarationCb:l,canvasMutationCb:d,fontCb:h}=t;t.mutationCb=(...t)=>{e.mutation&&e.mutation(...t),n(...t)},t.mousemoveCb=(...t)=>{e.mousemove&&e.mousemove(...t),r(...t)},t.mouseInteractionCb=(...t)=>{e.mouseInteraction&&e.mouseInteraction(...t),i(...t)},t.scrollCb=(...t)=>{e.scroll&&e.scroll(...t),o(...t)},t.viewportResizeCb=(...t)=>{e.viewportResize&&e.viewportResize(...t),s(...t)},t.inputCb=(...t)=>{e.input&&e.input(...t),a(...t)},t.mediaInteractionCb=(...t)=>{e.mediaInteaction&&e.mediaInteaction(...t),c(...t)},t.styleSheetRuleCb=(...t)=>{e.styleSheetRule&&e.styleSheetRule(...t),u(...t)},t.styleDeclarationCb=(...t)=>{e.styleDeclaration&&e.styleDeclaration(...t),l(...t)},t.canvasMutationCb=(...t)=>{e.canvasMutation&&e.canvasMutation(...t),d(...t)},t.fontCb=(...t)=>{e.font&&e.font(...t),h(...t)}}(t,e);const r=vi(t,t.doc),i=function({mousemoveCb:t,sampling:e,doc:n,mirror:r}){if(!1===e.mousemove)return()=>{};const i="number"===typeof e.mousemove?e.mousemove:50,o="number"===typeof e.mousemoveCallback?e.mousemoveCallback:500;let s,a=[];const c=Qr((e=>{const n=Date.now()-s;mi(t)(a.map((t=>(t.timeOffset-=n,t))),e),a=[],s=null}),o),u=Qr((t=>{const e=yi(t),{clientX:n,clientY:i}=ii(t)?t.changedTouches[0]:t;s||(s=Date.now()),a.push({x:n,y:i,id:r.getId(e),timeOffset:Date.now()-s}),c("undefined"!==typeof DragEvent&&t instanceof DragEvent?Br.Drag:t instanceof MouseEvent?Br.MouseMove:Br.TouchMove)}),i,{trailing:!1}),l=[Wr("mousemove",mi(u),n),Wr("touchmove",mi(u),n),Wr("drag",mi(u),n)];return mi((()=>{l.forEach((t=>t()))}))}(t),o=_i(t),s=bi(t),a=function({viewportResizeCb:t}){let e=-1,n=-1;const r=Qr((()=>{const r=Jr(),i=ti();e===r&&n===i||(mi(t)({width:Number(i),height:Number(r)}),e=r,n=i)}),200);return Wr("resize",mi(r),window)}(t),c=xi(t),u=function({mediaInteractionCb:t,blockClass:e,blockSelector:n,unblockSelector:r,mirror:i,sampling:o}){const s=s=>Qr(mi((o=>{const a=yi(o);if(!a||ei(a,e,n,r))return;const{currentTime:c,volume:u,muted:l}=a;t({type:s,id:i.getId(a),currentTime:c,volume:u,muted:l})})),o.media||500),a=[Wr("play",s(0)),Wr("pause",s(1)),Wr("seeked",s(2)),Wr("volumechange",s(3))];return mi((()=>{a.forEach((t=>t()))}))}(t),l=function({styleSheetRuleCb:t,mirror:e},{win:n}){if(!n.CSSStyleSheet||!n.CSSStyleSheet.prototype)return()=>{};const r=n.CSSStyleSheet.prototype.insertRule;n.CSSStyleSheet.prototype.insertRule=new Proxy(r,{apply:mi(((n,r,i)=>{const[o,s]=i,a=e.getId(r.ownerNode);return-1!==a&&t({id:a,adds:[{rule:o,index:s}]}),n.apply(r,i)}))});const i=n.CSSStyleSheet.prototype.deleteRule;n.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:mi(((n,r,i)=>{const[o]=i,s=e.getId(r.ownerNode);return-1!==s&&t({id:s,removes:[{index:o}]}),n.apply(r,i)}))});const o={};Ri("CSSGroupingRule")?o.CSSGroupingRule=n.CSSGroupingRule:(Ri("CSSMediaRule")&&(o.CSSMediaRule=n.CSSMediaRule),Ri("CSSConditionRule")&&(o.CSSConditionRule=n.CSSConditionRule),Ri("CSSSupportsRule")&&(o.CSSSupportsRule=n.CSSSupportsRule));const s={};
74return Object.entries(o).forEach((([n,r])=>{s[n]={insertRule:r.prototype.insertRule,deleteRule:r.prototype.deleteRule},r.prototype.insertRule=new Proxy(s[n].insertRule,{apply:mi(((n,r,i)=>{const[o,s]=i,a=e.getId(r.parentStyleSheet.ownerNode);return-1!==a&&t({id:a,adds:[{rule:o,index:[...Ei(r),s||0]}]}),n.apply(r,i)}))}),r.prototype.deleteRule=new Proxy(s[n].deleteRule,{apply:mi(((n,r,i)=>{const[o]=i,s=e.getId(r.parentStyleSheet.ownerNode);return-1!==s&&t({id:s,removes:[{index:[...Ei(r),o]}]}),n.apply(r,i)}))})})),mi((()=>{n.CSSStyleSheet.prototype.insertRule=r,n.CSSStyleSheet.prototype.deleteRule=i,Object.entries(o).forEach((([t,e])=>{e.prototype.insertRule=s[t].insertRule,e.prototype.deleteRule=s[t].deleteRule}))}))}(t,{win:n}),d=function({styleDeclarationCb:t,mirror:e},{win:n}){const r=n.CSSStyleDeclaration.prototype.setProperty;n.CSSStyleDeclaration.prototype.setProperty=new Proxy(r,{apply:mi(((n,r,i)=>{var o,s;const[a,c,u]=i,l=e.getId(null===(s=null===(o=r.parentRule)||void 0===o?void 0:o.parentStyleSheet)||void 0===s?void 0:s.ownerNode);return-1!==l&&t({id:l,set:{property:a,value:c,priority:u},index:Ei(r.parentRule)}),n.apply(r,i)}))});const i=n.CSSStyleDeclaration.prototype.removeProperty;return n.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:mi(((n,r,i)=>{var o,s;const[a]=i,c=e.getId(null===(s=null===(o=r.parentRule)||void 0===o?void 0:o.parentStyleSheet)||void 0===s?void 0:s.ownerNode);return-1!==c&&t({id:c,remove:{property:a},index:Ei(r.parentRule)}),n.apply(r,i)}))}),mi((()=>{n.CSSStyleDeclaration.prototype.setProperty=r,n.CSSStyleDeclaration.prototype.removeProperty=i}))}(t,{win:n}),h=t.collectFonts?function({fontCb:t,doc:e}){const n=e.defaultView;if(!n)return()=>{};const r=[],i=new WeakMap,o=n.FontFace;n.FontFace=function(t,e,n){const r=new o(t,e,n);return i.set(r,{family:t,buffer:"string"!==typeof e,descriptors:n,fontSource:"string"===typeof e?e:JSON.stringify(Array.from(new Uint8Array(e)))}),r};const s=Xr(e.fonts,"add",(function(e){return function(n){return setTimeout((()=>{const e=i.get(n);e&&(t(e),i.delete(n))}),0),e.apply(this,[n])}}));return r.push((()=>{n.FontFace=o})),r.push(s),mi((()=>{r.forEach((t=>t()))}))}(t):()=>{},p=[];for(const f of t.plugins)p.push(f.observer(f.callback,n,f.options));return mi((()=>{gi.forEach((t=>t.reset())),r.disconnect(),i(),o(),s(),a(),c(),u();try{l(),d()}catch(t){}h(),p.forEach((t=>t()))}))}function Ci(t){return"undefined"!==typeof window[t]}function Ri(t){return Boolean("undefined"!==typeof window[t]&&window[t].prototype&&"insertRule"in window[t].prototype&&"deleteRule"in window[t].prototype)}class Oi{constructor(t){this.iframes=new WeakMap,this.mutationCb=t.mutationCb}addIframe(t){this.iframes.set(t,!0)}addLoadListener(t){this.loadListener=t}attachIframe(t,e){var n;this.mutationCb({adds:[{parentId:t.__sn.id,nextId:null,node:e}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),null===(n=this.loadListener)||void 0===n||n.call(this,t)}}class Ii{constructor(t){this.restorePatches=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror;const e=this;this.restorePatches.push(Xr(HTMLElement.prototype,"attachShadow",(function(t){return function(){const n=t.apply(this,arguments);return this.shadowRoot&&e.addShadowRoot(this.shadowRoot,this.ownerDocument),n}})))}addShadowRoot(t,e){vi(Object.assign(Object.assign({},this.bypassOptions),{doc:e,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),t),bi(Object.assign(Object.assign({},this.bypassOptions),{scrollCb:this.scrollCb,doc:t,mirror:this.mirror}))}observeAttachShadow(t){if(t.contentWindow){const e=this;this.restorePatches.push(Xr(t.contentWindow.HTMLElement.prototype,"attachShadow",(function(n){return function(){const r=n.apply(this,arguments);return this.shadowRoot&&e.addShadowRoot(this.shadowRoot,t.contentDocument),r}})))}}reset(){this.restorePatches.forEach((t=>t()))}}for(var Ai="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Zi="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Mi=0;Mi<Ai.length;
74Mi++)Zi[Ai.charCodeAt(Mi)]=Mi;const Pi=new Map;const Di=(t,e,n)=>{if(!t||!zi(t,e)&&"object"!==typeof t)return;const r=function(t,e){let n=Pi.get(t);return n||(n=new Map,Pi.set(t,n)),n.has(e)||n.set(e,[]),n.get(e)}(n,t.constructor.name);let i=r.indexOf(t);return-1===i&&(i=r.length,r.push(t)),i};function Li(t,e,n){if(t instanceof Array)return t.map((t=>Li(t,e,n)));if(null===t)return t;if(t instanceof Float32Array||t instanceof Float64Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Uint8Array||t instanceof Uint16Array||t instanceof Int16Array||t instanceof Int8Array||t instanceof Uint8ClampedArray){return{rr_type:t.constructor.name,args:[Object.values(t)]}}if(t instanceof ArrayBuffer){const e=t.constructor.name,n=function(t){var e,n=new Uint8Array(t),r=n.length,i="";for(e=0;e<r;e+=3)i+=Ai[n[e]>>2],i+=Ai[(3&n[e])<<4|n[e+1]>>4],i+=Ai[(15&n[e+1])<<2|n[e+2]>>6],i+=Ai[63&n[e+2]];return r%3===2?i=i.substring(0,i.length-1)+"=":r%3===1&&(i=i.substring(0,i.length-2)+"=="),i}(t);return{rr_type:e,base64:n}}if(t instanceof DataView){return{rr_type:t.constructor.name,args:[Li(t.buffer,e,n),t.byteOffset,t.byteLength]}}if(t instanceof HTMLImageElement){const e=t.constructor.name,{src:n}=t;return{rr_type:e,src:n}}if(t instanceof ImageData){return{rr_type:t.constructor.name,args:[Li(t.data,e,n),t.width,t.height]}}if(zi(t,e)||"object"===typeof t){return{rr_type:t.constructor.name,index:Di(t,e,n)}}return t}const Ni=(t,e,n)=>[...t].map((t=>Li(t,e,n))),zi=(t,e)=>{const n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((t=>"function"===typeof e[t]));return Boolean(n.find((n=>t instanceof e[n])))};function ji(t,e,n,r,i,o,s,a){const c=[],u=Object.getOwnPropertyNames(t);for(const d of u)try{if("function"!==typeof t[d])continue;const u=Xr(t,d,(function(c){return function(...u){const l=c.apply(this,u);if(Di(l,a,t),!ei(this.canvas,r,o,i)){s.getId(this.canvas);const r=Ni([...u],a,t),i={type:e,property:d,args:r};n(this.canvas,i)}return l}}));c.push(u)}catch(l){const r=Yr(t,d,{set(t){n(this.canvas,{type:e,property:d,args:[t],setter:!0})}});c.push(r)}return c}class Fi{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(t){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=function(t,e){!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(t)||this.pendingCanvasMutations.set(t,[]),this.pendingCanvasMutations.get(t).push(e)},this.mutationCb=t.mutationCb,this.mirror=t.mirror,!0===t.recordCanvas&&this.initCanvasMutationObserver(t.win,t.blockClass,t.blockSelector,t.unblockSelector)}initCanvasMutationObserver(t,e,n,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const i=function(t,e,n,r){const i=[];try{const o=Xr(t.HTMLCanvasElement.prototype,"getContext",(function(t){return function(i,...o){return ei(this,e,n,r)||"__context"in this||(this.__context=i),t.apply(this,[i,...o])}}));i.push(o)}catch(o){ir.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{i.forEach((t=>t()))}}(t,e,r,n),o=function(t,e,n,r,i,o){const s=[],a=Object.getOwnPropertyNames(e.CanvasRenderingContext2D.prototype);for(const u of a)try{if("function"!==typeof e.CanvasRenderingContext2D.prototype[u])continue;const o=Xr(e.CanvasRenderingContext2D.prototype,u,(function(e){return function(...o){return ei(this.canvas,n,i,r)||setTimeout((()=>{const e=[...o];if("drawImage"===u&&e[0]&&e[0]instanceof HTMLCanvasElement){const t=e[0],n=t.getContext("2d");let r=null===n||void 0===n?void 0:n.getImageData(0,0,t.width,t.height),i=null===r||void 0===r?void 0:r.data;e[0]=JSON.stringify(i)}t(this.canvas,{type:qr["2D"],property:u,args:e})}),0),e.apply(this,o)}}));s.push(o)}catch(c){const n=Yr(e.CanvasRenderingContext2D.prototype,u,{set(e){t(this.canvas,{type:qr["2D"],property:u,args:[e],setter:!0})}});s.push(n)}return()=>
74{s.forEach((t=>t()))}}(this.processMutation.bind(this),t,e,r,n,this.mirror),s=function(t,e,n,r,i,o){const s=[];return s.push(...ji(e.WebGLRenderingContext.prototype,qr.WebGL,t,n,r,i,o,e)),"undefined"!==typeof e.WebGL2RenderingContext&&s.push(...ji(e.WebGL2RenderingContext.prototype,qr.WebGL2,t,n,r,i,o,e)),()=>{s.forEach((t=>t()))}}(this.processMutation.bind(this),t,e,r,n,this.mirror);this.resetObservers=()=>{i(),o(),s()}}startPendingCanvasMutationFlusher(){requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}startRAFTimestamping(){const t=e=>{this.rafStamps.latestId=e,requestAnimationFrame(t)};requestAnimationFrame(t)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach(((t,e)=>{const n=this.mirror.getId(e);this.flushPendingCanvasMutationFor(e,n)})),requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}flushPendingCanvasMutationFor(t,e){if(this.frozen||this.locked)return;const n=this.pendingCanvasMutations.get(t);if(!n||-1===e)return;const r=n.map((t=>{const e=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}(t,["type"]);return e})),{type:i}=n[0];this.mutationCb({id:e,type:i,commands:r}),this.pendingCanvasMutations.delete(t)}}function $i(t){return Object.assign(Object.assign({},t),{timestamp:Date.now()})}let Bi,Ui;const qi={map:{},getId:t=>t&&t.__sn?t.__sn.id:-1,getNode(t){return this.map[t]||null},removeNodeFromMap(t){const e=t.__sn&&t.__sn.id;delete this.map[e],t.childNodes&&t.childNodes.forEach((t=>this.removeNodeFromMap(t)))},has(t){return this.map.hasOwnProperty(t)},reset(){this.map={}}};function Gi(t={}){const{emit:e,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:i="rr-block",blockSelector:o=null,unblockSelector:s=null,ignoreClass:a="rr-ignore",ignoreSelector:c=null,maskTextClass:u="rr-mask",maskTextSelector:l=null,maskInputSelector:d=null,unmaskTextSelector:h=null,unmaskInputSelector:p=null,inlineStylesheet:f=!0,maskAllText:m=!1,maskAllInputs:g,maskInputOptions:y,slimDOMOptions:v,maskInputFn:_,maskTextFn:b,hooks:w,packFn:k,sampling:S={},mousemoveWait:x,recordCanvas:E=!1,userTriggeredOnInput:T=!1,collectFonts:C=!1,inlineImages:R=!1,plugins:O,keepIframeSrcFn:I=(()=>!1),onMutation:A}=t;if(!e)throw new Error("emit function is required");void 0!==x&&void 0===S.mousemove&&(S.mousemove=x);const Z=!0===g?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==y?y:{},M=!0===v||"all"===v?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===v,headMetaDescKeywords:"all"===v}:v||{};let P;!function(t=window){"NodeList"in t&&!t.NodeList.prototype.forEach&&(t.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in t&&!t.DOMTokenList.prototype.forEach&&(t.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=function(t){if(!(0 in arguments))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1})}();let D=0;Bi=(t,i)=>{var o;if(!(null===(o=gi[0])||void 0===o?void 0:o.isFrozen())||t.type===$r.FullSnapshot||t.type===$r.IncrementalSnapshot&&t.data.source===Br.Mutation||gi.forEach((t=>t.unfreeze())),e((t=>{for(const e of O||[])e.eventProcessor&&(t=e.eventProcessor(t));return k&&(t=k(t)),t})(t),i),t.type===$r.FullSnapshot)P=t,D=0;else if(t.type===$r.IncrementalSnapshot){if(t.data.source===Br.Mutation&&t.data.isAttachIframe)return;D++;const e=r&&D>=r,i=n&&t.timestamp-P.timestamp>n;(e||i)&&Ui(!0)}};const L=t=>{Bi($i({type:$r.IncrementalSnapshot,data:Object.assign({source:Br.Mutation},t)}))},N=t=>Bi($i({type:$r.IncrementalSnapshot,data:Object.assign({source:Br.Scroll},t)})),z=t=>Bi($i({type:$r.IncrementalSnapshot,data:Object.assign({source:Br.CanvasMutation},t)})),j=new Oi({mutationCb:L}),F=new Fi({recordCanvas:E,mutationCb:z,win:window,blockClass:i,blockSelector:o,unblockSelector:s,mirror:qi}),$=new Ii({mutationCb:L,scrollCb:N,bypassOptions:{onMutation:A,blockClass:i,blockSelector:o,unblockSelector:s,maskTextClass:u,maskTextSelector:l,unmaskTextSelector:h,maskInputSelector:d,unmaskInputSelector:p,inlineStylesheet:f,maskAllText:m,maskInputOptions:Z,maskTextFn:b,maskInputFn:_,recordCanvas:E,inlineImages:R,sampling:S,slimDOMOptions:M,iframeManager:j,canvasManager:F},mirror:qi});Ui=(t=!1)=>{var e,n,r,a;Bi($i({type:$r.Meta,data:{href:window.location.href,width:ti(),height:Jr()}}
74),t),gi.forEach((t=>t.lock()));const[c,g]=function(t,e){const{blockClass:n="rr-block",blockSelector:r=null,unblockSelector:i=null,maskTextClass:o="rr-mask",maskTextSelector:s=null,unmaskTextSelector:a=null,inlineStylesheet:c=!0,inlineImages:u=!1,recordCanvas:l=!1,maskInputSelector:d=null,unmaskInputSelector:h=null,maskAllText:p=!1,maskAllInputs:f=!1,maskTextFn:m,maskInputFn:g,slimDOM:y=!1,dataURLOptions:v,preserveWhiteSpace:_,onSerialize:b,onIframeLoad:w,iframeLoadTimeout:k,keepIframeSrcFn:S=(()=>!1)}=e||{},x={};return[jr(t,{doc:t,map:x,blockClass:n,blockSelector:r,unblockSelector:i,maskTextClass:o,maskTextSelector:s,unmaskTextSelector:a,skipChild:!1,inlineStylesheet:c,maskInputSelector:d,unmaskInputSelector:h,maskAllText:p,maskInputOptions:!0===f?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===f?{}:f,maskTextFn:m,maskInputFn:g,slimDOMOptions:!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===y,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===y?{}:y,dataURLOptions:v,inlineImages:u,recordCanvas:l,preserveWhiteSpace:_,onSerialize:b,onIframeLoad:w,iframeLoadTimeout:k,keepIframeSrcFn:S}),x]}(document,{blockClass:i,blockSelector:o,unblockSelector:s,maskTextClass:u,maskTextSelector:l,unmaskTextSelector:h,maskInputSelector:d,unmaskInputSelector:p,inlineStylesheet:f,maskAllText:m,maskAllInputs:Z,maskTextFn:b,slimDOM:M,recordCanvas:E,inlineImages:R,onSerialize:t=>{oi(t)&&j.addIframe(t),si(t)&&$.addShadowRoot(t.shadowRoot,document)},onIframeLoad:(t,e)=>{j.attachIframe(t,e),$.observeAttachShadow(t)},keepIframeSrcFn:I});if(!c)return ir.warn("Failed to snapshot the document");qi.map=g,Bi($i({type:$r.FullSnapshot,data:{node:c,initialOffset:{left:void 0!==window.pageXOffset?window.pageXOffset:(null===document||void 0===document?void 0:document.documentElement.scrollLeft)||(null===(n=null===(e=null===document||void 0===document?void 0:document.body)||void 0===e?void 0:e.parentElement)||void 0===n?void 0:n.scrollLeft)||(null===document||void 0===document?void 0:document.body.scrollLeft)||0,top:void 0!==window.pageYOffset?window.pageYOffset:(null===document||void 0===document?void 0:document.documentElement.scrollTop)||(null===(a=null===(r=null===document||void 0===document?void 0:document.body)||void 0===r?void 0:r.parentElement)||void 0===a?void 0:a.scrollTop)||(null===document||void 0===document?void 0:document.body.scrollTop)||0}}})),gi.forEach((t=>t.unlock()))};try{const t=[];t.push(Wr("DOMContentLoaded",(()=>{Bi($i({type:$r.DomContentLoaded,data:{}}))})));const e=t=>{var e;return mi(Ti)({onMutation:A,mutationCb:L,mousemoveCb:(t,e)=>Bi($i({type:$r.IncrementalSnapshot,data:{source:e,positions:t}})),mouseInteractionCb:t=>Bi($i({type:$r.IncrementalSnapshot,data:Object.assign({source:Br.MouseInteraction},t)})),scrollCb:N,viewportResizeCb:t=>Bi($i({type:$r.IncrementalSnapshot,data:Object.assign({source:Br.ViewportResize},t)})),inputCb:t=>Bi($i({type:$r.IncrementalSnapshot,data:Object.assign({source:Br.Input},t)})),mediaInteractionCb:t=>Bi($i({type:$r.IncrementalSnapshot,data:Object.assign({source:Br.MediaInteraction},t)})),styleSheetRuleCb:t=>Bi($i({type:$r.IncrementalSnapshot,data:Object.assign({source:Br.StyleSheetRule},t)})),styleDeclarationCb:t=>Bi($i({type:$r.IncrementalSnapshot,data:Object.assign({source:Br.StyleDeclaration},t)})),canvasMutationCb:z,fontCb:t=>Bi($i({type:$r.IncrementalSnapshot,data:Object.assign({source:Br.Font},t)})),blockClass:i,ignoreClass:a,ignoreSelector:c,maskTextClass:u,maskTextSelector:l,unmaskTextSelector:h,maskInputSelector:d,unmaskInputSelector:p,maskInputOptions:Z,inlineStylesheet:f,sampling:S,recordCanvas:E,inlineImages:R,userTriggeredOnInput:T,collectFonts:C,doc:t,maskAllText:m,maskInputFn:_,maskTextFn:b,blockSelector:o,unblockSelector:s,slimDOMOptions:M,mirror:qi,iframeManager:j,shadowDomManager:$,canvasManager:F,plugins:(null===(e=null===O||void 0===O?void 0:O.filter((t=>t.observer)))||void 0===e?void 0:e.map((t=>({observer:t.observer,options:t.options,callback:e=>Bi($i({type:$r.Plugin,data:{plugin:t.name,payload:e}}))}))))||[]},w)};j.addLoadListener((n=>
74{try{t.push(e(n.contentDocument))}catch(r){ir.warn(r)}}));const n=()=>{Ui(),t.push(e(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():t.push(Wr("load",(()=>{Bi($i({type:$r.Load,data:{}})),n()}),window)),()=>{t.forEach((t=>t()))}}catch(B){ir.warn(B)}}function Hi(t){return t>9999999999?t:1e3*t}function Wi(t,e){"sentry.transaction"!==e.category&&(["ui.click","ui.input"].includes(e.category)?t.triggerUserActivity():t.checkAndHandleExpiredSession(),t.addUpdate((()=>(t.throttledAddEvent({type:$r.Custom,timestamp:1e3*(e.timestamp||0),data:{tag:"breadcrumb",payload:it(e,10,1e3)}}),"console"===e.category))))}Gi.addCustomEvent=(t,e)=>{if(!Bi)throw new Error("please add custom event after start recording");Bi($i({type:$r.Custom,data:{tag:t,payload:e}}))},Gi.freezePage=()=>{gi.forEach((t=>t.freeze()))},Gi.takeFullSnapshot=t=>{if(!Ui)throw new Error("please take full snapshot after start recording");Ui(t)},Gi.mirror=qi;function Vi(t){const e=Ki(t);if(!e||!(e instanceof Element))return e;return e.closest("button,a")||e}function Ki(t){return function(t){return"object"===typeof t&&!!t&&"target"in t}(t)?t.target:t}let Qi;function Yi(t){return Qi||(Qi=[],(0,y.hl)(sr,"open",(function(t){return function(...e){if(Qi)try{Qi.forEach((t=>t()))}catch(n){}return t.apply(sr,e)}}))),Qi.push(t),()=>{const e=Qi?Qi.indexOf(t):-1;e>-1&&Qi.splice(e,1)}}class Xi{constructor(t,e,n=Wi){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=e.timeout/1e3,this._threshold=e.threshold/1e3,this._scollTimeout=e.scrollTimeout/1e3,this._replay=t,this._ignoreSelector=e.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){const t=()=>{this._lastScroll=to()},e=Yi((()=>{this._lastMutation=to()})),n=t=>{if(!t.target)return;const e=Vi(t);e&&this._handleMultiClick(e)},r=new MutationObserver((()=>{this._lastMutation=to()}));r.observe(sr.document.documentElement,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),sr.addEventListener("scroll",t,{passive:!0}),sr.addEventListener("click",n,{passive:!0}),this._teardown=()=>{sr.removeEventListener("scroll",t),sr.removeEventListener("click",n),e(),r.disconnect(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(t,e){if(function(t,e){if(!Ji.includes(t.tagName))return!0;if("INPUT"===t.tagName&&!["submit","button"].includes(t.getAttribute("type")||""))return!0;if("A"===t.tagName&&(t.hasAttribute("download")||t.hasAttribute("target")&&"_self"!==t.getAttribute("target")))return!0;if(e&&t.matches(e))return!0;return!1}(e,this._ignoreSelector)||!function(t){return!(!t.data||"number"!==typeof t.data.nodeId||!t.timestamp)}(t))return;const n={timestamp:(r=t.timestamp,r>9999999999?r/1e3:r),clickBreadcrumb:t,clickCount:0,node:e};var r;this._clicks.some((t=>t.node===n.node&&Math.abs(t.timestamp-n.timestamp)<1))||(this._clicks.push(n),1===this._clicks.length&&this._scheduleCheckClicks())}_handleMultiClick(t){this._getClicks(t).forEach((t=>{t.clickCount++}))}_getClicks(t){return this._clicks.filter((e=>e.node===t))}_checkClicks(){const t=[],e=to();this._clicks.forEach((n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=e&&t.push(n)}));for(const n of t){const t=this._clicks.indexOf(n);t>-1&&(this._generateBreadcrumbs(n),this._clicks.splice(t,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(t){const e=this._replay,n=t.scrollAfter&&t.scrollAfter<=this._scollTimeout,r=t.mutationAfter&&t.mutationAfter<=this._threshold,i=!n&&!r,{clickCount:o,clickBreadcrumb:s}=t;if(i){const n=1e3*Math.min(t.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",i={type:"default",message:s.message,timestamp:s.timestamp,category:"ui.slowClickDetected",data:{...s.data,url:sr.location.href,route:e.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:o||1}};this._addBreadcrumbEvent(e,i)}else if(o>1){const t={type:"default",message:s.message,timestamp:s.timestamp,category:"ui.multiClick",data:{...s.data,url:sr.location.href,route:e.getCurrentRoute(),clickCount:o,metric:!0}};this._addBreadcrumbEvent(e,t)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout((()=>this._checkClicks()),1e3)}}const Ji=["A","BUTTON","INPUT"];function to(){return Date.now()/1e3}function eo(t){return{timestamp:Date.now()/1e3,type:"default",...t}}var no;!function(t){t[t.Document=0]="Document",t[t.DocumentType=1]="DocumentType",t[t.Element=2]="Element",t[t.Text=3]="Text",t[t.CDATA=4]="CDATA",t[t.Comment=5]="Comment"}(no||(no={}));const ro=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled"]);function io(t){const e={};for(const n in t)if(ro.has(n)){let r=n;"data-testid"!==n&&"data-test-id"!==n||(r="testId"),e[r]=t[n]}return e}const oo=t=>e=>{if(!t.isEnabled())return;const n=function(t){const{target:e,message:n}=function(t){const e="click"===t.name;let n,r=null;try{r=e?Vi(t.event):Ki(t.event),n=(0,Ut.Rt)(r,{maxStringLength:200})||"<unknown>"}catch(i){n="<unknown>"}return{target:r,message:n}}(t);return eo({category:`ui.${t.name}`,...so(e,n)})}(e);if(!n)return;const r="click"===e.name,i=r&&e.event;!(r&&t.clickDetector&&i)||i.altKey||i.metaKey||i.ctrlKey||i.shiftKey||function(t,e,n){t.handleClick(e,n)}(t.clickDetector,n,Vi(e.event)),Wi(t,n)};function so(t,e){const n=t&&function(t){return"__sn"in t}(t)&&t.__sn.type===no.Element?t.__sn:null;return{message:e,data:n?{nodeId:n.id,node:{id:n.id,tagName:n.tagName,textContent:t?Array.from(t.childNodes).map((t=>
74"__sn"in t&&t.__sn.type===no.Text&&t.__sn.textContent)).filter(Boolean).map((t=>t.trim())).join(""):"",attributes:io(n.attributes)}}:{}}}function ao(t,e){if(!t.isEnabled())return;t.updateUserActivity();const n=function(t){const{metaKey:e,shiftKey:n,ctrlKey:r,altKey:i,key:o,target:s}=t;if(!s||function(t){return"INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable}(s)||!o)return null;const a=e||r||i,c=1===o.length;if(!a&&c)return null;const u=(0,Ut.Rt)(s,{maxStringLength:200})||"<unknown>",l=so(s,u);return eo({category:"ui.keyDown",message:u,data:{...l.data,metaKey:e,shiftKey:n,ctrlKey:r,altKey:i,key:o}})}(e);n&&Wi(t,n)}const co=["name","type","startTime","transferSize","duration"];function uo(t){return function(e){return co.every((n=>t[n]===e[n]))}}function lo(t){const e=new PerformanceObserver((e=>{const n=function(t,e){const[n,r,i]=t.reduce(((t,e)=>("navigation"===e.entryType?t[0].push(e):"largest-contentful-paint"===e.entryType?t[1].push(e):t[2].push(e),t)),[[],[],[]]),o=[],s=[];let a=r.length?r[r.length-1]:void 0;return e.forEach((t=>{if("largest-contentful-paint"!==t.entryType)if("navigation"!==t.entryType)o.push(t);else{const e=t;t.duration>0&&!n.find(uo(e))&&!s.find(uo(e))&&s.push(e)}else(!a||a.startTime<t.startTime)&&(a=t)})),[...a?[a]:[],...n,...i,...o,...s].sort(((t,e)=>t.startTime-e.startTime))}(t.performanceEvents,e.getEntries());t.performanceEvents=n}));return["element","event","first-input","largest-contentful-paint","layout-shift","longtask","navigation","paint","resource"].forEach((t=>{try{e.observe({type:t,buffered:!0})}catch(n){}})),e}class ho extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class po{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(t){const e=JSON.stringify(t).length;if(this._totalSize+=e,this._totalSize>dr)throw new ho;this.events.push(t)}finish(){return new Promise((t=>{const e=this.events;this.clear(),t(JSON.stringify(e))}))}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const t=this.events.map((t=>t.timestamp)).sort()[0];return t?Hi(t):null}}class fo{constructor(t){this._worker=t,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise(((t,e)=>{this._worker.addEventListener("message",(({data:n})=>{n.success?t():e()}),{once:!0}),this._worker.addEventListener("error",(t=>{e(t)}),{once:!0})}))),this._ensureReadyPromise}destroy(){this._worker.terminate()}postMessage(t,e){const n=this._getAndIncrementId();return new Promise(((r,i)=>{const o=({data:e})=>{const s=e;s.method===t&&s.id===n&&(this._worker.removeEventListener("message",o),s.success?r(s.response):i(new Error("Error in compression worker")))};this._worker.addEventListener("message",o),this._worker.postMessage({id:n,method:t,arg:e})}))}_getAndIncrementId(){return this._id++}}class mo{constructor(t){this._worker=new fo(t),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(t){const e=Hi(t.timestamp);(!this._earliestTimestamp||e<this._earliestTimestamp)&&(this._earliestTimestamp=e);const n=JSON.stringify(t);return this._totalSize+=n.length,this._totalSize>dr?Promise.reject(new ho):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear")}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(t){return this._worker.postMessage("addEvent",t)}async _finishRequest(){const t=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,t}}class go{constructor(t){this._fallback=new po,this._compression=new mo(t),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(t){this._used.hasCheckout=t}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(t){return this._used.addEvent(t)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}
74ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(t){return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:t,hasCheckout:e}=this._fallback,n=[];for(const i of t)n.push(this._compression.addEvent(i));this._compression.hasCheckout=e,this._used=this._compression;try{await Promise.all(n)}catch(r){}}}function yo({useCompression:t}){if(t&&window.Worker)try{const t=function(){const t=new Blob(['/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */\nfunction t(t){let e=t.length;for(;--e>=0;)t[e]=0}const e=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),a=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),i=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),n=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=new Array(576);t(s);const r=new Array(60);t(r);const o=new Array(512);t(o);const l=new Array(256);t(l);const h=new Array(29);t(h);const d=new Array(30);function _(t,e,a,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=i,this.max_length=n,this.has_stree=t&&t.length}let f,c,u;function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}t(d);const m=t=>t<256?o[t]:o[256+(t>>>7)],b=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},g=(t,e,a)=>{t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,b(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},p=(t,e,a)=>{g(t,a[2*e],a[2*e+1])},k=(t,e)=>{let a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},v=(t,e,a)=>{const i=new Array(16);let n,s,r=0;for(n=1;n<=15;n++)r=r+a[n-1]<<1,i[n]=r;for(s=0;s<=e;s++){let e=t[2*s+1];0!==e&&(t[2*s]=k(i[e]++,e))}},y=t=>{let e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},x=t=>{t.bi_valid>8?b(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},z=(t,e,a,i)=>{const n=2*e,s=2*a;return t[n]<t[s]||t[n]===t[s]&&i[e]<=i[a]},A=(t,e,a)=>{const i=t.heap[a];let n=a<<1;for(;n<=t.heap_len&&(n<t.heap_len&&z(e,t.heap[n+1],t.heap[n],t.depth)&&n++,!z(e,i,t.heap[n],t.depth));)t.heap[a]=t.heap[n],a=n,n<<=1;t.heap[a]=i},E=(t,i,n)=>{let s,r,o,_,f=0;if(0!==t.sym_next)do{s=255&t.pending_buf[t.sym_buf+f++],s+=(255&t.pending_buf[t.sym_buf+f++])<<8,r=t.pending_buf[t.sym_buf+f++],0===s?p(t,r,i):(o=l[r],p(t,o+256+1,i),_=e[o],0!==_&&(r-=h[o],g(t,r,_)),s--,o=m(s),p(t,o,n),_=a[o],0!==_&&(s-=d[o],g(t,s,_)))}while(f<t.sym_next);p(t,256,i)},R=(t,e)=>{const a=e.dyn_tree,i=e.stat_desc.static_tree,n=e.stat_desc.has_stree,s=e.stat_desc.elems;let r,o,l,h=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<s;r++)0!==a[2*r]?(t.heap[++t.heap_len]=h=r,t.depth[r]=0):a[2*r+1]=0;for(;t.heap_len<2;)l=t.heap[++t.heap_len]=h<2?++h:0,a[2*l]=1,t.depth[l]=0,t.opt_len--,n&&(t.static_len-=i[2*l+1]);for(e.max_code=h,r=t.heap_len>>1;r>=1;r--)A(t,a,r);l=s;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],A(t,a,1),o=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=o,a[2*l]=a[2*r]+a[2*o],t.depth[l]=(t.depth[r]>=t.depth[o]?t.depth[r]:t.depth[o])+1,a[2*r+1]=a[2*o+1]=l,t.heap[1]=l++,A(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const a=e.dyn_tree,i=e.max_code,n=e.stat_desc.static_tree,s=e.stat_desc.has_stree,r=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,l=e.stat_desc.max_length;let h,d,_,f,c,u,w=0;for(f=0;f<=15;f++)t.bl_count[f]=0;for(a[2*t.heap[t.heap_max]+1]=0,h=t.heap_max+1;h<573;h++)d=t.heap[h],f=a[2*a[2*d+1]+1]+1,f>l&&(f=l,w++),a[2*d+1]=f,d>i||(t.bl_count[f]++,c=0,d>=o&&(c=r[d-o]),u=a[2*d],t.opt_len+=u*(f+c),s&&(t.static_len+=u*(n[2*d+1]+c)));if(0!==w){do{for(f=l-1;0===t.bl_count[f];)f--;t.bl_count[f]--,t.bl_count[f+1]+=2,t.bl_count[l]--,w-=2}while(w>0);for(f=l;0!==f;f--)for(d=t.bl_count[f];0!==d;)_=t.heap[--h],_>i||(a[2*_+1]!==f&&(t.opt_len+=(f-a[2*_+1])*a[2*_],a[2*_+1]=f),d--)}})(t,e),v(a,h,t.bl_count)}
vendor: 4,041 bytes, line 74
74,Z=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),e[2*(a+1)+1]=65535,i=0;i<=a;i++)n=r,r=e[2*(i+1)+1],++o<l&&n===r||(o<h?t.bl_tree[2*n]+=o:0!==n?(n!==s&&t.bl_tree[2*n]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4))},U=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),i=0;i<=a;i++)if(n=r,r=e[2*(i+1)+1],!(++o<l&&n===r)){if(o<h)do{p(t,n,t.bl_tree)}while(0!=--o);else 0!==n?(n!==s&&(p(t,n,t.bl_tree),o--),p(t,16,t.bl_tree),g(t,o-3,2)):o<=10?(p(t,17,t.bl_tree),g(t,o-3,3)):(p(t,18,t.bl_tree),g(t,o-11,7));o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4)}};let S=!1;const D=(t,e,a,i)=>{g(t,0+(i?1:0),3),x(t),b(t,a),b(t,~a),a&&t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a};var T=(t,e,a,i)=>{let o,l,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),R(t,t.l_desc),R(t,t.d_desc),h=(t=>{let e;for(Z(t,t.dyn_ltree,t.l_desc.max_code),Z(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*n[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),o=t.opt_len+3+7>>>3,l=t.static_len+3+7>>>3,l<=o&&(o=l)):o=l=a+5,a+4<=o&&-1!==e?D(t,e,a,i):4===t.strategy||l===o?(g(t,2+(i?1:0),3),E(t,s,r)):(g(t,4+(i?1:0),3),((t,e,a,i)=>{let s;for(g(t,e-257,5),g(t,a-1,5),g(t,i-4,4),s=0;s<i;s++)g(t,t.bl_tree[2*n[s]+1],3);U(t,t.dyn_ltree,e-1),U(t,t.dyn_dtree,a-1)})(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),E(t,t.dyn_ltree,t.dyn_dtree)),y(t),i&&x(t)},O={_tr_init:t=>{S||((()=>{let t,n,w,m,b;const g=new Array(16);for(w=0,m=0;m<28;m++)for(h[m]=w,t=0;t<1<<e[m];t++)l[w++]=m;for(l[w-1]=m,b=0,m=0;m<16;m++)for(d[m]=b,t=0;t<1<<a[m];t++)o[b++]=m;for(b>>=7;m<30;m++)for(d[m]=b<<7,t=0;t<1<<a[m]-7;t++)o[256+b++]=m;for(n=0;n<=15;n++)g[n]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,g[8]++;for(;t<=255;)s[2*t+1]=9,t++,g[9]++;for(;t<=279;)s[2*t+1]=7,t++,g[7]++;for(;t<=287;)s[2*t+1]=8,t++,g[8]++;for(v(s,287,g),t=0;t<30;t++)r[2*t+1]=5,r[2*t]=k(t,5);f=new _(s,e,257,286,15),c=new _(r,a,0,30,15),u=new _(new Array(0),i,0,19,7)})(),S=!0),t.l_desc=new w(t.dyn_ltree,f),t.d_desc=new w(t.dyn_dtree,c),t.bl_desc=new w(t.bl_tree,u),t.bi_buf=0,t.bi_valid=0,y(t)},_tr_stored_block:D,_tr_flush_block:T,_tr_tally:(t,e,a)=>(t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=a,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(l[a]+256+1)]++,t.dyn_dtree[2*m(e)]++),t.sym_next===t.sym_end),_tr_align:t=>{g(t,2,3),p(t,256,s),(t=>{16===t.bi_valid?(b(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)}};var F=(t,e,a,i)=>{let n=65535&t|0,s=t>>>16&65535|0,r=0;for(;0!==a;){r=a>2e3?2e3:a,a-=r;do{n=n+e[i++]|0,s=s+n|0}while(--r);n%=65521,s%=65521}return n|s<<16|0};const L=new Uint32Array((()=>{let t,e=[];for(var a=0;a<256;a++){t=a;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e})());var N=(t,e,a,i)=>{const n=L,s=i+a;t^=-1;for(let a=i;a<s;a++)t=t>>>8^n[255&(t^e[a])];return-1^t},I={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},B={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:C,_tr_stored_block:H,_tr_flush_block:M,_tr_tally:j,_tr_align:K}=O,{Z_NO_FLUSH:P,Z_PARTIAL_FLUSH:Y,Z_FULL_FLUSH:G,Z_FINISH:X,Z_BLOCK:W,Z_OK:q,Z_STREAM_END:J,Z_STREAM_ERROR:Q,Z_DATA_ERROR:V,Z_BUF_ER
vendor: 10,438 bytes, line 74
74ROR:$,Z_DEFAULT_COMPRESSION:tt,Z_FILTERED:et,Z_HUFFMAN_ONLY:at,Z_RLE:it,Z_FIXED:nt,Z_DEFAULT_STRATEGY:st,Z_UNKNOWN:rt,Z_DEFLATED:ot}=B,lt=(t,e)=>(t.msg=I[e],e),ht=t=>2*t-(t>4?9:0),dt=t=>{let e=t.length;for(;--e>=0;)t[e]=0},_t=t=>{let e,a,i,n=t.w_size;e=t.hash_size,i=e;do{a=t.head[--i],t.head[i]=a>=n?a-n:0}while(--e);e=n,i=e;do{a=t.prev[--i],t.prev[i]=a>=n?a-n:0}while(--e)};let ft=(t,e,a)=>(e<<t.hash_shift^a)&t.hash_mask;const ct=t=>{const e=t.state;let a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},ut=(t,e)=>{M(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,ct(t.strm)},wt=(t,e)=>{t.pending_buf[t.pending++]=e},mt=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},bt=(t,e,a,i)=>{let n=t.avail_in;return n>i&&(n=i),0===n?0:(t.avail_in-=n,e.set(t.input.subarray(t.next_in,t.next_in+n),a),1===t.state.wrap?t.adler=F(t.adler,e,n,a):2===t.state.wrap&&(t.adler=N(t.adler,e,n,a)),t.next_in+=n,t.total_in+=n,n)},gt=(t,e)=>{let a,i,n=t.max_chain_length,s=t.strstart,r=t.prev_length,o=t.nice_match;const l=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,h=t.window,d=t.w_mask,_=t.prev,f=t.strstart+258;let c=h[s+r-1],u=h[s+r];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do{if(a=e,h[a+r]===u&&h[a+r-1]===c&&h[a]===h[s]&&h[++a]===h[s+1]){s+=2,a++;do{}while(h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&s<f);if(i=258-(f-s),s=f-258,i>r){if(t.match_start=e,r=i,i>=o)break;c=h[s+r-1],u=h[s+r]}}}while((e=_[e&d])>l&&0!=--n);return r<=t.lookahead?r:t.lookahead},pt=t=>{const e=t.w_size;let a,i,n;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-262)&&(t.window.set(t.window.subarray(e,e+e-i),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),_t(t),i+=e),0===t.strm.avail_in)break;if(a=bt(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=a,t.lookahead+t.insert>=3)for(n=t.strstart-t.insert,t.ins_h=t.window[n],t.ins_h=ft(t,t.ins_h,t.window[n+1]);t.insert&&(t.ins_h=ft(t,t.ins_h,t.window[n+3-1]),t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)},kt=(t,e)=>{let a,i,n,s=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,r=0,o=t.strm.avail_in;do{if(a=65535,n=t.bi_valid+42>>3,t.strm.avail_out<n)break;if(n=t.strm.avail_out-n,i=t.strstart-t.block_start,a>i+t.strm.avail_in&&(a=i+t.strm.avail_in),a>n&&(a=n),a<s&&(0===a&&e!==X||e===P||a!==i+t.strm.avail_in))break;r=e===X&&a===i+t.strm.avail_in?1:0,H(t,0,0,r),t.pending_buf[t.pending-4]=a,t.pending_buf[t.pending-3]=a>>8,t.pending_buf[t.pending-2]=~a,t.pending_buf[t.pending-1]=~a>>8,ct(t.strm),i&&(i>a&&(i=a),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+i),t.strm.next_out),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i,t.block_start+=i,a-=i),a&&(bt(t.strm,t.strm.output,t.strm.next_out,a),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a)}while(0===r);return o-=t.strm.avail_in,o&&(o>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=o&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-o,t.strm.next_in),t.strstart),t.strstart+=o,t.insert+=o>t.w_size-t.insert?t.w_size-t.insert:o),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),r?4:e!==P&&e!==X&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(n=t.window_size-t.strstart,t.strm.avail_in>n&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,n+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),n>t.strm.avail_in&&(n=t.strm.avail_in),n&&(bt(t.strm,t.window,t.strstart,n),t.strstart+=n,t.insert+=n>t.w_size-t.insert?t.w_size-t.insert:n),t.high_water<t.strstart&&(t.high_water=t.strstart),n=t.bi_valid+42>>3,n=t.pending_buf_size-n>65535?65535:t.pending_buf_size-n,s=n>t.w_size?t.w_size:n,i=t.strstart-t.block_start,(i>=s||(i||e===X)&&e!==P&&0===t.strm.avail_in&&i<=n)&&(a=i>n?n:i,r=e===X&&0===t.strm.avail_in&&a===i?1:0,H(t,t.block_start,a,r),t.block_start+=a,ct(t.strm)),r?3:1)},vt=(t,e)=>{let a,i;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a)),t.match_length>=3)if(i=j(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=ft(t,t.ins_h,t.window[t.strstart+1]);else i=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2},yt=(t,e)=>{let a,i,n;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a),t.match_length<=5&&(t.strategy===et||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){n=t.strstart+t.lookahead-3,i=j(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=n&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,i&&(ut(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(i=j(t,0,t.window[t.strstart-1]),i&&ut(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=j(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2};function xt(t,e,a,i,n){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=i,this.func=n}const zt=[new xt(0,0,0,0,kt),new xt(4,4,8,4,vt),new xt(4,5,16,8,vt),new xt(4,6,32,32,vt),new xt(4,4,16,16,yt),new xt(8,16,32,32,yt),new xt(8,16,128,128,yt),new xt(8,32,128,256,yt),new xt(32,128,258,1024,yt),new xt(32,258,258,4096,yt)];function At(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ot,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),dt(this.dyn_ltree),dt(this.dyn_dtree),dt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),dt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Et=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||42!==e.status&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&113!==e.status&&666!==e.status?1:0},Rt=t=>{if(Et(t))return lt(t,Q);t.total_in=t.total_out=0,t.data_type=rt;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=-2,C(e),q},Zt=t=>{const e=Rt(t);var a;return e===q&&((a=t.state).window_size=2*a.w_size,dt(a.head),a.max_lazy_match=zt[a.level].max_lazy,a.good_match=zt[a.level].good_length,a.nice_match=zt[a.level].nice_length,a.max_chain_length=zt[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=2,a.match_available=0,a.ins_h=0),e},Ut=(t,e,a,i,n,s)=>{if(!t)return Q;let r=1;if(e===tt&&(e=6),i<0?(r=0,i=-i):i>15&&(r=2,i-=16),n<1||n>9||a!==ot||i<8||i>15||e<0||e>9||s<0||s>nt||8===i&&1!==r)return lt(t,Q);8===i&&(i=9);const o=new At;return t.state=o,o.strm=t,o.status=42,o.wrap=r,o.gzhead=null,o.w_bits=i,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=n+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<n+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.sym_buf=o.lit_bufsize,o.sym_end=3*(o.lit_bufsize-1),o.level=e,o.strategy=s,o.method=a,Zt(t)};var St={deflateInit:(t,e)=>Ut(t,e,ot,15,8,st),deflateInit2:Ut,deflateReset:Zt,deflateResetKeep:Rt,deflateSetHeader:(t,e)=>Et(t)||2!==t.state.wrap?Q:(t.state.gzhead=e,q),deflate:(t,e)=>{if(Et(t)||e>W||e<0)return t?lt(t,Q):Q;const a=t.state;if(!t.output||0!==t.avail_in&&!t.input||666===a.status&&e!==X)return lt(t,0===t.avail_out?$:Q);const i=a.last_flush;
vendor: 4,728 bytes, line 74
74if(a.last_flush=e,0!==a.pending){if(ct(t),0===t.avail_out)return a.last_flush=-1,q}else if(0===t.avail_in&&ht(e)<=ht(i)&&e!==X)return lt(t,$);if(666===a.status&&0!==t.avail_in)return lt(t,$);if(42===a.status&&0===a.wrap&&(a.status=113),42===a.status){let e=ot+(a.w_bits-8<<4)<<8,i=-1;if(i=a.strategy>=at||a.level<2?0:a.level<6?1:6===a.level?2:3,e|=i<<6,0!==a.strstart&&(e|=32),e+=31-e%31,mt(a,e),0!==a.strstart&&(mt(a,t.adler>>>16),mt(a,65535&t.adler)),t.adler=1,a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(57===a.status)if(t.adler=0,wt(a,31),wt(a,139),wt(a,8),a.gzhead)wt(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),wt(a,255&a.gzhead.time),wt(a,a.gzhead.time>>8&255),wt(a,a.gzhead.time>>16&255),wt(a,a.gzhead.time>>24&255),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(wt(a,255&a.gzhead.extra.length),wt(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=N(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69;else if(wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,3),a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q;if(69===a.status){if(a.gzhead.extra){let e=a.pending,i=(65535&a.gzhead.extra.length)-a.gzindex;for(;a.pending+i>a.pending_buf_size;){let n=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+n),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex+=n,ct(t),0!==a.pending)return a.last_flush=-1,q;e=0,i-=n}let n=new Uint8Array(a.gzhead.extra);a.pending_buf.set(n.subarray(a.gzindex,a.gzindex+i),a.pending),a.pending+=i,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex=0}a.status=73}if(73===a.status){if(a.gzhead.name){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),a.gzindex=0}a.status=91}if(91===a.status){if(a.gzhead.comment){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i))}a.status=103}if(103===a.status){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(ct(t),0!==a.pending))return a.last_flush=-1,q;wt(a,255&t.adler),wt(a,t.adler>>8&255),t.adler=0}if(a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(0!==t.avail_in||0!==a.lookahead||e!==P&&666!==a.status){let i=0===a.level?kt(a,e):a.strategy===at?((t,e)=>{let a;for(;;){if(0===t.lookahead&&(pt(t),0===t.lookahead)){if(e===P)return 1;break}if(t.match_length=0,a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):a.strategy===it?((t,e)=>{let a,i,n,s;const r=t.window;for(;;){if(t.lookahead<=258){if(pt(t),t.lookahead<=258&&e===P)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=t.strstart-1,i=r[n],i===r[++n]&&i===r[++n]&&i===r[++n])){s=t.strstart+258;do{}while(i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&n<s);t.match_length=258-(s-n),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=j(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):zt[a.level].func(a,e);if(3!==i&&4!==i||(a.status=666),1===i||3===i)return 0===t.avail_out&&(a.last_flush=-1),q;if(2===i&&(e===Y?K(a):e!==W&&(H(a,0,0,!1),e===G&&(dt(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),ct(t),0===t.avail_out))return a.last_flush=-1,q}return e!==X?q:a.wrap<=0?J:(2===a.wrap?(wt(a,255&t.adler),wt(a,t.adler>>8&255),wt(a,t.adler>>16&255),wt(a,t.adler>>24&255),wt(a,255&t.total_in),wt(a,t.total_in>>8&255),wt(a,t.total_in>>16&255),wt(a,t.total_in>>24&255)):(mt(a,t.adler>>>16),mt(a,65535&t.adler)),ct(t),a.wrap>
vendor: 10,448 bytes, line 74
740&&(a.wrap=-a.wrap),0!==a.pending?q:J)},deflateEnd:t=>{if(Et(t))return Q;const e=t.state.status;return t.state=null,113===e?lt(t,V):q},deflateSetDictionary:(t,e)=>{let a=e.length;if(Et(t))return Q;const i=t.state,n=i.wrap;if(2===n||1===n&&42!==i.status||i.lookahead)return Q;if(1===n&&(t.adler=F(t.adler,e,a,0)),i.wrap=0,a>=i.w_size){0===n&&(dt(i.head),i.strstart=0,i.block_start=0,i.insert=0);let t=new Uint8Array(i.w_size);t.set(e.subarray(a-i.w_size,a),0),e=t,a=i.w_size}const s=t.avail_in,r=t.next_in,o=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,pt(i);i.lookahead>=3;){let t=i.strstart,e=i.lookahead-2;do{i.ins_h=ft(i,i.ins_h,i.window[t+3-1]),i.prev[t&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=t,t++}while(--e);i.strstart=t,i.lookahead=2,pt(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,t.next_in=r,t.input=o,t.avail_in=s,i.wrap=n,q},deflateInfo:"pako deflate (from Nodeca project)"};const Dt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var Tt=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const a=e.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(const e in a)Dt(a,e)&&(t[e]=a[e])}}return t},Ot=t=>{let e=0;for(let a=0,i=t.length;a<i;a++)e+=t[a].length;const a=new Uint8Array(e);for(let e=0,i=0,n=t.length;e<n;e++){let n=t[e];a.set(n,i),i+=n.length}return a};let Ft=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Ft=!1}const Lt=new Uint8Array(256);for(let t=0;t<256;t++)Lt[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Lt[254]=Lt[254]=1;var Nt=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,i,n,s,r=t.length,o=0;for(n=0;n<r;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),o+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(o),s=0,n=0;s<o;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),a<128?e[s++]=a:a<2048?(e[s++]=192|a>>>6,e[s++]=128|63&a):a<65536?(e[s++]=224|a>>>12,e[s++]=128|a>>>6&63,e[s++]=128|63&a):(e[s++]=240|a>>>18,e[s++]=128|a>>>12&63,e[s++]=128|a>>>6&63,e[s++]=128|63&a);return e},It=(t,e)=>{const a=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));let i,n;const s=new Array(2*a);for(n=0,i=0;i<a;){let e=t[i++];if(e<128){s[n++]=e;continue}let r=Lt[e];if(r>4)s[n++]=65533,i+=r-1;else{for(e&=2===r?31:3===r?15:7;r>1&&i<a;)e=e<<6|63&t[i++],r--;r>1?s[n++]=65533:e<65536?s[n++]=e:(e-=65536,s[n++]=55296|e>>10&1023,s[n++]=56320|1023&e)}}return((t,e)=>{if(e<65534&&t.subarray&&Ft)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let a="";for(let i=0;i<e;i++)a+=String.fromCharCode(t[i]);return a})(s,n)},Bt=(t,e)=>{(e=e||t.length)>t.length&&(e=t.length);let a=e-1;for(;a>=0&&128==(192&t[a]);)a--;return a<0||0===a?e:a+Lt[t[a]]>e?a:e};var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const Ht=Object.prototype.toString,{Z_NO_FLUSH:Mt,Z_SYNC_FLUSH:jt,Z_FULL_FLUSH:Kt,Z_FINISH:Pt,Z_OK:Yt,Z_STREAM_END:Gt,Z_DEFAULT_COMPRESSION:Xt,Z_DEFAULT_STRATEGY:Wt,Z_DEFLATED:qt}=B;function Jt(t){this.options=Tt({level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=St.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==Yt)throw new Error(I[a]);if(e.header&&St.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?Nt(e.dictionary):"[object ArrayBuffer]"===Ht.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,a=St.deflateSetDictionary(this.strm,t),a!==Yt)throw new Error(I[a]);this._dict_set=!0}}function Qt(t,e){const a=new Jt(e);if(a.push(t,!0),a.err)throw a.msg||I[a.err];return a.result}Jt.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize;let n,s;if(this.ended)return!1;for(s=e===~~e?e:!0===e?Pt:Mt,"string"==typeof t?a.input=Nt(t):"[object ArrayBuffer]"===Ht.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;)if(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),(s===jt||s===Kt)&&a.avail_out<=6)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else{if(n=St.deflate(a,s),n===Gt)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),n=St.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Yt;if(0!==a.avail_out){if(s>0&&a.next_out>0)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else if(0===a.avail_in)break}else this.onData(a.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===Yt&&(this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var Vt={Deflate:Jt,deflate:Qt,deflateRaw:function(t,e){return(e=e||{}).raw=!0,Qt(t,e)},gzip:function(t,e){return(e=e||{}).gzip=!0,Qt(t,e)},constants:B};var $t=function(t,e){let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z,A;const E=t.state;a=t.next_in,z=t.input,i=a+(t.avail_in-5),n=t.next_out,A=t.output,s=n-(e-t.avail_out),r=n+(t.avail_out-257),o=E.dmax,l=E.wsize,h=E.whave,d=E.wnext,_=E.window,f=E.hold,c=E.bits,u=E.lencode,w=E.distcode,m=(1<<E.lenbits)-1,b=(1<<E.distbits)-1;t:do{c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=u[f&m];e:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,0===p)A[n++]=65535&g;else{if(!(16&p)){if(0==(64&p)){g=u[(65535&g)+(f&(1<<p)-1)];continue e}if(32&p){E.mode=16191;break t}t.msg="invalid literal/length code",E.mode=16209;break t}k=65535&g,p&=15,p&&(c<p&&(f+=z[a++]<<c,c+=8),k+=f&(1<<p)-1,f>>>=p,c-=p),c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=w[f&b];a:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,!(16&p)){if(0==(64&p)){g=w[(65535&g)+(f&(1<<p)-1)];continue a}t.msg="invalid distance code",E.mode=16209;break t}if(v=65535&g,p&=15,c<p&&(f+=z[a++]<<c,c+=8,c<p&&(f+=z[a++]<<c,c+=8)),v+=f&(1<<p)-1,v>o){t.msg="invalid distance too far back",E.mode=16209;break t}if(f>>>=p,c-=p,p=n-s,v>p){if(p=v-p,p>h&&E.sane){t.msg="invalid distance too far back",E.mode=16209;break t}if(y=0,x=_,0===d){if(y+=l-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}else if(d<p){if(y+=l+d-p,p-=d,p<k){k-=p;do{A[n++]=_[y++]}while(--p);if(y=0,d<k){p=d,k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}}else if(y+=d-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}for(;k>2;)A[n++]=x[y++],A[n++]=x[y++],A[n++]=x[y++],k-=3;k&&(A[n++]=x[y++],k>1&&(A[n++]=x[y++]))}else{y=n-v;do{A[n++]=A[y++],A[n++]=A[y++],A[n++]=A[y++],k-=3}while(k>2);k&&(A[n++]=A[y++],k>1&&(A[n++]=A[y++]))}break}}break}}while(a<i&&n<r);k=c>>3,a-=k,c-=k<<3,f&=(1<<c)-1,t.next_in=a,t.next_out=n,t.avail_in=a<i?i-a+5:5-(a-i),t.avail_out=n<r?r-n+257:257-(n-r),E.hold=f,E.bits=c};const te=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),ee=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),ae=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),ie=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var ne=(t,e,a,i,n,s,r,o)=>{const l=o.bits;let h,d,_,f,c,u,w=0,m=0,b=0,g=0,p=0,k=0,v=0,y=0,x=0,z=0,A=null;const E=new Uint16Array(16),R=new Uint16Array(16);let Z,U,S,D=null;for(w=0;w<=15;w++)E[w]=0;for(m=0;m<i;m++)E[e[a+m]]++;for(p=l,g=15;g>=1&&0===E[g];g--);if(p>g&&(p=g),0===g)return n[s++]=20971520,n[s++]=20971520,o.bits=1,0;for(b=1;b<g&&0===E[b];b++);for(p<b&&(p=b),y=1,w=1;w<=15;w++)if(y<<=1,y-=E[w],y<0)return-1;if(y>0&&(0===t||1!==g))return-1;for(R[1]=0,w=1;w<15;w++)R[w+1]=R[w]+E[w];for(m=0;m<i;m++)0!==e[a+m]&&(r[R[e[a+m]]++]=m);if(0===t?(A=D=r,u=20):1===t?(A=te,D=ee,u=257):(A=ae,D=ie,u=0),z=0,m=0,w=b,c=s,k=p,v=0,_=-1,x=1<<p,f=x-1,1===t&&x>852||2===t&&x>592)return 1;for(;;){Z=w-v,r[m]+1<u?(U=0,S=r[m]):r[m]>=u?(U=D[r[m]-u],S=A[r[m]-u]):(U=96,S=0),h=1<<w-v,d=1<<k,b=d;do{d-=h,n[c+(z>>v)+d]=Z<<24|U<<16|S|0}while(0!==d);for(h=1<<w-1;z&h;)h>>=1;if(0!==h?(z&=h-1,z+=h):z=0,m++,0==--E[w]){if(w===g)break;w=e[a+r[m]]}if(w>p&&(z&f)!==_){for(0===v&&(v=p),c+=b,k=w-v,y=1<<k;k+v<g&&(y-=E[k+v],!(y<=0));)k++,y<<=1;if(x+=1<<k,1===t&&x>852||2===t&&x>592)return 1;_=z&f,n[_]=p<<24|k<<16|c-s|0}}return 0!==z&&(n[c+z]=w-v<<24|64<<16|0),o.bits=p,0};const{Z_FINISH:se,Z_BLOCK:re,Z_TREES:oe,Z_OK:le,Z_STREAM_END:he,Z_NEED_DICT:de,Z_STREAM_ERROR:_e,Z_DATA_ERROR:fe,Z_MEM_ERROR:ce,Z_BUF_ERROR:ue,Z_DEFLATED:we}=B,me=16209,be=t=>(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24);function ge(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const pe=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.mode<16180||e.mode>16211?1:0},ke=t=>{if(pe(t))return _e;const e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=16180,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,le},ve=t=>{if(pe(t))return _e;const e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,ke(t)},ye=(t,e)=>{let a;if(pe(t))return _e;const i=t.state;return e<0?(a=0,e=-e):(a=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?_e:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=a,i.wbits=e,ve(t))},xe=(t,e)=>{if(!t)return _e;const a=new ge;t.state=a,a.strm=t,a.window=null,a.mode=16180;const i=ye(t,e);return i!==le&&(t.state=null),i};let ze,Ae,Ee=!0;const Re=t=>
vendor: 11,506 bytes, line 74
74{if(Ee){ze=new Int32Array(512),Ae=new Int32Array(32);let e=0;for(;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(ne(1,t.lens,0,288,ze,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;ne(2,t.lens,0,32,Ae,0,t.work,{bits:5}),Ee=!1}t.lencode=ze,t.lenbits=9,t.distcode=Ae,t.distbits=5},Ze=(t,e,a,i)=>{let n;const s=t.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new Uint8Array(s.wsize)),i>=s.wsize?(s.window.set(e.subarray(a-s.wsize,a),0),s.wnext=0,s.whave=s.wsize):(n=s.wsize-s.wnext,n>i&&(n=i),s.window.set(e.subarray(a-i,a-i+n),s.wnext),(i-=n)?(s.window.set(e.subarray(a-i,a),0),s.wnext=i,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=n))),0};var Ue={inflateReset:ve,inflateReset2:ye,inflateResetKeep:ke,inflateInit:t=>xe(t,15),inflateInit2:xe,inflate:(t,e)=>{let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z=0;const A=new Uint8Array(4);let E,R;const Z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(pe(t)||!t.output||!t.input&&0!==t.avail_in)return _e;a=t.state,16191===a.mode&&(a.mode=16192),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,_=o,f=l,x=le;t:for(;;)switch(a.mode){case 16180:if(0===a.wrap){a.mode=16192;break}for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(2&a.wrap&&35615===h){0===a.wbits&&(a.wbits=15),a.check=0,A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0),h=0,d=0,a.mode=16181;break}if(a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",a.mode=me;break}if((15&h)!==we){t.msg="unknown compression method",a.mode=me;break}if(h>>>=4,d-=4,y=8+(15&h),0===a.wbits&&(a.wbits=y),y>15||y>a.wbits){t.msg="invalid window size",a.mode=me;break}a.dmax=1<<a.wbits,a.flags=0,t.adler=a.check=1,a.mode=512&h?16189:16191,h=0,d=0;break;case 16181:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.flags=h,(255&a.flags)!==we){t.msg="unknown compression method",a.mode=me;break}if(57344&a.flags){t.msg="unknown header flags set",a.mode=me;break}a.head&&(a.head.text=h>>8&1),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16182;case 16182:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.time=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,A[2]=h>>>16&255,A[3]=h>>>24&255,a.check=N(a.check,A,4,0)),h=0,d=0,a.mode=16183;case 16183:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.xflags=255&h,a.head.os=h>>8),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16184;case 16184:if(1024&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length=h,a.head&&(a.head.extra_len=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0}else a.head&&(a.head.extra=null);a.mode=16185;case 16185:if(1024&a.flags&&(c=a.length,c>o&&(c=o),c&&(a.head&&(y=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(i.subarray(s,s+c),y)),512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,a.length-=c),a.length))break t;a.length=0,a.mode=16186;case 16186:if(2048&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.name+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.name=null);a.length=0,a.mode=16187;case 16187:if(4096&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.comment+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.comment=null);a.mode=16188;case 16188:if(512&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(65535&a.check)){t.msg="header crc mismatch",a.mode=me;break}h=0,d=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=16191;break;case 16189:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}t.adler=a.check=be(h),h=0,d=0,a.mode=16190;case 16190:if(0===a.havedict)return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,de;t.adler=a.check=1,a.mode=16191;case 16191:if(e===re||e===oe)break t;case 16192:if(a.last){h>>>=7&d,d-=7&d,a.mode=16206;break}for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}switch(a.last=1&h,h>>>=1,d-=1,3&h){case 0:a.mode=16193;break;case 1:if(Re(a),a.mode=16199,e===oe){h>>>=2,d-=2;break t}break;case 2:a.mode=16196;break;case 3:t.msg="invalid block type",a.mode=me}h>>>=2,d-=2;break;case 16193:for(h>>>=7&d,d-=7&d;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if((65535&h)!=(h>>>16^65535)){t.msg="invalid stored block lengths",a.mode=me;break}if(a.length=65535&h,h=0,d=0,a.mode=16194,e===oe)break t;case 16194:a.mode=16195;case 16195:if(c=a.length,c){if(c>o&&(c=o),c>l&&(c=l),0===c)break t;n.set(i.subarray(s,s+c),r),o-=c,s+=c,l-=c,r+=c,a.length-=c;break}a.mode=16191;break;case 16196:for(;d<14;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.nlen=257+(31&h),h>>>=5,d-=5,a.ndist=1+(31&h),h>>>=5,d-=5,a.ncode=4+(15&h),h>>>=4,d-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=me;break}a.have=0,a.mode=16197;case 16197:for(;a.have<a.ncode;){for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.lens[Z[a.have++]]=7&h,h>>>=3,d-=3}for(;a.have<19;)a.lens[Z[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,E={bits:a.lenbits},x=ne(0,a.lens,0,19,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid code lengths set",a.mode=me;break}a.have=0,a.mode=16198;case 16198:for(;a.have<a.nlen+a.ndist;){for(;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(g<16)h>>>=m,d-=m,a.lens[a.have++]=g;else{if(16===g){for(R=m+2;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(h>>>=m,d-=m,0===a.have){t.msg="invalid bit length repeat",a.mode=me;break}y=a.lens[a.have-1],c=3+(3&h),h>>>=2,d-=2}else if(17===g){for(R=m+3;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=3+(7&h),h>>>=3,d-=3}else{for(R=m+7;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=11+(127&h),h>>>=7,d-=7}if(a.have+c>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=me;break}for(;c--;)a.lens[a.have++]=y}}if(a.mode===me)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=me;break}if(a.lenbits=9,E={bits:a.lenbits},x=ne(1,a.lens,0,a.nlen,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid literal/lengths set",a.mode=me;break}if(a.distbits=6,a.distcode=a.distdyn,E={bits:a.distbits},x=ne(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,E),a.distbits=E.bits,x){t.msg="invalid distances set",a.mode=me;break}if(a.mode=16199,e===oe)break t;case 16199:a.mode=16200;case 16200:if(o>=6&&l>=258){t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,$t(t,f),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,16191===a.mode&&(a.back=-1);break}for(a.back=0;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(b&&0==(240&b)){for(p=m,k=b,v=g;z=a.lencode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,a.length=g,0===b){a.mode=16205;break}if(32&b){a.back=-1,a.mode=16191;break}if(64&b){t.msg="invalid literal/length code",a.mode=me;break}a.extra=15&b,a.mode=16201;case 16201:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=16202;case 16202:for(;z=a.distcode[h&(1<<a.distbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(0==(240&b)){for(p=m,k=b,v=g;z=a.distcode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,64&b){t.msg="invalid distance code",a.mode=me;break}a.offset=g,a.extra=15&b,a.mode=16203;case 16203:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.offset+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=me;break}a.mode=16204;case 16204:if(0===l)break t;if(c=f-l,a.offset>c){if(c=a.offset-c,c>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=me;break}c>a.wnext?(c-=a.wnext,u=a.wsize-c):u=a.wnext-c,c>a.length&&(c=a.length),w=a.window}else w=n,u=r-a.offset,c=a.length;c>l&&(c=l),l-=c,a.length-=c;do{n[r++]=w[u++]}while(--c);0===a.length&&(a.mode=16200);break;case 16205:if(0===l)break t;n[r++]=a.length,l--,a.mode=16200;break;case 16206:if(a.wrap){for(;d<32;){if(0===o)break t;o--,h|=i[s++]<<d,d+=8}if(f-=l,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,r-f):F(a.check,n,f,r-f)),f=l,4&a.wrap&&(a.flags?h:be(h))!==a.check){t.msg="incorrect data check",a.mode=me;break}h=0,d=0}a.mode=16207;case 16207:if(a.wrap&&a.flags){for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(4294967295&a.total)){t.msg="incorrect length check",a.mode=me;break}h=0,d=0}a.mode=16208;case 16208:x=he;break t;case me:x=fe;break t;case 16210:return ce;default:return _e}return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,(a.wsize||f!==t.avail_out&&a.mode<me&&(a.mode<16206||e!==se))&&Ze(t,t.output,t.next_out,f-t.avail_out),_-=t.avail_in,f-=t.avail_out,t.total_in+=_,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,t.next_out-f):F(a.check,n,f,t.next_out-f)),t.data_type=a.bits+(a.last?64:0)+(16191===a.mode?128:0)+(16199===a.mode||16194===a.mode?256:0),(0===_&&0===f||e===se)&&x===le&&(x=ue),x},inflateEnd:t=>{if(pe(t))return _e;let e=t.state;return e.window&&(e.window=null),t.state=null,le},inflateGetHeader:(t,e)=>{if(pe(t))return _e;const a=t.state;return 0==(2&a.wrap)?_e:(a.head=e,e.done=!1,le)},inflateSetDictionary:(t,e)=>{const a=e.length;let i,n,s;return pe(t)?_e:(i=t.state,0!==i.wrap&&16190!==i.mode?_e:16190===i.mode&&(n=1,n=F(n,e,a,0),n!==i.check)?fe:(s=Ze(t,e,a,a),s?(i.mode=16210,ce):(i.havedict=1,le)))},inflateInfo:"pako inflate (from Nodeca project)"};var Se=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const De=Object.prototype.toString,{Z_NO_FLUSH:Te,Z_FINISH:Oe,Z_OK:Fe,Z_STREAM_END:Le,Z_NEED_DICT:Ne,Z_STREAM_ERROR:Ie,Z_DATA_ERROR:Be,Z_MEM_ERROR:Ce}=B;function He(t){this.options=Tt({chunkSize:65536,windowBits:15,to:""},t||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=Ue.inflateInit2(this.strm,e.windowBits);if(a!==Fe)throw new Error(I[a]);if(this.header=new Se,Ue.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Nt(e.dictionary):"[object ArrayBuffer]"===De.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(a=Ue.inflateSetDictionary(this.strm,e.dictionary),a!==Fe)))throw new Error(I[a])}He.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize,n=this.options.dictionary;let s,r,o;
74if(this.ended)return!1;for(r=e===~~e?e:!0===e?Oe:Te,"[object ArrayBuffer]"===De.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;){for(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),s=Ue.inflate(a,r),s===Ne&&n&&(s=Ue.inflateSetDictionary(a,n),s===Fe?s=Ue.inflate(a,r):s===Be&&(s=Ne));a.avail_in>0&&s===Le&&a.state.wrap>0&&0!==t[a.next_in];)Ue.inflateReset(a),s=Ue.inflate(a,r);switch(s){case Ie:case Be:case Ne:case Ce:return this.onEnd(s),this.ended=!0,!1}if(o=a.avail_out,a.next_out&&(0===a.avail_out||s===Le))if("string"===this.options.to){let t=Bt(a.output,a.next_out),e=a.next_out-t,n=It(a.output,t);a.next_out=e,a.avail_out=i-e,e&&a.output.set(a.output.subarray(t,t+e),0),this.onData(n)}else this.onData(a.output.length===a.next_out?a.output:a.output.subarray(0,a.next_out));if(s!==Fe||0!==o){if(s===Le)return s=Ue.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(0===a.avail_in)break}}return!0},He.prototype.onData=function(t){this.chunks.push(t)},He.prototype.onEnd=function(t){t===Fe&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};const{Deflate:Me,deflate:je,deflateRaw:Ke,gzip:Pe}=Vt;var Ye=Me,Ge=je,Xe=B;const We=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const e=this._hasEvents?",":"";this.deflate.push(e+t,Xe.Z_SYNC_FLUSH),this._hasEvents=!0}finish(){if(this.deflate.push("]",Xe.Z_FINISH),this.deflate.err)throw this.deflate.err;const t=this.deflate.result;return this._init(),t}_init(){this._hasEvents=!1,this.deflate=new Ye,this.deflate.push("[",Xe.Z_NO_FLUSH)}},qe={clear:()=>{We.clear()},addEvent:t=>We.addEvent(t),finish:()=>We.finish(),compress:t=>function(t){return Ge(t)}(t)};addEventListener("message",(function(t){const e=t.data.method,a=t.data.id,i=t.data.arg;if(e in qe&&"function"==typeof qe[e])try{const t=qe[e](i);postMessage({id:a,method:e,success:!0,response:t})}catch(t){postMessage({id:a,method:e,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});']);return URL.createObjectURL(t)}(),e=new Worker(t);return new go(e)}catch(e){}return new po}function vo(){try{return"sessionStorage"in sr&&!!sr.sessionStorage}catch(t){return!1}}function _o(t){!function(){if(!vo())return;try{sr.sessionStorage.removeItem(ar)}catch(t){}}(),t.session=void 0}function bo(t,e,n=+new Date){return null===t||void 0===e||e<0||0!==e&&t+e<=n}function wo(t,e,n=+new Date){return bo(t.started,e.maxSessionLife,n)||bo(t.lastActivity,e.sessionIdleExpire,n)}function ko(t){return void 0!==t&&Math.random()<t}function So(t){if(vo())try{sr.sessionStorage.setItem(ar,JSON.stringify(t))}catch(e){}}function xo(t){const e=Date.now();return{id:t.id||(0,b.DM)(),started:t.started||e,lastActivity:t.lastActivity||e,segmentId:t.segmentId||0,sampled:t.sampled,shouldRefresh:"boolean"!==typeof t.shouldRefresh||t.shouldRefresh}}function Eo({sessionSampleRate:t,allowBuffering:e,stickySession:n=!1}){const r=function(t,e){return ko(t)?"session":!!e&&"buffer"}(t,e),i=xo({sampled:r});return n&&So(i),i}function To({timeouts:t,currentSession:e,stickySession:n,sessionSampleRate:r,allowBuffering:i,traceInternals:o}){const s=e||n&&function(t){if(!vo())return null;try{const t=sr.sessionStorage.getItem(ar);return t?xo(JSON.parse(t)):null}catch(e){return null}}();if(s){if(!wo(s,t)||i&&s.shouldRefresh)return{type:"saved",session:s};if(!s.shouldRefresh){return{type:"new",session:xo({sampled:!1})}}}return{type:"new",session:Eo({stickySession:n,sessionSampleRate:r,allowBuffering:i})}}async function Co(t,e,n){if(!t.eventBuffer)return null;if(t.isPaused())return null;const i=Hi(e.timestamp);if(i+t.timeouts.sessionIdlePause<Date.now())return null;if(i>t.getContext().initialTimestamp+t.timeouts.maxSessionLife)return t.getOptions()._experiments.traceInternals,null;try{n&&"buffer"===t.recordingMode&&t.eventBuffer.clear(),n&&(t.eventBuffer.hasCheckout=!0);const r=function(t,e){try{if("function"===typeof e&&function(t){return t.type===$r.Custom}(t))return e(t)}catch(n){return null}return t}(e,t.getOptions().beforeAddRecordingEvent);if(!r)return;return await t.eventBuffer.addEvent(r)}catch(o){const e=o&&o instanceof ho?"addEventSizeExceeded":"addEvent";await t.stop({reason:e});const n=(0,r.Gd)().getClient();n&&n.recordDroppedEvent("internal_sdk_error","replay")}}function Ro(t){return!t.type}function Oo(t){return"transaction"===t.type}function Io(t){const e=function(){const t=(0,r.Gd)().getClient();if(!t)return!1;const e=t.getTransport();if(!e)return!1;return e.send.__sentry__baseTransport__||!1}();return(n,r)=>{if(!t.isEnabled()||!Ro(n)&&!Oo(n))return;const i=r&&r.statusCode;e&&(!i||i<200||i>=300)||(Oo(n)?function(t,e){const n=t.getContext();e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id&&n.traceIds.size<100&&n.traceIds.add(e.contexts.trace.trace_id)}(t,n):function(t,e){const n=t.getContext();e.event_id&&n.errorIds.size<100&&n.errorIds.add(e.event_id);"buffer"===t.recordingMode&&e.tags&&e.tags.replayId&&setTimeout((()=>{t.sendBufferedReplayOrFlush()}))}(t,n))}}function Ao(t,e=!1){const n=e?Io(t):void 0;return(e,r)=>{if(!t.isEnabled())return e;if(function(t){return"replay_event"===t.type}(e))return delete e.breadcrumbs,e;if(!Ro(e)&&!Oo(e))return e;if(function(t,e){return!(t.type||!t.exception||!t.exception.values||!t.exception.values.length)&&(!(!e.originalException||!e.originalException.__rrweb__)||t.exception.values.some((t=>!!(t.stacktrace&&t.stacktrace.frames&&t.stacktrace.frames.length)&&t.stacktrace.frames.some((t=>t.filename&&t.filename.includes("/rrweb/src/"))))))}(e,r)&&!t.getOptions()._experiments.captureExceptions)return null;const i=function(t,e){return"buffer"===t.recordingMode&&e.message!==cr&&!(!e.exception||e.type)&&ko(t.getOptions().errorSampleRate)}(t,e);return(i||"session"===t.recordingMode)&&(e.tags={...e.tags,replayId:t.getSessionId()}),n&&n(e,{statusCode:200}),e}}function Zo(t,e){return e.map((({type:e,start:n,end:r,name:i,data:o})=>{const s=t.throttledAddEvent({type:$r.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:e,description:i,startTimestamp:n,endTimestamp:r,data:o}}});return"string"===typeof s?Promise.resolve(null):s}))}function Mo(t){return e=>{if(!t.isEnabled())return;const n=function(t){const{from:e,to:n}=t,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:e}}}(e);null!==n&&(t.getContext().urls.push(n.name),t.triggerUserActivity(),t.addUpdate((()=>(Zo(t,[n]),!1))))}}function Po(t,e){return function(t){const e=(0,r.Gd)().getClient(),n=e&&e.getDsn();return!!n&&t.includes(n.host)}(e)}function Do(t,e){t.isEnabled()&&null!==e&&(Po(0,e.name)||t.addUpdate((()=>(Zo(t,[e]),!0))))}const Lo=10,No=11,zo=12,jo=13,Fo=14,$o=15,Bo=20,Uo=21,qo=22,Go=23,Ho=["true","false","null"];function Wo(t,e){if(!e.length)return t;let n=t;const r=e.length-1;n=function(t,e){switch(e){case Lo:return`${t}"~~":"~~"`;case 11:return`${t}:"~~"`;case 12:return`${t}~~":"~~"`;case jo:return function(t){const e=t.lastIndexOf(":"),n=t.slice(e+1);if(Ho.includes(n.trim()))return`${t},"~~":"~~"`;return`${t.slice(0,e+1)}"~~"`}(t);case 14:return`${t}~~"`;case $o:return`${t},"~~":"~~"`;case Bo:return`${t}"~~"`;case Uo:return function(t){const e=function(t){for(let e=t.length-1;e>=0;e--){const n=t[e];if(","===n||"["===n)return e}return-1}(t);if(e>-1){const n=t.slice(e+1);return Ho.includes(n.trim())?`${t},"~~"`:`${t.slice(0,e+1)}"~~"`}return t}(t);case 22:return`${t}~~"`;case Go:return`${t},"~~"`}return t}(n,e[r]);for(let i=r;i>=0;i--){switch(e[i]){case Lo:n=`${n}}`;break;case Bo:n=`${n}]`}}return n}function Vo(t,e,n){const r=t[t.length-1],i=e[n];if(!/\s/.test(i))if('"'!==i||Ko(e,n))switch(i){case"{":!function(t,e){if(!e)return void t.push(Lo);if(e===jo)return void t.push(Lo);e===Uo&&t.push(Lo);if(e===Bo)t.push(Lo)}(t,r);break;case"[":!function(t,e){if(!e)return t.push(Bo),void t.push(Uo);if(e===jo)return t.push(Bo),void t.push(Uo);e===Uo&&(t.push(Bo),t.push(Uo));if(e===Bo)t.push(Bo),t.push(Uo)}(t,r);break;case":":!function(t,e){e===No&&(t.pop(),t.push(jo))}(t,r);break;case",":!function(t,e){if(e===jo)return void t.pop();if(e===$o)return t.pop(),void t.pop();if(e===Uo)return;if(e===Go)t.pop()}(t,r);break;case"}":!function(t,e){e===Lo&&t.pop();e===jo&&(t.pop(),t.pop());e===$o&&(t.pop(),t.pop(),t.pop());t[t.length-1]===jo&&t.push($o);t[t.length-1]===Uo&&t.push(Go)}(t,r);break;case"]":!function(t,e){e===Bo&&t.pop();e===Uo&&(t.pop(),t.pop());e===Go&&(t.pop(),t.pop(),t.pop());t[t.length-1]===jo&&t.push($o);t[t.length-1]===Uo&&t.push(Go)}(t,r)}else!function(t,e){if(e===Fo)return t.pop(),void t.push($o);if(e===qo)return t.pop(),void t.push(Go);if(e===jo)return void t.push(Fo);if(e===Uo)return void t.push(qo);if(e===Lo)return void t.push(zo);if(e===zo)t.pop(),t.push(11)}(t,r)}function Ko(t,e){return"\\"===t[e-1]&&!Ko(t,e-1)}function Qo(t){return Wo(t,function(t){const e=[];for(let n=0;n<t.length;
74n++)Vo(e,t,n);return e}(t))}function Yo(t,e){if(t)try{if("string"===typeof t)return e.encode(t).length;if(t instanceof URLSearchParams)return e.encode(t.toString()).length;if(t instanceof FormData){const n=is(t);return e.encode(n).length}if(t instanceof Blob)return t.size;if(t instanceof ArrayBuffer)return t.byteLength}catch(n){}}function Xo(t){if(!t)return;const e=parseInt(t,10);return isNaN(e)?void 0:e}function Jo(t){return"string"===typeof t?t:t instanceof URLSearchParams?t.toString():t instanceof FormData?is(t):void 0}function ts(t,e){if(!e)return null;const{startTimestamp:n,endTimestamp:r,url:i,method:o,statusCode:s,request:a,response:c}=e;return{type:t,start:n/1e3,end:r/1e3,name:i,data:(0,y.Jr)({method:o,statusCode:s,request:a,response:c})}}function es(t){return{headers:{},size:t,_meta:{warnings:["URL_SKIPPED"]}}}function ns(t,e,n){if(!e&&0===Object.keys(t).length)return;if(!e)return{headers:t};if(!n)return{headers:t,size:e};const r={headers:t,size:e},{body:i,warnings:o}=function(t){if(!t||"string"!==typeof t)return{body:t,warnings:[]};const e=t.length>ur;if(function(t){const e=t[0],n=t[t.length-1];return"["===e&&"]"===n||"{"===e&&"}"===n}(t))try{const n=e?Qo(t.slice(0,ur)):t;return{body:JSON.parse(n),warnings:e?["JSON_TRUNCATED"]:[]}}catch(n){return{body:e?`${t.slice(0,ur)}\u2026`:t,warnings:e?["INVALID_JSON","TEXT_TRUNCATED"]:["INVALID_JSON"]}}return{body:e?`${t.slice(0,ur)}\u2026`:t,warnings:e?["TEXT_TRUNCATED"]:[]}}(n);return r.body=i,o.length>0&&(r._meta={warnings:o}),r}function rs(t,e){return Object.keys(t).reduce(((n,r)=>{const i=r.toLowerCase();return e.includes(i)&&t[r]&&(n[i]=t[r]),n}),{})}function is(t){return new URLSearchParams(t).toString()}function os(t,e){const n=function(t,e=sr.document.baseURI){if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith(sr.location.origin))return t;const n=new URL(t,e);if(n.origin!==new URL(e).origin)return t;const r=n.href;if(!t.endsWith("/")&&r.endsWith("/"))return r.slice(0,-1);return r}(t);return(0,h.U0)(n,e)}async function ss(t,e,n){try{const r=await async function(t,e,n){const{startTimestamp:r,endTimestamp:i}=e,{url:o,method:s,status_code:a=0,request_body_size:c,response_body_size:u}=t.data,l=os(o,n.networkDetailAllowUrls)&&!os(o,n.networkDetailDenyUrls),d=l?function({networkCaptureBodies:t,networkRequestHeaders:e},n,r){const i=function(t,e){if(1===t.length&&"string"!==typeof t[0])return us(t[0],e);if(2===t.length)return us(t[1],e);return{}}(n,e);if(!t)return ns(i,r,void 0);const o=Jo(as(n));return ns(i,r,o)}(n,e.input,c):es(c),h=await async function(t,{networkCaptureBodies:e,textEncoder:n,networkResponseHeaders:r},i,o){if(!t&&void 0!==o)return es(o);const s=cs(i.headers,r);if(!e&&void 0!==o)return ns(s,o,void 0);try{const r=i.clone(),a=await async function(t){try{return await t.text()}catch(e){return}}(r),c=a&&a.length&&void 0===o?Yo(a,n):o;return t?ns(s,c,e?a:void 0):es(c)}catch(a){return ns(s,o,void 0)}}(l,n,e.response,u);return{startTimestamp:r,endTimestamp:i,url:o,method:s,statusCode:a,request:d,response:h}}(t,e,n),i=ts("resource.fetch",r);Do(n.replay,i)}catch(r){}}function as(t=[]){if(2===t.length&&"object"===typeof t[1])return t[1].body}function cs(t,e){const n={};return e.forEach((e=>{t.get(e)&&(n[e]=t.get(e))})),n}function us(t,e){if(!t)return{};const n=t.headers;return n?n instanceof Headers?cs(n,e):Array.isArray(n)?{}:rs(n,e):{}}async function ls(t,e,n){try{const r=function(t,e,n){const{startTimestamp:r,endTimestamp:i,input:o,xhr:s}=e,{url:a,method:c,status_code:u=0,request_body_size:l,response_body_size:d}=t.data;if(!a)return null;if(!os(a,n.networkDetailAllowUrls)||os(a,n.networkDetailDenyUrls)){return{startTimestamp:r,endTimestamp:i,url:a,method:c,statusCode:u,request:es(l),response:es(d)}}const h=s.__sentry_xhr_v2__,p=h?rs(h.request_headers,n.networkRequestHeaders):{},f=rs(function(t){const e=t.getAllResponseHeaders();if(!e)return{};return e.split("\r\n").reduce(((t,e)=>{const[n,r]=e.split(": ");return t[n.toLowerCase()]=r,t}),{})}(s),n.networkResponseHeaders),m=ns(p,l,n.networkCaptureBodies?Jo(o):void 0),g=ns(f,d,n.networkCaptureBodies?e.xhr.responseText:void 0);return{startTimestamp:r,endTimestamp:i,url:a,method:c,statusCode:u,request:m,response:g}}(t,e,n),i=ts("resource.xhr",r);Do(n.replay,i)}catch(r){}}function ds(t){const e=(0,r.Gd)().getClient();try{const n=new TextEncoder,{networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:o,networkRequestHeaders:s,networkResponseHeaders:a}=t.getOptions(),c={replay:t,textEncoder:n,networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:o,networkRequestHeaders:s,networkResponseHeaders:a};e&&e.on?e.on("beforeAddBreadcrumb",((t,e)=>function(t,e,n){if(!e.data)return;try{(function(t){return"xhr"===t.category})(e)&&function(t){return t&&t.xhr}(n)&&(!function(t,e,n){const{xhr:r,input:i}=e,o=Yo(i,n.textEncoder),s=r.getResponseHeader("content-length")?Xo(r.getResponseHeader("content-length")):Yo(r.response,n.textEncoder);void 0!==o&&(t.data.request_body_size=o),void 0!==s&&(t.data.response_body_size=s)}(e,n,t),ls(e,n,t)),function(t){return"fetch"===t.category}(e)&&function(t){return t&&t.response}(n)&&(!function(t,e,n){const{input:r,response:i}=e,o=Yo(as(r),n.textEncoder),s=i?Xo(i.headers.get("content-length")):void 0;void 0!==o&&(t.data.request_body_size=o),void 0!==s&&(t.data.response_body_size=s)}(e,n,t),ss(e,n,t))}catch(r){}}(c,t,e))):(B("fetch",function(t){return e=>{if(!t.isEnabled())return;const n=function(t){const{startTimestamp:e,endTimestamp:n,fetchData:r,response:i}=t;if(!n)return null;const{method:o,url:s}=r;return{type:"resource.fetch",start:e/1e3,end:n/1e3,name:s,data:{method:o,statusCode:i?i.status:void 0}}}(e);Do(t,n)}}(t)),B("xhr",function(t){return e=>{if(!t.isEnabled())return;const n=function(t){const{startTimestamp:e,endTimestamp:n,xhr:r}=t,i=r.__sentry_xhr_v2__;if(!e||!n||!i)return null;const{method:o,url:s,status_code:a}=i;return void 0===s?null:{type:"resource.xhr",name:s,start:e/1e3,end:n/1e3,data:{method:o,statusCode:a}}}(e);Do(t,n)}}(t)))}catch(n){}}let hs=null;const ps=t=>e=>{if(!t.isEnabled())return;const n=function(t){const e=t.getLastBreadcrumb&&t.getLastBreadcrumb();if(hs===e||!e)return null;if(hs=e,!function(t){return!!t.category}(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui."))return null;if("console"===e.category)return function(t){const e=t.data&&t.data.arguments;if(!Array.isArray(e)||0===e.length)return eo(t);let n=!1;const r=e.map((t=>{if(!t)return t;if("string"===typeof t)return t.length>lr?(n=!0,`${t.slice(0,lr)}\u2026`):t;if("object"===typeof t)try{const e=it(t,7),r=JSON.stringify(e);if(r.length>lr){const t=Qo(r.slice(0,lr)),e=JSON.parse(t);return n=!0,e}return e}catch(e){}return t}));return eo({...t,data:{...t.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(e);return eo(e)}(e);n&&Wi(t,n)};function fs(t){return!(!t||!t.on)}function ms(t){const{jsHeapSizeLimit:e,totalJSHeapSize:n,usedJSHeapSize:r}=t,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:e,totalJSHeapSize:n,usedJSHeapSize:r}}}}const gs={resource:function(t){const{entryType:e,initiatorType:n,name:r,responseEnd:i,startTime:o,decodedBodySize:s,encodedBodySize:a,responseStatus:c,transferSize:u}=t;if(["fetch","xmlhttprequest"].includes(n))return null;return{type:`${e}.${n}`,start:vs(o),end:vs(i),name:r,data:{size:u,statusCode:c,decodedBodySize:s,encodedBodySize:a}}},paint:function(t){const{duration:e,entryType:n,name:r,startTime:i}=t,o=vs(i);return{type:n,name:r,start:o,end:o+e,data:void 0}},navigation:function(t){const{entryType:e,name:n,decodedBodySize:r,duration:i,domComplete:o,encodedBodySize:s,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,domInteractive:u,loadEventStart:l,loadEventEnd:d,redirectCount:h,startTime:p,transferSize:f,type:m}=t;if(0===i)return null;return{type:`${e}.${m}`,start:vs(p),end:vs(o),name:n,data:{size:f,decodedBodySize:r,encodedBodySize:s,duration:i,domInteractive:u,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,loadEventStart:l,loadEventEnd:d,domComplete:o,redirectCount:h}}},"largest-contentful-paint":function(t){const{entryType:e,startTime:n,size:r}=t;let i=0;if(sr.performance){const t=sr.performance.getEntriesByType("navigation")[0];i=t&&t.activationStart||0}const o=Math.max(n-i,0),s=vs(i)+o/1e3;return{type:e,name:e,start:s,end:s,data:{value:o,size:r,nodeId:Gi.mirror.getId(t.element)}}}};function ys(t){return void 0===gs[t.entryType]?null:gs[t.entryType](t)}function vs(t){return((St.Z1||sr.performance.timeOrigin)+t)/1e3}function _s(t){let e=!1;return(n,r)=>{if(!t.checkAndHandleExpiredSession())return;const i=r||!e;e=!0,t.addUpdate((()=>
74{if("buffer"===t.recordingMode&&i&&t.setInitialState(),Co(t,n,i),!i)return!1;if(function(t,e){if(!e||!t.session||0!==t.session.segmentId)return Promise.resolve(null);Co(t,function(t){const e=t.getOptions();return{type:$r.Custom,timestamp:Date.now(),data:{tag:"options",payload:{sessionSampleRate:e.sessionSampleRate,errorSampleRate:e.errorSampleRate,useCompressionOption:e.useCompression,blockAllMedia:e.blockAllMedia,maskAllText:e.maskAllText,maskAllInputs:e.maskAllInputs,useCompression:!!t.eventBuffer&&"worker"===t.eventBuffer.type,networkDetailHasUrls:e.networkDetailAllowUrls.length>0,networkCaptureBodies:e.networkCaptureBodies,networkRequestHasHeaders:e.networkRequestHeaders.length>0,networkResponseHasHeaders:e.networkResponseHeaders.length>0}}}}(t),!1)}(t,i),t.session&&t.session.previousSessionId)return!0;if("buffer"===t.recordingMode&&t.session&&t.eventBuffer){const e=t.eventBuffer.getEarliestTimestamp();e&&(new Date(e),t.getOptions()._experiments.traceInternals,t.session.started=e,t.getOptions().stickySession&&So(t.session))}return"session"===t.recordingMode&&t.flush(),!0}))}}async function bs({recordingData:t,replayId:e,segmentId:n,eventContext:i,timestamp:o,session:s}){const a=function({recordingData:t,headers:e}){let n;const r=`${JSON.stringify(e)}\n`;if("string"===typeof t)n=`${r}${t}`;else{const e=(new TextEncoder).encode(r);n=new Uint8Array(e.length+t.length),n.set(e),n.set(t,e.length)}return n}({recordingData:t,headers:{segment_id:n}}),{urls:c,errorIds:u,traceIds:l,initialTimestamp:d}=i,h=(0,r.Gd)(),p=h.getClient(),f=h.getScope(),m=p&&p.getTransport(),g=p&&p.getDsn();if(!p||!m||!g||!s.sampled)return;const y={type:"replay_event",replay_start_timestamp:d/1e3,timestamp:o/1e3,error_ids:u,trace_ids:l,urls:c,replay_id:e,segment_id:n,replay_type:s.sampled},v=await async function({client:t,scope:e,replayId:n,event:r}){const i="object"!==typeof t._integrations||null===t._integrations||Array.isArray(t._integrations)?void 0:Object.keys(t._integrations),o=await xt(t.getOptions(),r,{event_id:n,integrations:i},e);if(!o)return null;o.platform=o.platform||"javascript";const s=t.getSdkMetadata&&t.getSdkMetadata(),{name:a,version:c}=s&&s.sdk||{};return o.sdk={...o.sdk,name:a||"sentry.javascript.unknown",version:c||"0.0.0"},o}({scope:f,client:p,replayId:e,event:y});if(!v)return void p.recordDroppedEvent("event_processor","replay",y);delete v.sdkProcessingMetadata;const _=function(t,e,n,r){return at(gt(t,mt(t),r,n),[[{type:"replay_event"},t],[{type:"replay_recording",length:"string"===typeof e?(new TextEncoder).encode(e).length:e.length},e]])}(v,a,g,p.getOptions().tunnel);let b;try{b=await m.send(_)}catch(w){const t=new Error(cr);try{t.cause=w}catch(k){}throw t}if(!b)return b;if("number"===typeof b.statusCode&&(b.statusCode<200||b.statusCode>=300))throw new ws(b.statusCode);return b}
74class ws extends Error{constructor(t){super(`Transport returned status code ${t}`)}}async function ks(t,e={count:0,interval:5e3}){const{recordingData:n,options:r}=t;if(n.length)try{return await bs(t),!0}catch(i){if(i instanceof ws)throw i;if((0,Nt.v)("Replays",{_retryCount:e.count}),e.count>=3){const t=new Error("Unable to send Replay - max retries exceeded");try{t.cause=i}catch(o){}throw t}return e.interval*=++e.count,new Promise(((n,r)=>{setTimeout((async()=>{try{await ks(t,e),n(!0)}catch(i){r(i)}}),e.interval)}))}}const Ss="__THROTTLED";function xs(t,e,n){const r=new Map;let i=!1;return(...o)=>{const s=Math.floor(Date.now()/1e3);if((t=>{const e=t-n;r.forEach(((t,n)=>{n<e&&r.delete(n)}))})(s),[...r.values()].reduce(((t,e)=>t+e),0)>=e){const t=i;return i=!0,t?"__SKIPPED":Ss}i=!1;const a=r.get(s)||0;return r.set(s,a+1),t(...o)}}class Es{constructor({options:t,recordingOptions:e}){Es.prototype.__init.call(this),Es.prototype.__init2.call(this),Es.prototype.__init3.call(this),Es.prototype.__init4.call(this),Es.prototype.__init5.call(this),Es.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEvents=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5,maxSessionLife:36e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=e,this._options=t,this._debouncedFlush=function(t,e,n){let r,i,o;const s=n&&n.maxWait?Math.max(n.maxWait,e):0;function a(){return c(),r=t(),r}function c(){void 0!==i&&clearTimeout(i),void 0!==o&&clearTimeout(o),i=o=void 0}function u(){return i&&clearTimeout(i),i=setTimeout(a,e),s&&void 0===o&&(o=setTimeout(a,s)),r}return u.cancel=c,u.flush=function(){return void 0!==i||void 0!==o?a():r},u}((()=>this._flush()),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=xs(((t,e)=>Co(this,t,e)),300,5);const{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),i=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;i&&(this.clickDetector=new Xi(this,i))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}getOptions(){return this._options}initializeSampling(){const{errorSampleRate:t,sessionSampleRate:e}=this._options;if(t<=0&&e<=0)return;this._loadAndCheckSession()&&(this.session?(this.session.sampled&&"session"!==this.session.sampled&&(this.recordingMode="buffer"),this.recordingMode,this._options._experiments.traceInternals,this._initializeRecording()):this._handleException(new Error("Unable to initialize and create session")))}start(){if(this._isEnabled&&"session"===this.recordingMode)throw new Error("Replay recording is already in progress");if(this._isEnabled&&"buffer"===this.recordingMode)throw new Error("Replay buffering is in progress, call `flush()` to save the replay");this._options._experiments.traceInternals;const t=this.session&&this.session.id,{session:e}=To({timeouts:this.timeouts,stickySession:Boolean(this._options.stickySession),currentSession:this.session,sessionSampleRate:1,allowBuffering:!1,traceInternals:this._options._experiments.traceInternals});e.previousSessionId=t,this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw new Error("Replay recording is already in progress");this._options._experiments.traceInternals;const t=this.session&&this.session.id,{session:e}=To({timeouts:this.timeouts,stickySession:Boolean(this._options.stickySession),currentSession:this.session,sessionSampleRate:0,allowBuffering:!0,traceInternals:this._options._experiments.traceInternals});e.previousSessionId=t,this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{this._stopRecording=Gi({...this._recordingOptions,..."buffer"===this.recordingMode&&{checkoutEveryNms:6e4},emit:_s(this),onMutation:this._onMutationHandler})}catch(t){this._handleException(t)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(t){return this._handleException(t),!1}}async stop({forceFlush:t=!1,reason:e}={}){if(this._isEnabled)try{this._options._experiments.traceInternals,this._isEnabled=!1,this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,_o(this)}catch(n){this._handleException(n)}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),this._options._experiments.traceInternals)}resume(){this._isPaused&&this._loadAndCheckSession()&&(this._isPaused=!1,this.startRecording(),this._options._experiments.traceInternals)}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();const e=Date.now();this._options._experiments.traceInternals,await this.flushImmediate();const n=this.stopRecording();t&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this.session.shouldRefresh=!1,this._updateUserActivity(e),this._updateSessionActivity(e),this._maybeSaveSession()),this.startRecording())}addUpdate(t){const e=t();"buffer"!==this.recordingMode&&!0!==e&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._loadAndCheckSession())return;this.resume()}}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}
74checkAndHandleExpiredSession(){const t=this.getSessionId();if(this._lastActivity&&bo(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled)return void this.pause();if(!this._loadAndCheckSession())return;return t===this.getSessionId()||(this._triggerFullSnapshot(),!1)}setInitialState(){const t=`${sr.location.pathname}${sr.location.hash}${sr.location.search}`,e=`${sr.location.origin}${t}`;this.performanceEvents=[],this._clearContext(),this._context.initialUrl=e,this._context.initialTimestamp=Date.now(),this._context.urls.push(e)}throttledAddEvent(t,e){const n=this._throttledAddEvent(t,e);if(n===Ss){const t=eo({category:"replay.throttled"});this.addUpdate((()=>{Co(this,{type:$r.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t,metric:!0}})}))}return n}getCurrentRoute(){const t=this.lastTransaction||(0,r.Gd)().getScope().getTransaction();if(t&&["route","custom"].includes(t.metadata.source))return t.name}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=yo({useCompression:this._options.useCompression}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this.startRecording()}_handleException(t){0}_loadAndCheckSession(){const{type:t,session:e}=To({timeouts:this.timeouts,stickySession:Boolean(this._options.stickySession),currentSession:this.session,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:this._options.errorSampleRate>0||"buffer"===this.recordingMode,traceInternals:this._options._experiments.traceInternals});"new"===t&&this.setInitialState();const n=this.getSessionId();return e.id!==n&&(e.previousSessionId=n),this.session=e,!!this.session.sampled||(this.stop({reason:"session not refreshed"}),!1)}_addListeners(){try{sr.document.addEventListener("visibilitychange",this._handleVisibilityChange),sr.addEventListener("blur",this._handleWindowBlur),sr.addEventListener("focus",this._handleWindowFocus),sr.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(!function(t){const e=(0,r.Gd)().getScope(),n=(0,r.Gd)().getClient();e&&e.addScopeListener(ps(t)),B("dom",oo(t)),B("history",Mo(t)),ds(t),(0,w.c)(Ao(t,!fs(n))),fs(n)&&(n.on("afterSendEvent",Io(t)),n.on("createDsc",(e=>{const n=t.getSessionId();n&&t.isEnabled()&&"session"===t.recordingMode&&(e.replay_id=n)})),n.on("startTransaction",(e=>{t.lastTransaction=e})),n.on("finishTransaction",(e=>{t.lastTransaction=e})))}(this),this._hasInitializedCoreListeners=!0)}catch(t){this._handleException(t)}"PerformanceObserver"in sr&&(this._performanceObserver=lo(this))}_removeListeners(){try{sr.document.removeEventListener("visibilitychange",this._handleVisibilityChange),sr.removeEventListener("blur",this._handleWindowBlur),sr.removeEventListener("focus",this._handleWindowFocus),sr.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceObserver&&(this._performanceObserver.disconnect(),this._performanceObserver=void 0)}catch(t){this._handleException(t)}}__init(){this._handleVisibilityChange=()=>{"visible"===sr.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{const t=eo({category:"ui.blur"});this._doChangeToBackgroundTasks(t)}}__init3(){this._handleWindowFocus=()=>{const t=eo({category:"ui.focus"});this._doChangeToForegroundTasks(t)}}__init4(){this._handleKeyboardEvent=t=>{ao(this,t)}}_doChangeToBackgroundTasks(t){if(!this.session)return;const e=wo(this.session,this.timeouts);t&&!e&&this._createCustomBreadcrumb(t),this.conditionalFlush()}_doChangeToForegroundTasks(t){if(!this.session)return;this.checkAndHandleExpiredSession()&&t&&this._createCustomBreadcrumb(t)}_triggerFullSnapshot(t=!0){try{Gi.takeFullSnapshot(t)}catch(e){this._handleException(e)}}_updateUserActivity(t=Date.now()){this._lastActivity=t}_updateSessionActivity(t=Date.now()){this.session&&(this.session.lastActivity=t,this._maybeSaveSession())}_createCustomBreadcrumb(t){this.addUpdate((()=>{this.throttledAddEvent({type:$r.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}}
74)}))}_addPerformanceEntries(){const t=[...this.performanceEvents];return this.performanceEvents=[],Promise.all(Zo(this,function(t){return t.map(ys).filter(Boolean)}(t)))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:t,eventBuffer:e}=this;if(!t||!e)return;if(t.segmentId)return;const n=e.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){const t={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),t}async _runFlush(){if(this.session&&this.eventBuffer&&(await this._addPerformanceEntries(),this.eventBuffer&&this.eventBuffer.hasEvents&&(await async function(t){try{return Promise.all(Zo(t,[ms(sr.performance.memory)]))}catch(e){return[]}}(this),this.eventBuffer)))try{this._updateInitialTimestampFromEventBuffer();const t=await this.eventBuffer.finish(),e=Date.now();if(e-this._context.initialTimestamp>this.timeouts.maxSessionLife+3e4)throw new Error("Session is too long, not sending replay");const n=this.session.id,r=this._popEventContext(),i=this.session.segmentId++;this._maybeSaveSession(),await ks({replayId:n,recordingData:t,segmentId:i,eventContext:r,session:this.session,options:this.getOptions(),timestamp:e})}catch(t){this._handleException(t),this.stop({reason:"sendReplay"});const e=(0,r.Gd)().getClient();e&&e.recordDroppedEvent("send_error","replay")}}__init5(){this._flush=async({force:t=!1}={})=>{if(!this._isEnabled&&!t)return;if(!this.checkAndHandleExpiredSession())return;if(!this.session)return;const e=this.session.started,n=Date.now()-e;this._debouncedFlush.cancel();const r=n<this._options.minReplayDuration,i=n>this.timeouts.maxSessionLife+5e3;if(r||i)return Math.floor(n/1e3),this._options._experiments.traceInternals,void(r&&this._debouncedFlush());const o=this.eventBuffer;if(o&&0===this.session.segmentId&&!o.hasCheckout&&this._options._experiments.traceInternals,!this._flushLock)return this._flushLock=this._runFlush(),await this._flushLock,void(this._flushLock=void 0);try{await this._flushLock}catch(s){}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&So(this.session)}__init6(){this._onMutationHandler=t=>{const e=t.length,n=this._options.mutationLimit,r=n&&e>n;if(e>this._options.mutationBreadcrumbLimit||r){const t=eo({category:"replay.mutations",data:{count:e,limit:r}});this._createCustomBreadcrumb(t)}return!r||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}}function Ts(t,e,n,r){const i=[...t,..."string"===typeof r?r.split(","):[],...e];return"undefined"!==typeof n&&("string"===typeof n&&i.push(`.${n}`),ir.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")),i.join(",")}function Cs({mask:t,unmask:e,block:n,unblock:r,ignore:i,blockClass:o,blockSelector:s,maskTextClass:a,maskTextSelector:c,ignoreClass:u}){const l=Ts(t,[".sentry-mask","[data-sentry-mask]"],a,c),d=Ts(e,[".sentry-unmask","[data-sentry-unmask]"]),h={maskTextSelector:l,unmaskTextSelector:d,maskInputSelector:l,unmaskInputSelector:d,blockSelector:Ts(n,[".sentry-block","[data-sentry-block]",'base[href="/"]'],o,s),unblockSelector:Ts(r,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:Ts(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'],u)};return o instanceof RegExp&&(h.blockClass=o),a instanceof RegExp&&(h.maskTextClass=a),h}function Rs(){return"undefined"!==typeof window&&(!(0,rr.KV)()||"undefined"!==typeof or&&"renderer"===or.type)}const Os='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',Is=["content-length","content-type","accept"];let As=!1;class Zs{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:t=5e3,flushMaxDelay:e=5500,minReplayDuration:n=4999,stickySession:r=!0,useCompression:i=!0,_experiments:o={},sessionSampleRate:s,errorSampleRate:a,maskAllText:c=!0,maskAllInputs:u=!0,blockAllMedia:l=!0,mutationBreadcrumbLimit:d=750,mutationLimit:h=1e4,slowClickTimeout:p=7e3,slowClickIgnoreSelectors:f=[],networkDetailAllowUrls:m=[],networkDetailDenyUrls:g=[],networkCaptureBodies:y=!0,networkRequestHeaders:v=[],networkResponseHeaders:_=[],mask:b=[],unmask:w=[],block:k=[],unblock:S=[],ignore:x=[],maskFn:E,beforeAddRecordingEvent:T,blockClass:C,blockSelector:R,maskInputOptions:O,maskTextClass:I,maskTextSelector:A,ignoreClass:Z}={}){if(this.name=Zs.id,this._recordingOptions={maskAllInputs:u,maskAllText:c,maskInputOptions:{...O||{},password:!0},maskTextFn:E,maskInputFn:E,...Cs({mask:b,unmask:w,block:k,unblock:S,ignore:x,blockClass:C,blockSelector:R,maskTextClass:I,maskTextSelector:A,ignoreClass:Z}),slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0},this._initialOptions={flushMinDelay:t,flushMaxDelay:e,minReplayDuration:Math.min(n,15e3),stickySession:r,sessionSampleRate:s,errorSampleRate:a,useCompression:i,blockAllMedia:l,maskAllInputs:u,maskAllText:c,mutationBreadcrumbLimit:d,mutationLimit:h,slowClickTimeout:p,slowClickIgnoreSelectors:f,
74networkDetailAllowUrls:m,networkDetailDenyUrls:g,networkCaptureBodies:y,networkRequestHeaders:Ms(v),networkResponseHeaders:Ms(_),beforeAddRecordingEvent:T,_experiments:o},"number"===typeof s&&(ir.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysSessionSampleRate: ${s} })`),this._initialOptions.sessionSampleRate=s),"number"===typeof a&&(ir.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysOnErrorSampleRate: ${a} })`),this._initialOptions.errorSampleRate=a),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Os}`:Os),this._isInitialized&&Rs())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return As}set _isInitialized(t){As=t}setupOnce(){Rs()&&(this._setup(),setTimeout((()=>this._initialize())))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(t){return this._replay&&this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(t):Promise.resolve()}getReplayId(){if(this._replay&&this._replay.isEnabled())return this._replay.getSessionId()}_initialize(){this._replay&&this._replay.initializeSampling()}_setup(){const t=function(t){const e=(0,r.Gd)().getClient(),n=e&&e.getOptions(),i={sessionSampleRate:0,errorSampleRate:0,...(0,y.Jr)(t)};if(!n)return ir.warn("SDK client is not available."),i;null==t.sessionSampleRate&&null==t.errorSampleRate&&null==n.replaysSessionSampleRate&&null==n.replaysOnErrorSampleRate&&ir.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.");"number"===typeof n.replaysSessionSampleRate&&(i.sessionSampleRate=n.replaysSessionSampleRate);"number"===typeof n.replaysOnErrorSampleRate&&(i.errorSampleRate=n.replaysOnErrorSampleRate);return i}(this._initialOptions);this._replay=new Es({options:t,recordingOptions:this._recordingOptions})}}function Ms(t){return[...Is,...t.map((t=>t.toLowerCase()))]}Zs.__initStatic();var Ps,Ds=window;Ds.__sentryRewritesTunnelPath__=void 0,Ds.SENTRY_RELEASE={id:"WVeG_o-y1KQ2ljeK-wQ3c"},Ds.__rewriteFramesAssetPrefixPath__="/species",function(t){const e=er.__sentryRewritesTunnelPath__;if(e&&t.dsn){const n=et(t.dsn);if(!n)return;const r=n.host.match(/^o(\d+)\.ingest\.sentry\.io$/);if(r){const i=`${e}?o=${r[1]}&p=${n.projectId}`;t.tunnel=i}}}(Ps={dsn:"https://98684e21f310411781594df7171a5ece@o4505125522046976.ingest.sentry.io/4505125616091136",tracesSampleRate:1,debug:!1,replaysOnErrorSampleRate:1,replaysSessionSampleRate:.1,integrations:[new Zs({maskAllText:!0,blockAllMedia:!0})]}),function(t,e){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.nextjs",packages:e.map((t=>({name:`npm:@sentry/${t}`,version:d}))),version:d}}(Ps,["nextjs","react"]),Ps.environment=Ps.environment||function(t){const e=t?Hn.env.NEXT_PUBLIC_VERCEL_ENV:Hn.env.VERCEL_ENV;return e?`vercel-${e}`:void 0}(!0)||"production",function(t){let e=t.integrations||[];const n=nr.__rewriteFramesAssetPrefixPath__||"",r=new l({iteratee:t=>{try{const{origin:e}=new URL(t.filename);t.filename=function(t){let e,n=t[0],r=1;for(;r<t.length;){const i=t[r],o=t[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(e=n,n=o(n)):"call"!==i&&"optionalCall"!==i||(n=o(((...t)=>n.call(e,...t))),e=void 0)}return n}([t,"access",t=>t.filename,"optionalAccess",t=>t.replace,"call",t=>t(e,"app://"),"access",t=>t.replace,"call",t=>t(n,"")])}catch(e){}return t.filename&&t.filename.startsWith("app:///_next")&&(t.filename=decodeURI(t.filename)),t.filename&&t.filename.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(t.in_app=!1),t}});e=qn(r,e),("undefined"===typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&i(t)&&(e=qn(new $n({tracingOrigins:[...Dn.tracingOrigins,/^(api\/)/],routingInstrumentation:tr}),e,{"options.routingInstrumentation":tr})),t.integrations=e}(Ps),function(t){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:d}],version:d},$e(t)}(Ps),(0,Nt.e)((t=>{t.setTag("runtime","browser");const e=t=>"transaction"===t.type&&"/404"===t.transaction?null:t;e.id="NextClient404Filter",t.addEventProcessor(e)}))},71210:function(t,e){"use strict";
74Object.defineProperty(e,"__esModule",{value:!0}),e.getDomainLocale=function(t,e,n,r){return!1};("function"===typeof e.default||"object"===typeof e.default&&null!==e.default)&&"undefined"===typeof e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},48418:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(94941).Z;n(45753).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(92648).Z,o=n(17273).Z,s=i(n(67294)),a=n(76273),c=n(22725),u=n(63462),l=n(21018),d=n(57190),h=n(71210),p=n(98684),f={};function m(t,e,n,r){if(t&&a.isLocalURL(e)){Promise.resolve(t.prefetch(e,n,r)).catch((function(t){0}));var i=r&&"undefined"!==typeof r.locale?r.locale:t&&t.locale;f[e+"%"+n+(i?"%"+i:"")]=!0}}var g=s.default.forwardRef((function(t,e){var n,i=t.href,g=t.as,y=t.children,v=t.prefetch,_=t.passHref,b=t.replace,w=t.shallow,k=t.scroll,S=t.locale,x=t.onClick,E=t.onMouseEnter,T=t.onTouchStart,C=t.legacyBehavior,R=void 0===C?!0!==Boolean(!1):C,O=o(t,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=y,!R||"string"!==typeof n&&"number"!==typeof n||(n=s.default.createElement("a",null,n));var I=!1!==v,A=s.default.useContext(u.RouterContext),Z=s.default.useContext(l.AppRouterContext);Z&&(A=Z);var M,P=s.default.useMemo((function(){var t=r(a.resolveHref(A,i,!0),2),e=t[0],n=t[1];return{href:e,as:g?a.resolveHref(A,g):n||e}}),[A,i,g]),D=P.href,L=P.as,N=s.default.useRef(D),z=s.default.useRef(L);R&&(M=s.default.Children.only(n));var j=R?M&&"object"===typeof M&&M.ref:e,F=r(d.useIntersection({rootMargin:"200px"}),3),$=F[0],B=F[1],U=F[2],q=s.default.useCallback((function(t){z.current===L&&N.current===D||(U(),z.current=L,N.current=D),$(t),j&&("function"===typeof j?j(t):"object"===typeof j&&(j.current=t))}),[L,j,D,U,$]);s.default.useEffect((function(){var t=B&&I&&a.isLocalURL(D),e="undefined"!==typeof S?S:A&&A.locale,n=f[D+"%"+L+(e?"%"+e:"")];t&&!n&&m(A,D,L,{locale:e})}),[L,D,B,S,I,A]);var G={ref:q,onClick:function(t){R||"function"!==typeof x||x(t),R&&M.props&&"function"===typeof M.props.onClick&&M.props.onClick(t),t.defaultPrevented||function(t,e,n,r,i,o,c,u,l,d){if("A"!==t.currentTarget.nodeName.toUpperCase()||!function(t){var e=t.currentTarget.target;return e&&"_self"!==e||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which}(t)&&a.isLocalURL(n)){t.preventDefault();var h=function(){"beforePopState"in e?e[i?"replace":"push"](n,r,{shallow:o,locale:u,scroll:c}):e[i?"replace":"push"](n,{forceOptimisticNavigation:!d})};l?s.default.startTransition(h):h()}}(t,A,D,L,b,w,k,S,Boolean(Z),I)},onMouseEnter:function(t){R||"function"!==typeof E||E(t),R&&M.props&&"function"===typeof M.props.onMouseEnter&&M.props.onMouseEnter(t),!I&&Z||a.isLocalURL(D)&&m(A,D,L,{priority:!0})},onTouchStart:function(t){R||"function"!==typeof T||T(t),R&&M.props&&"function"===typeof M.props.onTouchStart&&M.props.onTouchStart(t),!I&&Z||a.isLocalURL(D)&&m(A,D,L,{priority:!0})}};if(!R||_||"a"===M.type&&!("href"in M.props)){var H="undefined"!==typeof S?S:A&&A.locale,W=A&&A.isLocaleDomain&&h.getDomainLocale(L,H,A.locales,A.domainLocales);G.href=W||p.addBasePath(c.addLocale(L,H,A&&A.defaultLocale))}return R?s.default.cloneElement(M,G):s.default.createElement("a",Object.assign({},O,G),n)}));e.default=g,("function"===typeof e.default||"object"===typeof e.default&&null!==e.default)&&"undefined"===typeof e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},57190:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(94941).Z;Object.defineProperty(e,"__esModule",{value:!0}),e.useIntersection=function(t){var e=t.rootRef,n=t.rootMargin,u=t.disabled||!s,l=r(i.useState(!1),2),d=l[0],h=l[1],p=r(i.useState(null),2),f=p[0],m=p[1];i.useEffect((function(){if(s){if(u||d)return;if(f&&f.tagName){var t=function(t,e,n){var r=function(t){var e,n={root:t.root||null,margin:t.rootMargin||""},r=c.find((function(t){return t.root===n.root&&t.margin===n.margin}));if(r&&(e=a.get(r)))return e;var i=new Map,o=new IntersectionObserver((function(t){t.forEach((function(t){var e=i.get(t.target),n=t.isIntersecting||t.intersectionRatio>0;e&&n&&e(n)}))}),t);return e={id:n,observer:o,elements:i},c.push(n),a.set(n,e),e}(n),i=r.id,o=r.observer,s=r.elements;return s.set(t,e),o.observe(t),function(){if(s.delete(t),o.unobserve(t),0===s.size){o.disconnect(),a.delete(i);var e=c.findIndex((function(t){return t.root===i.root&&t.margin===i.margin}));e>-1&&c.splice(e,1)}}}(f,(function(t){return t&&h(t)}),{root:null==e?void 0:e.current,rootMargin:n});return t}}else if(!d){var r=o.requestIdleCallback((function(){return h(!0)}));return function(){return o.cancelIdleCallback(r)}}}),[f,u,n,e,d]);var g=i.useCallback((function(){h(!1)}),[]);return[m,d,g]};var i=n(67294),o=n(9311),s="function"===typeof IntersectionObserver,a=new Map,c=[];("function"===typeof e.default||"object"===typeof e.default&&null!==e.default)&&"undefined"===typeof e.default.__esModule&&(Object.defineProperty(e.default,"__esMo
74dule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},21018:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TemplateContext=e.GlobalLayoutRouterContext=e.LayoutRouterContext=e.AppRouterContext=void 0;var r=(0,n(92648).Z)(n(67294)),i=r.default.createContext(null);e.AppRouterContext=i;var o=r.default.createContext(null);e.LayoutRouterContext=o;var s=r.default.createContext(null);e.GlobalLayoutRouterContext=s;var a=r.default.createContext(null);e.TemplateContext=a},48879:function(t,e,n){"use strict";n.d(e,{E:function(){return c}});var r=n(26042),i=n(99534),o=n(85893),s=n(67294),a=n(87357),c=(0,s.forwardRef)((function(t,e){var n=t.src,s=t.alt,c=(0,i.Z)(t,["src","alt"]);return(0,o.jsx)(a.Z,(0,r.Z)({ref:e,component:"img",src:n,alt:s,crossOrigin:""},c))}))},35867:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(26042),i=n(69396),o=n(99534),s=n(85893),a=(n(67294),n(15861)),c=n(99889);function u(t){var e=t.children,n=t.sx,u=(0,o.Z)(t,["children","sx"]);return(0,s.jsx)(a.Z,(0,i.Z)((0,r.Z)({component:"a",sx:(0,r.Z)({textDecoration:"none",cursor:"pointer",color:c.Z.palette.secondary.main,"&:hover":{color:"#97DBFC"}},n),target:"_blank"},u),{children:e}))}},36093:function(t,e,n){"use strict";n.d(e,{Z:function(){return Z}});var r=n(26042),i=n(69396),o=n(99534),s=n(85893),a=n(41664),c=n.n(a),u=n(63366),l=n(87462),d=n(67294),h=n(90512),p=n(94780),f=n(98216),m=n(11496),g=n(71657),y=n(18791),v=n(51705),_=n(15861),b=n(1588),w=n(34867);function k(t){return(0,w.Z)("MuiLink",t)}var S=(0,b.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),x=n(54844),E=n(41796);const T={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};var C=({theme:t,ownerState:e})=>{const n=(t=>T[t]||t)(e.color),r=(0,x.DW)(t,`palette.${n}`,!1)||e.color,i=(0,x.DW)(t,`palette.${n}Channel`);return"vars"in t&&i?`rgba(${i} / 0.4)`:(0,E.Fq)(r,.4)};const R=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],O=(0,m.ZP)(_.Z,{name:"MuiLink",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`underline${(0,f.Z)(n.underline)}`],"button"===n.component&&e.button]}})((({theme:t,ownerState:e})=>(0,l.Z)({},"none"===e.underline&&{textDecoration:"none"},"hover"===e.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===e.underline&&(0,l.Z)({textDecoration:"underline"},"inherit"!==e.color&&{textDecorationColor:C({theme:t,ownerState:e})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===e.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${S.focusVisible}`]:{outline:"auto"}})));var I=d.forwardRef((function(t,e){const n=(0,g.Z)({props:t,name:"MuiLink"}),{className:r,color:i="primary",component:o="a",onBlur:a,onFocus:c,TypographyClasses:m,underline:_="always",variant:b="inherit",sx:w}=n,S=(0,u.Z)(n,R),{isFocusVisibleRef:x,onBlur:E,onFocus:C,ref:I}=(0,y.Z)(),[A,Z]=d.useState(!1),M=(0,v.Z)(e,I),P=(0,l.Z)({},n,{color:i,component:o,focusVisible:A,underline:_,variant:b}),D=(t=>{const{classes:e,component:n,focusVisible:r,underline:i}=t,o={root:["root",`underline${(0,f.Z)(i)}`,"button"===n&&"button",r&&"focusVisible"]};return(0,p.Z)(o,k,e)})(P);return(0,s.jsx)(O,(0,l.Z)({color:i,className:(0,h.Z)(D.root,r),classes:m,component:o,onBlur:t=>{E(t),!1===x.current&&Z(!1),a&&a(t)},onFocus:t=>{C(t),!0===x.current&&Z(!0),c&&c(t)},ref:M,ownerState:P,variant:b,sx:[...Object.keys(T).includes(i)?[]:[{color:i}],...Array.isArray(w)?w:[w]]},S))})),A=n(99889),Z=function(t){var e=t.children,n=t.sx,a=t.onClick,u=(0,o.Z)(t,["children","sx","onClick"]);return(0,s.jsx)(c(),(0,i.Z)((0,r.Z)({},u),{passHref:!0,children:(0,s.jsx)(I,{onClick:a,variant:"inherit",underline:"none",sx:(0,r.Z)({textDecoration:"none",cursor:"pointer",color:A.Z.palette.secondary.main,"&:hover":{color:"#97DBFC"}},n),children:e})}))}},69799:function(t,e,n){"use strict";n.d(e,{yn:function(){return d},kk:function(){return c},L4:function(){return h},oq:function(){return u},Cb:function(){return f},fk:function(){return m},A4:function(){return y},Sr:function(){return v},ng:function(){return b},ij:function(){return _},fZ:function(){return l},xL:function(){return p},e0:function(){return k},s:function(){return S},Lx:function(){return w},G8:function(){return x},mN:function(){return g},xY:function(){return r},kW:function(){return a},lC:function(){return o},Gm:function(){return s},FG:function(){return i}});var r="1789795207",i="/species/",o="".concat(i,"api/species.json"),s="".concat(i,"api/surveys.json"),a="".concat(i,"api/sites.json"),c="/species/_next/static/media/defaultspecies.035103aa.webp",u="https://reeflifesurvey.com/tools/rls/flashcards",l="https://reeflifesurvey.com/",d="https://reeflifesurvey.com/contact/",h="https://reeflifesurvey.com/donate/",p="https://reeflifesurvey.com".concat(i),f="https://images.reeflifesurvey.com/models/ichthywhat-20231221.onnx",m="_next/static/chunks/ort-wasm-simd.wasm",g="https://www.youtube.com/watch?v=qvupU10syLg",y="pk.eyJ1IjoidXJpc2UiLCJhIjoiY2t3NWh6eGU3YnhoNzJ1cTFwNnVjMDBidyJ9.ZMoJweO2CP-EkcrwReEbvw",v={"RLS-empty":"mapbox://styles/urise/cl3u3b36c006g14o1mgf2618g","RLS-empty-satellite":"mapbox://styles/urise/cle6l1h70000601lfcnqpmwyl"},_=12,b=1e3,w=60,k=40,S=80,x=100},51850:function(t,e,n){"use strict";n.d(e,{I6:function(){return c},XE:function(){return a}});var r=n(85893),i=n(67294),o=n(69799),s=(0,i.createContext)({promptInstall:function(){},isReady:!1});function a(t){var e=t.children,n=(0,i.useState)(),a=n[0],c=n[1];(0,i.useEffect)((function(){window.addEventListener("beforeinstallprompt",(function(t){t.preventDefault(),c(t)})),window.addEventListener("appinstalled",(function(){window.location.href=o.FG}))}),[]);return(0,r.jsx)(s.Provider,{value:{promptInstall:function(){a&&a.prompt()},isReady:void 0!==a},children:e})}var c=function(){return(0,i.useContext)(s)}},24984:function(t,e,n){"use strict";n.d(e,{X:function(){return y},j:function(){return g}});var r=n(26042),i=n(69396),o=n(828),s=n(85893),a=n(67294),c=n(83319),u=n(11163),l=n(8777),d={searchResultsPage:1,resultScrollY:0,imagesPerResult:1,navigationMode:"scroll",viewM
74ode:"module"},h={query:"",sites:[],phylums:[],classes:[],families:[],genera:[],minLength:0,maxLength:0,methods:[]},p={speciesSlugs:[],originalImageFile:null,cropper:null,croppedImageUrl:""},f=(0,a.createContext)({state:{settings:d,query:{filters:h,sort:""},inference:p,isSearching:!1},dispatch:function(){return null}}),m=function(t,e){switch(e.type){case"SET_SETTING":return(0,i.Z)((0,r.Z)({},t),{settings:e.payload});case"UPDATE_SETTING":return(0,i.Z)((0,r.Z)({},t),{settings:(0,r.Z)({},t.settings,e.payload)});case"RESET_SETTINGS":return(0,i.Z)((0,r.Z)({},t),{settings:d,query:(0,i.Z)((0,r.Z)({},t.query),{sort:""})});case"SET_FILTER":return(0,i.Z)((0,r.Z)({},t),{query:(0,i.Z)((0,r.Z)({},t.query),{filters:e.payload})});case"UPDATE_FILTER":return(0,i.Z)((0,r.Z)({},t),{query:(0,i.Z)((0,r.Z)({},t.query),{filters:(0,r.Z)({},t.query.filters,e.payload)})});case"RESET_FILTERS":return(0,i.Z)((0,r.Z)({},t),{query:(0,i.Z)((0,r.Z)({},t.query),{filters:h})});case"SET_SORT":return(0,i.Z)((0,r.Z)({},t),{query:(0,i.Z)((0,r.Z)({},t.query),{sort:e.payload})});case"SET_INFERENCE":var n;return(0,i.Z)((0,r.Z)({},t),{inference:null!==(n=e.payload)&&void 0!==n?n:p});case"SET_SEARCHING":return(0,i.Z)((0,r.Z)({},t),{isSearching:!0});case"RESET":return{settings:d,query:{filters:h,sort:""},inference:p,isSearching:!1};default:return t}},g=function(t){var e=(0,a.useState)(!0),n=e[0],r=e[1],i=(0,o.Z)((0,c.Z)(c.u.viewMode,"module"),2),d=i[0],g=(i[1],(0,o.Z)((0,c.Z)(c.u.navigationMode,"scroll"),2)),y=g[0],v=(g[1],(0,o.Z)((0,c.Z)(c.u.imagesPerResult,1),2)),_=v[0],b=(v[1],{settings:{searchResultsPage:1,resultScrollY:0,viewMode:d,navigationMode:y,imagesPerResult:_},query:{filters:h,sort:""},inference:p,isSearching:!1}),w=(0,a.useReducer)(m,b),k=w[0],S=w[1],x=(0,u.useRouter)();(0,a.useEffect)((function(){if(x.isReady&&"/"===x.route){var t=(0,l.q)(x.query);S({type:"SET_FILTER",payload:t.filters}),S({type:"SET_SORT",payload:t.sort}),r(!1)}}),[x.isReady,x.route]),(0,a.useEffect)((function(){var t,e=null!==(t=(0,l.w)(k.query))&&void 0!==t?t:null;x.isReady&&!n&&E(e)}),[x.isReady,k.query,n]);var E=function(t){"/"===x.pathname&&x.push({pathname:x.pathname,query:t},void 0,{shallow:!0})};return(0,s.jsx)(f.Provider,{value:{state:k,dispatch:S},children:t.children})},y=function(){return(0,a.useContext)(f)}},83319:function(t,e,n){"use strict";n.d(e,{Z:function(){return o},u:function(){return i}});var r=n(67294),i={isNewComer:"rsow.isNewComer",viewMode:"rsow.viewMode",navigationMode:"rsow.navigationMode",imagesPerResult:"rsow.imagesPerResult",mapTileSet:"rsow.mapTileSet"};function o(t,e,n){var i=(0,r.useState)((function(){if("undefined"===typeof localStorage)return e;var n=localStorage.getItem(t);return null!==n?JSON.parse(n):e})),o=i[0],s=i[1];return(0,r.useEffect)((function(){void 0!==o?localStorage.setItem(t,JSON.stringify(o)):localStorage.removeItem(t),n&&n(o)}),[t,o]),[o,s]}},91173:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(67294);function i(){var t=(0,r.useState)({width:0,height:0}),e=t[0],n=t[1],i=function(){n({width:window.innerWidth,height:window.innerHeight})};return(0,r.useEffect)((function(){return i(),window.addEventListener("resize",i),function(){return window.removeEventListener("resize",i)}}),[]),e}},90163:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return ut}});var r=n(26042),i=n(85893),o=(n(20472),n(92998),n(78251),n(30933),n(30706),n(92),n(75083),n(14924)),s=n(67294),a="/species/_next/static/media/rsowLogo.ee556e7a.webp",c=n(36093),u=n(91173),l=n(73935);function d(t){var e=(0,s.useState)(!1),n=e[0],r=e[1];return(0,s.useEffect)((function(){return r(!0),function(){return r(!1)}}),[]),n?(0,l.createPortal)(t.children,document.querySelector("#portal")):null}var h=n(42293),p=n(87357),f=n(93946),m=n(326),g=n(50594),y=n(99889),v=n(69799),_=n(69396),b=n(99534),w=n(15861);function k(t){var e=t.children,n=t.sx,o=(0,b.Z)(t,["children","sx"]);return(0,i.jsx)(w.Z,(0,_.Z)((0,r.Z)({component:"a",sx:(0,r.Z)({textDecoration:"none",cursor:"pointer",color:y.Z.palette.text.primary,"&:hover":{color:"#7dd3fc"}},n),target:"_blank"},o),{children:e}))}var S=n(11057);function x(){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(k,{href:v.fZ,children:"Reef Life Survey"}),(0,i.jsx)(k,{href:v.yn,children:"Contact"}),(0,i.jsx)(S.Z,{component:"a",target:"_blank",href:v.L4,variant:"contained",sx:{width:120,bgcolor:"#d85935"},children:"Donate"})]})}var E=n(24984),T=n(48879);
74function C(){var t=(0,u.Z)(),e=(0,s.useState)(!1),n=e[0],r=e[1],o=(0,E.X)().dispatch;(0,s.useEffect)((function(){n&&document.body.classList.add("modal-open"),n||document.body.classList.remove("modal-open")}),[n]);return(0,i.jsx)(h.Z,{elevation:0,position:"static",component:"nav",style:{backgroundColor:"#090d12",boxShadow:y.Z.shadows[3]},sx:{position:"relative",zIndex:n?2e3:"unset"},children:(0,i.jsxs)(p.Z,{sx:{height:56,width:"100%",maxWidth:"112rem",display:"flex",margin:"0 auto",justifyContent:"space-between",alignItems:"center",paddingX:2},children:[(0,i.jsx)(p.Z,{onClick:function(){r(!1)},children:(0,i.jsx)(c.Z,{href:"/",sx:{display:"flex"},onClick:function(){return o({type:"RESET_FILTERS",payload:null})},children:(0,i.jsx)(T.E,{src:a,alt:"Reef Species of the World Logo",sx:{width:110}})})}),t.width>660&&(0,i.jsx)(p.Z,{sx:{display:"flex",alignItems:"center",gap:6},children:(0,i.jsx)(x,{})}),t.width<=660&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(f.Z,{size:"large","aria-label":"menu",onClick:function(){return r(!n)},children:[!n&&(0,i.jsx)(m.Z,{}),n&&(0,i.jsx)(g.Z,{})]}),n&&(0,i.jsx)(d,{className:"open",children:(0,i.jsx)(p.Z,{sx:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",bgcolor:"#000000f3",zIndex:1e3},children:(0,i.jsx)(p.Z,{sx:{display:"flex",flexDirection:"column",gap:10,alignItems:"center"},children:(0,i.jsx)(x,{})})})})]})]})})}var R=n(35867);function O(){var t=new Date(Date.now()).getFullYear();return(0,i.jsx)(p.Z,{component:"footer",sx:{bgcolor:"#090d12",paddingY:10},children:(0,i.jsxs)(p.Z,{sx:{maxWidth:"112rem",margin:"0 auto",paddingX:2,"& :not(:last-child)":{marginBottom:2}},children:[(0,i.jsxs)(w.Z,{component:"span",sx:{display:"block"},children:["\xa9 Reef Life Survey ",t]}),(0,i.jsxs)(w.Z,{component:"span",sx:{display:"block"},children:["Copyright to the photographs on this site belongs solely to the credited photographers. Any requests for usage can be directed to the photographer through"," ",(0,i.jsx)(R.Z,{href:"https://reeflifesurvey.com/contact/",children:"our contact form"}),"."]})]})})}var I=n(90629);function A(t){return(0,i.jsxs)(I.Z,{sx:(0,o.Z)({display:"flex",flexDirection:"column",gap:5,minHeight:"100vh"},y.Z.breakpoints.up("sm"),{gap:10}),elevation:0,children:[(0,i.jsx)(C,{}),(0,i.jsx)(p.Z,{component:"main",sx:{width:"100%",maxWidth:"102rem",margin:"0 auto",paddingX:2,flex:1,position:"relative"},children:t.children}),(0,i.jsx)(O,{})]})}var Z=n(87462),M=n(63366);var P=s.createContext(null);function D(){return s.useContext(P)}var L="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var N=function(t){const{children:e,theme:n}=t,r=D(),o=s.useMemo((()=>{const t=null===r?n:function(t,e){if("function"===typeof e)return e(t);return(0,Z.Z)({},t,e)}(r,n);return null!=t&&(t[L]=null!==r),t}),[n,r]);return(0,i.jsx)(P.Provider,{value:o,children:e})},z=n(75260),j=n(34168);const F={};function $(t,e,n,r=!1){return s.useMemo((()=>{const i=t&&e[t]||e;if("function"===typeof n){const o=n(i),s=t?(0,Z.Z)({},e,{[t]:o}):o;return r?()=>s:s}return t?(0,Z.Z)({},e,{[t]:n}):(0,Z.Z)({},e,n)}),[t,e,n,r])}var B=function(t){const{children:e,theme:n,themeId:r}=t,o=(0,j.Z)(F),s=D()||F,a=$(r,o,n),c=$(r,s,n,!0);return(0,i.jsx)(N,{theme:c,children:(0,i.jsx)(z.T.Provider,{value:a,children:e})})},U=n(10606);const q=["theme"];function G(t){let{theme:e}=t,n=(0,M.Z)(t,q);const r=e[U.Z];return(0,i.jsx)(B,(0,Z.Z)({},n,{themeId:r?U.Z:void 0,theme:r||e}))}var H=n(2962),W="/species/_next/static/media/rlsLogoSocial.414892c1.jpg",V=783,K=1566,Q=n(8417),Y="undefined"!==typeof document;var X=n(88767),J=new X.QueryClient,tt=function(t){return(0,i.jsx)(X.QueryClientProvider,{client:J,children:t.children})};const et=(0,s.createContext)(null),nt={didCatch:!1,error:null};class rt extends s.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=nt}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(null!==t){for(var e,n,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];null===(e=(n=this.props).onReset)||void 0===e||e.call(n,{args:i,reason:"imperative-api"}),this.setState(nt)}}componentDidCatch(t,e){var n,r;null===(n=(r=this.props).onError)||void 0===n||n.call(r,t,e)}componentDidUpdate(t,e){const{didCatch:n}=this.state,{resetKeys:r}=this.props;var i,o;n&&null!==e.error&&function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.length!==e.length||t.some(((t,n)=>!Object.is(t,e[n])))}(t.resetKeys,r)&&(null===(i=(o=this.props).onReset)||void 0===i||i.call(o,{next:r,prev:t.resetKeys,reason:"keys"}),this.setState(nt))}render(){const{children:t,fallbackRender:e,FallbackComponent:n,fallback:r}=this.props,{didCatch:i,error:o}=this.state;let a=t;if(i){const t={error:o,resetErrorBoundary:this.resetErrorBoundary};if((0,s.isValidElement)(r))a=r;else if("function"===typeof e)a=e(t);else{if(!n)throw o;a=(0,s.createElement)(n,t)}}return(0,s.createElement)(et.Provider,{value:{didCatch:i,error:o,resetErrorBoundary:this.resetErrorBoundary}},a)}}var it=n(25108);function ot(t){var e=t.error,n=t.resetErrorBoundary,r=(0,E.X)().dispatch;return(0,s.useEffect)((function(){it.log(e)}),[]),(0,i.jsxs)(p.Z,{sx:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:8},children:[(0,i.jsx)(w.Z,{variant:"h2",children:"Aaarggghhh! \ud83e\udd88"}),(0,i.jsx)(w.Z,{children:"Seems like we are experiencing rocky seas!"}),(0,i.jsx)(S.Z,{type:"button",variant:"contained",onClick:function(){r({type:"RESET",payload:null}),localStorage.clear(),n()},children:"Try again!"})]})}var st=n(64487),at=n(51850),ct=function(){var t;if(Y){var e=document.querySelector('meta[name="emotion-insertion-point"]');t=null!==e&&void 0!==e?e:void 0}return(0,Q.Z)({key:"mui-style",insertionPoint:t})}();var ut=function(t){var e=t.Component,n=t.emotionCache,o=void 0===n?ct:n,s=t.pageProps;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(H.lX,{title:"Reef Species of the World | Reef Life Survey",description:"A web app to search the world's reef species documented by the Reef Life Survey expeditions",openGraph:{type:"website",locale:"en_IE",title:"Reef Species of the World | Reef Life Survey",description:"A web app to search the world's reef species documented by the Reef Life Survey expeditions",images:[{url:W,alt:"Reef Life Survey Logo",width:K,height:V}],siteName:"Reef Species of the World | Reef Life Survey"},twitter:{handle:"@ReefLifeSurvey",site:"@ReefLifeSurvey",cardType:"summary_large_image"},additionalMetaTags:[{name:"viewport",content:"initial-scale=1, width=device-width"}]}),(0,i.jsx)(z.C,{value:o,children:(0,i.jsx)(G,{theme:y.Z,children:(0,i.jsx)(at.XE,{children:(0,i.jsx)(tt,{children:(0,i.jsx)(E.j,{children:(0,i.jsx)(A,{children:(0,i.jsx)(rt,{FallbackComponent:ot,onError:function(t,e){st.$e((function(n){n.setExtra("componentStack",e),st.Tb(t)}))},children:(0,i.jsx)(e,(0,r.Z)({},s))})})})})})})})]})}},99889:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(87462),i=n(71387),o=n(88606);var s=function(t,e={}){const{breakpoints:n=["sm","md","lg"],disableAlign:s=!1,factor:a=2,variants:c=["h1","h2","h3","h4","h5","h6","
74subtitle1","subtitle2","body1","body2","caption","button","overline"]}=e,u=(0,r.Z)({},t);u.typography=(0,r.Z)({},u.typography);const l=u.typography,d=(0,o.vs)(l.htmlFontSize),h=n.map((t=>u.breakpoints.values[t]));return c.forEach((t=>{const e=l[t],n=parseFloat(d(e.fontSize,"rem"));if(n<=1)return;const c=n,u=1+(c-1)/a;let{lineHeight:p}=e;if(!(0,o.dA)(p)&&!s)throw new Error((0,i.Z)(6));(0,o.dA)(p)||(p=parseFloat(d(p,"rem"))/parseFloat(n));let f=null;s||(f=t=>(0,o.LV)({size:t,grid:(0,o.vY)({pixels:4,lineHeight:p,htmlFontSize:l.htmlFontSize})})),l[t]=(0,r.Z)({},e,(0,o.ze)({cssProperty:"fontSize",min:u,max:c,unit:"rem",breakpoints:h,transform:f}))})),u}((0,n(68239).Z)({typography:{fontFamily:"Inter",htmlFontSize:10,fontSize:14,h1:{fontWeight:400},h2:{fontWeight:400},h3:{fontWeight:400},h4:{fontWeight:400},h5:{fontWeight:400},h6:{fontWeight:400}},spacing:4,palette:{mode:"dark",primary:{main:"#0390e8"},secondary:{main:"#22b8cf"},background:{default:"#111821",paper:"#111821"},text:{primary:"#ffffff",secondary:"#ffffff"}},shape:{borderRadius:2}}))},8777:function(t,e,n){"use strict";n.d(e,{q:function(){return s},w:function(){return a}});var r=n(26042),i=n(69396),o=n(828),s=function(t){var e={filters:{query:"",sites:[],phylums:[],classes:[],families:[],genera:[],minLength:0,maxLength:0,methods:[]},sort:""};return t.sites&&(e.filters.sites=t.sites.split(",")),t.query&&(e.filters.query=t.query),t.phylums&&(e.filters.phylums=t.phylums.split(",")),t.classes&&(e.filters.classes=t.classes.split(",")),t.families&&(e.filters.families=t.families.split(",")),t.genera&&(e.filters.genera=t.genera.split(",")),t.minLength&&(e.filters.minLength=+t.minLength),t.maxLength&&(e.filters.maxLength=+t.maxLength),t.methods&&(e.filters.methods=t.methods.split(",").map((function(t){return+t}))),t.sort&&(e.sort=t.sort),e};var a=function(t){var e=(0,i.Z)((0,r.Z)({},t.filters),{sort:t.sort});return Object.entries(e).filter((function(t){var e,n=(0,o.Z)(t,2),r=(n[0],n[1]);return!("string"===typeof(e=r)?""===e:"number"===typeof e?0===e:Array.isArray(e)?0===e.length:null===e)})).map((function(t){var e=(0,o.Z)(t,2),n=e[0],r=e[1];return"".concat(n,"=").concat(r)})).join("&")}},30706:function(){},92:function(){},75083:function(){},30933:function(){},20472:function(){},92998:function(){},78251:function(){},9008:function(t,e,n){t.exports=n(5443)},41664:function(t,e,n){t.exports=n(48418)},11163:function(t,e,n){t.exports=n(90387)},59852:function(t,e,n){"use strict";n.d(e,{j:function(){return s}});var r=n(75068),i=n(52943),o=n(52288),s=new(function(t){function e(){var e;return(e=t.call(this)||this).setup=function(t){var e;if(!o.sk&&(null==(e=window)?void 0:e.addEventListener)){var n=function(){return t()};return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),function(){window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}},e}(0,r.Z)(e,t);var n=e.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var t;this.hasListeners()||(null==(t=this.cleanup)||t.call(this),this.cleanup=void 0)},n.setEventListener=function(t){var e,n=this;this.setup=t,null==(e=this.cleanup)||e.call(this),this.cleanup=t((function(t){"boolean"===typeof t?n.setFocused(t):n.onFocus()}))},n.setFocused=function(t){this.focused=t,t&&this.onFocus()},n.onFocus=function(){this.listeners.forEach((function(t){t()}))},n.isFocused=function(){return"boolean"===typeof this.focused?this.focused:"undefined"===typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},e}(i.l))},46747:function(t,e,n){"use strict";n.d(e,{QueryClient:function(){return r.S}});var r=n(89043),i=n(86755);n.o(i,"QueryClientProvider")&&n.d(e,{QueryClientProvider:function(){return i.QueryClientProvider}}),n.o(i,"useMutation")&&n.d(e,{useMutation:function(){return i.useMutation}}),n.o(i,"useQuery")&&n.d(e,{useQuery:function(){return i.useQuery}})},41909:function(t,e,n){"use strict";n.d(e,{E:function(){return o},j:function(){return i}});var r=n(25108);function i(){return r}function o(t){r=t}},81262:function(t,e,n){"use strict";n.d(e,{R:function(){return u},m:function(){return c}});var r=n(87462),i=n(41909),o=n(101),s=n(21216),a=n(52288),c=function(){function t(t){this.options=(0,r.Z)({},t.defaultOptions,t.options),this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.observers=[],this.state=t.state||u(),this.meta=t.meta}var e=t.prototype;return e.setState=function(t){this.dispatch({type:"setState",state:t})},e.addObserver=function(t){-1===this.observers.indexOf(t)&&this.observers.push(t)},e.removeObserver=function(t){this.observers=this.observers.filter((function(e){return e!==t}))},e.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(a.ZT).catch(a.ZT)):Promise.resolve()},e.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},e.execute=function(){var t,e=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then((function(){null==e.mutationCache.config.onMutate||e.mutationCache.config.onMutate(e.state.variables,e)})).then((function(){return null==e.options.onMutate?void 0:e.options.onMutate(e.state.variables)})).then((function(t){t!==e.state.context&&e.dispatch({type:"loading",context:t,variables:e.state.variables})}))),r.then((function(){return e.executeMutation()})).then((function(n){t=n,null==e.mutationCache.config.onSuccess||e.mutationCache.config.onSuccess(t,e.state.variables,e.state.context,e)})).then((function(){return null==e.options.onSuccess?void 0:e.options.onSuccess(t,e.state.variables,e.state.context)})).then((function(){return null==e.options.onSettled?void 0:e.options.onSettled(t,null,e.state.variables,e.state.context)})).then((function(){return e.dispatch({type:"success",data:t}),t})).catch((function(t){return null==e.mutationCache.config.onError||e.mutationCache.config.onError(t,e.state.variables,e.state.context,e),(0,i.j)().error(t),Promise.resolve().then((function(){return null==e.options.onError?void 0:e.options.onError(t,e.state.variables,e.state.context)})).then((function(){return null==e.options.onSettled?void 0:e.options.onSettled(void 0,t,e.state.variables,e.state.context)})).then((function(){throw e.dispatch({type:"error",error:t}),t}))}))},e.executeMutation=function(){var t,e=this;return this.retryer=new s.m4({fn:function(){return e.options.mutationFn?e.options.mutationFn(e.state.variables):Promise.reject("No mutationFn found")},onFail:function(){e.dispatch({type:"failed"})},onPause:function(){e.dispatch({type:"pause"})},onContinue:function(){e.dispatch({type:"continue"})},retry:null!=(t=this.options.retry)?t:0,retryDelay:this.options.retryDelay}),this.retryer.promise},e.dispatch=function(t){var e=this;this.state=function(t,e){switch(e.type){case"failed":return(0,r.Z)({},t,{failureCount:t.failureCount+1});case"pause":return(0,r.Z)({},t,{isPaused:!0});case"continue":return(0,r.Z)({},t,{isPaused:!1});case"loading":return(0,r.Z)({},t,{context:e.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:e.variables});case"success":return(0,r.Z)({},t,{data:e.data,error:null,status:"success",isPaused:!1});case"error":return(0,r.Z)({},t,{data:void 0,error:e.error,failureCount:t.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,r.Z)({},t,e.state);default:return t}}
74(this.state,t),o.V.batch((function(){e.observers.forEach((function(e){e.onMutationUpdate(t)})),e.mutationCache.notify(e)}))},t}();function u(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}},101:function(t,e,n){"use strict";n.d(e,{V:function(){return o}});var r=n(52288),i=function(){function t(){this.queue=[],this.transactions=0,this.notifyFn=function(t){t()},this.batchNotifyFn=function(t){t()}}var e=t.prototype;return e.batch=function(t){var e;this.transactions++;try{e=t()}finally{this.transactions--,this.transactions||this.flush()}return e},e.schedule=function(t){var e=this;this.transactions?this.queue.push(t):(0,r.A4)((function(){e.notifyFn(t)}))},e.batchCalls=function(t){var e=this;return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.schedule((function(){t.apply(void 0,r)}))}},e.flush=function(){var t=this,e=this.queue;this.queue=[],e.length&&(0,r.A4)((function(){t.batchNotifyFn((function(){e.forEach((function(e){t.notifyFn(e)}))}))}))},e.setNotifyFunction=function(t){this.notifyFn=t},e.setBatchNotifyFunction=function(t){this.batchNotifyFn=t},t}(),o=new i},40068:function(t,e,n){"use strict";n.d(e,{N:function(){return s}});var r=n(75068),i=n(52943),o=n(52288),s=new(function(t){function e(){var e;return(e=t.call(this)||this).setup=function(t){var e;if(!o.sk&&(null==(e=window)?void 0:e.addEventListener)){var n=function(){return t()};return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),function(){window.removeEventListener("online",n),window.removeEventListener("offline",n)}}},e}(0,r.Z)(e,t);var n=e.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var t;this.hasListeners()||(null==(t=this.cleanup)||t.call(this),this.cleanup=void 0)},n.setEventListener=function(t){var e,n=this;this.setup=t,null==(e=this.cleanup)||e.call(this),this.cleanup=t((function(t){"boolean"===typeof t?n.setOnline(t):n.onOnline()}))},n.setOnline=function(t){this.online=t,t&&this.onOnline()},n.onOnline=function(){this.listeners.forEach((function(t){t()}))},n.isOnline=function(){return"boolean"===typeof this.online?this.online:"undefined"===typeof navigator||"undefined"===typeof navigator.onLine||navigator.onLine},e}(i.l))},89043:function(t,e,n){"use strict";n.d(e,{S:function(){return v}});var r=n(87462),i=n(52288),o=n(75068),s=n(101),a=n(41909),c=n(21216),u=function(){function t(t){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=t.meta,this.scheduleGc()}var e=t.prototype;return e.setOptions=function(t){var e;this.options=(0,r.Z)({},this.defaultOptions,t),this.meta=null==t?void 0:t.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(e=this.options.cacheTime)?e:3e5)},e.setDefaultOptions=function(t){this.defaultOptions=t},e.scheduleGc=function(){var t=this;this.clearGcTimeout(),(0,i.PN)(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){t.optionalRemove()}),this.cacheTime))},e.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},e.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},e.setData=function(t,e){var n,r,o=this.state.data,s=(0,i.SE)(t,o);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,o,s))?s=o:!1!==this.options.structuralSharing&&(s=(0,i.Q$)(o,s)),this.dispatch({data:s,type:"success",dataUpdatedAt:null==e?void 0:e.updatedAt}),s},e.setState=function(t,e){this.dispatch({type:"setState",state:t,setStateOptions:e})},e.cancel=function(t){var e,n=this.promise;return null==(e=this.retryer)||e.cancel(t),n?n.then(i.ZT).catch(i.ZT):Promise.resolve()},e.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},e.reset=function(){this.destroy(),this.setState(this.initialState)},e.isActive=function(){return this.observers.some((function(t){return!1!==t.options.enabled}))},e.isFetching=function(){return this.state.isFetching},e.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(t){return t.getCurrentResult().isStale}))},e.isStaleByTime=function(t){return void 0===t&&(t=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,i.Kp)(this.state.dataUpdatedAt,t)}
74,e.onFocus=function(){var t,e=this.observers.find((function(t){return t.shouldFetchOnWindowFocus()}));e&&e.refetch(),null==(t=this.retryer)||t.continue()},e.onOnline=function(){var t,e=this.observers.find((function(t){return t.shouldFetchOnReconnect()}));e&&e.refetch(),null==(t=this.retryer)||t.continue()},e.addObserver=function(t){-1===this.observers.indexOf(t)&&(this.observers.push(t),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))},e.removeObserver=function(t){-1!==this.observers.indexOf(t)&&(this.observers=this.observers.filter((function(e){return e!==t})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:t}))},e.getObserversCount=function(){return this.observers.length},e.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},e.fetch=function(t,e){var n,r,o,s=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==e?void 0:e.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var u;return null==(u=this.retryer)||u.continueRetry(),this.promise}if(t&&this.setOptions(t),!this.options.queryFn){var l=this.observers.find((function(t){return t.options.queryFn}));l&&this.setOptions(l.options)}var d=(0,i.mc)(this.queryKey),h=(0,i.G9)(),p={queryKey:d,pageParam:void 0,meta:this.meta};Object.defineProperty(p,"signal",{enumerable:!0,get:function(){if(h)return s.abortSignalConsumed=!0,h.signal}});var f,m,g={fetchOptions:e,options:this.options,queryKey:d,state:this.state,fetchFn:function(){return s.options.queryFn?(s.abortSignalConsumed=!1,s.options.queryFn(p)):Promise.reject("Missing queryFn")},meta:this.meta};(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(f=this.options.behavior)||f.onFetch(g));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=g.fetchOptions)?void 0:r.meta))||this.dispatch({type:"fetch",meta:null==(m=g.fetchOptions)?void 0:m.meta});return this.retryer=new c.m4({fn:g.fetchFn,abort:null==h||null==(o=h.abort)?void 0:o.bind(h),onSuccess:function(t){s.setData(t),null==s.cache.config.onSuccess||s.cache.config.onSuccess(t,s),0===s.cacheTime&&s.optionalRemove()},onError:function(t){(0,c.DV)(t)&&t.silent||s.dispatch({type:"error",error:t}),(0,c.DV)(t)||(null==s.cache.config.onError||s.cache.config.onError(t,s),(0,a.j)().error(t)),0===s.cacheTime&&s.optionalRemove()},onFail:function(){s.dispatch({type:"failed"})},onPause:function(){s.dispatch({type:"pause"})},onContinue:function(){s.dispatch({type:"continue"})},retry:g.options.retry,retryDelay:g.options.retryDelay}),this.promise=this.retryer.promise,this.promise},e.dispatch=function(t){var e=this;this.state=this.reducer(this.state,t),s.V.batch((function(){e.observers.forEach((function(e){e.onQueryUpdate(t)})),e.cache.notify({query:e,type:"queryUpdated",action:t})}))},e.getDefaultState=function(t){var e="function"===typeof t.initialData?t.initialData():t.initialData,n="undefined"!==typeof t.initialData?"function"===typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0,r="undefined"!==typeof e;return{data:e,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?"success":"idle"}},e.reducer=function(t,e){var n,i;switch(e.type){case"failed":return(0,r.Z)({},t,{fetchFailureCount:t.fetchFailureCount+1});case"pause":return(0,r.Z)({},t,{isPaused:!0});case"continue":return(0,r.Z)({},t,{isPaused:!1});case"fetch":return(0,r.Z)({},t,{fetchFailureCount:0,fetchMeta:null!=(n=e.meta)?n:null,isFetching:!0,isPaused:!1},!t.dataUpdatedAt&&{error:null,status:"loading"});case"success":return(0,r.Z)({},t,{data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(i=e.dataUpdatedAt)?i:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var o=e.error;return(0,c.DV)(o)&&o.revert&&this.revertState?(0,r.Z)({},this.revertState):(0,r.Z)({}
74,t,{error:o,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,r.Z)({},t,{isInvalidated:!0});case"setState":return(0,r.Z)({},t,e.state);default:return t}},t}(),l=n(52943),d=function(t){function e(e){var n;return(n=t.call(this)||this).config=e||{},n.queries=[],n.queriesMap={},n}(0,o.Z)(e,t);var n=e.prototype;return n.build=function(t,e,n){var r,o=e.queryKey,s=null!=(r=e.queryHash)?r:(0,i.Rm)(o,e),a=this.get(s);return a||(a=new u({cache:this,queryKey:o,queryHash:s,options:t.defaultQueryOptions(e),state:n,defaultOptions:t.getQueryDefaults(o),meta:e.meta}),this.add(a)),a},n.add=function(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"queryAdded",query:t}))},n.remove=function(t){var e=this.queriesMap[t.queryHash];e&&(t.destroy(),this.queries=this.queries.filter((function(e){return e!==t})),e===t&&delete this.queriesMap[t.queryHash],this.notify({type:"queryRemoved",query:t}))},n.clear=function(){var t=this;s.V.batch((function(){t.queries.forEach((function(e){t.remove(e)}))}))},n.get=function(t){return this.queriesMap[t]},n.getAll=function(){return this.queries},n.find=function(t,e){var n=(0,i.I6)(t,e)[0];return"undefined"===typeof n.exact&&(n.exact=!0),this.queries.find((function(t){return(0,i._x)(n,t)}))},n.findAll=function(t,e){var n=(0,i.I6)(t,e)[0];return Object.keys(n).length>0?this.queries.filter((function(t){return(0,i._x)(n,t)})):this.queries},n.notify=function(t){var e=this;s.V.batch((function(){e.listeners.forEach((function(e){e(t)}))}))},n.onFocus=function(){var t=this;s.V.batch((function(){t.queries.forEach((function(t){t.onFocus()}))}))},n.onOnline=function(){var t=this;s.V.batch((function(){t.queries.forEach((function(t){t.onOnline()}))}))},e}(l.l),h=n(81262),p=function(t){function e(e){var n;return(n=t.call(this)||this).config=e||{},n.mutations=[],n.mutationId=0,n}(0,o.Z)(e,t);var n=e.prototype;return n.build=function(t,e,n){var r=new h.m({mutationCache:this,mutationId:++this.mutationId,options:t.defaultMutationOptions(e),state:n,defaultOptions:e.mutationKey?t.getMutationDefaults(e.mutationKey):void 0,meta:e.meta});return this.add(r),r},n.add=function(t){this.mutations.push(t),this.notify(t)},n.remove=function(t){this.mutations=this.mutations.filter((function(e){return e!==t})),t.cancel(),this.notify(t)},n.clear=function(){var t=this;s.V.batch((function(){t.mutations.forEach((function(e){t.remove(e)}))}))},n.getAll=function(){return this.mutations},n.find=function(t){return"undefined"===typeof t.exact&&(t.exact=!0),this.mutations.find((function(e){return(0,i.X7)(t,e)}))},n.findAll=function(t){return this.mutations.filter((function(e){return(0,i.X7)(t,e)}))},n.notify=function(t){var e=this;s.V.batch((function(){e.listeners.forEach((function(e){e(t)}))}))},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var t=this.mutations.filter((function(t){return t.state.isPau
74sed}));return s.V.batch((function(){return t.reduce((function(t,e){return t.then((function(){return e.continue().catch(i.ZT)}))}),Promise.resolve())}))},e}(l.l),f=n(59852),m=n(40068);function g(t,e){return null==t.getNextPageParam?void 0:t.getNextPageParam(e[e.length-1],e)}function y(t,e){return null==t.getPreviousPageParam?void 0:t.getPreviousPageParam(e[0],e)}var v=function(){function t(t){void 0===t&&(t={}),this.queryCache=t.queryCache||new d,this.mutationCache=t.mutationCache||new p,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var e=t.prototype;return e.mount=function(){var t=this;this.unsubscribeFocus=f.j.subscribe((function(){f.j.isFocused()&&m.N.isOnline()&&(t.mutationCache.onFocus(),t.queryCache.onFocus())})),this.unsubscribeOnline=m.N.subscribe((function(){f.j.isFocused()&&m.N.isOnline()&&(t.mutationCache.onOnline(),t.queryCache.onOnline())}))},e.unmount=function(){var t,e;null==(t=this.unsubscribeFocus)||t.call(this),null==(e=this.unsubscribeOnline)||e.call(this)},e.isFetching=function(t,e){var n=(0,i.I6)(t,e)[0];return n.fetching=!0,this.queryCache.findAll(n).length},e.isMutating=function(t){return this.mutationCache.findAll((0,r.Z)({},t,{fetching:!0})).length},e.getQueryData=function(t,e){var n;return null==(n=this.queryCache.find(t,e))?void 0:n.state.data},e.getQueriesData=function(t){return this.getQueryCache().findAll(t).map((function(t){return[t.queryKey,t.state.data]}))},e.setQueryData=function(t,e,n){var r=(0,i._v)(t),o=this.defaultQueryOptions(r);return this.queryCache.build(this,o).setData(e,n)},e.setQueriesData=function(t,e,n){var r=this;return s.V.batch((function(){return r.getQueryCache().findAll(t).map((function(t){var i=t.queryKey;return[i,r.setQueryData(i,e,n)]}))}))},e.getQueryState=function(t,e){var n;return null==(n=this.queryCache.find(t,e))?void 0:n.state},e.removeQueries=function(t,e){var n=(0,i.I6)(t,e)[0],r=this.queryCache;s.V.batch((function(){r.findAll(n).forEach((function(t){r.remove(t)}))}))},e.resetQueries=function(t,e,n){var o=this,a=(0,i.I6)(t,e,n),c=a[0],u=a[1],l=this.queryCache,d=(0,r.Z)({},c,{active:!0});return s.V.batch((function(){return l.findAll(c).forEach((function(t){t.reset()})),o.refetchQueries(d,u)}))},e.cancelQueries=function(t,e,n){var r=this,o=(0,i.I6)(t,e,n),a=o[0],c=o[1],u=void 0===c?{}:c;"undefined"===typeof u.revert&&(u.revert=!0);var l=s.V.batch((function(){return r.queryCache.findAll(a).map((function(t){return t.cancel(u)}))}));return Promise.all(l).then(i.ZT).catch(i.ZT)},e.invalidateQueries=function(t,e,n){var o,a,c,u=this,l=(0,i.I6)(t,e,n),d=l[0],h=l[1],p=(0,r.Z)({},d,{active:null==(o=null!=(a=d.refetchActive)?a:d.active)||o,inactive:null!=(c=d.refetchInactive)&&c});return s.V.batch((function(){return u.queryCache.findAll(d).forEach((function(t){t.invalidate()})),u.refetchQueries(p,h)}))},e.refetchQueries=function(t,e,n){var o=this,a=(0,i.I6)(t,e,n),c=a[0],u=a[1],l=s.V.batch((function(){return o.queryCache.findAll(c).map((function(t){return t.fetch(void 0,(0,r.Z)({},u,{meta:{refetchPage:null==c?void 0:c.refetchPage}}))}))})),d=Promise.all(l).then(i.ZT);return(null==u?void 0:u.throwOnError)||(d=d.catch(i.ZT)),d},e.fetchQuery=function(t,e,n){var r=(0,i._v)(t,e,n),o=this.defaultQueryOptions(r);"undefined"===typeof o.retry&&(o.retry=!1);var s=this.queryCache.build(this,o);return s.isStaleByTime(o.staleTime)?s.fetch(o):Promise.resolve(s.state.data)},e.prefetchQuery=function(t,e,n){return this.fetchQuery(t,e,n).then(i.ZT).catch(i.ZT)},e.fetchInfiniteQuery=function(t,e,n){var r=(0,i._v)(t,e,n);return r.behavior={onFetch:function(t){t.fetchFn=function(){var e,n,r,o,s,a,u,l=null==(e=t.fetchOptions)||null==(n=e.meta)?void 0:n.refetchPage,d=null==(r=t.fetchOptions)||null==(o=r.meta)?void 0:o.fetchMore,h=null==d?void 0:d.pageParam,p="forward"===(null==d?void 0:d.direction),f="backward"===(null==d?void 0:d.direction),m=(null==(s=t.state.data)?void 0:s.pages)||[],v=(null==(a=t.state.data)?void 0:a.pageParams)||[],_=(0,i.G9)(),b=null==_?void 0:_.signal,w=v,k=!1,S=t.options.queryFn||function(){return Promise.reject("Missing queryFn")},x=function(t,e,n,r){return w=r?[e].concat(w):[].concat(w,[e]),r?[n].concat(t):[].concat(t,[n])},E=function(e,n,r,i){if(k)return Promise.reject("Cancelled");if("undefined"===typeof r&&!n&&e.length)return Promise.resolve(e);var o={queryKey:t.queryKey,signal:b,pageParam:r,meta:t.meta},s=S(o),a=Promise.resolve(s).then((function(t){return x(e,r,t,i)}));return(0,c.LE)(s)&&(a.cancel=s.cancel),a};if(m.length)if(p){var T="undefined"!==typeof h,C=T?h:g(t.options,m);u=E(m,T,C)}else if(f){var R="undefined"!==typeof h,O=R?h:y(t.options,m);u=E(m,R,O,!0)}else!function(){w=[];var e="undefined"===typeof t.options.getNextPageParam,n=!l||!m[0]||l(m[0],0,m);u=n?E([],e,v[0]):Promise.resolve(x([],v[0],m[0]));for(var r=function(n){u=u.then((function(r){if(!l||!m[n]||l(m[n],n,m)){var i=e?v[n]:g(t.options,r);return E(r,e,i)}return Promise.resolve(x(r,v[n],m[n]))}))},i=1;i<m.length;i++)r(i)}();else u=E([]);var I=u.then((function(t){return{pages:t,pageParams:w}}));return I.cancel=function(){k=!0,null==_||_.abort(),(0,c.LE)(u)&&u.cancel()},I}}},this.fetchQuery(r)},e.prefetchInfiniteQuery=function(t,e,n){return this.fetchInfiniteQuery(t,e,n).then(i.ZT).catch(i.ZT)},e.cancelMutations=function(){var t=this,e=s.V.batch((function(){return t.mutationCache.getAll().map((function(t){return t.cancel()}))}));return Promise.all(e).then(i.ZT).catch(i.ZT)},e.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},e.executeMutation=function(t){return this.mutationCache.build(this,t).execute()},e.getQueryCache=function(){return this.queryCache},e.getMutationCache=function(){return this.mutationCache},e.getDefaultOptions=function(){return this.defaultOptions},e.setDefaultOptions=function(t){this.defaultOptions=t},e.setQueryDefaults=function(t,e){var n=this.queryDefaults.find((function(e){return(0,i.yF)(t)===(0,i.yF)(e.queryKey)}));n?n.defaultOptions=e:this.queryDefaults.push({queryKey:t,defaultOptions:e})},e.getQueryDefaults=function(t){var e;return t?null==(e=this.queryDefaults.find((function(e){return(0,i.to)(t,e.queryKey)})))?void 0:e.defaultOptions:void 0},e.setMutationDefaults=function(t,e){var n=this.mutationDefaults.find((function(e){return(0,i.yF)(t)===(0,i.yF)(e.mutationKey)}));n?n.defaultOptions=e:this.mutationDefaults.push({mutationKey:t,defaultOptions:e})},e.getMutationDefaults=function(t){var e;return t?null==(e=this.mutationDefaults.find((function(e){return(0,i.to)(t,e.mutationKey)})))?void 0:e.defaultOptions:void 0},e.defaultQueryOptions=function(t){if(null==t?void 0:t._defaulted)return t;var e=(0,r.Z)({},this.defaultOptions.queries,this.getQueryDefaults(null==t?void 0:t.queryKey),t,{_defaulted:!0});return!e.queryHash&&e.queryKey&&(e.queryHash=(0,i.Rm)(e.queryKey,e)),e},e.defaultQueryObserverOptions=function(t){return this.defaultQueryOptions(t)},e.defaultMutationOptions=function(t){return(null==t?void 0:t._defaulted)?t:(0,r.Z)({},this.defaultOptions.mutations,this.getMutationDefaults(null==t?void 0:t.mutationKey),t,{_defaulted:!0})},e.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},t}()},21216:function(t,e,n){"use strict";n.d(e,{DV:function(){return u},LE:function(){return a},m4:function(){return l}});var r=n(59852),i=n(40068),o=n(52288);function s(t){return Math.min(1e3*Math.pow(2,t),3e4)}function a(t){return"function"===typeof(null==t?void 0:t.cancel)}var c=function(t){this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent};function u(t){return t instanceof c}var l=function(t){var e,n,u,l,d=this,h=!1;this.abort=t.abort,this.cancel=function(t){return null==e?void 0:e(t)},this.cancelRetry=function(){h=!0},this.continueRetry=function(){h=!1},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(t,e){u=t,l=e}));var p=function(e){d.isResolved||(d.isResolved=!0,null==t.onSuccess||t.onSuccess(e),null==n||n(),u(e))},f=function(e){d.isResolved||(d.isResolved=!0,null==t.onError||t.onError(e),null==n||n(),l(e))};!function u(){if(!d.isResolved){var l;try{l=t.fn()}catch(m){l=Promise.reject(m)}e=function(t){if(!d.isResolved&&(f(new c(t)),null==d.abort||d.abort(),a(l)))try{l.cancel()}catch(e){}},d.isTransportCancelable=a(l),Promise.resolve(l).then(p).catch((function(e){var a,c;if(!d.isResolved){var l=null!=(a=t.retry)?a:3,p=null!=(c=t.retryDelay)?c:s,m="function"===typeof p?p(d.failureCount,e):p,g=!0===l||"number"===typeof l&&d.failureCount<l||"function"===typeof l&&l(d.failureCount,e);!h&&g?(d.failureCount++,null==t.onFail||t.onFail(d.failureCount,e),(0,o.Gh)(m).then((function(){if(!r.j.isFocused()||!i.N.isOnline())return new Promise((function(e){n=e,d.isPaused=!0,null==t.onPause||t.onPause()})).then((function(){n=void 0,d.isPaused=!1,null==t.onContinue||t.onContinue()}))})).then((function(){h?f(e):u()}))):f(e)}}))}}()}},52943:function(t,e,n){"use strict";n.d(e,{l:function(){return r}});var r=function(){function t(){this.listeners=[]}var e=t.prototype;return e.subscribe=function(t){var e=this,n=t||function(){};return this.listeners.push(n),this.onSubscribe(),function(){e.listeners=e.listeners.filter((function(t){return t!==n})),e.onUnsubscribe()}},e.hasListeners=function(){return this.listeners.length>0},e.onSubscribe=function(){},e.onUnsubscribe=function(){},t}()},86755:function(){},52288:function(t,e,n){"use strict";n.d(e,{A4:function(){return E},G9:function(){return T},Gh:function(){return x},I6:function(){return h},Kp:function(){return u},PN:function(){return a},Q$:function(){return _},Rm:function(){return m},SE:function(){return s},VS:function(){return b},X7:function(){return f},ZT:function(){return o},_v:function(){return l},_x:function(){return p},lV:function(){return d},mc:function(){return c},sk:function(){return i},to:function(){return y},yF:function(){return g}});var r=n(87462),i="undefined"===typeof window;function o(){}function s(t,e){return"function"===typeof t?t(e):t}function a(t){return"number"===typeof t&&t>=0&&t!==1/0}function c(t){return Array.isArray(t)?t:[t]}function u(t,e){return Math.max(t+(e||0)-Date.now(),0)}function l(t,e,n){return S(t)?"function"===typeof e?(0,r.Z)({},n,{queryKey:t,queryFn:e}):(0,r.Z)({},e,{queryKey:t}):t}function d(t,e,n){return S(t)?"function"===typeof e?(0,r.Z)({},n,{mutationKey:t,mutationFn:e}):(0,r.Z)({},e,{mutationKey:t}):"function"===typeof t?(0,r.Z)({},e,{mutationFn:t}):(0,r.Z)({},t)}function h(t,e,n){return S(t)?[(0,r.Z)({},e,{queryKey:t}),n]:[t||{},e]}function p(t,e){var n=t.active,r=t.exact,i=t.fetching,o=t.inactive,s=t.predicate,a=t.queryKey,c=t.stale;if(S(a))if(r){if(e.queryHash!==m(a,e.options))return!1}else if(!y(e.queryKey,a))return!1;var u=function(t,e){return!0===t&&!0===e||null==t&&null==e?"all":!1===t&&!1===e?"none":(null!=t?t:!e)?"active":"inactive"}(n,o);if("none"===u)return!1;if("all"!==u){var l=e.isActive();if("active"===u&&!l)return!1;if("inactive"===u&&l)return!1}return("boolean"!==typeof c||e.isStale()===c)&&(("boolean"!==typeof i||e.isFetching()===i)&&!(s&&!s(e)))}function f(t,e){var n=t.exact,r=t.fetching,i=t.predicate,o=t.mutationKey;if(S(o)){if(!e.options.mutationKey)return!1;if(n){if(g(e.options.mutationKey)!==g(o))return!1}else if(!y(e.options.mutationKey,o))return!1}return("boolean"!==typeof r||"loading"===e.state.status===r)&&!(i&&!i(e))}function m(t,e){return((null==e?void 0:e.queryKeyHashFn)||g)(t)}function g(t){var e,n=c(t);return e=n,JSON.stringify(e,(function(t,e){return w(e)?Object.keys(e).sort().reduce((function(t,n){return t[n]=e[n],t}),{}):e}))}function y(t,e){return v(c(t),c(e))}function v(t,e){return t===e||typeof t===typeof e&&(!(!t||!e||"object"!==typeof t||"object"!==typeof e)&&!Object.keys(e).some((function(n){return!v(t[n],e[n])})))}function _(t,e){if(t===e)return t;var n=Array.isArray(t)&&Array.isArray(e);if(n||w(t)&&w(e)){for(var r=n?t.length:Object.keys(t).length,i=n?e:Object.keys(e),o=i.length,s=n?[]:{},a=0,c=0;c<o;c++){var u=n?c:i[c];s[u]=_(t[u],e[u]),s[u]===t[u]&&a++}return r===o&&a===r?t:s}return e}function b(t,e){if(t&&!e||e&&!t)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}function w(t){if(!k(t))return!1;var e=t.constructor;if("undefined"===typeof e)return!0;var n=e.prototype;return!!k(n)&&!!n.hasOwnProperty("isPrototypeOf")}function k(t){return"[object Object]"===Object.prototype.toString.call(t)}function S(t){return"string"===typeof t||Array.isArray(t)}function x(t){return new Promise((function(e){setTimeout(e,t)}))}
74function E(t){Promise.resolve().then(t).catch((function(t){return setTimeout((function(){throw t}))}))}function T(){if("function"===typeof AbortController)return new AbortController}},88767:function(t,e,n){"use strict";n.d(e,{QueryClient:function(){return r.QueryClient},QueryClientProvider:function(){return i.QueryClientProvider},useMutation:function(){return i.useMutation},useQuery:function(){return i.useQuery}});var r=n(46747);n.o(r,"QueryClientProvider")&&n.d(e,{QueryClientProvider:function(){return r.QueryClientProvider}}),n.o(r,"useMutation")&&n.d(e,{useMutation:function(){return r.useMutation}}),n.o(r,"useQuery")&&n.d(e,{useQuery:function(){return r.useQuery}});var i=n(48073)},48073:function(t,e,n){"use strict";n.d(e,{QueryClientProvider:function(){return h},useMutation:function(){return b},useQuery:function(){return A}});var r=n(101),i=n(73935).unstable_batchedUpdates;r.V.setBatchNotifyFunction(i);var o=n(41909),s=n(25108);(0,o.E)(s);var a=n(67294),c=a.createContext(void 0),u=a.createContext(!1);function l(t){return t&&"undefined"!==typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=c),window.ReactQueryClientContext):c}var d=function(){var t=a.useContext(l(a.useContext(u)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},h=function(t){var e=t.client,n=t.contextSharing,r=void 0!==n&&n,i=t.children;a.useEffect((function(){return e.mount(),function(){e.unmount()}}),[e]);var o=l(r);return a.createElement(u.Provider,{value:r},a.createElement(o.Provider,{value:e},i))},p=n(87462),f=n(52288),m=n(75068),g=n(81262),y=n(52943),v=function(t){function e(e,n){var r;return(r=t.call(this)||this).client=e,r.setOptions(n),r.bindMethods(),r.updateResult(),r}(0,m.Z)(e,t);var n=e.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(t){this.options=this.client.defaultMutationOptions(t)},n.onUnsubscribe=function(){var t;this.listeners.length||(null==(t=this.currentMutation)||t.removeObserver(this))},n.onMutationUpdate=function(t){this.updateResult();var e={listeners:!0};"success"===t.type?e.onSuccess=!0:"error"===t.type&&(e.onError=!0),this.notify(e)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(t,e){return this.mutateOptions=e,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,(0,p.Z)({},this.options,{variables:"undefined"!==typeof t?t:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var t=this.currentMutation?this.currentMutation.state:(0,g.R)(),e=(0,p.Z)({},t,{isLoading:"loading"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset});this.currentResult=e},n.notify=function(t){var e=this;r.V.batch((function(){e.mutateOptions&&(t.onSuccess?(null==e.mutateOptions.onSuccess||e.mutateOptions.onSuccess(e.currentResult.data,e.currentResult.variables,e.currentResult.context),null==e.mutateOptions.onSettled||e.mutateOptions.onSettled(e.currentResult.data,null,e.currentResult.variables,e.currentResult.context)):t.onError&&(null==e.mutateOptions.onError||e.mutateOptions.onError(e.currentResult.error,e.currentResult.variables,e.currentResult.context),null==e.mutateOptions.onSettled||e.mutateOptions.onSettled(void 0,e.currentResult.error,e.currentResult.variables,e.currentResult.context))),t.listeners&&e.listeners.forEach((function(t){t(e.currentResult)}))}))},e}(y.l);function _(t,e,n){return"function"===typeof e?e.apply(void 0,n):"boolean"===typeof e?e:!!t}function b(t,e,n){var i=a.useRef(!1),o=a.useState(0)[1],s=(0,f.lV)(t,e,n),c=d(),u=a.useRef();u.current?u.current.setOptions(s):u.current=new v(c,s);var l=u.current.getCurrentResult();a.useEffect((function(){i.current=!0;var t=u.current.subscribe(r.V.batchCalls((function(){i.current&&o((function(t){return t+1}))})));return function(){i.current=!1,t()}}),[]);var h=a.useCallback((function(t,e){u.current.mutate(t,e).catch(f.ZT)}),[]);if(l.error&&_(void 0,u.current.options.useErrorBoundary,[l.error]))throw l.error;return(0,p.Z)({},l,{mutate:h,mutateAsync:l.mutate})}var w=n(59852),k=n(21216),S=function(t){function e(e,n){var r;return(r=t.call(this)||this).client=e,r.options=n,r.trackedProps=[],r.selectError=null,r.bindMethods(),r.setOptions(n),r}(0,m.Z)(e,t);var n=e.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),x(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return E(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return E(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(t,e){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(t),"undefined"!==typeof this.options.enabled&&"boolean"!==typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var i=this.hasListeners();i&&T(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(e),!i||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var o=this.computeRefetchInterval();!i||this.currentQuery===r&&this.options.enabled===n.enabled&&o===this.currentRefetchInterval||this.updateRefetchInterval(o)},n.getOptimisticResult=function(t){var e=this.client.defaultQueryObserverOptions(t),n=this.client.getQueryCache().build(this.client,e);return this.createResult(n,e)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(t,e){var n=this,r={},i=function(t){n.trackedProps.includes(t)||n.trackedProps.push(t)};return Object.keys(t).forEach((function(e){Object.defineProperty(r,e,{configurable:!1,enumerable:!0,get:function(){return i(e),t[e]}})})),(e.useErrorBoundary||e.suspense)&&i("error"),r},n.getNextResult=function(t){var e=this;return new Promise((function(n,r){var i=e.subscribe((function(e){e.isFetching||(i(),e.isError&&(null==t?void 0:t.throwOnError)?r(e.error):n(e))}))}))},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(t){return this.fetch((0,p.Z)({},t,{meta:{refetchPage:null==t?void 0:t.refetchPage}}))},n.fetchOptimistic=function(t){var e=this,n=this.client.defaultQueryObserverOptions(t),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then((function(){return e.createResult(r,n)}))},n.fetch=function(t){var e=this;return this.executeFetch(t).then((function(){return e.updateResult(),e.currentResult}))},n.executeFetch=function(t){this.updateQuery();var e=this.currentQuery.fetch(this.options,t);return(null==t?void 0:t.throwOnError)||(e=e.catch(f.ZT)),e},n.updateStaleTimeout=function(){var t=this;
74if(this.clearStaleTimeout(),!f.sk&&!this.currentResult.isStale&&(0,f.PN)(this.options.staleTime)){var e=(0,f.Kp)(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){t.currentResult.isStale||t.updateResult()}),e)}},n.computeRefetchInterval=function(){var t;return"function"===typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(t=this.options.refetchInterval)&&t},n.updateRefetchInterval=function(t){var e=this;this.clearRefetchInterval(),this.currentRefetchInterval=t,!f.sk&&!1!==this.options.enabled&&(0,f.PN)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(e.options.refetchIntervalInBackground||w.j.isFocused())&&e.executeFetch()}),this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(t,e){var n,r=this.currentQuery,i=this.options,s=this.currentResult,a=this.currentResultState,c=this.currentResultOptions,u=t!==r,l=u?t.state:this.currentQueryInitialState,d=u?this.currentResult:this.previousQueryResult,h=t.state,p=h.dataUpdatedAt,m=h.error,g=h.errorUpdatedAt,y=h.isFetching,v=h.status,_=!1,b=!1;if(e.optimisticResults){var w=this.hasListeners(),k=!w&&x(t,e),S=w&&T(t,r,e,i);(k||S)&&(y=!0,p||(v="loading"))}if(e.keepPreviousData&&!h.dataUpdateCount&&(null==d?void 0:d.isSuccess)&&"error"!==v)n=d.data,p=d.dataUpdatedAt,v=d.status,_=!0;else if(e.select&&"undefined"!==typeof h.data)if(s&&h.data===(null==a?void 0:a.data)&&e.select===this.selectFn)n=this.selectResult;else try{this.selectFn=e.select,n=e.select(h.data),!1!==e.structuralSharing&&(n=(0,f.Q$)(null==s?void 0:s.data,n)),this.selectResult=n,this.selectError=null}catch(R){(0,o.j)().error(R),this.selectError=R}else n=h.data;if("undefined"!==typeof e.placeholderData&&"undefined"===typeof n&&("loading"===v||"idle"===v)){var E;if((null==s?void 0:s.isPlaceholderData)&&e.placeholderData===(null==c?void 0:c.placeholderData))E=s.data;else if(E="function"===typeof e.placeholderData?e.placeholderData():e.placeholderData,e.select&&"undefined"!==typeof E)try{E=e.select(E),!1!==e.structuralSharing&&(E=(0,f.Q$)(null==s?void 0:s.data,E)),this.selectError=null}catch(R){(0,o.j)().error(R),this.selectError=R}"undefined"!==typeof E&&(v="success",n=E,b=!0)}return this.selectError&&(m=this.selectError,n=this.selectResult,g=Date.now(),v="error"),{status:v,isLoading:"loading"===v,isSuccess:"success"===v,isError:"error"===v,isIdle:"idle"===v,data:n,dataUpdatedAt:p,error:m,errorUpdatedAt:g,failureCount:h.fetchFailureCount,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>l.dataUpdateCount||h.errorUpdateCount>l.errorUpdateCount,isFetching:y,isRefetching:y&&"loading"!==v,isLoadingError:"error"===v&&0===h.dataUpdatedAt,isPlaceholderData:b,isPreviousData:_,isRefetchError:"error"===v&&0!==h.dataUpdatedAt,isStale:C(t,e),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(t,e){if(!e)return!0;var n=this.options,r=n.notifyOnChangeProps,i=n.notifyOnChangePropsExclusions;if(!r&&!i)return!0;if("tracked"===r&&!this.trackedProps.length)return!0;var o="tracked"===r?this.trackedProps:r;return Object.keys(t).some((function(n){var r=n,s=t[r]!==e[r],a=null==o?void 0:o.some((function(t){return t===n})),c=null==i?void 0:i.some((function(t){return t===n}));return s&&!c&&(!o||a)}))},n.updateResult=function(t){var e=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!(0,f.VS)(this.currentResult,e)){var n={cache:!0};!1!==(null==t?void 0:t.listeners)&&this.shouldNotifyListeners(this.currentResult,e)&&(n.listeners=!0),this.notify((0,p.Z)({},n,t))}},n.updateQuery=function(){var t=this.client.getQueryCache().build(this.client,this.options);if(t!==this.currentQuery){var e=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==e||e.removeObserver(this),t.addObserver(this))}},n.onQueryUpdate=function(t){var e={};"success"===t.type?e.onSuccess=!0:"error"!==t.type||(0,k.DV)(t.error)||(e.onError=!0),this.updateResult(e),this.hasListeners()&&this.updateTimers()},n.notify=function(t){var e=this;r.V.batch((function(){t.onSuccess?(null==e.options.onSuccess||e.options.onSuccess(e.currentResult.data),null==e.options.onSettled||e.options.onSettled(e.currentResult.data,null)):t.onError&&(null==e.options.onError||e.options.onError(e.currentResult.error),null==e.options.onSettled||e.options.onSettled(void 0,e.currentResult.error)),t.listeners&&e.listeners.forEac
74h((function(t){t(e.currentResult)})),t.cache&&e.client.getQueryCache().notify({query:e.currentQuery,type:"observerResultsUpdated"})}))},e}(y.l);function x(t,e){return function(t,e){return!1!==e.enabled&&!t.state.dataUpdatedAt&&!("error"===t.state.status&&!1===e.retryOnMount)}(t,e)||t.state.dataUpdatedAt>0&&E(t,e,e.refetchOnMount)}function E(t,e,n){if(!1!==e.enabled){var r="function"===typeof n?n(t):n;return"always"===r||!1!==r&&C(t,e)}return!1}function T(t,e,n,r){return!1!==n.enabled&&(t!==e||!1===r.enabled)&&(!n.suspense||"error"!==t.state.status)&&C(t,n)}function C(t,e){return t.isStaleByTime(e.staleTime)}function R(){var t=!1;return{clearReset:function(){t=!1},reset:function(){t=!0},isReset:function(){return t}}}var O=a.createContext(R());function I(t,e){var n=a.useRef(!1),i=a.useState(0)[1],o=d(),s=a.useContext(O),c=o.defaultQueryObserverOptions(t);c.optimisticResults=!0,c.onError&&(c.onError=r.V.batchCalls(c.onError)),c.onSuccess&&(c.onSuccess=r.V.batchCalls(c.onSuccess)),c.onSettled&&(c.onSettled=r.V.batchCalls(c.onSettled)),c.suspense&&("number"!==typeof c.staleTime&&(c.staleTime=1e3),0===c.cacheTime&&(c.cacheTime=1)),(c.suspense||c.useErrorBoundary)&&(s.isReset()||(c.retryOnMount=!1));var u=a.useState((function(){return new e(o,c)}))[0],l=u.getOptimisticResult(c);if(a.useEffect((function(){n.current=!0,s.clearReset();var t=u.subscribe(r.V.batchCalls((function(){n.current&&i((function(t){return t+1}))})));return u.updateResult(),function(){n.current=!1,t()}}),[s,u]),a.useEffect((function(){u.setOptions(c,{listeners:!1})}),[c,u]),c.suspense&&l.isLoading)throw u.fetchOptimistic(c).then((function(t){var e=t.data;null==c.onSuccess||c.onSuccess(e),null==c.onSettled||c.onSettled(e,null)})).catch((function(t){s.clearReset(),null==c.onError||c.onError(t),null==c.onSettled||c.onSettled(void 0,t)}));if(l.isError&&!s.isReset()&&!l.isFetching&&_(c.suspense,c.useErrorBoundary,[l.error,u.getCurrentQuery()]))throw l.error;return"tracked"===c.notifyOnChangeProps&&(l=u.trackResult(l,c)),l}function A(t,e,n){return I((0,f._v)(t,e,n),S)}},220:function(t,e,n){"use strict";var r=n(67294);e.Z=r.createContext(null)},64836:function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},87462:function(t,e,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}n.d(e,{Z:function(){return r}})},75068:function(t,e,n){"use strict";function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)}n.d(e,{Z:function(){return i}})},63366:function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}n.d(e,{Z:function(){return r}})},20943:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,{Z:function(){return r}})},14924:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{Z:function(){return r}})},13375:function(t,e,n){"use strict";function r(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}n.d(e,{Z:function(){return r}})},26042:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(14924);function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),i.forEach((function(e){(0,r.Z)(t,e,n[e])}))}return t}},69396:function(t,e,n){"use strict";function r(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}
74(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t}n.d(e,{Z:function(){return r}})},99534:function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}n.d(e,{Z:function(){return r}})},828:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(13375);var i=n(91566);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||(0,r.Z)(t,e)||(0,i.Z)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},91566:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(20943);function i(t,e){if(t){if("string"===typeof t)return(0,r.Z)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(t,e):void 0}}},90512:function(t,e,n){"use strict";function r(t){var e,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=r(t[e]))&&(i&&(i+=" "),i+=n);else for(e in t)t[e]&&(i&&(i+=" "),i+=e);return i}e.Z=function(){for(var t,e,n=0,i="";n<arguments.length;)(t=arguments[n++])&&(e=r(t))&&(i&&(i+=" "),i+=e);return i}}},function(t){var e=function(e){return t(t.s=e)};t.O(0,[774,179],(function(){return e(23676),e(6840),e(90387)}));var n=t.O();_N_E=n}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.