PageSourceSearch

https://abuelitastopanga.com/js/index-515ff232879dfbbaa94905e89755fb9fa26dd2d03f364f793d7e48fc6d823383.js

js abuelitastopanga.com collected 2026-09-26 18:07:15 UTC 312,926 bytes, 10 lines download raw bytes

vendor: 5,372 bytes, line 1
1!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";function n(t,e,n){var r,i,o=(n=n||wt).createElement("script");if(o.text=t,e)for(r in _t)(i=e[r]||e.getAttribute&&e.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function r(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?ft[pt.call(t)]||"object":typeof t}function i(t){var e=!!t&&"length"in t&&t.length,n=r(t);return!yt(t)&&!bt(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function o(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function a(t,e){return e?"\0"===t?"\ufffd":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}function s(t,e,n){return yt(e)?St.grep(t,function(t,r){return!!e.call(t,r,t)!==n}):e.nodeType?St.grep(t,function(t){return t===e!==n}):"string"!=typeof e?St.grep(t,function(t){return dt.call(e,t)>-1!==n}):St.filter(e,t,n)}function c(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function u(t){var e={};return St.each(t.match(Vt)||[],function(t,n){e[n]=!0}),e}function l(t){return t}function d(t){throw t}function f(t,e,n,r){var i;try{t&&yt(i=t.promise)?i.call(t).done(e).fail(n):t&&yt(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}function p(){wt.removeEventListener("DOMContentLoaded",p),t.removeEventListener("load",p),St.ready()}function h(t,e){return e.toUpperCase()}function m(t){return t.replace(Ht,"ms-").replace(Wt,h)}function g(){this.expando=St.expando+g.uid++}function v(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Yt.test(t)?JSON.parse(t):t)}function y(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(Jt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n=v(n)}catch(t){}Kt.set(t,e,n)}else n=void 0;return n}function b(t,e,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return St.css(t,e,"")},c=s(),u=n&&n[3]||(St.cssNumber[e]?"":"px"),l=t.nodeType&&(St.cssNumber[e]||"px"!==u&&+c)&&Qt.exec(St.css(t,e));if(l&&l[3]!==u){for(c/=2,u=u||l[3],l=+c||1;a--;)St.style(t,e,l+u),(1-o)*(1-(o=s()/c||.5))<=0&&(a=0),l/=o;l*=2,St.style(t,e,l+u),n=n||[]}return n&&(l=+l||+c||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=l,r.end=i)),i}function w(t){var e,n=t.ownerDocument,r=t.nodeName,i=oe[r];return i||(e=n.body.appendChild(n.createElement(r)),i=St.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),oe[r]=i,i)}function _(t,e){for(var n,r,i=[],o=0,a=t.length;o<a;o++)(r=t[o]).style&&(n=r.style.display,e?("none"===n&&(i[o]=Zt.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ie(r)&&(i[o]=w(r))):"none"!==n&&(i[o]="none",Zt.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}function x(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&o(t,e)?St.merge([t],n):n}function k(t,e){for(var n=0,r=t.length;n<r;n++)Zt.set(t[n],"globalEval",!e||Zt.get(e[n],"globalEval"))}function S(t,e,n,i,o){for(var a,s,c,u,l,d,f=e.createDocumentFragment(),p=[],h=0,m=t.length;h<m;h++)if((a=t[h])||0===a)if("object"===r(a))St.merge(p,a.nodeType?[a]:a);else if(fe.test(a)){for(s=s||f.appendChild(e.createElement("div")),c=(ue.exec(a)||["",""])[1].toLowerCase(),u=de[c]||de._default,s.innerHTML=u[1]+St.htmlPrefilter(a)+u[2],d=u[0];d--;)s=s.lastChild;St.merge(p,s.childNodes),(s=f.firstChild).textContent=""}else p.push(e.createTextNode(a));for(f.textContent="",h=0;a=p[h++];)if(i&&St.inArray(a,i)>-1)o&&o.push(a);else if(l=ne(a),s=x(f.appendChild(a),"script"),l&&k(s),n)for(d=0;a=s[d++];)le.test(a.type||"")&&n.push(a);return f}function C(){return!0}function T(){return!1}function E(t,e,n,r,i,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof n&&(r=r||n,n=void 0),e)E(t,s,n,r,e[s],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=T;else if(!i)return t;return 1===o&&(a=i,i=function(t){return St().off(t),a.apply(this,arguments)},i.guid=a.guid||(a.guid=St.guid++)),t.each(function(){St.event.add(this,e,i,r,n)})}function A(t,e,n){n?(Zt.set(t,e,!1),St.event.add(t,e,{namespace:!1,handler:function(t){var n,r=Zt.get(this,e);if(1&t.isTrigger&&this[e]){if(r)(St.event.special[e]||{}).delegateType&&t.stopPropagation();else if(r=ct.call(arguments),Zt.set(this,e,r),this[e](),n=Zt.get(this,e),Zt.set(this,e,!1),r!==n)return t.stopImmediatePropagation(),t.preventDefault(),n}else r&&(Zt.set(this,e,St.event.trigger(r[0],r.slice(1),this)),t.stopPropagation(),t.isImmediatePropagationStopped=C)}})):void 0===Zt.get(t,e)&&St.event.add(t,e,C)}function I(t,e){return o(t,"table")&&o(11!==e.nodeType?e:e.firstChild,"tr")&&St(t).children("tbody")[0]||t}function R(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function O(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function M(t,e){var n,r,i,o,a,s;if(1===e.nodeType){if(Zt.hasData(t)&&(s=Zt.get(t).events))for(i in Zt.remove(e,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)St.event.add(e,i,s[i][n]);
vendor: 7,219 bytes, line 1
1Kt.hasData(t)&&(o=Kt.access(t),a=St.extend({},o),Kt.set(e,a))}}function P(t,e){var n=e.nodeName.toLowerCase();"input"===n&&ce.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function j(t,e,r,i){e=ut(e);var o,a,s,c,u,l,d=0,f=t.length,p=f-1,h=e[0],m=yt(h);if(m||f>1&&"string"==typeof h&&!vt.checkClone&&me.test(h))return t.each(function(n){var o=t.eq(n);m&&(e[0]=h.call(this,n,o.html())),j(o,e,r,i)});if(f&&(a=(o=S(e,t[0].ownerDocument,!1,t,i)).firstChild,1===o.childNodes.length&&(o=a),a||i)){for(c=(s=St.map(x(o,"script"),R)).length;d<f;d++)u=o,d!==p&&(u=St.clone(u,!0,!0),c&&St.merge(s,x(u,"script"))),r.call(t[d],u,d);if(c)for(l=s[s.length-1].ownerDocument,St.map(s,O),d=0;d<c;d++)u=s[d],le.test(u.type||"")&&!Zt.access(u,"globalEval")&&St.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?St._evalUrl&&!u.noModule&&St._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):n(u.textContent.replace(ge,""),u,l))}return t}function N(t,e,n){for(var r,i=e?St.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||St.cleanData(x(r)),r.parentNode&&(n&&ne(r)&&k(x(r,"script")),r.parentNode.removeChild(r));return t}function D(t,e,n){var r,i,o,a,s=ye.test(e),c=t.style;return(n=n||be(t))&&(a=n.getPropertyValue(e)||n[e],s&&a&&(a=a.replace(It,"$1")||void 0),""!==a||ne(t)||(a=St.style(t,e)),!vt.pixelBoxStyles()&&ve.test(a)&&_e.test(e)&&(r=c.width,i=c.minWidth,o=c.maxWidth,c.minWidth=c.maxWidth=c.width=a,a=n.width,c.width=r,c.minWidth=i,c.maxWidth=o)),void 0!==a?a+"":a}function L(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}function $(t){for(var e=t[0].toUpperCase()+t.slice(1),n=xe.length;n--;)if((t=xe[n]+e)in ke)return t}function B(t){var e=St.cssProps[t]||Se[t];return e||(t in ke?t:Se[t]=$(t)||t)}function U(t,e,n){var r=Qt.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function V(t,e,n,r,i,o){var a="width"===e?1:0,s=0,c=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=St.css(t,n+te[a],!0,i)),r?("content"===n&&(c-=St.css(t,"padding"+te[a],!0,i)),"margin"!==n&&(c-=St.css(t,"border"+te[a]+"Width",!0,i))):(c+=St.css(t,"padding"+te[a],!0,i),"padding"!==n?c+=St.css(t,"border"+te[a]+"Width",!0,i):s+=St.css(t,"border"+te[a]+"Width",!0,i));return!r&&o>=0&&(c+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-c-s-.5))||0),c+u}function F(t,e,n){var r=be(t),i=(!vt.boxSizingReliable()||n)&&"border-box"===St.css(t,"boxSizing",!1,r),a=i,s=D(t,e,r),c="offset"+e[0].toUpperCase()+e.slice(1);if(ve.test(s)){if(!n)return s;s="auto"}return(!vt.boxSizingReliable()&&i||!vt.reliableTrDimensions()&&o(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===St.css(t,"display",!1,r))&&t.getClientRects().length&&(i="border-box"===St.css(t,"boxSizing",!1,r),(a=c in t)&&(s=t[c])),(s=parseFloat(s)||0)+V(t,e,n||(i?"border":"content"),a,r,s)+"px"}function q(t,e,n,r,i){return new q.prototype.init(t,e,n,r,i)}function z(){Ie&&(!1===wt.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(z):t.setTimeout(z,St.fx.interval),St.fx.tick())}function H(){return t.setTimeout(function(){Ae=void 0}),Ae=Date.now()}function W(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=te[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function G(t,e,n){for(var r,i=(Y.tweeners[e]||[]).concat(Y.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,e,t))return r}function Z(t,e,n){var r,i,o,a,s,c,u,l,d="width"in e||"height"in e,f=this,p={},h=t.style,m=t.nodeType&&ie(t),g=Zt.get(t,"fxshow");for(r in n.queue||(null==(a=St._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always(function(){f.always(function(){a.unqueued--,St.queue(t,"fx").length||a.empty.fire()})})),e)if(i=e[r],Re.test(i)){if(delete e[r],o=o||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;m=!0}p[r]=g&&g[r]||St.style(t,r)}if((c=!St.isEmptyObject(e))||!St.isEmptyObject(p))for(r in d&&1===t.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(u=g&&g.display)&&(u=Zt.get(t,"display")),"none"===(l=St.css(t,"display"))&&(u?l=u:(_([t],!0),u=t.style.display||u,l=St.css(t,"display"),_([t]))),("inline"===l||"inline-block"===l&&null!=u)&&"none"===St.css(t,"float")&&(c||(f.done(function(){h.display=u}),null==u&&(l=h.display,u="none"===l?"":l)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),c=!1,p)c||(g?"hidden"in g&&(m=g.hidden):g=Zt.access(t,"fxshow",{display:u}),o&&(g.hidden=!m),m&&_([t],!0),f.done(function(){for(r in m||_([t]),Zt.remove(t,"fxshow"),p)St.style(t,r,p[r])})),c=G(m?g[r]:0,r,f),r in g||(g[r]=c.start,m&&(c.end=c.start,c.start=0))}function K(t,e){var n,r,i,o,a;for(n in t)if(i=e[r=m(n)],o=t[n],Array.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),(a=St.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete t[r],o)n in t||(t[n]=o[n],e[n]=i);else e[r]=i}function Y(t,e,n){var r,i,o=0,a=Y.prefilters.length,s=St.Deferred().always(function(){delete c.elem}),c=function(){if(i)return!1;for(var e=Ae||H(),n=Math.max(0,u.startTime+u.duration-e),r=1-(n/u.duration||0),o=0,a=u.tweens.length;o<a;o++)u.tweens[o].run(r);return s.notifyWith(t,[u,r,n]),r<1&&a?n:(a||s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u]),!1)},u=s.promise({elem:t,props:St.extend({},e),opts:St.extend(!0,{specialEasing:{},easing:St.easing._default},n),originalProperties:e,originalOptions:n,startTime:Ae||H(),duration:n.duration,tweens:[],createTween:function(e,n){var r=St.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(r),r},stop:function(e){var n=0,r=e?u.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)u.tweens[n].run(1);return e?(s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u,e])):s.rejectWith(t,[u,e]),this}}),l=u.props;for(K(l,u.opts.specialEasing);o<a;o++)if(r=Y.prefilters[o].call(u,t,l,u.opts))return yt(r.stop)&&(St._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return St.map(l,G,u),yt(u.opts.start)&&u.opts.start.call(t,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),St.fx.timer(St.extend(c,{elem:t,anim:u,queue:u.opts.queue})),u}function J(t){return(t.match(Vt)||[]).join(" ")}function X(t){return t.getAttribute&&t.getAttribute("class")||""}function Q(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(Vt)||[]}function tt(t,e,n,i){var o;if(Array.isArray(e))St.each(e,function(e,r){n||Fe.test(t)?i(t,r):tt(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,n,i)});else if(n||"object"!==r(e))i(t,e);else for(o in e)tt(t+"["+o+"]",e[o],n,i)}function et(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(Vt)||[];if(yt(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function nt(t,e,n,r){function i(s){var c;return o[s]=!0,St.each(t[s]||[],function(t,s){var u=s(e,n,r);return"string"!=typeof u||a||o[u]?a?!(c=u):void 0:(e.dataTypes.unshift(u),i(u),!1)}),c}var o={},a=t===tn;return i(e.dataTypes[0])||!o["*"]&&i("*")}function rt(t,e){var n,r,i=St.ajaxSettings.flatOptions||{};
vendor: 5,549 bytes, line 1
1for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&St.extend(!0,t,r),t}function it(t,e,n){for(var r,i,o,a,s=t.contents,c=t.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){c.unshift(i);break}if(c[0]in n)o=c[0];else{for(i in n){if(!c[0]||t.converters[i+" "+c[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==c[0]&&c.unshift(o),n[o]}function ot(t,e,n,r){var i,o,a,s,c,u={},l=t.dataTypes.slice();if(l[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(o=l.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!c&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),c=o,o=l.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(a=u[c+" "+o]||u["* "+o]))for(i in u)if((s=i.split(" "))[1]===o&&(a=u[c+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[i]&&(o=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+c+" to "+o}}}return{state:"success",data:e}}var at=[],st=Object.getPrototypeOf,ct=at.slice,ut=at.flat?function(t){return at.flat.call(t)}:function(t){return at.concat.apply([],t)},lt=at.push,dt=at.indexOf,ft={},pt=ft.toString,ht=ft.hasOwnProperty,mt=ht.toString,gt=mt.call(Object),vt={},yt=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},bt=function(t){return null!=t&&t===t.window},wt=t.document,_t={type:!0,src:!0,nonce:!0,noModule:!0},xt="3.7.1",kt=/HTML$/i,St=function(t,e){return new St.fn.init(t,e)};St.fn=St.prototype={jquery:xt,constructor:St,length:0,toArray:function(){return ct.call(this)},get:function(t){return null==t?ct.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=St.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return St.each(this,t)},map:function(t){return this.pushStack(St.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(ct.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(St.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(St.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:lt,sort:at.sort,splice:at.splice},St.extend=St.fn.extend=function(){var t,e,n,r,i,o,a=arguments[0]||{},s=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||yt(a)||(a={}),s===c&&(a=this,s--);s<c;s++)if(null!=(t=arguments[s]))for(e in t)r=t[e],"__proto__"!==e&&a!==r&&(u&&r&&(St.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[e],o=i&&!Array.isArray(n)?[]:i||St.isPlainObject(n)?n:{},i=!1,a[e]=St.extend(u,o,r)):void 0!==r&&(a[e]=r));return a},St.extend({expando:"jQuery"+(xt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==pt.call(t))&&(!(e=st(t))||"function"==typeof(n=ht.call(e,"constructor")&&e.constructor)&&mt.call(n)===gt)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,r){n(t,{nonce:e&&e.nonce},r)},each:function(t,e){var n,r=0;if(i(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},text:function(t){var e,n="",r=0,i=t.nodeType;if(!i)for(;e=t[r++];)n+=St.text(e);return 1===i||11===i?t.textContent:9===i?t.documentElement.textContent:3===i||4===i?t.nodeValue:n},makeArray:function(t,e){var n=e||[];return null!=t&&(i(Object(t))?St.merge(n,"string"==typeof t?[t]:t):lt.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:dt.call(e,t,n)},isXMLDoc:function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!kt.test(e||n&&n.nodeName||"HTML")},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r=[],i=0,o=t.length,a=!n;i<o;i++)!e(t[i],i)!==a&&r.push(t[i]);return r},map:function(t,e,n){var r,o,a=0,s=[];if(i(t))for(r=t.length;a<r;a++)null!=(o=e(t[a],a,n))&&s.push(o);else for(a in t)null!=(o=e(t[a],a,n))&&s.push(o);return ut(s)},guid:1,support:vt}),"function"==typeof Symbol&&(St.fn[Symbol.iterator]=at[Symbol.iterator]),St.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){ft["[object "+e+"]"]=e.toLowerCase()});var Ct=at.pop,Tt=at.sort,Et=at.splice,At="[\\x20\\t\\r\\n\\f]",It=new RegExp("^"+At+"+|((?:^|[^\\\\])(?:\\\\.)*)"+At+"+$","g");St.contains=function(t,e){var n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(t.contains?t.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))};var Rt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;St.escapeSelector=function(t){return(t+"").replace(Rt,a)};var Ot=wt,Mt=lt;!function(){function e(){try{return R.activeElement}catch(t){}}function n(t,e,r,i){var o,a,s,c,u,l,p,g=e&&e.ownerDocument,v=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==v&&9!==v&&11!==v)return r;if(!i&&(f(e),e=e||R,M)){if(11!==v&&(u=rt.exec(t)))if(o=u[1]){if(9===v){if(!(s=e.getElementById(o)))return r;if(s.id===o)return N.call(r,s),r}else if(g&&(s=g.getElementById(o))&&n.contains(e,s)&&s.id===o)return N.call(r,s),r}else{if(u[2])return N.apply(r,e.getElementsByTagName(t)),r;if((o=u[3])&&e.getElementsByClassName)return N.apply(r,e.getElementsByClassName(o)),r}
vendor: 6,141 bytes, line 1
1if(!(F[t+" "]||P&&P.test(t))){if(p=t,g=e,1===v&&(J.test(t)||Y.test(t))){for((g=it.test(t)&&d(e.parentNode)||e)==e&&vt.scope||((c=e.getAttribute("id"))?c=St.escapeSelector(c):e.setAttribute("id",c=D)),a=(l=h(t)).length;a--;)l[a]=(c?"#"+c:":scope")+" "+m(l[a]);p=l.join(",")}try{return N.apply(r,g.querySelectorAll(p)),r}catch(e){F(t,!0)}finally{c===D&&e.removeAttribute("id")}}}return S(t.replace(It,"$1"),e,r,i)}function r(){function t(n,r){return e.push(n+" ")>T.cacheLength&&delete t[e.shift()],t[n+" "]=r}var e=[];return t}function i(t){return t[D]=!0,t}function a(t){var e=R.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function s(t){return function(e){return o(e,"input")&&e.type===t}}function c(t){return function(e){return(o(e,"input")||o(e,"button"))&&e.type===t}}function u(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&lt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function l(t){return i(function(e){return e=+e,i(function(n,r){for(var i,o=t([],n.length,e),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function d(t){return t&&void 0!==t.getElementsByTagName&&t}function f(t){var e,r=t?t.ownerDocument||t:Ot;return r!=R&&9===r.nodeType&&r.documentElement?(O=(R=r).documentElement,M=!St.isXMLDoc(R),j=O.matches||O.webkitMatchesSelector||O.msMatchesSelector,O.msMatchesSelector&&Ot!=R&&(e=R.defaultView)&&e.top!==e&&e.addEventListener("unload",ut),vt.getById=a(function(t){return O.appendChild(t).id=St.expando,!R.getElementsByName||!R.getElementsByName(St.expando).length}),vt.disconnectedMatch=a(function(t){return j.call(t,"*")}),vt.scope=a(function(){return R.querySelectorAll(":scope")}),vt.cssHas=a(function(){try{return R.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}}),vt.getById?(T.filter.ID=function(t){var e=t.replace(ot,st);return function(t){return t.getAttribute("id")===e}},T.find.ID=function(t,e){if(void 0!==e.getElementById&&M){var n=e.getElementById(t);return n?[n]:[]}}):(T.filter.ID=function(t){var e=t.replace(ot,st);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},T.find.ID=function(t,e){if(void 0!==e.getElementById&&M){var n,r,i,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),T.find.TAG=function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},T.find.CLASS=function(t,e){if(void 0!==e.getElementsByClassName&&M)return e.getElementsByClassName(t)},P=[],a(function(t){var e;O.appendChild(t).innerHTML="<a id='"+D+"' href='' disabled='disabled'></a><select id='"+D+"-\r\\' disabled='disabled'><option selected=''></option></select>",t.querySelectorAll("[selected]").length||P.push("\\["+At+"*(?:value|"+z+")"),t.querySelectorAll("[id~="+D+"-]").length||P.push("~="),t.querySelectorAll("a#"+D+"+*").length||P.push(".#.+[+~]"),t.querySelectorAll(":checked").length||P.push(":checked"),(e=R.createElement("input")).setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),O.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&P.push(":enabled",":disabled"),(e=R.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||P.push("\\["+At+"*name"+At+"*="+At+"*(?:''|\"\")")}),vt.cssHas||P.push(":has"),P=P.length&&new RegExp(P.join("|")),q=function(t,e){if(t===e)return I=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!vt.sortDetached&&e.compareDocumentPosition(t)===r?t===R||t.ownerDocument==Ot&&n.contains(Ot,t)?-1:e===R||e.ownerDocument==Ot&&n.contains(Ot,e)?1:A?dt.call(A,t)-dt.call(A,e):0:4&r?-1:1)},R):R}function p(){}function h(t,e){var r,i,o,a,s,c,u,l=U[t+" "];if(l)return e?0:l.slice(0);for(s=t,c=[],u=T.preFilter;s;){for(a in r&&!(i=K.exec(s))||(i&&(s=s.slice(i[0].length)||s),c.push(o=[])),r=!1,(i=Y.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(It," ")}),s=s.slice(r.length)),T.filter)!(i=tt[a].exec(s))||u[a]&&!(i=u[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return e?s.length:s?n.error(t):U(t,c).slice(0)}function m(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function g(t,e,n){var r=e.dir,i=e.next,a=i||r,s=n&&"parentNode"===a,c=$++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||s)return t(e,n,i);return!1}:function(e,n,u){var l,d,f=[L,c];if(u){for(;e=e[r];)if((1===e.nodeType||s)&&t(e,n,u))return!0}else for(;e=e[r];)if(1===e.nodeType||s)if(d=e[D]||(e[D]={}),i&&o(e,i))e=e[r]||e;else{if((l=d[a])&&l[0]===L&&l[1]===c)return f[2]=l[2];if(d[a]=f,f[2]=t(e,n,u))return!0}return!1}}function v(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function y(t,e,r){for(var i=0,o=e.length;i<o;i++)n(t,e[i],r);return r}function b(t,e,n,r,i){for(var o,a=[],s=0,c=t.length,u=null!=e;s<c;s++)(o=t[s])&&(n&&!n(o,r,i)||(a.push(o),u&&e.push(s)));return a}function w(t,e,n,r,o,a){return r&&!r[D]&&(r=w(r)),o&&!o[D]&&(o=w(o,a)),i(function(i,a,s,c){var u,l,d,f,p=[],h=[],m=a.length,g=i||y(e||"*",s.nodeType?[s]:s,[]),v=!t||!i&&e?g:b(g,p,t,s,c);if(n?n(v,f=o||(i?t:m||r)?[]:a,s,c):f=v,r)for(u=b(f,h),r(u,[],s,c),l=u.length;l--;)(d=u[l])&&(f[h[l]]=!(v[h[l]]=d));if(i){if(o||t){if(o){for(u=[],l=f.length;l--;)(d=f[l])&&u.push(v[l]=d);o(null,f=[],u,c)}for(l=f.length;l--;)(d=f[l])&&(u=o?dt.call(i,d):p[l])>-1&&(i[u]=!(a[u]=d))}}else f=b(f===a?f.splice(m,f.length):f),o?o(null,a,f,c):N.apply(a,f)})}function _(t){for(var e,n,r,i=t.length,o=T.relative[t[0].type],a=o||T.relative[" "],s=o?1:0,c=g(function(t){return t===e},a,!0),u=g(function(t){return dt.call(e,t)>-1},a,!0),l=[function(t,n,r){var i=!o&&(r||n!=E)||((e=n).nodeType?c(t,n,r):u(t,n,r));return e=null,i}];s<i;s++)if(n=T.relative[t[s].type])l=[g(v(l),n)];
vendor: 4,321 bytes, line 1
1else{if((n=T.filter[t[s].type].apply(null,t[s].matches))[D]){for(r=++s;r<i&&!T.relative[t[r].type];r++);return w(s>1&&v(l),s>1&&m(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(It,"$1"),n,s<r&&_(t.slice(s,r)),r<i&&_(t=t.slice(r)),r<i&&m(t))}l.push(n)}return v(l)}function x(t,e){var n=e.length>0,r=t.length>0,o=function(i,o,a,s,c){var u,l,d,p=0,h="0",m=i&&[],g=[],v=E,y=i||r&&T.find.TAG("*",c),w=L+=null==v?1:Math.random()||.1,_=y.length;for(c&&(E=o==R||o||c);h!==_&&null!=(u=y[h]);h++){if(r&&u){for(l=0,o||u.ownerDocument==R||(f(u),a=!M);d=t[l++];)if(d(u,o||R,a)){N.call(s,u);break}c&&(L=w)}n&&((u=!d&&u)&&p--,i&&m.push(u))}if(p+=h,n&&h!==p){for(l=0;d=e[l++];)d(m,g,o,a);if(i){if(p>0)for(;h--;)m[h]||g[h]||(g[h]=Ct.call(s));g=b(g)}N.apply(s,g),c&&!i&&g.length>0&&p+e.length>1&&St.uniqueSort(s)}return c&&(L=w,E=v),m};return n?i(o):o}function k(t,e){var n,r=[],i=[],o=V[t+" "];if(!o){for(e||(e=h(t)),n=e.length;n--;)(o=_(e[n]))[D]?r.push(o):i.push(o);(o=V(t,x(i,r))).selector=t}return o}function S(t,e,n,r){var i,o,a,s,c,u="function"==typeof t&&t,l=!r&&h(t=u.selector||t);if(n=n||[],1===l.length){if((o=l[0]=l[0].slice(0)).length>2&&"ID"===(a=o[0]).type&&9===e.nodeType&&M&&T.relative[o[1].type]){if(!(e=(T.find.ID(a.matches[0].replace(ot,st),e)||[])[0]))return n;u&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(i=tt.needsContext.test(t)?0:o.length;i--&&(a=o[i],!T.relative[s=a.type]);)if((c=T.find[s])&&(r=c(a.matches[0].replace(ot,st),it.test(o[0].type)&&d(e.parentNode)||e))){if(o.splice(i,1),!(t=r.length&&m(o)))return N.apply(n,r),n;break}}return(u||k(t,l))(r,e,!M,n,!e||it.test(t)&&d(e.parentNode)||e),n}var C,T,E,A,I,R,O,M,P,j,N=Mt,D=St.expando,L=0,$=0,B=r(),U=r(),V=r(),F=r(),q=function(t,e){return t===e&&(I=!0),0},z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",H="(?:\\\\[\\da-fA-F]{1,6}"+At+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",W="\\["+At+"*("+H+")(?:"+At+"*([*^$|!~]?=)"+At+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+H+"))|)"+At+"*\\]",G=":("+H+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",Z=new RegExp(At+"+","g"),K=new RegExp("^"+At+"*,"+At+"*"),Y=new RegExp("^"+At+"*([>+~]|"+At+")"+At+"*"),J=new RegExp(At+"|>"),X=new RegExp(G),Q=new RegExp("^"+H+"$"),tt={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+G),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+At+"*(even|odd|(([+-]|)(\\d*)n|)"+At+"*(?:([+-]|)"+At+"*(\\d+)|))"+At+"*\\)|)","i"),bool:new RegExp("^(?:"+z+")$","i"),needsContext:new RegExp("^"+At+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+At+"*((?:-\\d)?\\d*)"+At+"*\\)|)(?=[^-]|$)","i")},et=/^(?:input|select|textarea|button)$/i,nt=/^h\d$/i,rt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,it=/[+~]/,ot=new RegExp("\\\\[\\da-fA-F]{1,6}"+At+"?|\\\\([^\\r\\n\\f])","g"),st=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ut=function(){f()},lt=g(function(t){return!0===t.disabled&&o(t,"fieldset")},{dir:"parentNode",next:"legend"});try{N.apply(at=ct.call(Ot.childNodes),Ot.childNodes),at[Ot.childNodes.length].nodeType}catch(t){N={apply:function(t,e){Mt.apply(t,ct.call(e))},call:function(t){Mt.apply(t,ct.call(arguments,1))}}}for(C in n.matches=function(t,e){return n(t,null,null,e)},n.matchesSelector=function(t,e){if(f(t),M&&!F[e+" "]&&(!P||!P.test(e)))try{var r=j.call(t,e);if(r||vt.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){F(e,!0)}return n(e,R,null,[t]).length>0},n.contains=function(t,e){return(t.ownerDocument||t)!=R&&f(t),St.contains(t,e)},n.attr=function(t,e){(t.ownerDocument||t)!=R&&f(t);var n=T.attrHandle[e.toLowerCase()],r=n&&ht.call(T.attrHandle,e.toLowerCase())?n(t,e,!M):void 0;return void 0!==r?r:t.getAttribute(e)},n.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},St.uniqueSort=function(t){var e,n=[],r=0,i=0;if(I=!vt.sortStable,A=!vt.sortStable&&ct.call(t,0),Tt.call(t,q),I){for(;e=t[i++];)e===t[i]&&(r=n.push(i));for(;r--;)Et.call(t,n[r],1)}return A=null,t},St.fn.uniqueSort=function(){return this.pushStack(St.uniqueSort(ct.a
vendor: 10,170 bytes, lines 1-2
1pply(this)))},T=St.expr={cacheLength:50,createPseudo:i,match:tt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(ot,st),t[3]=(t[3]||t[4]||t[5]||"").replace(ot,st),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||n.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&n.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return tt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&X.test(n)&&(e=h(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(ot,st).toLowerCase();return"*"===t?function(){return!0}:function(t){return o(t,e)}},CLASS:function(t){var e=B[t+" "];return e||(e=new RegExp("(^|"+At+")"+t+"("+At+"|$)"))&&B(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,r){return function(i){var o=n.attr(i,t);return null==o?"!="===e:!e||(o+="","="===e?o===r:"!="===e?o!==r:"^="===e?r&&0===o.indexOf(r):"*="===e?r&&o.indexOf(r)>-1:"$="===e?r&&o.slice(-r.length)===r:"~="===e?(" "+o.replace(Z," ")+" ").indexOf(r)>-1:"|="===e&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(t,e,n,r,i){var a="nth"!==t.slice(0,3),s="last"!==t.slice(-4),c="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,u){var l,d,f,p,h,m=a!==s?"nextSibling":"previousSibling",g=e.parentNode,v=c&&e.nodeName.toLowerCase(),y=!u&&!c,b=!1;if(g){if(a){for(;m;){for(f=e;f=f[m];)if(c?o(f,v):1===f.nodeType)return!1;h=m="only"===t&&!h&&"nextSibling"}return!0}if(h=[s?g.firstChild:g.lastChild],s&&y){for(b=(p=(l=(d=g[D]||(g[D]={}))[t]||[])[0]===L&&l[1])&&l[2],f=p&&g.childNodes[p];f=++p&&f&&f[m]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===e){d[t]=[L,p,b];break}}else if(y&&(b=p=(l=(d=e[D]||(e[D]={}))[t]||[])[0]===L&&l[1]),!1===b)for(;(f=++p&&f&&f[m]||(b=p=0)||h.pop())&&(!(c?o(f,v):1===f.nodeType)||!++b||(y&&((d=f[D]||(f[D]={}))[t]=[L,b]),f!==e)););return(b-=i)===r||b%r===0&&b/r>=0}}},PSEUDO:function(t,e){var r,o=T.pseudos[t]||T.setFilters[t.toLowerCase()]||n.error("unsupported pseudo: "+t);return o[D]?o(e):o.length>1?(r=[t,t,"",e],T.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,n){for(var r,i=o(t,e),a=i.length;a--;)t[r=dt.call(t,i[a])]=!(n[r]=i[a])}):function(t){return o(t,0,r)}):o}},pseudos:{not:i(function(t){var e=[],n=[],r=k(t.replace(It,"$1"));return r[D]?i(function(t,e,n,i){for(var o,a=r(t,null,i,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(e){return n(t,e).length>0}}),contains:i(function(t){return t=t.replace(ot,st),function(e){return(e.textContent||St.text(e)).indexOf(t)>-1}}),lang:i(function(t){return Q.test(t||"")||n.error("unsupported lang: "+t),t=t.replace(ot,st).toLowerCase(),function(e){var n;do{if(n=M?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===O},focus:function(t){return t===e()&&R.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:u(!1),disabled:u(!0),checked:function(t){return o(t,"input")&&!!t.checked||o(t,"option")&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!T.pseudos.empty(t)},header:function(t){return nt.test(t.nodeName)},input:function(t){return et.test(t.nodeName)},button:function(t){return o(t,"input")&&"button"===t.type||o(t,"button")},text:function(t){var e;return o(t,"input")&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:l(function(){return[0]}),
2last:l(function(t,e){return[e-1]}),eq:l(function(t,e,n){return[n<0?n+e:n]}),even:l(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:l(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:l(function(t,e,n){var r;for(r=n<0?n+e:n>e?e:n;--r>=0;)t.push(r);return t}),gt:l(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}},T.pseudos.nth=T.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})T.pseudos[C]=s(C);for(C in{submit:!0,reset:!0})T.pseudos[C]=c(C);p.prototype=T.filters=T.pseudos,T.setFilters=new p,vt.sortStable=D.split("").sort(q).join("")===D,f(),vt.sortDetached=a(function(t){return 1&t.compareDocumentPosition(R.createElement("fieldset"))}),St.find=n,St.expr[":"]=St.expr.pseudos,St.unique=St.uniqueSort,n.compile=k,n.select=S,n.setDocument=f,n.tokenize=h,n.escape=St.escapeSelector,n.getText=St.text,n.isXML=St.isXMLDoc,n.selectors=St.expr,n.support=St.support,n.uniqueSort=St.uniqueSort}();var Pt=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&St(t).is(n))break;r.push(t)}return r},jt=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},Nt=St.expr.match.needsContext,Dt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;St.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?St.find.matchesSelector(r,t)?[r]:[]:St.find.matches(t,St.grep(e,function(t){return 1===t.nodeType}))},St.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(St(t).filter(function(){for(e=0;e<r;e++)if(St.contains(i[e],this))return!0}));for(n=this.pushStack([]),e=0;e<r;e++)St.find(t,i[e],n);return r>1?St.uniqueSort(n):n},filter:function(t){return this.pushStack(s(this,t||[],!1))},not:function(t){return this.pushStack(s(this,t||[],!0))},is:function(t){return!!s(this,"string"==typeof t&&Nt.test(t)?St(t):t||[],!1).length}});var Lt,$t=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(St.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||Lt,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:$t.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof St?e[0]:e,St.merge(this,St.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:wt,!0)),Dt.test(r[1])&&St.isPlainObject(e))for(r in e)yt(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(i=wt.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):yt(t)?void 0!==n.ready?n.ready(t):t(St):St.makeArray(t,this)}).prototype=St.fn,Lt=St(wt);var Bt=/^(?:parents|prev(?:Until|All))/,Ut={children:!0,contents:!0,next:!0,prev:!0};St.fn.extend({has:function(t){var e=St(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(St.contains(this,e[t]))return!0})},closest:function(t,e){var n,r=0,i=this.length,o=[],a="string"!=typeof t&&St(t);if(!Nt.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&St.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?St.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?dt.call(St(t),this[0]):dt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(St.uniqueSort(St.merge(this.get(),St(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),St.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Pt(t,"parentNode")},parentsUntil:function(t,e,n){return Pt(t,"parentNode",n)},next:function(t){return c(t,"nextSibling")},prev:function(t){return c(t,"previousSibling")},nextAll:function(t){return Pt(t,"nextSibling")},prevAll:function(t){return Pt(t,"previousSibling")},nextUntil:function(t,e,n){return Pt(t,"nextSibling",n)},prevUntil:function(t,e,n){return Pt(t,"previousSibling",n)},siblings:function(t){return jt((t.parentNode||{}).firstChild,t)},children:function(t){return jt(t.firstChild)},contents:function(t){return null!=t.contentDocument&&st(t.contentDocument)?t.contentDocument:(o(t,"template")&&(t=t.content||t),St.merge([],t.childNodes))}},function(t,e){St.fn[t]=function(n,r){var i=St.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=St.filter(r,i)),this.length>1&&(Ut[t]||St.uniqueSort(i),Bt.test(t)&&i.reverse()),this.pushStack(i)}});var Vt=/[^\x20\t\r\n\f]+/g;St.Callbacks=function(t){t="string"==typeof t?u(t):St.extend({},t);var e,n,i,o,a=[],s=[],c=-1,l=function(){for(o=o||t.once,i=e=!0;s.length;c=-1)for(n=s.shift();++c<a.length;)!1===a[c].apply(n[0],n[1])&&t.stopOnFalse&&(c=a.length,n=!1);t.memory||(n=!1),e=!1,o&&(a=n?[]:"")},d={add:function(){return a&&(n&&!e&&(c=a.length-1,s.push(n)),function e(n){St.each(n,function(n,i){yt(i)?t.unique&&d.has(i)||a.push(i):i&&i.length&&"string"!==r(i)&&e(i)})}(arguments),n&&!e&&l()),this},remove:function(){return St.each(arguments,function(t,e){for(var n;(n=St.inArray(e,a,n))>-1;)a.splice(n,1),n<=c&&c--}),this},has:function(t){return t?St.inArray(t,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return o=s=[],a=n="",this},disabled:function(){return!a},lock:function(){return o=s=[],n||e||(a=n=""),this},locked:function(){return!!o},fireWith:function(t,n){return o||(n=[t,(n=n||[]).slice?n.slice():n],s.push(n),e||l()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!i}};return d},St.extend({Deferred:function(e){var n=[["notify","progress",St.Callbacks("memory"),St.Callbacks("memory"),2],["resolve","done",St.Callbacks("once memory"),St.Callbacks("once memory"),0,"resolved"],["reject","fail",St.Callbacks("once memory"),St.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;
vendor: 7,064 bytes, line 2
2return St.Deferred(function(e){St.each(n,function(n,r){var i=yt(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&yt(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(e,r,i){function o(e,n,r,i){return function(){var s=this,c=arguments,u=function(){var t,u;if(!(e<a)){if((t=r.apply(s,c))===n.promise())throw new TypeError("Thenable self-resolution");u=t&&("object"==typeof t||"function"==typeof t)&&t.then,yt(u)?i?u.call(t,o(a,n,l,i),o(a,n,d,i)):(a++,u.call(t,o(a,n,l,i),o(a,n,d,i),o(a,n,l,n.notifyWith))):(r!==l&&(s=void 0,c=[t]),(i||n.resolveWith)(s,c))}},f=i?u:function(){try{u()}catch(t){St.Deferred.exceptionHook&&St.Deferred.exceptionHook(t,f.error),e+1>=a&&(r!==d&&(s=void 0,c=[t]),n.rejectWith(s,c))}};e?f():(St.Deferred.getErrorHook?f.error=St.Deferred.getErrorHook():St.Deferred.getStackHook&&(f.error=St.Deferred.getStackHook()),t.setTimeout(f))}}var a=0;return St.Deferred(function(t){n[0][3].add(o(0,t,yt(i)?i:l,t.notifyWith)),n[1][3].add(o(0,t,yt(e)?e:l)),n[2][3].add(o(0,t,yt(r)?r:d))}).promise()},promise:function(t){return null!=t?St.extend(t,i):i}},o={};return St.each(n,function(t,e){var a=e[2],s=e[5];i[e[1]]=a.add,s&&a.add(function(){r=s},n[3-t][2].disable,n[3-t][3].disable,n[0][2].lock,n[0][3].lock),a.add(e[3].fire),o[e[0]]=function(){return o[e[0]+"With"](this===o?void 0:this,arguments),this},o[e[0]+"With"]=a.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=ct.call(arguments),o=St.Deferred(),a=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?ct.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(f(t,o.done(a(n)).resolve,o.reject,!e),"pending"===o.state()||yt(i[n]&&i[n].then)))return o.then();for(;n--;)f(i[n],a(n),o.reject);return o.promise()}});var Ft=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;St.Deferred.exceptionHook=function(e,n){t.console&&t.console.warn&&e&&Ft.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},St.readyException=function(e){t.setTimeout(function(){throw e})};var qt=St.Deferred();St.fn.ready=function(t){return qt.then(t).catch(function(t){St.readyException(t)}),this},St.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--St.readyWait:St.isReady)||(St.isReady=!0,!0!==t&&--St.readyWait>0||qt.resolveWith(wt,[St]))}}),St.ready.then=qt.then,"complete"===wt.readyState||"loading"!==wt.readyState&&!wt.documentElement.doScroll?t.setTimeout(St.ready):(wt.addEventListener("DOMContentLoaded",p),t.addEventListener("load",p));var zt=function(t,e,n,i,o,a,s){var c=0,u=t.length,l=null==n;if("object"===r(n))for(c in o=!0,n)zt(t,e,c,n[c],!0,a,s);else if(void 0!==i&&(o=!0,yt(i)||(s=!0),l&&(s?(e.call(t,i),e=null):(l=e,e=function(t,e,n){return l.call(St(t),n)})),e))for(;c<u;c++)e(t[c],n,s?i:i.call(t[c],c,e(t[c],n)));return o?t:l?e.call(t):u?e(t[0],n):a},Ht=/^-ms-/,Wt=/-([a-z])/g,Gt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};g.uid=1,g.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Gt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[m(e)]=n;else for(r in e)i[m(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][m(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){n=(e=Array.isArray(e)?e.map(m):(e=m(e))in r?[e]:e.match(Vt)||[]).length;for(;n--;)delete r[e[n]]}(void 0===e||St.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!St.isEmptyObject(e)}};var Zt=new g,Kt=new g,Yt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Jt=/[A-Z]/g;St.extend({hasData:function(t){return Kt.hasData(t)||Zt.hasData(t)},data:function(t,e,n){return Kt.access(t,e,n)},removeData:function(t,e){Kt.remove(t,e)},_data:function(t,e,n){return Zt.access(t,e,n)},_removeData:function(t,e){Zt.remove(t,e)}}),St.fn.extend({data:function(t,e){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(i=Kt.get(o),1===o.nodeType&&!Zt.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=m(r.slice(5)),y(o,r,i[r]));Zt.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each(function(){Kt.set(this,t)}):zt(this,function(e){var n;if(o&&void 0===e)return void 0!==(n=Kt.get(o,t))||void 0!==(n=y(o,t))?n:void 0;this.each(function(){Kt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Kt.remove(this,t)})}}),St.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=Zt.get(t,e),n&&(!r||Array.isArray(n)?r=Zt.access(t,e,St.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=St.queue(t,e),r=n.length,i=n.shift(),o=St._queueHooks(t,e),a=function(){St.dequeue(t,e)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Zt.get(t,n)||Zt.access(t,n,{empty:St.Callbacks("once memory").add(function(){Zt.remove(t,[e+"queue",n])})})}}),St.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?St.queue(this[0],t):void 0===e?this:this.each(function(){var n=St.queue(this,t,e);St._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&St.dequeue(this,t)})},dequeue:function(t){return this.each(function(){St.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=St.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=Zt.get(o[a],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(e)}});var Xt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Qt=new RegExp("^(?:([+-])=|)("+Xt+")([a-z%]*)$","i"),te=["Top","Right","Bottom","Left"],ee=wt.documentElement,ne=function(t){return St.contains(t.ownerDocument,t)},re={composed:!0};ee.getRootNode&&(ne=function(t){return St.contains(t.ownerDocument,t)||t.getRootNode(re)===t.ownerDocument});var ie=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&ne(t)&&"none"===St.css(t,"display")},oe={};St.fn.extend({show:function(){return _(this,!0)},hide:function(){return _(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){ie(this)?St(this).show():St(this).hide()})}});var ae,se,ce=/^(?:checkbox|radio)$/i,ue=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,le=/^$|^module$|\/(?:java|ecma)script/i;ae=wt.createDocumentFragment().appendChild(wt.createElement("div")),(se=wt.createElement("input")).setAttribute("type","radio"),se.setAttribute("checked","checked"),se.setAttribute("name","t"),ae.appendChild(se),vt.checkClone
vendor: 6,043 bytes, line 2
2=ae.cloneNode(!0).cloneNode(!0).lastChild.checked,ae.innerHTML="<textarea>x</textarea>",vt.noCloneChecked=!!ae.cloneNode(!0).lastChild.defaultValue,ae.innerHTML="<option></option>",vt.option=!!ae.lastChild;var de={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};de.tbody=de.tfoot=de.colgroup=de.caption=de.thead,de.th=de.td,vt.option||(de.optgroup=de.option=[1,"<select multiple='multiple'>","</select>"]);var fe=/<|&#?\w+;/,pe=/^([^.]*)(?:\.(.+)|)/;St.event={global:{},add:function(t,e,n,r,i){var o,a,s,c,u,l,d,f,p,h,m,g=Zt.get(t);if(Gt(t))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&St.find.matchesSelector(ee,i),n.guid||(n.guid=St.guid++),(c=g.events)||(c=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(e){return void 0!==St&&St.event.triggered!==e.type?St.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(Vt)||[""]).length;u--;)p=m=(s=pe.exec(e[u])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=St.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=St.event.special[p]||{},l=St.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&St.expr.match.needsContext.test(i),namespace:h.join(".")},o),(f=c[p])||((f=c[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(p,a)),d.add&&(d.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,l):f.push(l),St.event.global[p]=!0)},remove:function(t,e,n,r,i){var o,a,s,c,u,l,d,f,p,h,m,g=Zt.hasData(t)&&Zt.get(t);if(g&&(c=g.events)){for(u=(e=(e||"").match(Vt)||[""]).length;u--;)if(p=m=(s=pe.exec(e[u])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=St.event.special[p]||{},f=c[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)l=f[o],!i&&m!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(f.splice(o,1),l.selector&&f.delegateCount--,d.remove&&d.remove.call(t,l));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(t,h,g.handle)||St.removeEvent(t,p,g.handle),delete c[p])}else for(p in c)St.event.remove(t,p+e[u],n,r,!0);St.isEmptyObject(c)&&Zt.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,a,s=new Array(arguments.length),c=St.event.fix(t),u=(Zt.get(this,"events")||Object.create(null))[c.type]||[],l=St.event.special[c.type]||{};for(s[0]=c,e=1;e<arguments.length;e++)s[e]=arguments[e];if(c.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,c)){for(a=St.event.handlers.call(this,c,u),e=0;(i=a[e++])&&!c.isPropagationStopped();)for(c.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==o.namespace&&!c.rnamespace.test(o.namespace)||(c.handleObj=o,c.data=o.data,void 0!==(r=((St.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(c.result=r)&&(c.preventDefault(),c.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,c),c.result}},handlers:function(t,e){var n,r,i,o,a,s=[],c=e.delegateCount,u=t.target;if(c&&u.nodeType&&!("click"===t.type&&t.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(o=[],a={},n=0;n<c;n++)void 0===a[i=(r=e[n]).selector+" "]&&(a[i]=r.needsContext?St(i,this).index(u)>-1:St.find(i,this,null,[u]).length),a[i]&&o.push(r);o.length&&s.push({elem:u,handlers:o})}return u=this,c<e.length&&s.push({elem:u,handlers:e.slice(c)}),s},addProp:function(t,e){Object.defineProperty(St.Event.prototype,t,{enumerable:!0,configurable:!0,get:yt(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[St.expando]?t:new St.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return ce.test(e.type)&&e.click&&o(e,"input")&&A(e,"click",!0),!1},trigger:function(t){var e=this||t;return ce.test(e.type)&&e.click&&o(e,"input")&&A(e,"click"),!0},_default:function(t){var e=t.target;return ce.test(e.type)&&e.click&&o(e,"input")&&Zt.get(e,"click")||o(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},St.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},St.Event=function(t,e){if(!(this instanceof St.Event))return new St.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?C:T,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&St.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[St.expando]=!0},St.Event.prototype={constructor:St.Event,isDefaultPrevented:T,isPropagationStopped:T,isImmediatePropagationStopped:T,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=C,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=C,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=C,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},St.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},St.event.addProp),St.each({focus:"focusin",blur:"focusout"},function(t,e){function n(t){if(wt.documentMode){var n=Zt.get(this,"handle"),r=St.event.fix(t);
vendor: 1,040 bytes, line 2
2r.type="focusin"===t.type?"focus":"blur",r.isSimulated=!0,n(t),r.target===r.currentTarget&&n(r)}else St.event.simulate(e,t.target,St.event.fix(t))}St.event.special[t]={setup:function(){var r;if(A(this,t,!0),!wt.documentMode)return!1;(r=Zt.get(this,e))||this.addEventListener(e,n),Zt.set(this,e,(r||0)+1)},trigger:function(){return A(this,t),!0},teardown:function(){var t;if(!wt.documentMode)return!1;(t=Zt.get(this,e)-1)?Zt.set(this,e,t):(this.removeEventListener(e,n),Zt.remove(this,e))},_default:function(e){return Zt.get(e.target,t)},delegateType:e},St.event.special[e]={setup:function(){var r=this.ownerDocument||this.document||this,i=wt.documentMode?this:r,o=Zt.get(i,e);o||(wt.documentMode?this.addEventListener(e,n):r.addEventListener(t,n,!0)),Zt.set(i,e,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=wt.documentMode?this:r,o=Zt.get(i,e)-1;o?Zt.set(i,e,o):(wt.documentMode?this.removeEventListener(e,n):r.removeEventListener(t,n,!0),Zt.remove(i,e))}}}),St.each({mouseenter:"mouseover",mouseleave:"mou
2seout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){St.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=this,i=t.relatedTarget,o=t.handleObj;return i&&(i===r||St.contains(r,i))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),St.fn.extend({on:function(t,e,n,r){return E(this,t,e,n,r)},one:function(t,e,n,r){return E(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,St(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=T),this.each(function(){St.event.remove(this,t,n,e)})}});var he=/<script|<style|<link/i,me=/checked\s*(?:[^=]|=\s*.checked.)/i,ge=/^\s*<!\[CDATA\[|\]\]>\s*$/g;St.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var r,i,o,a,s=t.cloneNode(!0),c=ne(t);if(!(vt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||St.isXMLDoc(t)))for(a=x(s),r=0,i=(o=x(t)).length;r<i;r++)P(o[r],a[r]);if(e)if(n)for(o=o||x(t),a=a||x(s),r=0,i=o.length;r<i;r++)M(o[r],a[r]);else M(t,s);return(a=x(s,"script")).length>0&&k(a,!c&&x(t,"script")),s},cleanData:function(t){for(var e,n,r,i=St.event.special,o=0;void 0!==(n=t[o]);o++)if(Gt(n)){if(e=n[Zt.expando]){if(e.events)for(r in e.events)i[r]?St.event.remove(n,r):St.removeEvent(n,r,e.handle);n[Zt.expando]=void 0}n[Kt.expando]&&(n[Kt.expando]=void 0)}}}),St.fn.extend({detach:function(t){return N(this,t,!0)},remove:function(t){return N(this,t)},text:function(t){return zt(this,function(t){return void 0===t?St.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return j(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||I(this,t).appendChild(t)})},prepend:function(){return j(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=I(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return j(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return j(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(St.cleanData(x(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return St.clone(this,t,e)})},html:function(t){return zt(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!he.test(t)&&!de[(ue.exec(t)||["",""])[1].toLowerCase()]){t=St.htmlPrefilter(t);try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(St.cleanData(x(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return j(this,arguments,function(e){var n=this.parentNode;St.inArray(this,t)<0&&(St.cleanData(x(this)),n&&n.replaceChild(e,this))},t)}}),St.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){St.fn[t]=function(t){for(var n,r=[],i=St(t),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),St(i[a])[e](n),lt.apply(r,n.get());return this.pushStack(r)}});var ve=new RegExp("^("+Xt+")(?!px)[a-z%]+$","i"),ye=/^--/,be=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)},we=function(t,e,n){var r,i,o={};for(i in e)o[i]=t.style[i],t.style[i]=e[i];for(i in r=n.call(t),e)t.style[i]=o[i];return r},_e=new RegExp(te.join("|"),"i");!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ee.appendChild(u).appendChild(l);var e=t.getComputedStyle(l);r="1%"!==e.top,c=12===n(e.marginLeft),l.style.right="60%",a=36===n(e.right),i=36===n(e.width),l.style.position="absolute",o=12===n(l.offsetWidth/3),ee.removeChild(u),l=null}}function n(t){return Math.round(parseFloat(t))}var r,i,o,a,s,c,u=wt.createElement("div"),l=wt.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",vt.clearCloneStyle="content-box"===l.style.backgroundClip,St.extend(vt,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),c},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,n,r,i;return null==s&&(e=wt.createElement("table"),n=wt.createElement("tr"),r=wt.createElement("div"),e.style.cssText="position:absolute;
2left:-11111px;border-collapse:separate",n.style.cssText="box-sizing:content-box;border:1px solid",n.style.height="1px",r.style.height="9px",r.style.display="block",ee.appendChild(e).appendChild(n).appendChild(r),i=t.getComputedStyle(n),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===n.offsetHeight,ee.removeChild(e)),s}}))}();var xe=["Webkit","Moz","ms"],ke=wt.createElement("div").style,Se={},Ce=/^(none|table(?!-c[ea]).+)/,Te={position:"absolute",visibility:"hidden",display:"block"},Ee={letterSpacing:"0",fontWeight:"400"};St.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=D(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,s=m(e),c=ye.test(e),u=t.style;if(c||(e=B(s)),a=St.cssHooks[e]||St.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(t,!1,r))?i:u[e];"string"===(o=typeof n)&&(i=Qt.exec(n))&&i[1]&&(n=b(t,e,i),o="number"),null!=n&&n==n&&("number"!==o||c||(n+=i&&i[3]||(St.cssNumber[s]?"":"px")),vt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,r))||(c?u.setProperty(e,n):u[e]=n))}},css:function(t,e,n,r){var i,o,a,s=m(e);return ye.test(e)||(e=B(s)),(a=St.cssHooks[e]||St.cssHooks[s])&&"get"in a&&(i=a.get(t,!0,n)),void 0===i&&(i=D(t,e,r)),"normal"===i&&e in Ee&&(i=Ee[e]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),St.each(["height","width"],function(t,e){St.cssHooks[e]={get:function(t,n,r){if(n)return!Ce.test(St.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?F(t,e,r):we(t,Te,function(){return F(t,e,r)})},set:function(t,n,r){var i,o=be(t),a=!vt.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===St.css(t,"boxSizing",!1,o),c=r?V(t,e,r,s,o):0;return s&&a&&(c-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-V(t,e,"border",!1,o)-.5)),c&&(i=Qt.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=St.css(t,e)),U(t,n,c)}}}),St.cssHooks.marginLeft=L(vt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(D(t,"marginLeft"))||t.getBoundingClientRect().left-we(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),St.each({margin:"",padding:"",border:"Width"},function(t,e){St.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+te[r]+e]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(St.cssHooks[t+e].set=U)}),St.fn.extend({css:function(t,e){return zt(this,function(t,e,n){var r,i,o={},a=0;if(Array.isArray(e)){for(r=be(t),i=e.length;a<i;a++)o[e[a]]=St.css(t,e[a],!1,r);return o}return void 0!==n?St.style(t,e,n):St.css(t,e)},t,e,arguments.length>1)}}),St.Tween=q,q.prototype={constructor:q,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||St.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(St.cssNumber[n]?"":"px")},cur:function(){var t=q.propHooks[this.prop];return t&&t.get?t.get(this):q.propHooks._default.get(this)},run:function(t){var e,n=q.propHooks[this.prop];return this.options.duration?this.pos=e=St.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):q.propHooks._default.set(this),this}},q.prototype.init.prototype=q.prototype,q.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=St.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){St.fx.step[t.prop]?St.fx.step[t.prop](t):1!==t.elem.nodeType||!St.cssHooks[t.prop]&&null==t.elem.style[B(t.prop)]?t.elem[t.prop]=t.now:St.style(t.elem,t.prop,t.now+t.unit)}}},q.propHooks.scrollTop=q.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},St.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},St.fx=q.prototype.init,St.fx.step={};var Ae,Ie,Re=/^(?:toggle|show|hide)$/,Oe=/queueHooks$/;St.Animation=St.extend(Y,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return b(n.elem,t,Qt.exec(e),n),n}]},tweener:function(t,e){yt(t)?(e=t,t=["*"]):t=t.match(Vt);for(var n,r=0,i=t.length;r<i;r++)n=t[r],Y.tweeners[n]=Y.tweeners[n]||[],Y.tweeners[n].unshift(e)},prefilters:[Z],prefilter:function(t,e){e?Y.prefilters.unshift(t):Y.prefilters.push(t)}}
vendor: 4,482 bytes, lines 2-3
2),St.speed=function(t,e,n){var r=t&&"object"==typeof t?St.extend({},t):{complete:n||!n&&e||yt(t)&&t,duration:t,easing:n&&e||e&&!yt(e)&&e};return St.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in St.fx.speeds?r.duration=St.fx.speeds[r.duration]:r.duration=St.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){yt(r.old)&&r.old.call(this),r.queue&&St.dequeue(this,r.queue)},r},St.fn.extend({fadeTo:function(t,e,n,r){return this.filter(ie).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=St.isEmptyObject(t),o=St.speed(e,n,r),a=function(){var e=Y(this,St.extend({},t),o);(i||Zt.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=St.timers,a=Zt.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&Oe.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||St.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=Zt.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=St.timers,a=r?r.length:0;for(n.finish=!0,St.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),St.each(["toggle","show","hide"],function(t,e){var n=St.fn[e];St.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(W(e,!0),t,r,i)}}),St.each({slideDown:W("show"),slideUp:W("hide"),slideToggle:W("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){St.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),St.timers=[],St.fx.tick=function(){var t,e=0,n=St.timers;for(Ae=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||St.fx.stop(),Ae=void 0},St.fx.timer=function(t){St.timers.push(t),St.fx.start()},St.fx.interval=13,St.fx.start=function(){Ie||(Ie=!0,z())},St.fx.stop=function(){Ie=null},St.fx.speeds={slow:600,fast:200,_default:400},St.fn.delay=function(e,n){return e=St.fx&&St.fx.speeds[e]||e,n=n||"fx",this.queue(n,function(n,r){var i=t.setTimeout(n,e);r.stop=function(){t.clearTimeout(i)}})},function(){var t=wt.createElement("input"),e=wt.createElement("select").appendChild(wt.createElement("option"));t.type="checkbox",vt.checkOn=""!==t.value,vt.optSelected=e.selected,(t=wt.createElement("input")).value="t",t.type="radio",vt.radioValue="t"===t.value}();var Me,Pe=St.expr.attrHandle
3;St.fn.extend({attr:function(t,e){return zt(this,St.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){St.removeAttr(this,t)})}}),St.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?St.prop(t,e,n):(1===o&&St.isXMLDoc(t)||(i=St.attrHooks[e.toLowerCase()]||(St.expr.match.bool.test(e)?Me:void 0)),void 0!==n?null===n?void St.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=St.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!vt.radioValue&&"radio"===e&&o(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(Vt);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),Me={set:function(t,e,n){return!1===e?St.removeAttr(t,n):t.setAttribute(n,n),n}},St.each(St.expr.match.bool.source.match(/\w+/g),function(t,e){var n=Pe[e]||St.find.attr;Pe[e]=function(t,e,r){var i,o,a=e.toLowerCase();return r||(o=Pe[a],Pe[a]=i,i=null!=n(t,e,r)?a:null,Pe[a]=o),i}});var je=/^(?:input|select|textarea|button)$/i,Ne=/^(?:a|area)$/i;St.fn.extend({prop:function(t,e){return zt(this,St.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[St.propFix[t]||t]})}}),St.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&St.isXMLDoc(t)||(e=St.propFix[e]||e,i=St.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=St.find.attr(t,"tabindex");
vendor: 19,733 bytes, line 3
3return e?parseInt(e,10):je.test(t.nodeName)||Ne.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),vt.optSelected||(St.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),St.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){St.propFix[this.toLowerCase()]=this}),St.fn.extend({addClass:function(t){var e,n,r,i,o,a;return yt(t)?this.each(function(e){St(this).addClass(t.call(this,e,X(this)))}):(e=Q(t)).length?this.each(function(){if(r=X(this),n=1===this.nodeType&&" "+J(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=J(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return yt(t)?this.each(function(e){St(this).removeClass(t.call(this,e,X(this)))}):arguments.length?(e=Q(t)).length?this.each(function(){if(r=X(this),n=1===this.nodeType&&" "+J(r)+" "){for(o=0;o<e.length;o++)for(i=e[o];n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");a=J(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,e){var n,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return yt(t)?this.each(function(n){St(this).toggleClass(t.call(this,n,X(this),e),e)}):"boolean"==typeof e&&s?e?this.addClass(t):this.removeClass(t):(n=Q(t),this.each(function(){if(s)for(o=St(this),i=0;i<n.length;i++)r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=X(this))&&Zt.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":Zt.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+J(X(n))+" ").indexOf(e)>-1)return!0;return!1}});var De=/\r/g;St.fn.extend({val:function(t){var e,n,r,i=this[0];return arguments.length?(r=yt(t),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?t.call(this,n,St(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=St.map(i,function(t){return null==t?"":t+""})),(e=St.valHooks[this.type]||St.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))})):i?(e=St.valHooks[i.type]||St.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(De,""):null==n?"":n:void 0}}),St.extend({valHooks:{option:{get:function(t){var e=St.find.attr(t,"value");return null!=e?e:J(St.text(t))}},select:{get:function(t){var e,n,r,i=t.options,a=t.selectedIndex,s="select-one"===t.type,c=s?null:[],u=s?a+1:i.length;for(r=a<0?u:s?a:0;r<u;r++)if(((n=i[r]).selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!o(n.parentNode,"optgroup"))){if(e=St(n).val(),s)return e;c.push(e)}return c},set:function(t,e){for(var n,r,i=t.options,o=St.makeArray(e),a=i.length;a--;)((r=i[a]).selected=St.inArray(St.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),St.each(["radio","checkbox"],function(){St.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=St.inArray(St(t).val(),e)>-1}},vt.checkOn||(St.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Le=t.location,$e={guid:Date.now()},Be=/\?/;St.parseXML=function(e){var n,r;if(!e||"string"!=typeof e)return null;try{n=(new t.DOMParser).parseFromString(e,"text/xml")}catch(t){}return r=n&&n.getElementsByTagName("parsererror")[0],n&&!r||St.error("Invalid XML: "+(r?St.map(r.childNodes,function(t){return t.textContent}).join("\n"):e)),n};var Ue=/^(?:focusinfocus|focusoutblur)$/,Ve=function(t){t.stopPropagation()};St.extend(St.event,{trigger:function(e,n,r,i){var o,a,s,c,u,l,d,f,p=[r||wt],h=ht.call(e,"type")?e.type:e,m=ht.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=r=r||wt,3!==r.nodeType&&8!==r.nodeType&&!Ue.test(h+St.event.triggered)&&(h.indexOf(".")>-1&&(m=h.split("."),h=m.shift(),m.sort()),u=h.indexOf(":")<0&&"on"+h,(e=e[St.expando]?e:new St.Event(h,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),n=null==n?[e]:St.makeArray(n,[e]),d=St.event.special[h]||{},i||!d.trigger||!1!==d.trigger.apply(r,n))){if(!i&&!d.noBubble&&!bt(r)){for(c=d.delegateType||h,Ue.test(c+h)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(r.ownerDocument||wt)&&p.push(s.defaultView||s.parentWindow||t)}for(o=0;(a=p[o++])&&!e.isPropagationStopped();)f=a,e.type=o>1?c:d.bindType||h,(l=(Zt.get(a,"events")||Object.create(null))[e.type]&&Zt.get(a,"handle"))&&l.apply(a,n),(l=u&&a[u])&&l.apply&&Gt(a)&&(e.result=l.apply(a,n),!1===e.result&&e.preventDefault());return e.type=h,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),n)||!Gt(r)||u&&yt(r[h])&&!bt(r)&&((s=r[u])&&(r[u]=null),St.event.triggered=h,e.isPropagationStopped()&&f.addEventListener(h,Ve),r[h](),e.isPropagationStopped()&&f.removeEventListener(h,Ve),St.event.triggered=void 0,s&&(r[u]=s)),e.result}},simulate:function(t,e,n){var r=St.extend(new St.Event,n,{type:t,isSimulated:!0});St.event.trigger(r,null,e)}}),St.fn.extend({trigger:function(t,e){return this.each(function(){St.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return St.event.trigger(t,e,n,!0)}});var Fe=/\[\]$/,qe=/\r?\n/g,ze=/^(?:submit|button|image|reset|file)$/i,He=/^(?:input|select|textarea|keygen)/i;St.param=function(t,e){var n,r=[],i=function(t,e){var n=yt(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!St.isPlainObject(t))St.each(t,function(){i(this.name,this.value)});else for(n in t)tt(n,t[n],e,i);return r.join("&")},St.fn.extend({serialize:function(){return St.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=St.prop(this,"elements");return t?St.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!St(this).is(":disabled")&&He.test(this.nodeName)&&!ze.test(t)&&(this.checked||!ce.test(t))}).map(function(t,e){var n=St(this).val();return null==n?null:Array.isArray(n)?St.map(n,function(t){return{name:e.name,value:t.replace(qe,"\r\n")}}):{name:e.name,value:n.replace(qe,"\r\n")}}).get()}});var We=/%20/g,Ge=/#.*$/,Ze=/([?&])_=[^&]*/,Ke=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ye=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Je=/^(?:GET|HEAD)$/,Xe=/^\/\//,Qe={},tn={},en="*/".concat("*"),nn=wt.createElement("a");nn.href=Le.href,St.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Le.href,type:"GET",isLocal:Ye.test(Le.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":en,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":St.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?rt(rt(t,St.ajaxSettings),e):rt(St.ajaxSettings,t)},ajaxPrefilter:et(Qe),ajaxTransport:et(tn),ajax:function(e,n){function r(e,n,r,s){var u,f,p,w,_,x=n;l||(l=!0,c&&t.clearTimeout(c),i=void 0,a=s||"",k.readyState=e>0?4:0,u=e>=200&&e<300||304===e,r&&(w=it(h,k,r)),!u&&St.inArray("script",h.dataTypes)>-1&&St.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),w=ot(h,w,k,u),u?(h.ifModified&&((_=k.getResponseHeader("Last-Modified"))&&(St.lastModified[o]=_),(_=k.getResponseHeader("etag"))&&(St.etag[o]=_)),204===e||"HEAD"===h.type?x="nocontent":304===e?x="notmodified":(x=w.state,f=w.data,u=!(p=w.error))):(p=x,!e&&x||(x="error",e<0&&(e=0))),k.status=e,k.statusText=(n||x)+"",u?v.resolveWith(m,[f,x,k]):v.rejectWith(m,[k,x,p]),k.statusCode(b),b=void 0,d&&g.trigger(u?"ajaxSuccess":"ajaxError",[k,h,u?f:p]),y.fireWith(m,[k,x]),d&&(g.trigger("ajaxComplete",[k,h]),--St.active||St.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=void 0),n=n||{};var i,o,a,s,c,u,l,d,f,p,h=St.ajaxSetup({},n),m=h.context||h,g=h.context&&(m.nodeType||m.jquery)?St(m):St.event,v=St.Deferred(),y=St.Callbacks("once memory"),b=h.statusCode||{},w={},_={},x="canceled",k={readyState:0,getResponseHeader:function(t){var e;if(l){if(!s)for(s={};e=Ke.exec(a);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return l?a:null},setRequestHeader:function(t,e){return null==l&&(t=_[t.toLowerCase()]=_[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==l&&(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(l)k.always(t[k.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||x;return i&&i.abort(e),r(0,e),this}};if(v.promise(k),h.url=((e||h.url||Le.href)+"").replace(Xe,Le.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(Vt)||[""],null==h.crossDomain){u=wt.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=nn.protocol+"//"+nn.host!=u.protocol+"//"+u.host}catch(t){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=St.param(h.data,h.traditional)),nt(Qe,h,n,k),l)return k;for(f in(d=St.event&&h.global)&&0===St.active++&&St.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Je.test(h.type),o=h.url.replace(Ge,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(We,"+")):(p=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(Be.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Ze,"$1"),p=(Be.test(o)?"&":"?")+"_="+$e.guid+++p),h.url=o+p),h.ifModified&&(St.lastModified[o]&&k.setRequestHeader("If-Modified-Since",St.lastModified[o]),St.etag[o]&&k.setRequestHeader("If-None-Match",St.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&k.setRequestHeader("Content-Type",h.contentType),k.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+en+"; q=0.01":""):h.accepts["*"]),h.headers)k.setRequestHeader(f,h.headers[f]);if(h.beforeSend&&(!1===h.beforeSend.call(m,k,h)||l))return k.abort();if(x="abort",y.add(h.complete),k.done(h.success),k.fail(h.error),i=nt(tn,h,n,k)){if(k.readyState=1,d&&g.trigger("ajaxSend",[k,h]),l)return k;h.async&&h.timeout>0&&(c=t.setTimeout(function(){k.abort("timeout")},h.timeout));try{l=!1,i.send(w,r)}catch(t){if(l)throw t;r(-1,t)}}else r(-1,"No Transport");return k},getJSON:function(t,e,n){return St.get(t,e,n,"json")},getScript:function(t,e){return St.get(t,void 0,e,"script")}}),St.each(["get","post"],function(t,e){St[e]=function(t,n,r,i){return yt(n)&&(i=i||r,r=n,n=void 0),St.ajax(St.extend({url:t,type:e,dataType:i,data:n,success:r},St.isPlainObject(t)&&t))}}),St.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),St._evalUrl=function(t,e,n){return St.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){St.globalEval(t,e,n)}})},St.fn.extend({wrapAll:function(t){var e;return this[0]&&(yt(t)&&(t=t.call(this[0])),e=St(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return yt(t)?this.each(function(e){St(this).wrapInner(t.call(this,e))}):this.each(function(){var e=St(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=yt(t);return this.each(function(n){St(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){St(this).replaceWith(this.childNodes)}),this}}),St.expr.pseudos.hidden=function(t){return!St.expr.pseudos.visible(t)},St.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},St.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var rn={0:200,1223:204},on=St.ajaxSettings.xhr();vt.cors=!!on&&"withCredentials"in on,vt.ajax=on=!!on,St.ajaxTransport(function(e){var n,r;if(vt.cors||on&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);n=function(t){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(rn[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&t.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(e.hasContent&&e.data||null)}catch(t){if(n)throw t}},abort:function(){n&&n()}}}),St.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),St.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return St.globalEval(t),t}}}),St.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),St.ajaxTransport("script",function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(r,i){e=St("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),wt.head.appendChild(e[0])},abort:function(){n&&n()}}});var an,sn=[],cn=/(=)\?(?=&|$)|\?\?/;St.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=sn.pop()||St.expando+"_"+$e.guid++;return this[t]=!0,t}}),St.ajaxPrefilter("json jsonp",function(e,n,r){var i,o,a,s=!1!==e.jsonp&&(cn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&cn.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=yt(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(cn,"$1"+i):!1!==e.jsonp&&(e.url+=(Be.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||St.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=t[i],t[i]=function(){a=arguments},r.always(function(){void 0===o?St(t).removeProp(i):t[i]=o,e[i]&&(e.jsonpCallback=n.jsonpCallback,sn.push(i)),a&&yt(o)&&o(a[0]),a=o=void 0}),"script"}),vt.createHTMLDocument=((an=wt.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===an.childNodes.length),St.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(vt.createHTMLDocument?((r=(e=wt.implementation.createHTMLDocument("")).createElement("base")).href=wt.location.href,e.head.appendChild(r)):e=wt),o=!n&&[],(i=Dt.exec(t))?[e.createElement(i[1])]:(i=S([t],e,o),o&&o.length&&St(o).remove(),St.merge([],i.childNodes)));var r,i,o},St.fn.load=function(t,e,n){var r,i,o,a=this,s=t.indexOf(" ");return s>-1&&(r=J(t.slice(s)),t=t.slice(0,s)),yt(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),a.length>0&&St.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done(function(t){o=arguments,a.html(r?St("<div>").append(St.parseHTML(t)).find(r):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},St.expr.pseudos.animated=function(t){return St.grep(St.timers,function(e){return t===e.elem}).length},St.offset={setOffset:function(t,e,n){var r,i,o,a,s,c,u=St.css(t,"position"),l=St(t),d={};"static"===u&&(t.style.position="relative"),s=l.offset(),o=St.css(t,"top"),c=St.css(t,"left"),("absolute"===u||"fixed"===u)&&(o+c).indexOf("auto")>-1?(a=(r=l.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(c)||0),yt(e)&&(e=e.call(t,n,St.extend({},s))),null!=e.top&&(d.top=e.top-s.top+a),null!=e.left&&(d.left=e.left-s.left+i),"using"in e?e.using.call(t,d):l.css(d)}},St.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){St.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,r=this[0],i={top:0,left:0};if("fixed"===St.css(r,"position"))e=r.getBoundingClientRect();else{for(e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===St.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&((i=St(t).offset()).top+=St.css(t,"borderTopWidth",!0),i.left+=St.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-St.css(r,"marginTop",!0),left:e.left-i.left-St.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===St.css(t,"position");)t=t.offsetParent;return t||ee})}}),St.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;St.fn[t]=function(r){return zt(this,function(t,r,i){var o;if(bt(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===i)return o?o[e]:t[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i},t,r,arguments.length)}}),St.each(["top","left"],function(t,e){St.cssHooks[e]=L(vt.pixelPosition,function(t,n){if(n)return n=D(t,e),ve.test(n)?St(t).position()[e]+"px":n})}),St.each({Height:"height",Width:"width"},function(t,e){St.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){St.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return zt(this,function(e,n,i){var o;return bt(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?St.css(e,n,s):St.style(e,n,i,s)},e,a?i:void 0,a)}})}),St.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){St.fn[e]=function(t){return this.on(e,t)}}),St.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)}}),St.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){St.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}});var un=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;St.proxy=function(t,e){var n,r,i;if("string"==typeof e&&(n=t[e],e=t,t=n),yt(t))return r=ct.call(arguments,2),i=function(){return t.apply(e||this,r.concat(ct.call(arguments)))},i.guid=t.guid=t.guid||St.guid++,i},St.holdReady=function(t){t?St.readyWait++:St.ready(!0)}
3,St.isArray=Array.isArray,St.parseJSON=JSON.parse,St.nodeName=o,St.isFunction=yt,St.isWindow=bt,St.camelCase=m,St.type=r,St.now=Date.now,St.isNumeric=function(t){var e=St.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},St.trim=function(t){return null==t?"":(t+"").replace(un,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return St});var ln=t.jQuery,dn=t.$;return St.noConflict=function(e){return t.$===St&&(t.$=dn),e&&t.jQuery===St&&(t.jQuery=ln),St},void 0===e&&(t.jQuery=t.$=St),St}),function(){"use strict";var t=function(t,e){var n;t.rails!==e&&t.error("jquery-ujs has already been loaded!");var r=t(document);t.rails=n={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]",buttonClickSelector:"button[data-remote]:not([form]):not(form button), button[data-confirm]:not([form]):not(form button)",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form:not([data-turbo=true])",formInputClickSelector:"form:not([data-turbo=true]) input[type=submit], form:not([data-turbo=true]) input[type=image], form:not([data-turbo=true]) button[type=submit], form:not([data-turbo=true]) button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",disableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",requiredInputSelector:"input[name][required]:not([disabled]), textarea[name][required]:not([disabled])",fileInputSelector:"input[name][type=file]:not([disabled])",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]",csrfToken:function(){return t("meta[name=csrf-token]").attr("content")},csrfParam:function(){return t("meta[name=csrf-param]").attr("content")},CSRFProtection:function(t){var e=n.csrfToken();e&&t.setRequestHeader("X-CSRF-Token",e)},refreshCSRFTokens:function(){t('form input[name="'+n.csrfParam()+'"]').val(n.csrfToken())},fire:function(e,n,r){var i=t.Event(n);return e.trigger(i,r),!1!==i.result},confirm:function(t){return confirm(t)},ajax:function(e){return t.ajax(e)},href:function(t){return t[0].href},isRemote:function(t){return t.data("remote")!==e&&!1!==t.data("remote")},handleRemote:function(r){var i,o,a,s,c,u;if(n.fire(r,"ajax:before")){if(s=r.data("with-credentials")||null,c=r.data("type")||t.ajaxSettings&&t.ajaxSettings.dataType,r.is("form")){i=r.data("ujs:submit-button-formmethod")||r.attr("method"),o=r.data("ujs:submit-button-formaction")||r.attr("action"),a=t(r[0]).serializeArray();var l=r.data("ujs:submit-button");l&&(a.push(l),r.data("ujs:submit-button",null)),r.data("ujs:submit-button-formmethod",null),r.data("ujs:submit-button-formaction",null)}else r.is(n.inputChangeSelector)?(i=r.data("method"),o=r.data("url"),a=r.serialize(),r.data("params")&&(a=a+"&"+r.data("params"))):r.is(n.buttonClickSelector)?(i=r.data("method")||"get",o=r.data("url"),a=r.serialize(),r.data("params")&&(a=a+"&"+r.data("params"))):(i=r.data("method"),o=n.href(r),a=r.data("params")||null);return u={type:i||"GET",data:a,dataType:c,beforeSend:function(t,i){if(i.dataType===e&&t.setRequestHeader("accept","*/*;q=0.5, "+i.accepts.script),!n.fire(r,"ajax:beforeSend",[t,i]))return!1;r.trigger("ajax:send",t)},success:function(t,e,n){r.trigger("ajax:success",[t,e,n])},complete:function(t,e){r.trigger("ajax:complete",[t,e])},error:function(t,e,n){r.trigger("ajax:error",[t,e,n])},crossDomain:n.isCrossDomain(o)},s&&(u.xhrFields={withCredentials:s}),o&&(u.url=o),n.ajax(u)}return!1},isCrossDomain:function(t){var e=document.createElement("a");e.href=location.href;var n=document.createElement("a");try{return n.href=t,n.href=n.href,!((!n.protocol||":"===n.protocol)&&!n.host||e.protocol+"//"+e.host==n.protocol+"//"+n.host)}catch(t){return!0}},handleMethod:function(r){var i=n.href(r),o=r.data("method"),a=r.attr("target"),s=n.csrfToken(),c=n.csrfParam(),u=t('<form method="post" action="'+i+'"></form>'),l='<input name="_method" value="'+o+'" type="hidden" />';c===e||s===e||n.isCrossDomain(i)||(l+='<input name="'+c+'" value="'+s+'" type="hidden" />'),a&&u.attr("target",a),u.hide().append(l).appendTo("body"),u.submit()},formElements:function(e,n){return e.is("form")?t(e[0].elements).filter(n):e.find(n)},disableFormElements:function(e){n.formElements(e,n.disableSelector).each(function(){n.disableFormElement(t(this))})},disableFormElement:function(t){var n,r;n=t.is("button")?"html":"val",(r=t.data("disable-with"))!==e&&(t.data("ujs:enable-with",t[n]()),t[
3n](r)),t.prop("disabled",!0),t.data("ujs:disabled",!0)},enableFormElements:function(e){n.formElements(e,n.enableSelector).each(function(){n.enableFormElement(t(this))})},enableFormElement:function(t){var n=t.is("button")?"html":"val";t.data("ujs:enable-with")!==e&&(t[n](t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.prop("disabled",!1),t.removeData("ujs:disabled")},allowAction:function(t){var e,r=t.data("confirm"),i=!1;if(!r)return!0;if(n.fire(t,"confirm")){try{i=n.confirm(r)}catch(t){(console.error||console.log).call(console,t.stack||t)}e=n.fire(t,"confirm:complete",[i])}return i&&e},blankInputs:function(e,n,r){var i,o,a,s=t(),c=n||"input,textarea",u=e.find(c),l={};return u.each(function(){(i=t(this)).is("input[type=radio]")?(a=i.attr("name"),l[a]||(0===e.find('input[type=radio]:checked[name="'+a+'"]').length&&(o=e.find('input[type=radio][name="'+a+'"]'),s=s.add(o)),l[a]=a)):(i.is("input[type=checkbox],input[type=radio]")?i.is(":checked"):!!i.val())===r&&(s=s.add(i))}),!!s.length&&s},nonBlankInputs:function(t,e){return n.blankInputs(t,e,!0)},stopEverything:function(e){return t(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(t){var r=t.data("disable-with");r!==e&&(t.data("ujs:enable-with",t.html()),t.html(r)),t.on("click.railsDisable",function(t){return n.stopEverything(t)}),t.data("ujs:disabled",!0)},enableElement:function(t){t.data("ujs:enable-with")!==e&&(t.html(t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.off("click.railsDisable"),t.removeData("ujs:disabled")}},n.fire(r,"rails:attachBindings")&&(t.ajaxPrefilter(function(t,e,r){t.crossDomain||n.CSRFProtection(r)}),t(window).on("pageshow.rails",function(){t(t.rails.enableSelector).each(function(){var e=t(this);e.data("ujs:disabled")&&t.rails.enableFormElement(e)}),t(t.rails.linkDisableSelector).each(function(){var e=t(this);e.data("ujs:disabled")&&t.rails.enableElement(e)})}),r.on("ajax:complete",n.linkDisableSelector,function(){n.enableElement(t(this))}),r.on("ajax:complete",n.buttonDisableSelector,function(){n.enableFormElement(t(this))}),r.on("click.rails",n.linkClickSelector,function(e){var r=t(this),i=r.data("method"),o=r.data("params"),a=e.metaKey||e.ctrlKey;if(!n.allowAction(r))return n.stopEverything(e);if(!a&&r.is(n.linkDisableSelector)&&n.disableElement(r),n.isRemote(r)){if(a&&(!i||"GET"===i)&&!o)return!0;var s=n.handleRemote(r);return!1===s?n.enableElement(r):s.fail(function(){n.enableElement(r)}),!1}return i?(n.handleMethod(r),!1):void 0}),r.on("click.rails",n.buttonClickSelector,function(e){var r=t(this);if(!n.allowAction(r)||!n.isRemote(r))return n.stopEverything(e);r.is(n.buttonDisableSelector)&&n.disableFormElement(r);var i=n.handleRemote(r);return!1===i?n.enableFormElement(r):i.fail(function(){n.enableFormElement(r)}),!1}),r.on("change.rails",n.inputChangeSelector,function(e){var r=t(this);return n.allowAction(r)&&n.isRemote(r)?(n.handleRemote(r),!1):n.stopEverything(e)}),r.on("submit.rails",n.formSubmitSelector,function(r){var i,o,a=t(this),s=n.isRemote(a);if(!n.allowAction(a))return n.stopEverything(r);if(a.attr("novalidate")===e)if(a.data("ujs:formnovalidate-button")===e){if((i=n.blankInputs(a,n.requiredInputSelector,!1))&&n.fire(a,"ajax:aborted:required",[i]))return n.stopEverything(r)}else a.data("ujs:formnovalidate-button",e);if(s){if(o=n.nonBlankInputs(a,n.fileInputSelector)){setTimeout(function(){n.disableFormElements(a)},13);var c=n.fire(a,"ajax:aborted:file",[o]);return c||setTimeout(function(){n.enableFormElements(a)},13),c}return n.handleRemote(a),!1}setTimeout(function(){n.disableFormElements(a)},13)}),r.on("click.rails",n.formInputClickSelector,function(e){var r=t(this);if(!n.allowAction(r))return n.stopEverything(e);var i=r.attr("name"),o=i?{name:i,value:r.val()}:null,a=r.closest("form");0===a.length&&(a=t("#"+r.attr("form"))),a.data("ujs:submit-button",o),a.data("ujs:formnovalidate-button",r.attr("formnovalidate")),a.data("ujs:submit-button-formaction",r.attr("formaction")),a.data("ujs:submit-button-formmethod",r.attr("formmethod"))}),r.on("ajax:send.rails",n.formSubmitSelector,function(e){this===e.target&&n.disableFormElements(t(this))}),r.on("ajax:complete.rails",n.formSubmitSelector,function(e){this===e.target&&n.enableFormElements(t(this))}),t(function(){n.refreshCSRFTokens()}))};window.jQuery?t(jQuery):"object"==typeof exports&&"object"==typeof module&&(module.exports=t)}(),function(){function t(t,e){const n=e.getResponseHeader("X-CSRF-Token");n&&document.querySelector('meta[name="csrf-token"]').setAttribute("content",n)}$(document).on("ajaxComplete",t)}(),function(t,e){t.viewloader=e({},t.jQuery||t.Zepto||t.$)}(this,function(t,e){"use strict";const n=function(t){return t.charAt(0).toUpperCase()+t.slice(1)};return t.execute=function(t,r){(r?r.find("[data-view]"):e("[data-view]")).each(function(r,i){const o=e(i);
3o.data("view").split(" ").forEach(e=>{(e=n(e))&&t[e]&&new t[e](o,i)})})},t}),window.Market={DOMUtils:{},Helpers:{},SpecialEvents:{},State:{},Validations:{}},window.Views={},function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(window.jQuery||window.Zepto)}(function(t){var e,n,r,i,o,a,s="Close",c="BeforeClose",u="AfterClose",l="BeforeAppend",d="MarkupParse",f="Open",p="Change",h="mfp",m="."+h,g="mfp-ready",v="mfp-removing",y="mfp-prevent-close",b=function(){},w=!!window.jQuery,_=t(window),x=function(t,n){e.ev.on(h+t+m,n)},k=function(e,n,r,i){var o=document.createElement("div");return o.className="mfp-"+e,r&&(o.innerHTML=r),i?n&&n.appendChild(o):(o=t(o),n&&o.appendTo(n)),o},S=function(t,n){e.ev.triggerHandler(h+t,n),e.st.callbacks&&(t=t.charAt(0).toLowerCase()+t.slice(1),e.st.callbacks[t]&&e.st.callbacks[t].apply(e,Array.isArray(n)?n:[n]))},C=function(n){return n===a&&e.currTemplate.closeBtn||(e.currTemplate.closeBtn=t(e.st.closeMarkup.replace("%title%",e.st.tClose)),a=n),e.currTemplate.closeBtn},T=function(){t.magnificPopup.instance||((e=new b).init(),t.magnificPopup.instance=e)},E=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1};b.prototype={constructor:b,init:function(){var n=navigator.appVersion;e.isLowIE=e.isIE8=document.all&&!document.addEventListener,e.isAndroid=/android/gi.test(n),
4e.isIOS=/iphone|ipad|ipod/gi.test(n),e.supportsTransition=E(),e.probablyMobile=e.isAndroid||e.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),r=t(document),e.popupsCache={}},open:function(n){var i;if(!1===n.isObj){e.items=n.items.toArray(),e.index=0;var a,s=n.items;for(i=0;i<s.length;i++)if((a=s[i]).parsed&&(a=a.el[0]),a===n.el[0]){e.index=i;break}}else e.items=Array.isArray(n.items)?n.items:[n.items],e.index=n.index||0;if(!e.isOpen){e.types=[],o="",n.mainEl&&n.mainEl.length?e.ev=n.mainEl.eq(0):e.ev=r,n.key?(e.popupsCache[n.key]||(e.popupsCache[n.key]={}),e.currTemplate=e.popupsCache[n.key]):e.currTemplate={},e.st=t.extend(!0,{},t.magnificPopup.defaults,n),e.fixedContentPos="auto"===e.st.fixedContentPos?!e.probablyMobile:e.st.fixedContentPos,e.st.modal&&(e.st.closeOnContentClick=!1,e.st.closeOnBgClick=!1,e.st.showCloseBtn=!1,e.st.enableEscapeKey=!1),e.bgOverlay||(e.bgOverlay=k("bg").on("click"+m,function(){e.close()}),e.wrap=k("wrap").attr("tabindex",-1).on("click"+m,function(t){e._checkIfClose(t.target)&&e.close()}),e.container=k("container",e.wrap)),e.contentContainer=k("content"),e.st.preloader&&(e.preloader=k("preloader",e.container,e.st.tLoading));var c=t.magnificPopup.modules;for(i=0;i<c.length;i++){var u=c[i];u=u.charAt(0).toUpperCase()+u.slice(1),e["init"+u].call(e)}S("BeforeOpen"),e.st.showCloseBtn&&(e.st.closeBtnInside?(x(d,function(t,e,n,r){n.close_replaceWith=C(r.type)}),o+=" mfp-close-btn-in"):e.wrap.append(C())),e.st.alignTop&&(o+=" mfp-align-top"),e.fixedContentPos?e.wrap.css({overflow:e.st.overflowY,overflowX:"hidden",overflowY:e.st.overflowY}):e.wrap.css({top:_.scrollTop(),position:"absolute"}),(!1===e.st.fixedBgPos||"auto"===e.st.fixedBgPos&&!e.fixedContentPos)&&e.bgOverlay.css({height:r.height(),position:"absolute"}),e.st.enableEscapeKey&&r.on("keyup"+m,function(t){27===t.keyCode&&e.close()}),_.on("resize"+m,function(){e.updateSize()}),e.st.closeOnContentClick||(o+=" mfp-auto-cursor"),o&&e.wrap.addClass(o);var l=e.wH=_.height(),p={};if(e.fixedContentPos&&e._hasScrollBar(l)){var h=e._getScrollbarSize();h&&(p.marginRight=h)}e.fixedContentPos&&(e.isIE7?t("body, html").css("overflow","hidden"):p.overflow="hidden");var v=e.st.mainClass;return e.isIE7&&(v+=" mfp-ie7"),v&&e._addClassToMFP(v),e.updateItemHTML(),S("BuildControls"),t("html").css(p),e.bgOverlay.add(e.wrap).prependTo(e.st.prependTo||t(document.body)),e._lastFocusedEl=document.activeElement,setTimeout(function(){e.content?(e._addClassToMFP(g),e._setFocus()):e.bgOverlay.addClass(g),r.on("focusin"+m,e._onFocusIn)},16),e.isOpen=!0,e.updateSize(l),S(f),n}e.updateItemHTML()},close:function(){e.isOpen&&(S(c),e.isOpen=!1,e.st.removalDelay&&!e.isLowIE&&e.supportsTransition?(e._addClassToMFP(v),setTimeout(function(){e._close()},e.st.removalDelay)):e._close())},_close:function(){S(s);var n=v+" "+g+" ";if(e.bgOverlay.detach(),e.wrap.detach(),e.container.empty(),e.st.mainClass&&(n+=e.st.mainClass+" "),e._removeClassFromMFP(n),e.fixedContentPos){var i={marginRight:""};e.isIE7?t("body, html").css("overflow",""):i.overflow="",t("html").css(i)}r.off("keyup"+m+" focusin"+m),e.ev.off(m),e.wrap.attr("class","mfp-wrap").removeAttr("style"),e.bgOverlay.attr("class","mfp-bg"),e.container.attr("class","mfp-container"),!e.st.showCloseBtn||e.st.closeBtnInside&&!0!==e.currTemplate[e.currItem.type]||e.currTemplate.closeBtn&&e.currTemplate.closeBtn.detach(),e.st.autoFocusLast&&e._lastFocusedEl&&t(e._lastFocusedEl).trigger("focus"),e.currItem=null,e.content=null,e.currTemplate=null,e.prevHeight=0,S(u)},updateSize:function(t){if(e.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,r=window.innerHeight*n;e.wrap.css("height",r),e.wH=r}else e.wH=t||_.height();e.fixedContentPos||e.wrap.css("height",e.wH),S("Resize")},updateItemHTML:function(){var n=e.items[e.index];e.contentContainer.detach(),e.content&&e.content.detach(),n.parsed||(n=e.parseEl(e.index));var r=n.type;if(S("BeforeChange",[e.currItem?e.currItem.type:"",r]),e.currItem=n,!e.currTemplate[r]){var o=!!e.st[r]&&e.st[r].markup;S("FirstMarkupParse",o),e.currTemplate[r]=!o||t(o)}
4i&&i!==n.type&&e.container.removeClass("mfp-"+i+"-holder");var a=e["get"+r.charAt(0).toUpperCase()+r.slice(1)](n,e.currTemplate[r]);e.appendContent(a,r),n.preloaded=!0,S(p,n),i=n.type,e.container.prepend(e.contentContainer),S("AfterChange")},appendContent:function(t,n){e.content=t,t?e.st.showCloseBtn&&e.st.closeBtnInside&&!0===e.currTemplate[n]?e.content.find(".mfp-close").length||e.content.append(C()):e.content=t:e.content="",S(l),e.container.addClass("mfp-"+n+"-holder"),e.contentContainer.append(e.content)},parseEl:function(n){var r,i=e.items[n];if(i.tagName?i={el:t(i)}:(r=i.type,i={data:i,src:i.src}),i.el){for(var o=e.types,a=0;a<o.length;a++)if(i.el.hasClass("mfp-"+o[a])){r=o[a];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=r||e.st.type||"inline",i.index=n,i.parsed=!0,e.items[n]=i,S("ElementParse",i),e.items[n]},addGroup:function(t,n){var r=function(r){r.mfpEl=this,e._openClick(r,t,n)};n||(n={});var i="click.magnificPopup";n.mainEl=t,n.items?(n.isObj=!0,t.off(i).on(i,r)):(n.isObj=!1,n.delegate?t.off(i).on(i,n.delegate,r):(n.items=t,t.off(i).on(i,r)))},_openClick:function(n,r,i){if((void 0!==i.midClick?i.midClick:t.magnificPopup.defaults.midClick)||!(2===n.which||n.ctrlKey||n.metaKey||n.altKey||n.shiftKey)){var o=void 0!==i.disableOn?i.disableOn:t.magnificPopup.defaults.disableOn;if(o)if("function"==typeof o){if(!o.call(e))return!0}else if(_.width()<o)return!0;n.type&&(n.preventDefault(),e.isOpen&&n.stopPropagation()),i.el=t(n.mfpEl),i.delegate&&(i.items=r.find(i.delegate)),e.o
4pen(i)}},updateStatus:function(t,r){if(e.preloader){n!==t&&e.container.removeClass("mfp-s-"+n),r||"loading"!==t||(r=e.st.tLoading);var i={status:t,text:r};S("UpdateStatus",i),t=i.status,r=i.text,e.st.allowHTMLInStatusIndicator?e.preloader.html(r):e.preloader.text(r),e.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),e.container.addClass("mfp-s-"+t),n=t}},_checkIfClose:function(n){if(!t(n).closest("."+y).length){var r=e.st.closeOnContentClick,i=e.st.closeOnBgClick;if(r&&i)return!0;if(!e.content||t(n).closest(".mfp-close").length||e.preloader&&n===e.preloader[0])return!0;if(n===e.content[0]||t.contains(e.content[0],n)){if(r)return!0}else if(i&&t.contains(document,n))return!0;return!1}},_addClassToMFP:function(t){e.bgOverlay.addClass(t),e.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),e.wrap.removeClass(t)},_hasScrollBar:function(t){return(e.isIE7?r.height():document.body.scrollHeight)>(t||_.height())},_setFocus:function(){(e.st.focus?e.content.find(e.st.focus).eq(0):e.wrap).trigger("focus")},_onFocusIn:function(n){if(n.target!==e.wrap[0]&&!t.contains(e.wrap[0],n.target))return e._setFocus(),!1},_parseMarkup:function(n,r,i){var o;i.data&&(r=t.extend(i.data,r)),S(d,[n,r,i]),t.each(r,function(r,i){if(void 0===i||!1===i)return!0;if((o=r.split("_")).length>1){var a=n.find(m+"-"+o[0]);if(a.length>0){var s=o[1];"replaceWith"===s?a[0]!==i[0]&&a.replaceWith(i):"img"===s?a.is("img")?a.attr("src",i):a.replaceWith(t("<img>").attr("src",i).attr("class",a.attr("class"))):a.attr(o[1],i)}}else e.st.allowHTMLInTemplate?n.find(m+"-"+r).html(i):n.find(m+"-"+r).text(i)})},_getScrollbarSize:function(){if(void 0===e.scrollbarSize){var t=document.createElement("div");t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),e.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return e.scrollbarSize}},t.magnificPopup={instance:null,proto:b.prototype,modules:[],open:function(e,n){return T(),(e=e?t.extend(!0,{},e):{}).isObj=!0,e.index=n||0,this.instance.open(e)},close:function(){return t.magnificPopup.instance&&t.magnificPopup.instance.close()}
4,registerModule:function(e,n){n.options&&(t.magnificPopup.defaults[e]=n.options),t.extend(this.proto,n.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0,allowHTMLInStatusIndicator:!1,allowHTMLInTemplate:!1}},t.fn.magnificPopup=function(n){T();var r=t(this);if("string"==typeof n)if("open"===n){var i,o=w?r.data("magnificPopup"):r[0].magnificPopup,a=parseInt(arguments[1],10)||0;o.items?i=o.items[a]:(i=r,o.delegate&&(i=i.find(o.delegate)),i=i.eq(a)),e._openClick({mfpEl:i},r,o)}else e.isOpen&&e[n].apply(e,Array.prototype.slice.call(arguments,1));else n=t.extend(!0,{},n),w?r.data("magnificPopup",n):r[0].magnificPopup=n,e.addGroup(r,n);return r};var A,I,R,O="inline",M=function(){R&&(I.after(R.addClass(A)).detach(),R=null)};t.magnificPopup.registerModule(O,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){e.types.push(O),x(s+"."+O,function(){M()})},getInline:function(n,r){if(M(),n.src){var i=e.st.inline,o=t(n.src);if(o.length){var a=o[0].parentNode;a&&a.tagName&&(I||(A=i.hiddenClass,I=k(A),A="mfp-"+A),R=o.after(I).detach().removeClass(A)),e.updateStatus("ready")}else e.updateStatus("error",i.tNotFound),o=t("<div>");return n.inlineElement=o,o}return e.updateStatus("ready"),e._parseMarkup(r,{},n),r}}});var P,j="ajax",N=function(){P&&t(document.body).removeClass(P)},D=function(){N(),e.req&&e.req.abort()};t.magnificPopup.registerModule(j,{options:{settings:null,cursor:"mfp-ajax-cur",tError:"The content could not be loaded."},proto:{initAjax:function(){e.types.push(j),P=e.st.ajax.cursor,x(s+"."+j,D),x("BeforeChange."+j,D)},getAjax:function(n){P&&t(document.body).addClass(P),e.updateStatus("loading");var r=t.extend({url:n.src,success:function(r,i,o){var a={data:r,xhr:o};S("ParseAjax",a),e.appendContent(t(a.data),j),n.finished=!0,N(),e._setFocus(),setTimeout(function(){e.wrap.addClass(g)},16),e.updateStatus("ready"),S("AjaxContentAdded")},error:function(){N(),n.finished=n.loadError=!0,e.updateStatus("error",e.st.ajax.tError.replace("%url%",n.src))}},e.st.ajax.settings);return e.req=t.ajax(r),""}}});var L,$=function(t){if(t.data&&void 0!==t.data.title)return t.data.title;var n=e.st.image.titleSrc;if(n){if("function"==typeof n)return n.call(e,t);if(t.el)return t.el.attr(n)||""}return""};t.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:"The image could not be loaded."},proto:{initImage:function(){var n=e.st.image,r=".image";e.types.push("image"),x(f+r,function(){"image"===e.currItem.type&&n.cursor&&t(document.body).addClass(n.cursor)}),x(s+r,function(){n.cursor&&t(document.body).removeClass(n.cursor),_.off("resize"+m)}),x("Resize"+r,e.resizeImage),e.isLowIE&&x("AfterChange",e.resizeImage)},resizeImage:function(){var t=e.currItem;if(t&&t.img&&e.st.image.verticalFit){var n=0;e.isLowIE&&(n=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",e.wH-n)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,L&&clearInterval(L),t.isCheckingImgSize=!1,S("ImageHasSize",t),t.imgHidden&&(e.content&&e.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(t){var n=0,r=t.img[0],i=function(o){L&&clearInterval(L),L=setInterval(function(){r.naturalWidth>0?e._onImageHasSize(t):(n>200&&clearInterval(L),3===++n?i(10):40===n?i(50):100===n&&i(500))},o)};i(1)},getImage:function(n,r){var i=0,o=e.st.image,a=function(){n&&(n.img.off(".mfploader"),n===e.currItem&&(e._onImageHasSize(n),e.updateStatus("error",o.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},s=function(){n&&(n.img[0].complete?(n.img.off(".mfploader"),n===e.currItem&&(e._onImageHasSize(n),e.updateStatus("ready")),n.hasSize=!0,n.loaded=!0,S("ImageLoadComplete")):++i<200?setTimeout(s,100):a())},c=r.find(".mfp-img");if(c.length){var u=document.createElement("img");u.className="mfp-img",n.el&&n.el.find("img").length&&(u.alt=n.el.find("img").attr("alt")),n.img=t(u).on("load.mfploader",s).on("error.mfploader",a),u.src=n.src,c.is("img")&&(n.img=n.img.clone()),(u=n.img[0]).naturalWi
4dth>0?n.hasSize=!0:u.width||(n.hasSize=!1)}return e._parseMarkup(r,{title:$(n),img_replaceWith:n.img},n),e.resizeImage(),n.hasSize?(L&&clearInterval(L),n.loadError?(r.addClass("mfp-loading"),e.updateStatus("error",o.tError.replace("%url%",n.src))):(r.removeClass("mfp-loading"),e.updateStatus("ready")),r):(e.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,r.addClass("mfp-loading"),e.findImageSize(n)),r)}}});var B,U=function(){return void 0===B&&(B=void 0!==document.createElement("p").style.MozTransform),B};t.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,n=e.st.zoom,r=".zoom";if(n.enabled&&e.supportsTransition){var i,o,a=n.duration,u=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),r="all "+n.duration/1e3+"s "+n.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return i["-webkit-"+o]=i["-moz-"+o]=i["-o-"+o]=i[o]=r,e.css(i),e},l=function(){e.content.css("visibility","visible")};x("BuildControls"+r,function(){if(e._allowZoom()){if(clearTimeout(i),e.content.css("visibility","hidden"),!(t=e._getItemToZoom()))return void l();(o=u(t)).css(e._getOffset()),e.wrap.append(o),i=setTimeout(function(){o.css(e._getOffset(!0)),i=setTimeout(function(){l(),setTimeout(function(){o.remove(),t=o=null,S("ZoomAnimationEnded")},16)},a)},16)}}),x(c+r,function(){if(e._allowZoom()){if(clearTimeout(i),e.st.removalDelay=a,!t){if(!(t=e._getItemToZoom()))return;o=u(t)}o.css(e._getOffset(!0)),e.wrap.append(o),e.content.css("visibility","hidden"),setTimeout(function(){o.css(e._getOffset())},16)}}),x(s+r,function(){e._allowZoom()&&(l(),o&&o.remove(),t=null)})}},_allowZoom:function(){return"image"===e.currItem.type},_getItemToZoom:function(){return!!e.currItem.hasSize&&e.currItem.img},_getOffset:function(n){var r,i=(r=n?e.currItem.img:e.st.zoom.opener(e.currItem.el||e.currItem)).offset(),o=parseInt(r.css("padding-top"),10),a=parseInt(r.css("padding-bottom"),10);i.top-=t(window).scrollTop()-o;var s={width:r.width(),height:(w?r.innerHeight():r[0].offsetHeight)-a-o};return U()?s["-moz-transform"]=s.transform="translate("+i.left+"px,"+i.top+"px)":(s.left=i.left,s.top=i.top),s}}});var V="iframe",F="//about:blank",q=function(t){if(e.currTemplate[V]){var n=e.currTemplate[V].find("iframe");n.length&&(t||(n[0].src=F),e.isIE8&&n.css("display",t?"block":"none"))}};t.magnificPopup.registerModule(V,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){e.types.push(V),x("BeforeChange",function(t,e,n){e!==n&&(e===V?q():n===V&&q(!0))}),x(s+"."+V,function(){q()})},getIframe:function(n,r){var i=n.src,o=e.st.iframe;t.each(o.patterns,function(){if(i.indexOf(this.index)>-1)return this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1});var a={};return o.srcAction&&(a[o.srcAction]=i),e._parseMarkup(r,a,n),e.updateStatus("ready"),r}}});var z=function(t){var n=e.items.length;return t>n-1?t-n:t<0?n+t:t},H=function(t,e,n){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,n)};t.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%",langDir:null,loop:!0},proto:{initGallery:function(){var n=e.st.gallery,i=".mfp-gallery";if(e.direction=!0,!n||!n.enabled)return!1;n.langDir||(n.langDir=document.dir||"ltr"),o+=" mfp-gallery",x(f+i,function(){n.navigateByImgClick&&e.wrap.on("click"+i,".mfp-img",function(){if(e.items.length>1)return e.next(),!1}
4),r.on("keydown"+i,function(t){37===t.keyCode?"rtl"===n.langDir?e.next():e.prev():39===t.keyCode&&("rtl"===n.langDir?e.prev():e.next())}),e.updateGalleryButtons()}),x("UpdateStatus"+i,function(){e.updateGalleryButtons()}),x("UpdateStatus"+i,function(t,n){n.text&&(n.text=H(n.text,e.currItem.index,e.items.length))}),x(d+i,function(t,r,i,o){var a=e.items.length;i.counter=a>1?H(n.tCounter,o.index,a):""}),x("BuildControls"+i,function(){if(e.items.length>1&&n.arrows&&!e.arrowLeft){var r,i,o,a;"rtl"===n.langDir?(r=n.tNext,i=n.tPrev,o="next",a="prev"):(r=n.tPrev,i=n.tNext,o="prev",a="next");var s=n.arrowMarkup,c=e.arrowLeft=t(s.replace(/%title%/gi,r).replace(/%action%/gi,o).replace(/%dir%/gi,"left")).addClass(y),u=e.arrowRight=t(s.replace(/%title%/gi,i).replace(/%action%/gi,a).replace(/%dir%/gi,"right")).addClass(y);"rtl"===n.langDir?(e.arrowNext=c,e.arrowPrev=u):(e.arrowNext=u,e.arrowPrev=c),c.on("click",function(){"rtl"===n.langDir?e.next():e.prev()}),u.on("click",function(){"rtl"===n.langDir?e.prev():e.next()}),e.container.append(c.add(u))}}),x(p+i,function(){e._preloadTimeout&&clearTimeout(e._preloadTimeout),e._preloadTimeout=setTimeout(function(){e.preloadNearbyImages(),e._preloadTimeout=null},16)}),x(s+i,function(){r.off(i),e.wrap.off("click"+i),e.arrowRight=e.arrowLeft=null})},next:function(){var t=z(e.index+1);if(!e.st.gallery.loop&&0===t)return!1;e.direction=!0,e.index=t,e.updateItemHTML()},prev:function(){var t=e.index-1;if(!e.st.gallery.loop&&t<0)return!1;e.direction=!1,e.index=z(t),e.updateItemHTML()},goTo:function(t){e.direction=t>=e.index,e.index=t,e.updateItemHTML()},preloadNearbyImages:function(){var t,n=e.st.gallery.preload,r=Math.min(n[0],e.items.length),i=Math.min(n[1],e.items.length);for(t=1;t<=(e.direction?i:r);t++)e._preloadItem(e.index+t);for(t=1;t<=(e.direction?r:i);t++)e._preloadItem(e.index-t)},_preloadItem:function(n){if(n=z(n),!e.items[n].preloaded){var r=e.items[n];r.parsed||(r=e.parseEl(n)),S("LazyLoad",r),"image"===r.type&&(r.img=t('<img class="mfp-img" />').on("load.mfploader",function(){r.hasSize=!0}).on("error.mfploader",function(){r.hasSize=!0,r.loadError=!0,S("LazyLoadError",r)}).attr("src",r.src)),r.preloaded=!0}},updateGalleryButtons:function(){e.st.gallery.loop||"object"!=typeof e.arrowPrev||null===e.arrowPrev||(0===e.index?e.arrowPrev.hide():e.arrowPrev.show(),e.index===e.items.length-1?e.arrowNext.hide():e.arrowNext.show())}}});var W="retina";t.magnificPopup.registerModule(W,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var t=e.st.retina,n=t.ratio;(n=isNaN(n)?n():n)>1&&(x("ImageHasSize."+W,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/n,width:"100%"})}),x("ElementParse."+W,function(e,r){r.src=t.replaceSrc(r,n)}))}}}}),T()}),Market.Helpers.String={slugify:t=>t.toString().toLowerCase().replace(/_/g,"-").replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),humanize:t=>t.toString().toLowerCase().replace(/^[\s_]+|[\s_]+$/g,"").replace(/[_\s]+/g," ").replace(/^[a-z]/,t=>t.toUpperCase()),sanitize:t=>t.toString().replace(/(<([^>]+)>)/g,"").replace(/[`~!#$%^&*()_|+\-=\xf7\xbf?;:'",<>{}[\]\\/]/g,"").replace(/^[ ]+|[ ]+$/g,"")},Market.DOMUtils.ModalBeta=class{show(t,e,n){this.html=t,this.showCloseBtn=e,this.opts=n||{},this._launchModal()}close(){$.magnificPopup.close()}init(t){this.opts=t||{},this.html="<div></div>",this.showCloseBtn=!1,this._launchModal(!0)}error(){this.html="<div class='e-modal -width-xs'>\n  <div class=\"e-modal__section -padding-l -radius-all h-text-align-center\">\n    <p class='t-body h-m0'>\n        Hmm, looks like we can't load this content.\n        <br>\n        If you are using an ad blocker, just check that it's not blocking this page.\n    </p>\n  </div>\n</div>",this._launchModal()}_launchModal(t){const e=$.magnificPopup.instance;e&&e.items?t?$(".mfp-wrap .modal, .mfp-wrap .e-modal").addClass("is-disabled-loading"):(e.items[0].src=this.html,e.updateItemHTML(),this._modalCallbacks()):$.magnificPopup.open({items:{type:"inline",src:this.html},showCloseBtn:this.showCloseBtn,mainClass:"mfp-fade",callbacks:{change:this._modalCallbacks.bind(this),close:()=>{this.opts&&this.opts.onClose&&this.opts.onClose()},beforeClose(){$(document).trigger("modal:beforeCloseInstance")},afterClose(){$.magnificPopup.instance=null},ajaxContentAdded:()=>{}}})}_modalCallbacks(){viewloader.execute(Views,$(".mfp-content"))}},Market.DOMUtils.getModalInstance=function(){return Market.DOMUtils.ModalBeta._instance||(Market.DOMUtils.ModalBeta._instance=new Mar
4ket.DOMUtils.ModalBeta)},function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}(function(t){function e(t){return s.raw?t:encodeURIComponent(t)}function n(t){return s.raw?t:decodeURIComponent(t)}function r(t){return e(s.json?JSON.stringify(t):String(t))}function i(t){0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return t=decodeURIComponent(t.replace(a," ")),s.json?JSON.parse(t):t}catch(t){}}function o(e,n){var r=s.raw?e:i(e);return t.isFunction(n)?n(r):r}var a=/\+/g,s=t.cookie=function(i,a,c){if(void 0!==a&&!t.isFunction(a)){if("number"==typeof(c=t.extend({},s.defaults,c)).expires){var u=c.expires,l=c.expires=new Date;l.setTime(+l+864e5*u)}return document.cookie=[e(i),"=",r(a),c.expires?"; expires="+c.expires.toUTCString():"",c.path?"; path="+c.path:"",c.domain?"; domain="+c.domain:"",c.secure?"; secure":""].join("")}for(var d=i?void 0:{},f=document.cookie?document.cookie.split("; "):[],p=0,h=f.length;p<h;p++){var m=f[p].split("="),g=n(m.shift()),v=m.join("=");if(i&&i===g){d=o(v,a);break}i||void 0===(v=o(v))||(d[g]=v)}return d};s.defaults={},t.removeCookie=function(e,n){return void 0!==t.cookie(e)&&(t.cookie(e,"",t.extend({},n,{expires:-1})),!t.cookie(e))}}),Market.Helpers.CookieConsent={given:function(t){if("necessary"===t)return!0;if("undefined"!=typeof Cookiebot&&Cookiebot.consent)return Cookiebot.consent[t];const e=$.cookie("CookieConsent");if(!e)return console.log("could not read CCC"),!1;if("-1"===e)return console.log("CC outside of targeted area"),!0;try{const n=JSON.parse(e.replace(/%2c/g,",").replace(/'/g,'"').replace(/([{[,])\s*([a-zA-Z0-9_]+?):/g,'$1"$2":'));return n&&!!n[t]}catch(t){return console.log("could not parse CCC"),!1}},cookieAvailable:function(){return!!$.cookie("CookieConsent")},addListener:function(t,e){window.addEventListener("CookiebotOnAccept",function(){Market.Helpers.CookieConsent.given(t)&&e()},!1)}},Views.CsatSurvey=class{constructor(t){this.PAGE_VIEWS_COOKIE_NAME="page_view_count",this.SURVEY_COMPLETED_COOKIE_NAME="feedback_survey_complete",this.MAX_PAGE_VIEWS=5,this._onSurveySubmit=this._onSurveySubmit.bind(this);const e={themeforest:"https://envatocommunity.typeform.com/to/LDPRjQhh#",codecanyon:"https://envatocommunity.typeform.com/MarketCSAT#",videohive:"https://envatocommunity.typeform.com/to/rlOnlrTg#",audiojungle:"https://envatocommunity.typeform.com/to/Au2RsPxD#",graphicriver:"https://envatocommunity.typeform.com/to/Fu2Irz9V#"};this.dom={$popup:$("#js-customer-satisfaction-popup"),$showSurveyButton:$("#js-show-survey-button"),$closeButton:$("#js-popup-close-button"),$modalHTML:$("#js-customer-satisfaction-survey"),$surveyModal:$("#js-customer-satisfaction-survey-iframe-wrapper")},this.dataOptions=t.data(),this.survey_url=e[this.dataOptions.site]+`market=${this.dataOptions.site}`,this.cookiebotEnabled=this.dataOptions.cookiebotEnabled,this.consentGiven=Market.Helpers.CookieConsent.given,this.consentType="preferences",this.dom.$closeButton.on("click",this._onClosePopupClick.bind(this)),this.dom.$showSurveyButton.on("click",this._onShowSurveyClick.bind(this)),window.addEventListener("message",this._onSurveySubmit),$(window).on("load",()=>{"true"!==this._getCookie(this.SURVEY_COMPLETED_COOKIE_NAME)&&this._pageViews()>=this.MAX_PAGE_VIEWS&&this._showPopup()})}_onSurveySubmit(t){"https://envatocommunity.typeform.com"===t.origin&&"form-submit"===t.data.type&&(this._markSurveyAsCompleted(),window.removeEventListener("message",this._onSurveySubmit),setTimeout(Market.DOMUtils.getModalInstance().close,3500))}_pageViews(){const t=(parseInt(this._getCookie(this.PAGE_VIEWS_COOKIE_NAME),10)||0)+1;return t<=this.MAX_PAGE_VIEWS&&this._setCookie(this.PAGE_VIEWS_COOKIE_NAME,t),t}_onShowSurveyClick(t){t.preventDefault(),this._hidePopup(),$.ajax({url:"/storefront_api/csat",dataType:"json"}).then(t=>{let e;e=t.errors?this.survey_url:`${this.survey_url}&page=${window.location.pathname}&${$.param(t)}`,this._openSurveyModal(e)}).catch(()=>{this._openSurveyModal(this.survey_url)})}_openSurveyModal(t){this.dom.$surveyModal.html(`<iframe src='${t}' class='survey-content'></iframe>`),Market.DOMUtils.getModalInstance().show(this.dom.$modalHTML.html(),!0,{onClose:()=>this._onSurveyClose()})}_onClosePopupClick(){this._markSurveyAsCompleted(),this._hidePopup()}_onSurveyClose(){this._markSurveyAsCompleted()}_markSurveyAsCompleted(){this._setCookie(this.SURVEY_COMPLETED_COOKIE_NAME,"true")}_hidePopup(){this.dom.$popup.addClass("is-visually-hidden")}_showPopup(){this.dom.$popup.removeClass("is-visually-hidden")}_getCookie(t){return this._consented()?$.cookie(t):null}_setCookie(t,e){if(!this._consented())return;const n={expires:365,path:"/"};$.cookie(t,e,n)}_consented(){return!this.cookiebotEnabled||this.consentGiven(this.consentType)}},function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("underscore",e):(t="undefined"!=typeof globalThis?globalThis:t||self,function(){var n=t._,r=t._=e();r.noConflict=function(){return t._=n,r}}())}(this,function(){function t(t,e){return e=null==e?t.length-1:+e,function(){for(var n=Math.max(arguments.length-e,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+e];switch(e){case 0:return t.call(this,r);case 1:return t.call(this,arguments[0],r);case 2:return t.call(this,arguments[0],arguments[1],r)}var o=Array(e+1);for(i=0;i<e;i++)o[i]=arguments[i];return o[e]=r,t.apply(this,o)}}function e(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function n(t){return null===t}function r(t){return void 0===t}function i(t){return!0===t||!1===t||"[object Boolean]"===ce.call(t)}function o(t){return!(!t||1!==t.nodeType)}function a(t){var e="[object "+t+"]";return function(t){return ce.call(t)===e}}function s(t){return null!=t&&Re(t.getInt8)&&Ee(t.buffer)}function c(t,e){return null!=t&&ue.call(t,e)}function u(t){return!Te(t)&&ve(t)&&!isNaN(parseFloat(t))}function l(t){return xe(t)&&ge(t)}function d(t){return function(){return t}}function f(t){return function(e){var n=t(e);return"number"==typeof n&&n>=0&&n<=we}}function p(t){return function(e){return null==e?void 0:e[t]}}function h(t){return me?me(t)&&!Ne(t):Ue(t)&&Ve.test(ce.call(t))}function m(t){for(var e={},n=t.length,r=0;r<n;++r)e[t[r]]=!0;return{contains:function(t){return!0===e[t]},push:function(n){return e[n]=!0,t.push(n)}}}function g(t,e){e=m(e);var n=be.length,r=t.constructor,i=Re(r)&&r.prototype||ie,o="constructor";for(c(t,o)&&!e.contains(o)&&e.push(o);n--;)(o=be[n])in t&&t[o]!==i[o]&&!e.contains(o)&&e.push(o)}function v(t){if(!e(t))return[];if(pe)return pe(t);var n=[];for(var r in t)c(t,r)&&n.push(r);return ye&&g(t,n),n}function y(t){if(null==t)return!0;var e=qe(t);return"number"==typeof e&&(De(t)||_e(t)||$e(t))?0===e:0===qe(v(t))}function b(t,e){var n=v(e),r=n.length;if(null==t)return!r;for(var i=Object(t),o=0;o<r;o++){var a=n[o];if(e[a]!==i[a]||!(a in i))return!1}return!0}function w(t){return t instanceof w?t:this instanceof w?void(this._wrapped=t):new w(t)}function _(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,Be(t))}function x(t,e,n,r){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return!1;if(t!=t)return e!=e;var i=typeof t;return("function"===i||"object"===i||"object"==typeof e)&&k(t,e,n,r)}function k(t,e,n,r){t instanceof w&&(t=t._wrapped),e instanceof w&&(e=e._wrapped);var i=ce.call(t);if(i!==ce.call(e))return!1;if(Me&&"[object Object]"==i&&Ne(t)){if(!Ne(e))return!1;i=ze}switch(i){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0===+t?1/+t==1/e:+t===+e;case"[object Date]":case"[object Boolean]":return+t===+e;case"[object Symbol]":return oe.valueOf.call(t)===oe.valueOf.call(e);case"[object ArrayBuffer]":case ze:return k(_(t),_(e),n,r)}var o="[object Array]"===i;if(!o&&Fe(t)){if(Be(t)!==Be(e))return!1;if(t.buffer===e.buffer&&t.byteOffset===e.byteOffset)return!0;o=!0}if(!o){if("object"!=typeof t||"object"!=typeof e)return!1;var a=t.constructor,s=e.constructor;if(a!==s&&!(Re(a)&&a instanceof a&&Re(s)&&s instanceof s)&&"constructor"in t&&"constructor"in e)return!1}r=r||[];for(var u=(n=n||[]).length;u--;)if(n[u]===t)return r[u]===e;if(n.push(t),r.push(e),o){if((u=t.length)!==e.length)return!1;for(;u--;)if(!x(t[u],e[u],n,r))return!1}else{var l,d=v(t);if(u=d.length,v(e).length!==u)return!1;for(;u--;)if(!c(e,l=d[u])||!x(t[l],e[l],n,r))return!1}return n.pop(),r.pop(),!0}function S(t,e){return x(t,e)}function C(t){if(!e(t))return[];var n=[];for(var r in t)n.push(r);return ye&&g(t,n),n}function T(t){var e=qe(t);return function(n){if(null==n)return!1;var r=C(n);if(qe(r))return!1;for(var i=0;i<e;i++)if(!Re(n[t[i]]))return!1;return t!==Ye||!Re(n[He])}}function E(t){for(var e=v(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=t[e[i]];return r}function A(t){for(var e=v(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=[e[i],t[e[i]]];return r}function I(t){for(var e={},n=v(t),r=0,i=n.length;r<i;r++)e[t[n[r]]]=n[r];return e}function R(t){var e=[];for(var n in t)Re(t[n])&&e.push(n);return e.sort()}function O(t,e){return function(n){var r=arguments.length;if(e&&(n=Object(n)),r<2||null==n)return n;for(var i=1;i<r;i++)for(var o=arguments[i],a=t(o),s=a.length,c=0;c<s;c++){var u=a[c];e&&void 0!==n[u]||(n[u]=o[u])}return n}}function M(){return function(){}}function P(t){if(!e(t))return{};if(he)return he(t);var n=M();n.prototype=t;var r=new n;return n.prototype=null,r}function j(t,e){var n=P(t);return e&&rn(n,e),n}function N(t){return e(t)?De(t)?t.slice():nn({},t):t}function D(t,e){return e(t),t}function L(t){return De(t)?t:[t]}function $(t){return w.toPath(t)}function B(t,e){for(var n=e.length,r=0;r<n;r++){if(null==t)return;t=t[e[r]]}return n?t:void 0}function U(t,e,n){var i=B(t,$(e));return r(i)?n:i}function V(t,e){for(var n=(e=$(e)).length,r=0;r<n;r++){var i=e[r];if(!c(t,i))return!1;t=t[i]}return!!n}function F(t){return t}function q(t){return t=rn({},t),function(e){return b(e,t)}}function z(t){return t=$(t),function(e){return B(e,t)}}function H(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,r,i){return t.call(e,n,r,i)};case 4:return function(n,r,i,o){return t.call(e,n,r,i,o)}}return function(){return t.apply(e,arguments)}}function W(t,n,r){return null==t?F:Re(t)?H(t,n,r):e(t)&&!De(t)?q(t):z(t)}function G(t,e){return W(t,e,1/0)}function Z(t,e,n){return w.iteratee!==G?w.iteratee(t,e):W(t,e,n)}
vendor: 4,134 bytes, lines 4-5
4function K(t,e,n){e=Z(e,n);for(var r=v(t),i=r.length,o={},a=0;a<i;a++){var s=r[a];o[s]=e(t[s],s,t)}return o}function Y(){}function J(t){return null==t?Y:function(e){return U(t,e)}}function X(t,e,n){var r=Array(Math.max(0,t));e=H(e,n,1);for(var i=0;i<t;i++)r[i]=e(i);return r}function Q(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}function tt(t){var e=function(e){return t[e]},n="(?:"+v(t).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(t){return t=null==t?"":""+t,r.test(t)?t.replace(i,e):t}}function et(t){return"\\"+fn[t]}function nt(t,e,n){!e&&n&&(e=n),e=on({},e,w.templateSettings);var r=RegExp([(e.escape||dn).source,(e.interpolate||dn).source,(e.evaluate||dn).source].join("|")+"|$","g"),i=0,o="__p+='";t.replace(r,function(e,n,r,a,s){return o+=t.slice(i,s).replace(pn,et),i=s+e.length,
5n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),e}),o+="';\n";var a,s=e.variable;if(s){if(!hn.test(s))throw new Error("variable is not a bare identifier: "+s)}else o="with(obj||{}){\n"+o+"}\n",s="obj";o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{a=new Function(s,"_",o)}catch(t){throw t.source=o,t}var c=function(t){return a.call(this,t,w)};return c.source="function("+s+"){\n"+o+"}",c}function rt(t,e,n){var r=(e=$(e)).length;if(!r)return Re(n)?n.call(t):n;for(var i=0;i<r;i++){var o=null==t?void 0:t[e[i]];void 0===o&&(o=n,i=r),t=Re(o)?o.call(t):o}return t}function it(t){var e=++mn+"";return t?t+e:e}function ot(t){var e=w(t);return e._chain=!0,e}function at(t,n,r,i,o){if(!(i instanceof n))return t.apply(r,o);var a=P(t.prototype),s=t.apply(a,o);return e(s)?s:a}function st(t,e,n,r){if(r=r||[],e||0===e){if(e<=0)return r.concat(t)}else e=1/0;for(var i=r.length,o=0,a=qe(t);o<a;o++){var s=t[o];if(yn(s)&&(De(s)||$e(s)))if(e>1)st(s,e-1,n,r),i=r.length;else for(var c=0,u=s.length;c<u;)r[i++]=s[c++];else n||(r[i++]=s)}return r}function ct(t,e){var n=function(r){var i=n.cache,o=""+(e?e.apply(this,arguments):r);return c(i,o)||(i[o]=t.apply(this,arguments)),i[o]};return n.cache={},n}function ut(t,e,n){var r,i,o,a,s=0;n||(n={});var c=function(){s=!1===n.leading?0:an(),r=null,a=t.apply(i,o),r||(i=o=null)},u=function(){var u=an();s||!1!==n.leading||(s=u);var l=e-(u-s);return i=this,o=arguments,l<=0||l>e?(r&&(clearTimeout(r),r=null),s=u,a=t.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(c,l)),a};return u.cancel=function(){clearTimeout(r),s=0,r=i=o=null},u}function lt(e,n,r){var i,o,a,s,c,u=function(){var t=an()-o;n>t?i=setTimeout(u,n-t):(i=null,r||(s=e.apply(c,a)),i||(a=c=null))},l=t(function(t){return c=this,a=t,o=an(),i||(i=setTimeout(u,n),r&&(s=e.apply(c,a))),s});return l.cancel=function(){clearTimeout(i),i=a=c=null},l}function dt(t,e){return gn(e,t)}function ft(t){return function(){return!t.apply(this,arguments)}}function pt(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}}function ht(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function mt(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}}function gt(t,e,n){e=Z(e,n);for(var r,i=v(t),o=0,a=i.length;o<a;o++)if(e(t[r=i[o]],r,t))return r}function vt(t){return function(e,n,r){n=Z(n,r);for(var i=qe(e),o=t>0?0:i-1;o>=0&&o<i;o+=t)if(n(e[o],o,e))return o;return-1}}function yt(t,e,n,r){for(var i=(n=Z(n,r,1))(e),o=0,a=qe(t);o<a;){var s=Math.floor((o+a)/2);n(t[s])<i?o=s+1:a=s}return o}function bt(t,e,n){return function(r,i,o){var a=0,s=qe(r);if("number"==typeof o)t>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return r[o=n(r,i)]===i?o:-1;if(i!=i)return(o=e(se.call(r,a,s),l))>=0?o+a:-1;for(o=t>0?a:s-1;o>=0&&o<s;o+=t)if(r[o]===i)return o;return-1}}function wt(t,e,n){var r=(yn(t)?kn:gt)(t,e,n);if(void 0!==r&&-1!==r)return t[r]}function _t(t,e){return wt(t,q(e))}function xt(t,e,n){var r,i;if(e=H(e,n),yn(t))for(r=0,i=t.length;r<i;r++)e(t[r],r,t);else{var o=v(t);for(r=0,i=o.length;r<i;r++)e(t[o[r]],o[r],t)}return t}
vendor: 4,322 bytes, line 5
5function kt(t,e,n){e=Z(e,n);for(var r=!yn(t)&&v(t),i=(r||t).length,o=Array(i),a=0;a<i;a++){var s=r?r[a]:a;o[a]=e(t[s],s,t)}return o}function St(t){var e=function(e,n,r,i){var o=!yn(e)&&v(e),a=(o||e).length,s=t>0?0:a-1;for(i||(r=e[o?o[s]:s],s+=t);s>=0&&s<a;s+=t){var c=o?o[s]:s;r=n(r,e[c],c,e)}return r};return function(t,n,r,i){var o=arguments.length>=3;return e(t,H(n,i,4),r,o)}}function Ct(t,e,n){var r=[];return e=Z(e,n),xt(t,function(t,n,i){e(t,n,i)&&r.push(t)}),r}function Tt(t,e,n){return Ct(t,ft(Z(e)),n)}function Et(t,e,n){e=Z(e,n);for(var r=!yn(t)&&v(t),i=(r||t).length,o=0;o<i;o++){var a=r?r[o]:o;if(!e(t[a],a,t))return!1}return!0}function At(t,e,n){e=Z(e,n);for(var r=!yn(t)&&v(t),i=(r||t).length,o=0;o<i;o++){var a=r?r[o]:o;if(e(t[a],a,t))return!0}return!1}function It(t,e,n,r){return yn(t)||(t=E(t)),("number"!=typeof n||r)&&(n=0),Cn(t,e,n)>=0}function Rt(t,e){return kt(t,z(e))}function Ot(t,e){return Ct(t,q(e))}function Mt(t,e,n){var r,i,o=-1/0,a=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var s=0,c=(t=yn(t)?t:E(t)).length;s<c;s++)null!=(r=t[s])&&r>o&&(o=r);else e=Z(e,n),xt(t,function(t,n,r){((i=e(t,n,r))>a||i===-1/0&&o===-1/0)&&(o=t,a=i)});return o}function Pt(t,e,n){var r,i,o=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var s=0,c=(t=yn(t)?t:E(t)).length;s<c;s++)null!=(r=t[s])&&r<o&&(o=r);else e=Z(e,n),xt(t,function(t,n,r){((i=e(t,n,r))<a||i===1/0&&o===1/0)&&(o=t,a=i)});return o}function jt(t){return t?De(t)?se.call(t):_e(t)?t.match(Rn):yn(t)?kt(t,F):E(t):[]}function Nt(t,e,n){if(null==e||n)return yn(t)||(t=E(t)),t[Q(t.length-1)];var r=jt(t),i=qe(r);e=Math.max(Math.min(e,i),0);for(var o=i-1,a=0;a<e;a++){var s=Q(a,o),c=r[a];r[a]=r[s],r[s]=c}return r.slice(0,e)}function Dt(t){return Nt(t,1/0)}function Lt(t,e,n){var r=0;return e=Z(e,n),Rt(kt(t,function(t,n,i){return{value:t,index:r++,criteria:e(t,n,i)}}).sort(function(t,e){var n=t.criteria,r=e.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return t.index-e.index}),"value")}function $t(t,e){return function(n,r,i){var o=e?[[],[]]:{};return r=Z(r,i),xt(n,function(e,i){var a=r(e,i,n);t(o,e,a)}),o}}function Bt(t){return null==t?0:yn(t)?t.length:v(t).length}function Ut(t,e,n){return e in n}function Vt(t,e,n){return se.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))}function Ft(t,e,n){return null==t||t.length<1?null==e||n?void 0:[]:null==e||n?t[0]:Vt(t,t.length-e)}function qt(t,e,n){return se.call(t,null==e||n?1:e)}function zt(t,e,n){return null==t||t.length<1?null==e||n?void 0:[]:null==e||n?t[t.length-1]:qt(t,Math.max(0,t.length-e))}function Ht(t){return Ct(t,Boolean)}function Wt(t,e){return st(t,e,!1)}function Gt(t,e,n,r){i(e)||(r=n,n=e,e=!1),null!=n&&(n=Z(n,r));for(var o=[],a=[],s=0,c=qe(t);s<c;s++){var u=t[s],l=n?n(u,s,t):u;e&&!n?(s&&a===l||o.push(u),a=l):n?It(a,l)||(a.push(l),o.push(u)):It(o,u)||o.push(u)}return o}function Zt(t){for(var e=[],n=arguments.length,r=0,i=qe(t);r<i;r++){var o=t[r];if(!It(e,o)){var a;for(a=1;a<n&&It(arguments[a],o);a++);a===n&&e.push(o)}}return e}function Kt(t){for(var e=t&&Mt(t,qe).length||0,n=Array(e),r=0;r<e;r++)n[r]=Rt(t,r);return n}function Yt(t,e){for(var n={},r=0,i=qe(t);r<i;r++)e?n[t[r]]=e[r]:n[t[r][0]]=t[r][1];return n}function Jt(t,e,n){null==e&&(e=t||0,t=0),n||(n=e<t?-1:1);for(var r=Math.max(Math.ceil((e-t)/n),0),i=Array(r),o=0;o<r;o++,t+=n)i[o]=t;return i}function Xt(t,e){if(null==e||e<1)return[];for(var n=[],r=0,i=t.length;r<i;)n.push(se.call(t,r,r+=e));return n}function Qt(t,e){return t._chain?w(e).chain():e}function te(t){return xt(R(t),function(e){var n=w[e]=t[e];w.prototype[e]=function(){var t=[this._wrapped];return ae.apply(t,arguments),Qt(this,n.apply(w,t))}}),w}var ee="1.13.7",ne="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},re=Array.prototype,ie=Object.prototype,oe="undefined"!=typeof Symbol?Symbol.prototype:null,ae=re.push,se=re.slice,ce=ie.toString,ue=ie.hasOwnProperty,le="undefined"!=typeof ArrayBuffer,de="undefined"!=typeof DataView,fe=Array.isArray,pe=Object.keys,he=Object.create,me=le&&ArrayBuffer.isView,ge=isNaN,ve=isFinite,ye=!{toString:null}.propertyIsEnumerable("toString"),be=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleStr
5ing"],we=Math.pow(2,53)-1,_e=a("String"),xe=a("Number"),ke=a("Date"),Se=a("RegExp"),Ce=a("Error"),Te=a("Symbol"),Ee=a("ArrayBuffer"),Ae=a("Function"),Ie=ne.document&&ne.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof Ie&&(Ae=function(t){return"function"==typeof t||!1});var Re=Ae,Oe=a("Object"),Me=de&&(!/\[native code\]/.test(String(DataView))||Oe(new DataView(new ArrayBuffer(8)))),Pe="undefined"!=typeof Map&&Oe(new Map),je=a("DataView"),Ne=Me?s:je,De=fe||a("Array"),Le=a("Arguments");!function(){Le(arguments)||(Le=function(t){return c(t,"callee")})}();var $e=Le,Be=p("byteLength"),Ue=f(Be),Ve=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,Fe=le?h:d(!1),qe=p("length");w.VERSION=ee,w.prototype.value=function(){return this._wrapped},w.prototype.valueOf=w.prototype.toJSON=w.prototype.value,w.prototype.toString=function(){return String(this._wrapped)};var ze="[object DataView]",He="forEach",We="has",Ge=["clear","delete"],Ze=["get",We,"set"],Ke=Ge.concat(He,Ze),Ye=Ge.concat(Ze),Je=["add"].concat(Ge,He,We),Xe=Pe?T(Ke):a("Map"),Qe=Pe?T(Ye):a("WeakMap"),tn=Pe?T(Je):a("Set"),en=a("WeakSet"),nn=O(C),rn=O(v),on=O(C,!0);w.toPath=L,w.iteratee=G;var an=Date.now||function(){return(new Date).getTime()},sn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},cn=tt(sn),un=tt(I(sn)),ln=w.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},dn=/(.)^/,fn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},pn=/\\|'|\r|\n|\u2028|\u2029/g,hn=/^\s*(\w|\$)+\s*$/,mn=0,gn=t(function(t,e){var n=gn.placeholder,r=function(){for(var i=0,o=e.length,a=Array(o),s=0;s<o;s++)a[s]=e[s]===n?arguments[i++]:e[s];for(;i<arguments.length;)a.push(arguments[i++]);return at(t,r,this,this,a)};return r});gn.placeholder=w;var vn=t(function(e,n,r){if(!Re(e))throw new TypeError("Bind must be called on a function");var i=t(function(t){return at(e,i,n,this,r.concat(t))});return i}),yn=f(qe),bn=t(function(t,e){var n=(e=st(e,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=e[n];t[r]=vn(t[r],t)}return t}),wn=t(function(t,e,n){return setTimeout(function(){return t.apply(null,n)},e)}),_n=gn(wn,w,1),xn=gn(mt,2),kn=vt(1),Sn=vt(-1),Cn=bt(1,kn,yt),Tn=bt(-1,Sn),En=St(1),An=St(-1),In=t(function(t,e,n){var r,i;return Re(e)?i=e:(e=$(e),r=e.slice(0,-1),e=e[e.length-1]),kt(t,function(t){var o=i;if(!o){if(r&&r.length&&(t=B(t,r)),null==t)return;o=t[e]}return null==o?o:o.apply(t,n)})}),Rn=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g,On=$t(function(t,e,n){c(t,n)?t[n].push(e):t[n]=[e]}),Mn=$t(function(t,e,n){t[n]=e}),Pn=$t(function(t,e,n){c(t,n)?t[n]++:t[n]=1}),jn=$t(function(t,e,n){t[n?0:1].push(e)},!0),Nn=t(function(t,e){var n={},r=e[0];if(null==t)return n;Re(r)?(e.length>1&&(r=H(r,e[1])),e=C(t)):(r=Ut,e=st(e,!1,!1),t=Object(t));for(var i=0,o=e.length;i<o;i++){var a=e[i],s=t[a];r(s,a,t)&&(n[a]=s)}return n}),Dn=t(function(t,e){var n,r=e[0];return Re(r)?(r=ft(r),e.length>1&&(n=e[1])):(e=kt(st(e,!1,!1),String),r=function(t,n){return!It(e,n)}),Nn(t,r,n)}),Ln=t(function(t,e){return e=st(e,!0,!0),Ct(t,function(t){return!It(e,t)})}),$n=t(function(t,e){return Ln(t,e)}),Bn=t(function(t){return Gt(st(t,!0,!0))}),Un=t(Kt);xt(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=re[t];w.prototype[t]=function(){var n=this._wrapped;return null!=n&&(e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0]),Qt(this,n)}}),xt(["concat","join","slice"],function(t){var e=re[t];w.prototype[t]=function(){var t=this._wrapped;return null!=t&&(t=e.apply(t,arguments)),Qt(this,t)}});var Vn=te({__proto__:null,VERSION:ee,restArguments:t,isObject:e,isNull:n,isUndefined:r,isBoolean:i,isElement:o,isString:_e,isNumber:xe,isDate:ke,isRegExp:Se,isError:Ce,isSymbol:Te,isArrayBuffer:Ee,isDataView:Ne,isArray:De,isFunction:Re,isArguments:$e,isFinite:u,isNaN:l,isTypedArray:Fe,isEmpty:y,isMatch:b,isEqual:S,isMap:Xe,isWeakMap:Qe,isSet:tn,isWeakSet:en,keys:v,allKeys:C,values:E,pairs:A,invert:I,functions:R,methods:R,extend:nn,extendOwn:rn,assign:rn,defaults:on,create:j,clone:N,tap:D,get:U,has:V,mapObject:K,identity:F,constant:d,noop:Y,toPath:L,property:z,propertyOf:J,matcher:q,matches:q,times:X,random:Q,now:an,escape:cn,unescape:un,templateSettings:ln,template:nt,result:rt,uniqueId:it,chain:ot,iteratee:G,partial:gn,bind:vn,bindAll:bn,memoize:ct,delay:wn,defer:_n,throttle:ut,debounce:lt,wrap:dt,negate:ft,compose:pt,after:ht,before:mt,once:xn,findKey:gt,findIndex:kn,findLastIndex:Sn,sortedIndex:yt,indexOf:Cn,lastIndexOf:Tn,find:wt,detect:wt,findWhere:_t,each:xt,forEach:xt,map:kt,collect:kt,reduce:En,foldl:En,inject:En,reduceRight:An,foldr:An,filter:Ct,select:Ct,reject:Tt,every:Et,all:Et,some:At,any:At,contains:It,includes:It,include:It,invoke:In,pluck:Rt,where:Ot,max:Mt,min:Pt,shuffle:Dt,sample:Nt,sortBy:Lt,groupBy:On,indexBy:Mn,countBy:Pn,partition:jn,toArray:jt,
5size:Bt,pick:Nn,omit:Dn,first:Ft,head:Ft,take:Ft,initial:Vt,last:zt,rest:qt,tail:qt,drop:qt,compact:Ht,flatten:Wt,without:$n,uniq:Gt,unique:Gt,union:Bn,intersection:Zt,difference:Ln,unzip:Kt,transpose:Kt,zip:Un,object:Yt,range:Jt,chunk:Xt,mixin:te,default:w});return Vn._=Vn,Vn}),Views.Flyout=class{constructor(t){this._updatePosition=this._updatePosition.bind(this),this._triggerFlyoutHideEvent=this._triggerFlyoutHideEvent.bind(this),this.$el=t,this.status=!1,this.firstRun=!0,this.dom={$flyoutBody:this.$el.find(".js-flyout__body").clone(!0,!0).appendTo($(document.body))},this.dom.$flyoutBody.attr("data-show",!1),this._throttledUpdatePosition=_.throttle(this._updatePosition,100),this.$el.on("click",this.toggleStatus.bind(this)),this.dom.$flyoutBody.on("click",this.handleFlyoutBodyClick),$(document).on("flyout:hide",this.hideFlyout.bind(this))}toggleStatus(t){"true"===this.dom.$flyoutBody.attr("data-show")?(this.hideFlyout(),this._triggerFlyoutHideEvent()):(this._triggerFlyoutHideEvent(),this.showFlyout(t))}handleFlyoutBodyClick(t){t.stopPropagation()}showFlyout(t){if(t.stopPropagation(),$(document).trigger("flyout:open",{flyout:this}),this.firstRun){this.firstRun=!1;const t={flyout:this.dom.$flyoutBody};$(document).trigger("flyout:setup",t)}this._updatePosition(),this.dom.$flyoutBody.attr("data-show",!0),$(document).on("click",this._triggerFlyoutHideEvent),$(window).on("scroll",this._throttledUpdatePosition),$(window).on("resize",this._throttledUpdatePosition),$(window).on("orientationchange",this._updatePosition)}hideFlyout(){this.dom.$flyoutBody.attr("data-show",!1),$(document).off("click",this._triggerFlyoutHideEvent),$(window).off("scroll",this._throttledUpdatePosition),$(window).off("resize",this._throttledUpdatePosition),$(window).off("orientationchange",this._updatePosition)}_updatePosition(){const t=this.$el.offset(),e=this.$el.data("flyout-position");"object"==typeof e?(t.top+=e.topPixels,t.left+=e.leftPixels):t.left-=15,this.dom.$flyoutBody.css({top:t.top,left:t.left})}_triggerFlyoutHideEvent(){$(document).trigger("flyout:hide")}},Views.GlobalHeaderMenuDropdownHandler=class{constructor(t){this.$el=t,$(".global-header").on("keyup",this.onKeyPress.bind(this))}onKeyPress(t){this.dropdownMenuOpenFromFocus()&&this.isKeyPressIsEscKey(t)&&$(this.$el).focus()}dropdownMenuOpenFromFocus(){return this.$el.is(":focus-within")}isKeyPressIsEscKey(t){const e=27;return t.keyCode===e}},Market.DOMUtils.Modal=class{constructor(t,e){this.url=t,this.options=e||{},this.$form=this.options.form,this.method=this._getMethod(),this.modalInstance=$.magnificPopup.instance||!1,this.responsive=!!this.options.responsiveEnabled,this.showCloseBtn=!this.options.hideCloseBtn}open(){this._detectModalType(this.responsive,this._getScreenWidth(),this.modalInstance&&this.modalInstance.items)}_detectModalType(t,e,n){e&&t?this._modalResponsive():n?this._modalExisting():this._modalLightbox()}_modalExisting(){$.ajax({url:this.url,type:this.method}).done(this._updateModal.bind(this)).fail(()=>{this._updateModal("<div class='e-modal -width-xs'><div class='e-modal__section -padding-l -radius-all h-text-align-center'><a class='t-link' href='"+this.url+"'>The content</a> could not be loaded.</div></div>")})}_modalLightbox(){const t=this;$.magnificPopup.open({items:{type:"ajax",src:this.url},ajax:{tError:"<div class='e-modal -width-xs'>\n  <div class='e-modal__section -padding-l -radius-all h-text-align-center'>\n    <p class='t-body h-m0'>\n       Hmm, looks like we can't load this content.\n       <br>\n       If you are using an ad blocker, just check that it's not blocking this page.\n    </p>\n  </div>\n</div>",settings:{cache:!1,type:this.method}},showCloseBtn:this.showCloseBtn,mainClass:"mfp-fade",callbacks:{open(){t.modalInstance=$.magnificPopup.instance},afterClose(){$.magnificPopup.instance=null},ajaxContentAdded(){t._modalCallback(this.content)}}})}_modalResponsive(){"post"===this.method?this.$form.trigger("submit"):window.location.href=this.url}_updateModal(t){this.modalInstance.items[0]={src:t,type:"inline"},this.modalInstance.updateItemHTML(),this._modalCallback($(".mfp-wrap"))}_getMethod(){return this.$form&&this.$form.attr("method")?this.$form.attr("method"):this.options.modalMethod?this.options.modalMethod:"get"}_getScreenWidth(){return window.screen.width<500||Modernizr.mq("only all and (max-width: 500px)")}_modalCallback(t){t.length||$.magnificPopup.close(),this.options.$el&&this.options.$el.trigger("modalAjaxContent:added",t),viewloader.execute(Views,$(".mfp-wrap")),window.DeveloperTools&&viewloader.execute(DeveloperTools.Views,$(".mfp-wrap"))}}
5,Views.Modal=class{constructor(t){this.href=t.attr("href"),this.options=_.extend(t.data(),{$el:t}),t.on("click",this.handleClick.bind(this))}handleClick(t){t.preventDefault(),new Market.DOMUtils.Modal(this.href,this.options).open()}},Market.Helpers.touchDetection={isTouchPrimaryDevice(){try{if(!(window.matchMedia&&"function"==typeof window.matchMedia))return!1;const t=window.matchMedia("(hover: none)");return!!t&&Boolean(t.matches)}catch(t){return!1}},isHoverPrimaryDevice(){return!this.isTouchPrimaryDevice()},isTouch(){return this.isTouchPrimaryDevice()}},Market.Helpers.detectRedirect={check(t){return this.url=null,$.each(t,(t,e)=>{if(this.testRedirectCondition[t]())return this.url=e,!1}),this.url},testRedirectCondition:{mobile:()=>window.screen.width<500||Modernizr.mq("only all and (max-width: 500px)"),tablet:()=>window.screen.width<1024||Modernizr.mq("only all and (max-width: 1024px)"),touch:()=>Market.Helpers.touchDetection.isTouchPrimaryDevice(),cfUnauthorized:()=>!0}},Views.ModalAjax=class{constructor(t){this.handleSubmit=this.handleSubmit.bind(this),this.handleBeforeSend=this.handleBeforeSend.bind(this),this.handleSuccess=this.handleSuccess.bind(this),this.$el=t,this.method=this.$el.attr("method")||this.$el.data("method")||"get",this.redirectConditions=this.$el.data("redirectConditions")||{mobile:!0},this.showCloseBtn=!this.$el.data("hideCloseButton"),null!=this.$el.attr("action")?this.$el.on("submit",this.handleSubmit):this.$el.on("click",this.handleSubmit),this.$el.on({"ajax:beforeSend":this.handleBeforeSend,"ajax:success":this.handleSuccess,"ajax:error":this.handleError})}handleSubmit(t){return this._testRedirectConditions(),this._detectModalType()||t.preventDefault()}handleBeforeSend(){this.redirectAfterSubmit||Market.DOMUtils.getModalInstance().init()}handleError(){Market.DOMUtils.getModalInstance().error()}handleSuccess(t,e){const n=null!=e.html?e.html:e;this.redirectAfterSubmit?this._redirect():Market.DOMUtils.getModalInstance().show(n,this.showCloseBtn)}_detectModalType(){return this.submit=!1,this.redirectConditionMet?this.customRedirect?"get"===this.method?this._redirect():(this.redirectAfterSubmit=!0,this._submitWithAjax()):this.submit=!0:this._submitWithAjax(),this.submit}_redirect(){window.location=this.redirectUrl}_submitWithAjax(){$.rails.handleRemote(this.$el)}_testRedirectConditions(){this.redirectUrl=Market.Helpers.detectRedirect.check(this.redirectConditions),this.redirectConditionMet=null!==this.redirectUrl,this.customRedirect=this.redirectConditionMet&&!_.isBoolean(this.redirectUrl)}}
5,Views.ModalInline=class{constructor(t,e,n){this.handleSubmit=this.handleSubmit.bind(this),this.$el=t,this.method=this.$el.attr("method")||this.$el.data("method")||"get",this.redirectConditions=this.$el.data("redirectConditions")||{mobile:!0},this.showCloseBtn=!this.$el.data("hideCloseButton"),this.html=this.$el.data("html"),this.window=n||window,null!=this.$el.attr("action")?this.$el.on("submit",this.handleSubmit):this.$el.on("click",this.handleSubmit)}handleSubmit(t){return this._testRedirectConditions(),this._detectModalType()||this._showModal()}_testRedirectConditions(){this.redirectUrl=Market.Helpers.detectRedirect.check(this.redirectConditions),this.redirectConditionMet=null!==this.redirectUrl,this.customRedirect=this.redirectConditionMet&&!_.isBoolean(this.redirectUrl)}_detectModalType(){let t=!1;return this.redirectConditionMet?this.customRedirect?"get"===this.method?this._redirect():this._submitWithAjax():t=!0:this._submitWithAjax(),t}_submitWithAjax(){$.rails.handleRemote(this.$el)}_redirect(){this.window.location=this.redirectUrl}_showModal(){const t=$(this.html).clone().show()[0].outerHTML;return Market.DOMUtils.getModalInstance().show(t,this.showCloseBtn),viewloader.execute(Views,$(".mfp-wrap")),!1}}
5,Views.ModalInternalControls=class{constructor(t){this.$el=t,this.modalInstance=$.magnificPopup.instance,this.$el.on("click",".js-modal-close",this.handleClose.bind(this))}handleClose(t){this._modalActive()&&(t.preventDefault(),this._closeModal())}_modalActive(){return!!this.modalInstance}_closeModal(){this.modalInstance.close()}},window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(t,e){e=e||window;for(let n=0;n<this.length;n++)t.call(e,this[n],n,this)}),(()=>{function t(e){var n=m[e];if(void 0!==n)return n.exports;var r=m[e]={exports:{}};return h[e](r,r.exports,t),r.exports}function e(t,e,n){function r(){const t=0===s.length?new Uint8Array(0):(0,S.wh)(s.concat(o)),e={rawBytesCount:a,output:t,outputBytesCount:t.byteLength,encoding:"deflate"};return a=0,s=[],e}function i(){c||(e.postMessage({action:"reset",streamId:n}),c=!0)}let o,a=0,s=[],c=!0,u=0;const l=[],{stop:d}=(0,x.q)(t,e,"message",({data:t})=>{if("wrote"!==t.type||t.streamId!==n)return;const e=l[0];e&&(e.id===t.id?(l.shift(),a+=t.additionalBytesCount,s.push(t.result),o=t.trailer,e.writeCallback?e.writeCallback(t.result.byteLength):e.finishCallback&&e.finishCallback()):e.id<t.id&&(d(),(0,k.A2)("Worker responses received out of order.")))});return{isAsync:!0,get isEmpty(){return c},write(t,r){e.postMessage({action:"write",id:u,data:t,streamId:n}),l.push({id:u,writeCallback:r,data:t}),c=!1,u+=1},finish(t){i(),l.length?(l.forEach(t=>{delete t.writeCallback}),l[l.length-1].finishCallback=()=>t(r())):t(r())},finishSync(){i();const t=l.map(t=>t.data).join("");return l.length=0,{...r(),pendingData:t}},estimateEncodedBytesCount:t=>t.length/8,stop(){d()}}}function n({configuredUrl:t,error:e,source:n,scriptType:r}){if(E.Vy.error(`${n} failed to start: an error occurred while initializing the ${r}:`,e),e instanceof Event||e instanceof Error&&((i=e.message).includes("Content Security Policy")||i.includes("requires 'TrustedScriptURL'"))){let e;e=t?`Please make sure the ${r} URL ${t} is correct and CSP is correctly configured.`:"Please make sure CSP is correctly configured.",E.Vy.error(`${e} See documentation at ${E.fH}/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay`)}else"worker"===r&&(0,k.VJ)(e);var i}function r(t){
6return new Worker(t.workerUrl||URL.createObjectURL(new Blob(['(()=>{function t(t){const e=t.reduce((t,e)=>t+e.length,0),a=new Uint8Array(e);let n=0;for(const e of t)a.set(e,n),n+=e.length;return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),n=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),r=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),i=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=Array(576);e(s);var h=Array(60);e(h);var l=Array(512);e(l);var _=Array(256);e(_);var o=Array(29);e(o);var d,u,f,c=Array(30);function p(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function g(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(c);var v=function(t){return t<256?l[t]:l[256+(t>>>7)]},w=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},m=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,w(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},b=function(t,e,a){m(t,a[2*e],a[2*e+1])},y=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},z=function(t,e,a){var n,r,i=Array(16),s=0;for(n=1;n<=15;n++)i[n]=s=s+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=y(i[h]++,h))}},k=function(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},x=function(t){t.bi_valid>8?w(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},A=function(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]}
vendor: 4,411 bytes, line 6
6,U=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&A(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!A(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},B=function(t,e,r){var i,s,h,l,d=0;if(0!==t.last_lit)do{i=t.pending_buf[t.d_buf+2*d]<<8|t.pending_buf[t.d_buf+2*d+1],s=t.pending_buf[t.l_buf+d],d++,0===i?b(t,s,e):(h=_[s],b(t,h+256+1,e),0!==(l=a[h])&&(s-=o[h],m(t,s,l)),i--,h=v(i),b(t,h,r),0!==(l=n[h])&&(i-=c[h],m(t,i,l)))}while(d<t.last_lit);b(t,256,e)},I=function(t,e){var a,n,r,i=e.dyn_tree,s=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,_=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;a++)0!==i[2*a]?(t.heap[++t.heap_len]=_=a,t.depth[a]=0):i[2*a+1]=0;for(;t.heap_len<2;)i[2*(r=t.heap[++t.heap_len]=_<2?++_:0)]=1,t.depth[r]=0,t.opt_len--,h&&(t.static_len-=s[2*r+1]);for(e.max_code=_,a=t.heap_len>>1;a>=1;a--)U(t,i,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],U(t,i,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,i[2*r]=i[2*a]+i[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,i[2*a+1]=i[2*n+1]=r,t.heap[1]=r++,U(t,i,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,i,s,h,l=e.dyn_tree,_=e.max_code,o=e.stat_desc.static_tree,d=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,c=e.stat_desc.max_length,p=0;for(i=0;i<=15;i++)t.bl_count[i]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(i=l[2*l[2*(n=t.heap[a])+1]+1]+1)>c&&(i=c,p++),l[2*n+1]=i,n>_||(t.bl_count[i]++,s=0,n>=f&&(s=u[n-f]),h=l[2*n],t.opt_len+=h*(i+s),d&&(t.static_len+=h*(o[2*n+1]+s)));if(0!==p){do{for(i=c-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[c]--,p-=2}while(p>0);for(i=c;0!==i;i--)for(n=t.bl_count[i];0!==n;)(r=t.heap[--a])>_||(l[2*r+1]!==i&&(t.opt_len+=(i-l[2*r+1])*l[2*r],l[2*r+1]=i),n--)}}(t,e),z(i,_,t.bl_count)},E=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++h<l&&r===s||(h<_?t.bl_tree[2*r]+=h:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):h<=10?t.bl_tree[34]++:t.bl_tree[36]++,h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4))},C=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++h<l&&r===s)){if(h<_)do{b(t,r,t.bl_tree)}while(0!==--h);else 0!==r?(r!==i&&(b(t,r,t.bl_tree),h--),b(t,16,t.bl_tree),m(t,h-3,2)):h<=10?(b(t,17,t.bl_tree),m(t,h-3,3)):(b(t,18,t.bl_tree),m(t,h-11,7));h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4)}},D=!1,M=function(t,e,a,n){m(t,0+(n?1:0),3),function(t,e,a){x(t),w(t,a),w(t,~a),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a)},j=M,L=function(t,e,a,n){for(var r=65535&t,i=t>>>16&65535,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16},S=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),T=function(t,e,a,n){var r=S,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},O={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},q=j,F=function(t,e,a){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&a,t.last_lit++,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(_[a]+256+1)]++,t.dyn_dtree[2*v(e)]++),t.last_lit===t.lit_bufsize-1},G=-2,H=258,J=262,K=103,N=113,P=666,Q=function(t,e){return t.msg=O[e],e},R=function(t){return(t<<1)-(t>4?9:0)},V=function(t){for(var e=t.length;--e>=0;)t[e]=0},W=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},X=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},Y=function(t,e){(function(t,e,a,n){var r,l,_=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),_=function(t){var e;
vendor: 14,903 bytes, line 6
6for(E(t,t.dyn_ltree,t.l_desc.max_code),E(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*i[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(l=t.static_len+3+7>>>3)<=r&&(r=l)):r=l=a+5,a+4<=r&&-1!==e?M(t,e,a,n):4===t.strategy||l===r?(m(t,2+(n?1:0),3),B(t,s,h)):(m(t,4+(n?1:0),3),function(t,e,a,n){var r;for(m(t,e-257,5),m(t,a-1,5),m(t,n-4,4),r=0;r<n;r++)m(t,t.bl_tree[2*i[r]+1],3);C(t,t.dyn_ltree,e-1),C(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),B(t,t.dyn_ltree,t.dyn_dtree)),k(t),n&&x(t)})(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,X(t.strm)},Z=function(t,e){t.pending_buf[t.pending++]=e},$=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},tt=function(t,e,a,n){var r=t.avail_in;return r>n&&(r=n),0===r?0:(t.avail_in-=r,e.set(t.input.subarray(t.next_in,t.next_in+r),a),1===t.state.wrap?t.adler=L(t.adler,e,r,a):2===t.state.wrap&&(t.adler=T(t.adler,e,r,a)),t.next_in+=r,t.total_in+=r,r)},et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,h=t.nice_match,l=t.strstart>t.w_size-J?t.strstart-(t.w_size-J):0,_=t.window,o=t.w_mask,d=t.prev,u=t.strstart+H,f=_[i+s-1],c=_[i+s];t.prev_length>=t.good_match&&(r>>=2),h>t.lookahead&&(h=t.lookahead);do{if(_[(a=e)+s]===c&&_[a+s-1]===f&&_[a]===_[i]&&_[++a]===_[i+1]){i+=2,a++;do{}while(_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&i<u);if(n=H-(u-i),i=u-H,n>s){if(t.match_start=e,s=n,n>=h)break;f=_[i+s-1],c=_[i+s]}}}while((e=d[e&o])>l&&0!==--r);return s<=t.lookahead?s:t.lookahead},at=function(t){var e,a,n,r,i,s=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=s+(s-J)){t.window.set(t.window.subarray(s,s+s),0),t.match_start-=s,t.strstart-=s,t.block_start-=s,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=s?n-s:0}while(--a);e=a=s;do{n=t.prev[--e],t.prev[e]=n>=s?n-s:0}while(--a);r+=s}if(0===t.strm.avail_in)break;if(a=tt(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=W(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=W(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<J&&0!==t.strm.avail_in)},nt=function(t,e){for(var a,n;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a)),t.match_length>=3)if(n=F(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!==--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=W(t,t.ins_h,t.window[t.strstart+1]);else n=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2},rt=function(t,e){for(var a,n,r;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=F(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!==--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(Y(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=F(t,0,t.window[t.strstart-1]))&&Y(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=F(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2};function it(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var st=[new it(0,0,0,0,function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(at(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,Y(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-J&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Y(t,!1),t.strm.avail_out),1)}),new it(4,4,8,4,nt),new it(4,5,16,8,nt),new it(4,6,32,32,nt),new it(4,4,16,16,rt),new it(8,16,32,32,rt),new it(8,16,128,128,rt),new it(8,32,128,256,rt),new it(32,128,258,1024,rt),new it(32,258,258,4096,rt)];function ht(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),V(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}for(var lt=function(t){var e,i=function(t){if(!t||!t.state)return Q(t,G);t.total_in=t.total_out=0,t.data_type=2;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:N,t.adler=2===e.wrap?0:1,e.last_flush=0,function(t){D||(function(){var t,e,i,g,v,w=Array(16);for(i=0,g=0;g<28;g++)for(o[g]=i,t=0;t<1<<a[g];t++)_[i++]=g;for(_[i-1]=g,v=0,g=0;g<16;g++)for(c[g]=v,t=0;t<1<<n[g];t++)l[v++]=g;for(v>>=7;g<30;g++)for(c[g]=v<<7,t=0;t<1<<n[g]-7;t++)l[256+v++]=g;for(e=0;e<=15;e++)w[e]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,w[8]++;for(;t<=255;)s[2*t+1]=9,t++,w[9]++;for(;t<=279;)s[2*t+1]=7,t++,w[7]++;for(;t<=287;)s[2*t+1]=8,t++,w[8]++;for(z(s,287,w),t=0;t<30;t++)h[2*t+1]=5,h[2*t]=y(t,5);d=new p(s,a,257,286,15),u=new p(h,n,0,30,15),f=new p([],r,0,19,7)}(),D=!0),t.l_desc=new g(t.dyn_ltree,d),t.d_desc=new g(t.dyn_dtree,u),t.bl_desc=new g(t.bl_tree,f),t.bi_buf=0,t.bi_valid=0,k(t)}(e),0}(t);return 0===i&&((e=t.state).window_size=2*e.w_size,V(e.head),e.max_lazy_match=st[e.level].max_lazy,e.good_match=st[e.level].good_length,e.nice_match=st[e.level].nice_length,e.max_chain_length=st[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),i},_t=function(t,e){var a,n;if(!t||!t.state||e>5||e<0)return t?Q(t,G):G;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===P&&4!==e)return Q(t,0===t.avail_out?-5:G);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,Z(r,31),Z(r,139),Z(r,8),r.gzhead?(Z(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Z(r,255&r.gzhead.time),Z(r,r.gzhead.time>>8&255),Z(r,r.gzhead.time>>16&255),Z(r,r.gzhead.time>>24&255),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Z(r,255&r.gzhead.extra.length),Z(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=T(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,3),r.status=N);else{var h=8+(r.w_bits-8<<4)<<8;h|=(r.strategy>=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(h|=32),h+=31-h%31,r.status=N,$(r,h),0!==r.strstart&&($(r,t.adler>>>16),$(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending!==r.pending_buf_size));)Z(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=K)}else r.status=K;if(r.status===K&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&X(t),r.pending+2<=r.pending_buf_size&&(Z(r,255&t.adler),Z(r,t.adler>>8&255),t.adler=0,r.status=N)):r.status=N),0!==r.pending){if(X(t),0===t.avail_out)return r.last_flush=-1,0}else if(0===t.avail_in&&R(e)<=R(i)&&4!==e)return Q(t,-5);if(r.status===P&&0!==t.avail_in)return Q(t,-5);if(0!==t.avail_in||0!==r.lookahead||0!==e&&r.status!==P){var l=2===r.strategy?function(t,e){for(var a;;){if(0===t.lookahead&&(at(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):3===r.strategy?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=H){if(at(t),t.lookahead<=H&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+H;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<i);t.match_length=H-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=F(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):st[r.level].func(r,e);if(3!==l&&4!==l||(r.status=P),1===l||3===l)return 0===t.avail_out&&(r.last_flush=-1),0;if(2===l&&(1===e?function(t){m(t,2,3),b(t,256,s),function(t){16===t.bi_valid?(w(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}(r):5!==e&&(q(r,0,0,!1),3===e&&(V(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),X(t),0===t.avail_out))return r.last_flush=-1,0}return 4!==e?0:r.wrap<=0?1:(2===r.wrap?(Z(r,255&t.adler),Z(r,t.adler>>8&255),Z(r,t.adler>>16&255),Z(r,t.adler>>24&255),Z(r,255&t.total_in),Z(r,t.total_in>>8&255),Z(r,t.total_in>>16&255),Z(r,t.total_in>>24&255)):($(r,t.adler>>>16),$(r,65535&t.adler)),X(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},ot=function(t){if(!t||!t.state)return G;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==K&&e!==N&&e!==P?Q(t,G):(t.state=null,e===N?Q(t,-3):0)},dt=new Uint8Array(256),ut=0;ut<256;ut++)dt[ut]=ut>=252?6:ut>=248?5:ut>=240?4:ut>=224?3:ut>=192?2:1;dt[254]=dt[254]=1;var ft=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},ct=Object.prototype.toString;function pt(){this.options={level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ft,this.strm.avail_out=0;var e,a,n=function(t,e,a,n,r,i){if(!t)return G;var s=1;if(-1===e&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||8!==a||n<8||n>15||e<0||e>9||i<0||i>4)return Q(t,G);8===n&&(n=9);var h=new ht;return t.state=h,h.strm=t,h.wrap=s,h.gzhead=null,h.w_bits=n,h.w_size=1<<h.w_bits,h.w_mask=h.w_size-1,h.hash_bits=r+7,h.hash_size=1<<h.hash_bits,h.hash_mask=h.hash_size-1,h.hash_shift=~~((h.hash_bits+3-1)/3),h.window=new Uint8Array(2*h.w_size),h.head=new Uint16Array(h.hash_size),h.prev=new Uint16Array(h.w_size),h.lit_bufsize=1<<r+6,h.pending_buf_size=4*h.lit_bufsize,h.pending_buf=new Uint8Array(h.pending_buf_size),h.d_buf=1*h.lit_bufsize,h.l_buf=3*h.lit_bufsize,h.level=e,h.strategy=i,h.method=a,lt(t)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw Error(O[n]);if(t.header&&(e=this.strm,a=t.header,e&&e.state&&(2!==e.state.wrap||(e.state.gzhead=a))),t.dictionary){var r;if(r="[object ArrayBuffer]"===ct.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=function(t,e){var a=e.length;if(!t||!t.state)return G;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return G;if(1===r&&(t.adler=L(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(V(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);
6i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,h=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,at(n);n.lookahead>=3;){var _=n.strstart,o=n.lookahead-2;do{n.ins_h=W(n,n.ins_h,n.window[_+3-1]),n.prev[_&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=_,_++}while(--o);n.strstart=_,n.lookahead=2,at(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=h,t.input=l,t.avail_in=s,n.wrap=r,0}(this.strm,r)))throw Error(O[n]);this._dict_set=!0}}function gt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:e+"",streamId:a})}}function vt(t){const e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}pt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?4:0,"[object ArrayBuffer]"===ct.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(2===n||3===n)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if(1===(a=_t(r,n)))return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=ot(this.strm),this.onEnd(a),this.ended=!0,0===a;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},pt.prototype.onData=function(t){this.chunks.push(t)},pt.prototype.onEnd=function(t){0===t&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var r=new Uint8Array(e),i=0,s=0,h=t.length;i<h;i++){var l=t[i];r.set(l,s),s+=l.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e=self){try{const a=new Map;e.addEventListener("message",n=>{try{const r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"6.19.0"};case"write":{let n=e.get(a.streamId);n||(n=new pt,e.set(a.streamId,n));const r=n.chunks.length,i=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,n,r,i,s=t.length,h=0;for(r=0;r<s;r++)a=t.charCodeAt(r),55296==(64512&a)&&r+1<s&&(n=t.charCodeAt(r+1),56320==(64512&n)&&(a=65536+(a-55296<<10)+(n-56320),r++)),h+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(h),i=0,r=0;i<h;r++)a=t.charCodeAt(r),55296==(64512&a)&&r+1<s&&(n=t.charCodeAt(r+1),56320==(64512&n)&&(a=65536+(a-55296<<10)+(n-56320),r++)),a<128?e[i++]=a:a<2048?(e[i++]=192|a>>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a.data);return n.push(i,2),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:vt(n),additionalBytesCount:i.length}}case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){gt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}})}catch(t){gt(e,t)}}()})();'])))}function i(t,e,n,i=r){switch(0===I.status&&function(t,e,n=r){try{const r=n(t),{stop:i}=(0,x.q)(t,r,"error",n=>{a(t,e,n)}),{stop:o}=(0,x.q)(t,r,"message",({data:n})=>{var r;"errored"===n.type?a(t,e,n.error,n.streamId):"initialized"===n.type&&(r=n.version,1===I.status&&(I={status:3,worker:I.worker,stop:I.stop,version:r}))});r.postMessage({action:"init"}),(0,T.wg)(()=>function(t){1===I.status&&(E.Vy.error(t+" failed to start: a timeout occurred while initializing the Worker"),I.initializationFailureCallbacks.forEach(t=>t()),I={status:2})}(e),A),I={status:1,worker:r,stop(){i(),o()},initializationFailureCallbacks:[]}}catch(n){a(t,e,n)}}(t,e,i),I.status){case 1:return I.initializationFailureCallbacks.push(n),I.worker;case 3:return I.worker}}function o(){return I.status}function a(t,e,r,i){1===I.status||0===I.status?(n({configuredUrl:t.workerUrl,error:r,source:e,scriptType:"worker"}),1===I.status&&I.initializationFailureCallbacks.forEach(t=>t()),I={status:2}):(0,k.VJ)(r,{worker_version:3===I.status&&I.version,stream_id:i})}function s(){return"function"==typeof Array.from&&"function"==typeof CSSSupportsRule&&"function"==typeof URL.createObjectURL&&"forEach"in NodeList.prototype}async function c(t,e,n){try{return await n}finally{t.notify(e)}}async function u(){return(await t.e("recorder").then(t.bind(t,751))).startRecording}async function l(t=d){try{return await t()}catch(t){n({error:t,source:"Profiler",scriptType:"module"})}}async function d(){return(await t.e("profiler").then(t.bind(t,790))).createRumProfiler}var f,p,h={61(t,e,n){function r(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get(){return this},configurable:!0});let t=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof t&&(t="object"==typeof self?self:"object"==typeof window?window:{}),t}n.d(e,{V:()=>r})},75(t,e,n){function r(t,e){for(let n=t.length-1;n>=0;n-=1){const r=t[n];if(e(r,n,t))return r}}function i(t){return Object.values(t)}function o(t){return Object.entries(t)}n.d(e,{KQ:()=>i,Uk:()=>r,WP:()=>o})},166(t,e,n){function r(t){return null===t?"null":Array.isArray(t)?"array":typeof t}n.d(e,{P:()=>r})},187(t,e,n){function r(t){return{...t}}function i(t,e){return Object.keys(t).some(n=>t[n]===e)}function o(t){return 0===Object.keys(t).length}function a(t,e){const n={};for(const r of Object.keys(t))n[r]=e(t[r]);return n}n.d(e,{LG:()=>a,RI:()=>o,Rj:()=>i,yG:()=>r})},188(t,e,n){function r(t){Array.isArray(t)&&t.filter(t=>
6(0,s.Rj)(a,t)).forEach(t=>{c.add(t)})}function i(t){return c.has(t)}function o(){return c}n.d(e,{Aq:()=>r,R9:()=>a,q7:()=>o,sr:()=>i});var a,s=n(187);!function(t){t.TRACK_INTAKE_REQUESTS="track_intake_requests",t.WRITABLE_RESOURCE_GRAPHQL="writable_resource_graphql",t.EARLY_REQUEST_COLLECTION="early_request_collection",t.WATCH_COOKIE_WITHOUT_LOCK="watch_cookie_without_lock",t.USE_TREE_WALKER_FOR_ACTION_NAME="use_tree_walker_for_action_name"}(a||(a={}));const c=new Set},197(t,e,n){function r(t,e,n,r,o){return i(t,e,[n],r,o)}function i(t,e,n,r,{once:i,capture:s,passive:c}={}){function u(){const t=(0,a.W)(f,"removeEventListener");n.forEach(n=>t.call(e,n,l,d))}const l=(0,o.dm)(e=>{(e.isTrusted||e.__ddIsTrusted||t.allowUntrustedEvents)&&(i&&u(),r(e))}),d=c?{capture:s,passive:c}:s,f=window.EventTarget&&e instanceof EventTarget?window.EventTarget.prototype:e,p=(0,a.W)(f,"addEventListener");return n.forEach(t=>p.call(e,t,l,d)),{stop:u}}n.d(e,{l:()=>i,q:()=>r});var o=n(315),a=n(586)},262(t,e,n){function r(t,e){return(...n)=>{try{return t(...n)}catch(t){i.Vy.error(e,t)}}}n.d(e,{y:()=>r});var i=n(875)},275(t,e,n){function r(t){const e=window.queueMicrotask;"function"==typeof e?e((0,o.dm)(t)):Promise.resolve().then((0,o.dm)(t))}function i(...t){return new a(e=>{const n=t.map(t=>t.subscribe(t=>e.notify(t)));return()=>n.forEach(t=>t.unsubscribe())})}n.d(e,{dX:()=>s,cP:()=>a,Fx:()=>i});var o=n(315);class a{constructor(t){this.onFirstSubscribe=t,this.observers=[]}subscribe(t){return this.addObserver(t),{unsubscribe:()=>this.removeObserver(t)}}notify(t){this.observers.forEach(e=>e(t))}addObserver(t){this.observers.push(t),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0)}removeObserver(t){this.observers=this.observers.filter(e=>t!==e),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}}class s extends a{constructor(t){super(),this.maxBufferSize=t,this.buffer=[]}notify(t){this.buffer.push(t),this.buffer.length>this.maxBufferSize&&this.buffer.shift(),super.notify(t)}subscribe(t){let e=!1;const n={unsubscribe:()=>{e=!0,this.removeObserver(t)}};return r(()=>{for(const n of this.buffer){if(e)return;t(n)}e||this.addObserver(t)}),n}unbuffer(){r(()=>{this.maxBufferSize=this.buffer.length=0})}}},295(t,e,n){function r(t){return t>=500}function i(t){try{return t.clone()}catch(t){return}}n.d(e,{G:()=>r,i:()=>i})},300(t,e,n){function r(t){return c(t).segments_count}function i(t){c(t).segments_count+=1}function o(t){c(t).records_count+=1}function a(t,e){c(t).segments_total_raw_size+=e}function s(t){return null==u?void 0:u.get(t)}function c(t){let e;return u||(u=new Map),u.has(t)?e=u.get(t):(e={records_count:0,segments_count:0,segments_total_raw_size:0},u.set(t,e),u.size>1e3&&function(){if(!u)return;const t=u.keys().next().value;t&&u.delete(t)}()),e}let u;n.d(e,{$1:()=>o,H5:()=>i,K_:()=>r,L7:()=>a,lv:()=>s})},314(t,e,n){n.d(e,{g:()=>r});const r={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"}},315(t,e,n){function r(t){l=t}function i(t){d=t}function o(t){return function(){return a(t,this,arguments)}}function a(t,e,n){try{return t.apply(e,n)}catch(t){s(t)}}function s(t){if(c(t),l)try{l(t)}catch(t){c(t)}}function c(...t){d&&u.Vy.error("[MONITOR]",...t)}n.d(e,{Bd:()=>r,Dx:()=>s,dm:()=>o,oO:()=>c,pM:()=>i,um:()=>a});var u=n(875);let l,d=!1},322(t,e,n){function r(t){const e={version:"6.19.0",onReady(t){t()},...t};return Object.defineProperty(e,"_setDebug",{get:()=>a.pM,enumerable:!1}),e}function i(t,e,n){const r=t[e];r&&!r.q&&r.version&&s.Vy.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),t[e]=n,r&&r.q&&r.q.forEach(t=>(0,o.y)(t,"onReady callback threw an error:")())}n.d(e,{Z:()=>i,m:()=>r});var o=n(262),a=n(315),s=n(875)},339(t,e,n){function r(){const t={};return{register:(e,n)=>(t[e]||(t[e]=[]),t[e].push(n),{unregister(){t[e]=t[e].filter(t=>t!==n)}}),triggerHook(e,n){const r=t[e]||[],s=[];for(const t of r){const e=t(n);if(e===o)return o;e!==a&&s.push(e)}return(0,i.kg)(...s)}}}n.d(e,{$O:()=>a,XP:()=>r,ug:()=>o});var i=n(995);const o="DISCARDED",a="SKIPPED"},357(t,e,n){function r(){return new rn.cP(t=>{const e=(e,n)=>{const r=(0,ln.As)({stackTrace:n,originalError:e,startClocks:(0,sn.M8)(),nonErrorPrefix:"Uncaught",source:dn.g.SOURCE,handling:"unhandled"});t.notify(r)},{stop:n}
6=(r=e,(0,an.H)((0,un.V)(),"onerror",({parameters:[t,e,n,i,o]})=>{let a;(0,ln.bJ)(o)||(a=(0,cn.h)(t,e,n,i)),r(null!=o?o:t,a)}));var r;const{stop:i}=function(t){return(0,an.H)((0,un.V)(),"onunhandledrejection",({parameters:[e]})=>{t(e.reason||"Empty reason")})}(e);return()=>{n(),i()}})}function i(){let t="",e=0;return{isAsync:!1,get isEmpty(){return!t},write(n,r){const i=(0,fn.WW)(n);e+=i,t+=n,r&&r(i)},finish(t){t(this.finishSync())},finishSync(){const n={output:t,outputBytesCount:e,rawBytesCount:e,pendingData:""};return t="",e=0,n},estimateEncodedBytesCount:t=>t.length}}function o(t,e,n,r){return(0,pn.dm)((...i)=>(r&&(0,hn.Q6)({feature:r}),t()[e][n](...i)))}function a(t,e){e.silentMultipleInit||En.Vy.error(t+" is already initialized.")}function s(t){return t?(parseInt(t,10)^16*Math.random()>>parseInt(t,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,s)}function c(t,e){for(Dn.lastIndex=0;;){const n=Dn.exec(t);if(!n)break;if(n[1]===e)return n[2]}}function u(t,e,n=""){const r=t.charCodeAt(e-1),i=r>=55296&&r<=56319?e+1:e;return t.length<=i?t:`${t.slice(0,i)}${n}`}function l({vitalsByName:t,vitalsByReference:e},n,r={}){const i={name:n,startClocks:(0,sn.M8)(),context:r.context,description:r.description},o={__dd_vital_reference:!0};return t.set(n,i),e.set(o,i),o}function d(t,{vitalsByName:e,vitalsByReference:n},r,i={}){const o="string"==typeof r?e.get(r):n.get(r);o&&(t(function(t,e,n,r){var i;return{name:t.name,type:Nn,startClocks:e,duration:(0,sn.vk)(e.timeStamp,r.timeStamp),context:(0,gn.kg)(t.context,n.context),description:null!==(i=n.description)&&void 0!==i?i:t.description}
7}(o,o.startClocks,i,(0,sn.M8)())),"string"==typeof r?e.delete(r):n.delete(r))}function f(t,e,n){if(t)for(const r of t){const t=r[e];t&&t(n)}}function p(t,e){const n=t.indexOf(e);n>=0&&t.splice(n,1)}function h(t,e,n,r){function i(){const t=localStorage.getItem(o);return t?JSON.parse(t):{}}const o=function(t,e){return`_dd_c_${t}_${e}`}(n,r);Bn.push((0,Ln.q)(t,window,"storage",({key:t})=>{o===t&&e.setContext(i())})),e.changeObservable.subscribe(function(){localStorage.setItem(o,JSON.stringify(e.getContext()))});const a=(0,gn.kg)(i(),e.getContext());(0,$n.RI)(a)||e.setContext(a)}function m(t,e,n){const r={...t};for(const[t,{required:i,type:o}]of Object.entries(e))"string"!==o||g(r[t])||(r[t]=r[t]+""),i&&g(r[t])&&En.Vy.warn(`The property ${t} of ${n} is required; context will not be sent to the intake.`);return r}function g(t){return null==t||""===t}function v(t="",{propertiesConfig:e={}}={}){let n={};const r=new rn.cP,i={getContext:()=>(0,gn.Go)(n),setContext(o){!function(t){const e="object"===(0,Un.P)(t);return e||En.Vy.error("Unsupported context:",t),e}(o)?i.clearContext():n=(0,yn.a)(m(o,e,t)),r.notify()},setContextProperty(i,o){n=(0,yn.a)(m({...n,[i]:o},e,t)),r.notify()},removeContextProperty(i){delete n[i],m(n,e,t),r.notify()},clearContext(){n={},r.notify()},changeObservable:r};return i}function y(){return v("global context")}function b(){return v("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}function w(){return v("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}function _(){return Hn||(Hn=new rn.cP(t=>{if(!window.fetch)return;const{stop:e}=(0,an.H)(window,"fetch",e=>function({parameters:t,onPostCall:e,handlingStack:n},r){const[i,o]=t;let a=o&&o.method;void 0===a&&i instanceof Request&&(a=i.method);const s=void 0!==a?(a+"").toUpperCase():"GET",c=i instanceof Request?i.url:(0,zn.l2)(i+""),u={state:"start",init:o,input:i,method:s,startClocks:(0,sn.M8)(),url:c,handlingStack:n};r.notify(u),t[0]=u.input,t[1]=u.init,e(t=>function(t,e,n){function r(e){i.state="resolve",Object.assign(i,e),t.notify(i)}const i=n;e.then((0,pn.dm)(t=>{r({response:t,responseType:t.type,status:t.status,isAborted:!1})}),(0,pn.dm)(t=>{var e,n;r({status:0,isAborted:(null===(n=null===(e=i.init)||void 0===e?void 0:e.signal)||void 0===n?void 0:n.aborted)||t instanceof DOMException&&t.code===DOMException.ABORT_ERR,error:t})}))}(r,t,u))}(e,t),{computeHandlingStack:!0});return e})),Hn}function x(t,e,n=0,r){const i=new Date;i.setTime(i.getTime()+n);const o="expires="+i.toUTCString(),a=r&&r.crossSite?"none":"strict",s=r&&r.domain?";domain="+r.domain:"",c=r&&r.secure?";secure":"",u=r&&r.partitioned?";partitioned":"";document.cookie=`${t}=${e};${o};path=/;samesite=${a}${s}${c}${u}`}function k(t){return c(document.cookie,t)}function S(t){return Gn||(Gn=function(t){const e=new Map;for(Dn.lastIndex=0;;){const n=Dn.exec(t);if(!n)break;e.set(n[1],n[2])}return e}(document.cookie)),Gn.get(t)}function C(t,e){x(t,"",0,e)}function T(){if(void 0===Zn){const t="dd_site_test_"+s(),e="test",n=window.location.hostname.split(".");let r=n.pop();for(;n.length&&!k(t);)r=`${n.pop()}.${r}`,x(t,e,sn.OY,{domain:r});C(t,{domain:r}),Zn=r}return Zn}
7function E(){return!(!window._DATADOG_SYNTHETICS_INJECTS_RUM&&!S("datadog-synthetics-injects-rum"))}function A(){const t=window._DATADOG_SYNTHETICS_PUBLIC_ID||S("datadog-synthetics-public-id");return"string"==typeof t?t:void 0}function I(){const t=window._DATADOG_SYNTHETICS_RESULT_ID||S("datadog-synthetics-result-id");return"string"==typeof t?t:void 0}function R(){return!(!A()||!I())}function O(t,e){const n={isExpired:"1"};return e.trackAnonymousUser&&((null==t?void 0:t.anonymousId)?n.anonymousId=null==t?void 0:t.anonymousId:n.anonymousId=s()),n}function M(t){return(0,$n.RI)(t)}function P(t){return!M(t)}function j(t){return void 0!==t.isExpired||!((void 0===(e=t).created||(0,sn.x3)()-Number(e.created)<er)&&(void 0===e.expire||(0,sn.x3)()<Number(e.expire)));var e}function N(t){t.expire=(0,sn.x3)()+nr+""}function D(t){return(0,tr.WP)(t).map(([t,e])=>"anonymousId"===t?"aid="+e:`${t}=${e}`).join("&")}function L(t){const e={};return function(t){return!!t&&(-1!==t.indexOf("&")||ar.test(t))}(t)&&t.split("&").forEach(t=>{const n=ar.exec(t);if(null!==n){const[,t,r]=n;"aid"===t?e.anonymousId=r:e[t]=r}}),e}function $(t){const e=function(t){const e={};return e.secure=!!t.useSecureSessionCookie||!!t.usePartitionedCrossSiteSessionCookie,e.crossSite=!!t.usePartitionedCrossSiteSessionCookie,e.partitioned=!!t.usePartitionedCrossSiteSessionCookie,t.trackSessionAcrossSubdomains&&(e.domain=T()),e}(t);return function(t){if(void 0===document.cookie||null===document.cookie)return!1;try{const e="dd_cookie_test_"+s(),n="test";x(e,n,sn.iW,t);const r=k(e)===n;return C(e,t),r}catch(t){return En.Vy.error(t),!1}}(e)?{type:ir,cookieOptions:e}:void 0}function B(t,e,n,r){x(Qn,D(n),e.trackAnonymousUser?rr:r,t)}function U(){return L(k(Qn))}function V(){try{const t=s(),e="_dd_test_"+t;localStorage.setItem(e,t);const n=localStorage.getItem(e);return localStorage.removeItem(e),t===n?{type:or}:void 0}catch(t){return}}function F(t){localStorage.setItem(Qn,D(t))}function q(){return L(localStorage.getItem(Qn))}function z(t,e,n=0){var r;const{isLockEnabled:i,persistSession:o,expireSession:a}=e,c=t=>o({...t,lock:l}),u=()=>{const{lock:t,...n}=e.retrieveSession();return{session:n,lock:t&&!G(t)?t:void 0}};if(ur||(ur=t),t!==ur)return void cr.push(t);if(i&&n>=100)return(0,hn.A2)("Aborted session operation after max lock retries",{currentStore:u()}),void W(e);let l,d=u();if(i){if(d.lock)return void H(t,e,n);if(l=s()+"--"+(0,sn.nx)(),c(d.session),d=u(),d.lock!==l)return void H(t,e,n)}let f=t.process(d.session);if(i&&(d=u(),d.lock!==l))H(t,e,n);else{if(f&&(j(f)?a(f):(N(f),i?c(f):o(f))),i&&(!f||!j(f))){if(d=u(),d.lock!==l)return void H(t,e,n);o(d.session),f=d.session}null===(r=t.after)||void 0===r||r.call(t,f||d.session),W(e)}}function H(t,e,n){(0,Jn.wg)(()=>{z(t,e,n+1)},10)}function W(t){ur=void 0;const e=cr.shift();e&&z(e,t)}function G(t){const[,e]=t.split("--");return!e||(0,sn.vk)(Number(e),(0,sn.nx)())>sr}function Z(t){switch(t.sessionPersistence){case ir:return $(t);case or:return V();case void 0:{let e=$(t);return!e&&t.allowFallbackToLocalStorage&&(e=V()),e}default:En.Vy.error(`Invalid session persistence '${t.sessionPersistence+""}'`)}}function K(t){const e=(0,Un.P)(t);return"string"===e||"function"===e||t instanceof RegExp}function Y(t,e,n=!1){return t.some(t=>{try{if("function"==typeof t)return t(e);if(t instanceof RegExp)return t.test(e);if("string"==typeof t)return n?e.startsWith(t):t===e}catch(t){En.Vy.error(t)}return!1})}function J(t){return dr.some(e=>t.includes(e))}function X(t,e,n){const r=function(t,e){const n="/api/v2/"+e,r=t.proxy;if("string"==typeof r){const t=(0,zn.l2)(r);return e=>`${t}?ddforward=${encodeURIComponent(`${n}?${e}`)}`}if("function"==typeof r)return t=>r({path:n,parameters:t});const i=Q(e,t);return t=>`https://${i}${n}?${t}`}(t,e);return{build(i,o){const a=function({clientToken:t,internalAnalyticsSubdomain:e,source:n="browser"},r,i,{retry:o,encoding:a},c=[]){const u=["ddsource="+n,"dd-api-key="+t,"dd-evp-origin-version="+encodeURIComponent("6.19.0"),"dd-evp-origin=browser","dd-request-id="+s()].concat(c);return a&&u.push("dd-evp-encoding="+a),"rum"===r&&(u.push("batch_time="+(0,sn.nx)(),"_dd.api="+i),o&&u.push("_dd.retry_count="+o.count,"_dd.retry_after="+o.lastFailureStatus)),e&&u.reverse(),u.join("&")}(t,e,i,o,n);return r(a)},trackType:e}}function Q(t,e){const{site:n=pr.NW,internalAnalyticsSubdomain:r}=e;if("logs"===t&&e.usePciIntake&&n===pr.NW)return pr.$A;if(r&&n===pr.NW)return`${r}.${pr.NW}`;if(n===pr.TC)return"http-intake.logs."+n;const i=n.split("."),o=i.pop();return`browser-intake-${i.join("-")}.${o}`}function tt(t){const e=t.site||pr.NW,n="flutter"===t.source?"flutter":"browser",r=function(t){return{logsEndpointBuilder:X(t,"logs"),rumEndpointBuilder:X(t,"rum"),profilingEndpointBuilder:X(t,"profile"),sessionReplayEndpointBuilder:X(t,"replay"),exposuresEndpointBuilder:X(t,"exposures")}}({...t,site:e,source:n}),i=function(t){if(!t.replica)return;const e={...t,site:pr.NW,clientToken:t.replica.clientToken};return{logsEndpointBuilder:X(e,"logs"),rumEndpointBuilder:X(e,"rum",["application.id="+t.replica.applicationId])}}({...t,site:e,source:n});return{replica:i,site:e,source:n,...r}}function et(t,e){return null==t||"string"==typeof t||(En.Vy.error(e+" must be defined as a string"),!1)}function nt(t,e){return!(void 0!==t&&!(0,Yn.fp)(t)&&(En.Vy.error(e+" Sample Rate should be a number between 0 and 100"),1))}function rt(t,e){if(100===e)return!0;
7if(0===e)return!1;const n=gr.get(e);if(n&&t===n.sessionId)return n.decision;let r;return r=window.BigInt?function(t,e){const n=BigInt("1111111111111111111"),r=BigInt("0x10000000000000000");return Number(t*n%r)<=e/100*Number(r)}(BigInt("0x"+t.split("-")[4]),e):(0,Yn.ic)(e),gr.set(e,{sessionId:t,decision:r}),r}function it(){return ot(63)}function ot(t){const e=crypto.getRandomValues(new Uint32Array(2));return 63===t&&(e[e.length-1]>>>=1),{toString(t=10){let n=e[1],r=e[0],i="";do{const e=n%t*4294967296+r;n=Math.floor(n/t),r=Math.floor(e/t),i=(e%t).toString(t)+i}while(n||r);return i}}}function at(t){return t.toString(16).padStart(16,"0")}function st(t){0!==t.status||t.isAborted||(t.traceId=void 0,t.spanId=void 0,t.traceSampled=void 0)}function ct(t,e,n,r,i,o){const a=n.findTrackedSession();if(!a)return;const s=t.allowedTracingUrls.find(t=>Y([t.match],e.url,!0));if(!s)return;const c=rt(a.id,t.traceSampleRate);(c||t.traceContextInjection===mr.ALL)&&(e.traceSampled=c,e.traceId=ot(64),e.spanId=it(),o(function(t,e,n,r,i,o,a,s){const c={};if(i.forEach(r=>{switch(r){case"datadog":Object.assign(c,{"x-datadog-origin":"rum","x-datadog-parent-id":e.toString(),"x-datadog-sampling-priority":n?"1":"0","x-datadog-trace-id":t.toString()});break;case"tracecontext":Object.assign(c,{traceparent:`00-0000000000000000${at(t)}-${at(e)}-0${n?"1":"0"}`,tracestate:`dd=s:${n?"1":"0"};o:rum`});break;case"b3":Object.assign(c,{b3:`${at(t)}-${at(e)}-${n?"1":"0"}`});break;case"b3multi":Object.assign(c,{"X-B3-TraceId":at(t),"X-B3-SpanId":at(e),"X-B3-Sampled":n?"1":"0"})}}),s.propagateTraceBaggage){const t={"session.id":r},e=o.getContext().id;"string"==typeof e&&(t["user.id"]=e);const n=a.getContext().id;"string"==typeof n&&(t["account.id"]=n);const i=Object.entries(t).map(([t,e])=>`${t}=${encodeURIComponent(e)}`).join(",");i&&(c.baggage=i)}return c}(e.traceId,e.spanId,e.traceSampled,a.id,s.propagatorTypes,r,i,t)))}function ut(t){const e=new Set;return Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0&&t.allowedTracingUrls.forEach(t=>{K(t)?vr.forEach(t=>e.add(t)):"object"===(0,Un.P)(t)&&Array.isArray(t.propagatorTypes)&&t.propagatorTypes.forEach(t=>e.add(t))}),Array.from(e)}function lt(t){if(Array.isArray(t))return t.map(lt);if(function(t){return"object"==typeof t&&null!==t}(t)){if("rcSerializedType"in t){const e=t.rcSerializedType;switch(e){case"string":return t.value;case"regex":return dt(t.value);case"dynamic":return function(t){const e=t.strategy;switch(e){case"cookie":return function({name:t,extractor:e}){const n=k(t);return void 0!==e&&void 0!==n?ft(e,n):n}(t);case"dom":return function({selector:t,attribute:e,extractor:n}){let r;try{r=document.querySelector(t)}catch(e){r=null,En.Vy.error(`Invalid selector in the remote configuration: '${t}'`)}if(null===r||function(t,e){return"password"===t.getAttribute("type")&&"value"===e}(r,e))return;const i=void 0!==e?r.getAttribute(e):r.textContent;return void 0!==n&&null!==i?ft(n,i):null!=i?i:void 0}(t);default:return void En.Vy.error(`Unsupported remote configuration: "strategy": "${e}"`)}}(t);default:return void En.Vy.error(`Unsupported remote configuration: "rcSerializedType": "${e}"`)}}return(0,$n.LG)(t,lt)}return t}function dt(t){try{return RegExp(t)}catch(e){En.Vy.error(`Invalid regex in the remote configuration: '${t}'`)}}function ft(t,e){const n=dt(t.value);if(void 0===n)return;const r=n.exec(e);if(null===r)return;const[i,o]=r;return o||i}function pt(t,e,n){t.changeObservable.subscribe(()=>{const r=t.getContext();n.add(t=>t[e].setContext(r))})}function ht(t,e,n,s={}){const c=function(t){const e=new rn.cP;return{tryToInit(e){t||(t=e)},update(n){t=n,e.notify()},isGranted:()=>t===on.GRANTED,observable:e}}(),u={vitalsByName:new Map,vitalsByReference:new WeakMap},h=function(t=r){const e=new rn.dX(500),n=t().subscribe(t=>{e.notify({type:0,error:t})});return{observable:e,stop(){n.unsubscribe()}}}().observable;let m=function({ignoreInitIfSyntheticsWillInjectRum:t=!0,startDeflateWorker:e},n,r,i){function o(){if(!x||!k||!n.isGranted())return;let t;if(S.unsubscribe(),k.trackViewsManually){if(!g)return;c.remove(g.callback),t=g.options}const e=i(k,v,t);c.drain(e)}function s(t){const r=(0,Fn.d0)();if(r&&(t=function(t){var e,n;return{...t,applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100,defaultPrivacyLevel:null!==(e=t.defaultPrivacyLevel)&&void 0!==e?e:null===(n=(0,Fn.Y9)())||void 0===n?void 0:n.getPrivacyLevel()}}(t)),x=t,(0,hn.Rr)(function(t){var e;const n={session_sample_rate:(r=t).sessionSampleRate,telemetry_sample_rate:r.telemetrySampleRate,telemetry_configuration_sample_rate:r.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:r.telemetryUsageSampleRate,use_before_send:!!r.beforeSend,use_partitioned_cross_site_session_cookie:r.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:r.useSecureSessionCookie,use_proxy:!!r.proxy,silent_multiple_init:r.silentMultipleInit,track_session_across_subdomains:r.trackSessionAcrossSubdomains,track_anonymous_user:r.trackAnonymousUser,session_persistence:r.sessionPersistence,allow_fallback_to_local_storage:!!r.allowFallbackToLocalStorage,store_contexts_across_pages:!!r.storeContextsAcrossPages,allow_untrusted_events:!!r.allowUntrustedEvents,tracking_consent:r.trackingConsent,use_allowed_tracking_origins:Array.isArray(r.allowedTrackingOrigins),source:r.source,sdk_version:r.sdkVersion,variant:r.variant};var r;return{session_replay_sample_rate:t.sessionReplaySampleRate,start_session_replay_recording_manually:t.startSessionReplayRecordingManually,trace_sample_rate:t.traceSampleRate,trace_context_injection:t.traceContextInjection,action_name_attribute:t.actionNameAttribute,use_allowed_tracing_urls:Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0,selected_tracing_propagators:ut(t),default_privacy_level:t.defaultPrivacyLevel,enable_privacy_for_action_name:t.enablePrivacyF
7orActionName,use_excluded_activity_urls:Array.isArray(t.excludedActivityUrls)&&t.excludedActivityUrls.length>0,use_worker_url:!!t.workerUrl,compress_intake_requests:t.compressIntakeRequests,track_views_manually:t.trackViewsManually,track_user_interactions:t.trackUserInteractions,track_resources:t.trackResources,track_long_task:t.trackLongTasks,track_bfcache_views:t.trackBfcacheViews,plugins:null===(e=t.plugins)||void 0===e?void 0:e.map(t=>{var e;return{name:t.name,...null===(e=t.getConfigurationTelemetry)||void 0===e?void 0:e.call(t)}}),track_feature_flags_for_events:t.trackFeatureFlagsForEvents,remote_configuration_id:t.remoteConfigurationId,...n}}(t)),k)return void a("DD_RUM",t);const i=function(t){var e,n,r,i,o,a,s;if(void 0===t.trackFeatureFlagsForEvents||Array.isArray(t.trackFeatureFlagsForEvents)||En.Vy.warn("trackFeatureFlagsForEvents should be an array"),!t.applicationId)return void En.Vy.error("Application ID is not configured, no RUM data will be collected.");if(!nt(t.sessionReplaySampleRate,"Session Replay")||!nt(t.traceSampleRate,"Trace"))return;if(void 0!==t.excludedActivityUrls&&!Array.isArray(t.excludedActivityUrls))return void En.Vy.error("Excluded Activity Urls should be an array");const c=function(t){if(void 0===t.allowedTracingUrls)return[];if(!Array.isArray(t.allowedTracingUrls))return void En.Vy.error("Allowed Tracing URLs should be an array");if(0!==t.allowedTracingUrls.length&&void 0===t.service)return void En.Vy.error("Service needs to be configured when tracing is enabled");const e=[];return t.allowedTracingUrls.forEach(t=>{K(t)?e.push({match:t,propagatorTypes:vr}):function(t){const e=t;return"object"===(0,Un.P)(e)&&K(e.match)&&Array.isArray(e.propagatorTypes)}(t)?e.push(t):En.Vy.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",t)}),e}(t);if(!c)return;const u=function(t){var e,n,r,i,o,a,s,c,u,l;if(t&&t.clientToken)if(void 0===t.allowedTrackingOrigins||Array.isArray(t.allowedTrackingOrigins)){if((!(d=t.site)||"string"!=typeof d||/(datadog|ddog|datad0g|dd0g)/.test(d)||(En.Vy.error(`Site should be a valid Datadog site. ${En.xG} ${En.fH}/getting_started/site/.`),0))&&nt(t.sessionSampleRate,"Session")&&nt(t.telemetrySampleRate,"Telemetry")&&nt(t.telemetryConfigurationSampleRate,"Telemetry Configuration")&&nt(t.telemetryUsageSampleRate,"Telemetry Usage")&&et(t.version,"Version")&&et(t.env,"Env")&&et(t.service,"Service")&&function(t,e=("undefined"!=typeof location?location.origin:""),n=Error().stack){const r=t.allowedTrackingOrigins;if(!r){if(function(t,e=""){return!J(t)&&J(e)}(e,n)){En.Vy.warn(fr);const t=function(t=""){for(const e of dr){const n=t.match(RegExp(e+"[^/]+"));if(n)return n[0]}}(n);(0,hn.A2)(fr,{extensionUrl:t||"unknown"})}return!0}const i=Y(r,e);return i||En.Vy.error("SDK initialized on a non-allowed domain."),i}(t)){var d;if(void 0===t.trackingConsent||(0,$n.Rj)(on,t.trackingConsent))return{beforeSend:t.beforeSend&&(0,Kn.y)(t.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:Z(t),sessionSampleRate:null!==(e=t.sessionSampleRate)&&void 0!==e?e:100,telemetrySampleRate:null!==(n=t.telemetrySampleRate)&&void 0!==n?n:20,telemetryConfigurationSampleRate:null!==(r=t.telemetryConfigurationSampleRate)&&void 0!==r?r:5,telemetryUsageSampleRate:null!==(i=t.telemetryUsageSampleRate)&&void 0!==i?i:5,service:null!==(o=t.service)&&void 0!==o?o:void 0,env:null!==(a=t.env)&&void 0!==a?a:void 0,version:null!==(s=t.version)&&void 0!==s?s:void 0,datacenter:null!==(c=t.datacenter)&&void 0!==c?c:void 0,silentMultipleInit:!!t.silentMultipleInit,allowUntrustedEvents:!!t.allowUntrustedEvents,trackingConsent:null!==(u=t.trackingConsent)&&void 0!==u?u:on.GRANTED,trackAnonymousUser:null===(l=t.trackAnonymousUser)||void 0===l||l,storeContextsAcrossPages:!!t.storeContextsAcrossPages,batchBytesLimit:16*fn._m,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*sn.OY,batchMessagesLimit:50,messageBytesLimit:256*fn._m,variant:t.variant,sdkVersion:t.sdkVersion,...tt(t)};En.Vy.error('Tracking Consent should be either "granted" or "not-granted"')}}else En.Vy.error("Allowed Tracking Origins must be an array");else En.Vy.error("Client Token is not configured, we will not send any data.")}(t);if(!u)return;const l=null!==(e=t.sessionReplaySampleRate)&&void 0!==e?e:0;return{applicationId:t.applicationId,actionNameAttribute:t.actionNameAttribute,sessionReplaySampleRate:l,startSessionReplayRecordingManually:void 0!==t.startSessionReplayRecordingManually?!!t.startSessionReplayRecordingManually:0===l,traceSampleRate:null!==(n=t.traceSampleRate)&&void 0!==n?n:100,rulePsr:(0,Yn.Et)(t.traceSampleRate)?t.traceSampleRate/100:void 0,allowedTracingUrls:c,excludedActivityUrls:null!==(r=t.excludedActivityUrls)&&void 0!==r?r:[],workerUrl:t.workerUrl,compressIntakeRequests:!!t.compressIntakeRequests,trackUserInteractions:!(null!==(i=t.trackUserInteractions)&&void 0!==i&&!i),trackViewsManually:!!t.trackViewsManually,trackResources:!(null!==(o=t.trackResources)&&void 0!==o&&!o),trackLongTasks:!(null!==(a=t.trackLongTasks)&&void 0!==a&&!a),trackBfcacheViews:!!t.trackBfcacheViews,subdomain:t.subdomain,defaultPrivacyLevel:(0,$n.Rj)(hr,t.defaultPrivacyLevel)?t.defaultPrivacyLevel:hr.MASK,enablePrivacyF
7orActionName:!!t.enablePrivacyForActionName,customerDataTelemetrySampleRate:1,initialViewMetricsTelemetrySampleRate:1,replayTelemetrySampleRate:1,traceContextInjection:(0,$n.Rj)(mr,t.traceContextInjection)?t.traceContextInjection:mr.SAMPLED,plugins:t.plugins||[],trackFeatureFlagsForEvents:t.trackFeatureFlagsForEvents||[],profilingSampleRate:null!==(s=t.profilingSampleRate)&&void 0!==s?s:0,propagateTraceBaggage:!!t.propagateTraceBaggage,...u}}(t);i&&(r||i.sessionStoreStrategyType?i.compressIntakeRequests&&!r&&e&&(v=e(i,"Datadog RUM",qn.l),!v)||(k=i,_().subscribe(qn.l),n.tryToInit(i.trackingConsent),o()):En.Vy.warn("No storage available for session. We will not send any data."))}const c=function(){const t=[];return{add(e){t.push(e)>500&&t.splice(0,1)},remove(e){p(t,e)},drain(e){t.forEach(t=>t(e)),t.length=0}}}(),u=y();pt(u,wn,c);const h=b();pt(h,bn,c);const m=w();let g,v,x,k;pt(m,_n,c);const S=n.observable.subscribe(o),C={},T=t=>{c.add(e=>e.addDurationVital(t))};return{init(e,n){e?((0,Wn.Aq)(e.enableExperimentalFeatures),x=e,t&&E()||(f(e.plugins,"onInit",{initConfiguration:e,publicApi:n}),e.remoteConfigurationId?async function(t,e){const n=await async function(t){let e;try{e=await fetch(function(t){return t.remoteConfigurationProxy?t.remoteConfigurationProxy:`https://sdk-configuration.${Q("rum",t)}/v1/${encodeURIComponent(t.remoteConfigurationId)}.json`}(t))}catch(t){e=void 0}if(!e||!e.ok)return{ok:!1,error:Error("Error fetching the remote configuration.")};const n=await e.json();return n.rum?{ok:!0,value:n.rum}:{ok:!1,error:Error("No remote configuration for RUM.")}}(t);if(n.ok)return function(t,e,n){const r={...t};return yr.forEach(t=>{t in e&&(r[t]=lt(e[t]))}),Object.keys(n).forEach(t=>{var r;void 0!==e[t]&&(r=n[t],e[t].forEach(({key:t,value:e})=>{r.setContextProperty(t,lt(e))}))}),r}(t,n.value,e);En.Vy.error(n.error)}(e,{user:h,context:u}).then(t=>{t&&s(t)}).catch(pn.Dx):s(e))):En.Vy.error("Missing configuration")},get initConfiguration(){return x},getInternalContext:qn.l,stopSession:qn.l,addTiming(t,e=(0,sn.nx)()){c.add(n=>n.addTiming(t,e))},startView(t,e=(0,sn.M8)()){const n=n=>{n.startView(t,e)};c.add(n),g||(g={options:t,callback:n},o())},setViewName(t){c.add(e=>e.setViewName(t))},setViewContext(t){c.add(e=>e.setViewContext(t))},setViewContextProperty(t,e){c.add(n=>n.setViewContextProperty(t,e))},getViewContext:()=>C,globalContext:u,userContext:h,accountContext:m,addAction(t){c.add(e=>e.addAction(t))},addError(t){c.add(e=>e.addError(t))},addFeatureFlagEvaluation(t,e){c.add(n=>n.addFeatureFlagEvaluation(t,e))},startDurationVital:(t,e)=>l(r,t,e),stopDurationVital(t,e){d(T,r,t,e)},addDurationVital:T}}(s,c,u,(r,o,l)=>{const d=t(r,e,n,l,o&&s.createDeflateEncoder?t=>s.createDeflateEncoder(r,o,t):i,c,u,h,s.sdkName);return e.onRumStart(d.lifeCycle,r,d.session,d.viewHistory,o,d.telemetry),n.onRumStart(d.lifeCycle,d.hooks,r,d.session,d.viewHistory),m=function(t,e){return{init(t){a("DD_RUM",t)},initConfiguration:t.initConfiguration,...e}}(m,d),f(r.plugins,"onRumStart",{strategy:m,addEvent:d.addEvent}),d});const g=()=>m,v=(0,pn.dm)(t=>{const e="object"==typeof t?t:{name:t};m.startView(e),(0,hn.Q6)({feature:"start-view"})}),x=(0,mn.m)({init:(0,pn.dm)(t=>{m.init(t,x)}),setTrackingConsent:(0,pn.dm)(t=>{c.update(t),(0,hn.Q6)({feature:"set-tracking-consent",tracking_consent:t})}),setViewName:(0,pn.dm)(t=>{m.setViewName(t),(0,hn.Q6)({feature:"set-view-name"})}),setViewContext:(0,pn.dm)(t=>{m.setViewContext(t),(0,hn.Q6)({feature:"set-view-context"})}),setViewContextProperty:(0,pn.dm)((t,e)=>{m.setViewContextProperty(t,e),(0,hn.Q6)({feature:"set-view-context-property"})}),getViewContext:(0,pn.dm)(()=>((0,hn.Q6)({feature:"set-view-context-property"}),m.getViewContext())),getInternalContext:(0,pn.dm)(t=>m.getInternalContext(t)),getInitConfiguration:(0,pn.dm)(()=>(0,gn.Go)(m.initConfiguration)),addAction(t,e){const n=(0,vn.uC)("action");(0,pn.um)(()=>{m.addAction({name:(0,yn.a)(t),context:(0,yn.a)(e),startClocks:(0,sn.M8)(),type:Mn.CUSTOM,handlingStack:n}),(0,hn.Q6)({feature:"add-action"})})},addError(t,e){const n=(0,vn.uC)("error");(0,pn.um)(()=>{m.addError({error:t,handlingStack:n,context:(0,yn.a)(e),startClocks:(0,sn.M8)()}),(0,hn.Q6)({feature:"add-error"})})},addTiming:(0,pn.dm)((t,e)=>{m.addTiming((0,yn.a)(t),e)}),setGlobalContext:o(g,wn,kn,"set-global-context"),getGlobalContext:o(g,wn,xn,"get-global-context"),setGlobalContextProperty:o(g,wn,Sn,"set-global-context-property"),removeGlobalContextProperty:o(g,wn,Cn,"remove-global-context-property"),clearGlobalContext:o(g,wn,Tn,"clear-global-context"),setUser:o(g,bn,kn,"set-user"),getUser:o(g,bn,xn,"get-user"),setUserProperty:o(g,bn,Sn,"set-user-property"),removeUserProperty:o(g,bn,Cn,"remove-user-property"),clearUser:o(g,bn,Tn,"clear-user"),setAccount:o(g,_n,kn,"set-account"),getAccount:o(g,_n,xn,"get-account"),setAccountProperty:o(g,_n,Sn,"set-account-property"),removeAccountProperty:o(g,_n,Cn,"remove-account-property"),clearAccount:o(g,_n,Tn,"clear-account"),startView:v,stopSession:(0,pn.dm)(()=>{m.stopSession(),(0,hn.Q6)({feature:"stop-session"})}),addFeatureFlagEvaluation:(0,pn.dm)((t,e)=>{m.addFeatureFlagEvaluation((0,yn.a)(t),(0,yn.a)(e)),(0,hn.Q6)({feature:"add-feature-flag-evaluation"})}),getSessionReplayLink:(0,pn.dm)(()=>e.getSessionReplayLink()),startSessionReplayRecording:(0,pn.dm)(t=>
7{e.start(t),(0,hn.Q6)({feature:"start-session-replay-recording",force:t&&t.force})}),stopSessionReplayRecording:(0,pn.dm)(()=>e.stop()),addDurationVital:(0,pn.dm)((t,e)=>{(0,hn.Q6)({feature:"add-duration-vital"}),m.addDurationVital({name:(0,yn.a)(t),type:Nn,startClocks:(0,sn.jR)(e.startTime),duration:e.duration,context:(0,yn.a)(e&&e.context),description:(0,yn.a)(e&&e.description)})}),startDurationVital:(0,pn.dm)((t,e)=>((0,hn.Q6)({feature:"start-duration-vital"}),m.startDurationVital((0,yn.a)(t),{context:(0,yn.a)(e&&e.context),description:(0,yn.a)(e&&e.description)}))),stopDurationVital:(0,pn.dm)((t,e)=>{(0,hn.Q6)({feature:"stop-duration-vital"}),m.stopDurationVital("string"==typeof t?(0,yn.a)(t):t,{context:(0,yn.a)(e&&e.context),description:(0,yn.a)(e&&e.description)})})});return x}function mt(){let t;const e=window;if(e.Zone&&(t=(0,_r.W)(e,"MutationObserver"),e.MutationObserver&&t===e.MutationObserver)){const n=new e.MutationObserver(qn.l),r=(0,_r.W)(n,"originalInstance");t=r&&r.constructor}return t||(t=e.MutationObserver),t}function gt({expireDelay:t,maxEntries:e}){let n=[];Cr||(Cr=(0,Jn.yb)(()=>{Tr.forEach(t=>t())},Sr));const r=()=>{const e=(0,sn.$S)()-t;for(;n.length>0&&n[n.length-1].endTime<e;)n.pop()};return Tr.add(r),{add(t,r){const i={value:t,startTime:r,endTime:kr,remove(){p(n,i)},close(t){i.endTime=t}};return e&&n.length>=e&&n.pop(),n.unshift(i),i},find(t=1/0,e={returnInactive:!1}){for(const r of n)if(r.startTime<=t){if(e.returnInactive||t<=r.endTime)return r.value;break}},closeActive(t){const e=n[0];e&&e.endTime===kr&&e.close(t)},findAll(t=1/0,e=0){const r=(0,sn.Gw)(t,e);return n.filter(e=>e.startTime<=r&&t<=e.endTime).map(t=>t.value)},reset(){n=[]},stop(){Tr.delete(r),0===Tr.size&&Cr&&((0,Jn.vG)(Cr),Cr=null)}}}function vt({target:t,parameters:[e,n]}){Ir.set(t,{state:"open",method:(e+"").toUpperCase(),url:(0,zn.l2)(n+"")})}function yt({target:t}){const e=Ir.get(t);e&&(e.isAborted=!0)}function bt(t){const e=t.name;if(!(0,zn.AY)(e))return(0,hn.A2)(`Failed to construct URL for "${t.name}"`),Mr;const n=(0,zn.L2)(e);for(const[e,r]of Lr)if(r(t.initiatorType,n))return e;return Mr}function wt(...t){for(let e=1;e<t.length;e+=1)if(t[e-1]>t[e])return!1;return!0}function _t(t){return"xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType}function xt(t){if(!St(t))return;const{startTime:e,fetchStart:n,workerStart:r,redirectStart:i,redirectEnd:o,domainLookupStart:a,domainLookupEnd:s,connectStart:c,secureConnectionStart:u,connectEnd:l,requestStart:d,responseStart:f,responseEnd:p}=t,h={download:Ct(e,f,p),first_byte:Ct(e,d,f)};return 0<r&&r<n&&(h.worker=Ct(e,r,n)),n<l&&(h.connect=Ct(e,c,l),c<=u&&u<=l&&(h.ssl=Ct(e,u,l))),n<s&&(h.dns=Ct(e,a,s)),e<o&&(h.redirect=Ct(e,i,o)),h}function kt(t){return t.duration>=0}function St(t){const e=wt(t.startTime,t.fetchStart,t.domainLookupStart,t.domainLookupEnd,t.connectStart,t.connectEnd,t.requestStart,t.responseStart,t.responseEnd),n=!function(t){return t.redirectEnd>t.startTime}(t)||wt(t.startTime,t.redirectStart,t.redirectEnd,t.fetchStart);return e&&n}function Ct(t,e,n){if(t<=e&&e<=n)return{duration:(0,sn.Zj)((0,sn.vk)(e,n)),start:(0,sn.Zj)((0,sn.vk)(t,e))}}function Tt(t){return""===t.nextHopProtocol?void 0:t.nextHopProtocol}function Et(t){return""===t.deliveryType?"other":t.deliveryType}function At(t){if(t.startTime<t.responseStart){const{encodedBodySize:e,decodedBodySize:n,transferSize:r}=t;return{size:n,encoded_body_size:e,decoded_body_size:n,transfer_size:r}}return{size:void 0,encoded_body_size:void 0,decoded_body_size:void 0,transfer_size:void 0}}function It(t){return t&&(!function(t){return pr.Ih.every(e=>t.includes(e))}(t)||(0,Wn.sr)(Wn.R9.TRACK_INTAKE_REQUESTS))}function Rt(t,e=24e3){if(t.length<=e||!t.startsWith("data:"))return t;const n=t.substring(0,100).match($r);return n?n[0]+"[...]":t}function Ot(){const t=Br;return Br+=1,t}function Mt(t){return(0,Yn.Et)(t)&&t<0?void 0:t}function Pt({lifeCycle:t,isChildEvent:e,onChange:n=qn.l}){const r={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},i=t.subscribe(13,t=>{var i;if("view"!==t.type&&"vital"!==t.type&&e(t))switch(t.type){case An.ERROR:r.errorCount+=1,n();break;case An.ACTION:r.actionCount+=1,t.action.frustration&&(r.frustrationCount+=t.action.frustration.type.length),n();break;case An.LONG_TASK:r.longTaskCount+=1,n();break;case An.RESOURCE:(null===(i=t._dd)||void 0===i?void 0:i.discarded)||(r.resourceCount+=1,n())}});return{stop(){i.unsubscribe()},eventCounts:r}}function jt(t,e){return new rn.cP(n=>{if(!window.PerformanceObserver)return;const r=t=>{const e=function(t){return t.filter(t=>!function(t){return!(t.entryType!==Ur.RESOURCE||It(t.name)&&kt(t))}(t))}(t);e.length>0&&n.notify(e)};let i,o=!0;const a=new PerformanceObserver((0,pn.dm)(t=>{o?i=(0,Jn.wg)(()=>r(t.getEntries())):r(t.getEntries())}));try{a.observe(e)}catch(t){if([Ur.RESOURCE,Ur.NAVIGATION,Ur.LONG_TASK,Ur.PAINT].includes(e.type)){e.buffered&&(i=(0,Jn.wg)(()=>r(performance.getEntriesByType(e.type))));try{a.observe({entryTypes:[e.type]})}catch(t){return}}}let s;return o=!1,function(t){!Vr&&void 0!==window.performance&&"getEntries"in performance&&"addEventListener"in performance&&(Vr=(0,Ln.q)(t,performance,"resourcetimingbufferfull",()=>{performance.clearResourceTimings()}))}(t),Nt(Ur.FIRST_INPUT)||e.type!==Ur.FIRST_INPUT||({stop:s}=function(t){function e(t){if(!i){i=!0,o();const e=t.processingStart-t.startTime;e>=0&&e<(0,sn.x3)()-n&&(t=>{r([t])})(t)}}const n=(0,sn.x3)();let i=!1;const{stop:o}=(0,Ln.l)(t,window,["click","mousedown","keydown","touchstart","pointerdown"],n=>
7{if(!n.cancelable)return;const r={entryType:"first-input",processingStart:(0,sn.$S)(),processingEnd:(0,sn.$S)(),startTime:n.timeStamp,duration:0,name:"",cancelable:!1,target:null,toJSON:()=>({})};"pointerdown"===n.type?function(t,n){(0,Ln.l)(t,window,["pointerup","pointercancel"],t=>{"pointerup"===t.type&&e(n)},{once:!0})}(t,r):e(r)},{passive:!0,capture:!0});return{stop:o}}(t)),()=>{a.disconnect(),s&&s(),(0,Jn.DJ)(i)}})}function Nt(t){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(t)}function Dt(t){return t.nodeType===Node.TEXT_NODE}function Lt(t){return t.nodeType===Node.ELEMENT_NODE}function $t(t){return Lt(t)&&!!t.shadowRoot}function Bt(t){const e=t;return!!e.host&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&Lt(e.host)}function Ut(t){return t.childNodes.length>0||$t(t)}function Vt(t,e){let n=t.firstChild;for(;n;)e(n),n=n.nextSibling;$t(t)&&e(t.shadowRoot)}function Ft(t){return Bt(t)?t.host:t.parentNode}function qt(t,e,n,r,i,o){const a=function(t,e,n,r){return new rn.cP(i=>{function o(){i.notify({isBusy:c>0})}const a=[];let s,c=0;return a.push(e.subscribe(t=>{t.every(Ht)||o()}),n.subscribe(o),jt(r,{type:Ur.RESOURCE}).subscribe(t=>{t.some(t=>!zt(r,t.name))&&o()}),t.subscribe(7,t=>{zt(r,t.url)||(void 0===s&&(s=t.requestIndex),c+=1,o())}),t.subscribe(8,t=>{zt(r,t.url)||void 0===s||t.requestIndex<s||(c-=1,o())})),()=>{a.forEach(t=>t.unsubscribe())}})}(t,e,n,r);return function(t,e,n){function r(t){o||(u(),e(t))}let i,o=!1;const a=(0,Jn.wg)((0,pn.dm)(()=>r({hadActivity:!1})),100),s=void 0!==n?(0,Jn.wg)((0,pn.dm)(()=>r({hadActivity:!0,end:(0,sn.nx)()})),n):void 0,c=t.subscribe(({isBusy:t})=>{(0,Jn.DJ)(a),(0,Jn.DJ)(i);const e=(0,sn.nx)();t||(i=(0,Jn.wg)((0,pn.dm)(()=>r({hadActivity:!0,end:e})),100))}),u=()=>{o=!0,(0,Jn.DJ)(a),(0,Jn.DJ)(i),(0,Jn.DJ)(s),c.unsubscribe()};return{stop:u}}(a,i,o)}function zt(t,e){return Y(t.excludedActivityUrls,e)}function Ht(t){const e="characterData"===t.type?t.target.parentElement:t.target
8;return!!(e&&Lt(e)&&e.matches(`[${Fr}], [${Fr}] *`))}function Wt(t,e,n){if(n&&n.has(t))return n.get(t);const r=Ft(t),i=r?Wt(r,e,n):e,o=Gt(Zt(t),i);return n&&n.set(t,o),o}function Gt(t,e){switch(e){case qr.HIDDEN:case qr.IGNORE:return e}switch(t){case qr.ALLOW:case qr.MASK:case qr.MASK_USER_INPUT:case qr.HIDDEN:case qr.IGNORE:return t;default:return e}}function Zt(t){if(Lt(t)){if("BASE"===t.tagName)return qr.ALLOW;if("INPUT"===t.tagName){const e=t;if("password"===e.type||"email"===e.type||"tel"===e.type)return qr.MASK;if("hidden"===e.type)return qr.MASK;const n=e.getAttribute("autocomplete");if(n&&(n.startsWith("cc-")||n.endsWith("-password")))return qr.MASK}return t.matches(Xt(qr.HIDDEN))?qr.HIDDEN:t.matches(Xt(qr.MASK))?qr.MASK:t.matches(Xt(qr.MASK_USER_INPUT))?qr.MASK_USER_INPUT:t.matches(Xt(qr.ALLOW))?qr.ALLOW:function(t){function e(e){return(t.getAttribute(e)||"").toLowerCase()}if("SCRIPT"===t.nodeName)return!0;if("LINK"===t.nodeName){const t=e("rel");return/preload|prefetch/i.test(t)&&"script"===e("as")||"shortcut icon"===t||"icon"===t}if("META"===t.nodeName){const n=e("name"),r=e("rel"),i=e("property");return/^msapplication-tile(image|color)$/.test(n)||"application-name"===n||"icon"===r||"apple-touch-icon"===r||"shortcut icon"===r||"keywords"===n||"description"===n||/^(og|twitter|fb):/.test(i)||/^(og|twitter):/.test(n)||"pinterest"===n||"robots"===n||"googlebot"===n||"bingbot"===n||t.hasAttribute("http-equiv")||"author"===n||"generator"===n||"framework"===n||"publisher"===n||"progid"===n||/^article:/.test(i)||/^product:/.test(i)||"google-site-verification"===n||"yandex-verification"===n||"csrf-token"===n||"p:domain_verify"===n||"verify-v1"===n||"verification"===n||"shopify-checkout-api-token"===n}return!1}(t)?qr.IGNORE:void 0}}function Kt(t,e){switch(e){case qr.MASK:case qr.HIDDEN:case qr.IGNORE:return!0;case qr.MASK_USER_INPUT:return Dt(t)?Yt(t.parentNode):Yt(t);default:return!1}}function Yt(t){if(!t||t.nodeType!==t.ELEMENT_NODE)return!1;const e=t;if("INPUT"===e.tagName)switch(e.type){case"button":case"color":case"reset":case"submit":return!1}return!!Zr[e.tagName]}function Jt(t,e,n){var r;const i=null===(r=t.parentElement)||void 0===r?void 0:r.tagName;let o=t.textContent||"";if(e&&!o.trim())return;const a=n;if("SCRIPT"===i)o=Wr;else if(a===qr.HIDDEN)o=Wr;else if(Kt(t,a))if("DATALIST"===i||"SELECT"===i||"OPTGROUP"===i){if(!o.trim())return}else o="OPTION"===i?Wr:o.replace(/\S/g,"x");return o}function Xt(t){return`[${zr}="${t}"], .dd-privacy-${t}`}function Qt(t,e){const n=t.closest(`[${e}]`);if(n)return ne(ee(n.getAttribute(e).trim()))}function te(t,e,n,r){let i=t,o=0;for(;o<=10&&i&&"BODY"!==i.nodeName&&"HTML"!==i.nodeName&&"HEAD"!==i.nodeName;){for(const t of n){const n=t(i,e,r);if(n){const{name:t,nameSource:e}=n,r=t&&t.trim();if(r)return{name:ne(ee(r)),nameSource:e}}}if("FORM"===i.nodeName)break;
8i=i.parentElement,o+=1}}function ee(t){return t.replace(/\s+/g," ")}function ne(t){return t.length>100?u(t,100)+" [...]":t}function re(t,e){return{name:t.getAttribute(e)||"",nameSource:"standard_attribute"}}function ie(t,e,n){return{name:oe(t,e,n)||"",nameSource:"text_content"}}function oe(t,e,n){if(!t.isContentEditable){if((0,Wn.sr)(Wn.R9.USE_TREE_WALKER_FOR_ACTION_NAME))return function(t,e,n){const r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,function(t){if(Lt(t)){const r=Zt(t);if(t.hasAttribute(Kr)||e&&t.hasAttribute(e)||n&&r&&Kt(t,r))return NodeFilter.FILTER_REJECT;const i=getComputedStyle(t);if("visible"!==i.visibility||"none"===i.display||i.contentVisibility&&"visible"!==i.contentVisibility)return NodeFilter.FILTER_REJECT}return NodeFilter.FILTER_ACCEPT});let i="";for(;r.nextNode();){const t=r.currentNode;Lt(t)?("BR"===t.nodeName||"P"===t.nodeName||["block","flex","grid","list-item","table","table-caption"].includes(getComputedStyle(t).display))&&(i+=" "):i+=t.textContent||""}return i.replace(/\s+/g," ").trim()}(t,e,n);if("innerText"in t){let r=t.innerText;const i=e=>{const n=t.querySelectorAll(e);for(let t=0;t<n.length;t+=1){const e=n[t];if("innerText"in e){const t=e.innerText;t&&t.trim().length>0&&(r=r.replace(t,""))}}};return i(`[${Kr}]`),e&&i(`[${e}]`),n&&i(`${Xt(qr.HIDDEN)}, ${Xt(qr.MASK)}`),r}return t.textContent}}function ae(t,e){if(!t.isConnected)return;let n,r=t;for(;r&&"HTML"!==r.nodeName;){const t=le(r,Qr,de,e,n);if(t)return t;n=le(r,ti,fe,e,n)||pe(ue(r),n),r=r.parentElement}return n}function se(t){return/[0-9]/.test(t)}function ce(t,e){function n(e){if(t.hasAttribute(e))return`${CSS.escape(t.tagName)}[${e}="${CSS.escape(t.getAttribute(e))}"]`}if(e){const t=n(e);if(t)return t}for(const t of Xr){const e=n(t);if(e)return e}}function ue(t){let e=t.parentElement.firstElementChild,n=1;for(;e&&e!==t;)e.tagName===t.tagName&&(n+=1),e=e.nextElementSibling;return`${CSS.escape(t.tagName)}:nth-of-type(${n})`}function le(t,e,n,r,i){for(const o of e){const e=o(t,r);if(e&&n(t,e,i))return pe(e,i)}}function de(t,e,n){return 1===t.ownerDocument.querySelectorAll(pe(e,n)).length}function fe(t,e,n){let r;if(void 0===n)r=t=>t.matches(e);else{const t=pe(e+":scope",n);r=e=>null!==e.querySelector(t)}let i=t.parentElement.firstElementChild;for(;i;){if(i!==t&&r(i))return!1;i=i.nextElementSibling}return!0}function pe(t,e){return e?`${t}>${e}`:t}function he(){const t=window.getSelection();return!t||t.isCollapsed}function me(t){return t.target instanceof Element&&!1!==t.isPrimary}function ge(t){if(t.hasPageActivity||t.getUserActivity().input||t.getUserActivity().scroll)return!1;let e=t.event.target;return"LABEL"===e.tagName&&e.hasAttribute("for")&&(e=document.getElementById(e.getAttribute("for"))),!e||!e.matches('input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *')}function ve(t,e){ri.set(t,e),ri.forEach((t,e)=>{(0,sn.vk)(e,(0,sn.$S)())>ni&&ri.delete(e)})}function ye(t,e,n,r){function i(t){if(!c||!c.tryAppend(t)){const e=t.clone();c=function(t){function n(t){t.stopObservable.subscribe(r),o.push(t),(0,Jn.DJ)(a),a=(0,Jn.wg)(i,ei)}function r(){1===s&&o.every(t=>t.isStopped())&&(s=2,function(t,e){const{isRage:n}=function(t,e){if(function(t){if(t.some(t=>t.getUserActivity().selection||t.getUserActivity().scroll))return!1;for(let e=0;e<t.length-2;e+=1)if(t[e+3-1].event.timeStamp-t[e].event.timeStamp<=sn.OY)return!0;return!1}(t))return e.addFrustration("rage_click"),t.some(ge)&&e.addFrustration(jn),e.hasError&&e.addFrustration(Pn),{isRage:!0};const n=t.some(t=>t.getUserActivity().selection);return t.forEach(t=>{t.hasError&&t.addFrustration(Pn),ge(t)&&!n&&t.addFrustration(jn)}),{isRage:!1}}(t,e);n?(t.forEach(t=>t.discard()),e.stop((0,sn.nx)()),e.validate(t.map(t=>t.event))):(e.discard(),t.forEach(t=>t.validate()))}(o,e))}function i(){(0,Jn.DJ)(a),0===s&&(s=1,r())}const o=[];let a,s=0;return n(t),{tryAppend(t){return 0===s&&(o.length>0&&(e=o[o.length-1].event,r=t.event,!(e.target===r.target&&(a=e,c=r,Math.sqrt(Math.pow(a.clientX-c.clientX,2)+Math.pow(a.clientY-c.
8clientY,2))<=100)&&e.timeStamp-r.timeStamp<=ei))?(i(),!1):(n(t),!0));var e,r,a,c},stop(){i()}}}(t)}}function o(){c&&c.stop()}const a=gt({expireDelay:ii}),s=new rn.cP;let c;t.subscribe(10,()=>{a.reset()}),t.subscribe(5,o),t.subscribe(11,t=>{t.reason===wr.y5.UNLOADING&&o()});const{stop:u}=function(t,{onPointerDown:e,onPointerUp:n}){let r,i,o={selection:!1,input:!1,scroll:!1};const a=[(0,Ln.q)(t,window,"pointerdown",t=>{me(t)&&(r=he(),o={selection:!1,input:!1,scroll:!1},i=e(t))},{capture:!0}),(0,Ln.q)(t,window,"selectionchange",()=>{r&&he()||(o.selection=!0)},{capture:!0}),(0,Ln.q)(t,window,"scroll",()=>{o.scroll=!0},{capture:!0,passive:!0}),(0,Ln.q)(t,window,"pointerup",t=>{if(me(t)&&i){const e=o;n(i,t,()=>e),i=void 0}},{capture:!0}),(0,Ln.q)(t,window,"input",()=>{o.input=!0},{capture:!0})];return{stop(){a.forEach(t=>t.stop())}}}(r,{onPointerDown:i=>function(t,e,n,r,i){const o=t.enablePrivacyForActionName?Wt(r.target,t.defaultPrivacyLevel):qr.ALLOW;if(o===qr.HIDDEN)return;const a=function(t,e,n){const r=t.target.getBoundingClientRect(),i=ae(t.target,n.actionNameAttribute);i&&ve(t.timeStamp,i);const o=function(t,{enablePrivacyForActionName:e,actionNameAttribute:n},r=qr.ALLOW){const i=Qt(t,Kr)||n&&Qt(t,n);return i?{name:i,nameSource:"custom_attribute"}:r===qr.MASK?{name:"Masked Element",nameSource:"mask_placeholder"}:te(t,n,Yr,e)||te(t,n,Jr,e)||{name:"",nameSource:"blank"}}(t.target,n,e);return{type:Mn.CLICK,target:{width:Math.round(r.width),height:Math.round(r.height),selector:i},position:{x:Math.round(t.clientX-r.left),y:Math.round(t.clientY-r.top)},name:o.name,nameSource:o.nameSource}}(r,o,t);let s=!1;return qt(e,n,i,t,t=>{s=t.hadActivity},100),{clickActionBase:a,hadActivityOnPointerDown:()=>s}}(r,t,e,i,n),onPointerUp({clickActionBase:o,hadActivityOnPointerDown:c},u,l){!function(t,e,n,r,i,o,a,s,c,u,l){var d;const f=be(e,i,u,s,c);a(f);const p=null===(d=null==s?void 0:s.target)||void 0===d?void 0:d.selector;p&&ve(c.timeStamp,p);const{stop:h}=qt(e,n,r,t,t=>{t.hadActivity&&t.end<f.startClocks.timeStamp?f.discard():t.hadActivity?f.stop(t.end):l()?f.stop(f.startClocks.timeStamp):f.stop()},ni),m=e.subscribe(5,({endClocks:t})=>{f.stop(t.timeStamp)}),g=o.subscribe(()=>{f.stop()});f.stopObservable.subscribe(()=>{m.unsubscribe(),h(),g.unsubscribe()})}(r,t,e,n,a,s,i,o,u,l,c)}}),l={findActionId:t=>a.findAll(t)};return{stop(){o(),s.notify(),u()},actionContexts:l}}function be(t,e,n,r,i){function o(t){0===f&&(d=t,f=1,d?u.close((0,sn.gs)(d)):u.remove(),l.stop(),h.notify())}const a=s(),c=(0,sn.M8)(),u=e.add(a,c.relative),l=Pt({lifeCycle:t,isChildEvent:t=>void 0!==t.action&&(Array.isArray(t.action.id)?t.action.id.includes(a):t.action.id===a)});let d,f=0;const p=[],h=new rn.cP;return{event:i,stop:o,stopObservable:h,get hasError(){return l.eventCounts.errorCount>0},get hasPageActivity(){return void 0!==d},getUserActivity:n,addFrustration(t){p.push(t)},startClocks:c,isStopped:()=>1===f||2===f,clone:()=>be(t,e,n,r,i),validate(e){if(o(),1!==f)return;const{resourceCount:n,errorCount:s,longTaskCount:u}=l.eventCounts,h={duration:d&&(0,sn.vk)(c.timeStamp,d),startClocks:c,id:a,frustrationTypes:p,c
8ounts:{resourceCount:n,errorCount:s,longTaskCount:u},events:null!=e?e:[i],event:i,...r};t.notify(0,h),f=2},discard(){o(),f=2}}}function we(t){const e=_e(t)?{action:{id:t.id,loading_time:Mt((0,sn.Zj)(t.duration)),frustration:{type:t.frustrationTypes},error:{count:t.counts.errorCount},long_task:{count:t.counts.longTaskCount},resource:{count:t.counts.resourceCount}},_dd:{action:{target:t.target,position:t.position,name_source:t.nameSource}}}:{context:t.context},n=(0,gn.kg)({action:{id:s(),target:{name:t.name},type:t.type},date:t.startClocks.timeStamp,type:An.ACTION},e),r=_e(t)?t.duration:void 0,i=_e(t)?{events:t.events}:{handlingStack:t.handlingStack};return{rawRumEvent:n,duration:r,startTime:t.startClocks.relative,domainContext:i}}function _e(t){return t.type!==Mn.CUSTOM}function xe(t){return{startClocks:(0,sn.M8)(),source:dn.g.REPORT,handling:"unhandled",...t}}function ke(t,e,n,r,i){return n?(0,vn.Yn)({name:t,message:e,stack:[{func:"?",url:n,line:null!=r?r:void 0,column:null!=i?i:void 0}]}):void 0}function Se(t){return(0,sn.Gw)(t.startTime,t.duration)}function Ce(t){const e=function(t){const e=t.querySelector("meta[name=dd-trace-id]"),n=t.querySelector("meta[name=dd-trace-time]");return Te(e&&e.content,n&&n.content)}(t)||function(t){const e=function(t){for(let e=0;e<t.childNodes.length;e+=1){const n=Ee(t.childNodes[e]);if(n)return n}if(t.body)for(let e=t.body.childNodes.length-1;e>=0;e-=1){const n=t.body.childNodes[e],r=Ee(n);if(r)return r;if(!Dt(n))break}}(t);if(e)return Te(c(e,"trace-id"),c(e,"trace-time"))}(t);if(e&&!(e.traceTime<=(0,sn.x3)()-fi))return e.traceId}function Te(t,e){const n=e&&Number(e);if(t&&n)return{traceId:t,traceTime:n}}function Ee(t){if(t&&function(t){return t.nodeType===Node.COMMENT_NODE}(t)){const e=/^\s*DATADOG;(.*?)\s*$/.exec(t.data);if(e)return e[1]}}function Ae(){if(Nt(Ur.NAVIGATION)){const t=performance.getEntriesByType(Ur.NAVIGATION)[0];if(t)return t}const t=function(){const t={},e=performance.timing;for(const n in e)if((0,Yn.Et)(e[n])){const r=n,i=e[r];t[r]=0===i?0:(0,sn.gs)(i)}return t}(),e={entryType:Ur.NAVIGATION,initiatorType:"navigation",name:window.location.href,startTime:0,duration:t.loadEventEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,workerStart:0,toJSON:()=>({...e,toJSON:void 0}),...t};return e}function Ie(t,e,n=Ae){(0,di.H)(t,"interactive",()=>{const t=n(),r=Object.assign(t.toJSON(),{entryType:Ur.RESOURCE,initiatorType:Dr,duration:t.responseEnd,traceId:Ce(document),toJSON:()=>({...r,toJSON:void 0})});e(r)})}function Re(t,e,n,r=function(){function t(t){let r;if(t.didTimeout){const t=performance.now();r=()=>30-(performance.now()-t)}else r=t.timeRemaining.bind(t);for(;r()>0&&n.length;)n.shift()();n.length&&e()}function e(){(0,ci.BB)(t,{timeout:ui})}const n=[];return{push(t){1===n.push(t)&&e()}}}(),i=Ie){function o(e){r.push(()=>{const n=e();n&&t.notify(12,n)})}let a;const s=(0,Wn.sr)(Wn.R9.EARLY_REQUEST_COLLECTION);s?a=function(t){const e=new Set,n=t.subscribe(8,t=>{e.add(t),e.size>1e3&&((0,hn.A2)("Too many requests"),e.delete(e.values().next().value))});return{getMatchingRequest(t){let n,r=1/0;for(const i of e){const e=t.startTime-i.startClocks.relative;0<=e&&e<r&&i.url===t.name&&(r=Math.abs(e),n=i)}return n&&e.delete(n),n},stop(){n.unsubscribe()}}}(t):t.subscribe(8,t=>{o(()=>function(t,e,n){const r=function(t){if(!performance||!("getEntriesByName"in performance))return;const e=performance.getEntriesByName(t.url,"resource");if(!e.length||!("toJSON"in e[0]))return;const n=e.filter(t=>!li.has(t)).filter(t=>kt(t)&&St(t)).filter(e=>{return n=e,r=t.startClocks.relative,i=Se({startTime:t.startClocks.relative,duration:t.duration}),n.startTime>=r-1&&Se(n)<=(0,sn.Gw)(i,1);var n,r,i});return 1===n.length?(li.add(n[0]),n[0].toJSON()):void 0}(t);return Me(r,t,n,e)}(t,e,n))});const c=jt(e,{type:Ur.RESOURCE,buffered:!0}).subscribe(t=>{for(const r of t)!s&&_t(r)||o(()=>Oe(r,e,n,a))});return i(e,t=>{o(()=>Oe(t,e,n,a))}),{stop(){c.unsubscribe()}}}function Oe(t,e,n,r){return Me(t,_t(t)&&r?r.getMatchingRequest(t):void 0,n,e)}function Me(t,e,n,r){if(!t&&!e)return;const i=e?function(t,e){if(t.traceSampled&&t.traceId&&t.spanId)return{_dd:{span_id:t.spanId.toString(),trace_id:t.traceId.toString(),rule_psr:e.rulePsr}}}(e,r):function(t,e){if(t.traceId)return{_dd:{trace_id:t.traceId,span_id:it(
8).toString(),rule_psr:e.rulePsr}}}(t,r);if(!r.trackResources&&!i)return;const o=t?(0,sn.FR)(t.startTime):e.startClocks,a=t?function(t){const{duration:e,startTime:n,responseEnd:r}=t;return 0===e&&n<r?(0,sn.vk)(n,r):e}(t):function(t,e,n){return t.wasInPageStateDuringPeriod("frozen",e.relative,n)?void 0:n}(n,o,e.duration),c=(0,gn.kg)({date:o.timeStamp,resource:{id:s(),duration:(0,sn.Zj)(a),type:e?e.type===jr?Rr:Or:bt(t),method:e?e.method:void 0,status_code:e?e.status:(u=t.responseStatus,0===u?void 0:u),url:e?Rt(e.url):t.name,protocol:t&&Tt(t),delivery_type:t&&Et(t)},type:An.RESOURCE,_dd:{discarded:!r.trackResources}},i,t&&function(t){const{renderBlockingStatus:e}=t;return{resource:{render_blocking_status:e,...At(t),...xt(t)}}}(t));var u;return{startTime:o.relative,duration:a,rawRumEvent:c,domainContext:Pe(t,e)}}function Pe(t,e){if(e){const n={performanceEntry:t,isAborted:e.isAborted,handlingStack:e.handlingStack};return e.type===jr?{xhr:e.xhr,...n}:{requestInput:e.input,requestInit:e.init,response:e.response,error:e.error,...n}}return{performanceEntry:t}}function je(){try{return(new Intl.DateTimeFormat).resolvedOptions().timeZone}catch(t){return}}function Ne(t,e,n=window){if("hidden"===document.visibilityState)return{timeStamp:0,stop:qn.l};if(Nt(Ur.VISIBILITY_STATE)){const t=performance.getEntriesByType(Ur.VISIBILITY_STATE).filter(t=>"hidden"===t.name).find(t=>t.startTime>=e.relative);if(t)return{timeStamp:t.startTime,stop:qn.l}}let r=1/0;const{stop:i}=(0,Ln.l)(t,n,["pagehide","visibilitychange"],t=>{"pagehide"!==t.type&&"hidden"!==document.visibilityState||(r=t.timeStamp,i())},{capture:!0});return{get timeStamp(){return r},stop:i}}function De(t){let e;for(const n of t)if(n.node&&Lt(n.node)){const t=gi(n);(!e||gi(e)<t)&&(e=n)}return e}function Le({x:t,y:e,width:n,height:r}){return{x:t,y:e,width:n,height:r}}function $e(){let t;const e=window.visualViewport;return t=e?e.pageLeft-e.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0,Math.round(t)}function Be(){let t;const e=window.visualViewport;return t=e?e.pageTop-e.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0,Math.round(t)}function Ue(t){return Ci||(Ci=function(t){return new rn.cP(e=>{const{throttled:n}=(0,qn.n)(()=>{e.notify(Ve())},200);return(0,Ln.q)(t,window,"resize",n,{capture:!0,passive:!0}).stop})}(t)),Ci}function Ve(){const t=window.visualViewport;return t?{width:Number(t.width*t.scale),height:Number(t.height*t.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}function Fe(t){const e=t.indexOf("?");return e<0?t:t.slice(0,e)}function qe({cumulativeLayoutShift:t,interactionToNextPaint:e},{firstContentfulPaint:n,firstInput:r,largestContentfulPaint:i}){return{cls:t&&{score:t.value,timestamp:(0,sn.Zj)(t.time),target_selector:t.targetSelector,previous_rect:t.previousRect,current_rect:t.currentRect},fcp:n&&{timestamp:(0,sn.Zj)(n)},fid:r&&{duration:(0,sn.Zj)(r.delay),timestamp:(0,sn.Zj)(r.time),target_selector:r.targetSelector},inp:e&&{duration:(0,sn.Zj)(e.value),timestamp:(0,sn.Zj)(e.time),target_selector:e.targetSelector},lcp:i&&{timestamp:(0,sn.Zj)(i.value),target_selector:i.targetSelector,resource_url:i.resourceUrl}}}function ze(t){return Object.prototype.hasOwnProperty.call(history,t)?history:History.prototype}function He(){0!==$i.batchCount&&((0,hn.Gk)("Customer data measures",$i),Ge())}function We(t,e){t.sum+=e,t.min=Math.min(t.min,e),t.max=Math.max(t.max,e)}function Ge(){$i={batchCount:0,batchBytesCount:{min:1/0,max:0,sum:0},batchMessagesCount:{min:1/0,max:0,sum:0}}}function Ze(t,e,n){if(0!==t.length)return t.slice(-n).reverse().map(({state:t,startTime:n})=>({state:t,start:(0,sn.Zj)((0,sn.vk)(e,n))}))}function Ke(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}function Ye(t,e){const n=c(document.cookie,t),r=(0,Jn.yb)(()=>{const r=c(document.cookie,t);r!==n&&e(r)},Vi);return()=>{(0,Jn.vG)(r)}}function Je(t,e,n){let r=0,i=!1;return{isLimitReached(){if(0===r&&(0,Jn.wg)(()=>{r=0},sn.iW),r+=1,r<=e||i)return i=!1,!1;if(r===e+1){i=!0;try{n({message:`Reached max number of ${t}s by minute: ${e}`,source:dn.g.AGENT,startClocks:(0,sn.M8)()})}finally{i=!1}}return!0}}}function Xe(t,e,n){const r=(0,gn.Go)(t),i=n(r);return(0,tr.WP)(e).forEach(([e,n])=>Qe(t,r,e.split(/\.|(?=\[\])/),n)),i}function Qe(t,e,n,r){const[i,...o]=n;if("[]"!==i){if(tn(t)&&tn(e))return o.length>0?Qe(t[i],e[i],o,r):void function(t,e,n,r){const i=(0,Un.P)(n);i===r?t[e]=(0,yn.a)(n):"object"!==r||"undefined"!==i&&"null"!==i||(t[e]={})}(t,i,e[i],r)}else Array.isArray(t)&&Array.isArray(e)&&t.forEach((t,n)=>Qe(t,e[n],o,r))}function tn(t){return"object"===(0,Un.P)(t)}function en(t,e,n,r,i,o,a,c,f){const p=[],m=new xr,g=Ki();m.subscribe(13,t=>(0,br.b)("rum",t));const x=t=>{m.notify(14,{error:t}),(0,hn.A2)("Error reported to customer",{"error.message":t.message})},k=(0,wr._T)(t),C=k.subscribe(t=>{m.notify(11,t)});p.push(()=>C.unsubscribe());const D=(0,hn.a5)("browser-rum-sdk",t,g,x,k,i);p.push(D.stop);const L=(0,Fn.d0)()?function(){const t={id:"00000000-aaaa-0000-aaaa-000000000000",sessionReplay:(0,Fn.Ww)("records")?1:0};return{findTrackedSession:()=>t,expire:qn.l,expireObservable:new rn.cP,setForcedReplay:qn.l}}():function(t,e,n){const r=function(t,e,n,r){function i(){const t=c.getSession();return t?{id:t.id,trackingType:t[e],isReplayForced:!!t.forcedReplay,anonymousId:t.anonymousId}:(async function(){const t=U();let e=[];e="cookieStore"in window?await window.cookieStore.getAll("_dd_s"):document.cookie.split(/\s*;\s*/).filter(t=>t.startsWith("_dd_s")),(0,hn.A2)("Unexpected session state",{session:t,isSyntheticsTest:R(),createdTimestamp:null==t?void 0:t.created,expireTimestamp:null==t?void 0:t.expire,cookie:{count:e.length,domain:T(),...e},currentDomain:`${window.location.protocol}//${window.location.hostname}`})}().catch(()=>{}),{id:"invalid",trackingType:"0",isReplayForced:!1,anonymousId:void 0})}const o=new rn.cP,a=new rn.cP,c=function(t,e,n,r,i=function(t,e){return t.type===ir?function(t,e){const n={isLockEnabled:(0,Xn.F2)(),persistSession:n=>B(e,t,n,nr),retrieveSession:U,expireSession:n=>B(e,t,O(n,t),er)};return function(t){if(!S(Qn)){const e=S("_dd"),n=S("_dd_r"),r=S("_dd_l"),i={};e&&(i.id=e),r&&/^[01]$/.test(r)&&(i.logs=r),n&&/^[012]$/.test(n)&&(i.rum=n),P(i)&&(N(i),t.persistSession(i))}}(n),n}(e,t.cookieOptions):function(t){return{isLockEnabled:!1,persistSession:F,retrieveSession:q,expireSession:e=>function(t,e){F(O(t,e))}(e,t)}}(e)}(t,e)){function o(t){return j(t)&&(t=O(t,e)),c()&&(function(t){return p.id!==t.id||p[n]!==t[n]}(t)?(p=O(p,e),l.notify()):(d.notify({previousState:p,newState:t}),p=t)),t}function a(){z({process(t){if(M(t))return O(t,e)},after(t){p=t}},i)}function c(){return void 0!==(null==p?void 0:p[n])}
8const u=new rn.cP,l=new rn.cP,d=new rn.cP,f=(0,Jn.yb)(function(){const t=i.retrieveSession();j(t)?z({process:t=>j(t)?O(t,e):void 0,after:o},i):o(t)},lr);let p;a();const{throttled:h,cancel:m}=(0,qn.n)(()=>{z({process(t){if(M(t))return;const e=o(t);return function(t){if(M(t))return!1;const e=r(t[n]);t[n]=e,delete t.isExpired,"0"===e||t.id||(t.id=s(),t.created=(0,sn.x3)()+"")}(e),e},after(t){P(t)&&!c()&&function(t){p=t,u.notify()}(t),p=t}},i)},lr);return{expandOrRenewSession:h,expandSession(){z({process:t=>c()?o(t):void 0},i)},getSession:()=>p,renewObservable:u,expireObservable:l,sessionStateUpdateObservable:d,restartSession:a,expire(){m(),i.expireSession(p),o(O(p,e))},stop(){(0,Jn.vG)(f)},updateSessionState(t){z({process:e=>({...e,...t}),after:o},i)}}}(t.sessionStoreStrategyType,t,e,n);Oi.push(()=>c.stop());const u=gt({expireDelay:Ri});return Oi.push(()=>u.stop()),c.renewObservable.subscribe(()=>{u.add(i(),(0,sn.$S)()),o.notify()}),c.expireObservable.subscribe(()=>{a.notify(),u.closeActive((0,sn.$S)())}),c.expandOrRenewSession(),u.add(i(),(0,sn.Oc)().relative),r.observable.subscribe(()=>{r.isGranted()?c.expandOrRenewSession():c.expire()}),function(t){const{stop:e}=(0,Ln.l)(t,window,["click","touchstart","keydown","scroll"],()=>{r.isGranted()&&c.expandOrRenewSession()},{capture:!0,passive:!0});Oi.push(e)}(t),function(t){const e=()=>{"visible"===document.visibilityState&&c.expandSession()},{stop:n}=(0,Ln.q)(t,document,"visibilitychange",e);Oi.push(n);const r=(0,Jn.yb)(e,Ii);Oi.push(()=>{(0,Jn.vG)(r)})}(t),function(t){const{stop:e}=(0,Ln.q)(t,window,"resume",()=>c.restartSession(),{capture:!0});Oi.push(e)}(t),{findSession:(t,e)=>u.find(t,e),renewObservable:o,expireObservable:a,sessionStateUpdateObservable:c.sessionStateUpdateObservable,expire:c.expire,updateSessionState:c.updateSessionState}}(t,"rum",e=>function(t,e){return"0"===(n=e)||"1"===n||"2"===n?e:(0,Yn.ic)(t.sessionSampleRate)?(0,Yn.ic)(t.sessionReplaySampleRate)?"1":"2":"0";var n}(t,e),n);return r.expireObservable.subscribe(()=>{e.notify(9)}
8),r.renewObservable.subscribe(()=>{e.notify(10)}),r.sessionStateUpdateObservable.subscribe(({previousState:t,newState:e})=>{if(!t.forcedReplay&&e.forcedReplay){const t=r.findSession();t&&(t.isReplayForced=!0)}}),{findTrackedSession(t){const e=r.findSession(t);if(e&&"0"!==e.trackingType)return{id:e.id,sessionReplay:"1"===e.trackingType?1:e.isReplayForced?2:0,anonymousId:e.anonymousId}},expire:r.expire,expireObservable:r.expireObservable,setForcedReplay:()=>r.updateSessionState({forcedReplay:"1"})}}(t,m,o);if((0,Fn.d0)())!function(t){const e=(0,Fn.Y9)();t.subscribe(13,t=>{e.send("rum",t)})}(m);else{const e=function(t,e,n,r,i,o){const a=[t.rumEndpointBuilder];t.replica&&a.push(t.replica.rumEndpointBuilder);const s=(0,Mi.X)({encoder:o(2),request:(0,Pi.sA)(a,t.batchBytesLimit,n),flushController:(0,ji.t)({messagesLimit:t.batchMessagesLimit,bytesLimit:t.batchBytesLimit,durationLimit:t.flushTimeout,pageMayExitObservable:r,sessionExpireObservable:i}),messageBytesLimit:t.messageBytesLimit});return e.subscribe(13,t=>{t.type===An.VIEW?s.upsert(t,t.view.id):s.add(t)}),s}(t,m,x,k,L.expireObservable,i);p.push(()=>e.stop()),function(t,e,n,r){e.enabled&&(0,Yn.ic)(t.customerDataTelemetrySampleRate)&&(Ge(),Bi=!1,n.subscribe(13,()=>{Bi=!0}),r.subscribe(({bytesCount:t,messagesCount:e})=>{Bi&&(Bi=!1,$i.batchCount+=1,We($i.batchBytesCount,t),We($i.batchMessagesCount,e))}),(0,Jn.yb)(He,Li))}(t,D,m,e.flushController.flushObservable)}const $=function(){const t=mt();return new rn.cP(e=>{if(!t)return;const n=new t((0,pn.dm)(t=>e.notify(t)));return n.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),()=>n.disconnect()})}(),V=function(t,e){let n=(0,$n.yG)(e);return new rn.cP(r=>{function i(){if(n.href===e.href)return;const t=(0,$n.yG)(e);r.notify({newLocation:t,oldLocation:n}),n=t}const{stop:o}=function(t,e){const{stop:n}=(0,an.H)(ze("pushState"),"pushState",({onPostCall:t})=>{t(e)}),{stop:r}=(0,an.H)(ze("replaceState"),"replaceState",({onPostCall:t})=>{t(e)}),{stop:i}=(0,Ln.q)(t,window,"popstate",e);return{stop(){n(),r(),i()}}}(t,i),{stop:a}=function(t,e){return(0,Ln.q)(t,window,"hashchange",e)}(t,i);return()=>{o(),a()}})}(t,location),{observable:H,stop:W}=function(){const t=new rn.cP,{stop:e}=(0,an.H)(window,"open",()=>t.notify());return{observable:t,stop:e}}();p.push(W),function(t,e,n){t.register(0,({eventType:t})=>{const r=e.source;return{type:t,_dd:{format_version:2,drift:(0,sn.TP)(),configuration:{session_sample_rate:(0,Yn.LI)(e.sessionSampleRate,3),session_replay_sample_rate:(0,Yn.LI)(e.sessionReplaySampleRate,3),profiling_sample_rate:(0,Yn.LI)(e.profilingSampleRate,3)},browser_sdk_version:(0,Fn.d0)()?"6.19.0":void 0,sdk_name:n},application:{id:e.applicationId},date:(0,sn.nx)(),source:r}}),t.register(1,()=>({application:{id:e.applicationId}}))}(g,t,f);const G=function(t,e,n=500){function r(t,e=(0,sn.$S)()){t!==a&&(a=t,o.closeActive(e),o.add({state:a,startTime:e},e))}function i(t,e,n){return o.findAll(e,n).some(e=>e.state===t)}const o=gt({expireDelay:Ui,maxEntries:4e3});let a;Nt(Ur.VISIBILITY_STATE)&&performance.getEntriesByType(Ur.VISIBILITY_STATE).forEach(t=>{r("hidden"===t.name?"hidden":"active",t.startTime)}),r(Ke(),(0,sn.$S)());const{stop:s}=(0,Ln.l)(e,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],t=>{r(function(t){return"freeze"===t.type?"frozen":"pagehide"===t.type?t.persisted?"frozen":"terminated":Ke()}(t),t.timeStamp)},{capture:!0});return t.register(0,({startTime:t,duration:e=0,eventType:r})=>r===An.VIEW?{type:r,_dd:{page_states:Ze(o.findAll(t,e),t,n)}}:r===An.ACTION||r===An.ERROR?{type:r,view:{in_foreground:i("active",t,0)}}:Vn.$O),{wasInPageStateDuringPeriod:i,addPageState:r,stop(){s(),o.stop()}}}(g,t),Z=function(t){const e=gt({expireDelay:Er});return t.subscribe(1,t=>{e.add(function(t){return{service:t.service,version:t.version,context:t.context,id:t.id,name:t.name,startClocks:t.startClocks}}(t),t.startClocks.relative)}),t.subscribe(6,({endClocks:t})=>{e.closeActive(t.relative)}),t.subscribe(3,t=>{const n=e.find(t.startClocks.relative);n&&(t.name&&(n.name=t.name),t.context&&(n.context=t.context),n.sessionIsActive=t.sessionIsActive)}),t.subscribe(10,()=>{e.reset()}),{findView:t=>e.find(t),stop(){e.stop()}}}(m);p.push(()=>Z.stop());const K=function(t,e,n,r){function i({url:t,referrer:e}){return{url:t,referrer:e}}const o=gt({expireDelay:Ni});let a;t.subscribe(1,({startClocks:t})=>{const e=r.href;o.add(i({url:e,referrer:a||document.referrer}),t.relative),a=e}),t.subscribe(6,({endClocks:t})=>{o.closeActive(t.relative)});const s=n.subscribe(({newLocation:t})=>{const e=o.find();if(e){const n=(0,sn.$S)();o.closeActive(n),o.add(i({url:t.href,referrer:e.referrer}),n)}});return e.register(0,({startTime:t,eventType:e})=>{const n=o.find(t);return n?{type:e,view:{url:n.url,referrer:n.referrer}}:Vn.ug}),{findUrl:t=>o.find(t),stop(){s.unsubscribe(),o.stop()}}}(m,g,V,location);p.push(()=>K.stop());const Y=function(t,e,n){const r=gt({expireDelay:Di});return t.subscribe(1,({startClocks:t})=>{r.add({},t.relative)}),t.subscribe(6,({endClocks:t})=>{r.closeActive(t.relative)}),e.register(0,({startTime:t,eventType:e})=>
8{if(!n.trackFeatureFlagsForEvents.concat([An.VIEW,An.ERROR]).includes(e))return Vn.$O;const i=r.find(t);return!i||(0,$n.RI)(i)?Vn.$O:{type:e,feature_flags:i}}),{addFeatureFlagEvaluation(t,e){const n=r.find();n&&(n[t]=e)}}}(m,g,t);!function(t,e,n,r){t.register(0,({eventType:t,startTime:i})=>{const o=e.findTrackedSession(i),a=r.findView(i);if(!o||!a)return Vn.ug;let s,c,u;return t===An.VIEW?(s=!!n.getReplayStats(a.id)||void 0,c=1===o.sessionReplay,u=!!a.sessionIsActive&&void 0):s=!!n.isRecording()||void 0,{type:t,session:{id:o.id,type:"user",has_replay:s,sampled_for_replay:c,is_active:u}}}),t.register(1,({startTime:t})=>{const n=e.findTrackedSession(t);return n?{session:{id:n.id}}:Vn.$O})}(g,L,e,Z),function(t){t.register(0,({eventType:t})=>({type:t,connectivity:(0,Zi.q)()}))}(g),function(t,e){t.register(1,()=>e.isGranted()?Vn.$O:Vn.ug)}(g,o);const J=function(t,e){const n=y();return e.storeContextsAcrossPages&&h(e,n,"rum",2),t.register(0,()=>({context:n.getContext()})),n}(g,t),X=function(t,e,n){const r=b();return e.storeContextsAcrossPages&&h(e,r,"rum",1),t.register(0,({eventType:t,startTime:i})=>{const o=r.getContext(),a=n.findTrackedSession(i);return a&&a.anonymousId&&!o.anonymous_id&&e.trackAnonymousUser&&(o.anonymous_id=a.anonymousId),(0,$n.RI)(o)?Vn.$O:{type:t,usr:o}}),t.register(1,({startTime:t})=>{var e;return{anonymous_id:null===(e=n.findTrackedSession(t))||void 0===e?void 0:e.anonymousId}}),r}(g,t,L),Q=function(t,e){const n=w();return e.storeContextsAcrossPages&&h(e,n,"rum",4),t.register(0,()=>{const t=n.getContext();return(0,$n.RI)(t)||!t.id?Vn.$O:{account:t}}),n}(g,t),{actionContexts:tt,addAction:et,addEvent:nt,stop:rt}=function(t,e,n,r,i,o,a){const s=function(t,e,n,r,i){t.subscribe(0,e=>t.notify(12,we(e))),e.register(0,({startTime:t,eventType:e})=>{if(e!==An.ERROR&&e!==An.RESOURCE&&e!==An.LONG_TASK)return Vn.$O;const n=o.findActionId(t);return n?{type:e,action:{id:n}}:Vn.$O}),e.register(1,({startTime:t})=>({action:{id:o.findActionId(t)}}));let o={findActionId:qn.l},a=qn.l;return i.trackUserInteractions&&({actionContexts:o,stop:a}=ye(t,n,r,i)),{addAction(e){t.notify(12,we(e))},actionContexts:o,stop:a}}(t,e,i,o,n),c=function(t){return{addEvent(e,n,r,i){Yi.includes(n.type)&&t.notify(12,{startTime:e,rawRumEvent:n,domainContext:r,duration:i})}}}(t),u=function(t,e){let n;const r=requestAnimationFrame((0,pn.dm)(()=>{n=Ve()})),i=Ue(e).subscribe(t=>{n=t}).unsubscribe;return t.register(0,({eventType:t})=>({type:t,display:n?{viewport:n}:void 0})),{stop(){i(),r&&cancelAnimationFrame(r)}}}(e,n),l=function(t,e,n=function(t,e){const n=window.cookieStore?function(t){return(e,n)=>(0,Ln.q)(t,window.cookieStore,"change",t=>{const r=t.changed.find(t=>t.name===e)||t.deleted.find(t=>t.name===e);r&&n(r.value)}).stop}(t):Ye;return new rn.cP(t=>n(e,e=>t.notify(e)))}(t,Fi)){var r;let i=S(Fi)||(null===(r=window.Cypress)||void 0===r?void 0:r.env("traceId"));const o=n.subscribe(t=>{i=t});return e.register(0,({eventType:t})=>"string"!=typeof i?Vn.$O:{type:t,session:{type:"ci_test"},ci_test:{test_execution_id:i}}),{stop(){o.unsubscribe()}}}(n,e);return function(t){t.register(0,({eventType:t})=>R()?{type:t,session:{type:"synthetics"},synthetics:{test_id:A(),result_id:I(),injected:E()}}:Vn.$O)}(e),function(t,e,n,r){Gi={[An.VIEW]:{"view.performance.lcp.resource_url":"string",...Hi,...zi,...Wi},[An.ERROR]:{"error.message":"string","error.stack":"string","error.resource.url":"string","error.fingerprint":"string",...Hi,...zi,...Wi},[An.RESOURCE]:{"resource.url":"string",...(0,Wn.sr)(Wn.R9.WRITABLE_RESOURCE_GRAPHQL)?{"resource.graphql":"object"}:{},...Hi,...zi,...Wi},[An.ACTION]:{"action.target.name":"string",...Hi,...zi,...Wi},[An.LONG_TASK]:{"long_task.scripts[].source_url":"string","long_task.scripts[].invoker":"string",...Hi,...zi,...Wi},[An.VITAL]:{...Hi,...zi,...Wi}};const i={[An.ERROR]:Je(An.ERROR,t.eventRateLimiterThreshold,r),[An.ACTION]:Je(An.ACTION,t.eventRateLimiterThreshold,r),[An.VITAL]:Je(An.VITAL,t.eventRateLimiterThreshold,r)};e.subscribe(12,({startTime:r,duration:o,rawRumEvent:a,domainContext:s})=>{const c=n.triggerHook(0,{eventType:a.type,startTime:r,duration:o});if(c===Vn.ug)return;const u=(0,gn.kg)(c,a,{ddtags:(0,qi.m5)(t).join(",")});(function(t,e,n,r){var i;if(e){const r=Xe(t,Gi[t.type],t=>e(t,n));if(!1===r&&t.type!==An.VIEW)return!1
9;!1===r&&En.Vy.warn("Can't dismiss view events using beforeSend!")}return!(null===(i=r[t.type])||void 0===i?void 0:i.isLimitReached())})(u,t.beforeSend,s,i)&&((0,$n.RI)(u.context)&&delete u.context,e.
9notify(13,u))})}(n,t,e,a),{pageStateHistory:r,addAction:s.addAction,addEvent:c.addEvent,actionContexts:s.actionContexts,stop(){s.stop(),l.stop(),u.stop(),r.stop()}}}(m,g,t,G,$,H,x);p.push(rt);const{addTiming:it,startView:ot,setViewName:at,setViewContext:ut,setViewContextProperty:lt,getViewContext:dt,stop:ft}=function(t,e,n,r,i,o,a,c,u,l){return t.subscribe(4,e=>t.notify(12,function(t,e,n){var r,i,o,a,s,c,u,l,d,f,p,h,m,g,v,y,b,w;const _=n.getReplayStats(t.id),x=null===(i=null===(r=t.commonViewMetrics)||void 0===r?void 0:r.cumulativeLayoutShift)||void 0===i?void 0:i.devicePixelRatio,k={_dd:{document_version:t.documentVersion,replay_stats:_,cls:x?{device_pixel_ratio:x}:void 0,configuration:{start_session_replay_recording_manually:e.startSessionReplayRecordingManually}},date:t.startClocks.timeStamp,type:An.VIEW,view:{action:{count:t.eventCounts.actionCount},frustration:{count:t.eventCounts.frustrationCount},cumulative_layout_shift:null===(o=t.commonViewMetrics.cumulativeLayoutShift)||void 0===o?void 0:o.value,cumulative_layout_shift_time:(0,sn.Zj)(null===(a=t.commonViewMetrics.cumulativeLayoutShift)||void 0===a?void 0:a.time),cumulative_layout_shift_target_selector:null===(s=t.commonViewMetrics.cumulativeLayoutShift)||void 0===s?void 0:s.targetSelector,first_byte:(0,sn.Zj)(null===(c=t.initialViewMetrics.navigationTimings)||void 0===c?void 0:c.firstByte),dom_complete:(0,sn.Zj)(null===(u=t.initialViewMetrics.navigationTimings)||void 0===u?void 0:u.domComplete),dom_content_loaded:(0,sn.Zj)(null===(l=t.initialViewMetrics.navigationTimings)||void 0===l?void 0:l.domContentLoaded),dom_interactive:(0,sn.Zj)(null===(d=t.initialViewMetrics.navigationTimings)||void 0===d?void 0:d.domInteractive),error:{count:t.eventCounts.errorCount},first_contentful_paint:(0,sn.Zj)(t.initialViewMetrics.firstContentfulPaint),first_input_delay:(0,sn.Zj)(null===(f=t.initialViewMetrics.firstInput)||void 0===f?void 0:f.delay),first_input_time:(0,sn.Zj)(null===(p=t.initialViewMetrics.firstInput)||void 0===p?void 0:p.time),first_input_target_selector:null===(h=t.initialViewMetrics.firstInput)||void 0===h?void 0:h.targetSelector,interaction_to_next_paint:(0,sn.Zj)(null===(m=t.commonViewMetrics.interactionToNextPaint)||void 0===m?void 0:m.value),interaction_to_next_paint_time:(0,sn.Zj)(null===(g=t.commonViewMetrics.interactionToNextPaint)||void 0===g?void 0:g.time),interaction_to_next_paint_target_selector:null===(v=t.commonViewMetrics.interactionToNextPaint)||void 0===v?void 0:v.targetSelector,is_active:t.isActive,name:t.name,largest_contentful_paint:(0,sn.Zj)(null===(y=t.initialViewMetrics.largestContentfulPaint)||void 0===y?void 0:y.value),largest_contentful_paint_target_selector:null===(b=t.initialViewMetrics.largestContentfulPaint)||void 0===b?void 0:b.targetSelector,load_event:(0,sn.Zj)(null===(w=t.initialViewMetrics.navigationTimings)||void 0===w?void 0:w.loadEvent),loading_time:Mt((0,sn.Zj)(t.commonViewMetrics.loadingTime)),loading_type:t.loadingType,long_task:{count:t.eventCounts.longTaskCount},performance:qe(t.commonViewMetrics,t.initialViewMetrics),resource:{count:t.eventCounts.resourceCount},time_spent:(0,sn.Zj)(t.duration)},display:t.commonViewMetrics.scroll?{scroll:{max_depth:t.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:t.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:t.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:(0,sn.Zj)(t.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,privacy:{replay_level:e.defaultPrivacyLevel},device:{locale:navigator.language,locales:navigator.languages,time_zone:je()}};return(0,$n.RI)(t.customTimings)||(k.view.custom_timings=(0,$n.LG)(t.customTimings,sn.Zj)),{rawRumEvent:k,startTime:t.startClocks.relative,duration:t.duration,domainContext:{location:t.location}}}(e,n,c))),e.register(0,({startTime:t,eventType:e})=>{const n=u.findView(t);return n?{type:e,service:n.service,version:n.version,context:n.context,view:{id:n.id,name:n.name}}:Vn.ug}),e.register(1,({startTime:t})=>{var e;return{view:{id:null===(e=u.findView(t))||void 0===e?void 0:e.id}}}),function(t,e,n,r,i,o,a,c){function u(o,a,c){const u=function(t,e,n,r,i,o,a=(0,sn.M8)(),c){function u(){t.notify(3,{id:f,name:_,context:b.getContext(),startClocks:a,sessionIsActive:w})}function l(){u(),T()}function d(){E(),u(),g+=1;const e=void 0===m?(0,sn.nx)():m.timeStamp;t.notify(4,{customTimings:h,documentVersion:g,id:f,name:_,service:x,version:k,context:b.getContext(),loadingType:o,location:y,startClocks:a,commonViewMetrics:M(),initialViewMetrics:j,duration:(0,sn.vk)(a.timeStamp,e),isActive:void 0===m,sessionIsActive:w,eventCounts:D})}const f=s(),p=new rn.cP,h={};let m,g=0;const y=(0,$n.yG)(i),b=v();let w=!0,_=null==c?void 0:c.name;const x=(null==c?void 0:c.service)||r.service,k=(null==c?void 0:c.version)||r.version,S=null==c?void 0:c.context;S&&b.setContext(S);const C={id:f,name:_,startClocks:a,service:x,version:k,context:S};t.notify(1,C),t.notify(2,C);const{throttled:T,cancel:E}=(0,qn.n)(d,3e3,{leading:!1}),{setLoadEvent:A,setViewEnd:I,stop:R,stopINPTracking:O,getCommonViewMetrics:M}=function(t,e,n,r,i,o,a){const s={},{stop:c,setLoadEvent:u}=function(t,e,n,r,o,a){function c(){if(!l&&!u&&d.length>0){const e=Math.max(...d);e<f.timeStamp-a.relative&&(t=e,s.loadingTime=t,i())}var t}let u=o===In,l=!0;const d=[],f=Ne(r,a),{stop:p}=qt(t,e,n,r,t=>{l&&(l=!1,t.hadActivity&&d.push((0,sn.vk)(a.timeStamp,t.end)),c())});return{stop(){p(),f.stop()}
9,setLoadEvent(t){u&&(u=!1,d.push(t),c())}}}(t,e,n,r,o,a),{stop:l}=function(t,e,n,r=function(t,e=Ti){return new rn.cP(n=>{if(window.ResizeObserver){const r=(0,qn.n)(function(){n.notify(function(){const t=Be(),{height:e}=Ve();return{scrollHeight:Math.round((document.scrollingElement||document.documentElement).scrollHeight),scrollDepth:Math.round(e+t),scrollTop:t}}())},e,{leading:!1,trailing:!0}),i=document.scrollingElement||document.documentElement,o=new ResizeObserver((0,pn.dm)(r.throttled));i&&o.observe(i);const a=(0,Ln.q)(t,window,"scroll",r.throttled,{passive:!0});return()=>{r.cancel(),o.disconnect(),a.stop()}}})}(t)){let i=0,o=0,a=0;const s=r.subscribe(({scrollDepth:t,scrollTop:r,scrollHeight:s})=>{let c=!1;if(t>i&&(i=t,c=!0),s>o){o=s;const t=(0,sn.$S)();a=(0,sn.vk)(e.relative,t),c=!0}c&&n({maxDepth:Math.min(i,o),maxDepthScrollTop:r,maxScrollHeight:o,maxScrollHeightTime:a})});return{stop:()=>s.unsubscribe()}}(r,a,t=>{s.scroll=t}),{stop:d}=function(t,e,n){if(!Nt(Ur.LAYOUT_SHIFT)||!("WeakRef"in window))return{stop:qn.l};let r,i=0;n({value:0});const o=function(){let t,e,n=0,r=0;return{update(i){let o;return void 0===t||i.startTime-e>=yi||i.startTime-t>=vi?(t=e=i.startTime,r=n=i.value,o=!0):(n+=i.value,e=i.startTime,o=i.value>r,o&&(r=i.value)),{cumulatedValue:n,isMaxValue:o}}}}(),a=jt(t,{type:Ur.LAYOUT_SHIFT,buffered:!0}).subscribe(a=>{var s;for(const c of a){if(c.hadRecentInput||c.startTime<e)continue;const{cumulatedValue:a,isMaxValue:u}=o.update(c);if(u){const t=De(c.sources);r={target:(null==t?void 0:t.node)?new WeakRef(t.node):void 0,time:(0,sn.vk)(e,c.startTime),previousRect:null==t?void 0:t.previousRect,currentRect:null==t?void 0:t.currentRect,devicePixelRatio:window.devicePixelRatio}}if(a>i){i=a;const e=null===(s=null==r?void 0:r.target)||void 0===s?void 0:s.deref();n({value:(0,Yn.LI)(i,4),targetSelector:e&&ae(e,t.actionNameAttribute),time:null==r?void 0:r.time,previousRect:(null==r?void 0:r.previousRect)?Le(r.previousRect):void 0,currentRect:(null==r?void 0:r.currentRect)?Le(r.currentRect):void 0,devicePixelRatio:null==r?void 0:r.devicePixelRatio})}}});return{stop(){a.unsubscribe()}}}(r,a.relative,t=>{s.cumulativeLayoutShift=t,i()}),{stop:f,getInteractionToNextPaint:p,setViewEnd:h}=function(t,e,n){function r(n){for(const t of n)t.interactionId&&t.startTime>=e&&t.startTime<=a&&s.process(t);const r=s.estimateP98Interaction();r&&r.duration!==l&&(l=r.duration,u=(0,sn.vk)(e,r.startTime),c=function(t){const e=ri.get(t);return ri.delete(t),e}(r.startTime),!c&&r.target&&Lt(r.target)&&(c=ae(r.target,t.actionNameAttribute)))}if(!(Nt(Ur.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return{getInteractionToNextPaint(){},setViewEnd:qn.l,stop:qn.l};const{getViewInteractionCount:i,stopViewInteractionCount:o}=function(t){function e(){return ki()-n}"interactionCount"in performance||bi||(bi=new window.PerformanceObserver((0,pn.dm)(t=>{t.getEntries().forEach(t=>{const e=t;e.interactionId&&(_i=Math.min(_i,e.interactionId),xi=Math.max(xi,e.interactionId),wi=(xi-_i)/7+1)})})),bi.observe({type:"event",buffered:!0,durationThreshold:0}));const n=t===In?0:ki();let r={stopped:!1};return{getViewInteractionCount:()=>r.stopped?r.interactionCount:e(),stopViewInteractionCount(){r={stopped:!0,interactionCount:e()}}}}(n);let a=1/0;const s=function(t){function e(){n.sort((t,e)=>e.duration-t.duration).splice(10)}const n=[];return{process(t){const r=n.findIndex(e=>t.interactionId===e.interactionId),i=n[n.length-1];-1!==r?t.duration>n[r].duration&&(n[r]=t,e()):(n.length<10||t.duration>i.duration)&&(n.push(t),e())},estimateP98Interaction(){const e=Math.min(n.length-1,Math.floor(t()/50));return n[e]}}}(i);let c,u,l=-1;const d=jt(t,{type:Ur.FIRST_INPUT,buffered:!0}).subscribe(r),f=jt(t,{type:Ur.EVENT,durationThreshold:40,buffered:!0}).subscribe(r);return{getInteractionToNextPaint:()=>l>=0?{value:Math.min(l,Si),targetSelector:c,time:u}:i()?{value:0}:void 0,setViewEnd(t){a=t,o()},stop(){f.unsubscribe(),d.unsubscribe()}}}(r,a.relative,o);return{stop(){c(),d(),l()},stopINPTracking:f,setLoadEvent:u,setViewEnd:h,getCommonViewMetrics:()=>(s.interactionToNextPaint=p(),s)}}(t,e,n,r,l,o,a),{stop:P,initialViewMetrics:j}=o===In?function(t,e,n,r){const i={},{stop:o}=function(t,e,n=Ae){return function(t,e){let n;const{stop:r}=(0,di.H)(t,"complete",()=>{n=(0,Jn.wg)(()=>e())});return{stop(){r(),(0,Jn.DJ)(n)}}}(t,()=>{const t=n();(function(t){return t.loadEventEnd<=0})(t)||e(function(t){return{domComplete:t.domComplete,domContentLoaded:t.domContentLoadedEventEnd,domInteractive:t.domInteractive,loadEvent:t.loadEventEnd,firstByte:t.responseStart>=0&&t.responseStart<=(0,sn.$S)()?t.responseStart:void 0}}(t))})}(t,t=>{n(t.loadEvent),i.navigationTimings=t,r()}),a=Ne(t,e),{stop:s}=function(t,e){return{stop:jt(t,{type:Ur.PAINT,buffered:!0}).subscribe(t=>{const n=t.find(t=>"first-contentful-paint"===t.name&&t.startTime<e.timeStamp&&t.startTime<pi);var o;n&&(o=n.startTime,i.firstContentfulPaint=o,r())}).unsubscribe}}(t,a),{stop:c}=function(t,e,n){let o=1/0;const{stop:a}=(0,Ln.l)(t,n,["pointerdown","keydown"],t=>{o=t.timeStamp},{capture:!0,once:!0});let s=0;const c=jt(t,{type:Ur.LARGEST_CONTENTFUL_PAINT,buffered:!0}).subscribe(n=>{const a=(0,tr.Uk)(n,t=>t.entryType===Ur.LARGEST_CONTENTFUL_PAINT&&t.startTime<o&&t.startTime<e.timeStamp&&t.startTime<hi&&t.size>s);if(a){let e;
9a.element&&(e=ae(a.element,t.actionNameAttribute)),c={value:a.startTime,targetSelector:e,resourceUrl:(u=a,""===u.url?void 0:u.url)},i.largestContentfulPaint=c,r(),s=a.size}var c,u});return{stop(){a(),c.unsubscribe()}}}(t,a,window),{stop:u}=function(t,e){const n=jt(t,{type:Ur.FIRST_INPUT,buffered:!0}).subscribe(n=>{const o=n.find(t=>t.startTime<e.timeStamp);if(o){const e=(0,sn.vk)(o.startTime,o.processingStart);let n;o.target&&Lt(o.target)&&(n=ae(o.target,t.actionNameAttribute)),a={delay:e>=0?e:0,time:o.startTime,targetSelector:n},i.firstInput=a,r()}var a});return{stop(){n.unsubscribe()}}}(t,a);return{stop(){o(),s(),c(),u(),a.stop()},initialViewMetrics:i}}(r,a,A,l):{stop:qn.l,initialViewMetrics:{}};o===On&&function(t,e,n){var r,i;r=t.relative,i=t=>{e.firstContentfulPaint=t,e.largestContentfulPaint={value:t},n()},requestAnimationFrame(()=>{requestAnimationFrame(()=>{i((0,sn.vk)(r,(0,sn.$S)()))})})}(a,j,l);const{stop:N,eventCounts:D}=function(t,e,n){const{stop:r,eventCounts:i}=Pt({lifeCycle:t,isChildEvent:t=>t.view.id===e,onChange:n});return{stop:r,eventCounts:i}}(t,f,l),L=(0,Jn.yb)(d,Ei),$=t.subscribe(11,t=>{t.reason===wr.y5.UNLOADING&&d()});return d(),b.changeObservable.subscribe(l),{get name(){return _},service:x,version:k,contextManager:b,stopObservable:p,end(e={}){var n,r;m||(m=null!==(n=e.endClocks)&&void 0!==n?n:(0,sn.M8)(),w=null===(r=e.sessionIsActive)||void 0===r||r,t.notify(5,{endClocks:m}),t.notify(6,{endClocks:m}),(0,Jn.vG)(L),I(m.relative),R(),$.unsubscribe(),d(),(0,Jn.wg)(()=>{this.stop()},Ai))},stop(){P(),N(),O(),p.notify()},addTiming(t,e){if(m)return;const n=(0,sn.pu)(e)?e:(0,sn.vk)(a.timeStamp,e);h[function(t){const e=t.replace(/[^a-zA-Z0-9-_.@$]/g,"_");return e!==t&&En.Vy.warn(`Invalid timing name: ${t}, sanitized to: ${e}`),e}(t)]=n,l()},setViewName(t){_=t,d()}}}(e,n,r,i,t,o,a,c);return l.add(u),u.stopObservable.subscribe(()=>{l.delete(u)}),u}const l=new Set;let d,f,p=u(In,(0,sn.Oc)(),c);return e.subscribe(10,()=>{p=u(Rn,void 0,{name:p.name,service:p.service,version:p.version,context:p.contextManager.getContext()})}),e.subscribe(9,()=>{p.end({sessionIsActive:!1})}),a&&(f=function(t){return t.subscribe(({oldLocation:t,newLocation:e})=>{var n,r;r=e,((n=t).pathname!==r.pathname||!function(t){const e=t.substring(1);return""!==e&&!!document.getElementById(e)}(r.hash)&&Fe(r.hash)!==Fe(n.hash))&&(p.end(),p=u(Rn))})}(o),i.trackBfcacheViews&&(d=function(t){const{stop:e}=(0,Ln.q)(t,window,"pageshow",t=>{t.persisted&&(t=>{p.end();const e=(0,sn.FR)(t.timeStamp);p=u(On,e,void 0)})(t)},{capture:!0});return e}(i))),{addTiming(t,e=(0,sn.nx)()){p.addTiming(t,e)},startView(t,e){p.end({endClocks:e}),p=u(Rn,e,t)},setViewContext(t){p.contextManager.setContext(t)},setViewContextProperty(t,e){p.contextManager.setContextProperty(t,e)},setViewName(t){p.setViewName(t)},getViewContext:()=>p.contextManager.getContext(),stop(){f&&f.unsubscribe(),d&&d(),p.end(),l.forEach(t=>t.stop())}}}(r,t,i,o,n,a,!n.trackViewsManually,l)}(m,g,t,location,$,H,V,e,Z,r);p.push(ft);const{stop:pt}=function(t,e,n){if(!n.enabled||!(0,Yn.ic)(t.initialViewMetricsTelemetrySampleRate))return{stop:qn.l};const{unsubscribe:r}=e.subscribe(4,({initialViewMetrics:t})=>{var e,n;t.largestContentfulPaint&&t.navigationTimings&&((0,hn.Gk)("Initial view metrics",{metrics:(e=t.largestContentfulPaint,n=t.navigationTimings,{lcp:{value:e.value},navigation:{domComplete:n.domComplete,domContentLoaded:n.domContentLoaded,domInteractive:n.domInteractive,firstByte:n.firstByte,loadEvent:n.loadEvent}})}),r())});return{stop:r}}(t,m,D);p.push(pt);const{stop:ht}=Re(m,t,G);if(p.push(ht),t.trackLongTasks)if(Nt(Ur.LONG_ANIMATION_FRAME)){const{stop:e}=function(t,e){const n=jt(e,{type:Ur.LONG_ANIMATION_FRAME,buffered:!0}).subscribe(e=>{for(const n of e){const e=(0,sn.FR)(n.startTime),r={date:e.timeStamp,long_task:{id:s(),entry_type:"long-animation-frame",duration:(0,sn.Zj)(n.duration),blocking_duration:(0,sn.Zj)(n.blockingDuration),first_ui_event_timestamp:(0,sn.Zj)(n.firstUIEventTimestamp),render_start:(0,sn.Zj)(n.renderStart),style_and_layout_start:(0,sn.Zj)(n.styleAndLayoutStart),start_time:(0,sn.Zj)(n.startTime),scripts:n.scripts.map(t=>({duration:(0,sn.Zj)(t.duration),pause_duration:(0,sn.Zj)(t.pauseDuration),forced_style_and_layout_duration:(0,sn.Zj)(t.forcedStyleAndLayoutDuration),start_time:(0,sn.Zj)(t.startTime),execution_start:(0,sn.Zj)(t.executionStart),source_url:t.sourceURL,source_function_name:t.sourceFunctionName,source_char_position:t.sourceCharPosition,invoker:t.invoker,invoker_type:t.invokerType,window_attribution:t.windowAttribution}))},type:An.LONG_TASK,_dd:{discarded:!1}};t.notify(12,{rawRumEvent:r,startTime:e.relative,duration:n.duration,domainContext:{performanceEntry:n}})}});return{stop:()=>n.unsubscribe()}}(m,t);p.push(e)}else!function(t,e){jt(e,{type:Ur.LONG_TASK,buffered:!0}).subscribe(n=>{for(const r of n){if(r.entryType!==Ur.LONG_TASK)break;if(!e.trackLongTasks)break;const n=(0,sn.FR)(r.startTime),i={date:n.timeStamp,long_task:{id:s(),entry_type:"long-task",duration:(0,sn.Zj)(r.duration)},type:An.LONG_TASK,_dd:{discarded:!1}};t.notify(12,{rawRumEvent:i,startTime:n.relative,duration:r.duration,domainContext:{performanceEntry:r}})}})}(m,t);const{addError:bt}=function(t,e,n){const r=new rn.cP;return n.subscribe(t=>{0===t.type&&r.notify(t.error)}),function(t){(function(t){const e=t.map(t=>(ai[t]||(ai[t]=function(t){return new rn.cP(e=>{const n=En.JZ[t];return En.JZ[t]=(...r)=>{n.apply(console,r);const i=(0,vn.uC)("console error");(0,pn.um)(()=>
9{e.notify(function(t,e,n){const r=t.map(t=>function(t){return"string"==typeof t?(0,yn.a)(t):(0,ln.bJ)(t)?(0,vn.NR)((0,cn.T)(t)):(0,oi.s)((0,yn.a)(t),void 0,2)}(t)).join(" ");if(e===En.bP.error){const i=t.find(ln.bJ),o=(0,ln.As)({originalError:i,handlingStack:n,startClocks:(0,sn.M8)(),source:dn.g.CONSOLE,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return o.message=r,{api:e,message:r,handlingStack:n,error:o}}return{api:e,message:r,error:void 0,handlingStack:n}}(r,t,i))})},()=>{En.JZ[t]=n}})}(t)),ai[t]));return(0,rn.Fx)(...e)})([En.bP.error]).subscribe(e=>t.notify(e.error))}(r),function(t,e){(function(t,e){const n=[];e.includes(si)&&n.push(function(t){return new rn.cP(e=>{const{stop:n}=(0,Ln.q)(t,document,"securitypolicyviolation",t=>{e.notify(function(t){const e=`'${t.blockedURI}' blocked by '${t.effectiveDirective}' directive`;return xe({type:t.effectiveDirective,message:`${si}: ${e}`,originalError:t,csp:{disposition:t.disposition},stack:ke(t.effectiveDirective,t.originalPolicy?`${e} of the policy "${u(t.originalPolicy,100,"...")}"`:"no policy",t.sourceFile,t.lineNumber,t.columnNumber)})}(t))});return n})}(t));const r=e.filter(t=>t!==si);return r.length&&n.push(function(t){return new rn.cP(e=>{if(!window.ReportingObserver)return;const n=(0,pn.dm)(t=>t.forEach(t=>e.notify(function(t){const{type:e,body:n}=t;return xe({type:n.id,message:`${e}: ${n.message}`,originalError:t,stack:ke(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)})}(t)))),r=new window.ReportingObserver(n,{types:t,buffered:!0});return r.observe(),()=>{r.disconnect()}})}(r)),(0,rn.Fx)(...n)})(t,[si,"intervention"]).subscribe(t=>e.notify(t))}(e,r),r.subscribe(e=>t.notify(14,{error:e})),function(t){return t.subscribe(14,({error:e})=>{t.notify(12,function(t){const e={date:t.startClocks.timeStamp,error:{id:s(),message:t.message,source:t.source,stack:t.stack,handling_stack:t.handlingStack,component_stack:t.componentStack,type:t.type,handling:t.handling,causes:t.causes,source_type:"browser",fingerprint:t.fingerprint,csp:t.csp},type:An.ERROR,context:t.context},n={error:t.originalError,handlingStack:t.handlingStack};return{rawRumEvent:e,startTime:t.startClocks.relative,domainContext:n}}(e))}),{addError({error:e,handlingStack:n,componentStack:r,startClocks:i,context:o}){const a=(0,ln.As)({originalError:e,handlingStack:n,componentStack:r,startClocks:i,nonErrorPrefix:"Provided",source:dn.g.CUSTOM,handling:"handled"});a.context=(0,gn.kg)(a.context,o),t.notify(14,{error:a})}}}(t)}(m,t,c);c.unbuffer(),function(t,e,n,r,i){const o=function(t,e,n,r){return{clearTracingIfNeeded:st,traceFetch:i=>ct(t,i,e,n,r,t=>{var e;if(i.input instanceof Request&&!(null===(e=i.init)||void 0===e?void 0:e.headers))i.input=new Request(i.input),Object.keys(t).forEach(e=>{i.input.headers.append(e,t[e])});else{i.init=(0,$n.yG)(i.init);const e=[];i.init.headers instanceof Headers?i.init.headers.forEach((t,n)=>{e.push([n,t])}):Array.isArray(i.init.headers)?i.init.headers.forEach(t=>{e.push(t)}):i.init.headers&&Object.keys(i.init.headers).forEach(t=>{e.push([t,i.init.headers[t]])}),i.init.headers=e.concat((0,tr.WP)(t))}}),traceXhr:(i,o)=>ct(t,i,e,n,r,t=>{Object.keys(t).forEach(e=>{o.setRequestHeader(e,t[e])})})}}(e,n,r,i);!function(t,e,n){(function(t){return Ar||(Ar=function(t){return new rn.cP(e=>{const{stop:n}=(0,an.H)(XMLHttpRequest.prototype,"open",vt),{stop:r}=(0,an.H)(XMLHttpRequest.prototype,"send",n=>{!function({target:t,handlingStack:e},n,r){const i=Ir.get(t);if(!i)return;const o=i;o.state="start",o.startClocks=(0,sn.M8)(),o.isAborted=!1,o.xhr=t,o.handlingStack=e;let a=!1;const{stop:s}=(0,an.H)(t,"onreadystatechange",()=>{t.readyState===XMLHttpRequest.DONE&&c()}),c=()=>{if(u(),s(),a)return;a=!0;const e=i;e.state="complete",e.duration=(0,sn.vk)(o.startClocks.timeStamp,(0,sn.nx)()),e.status=t.status,r.notify((0,$n.yG)(e))},{stop:u}=(0,Ln.q)(n,t,"loadend",c);r.notify(o)}(n,t,e)},{computeHandlingStack:!0}),{stop:i}=(0,an.H)(XMLHttpRequest.prototype,"abort",yt);return()=>{n(),r(),i()}})}(t)),Ar})(e).subscribe(e=>{const r=e;if(It(r.url))switch(r.state){case"start":n.traceXhr(r,r.xhr),r.requestIndex=Ot(),t.notify(7,{requestIndex:r.requestIndex,url:r.url});break;case"complete":n.clearTracingIfNeeded(r),t.notify(8,{duration:r.duration,method:r.method,requestIndex:r.requestIndex,spanId:r.spanId,startClocks:r.startClocks,status:r.status,traceId:r.traceId,traceSampled:r.traceSampled,type:jr,url:r.url,xhr:r.xhr,isAborted:r.isAborted,handlingStack:r.handlingStack})}})}(t,e,o),function(t,e){_().subscribe(n=>{const r=n;if(It(r.url))switch(r.state){case"start":e.traceFetch(r),r.requestIndex=Ot(),t.notify(7,{requestIndex:r.requestIndex,url:r.url});break;case"resolve":!function(t,e){const n=t.response&&(0,Nr.i)(t.response);n&&n.body?function(t,e){function n(){r.cancel().catch(qn.l),e()}const r=t.getReader();let i=0;!function t(){r.read().then((0,pn.dm)(e=>{e.done?n():(i+=e.value.length,i>1/0?n():t())}),(0,pn.dm)(()=>e()))}()}(n.body,()=>{e((0,sn.vk)(t.startClocks.timeStamp,(0,sn.nx)()))}):e((0,sn.vk)(t.startClocks.timeStamp,(0,sn.nx)()))}(r,n=>{e.clearTracingIfNeeded(r),t.notify(8,{duration:n,method:r.method,requestIndex:r.requestIndex,responseType:r.responseType,spanId:r.spanId,startClocks:r.startClocks,status:r.status,traceId:r.traceId,traceSampled:r.traceSampled,type:Pr,url:r.url,response:r.response,init:r.
9init,input:r.input,isAborted:r.isAborted,handlingStack:r.handlingStack})})}})}(t,o)}(m,t,L,X,Q);const wt=function(t,e,n){function r(n){(function(t){return!e.wasInPageStateDuringPeriod("frozen",t.startClocks.relative,t.duration)})(n)&&t.notify(12,function(t){return{rawRumEvent:{date:t.startClocks.timeStamp,vital:{id:s(),type:t.type,name:t.name,duration:(0,sn.Zj)(t.duration),description:t.description},type:An.VITAL,context:t.context,_dd:{vital:{computed_value:!0}}},startTime:t.startClocks.relative,duration:t.duration,domainContext:{}}}(n))}return{addDurationVital:r,startDurationVital:(t,e={})=>l(n,t,e),stopDurationVital(t,e={}){d(r,n,t,e)}}}(m,G,a),_t=function(t,e,n,r,i){return{get(o){const a=n.findView(o),s=i.findUrl(o),c=e.findTrackedSession(o);if(c&&a&&s){const e=r.findActionId(o);return{application_id:t,session_id:c.id,user_action:e?{id:e}:void 0,view:{id:a.id,name:a.name,referrer:s.referrer,url:s.url}}}}}}(t.applicationId,L,Z,tt,K);return p.push(()=>n.stop()),{addAction:et,addEvent:nt,addError:bt,addTiming:it,addFeatureFlagEvaluation:Y.addFeatureFlagEvaluation,startView:ot,setViewContext:ut,setViewContextProperty:lt,getViewContext:dt,setViewName:at,lifeCycle:m,viewHistory:Z,session:L,stopSession:()=>L.expire(),getInternalContext:_t.get,startDurationVital:wt.startDurationVital,stopDurationVital:wt.stopDurationVital,addDurationVital:wt.addDurationVital,globalContext:J,userContext:X,accountContext:Q,telemetry:D,stop(){p.forEach(t=>t())},hooks:g}}function nn(t,{session:e,viewContext:n,errorType:r}){const i=e?e.id:"no-session-id",o=[];void 0!==r&&o.push("error-type="+r),n&&(o.push("seed="+n.id),o.push("from="+n.startClocks.timeStamp));const a=function(t){const e=t.site,n=t.subdomain||function(t){switch(t.site){case pr.NW:case pr.dV:return"app";case pr.Bb:return"dd";default:return}}(t);return`https://${n?n+".":""}${e}`}(t);return`${a}${"/rum/replay/sessions/"+i}?${o.join("&")}`}n.d(e,{X2:()=>Mn,eT:()=>Gr,o:()=>Wr,$m:()=>qr,NT:()=>zr,Wd:()=>Hr,bb:()=>An,do:()=>Ur,yF:()=>Xr,wI:()=>Vt,W3:()=>mt,PJ:()=>Wt,dT:()=>Zt,$4:()=>Ft,Gn:()=>$e,zL:()=>Be,dx:()=>nn,rf:()=>Jt,pB:()=>Ve,wR:()=>Ut,g1:()=>Ue,XS:()=>$t,p_:()=>Bt,$5:()=>rt,AB:()=>ht,jR:()=>Gt,ei:()=>Rt,Ie:()=>Kt,rJ:()=>en,s5:()=>Nt});var rn=n(275);const on={GRANTED:"granted",NOT_GRANTED:"not-granted"};var an=n(801),sn=n(749),cn=n(511),un=n(61),ln=n(945),dn=n(314),fn=n(452),pn=n(315),hn=n(534),mn=n(322),gn=n(995),vn=n(468),yn=n(520);const bn="userContext",wn="globalContext",_n="accountContext",xn="getContext",kn="setContext",Sn="setContextProperty",Cn="removeContextProperty",Tn="clearContext";var En=n(875);const An={ACTION:"action",ERROR:"error",LONG_TASK:"long_task",VIEW:"view",RESOURCE:"resource",VITAL:"vital"},In="initial_load",Rn="route_change",On="bf_cache",Mn={CLICK:"click",CUSTOM:"custom"},Pn="error_click",jn="dead_click",Nn="duration",Dn=/([\w-]+)\s*=\s*([^;]+)/g;var Ln=n(197),$n=n(187);const Bn=[];var Un=n(166),Vn=n(339),Fn=n(362),qn=n(474),zn=n(877);let Hn;var Wn=n(188);let Gn,Zn;var Kn=n(262),Yn=n(713),Jn=n(636),Xn=n(760);const Qn="_dd_s";var tr=n(75);const er=4*sn.MA,nr=15*sn.iW,rr=sn.$H,ir="cookie",or="local-storage",ar=/^([a-zA-Z]+)=([a-z0-9-]+)$/,sr=sn.OY,cr=[];let ur;const lr=sn.OY,dr=["chrome-extension://","moz-extension://"],fr="Running the Browser SDK in a Web extension content script is discouraged and will be forbidden in a future major release unless the `allowedTrackingOrigins` option is provided.";var pr=n(858);const hr={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"},mr={ALL:"all",SAMPLED:"sampled"},gr=new Map,vr=["tracecontext","datadog"],yr=["applicationId","service","env","version","sessionSampleRate","sessionReplaySampleRate","defaultPrivacyLevel","enablePrivacyForActionName","traceSampleRate","trackSessionAcrossSubdomains","allowedTracingUrls","allowedTrackingOrigins"];var br=n(769),wr=n(887),_r=n(586);const xr=class{constructor(){this.callbacks={}}notify(t,e){const n=this.callbacks[t];n&&n.forEach(t=>t(e))}subscribe(t,e){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),{unsubscribe:()=>{this.callbacks[t]=this.callbacks[t].filter(t=>e!==t)}}}},kr=1/0,Sr=sn.iW;let Cr=null;const Tr=new Set,Er=er;let Ar;const Ir=new WeakMap,Rr="xhr",Or="fetch",Mr="other",Pr=Or,jr=Rr;var Nr=n(295);const Dr="initial_document",Lr=[["document",t=>Dr===t],[Rr,t=>"xmlhttprequest"===t],[Or,t=>"fetch"===t],["beacon",t=>"beacon"===t],["css",(t,e)=>
9/\.css$/i.test(e)],["js",(t,e)=>/\.js$/i.test(e)],["image",(t,e)=>["image","img","icon"].includes(t)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(e)],["font",(t,e)=>null!==/\.(woff|eot|woff2|ttf)$/i.exec(e)],["media",(t,e)=>["audio","video"].includes(t)||null!==/\.(mp3|mp4)$/i.exec(e)]],$r=/data:(.+)?(;base64)?,/g;let Br=1;var Ur;let Vr;!function(t){t.EVENT="event",t.FIRST_INPUT="first-input",t.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",t.LAYOUT_SHIFT="layout-shift",t.LONG_TASK="longtask",t.LONG_ANIMATION_FRAME="long-animation-frame",t.NAVIGATION="navigation",t.PAINT="paint",t.RESOURCE="resource",t.VISIBILITY_STATE="visibility-state"}(Ur||(Ur={}));const Fr="data-dd-excluded-activity-mutations",qr={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:hr.ALLOW,MASK:hr.MASK,MASK_USER_INPUT:hr.MASK_USER_INPUT},zr="data-dd-privacy",Hr="hidden",Wr="***",Gr="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",Zr={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0},Kr="data-dd-action-name",Yr=[(t,e,n)=>{if("labels"in t&&t.labels&&t.labels.length>0)return ie(t.labels[0],e,n)},t=>{if("INPUT"===t.nodeName){const e=t,n=e.getAttribute("type");if("button"===n||"submit"===n||"reset"===n)return{name:e.value,nameSource:"text_content"}}},(t,e,n)=>{if("BUTTON"===t.nodeName||"LABEL"===t.nodeName||"button"===t.getAttribute("role"))return ie(t,e,n)},t=>re(t,"aria-label"),(t,e,n)=>{const r=t.getAttribute("aria-labelledby");if(r)return{name:r.split(/\s+/).map(e=>function(t,e){return t.ownerDocument?t.ownerDocument.getElementById(e):null}(t,e)).filter(t=>!!t).map(t=>oe(t,e,n)).join(" "),nameSource:"text_content"}},t=>re(t,"alt"),t=>re(t,"name"),t=>re(t,"title"),t=>re(t,"placeholder"),(t,e,n)=>{if("options"in t&&t.options.length>0)return ie(t.options[0],e,n)}],Jr=[(t,e,n)=>ie(t,e,n)],Xr=[Kr,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],Qr=[ce,function(t){if(t.id&&!se(t.id))return"#"+CSS.escape(t.id)}],ti=[ce,function(t){if("BODY"===t.tagName)return;const e=t.classList;for(let n=0;n<e.length;n+=1){const r=e[n];if(!se(r))return`${CSS.escape(t.tagName)}.${CSS.escape(r)}`}},function(t){return CSS.escape(t.tagName)}],ei=sn.OY,ni=10*sn.OY,ri=new Map,ii=5*sn.iW;var oi=n(416);let ai={};const si="csp_violation";var ci=n(981);const ui=sn.OY,li=new WeakSet;var di=n(846);const fi=2*sn.iW,pi=10*sn.iW,hi=10*sn.iW,mi=(t,e)=>t*e,gi=t=>mi(t.previousRect.width,t.previousRect.height)+mi(t.currentRect.width,t.currentRect.height)-((t,e)=>{const n=Math.max(t.left,e.left),r=Math.max(t.top,e.top),i=Math.min(t.right,e.right),o=Math.min(t.bottom,e.bottom);return n>=i||r>=o?0:mi(i-n,o-r)})(t.previousRect,t.currentRect),vi=5*sn.OY,yi=sn.OY;let bi,wi=0,_i=1/0,xi=0;const ki=()=>bi?wi:window.performance.interactionCount||0,Si=1*sn.iW;let Ci;const Ti=sn.OY,Ei=5*sn.iW,Ai=5*sn.iW,Ii=sn.iW,Ri=er;let Oi=[];var Mi=n(723),Pi=n(725),ji=n(673);const Ni=er,Di=er,Li=10*sn.OY;let $i,Bi;const Ui=er,Vi=sn.OY,Fi="datadog-ci-visibility-test-execution-id";var qi=n(734);const zi={"view.name":"string","view.url":"string","view.referrer":"string"},Hi={context:"object"},Wi={service:"string",version:"string"};let Gi;var Zi=n(489);const Ki=Vn.XP,Yi=[An.ACTION,An.ERROR,An.LONG_TASK,An.RESOURCE,An.VITAL]},362(t,e,n){function r(){const t=(0,a.V)().DatadogEventBridge;if(t)return{getCapabilities(){var e;return JSON.parse((null===(e=t.getCapabilities)||void 0===e?void 0:e.call(t))||"[]")},getPrivacyLevel(){var e;return null===(e=t.getPrivacyLevel)||void 0===e?void 0:e.call(t)},getAllowedWebViewHosts:()=>JSON.parse(t.getAllowedWebViewHosts()),send(e,n,r){const i=r?{id:r}:void 0;t.send(JSON.stringify({eventType:e,event:n,view:i}))}}}function i(t){const e=r();return!!e&&e.getCapabilities().includes(t)}function o(t){var e;void 0===t&&(t=null===(e=(0,a.V)().location)||void 0===e?void 0:e.hostname);const n=r();return!!n&&n.getAllowedWebViewHosts().some(e=>t===e||t.endsWith("."+e))}n.d(e,{Ww:()=>i,Y9:()=>r,d0:()=>o});var a=n(61)},416(t,e,n){function r(t,e,n){if("object"!=typeof t||null===t)return JSON.stringify(t);const r=i(Object.prototype),o=i(Array.prototype),a=i(Object.getPrototypeOf(t)),s=i(t);try{return JSON.stringify(t,e,n)}catch(t){return"<error: unable to serialize object>"}finally{r(),o(),a(),s()}}function i(t){const e=t,n=e.toJSON;return n?(delete e.toJSON,()=>{e.toJSON=n}):o.l}n.d(e,{M:()=>i,s:()=>r});var o=n(474)}
9,452(t,e,n){function r(t){return s.test(t)?void 0!==window.TextEncoder?(new TextEncoder).encode(t).length:new Blob([t]).size:t.length}function i(t){const e=t.reduce((t,e)=>t+e.length,0),n=new Uint8Array(e);let r=0;for(const e of t)n.set(e,r),r+=e.length;return n}n.d(e,{WW:()=>r,_m:()=>o,iH:()=>a,wh:()=>i});const o=1024,a=1024*o,s=/[^\u0000-\u007F]/},468(t,e,n){function r(t){const e=Error(t);let n;return e.name="HandlingStack",(0,a.um)(()=>{const t=(0,s.T)(e);t.stack=t.stack.slice(2),n=i(t)}),n}function i(t){let e=o(t);return t.stack.forEach(t=>{const n="?"===t.func?"<anonymous>":t.func,r=t.args&&t.args.length>0?`(${t.args.join(", ")})`:"",i=t.line?":"+t.line:"",o=t.line&&t.column?":"+t.column:"";e+=`\n  at ${n}${r} @ ${t.url}${i}${o}`}),e}function o(t){return`${t.name||"Error"}: ${t.message}`}n.d(e,{NR:()=>o,Yn:()=>i,uC:()=>r});var a=n(315),s=n(511)},474(t,e,n){function r(t,e,n){const r=!n||void 0===n.leading||n.leading,i=!n||void 0===n.trailing||n.trailing;let a,s,c=!1;return{throttled(...n){c?a=n:(r?t(...n):a=n,c=!0,s=(0,o.wg)(()=>{i&&a&&t(...a),c=!1,a=void 0},e))},cancel(){(0,o.DJ)(s),c=!1,a=void 0}}}function i(){}n.d(e,{l:()=>i,n:()=>r});var o=n(636)},489(t,e,n){function r(){var t;const e=window.navigator;return{status:e.onLine?"connected":"not_connected",interfaces:e.connection&&e.connection.type?[e.connection.type]:void 0,effective_type:null===(t=e.connection)||void 0===t?void 0:t.effectiveType}}n.d(e,{q:()=>r})},511(t,e,n){function r(t){var e,n;const r=[];let o=i(t,"stack");const c=t+"";if(o&&o.startsWith(c)&&(o=o.slice(c.length)),o&&o.split("\n").forEach(t=>{const e=function(t){const e=l.exec(t);if(!e)return;const n=e[2]&&0===e[2].indexOf("native"),r=e[2]&&0===e[2].indexOf("eval"),i=d.exec(e[2]);return r&&i&&(e[2]=i[1],e[3]=i[2],e[4]=i[3]),{args:n?[e[2]]:[],column:e[4]?+e[4]:void 0,func:e[1]||s,line:e[3]?+e[3]:void 0,url:n?void 0:e[2]}}(t)||function(t){const e=f.exec(t);if(e)return{args:[],column:e[3]?+e[3]:void 0,func:s,line:e[2]?+e[2]:void 0,url:e[1]}}(t)||function(t){const e=p.exec(t);if(e)return{args:[],
10column:e[4]?+e[4]:void 0,func:e[1]||s,line:+e[3],url:e[2]}}(t)||function(t){const e=h.exec(t);if(!e)return;const n=e[3]&&e[3].indexOf(" > eval")>-1,r=m.exec(e[3]);return n&&r&&(e[3]=r[1],e[4]=r[2],e[5]=void 0),{args:e[2]?e[2].split(","):[],column:e[5]?+e[5]:void 0,func:e[1]||s,line:e[4]?+e[4]:void 0,url:e[3]}}(t);e&&(!e.func&&e.line&&(e.func=s),r.push(e))}),r.length>0&&function(){if(void 0!==v)return v;const[t,e]=[class extends Error{constructor(){super(),this.name="Error"}},Error].map(t=>new t);return v=a(Object.getPrototypeOf(t))&&e.stack!==t.stack,v}()&&t instanceof Error){const i=[];let o=t;for(;(o=Object.getPrototypeOf(o))&&a(o);){const t=(null===(e=o.constructor)||void 0===e?void 0:e.name)||s;i.push(t)}for(let t=i.length-1;t>=0&&(null===(n=r[0])||void 0===n?void 0:n.func)===i[t];t--)r.shift()}return{message:i(t,"message"),name:i(t,"name"),stack:r}}function i(t,e){if("object"!=typeof t||!t||!(e in t))return;const n=t[e];return"string"==typeof n?n:void 0}function o(t,e,n,r){if(void 0===e)return;const{name:i,message:o}=function(t){let e,n;return"[object String]"==={}.toString.call(t)&&([,e,n]=g.exec(t)),{name:e,message:n}}(t);return{name:i,message:o,stack:[{url:e,column:r,line:n}]}}function a(t){return(t.constructor+"").startsWith("class ")}n.d(e,{T:()=>r,h:()=>o});const s="?",c="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",u="(?::(\\d+))",l=RegExp(`^\\s*at (.*?) ?\\(${c}${u}?${u}?\\)?\\s*$`,"i"),d=RegExp(`\\((\\S*)${u}${u}\\)`),f=RegExp(`^\\s*at ?${c}${u}?${u}??\\s*$`,"i"),p=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,h=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,m=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,g=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;let v},520(t,e,n){function r(t,e=l){const n=(0,u.M)(Object.prototype),r=(0,u.M)(Array.prototype),o=[],s=new WeakMap,c=i(t,"$",void 0,o,s),d=JSON.stringify(c);let f=d?d.length:0;if(!(f>e)){for(;o.length>0&&f<e;){const n=o.shift();let r=0;if(Array.isArray(n.source))for(let c=0;c<n.source.length;c++){const u=i(n.source[c],n.path,c,o,s);if(f+=void 0!==u?JSON.stringify(u).length:4,f+=r,r=1,f>e){a(e,"truncated",t);break}n.target[c]=u}else for(const c in n.source)if(Object.prototype.hasOwnProperty.call(n.source,c)){const u=i(n.source[c],n.path,c,o,s);if(void 0!==u&&(f+=JSON.stringify(u).length+r+c.length+3,r=1),f>e){a(e,"truncated",t);break}n.target[c]=u}}return n(),r(),c}a(e,"discarded",t)}function i(t,e,n,r,i){const a=function(t){const e=t;if(e&&"function"==typeof e.toJSON)try{return e.toJSON()}catch(t){}return t}(t);if(!a||"object"!=typeof a)return"bigint"==typeof(s=a)?"[BigInt] "+s.toString():"function"==typeof s?"[Function] "+(s.name||"unknown"):"symbol"==typeof s?"[Symbol] "+(s.description||s.toString()):s;var s;const c=o(a);if("[Object]"!==c&&"[Array]"!==c&&"[Error]"!==c)return c;const u=t;if(i.has(u))return`[Reference seen at ${i.get(u)}]`;const l=void 0!==n?`${e}.${n}`:e,d=Array.isArray(a)?[]:{};return i.set(u,l),r.push({source:a,target:d,path:l}),d}function o(t){try{if(t instanceof Event)return{type:(e=t).type,isTrusted:e.isTrusted,currentTarget:e.currentTarget?o(e.currentTarget):null,target:e.target?o(e.target):null};if(t instanceof RegExp)return"[RegExp] "+t.toString();const n=Object.prototype.toString.call(t).match(/\[object (.*)\]/);if(n&&n[1])return`[${n[1]}]`}catch(t){}var e;return"[Unserializable]"}function a(t,e,n){s.Vy.warn(`The data provided has been ${e} as it is over the limit of ${t} characters:`,n)}n.d(e,{a:()=>r});var s=n(875),c=n(452),u=n(416);const l=220*c._m},534(t,e,n){function r(){return D||(D=new v.dX(100)),D}
10function i(t,e,n,i,o,s){const c=new v.cP,{stop:u}=function(t,e,n,r,i){const o=[];if((0,T.d0)()){const t=(0,T.Y9)(),e=i.subscribe(e=>t.send("internal_telemetry",e));o.push(e.unsubscribe)}else{const a=[t.rumEndpointBuilder];t.replica&&function(t){return t.site===g.Bb}(t)&&a.push(t.replica.rumEndpointBuilder);const s=(0,E.X)({encoder:r(4),request:(0,A.sA)(a,t.batchBytesLimit,e),flushController:(0,I.t)({messagesLimit:t.batchMessagesLimit,bytesLimit:t.batchBytesLimit,durationLimit:t.flushTimeout,pageMayExitObservable:n,sessionExpireObservable:new v.cP}),messageBytesLimit:t.messageBytesLimit});o.push(s.stop);const c=i.subscribe(s.add);o.push(c.unsubscribe)}return{stop:()=>o.forEach(t=>t())}}(e,i,o,s,c),{enabled:l}=function(t,e,n,i){const o={},s=!N.includes(e.site)&&(0,_.ic)(e.telemetrySampleRate),c={[O]:s,[M]:s&&(0,_.ic)(e.telemetryConfigurationSampleRate),[P]:s&&(0,_.ic)(e.telemetryUsageSampleRate)},u={is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self},l=r();return l.subscribe(({rawEvent:r,kind:a})=>{if(!c[r.type])return;let s=o[a];if(s||(s=o[a]=new Set),s.size>=e.maxTelemetryEventsPerPage)return;const l=(0,x.s)(r);if(s.has(l))return;const d=n.triggerHook(1,{startTime:(0,y.M8)().relative});if(d===R.ug)return;const f=function(t,e,n,r){const i={type:"telemetry",date:(0,y.M8)().timeStamp,service:e,version:"6.19.0",source:"browser",_dd:{format_version:2},telemetry:(0,k.kg)(n,{runtime_env:r,connectivity:(0,C.q)(),sdk_setup:"cdn"}),experimental_features:Array.from((0,m.q7)())};return(0,k.kg)(i,t)}(d,t,r,u);i.notify(f),(0,w.b)("telemetry",f),s.add(l)}),l.unbuffer(),(0,b.Bd)(a),{enabled:s}}(t,e,n,c);return{stop:u,enabled:l}}function o(t,e){(0,b.oO)(f.bP.debug,t,e),r().notify({rawEvent:{type:O,message:t,status:"debug",...e},kind:"debug"})}function a(t,e){r().notify({rawEvent:{type:O,status:"error",...l(t),...e},kind:"error"})}function s(t){r().notify({rawEvent:{type:M,configuration:t},kind:M})}function c(t,e){r().notify({rawEvent:{type:O,message:t,status:"debug",...e},kind:t})}function u(t){r().notify({rawEvent:{type:P,usage:t},kind:P})}function l(t){if((0,p.bJ)(t)){const e=(0,S.T)(t);return{error:{kind:e.name,stack:(0,h.Yn)(d(e))},message:e.message}}return{error:{stack:p.e6},message:"Uncaught "+(0,x.s)(t)}}function d(t){return t.stack=t.stack.filter(t=>!t.url||j.some(e=>t.url.startsWith(e))),t}n.d(e,{Rr:()=>s,A2:()=>o,VJ:()=>a,Gk:()=>c,Q6:()=>u,a5:()=>i});var f=n(875),p=n(945),h=n(468),m=n(188),g=n(858),v=n(275),y=n(749),b=n(315),w=n(769),_=n(713),x=n(416),k=n(995),S=n(511),C=n(489),T=n(362),E=n(723),A=n(725),I=n(673),R=n(339);const O="log",M="configuration",P="usage",j=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],N=[g.R8];let D},586(t,e,n){function r(t,e){const n=(0,i.V)();let r;return n.Zone&&"function"==typeof n.Zone.__symbol__&&(r=t[n.Zone.__symbol__(e)]),r||(r=t[e]),r}n.d(e,{W:()=>r});var i=n(61)},636(t,e,n){function r(t,e){return(0,s.W)((0,u.V)(),"setTimeout")((0,c.dm)(t),e)}function i(t){(0,s.W)((0,u.V)(),"clearTimeout")(t)}function o(t,e){return(0,s.W)((0,u.V)(),"setInterval")((0,c.dm)(t),e)}function a(t){(0,s.W)((0,u.V)(),"clearInterval")(t)}n.d(e,{DJ:()=>i,vG:()=>a,wg:()=>r,yb:()=>o});var s=n(586),c=n(315),u=n(61)},673(t,e,n){function r({messagesLimit:t,bytesLimit:e,durationLimit:n,pageMayExitObservable:r,sessionExpireObservable:a}){function s(t){if(0===h)return;const e=h,n=p;h=0,p=0,c(),d.notify({reason:t,messagesCount:e,bytesCount:n})}function c(){(0,o.DJ)(f),f=void 0}const u=r.subscribe(t=>s(t.reason)),l=a.subscribe(()=>s("session_expire")),d=new i.cP(()=>()=>{u.unsubscribe(),l.unsubscribe()});let f,p=0,h=0;return{flushObservable:d,get messagesCount(){return h},notifyBeforeAddMessage(t){p+t>=e&&s("bytes_limit"),h+=1,p+=t,void 0===f&&(f=(0,o.wg)(()=>{s("duration_limit")},n))},notifyAfterAddMessage(n=0){p+=n,h>=t?s("messages_limit"):p>=e&&s("bytes_limit")},notifyAfterRemoveMessage(t){p-=t,h-=1,0===h&&c()}}}n.d(e,{t:()=>r});var i=n(275),o=n(636)},713(t,e,n){function r(t){return 0!==t&&100*Math.random()<=t}function i(t,e){return+t.toFixed(e)}function o(t){return a(t)&&t>=0&&t<=100}function a(t){return"number"==typeof t}n.d(e,{Et:()=>a,LI:()=>i,fp:()=>o,ic:()=>r})},723(t,e,n){function r({encoder:t,request:e,flushController:n,messageBytesLimit:r}){function l(e,i){const a=(0,c.s)(e),s=t.estimateEncodedBytesCount(a);s>=r?o.Vy.warn(`Discarded a message whose size was bigger than the maximum allowed size ${r}KB. ${o.xG} ${o.Xs}/#technical-limitations`):(function(t){return void 0!==t&&void 0!==d[t]}(i)&&function(e){const r=d[e];delete d[e];const i=t.estimateEncodedBytesCount(r);n.notifyAfterRemoveMessage(i)}(i),function(e,r,i){n.notifyBeforeAddMessage(r),void 0!==i?(d[i]=e,n.notifyAfterAddMessage()):t.write(t.isEmpty?e:"\n"+e,t=>{n.notifyAfterAddMessage(t-r)})}(a,s,i))}let d={};const f=n.flushObservable.subscribe(n=>function(n){const r=(0,a.KQ)(d).join("\n");d={};const o=(0,s.Kp)(n.reason),c=o?e.sendOnExit:e.send;if(o&&t.isAsync){const e=t.finishSync();e.outputBytesCount&&c(i(e));
10const n=[e.pendingData,r].filter(Boolean).join("\n");n&&c({data:n,bytesCount:(0,u.WW)(n)})}else r&&t.write(t.isEmpty?r:"\n"+r),t.finish(t=>{c(i(t))})}(n));return{flushController:n,add:l,upsert:l,stop:f.unsubscribe}}function i(t){let e;return e="string"==typeof t.output?t.output:new Blob([t.output],{type:"text/plain"}),{data:e,bytesCount:t.outputBytesCount,encoding:t.encoding}}n.d(e,{X:()=>r});var o=n(875),a=n(75),s=n(887),c=n(416),u=n(452)},725(t,e,n){function r(t,e,n,r,s,c){0===e.transportStatus&&0===e.queuedPayloads.size()&&e.bandwidthMonitor.canHandle(t)?o(t,e,n,c,{onSuccess:()=>a(0,e,n,r,s,c),onFailure(){e.queuedPayloads.enqueue(t)||c.notify({type:"queue-full",bandwidth:e.bandwidthMonitor.stats(),payload:t}),i(e,n,r,s,c)}}):e.queuedPayloads.enqueue(t)||c.notify({type:"queue-full",bandwidth:e.bandwidthMonitor.stats(),payload:t})}function i(t,e,n,r,s){2===t.transportStatus&&(0,h.wg)(()=>{o(t.queuedPayloads.first(),t,e,s,{onSuccess(){t.queuedPayloads.dequeue(),t.currentBackoffTime=x,a(1,t,e,n,r,s)},onFailure(){t.currentBackoffTime=Math.min(_,2*t.currentBackoffTime),i(t,e,n,r,s)}})},t.currentBackoffTime)}function o(t,e,n,r,{onSuccess:i,onFailure:o}){e.bandwidthMonitor.add(t),n(t,n=>{e.bandwidthMonitor.remove(t),function(t){return"opaque"!==t.type&&(0===t.status&&!navigator.onLine||408===t.status||429===t.status||(0,v.G)(t.status))}(n)?(e.transportStatus=e.bandwidthMonitor.ongoingRequestCount>0?1:2,t.retry={count:t.retry?t.retry.count+1:1,lastFailureStatus:n.status},r.notify({type:"failure",bandwidth:e.bandwidthMonitor.stats(),payload:t}),o()):(e.transportStatus=0,r.notify({type:"success",bandwidth:e.bandwidthMonitor.stats(),payload:t}),i())})}function a(t,e,n,i,o,a){0===t&&e.queuedPayloads.isFull()&&!e.queueFullReported&&(o({message:`Reached max ${i} events size queued for upload: ${w/g.iH}MiB`,source:y.g.AGENT,startClocks:(0,m.M8)()}),e.queueFullReported=!0);const c=e.queuedPayloads;for(e.queuedPayloads=s();c.size()>0;)r(c.dequeue(),e,n,i,o,a)}function s(){const t=[];return{bytesCount:0,enqueue(e){return!this.isFull()&&(t.push(e),this.bytesCount+=e.bytesCount,!0)},first:()=>t[0],dequeue(){const e=t.shift();return e&&(this.bytesCount-=e.bytesCount),e},size:()=>t.length,isFull(){return this.bytesCount>=w}}}function c(t,e,n){const i=new p.cP,o={transportStatus:0,currentBackoffTime:x,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle(t){return 0===this.ongoingRequestCount||this.ongoingByteCount+t.bytesCount<=b&&this.ongoingRequestCount<32},add(t){this.ongoingRequestCount+=1,this.ongoingByteCount+=t.bytesCount},remove(t){this.ongoingRequestCount-=1,this.ongoingByteCount-=t.bytesCount},stats(){return{ongoingByteCount:this.ongoingByteCount,ongoingRequestCount:this.ongoingRequestCount}}},queuedPayloads:s(),queueFullReported:!1};return{observable:i,send(a){for(const s of t)r(a,o,(t,n)=>l(s,e,t,n),s.trackType,n,i)},sendOnExit(n){for(const r of t)u(r,e,n)}}}function u(t,e,n){if(navigator.sendBeacon&&n.bytesCount<e)try{const e=t.build("beacon",n);if(navigator.sendBeacon(e,n.data))return}catch(t){!function(t){k||(k=!0,(0,f.Dx)(t))}(t)}d(t,n)}function l(t,e,n,r){if(function(){try{return window.Request&&"keepalive"in new Request("http://a")}catch(t){return!1}}()&&n.bytesCount<e){const e=t.build("fetch-keepalive",n);fetch(e,{method:"POST",body:n.data,keepalive:!0,mode:"cors"}).then((0,f.dm)(t=>null==r?void 0:r({status:t.status,type:t.type}))).catch((0,f.dm)(()=>d(t,n,r)))}else d(t,n,r)}function d(t,e,n){const r=t.build("fetch",e);fetch(r,{method:"POST",body:e.data,mode:"cors"}).then((0,f.dm)(t=>null==n?void 0:n({status:t.status,type:t.type}))).catch((0,f.dm)(()=>null==n?void 0:n({status:0})))}n.d(e,{sA:()=>c});var f=n(315),p=n(275),h=n(636),m=n(749),g=n(452),v=n(295),y=n(314);const b=80*g._m,w=20*g.iH,_=m.iW,x=m.OY;let k=!1},734(t,e,n){function r(t){const{env:e,service:n,version:r,datacenter:o,sdkVersion:a,variant:s}=t,c=[i("sdk_version",null!=a?a:"6.19.0")];return e&&c.push(i("env",e)),n&&c.push(i("service",n)),r&&c.push(i("version",r)),o&&c.push(i("datacenter",o)),s&&c.push(i("variant",s)),c}function i(t,e){const n=e?`${t}:${e}`:t;return(n.length>200||function(t){return!!function(){try{return RegExp("[\\p{Ll}]","u"),!0}catch(t){return!1}}()&&RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(t)}(n))&&o.Vy.warn(`Tag ${n} doesn't meet tag requirements and will be sanitized. ${o.xG} ${o.fH}/getting_started/tagging/#defining-tags`),function(t){return t.replace(/,/g,"_")}(n)}n.d(e,{m5:()=>r});var o=n(875)},749(t,e,n){function r(t){return{relative:t,timeStamp:o(t)}}function i(t){return{relative:m(t),timeStamp:t}}function o(t){const e=c()-performance.now();return e>v()?Math.round(h(e,t)):function(t){return Math.round(h(v(),t))}(t)}function a(){return Math.round(c()-h(v(),performance.now()))}function s(t){return(0,y.Et)(t)?(0,y.LI)(1e6*t,0):t}function c(){return(new Date).getTime()}function u(){return c()}function l(){return performance.now()}function d(){return{relative:l(),timeStamp:u()}}function f(){return{relative:0,timeStamp:v()}}function p(t,e){return e-t}function h(t,e){return t+e}function m(t){return t-v()}function g(t){return t<x}function v(){return void 0===k&&(k=performance.timing.navigationStart),k}n.d(e,{$H:()=>x,$S:()=>l,FR:()=>r,Gw:()=>h,M8:()=>d,MA:()=>_,OY:()=>b,Oc:()=>f,TP:()=>a,Zj:()=>s,gs:()=>m,iW:()=>w,jR:()=>i,nx:()=>u,pu:()=>g,vk:()=>p,x3:()=>c});var y=n(713);const b=1e3,w=60*b,_=60*w,x=24*_*365;let k},760(t,e,n){function r(){return 0===o()}function i(){return 1===o()}function o(){return null!=a?a:a=function(t=window){var e;const n=t.navigator.userAgent;return t.chrome||/HeadlessChrome/.test(n)?0:0===(null===(e=t.navigator.vendor)||void 0===e?void 0:e.indexOf("Apple"))||/safari/i.test(n)&&!/chrome|android/i.test(n)?1:2}()}let a;n.d(e,{F2:()=>r,nr:()=>i})},769(t,e,n){function r(t,e){const n=window.__ddBrowserSdkExtensionCallback;n&&n({type:t,payload:e})}n.d(e,{b:()=>r})},801(t,e,n){function r(t,e,n,{computeHandlingStack:r}={}){let i=t[e];if("function"!=typeof i){if(!(e in t)||!e.startsWith("on"))return{stop:s.l};i=s.l}let o=!1;const u=function(){if(o)return i.apply(this,arguments);const t=Array.from(arguments);let e;(0,a.um)(n,null,[{target:this,parameters:t,onPostCall(t){e=t},handlingStack:r?(0,c.uC)("instrumented method"):void 0}]);const s=i.apply(this,t);return e&&(0,a.um)(e,null,[s]),s};return t[e]=u,{stop(){o=!0,t[e]===u&&(t[e]=i)}}}function i(t,e,n){const r=Object.getOwnPropertyDescriptor(t,e);if(!r||!r.set||!r.configurable)return{stop:s.l};const i=s.l;let a=(t,e)=>{(0,o.wg)(()=>{a!==i&&n(t,e)},0)};const c=function(t){r.set.call(this,t),a(this,t)};return Object.defineProperty(t,e,{set:c}),{stop(){var n;(null===(n=Object.getOwnPropertyDescriptor(t,e))||void 0===n?void 0:n.set)===c&&Object.defineProperty(t,e,r),a=i}}}n.d(e,{H:()=>r,t:()=>i});var o=n(636),a=n(315),s=n(474),c=n(468)},846(t,e,n){function r(t,e,n){if(document.readyState===e||"complete"===document.readyState)return n(),{stop:o.l};const r="complete"===e?"load":"DOMContentLoaded";return(0,a.q)(t,window,r,n,{once:!0})}function i(t,e){return new Promise(n=>{r(t,e,n)})}n.d(e,{H:()=>r,N:()=>i});var o=n(474),a=n(197)},858(t,e,n){n.d(e,{$A:()=>c,Bb:()=>r,Ih:()=>u,NW:()=>o,R8:()=>s,TC:()=>i,dV:()=>a});const r="datad0g.com",i="dd0g-gov.com",o="datadoghq.com",a="datadoghq.eu",s="ddog-gov.com",c="pci.browser-intake-datadoghq.com",u=["ddsource","dd-api-key","dd-request-id"]},875(t,e,n){n.d(e,{JZ:()=>i,Vy:()=>s,Xs:()=>u,bP:()=>r,fH:()=>c,xG:()=>l});const r={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},i=console,o={};Object.keys(r).forEach(t=>{o[t]=i[t]});const a="Datadog Browser SDK:",s={debug:o.debug.bind(i,a),log:o.log.bind(i,a),info:o.info.bind(i,a),warn:o.warn.bind(i,a),error:o.error.bind(i,a)},c="https://docs.datadoghq.com",u=c+"/real_user_monitoring/browser/troubleshooting",l="More details:"},877(t,e,n){function r(t){return a(t,location.href).href}function i(t){try{return!!a(t)}catch(t){return!1}}function o(t){const e=a(t).pathname;return"/"===e[0]?e:"/"+e}function a(t,e){const{URL:n}=function(){if(!c){let t,e;try{t=document.createElement("iframe"),t.style.display="none",document.body.appendChild(t),e=t.contentWindow}catch(t){e=window}c={URL:e.URL},null==t||t.remove()}return c}();try{return void 0!==e?new n(t,e):new n(t)}catch(n){throw Error(`Failed to construct URL: ${n+""} ${(0,s.s)({url:t,base:e})}`)}}n.d(e,{AY:()=>i,L2:()=>o,c$:()=>a,l2:()=>r});var s=n(416);let c},887(t,e,n){function r(t){return new o.cP(e=>{const{stop:n}=(0,s.l)(t,window,["visibilitychange","freeze"],t=>{"visibilitychange"===t.type&&"hidden"===document.visibilityState?e.notify({reason:c.HI
10DDEN}):"freeze"===t.type&&e.notify({reason:c.FROZEN})},{capture:!0}),r=(0,s.q)(t,window,"beforeunload",()=>{e.notify({reason:c.UNLOADING})}).stop;return()=>{n(),r()}})}function i(t){return(0,a.KQ)(c).includes(t)}n.d(e,{Kp:()=>i,_T:()=>r,y5:()=>c});var o=n(275),a=n(75),s=n(197);const c={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"}},945(t,e,n){function r({stackTrace:t,originalError:e,handlingStack:n,componentStack:r,startClocks:u,nonErrorPrefix:l,useFallbackStack:h=!0,source:m,handling:g}){const v=s(e);return!t&&v&&(t=(0,d.T)(e)),{startClocks:u,source:m,handling:g,handlingStack:n,componentStack:r,originalError:e,type:t?t.name:void 0,message:i(t,v,l,e),stack:t?(0,f.Yn)(t):h?p:void 0,causes:v?c(e,m):void 0,fingerprint:o(e),context:a(e)}}function i(t,e,n,r){return(null==t?void 0:t.message)&&(null==t?void 0:t.name)?t.message:e?"Empty message":`${n} ${(0,l.s)((0,u.a)(r))}`}function o(t){return s(t)&&"dd_fingerprint"in t?t.dd_fingerprint+"":void 0}function a(t){if(null!==t&&"object"==typeof t&&"dd_context"in t)return t.dd_context}function s(t){return t instanceof Error||"[object Error]"===Object.prototype.toString.call(t)}function c(t,e){let n=t;const r=[];for(;s(null==n?void 0:n.cause)&&r.length<10;){const t=(0,d.T)(n.cause);r.push({message:n.cause.message,source:e,type:null==t?void 0:t.name,stack:t&&(0,f.Yn)(t)}),n=n.cause}return r.length?r:void 0}n.d(e,{As:()=>r,bJ:()=>s,e6:()=>p});var u=n(520),l=n(416),d=n(511),f=n(468);const p="No stack, consider using an instance of Error"},981(t,e,n){function r(t,e){if(window.requestIdleCallback&&window.cancelIdleCallback){const n=window.requestIdleCallback((0,o.dm)(t),e);return()=>window.cancelIdleCallback(n)}return function(t){const e=(0,a.x3)(),n=(0,i.wg)(()=>{t({didTimeout:!1,timeRemaining:()=>Math.max(0,s-((0,a.x3)()-e))})},0);return()=>(0,i.DJ)(n)}(t)}n.d(e,{BB:()=>r});var i=n(636),o=n(315),a=n(749);const s=50},995(t,e,n){function r(t,e,n=function(){if("undefined"!=typeof WeakSet){const t=new WeakSet;return{hasAlreadyBeenSeen(e){const n=t.has(e);return n||t.add(e),n}}}const t=[];return{hasAlreadyBeenSeen(e){const n=t.indexOf(e)>=0;return n||t.push(e),n}}}()){if(void 0===e)return t;if("object"!=typeof e||null===e)return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){const t=e.flags||(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"");return RegExp(e.source,t)}if(n.hasAlreadyBeenSeen(e))return;if(Array.isArray(e)){const i=Array.isArray(t)?t:[];for(let t=0;t<e.length;++t)i[t]=r(i[t],e[t],n);return i}const i="object"===(0,a.P)(t)?t:{};for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=r(i[t],e[t],n));return i}function i(t){return r(void 0,t)}function o(...t){let e;for(const n of t)null!=n&&(e=r(e,n));return e}n.d(e,{Go:()=>i,kg:()=>o});var a=n(166)}},m={};t.m=h,t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((n,r)=>(t.f[r](e,n),n),[])),t.u=t=>"chunks/"+t+"-"+{recorder:"dc67f8871ac03df9afa1",profiler:"ccc77d8dc9fefbb997da"}[t]+"-datadog-rum.js",t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}}(),t.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),f={},p="@datadog/browser-rum:",t.l=(e,n,r)=>{if(f[e])f[e].push(n);else{var i,o;if(void 0!==r)for(var a=document.getElementsByTagName("script"),s=0;s<a.length;s++){var c=a[s];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==p+r){i=c;break}}i||(o=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,t.nc&&i.setAttribute("nonce",t.nc),i.setAttribute("data-webpack",p+r),i.src=e),f[e]=[n];var u=(t,n)=>{i.onerror=i.onload=null,clearTimeout(l);var r=f[e];if(delete f[e],i.parentNode&&i.parentNode.removeChild(i),r&&r.forEach(t=>t(n)),t)return t(n)},l=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),o&&document.head.appendChild(i)}},t.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
10),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var e;t.g.importScripts&&(e=t.g.location+"");var n=t.g.document;if(!e&&n&&(n.currentScript&&"SCRIPT"===n.currentScript.tagName.toUpperCase()&&(e=n.currentScript.src),!e)){var r=n.getElementsByTagName("script");if(r.length)for(var i=r.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=r[i--].src}if(!e)throw Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),t.p=e})(),(()=>{var e={main:0};t.f.j=(n,r)=>{var i=t.o(e,n)?e[n]:void 0;if(0!==i)if(i)r.push(i[2]);else{var o=new Promise((t,r)=>i=e[n]=[t,r]);r.push(i[2]=o);var a=t.p+t.u(n),s=Error();t.l(a,r=>{if(t.o(e,n)&&(0!==(i=e[n])&&(e[n]=void 0),i)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+n+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,i[1](s)}},"chunk-"+n,n)}};var n=(n,r)=>{var i,o,[a,s,c]=r,u=0;if(a.some(t=>0!==e[t])){for(i in s)t.o(s,i)&&(t.m[i]=s[i]);c&&c(t)}for(n&&n(r);u<a.length;u++)o=a[u],t.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self.webpackChunk_datadog_browser_rum=self.webpackChunk_datadog_browser_rum||[];r.forEach(n.bind(null,0)),r.push=n.bind(null,r.push.bind(r))})();var g=t(322),v=t(61),y=t(357),b=t(362),w=t(474),_=t(300),x=t(197),k=t(534),S=t(452),C=t(749),T=t(636),E=t(875);const A=30*C.OY;let I={status:0};var R=t(275),O=t(846),M=t(315),P=t(713),j=t(339);const N=function(t){if((0,b.d0)()&&!(0,b.Ww)("records")||!s())return{start:w.l,stop:w.l,getReplayStats(){},onRumStart:w.l,isRecording:()=>!1,getSessionReplayLink(){}};let{strategy:n,shouldStartImmediately:r}=function(){let t=0;return{strategy:{start(){t=1},stop(){t=2},isRecording:()=>!1,getSessionReplayLink:w.l},shouldStartImmediately:e=>1===t||0===t&&!e.startSessionReplayRecordingManually}}();return{start:t=>n.start(t),stop:()=>n.stop(),getSessionReplayLink:()=>n.getSessionReplayLink(),onRumStart(o,a,u,l,d,f){let p;n=function(t,e,n,r,i,o,a){function u(t){const e=n.findTrackedSession();if(function(t,e){return!t||0===t.sessionReplay&&(!e||!e.force)}(e,t))return void(f=1);if(function(t){return 2===t||3===t}(f))return;f=2;const r=function(t,e){return e&&e.force&&0===t.sessionReplay}(e,t)||!1;h(r).catch(M.Dx),r&&n.setForcedReplay()}function l(){3===f&&(null==d||d()),f=0}let d,f=0;e.subscribe(9,()=>{2!==f&&3!==f||(l(),f=1)}),e.subscribe(10,()=>{1===f&&u()});const p=new R.cP;!function(t,e,n){if(!e.enabled||!(0,P.ic)(t.replayTelemetrySampleRate))return{stop:w.l};let r,i,o;const{unsubscribe:a}=n.subscribe(t=>{switch(t.type){case"start":r={forced:t.forced,timestamp:(0,C.nx)()},i=void 0,o=void 0;break;case"document-ready":r&&(i=(0,C.vk)(r.timestamp,(0,C.nx)()));break;case"recorder-settled":r&&(o=(0,C.vk)(r.timestamp,(0,C.nx)()));break;case"aborted":case"deflate-encoder-load-failed":case"recorder-load-failed":case"succeeded":a(),r&&(0,k.Gk)("Recorder init metrics",{metrics:(e=r.forced,n=o,s=(0,C.vk)(r.timestamp,(0,C.nx)()),c=t.type,u=i,{forced:e,loadRecorderModuleDuration:n,recorderInitDuration:s,result:c,waitForDocReadyDuration:u})})}var e,n,s,c,u})}(t,a,p);const h=async s=>{p.notify({type:"start",forced:s});const[u]=await Promise.all([c(p,{type:"recorder-settled"},i()),c(p,{type:"document-ready"},(0,O.N)(t,"interactive"))]);if(2!==f)return void p.notify({type:"aborted"});if(!u)return f=0,void p.notify({type:"recorder-load-failed"});const l=o();if(!l)return f=0,void p.notify({type:"deflate-encoder-load-failed"});({stop:d}=u(e,t,n,r,l,a)),f=3,p.notify({type:"succeeded"})};return{start:u,stop:l,getSessionReplayLink:()=>function(t,e,n,r){const i=e.findTrackedSession(),o=function(t,e){return s()?t?0===t.sessionReplay?"incorrect-session-plan":e?void 0:"replay-not-started":"rum-not-tracked":"browser-not-supported"}(i,r),a=n.findView();return(0,y.dx)(t,{viewContext:a,errorType:o,session:i})}(t,n,r,0!==f),isRecording:()=>3===f}}(a,o,u,l,t,function(){return p||(null!=d||(d=i(a,"Datadog Session Replay",()=>{n.stop()},void 0)),d&&(p=e(a,d,1))),p},f),r(a)&&n.start()},isRecording:()=>3===o()&&n.isRecording(),getReplayStats:t=>3===o()?(0,_.lv)(t):void 0}}(async function(t=u){try{return await t()}catch(t){n({error:t,source:"Recorder",scriptType:"module"})}}),D=function(){let t;return{onRumStart(e,n,r,i,o){const a=i.findTrackedSession();if(!a)return;if(!(0,y.$5)(a.id,r.profilingSampleRate))return;const s=(t=>{let e={status:"starting"};return t.register(0,({eventType:t})=>t!==y.bb.VIEW&&t!==y.bb.LONG_TASK?j.$O:{type:t,_dd:{profiling:e}}),{get:()=>e,set(t){e=t}}})(n);void 0!==(0,v.V)().Profiler?l().then(n=>{if(!n)return(0,k.A2)("[DD_RUM] Failed to lazy load the RUM Profiler"),void s.set({status:"error",error_reason:"failed-to-lazy-load"});t=n(r,e,i,s),t.start(o.findView())}).catch(M.Dx):s.set({status:"error",error_reason:"not-supported-by-browser"})},stop(){null==t||t.stop().catch(M.Dx)}}}(),L=(0,y.AB)(y.rJ,N,D,{startDeflateWorker:i,createDeflateEncoder:e,sdkName:"rum"});(0,g.Z)((0,v.V)(),"DD_RUM",L)})(),document.addEventListener("DOMContentLoaded",function(){window.addEventListener("CookiebotOnConsentReady",function(){if(!window.DD_RUM)return;if(!window.DATADOG_CONFIG)return;const t=window.DATADOG_CONFIG;window.DD_RUM.init({clientToken:t.clientToken,applicationId:t.applicationId,site:t.site,service:t.service,env:t.env,version:t.version,sessionSampleRate:t.sessionSampleRate,sessionReplaySampleRate:t.sessionReplaySampleRate,trackUserInteractions:!1,defaultPrivacyLevel:"mask-user-input",beforeSend:t=>{"object"==typeof window.datadog_attributes&&(t.context=Object.assign({},t.context,window.datadog_attributes))},trackingConsent:Market.Helpers.CookieConsent.given("statistics")?"granted":"not-granted"})})});

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.