1var purchaseFlow;(()=>{"use strict";var e,t,n,r={2320(e,t,n){var r=Symbol.for("preact-signals");function o(){if(l>1)l--;else{var e,t=!1,n=v;for(v=void 0;void 0!==n;){var r=n.S;if(r.v===n.v)for(var o=r.t;void 0!==o;o=o.x)o.i===n.i&&(o.i=r.i);n=n.o}for(;void 0!==s;){var i=s;for(s=void 0,f++;void 0!==i;){var a=i.u;if(i.u=void 0,i.f&=-3,!(8&i.f)&&g(i))try{i.c()}catch(n){t||(e=n,t=!0)}i=a}}if(f=0,l--,t)throw e}}function i(e){if(l>0)return e();d=++p,l++;try{return e()}finally{o()}}var a,u=void 0;function c(e){var t=u,n=a;u=void 0,a=void 0;try{return e()}finally{u=t,a=n}}var s=void 0,l=0,f=0,p=0,d=0,v=void 0,y=0;function h(e){if(void 0!==u){var t=e.n;if(void 0===t||t.t!==u)return t={i:0,S:e,p:u.s,n:void 0,t:u,e:void 0,x:void 0,r:t},void 0!==u.s&&(u.s.n=t),u.s=t,e.n=t,32&u.f&&e.S(t),t;if(-1===t.i)return t.i=0,void 0!==t.n&&(t.n.p=t.p,void 0!==t.p&&(t.p.n=t.n),t.p=u.s,t.n=void 0,u.s.n=t,u.s=t),t}}function m(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=null==t?void 0:t.watched,this.Z=null==t?void 0:t.unwatched,this.name=null==t?void 0:t.name}function b(e,t){return new m(e,t)}function g(e){for(var t=e.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function _(e){for(var t=e.s;void 0!==t;t=t.n){var n=t.S.n;if(void 0!==n&&(t.r=n),t.S.n=t,t.i=-1,void 0===t.n){e.s=t;break}}}function O(e){for(var t=e.s,n=void 0;void 0!==t;){var r=t.p;-1===t.i?(t.S.U(t),void 0!==r&&(r.n=t.n),void 0!==t.n&&(t.n.p=r)):n=t,t.S.n=t.r,void 0!==t.r&&(t.r=void 0),t=r}e.s=n}function w(e,t){m.call(this,void 0,t),this.x=e,this.s=void 0,this.g=y-1,this.f=4}function S(e,t){return new w(e,t)}function j(e){var t=e.m;if(e.m=void 0,"function"==typeof t){l++;var n=u;u=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,P(e),t}finally{u=n,o()}}}function P(e){for(var t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,j(e)}function k(e){if(u!==this)throw Error("Out-of-order effect");O(this),u=e,this.f&=-2,8&this.f&&P(this),o()}function E(e,t){this.x=e,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=null==t?void 0:t.name,a&&a.push(this)}function x(e,t){var n=new E(e,t);try{n.c()}catch(e){throw n.d(),e}var r=n.d.bind(n);return r[Symbol.dispose]=r,r}m.prototype.brand=r,m.prototype.h=function(){return!0},m.prototype.S=function(e){var t=this,n=this.t;n!==e&&void 0===e.e&&(e.x=n,this.t=e,void 0!==n?n.e=e:c(function(){var e;null==(e=t.W)||e.call(t)}))},m.prototype.U=function(e){var t=this;if(void 0!==this.t){var n=e.e,r=e.x;void 0!==n&&(n.x=r,e.e=void 0),void 0!==r&&(r.e=n,e.x=void 0),e===this.t&&(this.t=r,void 0===r&&c(function(){var e;null==(e=t.Z)||e.call(t)}))}},m.prototype.subscribe=function(e){var t=this;return x(function(){var n=t.value;c(function(){return e(n)})},{name:"sub"})},m.prototype.valueOf=function(){return this.value},m.prototype.toString=function(){return this.value+""},m.prototype.toJSON=function(){return this.value},m.prototype.peek=function(){var e=this;return c(function(){return e.value})},Object.defineProperty(m.prototype,"value",{get:function(){var e=h(this);return void 0!==e&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(f>100)throw Error("Cycle detected");0!==l&&0===f&&this.l!==d&&(this.l=d,v={S:this,v:this.v,i:this.i,o:v}),this.v=e,this.i++,y++,l++;try{for(var t=this.t;void 0!==t;t=t.x)t.t.N()}finally{o()}}}}),w.prototype=new m,w.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f)||(this.f&=-5,this.g===y))return!0;if(this.g=y,this.f|=1,this.i>0&&!g(this))return this.f&=-2,!0;var e=u;try{_(this),u=this;var t=this.x();(16&this.f||this.v!==t||0===this.i)&&(this.v=t,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return u=e,O(this),this.f&=-2,!0},w.prototype.S=function(e){if(void 0===this.t){this.f|=36;for(var t=this.s;void 0!==t;t=t.n)t.S.S(t)}m.prototype.S.call(this,e)},w.prototype.U=function(e){if(void 0!==this.t&&(m.prototype.U.call(this,e),void 0===this.t)){this.f&=-33;for(var t=this.s;void 0!==t;t=t.n)t.S.U(t)}},w.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;void 0!==e;e=e.x)e.t.N()}},Object.defineProperty(w.prototype,"value",{get:function(){if(1&this.f)throw Error("Cycle detected");var e=h(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),E.prototype.c=function(){var e=this.S();try{if(8&this.f||void 0===this.x)return;var t=this.x();"function"==typeof t&&(this.m=t)}finally{e()}},E.prototype.S=function(){if(1&this.f)throw Error("Cycle detected");this.f|=1,this.f&=-9,j(this),_(this),l++;var e=u;return u=this,k.bind(this,e)},E.prototype.N=function(){2&this.f||(this.f|=2,this.u=s,s=this)},E.prototype.d=function(){this.f|=8,1&this.f||P(this)},E.prototype.dispose=function(){this.d()},n.d(t,{EW:()=>S,HN:()=>m,QZ:()=>x,vA:()=>i,vP:()=>b})},1762(e,t,n){var r,o,i=n(1340),a=n(2890),u=n(2320),c="u">typeof window&&!!window.__PREACT_SIGNALS_DEVTOOLS__,s=[];function l(e,t){i.fF[e]=t.bind(null,i.fF[e]||function(){})}function f(e){if(o){var t=o;o=void 0,t()}o=e&&e.S()}function p(e){var t,n=this,r=e.data,o=(t=r,(0,a.Kr)(function(){return(0,u.vP)(t,void 0)},[]));o.name="ReactiveDom",o.value=r;var c=(0,a.Kr)(function(){for(var e=n.__v;e=e.__;)if(e.__c){e.__c.__$f|=4;break}var t=(0,u.EW)(function(){var e=o.value.value;return 0===e?0:!0===e?"":e||""}),r=(0,u.EW)(function(){return!Array.isArray(t.value)&&!(0,i.zO)(t.value)}),a=(0,u.QZ)(function(){if(this.N=y,r.value){var e=t.value;n.__v&&n.__v.__e&&3===n.__v.__e.nodeType&&(n.__v.__e.data=e)}}),c=n.__$u.d;return n.__$u.d=function(){a(),c.call(this)},[r,t]},[]),s=c[0],l=c[1];return s.value?l.peek():l.value}(0,u.QZ)(function(){r=this.N})(),p.displayName="ReactiveTextNode",Object.defineProperties(u.HN.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:p},props:{configurable:!0,get:function(){var e=this;return{data:{get value(){return e.value}}}}},__b:{configurable:!0,value:1}}),l("__b",function(e,t){if(f(),"string"==typeof t.type){var n,r=t.props;for(var o in r)if("children"!==o){var i,a=r[o];(null!=(i=u.HN)&&"u">typeof Symbol&&i[Symbol.hasInstance]?!!i[Symbol.hasInstance](a):a instanceof i)&&(n||(t.__np=n={}),n[o]=a,r[o]=a.peek())}}e(t)}),l("__r",function(e,t){if(e(t),t.type!==i.FK){f();var n,r,o,a=t.__c;a&&(a.__$f&=-2,void 0===(o=a.__$u)&&(n="function"==typeof t.type?t.type.displayName||t.type.n
1ame:"",(0,u.QZ)(function(){r=this},{name:n}),r.c=function(){var e;c&&(null==(e=this.y)||e.call(this)),a.__$f|=1,a.setState({})},a.__$u=o=r)),f(o)}}),l("__e",function(e,t,n,r){f(),e(t,n,r)}),l("diffed",function(e,t){if(f(),"string"==typeof t.type&&(n=t.__e)){var n,r=t.__np,o=t.props,i=n.U;if(i)for(var a in i){var c=i[a];void 0===c||r&&a in r||(c.d(),i[a]=void 0)}if(r)for(var s in i||(i={},n.U=i),r){var l=i[s],p=r[s];void 0===l?(l=function(e,t,n,r){var o=t in e&&void 0===e.ownerSVGElement,i=(0,u.vP)(n);return{o:function(e,t){i.value=e,r=t},d:(0,u.QZ)(function(){this.N=y;var n=i.value.value;r[t]!==n&&(r[t]=n,o?e[t]=n:null!=n&&(!1!==n||"-"===t[4])?e.setAttribute(t,n):e.removeAttribute(t))})}}(n,s,p,o),i[s]=l):l.o(p,o)}}e(t)}),l("unmount",function(e,t){if("string"==typeof t.type){var n=t.__e;if(n){var r=n.U;if(r)for(var o in n.U=void 0,r){var i=r[o];i&&i.d()}}var a=t.__np;if(a){var u=t.props;for(var c in a)u[c]=a[c]}t.__np=void 0}else{var s=t.__c;if(s){var l=s.__$u;l&&(s.__$u=void 0,l.d())}}e(t)}),l("__h",function(e,t,n,r){r<3&&(t.__$f|=2),e(t,n,r)}),i.uA.prototype.shouldComponentUpdate=function(e,t){if(this.__R)return!0;var n=this.__$u,r=n&&void 0!==n.s;for(var o in t)return!0;if(this.__f||"boolean"==typeof this.u&&!0===this.u){var i=2&this.__$f;if(!(r||i||4&this.__$f)||1&this.__$f)return!0}else if(!(r||4&this.__$f)||3&this.__$f)return!0;for(var a in e)if("__source"!==a&&e[a]!==this.props[a])return!0;for(var u in this.props)if(!(u in e))return!0;return!1};var d=function(e){queueMicrotask(function(){queueMicrotask(e)})};function v(){(0,u.vA)(function(){for(var e;e=s.shift();)r.call(e)})}function y(){1===s.push(this)&&(i.fF.requestAnimationFrame||d)(v)}n.d(t,{EW:()=>u.EW,QZ:()=>u.QZ,vA:()=>u.vA,vP:()=>u.vP})},8122(e,t,n){n.r(t);var r=n(1340),o=n(2890);function i(e,t){for(var n in t)e[n]=t[n];return e}function a(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function u(e,t){var n=t(),r=(0,o.J0)({t:{__:n,u:t}}),i=r[0].t,a=r[1];return(0,o.Nf)(function(){i.__=n,i.u=t,c(i)&&a({t:i})},[e,n,t]),(0,o.vJ)(function(){return c(i)&&a({t:i}),e(function(){c(i)&&a({t:i})})},[e]),n}function c(e){var t,n;try{return((n=e.__)!==(t=e.u())||0===n&&1/n!=1/t)&&(n==n||t==t)}catch(e){return!0}}function s(e){e()}function l(e){return e}function f(){return[!1,s]}var p=o.Nf;function d(e,t){this.props=e,this.context=t}function v(e,t){function n(e){var n=this.props.ref;return n!=e.ref&&n&&("function"==typeof n?n(null):n.current=null),t?!t(this.props,e)||n!=e.ref:a(this.props,e)}function o(t){return this.shouldComponentUpdate=n,(0,r.n)(e,t)}return o.displayName="Memo("+(e.displayName||e.name)+")",o.__f=o.prototype.isReactComponent=!0,o.type=e,o}(d.prototype=new r.uA).isPureReactComponent=!0,d.prototype.shouldComponentUpdate=function(e,t){return a(this.props,e)||a(this.state,t)};var y=r.fF.__b;r.fF.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),y&&y(e)};var h="u">typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function m(e){function t(t){var n=i({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=h,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var b=function(e,t){return null==e?null:(0,r.v2)((0,r.v2)(e).map(t))},g={map:b,forEach:b,count:function(e){return e?(0,r.v2)(e).length:0},only:function(e){var t=(0,r.v2)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:r.v2},_=r.fF.__e;r.fF.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k||[]),o.__c(e,t)}_(e,t,n,r)};var O=r.fF.unmount;function w(){this.__u=0,this.o=null,this.__b=null}function S(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function j(e){var t,n,o,i=null;function a(a){if(t||(t=e()).then(function(e){e&&(i=e.default||e),o=!0},function(e){n=e,o=!0}),n)throw n;if(!o)throw t;return i?(0,r.n)(i,a):null}return a.displayName="Lazy",a.__f=!0,a}function P(){this.i=null,this.l=null}r.fF.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),O&&O(e)},(w.prototype=new r.uA).__c=function(e,t){var n=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(n);var o=S(r.__v),i=!1,a=function(){i||r.__z||(i=!0,n.__R=null,o?o(c):c())};n.__R=a;var u=n.__P;n.__P=null;var c=function(){if(!--r.__u){if(r.state.__a){var e,t=r.state.__a;r.__v.__k[0]=function e(t,n,r){return t&&r&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)}),t.__c&&t.__c.__P===n&&(t.__e&&r.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=r)),t}(t,t.__c.__P,t.__c.__O)}for(r.setState({__a:r.__b=null});e=r.o.pop();)e.__P=u,e.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},w.prototype.componentWillUnmount=function(){this.o=[]},w.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),t.__c.__H=null),null!=(t=i({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c.__e=!0,t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)})),t}(this.__b,n,o.__O=o.__P)}this.__b=null}var a=t.__a&&(0,r.n)(r.FK,null,e.fallback);return a&&(a.__u&=-33),[(0,r.n)(r.FK,null,t.__a?null:e.children),a]};var k=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function E(e){return this.getChildContext=function(){return e.context},e.children}function x(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){(0,r.XX)(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var o=t.__v;null!==o&&!o.__m&&null!==o.__;)o=o.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:o.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(e,n){this.childNodes.push(e),t.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}}(0,r.XX)((0,r.n)(E,{context:t.context},e.__v),t.v)}function A(e,t){var n=(0,r.n)(x,{__v:e,h:t});return n.containerInfo=t,n}(P.prototype=new r.uA).__a=function(e){var t=this,n=S(t.__v),r=t.l.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),k(t,e,r)):o()};n?n(i):i()}},P.prototype.render=function(e){this.i=null,this.l=new Map;var t=(0,r.v2)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},P.prototype.componentDidUpdate=P.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){k(e,n,t)})};var I="u">typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,T=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,C=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,D=/[A-Z0-9]/g,N="u">typeof document,R=function(e){var t;return("u">typeof Symbol&&"symbol"==((t=Symbol())&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)?/fil|che|rad/:/fil|che|ra/).test(e)};
1function L(e,t,n){return null==t.__k&&(t.textContent=""),(0,r.XX)(e,t),"function"==typeof n&&n(),e?e.__c:null}function U(e,t,n){return(0,r.Qv)(e,t),"function"==typeof n&&n(),e?e.__c:null}r.uA.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(r.uA.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var M=r.fF.event;r.fF.event=function(e){return M&&(e=M(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var F,Y={configurable:!0,get:function(){return this.class}},z=r.fF.vnode;r.fF.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,o={},i=-1==n.indexOf("-");for(var a in t){var u=t[a];if(!("value"===a&&"defaultValue"in t&&null==u||N&&"children"===a&&"noscript"===n||"class"===a||"className"===a)){var c=a.toLowerCase();"defaultValue"===a&&"value"in t&&null==t.value?a="value":"download"===a&&!0===u?u="":"translate"===c&&"no"===u?u=!1:"o"===c[0]&&"n"===c[1]?"ondoubleclick"===c?a="ondblclick":"onchange"!==c||"input"!==n&&"textarea"!==n||R(t.type)?"onfocus"===c?a="onfocusin":"onblur"===c?a="onfocusout":C.test(a)&&(a=c):c=a="oninput":i&&T.test(a)?a=a.replace(D,"-$&").toLowerCase():null===u&&(u=void 0),"oninput"===c&&o[a=c]&&(a="oninputCapture"),o[a]=u}}"select"==n&&(o.multiple&&Array.isArray(o.value)&&(o.value=(0,r.v2)(t.children).forEach(function(e){e.props.selected=-1!=o.value.indexOf(e.props.value)})),null!=o.defaultValue&&(o.value=(0,r.v2)(t.children).forEach(function(e){e.props.selected=o.multiple?-1!=o.defaultValue.indexOf(e.props.value):o.defaultValue==e.props.value}))),t.class&&!t.className?(o.class=t.class,Object.defineProperty(o,"className",Y)):t.className&&(o.class=o.className=t.className),e.props=o}(e),e.$$typeof=I,z&&z(e)};var q=r.fF.__r;r.fF.__r=function(e){q&&q(e),F=e.__c};var H=r.fF.diffed;r.fF.diffed=function(e){H&&H(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),F=null};var W={ReactCurrentDispatcher:{current:{readContext:function(e){return F.__n[e.__c].props.value},useCallback:o.hb,useContext:o.NT,useDebugValue:o.MN,useDeferredValue:l,useEffect:o.vJ,useId:o.Bi,useImperativeHandle:o.Yn,useInsertionEffect:p,useLayoutEffect:o.Nf,useMemo:o.Kr,useReducer:o.WO,useRef:o.li,useState:o.J0,useSyncExternalStore:u,useTransition:f}}};function B(e){return r.n.bind(null,e)}function J(e){return!!e&&e.$$typeof===I}function $(e){return J(e)&&e.type===r.FK}function K(e){return!!e&&"string"==typeof e.displayName&&0==e.displayName.indexOf("Memo(")}function G(e){return J(e)?r.Ob.apply(null,arguments):e}function Q(e){return!!e.__k&&((0,r.XX)(null,e),!0)}function X(e){return e&&(e.base||1===e.nodeType&&e)||null}var V=function(e,t){return e(t)},Z=function(e,t){var n,o=r.fF.debounceRendering;r.fF.debounceRendering=function(e){n=e};try{var i=e(t);return n&&n(),i}finally{r.fF.debounceRendering=o}},ee={useState:o.J0,useId:o.Bi,useReducer:o.WO,useEffect:o.vJ,useLayoutEffect:o.Nf,useInsertionEffect:p,useTransition:f,useDeferredValue:l,useSyncExternalStore:u,startTransition:s,useRef:o.li,useImperativeHandle:o.Yn,useMemo:o.Kr,useCallback:o.hb,useContext:o.NT,useDebugValue:o.MN,version:"18.3.1",Children:g,render:L,hydrate:U,unmountComponentAtNode:Q,createPortal:A,createElement:r.n,createContext:r.q6,createFactory:B,cloneElement:G,createRef:r._3,Fragment:r.FK,isValidElement:J,isElement:J,isFragment:$,isMemo:K,findDOMNode:X,Component:r.uA,PureComponent:d,memo:v,forwardRef:m,flushSync:Z,unstable_batchedUpdates:V,StrictMode:r.FK,Suspense:w,SuspenseList:P,lazy:j,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:W};n.d(t,{Children:()=>g,Component:()=>r.uA,Fragment:()=>r.FK,PureComponent:()=>d,StrictMode:()=>r.FK,Suspense:()=>w,SuspenseList:()=>P,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>W,cloneElement:()=>G,createContext:()=>r.q6,createElement:()=>r.n,createFactory:()=>B,createPortal:()=>A,createRef:()=>r._3,default:()=>ee,findDOMNode:()=>X,flushSync:()=>Z,forwardRef:()=>m,hydrate:()=>U,isElement:()=>J,isFragment:()=>$,isMemo:()=>K,isValidElement:()=>J,lazy:()=>j,memo:()=>v,render:()=>L,startTransition:()=>s,unmountComponentAtNode:()=>Q,unstable_batchedUpdates:()=>V,useCallback:()=>o.hb,useContext:()=>o.NT,useDebugValue:()=>
vendor: 10,565 bytes, line 1
1o.MN,useDeferredValue:()=>l,useEffect:()=>o.vJ,useErrorBoundary:()=>o.Md,useId:()=>o.Bi,useImperativeHandle:()=>o.Yn,useInsertionEffect:()=>p,useLayoutEffect:()=>o.Nf,useMemo:()=>o.Kr,useReducer:()=>o.WO,useRef:()=>o.li,useState:()=>o.J0,useSyncExternalStore:()=>u,useTransition:()=>f,version:()=>"18.3.1"})},1340(e,t,n){function r(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var o,i,a,u,c,s,l,f,p,d,v,y,h,m,b,g,_={},O=[],w=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,S=Array.isArray;function j(e,t){for(var n in t)e[n]=t[n];return e}function P(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function k(e,t,n){var r,i,a,u={};for(a in t)"key"==a?r=t[a]:"ref"==a?i=t[a]:u[a]=t[a];if(arguments.length>2&&(u.children=arguments.length>3?o.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===u[a]&&(u[a]=e.defaultProps[a]);return E(e,u,r,i,null)}function E(e,t,n,r,o){var u={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++a:o,__i:-1,__u:0};return null==o&&null!=i.vnode&&i.vnode(u),u}function x(){return{current:null}}function A(e){return e.children}function I(e,t){this.props=e,this.context=t}function T(e,t){if(null==t)return e.__?T(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?T(e):null}function C(e){(!e.__d&&(e.__d=!0)&&c.push(e)&&!D.__r++||s!=i.debounceRendering)&&((s=i.debounceRendering)||l)(D)}function D(){try{for(var e,t=1;c.length;)c.length>t&&c.sort(f),e=c.shift(),t=c.length,function(e){if(e.__P&&e.__d){var t=e.__v,n=t.__e,r=[],o=[],a=j({},t);a.__v=t.__v+1,i.vnode&&i.vnode(a),M(e.__P,a,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,r,null==n?T(t):n,!!(32&t.__u),o),a.__v=t.__v,a.__.__k[a.__i]=a,F(r,a,o),t.__e=t.__=null,a.__e!=n&&function e(t){if(null!=(t=t.__)&&null!=t.__c)return t.__e=t.__c.base=null,t.__k.some(function(e){if(null!=e&&null!=e.__e)return t.__e=t.__c.base=e.__e}),e(t)}(a)}}(e)}finally{c.length=D.__r=0}}function N(e,t,n,o,a,u,c,s,l,f,p){var d,v,y,h,m,b,g=o&&o.__k||O,w=t.length;for(l=function(e,t,n,o,a){var u,c,s,l,f,p=n.length,d=p,v=0;for(e.__k=Array(a),u=0;u<a;u++)null!=(c=t[u])&&"boolean"!=typeof c&&"function"!=typeof c?("string"==typeof c||"number"==typeof c||"bigint"==(void 0===c?"undefined":r(c))||c.constructor==String?c=e.__k[u]=E(null,c,null,null,null):S(c)?c=e.__k[u]=E(A,{children:c},null,null,null):void 0===c.constructor&&c.__b>0?c=e.__k[u]=E(c.type,c.props,c.key,c.ref?c.ref:null,c.__v):e.__k[u]=c,l=u+v,c.__=e,c.__b=e.__b+1,s=null,-1!=(f=c.__i=function(e,t,n,r){var o,i,a,u=e.key,c=e.type,s=t[n],l=null!=s&&0==(2&s.__u);if(null===s&&null==u||l&&u==s.key&&c==s.type)return n;if(r>+!!l){for(o=n-1,i=n+1;o>=0||i<t.length;)if(null!=(s=t[a=o>=0?o--:i++])&&0==(2&s.__u)&&u==s.key&&c==s.type)return a}return -1}(c,n,l,d))&&(d--,(s=n[f])&&(s.__u|=2)),null==s||null==s.__v?(-1==f&&(a>p?v--:a<p&&v++),"function"!=typeof c.type&&(c.__u|=4)):f!=l&&(f==l-1?v--:f==l+1?v++:(f>l?v--:v++,c.__u|=4))):e.__k[u]=null;if(d)for(u=0;u<p;u++)null!=(s=n[u])&&0==(2&s.__u)&&(s.__e==o&&(o=T(s)),function e(t,n,r){var o,a;if(i.unmount&&i.unmount(t),(o=t.ref)&&(o.current&&o.current!=t.__e||Y(o,null,n)),null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){i.__e(e,n)}o.base=o.__P=o.__n=null}if(o=t.__k)for(a=0;a<o.length;a++)o[a]&&e(o[a],n,r||"function"!=typeof t.type);r||P(t.__e),t.__c=t.__=t.__e=void 0}(s,s));return o}(n,t,g,l,w),d=0;d<w;d++)null!=(y=n.__k[d])&&(v=-1!=y.__i&&g[y.__i]||_,y.__i=d,b=M(e,y,v,a,u,c,s,l,f,p),h=y.__e,y.ref&&v.ref!=y.ref&&(v.ref&&Y(v.ref,null,y),p.push(y.ref,y.__c||h,y)),null==m&&null!=h&&(m=h),4&y.__u?(l=function e(t,n,r){var o,i;if("function"==typeof t.type){for(o=t.__k,i=0;o&&i<o.length;i++)o[i]&&(o[i].__=t,n=e(o[i],n,r));return n}t.__e!=n&&(n&&t.type&&!n.parentNode&&(n=T(t)),n=r.insertBefore(t.__e,n||null));do n=n&&n.nextSibling;while(null!=n&&8==n.nodeType);return n}(y,l,e),v.__e&&(v.__e=null)):"function"==typeof y.type&&void 0!==b?l=b:h&&(l=h.nextSibling),y.__u&=-7);return n.__e=m,l}function R(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||w.test(t)?n:n+"px"}function L(e,t,n,r,o){var i,a;e:if("style"==t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||R(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||R(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])i=t!=(t=t.replace(y,"$1")),t=(a=t.toLowerCase())in e||"onFocusOut"==t||"onFocusIn"==t?a.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n[v]=r[v]:(n[v]=h,e.addEventListener(t,i?b:m,i)):e.removeEventListener(t,i?b:m,i);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function U(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t[d])t[d]=h++;else if(t[d]<n[v])return;return n(i.event?i.event(t):t)}}}function M(e,t,n,a,u,c,s,l,f,p){var d,v,y,h,m,b,g,w,k,E,x,C,D,R,U,M,F=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(f=!!(32&n.__u),c=[l=t.__e=n.__e]),(d=i.__b)&&d(t);e:if("function"==typeof F){v=s.length;try{if(k=t.props,E=F.prototype&&F.prototype.render,x=(d=F.contextType)&&a[d.__c],C=d?x?x.props.value:d.__:a,n.__c?w=(y=t.__c=n.__c).__=y.__E:(E?t.__c=y=new F(k,C):(t.__c=y=new I(k,C),y.constructor=F,y.render=z),x&&x.sub(y),y.state||(y.state={}),y.__n=a,h=y.__d=!0,y.__h=[],y._sb=[]),E&&null==y.__s&&(y.__s=y.state),E&&null!=F.getDerivedStateFromProps&&(y.__s==y.state&&(y.__s=j({},y.__s)),j(y.__s,F.getDerivedStateFromProps(k,y.__s))),m=y.props,b=y.state,y.__v=t,h)E&&null==F.getDerivedStateFromProps&&null!=y.componentWillMount&&y.componentWillMount(),E&&null!=y.componentDidMount&&y.__h.push(y.componentDidMount);else{if(E&&null==F.getDerivedStateFromProps&&k!==m&&null!=y.componentWillReceiveProps&&y.componentWillReceiveProps(k,C),t.__v==n.__v||!y.__e&&null!=y.shouldComponentUpdate&&!1===y.shouldComponentUpdate(k,y.__s,C)){t.__v!=n.__v&&(y.props=k,y.state=y.__s,y.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)}),O.push.apply(y.__h,y._sb),y._sb=[],y.__h.length&&s.push(y),l=T(n);break e}null!=y.componentWillUpdate&&y.componentWillUpdate(k,y.__s,C),E&&null!=y.componentDidUpdate&&y.__h.push(function(){y.componentDidUpdate(m,b,g)})}if(y.context=C,y.props=k,y.__P=e,y.__e=!1,D=i.__r,R=0,E)y.state=y.__s,y.__d=!1,D&&D(t),d=y.render(y.props,y.state,y.context),O.push.apply(y.__h,y._sb),y._sb=[];else do y.__d=!1,D&&D(t),d=y.render(y.props,y.state,y.context),y.state=y.__s;while(y.__d&&++R<25);y.state=y.__s,null!=y.getChildContext&&(a=j(j({},a),y.getChildContext())),E&&!h&&null!=y.getSnapshotBeforeUpdate&&(g=y.getSnapshotBeforeUpdate(m,b)),U=null!=d&&d.type===A&&null==d.key?function e(t){return"object"!=(void 0===t?"undefined":r(t))||null==t||t.__b>0?t:S(t)?t.map(e):void 0!==t.constructor?null:j({},t)}(d.props.children):d,l=N(e,S(U)?U:[U],t,n,a,u,c,s,l,f,p),y.base=t.__e,t.__u&=-161,y.__h.length&&s.push(y),w&&(y.__E=y.__=null)}catch(e){if(s.length=v,t.__v=null,f||null!=c){if(e.then){for(t.__u|=f?160:128;l&&8==l.nodeType&&l.nextSibling;)l=l.nextSibling;null!=c&&(c[c.indexOf(l)]=null),t.__e=l}else if(null!=c)for(M=c.length;M--;)P(c[M])}else t.__e=n.__e;null==t.__k&&(t.__k=n.__k||[]),e.then||function e(t){t&&(t.__c&&(t.__c.__e=!0),t.__k&&t.__k.some(e))}(t),i.__e(e,t,n)}}else null==c&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):l=t.__e=function(e,t,n,r,a,u,c,s,l){var f,p,d,v,y,h,m,b=n.props||_,g=t.props,O=t.type;if("svg"==O?a="http://www.w3.org/2000/svg":"math"==O?a="http://www.w3.org/1998/Math/MathML":a||(a="http://www.w3.org/1999/xhtml"),null!=u){for(f=0;f<u.length;f++)if((y=u[f])&&"setAttribute"in y==!!O&&(O?y.localName==O:3==y.nodeType)){e=y,u[f]=null;break}}if(null==e){if(null==O)return document.createTextNode(g);e=document.createElementNS(a,O,g.is&&g),s&&(i.__m&&i.__m(t,u),s=!1),u=null}if(null==O)b===g||s&&e.data==g||(e.data=g);else{if(u="textarea"==O&&null!=g.defaultValue?null:u&&o.call(e.childNodes),!s&&null!=u)for(b={},f=0;f<e.attributes.length;f++)b[(y=e.attributes[f]).name]=y.value;for(f in b)y=b[f],"dangerouslySetInnerHTML"==f?d=y:"children"==f||f in g||"value"==f&&"defaultValue"in g||"checked"==f&&"defaultChecked"in g||L(e,f,null,y,a);for(f in g)y=g[f],"children"==f?v=y:"dangerouslySetInnerHTML"==f?p=y:"value"==f?h=y:"checked"==f?m=y:s&&"function"!=typeof y||b[f]===y||L(e,f,y,b[f],a);if(p)s||d&&(p.__html==d.__html||p.__html==e.innerHTML)||(e.innerHTML=p.__html),t.__k=[];else if(d&&(e.innerHTML=""),N("template"==t.type?e.content:e,S(v)?v:[v],t,n,r,"foreignObject"==O?"http://www.w3.org/1999/xhtml":a,u,c,u?u[0]:n.__k&&T(n,0),s,l),null!=u)for(f=u.length;f--;)P(u[f]);s&&"textarea"!=O||(f="value","progress"==O&&null==h?e.removeAttribute("value"):null==h||h===e[f]&&("progress"!=O||h)&&("option"!=O||h==b[f])||L(e,f,h,b[f],a),f="checked",null!=m&&m!=e[f]&&L(e,f,m,b[f],a))}return e}(n.__e,t,n,a,u,c,s,f,p);return(d=i.diffed)&&d(t),128&t.__u?void 0:l}function F(e,t,n){for(var r=0;r<n.length;r++)Y(n[r],n[++r],n[++r]);i.__c&&i.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){i.__e(e,t.__v)}})}function Y(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(e){i.__e(e,n)}}function z(e,t,n){return this.constructor(e,n)}function q(e,t,n){var r,a,u,c;t==document&&(t=document.documentElement),i.__&&i.__(e,t),a=(r="function"==typeof n)?null:n&&n.__k||t.__k,u=[],c=[],M(t,e=(!r&&n||t).__k=k(A,null,[e]),a||_,_,t.namespaceURI,!r&&n?[n]:a?null:t.firstChild?o.call(t.childNodes):null,u,!r&&n?n:a?a.__e:t.firstChild,r,c),F(u,e,c),e.props.children=null}function H(e,t){q(e,t,H)}function W(e,t,n){var r,i,a,u,c=j({},e.props);for(a in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)"key"==a?r=t[a]:"ref"==a?i=t[a]:c[a]=void 0===t[a]&&null!=u?u[a]:t[a];return arguments.length>2&&(c.children=arguments.length>3?o.call(arguments,2):n),E(e.type,c,r||e.key,i||e.ref,null)}function B(e){function t(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEac
1h(function(e){e.__e=!0,C(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}return t.__c="__cC"+g++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}o=O.slice,i={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},a=0,u=function(e){return null!=e&&void 0===e.constructor},I.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=j({},this.state),"function"==typeof e&&(e=e(j({},n),this.props)),e&&j(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),C(this))},I.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),C(this))},I.prototype.render=A,c=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(e,t){return e.__v.__b-t.__v.__b},D.__r=0,d="__d"+(p=Math.random().toString(8)),v="__a"+p,y=/(PointerCapture)$|Capture$/i,h=0,m=U(!1),b=U(!0),g=0,n.d(t,{FK:()=>A,Ob:()=>W,Qv:()=>H,XX:()=>q,_3:()=>x,fF:()=>i,n:()=>k,q6:()=>B,uA:()=>I,v2:()=>function e(t,n){return n=n||[],null==t||"boolean"==typeof t||(S(t)?t.some(function(t){e(t,n)}):n.push(t)),n},zO:()=>u})},2890(e,t,n){var r,o,i,a,u=n(1340),c=0,s=[],l=u.fF,f=l.__b,p=l.__r,d=l.diffed,v=l.__c,y=l.unmount,h=l.__;function m(e,t){l.__h&&l.__h(o,e,c||t),c=0;var n=o.__H||(o.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function b(e){return c=1,g(R,e)}function g(e,t,n){var i=m(r++,2);if(i.t=e,!i.__c&&(i.__=[n?n(t):R(void 0,t),function(e){var t=i.__N?i.__N[0]:i.__[0],n=i.t(t,e);t!==n&&(i.__N=[n,i.__[1]],i.__c.setState({}))}],i.__c=o,!o.__f)){var a=function(e,t,n){if(!i.__c.__H)return!0;var r=!1,o=i.__c.props!==e;if(i.__c.__H.__.some(function(e){if(e.__N){r=!0;var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(o=!0)}}),u){var a=u.call(this,e,t,n);return r?a||o:a}return!r||o};o.__f=!0;var u=o.shouldComponentUpdate,c=o.componentWillUpdate;o.componentWillUpdate=function(e,t,n){if(this.__e){var r=u;u=void 0,a(e,t,n),u=r}c&&c.call(this,e,t,n)},o.shouldComponentUpdate=a}return i.__N||i.__}function _(e,t){var n=m(r++,3);!l.__s&&N(n.__H,t)&&(n.__=e,n.u=t,o.__H.__h.push(n))}function O(e,t){var n=m(r++,4);!l.__s&&N(n.__H,t)&&(n.__=e,n.u=t,o.__h.push(n))}function w(e){return c=5,j(function(){return{current:e}},[])}function S(e,t,n){c=6,O(function(){if("function"==typeof e){var n=e(t());return function(){e(null),n&&"function"==typeof n&&n()}}if(e)return e.current=t(),function(){return e.current=null}},null==n?n:n.concat(e))}function j(e,t){var n=m(r++,7);return N(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function P(e,t){return c=8,j(function(){return e},t)}function k(e){var t=o.context[e.__c],n=m(r++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(o)),t.props.value):e.__}function E(e,t){l.useDebugValue&&l.useDebugValue(t?t(e):e)}function x(e){var t=m(r++,10),n=b();return t.__=e,o.componentDidCatch||(o.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]}function A(){var e=m(r++,11);if(!e.__){for(var t=o.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function I(){for(var e;e=s.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(C),t.__h.some(D),t.__h=[]}catch(n){t.__h=[],l.__e(n,e.__v)}}}l.__b=function(e){o=null,f&&f(e)},l.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),h&&h(e,t)}
1,l.__r=function(e){p&&p(e),r=0;var t=(o=e.__c).__H;t&&(i===o?(t.__h=[],o.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(C),t.__h.some(D),t.__h=[],r=0)),i=o},l.diffed=function(e){d&&d(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==s.push(t)&&a===l.requestAnimationFrame||((a=l.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),T&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);T&&(t=requestAnimationFrame(n))})(I)),t.__H.__.some(function(e){e.u&&(e.__H=e.u,e.u=void 0)})),i=o=null},l.__c=function(e,t){t.some(function(e){try{e.__h.some(C),e.__h=e.__h.filter(function(e){return!e.__||D(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],l.__e(n,e.__v)}}),v&&v(e,t)},l.unmount=function(e){y&&y(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(e){try{C(e)}catch(e){t=e}}),n.__H=void 0,t&&l.__e(t,n.__v))};var T="function"==typeof requestAnimationFrame;function C(e){var t=o,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),o=t}function D(e){var t=o;e.__c=e.__(),o=t}function N(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function R(e,t){return"function"==typeof t?t(e):t}n.d(t,{Bi:()=>A,J0:()=>b,Kr:()=>j,MN:()=>E,Md:()=>x,NT:()=>k,Nf:()=>O,WO:()=>g,Yn:()=>S,hb:()=>P,li:()=>w,vJ:()=>_})},1885(e,t,n){var r=n(8122),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,u=r.useLayoutEffect,c=r.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var l="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,l=r[1];return u(function(){o.value=n,o.getSnapshot=t,s(o)&&l({inst:o})},[e,n,t]),a(function(){return s(o)&&l({inst:o}),e(function(){s(o)&&l({inst:o})})},[e]),c(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},3584(e,t,n){e.exports=n(1885)},6487(e,t,n){var r,o=n(4974),i=n(1340),a=n(6041),u=n(842),c=n(7790),s=n(3412),l=n(7754),f=n(2890);function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}let d=function(e){var t,n=e.children,r=e.className,i=e.transitionDuration,a=function(e){if(Array.isArray(e))return e}(t=(0,f.J0)("transition-wrapper--fade-out"))||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(t)||function(e){if(e){if("string"==typeof e)return p(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return p(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),u=a[0],c=a[1];return(0,f.vJ)(function(){var e=setTimeout(function(){c("transition-wrapper--fade-in")},20);return function(){return clearTimeout(e)}},[]),(0,o.Y)("div",{class:"transition-wrapper ".concat(u," ").concat(void 0===r?"":r),style:{transitionDuration:"".concat(void 0===i?550:i,"ms")},children:n})};var v=n(7216),y=n(4866),h=n(764);let m=function(e){var t=e.size,n=e.className,r=e.onClick;return(0,o.Y)(h.A,{size:t,className:n,onClick:r,viewport:"0 0 24 24",children:(0,o.Y)("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",fill:"currentColor"})})},b=function(e){var t=e.isOpen,n=e.onClose,r=e.className,i=e.children,a=e.disableBackdropClose,u=void 0!==a&&a,c=e.disableCloseButton,s=e.dialogRef,l=(0,f.li)(null),p=null!=s?s:l,d=(0,f.li)(!1),v=(0,f.li)(null),y=(0,f.li)("");(0,f.vJ)(function(){if(t){y.current=document.body.style.overflow;var e=window.scrollY;return document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.top="-".concat(e,"px"),document.body.style.width="100%",function(){document.body.style.overflow=y.current,document.body.style.position="",document.body.style.top="",document.body.style.width="",window.scrollTo(0,e)}}},[t]);var b=function(e){"Escape"!==e.key||u||n()},g=function(){!u&&d.current&&n()},_=function(e){var t=p.current.getBoundingClientRect();d.current=e.clientX<t.left||e.clientX>
1t.right||e.clientY<t.top||e.clientY>t.bottom};return(0,f.vJ)(function(){var e=p.current;if(e){if(t){try{e.showModal()}catch(t){e.setAttribute("open",""),e.classList.add("modal--open")}document.addEventListener("keydown",b),e.addEventListener("click",g),e.addEventListener("pointerdown",_)}else try{e.close()}catch(t){e.removeAttribute("open"),e.classList.remove("modal--open")}return function(){document.removeEventListener("keydown",b),e.removeEventListener("click",g),e.removeEventListener("pointerdown",_)}}},[t,n,u]),(0,o.FD)("dialog",{ref:p,className:"modal ".concat(void 0===r?"":r),children:[(0,o.Y)("span",{ref:v,tabIndex:-1,className:"modal__focus-sentinel","aria-hidden":"true"}),!(void 0!==c&&c)&&(0,o.Y)("button",{type:"button",className:"modal__close",onClick:n,"aria-label":"Luk",children:(0,o.Y)(m,{size:h.l.md})}),i]})};var g=n(2450);let _=function(e){var t=e.size,n=e.className,r=e.onClick;return(0,o.Y)(h.A,{size:t,className:n,onClick:r,viewport:"0 0 24 24",children:(0,o.Y)("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8",fill:"currentColor"})})};var O=n(6642),w=n(7215),S=n(3121),j={success:(0,o.Y)(g.A,{size:h.l.xl}),info:(0,o.Y)(_,{size:h.l.xl}),alert:(0,o.Y)(O.A,{size:h.l.xl}),default:(0,o.Y)(_,{size:h.l.xl})};let P=function(){var e=(0,f.li)(null),t=(0,f.li)(null),n=(0,f.li)(null),r=S.A.value,i=r.isOpen,a=r.title,u=r.icon,c=r.image,s=r.type,l=void 0===s?"default":s,p=r.buttonText,d=r.button,v=r.content,h=r.onConfirm,m=r.className,g=r.disclaimerText,_=r.buttonTealiumAttribute,O=r.alignContentLeft,P=r.alignTitleLeft,k=r.hideIcon,E=r.wide,x=r.disableClose,A=void 0!==x&&x,I=(0,f.hb)(function(){var e,r=t.current;if(r){var o=r.scrollHeight-r.scrollTop<=r.clientHeight+1;null==(e=n.current)||e.classList.toggle("notification-modal--at-bottom",o)}},[]);(0,f.vJ)(function(){var e=t.current;if(e&&i){var n=new ResizeObserver(I);return n.observe(e),function(){return n.disconnect()}}},[i,I]);var T=(0,f.hb)(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!e)try{S.r.hide()}catch(e){console.error("Error closing notification:",e),S.A.value={title:"",type:"default",isOpen:!1}}},[]),C=function(){return T()},D=(0,f.hb)(function(){try{h&&h(),S.r.hide()}catch(e){console.error("Error confirming notification:",e),S.r.hide()}},[h]),N="alert"===l||A,R=d||(0,o.Y)(w.A,{primary:!0,onClick:C,"data-tealium-modal-button":_||!1,children:null!=p?p:"Luk"}),L=(0,o.FD)("div",{className:"btn-row",children:[(0,o.Y)(w.A,{secondary:!0,stretch:!0,onClick:C,children:"Annuller"}),(0,o.Y)(w.A,{primary:!0,stretch:!0,onClick:D,children:null!=p?p:"OK"})]});if(!i)return null;var U=(0,y.A)("notification-modal",l,void 0!==E&&E&&"wide")+(m?" ".concat(m):""),M=(0,y.A)("notification-modal__content",void 0!==O&&O&&"align-left");return(0,o.FD)(b,{isOpen:i,onClose:function(){return T(A)},className:U,disableBackdropClose:N,disableCloseButton:A,dialogRef:n,children:[(0,o.FD)("div",{className:"notification-modal__scrollable",ref:t,onScroll:I,children:[!(void 0!==k&&k)&&void 0===c&&(0,o.Y)("div",{className:(0,y.A)("notification-modal__icon",l,void 0!==u&&"custom"),"aria-hidden":"true",children:u||j[l]}),c&&(0,o.Y)("div",{className:(0,y.A)("notification-modal__image",l),"aria-hidden":"true",children:c}),a&&(0,o.Y)("h2",{ref:e,className:"title--md ".concat((0,y.A)("notification-modal__title",void 0!==P&&P&&"align-left")),children:a}),v&&(0,o.Y)("div",{className:M,children:v})]}),(0,o.FD)("div",{className:(0,y.A)("notification-modal__actions"),children:[h?L:R,g&&(0,o.Y)("p",{className:"notification-modal__disclaimer-text",children:g})]})]})};function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}let E=function(e){var t,n=e.children,r=e.wide,i=(function(e){if(Array.isArray(e))return e}(t=(0,v.zy)())||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),1!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(t)||function(e){if(e){if("string"==typeof e)return k(e,1);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return k(e,1)}}
1(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];return(0,o.FD)("div",{className:(0,y.A)("subscriptions-layout",void 0!==r&&r&&"wide"),children:[(0,o.Y)(P,{}),(0,o.Y)("div",{className:"subscriptions-layout__content",children:n},i)]})};var x=n(8122),A=n(5501),I={success:(0,o.Y)(g.A,{size:h.l.xl}),info:(0,o.Y)(_,{size:h.l.xl}),alert:(0,o.Y)(O.A,{size:h.l.xl}),warning:(0,o.Y)(O.A,{size:h.l.xl})};let T=function(){var e=A.A.value,t=e.isOpen,n=e.message,r=e.icon,i=e.autoHideDuration,a=e.spinIcon,u=e.type,c=void 0===u?"info":u,s=(0,f.hb)(function(){A.h.hide()},[]);return(0,f.vJ)(function(){if(t&&i){var e=setTimeout(function(){s()},i);return function(){return clearTimeout(e)}}},[t,i,s]),(0,o.FD)("div",{className:(0,y.A)("toast",c&&c,!!t&&"visible"),children:[(0,o.Y)("span",{className:(0,y.A)("toast__icon",c,!!a&&"spin"),"aria-hidden":"true",children:r||I[c]}),(0,o.Y)("span",{className:"toast__message",children:n}),(0,o.Y)("button",{type:"button",className:"toast__close",onClick:s,children:(0,o.Y)(m,{size:h.l.md})})]})};var C=n(837),D=n(6689),N=n(2942),R=n(2498);let L=function(){return(0,o.Y)("div",{className:R.A.peek().zephrCssSelector})};function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function M(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){n(e);return}u.done?t(c):Promise.resolve(c).then(r,o)}function F(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,u=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(u)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return U(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return U(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Y=(0,x.lazy)(function(){return Promise.all([n.e(209),n.e(80),n.e(490),n.e(474),n.e(862)]).then(n.bind(n,3541))}),z=(0,x.lazy)(function(){return Promise.all([n.e(699),n.e(209),n.e(490),n.e(361)]).then(n.bind(n,2624))}),q=(0,x.lazy)(function(){return Promise.all([n.e(209),n.e(320)]).then(n.bind(n,2731))}),H=(0,x.lazy)(function(){return Promise.all([n.e(209),n.e(173)]).then(n.bind(n,2308))}),W=(0,x.lazy)(function(){return Promise.all([n.e(209),n.e(748)]).then(n.bind(n,271))});let B=function(){var e=F((0,v.zy)(),1)[0],t=F((0,v.ok)(),1)[0],r=(0,v.g)(),a=r.paymentPlanId,u=r.campaignId;return(0,f.vJ)(function(){var e,r=null!=(e=t.get("returnUrl"))?e:t.get("return_url")||void 0;D.o("purchase_flow",{campaignId:u,paymentPlanId:a,returnUrl:r}),n.e(280).then(n.bind(n,7747)).then(function(e){var t,n=e.runZephrHtmlFeatureRules;return(t=function(){return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(a,"next",{value:c(0)}),u(a,"throw",{value:c(1)}),u(a,"return",{value:c(2)}),"function"==typeof Symbol&&u(a,Symbol.iterator,{value:function(){return this}}),a;function c(u){return function(c){var s=[u,c];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(e){switch(e.label){case 0:return[4,n()];case 1:return e.sent(),[2]}})},function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){M(i,r,o,a,u,"next",e)}function u(e){M(i,r,o,a,u,"throw",e)}a(void 0)})})()}).catch(function(e){N.v4(function(t){var n;t.setTag("flow","purchase"),t.setTag("feature","zephr_bootstrap"),D.Cp((null!=(n=Error)&&"u">typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](e):e instanceof n)?e:Error(String(e)))})})},[]),(0,f.vJ)(function(){return l.default.value=new AbortController,window.scrollTo({top:0,left:0,behavior:"auto"}),function(){return l.default.value.abort()}},[e]),(0,o.FD)(i.FK,{children:[(0,o.Y)(L,{}),(0,o.Y)(d,{children:(0,o.Y)(E,{wide:!0,children:(0,o.Y)(x.Suspense,{fallback:(0,o.Y)("div",{}),children:(0,o.FD)(v.dO,{children:[(0,o.Y)(v.qh,{path:C.A.PurchaseFlow.pattern,component:Y}),(0,o.Y)(v.qh,{path:C.A.PaywallProduct.pattern,component:Y}),(0,o.Y)(v.qh,{path:C.A.PaywallCampaign.pattern,component:Y}),(0,o.Y)(v.qh,{path:C.A.Campaign.pattern,component:Y}),(0,o.Y)(v.qh,{path:C.A.CampaignProduct.pattern,component:Y}),(0,o.Y)(v.qh,{path:C.A.OrderFinalization.pattern,component:z}),(0,o.Y)(v.qh,{path:C.A.AidPlusFriOnboardingPage.pattern,component:W}),(0,o.Y)(v.qh,{path:C.A.AidOnboardingPage.pattern,component:H}),(0,o.Y)(v.qh,{path:C.A.Receipt.pattern,component:q})]})})})},e),(0,o.Y)(T,{})]})};var J=n(4858);function $(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){n(e);return}u.done?t(c):Promise.resolve(c).then(r,o)}(r=function(){var e,t,n,r,l,f,p,d,v,y,h,m,b,g,_;return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(a,"next",{value:c(0)}),u(a,"throw",{value:c(1)}),u(a,"return",{value:c(2)}),"function"==typeof Symbol&&u(a,Symbol.iterator,{value:function(){return this}}),a;function c(u){return function(c){var s=[u,c];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(O){return(e=document.getElementById("purchase-flow-app"))&&((n=(t=e.dataset).appBasePath,r=t.publication,l=t.apiUrls,f=t.assetsPath,p=t.ssoExternalRedirectUrl,d=t.shareLoginStatusUrl,v=t.appDownloadLinks,y=t.zephrCssSelector,h=t.customerServicePhoneNumber,m=t.siteName,b=t.resetPasswordUrl,g=t.sentryDsnUrl,_=t.campaignRules,g&&J.A.init(g),n&&r&&l&&f&&p&&d&&v&&y&&h&&m&&b&&_)?(a.A.value=n,s.A.value=f,u.A.value=JSON.parse(l),c.A.value=JSON.parse(r),R.A.value={ssoExternalRedirectUrl:p,shareLoginStatusUrl:d,appDownloadLinks:JSON.parse(v),customerServicePhoneNumber:h,zephrCssSelector:y,siteName:m,resetPasswordUrl:b,campaignRules:JSON.parse(null!=_?_:"[]")},(0,i.XX)((0,o.Y)(B,{}),e)):J.A.captureError(Error("Missing required data attributes for Purchase Flow App initialization"),"purchase_flow_init",e.dataset)),[2]})},function(){var e=this,t=arguments;return new Promise(function(n,o){var i=r.apply(e,t);function a(e){$(i,n,o,a,u,"next",e)}function u(e){$(i,n,o,a,u,"throw",e)}a(void 0)})})()},499(e,t,n){n.d(t,{A:()=>m});var r=n(2942),o=n(6689),i="jfm_aid_test";let a={setCookie:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:365,r=new Date;r.setTime(r.getTime()+24*n*36e5),document.cookie="".concat(e,"=").concat(t,";expires=").concat(r.toUTCString(),";path=/;SameSite=Lax")},getCookie:function(e){var t=document.cookie.split(";").map(function(e){return e.trim()}).find(function(t){return t.startsWith("".concat(e,"="))});return t?t.substring(e.length+1):null},deleteCookie:function(e){document.cookie="".concat(e,"=;expires=Thu, 01 Jan 1970 00:00:00 UTC;path=/;")}
1,isAidEnabled:function(){return!this.isTestModeEnabled()||"true"===this.getCookie(i)},setAidTestMode:function(e){try{e?this.setCookie(i,"true"):this.deleteCookie(i)}catch(e){console.warn("Failed to set aID test mode in cookie",e)}},isTestModeEnabled:function(){return null!==document.querySelector('[data-aid="test"]')},initializeAidTestMode:function(){if(this.isTestModeEnabled()){var e=new URLSearchParams(window.location.search).get("aid");"true"===e?this.setAidTestMode(!0):"false"===e&&this.setAidTestMode(!1)}}};var u=n(8444);function c(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){n(e);return}u.done?t(c):Promise.resolve(c).then(r,o)}function s(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){c(i,r,o,a,u,"next",e)}function u(e){c(i,r,o,a,u,"throw",e)}a(void 0)})}}function l(e,t){return null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function f(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(a,"next",{value:c(0)}),u(a,"throw",{value:c(1)}),u(a,"return",{value:c(2)}),"function"==typeof Symbol&&u(a,Symbol.iterator,{value:function(){return this}}),a;function c(u){return function(c){var s=[u,c];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}var p=function(){try{return(0,u.A)()}catch(e){return!1}},d={uuid:"",name:null,access:[],loggedIn:!1,trackingKey:""},v=null,y=function(e,t){return{uuid:(null==t?void 0:t.uuid)||null,name:(null==t?void 0:t.name)||null,access:(null==t?void 0:t.access)||[],loggedIn:"boolean"==typeof(null==e?void 0:e.isLoggedIn)&&(null==e?void 0:e.isLoggedIn),trackingKey:(null==t?void 0:t.trackingKey)||null}},h={getModule:function(){return s(function(){var e;return f(this,function(t){switch(t.label){case 0:if(v)return[2,v];v=new Promise(function(e,t){var i=setTimeout(function(){var e=Error("aID module load timed out");r.v4(function(t){t.setLevel("error"),t.setTag("feature","aid_module_load"),t.setExtra("url",window.location.href),o.Cp(e)}),t(e)},6e3);n.e(532).then(n.bind(n,3631)).then(e).catch(t).finally(function(){return clearTimeout(i)})}),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,v];case 2:return[2,t.sent()];case 3:throw e=t.sent(),v=null,e;case 4:return[2]}})})()},initBfcacheReloadHandler:function(){window.addEventListener("pageshow",function(e){e.persisted&&window.location.reload()})},isEnabled:function(){return!!document.querySelector("[data-aid]")&&a.isAidEnabled()},getLoggedInAidUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5;return s(function(){var t,n,r,o,i,a;return f(this,function(u){switch(u.label){case 0:if(p())return[2,d];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,h.getModule()];case 2:return t=u.sent(),[3,4];case 3:return u.sent(),[2,d];case 4:n=t.UserDataRequest,r=t.FetchTimeoutError,o={},u.label=5;case 5:return u.trys.push([5,7,,8]),[4,new n().withAttributes(["uuid","name","access","trackingKey"]).fetch({timeout:1e3*e})];case 6:return o=u.sent(),[3,8];case 7:if(l(i=u.sent(),Error)&&i.message.includes("aID is not responding"))console.warn("aID: Not setup for this domain");else if(l(i,r))return console.warn("aID: User data request timed out. Partial data fetched"),[2,y(null==(a=i.partialData)?void 0:a.state,null==a?void 0:a.attributes)];return[2,d];case 8:return[2,y(o.state,null==o?void 0:o.attributes)]}})})()},logout:function(){return s(function(){var e;return f(this,function(t){switch(t.label){case 0:if(p())return[2];return[4,h.getModule()];case 1:e=t.sent().logout,t.label=2;case 2:return t.trys.push([2,4,,5]),[4,e()];case 3:return t.sent(),[3,5];case 4:return console.warn("aID: Logging out failed",t.sent()),[3,5];case 5:return[2]}})})()},goToLoginPage:function(e,t){return s(function(){return f(this,function(n){switch(n.label){case 0:if(p())return[2];return[4,h.getModule()];case 1:return(0,n.sent().goToLoginPage)({requestedUrl:e,context:t}),[2]}})})()},contextLabels:{selfService:"jfm-self-service",plusFriSalesPage:"jfm-plus-fri",plusFriUpgradePage:"jfm-plus-fri-upgrade-page",plusFriPurchaseFlow:"jfm-plus-fri-purchase-flow"},goToProfilePage:function(){var e=new URL("https://www.aid.no/aid/profil");e.searchParams.append("requested_url",window.location.href),window.open(e.toString())}};let m=h},5068(e,t,n){n.d(t,{A:()=>i});var r={entries:[],log:function(e){var t,n,o=e;(void 0===o?"undefined":(t=o)&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)=="object"&&(o=JSON.stringify(o,void 0,2)),r.entries.push(o);var i=document.createElement("li");i.classList.add("js-logger__item"),i.innerHTML=o,null==(n=document.querySelector("[data-log-list] ul"))||n.append(i)}},o="blaize_jwt";let i={parseJwt:function(e){var t,n=e.split(".");if(3!==n.length)throw Error("[AuthToken:parseJwt] Invalid JWT format: expected 3 parts (header.payload.signature)");var r=n[1];try{var o=atob(r);t=JSON.parse(o)}catch(e){var i,a=(null!=(i=Error)&&"u">typeof Symbol&&i[Symbol.hasInstance]?!!i[Symbol.hasInstance](e):e instanceof i)?e.message:String(e);throw Error("[AuthToken:parseJwt] Failed to decode JWT payload: ".concat(a))}if(!t.sub||"string"!=typeof t.sub)throw Error('[AuthToken:parseJwt] Missing or invalid "sub" claim');if("string"!=typeof t.user_session)throw Error('[AuthToken:parseJwt] Missing or invalid "user_session" claim');if(!Array.isArray(t.entitlements))throw Error('[AuthToken:parseJwt] Missing or invalid "entitlements" claim (must be an array)');if("aid"!==t.user_type&&"zephr"!==t.user_type)throw Error('[AuthToken:parseJwt] Invalid "user_type" claim (must be "aid" or "zephr")');return{sub:t.sub,userSession:t.user_session,entitlements:t.entitlements,userType:t.user_type}},getJwtPayload:function(){var e=document.cookie.split("; ").find(function(e){return e.startsWith("".concat(o,"="))});if(!e)return r.log("[AuthToken] No ".concat(o," cookie found")),null;var t=e.split("=")[1];if(!t)return r.log("[AuthToken] No ".concat(o," cookie value found")),null;try{return this.parseJwt(t)}catch(e){console.error("Failed to parse JWT:",e)}return null},isLoggedIn:function(){return null!==this.getJwtPayload()},getUserType:function(){var e,t=this.getJwtPayload(),n=null!=(e=null==t?void 0:t.userType)?e:null;return n||r.log("[AuthToken] Unable to determine user type: no JWT payload found"),n}}}
1,157(e,t,n){var r=n(3689),o=n(2942),i=n(6689),a=function(e,t,n,u,c){var s=sessionStorage.getItem(r.ZN);if(s&&(!0===window.loginFinished||!0===c)){var l=JSON.parse(s);e({id:l.id||"",loggedIn:l.loggedIn||!1,hashedEmail:l.hashedEmail||"",epaperAccess:l.epaperAccess||!1,aidTrackingKey:l.aidTrackingKey||"",aidId:l.aidId||"",isUserMigrated:l.isUserMigrated||!1})}else Date.now()-n>=2e4?(o.v4(function(e){e.setLevel("warning"),e.setTag("feature","get_logged_in_user"),e.setExtra("timeoutMs",2e4),e.setExtra("hasLoginState",!!s),e.setExtra("loginFinished",!0===window.loginFinished),e.setExtra("url",window.location.href),i.Cp(Error("getLoggedInUser: Timeout".concat(u?": ".concat(u):"")))}),t(Error("getLoggedInUser: Timeout"))):setTimeout(function(){return a(e,t,n,u,c)},100)};n.d(t,{},{A:function(e,t){return new Promise(function(n,r){a(n,r,Date.now(),e,t)})}})},3689(e,t,n){var r=n(499),o=n(5068),i=n(2942),a=n(6689);function u(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){n(e);return}u.done?t(c):Promise.resolve(c).then(r,o)}function c(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,c,"next",e)}function c(e){u(i,r,o,a,c,"throw",e)}a(void 0)})}}function s(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(a,"next",{value:c(0)}),u(a,"throw",{value:c(1)}),u(a,"return",{value:c(2)}),"function"==typeof Symbol&&u(a,Symbol.iterator,{value:function(){return this}}),a;function c(u){return function(c){var s=[u,c];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}var l="LOGIN_STATE",f=function(e){sessionStorage.setItem(l,JSON.stringify(e))},p=function(){var e=sessionStorage.getItem(l);return e?JSON.parse(e):null},d=function(e){document.dispatchEvent(new CustomEvent("LOGIN_FINISHED",{detail:e})),window.loginFinished=!0;var t=e.loggedIn,n=e.aidId,r=e.epaperAccess,i=o.A.isLoggedIn();if(t||n||i){var a=document.documentElement.classList;a.add("is-logged-in"),r&&a.add("has-epaper-access")}},v=function(){return c(function(){var e,t,n,o;return s(this,function(u){switch(u.label){case 0:return e=36e5,[4,r.A.getLoggedInAidUser()];case 1:return n=(t=u.sent()).trackingKey||"",o=t.uuid||"",[2,new Promise(function(t){fetch("".concat(window.isUserLoggedInEndpoint,"?aidId=").concat(o),{credentials:"same-origin",headers:new Headers({Accept:"application/json"})}).then(function(e){return e.json()}).then(function(r){return c(function(){var i,a,u,c,l;return s(this,function(s){return i=r.id||"",a=r.is_logged_in||!1,u=r.hashed_email||"",c=r.epaper_access||!1,l=r.is_user_migrated||!1,f({id:i,loggedIn:a,expires:new Date().getTime()+e,hashedEmail:u,epaperAccess:c,aidTrackingKey:n,aidId:o,isUserMigrated:l}),t({id:i,loggedIn:a,hashedEmail:u,epaperAccess:c,aidTrackingKey:n,aidId:o,isUserMigrated:l}),[2]})})()}).catch(function(e){i.v4(function(t){t.setLevel("warning"),t.setTag("feature","set_login_state"),t.setExtra("error",e),t.setExtra("url",window.location.href),a.wd("setLoginState failed")});var n=p();t({id:(null==n?void 0:n.id)||"",loggedIn:(null==n?void 0:n.loggedIn)||!1,hashedEmail:(null==n?void 0:n.hashedEmail)||"",epaperAccess:(null==n?void 0:n.epaperAccess)||!1,aidTrackingKey:(null==n?void 0:n.aidTrackingKey)||"",aidId:(null==n?void 0:n.aidId)||"",isUserMigrated:(null==n?void 0:n.isUserMigrated)||!1})})})]}})})().then(function(e){d(e)})};n.d(t,{ZN:()=>l,rw:()=>v})},4858(e,t,n){var r=n(2942),o=n(6689),i=n(4137),a=n(8396),u=n(157);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){return null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function f(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
1)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var p=!1,d=/\/utag\/jysk-fynske-medier\/news\/prod\/utag(?:\.js)?/i,v=/^https:\/\/i\.clarity\.ms\/collect(?:$|[/?#])/i,y=["failed to fetch","load failed","networkerror","network request failed"],h=function(e){if(!s(e,Error))return"unknown";if("AbortError"===e.name)return"abort";var t=e.message.toLowerCase();return s(e,TypeError)&&y.some(function(e){return t.includes(e)})?navigator.onLine?"network":"offline":"unknown"},m=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};r.v4(function(r){r.setLevel(n),r.setTag("flow","purchase"),r.setTag("feature",t),s(e,Error)&&("status"in e||"url"in e)&&(r.setExtra("statusCode",e.status),r.setExtra("url",e.url)),Object.entries(i).forEach(function(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(e)||function(e){if(e){if("string"==typeof e)return c(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return c(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=t[0],o=t[1];r.setExtra(n,o)}),o.Cp(e)})};n.d(t,{},{A:{init:function(e){p||r.KU()||(p=!0,i.Ts({dsn:e,debug:!0,denyUrls:[d,v],beforeSend:function(e,t){var n,r,o,i,a,u,c,p,v=null==(a=e.exception)||null==(i=a.values)?void 0:i.some(function(e){var t,n;return null==(n=e.stacktrace)||null==(t=n.frames)?void 0:t.some(function(e){var t,n=null!=(t=e.filename)?t:"";return d.test(n)})}),y=(null!=(n=null==(p=e.exception)||null==(c=p.values)||null==(u=c[0])?void 0:u.value)?n:"").includes("Error invoking postMessage: Java object is gone");if(v||y)return null;var m=h(t.originalException);return f(l({},e),{tags:f(l({},null!=(r=e.tags)?r:{}),{requestFailureKind:m}),extra:f(l({},null!=(o=e.extra)?o:{}),{isOnlineAtError:navigator.onLine,originalErrorName:s(t.originalException,Error)?t.originalException.name:void 0})})}}),o.NA("site",document.location.hostname),(0,u.A)("PurchaseFlow: Sentry init",!0).then(function(e){var t=e.id||e.aidId;t&&o.gV({id:t})}))},captureError:function(e,t,n){m(e,t,"error",n)},captureWarning:function(e,t,n){m(e,t,"warning",n)},addInfoBreadcrumb:function(e,t){console.warn("[Sentry]: ".concat(e),t),a.Z({category:"app",level:"info",message:e,data:t})},addNavigationBreadcrumb:function(e){a.Z({type:"navigation",category:"navigation",data:{to:e,from:document.location.href},level:"info",message:"Navigated to new page"})},setUserId:function(e){o.gV({id:e})}}})},837(e,t,n){var r=n(4008),o={pattern:":base",pageTitle:"Gennemf\xf8r dit k\xf8b",parentRoute:void 0,getPath:function(){return(0,r.A)(o.pattern)}},i={pattern:":base/paywall/:paymentPlanId",pageTitle:"Gennemf\xf8r dit k\xf8b",parentRoute:void 0,getPath:function(){return(0,r.A)(i.pattern)}},a={pattern:":base/campaign/:campaignId",pageTitle:"Gennemf\xf8r dit k\xf8b",parentRoute:void 0,getPath:function(){return(0,r.A)(a.pattern)}},u={pattern:":base/campaign/rate/:paymentPlanId",pageTitle:"Gennemf\xf8r dit k\xf8b",parentRoute:void 0,getPath:function(){return(0,r.A)(u.pattern)}},c={pattern:":base/behandling",pageTitle:"Vi klarg\xf8r dit abonnement",parentRoute:void 0,getPath:function(){return(0,r.A)(c.pattern)}},s={pattern:":base/kvittering",pageTitle:"Tak for dit k\xf8b!",parentRoute:void 0,getPath:function(){return(0,r.A)(s.pattern)}},l={pattern:":base/aid-fri-onboarding",pageTitle:"Opret dit aID",parentRoute:void 0,getPath:function(){return(0,r.A)(l.pattern)}},f={pattern:":base/aid-onboarding",pageTitle:"Opret dit aID",parentRoute:void 0,getPath:function(){return(0,r.A)(f.pattern)}},p={pattern:"/fri",pageTitle:"",parentRoute:void 0,getPath:function(){return(0,r.A)(p.pattern)}};n.d(t,{},{A:{PurchaseFlow:o,PaywallProduct:i,PaywallCampaign:{pattern:":base/paywall/campaign/:campaignId",pageTitle:"Gennemf\xf8r dit k\xf8b",parentRoute:void 0,getPath:function(){return(0,r.A)(i.pattern)}},Campaign:a,CampaignProduct:u,OrderFinalization:c,Receipt:s,AidOnboardingPage:f,AidPlusFriOnboardingPage:l,AidSalesPage:p}})},2498(e,t,n){var r=(0,n(1762).vP)({ssoExternalRedirectUrl:"",shareLoginStatusUrl:"",appDownloadLinks:void 0,zephrCssSelector:"",customerServicePhoneNumber:void 0,siteName:"",resetPasswordUrl:"",campaignRules:[]});n.d(t,{},{A:r})},4008(e,t,n){var r=n(6041);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var i=function(e,t,n){var r=":".concat(t);if(e.includes(r)){if(!n)throw Error('Missing ":'.concat(t,'" param for path "').concat(e,'"'));return e.replace(r,n)}return e};n.d(t,{},{A:function(e,t){var n,a=null!=(n=null==t?void 0:t.base)?n:r.A.peek(),u=e.replace(":base",a);
1return Object.entries(t||[]).forEach(function(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(e)||function(e){if(e){if("string"==typeof e)return o(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return o(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=t[0],r=t[1];u=i(u,n,r)}),u}})},7754(e,t,n){var r=(0,n(1762).vP)(new AbortController);n.d(t,{},{default:r})},842(e,t,n){var r=(0,n(1762).vP)({user:"",users:"",subscriptions:"",subscription:"",deliveryChange:"",deliveryChanges:"",deliveryDelays:"",addresses:"",changePassword:"",invoices:"",payInvoice:"",addressLookup:"",cancellationReasons:"",cancelSubscription:"",complaintTypes:"",complaints:"",changeEmail:"",billingDetails:"",paymentMethod:"",invoiceDownload:"",subscribeFromCancellationFlow:"",subscribeFromPurchaseFlow:"",sendRetentionEmail:"",product:"",paymentPlan:"",productAlternatives:"",orderSession:"",subscribeToNewsletter:"",sendOrderConfirmation:"",sendSubscriptionCreationFailedEmail:"",sendWithdrawalRequest:"",createOrderLog:"",createOrderLogEvent:"",order:"",campaign:"",verifyCampaign:"",campaignRule:""}),o=function(e,t,n){var o,i=null==(o=r.peek())?void 0:o[e];if(i||console.log("%cWrong domain%c %s","background:#3a99cc;color:#fff;padding:2px 6px;border-radius:4px;font-weight:bold;","color:#1e90ff;font-weight:bold;","".concat(e," !"),{path:e}),t&&Object.keys(t).forEach(function(e){var n=RegExp(":".concat(e),"g");i=decodeURIComponent(i).replace(n,t[e])}),n){var a=new URLSearchParams(n).toString();a&&(i+=(i.includes("?")?"&":"?")+a)}return i},i={authenticateUser:function(){return o("authentication")},logoutUser:function(){return o("logout")},checkEmail:function(){return o("checkEmail")},createUser:function(){return o("users")},getUserProfile:function(e){return o("user",{userId:e})},getUserSubscriptions:function(e){return o("subscriptions",{userId:e})},cancelSubscription:function(e,t){return o("cancelSubscription",{userId:e,subscriptionId:t})},subscribeFromCancellationFlow:function(){return o("subscribeFromCancellationFlow")},subscribeFromPurchaseFlow:function(){return o("subscribeFromPurchaseFlow")},listDeliveryChanges:function(e,t,n){return o("deliveryChanges",{userId:e,subscriptionId:t,publicationId:n})},createDeliveryChange:function(e,t){return o("deliveryChange",{userId:e,subscriptionId:t,deliveryChangeId:""})},editDeliveryChange:function(e,t,n){return o("deliveryChange",{userId:e,subscriptionId:t,deliveryChangeId:n})},deleteDeliveryChange:function(e,t,n){return o("deliveryChange",{userId:e,subscriptionId:t,deliveryChangeId:n})},listDeliveryDelays:function(e,t,n,r,i){return o("deliveryDelays",{userId:e,subscriptionId:t,publicationId:n,startDate:r,endDate:i})},listAddresses:function(e){return o("addresses",{userId:e})},createAddress:function(e){return o("addresses",{userId:e})},changePassword:function(e){return o("changePassword",{userId:e})},changeEmail:function(e){return o("changeEmail",{userId:e})},listInvoices:function(e,t){return o("invoices",{userId:e,subscriptionId:t})},payInvoice:function(e,t,n){return o("payInvoice",{userId:e,subscriptionId:t,invoiceId:n})},listAddressLookup:function(){return o("addressLookup")},listCancellationReasons:function(e){return o("cancellationReasons",{userId:e})},listComplaintTypes:function(e,t,n){return o("complaintTypes",{userId:e,subscriptionId:t,date:n})},addComplaint:function(e,t){return o("complaints",{userId:e,subscriptionId:t})},invoiceDownload:function(e,t,n){return o("invoiceDownload",{userId:e,subscriptionId:t,invoiceId:n})},asset:function(e){return r.peek().assets.replace(":path",e)},getDefaultImage:function(){return r.peek().defaultImg},getBillingDetails:function(e,t){return o("billingDetails",{userId:e,subscriptionId:t})},paymentMethod:function(e,t){return o("paymentMethod",{userId:e,subscriptionId:t})}
1,sendRetentionEmail:function(){return o("sendRetentionEmail")},updateSubscription:function(e,t){return o("subscription",{userId:e,subscriptionId:t})},createSubscription:function(e){return o("subscriptions",{userId:e})},getProduct:function(e){return o("product",{productId:e})},getPaymentPlan:function(e,t){return o("paymentPlan",{productId:e,paymentPlanId:t})},getProductAlternatives:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t?o("productAlternatives",{productId:e,type:t}):o("productAlternatives",{productId:e,type:""}).replace("?type=","")},listProducts:function(e,t,n,r){return o("products",{publicationId:e},function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({segment:t,withCampaigns:n?"true":"false"},r?{userId:r}:{}))},getOrderSession:function(e){return o("orderSession",{userId:e})},createOrder:function(e){return o("orders",{userId:e})},getCampaign:function(e,t){return o("campaign",{campaignId:e,publicationId:t})},verifyCampaign:function(e){return o("verifyCampaign",{campaignId:e})},getCampaignRule:function(e){return o("campaignRule",{campaignId:e})},subscribeToNewsletter:function(){return o("subscribeToNewsletter")},sendOrderConfirmation:function(){return o("sendOrderConfirmation")},sendSubscriptionCreationFailedEmail:function(){return o("sendSubscriptionCreationFailedEmail")},sendWithdrawalRequest:function(){return o("sendWithdrawalRequest")},createOrderLog:function(){return o("createOrderLog")},createOrderLogEvent:function(e){return o("createOrderLogEvent",{orderLogUuid:e})}};n.d(t,{J:()=>i},{A:r})},6041(e,t,n){var r=(0,n(1762).vP)("");n.d(t,{},{A:r})},3412(e,t,n){var r=(0,n(1762).vP)(""),o=function(e){return r.peek().replace(":path",e)};n.d(t,{O:()=>o},{A:r})},7790(e,t,n){var r=(0,n(1762).vP)(null);n.d(t,{},{A:r})},8444(e,t,n){var r="kodus.layout.app";n.d(t,{},{A:function(){if(Object.keys(window.parent.pugpigBridgeService||{}).length>0)return!0;var e,t=new URLSearchParams(window.location.search).get("from_app"),n=localStorage.getItem(r);if("false"===t)return localStorage.removeItem(r),!1;var o=["true","on","1","yes"].includes(null!=(e=null!=t?t:n)?e:"");return null!==t&&o&&localStorage.setItem(r,"true"),o}})},7215(e,t,n){var r=n(4974),o=n(4866);n.d(t,{},{A:function(e){var t,n,i=e.children,a=e.primary,u=e.secondary,c=e.outline,s=e.slim,l=e.stretch,f=e.alert,p=e.link,d=e.className,v=function(e,t){if(null==e)return{};var n,r,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(n=Reflect.ownKeys(Object(e)),o=0;o<n.length;o++)r=n[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r]);return i}if(i=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,t),Object.getOwnPropertySymbols)for(n=Object.getOwnPropertySymbols(e),o=0;o<n.length;o++)r=n[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r]);return i}(e,["children","primary","secondary","outline","slim","stretch","alert","link","className"]);return(0,r.Y)("button",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({type:"button",className:"".concat(d?"".concat(d," "):"").concat((0,o.A)("btn",void 0!==a&&a&&"primary",void 0!==u&&u&&"secondary",void 0!==c&&c&&"outline",void 0!==s&&s&&"slim",void 0!==l&&l&&"stretch",void 0!==f&&f&&"alert",void 0!==p&&p&&"link"))},v),n=n={children:i},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
1)(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))}})},4866(e,t,n){n.d(t,{},{A:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"".concat(e," ").concat(n.filter(Boolean).map(function(t){return"".concat(e,"--").concat(t)}).join(" "))}})},2450(e,t,n){var r=n(4974),o=n(764);n.d(t,{},{A:function(e){var t=e.size,n=e.className,i=e.onClick;return(0,r.Y)(o.A,{size:t,className:n,onClick:i,fill:"none",viewport:"0 0 24 24",children:(0,r.Y)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",fill:"currentColor"})})}})},6642(e,t,n){var r=n(4974),o=n(764);n.d(t,{},{A:function(e){var t=e.size,n=e.className;return(0,r.Y)(o.A,{size:t,className:n,viewport:"0 0 24 24",fill:"none",children:(0,r.Y)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8",fill:"currentColor"})})}})},764(e,t,n){var r,o,i=n(4974);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=((r={}).xxl="xxlarge",r.xl="xlarge",r.lg="large",r.md="medium",r.sm="small",r.xs="xsmall",r.xxs="xxsmall",r),c=(a(o={},"xxsmall",10),a(o,"xsmall",16),a(o,"small",20),a(o,"medium",24),a(o,"large",28),a(o,"xlarge",32),a(o,"xxlarge",36),o);n.d(t,{l:()=>u},{A:function(e){var t=e.size,n=void 0===t?"medium":t,r=e.className,o=e.children,a=e.viewport,u=e.fill,s=e.onClick;return(0,i.Y)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:a,height:c[n],width:c[n],style:"min-width: ".concat(c[n],"px"),className:"icon--".concat(n).concat(r?" ".concat(r):""),fill:u||"currentColor",onClick:s,children:o})}})},3121(e,t,n){var r=n(1762);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var a={title:"",type:"default",isOpen:!1},u=(0,r.vP)(a),c={show:function(e){u.value={title:e.title,content:e.content,type:(null==e?void 0:e.type)||"default",isOpen:!0,buttonText:e.buttonText,onClose:e.onClose,icon:e.icon,image:e.image,button:e.button,onConfirm:e.onConfirm,alignContentLeft:e.alignContentLeft,alignTitleLeft:e.alignTitleLeft,hideIcon:e.hideIcon||!1,className:e.className,disableClose:e.disableClose||!1,wide:e.wide||!1,disclaimerText:e.disclaimerText,disableStickyActions:e.disableStickyActions||!1,buttonTealiumAttribute:e.buttonTealiumAttribute}},success:function(e,t){return c.show(i(o({},t),{title:e,type:"success"}))},alert:function(e,t){return c.show(i(o({},t),{title:e,type:"alert"}))},info:function(e,t){return c.show(i(o({},t),{title:e,type:"info"}))},confirm:function(e,t,n){return c.show(i(o({},n),{onConfirm:t,title:e,type:"default"}))},hide:function(){var e,t;null==(e=(t=u.value).onClose)||e.call(t),u.value=a}};n.d(t,{r:()=>c},{A:u})},5501(e,t,n){function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
1)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var i=(0,n(1762).vP)({message:"",isOpen:!1}),a={show:function(e){i.value={message:e.message,isOpen:!0,icon:e.icon,type:e.type,autoHideDuration:e.autoHideDuration,spinIcon:e.spinIcon}},success:function(e,t){return a.show(o(r({},t),{message:e,type:"success"}))},alert:function(e,t){return a.show(o(r({},t),{message:e,type:"alert"}))},warning:function(e,t){return a.show(o(r({},t),{message:e,type:"warning"}))},info:function(e,t){return a.show(o(r({},t),{message:e,type:"info"}))},hide:function(){i.value=o(r({},i.value),{isOpen:!1})}};n.d(t,{h:()=>a},{A:i})},4137(e,t,n){n.d(t,{Ts:()=>nC});var r,o,i,a,u,c=n(3544),s=n(3328);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function f(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return l(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return l(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var p=[];function d(e,t){var n=!0,r=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var u=i.value;(null==u?void 0:u.afterAllSetup)&&u.afterAllSetup(e)}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}}function v(e,t,n){if(n[t.name]){c.T&&s.Yz.log("Integration skipped because it was already installed: ".concat(t.name));return}if(n[t.name]=t,p.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),p.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){var r=t.preprocessEvent.bind(t);e.on("preprocessEvent",function(t,n){return r(t,n,e)})}if("function"==typeof t.processEvent){var o=t.processEvent.bind(t),i=Object.assign(function(t,n){return o(t,n,e)},{id:t.name});e.addEventProcessor(i)}["processSpan","processSegmentSpan"].forEach(function(n){var r=t[n];"function"==typeof r&&e.on(n,function(n){return r.call(t,n,e)})}),c.T&&s.Yz.log("Integration installed: ".concat(t.name))}function y(e){var t=[];e.message&&t.push(e.message);try{var n=e.exception.values[e.exception.values.length-1];(null==n?void 0:n.value)&&(t.push(n.value),n.type&&t.push("".concat(n.type,": ").concat(n.value)))}catch(e){}return t}var h=n(54),m=n(2539);function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function g(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return b(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return b(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var _=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],O=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{name:"EventFilters",setup:function(n){e=S(t,n.getOptions())},processEvent:function(n,r,o){return e||(e=S(t,o.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!(null==t?void 0:t.length))return!1;var n=e.transaction;return!!n&&(0,m.Xr)(n,t)}(e,t.ignoreTransactions))return c.T&&s.Yz.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: ".concat((0,h.$X)(e))),!0}else{var n,r,o,i,a;if(n=e,(null==(r=t.ignoreErrors)?void 0:r.length)&&y(n).some(function(e){return(0,m.Xr)(e,r)}))return c.T&&s.Yz.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: ".concat((0,h.$X)(e))),!0;if((null==(a=(o=e).exception)||null==(i=a.values)?void 0:i.length)&&!o.message&&!o.exception.values.some(function(e){return e.stacktrace||e.type&&"Error"!==e.type||e.value}))return c.T&&s.Yz.warn("Event dropped due to not having an error message, error type or stacktrace.\nEvent: ".concat((0,h.$X)(e))),!0;if(function(e,t){if(!(null==t?void 0:t.length))return!1;var n=j(e);return!!n&&(0,m.Xr)(n,t)}(e,t.denyUrls))return c.T&&s.Yz.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: ".concat((0,h.$X)(e),".\nUrl: ").concat(j(e))),!0;if(!function(e,t){if(!(null==t?void 0:t.length))return!0;var n=j(e);return!n||(0,m.Xr)(n,t)}(e,t.allowUrls))return c.T&&s.Yz.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: ".concat((0,h.$X)(e),".\nUrl: ").concat(j(e))),!0}return!1}(n,e)?n:null}}},w=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},O(n)),t=t={name:"InboundFilters"},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
1)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e};function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{allowUrls:g(e.allowUrls||[]).concat(g(t.allowUrls||[])),denyUrls:g(e.denyUrls||[]).concat(g(t.denyUrls||[])),ignoreErrors:g(e.ignoreErrors||[]).concat(g(t.ignoreErrors||[]),g(e.disableErrorDefaults?[]:_)),ignoreTransactions:g(e.ignoreTransactions||[]).concat(g(t.ignoreTransactions||[]))}}function j(e){try{var t,n,r,o=g(null!=(t=null==(n=e.exception)?void 0:n.values)?t:[]).reverse().find(function(e){var t,n,r;return(null==(t=e.mechanism)?void 0:t.parent_id)===void 0&&(null==(r=e.stacktrace)||null==(n=r.frames)?void 0:n.length)}),i=null==o||null==(r=o.stacktrace)?void 0:r.frames;return i?function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.length-1;t>=0;t--){var n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(i):null}catch(t){return c.T&&s.Yz.error("Cannot extract url for event ".concat((0,h.$X)(e))),null}}var P=n(2942),k=n(4657),E=new WeakMap,x=n(8105),A=n(840),I=n(519),T=function(){var e;return{name:"Dedupe",processEvent:function(t){if(t.type)return t;try{var n,r,o,i,a,u,l,f,p,d;if(n=t,(r=e)&&(o=n,i=r,a=o.message,u=i.message,(a||u)&&(!a||u)&&(a||!u)&&a===u&&D(o,i)&&C(o,i)&&1||(l=n,f=r,p=N(f),d=N(l),p&&d&&p.type===d.type&&p.value===d.value&&D(l,f)&&C(l,f))))return c.T&&s.Yz.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}};function C(e,t){var n=(0,I.RV)(e),r=(0,I.RV)(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||r.length!==n.length)return!1;for(var o=0;o<r.length;o++){var i=r[o],a=n[o];if(i.filename!==a.filename||i.lineno!==a.lineno||i.colno!==a.colno||i.function!==a.function)return!1}return!0}function D(e,t){var n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return n.join("")===r.join("")}catch(e){return!1}}function N(e){var t,n;return null==(n=e.exception)||null==(t=n.values)?void 0:t[0]}var R=n(2447),L=n(2600);function U(e){if("aggregates"in e){var t,n,r;(null==(t=e.attrs)?void 0:t.ip_address)===void 0&&(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},e.attrs),r=r={ip_address:"{{auto}}"},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),e.attrs=n)}else void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}var M=n(3739),F=n(4881),Y=n(7354),z=n(8149),q=n(3671);function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function W(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,u=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(u)throw r}}return i}}(e,t)||B(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(e,t){if(e){if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H(e,t)}}function J(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[e,t]}function $(e,t){var n,r=W(e,2);return[r[0],((function(e){if(Array.isArray(e))return H(e)})(n=r[1])||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||B(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([t])]}function K(e,t){var n=e[1],r=!0,o=!1,i=void 0;try{for(var a,u=n[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var c=a.value,s=c[0].type;if(t(c,s))return!0}}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return!1}function G(e){var t=(0,Y.Se)(q.O);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}var Q={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function X(e){return e in Q?Q[e]:e}function V(e){if(null==e?void 0:e.sdk){var t=e.sdk;return{name:t.name,version:t.version}}}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function et(e){return function(e){if(Array.isArray(e))return Z(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return Z(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Z(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function en(){var e;return"u">typeof window&&(!(!("u">typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("u">typeof process?process:0))||(null==(e=q.O.process)?void 0:e.type)==="renderer")}function er(e,t){var n,r,o=null!=(r=null!=t?t:(n=e,eo().get(n)))?r:[];if(0!==o.length){var i,a,u,c,s,l,f,p,d=e.getOptions(),v=(i=d._metadata,a=d.tunnel,u=e.getDsn(),c=e.getDataCollectionOptions().userInfo,s={},(null==i?void 0:i.sdk)&&(s.sdk={name:i.sdk.name,version:i.sdk.version}),a&&u&&(s.dsn=(0,F.SB)(u)),J(s,[(l=c?"auto":"never",[{type:"log",item_count:o.length,content_type:"application/vnd.sentry.items.log+json"},(f=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({version:2},en()&&{ingest_settings:{infer_ip:l,infer_user_agent:l}}),p=p={items:o},Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(p)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
1)(Object(p)).forEach(function(e){Object.defineProperty(f,e,Object.getOwnPropertyDescriptor(p,e))}),f)])]));eo().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(v)}}function eo(){return(0,Y.BY)("clientToLogBufferMap",function(){return new WeakMap})}function ei(e,t){var n,r,o=null!=(r=null!=t?t:(n=e,ea().get(n)))?r:[];if(0!==o.length){var i,a,u,c,s,l,f,p,d=e.getOptions(),v=(i=d._metadata,a=d.tunnel,u=e.getDsn(),c=e.getDataCollectionOptions().userInfo,s={},(null==i?void 0:i.sdk)&&(s.sdk={name:i.sdk.name,version:i.sdk.version}),a&&u&&(s.dsn=(0,F.SB)(u)),J(s,[(l=c?"auto":"never",[{type:"trace_metric",item_count:o.length,content_type:"application/vnd.sentry.items.trace-metric+json"},(f=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({version:2},en()&&{ingest_settings:{infer_ip:l,infer_user_agent:l}}),p=p={items:o},Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(p)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(p)).forEach(function(e){Object.defineProperty(f,e,Object.getOwnPropertyDescriptor(p,e))}),f)])]));ea().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(v)}}function ea(){return(0,Y.BY)("clientToMetricBufferMap",function(){return new WeakMap})}var eu=n(4102),ec=n(6678),es=n(7332);function el(e){return(void 0===e?"undefined":e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)=="object"&&"function"==typeof e.unref&&e.unref(),e}var ef=Symbol.for("SentryBufferFullError");function ep(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,t=new Set;return{get $(){return Array.from(t)},add:function(n){if(!(t.size<e))return(0,es.xg)(ef);var r=n();return t.add(r),r.then(function(){t.delete(r)},function(){t.delete(r)}),r},drain:function(e){if(!t.size)return(0,es.XW)(!0);var n=Promise.allSettled(Array.from(t)).then(function(){return!0});return e?Promise.race([n,new Promise(function(t){return el(setTimeout(function(){return t(!1)},e))})]):n}}}function ed(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ev=n(8095),ey=n(6106),eh=n(4808),em=n(4667);function eb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function eg(e,t){return null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function e_(e){s.Yz.log("Ignoring span ".concat(e.op," - ").concat(e.description," because it matches `ignoreSpans`."))}function eO(e,t){if(!(null==t?void 0:t.length))return!1;var n=!0,r=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var u,s=i.value;if(u=s,"string"==typeof u||eg(u,RegExp)){if(e.description&&(0,m._c)(e.description,s))return c.T&&e_(e),!0;continue}var l=!!s.attributes&&Object.keys(s.attributes).length>0;if(s.name||s.op||l){var f=!s.name||e.description&&(0,m._c)(e.description,s.name),p=!s.op||e.op&&(0,m._c)(e.op,s.op),d=!s.attributes||Object.entries(s.attributes).every(function(t){var n,r=function(e){if(Array.isArray(e))return e}(t)||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(t)||function(e){if(e){if("string"==typeof e)return eb(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eb(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=r[0],i=r[1];return function(e,t){return"string"==typeof e&&("string"==typeof t||eg(t,RegExp))?(0,m._c)(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every(function(e,n){return e===t[n]}):e===t}(null==(n=e.attributes)?void 0:n[o],i)});if(f&&p&&d)return c.T&&e_(e),!0}}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}return!1}
1function ew(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eS=["forwarded","-ip","remote-","via","-user"],ej={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5};function eP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ek(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){n(e);return}u.done?t(c):Promise.resolve(c).then(r,o)}function eE(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){ek(i,r,o,a,u,"next",e)}function u(e){ek(i,r,o,a,u,"throw",e)}a(void 0)})}}function ex(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){ex(e,t,n[t])})}return e}function eI(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function eT(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,u=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(u)throw r}}return i}}(e,t)||eN(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eC(e){return function(e){if(Array.isArray(e))return eP(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||eN(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eD(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(a,"next",{value:c(0)}),u(a,"throw",{value:c(1)}),u(a,"return",{value:c(2)}),"function"==typeof Symbol&&u(a,Symbol.iterator,{value:function(){return this}}),a;function c(u){return function(c){var s=[u,c];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}function eN(e,t){if(e){if("string"==typeof e)return eP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eP(e,t)}}var eR="Not capturing exception because it's already been captured.",eL="Discarded session because of missing or non-string release",eU=Symbol.for("SentryInternalError"),eM=Symbol.for("SentryDoNotSendEventError");function eF(e){return ex({message:e},eU,!0)}function eY(e){return ex({message:e},eM,!0)}function ez(e){return(0,ey.Z4)(e)&&eU in e}function eq(e){return(0,ey.Z4)(e)&&eM in e}function eH(e,t,n,r,o){var i,a=0,u=!1;e.on(n,function(){a=0,clearTimeout(i),u=!1}),e.on(t,function(t){if((a+=r(t))>=8e5)o(e);else if(!u){var n,c=null!=(n=e.getOptions()._flushInterval)?n:5e3;c>0&&(u=!0,i=el(setTimeout(function(){o(e)},c)))}}),e.on("flush",function(){o(e)})}var eW=function(){var e;function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=ep(null!=(N=null==(Y=e.transportOptions)?void 0:Y.bufferSize)?N:64),this._dataCollection=(k=null!=(n=e).dataCollection?ej:!0===n.sendDefaultPii?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0}
1,databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:eS},httpHeaders:{request:{deny:eS},response:{deny:eS}},httpBodies:[],urlQueryParams:{deny:eS},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7},{userInfo:null!=(o=(E=null!=(r=n.dataCollection)?r:{}).userInfo)?o:k.userInfo,cookies:null!=(i=E.cookies)?i:k.cookies,httpHeaders:{request:null!=(a=null==(_=E.httpHeaders)?void 0:_.request)?a:k.httpHeaders.request,response:null!=(u=null==(O=E.httpHeaders)?void 0:O.response)?u:k.httpHeaders.response},httpBodies:null!=(l=E.httpBodies)?l:k.httpBodies,urlQueryParams:null!=(f=null!=(p=E.urlQueryParams)?p:E.queryParams)?f:k.urlQueryParams,graphQL:{document:null!=(d=null==(w=E.graphQL)?void 0:w.document)?d:k.graphQL.document,variables:null!=(v=null==(S=E.graphQL)?void 0:S.variables)?v:k.graphQL.variables},genAI:{inputs:null!=(y=null==(j=E.genAI)?void 0:j.inputs)?y:k.genAI.inputs,outputs:null!=(h=null==(P=E.genAI)?void 0:P.outputs)?h:k.genAI.outputs},databaseQueryData:null!=(m=E.databaseQueryData)?m:k.databaseQueryData,stackFrameVariables:null!=(b=E.stackFrameVariables)?b:k.stackFrameVariables,frameContextLines:null!=(g=E.frameContextLines)?g:k.frameContextLines}),e.dsn?this._dsn=(0,F.AD)(e.dsn):c.T&&s.Yz.warn("No DSN provided, client will not send events."),this._dsn){var n,r,o,i,a,u,l,f,p,d,v,y,h,m,b,g,_,O,w,S,j,P,k,E,x,A,I,T,C,D,N,R,L,U,M,Y,z,q,H=(x=this._dsn,A=e.tunnel,I=e._metadata?e._metadata.sdk:void 0,A||"".concat("".concat((T=x.protocol?"".concat(x.protocol,":"):"",C=x.port?":".concat(x.port):"","".concat(T,"//").concat(x.host).concat(C).concat(x.path?"/".concat(x.path):"","/api/"))).concat(x.projectId,"/envelope/"),"?").concat((D={sentry_version:"7"},x.publicKey&&(D.sentry_key=x.publicKey),I&&(D.sentry_client="".concat(I.name,"/").concat(I.version)),new URLSearchParams(D).toString())));this._transport=e.transport(eI(eA({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this)},e.transportOptions),{url:H}))}this._options.enableLogs=null==(R=null!=(L=this._options.enableLogs)?L:null==(z=this._options._experiments)?void 0:z.enableLogs)||R,this._options.enableLogs&&eH(this,"afterCaptureLog","flushLogs",eG,er),(null==(U=null!=(M=this._options.enableMetrics)?M:null==(q=this._options._experiments)?void 0:q.enableMetrics)||U)&&eH(this,"afterCaptureMetric","flushMetrics",eK,ei)}return e=[{key:"captureException",value:function(e,t,n){var r=this,o=(0,h.eJ)();if((0,h.GR)(e))return c.T&&s.Yz.log(eR),o;var i=eA({event_id:o},t);return this._process(function(){return r.eventFromException(e,i).then(function(e){return r._captureEvent(e,i,n)}).then(function(e){return e})},"error"),i.event_id}},{key:"captureMessage",value:function(e,t,n,r){var o=this,i=eA({event_id:(0,h.eJ)()},n),a=(0,ey.NF)(e)?e:String(e),u=(0,ey.sO)(e),c=u?this.eventFromMessage(a,t,i):this.eventFromException(e,i);return this._process(function(){return c.then(function(e){return o._captureEvent(e,i,r)})},u?"unknown":"error"),i.event_id}},{key:"captureEvent",value:function(e,t,n){var r=this,o=(0,h.eJ)();if((null==t?void 0:t.originalException)&&(0,h.GR)(t.originalException))return c.T&&s.Yz.log(eR),o;var i=eA({event_id:o},t),a=e.sdkProcessingMetadata||{},u=a.capturedSpanScope,l=a.capturedSpanIsolationScope,f=eB(e.type);return this._process(function(){return r._captureEvent(e,i,u||n,l)},f),i.event_id}},{key:"captureSession",value:function(e){this.sendSession(e),(0,eu.qO)(e,{init:!1})}},{key:"getDsn",value:function(){return this._dsn}},{key:"getOptions",value:function(){return this._options}},{key:"getDataCollectionOptions",value:function(){return this._dataCollection}},{key:"getSdkMetadata",value:function(){return this._options._metadata}},{key:"getTransport",value:function(){return this._transport}},{key:"flush",value:function(e){return eE(function(){var t,n,r;return eD(this,function(o){switch(o.label){case 0:if(t=this._transport,this.emit("flush"),!t)return[2,!0];return[4,this._isClientDoneProcessing(e)];case 1:return n=o.sent(),[4,t.flush(e)];case 2:return r=o.sent(),[2,n&&r]}})}).call(this)}},{key:"close",value:function(e){return eE(function(){var t;return eD(this,function(n){switch(n.label){case 0:return[4,this.flush(e)];
1case 1:return t=n.sent(),this.getOptions().enabled=!1,this.emit("close"),[2,t]}})}).call(this)}},{key:"getEventProcessors",value:function(){return this._eventProcessors}},{key:"addEventProcessor",value:function(e){this._eventProcessors.push(e)}},{key:"init",value:function(){(this._isEnabled()||this._options.integrations.some(function(e){return e.name.startsWith("Spotlight")}))&&this._setupIntegrations()}},{key:"getIntegrationByName",value:function(e){return this._integrations[e]}},{key:"getIntegrationNames",value:function(){return Object.keys(this._integrations)}},{key:"addIntegration",value:function(e){var t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),v(this,e,this._integrations),t||d(this,[e])}},{key:"sendEvent",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.emit("beforeSendEvent",e,n);var r=function(e,t){if("transaction"===e.type&&(null==(u=e.spans)?void 0:u.length)&&(null==(c=e.sdkProcessingMetadata)?void 0:c.hasGenAiSpans)&&!1!==t.getOptions().streamGenAiSpans&&"stream"!==t.getOptions().traceLifecycle){var n=[],r=[],o=!0,i=!1,a=void 0;try{for(var u,c,s,l=e.spans[Symbol.iterator]();!(o=(s=l.next()).done);o=!0){var f,p=s.value;(null==(f=p.op)?void 0:f.startsWith("gen_ai."))?n.push(function(e){var t={trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||"",start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:e.status&&"ok"!==e.status&&"cancelled"!==e.status?"error":"ok",is_segment:!1,attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},e.data),links:e.links};return(0,A.PL)(t)}(p)):r.push(p)}}catch(e){i=!0,a=e}finally{try{o||null==l.return||l.return()}finally{if(i)throw a}}if(0!==n.length){e.spans=r;var d,v,y=t.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:n.length,content_type:"application/vnd.sentry.items.span.v2+json"},(d=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({version:2},en()&&{ingest_settings:{infer_ip:y,infer_user_agent:y}}),v=v={items:n},Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(v)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
1)(Object(v)).forEach(function(e){Object.defineProperty(d,e,Object.getOwnPropertyDescriptor(v,e))}),d)]}}}(e,this),o=(c=this._dsn,s=this._options._metadata,l=this._options.tunnel,f=V(s),p=e.type&&"replay_event"!==e.type?e.type:"event",!function(e,t){if(t){var n,r,o,i,a,u,c=e.sdk||{};n=ee({},c),r=r={name:c.name||t.name,version:c.version||t.version,integrations:et((null==(o=e.sdk)?void 0:o.integrations)||[]).concat(et(t.integrations||[])),packages:et((null==(i=e.sdk)?void 0:i.packages)||[]).concat(et(t.packages||[])),settings:(null==(a=e.sdk)?void 0:a.settings)||t.settings?ee({},null==(u=e.sdk)?void 0:u.settings,t.settings):void 0},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),e.sdk=n}}(e,null==s?void 0:s.sdk),v=null==(d=e.sdkProcessingMetadata)?void 0:d.dynamicSamplingContext,y=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({event_id:e.event_id,sent_at:new Date((0,z.Wk)()).toISOString()},f&&{sdk:f},!!l&&c&&{dsn:(0,F.SB)(c)},v&&{trace:v}),delete e.sdkProcessingMetadata,J(y,[[{type:p},e]])),i=!0,a=!1,u=void 0;try{for(var c,s,l,f,p,d,v,y,h,m=(n.attachments||[])[Symbol.iterator]();!(i=(h=m.next()).done);i=!0){var b=h.value;o=$(o,function(e){var t="string"==typeof e.data?G(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}(b))}}catch(e){a=!0,u=e}finally{try{i||null==m.return||m.return()}finally{if(a)throw u}}r&&(o=$(o,r)),this.sendEnvelope(o).then(function(n){return t.emit("afterSendEvent",e,n)})}},{key:"sendSession",value:function(e){var t,n,r,o,i=this._options,a=i.release,u=i.environment,l=void 0===u?M.U:u;if("aggregates"in e){var f=e.attrs||{};if(!f.release&&!a){c.T&&s.Yz.warn(eL);return}f.release=f.release||a,f.environment=f.environment||l,e.attrs=f}else{if(!e.release&&!a){c.T&&s.Yz.warn(eL);return}e.release=e.release||a,e.environment=e.environment||l}this.emit("beforeSendSession",e);var p=(t=this._dsn,n=this._options._metadata,r=this._options.tunnel,o=V(n),J(ee({sent_at:new Date((0,z.Wk)()).toISOString()},o&&{sdk:o},!!r&&t&&{dsn:(0,F.SB)(t)}),["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]]));this.sendEnvelope(p)}},{key:"recordDroppedEvent",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(this._options.sendClientReports){var r="".concat(e,":").concat(t);c.T&&s.Yz.log('Recording outcome: "'.concat(r,'"').concat(n>1?" (".concat(n," times)"):"")),this._outcomes[r]=(this._outcomes[r]||0)+n}}},{key:"on",value:function(e,t){var n=this._hooks[e]=this._hooks[e]||new Set,r=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.apply(void 0,eC(n))};return n.add(r),function(){n.delete(r)}}},{key:"emit",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=this._hooks[e];o&&o.forEach(function(e){return e.apply(void 0,eC(n))})}},{key:"sendEnvelope",value:function(e){return eE(function(){var t;
1return eD(this,function(n){switch(n.label){case 0:if(this.emit("beforeEnvelope",e),!(this._isEnabled()&&this._transport))return[3,4];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this._transport.send(e)];case 2:return[2,n.sent()];case 3:return t=n.sent(),c.T&&s.Yz.error("Error while sending envelope:",t),[2,{}];case 4:return c.T&&s.Yz.error("Transport disabled"),[2,{}]}})}).call(this)}},{key:"registerCleanup",value:function(e){}},{key:"dispose",value:function(){}},{key:"_setupIntegrations",value:function(){var e,t,n=this._options.integrations;this._integrations=(e=this,t={},n.forEach(function(t){(null==t?void 0:t.beforeSetup)&&t.beforeSetup(e)}),n.forEach(function(n){n&&v(e,n,t)}),t),d(this,n)}},{key:"_updateSessionFromEvent",value:function(e,t){var n="fatal"===t.level,r=!1,o=null==(s=t.exception)?void 0:s.values;if(o){r=!0,n=!1;var i=!0,a=!1,u=void 0;try{for(var c,s,l,f=o[Symbol.iterator]();!(i=(l=f.next()).done);i=!0)if((null==(c=l.value.mechanism)?void 0:c.handled)===!1){n=!0;break}}catch(e){a=!0,u=e}finally{try{i||null==f.return||f.return()}finally{if(a)throw u}}}var p="ok"===e.status;(p&&0===e.errors||p&&n)&&((0,eu.qO)(e,eI(eA({},n&&{status:"crashed"}),{errors:e.errors||Number(r||n)})),this.captureSession(e))}},{key:"_isClientDoneProcessing",value:function(e){return eE(function(){var t;return eD(this,function(n){switch(n.label){case 0:t=0,n.label=1;case 1:if(!(!e||t<e))return[3,3];return[4,new Promise(function(e){return setTimeout(e,1)})];case 2:if(n.sent(),!this._numProcessing)return[2,!0];return t++,[3,1];case 3:return[2,!1]}})}).call(this)}},{key:"_isEnabled",value:function(){return!1!==this.getOptions().enabled&&void 0!==this._transport}},{key:"_prepareEvent",value:function(e,t,n,r){var o=this,i=this.getOptions(),a=this.getIntegrationNames();return!t.integrations&&a.length&&(t.integrations=a),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),(0,em.mG)(i,e,t,n,this,r).then(function(e){var r;return null===e?e:(o.emit("postprocessEvent",e,t),e.contexts=eA({trace:eA({},null==(r=e.contexts)?void 0:r.trace,(0,P.vn)(n))},e.contexts),e.sdkProcessingMetadata=eA({dynamicSamplingContext:(0,ec.ao)(o,n)},e.sdkProcessingMetadata),e)})}},{key:"_captureEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,P.o5)(),r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,P.rm)();return c.T&&eJ(e)&&s.Yz.log("Captured error event `".concat(y(e)[0]||"<unknown>","`")),this._processEvent(e,t,n,r).then(function(e){return e.event_id},function(e){c.T&&(eq(e)?s.Yz.log(e.message):ez(e)?s.Yz.warn(e.message):s.Yz.warn(e))})}},{key:"_processEvent",value:function(e,t,n,r){var o=this,i=this.getOptions(),a=i.sampleRate,u=e$(e),c=eJ(e),s=e.type||"error",l="before send for type `".concat(s,"`"),f=void 0===a?void 0:function(e){if("boolean"==typeof e)return Number(e);var t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t))&&!(t<0)&&!(t>1))return t}(a),p=eB(e.type);return this._prepareEvent(e,t,n,r).then(function(e){var n;if(null===e)throw o.recordDroppedEvent("event_processor",p),eY("An event processor returned `null`, will not send event.");return(null==(n=t.data)?void 0:n.__sentry__)===!0?e:function(e,t){var n="".concat(t," must return `null` or a valid event.");if((0,ey.Qg)(e))return e.then(function(e){if(!(0,ey.Qd)(e)&&null!==e)throw eF(n);return e},function(e){throw eF("".concat(t," rejected with ").concat(e))});if(!(0,ey.Qd)(e)&&null!==e)throw eF(n);return e}(function(e,t,n,r){var o=t.beforeSend,i=t.beforeSendTransaction,a=t.ignoreSpans,u=!((l=t.beforeSendSpan)&&"function"==typeof l&&"_streamed"in l&&l._streamed)&&t.beforeSendSpan,c=n;if(eJ(c)&&o)return o(c,r);if(e$(c)){if(u||a){var s=(h=(y=null!=(p=null==(v=(f=c).contexts)?void 0:v.trace)?p:{}).trace_id,m=y.parent_span_id,b=y.span_id,g=y.status,_=y.origin,O=y.data,w=y.op,{data:null!=O?O:{},description:f.transaction,op:w,parent_span_id:m,span_id:null!=b?b:"",start_timestamp:null!=(d=f.start_timestamp)?d:0,status:g,timestamp:f.timestamp,trace_id:null!=h?h:"",origin:_,profile_id:null==O?void 0:O[x.E1],exclusive_time:null==O?void 0:O[x.jG],measurements:f.measurements,is_segment:!0});if((null==a?void 0:a.length)&&eO({description:s.description,op:s.op,attributes:s.data},a))return null;if(u){var l,f,p,d,v,y,h,m,b,g,_,O,w,S=u(s);S?c=(0,eh.h)(n,{type:"transaction",timestamp:S.timestamp,start_timestamp:S.start_timestamp,transaction:S.description,contexts:{trace:{trace_id:S.trace_id,span_id:S.span_id,parent_span_id:S.parent_span_id,op:S.op,status:S.status,origin:S.origin,data:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){ew(e,t,n[t])})}return e}({},S.data,S.profile_id&&ew({},x.E1,S.profile_id),S.exclusive_time&&ew({},x.jG,S.exclusive_time))}},measurements:S.measurements}):(0,A.xl)()}if(c.spans){var j=[],P=c.spans,k=!0,E=!1,I=void 0;try{for(var T,C=P[Symbol.iterator]();!(k=(T=C.next()).done);k=!0){var D=T.value;if((null==a?void 0:a.length)&&eO({description:D.description,op:D.op,attributes:D.data},a)){!function(e,t){var n=t.parent_span_id,r=t.span_id;if(n){var o=!0,i=!1,a=void 0;try{for(var u,c=e[Symbol.iterator]();!(o=(u=c.next()).done);o=!0){var s=u.value;s.parent_span_id===r&&(s.parent_span_id=n)}}catch(e){i=!0,a=e}finally{try{o||null==c.return||c.return()}finally{if(i)throw a}}}}(P,D);continue}if(u){var N=u(D);N?j.push(N):((0,A.xl)(),j.push(D))}else j.push(D)}}catch(e){E=!0,I=e}finally{try{k||null==C.return||C.return()}finally{if(E)throw I}}var R=c.spans.length-j.length;R&&e.recordDroppedEvent("before_send","span",R),c.spans=j}}if(i){if(c.spans){var L=c.spans.length;c.sdkProcessingMetadata=eI(eA({},n.sdkProcessingMetadata),{spanCountBeforeProcessing:L})}return i(c,r)}}return c}(o,i,e,t),l)}
1).then(function(i){if(null===i){if(o.recordDroppedEvent("before_send",p),u){var s=1+(e.spans||[]).length;o.recordDroppedEvent("before_send","span",s)}throw eY("".concat(l," returned `null`, will not send event."))}var d=n.getSession()||r.getSession();if(c&&d&&o._updateSessionFromEvent(d,i),c&&"number"==typeof f&&(0,z.hY)()>f)throw o.recordDroppedEvent("sample_rate","error"),eY("Discarding event because it's not included in the random sample (sampling rate = ".concat(a,")"));if(u){var v,y=((null==(v=i.sdkProcessingMetadata)?void 0:v.spanCountBeforeProcessing)||0)-(i.spans?i.spans.length:0);y>0&&o.recordDroppedEvent("before_send","span",y)}var h=i.transaction_info;return u&&h&&i.transaction!==e.transaction&&(i.transaction_info=eI(eA({},h),{source:"custom"})),o.sendEvent(i,t),i}).then(null,function(e){if(eq(e)||ez(e))throw e;throw o.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),eF("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ".concat(e))})}},{key:"_process",value:function(e,t){var n=this;this._numProcessing++,this._promiseBuffer.add(e).then(function(e){return n._numProcessing--,e},function(e){return n._numProcessing--,e===ef&&n.recordDroppedEvent("queue_overflow",t),e})}},{key:"_clearOutcomes",value:function(){var e=this._outcomes;return this._outcomes={},Object.entries(e).map(function(e){var t=eT(e,2),n=t[0],r=t[1],o=eT(n.split(":"),2);return{reason:o[0],category:o[1],quantity:r}})}},{key:"_flushOutcomes",value:function(){c.T&&s.Yz.log("Flushing outcomes...");var e,t=this._clearOutcomes();if(0===t.length){c.T&&s.Yz.log("No outcomes to send");return}if(!this._dsn){c.T&&s.Yz.log("No dsn provided, will not send outcomes");return}c.T&&s.Yz.log("Sending outcomes:",t);var n=J((e=this._options.tunnel&&(0,F.SB)(this._dsn))?{dsn:e}:{},[[{type:"client_report"},{timestamp:(0,ev.lu)(),discarded_events:t}]]);this.sendEnvelope(n)}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,e),t}();function eB(e){return"replay_event"===e?"replay":e||"error"}function eJ(e){return void 0===e.type}function e$(e){return"transaction"===e.type}function eK(e){var t=0;return e.name&&(t+=2*e.name.length),(t+=8)+eQ(e.attributes)}function eG(e){var t=0;return e.message&&(t+=2*e.message.length),t+eQ(e.attributes)}function eQ(e){if(!e)return 0;var t=0;return Object.values(e).forEach(function(e){Array.isArray(e)?t+=e.length*eX(e[0]):(0,ey.sO)(e)?t+=eX(e):t+=100}),t}function eX(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:4*("boolean"==typeof e)}function eV(e){return(0,ey.bJ)(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__?"".concat(e.message," (").concat(e.__sentry_fetch_url_host__,")"):e.message}function eZ(e,t){var n,r,o,i,a=e1(e,t),u={type:!(r=null==(n=t)?void 0:n.name)&&e4(n)?n.message&&Array.isArray(n.message)&&2==n.message.length?n.message[0]:"WebAssembly.Exception":r,value:(i=null==(o=t)?void 0:o.message,e4(o)?Array.isArray(o.message)&&2==o.message.length?o.message[1]:"wasm exception":i?i.error&&"string"==typeof i.error.message?eV(i.error):eV(o):"No error message")};return a.length&&(u.stacktrace={frames:a}),void 0===u.type&&""===u.value&&(u.value="Unrecoverable error caught"),u}function e0(e,t){return{exception:{values:[eZ(e,t)]}}}function e1(e,t){var n,r,o=t.stacktrace||t.stack||"",i=(n=t)&&e2.test(n.message)?1:0,a="number"==typeof(r=t).framesToPop?r.framesToPop:0;try{return e(o,i,a)}catch(e){}return[]}var e2=/Minified React error #\d+;/i;function e4(e){var t;return!!("u">typeof WebAssembly)&&void 0!==WebAssembly.Exception&&(null!=(t=WebAssembly.Exception)&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t)}function e3(e,t,n,r,o){var i;if((0,ey.T2)(t)&&t.error)return e0(e,t.error);if((0,ey.BD)(t)||(0,ey.W6)(t)){if("stack"in t){var a,u,c,s,l=null==(s=(i=e0(e,t)).exception)||null==(c=s.values)?void 0:c[0];if(r&&n&&l&&!l.stacktrace){var f=e1(e,n);f.length&&(l.stacktrace={frames:f},(0,h.M6)(i,{synthetic:!0}))}}else{var p=t.name||((0,ey.BD)(t)?"DOMError":"DOMException"),d=t.message?"".concat(p,": ").concat(t.message):p;i=e8(e,d,n,r),(0,h.gO)(i,d)}return"code"in t&&(i.tags=(a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},i.tags),u=u={"DOMException.code":"".concat(t.code)},Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(u)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
1)(Object(u)).forEach(function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(u,e))}),a)),i}return(0,ey.bJ)(t)?e0(e,t):((0,ey.Qd)(t)||(0,ey.xH)(t)?i=function(e,t,n,r){var o=(0,P.KU)(),i=null==o?void 0:o.getOptions().normalizeDepth,a=Object.values(t).find(ey.bJ),u={__serialized__:(0,R.cd)(t,i)};if(a)return{exception:{values:[eZ(e,a)]},extra:u};var c={exception:{values:[{type:(0,ey.xH)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:function(e,t){var n=t.isUnhandledRejection,r=(0,k.HF)(e),o=n?"promise rejection":"exception";if((0,ey.T2)(e))return"Event `ErrorEvent` captured as ".concat(o," with message `").concat(e.message,"`");if((0,ey.xH)(e)){var i=function(e){try{var t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e);return"Event `".concat(i,"` (type=").concat(e.type,") captured as ").concat(o)}return"Object captured as ".concat(o," with keys: ").concat(r)}(t,{isUnhandledRejection:r})}]},extra:u};if(n){var s=e1(e,n);s.length&&(c.exception.values[0].stacktrace={frames:s})}return c}(e,t,n,o):(i=e8(e,t,n,r),(0,h.gO)(i,"".concat(t),void 0)),(0,h.M6)(i,{synthetic:!0}),i)}function e8(e,t,n,r){var o={};if(r&&n){var i=e1(e,n);i.length&&(o.exception={values:[{value:t,stacktrace:{frames:i}}]}),(0,h.M6)(o,{synthetic:!0})}return(0,ey.NF)(t)?o.logentry={message:t.__sentry_template_string__,params:t.__sentry_template_values__}:o.message=t,o}var e6=n(6689),e5=q.O;function e9(){try{return e5.document.location.href}catch(e){return""}}function e7(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}var te=q.O,tt=0;function tn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("function"!=typeof e)return e;try{if(Object.prototype.hasOwnProperty.call(e,"__sentry_wrapped__")){var n=e.__sentry_wrapped__;if("function"==typeof n)return n;return e}if((0,k.sp)(e))return e}catch(t){return e}var r=function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];q.O._sentryWrappedDepth=(q.O._sentryWrappedDepth||0)+1;try{var i=r.map(function(e){return tn(e,t)});return e.apply(this,i)}catch(e){throw tt++,setTimeout(function(){tt--}),(0,P.v4)(function(n){n.addEventProcessor(function(e){var n,o;return t.mechanism&&((0,h.gO)(e,void 0,void 0),(0,h.M6)(e,t.mechanism)),n=e7({},e.extra),o=o={arguments:r},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),e.extra=n,e}),(0,e6.Cp)(e)}),e}finally{q.O._sentryWrappedDepth=(q.O._sentryWrappedDepth||0)-1}};try{for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o])}catch(e){}(0,k.pO)(r,e),(0,k.my)(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:function(){return e.name}})}catch(e){}return r}function tr(){var e=e9(),t=(te.document||{}).referrer,n=(te.navigator||{}).userAgent;return{url:e,headers:e7({},t&&{Referer:t},n&&{"User-Agent":n})}}function to(e,t,n){return(to="u">typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ti(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n||e):o.value}})(e,t,n||e)}function ti(e){return(ti=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ta(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ta=function(){return!!e})()}function tu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}
1function tc(e,t){return(tc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ts=function(e){var t;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function n(e){if(!(this instanceof n))throw TypeError("Cannot call a class as a function");var t,r,o,i,a,u,c=(o=e,tu({release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:null==(i=te.SENTRY_RELEASE)?void 0:i.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0},o));!function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[t],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"npm",o=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};o.name||(o.name="sentry.javascript.".concat(t),o.packages=n.map(function(e){return{name:"".concat(r,":@sentry/").concat(e),version:L.M}}),o.version=L.M)}(c,"browser",["browser"],te.SENTRY_SDK_SOURCE||"npm"),t=n,r=[c],t=ti(t);var s=(a=function(e,t){var n;if(t&&("object"==((n=t)&&"u">typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,ta()?Reflect.construct(t,r||[],ti(this).constructor):t.apply(this,r))).getDataCollectionOptions().userInfo;(null==(u=c._metadata)?void 0:u.sdk)&&(c._metadata.sdk.settings=tu({infer_ip:s?"auto":"never"},c._metadata.sdk.settings));var l=a._options.sendClientReports;return te.document&&te.document.addEventListener("visibilitychange",function(){"hidden"===te.document.visibilityState&&(l&&a._flushOutcomes(),queueMicrotask(function(){a.flush()}))}),s&&a.on("beforeSendSession",U),a}return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&tc(n,e),t=[{key:"eventFromException",value:function(e,t){var n,r,o;return n=this._options.stackParser,r=this._options.attachStacktrace,o=e3(n,e,(null==t?void 0:t.syntheticException)||void 0,r),(0,h.M6)(o),o.level="error",(null==t?void 0:t.event_id)&&(o.event_id=t.event_id),(0,es.XW)(o)}},{key:"eventFromMessage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"info",n=arguments.length>2?arguments[2]:void 0;return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info",r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,i=e8(e,t,(null==r?void 0:r.syntheticException)||void 0,o);return i.level=n,(null==r?void 0:r.event_id)&&(i.event_id=r.event_id),(0,es.XW)(i)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}},{key:"_prepareEvent",value:function(e,t,r,o){return e.platform=e.platform||"javascript",to(ti(n.prototype),"_prepareEvent",this).call(this,e,t,r,o)}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(n.prototype,t),n}(eW),tl={},tf={};function tp(e,t){return tl[e]=tl[e]||[],tl[e].push(t),function(){var n=tl[e];if(n){var r=n.indexOf(t);-1!==r&&n.splice(r,1)}}}function td(e,t){if(!tf[e]){tf[e]=!0;try{t()}catch(t){c.T&&s.Yz.error("Error while instrumenting ".concat(e),t)}}}function tv(e,t){var n=e&&tl[e];if(n){var r=!0,o=!1,i=void 0;try{for(var a,u=n[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var l=a.value;try{l(t)}catch(t){c.T&&s.Yz.error("Error while triggering instrumentation handler.\nType: ".concat(e,"\nName: ").concat((0,I.qQ)(l),"\nError:"),t)}}}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}}}var ty=new Set([]),th=new Set;function tm(){"console"in q.O&&s.Ow.forEach(function(e){!th.has(e)&&e in q.O.console&&(th.add(e),(0,k.GS)(q.O.console,e,function(t){return s.Z9[e]=t,function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0],i=s.Z9[e],a=ty.size&&"string"==typeof o&&(0,m.Xr)(o,ty);a||tv("console",{args:n,level:e}),(!a||c.T&&s.Yz.isEnabled())&&(null==i||i.apply(q.O.console,n))}}))})}var tb=q.O;function tg(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function t_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tO(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){n(e);return}u.done?t(c):Promise.resolve(c).then(r,o)}function tw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function tS(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
1)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function tj(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,u=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(u)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return t_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t_(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tP(e,t){return(0,ey.Z4)(e)&&!!e[t]}function tk(e){return"string"==typeof e?e:e?tP(e,"url")?e.url:e.toString?e.toString():"":""}var tE=n(8396);function tx(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function tA(e){if(!e)return{};var t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}var tI=q.O;function tT(){if(tI.document){var e=tv.bind(null,"dom"),t=tC(e,!0);tI.document.addEventListener("click",t,!1),tI.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(function(t){var n,r,o=null==(n=tI[t])?void 0:n.prototype;(null==o||null==(r=o.hasOwnProperty)?void 0:r.call(o,"addEventListener"))&&((0,k.GS)(o,"addEventListener",function(t){return function(n,r,o){if("click"===n||"keypress"==n)try{var i=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=i[n]=i[n]||{refCount:0};if(!a.handler){var u=tC(e);a.handler=u,t.call(this,n,u,o)}a.refCount++}catch(e){}return t.call(this,n,r,o)}}),(0,k.GS)(o,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{var o=this.__sentry_instrumentation_handlers__||{},i=o[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete o[t]),0===Object.keys(o).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}}))})}}function tC(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){if(n&&!n._sentryCaptured){var r,u=function(e){try{return e.target}catch(e){return null}}(n);if(r=n.type,"keypress"!==r||null!=u&&u.tagName&&("INPUT"===u.tagName||"TEXTAREA"===u.tagName||u.isContentEditable||0)){(0,k.my)(n,"_sentryCaptured",!0),u&&!u._sentryId&&(0,k.my)(u,"_sentryId",(0,h.eJ)());var c="keypress"===n.type?"input":n.type;!function(e){if(e.type!==i)return!1;try{if(!e.target||e.target._sentryId!==a)return!1}catch(e){}return!0}(n)&&(e({event:n,name:c,global:t}),i=n.type,a=u?u._sentryId:void 0),clearTimeout(o),o=tI.setTimeout(function(){a=void 0,i=void 0},1e3)}}}}function tD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var tN="__sentry_xhr_v3__";function tR(){if(tI.XMLHttpRequest){var e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply:function(e,t,n){var r=Error(),o=1e3*(0,ev.zf)(),i=(0,ey.Kg)(n[0])?n[0].toUpperCase():void 0,a=function(e){if((0,ey.Kg)(e))return e;try{return e.toString()}catch(e){}}(n[1]);if(!i||!a)return e.apply(t,n);t[tN]={method:i,url:a,request_headers:{}},"POST"===i&&a.match(/sentry_key/)&&(t.__sentry_own_request__=!0);var u=function(){var e=t[tN];if(e&&4===t.readyState){try{e.status_code=t.status}catch(e){}tv("xhr",{endTimestamp:1e3*(0,ev.zf)(),startTimestamp:o,xhr:t,virtualError:r}),t.removeEventListener("readystatechange",u)}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:function(e,t,n){return u(),e.apply(t,n)}}):t.addEventListener("readystatechange",u),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply:function(e,t,n){var r=function(e){if(Array.isArray(e))return e}(n)||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(n)||function(e){if(e){if("string"==typeof e)return tD(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return tD(e,2)}}
1(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=r[0],i=r[1],a=t[tN];return a&&(0,ey.Kg)(o)&&(0,ey.Kg)(i)&&(a.request_headers[o.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply:function(e,t,n){var r=t[tN];return r&&(void 0!==n[0]&&(r.body=n[0]),tv("xhr",{startTimestamp:1e3*(0,ev.zf)(),xhr:t})),e.apply(t,n)}})}}function tL(e){var t="history";tp(t,e),td(t,tU)}function tU(){function e(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.length>2?n[2]:void 0;if(o){var i=u,a=function(e){try{return new URL(e,tI.location.origin).toString()}catch(t){return e}}(String(o));if(u=a,i===a)return e.apply(this,n);tv("history",{from:i,to:a})}return e.apply(this,n)}}tI.addEventListener("popstate",function(){var e=tI.location.href,t=u;u=e,t!==e&&tv("history",{from:t,to:e})}),"history"in tb&&tb.history&&((0,k.GS)(tI.history,"pushState",e),(0,k.GS)(tI.history,"replaceState",e))}var tM={};try{"u">typeof Node&&(tM.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),"u">typeof Element&&(tM.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,tM.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,tM.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,tM.getAttribute=Element.prototype.getAttribute),"u">typeof HTMLElement&&(tM.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch(e){}function tF(e,t,n){var r=tM[t];if(r)try{return r.call(e,n)}catch(e){}var o=e[t];return"function"==typeof o?o.call(e,n):o}function tY(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return"<unknown>";try{for(var n,r=e,o=[],i=0,a=0,u=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||80;r&&i++<5&&(n=function(e,t){var n=[],r=tF(e,"tagName");if(!r)return"";if("u">typeof HTMLElement&&(null!=(p=HTMLElement)&&"u">typeof Symbol&&p[Symbol.hasInstance]?!!p[Symbol.hasInstance](e):e instanceof p)){var o=tF(e,"dataset");if(o){if(o.sentryComponent)return o.sentryComponent;if(o.sentryElement)return o.sentryElement}}n.push(r.toLowerCase());var i=(null==t?void 0:t.length)?t.filter(function(t){return tF(e,"getAttribute",t)}).map(function(t){return[t,tF(e,"getAttribute",t)]}):null;if(null==i?void 0:i.length)i.forEach(function(e){n.push("[".concat(e[0],'="').concat(e[1],'"]'))});else{var a=tF(e,"id");a&&n.push("#".concat(a));var u=tF(e,"className");if(u&&(0,ey.Kg)(u)){var c=u.split(/\s+/),s=!0,l=!1,f=void 0;try{for(var p,d,v=c[Symbol.iterator]();!(s=(d=v.next()).done);s=!0){var y=d.value;n.push(".".concat(y))}}catch(e){l=!0,f=e}finally{try{s||null==v.return||v.return()}finally{if(l)throw f}}}}for(var h=0,m=["aria-label","type","name","title","alt"];h<m.length;h++){var b=m[h],g=tF(e,"getAttribute",b);g&&n.push("[".concat(b,'="').concat(g,'"]'))}return n.join("")}(r,u),"html"!==n&&(!(i>1)||!(a+3*o.length+n.length>=c)));)o.push(n),a+=n.length,r=tF(r,"parentNode");return o.reverse().join(" > ")}catch(e){return"<unknown>"}}var tz="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function tq(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function tH(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var tW=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=tq({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e);return{name:"Breadcrumbs",setup:function(e){var n,r,o,i,a,u,l;t.console&&(n=e,tp("console",function(e){if((0,P.KU)()===n){var t,r={category:"console",data:{arguments:e.args,logger:"console"},level:"warn"===(t=e.level)?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log",message:(0,m.gt)(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else r.message="Assertion failed: ".concat((0,m.gt)(e.args.slice(1)," ")||"console.assert"),r.data.arguments=e.args.slice(1);(0,tE.Z)(r,{input:e.args,level:e.level})}}),td("console",tm)),t.dom&&(tp("dom",(r=e,o=t.dom,function(e){if((0,P.KU)()===r){var t,n,i=(void 0===o?"undefined":tH(o))==="object"?o.seri
1alizeAttribute:void 0,a=(void 0===o?"undefined":tH(o))==="object"&&"number"==typeof o.maxStringLength?o.maxStringLength:void 0;a&&a>1024&&(tz&&s.Yz.warn("`dom.maxStringLength` cannot exceed ".concat(1024,", but a value of ").concat(a," was configured. Sentry will use ").concat(1024," instead.")),a=1024),"string"==typeof i&&(i=[i]);try{var u,c=e.event,l=(u=c)&&u.target?c.target:c;t=tY(l,{keyAttrs:i,maxStringLength:a}),n=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(!e5.HTMLElement)return null;for(var o=e,i=0;i<r&&o;i++){;if(t=o,null!=(n=HTMLElement)&&"u">typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](t):t instanceof n){if(o.dataset.sentryComponent)return o.dataset.sentryComponent;if(o.dataset.sentryElement)return o.dataset.sentryElement}o=o.parentNode}return null}(l)}catch(e){t="<unknown>"}if(0!==t.length){var f={category:"ui.".concat(e.name),message:t};n&&(f.data={"ui.component_name":n}),(0,tE.Z)(f,{event:e.event,name:e.name,global:e.global})}}})),td("dom",tT)),t.xhr&&(tp("xhr",(i=e,function(e){if((0,P.KU)()===i){var t=e.startTimestamp,n=e.endTimestamp,r=e.xhr[tN];if(t&&n&&r){var o=r.method,a=r.url,u=r.status_code,c=r.body,s={xhr:e.xhr,input:c,startTimestamp:t,endTimestamp:n},l={category:"xhr",data:{method:o,url:a,status_code:u},type:"http",level:tx(u)};i.emit("beforeOutgoingRequestBreadcrumb",l,s),(0,tE.Z)(l,s)}}})),td("xhr",tR)),t.fetch&&(a=e,tp("fetch",function(e){if((0,P.KU)()===a){var t=e.startTimestamp,n=e.endTimestamp;if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){var r={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n},o={category:"fetch",data:e.fetchData,level:"error",type:"http"};a.emit("beforeOutgoingRequestBreadcrumb",o,r),(0,tE.Z)(o,r)}else{var i,u,c=e.response,s=(i=tq({},e.fetchData),u=u={status_code:null==c?void 0:c.status},Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(u)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(u)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(u,e))}),i),l={input:e.args,response:c,startTimestamp:t,endTimestamp:n},f={category:"fetch",data:s,type:"http",level:tx(s.status_code)};a.emit("beforeOutgoingRequestBreadcrumb",f,l),(0,tE.Z)(f,l)}}}),td("fetch",function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(!t||function(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in tb))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch(e){return!1}}())return!1;if(tg(tb.fetch))return!0;var e=!1,t=tb.document;if(t&&"function"==typeof t.createElement)try{var n,r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),(null==(n=r.contentWindow)?void 0:n.fetch)&&(e=tg(r.contentWindow.fetch)),t.head.removeChild(r)}catch(e){c.T&&s.Yz.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}())&&(0,k.GS)(q.O,"fetch",function(t){return function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=Error(),a=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){var t=tj(e,2),n=t[0],r=t[1];return{url:tk(n),method:tP(r,"method")?String(r.method).toUpperCase():(0,ey.ks)(n)&&tP(n,"method")?String(n.method).toUpperCase():"GET"}}var o=e[0];return{url:tk(o),method:tP(o,"method")?String(o.method).toUpperCase():"GET"}}(r),u={args:r,fetchData:{method:a.method,url:a.url},startTimestamp:1e3*(0,ev.zf)(),virtualError:i,headers:function(e){var t=tj(e,2),n=t[0],r=t[1];try{if((void 0===r?"undefined":r&&"u">typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)=="object"&&null!==r&&"headers"in r&&r.headers)return new Headers(r.headers);if((0,ey.ks)(n))return new Headers(n.headers)}catch(e){}}(r)};return e||tv("fetch",tw({},u)),t.apply(q.O,r).then(function(t){var n;return(n=function(){return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(a,"next",{value:c(0)}),u(a,"throw",{value:c(1)}),u(a,"return",{value:c(2)}),"function"==typeof Symbol&&u(a,Symbol.iterator,{value:function(){return this}}),a;function c(u){return function(c){var s=[u,c];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(n){return e?e(t):tv("fetch",tS(tw({},u),{endTimestamp:1e3*(0,ev.zf)(),response:t})),[2,t]})},function(){var e=this,t=arguments;return new Promise(function(r,o){var i=n.apply(e,t);function a(e){tO(i,r,o,a,u,"next",e)}function u(e){tO(i,r,o,a,u,"throw",e)}a(void 0)})})()},function(e){tv("fetch",tS(tw({},u),{endTimestamp:1e3*(0,ev.zf)(),error:e})),(0,ey.bJ)(e)&&void 0===e.stack&&(e.stack=i.stack,(0,k.my)(e,"framesToPop",1));var t,n=(0,P.KU)(),r=null!=(t=null==n?void 0:n.getOptions().enhanceFetchErrorMessages)?t:"always";if(!1!==r&&(0,ey.bJ)(e)&&"TypeError"===e.name&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{var o=new URL(u.fetchData.url).host;"always"===r?e.message="".concat(e.message," (").concat(o,")"):(0,k.my)(e,"__sentry_fetch_url_host__",o)}catch(e){}throw e})}})}(void 0,void 0)})),t.history&&tL((u=e,function(e){if((0,P.KU)()===u){var t=e.from,n=e.to,r=tA(te.location.href),o=t?tA(t):void 0,i=tA(n);(null==o?void 0:o.path)||(o=r),r.protocol===i.protocol&&r.host===i.host&&(n=i.relative),r.protocol===o.protocol&&r.host===o.host&&(t=o.relative),(0,tE.Z)({category:"navigation",data:{from:t,to:n}})}})),t.sentry&&e.on("beforeSendEvent",(l=e,function(e){(0,P.KU)()===l&&(0,tE.Z)({category:"sentry.".concat("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:(0,h.$X)(e)},{event:e})}))}}},tB="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDB
1Request,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),tJ=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1},e);return{name:"BrowserApiErrors",setupOnce:function(){t.setTimeout&&(0,k.GS)(te,"setTimeout",t$),t.setInterval&&(0,k.GS)(te,"setInterval",t$),t.requestAnimationFrame&&(0,k.GS)(te,"requestAnimationFrame",tK),t.XMLHttpRequest&&"XMLHttpRequest"in te&&(0,k.GS)(XMLHttpRequest.prototype,"send",tG);var e=t.eventTarget;e&&(Array.isArray(e)?e:tB).forEach(function(e){var n,r,o,i,a;return n=e,r=t,void((null==(a=null==(o=te[n])?void 0:o.prototype)||null==(i=a.hasOwnProperty)?void 0:i.call(a,"addEventListener"))&&((0,k.GS)(a,"addEventListener",function(e){return function(t,o,i){try{var a;a=o,"function"==typeof a.handleEvent&&(o.handleEvent=tn(o.handleEvent,{mechanism:{data:{handler:(0,I.qQ)(o),target:n},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch(e){}return r.unregisterOriginalCallbacks&&function(e,t,n){e&&(void 0===e?"undefined":e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)=="object"&&"removeEventListener"in e&&"function"==typeof e.removeEventListener&&e.removeEventListener(t,n)}(this,t,o),e.apply(this,[t,tn(o,{mechanism:{data:{handler:(0,I.qQ)(o),target:n},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),i])}}),(0,k.GS)(a,"removeEventListener",function(e){return function(t,n,r){try{if(Object.prototype.hasOwnProperty.call(n,"__sentry_wrapped__")){var o=n.__sentry_wrapped__;o&&e.call(this,t,o,r)}}catch(e){}return e.call(this,t,n,r)}})))})}}};function t$(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0];return n[0]=tn(o,{mechanism:{handled:!1,type:"auto.browser.browserapierrors.".concat((0,I.qQ)(e))}}),e.apply(this,n)}}function tK(e){return function(t){return e.apply(this,[tn(t,{mechanism:{data:{handler:(0,I.qQ)(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function tG(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(function(e){e in o&&"function"==typeof o[e]&&(0,k.GS)(o,e,function(t){var n={mechanism:{data:{handler:(0,I.qQ)(t)},handled:!1,type:"auto.browser.browserapierrors.xhr.".concat(e)}},r=(0,k.sp)(t);return r&&(n.mechanism.data.handler=(0,I.qQ)(r)),tn(t,n)})}),e.apply(this,n)}}function tQ(e,t,n){tI.document&&tI.addEventListener(e,t,n)}function tX(e,t,n){tI.document&&tI.removeEventListener(e,t,n)}var tV=function(e){var t=!1;return function(){t||(e(),t=!0)}},tZ=function(e){var t,n=tI.requestIdleCallback||tI.setTimeout;(null==(t=tI.document)?void 0:t.visibilityState)==="hidden"?e():(tQ("visibilitychange",e=tV(e),{once:!0,capture:!0}),tQ("pagehide",e,{once:!0,capture:!0}),n(function(){e(),tX("visibilitychange",e,{capture:!0}),tX("pagehide",e,{capture:!0})}))},t0=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null!=(e=t.lifecycle)?e:"route";return{name:"BrowserSession",setupOnce:function(){if(void 0===te.document){tz&&s.Yz.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,e6.J0)({ignoreDuration:!0});var e=!1;tZ(function(){e||((0,e6.J5)(),e=!0)});var t=(0,P.rm)(),r=t.getUser();t.addScopeListener(function(t){var n=t.getUser();((null==r?void 0:r.id)!==(null==n?void 0:n.id)||(null==r?void 0:r.ip_address)!==(null==n?void 0:n.ip_address))&&(r=n,e&&(0,e6.J5)())}),"route"===n&&tL(function(t){t.from!==t.to&&((0,e6.J0)({ignoreDuration:!0}),(0,e6.J5)(),e=!0)})}}};function t1(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function t2(e,t){var n,r=null!=(n=e.attributes)?n:e.attributes={};Object.entries(t).forEach(function(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(e)||function(e){if(e){if("string"==typeof e)return t1(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return t1(e,2)}}
1(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=t[0],o=t[1];null==o||n in r||(r[n]=o)})}function t4(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function t3(){try{var e=te.Intl;if(!e)return;var t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch(e){return}}var t8=null;function t6(){t8=q.O.onerror,q.O.onerror=function(e,t,n,r,o){return tv("error",{column:r,error:o,line:n,msg:e,url:t}),!!t8&&t8.apply(this,arguments)},q.O.onerror.__SENTRY_INSTRUMENTED__=!0}var t5=null;function t9(){t5=q.O.onunhandledrejection,q.O.onunhandledrejection=function(e){return tv("unhandledrejection",e),!t5||t5.apply(this,arguments)},q.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var t7=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({onerror:!0,onunhandledrejection:!0},e);return{name:"GlobalHandlers",setupOnce:function(){Error.stackTraceLimit=50},setup:function(e){t.onerror&&(function(e){tp("error",function(t){var n=nt(),r=n.stackParser,o=n.attachStacktrace;if(!((0,P.KU)()!==e||tt>0)){var i,a,u,c,s,l,f,p,d,v,y=t.msg,h=t.url,m=t.line,b=t.column,g=t.error,_=(i=e3(r,g||y,void 0,o,!1),a=h,u=m,c=b,0===(v=(d=(p=(f=(l=i.exception=i.exception||{}).values=l.values||[])[0]=f[0]||{}).stacktrace=p.stacktrace||{}).frames=d.frames||[]).length&&v.push({colno:c,lineno:u,filename:null!=(s=function(e){if((0,ey.Kg)(e)&&0!==e.length)return e.startsWith("data:")?"<".concat(function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(e.startsWith("data:")){var n=e.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",o=e.includes(";base64,"),i=e.indexOf(","),a="";if(t&&-1!==i){var u=e.slice(i+1);a=u.length>10?"".concat(u.slice(0,10),"... [truncated]"):u}return"data:".concat(r).concat(o?",base64":"").concat(a?",".concat(a):"")}return e}(e,!1),">"):e}(a))?s:e9(),function:I.yF,in_app:!0}),i);_.level="error",(0,e6.r)(_,{originalException:g,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}}),td("error",t6)}(e),ne("onerror")),t.onunhandledrejection&&(function(e){tp("unhandledrejection",function(t){var n=nt(),r=n.stackParser,o=n.attachStacktrace;if(!((0,P.KU)()!==e||tt>0)){var i,a=function(e){if((0,ey.sO)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(t),u=(0,ey.sO)(a)?(i=a,{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: ".concat(String(i))}]}}):e3(r,a,void 0,o,!0);u.level="error",(0,e6.r)(u,{originalException:a,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}}),td("unhandledrejection",t9)}(e),ne("onunhandledrejection"))}}};function ne(e){tz&&s.Yz.log("Global Handler attached: ".concat(e))}function nt(){var e=(0,P.KU)();return(null==e?void 0:e.getOptions())||{stackParser:function(){return[]},attachStacktrace:!1}}function nn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){nn(e,t,n[t])})}return e}function no(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ni(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function na(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
1)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function nu(e){return function(e){if(Array.isArray(e))return no(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return no(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return no(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nc(e){return Array.isArray(e.errors)}function ns(e,t,n){e.mechanism=na(ni({handled:!0,type:"auto.core.linked_errors"},nc(n)&&{is_exception_group:!0},e.mechanism),{exception_id:t})}function nl(e,t,n,r){e.mechanism=na(ni({handled:!0},e.mechanism),{type:"chained",source:t,exception_id:n,parent_id:r})}var nf=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent:function(e,r,o){var i=o.getOptions().stackParser;if((null==(a=e.exception)?void 0:a.values)&&r&&(0,ey.bJ)(r.originalException)){var a,u=e.exception.values.length>0?e.exception.values[e.exception.values.length-1]:void 0;u&&(e.exception.values=function e(t,n,r,o,i,a,u,c){if(a.length>=r+1)return a;var s=nu(a);if((0,ey.bJ)(o[i])){ns(u,c,o);var l=t(n,o[i]),f=s.length;nl(l,i,f,c),s=e(t,n,r,o[i],i,[l].concat(nu(s)),l,f)}return nc(o)&&o.errors.forEach(function(a,l){if((0,ey.bJ)(a)){ns(u,c,o);var f=t(n,a),p=s.length;nl(f,"errors[".concat(l,"]"),p,c),s=e(t,n,r,a,i,[f].concat(nu(s)),f,p)}}),s}(eZ,i,t,r.originalException,n,e.exception.values,u,0))}}}};function np(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,u=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(u)throw r}}return i}}(e,t)||nv(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nv(e,t){if(e){if("string"==typeof e)return np(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return np(e,t)}}function ny(e,t,n,r){var o={filename:e,function:"<anonymous>"===t?I.yF:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}var nh=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,nm=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,nb=/\((\S*)(?::(\d+))(?::(\d+))\)/,ng=/at (.+?) ?\(data:(.+?),/,n_=[30,function(e){var t=e.match(ng);if(t)return{filename:"<data:".concat(t[2],">"),function:t[1]};var n=nh.exec(e);if(n){var r=nd(n,4),o=r[1],i=r[2],a=r[3];return ny(o,I.yF,+i,+a)}var u=nm.exec(e);if(u){if((null==(c=u[2])?void 0:c.indexOf("eval"))===0){var c,s=nb.exec(u[2]);s&&(u[2]=s[1],u[3]=s[2],u[4]=s[3])}var l=nd(nP(u[1]||I.yF,u[2]),2),f=l[0];return ny(l[1],f,u[3]?+u[3]:void 0,u[4]?+u[4]:void 0)}}],nO=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,nw=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,nS=[50,function(e){var t=nO.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){var n,r=nw.exec(t[3]);r&&(t[1]=t[1]||"eval",t[3]=r[1],t[4]=r[2],t[5]="")}var o=t[3],i=t[1]||I.yF;return i=(n=nd(nP(i,o),2))[0],ny(o=n[1],i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],nj=I.gd.apply(void 0,function(e){if(Array.isArray(e))return np(e)}(r=[n_,nS])||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||nv(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),nP=function(e,t){var n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:I.yF,n?"safari-extension:".concat(t):"safari-web-extension:".concat(t)]:[e,t]},nk="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,nE={};function nx(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){n(e);return}u.done?t(c):Promise.resolve(c).then(r,o)}function nA(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){var t=nE[e];if(t)return t;var n=tI[e];if(tg(n))return nE[e]=n.bind(tI);var r=tI.document;if(r&&"function"==typeof r.createElement)try{var o=r.createElement("iframe");o.hidden=!0,r.head.appendChild(o);var i=o.contentWindow;(null==i?void 0:i[e])&&(n=i[e]),r.head.removeChild(o)}catch(t){nk&&s.Yz.warn("Could not create sandbox iframe for ".concat(e," check, bailing to window.").concat(e,": "),t)}return n?nE[e]=n.bind(tI):n}("fetch"),n=0,r=0;return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ep(e.bufferSize||64),r={};return{send:function(o){var i=[];if(K(o,function(t,n){var o=X(n);!function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,z.Wk)();return(e[t]||e.all||0)>n}(r,o)?i.push(t):e.recordDroppedEvent("ratelimit_backoff",o)}),0===i.length)return Promise.resolve({});var a=J(o[0],i),u=function(t){var n;if(n=["client_report"],K(a,function(e,t){return n.includes(t)})){c.T&&s.Yz.warn("Dropping client report. Will not send outcomes (reason: ".concat(t,")."));return}K(a,function(n,r){e.recordDroppedEvent(t,X(r))})};return n.add(function(){return t({body:function(e){var t=W(e,2),n=t[0],r=t[1],o=JSON.stringify(n);function i(e){"string"==typeof o?o="string"==typeof e?o+e:[G(o),e]:o.push("string"==typeof e?G(e):e)}
1var a=!0,u=!1,c=void 0;try{for(var s,l=r[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var f,p=s.value,d=W(p,2),v=d[0],y=d[1];if(i("\n".concat(JSON.stringify(v),"\n")),"string"==typeof y||(f=Uint8Array,null!=f&&"u">typeof Symbol&&f[Symbol.hasInstance]?!!f[Symbol.hasInstance](y):y instanceof f))i(y);else{var h=void 0;try{h=JSON.stringify(y)}catch(e){h=JSON.stringify((0,R.S8)(y))}i(h)}}}catch(e){u=!0,c=e}finally{try{a||null==l.return||l.return()}finally{if(u)throw c}}return"string"==typeof o?o:function(e){var t=new Uint8Array(e.reduce(function(e,t){return e+t.length},0)),n=0,r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var c=a.value;t.set(c,n),n+=c.length}}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return t}(o)}(a)}).then(function(e){return 413===e.statusCode?(c.T&&s.Yz.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),u("send_error")):(c.T&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&s.Yz.warn("Sentry responded with status code ".concat(e.statusCode," to sent event.")),r=function(e,t){var n=t.statusCode,r=t.headers,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,z.Wk)(),i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},e),a=null==r?void 0:r["x-sentry-rate-limits"],u=null==r?void 0:r["retry-after"];if(a){var c=!0,s=!1,l=void 0;try{for(var f,p=a.trim().split(",")[Symbol.iterator]();!(c=(f=p.next()).done);c=!0){var d=(w=f.value.split(":",5),function(e){if(Array.isArray(e))return e}(w)||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),5!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(w)||function(e){if(e){if("string"==typeof e)return ed(e,5);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ed(e,5)}}(w)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),v=d[0],y=d[1],h=d[4],m=parseInt(v,10),b=(isNaN(m)?60:m)*1e3;if(y){var g=!0,_=!1,O=void 0;try{for(var w,S,j=y.split(";")[Symbol.iterator]();!(g=(S=j.next()).done);g=!0){var P=S.value;"metric_bucket"===P?(!h||h.split(";").includes("custom"))&&(i[P]=o+b):i[P]=o+b}}catch(e){_=!0,O=e}finally{try{g||null==j.return||j.return()}finally{if(_)throw O}}}else i.all=o+b}}catch(e){s=!0,l=e}finally{try{c||null==p.return||p.return()}finally{if(s)throw l}}}else u?i.all=o+function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,z.Wk)(),n=parseInt("".concat(e),10);if(!isNaN(n))return 1e3*n;var r=Date.parse("".concat(e));return isNaN(r)?6e4:r-t}(u,o):429===n&&(i.all=o+6e4);return i}(r,e)),e},function(e){throw u("network_error"),c.T&&s.Yz.error("Encountered error running transport request:",e),e})}).then(function(e){return e},function(e){if(e===ef)return c.T&&s.Yz.error("Skipped sending event because buffer is full."),u("queue_overflow"),Promise.resolve({});throw e})},flush:function(e){return n.drain(e)}}}(e,function(o){var i;return(i=function(){var i,a,u,c;return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(a,"next",{value:c(0)}),u(a,"throw",{value:c(1)}),u(a,"return",{value:c(2)}),"function"==typeof Symbol&&u(a,Symbol.iterator,{value:function(){return this}}),a;function c(u){return function(c){var s=[u,c];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(s){switch(s.label){case 0:i=o.body.length,n+=i,r++,a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}
1({body:o.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15},e.fetchOptions),s.label=1;case 1:return s.trys.push([1,3,4,5]),[4,t(e.url,a)];case 2:return[2,{statusCode:(u=s.sent()).status,headers:{"x-sentry-rate-limits":u.headers.get("X-Sentry-Rate-Limits"),"retry-after":u.headers.get("Retry-After")}}];case 3:throw c=s.sent(),nE.fetch=void 0,c;case 4:return n-=i,r--,[7];case 5:return[2]}})},function(){var e=this,t=arguments;return new Promise(function(n,r){var o=i.apply(e,t);function a(e){nx(o,n,r,a,u,"next",e)}function u(e){nx(o,n,r,a,u,"throw",e)}a(void 0)})})()},ep(e.bufferSize||40))}var nI=/^HTML(\w*)Element$/;function nT(e){if("u">typeof window&&e===window)return"[Window]";if("u">typeof document&&e===document)return"[Document]";if(function(e){if("u"<typeof Element)return!1;try{var t;return t=Element,null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}catch(e){return!1}}(e)){var t,n=(null==(t=Object.getPrototypeOf(e))?void 0:t.constructor)?t.constructor.name:"null prototype";if(nI.test(n))return"[HTMLElement: ".concat(tY(e),"]")}}function nC(){var e,t,n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=!o.skipBrowserExtensionCheck&&!!function(){if(void 0===te.window||te.nw)return!1;var e,t=te.chrome||te.browser;if(!(null==t||null==(e=t.runtime)?void 0:e.id))return!1;var n=e9();return!(te===te.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(n))}()&&(tz&&(0,s.pq)(function(){console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0),a=null==o.defaultIntegrations?[w(),{name:"FunctionToString",setupOnce:function(){var e=Function.prototype.toString;try{Function.prototype.toString=function(){for(var t,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=(0,k.sp)(this);try{E.has((0,P.KU)())&&void 0!==i&&(t=i)}catch(e){}return e.apply(null!=t?t:this,r)}}catch(e){}},setup:function(e){E.set(e,!0)}},{name:"ConversationId",setup:function(e){e.on("spanStart",function(e){var t=(0,P.o5)().getScopeData(),n=(0,P.rm)().getScopeData(),r=t.conversationId||n.conversationId;if(r){var o=(0,A.et)(e),i=o.op,a=o.data,u=o.description;if(!(null==i?void 0:i.startsWith("gen_ai."))&&!a["ai.operationId"]&&!(null==u?void 0:u.startsWith("ai.")))return;e.setAttribute(x.Fy,r)}})}},tJ(),tW(),t7(),nf(),T(),{name:"HttpContext",preprocessEvent:function(e){if(te.navigator||te.location||te.document){var t,n,r,o=tr(),i=nr({},o.headers,null==(r=e.request)?void 0:r.headers);t=nr({},o,e.request),n=n={headers:i},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),e.request=t}},processSegmentSpan:function(e){var t,n,r=null==(t=e.attributes)?void 0:t[x.uT];if(te.navigator||te.location||te.document){var o=tr();t2(e,(nn(n={},"url.full","http.client"!==r?o.url:void 0),nn(n,"http.request.header.user_agent",o.headers["User-Agent"]),nn(n,"http.request.header.referer",o.headers.Referer),n))}}},{name:"CultureContext",preprocessEvent:function(e){var t,n,r,o=t3();o&&(t=t4({},e.contexts),n=n={culture:t4({},o,null==(r=e.contexts)?void 0:r.culture)},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),e.contexts=t)},processSegmentSpan:function(e){var t=t3();t&&t2(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}},t0()]:o.defaultIntegrations,u=(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},o),n=n={enabled:!i&&o.enabled,stackParser:(0,I.vk)(o.stackParser||nj),integrations:function(e){var t,n,r=e.defaultIntegrations||[],o=e.integrations;if(r.forEach(function(e){e.isDefaultInstance=!0}),Array.isArray(o))n=f(r).concat(f(o));else if("function"==typeof o){var i=o(r);n=Array.isArray(i)?i:[i]}else n=r;return t={}
1,n.forEach(function(e){var n=e.name,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}({integrations:o.integrations,defaultIntegrations:a}),transport:o.transport||nA},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t);return(0,R.Ip)(nT),!0===u.debug&&(c.T?s.Yz.enable():(0,s.pq)(function(){console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,P.o5)().update(u.initialScope),e=r=new ts(u),(0,P.o5)().setClient(e),r.init(),r}},8396(e,t,n){var r=n(2942),o=n(3328),i=n(8095);function a(e,t){var n=(0,r.KU)(),a=(0,r.rm)();if(n){var u=n.getOptions(),c=u.beforeBreadcrumb,s=void 0===c?null:c,l=u.maxBreadcrumbs,f=void 0===l?100:l;if(!(f<=0)){var p=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({timestamp:(0,i.lu)()},e),d=s?(0,o.pq)(function(){return s(p,t)}):p;null!==d&&(n.emit&&n.emit("beforeAddBreadcrumb",d,t),a.addBreadcrumb(d,f))}}}n.d(t,{Z:()=>a})},7354(e,t,n){var r=n(2600),o=n(3671);function i(){return a(o.O),o.O}function a(e){var t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||r.M,t[r.M]=t[r.M]||{}}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.O,i=n.__SENTRY__=n.__SENTRY__||{},a=i[r.M]=i[r.M]||{};return a[e]||(a[e]=t())}n.d(t,{BY:()=>u,EU:()=>i,Se:()=>a})},3739(e,t,n){n.d(t,{U:()=>"production"})},2942(e,t,n){n.d(t,{KU:()=>S,o5:()=>g,m6:()=>O,rm:()=>_,vn:()=>j,v4:()=>w});var r,o=n(7354),i=n(7699),a=function(e){var t;return(null!=(t=Promise)&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t)&&!e[u]},u=Symbol("chained PromiseLike"),c=function(e,t,n){var r=e.then(function(e){return t(e),e},function(e){throw n(e),e});return a(r)&&a(e)?r:s(e,r)},s=function(e,t){if(!t)return e;var n,r=!1;for(var o in e)!function(n){if(!(n in t)){r=!0;var o=e[n];"function"==typeof o?Object.defineProperty(t,n,{value:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return o.apply(e,n)},enumerable:!0,configurable:!0,writable:!0}):t[n]=o}}(o);return r&&Object.assign(t,(u in(n={})?Object.defineProperty(n,u,{value:!0,enumerable:!0,configurable:!0,writable:!0}):n[u]=!0,n)),t},l=n(6106),f=function(){var e;function t(e,n){var r,o;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");r=e||new i.H,o=n||new i.H,this._stack=[{scope:r}],this._isolationScope=o}return e=[{key:"withScope",value:function(e){var t,n=this,r=this._pushScope();try{t=e(r)}catch(e){throw this._popScope(),e}return(0,l.Qg)(t)?c(t,function(){return n._popScope()},function(){return n._popScope()}):(this._popScope(),t)}},{key:"getClient",value:function(){return this.getStackTop().client}},{key:"getScope",value:function(){return this.getStackTop().scope}},{key:"getIsolationScope",value:function(){return this._isolationScope}},{key:"getStackTop",value:function(){return this._stack[this._stack.length-1]}},{key:"_pushScope",value:function(){var e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}},{key:"_popScope",value:function(){return!(this._stack.length<=1)&&!!this._stack.pop()}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,e),t}();function p(){var e=(0,o.EU)(),t=(0,o.Se)(e);return t.stack=t.stack||new f((0,o.BY)("defaultCurrentScope",function(){return new i.H}),(0,o.BY)("defaultIsolationScope",function(){return new i.H}))}function d(e){return p().withScope(e)}function v(e,t){var n=p();return n.withScope(function(){return n.getStackTop().scope=e,t(e)})}function y(e){return p().withScope(function(){return e(p().getIsolationScope())})}function h(e){var t=(0,o.Se)(e);return t.acs?t.acs:{withIsolationScope:y,withScope:d,withSetScope:v,withSetIsolationScope:function(e,t){return y(t)},getCurrentScope:function(){return p().getScope()},getIsolationScope:function(){return p().getIsolationScope()}}}var m=n(7739);function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function g(){return h((0,o.EU)()).getCurrentScope()}function _(){return h((0,o.EU)()).getIsolationScope()}function O(){return(0,o.BY)("globalScope",function(){return new i.H})}function w(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=h((0,o.EU)());if(2===t.length){var i=function(e){if(Array.isArray(e))return e}(t)||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(t)||function(e){if(e){if("string"==typeof e)return b(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return b(e,2)}}
1(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=i[0],u=i[1];return a?r.withSetScope(a,u):r.withScope(u)}return r.withScope(t[0])}function S(){return g().getClient()}function j(e){var t=null==r?void 0:r();if(t)return{trace_id:t.traceId,span_id:t.spanId};var n=e.getPropagationContext(),o=n.traceId,i=n.parentSpanId,a={trace_id:o,span_id:n.propagationSpanId||(0,m.Z)()};return i&&(a.parent_span_id=i),a}},3544(e,t,n){var r="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;n.d(t,{T:()=>r})},6689(e,t,n){var r=n(2942),o=n(4102),i=n(4667),a=n(3276),u=n(3671);function c(e,t){return(0,r.o5)().captureException(e,(0,i.li)(t))}function s(e,t){var n="string"==typeof t?t:void 0,o="string"!=typeof t?{captureContext:t}:void 0;return(0,r.o5)().captureMessage(e,n,o)}function l(e,t){return(0,r.o5)().captureEvent(e,t)}function f(e,t){(0,r.rm)().setContext(e,t)}function p(e,t){(0,r.rm)().setTag(e,t)}function d(e){(0,r.rm)().setUser(e)}function v(e){var t=(0,r.rm)(),n=(0,a.Om)(t,(0,r.o5)()).user,i=(u.O.navigator||{}).userAgent,c=(0,o.fj)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({user:n},i&&{userAgent:i},e)),s=t.getSession();return(null==s?void 0:s.status)==="ok"&&(0,o.qO)(s,{status:"exited"}),y(),t.setSession(c),c}function y(){var e=(0,r.rm)(),t=(0,r.o5)().getSession()||e.getSession();t&&(0,o.Vu)(t),h(),e.setSession()}function h(){var e=(0,r.rm)(),t=(0,r.KU)(),n=e.getSession();n&&t&&t.captureSession(n)}function m(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e?y():h()}n.d(t,{Cp:()=>c,J0:()=>v,J5:()=>m,NA:()=>p,gV:()=>d,o:()=>f,r:()=>l,wd:()=>s})},7699(e,t,n){n.d(t,{H:()=>w});var r=n(3544),o=n(4102),i=n(3328),a=n(6106),u=n(4808),c=n(54),s=n(7739),l=n(8149),f=n(4657),p=n(3469),d="_sentrySpan";function v(e,t){t?(0,f.my)(e,d,(0,p.Z)(t)):delete e[d]}var y=n(2539),h=n(8095);function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){b(e,t,n[t])})}return e}function _(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function O(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return m(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return m(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var w=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,s.e)(),sampleRand:(0,l.hY)()}}return e=[{key:"clone",value:function(){var e=new t;return e._breadcrumbs=O(this._breadcrumbs),e._tags=g({},this._tags),e._attributes=g({},this._attributes),e._extra=g({},this._extra),e._contexts=g({},this._contexts),this._contexts.flags&&(e._contexts.flags={values:O(this._contexts.flags.values)}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=O(this._eventProcessors),e._attachments=O(this._attachments),e._sdkProcessingMetadata=g({},this._sdkProcessingMetadata),e._propagationContext=g({},this._propagationContext),e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,v(e,(0,p.q)(this[d])),e}},{key:"setClient",value:function(e){this._client=e}},{key:"setLastEventId",value:function(e){this._lastEventId=e}},{key:"getClient",value:function(){return this._client}},{key:"lastEventId",value:function(){return this._lastEventId}},{key:"addScopeListener",value:function(e){this._scopeListeners.push(e)}},{key:"addEventProcessor",value:function(e){return this._eventProcessors.push(e),this}},{key:"setUser",value:function(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,o.qO)(this._session,{user:e}),this._notifyScopeListeners(),this}},{key:"getUser",value:function(){return this._user}},{key:"setConversationId",value:function(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}},{key:"setTags",value:function(e){return this._tags=g({},this._tags,e),this._notifyScopeListeners(),this}},{key:"setTag",value:function(e,t){return this.setTags(b({},e,t))}},{key:"setAttributes",value:function(e){return this._attributes=g({},this._attributes,e),this._notifyScopeListeners(),this}},{key:"setAttribute",value:function(e,t){return this.setAttributes(b({},e,t))}},{key:"removeAttribute",value:function(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}},{key:"setExtras",value:function(e){return this._extra=g({},this._extra,e),this._notifyScopeListeners(),this}},{key:"setExtra",value:function(e,t){return this._extra=_(g({},this._extra),b({},e,t)),this._notifyScopeListeners(),this}},{key:"setFingerprint",value:function(e){return this._fingerprint=e,this._notifyScopeListeners(),this}},{key:"setLevel",value:function(e){return this._level=e,this._notifyScopeListeners(),this}},{key:"setTransactionName",value:function(e){return this._transactionName=e,this._notifyScopeListeners(),this}},{key:"setContext",value:function(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}},{key:"setSession",value:function(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}},{key:"getSession",value:function(){return this._session}},{key:"update",value:function(e){if(!e)return this;var n="function"==typeof e?e(this):e,r=((null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](n):n instanceof t)?n.getScopeData():(0,a.Qd)(n)?e:void 0)||{},o=r.tags,i=r.attributes,u=r.extra,c=r.user,s=r.contexts,l=r.level,f=r.fingerprint,p=void 0===f?[]:f,d=r.propagationContext,v=r.conversationId;return this._tags=g({},this._tags,o),this._attributes=g({},this._attributes,i),this._extra=g({},this._extra,u),this._contexts=g({},this._contexts,s),c&&Object.keys(c).length&&(this._user=c),l&&(this._level=l),p.length&&(this._fingerprint=p),d&&(this._propagationContext=d),v&&(this._conversationId=v),this}},{key:"clear",value:function(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,v(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,s.e)(),sampleRand:(0,l.hY)()}),this._notifyScopeListeners(),this}},{key:"addBreadcrumb",value:function(e,t){var n,r="number"==typeof t?t:100;if(r<=0)return this;var o=_(g({timestamp:(0,h.lu)()},e),{message:e.message?(0,y.xv)(e.message,2048):e.message});return this._breadcrumbs.push(o),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),null==(n=this._client)||n.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}},{key:"getLastBreadcrumb",value:function(){return this._breadcrumbs[this._breadcrumbs.length-1]}},{key:"clearBreadcrumbs",value:function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}},{key:"addAttachment",value:function(e){return this._attachments.push(e),this}},{key:"clearAttachments",value:function(){return this._attachments=[],this}},{key:"getScopeData",value:function(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,p.q)(this[d]),conversationId:this._conversationId}}},{key:"setSDKProcessingMetadata",value:function(e){return this._sdkProcessingMetadata=(0,u.h)(this._sdkProcessingMetadata,e,2),this}},{key:"setPropagationContext",value:function(e){return this._propagationContext=e,this}},{key:"getPropagationContext",value:function(){return this._propagationContext}},{key:"captureException",value:function(e,t){var n=(null==t?void 0:t.event_id)||(0,c.eJ)();if(!this._client)return r.T&&i.Yz.warn("No client configured on scope - will not capture exception!"),n;var o=Error("Sentry syntheticException");return this._client.captureException(e,_(g({originalException:e,syntheticException:o},t),{event_id:n}),this),n}},{key:"captureMessage",value:function(e,t,n){var o,a=(null==n?void 0:n.event_id)||(0,c.eJ)();if(!this._client)return r.T&&i.Yz.warn("No client configured on scope - will not capture message!"),a;var u=null!=(o=null==n?void 0:n.syntheticException)?o:Error(e);return this._client.captureMessage(e,t,_(g({originalException:e,syntheticException:u},n),{event_id:a}),this),a}}
1,{key:"captureEvent",value:function(e,t){var n=e.event_id||(null==t?void 0:t.event_id)||(0,c.eJ)();return this._client?this._client.captureEvent(e,_(g({},t),{event_id:n}),this):r.T&&i.Yz.warn("No client configured on scope - will not capture event!"),n}},{key:"_notifyScopeListeners",value:function(){var e=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(function(t){t(e)}),this._notifyingListeners=!1)}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,e),t}()},8105(e,t,n){n.d(t,{E1:()=>"sentry.profile_id",Ef:()=>"sentry.previous_trace_sample_rate",Fy:()=>"gen_ai.conversation.id",JD:()=>"sentry.origin",i_:()=>"sentry.source",jG:()=>"sentry.exclusive_time",sy:()=>"sentry.sample_rate",uT:()=>"sentry.op"})},4102(e,t,n){var r=n(54),o=n(8095);function i(e){var t=(0,o.zf)(),n={sid:(0,r.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:function(){var e;return e=n,{sid:"".concat(e.sid),init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?"".concat(e.did):void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}};return e&&a(n,e),n}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,o.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,r.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did="".concat(t.did)),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{var n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function u(e,t){var n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),a(e,n)}n.d(t,{Vu:()=>u,fj:()=>i,qO:()=>a})},6678(e,t,n){n.d(t,{ao:()=>m,k1:()=>b});var r=n(3739),o=n(2942),i=n(8105),a=n(6106);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,u=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(u)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var s="sentry-";function l(e){return e.split(",").map(function(e){var t=e.indexOf("=");return -1===t?[]:[e.slice(0,t),e.slice(t+1)].map(function(e){try{return decodeURIComponent(e.trim())}catch(e){return}})}).reduce(function(e,t){var n=c(t,2),r=n[0],o=n[1];return r&&o&&(e[r]=o),e},{})}var f=n(4881);function p(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;var t,n=e||(null==(t=(0,o.KU)())?void 0:t.getOptions());return!!n&&(null!=n.tracesSampleRate||!!n.tracesSampler)}var d=n(840),v=Symbol.for("sentry.nonRecordingSpan"),y=n(7314);function h(e,t){var n=t.getOptions(),o=(t.getDsn()||{}).publicKey,i={environment:n.environment||r.U,release:n.release,public_key:o,trace_id:e,org_id:(0,f.ul)(t)};return t.emit("createDsc",i),i}function m(e,t){var n=t.getPropagationContext();return n.dsc||h(n.traceId,e)}function b(e){var t,n,r,u,f,b=(0,o.KU)();if(!b)return{};var g=(0,d.zU)(e),_=(0,d.et)(g),O=_.data,w=g.spanContext().traceState,S=null!=(t=null!=(n=null==w?void 0:w.get("sentry.sample_rate"))?n:O[i.sy])?t:O[i.Ef];function j(e){return("number"==typeof S||"string"==typeof S)&&(e.sample_rate="".concat(S)),e}var P=g._frozenDsc;if(P)return j(P);var k=!!g&&!0===g[v],E=k&&"ignored"===g.dropReason;
1if(k&&(!p(b.getOptions())||E)){var x=(0,y.Lb)(g).scope;if(x){var A=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},m(b,x));return E&&(A.sampled="false"),j(A)}}var I=null==w?void 0:w.get("sentry.dsc"),T=I&&function(e){var t=function(e){if(e&&((0,a.Kg)(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce(function(e,t){return Object.entries(l(t)).forEach(function(t){var n=c(t,2),r=n[0],o=n[1];e[r]=o}),e},{}):l(e)}(e);if(t){var n=Object.entries(t).reduce(function(e,t){var n=c(t,2),r=n[0],o=n[1];return r.startsWith(s)&&(e[r.slice(s.length)]=o),e},{});return Object.keys(n).length>0?n:void 0}}(I);if(T)return j(T);var C=h(e.spanContext().traceId,b),D=null!=(r=O[i.i_])?r:O["sentry.segment.name.source"],N=_.description;return"url"!==D&&N&&(C.transaction=N),p()&&(C.sampled=String((0,d.pK)(g)),C.sample_rand=null!=(u=null==w?void 0:w.get("sentry.sample_rand"))?u:null==(f=(0,y.Lb)(g).scope)?void 0:f.getPropagationContext().sampleRand.toString()),j(C),b.emit("createDsc",C,g),C}},7314(e,t,n){var r=n(3469);function o(e){return{scope:e._sentryScope,isolationScope:(0,r.q)(e._sentryIsolationScope)}}n.d(t,{Lb:()=>o})},3328(e,t,n){var r=n(7354),o=n(3544),i=n(3671);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return a(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return a(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var c=["debug","info","warn","error","log","assert","trace"],s={};function l(e){if(!("console"in i.O))return e();var t=i.O.console,n={},r=Object.keys(s);r.forEach(function(e){var r=s[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(function(e){t[e]=n[e]})}}function f(){return d().enabled}function p(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o.T&&f()&&l(function(){var t;(t=i.O.console)[e].apply(t,["".concat("Sentry Logger ","[").concat(e,"]:")].concat(u(n)))})}function d(){return o.T?(0,r.BY)("loggerSettings",function(){return{enabled:!1}}):{enabled:!1}}var v={enable:function(){d().enabled=!0},disable:function(){d().enabled=!1},isEnabled:f,log:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];p.apply(void 0,["log"].concat(u(t)))},warn:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];p.apply(void 0,["warn"].concat(u(t)))},error:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];p.apply(void 0,["error"].concat(u(t)))}};n.d(t,{Ow:()=>c,Yz:()=>v,Z9:()=>s,pq:()=>l})},4881(e,t,n){var r=n(3544),o=n(3328);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var a=/^o(\d+)\./,u=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function c(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.host,r=e.path,o=e.pass,i=e.port,a=e.projectId,u=e.protocol,c=e.publicKey;return"".concat(u,"://").concat(c).concat(t&&o?":".concat(o):"","@").concat(n).concat(i?":".concat(i):"","/").concat(r?"".concat(r,"/"):r).concat(a)}function s(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function l(e){var t,n,r=e.getOptions(),o=(e.getDsn()||{}).host;return r.orgId?n=String(r.orgId):o&&(n=null==(t=o.match(a))?void 0:t[1]),n}function f(e){var t="string"==typeof e?function(e){var t,n=u.exec(e);if(!n)return void(0,o.pq)(function(){console.error("Invalid Sentry Dsn: ".concat(e))});var r=function(e){if(Array.isArray(e))return e}(t=n.slice(1))||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),6!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(t)||function(e){if(e){if("string"==typeof e)return i(e,6);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(e,6)}}
1(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=r[0],c=r[1],l=r[2],f=r[3],p=r[4],d=r[5],v="",y=void 0===d?"":d,h=y.split("/");if(h.length>1&&(v=h.slice(0,-1).join("/"),y=h.pop()),y){var m=y.match(/^\d+/);m&&(y=m[0])}return s({host:void 0===f?"":f,pass:void 0===l?"":l,path:v,projectId:y,port:void 0===p?"":p,protocol:a,publicKey:c})}(e):s(e);if(t&&function(e){if(!r.T)return!0;var t=e.port,n=e.projectId,i=e.protocol;return!["protocol","publicKey","host","projectId"].find(function(t){return!e[t]&&(o.Yz.error("Invalid Sentry Dsn: ".concat(t," missing")),!0)})&&(n.match(/^\d+$/)?"http"!==i&&"https"!==i?(o.Yz.error("Invalid Sentry Dsn: Invalid protocol ".concat(i)),!1):!(t&&isNaN(parseInt(t,10)))||(o.Yz.error("Invalid Sentry Dsn: Invalid port ".concat(t)),!1):(o.Yz.error("Invalid Sentry Dsn: Invalid projectId ".concat(n)),!1))}(t))return t}n.d(t,{AD:()=>f,SB:()=>c,ul:()=>l})},6106(e,t,n){function r(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var o=Object.prototype.toString;function i(e){switch(o.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return b(e,Error)}}function a(e,t){return o.call(e)==="[object ".concat(t,"]")}function u(e){return a(e,"ErrorEvent")}function c(e){return a(e,"DOMError")}function s(e){return a(e,"DOMException")}function l(e){return a(e,"String")}function f(e){return(void 0===e?"undefined":r(e))==="object"&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function p(e){return null===e||f(e)||(void 0===e?"undefined":r(e))!=="object"&&"function"!=typeof e}function d(e){return a(e,"Object")}function v(e){return(void 0===e?"undefined":r(e))==="object"&&null!==e}function y(e){return"u">typeof Event&&b(e,Event)}function h(e){return a(e,"RegExp")}function m(e){return!!((null==e?void 0:e.then)&&"function"==typeof e.then)}function b(e,t){try{return null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}catch(e){return!1}}function g(e){return"u">typeof Request&&b(e,Request)}n.d(t,{BD:()=>c,Kg:()=>l,NF:()=>f,Qd:()=>d,Qg:()=>m,T2:()=>u,W6:()=>s,Z4:()=>v,bJ:()=>i,gd:()=>h,ks:()=>g,sO:()=>p,xH:()=>y})},4808(e,t,n){n.d(t,{h:()=>function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;if(!n||(void 0===n?"undefined":n&&"u">typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)!="object"||r<=0)return n;if(t&&0===Object.keys(n).length)return t;var o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},t);for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(o[i]=e(o[i],n[i],r-1));return o}})},54(e,t,n){var r,o=n(4657),i=n(8149),a=n(3671);function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function c(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(e=a.O).crypto||e.msCrypto;try{if(null==t?void 0:t.randomUUID)return(0,i.Qw)(function(){return t.randomUUID()}).replace(/-/g,"")}catch(e){}return r||(r="10000000100040008000100000000000"),r.replace(/[018]/g,function(e){return(e^(15&16*(0,i.hY)())>>e/4).toString(16)})}function s(e){var t,n;return null==(n=e.exception)||null==(t=n.values)?void 0:t[0]}function l(e){var t=e.message,n=e.event_id;if(t)return t;var r=s(e);return r?r.type&&r.value?"".concat(r.type,": ").concat(r.value):r.type||r.value||n||"<unknown>":n||"<unknown>"}function f(e,t,n){var r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function p(e,t){var n=s(e);if(n){var r=n.mechanism;if(n.mechanism=u({},{type:"generic",handled:!0},r,t),t&&"data"in t){var o=u({},null==r?void 0:r.data,t.data);n.mechanism.data=o}}}function d(e){if(function(e){try{return e.__sentry_captured__}catch(e){}}(e))return!0;try{(0,o.my)(e,"__sentry_captured__",!0)}catch(e){}return!1}n.d(t,{$X:()=>l,GR:()=>d,M6:()=>p,eJ:()=>c,gO:()=>f})},2447(e,t,n){n.d(t,{S8:()=>f,cd:()=>function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:102400,o=f(t,n);return~-encodeURI(JSON.stringify(o)).split(/%..|./).length>r?e(t,n-1,r):o},Ip:()=>l,ng:()=>p});var r,o=Symbol.for("sentry.skipNormalization"),i=Symbol.for("sentry.overrideNormalizationDepth"),a=n(4657),u=n(519);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function s(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function l(e){r=e}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;try{return function e(t,n){var r,u,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0,d=arguments.length>4&&void 0!==arguments[4]?arguments[4]:(r=new WeakSet,[function(e){return!!r.has(e)||(r.add(e),!1)},function(e){r.delete(e)}]),v=function(e){if(Array.isArray(e))return e}(d)||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(d)||function(e){if(e){if("string"==typeof e)return c(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return c(e,2)}}
1(d)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),y=v[0],h=v[1];if(null==n||["boolean","string"].includes(void 0===n?"undefined":s(n))||"number"==typeof n&&Number.isFinite(n))return n;var m=p(t,n);if(!m.startsWith("[object "))return m;if(n[o])return n;var b="number"==typeof(u=n[i])?u:void 0,g=void 0!==b?b:l;if(0===g)return m.replace("object ","");if(y(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{var _=n.toJSON();return e("",_,g-1,f,d)}catch(e){}var O=Array.isArray(n)?[]:{},w=0,S=(0,a.W4)(n);for(var j in S)if(Object.prototype.hasOwnProperty.call(S,j)){if(w>=f){O[j]="[MaxProperties ~]";break}var P=S[j];O[j]=e(j,P,g-1,f,d),w++}return h(n),O}("",e,t,n)}catch(e){return{ERROR:"**non-serializable** (".concat(e,")")}}}function p(e,t){try{if(r){var n,o,i=r(t);if(i)return i}if("u">typeof global&&t===global)return"[Global]";if("number"==typeof t&&!Number.isFinite(t))return"[".concat(t,"]");if("function"==typeof t)return"[Function: ".concat((0,u.qQ)(t),"]");if((void 0===t?"undefined":s(t))==="symbol")return"[".concat(String(t),"]");if((void 0===t?"undefined":s(t))==="bigint")return"[BigInt: ".concat(String(t),"]");var a=(n=t,o=Object.getPrototypeOf(n),(null==o?void 0:o.constructor)?o.constructor.name:"null prototype");return"[object ".concat(a,"]")}catch(e){return"**non-serializable** (".concat(e,")")}}},4657(e,t,n){var r=n(3544),o=n(3328),i=n(6106);function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function u(e,t,n){if(t in e){var i=e[t];if("function"==typeof i){var a=n(i);"function"==typeof a&&s(a,i);try{e[t]=a}catch(n){r.T&&o.Yz.log('Failed to replace method "'.concat(t,'" in object'),e)}}}}function c(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){r.T&&o.Yz.log('Failed to add non-enumerable property "'.concat(String(t),'" to object'),e)}}function s(e,t){try{var n=t.prototype||{};e.prototype=t.prototype=n,c(e,"__sentry_original__",t)}catch(e){}}function l(e){return e.__sentry_original__}function f(e){if((0,i.bJ)(e))return a({message:e.message,name:e.name,stack:e.stack},p(e));if((0,i.xH)(e)){var t=e.type,n=e.target,r=e.currentTarget,o=e.detail;return a({type:t,target:n,currentTarget:r},o?{detail:o}:{},p(e))}return e}function p(e){return(0,i.Z4)(e)?Object.fromEntries(Object.entries(e)):{}}function d(e){var t=Object.keys(f(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}n.d(t,{GS:()=>u,HF:()=>d,W4:()=>f,my:()=>c,pO:()=>s,sp:()=>l})},4667(e,t,n){n.d(t,{li:()=>j,mG:()=>S});var r,o,i,a,u=n(3739),c=n(3544),s=n(3328),l=n(6106),f=n(7332),p=n(7699),d=n(3671),v=n(54),y=n(2447),h=n(3276),m=n(2539),b=n(8095);function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function O(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||w(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}}function S(e,t,n,g,S,j){var P,k,E,x,A,I,T,C,D,N,R,L,U,M,F,Y,z,q=e.normalizeDepth,H=void 0===q?3:q,W=e.normalizeMaxBreadth,B=void 0===W?1e3:W,J=(Y=_({}
1,t),z=z={event_id:t.event_id||n.event_id||(0,v.eJ)(),timestamp:t.timestamp||(0,b.lu)()},Object.getOwnPropertyDescriptors?Object.defineProperties(Y,Object.getOwnPropertyDescriptors(z)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(z)).forEach(function(e){Object.defineProperty(Y,e,Object.getOwnPropertyDescriptor(z,e))}),Y),$=n.integrations||e.integrations.map(function(e){return e.name});P=J,A=(k=e).environment,I=k.release,T=k.dist,C=k.maxValueLength,P.environment=P.environment||A||u.U,!P.release&&I&&(P.release=I),!P.dist&&T&&(P.dist=T),(null==(D=P.request)?void 0:D.url)&&C&&(D.url=(0,m.xv)(D.url,C)),C&&(null==(x=P.exception)||null==(E=x.values)||E.forEach(function(e){e.value&&(e.value=(0,m.xv)(e.value,C))})),N=J,(R=$).length>0&&(N.sdk=N.sdk||{},N.sdk.integrations=O(N.sdk.integrations||[]).concat(O(R))),S&&S.emit("applyFrameMetadata",t),void 0===t.type&&(L=J,F=function(e){var t=d.O._sentryDebugIds,n=d.O._debugIds;if(!t&&!n)return{};var u=t?Object.keys(t):[],c=n?Object.keys(n):[];if(a&&u.length===o&&c.length===i)return a;o=u.length,i=c.length,a={},r||(r={});var s=function(t,n){var o=!0,i=!1,u=void 0;try{for(var c,s=t[Symbol.iterator]();!(o=(c=s.next()).done);o=!0){var l=c.value,f=n[l],p=null==r?void 0:r[l];if(p&&a&&f)a[p[0]]=f,r&&(r[l]=[p[0],f]);else if(f)for(var d=e(l),v=d.length-1;v>=0;v--){var y=d[v],h=null==y?void 0:y.filename;if(h&&a&&r){a[h]=f,r[l]=[h,f];break}}}}catch(e){i=!0,u=e}finally{try{o||null==s.return||s.return()}finally{if(i)throw u}}};return t&&s(u,t),n&&s(c,n),a}(e.stackParser),null==(M=L.exception)||null==(U=M.values)||U.forEach(function(e){var t,n;null==(n=e.stacktrace)||null==(t=n.frames)||t.forEach(function(e){e.filename&&(e.debug_id=F[e.filename])})}));var K=function(e,t){if(!t)return e;var n=e?e.clone():new p.H;return n.update(t),n}(g,n.captureContext);n.mechanism&&(0,v.M6)(J,n.mechanism);var G=S?S.getEventProcessors():[],Q=(0,h.Om)(j,K),X=O(n.attachments||[]).concat(O(Q.attachments));X.length&&(n.attachments=X),(0,h.e2)(J,Q);var V=O(G).concat(O(Q.eventProcessors));return(n.data&&!0===n.data.__sentry__?(0,f.XW)(J):function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;try{var o=function e(t,n,r,o){var i=r[o];if(!t||!i)return t;var a=i(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},t),n);return(c.T&&null===a&&s.Yz.log('Event processor "'.concat(i.id||"?",'" dropped event')),(0,l.Qg)(a))?a.then(function(t){return e(t,n,r,o+1)}):e(a,n,r,o+1)}(t,n,e,r);return(0,l.Qg)(o)?o:(0,f.XW)(o)}catch(e){return(0,f.xg)(e)}}(V,J,n)).then(function(e){return(e&&function(e){var t,n,r={};if(null==(n=e.exception)||null==(t=n.values)||t.forEach(function(e){var t,n;null==(n=e.stacktrace)||null==(t=n.frames)||t.forEach(function(e){e.debug_id&&(e.abs_path?r[e.abs_path]=e.debug_id:e.filename&&(r[e.filename]=e.debug_id),delete e.debug_id)})}),0!==Object.keys(r).length){e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];var o=e.debug_meta.images;Object.entries(r).forEach(function(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(e)||w(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=t[0],r=t[1];o.push({type:"sourcemap",code_file:n,debug_id:r})})}}(e),"number"==typeof H&&H>0)?function(e,t,n){if(!e)return null;var r,o,i=_({},e,e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(function(e){return _({},e,e.data&&{data:(0,y.S8)(e.data,t,n)})})},e.user&&{user:(0,y.S8)(e.user,t,n)},e.contexts&&{contexts:(0,y.S8)(e.contexts,t,n)},e.extra&&{extra:(0,y.S8)(e.extra,t,n)});return(null==(r=e.contexts)?void 0:r.trace)&&i.contexts&&(i.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(i.contexts.trace.data=(0,y.S8)(e.contexts.trace.data,t,n))),e.spans&&(i.spans=e.spans.map(function(e){return _({},e,e.data&&{data:(0,y.S8)(e.data,t,n)})}
1)),(null==(o=e.contexts)?void 0:o.flags)&&i.contexts&&(i.contexts.flags=(0,y.S8)(e.contexts.flags,3,n)),i}(e,H,B):e})}function j(e){if(e)return function(e){var t;return(null!=(t=p.H)&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t)||"function"==typeof e}(e)||Object.keys(e).some(function(e){return P.includes(e)})?{captureContext:e}:e}var P=["user","level","extra","contexts","tags","fingerprint","propagationContext"]},7739(e,t,n){var r=n(54);function o(){return(0,r.eJ)()}function i(){return(0,r.eJ)().substring(16)}n.d(t,{Z:()=>i,e:()=>o})},8149(e,t,n){var r,o=n(3671);function i(e){if(void 0!==r)return r?r(e):e();var t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=o.O;return t in n&&"function"==typeof n[t]?(r=n[t])(e):(r=null,e())}function a(){return i(function(){return Math.random()})}function u(){return i(function(){return Date.now()})}n.d(t,{Qw:()=>i,Wk:()=>u,hY:()=>a})},3276(e,t,n){var r=n(2942),o=n(6678),i=n(4808),a=n(840);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function s(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return u(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return u(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){var n,r,i,u,l,f,p,d,v,y,h,m,b,g,_,O,w,S,j,P=t.fingerprint,k=t.span,E=t.breadcrumbs,x=t.sdkProcessingMetadata;n=e,i=(r=t).extra,u=r.tags,l=r.user,f=r.contexts,p=r.level,d=r.transactionName,Object.keys(i).length&&(n.extra=c({},i,n.extra)),Object.keys(u).length&&(n.tags=c({},u,n.tags)),Object.keys(l).length&&(n.user=c({},l,n.user)),Object.keys(f).length&&(n.contexts=c({},f,n.contexts)),p&&(n.level=p),d&&"transaction"!==n.type&&(n.transaction=d),k&&(v=e,y=k,v.contexts=c({trace:(0,a.kX)(y)},v.contexts),v.sdkProcessingMetadata=c({dynamicSamplingContext:(0,o.k1)(y)},v.sdkProcessingMetadata),h=(0,a.zU)(y),(m=(0,a.et)(h).description)&&!v.transaction&&"transaction"===v.type&&(v.transaction=m)),b=e,g=P,b.fingerprint=b.fingerprint?Array.isArray(b.fingerprint)?b.fingerprint:[b.fingerprint]:[],g&&(b.fingerprint=b.fingerprint.concat(g)),b.fingerprint.length||delete b.fingerprint,_=e,O=E,w=s(_.breadcrumbs||[]).concat(s(O)),_.breadcrumbs=w.length?w:void 0,S=e,j=x,S.sdkProcessingMetadata=c({},S.sdkProcessingMetadata,j)}function f(e,t){var n=t.extra,r=t.tags,o=t.attributes,a=t.user,u=t.contexts,l=t.level,f=t.sdkProcessingMetadata,d=t.breadcrumbs,v=t.fingerprint,y=t.eventProcessors,h=t.attachments,m=t.propagationContext,b=t.transactionName,g=t.span;p(e,"extra",n),p(e,"tags",r),p(e,"attributes",o),p(e,"user",a),p(e,"contexts",u),e.sdkProcessingMetadata=(0,i.h)(e.sdkProcessingMetadata,f,2),l&&(e.level=l),b&&(e.transactionName=b),g&&(e.span=g),d.length&&(e.breadcrumbs=s(e.breadcrumbs).concat(s(d))),v.length&&(e.fingerprint=s(e.fingerprint).concat(s(v))),y.length&&(e.eventProcessors=s(e.eventProcessors).concat(s(y))),h.length&&(e.attachments=s(e.attachments).concat(s(h))),e.propagationContext=c({},e.propagationContext,m)}function p(e,t,n){e[t]=(0,i.h)(e[t],n,1)}function d(e,t){var n=(0,r.m6)().getScopeData();return e&&f(n,e.getScopeData()),t&&f(n,t.getScopeData()),n}n.d(t,{Om:()=>d,e2:()=>l})},840(e,t,n){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={},i=!0,a=!1,u=void 0;try{for(var c,s=Object.entries(null!=e?e:{})[Symbol.iterator]();!(i=(c=s.next()).done);i=!0){var l,f=(l=c.value,function(e){if(Array.isArray(e))return e}(l)||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(l)||function(e){if(e){if("string"==typeof e)return r(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(e,2)}}
1(l)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),p=f[0],d=f[1],v=function(e,t){var n,r=(void 0===e?"undefined":e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)=="object"&&null!=e&&!Array.isArray(e)&&Object.keys(e).includes("value")?e:{value:e,unit:void 0},i=r.value,a=r.unit,u=function(e){if(Array.isArray(e))return{value:e,type:"array"};var t="string"==typeof e?"string":"boolean"==typeof e?"boolean":"number"!=typeof e||Number.isNaN(e)?null:Number.isInteger(e)?"integer":"double";if(t)return{value:e,type:t}}(i),c=a&&"string"==typeof a?{unit:a}:{};if(u)return o({},u,c);if(t&&("skip-undefined"!==t||void 0!==i)){var s="";try{s=null!=(n=JSON.stringify(i))?n:""}catch(e){}return o({value:s,type:"string"},c)}}(d,t);v&&(n[p]=v)}}catch(e){a=!0,u=e}finally{try{i||null==s.return||s.return()}finally{if(a)throw u}}return n}n.d(t,{zU:()=>_,xl:()=>O,pK:()=>g,et:()=>m,kX:()=>v,PL:()=>b});var a=n(8105),u=n(7314),c=n(7739),s=n(8095),l=n(3328);function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function p(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var d=!1;function v(e){var t=e.spanContext(),n=t.spanId,r=t.traceId,o=t.isRemote,i=o?n:m(e).parent_span_id,a=(0,u.Lb)(e).scope;return{parent_span_id:i,span_id:o?(null==a?void 0:a.getPropagationContext().propagationSpanId)||(0,c.Z)():n,trace_id:r}}function y(e){var t;return"number"==typeof e?h(e):Array.isArray(e)?e[0]+e[1]/1e9:(null!=(t=Date)&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t)?h(e.getTime()):(0,s.zf)()}function h(e){return e>0x2540be3ff?e/1e3:e}function m(e){if("function"==typeof e.getSpanJSON)return e.getSpanJSON();var t=e.spanContext(),n=t.spanId,r=t.traceId;if((o=e).attributes&&o.startTime&&o.name&&o.endTime&&o.status){var o,i,u,c=e.attributes,s=e.startTime,l=e.name,p=e.endTime,d=e.status,v=e.links;return{span_id:n,trace_id:r,data:c,description:l,parent_span_id:"parentSpanId"in(i=e)?i.parentSpanId:"parentSpanContext"in i?null==(u=i.parentSpanContext)?void 0:u.spanId:void 0,start_timestamp:y(s),timestamp:y(p)||void 0,status:function(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"internal_error"}(d),op:c[a.uT],origin:c[a.JD],links:v&&v.length>0?v.map(function(e){var t=e.context,n=t.spanId,r=t.traceId,o=t.traceFlags,i=function(e,t){if(null==e)return{};var n,r,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(n=Reflect.ownKeys(Object(e)),o=0;o<n.length;o++)r=n[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r]);return i}if(i=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,t),Object.getOwnPropertySymbols)for(n=Object.getOwnPropertySymbols(e),o=0;o<n.length;o++)r=n[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r]);return i}(t,["spanId","traceId","traceFlags"]);return f({span_id:n,trace_id:r,sampled:1===o,attributes:e.attributes},i)}):void 0}}return{span_id:n,trace_id:r,start_timestamp:0,data:{}}}function b(e){var t;return p(f({},e),{attributes:i(e.attributes),links:null==(t=e.links)?void 0:t.map(function(e){return p(f({},e),{attributes:i(e.attributes)})})})}function g(e){return 1===e.spanContext().traceFlags}var _=function(e){return e._sentryRootSpan||e};function O(){d||((0,l.pq)(function(){console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),d=!0)}},519(e,t,n){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function o(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return r(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var i=/\(error: (.*)\)/,a=/captureMessage|captureException/;function u(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.sort(function(e,t){return e[0]-t[0]}).map(function(e){return e[1]});return function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=[],u=e.split("\n"),c=t;c<u.length;c++){var l=u[c];l.length>1024&&(l=l.slice(0,1024));var f=i.test(l)?l.replace(i,"$1"):l;if(!f.includes("Error: ")){var p=!0,d=!1,v=void 0;try{for(var y,h=r[Symbol.iterator]();!(p=(y=h.next()).done);p=!0){var m=(0,y.value)(f);if(m){o.push(m);break}}}catch(e){d=!0,v=e}finally{try{p||null==h.return||h.return()}finally{if(d)throw v}}if(o.length>=50+n)break}}var b=o.slice(n);if(!b.length)return[];var g=Array.from(b);return/sentryWrapped/.test(s(g).function||"")&&g.pop(),g.reverse(),a.test(s(g).function||"")&&(g.pop(),a.test(s(g).function||"")&&g.pop()),g.slice(0,50).map(function(e){var t,n;return t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},e),n=n={filename:e.filename||s(g).filename,function:e.function||"?"},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
1)(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t})}}function c(e){return Array.isArray(e)?u.apply(void 0,o(e)):e}function s(e){return e[e.length-1]||{}}var l="<anonymous>";function f(e){try{if(!e||"function"!=typeof e)return l;return e.name||l}catch(e){return l}}function p(e){var t=e.exception;if(t){var n=[];try{return t.values.forEach(function(e){e.stacktrace.frames&&n.push.apply(n,o(e.stacktrace.frames))}),n}catch(e){}}}n.d(t,{RV:()=>p,gd:()=>u,qQ:()=>f,vk:()=>c,yF:()=>"?"})},2539(e,t,n){var r=n(6106),o=n(2447);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"!=typeof e||0===t||e.length<=t?e:"".concat(e.slice(0,t),"...")}function a(e,t){if(!Array.isArray(e))return"";for(var n=[],i=0;i<e.length;i++){var a,u=e[i];(0,r.sO)(u)?n.push(String(u)):(null!=(a=Error)&&"u">typeof Symbol&&a[Symbol.hasInstance]?!!a[Symbol.hasInstance](u):u instanceof a)?n.push(u.message?"".concat(u.name,": ").concat(u.message):u.name):n.push((0,o.ng)(void 0,u))}return n.join(t)}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!(0,r.Kg)(e)&&((0,r.gd)(t)?t.test(e):(0,r.Kg)(t)?n?e===t:e.includes(t):"function"==typeof t&&t(e))}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done);r=!0){var s=a.value;if(u(e,s,n))return!0}}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return!1}n.d(t,{Xr:()=>c,_c:()=>u,gt:()=>a,xv:()=>i})},7332(e,t,n){var r=n(6106);function o(e){return new a(function(t){t(e)})}function i(e){return new a(function(t,n){n(e)})}var a=function(){var e;function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this._state=0,this._handlers=[],this._runExecutor(e)}return e=[{key:"then",value:function(e,n){var r=this;return new t(function(t,o){r._handlers.push([!1,function(n){if(e)try{t(e(n))}catch(e){o(e)}else t(n)},function(e){if(n)try{t(n(e))}catch(e){o(e)}else o(e)}]),r._executeHandlers()})}},{key:"catch",value:function(e){return this.then(function(e){return e},e)}},{key:"finally",value:function(e){var n=this;return new t(function(t,r){var o,i;return n.then(function(t){i=!1,o=t,e&&e()},function(t){i=!0,o=t,e&&e()}).then(function(){i?r(o):t(o)})})}},{key:"_executeHandlers",value:function(){var e=this;if(0!==this._state){var t=this._handlers.slice();this._handlers=[],t.forEach(function(t){t[0]||(1===e._state&&t[1](e._value),2===e._state&&t[2](e._value),t[0]=!0)})}}},{key:"_runExecutor",value:function(e){var t=this,n=function(e,n){if(0===t._state){if((0,r.Qg)(n))return void n.then(o,i);t._state=e,t._value=n,t._executeHandlers()}},o=function(e){n(1,e)},i=function(e){n(2,e)};try{e(o,i)}catch(e){i(e)}}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,e),t}();n.d(t,{XW:()=>o,xg:()=>i})},8095(e,t,n){var r,o=n(8149),i=n(3671);function a(){return(0,o.Wk)()/1e3}function u(){return(null!=r?r:r=function(){var e=i.O.performance;if(!(null==e?void 0:e.now)||!e.timeOrigin)return a;var t=e.timeOrigin;return function(){return(t+(0,o.Qw)(function(){return e.now()}))/1e3}}())()}n.d(t,{lu:()=>a,zf:()=>u})},2600(e,t,n){n.d(t,{M:()=>"10.73.0"})},3469(e,t,n){var r=n(3671);function o(e){try{var t=r.O.WeakRef;if("function"==typeof t)return new t(e)}catch(e){}return e}function i(e){if(e){if((void 0===e?"undefined":e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)=="object"&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch(e){return}return e}}n.d(t,{Z:()=>o,q:()=>i})},3671(e,t,n){var r=globalThis;n.d(t,{O:()=>r})},4974(e,t,n){n.d(t,{Y:()=>i,FD:()=>i}),n(8122);var r=n(1340),o=0;function i(e,t,n,i,a,u){t||(t={});var c,s,l=t;if("ref"in l)for(s in l={},t)"ref"==s?c=t[s]:l[s]=t[s];var f={type:e,props:l,key:n,ref:c,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--o,__i:-1,__u:0,__source:a,__self:u};if("function"==typeof e&&(c=e.defaultProps))for(s in c)void 0===l[s]&&(l[s]=c[s]);return r.fF.vnode&&r.fF.vnode(f),f}},7216(e,t,n){n.d(t,{N_:()=>B,qh:()=>W,dO:()=>$,zy:()=>U,g:()=>N,ok:()=>H});var r=n(8122),o=n(3584);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var a=r.useInsertionEffect,u="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect,c=a||u,s=function(e){var t,n=r.useRef([e,function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];return(t=n)[0].apply(t,function(e){if(Array.isArray(e))return i(e)}(r)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e){if(e){if("string"==typeof e)return i(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(e,void 0)}}(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}]).current;return c(function(){n[0]=e}),n[1]}
1,l=["popstate","pushState","replaceState","hashchange"],f=[],p=function(){return f.forEach(function(e){return e()})},d=function(e){return 1===f.push(e)&&l.forEach(function(e){return addEventListener(e,p)}),function(){(f=f.filter(function(t){return t!==e})).length||l.forEach(function(e){return removeEventListener(e,p)})}},v=function(e,t){return(0,o.useSyncExternalStore)(d,e,t)},y=function(){return location.search},h=function(){return location.pathname},m=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).ssrPath;return v(h,null!=e?function(){return e}:h)},b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.replace,r=t.state;return history[void 0!==n&&n?"replaceState":"pushState"](void 0===r?null:r,"",e)},g=Symbol.for("wouter_v3");if("u">typeof history&&void 0===window[g]){for(var _=0,O=["pushState","replaceState"];_<O.length;_++)!function(e,t){var n=t[e],r=history[n];history[n]=function(){var e=r.apply(this,arguments),t=new Event(n);return t.arguments=arguments,dispatchEvent(t),e}}(_,O);Object.defineProperty(window,g,{value:!0})}var w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"/"===e?"":e},S=function(e,t){return e=j(w(e)),t=j(t),e&&t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/"},j=function(e){try{return e.includes("%")?decodeURI(e):e}catch(t){return e}};function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function E(e,t){if(null==e)return{};var n,r,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(n=Reflect.ownKeys(Object(e)),o=0;o<n.length;o++)r=n[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r]);return i}if(i=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,t),Object.getOwnPropertySymbols)for(n=Object.getOwnPropertySymbols(e),o=0;o<n.length;o++)r=n[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r]);return i}function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,u=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(u)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var A={hook:function(e){return[m(e),b]},searchHook:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).ssrSearch;return v(y,null!=e?function(){return e}:y)},parser:function(e,t){if(null!=(n=RegExp)&&"u">typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](e):e instanceof n)return{keys:!1,pattern:e};var n,r,o,i,a,u=[],c="",s=e.split("/");for(s[0]||s.shift();i=s.shift();)"*"===(r=i[0])?(u.push(r),c+="?"===i[1]?"(?:/(.*))?":"/(.*)"):":"===r?(o=i.indexOf("?",1),a=i.indexOf(".",1),u.push(i.substring(1,~o?o:~a?a:i.length)),c+=~o&&!~a?"(?:/([^/]+?))?":"/([^/]+?)",~a&&(c+=(~o?"?":"")+"\\"+i.substring(a))):c+="/"+i;return{keys:u,pattern:RegExp("^"+c+(t?"(?=$|/)":"/?$"),"i")}},base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:function(e){return e},aroundNav:function(e,t,n){return e(t,n)}},I=(0,r.createContext)(A),T=function(){return(0,r.useContext)(I)},C={},D=(0,r.createContext)(C),N=function(){return(0,r.useContext)(D)},R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.base;return S(t,e.hook(e)[0])},L=function(e){var t=x(e.hook(e),2),n=t[0],r=t[1];return[S(e.base,n),s(function(t,n){var o;return e.aroundNav(r,(o=e.base,"~"===t[0]?t.slice(1):w(o)+t),n)})]},U=function(){return L(T())},M=function(){var e,t=T();return j("?"===(e=t.searchHook(t))[0]?e.slice(1):e)},F=function(e,t,n,r){var o,i=(null!=(o=RegExp)&&"u">typeof Symbol&&o[Symbol.hasInstance]?!!o[Symbol.hasInstance](t):t instanceof o)?{pattern:t}:e(t||"*",r),a=i.pattern,u=i.keys,c=a.exec(n);if(!c)return[!1,null];for(var s={},l=1;l<c.length;l++)s[l-1]=c[l];if(u)for(var f=0;f<u.length;f++)s[u[f]]=c[f+1];else Object.assign(s,c.groups);return r?[!0,s,c[0]]:[!0,s]},Y=function(e){var t=e.children,n=E(e,["children"]),o=T(),i=n.hook?A:o,a=i;if(n.ssrPath){var u,c,s,l,f,p=x(n.ssrPath.split("?"),2),d=p[0],v=p[1],y=void 0===v?null!=(f=n.ssrSearch)?f:"":v;d&&(n.ssrSearch=y,n.ssrPath=d)}n.hrefs=null!=(u=n.hrefs)?u:null==(s=n.hook)?void 0:s.hrefs,n.searchHook=null!=(c=n.searchHook)?c:null==(l=n.hook)?void 0:l.searchHook;var h=(0,r.useRef)(i),m=h.current,b=m;for(var g in i){var _,O,w="base"===g?i[g]+(null!=(_=n[g])?_:""):null!=(O=n[g])?O:i[g];w!==b[g]&&(m===b&&(h.current=b=k({},b)),b[g]=w),(w!==i[g]||w!==a[g])&&(a=b)}return(0,r.createElement)(I.Provider,{value:a},t)},z=function(e,t){var n=e.children,o=e.component;return o?(0,r.createElement)(o,{params:t}):"function"==typeof n?n(t):n},q=function(e){var t=(0,r.useRef)(C),n=t.current,o=Object.keys(e);return t.current=o.length!==Object.keys(n).length||o.some(function(t){return e[t]!==n[t]})?e:n};function H(){var e=x(U(),2),t=e[0],n=e[1],o=M(),i=(0,r.useMemo)(function(){return new URLSearchParams(o)},[o]),a=i;return[i,s(function(e,r){var o=(a=new URLSearchParams("function"==typeof e?e(a):e)).toString();n(t+(o?"?"+o:""),r)})]}var W=function(e){var t=e.path,n=e.nest,o=e.match,i=E(e,["path","nest","match"]),a=T(),u=R(a),c=x(null!=o?o:F(a.parser,t,u,n),3),s=c[0],l=c[1],f=c[2],p=q(k({},N(),l));if(!s)return null;var d=z(i,p);return(0,r.createElement)(D.Provider,{value:p},f?(0,r.createElement)(Y,{base:f},d):d)},B=(0,r.forwardRef)(function(e,t){var n=T(),o=x(L(n),2),i=o[0],a=o[1],u=e.to,c=e.href,l=void 0===c?void 0===u?"":u:c,f=e.onClick,p=e.asChild,d=e.children,v=e.className,y=(e.replace,e.state,e.transition,E(e,["to","href","onClick","asChild","children","className","replace","state","transition"]));return y.onClick=s(function(t){t.ctrlKey||t.metaKey||t.altKey||t.shiftKey||0!==t.button||(null==f||f(t),t.defaultPrevented||(t.preventDefault(),a(l,e)))}),y.href=n.hrefs("~"===l[0]?l.slice(1):n.base+l,n),void 0!==v&&(y.className=(null==v?void 0:v.call)?v(i===l):v),t&&(y.ref=t),p&&(0,r.isValidElement)(d)?(0,r.cloneElement)(d,y):(0,r.createElement)("a",y,d)}),J=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(Array.isArray(e)){var n=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(n=(a=u.next()).done);
1n=!0){var c=a.value;J(c&&c.type===r.Fragment?c.props.children:c,t)}}catch(e){o=!0,i=e}finally{try{n||null==u.return||u.return()}finally{if(o)throw i}}}else t.push(e);return t},$=function(e){var t=e.children,n=e.location,o=T(),i=R(o),a=!0,u=!1,c=void 0;try{for(var s,l=J(t)[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var f=s.value,p=0;if((0,r.isValidElement)(f)&&(p=F(o.parser,f.props.path,n||i,f.props.nest))[0])return(0,r.cloneElement)(f,{match:p})}}catch(e){u=!0,c=e}finally{try{a||null==l.return||l.return()}finally{if(u)throw c}}return null}}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,i),n.exports}i.m=r,i.d=(e,t,n)=>{var r=(t,n)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,[n]:t[r]})};r(t,"get"),r(n,"value")},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce((t,n)=>(i.f[n](e,t),t),[])),i.u=e=>""+e+".js",i.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},i.l=function(e,t,n,r){if(a[e])return void a[e].push(t);if(void 0!==n)for(var o,u,c=document.getElementsByTagName("script"),s=0;s<c.length;s++){var l=c[s];if(l.getAttribute("src")==e||l.getAttribute("data-rspack")=="jfm-site:"+n){o=l;break}}o||(u=!0,(o=document.createElement("script")).timeout=120,i.nc&&o.setAttribute("nonce",i.nc),o.setAttribute("data-rspack","jfm-site:"+n),o.src=e),a[e]=[t];var f=function(t,n){o.onerror=o.onload=null,clearTimeout(p);var r=a[e];if(delete a[e],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach(function(e){return e(n)}),t)return t(n)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=f.bind(null,o.onerror),o.onload=f.bind(null,o.onload),u&&document.head.appendChild(o)},i.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.g.importScripts&&(u=i.g.location+"");var a,u,c=i.g.document;if(!u&&c&&(c.currentScript&&"SCRIPT"===c.currentScript.tagName.toUpperCase()&&(u=c.currentScript.src),!u)){var s=c.getElementsByTagName("script");if(s.length)for(var l=s.length-1;l>-1&&(!u||!/^http(s?):/.test(u));)u=s[l--].src}if(!u)throw Error("Automatic publicPath is not supported in this browser");i.p=u=u.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e={975:0},i.f.j=function(t,n){var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((n,o)=>r=e[t]=[n,o]);n.push(r[2]=o);var a=i.p+i.u(t),u=Error();i.l(a,function(n){if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;u.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",u.name="ChunkLoadError",u.type=o,u.request=a,r[1](u)}},"chunk-"+t,t)}},t=(t,n)=>{var r,o,[a,u,c]=n,s=0;if(a.some(t=>0!==e[t])){for(r in u)i.o(u,r)&&(i.m[r]=u[r]);c&&c(i)}for(t&&t(n);s<a.length;s++)o=a[s],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},(n=self.rspackChunkjfm_site=self.rspackChunkjfm_site||[]).forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n)),purchaseFlow=i(6487)})();
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.