PageSourceSearch

https://img.demoparty.net/build/959.9cf3c452.js

js demoparty.net collected 2026-10-02 04:11:09 UTC 334,777 bytes, 2 lines download raw bytes

vendor: 10,246 bytes, lines 1-2
1/*! For license information please see 959.9cf3c452.js.LICENSE.txt */
2(self.webpackChunk=self.webpackChunk||[]).push([[959],{8736:function(t,e,n){var i=n(4692);t.exports=function(){"use strict";const t=new Map,e={set(e,n,i){t.has(e)||t.set(e,new Map);const r=t.get(e);r.has(n)||0===r.size?r.set(n,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`)},get:(e,n)=>t.has(e)&&t.get(e).get(n)||null,remove(e,n){if(!t.has(e))return;const i=t.get(e);i.delete(n),0===i.size&&t.delete(e)}},n="transitionend",r=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),o=t=>{t.dispatchEvent(new Event(n))},s=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),a=t=>s(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(r(t)):null,c=t=>{if(!s(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const e=t.closest("summary");if(e&&e.parentNode!==n)return!1;if(null===e)return!1}return e},l=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),u=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?u(t.parentNode):null},p=()=>{},d=t=>{t.offsetHeight},h=()=>i&&!document.body.hasAttribute("data-bs-no-jquery")?i:null,f=[],m=()=>"rtl"===document.documentElement.dir,g=t=>{var e;e=()=>{const e=h();if(e){const n=t.NAME,i=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=i,t.jQueryInterface)}},"loading"===document.readyState?(f.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of f)t()})),f.push(e)):e()},v=(t,e=[],n=t)=>"function"==typeof t?t(...e):n,y=(t,e,i=!0)=>{if(!i)return void v(t);const r=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const i=Number.parseFloat(e),r=Number.parseFloat(n);return i||r?(e=e.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(n))):0})(e)+5;let s=!1;const a=({target:i})=>{i===e&&(s=!0,e.removeEventListener(n,a),v(t))};e.addEventListener(n,a),setTimeout((()=>{s||o(e)}),r)},_=(t,e,n,i)=>{const r=t.length;let o=t.indexOf(e);return-1===o?!n&&i?t[r-1]:t[0]:(o+=n?1:-1,i&&(o=(o+r)%r),t[Math.max(0,Math.min(o,r-1))])},b=/[^.]*(?=\..*)\.|.*/,w=/\..*/,x=/::\d+$/,T={};let S=1;const k={mouseenter:"mouseover",mouseleave:"mouseout"},E=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function C(t,e){return e&&`${e}::${S++}`||t.uidEvent||S++}function A(t){const e=C(t);return t.uidEvent=e,T[e]=T[e]||{},T[e]}function O(t,e,n=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===n))}function j(t,e,n){const i="string"==typeof e,r=i?n:e||n;let o=N(t);return E.has(o)||(o=t),[i,r,o]}function D(t,e,n,i,r){if("string"!=typeof e||!t)return;let[o,s,a]=j(e,n,i);if(e in k){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};s=t(s)}const c=A(t),l=c[a]||(c[a]={}),u=O(l,s,o?n:null);if(u)return void(u.oneOff=u.oneOff&&r);const p=C(s,e.replace(b,"")),d=o?function(t,e,n){return function i(r){const o=t.querySelectorAll(e);for(let{target:s}=r;s&&s!==this;s=s.parentNode)for(const a of o)if(a===s)return $(r,{delegateTarget:s}),i.oneOff&&P.off(t,r.type,e,n),n.apply(s,[r])}}(t,n,s):function(t,e){return function n(i){return $(i,{delegateTarget:t}),n.oneOff&&P.off(t,i.type,e),e.apply(t,[i])}}(t,s);d.delegationSelector=o?n:null,d.callable=s,d.oneOff=r,d.uidEvent=p,l[p]=d,t.addEventListener(a,d,o)}function L(t,e,n,i,r){const o=O(e[n],i,r);o&&(t.removeEventListener(n,o,Boolean(r)),delete e[n][o.uidEvent])}function I(t,e,n,i){const r=e[n]||{};for(const[o,s]of Object.entries(r))o.includes(i)&&L(t,e,n,s.callable,s.delegationSelector)}function N(t){return t=t.replace(w,""),k[t]||t}const P={on(t,e,n,i){D(t,e,n,i,!1)},one(t,e,n,i){D(t,e,n,i,!0)},off(t,e,n,i){if("string"!=typeof e||!t)return;const[r,o,s]=j(e,n,i),a=s!==e,c=A(t),l=c[s]||{},u=e.startsWith(".");if(void 0===o){if(u)for(const n of Object.keys(c))I(t,c,n,e.slice(1));for(const[n,i]of Object.entries(l)){const r=n.replace(x,"");a&&!e.includes(r)||L(t,c,s,i.callable,i.delegationSelector)}}else{if(!Object.keys(l).length)return;L(t,c,s,o,r?n:null)}},trigger(t,e,n){if("string"!=typeof e||!t)return null;const i=h();let r=null,o=!0,s=!0,a=!1;e!==N(e)&&i&&(r=i.Event(e,n),i(t).trigger(r),o=!r.isPropagationStopped(),s=!r.isImmediatePropagationStopped(),a=r.isDefaultPrevented());const c=$(new Event(e,{bubbles:o,cancelable:!0}),n);return a&&c.preventDefault(),s&&t.dispatchEvent(c),c.defaultPrevented&&r&&r.preventDefault(),c}};function $(t,e={}){for(const[n,i]of Object.entries(e))try{t[n]=i}catch(e){Object.defineProperty(t,n,{configurable:!0,get:()=>i})}return t}function F(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function q(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const M={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${q(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${q(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const i of n){let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=F(t.dataset[i])}return e},getDataAttribute:(t,e)=>F(t.getAttribute(`data-bs-${q(e)}`))};class R{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const n=s(e)?M.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...s(e)?M.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[i,r]of Object.entries(e)){const e=t[i],o=s(e)?"element":null==(n=e)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${o}" but expected type "${r}".`)}var n}}class H extends R{constructor(t,n){super(),(t=a(t))&&(this._element=t,this._config=this._getConfig(n),e.set(this._element,this.constructor.DATA_KEY,this))}dispose(){e.remove(this._element,this.constructor.DATA_KEY),P.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,n=!0){y(t,e,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return e.get(a(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const B=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&"#"!==n?n.trim():null}return e?e.split(",").map((t=>r(t))).join(","):null},U={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const n=[];let i=t.parentNode.closest(e);for(;i;)n.push(i),i=i.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!l(t)&&c(t)))},getSelectorFromElement(t){const e=B(t);return e&&U.findOne(e)?e:null},getElementFromSelector(t){const e=B(t);return e?U.findOne(e):null},getMultipleElementsFromSelector(t){const e=B(t);return e?U.find(e):[]}},W=(t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,i=t.NAME;P.on(document,n,`[data-bs-dismiss="${i}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),l(this))return;const r=U.getElementFromSelector(this)||this.closest(`.${i}`);t.getOrCreateInstance(r)[e]()}))},z=".bs.alert",G=`close${z}`,J=`closed${z}`;class X extends H{static get NAME(){return"alert"}close(){if(P.trigger(this._element,G).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),P.trigger(this._element,J),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=X.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method n
2amed "${t}"`);e[t](this)}}))}}W(X,"close"),g(X);const V='[data-bs-toggle="button"]';class K extends H{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=K.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}P.on(document,"click.bs.button.data-api",V,(t=>{t.preventDefault();const e=t.target.closest(V);K.getOrCreateInstance(e).toggle()})),g(K);const Q=".bs.swipe",Y=`touchstart${Q}`,Z=`touchmove${Q}`,tt=`touchend${Q}`,et=`pointerdown${Q}`,nt=`pointerup${Q}`,it={endCallback:null,leftCallback:null,rightCallback:null},rt={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ot extends R{constructor(t,e){super(),this._element=t,t&&ot.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return it}static get DefaultType(){return rt}static get NAME(){return"swipe"}dispose(){P.off(this._element,Q)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),v(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&v(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(P.on(this._element,et,(t=>this._start(t))),P.on(this._element,nt,(t=>this._end(t))),this._element.classList.add("pointer-event")):(P.on(this._element,Y,(t=>this._start(t))),P.on(this._element,Z,(t=>this._move(t))),P.on(this._element,tt,(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const st=".bs.carousel",at=".data-api",ct="next",lt="prev",ut="left",pt="right",dt=`slide${st}`,ht=`slid${st}`,ft=`keydown${st}`,mt=`mouseenter${st}`,gt=`mouseleave${st}`,vt=`dragstart${st}`,yt=`load${st}${at}`,_t=`click${st}${at}`,bt="carousel",wt="active",xt=".active",Tt=".carousel-item",St=xt+Tt,kt={ArrowLeft:pt,ArrowRight:ut},Et={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Ct={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class At extends H{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=U.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===bt&&this.cycle()}static get Default(){return Et}static get DefaultType(){return Ct}static get NAME(){return"carousel"}next(){this._slide(ct)}nextWhenVisible(){!document.hidden&&c(this._element)&&this.next()}prev(){this._slide(lt)}pause(){this._isSliding&&o(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?P.one(this._element,ht,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void P.one(this._element,ht,(()=>this.to(t)));const n=this._getItemIndex(this._getActive());if(n===t)return;const i=t>n?ct:lt;this._slide(i,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&P.on(this._element,ft,(t=>this._keydown(t))),"hover"===this._config.pause&&(P.on(this._element,mt,(()=>this.pause())),P.on(this._element,gt,(()=>this._maybeEnableCycle()))),this._config.touch&&ot.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of U.find(".carousel-item img",this._element))P.on(t,vt,(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(ut)),rightCallback:()=>this._slide(this._directionToOrder(pt)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new ot(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=kt[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=U.findOne(xt,this._indicatorsElement);e.classList.remove(wt),e.removeAttribute("aria-current");const n=U.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(wt),n.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const n=this._getActive(),i=t===ct,r=e||_(this._getItems(),n,i,this._config.wrap);if(r===n)return;const o=this._getItemIndex(r),s=e=>P.trigger(this._element,e,{relatedTarget:r,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:o});if(s(dt).defaultPrevented)return;if(!n||!r)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=r;const c=i?"carousel-item-start":"carousel-item-end",l=i?"carousel-item-next":"carousel-item-prev";r.classList.add(l),d(r),n.classList.add(c),r.classList.add(c),this._queueCallback((()=>{r.classList.remove(c,l),r.classList.add(wt),n.classList.remove(wt,l,c),this._isSliding=!1,s(ht)}),n,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return U.findOne(St,this._element)}_getItems(){return U.find(Tt,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return m()?t===ut?lt:ct:t===ut?ct:lt}_orderToDirection(t){return m()?t===lt?ut:pt:t===lt?pt:ut}static jQueryInterface(t){return this.each((function(){const e=At.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method n
2amed "${t}"`);e[t]()}}else e.to(t)}))}}P.on(document,_t,"[data-bs-slide], [data-bs-slide-to]",(function(t){const e=U.getElementFromSelector(this);if(!e||!e.classList.contains(bt))return;t.preventDefault();const n=At.getOrCreateInstance(e),i=this.getAttribute("data-bs-slide-to");return i?(n.to(i),void n._maybeEnableCycle()):"next"===M.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())})),P.on(window,yt,(()=>{const t=U.find('[data-bs-ride="carousel"]');for(const e of t)At.getOrCreateInstance(e)})),g(At);const Ot=".bs.collapse",jt=`show${Ot}`,Dt=`shown${Ot}`,Lt=`hide${Ot}`,It=`hidden${Ot}`,Nt=`click${Ot}.data-api`,Pt="show",$t="collapse",Ft="collapsing",qt=`:scope .${$t} .${$t}`,Mt='[data-bs-toggle="collapse"]',Rt={parent:null,toggle:!0},Ht={parent:"(null|element)",toggle:"boolean"};class Bt extends H{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const n=U.find(Mt);for(const t of n){const e=U.getSelectorFromElement(t),n=U.find(e).filter((t=>t===this._element));null!==e&&n.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Rt}static get DefaultType(){return Ht}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>Bt.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(P.trigger(this._element,jt).defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove($t),this._element.classList.add(Ft),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Ft),this._element.classList.add($t,Pt),this._element.style[e]="",P.trigger(this._element,Dt)}),this._element,!0),this._element.style[e]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(P.trigger(this._element,Lt).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,d(this._element),this._element.classList.add(Ft),this._element.classList.remove($t,Pt);for(const t of this._triggerArray){const e=U.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Ft),this._element.classList.add($t),P.trigger(this._element,It)}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(Pt)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=a(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Mt);for(const e of t){const t=U.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=U.find(qt,this._config.parent);return U.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const n of t)n.classList.toggle("collapsed",!e),n.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const n=Bt.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t]()}}))}}P.on(document,Nt,Mt,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of U.getMultipleElementsFromSelector(this))Bt.getOrCreateInstance(t,{toggle:!1}).toggle()})),g(Bt);var Ut="top",Wt="bottom",zt="right",Gt="left",Jt="auto",Xt=[Ut,Wt,zt,Gt],Vt="start",Kt="end",Qt="clippingParents",Yt="viewport",Zt="popper",te="reference",ee=Xt.reduce((function(t,e){return t.concat([e+"-"+Vt,e+"-"+Kt])}),[]),ne=[].concat(Xt,[Jt]).reduce((function(t,e){return t.concat([e,e+"-"+Vt,e+"-"+Kt])}),[]),ie="beforeRead",re="read",oe="afterRead",se="beforeMain",ae="main",ce="afterMain",le="beforeWrite",ue="write",pe="afterWrite",de=[ie,re,oe,se,ae,ce,le,ue,pe];
vendor: 5,327 bytes, line 2
2function he(t){return t?(t.nodeName||"").toLowerCase():null}function fe(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function me(t){return t instanceof fe(t).Element||t instanceof Element}function ge(t){return t instanceof fe(t).HTMLElement||t instanceof HTMLElement}function ve(t){return"undefined"!=typeof ShadowRoot&&(t instanceof fe(t).ShadowRoot||t instanceof ShadowRoot)}const ye={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];ge(r)&&he(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],r=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});ge(i)&&he(i)&&(Object.assign(i.style,o),Object.keys(r).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]};function _e(t){return t.split("-")[0]}var be=Math.max,we=Math.min,xe=Math.round;function Te(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function Se(){return!/^((?!chrome|android).)*safari/i.test(Te())}function ke(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var i=t.getBoundingClientRect(),r=1,o=1;e&&ge(t)&&(r=t.offsetWidth>0&&xe(i.width)/t.offsetWidth||1,o=t.offsetHeight>0&&xe(i.height)/t.offsetHeight||1);var s=(me(t)?fe(t):window).visualViewport,a=!Se()&&n,c=(i.left+(a&&s?s.offsetLeft:0))/r,l=(i.top+(a&&s?s.offsetTop:0))/o,u=i.width/r,p=i.height/o;return{width:u,height:p,top:l,right:c+u,bottom:l+p,left:c,x:c,y:l}}function Ee(t){var e=ke(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function Ce(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&ve(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Ae(t){return fe(t).getComputedStyle(t)}function Oe(t){return["table","td","th"].indexOf(he(t))>=0}function je(t){return((me(t)?t.ownerDocument:t.document)||window.document).documentElement}function De(t){return"html"===he(t)?t:t.assignedSlot||t.parentNode||(ve(t)?t.host:null)||je(t)}function Le(t){return ge(t)&&"fixed"!==Ae(t).position?t.offsetParent:null}function Ie(t){for(var e=fe(t),n=Le(t);n&&Oe(n)&&"static"===Ae(n).position;)n=Le(n);return n&&("html"===he(n)||"body"===he(n)&&"static"===Ae(n).position)?e:n||function(t){var e=/firefox/i.test(Te());if(/Trident/i.test(Te())&&ge(t)&&"fixed"===Ae(t).position)return null;var n=De(t);for(ve(n)&&(n=n.host);ge(n)&&["html","body"].indexOf(he(n))<0;){var i=Ae(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}function Ne(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Pe(t,e,n){return be(t,we(e,n))}function $e(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Fe(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}const qe={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,r=t.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=_e(n.placement),c=Ne(a),l=[Gt,zt].indexOf(a)>=0?"height":"width";if(o&&s){var u=function(t,e){return $e("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Fe(t,Xt))}(r.padding,n),p=Ee(o),d="y"===c?Ut:Gt,h="y"===c?Wt:zt,f=n.rects.reference[l]+n.rects.reference[c]-s[c]-n.rects.popper[l],m=s[c]-n.rects.reference[c],g=Ie(o),v=g?"y"===c?g.clientHeight||0:g.clientWidth||0:0,y=f/2-m/2,_=u[d],b=v-p[l]-u[h],w=v/2-p[l]/2+y,x=Pe(_,w,b),T=c;n.modifiersData[i]=((e={})[T]=x,e.centerOffset=x-w,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&Ce(e.elements.popper,i)&&(e.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Me(t){return t.split("-")[1]}var Re={top:"auto",right:"auto",bottom:"auto",left:"auto"};function He(t){var e,n=t.popper,i=t.popperRect,r=t.placement,o=t.variation,s=t.offsets,a=t.position,c=t.gpuAcceleration,l=t.adaptive,u=t.roundOffsets,p=t.isFixed,d=s.x,h=void 0===d?0:d,f=s.y,m=void 0===f?0:f,g="function"==typeof u?u({x:h,y:m}):{x:h,y:m};h=g.x,m=g.y;var v=s.hasOwnProperty("x"),y=s.hasOwnProperty("y"),_=Gt,b=Ut,w=window;if(l){var x=Ie(n),T="clientHeight",S="clientWidth";x===fe(n)&&"static"!==Ae(x=je(n)).position&&"absolute"===a&&(T="scrollHeight",S="scrollWidth"),(r===Ut||(r===Gt||r===zt)&&o===Kt)&&(b=Wt,m-=(p&&x===w&&w.visualVie
vendor: 3,201 bytes, line 2
2wport?w.visualViewport.height:x[T])-i.height,m*=c?1:-1),r!==Gt&&(r!==Ut&&r!==Wt||o!==Kt)||(_=zt,h-=(p&&x===w&&w.visualViewport?w.visualViewport.width:x[S])-i.width,h*=c?1:-1)}var k,E=Object.assign({position:a},l&&Re),C=!0===u?function(t,e){var n=t.x,i=t.y,r=e.devicePixelRatio||1;return{x:xe(n*r)/r||0,y:xe(i*r)/r||0}}({x:h,y:m},fe(n)):{x:h,y:m};return h=C.x,m=C.y,c?Object.assign({},E,((k={})[b]=y?"0":"",k[_]=v?"0":"",k.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",k)):Object.assign({},E,((e={})[b]=y?m+"px":"",e[_]=v?h+"px":"",e.transform="",e))}const Be={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,c=void 0===a||a,l={placement:_e(e.placement),variation:Me(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,He(Object.assign({},l,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,He(Object.assign({},l,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var Ue={passive:!0};const We={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,o=void 0===r||r,s=i.resize,a=void 0===s||s,c=fe(e.elements.popper),l=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&l.forEach((function(t){t.addEventListener("scroll",n.update,Ue)})),a&&c.addEventListener("resize",n.update,Ue),function(){o&&l.forEach((function(t){t.removeEventListener("scroll",n.update,Ue)})),a&&c.removeEventListener("resize",n.update,Ue)}},data:{}};var ze={left:"right",right:"left",bottom:"top",top:"bottom"};function Ge(t){return t.replace(/left|right|bottom|top/g,(function(t){return ze[t]}))}var Je={start:"end",end:"start"};function Xe(t){return t.replace(/start|end/g,(function(t){return Je[t]}))}function Ve(t){var e=fe(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ke(t){return ke(je(t)).left+Ve(t).scrollLeft}function Qe(t){var e=Ae(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function Ye(t){return["html","body","#document"].indexOf(he(t))>=0?t.ownerDocument.body:ge(t)&&Qe(t)?t:Ye(De(t))}function Ze(t,e){var n;void 0===e&&(e=[]);var i=Ye(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),o=fe(i),s=r?[o].concat(o.visualViewport||[],Qe(i)?i:[]):i,a=e.concat(s);return r?a:a.concat(Ze(De(s)))}function tn(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function en(t,e,n){return e===Yt?tn(function(t,e){var n=fe(t),i=je(t),r=n.visualViewport,o=i.clientWidth,s=i.clientHeight,a=0,c=0;if(r){o=r.width,s=r.height;var l=Se();(l||!l&&"fixed"===e)&&(a=r.offsetLeft,c=r.offsetTop)}return{width:o,height:s,x:a+Ke(t),y:c}
vendor: 12,134 bytes, line 2
2}(t,n)):me(e)?function(t,e){var n=ke(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):tn(function(t){var e,n=je(t),i=Ve(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=be(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=be(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+Ke(t),c=-i.scrollTop;return"rtl"===Ae(r||n).direction&&(a+=be(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:c}}(je(t)))}function nn(t){var e,n=t.reference,i=t.element,r=t.placement,o=r?_e(r):null,s=r?Me(r):null,a=n.x+n.width/2-i.width/2,c=n.y+n.height/2-i.height/2;switch(o){case Ut:e={x:a,y:n.y-i.height};break;case Wt:e={x:a,y:n.y+n.height};break;case zt:e={x:n.x+n.width,y:c};break;case Gt:e={x:n.x-i.width,y:c};break;default:e={x:n.x,y:n.y}}var l=o?Ne(o):null;if(null!=l){var u="y"===l?"height":"width";switch(s){case Vt:e[l]=e[l]-(n[u]/2-i[u]/2);break;case Kt:e[l]=e[l]+(n[u]/2-i[u]/2)}}return e}function rn(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=void 0===i?t.placement:i,o=n.strategy,s=void 0===o?t.strategy:o,a=n.boundary,c=void 0===a?Qt:a,l=n.rootBoundary,u=void 0===l?Yt:l,p=n.elementContext,d=void 0===p?Zt:p,h=n.altBoundary,f=void 0!==h&&h,m=n.padding,g=void 0===m?0:m,v=$e("number"!=typeof g?g:Fe(g,Xt)),y=d===Zt?te:Zt,_=t.rects.popper,b=t.elements[f?y:d],w=function(t,e,n,i){var r="clippingParents"===e?function(t){var e=Ze(De(t)),n=["absolute","fixed"].indexOf(Ae(t).position)>=0&&ge(t)?Ie(t):t;return me(n)?e.filter((function(t){return me(t)&&Ce(t,n)&&"body"!==he(t)})):[]}(t):[].concat(e),o=[].concat(r,[n]),s=o[0],a=o.reduce((function(e,n){var r=en(t,n,i);return e.top=be(r.top,e.top),e.right=we(r.right,e.right),e.bottom=we(r.bottom,e.bottom),e.left=be(r.left,e.left),e}),en(t,s,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(me(b)?b:b.contextElement||je(t.elements.popper),c,u,s),x=ke(t.elements.reference),T=nn({reference:x,element:_,strategy:"absolute",placement:r}),S=tn(Object.assign({},_,T)),k=d===Zt?S:x,E={top:w.top-k.top+v.top,bottom:k.bottom-w.bottom+v.bottom,left:w.left-k.left+v.left,right:k.right-w.right+v.right},C=t.modifiersData.offset;if(d===Zt&&C){var A=C[r];Object.keys(E).forEach((function(t){var e=[zt,Wt].indexOf(t)>=0?1:-1,n=[Ut,Wt].indexOf(t)>=0?"y":"x";E[t]+=A[n]*e}))}return E}function on(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?ne:c,u=Me(i),p=u?a?ee:ee.filter((function(t){return Me(t)===u})):Xt,d=p.filter((function(t){return l.indexOf(t)>=0}));0===d.length&&(d=p);var h=d.reduce((function(e,n){return e[n]=rn(t,{placement:n,boundary:r,rootBoundary:o,padding:s})[_e(n)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}const sn={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0===s||s,c=n.fallbackPlacements,l=n.padding,u=n.boundary,p=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,f=void 0===h||h,m=n.allowedAutoPlacements,g=e.options.placement,v=_e(g),y=c||(v!==g&&f?function(t){if(_e(t)===Jt)return[];var e=Ge(t);return[Xe(t),e,Xe(e)]}(g):[Ge(g)]),_=[g].concat(y).reduce((function(t,n){return t.concat(_e(n)===Jt?on(e,{placement:n,boundary:u,rootBoundary:p,padding:l,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),b=e.rects.reference,w=e.rects.popper,x=new Map,T=!0,S=_[0],k=0;k<_.length;k++){var E=_[k],C=_e(E),A=Me(E)===Vt,O=[Ut,Wt].indexOf(C)>=0,j=O?"width":"height",D=rn(e,{placement:E,boundary:u,rootBoundary:p,altBoundary:d,padding:l}),L=O?A?zt:Gt:A?Wt:Ut;b[j]>w[j]&&(L=Ge(L));var I=Ge(L),N=[];if(o&&N.push(D[C]<=0),a&&N.push(D[L]<=0,D[I]<=0),N.every((function(t){return t}))){S=E,T=!1;break}x.set(E,N)}if(T)for(var P=function(t){var e=_.find((function(e){var n=x.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return S=e,"break"},$=f?3:1;$>0&&"break"!==P($);$--);e.placement!==S&&(e.modifiersData[i]._skip=!0,e.placement=S,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function an(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function cn(t){return[Ut,zt,Wt,Gt].some((function(e){return t[e]>=0}))}const ln={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,r=e.rects.popper,o=e.modifiersData.preventOverflow,s=rn(e,{elementContext:"reference"}),a=rn(e,{altBoundary:!0}),c=an(s,i),l=an(a,r,o),u=cn(c),p=cn(l);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:p},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":p})}},un={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.offset,o=void 0===r?[0,0]:r,s=ne.reduce((function(t,n){return t[n]=function(t,e,n){var i=_e(t),r=[Gt,Ut].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*r,[Gt,zt].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(n,e.rects,o),t}),{}),a=s[e.placement],c=a.x,l=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=l),e.modifiersData[i]=s}},pn={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=nn({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},dn={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0!==s&&s,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,p=n.padding,d=n.tether,h=void 0===d||d,f=n.tetherOffset,m=void 0===f?0:f,g=rn(e,{boundary:c,rootBoundary:l,padding:p,altBoundary:u}),v=_e(e.placement),y=Me(e.placement),_=!y,b=Ne(v),w="x"===b?"y":"x",x=e.modifiersData.popperOffsets,T=e.rects.reference,S=e.rects.popper,k="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,E="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),C=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,A={x:0,y:0};if(x){if(o){var O,j="y"===b?Ut:Gt,D="y"===b?Wt:zt,L="y"===b?"height":"width",I=x[b],N=I+g[j],P=I-g[D],$=h?-S[L]/2:0,F=y===Vt?T[L]:S[L],q=y===Vt?-S[L]:-T[L],M=e.elements.arrow,R=h&&M?Ee(M):{width:0,height:0},H=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=H[j],U=H[D],W=Pe(0,T[L],R[L]),z=_?T[L]/2-$-W-B-E.mainAxis:F-W-B-E.mainAxis,G=_?-T[L]/2+$+W+U+E.mainAxis:q+W+U+E.mainAxis,J=e.elements.arrow&&Ie(e.elements.arrow),X=J?"y"===b?J.clientTop||0:J.clientLeft||0:0,V=null!=(O=null==C?void 0:C[b])?O:0,K=I+G-V,Q=Pe(h?we(N,I+z-V-X):N,I,h?be(P,K):P);x[b]=Q,A[b]=Q-I}if(a){var Y,Z="x"===b?Ut:Gt,tt="x"===b?Wt:zt,et=x[w],nt="y"===w?"height":"width",it=et+g[Z],rt=et-g[tt],ot=-1!==[Ut,Gt].indexOf(v),st=null!=(Y=null==C?void 0:C[w])?Y:0,at=ot?it:et-T[nt]-S[nt]-st+E.altAxis,ct=ot?et+T[nt]+S[nt]-st-E.altAxis:rt,lt=h&&ot?function(t,e,n){var i=Pe(t,e,n);return i>n?n:i}(at,et,ct):Pe(h?at:it,et,h?ct:rt);x[w]=lt,A[w]=lt-et}e.modifiersData[i]=A}},requiresIfExists:["offset"]};function hn(t,e,n){void 0===n&&(n=!1);var i,r,o=ge(e),s=ge(e)&&function(t){var e=t.getBoundingClientRect(),n=xe(e.width)/t.offsetWidth||1,i=xe(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),a=je(e),c=ke(t,s,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==he(e)||Qe(a))&&(l=(i=e)!==fe(i)&&ge(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:Ve(i)),ge(e)?((u=ke(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):a&&(u.x=Ke(a))),{x:c.left+l.scrollLeft-u.x,y:c.top+l.scrollTop-u.y,width:c.width,height:c.height}}function fn(t){var e=new Map,n=new Set,i=[];function r(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&r(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||r(t)})),i}var mn={placement:"bottom",modifiers:[],strategy:"absolute"};function gn(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function vn(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,r=e.defaultOptions,o=void 0===r?mn:r;return function(t,e,n){void 0===n&&(n=o);var r,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},mn,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],l=!1,u={state:a,setOptions:function(n){var r="function"==typeof n?n(a.options):n;p(),a.options=Object.assign({},o,a.options,r),a.scrollParents={reference:me(t)?Ze(t):t.contextElement?Ze(t.contextElement):[],popper:Ze(e)};var s,l,d=function(t){var e=fn(t);return de.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((s=[].concat(i,a.options.modifiers),l=s.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{}),Object.keys(l).map((function(t){return l[t]}))));return a.orderedModifiers=d.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,r=t.effect;if("function"==typeof r){var o=r({state:a,name:e,instance:u,options:i});c.push(o||function(){})}})),u.update()},forceUpdate:function(){if(!l){var t=a.elements,e=t.reference,n=t.popper;if(gn(e,n)){a.rects={reference:hn(e,Ie(n),"fixed"===a.options.strategy),popper:Ee(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var r=a.orderedModifiers[i],o=r.fn,s=r.options,c=void 0===s?{}:s,p=r.name;"function"==typeof o&&(a=o({state:a,options:c,name:p,instance:u})||a)}else a.reset=!1,i=-1}}},update:(r=function(){return new Promise((function(t){u.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(r())}))}))),s}),destroy:function(){p(),l=!0}};if(!gn(t,e))return u;function p(){c.forEach((function(t){return t()})),c=[]}return u.setOptions(n).then((function(t){!l&&n.onFirstUpdate&&n.onFirstUpdate(t)})),u}}var yn=vn(),_n=vn({defaultModifiers:[We,pn,Be,ye]}),bn=vn({defaultModifiers:[We,pn,Be,ye,un,sn,dn,qe,ln]});const wn=Object.freeze(Object.defineProperty({__proto__:null,afterMain:ce,afterRead:oe,afterWrite:pe,applyStyles:ye,arrow:qe,auto:Jt,basePlacements:Xt,beforeMain:se,beforeRead:ie,beforeWrite:le,bottom:Wt,clippingParents:Qt,computeStyles:Be,createPopper:bn,createPopperBase:yn,createPopperLite:_n,detectOverflow:rn,end:Kt,eventListeners:We,flip:sn,hide:ln,left:Gt,main:ae,modifierPhases:de,offset:un,placements:ne,popper:Zt,popperGenerator:vn,popperOffsets:pn,preventOverflow:dn,read:re,reference:te,right:zt,start:Vt,top:Ut,variationPlacements:ee,viewport:Yt,write:ue},Symbol.toStringTag,{value:"Module"})),xn="dropdown",Tn=".bs.dropdown",Sn=".data-api",kn="ArrowUp",En="ArrowDown",Cn=`hide${Tn}`,An=`hidden${Tn}`,On=`show${Tn}`,jn=`shown${Tn}`,Dn=`click${Tn}${Sn}`,Ln=`keydown${Tn}${Sn}`,In=`keyup${Tn}${Sn}`,Nn="show",Pn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',$n=`${Pn}.${Nn}`,Fn=".dropdown-menu",qn=m()?"top-end":"top-start",Mn=m()?"top-start":"top-end",Rn=m()?"bottom-end":"bottom-start",Hn=m()?"bottom-start":"bottom-end",Bn=m()?"left-start":"right-start",Un=m()?"right-start":"left-start",Wn={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},zn={autoClose:"(boolean|string)",boundary:"(string|element)",display:"str
2ing",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Gn extends H{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=U.next(this._element,Fn)[0]||U.prev(this._element,Fn)[0]||U.findOne(Fn,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Wn}static get DefaultType(){return zn}static get NAME(){return xn}toggle(){return this._isShown()?this.hide():this.show()}show(){if(l(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!P.trigger(this._element,On,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))P.on(t,"mouseover",p);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Nn),this._element.classList.add(Nn),P.trigger(this._element,jn,t)}}hide(){if(l(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!P.trigger(this._element,Cn,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.off(t,"mouseover",p);this._popper&&this._popper.destroy(),this._menu.classList.remove(Nn),this._element.classList.remove(Nn),this._element.setAttribute("aria-expanded","false"),M.removeDataAttribute(this._menu,"popper"),P.trigger(this._element,An,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!s(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${xn.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===wn)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:s(this._config.reference)?t=a(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=bn(t,this._menu,e)}_isShown(){return this._menu.classList.contains(Nn)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return Bn;if(t.classList.contains("dropstart"))return Un;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?Mn:qn:e?Hn:Rn}
vendor: 10,248 bytes, line 2
2_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(M.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...v(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const n=U.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>c(t)));n.length&&_(n,e,t===En,!n.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=Gn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=U.find($n);for(const n of e){const e=Gn.getInstance(n);if(!e||!1===e._config.autoClose)continue;const i=t.composedPath(),r=i.includes(e._menu);if(i.includes(e._element)||"inside"===e._config.autoClose&&!r||"outside"===e._config.autoClose&&r)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const o={relatedTarget:e._element};"click"===t.type&&(o.clickEvent=t),e._completeHide(o)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),n="Escape"===t.key,i=[kn,En].includes(t.key);if(!i&&!n)return;if(e&&!n)return;t.preventDefault();const r=this.matches(Pn)?this:U.prev(this,Pn)[0]||U.next(this,Pn)[0]||U.findOne(Pn,t.delegateTarget.parentNode),o=Gn.getOrCreateInstance(r);if(i)return t.stopPropagation(),o.show(),void o._selectMenuItem(t);o._isShown()&&(t.stopPropagation(),o.hide(),r.focus())}}P.on(document,Ln,Pn,Gn.dataApiKeydownHandler),P.on(document,Ln,Fn,Gn.dataApiKeydownHandler),P.on(document,Dn,Gn.clearMenus),P.on(document,In,Gn.clearMenus),P.on(document,Dn,Pn,(function(t){t.preventDefault(),Gn.getOrCreateInstance(this).toggle()})),g(Gn);const Jn="backdrop",Xn="show",Vn=`mousedown.bs.${Jn}`,Kn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Qn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Yn extends R{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Kn}static get DefaultType(){return Qn}static get NAME(){return Jn}show(t){if(!this._config.isVisible)return void v(t);this._append();const e=this._getElement();this._config.isAnimated&&d(e),e.classList.add(Xn),this._emulateAnimation((()=>{v(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(Xn),this._emulateAnimation((()=>{this.dispose(),v(t)}))):v(t)}dispose(){this._isAppended&&(P.off(this._element,Vn),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=a(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),P.on(t,Vn,(()=>{v(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){y(t,this._getElement(),this._config.isAnimated)}}const Zn=".bs.focustrap",ti=`focusin${Zn}`,ei=`keydown.tab${Zn}`,ni="backward",ii={autofocus:!0,trapElement:null},ri={autofocus:"boolean",trapElement:"element"};class oi extends R{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ii}static get DefaultType(){return ri}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),P.off(document,Zn),P.on(document,ti,(t=>this._handleFocusin(t))),P.on(document,ei,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,P.off(document,Zn))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const n=U.focusableChildren(e);0===n.length?e.focus():this._lastTabNavDirection===ni?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?ni:"forward")}}const si=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ai=".sticky-top",ci="padding-right",li="margin-right";class ui{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ci,(e=>e+t)),this._setElementAttributes(si,ci,(e=>e+t)),this._setElementAttributes(ai,li,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ci),this._resetElementAttributes(si,ci),this._resetElementAttributes(ai,li)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,n){const i=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+i)return;this._saveInitialAttribute(t,e);const r=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${n(Number.parseFloat(r))}px`)}))}_saveInitialAttribute(t,e){const n=t.style.getPropertyValue(e);n&&M.setDataAttribute(t,e,n)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const n=M.getDataAttribute(t,e);null!==n?(M.removeDataAttribute(t,e),t.style.setProperty(e,n)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(s(t))e(t);else for(const n of U.find(t,this._element))e(n)}}const pi=".bs.modal",di=`hide${pi}`,hi=`hidePrevented${pi}`,fi=`hidden${pi}`,mi=`show${pi}`,gi=`shown${pi}`,vi=`resize${pi}`,yi=`click.dismiss${pi}`,_i=`mousedown.dismiss${pi}`,bi=`keydown.dismiss${pi}`,wi=`click${pi}.data-api`,xi="modal-open",Ti="show",Si="modal-static",ki={backdrop:!0,focus:!0,keyboard:!0},Ei={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ci extends H{constructor(t,e){super(t,e),this._dialog=U.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ui,this._addEventListeners()}static get Default(){return ki}static get DefaultType(){return Ei}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||P.trigger(this._element,mi,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(xi),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){this._isShown&&!this._isTransitioning&&(P.trigger(this._element,di).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Ti),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){P.off(window,pi),P.off(this._dialog,pi),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Yn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new oi({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=U.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),d(this._element),this._element.classList.add(Ti),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,P.trigger(this._element,gi,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){P.on(this._element,bi,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),P.on(window,vi,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),P.on(this._element,_i,(t=>{P.one(this._element,yi,(e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(xi),this._resetAdjustments(),this._scrollBar.reset(),P.trigger(this._element,fi)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(P.trigger(this._element,hi).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(Si)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Si),this._queueCallback((()=>{this._element.classList.remove(Si),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),n=e>0;if(n&&!t){const t=m()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!n&&t){const t=m()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const n=Ci.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===n[t])throw new TypeError(`No method n
2amed "${t}"`);n[t](e)}}))}}P.on(document,wi,'[data-bs-toggle="modal"]',(function(t){const e=U.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),P.one(e,mi,(t=>{t.defaultPrevented||P.one(e,fi,(()=>{c(this)&&this.focus()}))}));const n=U.findOne(".modal.show");n&&Ci.getInstance(n).hide(),Ci.getOrCreateInstance(e).toggle(this)})),W(Ci),g(Ci);const Ai=".bs.offcanvas",Oi=".data-api",ji=`load${Ai}${Oi}`,Di="show",Li="showing",Ii="hiding",Ni=".offcanvas.show",Pi=`show${Ai}`,$i=`shown${Ai}`,Fi=`hide${Ai}`,qi=`hidePrevented${Ai}`,Mi=`hidden${Ai}`,Ri=`resize${Ai}`,Hi=`click${Ai}${Oi}`,Bi=`keydown.dismiss${Ai}`,Ui={backdrop:!0,keyboard:!0,scroll:!1},Wi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class zi extends H{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Ui}static get DefaultType(){return Wi}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||P.trigger(this._element,Pi,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new ui).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Li),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Di),this._element.classList.remove(Li),P.trigger(this._element,$i,{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(P.trigger(this._element,Fi).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ii),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(Di,Ii),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new ui).reset(),P.trigger(this._element,Mi)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new Yn({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():P.trigger(this._element,qi)}:null})}_initializeFocusTrap(){return new oi({trapElement:this._element})}_addEventListeners(){P.on(this._element,Bi,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():P.trigger(this._element,qi))}))}static jQueryInterface(t){return this.each((function(){const e=zi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}P.on(document,Hi,'[data-bs-toggle="offcanvas"]',(function(t){const e=U.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this))return;P.one(e,Mi,(()=>{c(this)&&this.focus()}));const n=U.findOne(Ni);n&&n!==e&&zi.getInstance(n).hide(),zi.getOrCreateInstance(e).toggle(this)})),P.on(window,ji,(()=>{for(const t of U.find(Ni))zi.getOrCreateInstance(t).show()})),P.on(window,Ri,(()=>{for(const t of U.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&zi.getOrCreateInstance(t).hide()})),W(zi),g(zi);const Gi={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Ji=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Xi=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Vi=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?!Ji.has(n)||Boolean(Xi.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(n)))},Ki={allowList:Gi,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Qi={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Yi={entry:"(string|element|function|null)",selector:"(string|element)"};class Zi extends R{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Ki}static get DefaultType(){return Qi}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>
vendor: 10,003 bytes, line 2
2this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,n]of Object.entries(this._config.content))this._setContent(t,n,e);const e=t.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&e.classList.add(...n.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,n]of Object.entries(t))super._typeCheckConfig({selector:e,entry:n},Yi)}_setContent(t,e,n){const i=U.findOne(n,t);i&&((e=this._resolvePossibleFunction(e))?s(e)?this._putElementInTemplate(a(e),i):this._config.html?i.innerHTML=this._maybeSanitize(e):i.textContent=e:i.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,n){if(!t.length)return t;if(n&&"function"==typeof n)return n(t);const i=(new window.DOMParser).parseFromString(t,"text/html"),r=[].concat(...i.body.querySelectorAll("*"));for(const t of r){const n=t.nodeName.toLowerCase();if(!Object.keys(e).includes(n)){t.remove();continue}const i=[].concat(...t.attributes),r=[].concat(e["*"]||[],e[n]||[]);for(const e of i)Vi(e,r)||t.removeAttribute(e.nodeName)}return i.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return v(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const tr=new Set(["sanitize","allowList","sanitizeFn"]),er="fade",nr="show",ir=".modal",rr="hide.bs.modal",or="hover",sr="focus",ar={AUTO:"auto",TOP:"top",RIGHT:m()?"left":"right",BOTTOM:"bottom",LEFT:m()?"right":"left"},cr={allowList:Gi,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},lr={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class ur extends H{constructor(t,e){if(void 0===wn)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return cr}static get DefaultType(){return lr}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),P.off(this._element.closest(ir),rr,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=P.trigger(this._element,this.constructor.eventName("show")),e=(u(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(n),P.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(nr),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.on(t,"mouseover",p);this._queueCallback((()=>{P.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!P.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(nr),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))P.off(t,"mouseover",p);this._activeTrigger.click=!1,this._activeTrigger[sr]=!1,this._activeTrigger[or]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),P.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(er,nr),e.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",n),this._isAnimated()&&e.classList.add(er),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Zi({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(er)}_isShown(){return this.tip&&this.tip.classList.contains(nr)}_createPopper(t){const e=v(this._config.placement,[this,t,this._element]),n=ar[e.toUpperCase()];return bn(this._element,t,this._getPopperConfig(n))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return v(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...v(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)P.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===or?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=e===or?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");P.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?sr:or]=!0,e._enter()})),P.on(this._element,n,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?sr:or]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},P.on(this._element.closest(ir),rr,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=M.getDataAttributes(this._element);for(const t of Object.keys(e))tr.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:a(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,n]of Object.entries(this._config))this.constructor.Default[e]!==n&&(t[e]=n);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each((function(){const e=ur.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
2amed "${t}"`);e[t]()}}))}}g(ur);const pr={...ur.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},dr={...ur.DefaultType,content:"(null|string|element|function)"};class hr extends ur{static get Default(){return pr}static get DefaultType(){return dr}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=hr.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}g(hr);const fr=".bs.scrollspy",mr=`activate${fr}`,gr=`click${fr}`,vr=`load${fr}.data-api`,yr="active",_r="[href]",br=".nav-link",wr=`${br}, .nav-item > ${br}, .list-group-item`,xr={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]}
vendor: 9,318 bytes, line 2
2,Tr={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Sr extends H{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return xr}static get DefaultType(){return Tr}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=a(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(P.off(this._config.target,gr),P.on(this._config.target,gr,_r,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const n=this._rootElement||window,i=e.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:i,behavior:"smooth"});n.scrollTop=i}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),n=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},i=(this._rootElement||document.documentElement).scrollTop,r=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const t=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&t){if(n(o),!i)return}else r||t||n(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=U.find(_r,this._config.target);for(const e of t){if(!e.hash||l(e))continue;const t=U.findOne(decodeURI(e.hash),this._element);c(t)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(yr),this._activateParents(t),P.trigger(this._element,mr,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))U.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(yr);else for(const e of U.parents(t,".nav, .list-group"))for(const t of U.prev(e,wr))t.classList.add(yr)}_clearActiveClass(t){t.classList.remove(yr);const e=U.find(`${_r}.${yr}`,t);for(const t of e)t.classList.remove(yr)}static jQueryInterface(t){return this.each((function(){const e=Sr.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}P.on(window,vr,(()=>{for(const t of U.find('[data-bs-spy="scroll"]'))Sr.getOrCreateInstance(t)})),g(Sr);const kr=".bs.tab",Er=`hide${kr}`,Cr=`hidden${kr}`,Ar=`show${kr}`,Or=`shown${kr}`,jr=`click${kr}`,Dr=`keydown${kr}`,Lr=`load${kr}`,Ir="ArrowLeft",Nr="ArrowRight",Pr="ArrowUp",$r="ArrowDown",Fr="Home",qr="End",Mr="active",Rr="fade",Hr="show",Br=".dropdown-toggle",Ur=`:not(${Br})`,Wr='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',zr=`.nav-link${Ur}, .list-group-item${Ur}, [role="tab"]${Ur}, ${Wr}`,Gr=`.${Mr}[data-bs-toggle="tab"], .${Mr}[data-bs-toggle="pill"], .${Mr}[data-bs-toggle="list"]`;class Jr extends H{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),P.on(this._element,Dr,(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),n=e?P.trigger(e,Er,{relatedTarget:t}):null;P.trigger(t,Ar,{relatedTarget:e}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(Mr),this._activate(U.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),P.trigger(t,Or,{relatedTarget:e})):t.classList.add(Hr)}),t,t.classList.contains(Rr)))}_deactivate(t,e){t&&(t.classList.remove(Mr),t.blur(),this._deactivate(U.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),P.trigger(t,Cr,{relatedTarget:e})):t.classList.remove(Hr)}),t,t.classList.contains(Rr)))}_keydown(t){if(![Ir,Nr,Pr,$r,Fr,qr].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter((t=>!l(t)));let n;if([Fr,qr].includes(t.key))n=e[t.key===Fr?0:e.length-1];else{const i=[Nr,$r].includes(t.key);n=_(e,t.target,i,!0)}n&&(n.focus({preventScroll:!0}),Jr.getOrCreateInstance(n).show())}_getChildren(){return U.find(zr,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",e),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=U.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const n=this._getOuterElement(t);if(!n.classList.contains("dropdown"))return;const i=(t,i)=>{const r=U.findOne(t,n);r&&r.classList.toggle(i,e)};i(Br,Mr),i(".dropdown-menu",Hr),n.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,n){t.hasAttribute(e)||t.setAttribute(e,n)}_elemIsActive(t){return t.classList.contains(Mr)}_getInnerElement(t){return t.matches(zr)?t:U.findOne(zr,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=Jr.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}P.on(document,jr,Wr,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this)||Jr.getOrCreateInstance(this).show()})),P.on(window,Lr,(()=>{for(const t of U.find(Gr))Jr.getOrCreateInstance(t)})),g(Jr);const Xr=".bs.toast",Vr=`mouseover${Xr}`,Kr=`mouseout${Xr}`,Qr=`focusin${Xr}`,Yr=`focusout${Xr}`,Zr=`hide${Xr}`,to=`hidden${Xr}`,eo=`show${Xr}`,no=`shown${Xr}`,io="hide",ro="show",oo="showing",so={animation:"boolean",autohide:"boolean",delay:"number"},ao={animation:!0,autohide:!0,delay:5e3};class co extends H{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ao}static get DefaultType(){return so}static get NAME(){return"toast"}show(){P.trigger(this._element,eo).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(io),d(this._element),this._element.classList.add(ro,oo),this._queueCallback((()=>{this._element.classList.remove(oo),P.trigger(this._element,no),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(P.trigger(this._element,Zr).defaultPrevented||(this._element.classList.add(oo),this._queueCallback((()=>{this._element.classList.add(io),this._element.classList.remove(oo,ro),P.trigger(this._element,to)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ro),super.dispose()}isShown(){return this._element.classList.contains(ro)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){P.on(this._element,Vr,(t=>this._onInteraction(t,!0))),P.on(this._element,Kr,(t=>this._onInteraction(t,!1))),P.on(this._element,Qr,(t=>this._onInteraction(t,!0))),P.on(this._element,Yr,(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=co.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
2amed "${t}"`);e[t](this)}}))}}return W(co),g(co),{Alert:X,Button:K,Carousel:At,Collapse:Bt,Dropdown:Gn,Modal:Ci,Offcanvas:zi,Popover:hr,ScrollSpy:Sr,Tab:Jr,Toast:co,Tooltip:ur}}()},2997:(t,e,n)=>{var i,r;i=[n(4692)],void 0===(r=function(t){return function(t){"use strict";function e(t,e){this.rawQuery=t.val()||"",this.query=t.val()||"",this.selector=t[0].selector,this.deferred=null,this.tmpSource={},this.source={},this.dynamicGroups=[],this.hasDynamicGroups=!1,this.generatedGroupCount=0,this.groupBy="group",this.groups=[],this.searchGroups=[],this.generateGroups=[],this.requestGroups=[],this.result=[],this.tmpResult={},this.groupTemplate="",this.resultHtml=null,this.resultCount=0,this.resultCountPerGroup={},this.options=e,this.node=t,this.namespace="."+this.helper.slugify.call(this,this.selector)+".typeahead",this.isContentEditable=void 0!==this.node.attr("contenteditable")&&"false"!==this.node.attr("contenteditable"),this.container=null,this.resultContainer=null,this.item=null,this.items=null,this.comparedItems=null,this.xhr={},this.hintIndex=null,this.filters={dropdown:{},dynamic:{}},this.dropdownFilter={static:[],dynamic:[]},this.dropdownFilterAll=null,this.isDropdownEvent=!1,this.requests={},this.backdrop={},this.hint={},this.label={},this.hasDragged=!1,this.focusOnly=!1,this.displayEmptyTemplate,this.__construct()}var n,i={input:null,minLength:2,maxLength:!(window.Typeahead={version:"2.11.1"}),maxItem:8,dynamic:!1,delay:300,order:null,offset:!1,hint:!1,accent:!1,highlight:!0,multiselect:null,group:!1,groupOrder:null,maxItemPerGroup:null,dropdownFilter:!1,dynamicFilter:null,backdrop:!1,backdropOnFocus:!1,cache:!1,ttl:36e5,compression:!1,searchOnFocus:!1,blurOnTab:!0,resultContainer:null,generateOnLoad:null,mustSelectItem:!1,href:null,display:["display"],template:null,templateValue:null,groupTemplate:null,correlativeTemplate:!1,emptyTemplate:!1,cancelButton:!0,loadingAnimation:!0,asyncResult:!1,filter:!0,matcher:null,source:null,callback:{onInit:null,onReady:null,onShowLayout:null,onHideLayout:null,onSearch:null,onResult:null,onLayoutBuiltBefore:null,onLayoutBuiltAfter:null,onNavigateBefore:null,onNavigateAfter:null,onEnter:null,onLeave:null,onClickBefore:null,onClickAfter:null,onDropdownFilter:null,onSendRequest:null,onReceiveRequest:null,onPopulateSource:null,onCacheSave:null,onSubmit:null,onCancel:null},selector:{container:"typeahead__container",result:"typeahead__result",list:"typeahead__list",group:"typeahead__group",item:"typeahead__item",empty:"typeahead__empty",display:"typeahead__display",query:"typeahead__query",filter:"typeahead__filter",filterButton:"typeahead__filter-button",dropdown:"typeahead__dropdown",dropdownItem:"typeahead__dropdown-item",labelContainer:"typeahead__label-container",label:"typeahead__label",button:"typeahead__button",backdrop:"typeahead__backdrop",hint:"typeahead__hint",cancelButton:"typeahead__cancel-button"},debug:!1},r={from:"ãàáäâẽèéëêìíïîõòóöôùúüûñç",to:"aaaaaeeeeeiiiiooooouuuunc"},o=~window.navigator.appVersion.indexOf("MSIE 9."),s=~window.navigator.appVersion.indexOf("MSIE 10"),a=!!~window.navigator.userAgent.indexOf("Trident")&&~window.navigator.userAgent.indexOf("rv:11");e.prototype={_validateCacheMethod:function(t){var e;if(!0===t)t="localStorage";else if("string"==typeof t&&!~["localStorage","sessionStorage"].indexOf(t))return!1;e=void 0!==window[t];try{window[t].setItem("typeahead","typeahead"),window[t].removeItem("typeahead")}catch(t){e=!1}return e&&t||!1},extendOptions:function(){if(this.options.cache=this._validateCacheMethod(this.options.cache),this.options.compression&&("object"==typeof LZString&&this.options.cache||(this.options.compression=!1)),this.options.maxLength&&!isNaN(this.options.maxLength)||(this.options.maxLength=1/0),void 0!==this.options.maxItem&&~[0,!1].indexOf(this.options.maxItem)&&(this.options.maxItem=1/0),this.options.maxItemPerGroup&&!/^\d+$/.test(this.options.maxItemPerGroup)&&(this.options.maxItemPerGroup=null),this.options.display&&!Array.isArray(this.options.display)&&(this.options.display=[this.options.display]),this.options.multiselect&&(this.items=[],this.comparedItems=[],"string"==typeof this.options.multiselect.matchOn&&(this.options.multiselect.matchOn=[this.options.multiselect.matchOn])),this.options.group&&(Array.isArray(this.options.group)||("string"==typeof this.options.group?this.options.group={key:this.options.group}:"boolean"==typeof this.options.group&&(this.options.group={key:"group"}),this.options.group.key=this.options.group.key||"group")),this.options.highlight&&!~["any",!0].indexOf(this.options.highlight)&&(this.options.highlight=!1),this.options.dropdownFilter&&this.options.dropdownFilter instanceof Object){Array.isArray(this.options.dropdownFilter)||(this.options.dropdownFilter=[this.options.dropdownFilter]);for(var e=0,n=this.options.dropdownFilter.length;e<n;++e)this.dropdownFilter[this.options.dropdownFilter[e].value?"static":"dynamic"].push(this.options.dropdownFilter[e])}this.options.dynamicFilter&&!Array.isArray(this.options.dynamicFilter)&&(this.options.dynamicFilter=[this.options.dynamicFilter]),this.options.accent&&("object"==typeof this.options.accent?this.options.accent.from&&this.options.accent.to&&(this.options.accent.from.length,this.options.accent.to.length):this.options.accent=r),this.options.groupTemplate&&(this.groupTemplate=this.options.groupTemplate),this.options.resultContainer&&("string"==typeof this.options.resultContainer&&(this.options.resultContainer=t(this.options.resultContainer)),this.options.resultContainer instanceof t&&this.options.resultContainer[0]&&(this.resultContainer=this.options.resultContainer)),this.options.group&&this.options.group.key&&
2(this.groupBy=this.options.group.key),this.options.callback&&this.options.callback.onClick&&(this.options.callback.onClickBefore=this.options.callback.onClick,delete this.options.callback.onClick),this.options.callback&&this.options.callback.onNavigate&&(this.options.callback.onNavigateBefore=this.options.callback.onNavigate,delete this.options.callback.onNavigate),this.options=t.extend(!0,{},i,this.options)},unifySourceFormat:function(){var t,e,n;for(t in this.dynamicGroups=[],Array.isArray(this.options.source)&&(this.options.source={group:{data:this.options.source}}),"string"==typeof this.options.source&&(this.options.source={group:{ajax:{url:this.options.source}}}),this.options.source.ajax&&(this.options.source={group:{ajax:this.options.source.ajax}}),(this.options.source.url||this.options.source.data)&&(this.options.source={group:this.options.source}),this.options.source)if(this.options.source.hasOwnProperty(t)){if("string"==typeof(e=this.options.source[t])&&(e={ajax:{url:e}}),n=e.url||e.ajax,Array.isArray(n)?(e.ajax="string"==typeof n[0]?{url:n[0]}:n[0],e.ajax.path=e.ajax.path||n[1]||null):"object"==typeof e.url?e.ajax=e.url:"string"==typeof e.url&&(e.ajax={url:e.url}),delete e.url,!e.data&&!e.ajax)return!1;e.display&&!Array.isArray(e.display)&&(e.display=[e.display]),e.minLength="number"==typeof e.minLength?e.minLength:this.options.minLength,e.maxLength="number"==typeof e.maxLength?e.maxLength:this.options.maxLength,e.dynamic="boolean"==typeof e.dynamic||this.options.dynamic,e.minLength>e.maxLength&&(e.minLength=e.maxLength),this.options.source[t]=e,this.options.source[t].dynamic&&this.dynamicGroups.push(t),e.cache=void 0!==e.cache?this._validateCacheMethod(e.cache):this.options.cache,e.compression&&("object"==typeof LZString&&e.cache||(e.compression=!1))}return this.hasDynamicGroups=this.options.dynamic||!!this.dynamicGroups.length,!0},init:function(){this.helper.executeCallback.call(this,this.options.callback.onInit,[this.node]),this.container=this.node.closest("."+this.options.selector.container)},delegateEvents:function(){var e=this,n=["focus"+this.namespace,"input"+this.namespace,"propertychange"+this.namespace,"keydown"+this.namespace,"keyup"+this.namespace,"search"+this.namespace,"generate"+this.namespace];t("html").on("touchmove",(function(){e.hasDragged=!0})).on("touchstart",(function(){e.hasDragged=!1})),this.node.closest("form").on("submit",(function(t){if(!e.options.mustSelectItem||!e.helper.isEmpty(e.item))return e.options.backdropOnFocus||e.hideLayout(),e.options.callback.onSubmit?e.helper.executeCallback.call(e,e.options.callback.onSubmit,[e.node,this,e.item||e.items,t]):void 0;t.preventDefault()})).on("reset",(function(){setTimeout((function(){e.node.trigger("input"+e.namespace),e.hideLayout()}))}));var i=!1;if(this.node.attr("placeholder")&&(s||a)){var r=!0;this.node.on("focusin focusout",(function(){r=!(this.value||!this.placeholder)})),this.node.on("input",(function(t){r&&(t.stopImmediatePropagation(),r=!1)}))}this.node.off(this.namespace).on(n.join(" "),(function(n,r){switch(n.type){case"generate":e.generateSource(Object.keys(e.options.source));break;case"focus":if(e.focusOnly){e.focusOnly=!1;break}e.options.backdropOnFocus&&(e.buildBackdropLayout(),e.showLayout()
vendor: 5,638 bytes, line 2
2),e.options.searchOnFocus&&!e.item&&(e.deferred=t.Deferred(),e.assignQuery(),e.generateSource());break;case"keydown":8===n.keyCode&&e.options.multiselect&&e.options.multiselect.cancelOnBackspace&&""===e.query&&e.items.length?e.cancelMultiselectItem(e.items.length-1,null,n):n.keyCode&&~[9,13,27,38,39,40].indexOf(n.keyCode)&&(i=!0,e.navigate(n));break;case"keyup":o&&e.node[0].value.replace(/^\s+/,"").toString().length<e.query.length&&e.node.trigger("input"+e.namespace);break;case"propertychange":if(i){i=!1;break}case"input":e.deferred=t.Deferred(),e.assignQuery(),""===e.rawQuery&&""===e.query&&(n.originalEvent=r||{},e.helper.executeCallback.call(e,e.options.callback.onCancel,[e.node,e.item,n]),e.item=null),e.options.cancelButton&&e.toggleCancelButtonVisibility(),e.options.hint&&e.hint.container&&""!==e.hint.container.val()&&0!==e.hint.container.val().indexOf(e.rawQuery)&&(e.hint.container.val(""),e.isContentEditable&&e.hint.container.text("")),e.hasDynamicGroups?e.helper.typeWatch((function(){e.generateSource()}),e.options.delay):e.generateSource();break;case"search":e.searchResult(),e.buildLayout(),e.result.length||e.searchGroups.length&&e.displayEmptyTemplate?e.showLayout():e.hideLayout(),e.deferred&&e.deferred.resolve()}return e.deferred&&e.deferred.promise()})),this.options.generateOnLoad&&this.node.trigger("generate"+this.namespace)},assignQuery:function(){this.isContentEditable?this.rawQuery=this.node.text():this.rawQuery=this.node.val().toString(),this.rawQuery=this.rawQuery.replace(/^\s+/,""),this.rawQuery!==this.query&&(this.query=this.rawQuery)},filterGenerateSource:function(){if(this.searchGroups=[],this.generateGroups=[],!this.focusOnly||this.options.multiselect)for(var t in this.options.source)if(this.options.source.hasOwnProperty(t)&&this.query.length>=this.options.source[t].minLength&&this.query.length<=this.options.source[t].maxLength){if(this.filters.dropdown&&"group"===this.filters.dropdown.key&&this.filters.dropdown.value!==t)continue;if(this.searchGroups.push(t),!this.options.source[t].dynamic&&this.source[t])continue;this.generateGroups.push(t)}},generateSource:function(e){if(this.filterGenerateSource(),this.generatedGroupCount=0,Array.isArray(e)&&e.length)this.generateGroups=e;else if(!this.generateGroups.length)return void this.node.trigger("search"+this.namespace);if(this.requestGroups=[],this.options.loadingAnimation&&this.container.addClass("loading"),!this.helper.isEmpty(this.xhr)){for(var n in this.xhr)this.xhr.hasOwnProperty(n)&&this.xhr[n].abort();this.xhr={}}for(var i,r,o,s,a,c,l,u=this,p=(n=0,this.generateGroups.length);n<p;++n){if(i=this.generateGroups[n],s=(o=this.options.source[i]).cache,a=o.compression,this.options.asyncResult&&delete this.source[i],s&&(c=window[s].getItem("TYPEAHEAD_"+this.selector+":"+i))){a&&(c=LZString.decompressFromUTF16(c)),l=!1;try{(c=JSON.parse(c+"")).data&&c.ttl>(new Date).getTime()?(this.populateSource(c.data,i),l=!0):window[s].removeItem("TYPEAHEAD_"+this.selector+":"+i)}catch(e){}if(l)continue}!o.data||o.ajax?o.ajax&&(this.requests[i]||(this.requests[i]=this.generateRequestObject(i)),this.requestGroups.push(i)):"function"==typeof o.data?(r=o.data.call(this),Array.isArray(r)?u.populateSource(r,i):"function"==typeof r.promise&&function(e){t.when(r).then((function(t){t&&Array.isArray(t)&&u.populateSource(t,e)}))}(i)):this.populateSource(t.extend(!0,[],o.data),i)}return this.requestGroups.length&&this.handleRequests(),this.options.asyncResult&&this.searchGroups.length!==this.generateGroups&&this.node.trigger("search"+this.namespace),!!this.generateGroups.length},generateRequestObject:function(t){var e=this,n=this.options.source[t],i={request:{url:n.ajax.url||null,dataType:"json",beforeSend:function(i,r){e.xhr[t]=i;var o=e.requests[t].callback.beforeSend||n.ajax.beforeSend;"function"==typeof o&&o.apply(null,arguments)}},callback:{beforeSend:null,done:null,fail:null,then:null,always:null},extra:{path:n.ajax.path||null,group:t},validForGroup:[t]};if("function"!=typeof n.ajax&&(n.ajax instanceof Object&&(i=this.extendXhrObject(i,n.ajax)),1<Object.keys(this.options.source).length))for(var r in this.requests)this.requests.hasOwnProperty(r)&&(this.requests[r].isDuplicated||i.request.url&&i.request.url===this.requests[r].request.url&&(this.requests[r].validForGroup.push(t),i.isDuplicated=!0,delete i.validForGroup));return i},extendXhrObject:function(e,n){return"object"==typeof n.callback&&(e.callback=n.callback,delete n.callback),"function"==typeof n.beforeSend&&(e.callback.beforeSend=n.beforeSend,delete n.beforeSend),e.request=t.extend(!0,e.request,n),"jsonp"!==e.request.dataType.toLowerCase()||e.request.jsonpCallback||(e.request.jsonpCallback="callback_"+e.extra.group),e},handleRequests:function(){var e,n=this,i=this.requestGroups.length;if(!1!==this.helper.executeCallback.call(this,this.options.callback.onSendRequest,[this.node,this.query]))for(var r=0,o=this.requestGroups.length;r<o;++r)e=this.requestGroups[r],this.requests[e].isDuplicated||function(e,r){if("function"==typeof n.options.source[e].ajax){var o=n.options.source[e].ajax.call(n,n.query);if("object"!=typeof(r=n.extendXhrObject(n.generateRequestObject(e),"object"==typeof o?o:{})).request||!r.request.url)return n.populateSource([],e);n.requests[e]=r}var s,a=!1,c={};if(~r.request.url.indexOf("{{query}}")&&(a||(r=t.extend(!0,{},r),a=!0),r.request.url=r.request.url.replace("{{query}}",encodeURIComponent(n.query))),r.request.data)for(var l in r.request.data)if(r.request.data.hasOwnProperty(l)&&~String(r.request.data[l]).indexOf("{{query}}")){a||(r=t.extend(!0,{},r),a=!0),r.request.data[l]=r.request.data[l].replace("{{query}}
2",n.query);break}t.ajax(r.request).done((function(t,e,i){for(var o,a=0,l=r.validForGroup.length;a<l;a++)o=r.validForGroup[a],"function"==typeof(s=n.requests[o]).callback.done&&(c[o]=s.callback.done.call(n,t,e,i))})).fail((function(t,e,i){for(var o=0,a=r.validForGroup.length;o<a;o++)(s=n.requests[r.validForGroup[o]]).callback.fail instanceof Function&&s.callback.fail.call(n,t,e,i)})).always((function(t,e,o){for(var a,l=0,u=r.validForGroup.length;l<u;l++){if(a=r.validForGroup[l],(s=n.requests[a]).callback.always instanceof Function&&s.callback.always.call(n,t,e,o),"abort"===e)return;n.populateSource(null!==t&&"function"==typeof t.promise&&[]||c[a]||t,s.extra.group,s.extra.path||s.request.path),0==(i-=1)&&n.helper.executeCallback.call(n,n.options.callback.onReceiveRequest,[n.node,n.query])}})).then((function(t,e){for(var i=0,o=r.validForGroup.length;i<o;i++)(s=n.requests[r.validForGroup[i]]).callback.then instanceof Function&&s.callback.then.call(n,t,e)}))}(e,this.requests[e])},populateSource:function(e,n,i){var r=this,o=this.options.source[n],s=o.ajax&&o.data;i&&"string"==typeof i&&(e=this.helper.namespace.call(this,i,e)),Array.isArray(e)||(e=[]),s&&("function"==typeof s&&(s=s()),Array.isArray(s)&&(e=e.concat(s)));for(var a,c=o.display?"compiled"===o.display[0]?o.display[1]:o.display[0]:"compiled"===this.options.display[0]?this.options.display[1]:this.options.display[0],l=0,u=e.length;l<u;l++)null!==e[l]&&"boolean"!=typeof e[l]&&("string"==typeof e[l]&&((a={})[c]=e[l],e[l]=a),e[l].group=n);if(!this.hasDynamicGroups&&this.dropdownFilter.dynamic.length){var p,d,h={};for(l=0,u=e.length;l<u;l++)for(var f=0,m=this.dropdownFilter.dynamic.length;f<m;f++)p=this.dropdownFilter.dynamic[f].key,(d=e[l][p])&&(this.dropdownFilter.dynamic[f].value||(this.dropdownFilter.dynamic[f].value=[]),h[p]||(h[p]=[]),~h[p].indexOf(d.toLowerCase())||(h[p].push(d.toLowerCase()),this.dropdownFilter.dynamic[f].value.push(d)))}if(this.options.correlativeTemplate){var g=o.template||this.options.template,v="";if("function"==typeof g&&(g=g.call(this,"",{})),g){if(Array.isArray(this.options.correlativeTemplate))for(l=0,u=this.options.correlativeTemplate.length;l<u;l++)v+="{{"+this.options.correlativeTemplate[l]+"}} ";else v=g.replace(/<.+?>/g," ").replace(/\s{2,}/," ").trim();for(l=0,u=e.length;l<u;l++)e[l].compiled=t("<textarea />").html(v.replace(/\{\{([\w\-\.]+)(?:\|(\w+))?}}/g,(function(t,n){return r.helper.namespace.call(r,n,e[l],"get","")})).trim()).text();o.display?~o.display.indexOf("compiled")||o.display.unshift("compiled"):~this.options.display.indexOf("compiled")||this.options.display.unshift("compiled")}}this.options.callback.onPopulateSource&&(e=this.helper.executeCallback.call(this,this.options.callback.onPopulateSource,[this.node,e,n,i])),this.tmpSource[n]=Array.isArray(e)&&e||[];var y=this.options.source[n].cache,_=this.options.source[n].compression,b=this.options.source[n].ttl||this.options.ttl;if(y&&!window[y].getItem("TYPEAHEAD_"+this.selector+":"+n)){this.options.callback.onCacheSave&&(e=this.helper.executeCallback.call(this,this.options.callback.onCacheSave,[this.node,e,n,i]));var w=JSON.stringify({data:e,ttl:(new Date).getTime()+b});_&&(w=LZString.compressToUTF16(w)),window[y].setItem("TYPEAHEAD_"+this.selector+":"+n,w)}this.incrementGeneratedGroup(n)},incrementGeneratedGroup:function(t){if(this.generatedGroupCount++,this.generatedGroupCount===this.generateGroups.length||this.options.asyncResult){this.xhr&&this.xhr[t]&&delete this.xhr[t];for(var e=0,n=this.generateGroups.length;e<n;e++)this.source[this.generateGroups[e]]=this.tmpSource[this.generateGroups[e]];this.hasDynamicGroups||this.buildDropdownItemLayout("dynamic"),this.generatedGroupCount===this.generateGroups.length&&(this.xhr={},this.options.loadingAnimation&&this.container.removeClass("loading")),this.node.trigger("search"+this.namespace)}},navigate:function(t){if(this.helper.executeCallback.call(this,this.options.callback.onNavigateBefore,[this.node,this.query,t]),27===t.keyCode)return t.preventDefault(),void(this.query.length?(this.resetInput(),this.node.trigger("input"+this.namespace,[t])):(this.node.blur(),this.hideLayout()));if(this.result.length){var e,n=this.resultContainer.find("."+this.options.selector.item).not("[disabled]"),i=n.filter(".active"),r=i[0]?n.index(i):null,o=i[0]?i.attr("data-index"):null,s=null;if(this.clearActiveItem(),this.helper.executeCallback.call(this,this.options.callback.onLeave,[this.node,null!==r&&n.eq(r)||void 0,null!==o&&this.result[o]||void 0,t]),13===t.keyCode)return t.preventDefault(),void(0<i.length?"javascript:;"===i.find("a:first")[0].href?i.find("a:first").trigger("click",t):i.find("a:first")[0].click():this.node.closest("form").trigger("submit"));if(39!==t.keyCode){9===t.keyCode?this.options.blurOnTab?this.hideLayout():0<i.length?r+1<n.length?(t.preventDefault(),s=r+1,this.addActiveItem(n.eq(s))):this.hideLayout():n.length?(t.preventDefault(),s=0,this.addActiveItem(n.first())):this.hideLayout():38===t.keyCode?(t.preventDefault(),0<i.length?0<=r-1&&(s=r-1,this.addActiveItem(n.eq(s))):n.length&&(s=n.length-1,this.addActiveItem(n.last()))):40===t.keyCode&&(t.preventDefault(),0<i.length?r+1<n.length&&(s=r+1,this.addActiveItem(n.eq(s))):n.length&&(s=0,this.addActiveItem(n.first()))),e=null!==s?
vendor: 23,734 bytes, line 2
2n.eq(s).attr("data-index"):null,this.helper.executeCallback.call(this,this.options.callback.onEnter,[this.node,null!==s&&n.eq(s)||void 0,null!==e&&this.result[e]||void 0,t]),t.preventInputChange&&~[38,40].indexOf(t.keyCode)&&this.buildHintLayout(null!==e&&e<this.result.length?[this.result[e]]:null),this.options.hint&&this.hint.container&&this.hint.container.css("color",t.preventInputChange?this.hint.css.color:null===e&&this.hint.css.color||this.hint.container.css("background-color")||"fff");var a=null===e||t.preventInputChange?this.rawQuery:this.getTemplateValue.call(this,this.result[e]);this.node.val(a),this.isContentEditable&&this.node.text(a),this.helper.executeCallback.call(this,this.options.callback.onNavigateAfter,[this.node,n,null!==s&&n.eq(s).find("a:first")||void 0,null!==e&&this.result[e]||void 0,this.query,t])}else null!==r?n.eq(r).find("a:first")[0].click():this.options.hint&&""!==this.hint.container.val()&&this.helper.getCaret(this.node[0])>=this.query.length&&n.filter('[data-index="'+this.hintIndex+'"]').find("a:first")[0].click()}},getTemplateValue:function(t){if(t){var e=t.group&&this.options.source[t.group].templateValue||this.options.templateValue;if("function"==typeof e&&(e=e.call(this)),!e)return this.helper.namespace.call(this,t.matchedKey,t).toString();var n=this;return e.replace(/\{\{([\w\-.]+)}}/gi,(function(e,i){return n.helper.namespace.call(n,i,t,"get","")}))}},clearActiveItem:function(){this.resultContainer.find("."+this.options.selector.item).removeClass("active")},addActiveItem:function(t){t.addClass("active")},searchResult:function(){this.resetLayout(),!1!==this.helper.executeCallback.call(this,this.options.callback.onSearch,[this.node,this.query])&&(!this.searchGroups.length||this.options.multiselect&&this.options.multiselect.limit&&this.items.length>=this.options.multiselect.limit||this.searchResultData(),this.helper.executeCallback.call(this,this.options.callback.onResult,[this.node,this.query,this.result,this.resultCount,this.resultCountPerGroup]),this.isDropdownEvent&&(this.helper.executeCallback.call(this,this.options.callback.onDropdownFilter,[this.node,this.query,this.filters.dropdown,this.result]),this.isDropdownEvent=!1))},searchResultData:function(){var e,n,i,r,o,s,a,c,l,u,p,d=this.groupBy,h=null,f=this.query.toLowerCase(),m=this.options.maxItem,g=this.options.maxItemPerGroup,v=this.filters.dynamic&&!this.helper.isEmpty(this.filters.dynamic),y="function"==typeof this.options.matcher&&this.options.matcher;this.options.accent&&(f=this.helper.removeAccent.call(this,f));for(var _=0,b=this.searchGroups.length;_<b;++_)if(O=this.searchGroups[_],(!this.filters.dropdown||"group"!==this.filters.dropdown.key||this.filters.dropdown.value===O)&&(o=void 0!==this.options.source[O].filter?this.options.source[O].filter:this.options.filter,a="function"==typeof this.options.source[O].matcher&&this.options.source[O].matcher||y,this.source[O]))for(var w=0,x=this.source[O].length;w<x&&(!(this.resultItemCount>=m)||this.options.callback.onResult);w++)if((!v||this.dynamicFilter.validate.apply(this,[this.source[O][w]]))&&null!==(e=this.source[O][w])&&"boolean"!=typeof e&&(!this.options.multiselect||this.isMultiselectUniqueData(e))&&(!this.filters.dropdown||(e[this.filters.dropdown.key]||"").toLowerCase()===(this.filters.dropdown.value||"").toLowerCase())){if((h="group"===d?O:e[d]?e[d]:e.group)&&!this.tmpResult[h]&&(this.tmpResult[h]=[],this.resultCountPerGroup[h]=0),g&&"group"===d&&this.tmpResult[h].length>=g&&!this.options.callback.onResult)break;for(var T=0,S=(A=this.options.source[O].display||this.options.display).length;T<S;++T){if(!1!==o){if(void 0===(r=/\./.test(A[T])?this.helper.namespace.call(this,A[T],e):e[A[T]])||""===r)continue;r=this.helper.cleanStringFromScript(r)}if("function"==typeof o){if(void 0===(s=o.call(this,e,r)))break;if(!s)continue;"object"==typeof s&&(e=s)}if(~[void 0,!0].indexOf(o)){if(null===r)continue;if(i=(i=r).toString().toLowerCase(),this.options.accent&&(i=this.helper.removeAccent.call(this,i)),n=i.indexOf(f),this.options.correlativeTemplate&&"compiled"===A[T]&&n<0&&/\s/.test(f)){l=!0,p=i;for(var k=0,E=(u=f.split(" ")).length;k<E;k++)if(""!==u[k]){if(!~p.indexOf(u[k])){l=!1;break}p=p.replace(u[k],"")}}if(n<0&&!l)continue;if(this.options.offset&&0!==n)continue;if(a){if(void 0===(c=a.call(this,e,r)))break;if(!c)continue;"object"==typeof c&&(e=c)}}if(this.resultCount++,this.resultCountPerGroup[h]++,this.resultItemCount<m){if(g&&this.tmpResult[h].length>=g)break;this.tmpResult[h].push(t.extend(!0,{matchedKey:A[T]},e)),this.resultItemCount++}break}if(!this.options.callback.onResult){if(this.resultItemCount>=m)break;if(g&&this.tmpResult[h].length>=g&&"group"===d)break}}if(this.options.order){var C,A=[];for(var O in this.tmpResult)if(this.tmpResult.hasOwnProperty(O)){for(_=0,b=this.tmpResult[O].length;_<b;_++)C=this.options.source[this.tmpResult[O][_].group].display||this.options.display,~A.indexOf(C[0])||A.push(C[0]);this.tmpResult[O].sort(this.helper.sort(A,"asc"===this.options.order,(function(t){return t?t.toString().toUpperCase():""})))}}var j=[],D=[];for(_=0,b=(D="function"==typeof this.options.groupOrder?this.options.groupOrder.apply(this,[this.node,this.query,this.tmpResult,this.resultCount,this.resultCountPerGroup]):Array.isArray(this.options.groupOrder)?this.options.groupOrder:"string"==typeof this.options.groupOrder&&~["asc","desc"].indexOf(this.options.groupOrder)?Object.keys(this.tmpResult).sort(this.helper.sort([],"asc"===this.options.groupOrder,(function(t){return t.toString().toUpperCase()}))):Object.keys(this.tmpResult)).length;_<b;_++)j=j.concat(this.tmpResult[D[_]]||[]);this.groups=JSON.parse(JSON.stringify(D)),this.result=j},buildLayout:function(){this.buildHtmlLayout(),this.buildBackdropLayout(),this.buildHintLayout(),this.options.callback.onLayoutBuiltBefore&&(this.tmpResultHtml=this.helper.executeCallback.call(this,this.options.callback.onLayoutBuiltBefore,[this.node,this.query,this.result,this.resultHtml])),this.tmpResultHtml instanceof t?this.resultContainer.html(this.tmpResultHtml):this.resultHtml instanceof t&&this.resultContainer.html(this.resultHtml),this.options.callback.onLayoutBuiltAfter&&this.helper.executeCallback.call(this,this.options.callback.onLayoutBuiltAfter,[this.node,this.query,this.result])},buildHtmlLayout:function(){if(!1!==this.options.resultContainer){var e;if(this.resultContainer||(this.resultContainer=t("<div/>",{class:this.options.selector.result}),this.container.append(this.resultContainer)),!this.result.length&&this.generatedGroupCount===this.generateGroups.length)if(this.options.multiselect&&this.options.multiselect.limit&&this.items.length>=this.options.multiselect.limit)e=this.options.multiselect.limitTemplate?"function"==typeof this.options.multiselect.limitTemplate?this.options.multiselect.limitTemplate.call(this,this.query):this.options.multiselect.limitTemplate.replace(/\{\{query}}/gi,t("<div>").text(this.helper.cleanStringFromScript(this.query)).html()):"Can't select more than "+this.items.length+" items.";else{if(!this.options.emptyTemplate||""===this.query)return;e="function"==typeof this.options.emptyTemplate?this.options.emptyTemplate.call(this,this.query):this.options.emptyTemplate.replace(/\{\{query}}/gi,t("<div>").text(this.helper.cleanStringFromScript(this.query)).html())}this.displayEmptyTemplate=!!e;var n=this.query.toLowerCase();this.options.accent&&(n=this.helper.removeAccent.call(this,n));var i=this,r=this.groupTemplate||"<ul></ul>",o=!1;this.groupTemplate?r=t(r.replace(/<([^>]+)>\{\{(.+?)}}<\/[^>]+>/g,(function(t,n,r,s,a){var c="",l="group"===r?i.groups:[r];if(!i.result.length)return!0===o?"":(o=!0,"<"+n+' class="'+i.options.selector.empty+'">'+e+"</"+n+">");for(var u=0,p=l.length;u<p;++u)c+="<"+n+' data-group-template="'+l[u]+'"><ul></ul></'+n+">";return c}))):(r=t(r),this.result.length||r.append(e instanceof t?e:'<li class="'+i.options.selector.empty+'">'+e+"</li>")),r.addClass(this.options.selector.list+(this.helper.isEmpty(this.result)?" empty":""));for(var s,a,c,l,u,p,d,h,f,m,g,v,y,_=this.groupTemplate&&this.result.length&&i.groups||[],b=0,w=this.result.length;b<w;++b)s=(c=this.result[b]).group,l=!this.options.multiselect&&this.options.source[c.group].href||this.options.href,h=[],f=this.options.source[c.group].display||this.options.display,this.options.group&&(s=c[this.options.group.key],this.options.group.template&&("function"==typeof this.options.group.template?a=this.options.group.template.call(this,c):"string"==typeof this.options.group.template&&(a=this.options.group.template.replace(/\{\{([\w\-\.]+)}}/gi,(function(t,e){return i.helper.namespace.call(i,e,c,"get","")})))),r.find('[data-search-group="'+s+'"]')[0]||(this.groupTemplate?r.find('[data-group-template="'+s+'"] ul'):r).append(t("<li/>",{class:i.options.selector.group,html:t("<a/>",{href:"javascript:;",html:a||s,tabindex:-1}),"data-search-group":s}))),this.groupTemplate&&_.length&&~(g=_.indexOf(s||c.group))&&_.splice(g,1),u=t("<li/>",{class:i.options.selector.item+" "+i.options.selector.group+"-"+this.helper.slugify.call(this,s),disabled:!!c.disabled,"data-group":s,"data-index":b,html:t("<a/>",{href:l&&!c.disabled?(v=l,y=c,y.href=i.generateHref.call(i,v,y)):"javascript:;",html:function(){if(p=c.group&&i.options.source[c.group].template||i.options.template)"function"==typeof p&&(p=p.call(i,i.query,c)),d=p.replace(/\{\{([^\|}]+)(?:\|([^}]+))*}}/gi,(function(t,e,r){var o=i.helper.cleanStringFromScript(String(i.helper.namespace.call(i,e,c,"get","")));return~(r=r&&r.split("|")||[]).indexOf("slugify")&&(o=i.helper.slugify.call(i,o)),~r.indexOf("raw")||!0===i.options.highlight&&n&&~f.indexOf(e)&&(o=i.helper.highlight.call(i,o,n.split(" "),i.options.accent)),o}));else{for(var e=0,r=f.length;e<r;e++)void 0!==(m=/\./.test(f[e])?i.helper.namespace.call(i,f[e],c,"get",""):c[f[e]])&&""!==m&&h.push(m);d='<span class="'+i.options.selector.display+'">'+i.helper.cleanStringFromScript(String(h.join(" ")))+"</span>"}(!0===i.options.highlight&&n&&!p||"any"===i.options.highlight)&&(d=i.helper.highlight.call(i,d,n.split(" "),i.options.accent)),t(this).append(d)}})}),function(e,n,r){r.on("click",(function(e,r){n.disabled?e.preventDefault():(r&&"object"==typeof r&&(e.originalEvent=r),i.options.mustSelectItem&&i.helper.isEmpty(n)?e.preventDefault():(i.options.multiselect||(i.item=n),!1!==i.helper.executeCallback.call(i,i.options.callback.onClickBefore,[i.node,t(this),n,e])&&(e.originalEvent&&e.originalEvent.defaultPrevented||e.isDefaultPrevented()||(i.options.multiselect?(i.query=i.rawQuery="",i.addMultiselectItemLayout(n)):(i.focusOnly=!0,i.query=i.rawQuery=i.getTemplateValue.call(i,n),i.isContentEditable&&(i.node.text(i.query),i.helper.setCaretAtEnd(i.node[0]))),i.hideLayout(),i.node.val(i.query).focus(),i.options.cancelButton&&i.toggleCancelButtonVisibility(),i.helper.executeCallback.call(i,i.options.callback.onClickAfter,[i.node,t(this),n,e])))))})),r.on("mouseenter",(function(e){n.disabled||(i.clearActiveItem(),i.addActiveItem(t(this))),i.helper.executeCallback.call(i,i.options.callback.onEnter,[i.node,t(this),n,e])})),r.on("mouseleave",(function(e){n.disabled||i.clearActiveItem(),i.helper.executeCallback.call(i,i.options.callback.onLeave,[i.node,t(this),n,e])}))}(0,c,u),(this.groupTemplate?r.find('[data-group-template="'+s+'"] ul'):r).append(u);if(this.result.length&&_.length)for(b=0,w=_.length;b<w;++b)r.find('[data-group-template="'+_[b]+'"]').remove();this.resultHtml=r}},generateHref:function(t,e){var n=this;return"string"==typeof t?t=t.replace(/\{\{([^\|}]+)(?:\|([^}]+))*}}/gi,(function(t,i,r){var o=n.helper.namespace.call(n,i,e,"get","");return~(r=r&&r.split("|")||[]).indexOf("slugify")&&(o=n.helper.slugify.call(n,o)),o})):"function"==typeof t&&(t=t.call(this,e)),t},getMultiselectComparedData:function(t){var e="";if(Array.isArray(this.options.multiselect.matchOn))for(var n=0,i=this.options.multiselect.matchOn.length;n<i;++n)e+=void 0!==t[this.options.multiselect.matchOn[n]]?t[this.options.multiselect.matchOn[n]]:"";else{var r=JSON.parse(JSON.stringify(t)),o=["group","matchedKey","compiled","href"];for(n=0,i=o.length;n<i;++n)delete r[o[n]];e=JSON.stringify(r)}return e},buildBackdropLayout:function(){this.options.backdrop&&(this.backdrop.container||(this.backdrop.css=t.extend({opacity:.6,filter:"alpha(opacity=60)",position:"fixed",top:0,right:0,bottom:0,left:0,"z-index":1040,"background-color":"#000"},this.options.backdrop),this.backdrop.container=t("<div/>",{class:this.options.selector.backdrop,css:this.backdrop.css}).insertAfter(this.container)),this.container.addClass("backdrop").css({"z-index":this.backdrop.css["z-index"]+1,position:"relative"}))},buildHintLayout:function(e){if(this.options.hint)if(this.node[0].scrollWidth>Math.ceil(this.node.innerWidth()))this.hint.container&&this.hint.container.val("");else{var n=this,i="",r=(e=e||this.result,this.query.toLowerCase());if(this.options.accent&&(r=this.helper.removeAccent.call(this,r)),this.hintIndex=null,this.searchGroups.length){if(this.hint.container||(this.hint.css=t.extend({"border-color":"transparent",position:"absolute",top:0,display:"inline","z-index":-1,float:"none",color:"silver","box-shadow":"none",cursor:"default","-webkit-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none"},this.options.hint),this.hint.container=t("<"+this.node[0].nodeName+"/>",{type:this.node.attr("type"),class:this.node.attr("class"),readonly:!0,unselectable:"on","aria-hidden":"true",tabindex:-1,click:function(){n.node.focus()}}).addClass(this.options.selector.hint).css(this.hint.css).insertAfter(this.node),this.node.parent().css({position:"relative"})),this.hint.container.css("color",this.hint.css.color),r)for(var o,s,a,c=0,l=e.length;c<l;c++)if(!e[c].disabled){s=e[c].group;for(var u=0,p=(o=this.options.source[s].display||this.options.display).length;u<p;u++)if(a=String(e[c][o[u]]).toLowerCase(),this.options.accent&&(a=this.helper.removeAccent.call(this,a)),0===a.indexOf(r)){i=String(e[c][o[u]]),this.hintIndex=c;break}if(null!==this.hintIndex)break}var d=0<i.length&&this.rawQuery+i.substring(this.query.length)||"";this.hint.container.val(d),this.isContentEditable&&this.hint.container.text(d)}}},buildDropdownLayout:function(){if(this.options.dropdownFilter){var e=this;t("<span/>",{class:this.options.selector.filter,html:function(){t(this).append(t("<button/>",{type:"button",class:e.options.selector.filterButton,style:"display: none;",click:function(){e.container.toggleClass("filter");var n=e.namespace+"-dropdown-filter";t("html").off(n),e.container.hasClass("filter")&&t("html").on("click"+n+" touchend"+n,(function(i){t(i.target).closest("."+e.options.selector.filter)[0]&&t(i.target).closest(e.container)[0]||e.hasDragged||(e.container.removeClass("filter"),t("html").off(n))}))}})),t(this).append(t("<ul/>",{class:e.options.selector.dropdown}))}}).insertAfter(e.container.find("."+e.options.selector.query))}},buildDropdownItemLayout:function(e){if(this.options.dropdownFilter){var n,i,r=this,o="string"==typeof this.options.dropdownFilter&&this.options.dropdownFilter||"All",s=this.container.find("."+this.options.selector.dropdown);"static"!==e||!0!==this.options.dropdownFilter&&"string"!=typeof this.options.dropdownFilter||this.dropdownFilter.static.push({key:"group",template:"{{group}}",all:o,value:Object.keys(this.options.source)});for(var a=0,c=this.dropdownFilter[e].length;a<c;a++){i=this.dropdownFilter[e][a],Array.isArray(i.value)||(i.value=[i.value]),i.all&&(this.dropdownFilterAll=i.all);for(var l=0,u=i.value.length;l<=u;l++)l===u&&a!==c-1||l===u&&a===c-1&&"static"===e&&this.dropdownFilter.dynamic.length||(n=this.dropdownFilterAll||o,i.value[l]?n=i.template?i.template.replace(new RegExp("{{"+i.key+"}}","gi"),i.value[l]):i.value[l]:this.container.find("."+r.options.selector.filterButton).html(n),function(e,n,i){s.append(t("<li/>",{class:r.options.selector.dropdownItem+" "+r.helper.slugify.call(r,n.key+"-"+(n.value[e]||o)),html:t("<a/>",{href:"javascript:;",html:i,click:function(t){t.preventDefault(),p.call(r,{key:n.key,value:n.value[e]||"*",template:i})}})}))}(l,i,n))}this.dropdownFilter[e].length&&this.container.find("."+r.options.selector.filterButton).removeAttr("style")}function p(t){"*"===t.value?delete this.filters.dropdown:this.filters.dropdown=t,this.container.removeClass("filter").find("."+this.options.selector.filterButton).html(t.template),this.isDropdownEvent=!0,this.node.trigger("input"+this.namespace),this.options.multiselect&&this.adjustInputSize(),this.node.focus()}},dynamicFilter:{init:function(){this.options.dynamicFilter&&(this.dynamicFilter.bind.call(this),this.isDynamicFilterEnabled=!0)},validate:function(t){var e,n,i=null,r=null;for(var o in this.filters.dynamic)if(this.filters.dynamic.hasOwnProperty(o)&&(n=~o.indexOf(".")?this.helper.namespace.call(this,o,t,"get"):t[o],"|"!==this.filters.dynamic[o].modifier||i||(i=n==this.filters.dynamic[o].value||!1),"&"===this.filters.dynamic[o].modifier)){if(n!=this.filters.dynamic[o].value){r=!1;break}r=!0}return e=i,null!==r&&!0===(e=r)&&null!==i&&(e=i),!!e},set:function(t,e){var n=t.match(/^([|&])?(.+)/);e?this.filters.dynamic[n[2]]={modifier:n[1]||"|",value:e}:delete this.filters.dynamic[n[2]],this.isDynamicFilterEnabled&&this.generateSource()},bind:function(){for(var e,n=this,i=0,r=this.options.dynamicFilter.length;i<r;i++)"string"==typeof(e=this.options.dynamicFilter[i]).selector&&(e.selector=t(e.selector)),e.selector instanceof t&&e.selector[0]&&e.key&&function(t){t.selector.off(n.namespace).on("change"+n.namespace,(function(){n.dynamicFilter.set.apply(n,[t.key,n.dynamicFilter.getValue(this)])})).trigger("change"+n.namespace)}(e)},getValue:function(t){var e;return"SELECT"===t.tagName?e=t.value:"INPUT"===t.tagName&&("checkbox"===t.type?e=t.checked&&t.getAttribute("value")||t.checked||null:"radio"===t.type&&t.checked&&(e=t.value)),e}},buildMultiselectLayout:function(){if(this.options.multiselect){var e,n=this;this.label.container=t("<span/>",{class:this.options.selector.labelContainer,"data-padding-left":parseFloat(this.node.css("padding-left"))||0,"data-padding-right":parseFloat(this.node.css("padding-right"))||0,"data-padding-top":parseFloat(this.node.css("padding-top"))||0,click:function(e){t(e.target).hasClass(n.options.selector.labelContainer)&&n.node.focus()}}),this.node.closest("."+this.options.selector.query).prepend(this.label.container),this.options.multiselect.data&&(Array.isArray(this.options.multiselect.data)?this.populateMultiselectData(this.options.multiselect.data):"function"==typeof this.options.multiselect.data&&(e=this.options.multiselect.data.call(this),Array.isArray(e)?this.populateMultiselectData(e):"function"==typeof e.promise&&t.when(e).then((function(t){t&&Array.isArray(t)&&n.populateMultiselectData(t)}))))}},isMultiselectUniqueData:function(t){for(var e=!0,n=0,i=this.comparedItems.length;n<i;++n)if(this.comparedItems[n]===this.getMultiselectComparedData(t)){e=!1;break}return e},populateMultiselectData:function(t){for(var e=0,n=t.length;e<n;++e)this.addMultiselectItemLayout(t[e]);this.node.trigger("search"+this.namespace,{origin:"populateMultiselectData"})},addMultiselectItemLayout:function(e){if(this.isMultiselectUniqueData(e)){this.items.push(e),this.comparedItems.push(this.getMultiselectComparedData(e));var n,i=this.getTemplateValue(e),r=this,o=this.options.multiselect.href?"a":"span",s=t("<span/>",{class:this.options.selector.label,html:t("<"+o+"/>",{text:i,click:function(e){var n=t(this).closest("."+r.options.selector.label),i=r.label.container.find("."+r.options.selector.label).index(n);r.options.multiselect.callback&&r.helper.executeCallback.call(r,r.options.multiselect.callback.onClick,[r.node,r.items[i],e])},href:this.options.multiselect.href?(n=r.items[r.items.length-1],r.generateHref.call(r,r.options.multiselect.href,n)):null})});return s.append(t("<span/>",{class:this.options.selector.cancelButton,html:"×",click:function(e){var n=t(this).closest("."+r.options.selector.label),i=r.label.container.find("."+r.options.selector.label).index(n);r.cancelMultiselectItem(i,n,e)}})),this.label.container.append(s),this.adjustInputSize(),!0}},cancelMultiselectItem:function(t,e,n){var i=this.items[t];(e=e||this.label.container.find("."+this.options.selector.label).eq(t)).remove(),this.items.splice(t,1),this.comparedItems.splice(t,1),this.options.multiselect.callback&&this.helper.executeCallback.call(this,this.options.multiselect.callback.onCancel,[this.node,i,n]),this.adjustInputSize(),this.focusOnly=!0,this.node.focus().trigger("input"+this.namespace,{origin:"cancelMultiselectItem"})},adjustInputSize:function(){var e=this.node[0].getBoundingClientRect().width-(parseFloat(this.label.container.data("padding-right"))||0)-(parseFloat(this.label.container.css("padding-left"))||0),n=0,i=0,r=0,o=!1,s=0;this.label.container.find("."+this.options.selector.label).filter((function(a,c){0===a&&(s=t(c)[0].getBoundingClientRect().height+parseFloat(t(c).css("margin-bottom")||0)),n=t(c)[0].getBoundingClientRect().width+parseFloat(t(c).css("margin-right")||0),.7*e<r+n&&!o&&(i++,o=!0),r+n<e?r+=n:(o=!1,r=n)}));var a=parseFloat(this.label.container.data("padding-left")||0)+(o?0:r),c=i*s+parseFloat(this.label.container.data("padding-top")||0);this.container.find("."+this.options.selector.query).find("input, textarea, [contenteditable], .typeahead__hint").css({paddingLeft:a,paddingTop:c})},showLayout:function(){!this.container.hasClass("result")&&(this.result.length||this.displayEmptyTemplate||this.options.backdropOnFocus)&&(function(){var e=this;t("html").off("keydown"+this.namespace).on("keydown"+this.namespace,(function(n){n.keyCode&&9===n.keyCode&&setTimeout((function(){t(":focus").closest(e.container).find(e.node)[0]||e.hideLayout()}),0)})),t("html").off("click"+this.namespace+" touchend"+this.namespace).on("click"+this.namespace+" touchend"+this.namespace,(function(n){t(n.target).closest(e.container)[0]||t(n.target).closest("."+e.options.selector.item)[0]||n.target.className===e.options.selector.cancelButton||e.hasDragged||e.hideLayout()}))}.call(this),this.container.addClass([this.result.length||this.searchGroups.length&&this.displayEmptyTemplate?"result ":"",this.options.hint&&this.searchGroups.length?"hint":"",this.options.backdrop||this.options.backdropOnFocus?"backdrop":""].join(" ")),this.helper.executeCallback.call(this,this.options.callback.onShowLayout,[this.node,this.query]))},hideLayout:function(){(this.container.hasClass("result")||this.container.hasClass("backdrop"))&&(this.container.removeClass("result hint filter"+(this.options.backdropOnFocus&&t(this.node).is(":focus")?"":" backdrop")),this.options.backdropOnFocus&&this.container.hasClass("backdrop")||(t("html").off(this.namespace),this.helper.executeCallback.call(this,this.options.callback.onHideLayout,[this.node,this.query])))},resetLayout:function(){this.result=[],this.tmpResult={},this.groups=[],this.resultCount=0,this.resultCountPerGroup={},this.resultItemCount=0,this.resultHtml=null,this.options.hint&&this.hint.container&&(this.hint.container.val(""),this.isContentEditable&&this.hint.container.text(""))},resetInput:function(){this.node.val(""),this.isContentEditable&&this.node.text(""),this.query="",this.rawQuery=""},buildCancelButtonLayout:function(){if(this.options.cancelButton){var e=this;t("<span/>",{class:this.options.selector.cancelButton,html:"×",mousedown:function(t){t.stopImmediatePropagation(),t.preventDefault(),e.resetInput(),e.node.trigger("input"+e.namespace,[t])}}).insertBefore(this.node)}},toggleCancelButtonVisibility:function(){this.container.toggleClass("cancel",!!this.query.length)},__construct:function(){this.extendOptions(),this.unifySourceFormat()&&(this.dynamicFilter.init.a
2pply(this),this.init(),this.buildDropdownLayout(),this.buildDropdownItemLayout("static"),this.buildMultiselectLayout(),this.delegateEvents(),this.buildCancelButtonLayout(),this.helper.executeCallback.call(this,this.options.callback.onReady,[this.node]))},helper:{isEmpty:function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0},removeAccent:function(t){if("string"==typeof t){var e=r;return"object"==typeof this.options.accent&&(e=this.options.accent),t.toLowerCase().replace(new RegExp("["+e.from+"]","g"),(function(t){return e.to[e.from.indexOf(t)]}))}},slugify:function(t){return""!==(t=String(t))&&(t=(t=this.helper.removeAccent.call(this,t)).replace(/[^-a-z0-9]+/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,"")),t},sort:function(t,e,n){function i(e){for(var i=0,r=t.length;i<r;i++)if(void 0!==e[t[i]])return n(e[t[i]]);return e}return e=[-1,1][+!!e],function(t,n){return t=i(t),n=i(n),e*((n<t)-(t<n))}},replaceAt:function(t,e,n,i){return t.substring(0,e)+i+t.substring(e+n)},highlight:function(t,e,n){t=String(t);var i=n&&this.helper.removeAccent.call(this,t)||t,r=[];Array.isArray(e)||(e=[e]),e.sort((function(t,e){return e.length-t.length}));for(var o=e.length-1;0<=o;o--)""!==e[o].trim()?e[o]=e[o].replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):e.splice(o,1);for(i.replace(new RegExp("(?:"+e.join("|")+")(?!([^<]+)?>)","gi"),(function(t,e,n){r.push({offset:n,length:t.length})})),o=r.length-1;0<=o;o--)t=this.helper.replaceAt(t,r[o].offset,r[o].length,"<strong>"+t.substr(r[o].offset,r[o].length)+"</strong>");return t},getCaret:function(t){var e=0;if(t.selectionStart)return t.selectionStart;if(document.selection){var n=document.selection.createRange();if(null===n)return e;var i=t.createTextRange(),r=i.duplicate();i.moveToBookmark(n.getBookmark()),r.setEndPoint("EndToStart",i),e=r.text.length}else if(window.getSelection){var o=window.getSelection();if(o.rangeCount){var s=o.getRangeAt(0);s.commonAncestorContainer.parentNode==t&&(e=s.endOffset)}}return e},setCaretAtEnd:function(t){if(void 0!==window.getSelection&&void 0!==document.createRange){var e=document.createRange();e.selectNodeContents(t),e.collapse(!1);var n=window.getSelection();n.removeAllRanges(),n.addRange(e)}else if(void 0!==document.body.createTextRange){var i=document.body.createTextRange();i.moveToElementText(t),i.collapse(!1),i.select()}},cleanStringFromScript:function(t){return"string"==typeof t&&t.replace(/<\/?(?:script|iframe)\b[^>]*>/gm,"")||t},executeCallback:function(t,e){if(t){var n;if("function"==typeof t)n=t;else if(("string"==typeof t||Array.isArray(t))&&("string"==typeof t&&(t=[t,[]]),"function"!=typeof(n=this.helper.namespace.call(this,t[0],window))))return;return n.apply(this,(t[1]||[]).concat(e||[]))}},namespace:function(t,e,n,i){if("string"!=typeof t||""===t)return!1;var r=void 0!==i?i:void 0;if(!~t.indexOf("."))return e[t]||r;for(var o=t.split("."),s=e||window,a=(n=n||"get",""),c=0,l=o.length;c<l;c++){if(void 0===s[a=o[c]]){if(~["get","delete"].indexOf(n))return void 0!==i?i:void 0;s[a]={}}if(~["set","create","delete"].indexOf(n)&&c===l-1){if("set"!==n&&"create"!==n)return delete s[a],!0;s[a]=r}s=s[a]}return s},typeWatch:(n=0,function(t,e){clearTimeout(n),n=setTimeout(t,e)})}},t.fn.typeahead=t.typeahead=function(t){return c.typeahead(this,t)};var c={typeahead:function(n,i){if(i&&i.source&&"object"==typeof i.source){if("function"==typeof n){if(!i.input)return;n=t(i.input)}if(n.length){if(void 0===n[0].value&&(n[0].value=n.text()),1===n.length)return n[0].selector=n.selector||i.input||n[0].nodeName.toLowerCase(),window.Typeahead[n[0].selector]=new e(n,i);for(var r,o={},s=0,a=n.length;s<a;++s)void 0!==o[r=n[s].nodeName.toLowerCase()]&&(r+=s),n[s].selector=r,window.Typeahead[r]=o[r]=new e(n.eq(s),i);return o}}}};return window.console=window.console||{log:function(){}},Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),"trim"in String.prototype||(String.prototype.trim=function(){return this.replace(/^\s+/,"").replace(/\s+$/,"")}),"indexOf"in Array.prototype||(Array.prototype.indexOf=function(t,e){void 0===e&&(e=0),e<0&&(e+=this.length),e<0&&(e=0);for(var n=this.length;e<n;e++)if(e in this&&this[e]===t)return e;return-1}),Object.keys||(Object.keys=function(t){var e,n=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.push(e);return n}),e}(t)}.apply(e,i))||(t.exports=r)},4692:function(t,e){var n;!function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,(function(i,r){"use strict";var o=[],s=Object.getPrototypeOf,a=o.slice,c=o.flat?function(t){return o.flat.call(t)}:function(t){return o.concat.apply([],t)},l=o.push,u=o.indexOf,p={},d=p.toString,h=p.hasOwnProperty,f=h.toString,m=f.call(Object),g={},v=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},y=function(t){return null!=t&&t===t.window},_=i.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,n){var i,r,o=(n=n||_).createElement("script");
vendor: 5,721 bytes, line 2
2if(o.text=t,e)for(i in b)(r=e[i]||e.getAttribute&&e.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function x(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?p[d.call(t)]||"object":typeof t}var T="3.7.1",S=/HTML$/i,k=function(t,e){return new k.fn.init(t,e)};function E(t){var e=!!t&&"length"in t&&t.length,n=x(t);return!v(t)&&!y(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function C(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}k.fn=k.prototype={jquery:T,constructor:k,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=k.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return k.each(this,t)},map:function(t){return this.pushStack(k.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(k.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:l,sort:o.sort,splice:o.splice},k.extend=k.fn.extend=function(){var t,e,n,i,r,o,s=arguments[0]||{},a=1,c=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||v(s)||(s={}),a===c&&(s=this,a--);a<c;a++)if(null!=(t=arguments[a]))for(e in t)i=t[e],"__proto__"!==e&&s!==i&&(l&&i&&(k.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[e],o=r&&!Array.isArray(n)?[]:r||k.isPlainObject(n)?n:{},r=!1,s[e]=k.extend(l,o,i)):void 0!==i&&(s[e]=i));return s},k.extend({expando:"jQuery"+(T+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]"!==d.call(t))&&(!(e=s(t))||"function"==typeof(n=h.call(e,"constructor")&&e.constructor)&&f.call(n)===m)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){w(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,i=0;if(E(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},text:function(t){var e,n="",i=0,r=t.nodeType;if(!r)for(;e=t[i++];)n+=k.text(e);return 1===r||11===r?t.textContent:9===r?t.documentElement.textContent:3===r||4===r?t.nodeValue:n},makeArray:function(t,e){var n=e||[];return null!=t&&(E(Object(t))?k.merge(n,"string"==typeof t?[t]:t):l.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:u.call(e,t,n)},isXMLDoc:function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!S.test(e||n&&n.nodeName||"HTML")},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,o=t.length,s=!n;r<o;r++)!e(t[r],r)!==s&&i.push(t[r]);return i},map:function(t,e,n){var i,r,o=0,s=[];if(E(t))for(i=t.length;o<i;o++)null!=(r=e(t[o],o,n))&&s.push(r);else for(o in t)null!=(r=e(t[o],o,n))&&s.push(r);return c(s)},guid:1,support:g}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=o[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){p["[object "+e+"]"]=e.toLowerCase()}));var A=o.pop,O=o.sort,j=o.splice,D="[\\x20\\t\\r\\n\\f]",L=new RegExp("^"+D+"+|((?:^|[^\\\\])(?:\\\\.)*)"+D+"+$","g");k.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 I=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function N(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}k.escapeSelector=function(t){return(t+"").replace(I,N)};var P=_,$=l;!function(){var t,e,n,r,s,c,l,p,d,f,m=$,v=k.expando,y=0,_=0,b=tt(),w=tt(),x=tt(),T=tt(),S=function(t,e){return t===e&&(s=!0),0},E="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",I="(?:\\\\[\\da-fA-F]{1,6}"+D+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",N="\\["+D+"*("+I+")(?:"+D+"*([*^$|!~]?=)"+D+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+D+"*\\]",F=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",q=new RegExp(D+"+","g"),M=new RegExp("^"+D+"*,"+D+"*"),R=new RegExp("^"+D+"*([>+~]|"+D+")"+D+"*"),H=new RegExp(D+"|>"),B=new RegExp(F),U=new RegExp("^"+I+"$"),W={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+D+"*(even|odd|(([+-]|)(\\d*)n|)"+D+"*(?:([+-]|)"+D+"*(\\d+)|))"+D+"*\\)|)","i"),bool:new RegExp("^(?:"+E+")$","i"),needsContext:new RegExp("^"+D+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+D+"*((?:-\\d)?\\d*)"+D+"*\\)|)(?=[^-]|$)","i")},z=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,X=/[+~]/,V=new RegExp("\\\\[\\da-fA-F]{1,6}"+D+"?|\\\\([^\\r\\n\\f])","g"),K=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))},Q=function(){ct()},Y=dt((function(t){return!0===t.disabled&&C(t,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(o=a.call(P.childNodes),P.childNodes),o[P.childNodes.length].nodeType}catch(t){m={apply:function(t,e){$.apply(t,a.call(e))}
vendor: 44,841 bytes, line 2
2,call:function(t){$.apply(t,a.call(arguments,1))}}}function Z(t,e,n,i){var r,o,s,a,l,u,h,f=e&&e.ownerDocument,y=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==y&&9!==y&&11!==y)return n;if(!i&&(ct(e),e=e||c,p)){if(11!==y&&(l=J.exec(t)))if(r=l[1]){if(9===y){if(!(s=e.getElementById(r)))return n;if(s.id===r)return m.call(n,s),n}else if(f&&(s=f.getElementById(r))&&Z.contains(e,s)&&s.id===r)return m.call(n,s),n}else{if(l[2])return m.apply(n,e.getElementsByTagName(t)),n;if((r=l[3])&&e.getElementsByClassName)return m.apply(n,e.getElementsByClassName(r)),n}if(!(T[t+" "]||d&&d.test(t))){if(h=t,f=e,1===y&&(H.test(t)||R.test(t))){for((f=X.test(t)&&at(e.parentNode)||e)==e&&g.scope||((a=e.getAttribute("id"))?a=k.escapeSelector(a):e.setAttribute("id",a=v)),o=(u=ut(t)).length;o--;)u[o]=(a?"#"+a:":scope")+" "+pt(u[o]);h=u.join(",")}try{return m.apply(n,f.querySelectorAll(h)),n}catch(e){T(t,!0)}finally{a===v&&e.removeAttribute("id")}}}return yt(t.replace(L,"$1"),e,n,i)}function tt(){var t=[];return function n(i,r){return t.push(i+" ")>e.cacheLength&&delete n[t.shift()],n[i+" "]=r}}function et(t){return t[v]=!0,t}function nt(t){var e=c.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function it(t){return function(e){return C(e,"input")&&e.type===t}}function rt(t){return function(e){return(C(e,"input")||C(e,"button"))&&e.type===t}}function ot(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&&Y(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function st(t){return et((function(e){return e=+e,et((function(n,i){for(var r,o=t([],n.length,e),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))}))}))}function at(t){return t&&void 0!==t.getElementsByTagName&&t}function ct(t){var n,i=t?t.ownerDocument||t:P;return i!=c&&9===i.nodeType&&i.documentElement?(l=(c=i).documentElement,p=!k.isXMLDoc(c),f=l.matches||l.webkitMatchesSelector||l.msMatchesSelector,l.msMatchesSelector&&P!=c&&(n=c.defaultView)&&n.top!==n&&n.addEventListener("unload",Q),g.getById=nt((function(t){return l.appendChild(t).id=k.expando,!c.getElementsByName||!c.getElementsByName(k.expando).length})),g.disconnectedMatch=nt((function(t){return f.call(t,"*")})),g.scope=nt((function(){return c.querySelectorAll(":scope")})),g.cssHas=nt((function(){try{return c.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}})),g.getById?(e.filter.ID=function(t){var e=t.replace(V,K);return function(t){return t.getAttribute("id")===e}},e.find.ID=function(t,e){if(void 0!==e.getElementById&&p){var n=e.getElementById(t);return n?[n]:[]}}):(e.filter.ID=function(t){var e=t.replace(V,K);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},e.find.ID=function(t,e){if(void 0!==e.getElementById&&p){var n,i,r,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(r=e.getElementsByName(t),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),e.find.TAG=function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},e.find.CLASS=function(t,e){if(void 0!==e.getElementsByClassName&&p)return e.getElementsByClassName(t)},d=[],nt((function(t){var e;l.appendChild(t).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",t.querySelectorAll("[selected]").length||d.push("\\["+D+"*(?:value|"+E+")"),t.querySelectorAll("[id~="+v+"-]").length||d.push("~="),t.querySelectorAll("a#"+v+"+*").length||d.push(".#.+[+~]"),t.querySelectorAll(":checked").length||d.push(":checked"),(e=c.createElement("input")).setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),l.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(e=c.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||d.push("\\["+D+"*name"+D+"*="+D+"*(?:''|\"\")")})),g.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),S=function(t,e){if(t===e)return s=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!g.sortDetached&&e.compareDocumentPosition(t)===n?t===c||t.ownerDocument==P&&Z.contains(P,t)?-1:e===c||e.ownerDocument==P&&Z.contains(P,e)?1:r?u.call(r,t)-u.call(r,e):0:4&n?-1:1)},c):c}for(t in Z.matches=function(t,e){return Z(t,null,null,e)},Z.matchesSelector=function(t,e){if(ct(t),p&&!T[e+" "]&&(!d||!d.test(e)))try{var n=f.call(t,e);if(n||g.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){T(e,!0)}return Z(e,c,null,[t]).length>0},Z.contains=function(t,e){return(t.ownerDocument||t)!=c&&ct(t),k.contains(t,e)},Z.attr=function(t,n){(t.ownerDocument||t)!=c&&ct(t);var i=e.attrHandle[n.toLowerCase()],r=i&&h.call(e.attrHandle,n.toLowerCase())?i(t,n,!p):void 0;return void 0!==r?r:t.getAttribute(n)},Z.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},k.uniqueSort=function(t){var e,n=[],i=0,o=0;if(s=!g.sortStable,r=!g.sortStable&&a.call(t,0),O.call(t,S),s){for(;e=t[o++];)e===t[o]&&(i=n.push(o));for(;i--;)j.call(t,n[i],1)}return r=null,t},k.fn.uniqueSort=function(){return this.pushStack(k.uniqueSort(a.apply(this)))},e=k.expr={cacheLength:50,createPseudo:et,match:W,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(V,K),t[3]=(t[3]||t[4]||t[5]||"").replace(V,K),"~="===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]||Z.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]&&Z.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return W.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&B.test(n)&&(e=ut(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(V,K).toLowerCase();return"*"===t?function(){return!0}:function(t){return C(t,e)}},CLASS:function(t){var e=b[t+" "];return e||(e=new RegExp("(^|"+D+")"+t+"("+D+"|$)"))&&b(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(i){var r=Z.attr(i,t);return null==r?"!="===e:!e||(r+="","="===e?r===n:"!="===e?r!==n:"^="===e?n&&0===r.indexOf(n):"*="===e?n&&r.indexOf(n)>-1:"$="===e?n&&r.slice(-n.length)===n:"~="===e?(" "+r.replace(q," ")+" ").indexOf(n)>-1:"|="===e&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,c){var l,u,p,d,h,f=o!==s?"nextSibling":"previousSibling",m=e.parentNode,g=a&&e.nodeName.toLowerCase(),_=!c&&!a,b=!1;if(m){if(o){for(;f;){for(p=e;p=p[f];)if(a?C(p,g):1===p.nodeType)return!1;h=f="only"===t&&!h&&"nextSibling"}return!0}if(h=[s?m.firstChild:m.lastChild],s&&_){for(b=(d=(l=(u=m[v]||(m[v]={}))[t]||[])[0]===y&&l[1])&&l[2],p=d&&m.childNodes[d];p=++d&&p&&p[f]||(b=d=0)||h.pop();)if(1===p.nodeType&&++b&&p===e){u[t]=[y,d,b];break}}else if(_&&(b=d=(l=(u=e[v]||(e[v]={}))[t]||[])[0]===y&&l[1]),!1===b)for(;(p=++d&&p&&p[f]||(b=d=0)||h.pop())&&(!(a?C(p,g):1===p.nodeType)||!++b||(_&&((u=p[v]||(p[v]={}))[t]=[y,b]),p!==e)););return(b-=r)===i||b%i==0&&b/i>=0}}},PSEUDO:function(t,n){var i,r=e.pseudos[t]||e.setFilters[t.toLowerCase()]||Z.error("unsupported pseudo: "+t);return r[v]?r(n):r.length>1?(i=[t,t,"",n],e.setFilters.hasOwnProperty(t.toLowerCase())?et((function(t,e){for(var i,o=r(t,n),s=o.length;s--;)t[i=u.call(t,o[s])]=!(e[i]=o[s])})):function(t){return r(t,0,i)}):r}},pseudos:{not:et((function(t){var e=[],n=[],i=vt(t.replace(L,"$1"));return i[v]?et((function(t,e,n,r){for(var o,s=i(t,null,r,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))})):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}})),has:et((function(t){return function(e){return Z(t,e).length>0}})),contains:et((function(t){return t=t.replace(V,K),function(e){return(e.textContent||k.text(e)).indexOf(t)>-1}})),lang:et((function(t){return U.test(t||"")||Z.error("unsupported lang: "+t),t=t.replace(V,K).toLowerCase(),function(e){var n;do{if(n=p?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(t){var e=i.location&&i.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===l},focus:function(t){return t===function(){try{return c.activeElement}catch(t){}}()&&c.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:ot(!1),disabled:ot(!0),checked:function(t){return C(t,"input")&&!!t.checked||C(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!e.pseudos.empty(t)},header:function(t){return G.test(t.nodeName)},input:function(t){return z.test(t.nodeName)},button:function(t){return C(t,"input")&&"button"===t.type||C(t,"button")},text:function(t){var e;return C(t,"input")&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:st((function(){return[0]})),last:st((function(t,e){return[e-1]})),eq:st((function(t,e,n){return[n<0?n+e:n]})),even:st((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:st((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:st((function(t,e,n){var i;for(i=n<0?n+e:n>e?e:n;--i>=0;)t.push(i);return t})),gt:st((function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t}))}},e.pseudos.nth=e.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})e.pseudos[t]=it(t);for(t in{submit:!0,reset:!0})e.pseudos[t]=rt(t);function lt(){}function ut(t,n){var i,r,o,s,a,c,l,u=w[t+" "];if(u)return n?0:u.slice(0);for(a=t,c=[],l=e.preFilter;a;){for(s in i&&!(r=M.exec(a))||(r&&(a=a.slice(r[0].length)||a),c.push(o=[])),i=!1,(r=R.exec(a))&&(i=r.shift(),o.push({value:i,type:r[0].replace(L," ")}),a=a.slice(i.length)),e.filter)!(r=W[s].exec(a))||l[s]&&!(r=l[s](r))||(i=r.shift(),o.push({value:i,type:s,matches:r}),a=a.slice(i.length));if(!i)break}return n?a.length:a?Z.error(t):w(t,c).slice(0)}function pt(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function dt(t,e,n){var i=e.dir,r=e.next,o=r||i,s=n&&"parentNode"===o,a=_++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||s)return t(e,n,r);return!1}:function(e,n,c){var l,u,p=[y,a];if(c){for(;e=e[i];)if((1===e.nodeType||s)&&t(e,n,c))return!0}else for(;e=e[i];)if(1===e.nodeType||s)if(u=e[v]||(e[v]={}),r&&C(e,r))e=e[i]||e;else{if((l=u[o])&&l[0]===y&&l[1]===a)return p[2]=l[2];if(u[o]=p,p[2]=t(e,n,c))return!0}return!1}}function ht(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function ft(t,e,n,i,r){for(var o,s=[],a=0,c=t.length,l=null!=e;a<c;a++)(o=t[a])&&(n&&!n(o,i,r)||(s.push(o),l&&e.push(a)));return s}function mt(t,e,n,i,r,o){return i&&!i[v]&&(i=mt(i)),r&&!r[v]&&(r=mt(r,o)),et((function(o,s,a,c){var l,p,d,h,f=[],g=[],v=s.length,y=o||function(t,e,n){for(var i=0,r=e.length;i<r;i++)Z(t,e[i],n);return n}(e||"*",a.nodeType?[a]:a,[]),_=!t||!o&&e?y:ft(y,f,t,a,c);if(n?n(_,h=r||(o?t:v||i)?[]:s,a,c):h=_,i)for(l=ft(h,g),i(l,[],a,c),p=l.length;p--;)(d=l[p])&&(h[g[p]]=!(_[g[p]]=d));if(o){if(r||t){if(r){for(l=[],p=h.length;p--;)(d=h[p])&&l.push(_[p]=d);r(null,h=[],l,c)}for(p=h.length;p--;)(d=h[p])&&(l=r?u.call(o,d):f[p])>-1&&(o[l]=!(s[l]=d))}}else h=ft(h===s?h.splice(v,h.length):h),r?r(null,s,h,c):m.apply(s,h)}))}function gt(t){for(var i,r,o,s=t.length,a=e.relative[t[0].type],c=a||e.relative[" "],l=a?1:0,p=dt((function(t){return t===i}),c,!0),d=dt((function(t){return u.call(i,t)>-1}),c,!0),h=[function(t,e,r){var o=!a&&(r||e!=n)||((i=e).nodeType?p(t,e,r):d(t,e,r));return i=null,o}];l<s;l++)if(r=e.relative[t[l].type])h=[dt(ht(h),r)];else{if((r=e.filter[t[l].type].apply(null,t[l].matches))[v]){for(o=++l;o<s&&!e.relative[t[o].type];o++);return mt(l>1&&ht(h),l>1&&pt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(L,"$1"),r,l<o&&gt(t.slice(l,o)),o<s&&gt(t=t.slice(o)),o<s&&pt(t))}h.push(r)}return ht(h)}function vt(t,i){var r,o=[],s=[],a=x[t+" "];if(!a){for(i||(i=ut(t)),r=i.length;r--;)(a=gt(i[r]))[v]?o.push(a):s.push(a);a=x(t,function(t,i){var r=i.length>0,o=t.length>0,s=function(s,a,l,u,d){var h,f,g,v=0,_="0",b=s&&[],w=[],x=n,T=s||o&&e.find.TAG("*",d),S=y+=null==x?1:Math.random()||.1,E=T.length;for(d&&(n=a==c||a||d);_!==E&&null!=(h=T[_]);_++){if(o&&h){for(f=0,a||h.ownerDocument==c||(ct(h),l=!p);g=t[f++];)if(g(h,a||c,l)){m.call(u,h);break}d&&(y=S)}r&&((h=!g&&h)&&v--,s&&b.push(h))}if(v+=_,r&&_!==v){for(f=0;g=i[f++];)g(b,w,a,l);if(s){if(v>0)for(;_--;)b[_]||w[_]||(w[_]=A.call(u));w=ft(w)}m.apply(u,w),d&&!s&&w.length>0&&v+i.length>1&&k.uniqueSort(u)}return d&&(y=S,n=x),b};return r?et(s):s}(s,o)),a.selector=t}return a}function yt(t,n,i,r){var o,s,a,c,l,u="function"==typeof t&&t,d=!r&&ut(t=u.selector||t);if(i=i||[],1===d.length){if((s=d[0]=d[0].slice(0)).length>2&&"ID"===(a=s[0]).type&&9===n.nodeType&&p&&e.relative[s[1].type]){if(!(n=(e.find.ID(a.matches[0].replace(V,K),n)||[])[0]))return i;u&&(n=n.parentNode),t=t.slice(s.shift().value.length)}for(o=W.needsContext.test(t)?0:s.length;o--&&(a=s[o],!e.relative[c=a.type]);)if((l=e.find[c])&&(r=l(a.matches[0].replace(V,K),X.test(s[0].type)&&at(n.parentNode)||n))){if(s.splice(o,1),!(t=r.length&&pt(s)))return m.apply(i,r),i;break}}return(u||vt(t,d))(r,n,!p,i,!n||X.test(t)&&at(n.parentNode)||n),i}lt.prototype=e.filters=e.pseudos,e.setFilters=new lt,g.sortStable=v.split("").sort(S).join("")===v,ct(),g.sortDetached=nt((function(t){return 1&t.compareDocumentPosition(c.createElement("fieldset"))})),k.find=Z,k.expr[":"]=k.expr.pseudos,k.unique=k.uniqueSort,Z.compile=vt,Z.select=yt,Z.setDocument=ct,Z.tokenize=ut,Z.escape=k.escapeSelector,Z.getText=k.text,Z.isXML=k.isXMLDoc,Z.selectors=k.expr,Z.support=k.support,Z.uniqueSort=k.uniqueSort}();var F=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&k(t).is(n))break;i.push(t)}return i},q=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},M=k.expr.match.needsContext,R=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function H(t,e,n){return v(e)?k.grep(t,(function(t,i){return!!e.call(t,i,t)!==n})):e.nodeType?k.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?k.grep(t,(function(t){return u.call(e,t)>-1!==n})):k.filter(e,t,n)}k.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?k.find.matchesSelector(i,t)?[i]:[]:k.find.matches(t,k.grep(e,(function(t){return 1===t.nodeType})))},k.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!=typeof t)return this.pushStack(k(t).filter((function(){for(e=0;e<i;e++)if(k.contains(r[e],this))return!0})));for(n=this.pushStack([]),e=0;e<i;e++)k.find(t,r[e],n);return i>1?k.uniqueSort(n):n},filter:function(t){return this.pushStack(H(this,t||[],!1))},not:function(t){return this.pushStack(H(this,t||[],!0))},is:function(t){return!!H(this,"string"==typeof t&&M.test(t)?k(t):t||[],!1).length}});var B,U=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||B,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:U.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof k?e[0]:e,k.merge(this,k.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:_,!0)),R.test(i[1])&&k.isPlainObject(e))for(i in e)v(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(r=_.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):v(t)?void 0!==n.ready?n.ready(t):t(k):k.makeArray(t,this)}).prototype=k.fn,B=k(_);var W=/^(?:parents|prev(?:Until|All))/,z={children:!0,contents:!0,next:!0,prev:!0};function G(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}k.fn.extend({has:function(t){var e=k(t,this),n=e.length;return this.filter((function(){for(var t=0;t<n;t++)if(k.contains(this,e[t]))return!0}))},closest:function(t,e){var n,i=0,r=this.length,o=[],s="string"!=typeof t&&k(t);if(!M.test(t))for(;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&k.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?k.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?u.call(k(t),this[0]):u.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),k.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return F(t,"parentNode")},parentsUntil:function(t,e,n){return F(t,"parentNode",n)},next:function(t){return G(t,"nextSibling")},prev:function(t){return G(t,"previousSibling")},nextAll:function(t){return F(t,"nextSibling")},prevAll:function(t){return F(t,"previousSibling")},nextUntil:function(t,e,n){return F(t,"nextSibling",n)},prevUntil:function(t,e,n){return F(t,"previousSibling",n)},siblings:function(t){return q((t.parentNode||{}).firstChild,t)},children:function(t){return q(t.firstChild)},contents:function(t){return null!=t.contentDocument&&s(t.contentDocument)?t.contentDocument:(C(t,"template")&&(t=t.content||t),k.merge([],t.childNodes))}},(function(t,e){k.fn[t]=function(n,i){var r=k.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=k.filter(i,r)),this.length>1&&(z[t]||k.uniqueSort(r),W.test(t)&&r.reverse()),this.pushStack(r)}}));var J=/[^\x20\t\r\n\f]+/g;function X(t){return t}function V(t){throw t}function K(t,e,n,i){var r;try{t&&v(r=t.promise)?r.call(t).done(e).fail(n):t&&v(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}k.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return k.each(t.match(J)||[],(function(t,n){e[n]=!0})),e}(t):k.extend({},t);var e,n,i,r,o=[],s=[],a=-1,c=function(){for(r=r||t.once,i=e=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&t.stopOnFalse&&(a=o.length,n=!1);t.memory||(n=!1),e=!1,r&&(o=n?[]:"")},l={add:function(){return o&&(n&&!e&&(a=o.length-1,s.push(n)),function e(n){k.each(n,(function(n,i){v(i)?t.unique&&l.has(i)||o.push(i):i&&i.length&&"string"!==x(i)&&e(i)}))}(arguments),n&&!e&&c()),this},remove:function(){return k.each(arguments,(function(t,e){for(var n;(n=k.inArray(e,o,n))>-1;)o.splice(n,1),n<=a&&a--})),this},has:function(t){return t?k.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=s=[],n||e||(o=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=[t,(n=n||[]).slice?n.slice():n],s.push(n),e||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!i}};return l},k.extend({Deferred:function(t){var e=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return k.Deferred((function(n){k.each(e,(function(e,i){var r=v(t[i[4]])&&t[i[4]];o[i[1]]((function(){var t=r&&r.apply(this,arguments);t&&v(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[t]:arguments)}))})),t=null})).promise()},then:function(t,n,r){var o=0;function s(t,e,n,r){return function(){var a=this,c=arguments,l=function(){var i,l;if(!(t<o)){if((i=n.apply(a,c))===e.promise())throw new TypeError("Thenable self-resolution");l=i&&("object"==typeof i||"function"==typeof i)&&i.then,v(l)?r?l.call(i,s(o,e,X,r),s(o,e,V,r)):(o++,l.call(i,s(o,e,X,r),s(o,e,V,r),s(o,e,X,e.notifyWith))):(n!==X&&(a=void 0,c=[i]),(r||e.resolveWith)(a,c))}},u=r?l:function(){try{l()}catch(i){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(i,u.error),t+1>=o&&(n!==V&&(a=void 0,c=[i]),e.rejectWith(a,c))}};t?u():(k.Deferred.getErrorHook?u.error=k.Deferred.getErrorHook():k.Deferred.getStackHook&&(u.error=k.Deferred.getStackHook()),i.setTimeout(u))}}return k.Deferred((function(i){e[0][3].add(s(0,i,v(r)?r:X,i.notifyWith)),e[1][3].add(s(0,i,v(t)?t:X)),e[2][3].add(s(0,i,v(n)?n:V))})).promise()},promise:function(t){return null!=t?k.extend(t,r):r}},o={};return k.each(e,(function(t,i){var s=i[2],a=i[5];r[i[1]]=s.add,a&&s.add((function(){n=a}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),s.add(i[3].fire),o[i[0]]=function(){return o[i[0]+"With"](this===o?void 0:this,arguments),this},o[i[0]+"With"]=s.fireWith})),r.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,i=Array(n),r=a.call(arguments),o=k.Deferred(),s=function(t){return function(n){i[t]=this,r[t]=arguments.length>1?a.call(arguments):n,--e||o.resolveWith(i,r)}};if(e<=1&&(K(t,o.done(s(n)).resolve,o.reject,!e),"pending"===o.state()||v(r[n]&&r[n].then)))return o.then();for(;n--;)K(r[n],s(n),o.reject);return o.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(t,e){i.console&&i.console.warn&&t&&Q.test(t.name)&&i.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},k.readyException=function(t){i.setTimeout((function(){throw t}))};var Y=k.Deferred();function Z(){_.removeEventListener("DOMContentLoaded",Z),i.removeEventListener("load",Z),k.ready()}k.fn.ready=function(t){return Y.then(t).catch((function(t){k.readyException(t)})),this},k.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==t&&--k.readyWait>0||Y.resolveWith(_,[k]))}}),k.ready.then=Y.then,"complete"===_.readyState||"loading"!==_.readyState&&!_.documentElement.doScroll?i.setTimeout(k.ready):(_.addEventListener("DOMContentLoaded",Z),i.addEventListener("load",Z));var tt=function(t,e,n,i,r,o,s){var a=0,c=t.length,l=null==n;if("object"===x(n))for(a in r=!0,n)tt(t,e,a,n[a],!0,o,s);else if(void 0!==i&&(r=!0,v(i)||(s=!0),l&&(s?(e.call(t,i),e=null):(l=e,e=function(t,e,n){return l.call(k(t),n)})),e))for(;a<c;a++)e(t[a],n,s?i:i.call(t[a],a,e(t[a],n)));return r?t:l?e.call(t):c?e(t[0],n):o},et=/^-ms-/,nt=/-([a-z])/g;function it(t,e){return e.toUpperCase()}function rt(t){return t.replace(et,"ms-").replace(nt,it)}var ot=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function st(){this.expando=k.expando+st.uid++}st.uid=1,st.prototype={cache:function(t){var e=t[this.expando];return e||(e={},ot(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[rt(e)]=n;else for(i in e)r[rt(i)]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][rt(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,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(rt):(e=rt(e))in i?[e]:e.match(J)||[]).length;for(;n--;)delete i[e[n]]}(void 0===e||k.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!k.isEmptyObject(e)}};var at=new st,ct=new st,lt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ut=/[A-Z]/g;function pt(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(ut,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:lt.test(t)?JSON.parse(t):t)}(n)}catch(t){}ct.set(t,e,n)}else n=void 0;return n}k.extend({hasData:function(t){return ct.hasData(t)||at.hasData(t)},data:function(t,e,n){return ct.access(t,e,n)},removeData:function(t,e){ct.remove(t,e)},_data:function(t,e,n){return at.access(t,e,n)},_removeData:function(t,e){at.remove(t,e)}}),k.fn.extend({data:function(t,e){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(r=ct.get(o),1===o.nodeType&&!at.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=rt(i.slice(5)),pt(o,i,r[i]));at.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each((function(){ct.set(this,t)})):tt(this,(function(e){var n;if(o&&void 0===e)return void 0!==(n=ct.get(o,t))||void 0!==(n=pt(o,t))?n:void 0;this.each((function(){ct.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){ct.remove(this,t)}))}}),k.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=at.get(t,e),n&&(!i||Array.isArray(n)?i=at.access(t,e,k.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=k.queue(t,e),i=n.length,r=n.shift(),o=k._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,(function(){k.dequeue(t,e)}),o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return at.get(t,n)||at.access(t,n,{empty:k.Callbacks("once memory").add((function(){at.remove(t,[e+"queue",n])}))})}}),k.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?k.queue(this[0],t):void 0===e?this:this.each((function(){var n=k.queue(this,t,e);k._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&k.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){k.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=k.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=at.get(o[s],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(e)}});var dt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ht=new RegExp("^(?:([+-])=|)("+dt+")([a-z%]*)$","i"),ft=["Top","Right","Bottom","Left"],mt=_.documentElement,gt=function(t){return k.contains(t.ownerDocument,t)},vt={composed:!0};mt.getRootNode&&(gt=function(t){return k.contains(t.ownerDocument,t)||t.getRootNode(vt)===t.ownerDocument});var yt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&gt(t)&&"none"===k.css(t,"display")};function _t(t,e,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return k.css(t,e,"")},c=a(),l=n&&n[3]||(k.cssNumber[e]?"":"px"),u=t.nodeType&&(k.cssNumber[e]||"px"!==l&&+c)&&ht.exec(k.css(t,e));if(u&&u[3]!==l){for(c/=2,l=l||u[3],u=+c||1;s--;)k.style(t,e,u+l),(1-o)*(1-(o=a()/c||.5))<=0&&(s=0),u/=o;u*=2,k.style(t,e,u+l),n=n||[]}return n&&(u=+u||+c||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=l,i.start=u,i.end=r)),r}var bt={};function wt(t){var e,n=t.ownerDocument,i=t.nodeName,r=bt[i];return r||(e=n.body.appendChild(n.createElement(i)),r=k.css(e,"display"),e.parentNode.removeChild(e),"none"===r&&(r="block"),bt[i]=r,r)}function xt(t,e){for(var n,i,r=[],o=0,s=t.length;o<s;o++)(i=t[o]).style&&(n=i.style.display,e?("none"===n&&(r[o]=at.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&yt(i)&&(r[o]=wt(i))):"none"!==n&&(r[o]="none",at.set(i,"display",n)));for(o=0;o<s;o++)null!=r[o]&&(t[o].style.display=r[o]);return t}k.fn.extend({show:function(){return xt(this,!0)},hide:function(){return xt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){yt(this)?k(this).show():k(this).hide()}))}});var Tt,St,kt=/^(?:checkbox|radio)$/i,Et=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ct=/^$|^module$|\/(?:java|ecma)script/i;Tt=_.createDocumentFragment().appendChild(_.createElement("div")),(St=_.createElement("input")).setAttribute("type","radio"),St.setAttribute("checked","checked"),St.setAttribute("name","t"),Tt.appendChild(St),g.checkClone=Tt.cloneNode(!0).cloneNode(!0).lastChild.checked,Tt.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!Tt.cloneNode(!0).lastChild.defaultValue,Tt.innerHTML="<option></option>",g.option=!!Tt.lastChild;var At={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,"",""]};function Ot(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&C(t,e)?k.merge([t],n):n}function jt(t,e){for(var n=0,i=t.length;n<i;n++)at.set(t[n],"globalEval",!e||at.get(e[n],"globalEval"))}At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,g.option||(At.optgroup=At.option=[1,"<select multiple='multiple'>","</select>"]);var Dt=/<|&#?\w+;/;function Lt(t,e,n,i,r){for(var o,s,a,c,l,u,p=e.createDocumentFragment(),d=[],h=0,f=t.length;h<f;h++)if((o=t[h])||0===o)if("object"===x(o))k.merge(d,o.nodeType?[o]:o);else if(Dt.test(o)){for(s=s||p.appendChild(e.createElement("div")),a=(Et.exec(o)||["",""])[1].toLowerCase(),c=At[a]||At._default,s.innerHTML=c[1]+k.htmlPrefilter(o)+c[2],u=c[0];u--;)s=s.lastChild;k.merge(d,s.childNodes),(s=p.firstChild).textContent=""}else d.push(e.createTextNode(o));for(p.textContent="",h=0;o=d[h++];)if(i&&k.inArray(o,i)>-1)r&&r.push(o);else if(l=gt(o),s=Ot(p.appendChild(o),"script"),l&&jt(s),n)for(u=0;o=s[u++];)Ct.test(o.type||"")&&n.push(o);return p}var It=/^([^.]*)(?:\.(.+)|)/;function Nt(){return!0}function Pt(){return!1}function $t(t,e,n,i,r,o){var s,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)$t(t,a,n,i,e[a],o);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Pt;else if(!r)return t;return 1===o&&(s=r,r=function(t){return k().off(t),s.apply(this,arguments)},r.guid=s.guid||(s.guid=k.guid++)),t.each((function(){k.event.add(this,e,r,i,n)}))}function Ft(t,e,n){n?(at.set(t,e,!1),k.event.add(t,e,{namespace:!1,handler:function(t){var n,i=at.get(this,e);if(1&t.isTrigger&&this[e]){if(i)(k.event.special[e]||{}).delegateType&&t.stopPropagation();else if(i=a.call(arguments),at.set(this,e,i),this[e](),n=at.get(this,e),at.set(this,e,!1),i!==n)return t.stopImmediatePropagation(),t.preventDefault(),n}else i&&(at.set(this,e,k.event.trigger(i[0],i.slice(1),this)),t.stopPropagation(),t.isImmediatePropagationStopped=Nt)}})):void 0===at.get(t,e)&&k.event.add(t,e,Nt)}k.event={global:{},add:function(t,e,n,i,r){var o,s,a,c,l,u,p,d,h,f,m,g=at.get(t);if(ot(t))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&k.find.matchesSelector(mt,r),n.guid||(n.guid=k.guid++),(c=g.events)||(c=g.events=Object.create(null)),(s=g.handle)||(s=g.handle=function(e){return void 0!==k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(J)||[""]).length;l--;)h=m=(a=It.exec(e[l])||[])[1],f=(a[2]||"").split(".").sort(),h&&(p=k.event.special[h]||{},h=(r?p.delegateType:p.bindType)||h,p=k.event.special[h]||{},u=k.extend({type:h,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&k.expr.match.needsContext.test(r),namespace:f.join(".")},o),(d=c[h])||((d=c[h]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(t,i,f,s)||t.addEventListener&&t.addEventListener(h,s)),p.add&&(p.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),r?d.splice(d.delegateCount++,0,u):d.push(u),k.event.global[h]=!0)},remove:function(t,e,n,i,r){var o,s,a,c,l,u,p,d,h,f,m,g=at.hasData(t)&&at.get(t);if(g&&(c=g.events)){for(l=(e=(e||"").match(J)||[""]).length;l--;)if(h=m=(a=It.exec(e[l])||[])[1],f=(a[2]||"").split(".").sort(),h){for(p=k.event.special[h]||{},d=c[h=(i?p.delegateType:p.bindType)||h]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=d.length;o--;)u=d[o],!r&&m!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(d.splice(o,1),u.selector&&d.delegateCount--,p.remove&&p.remove.call(t,u));s&&!d.length&&(p.teardown&&!1!==p.teardown.call(t,f,g.handle)||k.removeEvent(t,h,g.handle),delete c[h])}else for(h in c)k.event.remove(t,h+e[l],n,i,!0);k.isEmptyObject(c)&&at.remove(t,"handle events")}},dispatch:function(t){var e,n,i,r,o,s,a=new Array(arguments.length),c=k.event.fix(t),l=(at.get(this,"events")||Object.create(null))[c.type]||[],u=k.event.special[c.type]||{};for(a[0]=c,e=1;e<arguments.length;e++)a[e]=arguments[e];if(c.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,c)){for(s=k.event.handlers.call(this,c,l),e=0;(r=s[e++])&&!c.isPropagationStopped();)for(c.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==o.namespace&&!c.rnamespace.test(o.namespace)||(c.handleObj=o,c.data=o.data,void 0!==(i=((k.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,a))&&!1===(c.result=i)&&(c.preventDefault(),c.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,c),c.result}},handlers:function(t,e){var n,i,r,o,s,a=[],c=e.delegateCount,l=t.target;if(c&&l.nodeType&&!("click"===t.type&&t.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==t.type||!0!==l.disabled)){for(o=[],s={},n=0;n<c;n++)void 0===s[r=(i=e[n]).selector+" "]&&(s[r]=i.needsContext?k(r,this).index(l)>-1:k.find(r,this,null,[l]).length),s[r]&&o.push(i);o.length&&a.push({elem:l,handlers:o})}return l=this,c<e.length&&a.push({elem:l,handlers:e.slice(c)}),a},addProp:function(t,e){Object.defineProperty(k.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(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[k.expando]?t:new k.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return kt.test(e.type)&&e.click&&C(e,"input")&&Ft(e,"click",!0),!1},trigger:function(t){var e=this||t;return kt.test(e.type)&&e.click&&C(e,"input")&&Ft(e,"click"),!0},_default:function(t){var e=t.target;return kt.test(e.type)&&e.click&&C(e,"input")&&at.get(e,"click")||C(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},k.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},k.Event=function(t,e){if(!(this instanceof k.Event))return new k.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Nt:Pt,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&&k.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:Pt,isPropagationStopped:Pt,isImmediatePropagationStopped:Pt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Nt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Nt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Nt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},k.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},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},(function(t,e){function n(t){if(_.documentMode){var n=at.get(this,"handle"),i=k.event.fix(t);i.type="focusin"===t.type?"focus":"blur",i.isSimulated=!0,n(t),i.target===i.currentTarget&&n(i)}else k.event.simulate(e,t.target,k.event.fix(t))}k.event.special[t]={setup:function(){var i;if(Ft(this,t,!0),!_.documentMode)return!1;(i=at.get(this,e))||this.addEventListener(e,n),at.set(this,e,(i||0)+1)},trigger:function(){return Ft(this,t),!0},teardown:function(){var t;if(!_.documentMode)return!1;(t=at.get(this,e)-1)?at.set(this,e,t):(this.removeEventListener(e,n),at.remove(this,e))},_default:function(e){return at.get(e.target,t)},delegateType:e},k.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,r=_.documentMode?this:i,o=at.get(r,e);o||(_.documentMode?this.addEventListener(e,n):i.addEventListener(t,n,!0)),at.set(r,e,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=_.documentMode?this:i,o=at.get(r,e)-1;o?at.set(r,e,o):(_.documentMode?this.removeEventListener(e,n):i.removeEventListener(t,n,!0),at.remove(r,e))}}})),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){k.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=t.relatedTarget,r=t.handleObj;return i&&(i===this||k.contains(this,i))||(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}})),k.fn.extend({on:function(t,e,n,i){return $t(this,t,e,n,i)},one:function(t,e,n,i){return $t(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,k(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=Pt),this.each((function(){k.event.remove(this,t,n,e)}))}});var qt=/<script|<style|<link/i,Mt=/checked\s*(?:[^=]|=\s*.checked.)/i,Rt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ht(t,e){return C(t,"table")&&C(11!==e.nodeType?e:e.firstChild,"tr")&&k(t).children("tbody")[0]||t}function Bt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Ut(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Wt(t,e){var n,i,r,o,s,a;if(1===e.nodeType){if(at.hasData(t)&&(a=at.get(t).events))for(r in at.remove(e,"handle events"),a)for(n=0,i=a[r].length;n<i;n++)k.event.add(e,r,a[r][n]);ct.hasData(t)&&(o=ct.access(t),s=k.extend({},o),ct.set(e,s))}}function zt(t,e){var n=e.nodeName.toLowerCase();"input"===n&&kt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function Gt(t,e,n,i){e=c(e);var r,o,s,a,l,u,p=0,d=t.length,h=d-1,f=e[0],m=v(f);if(m||d>1&&"string"==typeof f&&!g.checkClone&&Mt.test(f))return t.each((function(r){var o=t.eq(r);m&&(e[0]=f.call(this,r,o.html())),Gt(o,e,n,i)}));if(d&&(o=(r=Lt(e,t[0].ownerDocument,!1,t,i)).firstChild,1===r.childNodes.length&&(r=o),o||i)){for(a=(s=k.map(Ot(r,"script"),Bt)).length;p<d;p++)l=r,p!==h&&(l=k.clone(l,!0,!0),a&&k.merge(s,Ot(l,"script"))),n.call(t[p],l,p);if(a)for(u=s[s.length-1].ownerDocument,k.map(s,Ut),p=0;p<a;p++)l=s[p],Ct.test(l.type||"")&&!at.access(l,"globalEval")&&k.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?k._evalUrl&&!l.noModule&&k._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):w(l.textContent.replace(Rt,""),l,u))}return t}function Jt(t,e,n){for(var i,r=e?k.filter(e,t):t,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||k.cleanData(Ot(i)),i.parentNode&&(n&&gt(i)&&jt(Ot(i,"script")),i.parentNode.removeChild(i));return t}k.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,r,o,s,a=t.cloneNode(!0),c=gt(t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||k.isXMLDoc(t)))for(s=Ot(a),i=0,r=(o=Ot(t)).length;i<r;i++)zt(o[i],s[i]);if(e)if(n)for(o=o||Ot(t),s=s||Ot(a),i=0,r=o.length;i<r;i++)Wt(o[i],s[i]);else Wt(t,a);return(s=Ot(a,"script")).length>0&&jt(s,!c&&Ot(t,"script")),a},cleanData:function(t){for(var e,n,i,r=k.event.special,o=0;void 0!==(n=t[o]);o++)if(ot(n)){if(e=n[at.expando]){if(e.events)for(i in e.events)r[i]?k.event.remove(n,i):k.removeEvent(n,i,e.handle);n[at.expando]=void 0}n[ct.expando]&&(n[ct.expando]=void 0)}}}),k.fn.extend({detach:function(t){return Jt(this,t,!0)},remove:function(t){return Jt(this,t)},text:function(t){return tt(this,(function(t){return void 0===t?k.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 Gt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ht(this,t).appendChild(t)}))},prepend:function(){return Gt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Ht(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Gt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Gt(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&&(k.cleanData(Ot(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return k.clone(this,t,e)}))},html:function(t){return tt(this,(function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!qt.test(t)&&!At[(Et.exec(t)||["",""])[1].toLowerCase()]){t=k.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(k.cleanData(Ot(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Gt(this,arguments,(function(e){var n=this.parentNode;k.inArray(this,t)<0&&(k.cleanData(Ot(this)),n&&n.replaceChild(e,this))}),t)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){k.fn[t]=function(t){for(var n,i=[],r=k(t),o=r.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),k(r[s])[e](n),l.apply(i,n.get());return this.pushStack(i)}}));var Xt=new RegExp("^("+dt+")(?!px)[a-z%]+$","i"),Vt=/^--/,Kt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=i),e.getComputedStyle(t)},Qt=function(t,e,n){var i,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];for(r in i=n.call(t),e)t.style[r]=o[r];return i},Yt=new RegExp(ft.join("|"),"i");function Zt(t,e,n){var i,r,o,s,a=Vt.test(e),c=t.style;return(n=n||Kt(t))&&(s=n.getPropertyValue(e)||n[e],a&&s&&(s=s.replace(L,"$1")||void 0),""!==s||gt(t)||(s=k.style(t,e)),!g.pixelBoxStyles()&&Xt.test(s)&&Yt.test(e)&&(i=c.width,r=c.minWidth,o=c.maxWidth,c.minWidth=c.maxWidth=c.width=s,s=n.width,c.width=i,c.minWidth=r,c.maxWidth=o)),void 0!==s?s+"":s}function te(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(u){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",mt.appendChild(l).appendChild(u);var t=i.getComputedStyle(u);n="1%"!==t.top,c=12===e(t.marginLeft),u.style.right="60%",s=36===e(t.right),r=36===e(t.width),u.style.position="absolute",o=12===e(u.offsetWidth/3),mt.removeChild(l),u=null}}function e(t){return Math.round(parseFloat(t))}var n,r,o,s,a,c,l=_.createElement("div"),u=_.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===u.style.backgroundClip,k.extend(g,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),c},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,e,n,r;return null==a&&(t=_.createElement("table"),e=_.createElement("tr"),n=_.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="box-sizing:content-box;border:1px solid",e.style.height="1px",n.style.height="9px",n.style.display="block",mt.appendChild(t).appendChild(e).appendChild(n),r=i.getComputedStyle(e),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===e.offsetHeight,mt.removeChild(t)),a}}
vendor: 4,928 bytes, line 2
2))}();var ee=["Webkit","Moz","ms"],ne=_.createElement("div").style,ie={};function re(t){var e=k.cssProps[t]||ie[t];return e||(t in ne?t:ie[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=ee.length;n--;)if((t=ee[n]+e)in ne)return t}(t)||t)}var oe=/^(none|table(?!-c[ea]).+)/,se={position:"absolute",visibility:"hidden",display:"block"},ae={letterSpacing:"0",fontWeight:"400"};function ce(t,e,n){var i=ht.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function le(t,e,n,i,r,o){var s="width"===e?1:0,a=0,c=0,l=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=k.css(t,n+ft[s],!0,r)),i?("content"===n&&(c-=k.css(t,"padding"+ft[s],!0,r)),"margin"!==n&&(c-=k.css(t,"border"+ft[s]+"Width",!0,r))):(c+=k.css(t,"padding"+ft[s],!0,r),"padding"!==n?c+=k.css(t,"border"+ft[s]+"Width",!0,r):a+=k.css(t,"border"+ft[s]+"Width",!0,r));return!i&&o>=0&&(c+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-c-a-.5))||0),c+l}function ue(t,e,n){var i=Kt(t),r=(!g.boxSizingReliable()||n)&&"border-box"===k.css(t,"boxSizing",!1,i),o=r,s=Zt(t,e,i),a="offset"+e[0].toUpperCase()+e.slice(1);if(Xt.test(s)){if(!n)return s;s="auto"}return(!g.boxSizingReliable()&&r||!g.reliableTrDimensions()&&C(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===k.css(t,"display",!1,i))&&t.getClientRects().length&&(r="border-box"===k.css(t,"boxSizing",!1,i),(o=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+le(t,e,n||(r?"border":"content"),o,i,s)+"px"}function pe(t,e,n,i,r){return new pe.prototype.init(t,e,n,i,r)}k.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Zt(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,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,s,a=rt(e),c=Vt.test(e),l=t.style;if(c||(e=re(a)),s=k.cssHooks[e]||k.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(t,!1,i))?r:l[e];"string"===(o=typeof n)&&(r=ht.exec(n))&&r[1]&&(n=_t(t,e,r),o="number"),null!=n&&n==n&&("number"!==o||c||(n+=r&&r[3]||(k.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,i))||(c?l.setProperty(e,n):l[e]=n))}},css:function(t,e,n,i){var r,o,s,a=rt(e);return Vt.test(e)||(e=re(a)),(s=k.cssHooks[e]||k.cssHooks[a])&&"get"in s&&(r=s.get(t,!0,n)),void 0===r&&(r=Zt(t,e,i)),"normal"===r&&e in ae&&(r=ae[e]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),k.each(["height","width"],(function(t,e){k.cssHooks[e]={get:function(t,n,i){if(n)return!oe.test(k.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ue(t,e,i):Qt(t,se,(function(){return ue(t,e,i)}))},set:function(t,n,i){var r,o=Kt(t),s=!g.scrollboxSize()&&"absolute"===o.position,a=(s||i)&&"border-box"===k.css(t,"boxSizing",!1,o),c=i?le(t,e,i,a,o):0;return a&&s&&(c-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-le(t,e,"border",!1,o)-.5)),c&&(r=ht.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=k.css(t,e)),ce(0,n,c)}}})),k.cssHooks.marginLeft=te(g.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Zt(t,"marginLeft"))||t.getBoundingClientRect().left-Qt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),k.each({margin:"",padding:"",border:"Width"},(function(t,e){k.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+ft[i]+e]=o[i]||o[i-2]||o[0];return r}},"margin"!==t&&(k.cssHooks[t+e].set=ce)})),k.fn.extend({css:function(t,e){return tt(this,(function(t,e,n){var i,r,o={},s=0;if(Array.isArray(e)){for(i=Kt(t),r=e.length;s<r;s++)o[e[s]]=k.css(t,e[s],!1,i);return o}return void 0!==n?k.style(t,e,n):k.css(t,e)}),t,e,arguments.length>1)}}),k.Tween=pe,pe.prototype={constructor:pe,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||k.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(k.cssNumber[n]?"":"px")},cur:function(){var t=pe.propHooks[this.prop];return t&&t.get?t.get(this):pe.propHooks._default.get(this)},run:function(t){var e,n=pe.propHooks[this.prop];return this.options.duration?this.pos=e=k.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):pe.propHooks._default.set(this),this}},pe.prototype.init.prototype=pe.prototype,pe.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=k.
vendor: 8,025 bytes, line 2
2css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){k.fx.step[t.prop]?k.fx.step[t.prop](t):1!==t.elem.nodeType||!k.cssHooks[t.prop]&&null==t.elem.style[re(t.prop)]?t.elem[t.prop]=t.now:k.style(t.elem,t.prop,t.now+t.unit)}}},pe.propHooks.scrollTop=pe.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},k.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},k.fx=pe.prototype.init,k.fx.step={};var de,he,fe=/^(?:toggle|show|hide)$/,me=/queueHooks$/;function ge(){he&&(!1===_.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(ge):i.setTimeout(ge,k.fx.interval),k.fx.tick())}function ve(){return i.setTimeout((function(){de=void 0})),de=Date.now()}function ye(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)r["margin"+(n=ft[i])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function _e(t,e,n){for(var i,r=(be.tweeners[e]||[]).concat(be.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,e,t))return i}function be(t,e,n){var i,r,o=0,s=be.prefilters.length,a=k.Deferred().always((function(){delete c.elem})),c=function(){if(r)return!1;for(var e=de||ve(),n=Math.max(0,l.startTime+l.duration-e),i=1-(n/l.duration||0),o=0,s=l.tweens.length;o<s;o++)l.tweens[o].run(i);return a.notifyWith(t,[l,i,n]),i<1&&s?n:(s||a.notifyWith(t,[l,1,0]),a.resolveWith(t,[l]),!1)},l=a.promise({elem:t,props:k.extend({},e),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},n),originalProperties:e,originalOptions:n,startTime:de||ve(),duration:n.duration,tweens:[],createTween:function(e,n){var i=k.Tween(t,l.opts,e,n,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(i),i},stop:function(e){var n=0,i=e?l.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)l.tweens[n].run(1);return e?(a.notifyWith(t,[l,1,0]),a.resolveWith(t,[l,e])):a.rejectWith(t,[l,e]),this}}),u=l.props;for(!function(t,e){var n,i,r,o,s;for(n in t)if(r=e[i=rt(n)],o=t[n],Array.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(s=k.cssHooks[i])&&"expand"in s)for(n in o=s.expand(o),delete t[i],o)n in t||(t[n]=o[n],e[n]=r);else e[i]=r}(u,l.opts.specialEasing);o<s;o++)if(i=be.prefilters[o].call(l,t,u,l.opts))return v(i.stop)&&(k._queueHooks(l.elem,l.opts.queue).stop=i.stop.bind(i)),i;return k.map(u,_e,l),v(l.opts.start)&&l.opts.start.call(t,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),k.fx.timer(k.extend(c,{elem:t,anim:l,queue:l.opts.queue})),l}k.Animation=k.extend(be,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return _t(n.elem,t,ht.exec(e),n),n}]},tweener:function(t,e){v(t)?(e=t,t=["*"]):t=t.match(J);for(var n,i=0,r=t.length;i<r;i++)n=t[i],be.tweeners[n]=be.tweeners[n]||[],be.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,r,o,s,a,c,l,u,p="width"in e||"height"in e,d=this,h={},f=t.style,m=t.nodeType&&yt(t),g=at.get(t,"fxshow");for(i in n.queue||(null==(s=k._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,d.always((function(){d.always((function(){s.unqueued--,k.queue(t,"fx").length||s.empty.fire()}))}))),e)if(r=e[i],fe.test(r)){if(delete e[i],o=o||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;m=!0}h[i]=g&&g[i]||k.style(t,i)}if((c=!k.isEmptyObject(e))||!k.isEmptyObject(h))for(i in p&&1===t.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(l=g&&g.display)&&(l=at.get(t,"display")),"none"===(u=k.css(t,"display"))&&(l?u=l:(xt([t],!0),l=t.style.display||l,u=k.css(t,"display"),xt([t]))),("inline"===u||"inline-block"===u&&null!=l)&&"none"===k.css(t,"float")&&(c||(d.done((function(){f.display=l})),null==l&&(u=f.display,l="none"===u?"":u)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",d.always((function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}))),c=!1,h)c||(g?"hidden"in g&&(m=g.hidden):g=at.access(t,"fxshow",{display:l}),o&&(g.hidden=!m),m&&xt([t],!0),d.done((function(){for(i in m||xt([t]),at.remove(t,"fxshow"),h)k.style(t,i,h[i])}))),c=_e(m?g[i]:0,i,d),i in g||(g[i]=c.start,m&&(c.end=c.start,c.start=0))}],prefilter:function(t,e){e?be.prefilters.unshift(t):be.prefilters.push(t)}}),k.speed=function(t,e,n){var i=t&&"object"==typeof t?k.extend({},t):{complete:n||!n&&e||v(t)&&t,duration:t,easing:n&&e||e&&!v(e)&&e};return k.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in k.fx.speeds?i.duration=k.fx.speeds[i.duration]:i.duration=k.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){v(i.old)&&i.old.call(this),i.queue&&k.dequeue(this,i.queue)},i},k.fn.extend({fadeTo:function(t,e,n,i){return this.filter(yt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=k.isEmptyObject(t),o=k.speed(e,n,i),s=function(){var e=be(this,k.extend({},t),o);(r||at.get(this,"finish"))&&e.stop(!0)};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var i=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,r=null!=t&&t+"queueHooks",o=k.timers,s=at.get(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&me.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));!e&&n||k.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,n=at.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=k.timers,s=i?i.length:0;for(n.finish=!0,k.queue(this,t,[]),r&&r.stop&&r.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<s;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish}))}}),k.each(["toggle","show","hide"],(function(t,e){var n=k.fn[e];k.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(ye(e,!0),t,i,r)}})),k.each({slideDown:ye("show"),slideUp:ye("hide"),slideToggle:ye("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){k.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}})),k.timers=[],k.fx.tick=function(){var t,e=0,n=k.timers;for(de=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||k.fx.stop(),de=void 0},k.fx.timer=function(t){k.timers.push(t),k.fx.start()},k.fx.interval=13,k.fx.start=function(){he||(he=!0,ge())},k.fx.stop=function(){he=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(t,e){return t=k.fx&&k.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,n){var r=i.setTimeout(e,t);n.stop=function(){i.clearTimeout(r)}}))},function(){var t=_.createElement("input"),e=_.createElement("select").appendChild(_.createElement("option"));t.type="checkbox",g.checkOn=""!==t.value,g.optSelected=e.selected,(t=_.createElement("input")).value="t",t.type="radio",g.radioValue="t"===t.value}();var we,xe=k.expr.attrHandle;k.fn.extend({attr:function(t,e){return tt(this,k.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){k.removeAttr(this,t)}))}}),k.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?k.prop(t,e,n):(1===o&&k.isXMLDoc(t)||(r=k.attrHooks[e.toLowerCase()]||(k.expr.match.bool.test(e)?we:void 0)),void 0!==n?null===n?void k.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:null==(i=k.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!g.radioValue&&"radio"===e&&C(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,r=e&&e.match(J);if(r&&1===t.nodeType)for(;n=r[i++];)t.removeAttribute(n)}}),we={set:function(t,e,n){return!1===e?k.removeAttr(t,n):t.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=xe[e]||k.find.attr;
vendor: 20,582 bytes, line 2
2xe[e]=function(t,e,i){var r,o,s=e.toLowerCase();return i||(o=xe[s],xe[s]=r,r=null!=n(t,e,i)?s:null,xe[s]=o),r}}));var Te=/^(?:input|select|textarea|button)$/i,Se=/^(?:a|area)$/i;function ke(t){return(t.match(J)||[]).join(" ")}function Ee(t){return t.getAttribute&&t.getAttribute("class")||""}function Ce(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(J)||[]}k.fn.extend({prop:function(t,e){return tt(this,k.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[k.propFix[t]||t]}))}}),k.extend({prop:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&k.isXMLDoc(t)||(e=k.propFix[e]||e,r=k.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=k.find.attr(t,"tabindex");return e?parseInt(e,10):Te.test(t.nodeName)||Se.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(k.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)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){k.propFix[this.toLowerCase()]=this})),k.fn.extend({addClass:function(t){var e,n,i,r,o,s;return v(t)?this.each((function(e){k(this).addClass(t.call(this,e,Ee(this)))})):(e=Ce(t)).length?this.each((function(){if(i=Ee(this),n=1===this.nodeType&&" "+ke(i)+" "){for(o=0;o<e.length;o++)r=e[o],n.indexOf(" "+r+" ")<0&&(n+=r+" ");s=ke(n),i!==s&&this.setAttribute("class",s)}})):this},removeClass:function(t){var e,n,i,r,o,s;return v(t)?this.each((function(e){k(this).removeClass(t.call(this,e,Ee(this)))})):arguments.length?(e=Ce(t)).length?this.each((function(){if(i=Ee(this),n=1===this.nodeType&&" "+ke(i)+" "){for(o=0;o<e.length;o++)for(r=e[o];n.indexOf(" "+r+" ")>-1;)n=n.replace(" "+r+" "," ");s=ke(n),i!==s&&this.setAttribute("class",s)}})):this:this.attr("class","")},toggleClass:function(t,e){var n,i,r,o,s=typeof t,a="string"===s||Array.isArray(t);return v(t)?this.each((function(n){k(this).toggleClass(t.call(this,n,Ee(this),e),e)})):"boolean"==typeof e&&a?e?this.addClass(t):this.removeClass(t):(n=Ce(t),this.each((function(){if(a)for(o=k(this),r=0;r<n.length;r++)i=n[r],o.hasClass(i)?o.removeClass(i):o.addClass(i);else void 0!==t&&"boolean"!==s||((i=Ee(this))&&at.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===t?"":at.get(this,"__className__")||""))})))},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+ke(Ee(n))+" ").indexOf(e)>-1)return!0;return!1}});var Ae=/\r/g;k.fn.extend({val:function(t){var e,n,i,r=this[0];return arguments.length?(i=v(t),this.each((function(n){var r;1===this.nodeType&&(null==(r=i?t.call(this,n,k(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=k.map(r,(function(t){return null==t?"":t+""}))),(e=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))}))):r?(e=k.valHooks[r.type]||k.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(Ae,""):null==n?"":n:void 0}}),k.extend({valHooks:{option:{get:function(t){var e=k.find.attr(t,"value");return null!=e?e:ke(k.text(t))}},select:{get:function(t){var e,n,i,r=t.options,o=t.selectedIndex,s="select-one"===t.type,a=s?null:[],c=s?o+1:r.length;for(i=o<0?c:s?o:0;i<c;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!C(n.parentNode,"optgroup"))){if(e=k(n).val(),s)return e;a.push(e)}return a},set:function(t,e){for(var n,i,r=t.options,o=k.makeArray(e),s=r.length;s--;)((i=r[s]).selected=k.inArray(k.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),k.each(["radio","checkbox"],(function(){k.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=k.inArray(k(t).val(),e)>-1}},g.checkOn||(k.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}));var Oe=i.location,je={guid:Date.now()},De=/\?/;k.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{e=(new i.DOMParser).parseFromString(t,"text/xml")}catch(t){}return n=e&&e.getElementsByTagName("parsererror")[0],e&&!n||k.error("Invalid XML: "+(n?k.map(n.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var Le=/^(?:focusinfocus|focusoutblur)$/,Ie=function(t){t.stopPropagation()};k.extend(k.event,{trigger:function(t,e,n,r){var o,s,a,c,l,u,p,d,f=[n||_],m=h.call(t,"type")?t.type:t,g=h.call(t,"namespace")?t.namespace.split("."):[];if(s=d=a=n=n||_,3!==n.nodeType&&8!==n.nodeType&&!Le.test(m+k.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),l=m.indexOf(":")<0&&"on"+m,(t=t[k.expando]?t:new k.Event(m,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:k.makeArray(e,[t]),p=k.event.special[m]||{},r||!p.trigger||!1!==p.trigger.apply(n,e))){if(!r&&!p.noBubble&&!y(n)){for(c=p.delegateType||m,Le.test(c+m)||(s=s.parentNode);s;s=s.parentNode)f.push(s),a=s;a===(n.ownerDocument||_)&&f.push(a.defaultView||a.parentWindow||i)}for(o=0;(s=f[o++])&&!t.isPropagationStopped();)d=s,t.type=o>1?c:p.bindType||m,(u=(at.get(s,"events")||Object.create(null))[t.type]&&at.get(s,"handle"))&&u.apply(s,e),(u=l&&s[l])&&u.apply&&ot(s)&&(t.result=u.apply(s,e),!1===t.result&&t.preventDefault());return t.type=m,r||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(f.pop(),e)||!ot(n)||l&&v(n[m])&&!y(n)&&((a=n[l])&&(n[l]=null),k.event.triggered=m,t.isPropagationStopped()&&d.addEventListener(m,Ie),n[m](),t.isPropagationStopped()&&d.removeEventListener(m,Ie),k.event.triggered=void 0,a&&(n[l]=a)),t.result}},simulate:function(t,e,n){var i=k.extend(new k.Event,n,{type:t,isSimulated:!0});k.event.trigger(i,null,e)}}),k.fn.extend({trigger:function(t,e){return this.each((function(){k.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return k.event.trigger(t,e,n,!0)}});var Ne=/\[\]$/,Pe=/\r?\n/g,$e=/^(?:submit|button|image|reset|file)$/i,Fe=/^(?:input|select|textarea|keygen)/i;function qe(t,e,n,i){var r;if(Array.isArray(e))k.each(e,(function(e,r){n||Ne.test(t)?i(t,r):qe(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,n,i)}));else if(n||"object"!==x(e))i(t,e);else for(r in e)qe(t+"["+r+"]",e[r],n,i)}k.param=function(t,e){var n,i=[],r=function(t,e){var n=v(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!k.isPlainObject(t))k.each(t,(function(){r(this.name,this.value)}));else for(n in t)qe(n,t[n],e,r);return i.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=k.prop(this,"elements");return t?k.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!k(this).is(":disabled")&&Fe.test(this.nodeName)&&!$e.test(t)&&(this.checked||!kt.test(t))})).map((function(t,e){var n=k(this).val();return null==n?null:Array.isArray(n)?k.map(n,(function(t){return{name:e.name,value:t.replace(Pe,"\r\n")}})):{name:e.name,value:n.replace(Pe,"\r\n")}})).get()}});var Me=/%20/g,Re=/#.*$/,He=/([?&])_=[^&]*/,Be=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ue=/^(?:GET|HEAD)$/,We=/^\/\//,ze={},Ge={},Je="*/".concat("*"),Xe=_.createElement("a");function Ve(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(J)||[];if(v(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function Ke(t,e,n,i){var r={},o=t===Ge;function s(a){var c;return r[a]=!0,k.each(t[a]||[],(function(t,a){var l=a(e,n,i);return"string"!=typeof l||o||r[l]?o?!(c=l):void 0:(e.dataTypes.unshift(l),s(l),!1)})),c}return s(e.dataTypes[0])||!r["*"]&&s("*")}function Qe(t,e){var n,i,r=k.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&k.extend(!0,t,i),t}Xe.href=Oe.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Oe.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Oe.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Je,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":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Qe(Qe(t,k.ajaxSettings),e):Qe(k.ajaxSettings,t)},ajaxPrefilter:Ve(ze),ajaxTransport:Ve(Ge),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,r,o,s,a,c,l,u,p,d,h=k.ajaxSetup({},e),f=h.context||h,m=h.context&&(f.nodeType||f.jquery)?k(f):k.event,g=k.Deferred(),v=k.Callbacks("once memory"),y=h.statusCode||{},b={},w={},x="canceled",T={readyState:0,getResponseHeader:function(t){var e;if(l){if(!s)for(s={};e=Be.exec(o);)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?o:null},setRequestHeader:function(t,e){return null==l&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,b[t]=e),this},overrideMimeType:function(t){return null==l&&(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(l)T.always(t[T.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||x;return n&&n.abort(e),S(0,e),this}};if(g.promise(T),h.url=((t||h.url||Oe.href)+"").replace(We,Oe.protocol+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(J)||[""],null==h.crossDomain){c=_.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Xe.protocol+"//"+Xe.host!=c.protocol+"//"+c.host}catch(t){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=k.param(h.data,h.traditional)),Ke(ze,h,e,T),l)return T;for(p in(u=k.event&&h.global)&&0==k.active++&&k.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Ue.test(h.type),r=h.url.replace(Re,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Me,"+")):(d=h.url.slice(r.length),h.data&&(h.processData||"string"==typeof h.data)&&(r+=(De.test(r)?"&":"?")+h.data,delete h.data),!1===h.cache&&(r=r.replace(He,"$1"),d=(De.test(r)?"&":"?")+"_="+je.guid+++d),h.url=r+d),h.ifModified&&(k.lastModified[r]&&T.setRequestHeader("If-Modified-Since",k.lastModified[r]),k.etag[r]&&T.setRequestHeader("If-None-Match",k.etag[r])),(h.data&&h.hasContent&&!1!==h.contentType||e.contentType)&&T.setRequestHeader("Content-Type",h.contentType),T.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Je+"; q=0.01":""):h.accepts["*"]),h.headers)T.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(f,T,h)||l))return T.abort();if(x="abort",v.add(h.complete),T.done(h.success),T.fail(h.error),n=Ke(Ge,h,e,T)){if(T.readyState=1,u&&m.trigger("ajaxSend",[T,h]),l)return T;h.async&&h.timeout>0&&(a=i.setTimeout((function(){T.abort("timeout")}),h.timeout));try{l=!1,n.send(b,S)}catch(t){if(l)throw t;S(-1,t)}}else S(-1,"No Transport");function S(t,e,s,c){var p,d,_,b,w,x=e;l||(l=!0,a&&i.clearTimeout(a),n=void 0,o=c||"",T.readyState=t>0?4:0,p=t>=200&&t<300||304===t,s&&(b=function(t,e,n){for(var i,r,o,s,a=t.contents,c=t.dataTypes;"*"===c[0];)c.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){c.unshift(r);break}if(c[0]in n)o=c[0];else{for(r in n){if(!c[0]||t.converters[r+" "+c[0]]){o=r;break}s||(s=r)}o=o||s}if(o)return o!==c[0]&&c.unshift(o),n[o]}(h,T,s)),!p&&k.inArray("script",h.dataTypes)>-1&&k.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),b=function(t,e,n,i){var r,o,s,a,c,l={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)l[s.toLowerCase()]=t.converters[s];for(o=u.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!c&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),c=o,o=u.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(s=l[c+" "+o]||l["* "+o]))for(r in l)if((a=r.split(" "))[1]===o&&(s=l[c+" "+a[0]]||l["* "+a[0]])){!0===s?s=l[r]:!0!==l[r]&&(o=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+c+" to "+o}}}return{state:"success",data:e}}(h,b,T,p),p?(h.ifModified&&((w=T.getResponseHeader("Last-Modified"))&&(k.lastModified[r]=w),(w=T.getResponseHeader("etag"))&&(k.etag[r]=w)),204===t||"HEAD"===h.type?x="nocontent":304===t?x="notmodified":(x=b.state,d=b.data,p=!(_=b.error))):(_=x,!t&&x||(x="error",t<0&&(t=0))),T.status=t,T.statusText=(e||x)+"",p?g.resolveWith(f,[d,x,T]):g.rejectWith(f,[T,x,_]),T.statusCode(y),y=void 0,u&&m.trigger(p?"ajaxSuccess":"ajaxError",[T,h,p?d:_]),v.fireWith(f,[T,x]),u&&(m.trigger("ajaxComplete",[T,h]),--k.active||k.event.trigger("ajaxStop")))}return T},getJSON:function(t,e,n){return k.get(t,e,n,"json")},getScript:function(t,e){return k.get(t,void 0,e,"script")}}),k.each(["get","post"],(function(t,e){k[e]=function(t,n,i,r){return v(n)&&(r=r||i,i=n,n=void 0),k.ajax(k.extend({url:t,type:e,dataType:r,data:n,success:i},k.isPlainObject(t)&&t))}})),k.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),k._evalUrl=function(t,e,n){return k.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){k.globalEval(t,e,n)}})},k.fn.extend({wrapAll:function(t){var e;return this[0]&&(v(t)&&(t=t.call(this[0])),e=k(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 v(t)?this.each((function(e){k(this).wrapInner(t.call(this,e))})):this.each((function(){var e=k(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=v(t);return this.each((function(n){k(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){k(this).replaceWith(this.childNodes)})),this}}),k.expr.pseudos.hidden=function(t){return!k.expr.pseudos.visible(t)},k.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(t){}};var Ye={0:200,1223:204},Ze=k.ajaxSettings.xhr();g.cors=!!Ze&&"withCredentials"in Ze,g.ajax=Ze=!!Ze,k.ajaxTransport((function(t){var e,n;if(g.cors||Ze&&!t.crossDomain)return{send:function(r,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(s,r[s]);e=function(t){return function(){e&&(e=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Ye[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),n=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&i.setTimeout((function(){e&&n()}))},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),k.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),k.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 k.globalEval(t),t}}}),k.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),k.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(i,r){e=k("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),_.head.appendChild(e[0])},abort:function(){n&&n()}}}));var tn,en=[],nn=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=en.pop()||k.expando+"_"+je.guid++;return this[t]=!0,t}}),k.ajaxPrefilter("json jsonp",(function(t,e,n){var r,o,s,a=!1!==t.jsonp&&(nn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=v(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(nn,"$1"+r):!1!==t.jsonp&&(t.url+=(De.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return s||k.error(r+" was not called"),s[0]},t.dataTypes[0]="json",o=i[r],i[r]=function(){s=arguments},n.always((function(){void 0===o?k(i).removeProp(r):i[r]=o,t[r]&&(t.jsonpCallback=e.jsonpCallback,en.push(r)),s&&v(o)&&o(s[0]),s=o=void 0})),"script"})),g.createHTMLDocument=((tn=_.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===tn.childNodes.length),k.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(g.createHTMLDocument?((i=(e=_.implementation.createHTMLDocument("")).createElement("base")).href=_.location.href,e.head.appendChild(i)):e=_),o=!n&&[],(r=R.exec(t))?[e.createElement(r[1])]:(r=Lt([t],e,o),o&&o.length&&k(o).remove(),k.merge([],r.childNodes)));var i,r,o},k.fn.load=function(t,e,n){var i,r,o,s=this,a=t.indexOf(" ");return a>-1&&(i=ke(t.slice(a)),t=t.slice(0,a)),v(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),s.length>0&&k.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done((function(t){o=arguments,s.html(i?k("<div>").append(k.parseHTML(t)).find(i):t)})).always(n&&function(t,e){s.each((function(){n.apply(this,o||[t.responseText,e,t])}))}),this},k.expr.pseudos.animated=function(t){return k.grep(k.timers,(function(e){return t===e.elem})).length},k.offset={setOffset:function(t,e,n){var i,r,o,s,a,c,l=k.css(t,"position"),u=k(t),p={};"static"===l&&(t.style.position="relative"),a=u.offset(),o=k.css(t,"top"),c=k.css(t,"left"),("absolute"===l||"fixed"===l)&&(o+c).indexOf("auto")>-1?(s=(i=u.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(c)||0),v(e)&&(e=e.call(t,n,k.extend({},a))),null!=e.top&&(p.top=e.top-a.top+s),null!=e.left&&(p.left=e.left-a.left+r),"using"in e?e.using.call(t,p):u.css(p)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){k.offset.setOffset(this,t,e)}));var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.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,i=this[0],r={top:0,left:0};if("fixed"===k.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===k.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((r=k(t).offset()).top+=k.css(t,"borderTopWidth",!0),r.left+=k.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-k.css(i,"marginTop",!0),left:e.left-r.left-k.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===k.css(t,"position");)t=t.offsetParent;return t||mt}))}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var n="pageYOffset"===e;k.fn[t]=function(i){return tt(this,(function(t,i,r){var o;if(y(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===r)return o?o[e]:t[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):t[i]=r}),t,i,arguments.length)}})),k.each(["top","left"],(function(t,e){k.cssHooks[e]=te(g.pixelPosition,(function(t,n){if(n)return n=Zt(t,e),
2Xt.test(n)?k(t).position()[e]+"px":n}))})),k.each({Height:"height",Width:"width"},(function(t,e){k.each({padding:"inner"+t,content:e,"":"outer"+t},(function(n,i){k.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return tt(this,(function(e,n,r){var o;return y(e)?0===i.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===r?k.css(e,n,a):k.style(e,n,r,a)}),e,s?r:void 0,s)}}))})),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){k.fn[e]=function(t){return this.on(e,t)}})),k.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,i){return this.on(e,t,n,i)},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)}}),k.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){k.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}));var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;k.proxy=function(t,e){var n,i,r;if("string"==typeof e&&(n=t[e],e=t,t=n),v(t))return i=a.call(arguments,2),r=function(){return t.apply(e||this,i.concat(a.call(arguments)))},r.guid=t.guid=t.guid||k.guid++,r},k.holdReady=function(t){t?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=C,k.isFunction=v,k.isWindow=y,k.camelCase=rt,k.type=x,k.now=Date.now,k.isNumeric=function(t){var e=k.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},k.trim=function(t){return null==t?"":(t+"").replace(rn,"$1")},void 0===(n=function(){return k}.apply(e,[]))||(t.exports=n);var on=i.jQuery,sn=i.$;return k.noConflict=function(t){return i.$===k&&(i.$=sn),t&&i.jQuery===k&&(i.jQuery=on),k},void 0===r&&(i.jQuery=i.$=k),k}))},4693:(t,e,n)=>{"use strict";n.d(e,{T:()=>i});const i="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},3741:(t,e,n)=>{"use strict";n.d(e,{_:()=>c});var i=n(2433);const r=n(9085).O;var o=n(179),s=n(4910);let a;function c(t){const e="history";(0,i.s5)(e,t),(0,i.AS)(e,l)}function l(){if(!function(){const t=r.chrome,e=t&&t.app&&t.app.runtime,n="history"in r&&!!r.history.pushState&&!!r.history.replaceState;return!e&&n}())return;const t=s.j.onpopstate;function e(t){return function(...e){const n=e.length>2?e[2]:void 0;if(n){const t=a,e=String(n);a=e;const r={from:t,to:e};(0,i.aj)("history",r)}return t.apply(this,e)}}s.j.onpopstate=function(...e){const n=s.j.location.href,r=a;a=n;const o={from:r,to:n};if((0,i.aj)("history",o),t)try{return t.apply(this,e)}catch(t){}},(0,o.GS)(s.j.history,"pushState",e),(0,o.GS)(s.j.history,"replaceState",e)}},5947:(t,e,n)=>{"use strict";n.d(e,{Er:()=>a,Mn:()=>c});var i=n(2433),r=n(1305),o=n(6752),s=n(4910);const a="__sentry_xhr_v3__";function c(t){(0,i.s5)("xhr",t),(0,i.AS)("xhr",l)}function l(){if(!s.j.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;t.open=new Proxy(t.open,{apply(t,e,n){const s=1e3*(0,r.zf)(),c=(0,o.Kg)(n[0])?n[0].toUpperCase():void 0,l=function(t){if((0,o.Kg)(t))return t;try{return t.toString()}catch(t){}return}(n[1]);if(!c||!l)return t.apply(e,n);e[a]={method:c,url:l,request_headers:{}},"POST"===c&&l.match(/sentry_key/)&&(e.__sentry_own_request__=!0);const u=()=>{const t=e[a];if(t&&4===e.readyState){try{t.status_code=e.status}catch(t){}const n={endTimestamp:1e3*(0,r.zf)(),startTimestamp:s,xhr:e};(0,i.aj)("xhr",n)}};return"onreadystatechange"in e&&"function"==typeof e.onreadystatechange?e.onreadystatechange=new Proxy(e.onreadystatechange,{apply:(t,e,n)=>(u(),t.apply(e,n))}):e.addEventListener("readystatechange",u),e.setRequestHeader=new Proxy(e.setRequestHeader,{apply(t,e,n){const[i,r]=n,s=e[a];return s&&(0,o.Kg)(i)&&(0,o.Kg)(r)&&(s.request_headers[i.toLowerCase()]=r),t.apply(e,n)}}),t.apply(e,n)}}),t.send=new Proxy(t.send,{apply(t,e,n){const o=e[a];if(!o)return t.apply(e,n);void 0!==n[0]&&(o.body=n[0]);const s={startTimestamp:1e3*(0,r.zf)(),xhr:e};return(0,i.aj)("xhr",s),t.apply(e,n)}})}},4910:(t,e,n)=>{"use strict";n.d(e,{j:()=>i});const i=n(9085).O},9431:(t,e,n)=>{"use strict";n.d(e,{T:()=>i});const i="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},452:(t,e,n)=>{"use strict";n.d(e,{LV:()=>p,jN:()=>u,jf:()=>c});var i=n(7968),r=n(4251),o=n(9085),s=n(179),a=n(9888);const c=o.O;let l=0;function u(){return l>0}function p(t,e={}
2,n){if("function"!=typeof t)return t;try{const e=t.__sentry_wrapped__;if(e)return"function"==typeof e?e:t;if((0,s.sp)(t))return t}catch(e){return t}const o=function(){const n=Array.prototype.slice.call(arguments);try{const i=n.map((t=>p(t,e)));return t.apply(this,i)}catch(t){throw l++,setTimeout((()=>{l--})),(0,i.v4)((i=>{i.addEventProcessor((t=>(e.mechanism&&((0,a.gO)(t,void 0,void 0),(0,a.M6)(t,e.mechanism)),t.extra={...t.extra,arguments:n},t))),(0,r.Cp)(t)})),t}};try{for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(o[e]=t[e])}catch(t){}(0,s.pO)(o,t),(0,s.my)(t,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:()=>t.name})}catch(t){}return o}},5346:(t,e,n)=>{"use strict";n.d(e,{Ts:()=>ue});var i=n(3932),r=n(9888),o=n(6013),s=n(6674);const a=[];function c(t){const e=t.defaultIntegrations||[],n=t.integrations;let i;e.forEach((t=>{t.isDefaultInstance=!0})),i=Array.isArray(n)?[...e,...n]:"function"==typeof n?(0,r.k9)(n(e)):e;const o=function(t){const e={};return t.forEach((t=>{const{name:n}=t,i=e[n];i&&!i.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)})),Object.values(e)}(i),s=o.findIndex((t=>"Debug"===t.name));if(s>-1){const[t]=o.splice(s,1);o.push(t)}return o}function l(t,e){for(const n of e)n&&n.afterAllSetup&&n.afterAllSetup(t)}function u(t,e,n){if(n[e.name])s.T&&i.vF.log(`Integration skipped because it was already installed: ${e.name}`);else{if(n[e.name]=e,-1===a.indexOf(e.name)&&"function"==typeof e.setupOnce&&(e.setupOnce(),a.push(e.name)),e.setup&&"function"==typeof e.setup&&e.setup(t),"function"==typeof e.preprocessEvent){const n=e.preprocessEvent.bind(e);t.on("preprocessEvent",((e,i)=>n(e,i,t)))}if("function"==typeof e.processEvent){const n=e.processEvent.bind(e),i=Object.assign(((e,i)=>n(e,i,t)),{id:e.name});t.addEventProcessor(i)}s.T&&i.vF.log(`Integration installed: ${e.name}`)}}const p=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler"],d=(t={})=>({name:"InboundFilters",processEvent(e,n,a){const c=a.getOptions(),l=function(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:p],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(t,c);return function(t,e){if(e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t))return s.T&&i.vF.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,r.$X)(t)}`),!0;if(function(t,e){if(t.type||!e||!e.length)return!1;return function(t){const e=[];t.message&&e.push(t.message);let n;try{n=t.exception.values[t.exception.values.length-1]}catch(t){}n&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`));return e}(t).some((t=>(0,o.Xr)(t,e)))}(t,e.ignoreErrors))return s.T&&i.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,r.$X)(t)}`),!0;if(function(t){if(t.type)return!1;if(!t.exception||!t.exception.values||0===t.exception.values.length)return!1;return!t.message&&!t.exception.values.some((t=>t.stacktrace||t.type&&"Error"!==t.type||t.value))}(t))return s.T&&i.vF.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${(0,r.$X)(t)}`),!0;if(function(t,e){if("transaction"!==t.type||!e||!e.length)return!1;const n=t.transaction;return!!n&&(0,o.Xr)(n,e)}(t,e.ignoreTransactions))return s.T&&i.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,r.$X)(t)}`),!0;if(function(t,e){if(!e||!e.length)return!1;const n=h(t);return!!n&&(0,o.Xr)(n,e)}(t,e.denyUrls))return s.T&&i.vF.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,r.$X)(t)}.\nUrl: ${h(t)}`),!0;if(!function(t,e){if(!e||!e.length)return!0;const n=h(t);return!n||(0,o.Xr)(n,e)}(t,e.allowUrls))return s.T&&i.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,r.$X)(t)}.\nUrl: ${h(t)}`),!0;return!1}(e,l)?null:e}});function h(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(e):null}catch(e){return s.T&&i.vF.error(`Cannot extract url for event ${(0,r.$X)(t)}`),null}}var f=n(179),m=n(7968);let g;const v=new WeakMap,y=()=>({name:"FunctionToString",setupOnce(){g=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=(0,f.sp)(this),n=v.has((0,m.KU)())&&void 0!==e?e:this;return g.apply(n,t)}}catch(t){}},setup(t){v.set(t,!0)}});var _=n(6453);const b=()=>{let t;return{name:"Dedupe",processEvent(e){if(e.type)return e;try{if(function(t,e){if(!e)return!1;if(function(t,e){const n=t.message,i=e.message;if(!n&&!i)return!1;if(n&&!i||!n&&i)return!1;if(n!==i)return!1;if(!x(t,e))return!1;if(!w(t,e))return!1;return!0}(t,e))return!0;
2if(function(t,e){const n=T(e),i=T(t);if(!n||!i)return!1;if(n.type!==i.type||n.value!==i.value)return!1;if(!x(t,e))return!1;if(!w(t,e))return!1;return!0}(t,e))return!0;return!1}(e,t))return s.T&&i.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){}return t=e}}};function w(t,e){let n=(0,_.RV)(t),i=(0,_.RV)(e);if(!n&&!i)return!0;if(n&&!i||!n&&i)return!1;if(i.length!==n.length)return!1;for(let t=0;t<i.length;t++){const e=i[t],r=n[t];if(e.filename!==r.filename||e.lineno!==r.lineno||e.colno!==r.colno||e.function!==r.function)return!1}return!0}function x(t,e){let n=t.fingerprint,i=e.fingerprint;if(!n&&!i)return!0;if(n&&!i||!n&&i)return!1;try{return!(n.join("")!==i.join(""))}catch(t){return!1}}function T(t){return t.exception&&t.exception.values&&t.exception.values[0]}function S(t,e){!0===e.debug&&(s.T?i.vF.enable():(0,i.pq)((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})));(0,m.o5)().update(e.initialScope);const n=new t(e);return function(t){(0,m.o5)().setClient(t)}(n),n.init(),n}var k=n(4251),E=n(2544),C=n(3741),A=n(1447),O=n(6752),j=n(1114),D=n(4984);class L extends Error{constructor(t,e="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=e}}var I=n(1305);function N(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function P(t,e,n){return e||`${function(t){return`${N(t)}${t.projectId}/envelope/`}(t)}?${function(t,e){return(0,f.u4)({sentry_key:t.publicKey,sentry_version:"7",...e&&{sentry_client:`${e.name}/${e.version}`}})}(t,n)}`}var $=n(5330),F=n(9328),q=n(1158),M=n(1773),R=n(204);const H="Not capturing exception because it's already been captured.";class B{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=(0,A.AD)(t.dsn):s.T&&i.vF.warn("No DSN provided, client will not send events."),this._dsn){const e=P(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}}captureException(t,e,n){const o=(0,r.eJ)();if((0,r.GR)(t))return s.T&&i.vF.log(H),o;const a={event_id:o,...e};return this._process(this.eventFromException(t,a).then((t=>this._captureEvent(t,a,n)))),a.event_id}captureMessage(t,e,n,i){const o={event_id:(0,r.eJ)(),...n},s=(0,O.NF)(t)?t:String(t),a=(0,O.sO)(t)?this.eventFromMessage(s,e,o):this.eventFromException(t,o);return this._process(a.then((t=>this._captureEvent(t,o,i)))),o.event_id}captureEvent(t,e,n){const o=(0,r.eJ)();if(e&&e.originalException&&(0,r.GR)(e.originalException))return s.T&&i.vF.log(H),o;const a={event_id:o,...e},c=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,a,c||n)),a.event_id}captureSession(t){"string"!=typeof t.release?s.T&&i.vF.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),(0,F.qO)(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const e=this._transport;
2return e?(this.emit("flush"),this._isClientDoneProcessing(t).then((n=>e.flush(t).then((t=>n&&t))))):(0,j.XW)(!0)}close(t){return this.flush(t).then((t=>(this.getOptions().enabled=!1,this.emit("close"),t)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some((({name:t})=>t.startsWith("Spotlight"))))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const e=this._integrations[t.name];u(this,t,this._integrations),e||l(this,[t])}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);let n=(0,$.V7)(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of e.attachments||[])n=(0,D.W3)(n,(0,D.bm)(t));const i=this.sendEnvelope(n);i&&i.then((e=>this.emit("afterSendEvent",t,e)),null)}sendSession(t){const e=(0,$.LE)(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(e)}recordDroppedEvent(t,e,n){if(this._options.sendClientReports){const r="number"==typeof n?n:1,o=`${t}:${e}`;s.T&&i.vF.log(`Recording outcome: "${o}"${r>1?` (${r} times)`:""}`),this._outcomes[o]=(this._outcomes[o]||0)+r}}on(t,e){const n=this._hooks[t]=this._hooks[t]||[];return n.push(e),()=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)}}emit(t,...e){const n=this._hooks[t];n&&n.forEach((t=>t(...e)))}sendEnvelope(t){return this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport?this._transport.send(t).then(null,(t=>(s.T&&i.vF.error("Error while sending envelope:",t),t))):(s.T&&i.vF.error("Transport disabled"),(0,j.XW)({}))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=function(t,e){const n={};return e.forEach((e=>{e&&u(t,e,n)})),n}(this,t),l(this,t)}_updateSessionFromEvent(t,e){let n=!1,i=!1;const r=e.exception&&e.exception.values;if(r){i=!0;for(const t of r){const e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}}const o="ok"===t.status;(o&&0===t.errors||o&&n)&&((0,F.qO)(t,{...n&&{status:"crashed"},errors:t.errors||Number(i||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new j.T2((e=>{let n=0;const i=setInterval((()=>{0==this._numProcessing?(clearInterval(i),e(!0)):(n+=1,t&&n>=t&&(clearInterval(i),e(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(t,e,n,i=(0,m.rm)()){const r=this.getOptions(),o=Object.keys(this._integrations);return!e.integrations&&o.length>0&&(e.integrations=o),this.emit("preprocessEvent",t,e),t.type||i.setLastEventId(t.event_id||e.event_id),(0,R.mG)(r,t,e,n,this,i).then((t=>{if(null===t)return t;const e={...i.getPropagationContext(),...n?n.getPropagationContext():void 0};if(!(t.contexts&&t.contexts.trace)&&e){const{traceId:n,spanId:i,parentSpanId:r,dsc:o}=e;t.contexts={trace:(0,f.Ce)({trace_id:n,span_id:i,parent_span_id:r}),...t.contexts};const s=o||(0,q.lF)(n,this);t.sdkProcessingMetadata={dynamicSamplingContext:s,...t.sdkProcessingMetadata}}return t}))}_captureEvent(t,e={},n){return this._processEvent(t,e,n).then((t=>t.event_id),(t=>{if(s.T){const e=t;"log"===e.logLevel?i.vF.log(e.message):i.vF.warn(e)}}))}_processEvent(t,e,n){const i=this.getOptions(),{sampleRate:r}=i,o=W(t),s=U(t),a=t.type||"error",c=`before send for type \`${a}\``,l=void 0===r?void 0:(0,M.i)(r);if(s&&"number"==typeof l&&Math.random()>l)return this.recordDroppedEvent("sample_rate","error",t),(0,j.xg)(new L(`Discarding event because it's not included in the random sample (sampling rate = ${r})`,"log"));const u="replay_event"===a?"replay":a,p=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,e,n,p).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",u,t),new L("An event processor returned `null`, will not send event.","log");if(e.data&&!0===e.data.__sentry__)return n;const r=function(t,e,n,i){const{beforeSend:r,beforeSendTransaction:o,beforeSendSpan:s}=e;if(U(n)&&r)return r(n,i);if(W(n)){if(n.spans&&s){const e=[];for(const i of n.spans){const n=s(i);n?e.push(n):t.recordDroppedEvent("before_send","span")}n.spans=e}if(o){if(n.spans){const t=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:t}}return o(n,i)}}return n}(this,i,n,e);return function(t,e){const n=`${e} must return \`null\` or a valid event.`;if((0,O.Qg)(t))return t.then((t=>{if(!(0,O.Qd)(t)&&null!==t)throw new L(n);return t}),(t=>{throw new L(`${e} rejected with ${t}`)}));if(!(0,O.Qd)(t)&&null!==t)throw new L(n);return t}(r,c)})).then((i=>
2{if(null===i){if(this.recordDroppedEvent("before_send",u,t),o){const e=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",e)}throw new L(`${c} returned \`null\`, will not send event.`,"log")}const r=n&&n.getSession();if(!o&&r&&this._updateSessionFromEvent(r,i),o){const t=(i.sdkProcessingMetadata&&i.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);t>0&&this.recordDroppedEvent("before_send","span",t)}const s=i.transaction_info;if(o&&s&&i.transaction!==t.transaction){const t="custom";i.transaction_info={...s,source:t}}return this.sendEvent(i,e),i})).then(null,(t=>{if(t instanceof L)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new L(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${t}`)}))}_process(t){this._numProcessing++,t.then((t=>(this._numProcessing--,t)),(t=>(this._numProcessing--,t)))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map((([t,e])=>{const[n,i]=t.split(":");return{reason:n,category:i,quantity:e}}))}_flushOutcomes(){s.T&&i.vF.log("Flushing outcomes...");const t=this._clearOutcomes();if(0===t.length)return void(s.T&&i.vF.log("No outcomes to send"));if(!this._dsn)return void(s.T&&i.vF.log("No dsn provided, will not send outcomes"));s.T&&i.vF.log("Sending outcomes:",t);const e=function(t,e,n){const i=[{type:"client_report"},{timestamp:n||(0,I.lu)(),discarded_events:t}];return(0,D.h4)(e?{dsn:e}:{},[i])}(t,this._options.tunnel&&(0,A.SB)(this._dsn));this.sendEnvelope(e)}}function U(t){return void 0===t.type}function W(t){return"transaction"===t.type}var z=n(8074);var G=n(9431),J=n(6845);function X(t,e){const n=Q(t,e),i={type:tt(e),value:et(e)};return n.length&&(i.stacktrace={frames:n}),void 0===i.type&&""===i.value&&(i.value="Unrecoverable error caught"),i}function V(t,e,n,i){const r=(0,m.KU)(),o=r&&r.getOptions().normalizeDepth,s=function(t){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];if(n instanceof Error)return n}return}(e),a={__serialized__:(0,J.cd)(e,o)};if(s)return{exception:{values:[X(t,s)]},extra:a};const c={exception:{values:[{type:(0,O.xH)(e)?e.constructor.name:i?"UnhandledRejection":"Error",value:rt(e,{isUnhandledRejection:i})}]},extra:a};if(n){const e=Q(t,n);e.length&&(c.exception.values[0].stacktrace={frames:e})}return c}function K(t,e){return{exception:{values:[X(t,e)]}}}function Q(t,e){const n=e.stacktrace||e.stack||"",i=function(t){if(t&&Y.test(t.message))return 1;return 0}(e),r=function(t){if("number"==typeof t.framesToPop)return t.framesToPop;return 0}(e);try{return t(n,i,r)}catch(t){}return[]}const Y=/Minified React error #\d+;/i;function Z(t){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&t instanceof WebAssembly.Exception}function tt(t){const e=t&&t.name;if(!e&&Z(t)){return t.message&&Array.isArray(t.message)&&2==t.message.length?t.message[0]:"WebAssembly.Exception"}return e}function et(t){const e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:Z(t)&&Array.isArray(t.message)&&2==t.message.length?t.message[1]:e:"No error message"}function nt(t,e,n,i,o){let s;if((0,O.T2)(e)&&e.error){return K(t,e.error)}if((0,O.BD)(e)||(0,O.W6)(e)){const o=e;if("stack"in e)s=K(t,e);else{const e=o.name||((0,O.BD)(o)?"DOMError":"DOMException"),a=o.message?`${e}: ${o.message}`:e;s=it(t,a,n,i),(0,r.gO)(s,a)}return"code"in o&&(s.tags={...s.tags,"DOMException.code":`${o.code}`}),s}if((0,O.bJ)(e))return K(t,e);if((0,O.Qd)(e)||(0,O.xH)(e)){return s=V(t,e,n,o),(0,r.M6)(s,{synthetic:!0}),s}return s=it(t,e,n,i),(0,r.gO)(s,`${e}`,void 0),(0,r.M6)(s,{synthetic:!0}),s}function it(t,e,n,i){const r={};if(i&&n){const i=Q(t,n);i.length&&(r.exception={values:[{value:e,stacktrace:{frames:i}}]})}if((0,O.NF)(e)){const{__sentry_template_string__:t,__sentry_template_values__:n}=e;return r.logentry={message:t,params:n},r}return r.message=e,r}function rt(t,{isUnhandledRejection:e}){const n=(0,f.HF)(t),i=e?"promise rejection":"exception";if((0,O.T2)(t))return`Event \`ErrorEvent\` captured as ${i} with message \`${t.message}\``;if((0,O.xH)(t)){return`Event \`${function(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch(t){}}(t)}\` (type=${t.type}) captured as ${i}`}return`Object captured as ${i} with keys: ${n}`}var ot=n(452);class st extends B{constructor(t){const e={parentSpanIsAlwaysRootSpan:!0,...t};!function(t,e,n=[e],i="npm"){const r=t._metadata||{};r.sdk||(r.sdk={name:`sentry.javascript.${e}`,packages:n.map((t=>({name:`${i}:@sentry/${t}`,version:z.M}))),version:z.M}),t._metadata=r}(e,"browser",["browser"],ot.jf.SENTRY_SDK_SOURCE||"npm"),super(e),e.sendClientReports&&ot.jf.document&&ot.jf.document.addEventListener("visibilitychange",(()=>{"hidden"===ot.jf.document.visibilityState&&this._flushOutcomes()}))}eventFromException(t,e){return function(t,e,n,i){const o=nt(t,e,n&&n.syntheticException||void 0,i);return(0,r.M6)(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),(0,j.XW)(o)}(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return function(t,e,n="info",i,r){const o=it(t,e,i&&i.syntheticException||void 0,r);return o.level=n,i&&i.event_id&&(o.event_id=i.event_id),(0,j.XW)(o)}(this._options.stackParser,t,e,n,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled())return void(G.T&&i.vF.warn("SDK not enabled, will not capture user feedback."));const e=function(t,{metadata:e,tunnel:n,dsn:i}){const r={event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&e.sdk&&{sdk:{name:e.sdk.name,version:e.sdk.version}},...!!n&&!!i&&{dsn:(0,A.SB)(i)}},o=function(t){return[{type:"user_report"},t]}(t);return(0,D.h4)(r,[o])}(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}}var at=n(2433),ct=n(4910);let lt,ut,pt;function dt(){if(!ct.j.document)return;const t=at.aj.bind(null,"dom"),e=ht(t,!0);ct.j.document.addEventListener("click",e,!1),ct.j.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((e=>{const n=ct.j[e]&&ct.j[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,f.GS)(n,"addEventListener",(function(e){return function(n,i,r){if("click"===n||"keypress"==n)try{const i=this,o=i.__sentry_instrumentation_handlers__=i.__sentry_instrumentation_handlers__||{},s=o[n]=o[n]||{refCount:0};if(!s.handler){const i=ht(t);s.handler=i,e.call(this,n,i,r)}s.refCount++}catch(t){}return e.call(this,n,i,r)}}
2)),(0,f.GS)(n,"removeEventListener",(function(t){return function(e,n,i){if("click"===e||"keypress"==e)try{const n=this,r=n.__sentry_instrumentation_handlers__||{},o=r[e];o&&(o.refCount--,o.refCount<=0&&(t.call(this,e,o.handler,i),o.handler=void 0,delete r[e]),0===Object.keys(r).length&&delete n.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,i)}})))}))}function ht(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const i=function(t){try{return t.target}catch(t){return null}}(n);if(function(t,e){return"keypress"===t&&(!e||!e.tagName||"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName&&!e.isContentEditable)}(n.type,i))return;(0,f.my)(n,"_sentryCaptured",!0),i&&!i._sentryId&&(0,f.my)(i,"_sentryId",(0,r.eJ)());const o="keypress"===n.type?"input":n.type;if(!function(t){if(t.type!==ut)return!1;try{if(!t.target||t.target._sentryId!==pt)return!1}catch(t){}return!0}(n)){t({event:n,name:o,global:e}),ut=n.type,pt=i?i._sentryId:void 0}clearTimeout(lt),lt=ct.j.setTimeout((()=>{pt=void 0,ut=void 0}),1e3)}}var ft=n(5947);const mt=100;function gt(t,e){const n=(0,m.KU)(),r=(0,m.rm)();if(!n)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:s=mt}=n.getOptions();if(s<=0)return;const a={timestamp:(0,I.lu)(),...t},c=o?(0,i.pq)((()=>o(a,e))):a;null!==c&&(n.emit&&n.emit("beforeAddBreadcrumb",c,e),r.addBreadcrumb(c,s))}var vt=n(9085);function yt(){"console"in vt.O&&i.Ow.forEach((function(t){t in vt.O.console&&(0,f.GS)(vt.O.console,t,(function(e){return i.Z9[t]=e,function(...e){const n={args:e,level:t};(0,at.aj)("console",n);const r=i.Z9[t];r&&r.apply(vt.O.console,e)}}))}))}var _t=n(1098),bt=n(5166);const wt=["fatal","error","warning","log","info","debug"];function xt(t){return"warn"===t?"warning":wt.includes(t)?t:"log"}function Tt(t){return void 0===t?void 0:t>=400&&t<500?"warning":t>=500?"error":void 0}var St=n(8039);const kt=1024,Et=(t={})=>{const e={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:"Breadcrumbs",setup(t){var n;e.console&&function(t){const e="console";(0,at.s5)(e,t),(0,at.AS)(e,yt)}(function(t){return function(e){if((0,m.KU)()!==t)return;const n={category:"console",data:{arguments:e.args,logger:"console"},level:xt(e.level),message:(0,o.gt)(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;n.message=`Assertion failed: ${(0,o.gt)(e.args.slice(1)," ")||"console.assert"}`,n.data.arguments=e.args.slice(1)}gt(n,{input:e.args,level:e.level})}}(t)),e.dom&&(n=function(t,e){return function(n){if((0,m.KU)()!==t)return;let r,o,s="object"==typeof e?e.serializeAttribute:void 0,a="object"==typeof e&&"number"==typeof e.maxStringLength?e.maxStringLength:void 0;a&&a>kt&&(G.T&&i.vF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=kt),"string"==typeof s&&(s=[s]);try{const t=n.event,e=function(t){return!!t&&!!t.target}(t)?t.target:t;r=(0,bt.Hd)(e,{keyAttrs:s,maxStringLength:a}),o=(0,bt.xE)(e)}catch(t){r="<unknown>"}if(0===r.length)return;const c={category:`ui.${n.name}`,message:r};o&&(c.data={"ui.component_name":o}),gt(c,{event:n.event,name:n.name,global:n.global})}}(t,e.dom),(0,at.s5)("dom",n),(0,at.AS)("dom",dt)),e.xhr&&(0,ft.Mn)(function(t){return function(e){if((0,m.KU)()!==t)return;const{startTimestamp:n,endTimestamp:i}=e,r=e.xhr[ft.Er];if(!n||!i||!r)return;const{method:o,url:s,status_code:a,body:c}=r,l={method:o,url:s,status_code:a},u={xhr:e.xhr,input:c,startTimestamp:n,endTimestamp:i};gt({category:"xhr",data:l,type:"http",level:Tt(a)},u)}}(t)),e.fetch&&(0,_t.ur)(function(t){return function(e){if((0,m.KU)()!==t)return;const{startTimestamp:n,endTimestamp:i}=e;if(i&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){gt({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args,startTimestamp:n,endTimestamp:i})}else{const t=e.response,r={...e.fetchData,status_code:t&&t.status},o={input:e.args,response:t,startTimestamp:n,endTimestamp:i};gt({category:"fetch",data:r,type:"http",level:Tt(r.status_code)},o)}}}(t)),e.history&&(0,C._)(function(t){return function(e){if((0,m.KU)()!==t)return;let n=e.from,i=e.to;const r=(0,St.Dl)(ot.jf.location.href);let o=n?(0,St.Dl)(n):void 0;const s=(0,St.Dl)(i);o&&o.path||(o=r),r.protocol===s.protocol&&r.host===s.host&&(i=s.relative),r.protocol===o.protocol&&r.host===o.host&&(n=o.relative),gt({category:"navigation",data:{from:n,to:i}})}}(t)),e.sentry&&t.on("beforeSendEvent",function(t){return function(e){(0,m.KU)()===t&&gt({category:"sentry."+("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:(0,r.$X)(e)},{event:e})}}(t))}}};const Ct=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],At=(t={})=>{const e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t};return{name:"BrowserApiErrors",setupOnce(){e.setTimeout&&(0,f.GS
2)(ot.jf,"setTimeout",Ot),e.setInterval&&(0,f.GS)(ot.jf,"setInterval",Ot),e.requestAnimationFrame&&(0,f.GS)(ot.jf,"requestAnimationFrame",jt),e.XMLHttpRequest&&"XMLHttpRequest"in ot.jf&&(0,f.GS)(XMLHttpRequest.prototype,"send",Dt);const t=e.eventTarget;if(t){(Array.isArray(t)?t:Ct).forEach(Lt)}}}};function Ot(t){return function(...e){const n=e[0];return e[0]=(0,ot.LV)(n,{mechanism:{data:{function:(0,_.qQ)(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function jt(t){return function(e){return t.apply(this,[(0,ot.LV)(e,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,_.qQ)(t)},handled:!1,type:"instrument"}})])}}function Dt(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((t=>{t in n&&"function"==typeof n[t]&&(0,f.GS)(n,t,(function(e){const n={mechanism:{data:{function:t,handler:(0,_.qQ)(e)},handled:!1,type:"instrument"}},i=(0,f.sp)(e);return i&&(n.mechanism.data.handler=(0,_.qQ)(i)),(0,ot.LV)(e,n)}))})),t.apply(this,e)}}function Lt(t){const e=ot.jf,n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,f.GS)(n,"addEventListener",(function(e){return function(n,i,r){try{"function"==typeof i.handleEvent&&(i.handleEvent=(0,ot.LV)(i.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,_.qQ)(i),target:t},handled:!1,type:"instrument"}}))}catch(t){}return e.apply(this,[n,(0,ot.LV)(i,{mechanism:{data:{function:"addEventListener",handler:(0,_.qQ)(i),target:t},handled:!1,type:"instrument"}}),r])}})),(0,f.GS)(n,"removeEventListener",(function(t){return function(e,n,i){const r=n;try{const n=r&&r.__sentry_wrapped__;n&&t.call(this,e,n,i)}catch(t){}return t.call(this,e,r,i)}})))}var It=n(7397),Nt=n(2221);const Pt=(t={})=>{const e={onerror:!0,onunhandledrejection:!0,...t};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(t){e.onerror&&(!function(t){(0,It.L)((e=>{const{stackParser:n,attachStacktrace:i}=Ft();if((0,m.KU)()!==t||(0,ot.jN)())return;const{msg:r,url:o,line:s,column:a,error:c}=e,l=function(t,e,n,i){const r=t.exception=t.exception||{},o=r.values=r.values||[],s=o[0]=o[0]||{},a=s.stacktrace=s.stacktrace||{},c=a.frames=a.frames||[],l=isNaN(parseInt(i,10))?void 0:i,u=isNaN(parseInt(n,10))?void 0:n,p=(0,O.Kg)(e)&&e.length>0?e:(0,bt.$N)();0===c.length&&c.push({colno:l,filename:p,function:_.yF,in_app:!0,lineno:u});return t}(nt(n,c||r,void 0,i,!1),o,s,a);l.level="error",(0,k.r)(l,{originalException:c,mechanism:{handled:!1,type:"onerror"}})}))}(t),$t("onerror")),e.onunhandledrejection&&(!function(t){(0,Nt.r)((e=>{const{stackParser:n,attachStacktrace:i}=Ft();if((0,m.KU)()!==t||(0,ot.jN)())return;const r=function(t){if((0,O.sO)(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch(t){}return t}(e),o=(0,O.sO)(r)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(r)}`}]}}:nt(n,r,void 0,i,!0);o.level="error",(0,k.r)(o,{originalException:r,mechanism:{handled:!1,type:"onunhandledrejection"}})}))}(t),$t("onunhandledrejection"))}}};function $t(t){G.T&&i.vF.log(`Global Handler attached: ${t}`)}function Ft(){const t=(0,m.KU)();return t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const qt=()=>({name:"HttpContext",preprocessEvent(t){if(!ot.jf.navigator&&!ot.jf.location&&!ot.jf.document)return;const e=t.request&&t.request.url||ot.jf.location&&ot.jf.location.href,{referrer:n}=ot.jf.document||{},{userAgent:i}=ot.jf.navigator||{},r={...t.request&&t.request.headers,...n&&{Referer:n},...i&&{"User-Agent":i}},o={...t.request,...e&&{url:e},headers:r};t.request=o}});function Mt(t,e,n=250,i,r,s,a){if(!(s.exception&&s.exception.values&&a&&(0,O.tH)(a.originalException,Error)))return;const c=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;var l,u;c&&(s.exception.values=(l=Rt(t,e,r,a.originalException,i,s.exception.values,c,0),u=n,l.map((t=>(t.value&&(t.value=(0,o.xv)(t.value,u)),t)))))}function Rt(t,e,n,i,r,o,s,a){if(o.length>=n+1)return o;let c=[...o];if((0,O.tH)(i[r],Error)){Ht(s,a);const o=t(e,i[r]),l=c.length;Bt(o,r,l,a),c=Rt(t,e,n,i[r],r,[o,...c],o,l)}
2return Array.isArray(i.errors)&&i.errors.forEach(((i,o)=>{if((0,O.tH)(i,Error)){Ht(s,a);const l=t(e,i),u=c.length;Bt(l,`errors[${o}]`,u,a),c=Rt(t,e,n,i,r,[l,...c],l,u)}})),c}function Ht(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,..."AggregateError"===t.type&&{is_exception_group:!0},exception_id:e}}function Bt(t,e,n,i){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:i}}const Ut=(t={})=>{const e=t.limit||5,n=t.key||"cause";return{name:"LinkedErrors",preprocessEvent(t,i,r){const o=r.getOptions();Mt(X,o.stackParser,o.maxValueLength,n,e,t,i)}}};function Wt(t,e,n,i){const r={filename:t,function:"<anonymous>"===e?_.yF:e,in_app:!0};return void 0!==n&&(r.lineno=n),void 0!==i&&(r.colno=i),r}const zt=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Gt=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Jt=/\((\S*)(?::(\d+))(?::(\d+))\)/,Xt=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Vt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Kt=[[30,t=>{const e=zt.exec(t);if(e){const[,t,n,i]=e;return Wt(t,_.yF,+n,+i)}const n=Gt.exec(t);if(n){if(n[2]&&0===n[2].indexOf("eval")){const t=Jt.exec(n[2]);t&&(n[2]=t[1],n[3]=t[2],n[4]=t[3])}const[t,e]=Yt(n[1]||_.yF,n[2]);return Wt(e,t,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,t=>{const e=Xt.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const t=Vt.exec(e[3]);t&&(e[1]=e[1]||"eval",e[3]=t[1],e[4]=t[2],e[5]="")}let t=e[3],n=e[1]||_.yF;return[n,t]=Yt(n,t),Wt(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}]],Qt=(0,_.gd)(...Kt),Yt=(t,e)=>{const n=-1!==t.indexOf("safari-extension"),i=-1!==t.indexOf("safari-web-extension");return n||i?[-1!==t.indexOf("@")?t.split("@")[0]:_.yF,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]};var Zt=n(4693);const te={};function ee(t){const e=te[t];if(e)return e;let n=ct.j[t];if((0,E.a3)(n))return te[t]=n.bind(ct.j);const r=ct.j.document;if(r&&"function"==typeof r.createElement)try{const e=r.createElement("iframe");e.hidden=!0,r.head.appendChild(e);const i=e.contentWindow;i&&i[t]&&(n=i[t]),r.head.removeChild(e)}catch(e){Zt.T&&i.vF.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,e)}return n?te[t]=n.bind(ct.j):n}function ne(t){te[t]=void 0}function ie(t){const e=[];function n(t){return e.splice(e.indexOf(t),1)[0]||Promise.resolve(void 0)}return{$:e,add:function(i){if(!(void 0===t||e.length<t))return(0,j.xg)(new L("Not adding Promise because buffer limit was reached."));const r=i();return-1===e.indexOf(r)&&e.push(r),r.then((()=>n(r))).then(null,(()=>n(r).then(null,(()=>{})))),r},drain:function(t){return new j.T2(((n,i)=>{let r=e.length;if(!r)return n(!0);const o=setTimeout((()=>{t&&t>0&&n(!1)}),t);e.forEach((t=>{(0,j.XW)(t).then((()=>{--r||(clearTimeout(o),n(!0))}),i)}))}))}}}const re=6e4;function oe(t,{statusCode:e,headers:n},i=Date.now()){const r={...t},o=n&&n["x-sentry-rate-limits"],s=n&&n["retry-after"];if(o)for(const t of o.trim().split(",")){const[e,n,,,o]=t.split(":",5),s=parseInt(e,10),a=1e3*(isNaN(s)?60:s);if(n)for(const t of n.split(";"))"metric_bucket"===t&&o&&!o.split(";").includes("custom")||(r[t]=i+a);else r.all=i+a}else s?r.all=i+function(t,e=Date.now()){const n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;const i=Date.parse(`${t}`);return isNaN(i)?re:i-e}(s,i):429===e&&(r.all=i+6e4);return r}const se=64;function ae(t,e,n=ie(t.bufferSize||se)){let r={};return{send:function(o){const a=[];if((0,D.yH)(o,((e,n)=>{const i=(0,D.zk)(n);if(function(t,e,n=Date.now()){return function(t,e){return t[e]||t.all||0}(t,e)>n}(r,i)){const r=ce(e,n);t.recordDroppedEvent("ratelimit_backoff",i,r)}else a.push(e)})),0===a.length)return(0,j.XW)({});const c=(0,D.h4)(o[0],a),l=e=>{(0,D.yH)(c,((n,i)=>{const r=ce(n,i);t.recordDroppedEvent(e,(0,D.zk)(i),r)}))};return n.add((()=>e({body:(0,D.bN)(c)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&s.T&&i.vF.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),r=oe(r,t),t)),(t=>{throw l("network_error"),t})))).then((t=>t),(t=>{if(t instanceof L)return s.T&&i.vF.error("Skipped sending event because buffer is full."),l("queue_overflow"),(0,j.XW)({});throw t}))},flush:t=>n.drain(t)}}function ce(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}function le(t,e=ee("fetch")){let n=0,i=0;return ae(t,(function(r){const o=r.body.length;n+=o,i++;const s={body:r.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&i<15,...t.fetchOptions};if(!e)return ne("fetch"),(0,j.xg)("No fetch implementation available");try{return e(t.url,s).then((t=>(n-=o,i--,{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}})))}catch(t){return ne("fetch"),n-=o,i--,(0,j.xg)(t)}}))}function ue(t={}){const e=function(t={}){const e={defaultIntegrations:[d(),y(),At(),Et(),Pt(),Ut(),b(),qt()],release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:ot.jf.SENTRY_RELEASE&&ot.jf.SENTRY_RELEASE.id?ot.jf.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return null==t.defaultIntegrations&&delete t.defaultIntegrations,{...e,...t}}(t);if(function(){const t=void 0!==ot.jf.window&&ot.jf;if(!t)return!1;const e=t[t.chrome?"chrome":"browser"],n=e&&e.runtime&&e.runtime.id,i=ot.jf.location&&ot.jf.location.href||"",r=!!n&&ot.jf===ot.jf.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some((t=>i.startsWith(`${t}//`))),o=void 0!==t.nw;return!!n&&!r&&!o}())return void(0,i.pq)((()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}));G.T&&((0,E.vm)()||i.vF.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const n={...e,stackParser:(0,_.vk)(e.stackParser||Qt),integrations:c(e),transport:e.transport||le},r=S(st,n);return e.autoSessionTracking&&function(){if(void 0===ot.jf.document)return void(G.T&&i.vF.warn("Session tracking in non-browser environment with @
2sentry/browser is not supported."));(0,k.J0)({ignoreDuration:!0}),(0,k.J5)(),(0,C._)((({from:t,to:e})=>{void 0!==t&&t!==e&&((0,k.J0)({ignoreDuration:!0}),(0,k.J5)())}))}(),r}},6791:(t,e,n)=>{"use strict";n.d(e,{dp:()=>Ae});var i=n(5915),r=n(5200),o=n(7968),s=n(2328),a=n(4611),c=n(237),l=n(333),u=n(1158),p=n(3932),d=n(6674);var h=n(1773);var f=n(9888);class m{constructor(t={}){this._traceId=t.traceId||(0,f.eJ)(),this._spanId=t.spanId||(0,f.eJ)().substring(16)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:i.CC}}end(t){}setAttribute(t,e){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}addEvent(t,e,n){return this}addLink(t){return this}addLinks(t){return this}recordException(t,e){}}var g=n(1305),v=n(179),y=n(5330),_=n(2409);function b(t){if(!t||0===t.length)return;const e={};return t.forEach((t=>{const n=t.attributes||{},i=n[a.Sn],r=n[a.xc];"string"==typeof i&&"number"==typeof r&&(e[t.name]={value:r,unit:i})})),e}const w="_sentryScope",x="_sentryIsolationScope";function T(t){return{scope:t[w],isolationScope:t[x]}}class S{constructor(t={}){this._traceId=t.traceId||(0,f.eJ)(),this._spanId=t.spanId||(0,f.eJ)().substring(16),this._startTime=t.startTimestamp||(0,g.zf)(),this._attributes={},this.setAttributes({[a.JD]:"manual",[a.uT]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}addLink(t){return this}addLinks(t){return this}recordException(t,e){}spanContext(){const{_spanId:t,_traceId:e,_sampled:n}=this;return{spanId:t,traceId:e,traceFlags:n?i.aO:i.CC}}setAttribute(t,e){return void 0===e?delete this._attributes[t]:this._attributes[t]=e,this}setAttributes(t){return Object.keys(t).forEach((e=>this.setAttribute(e,t[e]))),this}updateStartTime(t){this._startTime=(0,i.cI)(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this}end(t){this._endTime||(this._endTime=(0,i.cI)(t),function(t){if(!d.T)return;const{description:e="< unknown name >",op:n="< unknown op >"}=(0,i.et)(t),{spanId:r}=t.spanContext(),o=`[Tracing] Finishing "${n}" ${(0,i.zU)(t)===t?"root ":""}span "${e}" with ID ${r}`;p.vF.log(o)}(this),this._onSpanEnded())}getSpanJSON(){return(0,v.Ce)({data:this._attributes,description:this._name,op:this._attributes[a.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,i.yW)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[a.JD],_metrics_summary:(0,_.g)(this),profile_id:this._attributes[a.E1],exclusive_time:this._attributes[a.jG],measurements:b(this._events),is_segment:this._isStandaloneSpan&&(0,i.zU)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,i.zU)(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,e,n){d.T&&p.vF.log("[Tracing] Adding an event to span:",t);const r=k(e)?e:n||(0,g.zf)(),o=k(e)?{}:e||{},s={name:t,time:(0,i.cI)(r),attributes:o};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=(0,o.KU)();t&&t.emit("spanEnd",this);if(!(this._isStandaloneSpan||this===(0,i.zU)(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(t){const e=(0,o.KU)();if(!e)return;const n=t[1];if(!n||0===n.length)return void e.recordDroppedEvent("before_send","span");e.sendEnvelope(t)}((0,y.lu)([this],t)):(d.T&&p.vF.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span")));const e=this._convertSpanToTransaction();if(e){(T(this).scope||(0,o.o5)()).captureEvent(e)}}_convertSpanToTransaction(){if(!E((0,i.et)(this)))return;this._name||(d.T&&p.vF.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:t,isolationScope:e}=T(this),n=(t||(0,o.o5)()).getClient()||(0,o.KU)();if(!0!==this._sampled)return d.T&&p.vF.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(n&&n.recordDroppedEvent("sample_rate","transaction"));const r=(0,i.xO)(this).filter((t=>t!==this&&!function(t){return t instanceof S&&t.isStandaloneSpan()}(t))).map((t=>(0,i.et)(t))).filter(E),s=this._attributes[a.i_],c={contexts:{trace:(0,i.Ck)(this)},spans:r.length>1e3?r.sort(((t,e)=>t.start_timestamp-e.start_timestamp)).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:e,...(0,v.Ce)({dynamicSamplingContext:(0,u.k1)(this)})},_metrics_summary:(0,_.g)(this),...s&&{transaction_info:{source:s}}},l=b(this._events);return l&&Object.keys(l).length&&(d.T&&p.vF.log("[Measurements] Adding measurements to transaction event",JSON.stringify(l,void 0,2)),c.measurements=l),c}}function k(t){return t&&"number"==typeof t||t instanceof Date||Array.isArray(t)}function E(t){return!!(t.start_timestamp&&t.timestamp&&t.span_id&&t.trace_id)}const C="__SENTRY_SUPPRESS_TRACING__";function A(t){const e=L();if(e.startInactiveSpan)return e.startInactiveSpan(t);const n=D(t),{forceTransaction:i,parentSpan:r}=t;return(t.scope?e=>(0,o.v4)(t.scope,e):void 0!==r?t=>O(r,t):t=>t())((()=>{const e=(0,o.o5)(),r=N(e);return t.onlyIfParent&&!r?new m:j({parentSpan:r,spanArguments:n,forceTransaction:i,scope:e})}))}function O(t,e){const n=L();return n.withActiveSpan?n.withActiveSpan(t,e):(0,o.v4)((n=>((0,l.r)(n,t||void 0),e(n))))}function j({parentSpan:t,spanArguments:e,forceTransaction:n,scope:r}){if(!(0,c.w)())return new m;const s=(0,o.rm)();let a;if(t&&!n)a=function(t,e,n){const{spanId:r,traceId:s}=t.spanContext(),a=!e.getScopeData().sdkProcessingMetadata[C]&&(0,i.pK)(t),c=a?new S({...n,parentSpanId:r,traceId:s,sampled:a}):new m({traceId:s});(0,i.Hu)(t,c);const l=(0,o.KU)();l&&(l.emit("spanStart",c),n.endTimestamp&&l.emit("spanEnd",c));return c}(t,r,e),(0,i.Hu)(t,a);else if(t){const n=(0,u.k1)(t),{traceId:o,spanId:s}=t.spanContext(),c=(0,i.pK)(t);a=I({traceId:o,parentSpanId:s,...e},r,c),(0,u.LZ)(a,n)}else{const{traceId:t,dsc:n,parentSpanId:i,sampled:o}={...s.getPropagationContext(),...r.getPropagationContext()};a=I({traceId:t,parentSpanId:i,...e},r,o),n&&(0,u.LZ)(a,n)}return function(t){if(!d.T)return;const{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:r}=(0,i.et)(t),{spanId:o}=t.spanContext(),s=(0,i.pK)(t),a=(0,i.zU)(t),c=a===t,l=`[Tracing] Starting ${s?"sampled":"unsampled"} ${c?"root ":""}span`,u=[`op: ${n}`,`name: ${e}`,`ID: ${o}`];if(r&&u.push(`parent ID: ${r}
2`),!c){const{op:t,description:e}=(0,i.et)(a);u.push(`root ID: ${a.spanContext().spanId}`),t&&u.push(`root op: ${t}`),e&&u.push(`root description: ${e}`)}p.vF.log(`${l}\n  ${u.join("\n  ")}`)}(a),function(t,e,n){t&&((0,v.my)(t,x,n),(0,v.my)(t,w,e))}(a,r,s),a}function D(t){const e={isStandalone:(t.experimental||{}).standalone,...t};if(t.startTime){const n={...e};return n.startTimestamp=(0,i.cI)(t.startTime),delete n.startTime,n}return e}function L(){const t=(0,r.E)();return(0,s.h)(t)}function I(t,e,n){const i=(0,o.KU)(),r=i&&i.getOptions()||{},{name:s="",attributes:l}=t,[u,f]=e.getScopeData().sdkProcessingMetadata[C]?[!1]:function(t,e){if(!(0,c.w)(t))return[!1];let n;n="function"==typeof t.tracesSampler?t.tracesSampler(e):void 0!==e.parentSampled?e.parentSampled:void 0!==t.tracesSampleRate?t.tracesSampleRate:1;const i=(0,h.i)(n);return void 0===i?(d.T&&p.vF.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):i?Math.random()<i?[!0,i]:(d.T&&p.vF.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),[!1,i]):(d.T&&p.vF.log("[Tracing] Discarding transaction because "+("function"==typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),[!1,i])}(r,{name:s,parentSampled:n,attributes:l,transactionContext:{name:s,parentSampled:n}}),m=new S({...t,attributes:{[a.i_]:"custom",...t.attributes},sampled:u});return void 0!==f&&m.setAttribute(a.sy,f),i&&i.emit("spanStart",m),m}function N(t){const e=(0,l.f)(t);if(!e)return;const n=(0,o.KU)();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,i.zU)(e):e}var P=n(5166),$=n(8039),F=n(4693),q=n(4910);function M(t){let e,n=t[0],i=1;for(;i<t.length;){const r=t[i],o=t[i+1];if(i+=2,("optionalAccess"===r||"optionalCall"===r)&&null==n)return;"access"===r||"optionalAccess"===r?(e=n,n=o(n)):"call"!==r&&"optionalCall"!==r||(n=o(((...t)=>n.call(e,...t))),e=void 0)}return n}var R=n(6453);const H=(t,e,n,i)=>{let r,o;return s=>{e.value>=0&&(s||i)&&(o=e.value-(r||0),(o||void 0===r)&&(r=e.value,e.delta=o,e.rating=((t,e)=>t>e[1]?"poor":t>e[0]?"needs-improvement":"good")(e.value,n),t(e)))}},B=()=>q.j.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],U=()=>{const t=B();return t&&t.activationStart||0},W=(t,e)=>{const n=B();let i="navigate";n&&(q.j.document&&q.j.document.prerendering||U()>0?i="prerender":q.j.document&&q.j.document.wasDiscarded?i="restore":n.type&&(i=n.type.replace(/_/g,"-")));return{name:t,value:void 0===e?-1:e,rating:"good",delta:0,entries:[],id:`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:i}},z=(t,e,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const i=new PerformanceObserver((t=>{Promise.resolve().then((()=>{e(t.getEntries())}))}));return i.observe(Object.assign({type:t,buffered:!0},n||{})),i}}catch(t){}},G=t=>{const e=e=>{("pagehide"===e.type||q.j.document&&"hidden"===q.j.document.visibilityState)&&t(e)};q.j.document&&(addEventListener("visibilitychange",e,!0),addEventListener("pagehide",e,!0))},J=t=>{let e=!1;return n=>{e||(t(n),e=!0)}};let X=-1;const V=t=>{"hidden"===q.j.document.visibilityState&&X>-1&&(X="visibilitychange"===t.type?t.timeStamp:0,removeEventListener("visibilitychange",V,!0),removeEventListener("prerenderingchange",V,!0))},K=()=>(q.j.document&&X<0&&(X="hidden"!==q.j.document.visibilityState||q.j.document.prerendering?1/0:0,addEventListener("visibilitychange",V,!0),addEventListener("prerenderingchange",V,!0)),{get firstHiddenTime(){return X}}),Q=t=>{q.j.document&&q.j.document.prerendering?addEventListener("prerenderingchange",(()=>t()),!0):t()},Y=[1800,3e3],Z=[.1,.25],tt=(t,e={})=>{((t,e={})=>{Q((()=>{const n=K(),i=W("FCP");let r;const o=z("paint",(t=>{t.forEach((t=>{"first-contentful-paint"===t.name&&(o.disconnect(),t.startTime<n.firstHiddenTime&&(i.value=Math.max(t.startTime-U(),0),i.entries.push(t),r(!0)))}))}));o&&(r=H(t,i,Y,e.reportAllChanges))}))})(J((()=>{const n=W("CLS",0);let i,r=0,o=[];const s=t=>{t.forEach((t=>{if(!t.hadRecentInput){const e=o[0],n=o[o.length-1];r&&e&&n&&t.startTime-n.startTime<1e3&&t.startTime-e.startTime<5e3?(r+=t.value,o.push(t)):(r=t.value,o=[t])}})),r>
2n.value&&(n.value=r,n.entries=o,i())},a=z("layout-shift",s);a&&(i=H(t,n,Z,e.reportAllChanges),G((()=>{s(a.takeRecords()),i(!0)})),setTimeout(i,0))})))},et=[100,300];let nt=0,it=1/0,rt=0;const ot=t=>{t.forEach((t=>{t.interactionId&&(it=Math.min(it,t.interactionId),rt=Math.max(rt,t.interactionId),nt=rt?(rt-it)/7+1:0)}))};let st;const at=()=>{"interactionCount"in performance||st||(st=z("event",ot,{type:"event",buffered:!0,durationThreshold:0}))},ct=[200,500],lt=()=>(st?nt:performance.interactionCount||0)-0,ut=[],pt={},dt=t=>{const e=ut[ut.length-1],n=pt[t.interactionId];if(n||ut.length<10||e&&t.duration>e.latency){if(n)n.entries.push(t),n.latency=Math.max(n.latency,t.duration);else{const e={id:t.interactionId,latency:t.duration,entries:[t]};pt[e.id]=e,ut.push(e)}ut.sort(((t,e)=>e.latency-t.latency)),ut.splice(10).forEach((t=>{delete pt[t.id]}))}},ht=(t,e={})=>{Q((()=>{at();const n=W("INP");let i;const r=t=>{t.forEach((t=>{if(t.interactionId&&dt(t),"first-input"===t.entryType){!ut.some((e=>e.entries.some((e=>t.duration===e.duration&&t.startTime===e.startTime))))&&dt(t)}}));const e=(()=>{const t=Math.min(ut.length-1,Math.floor(lt()/50));return ut[t]})();e&&e.latency!==n.value&&(n.value=e.latency,n.entries=e.entries,i())},o=z("event",r,{durationThreshold:null!=e.durationThreshold?e.durationThreshold:40});i=H(t,n,ct,e.reportAllChanges),o&&("PerformanceEventTiming"in q.j&&"interactionId"in PerformanceEventTiming.prototype&&o.observe({type:"first-input",buffered:!0}),G((()=>{r(o.takeRecords()),n.value<0&&lt()>0&&(n.value=0,n.entries=[]),i(!0)})))}))},ft=[2500,4e3],mt={},gt=[800,1800],vt=t=>{q.j.document&&q.j.document.prerendering?Q((()=>vt(t))):q.j.document&&"complete"!==q.j.document.readyState?addEventListener("load",(()=>vt(t)),!0):setTimeout(t,0)},yt={},_t={};let bt,wt,xt,Tt,St;function kt(t,e=!1){return It("cls",t,At,bt,e)}function Et(t,e){return Nt(t,e),_t[t]||(!function(t){const e={};"event"===t&&(e.durationThreshold=0);z(t,(e=>{Ct(t,{entries:e})}),e)}(t),_t[t]=!0),Pt(t,e)}function Ct(t,e){const n=yt[t];if(n&&n.length)for(const i of n)try{i(e)}catch(e){F.T&&p.vF.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${(0,R.qQ)(i)}\nError:`,e)}}function At(){return tt((t=>{Ct("cls",{metric:t}),bt=t}),{reportAllChanges:!0})}function Ot(){return((t,e={})=>{Q((()=>{const n=K(),i=W("FID");let r;const o=t=>{t.startTime<n.firstHiddenTime&&(i.value=t.processingStart-t.startTime,i.entries.push(t),r(!0))},s=t=>{t.forEach(o)},a=z("first-input",s);r=H(t,i,et,e.reportAllChanges),a&&G(J((()=>{s(a.takeRecords()),a.disconnect()})))}))})((t=>{Ct("fid",{metric:t}),wt=t}))}function jt(){return((t,e={})=>{Q((()=>{const n=K(),i=W("LCP");let r;const o=t=>{const e=t[t.length-1];e&&e.startTime<n.firstHiddenTime&&(i.value=Math.max(e.startTime-U(),0),i.entries=[e],r())},s=z("largest-contentful-paint",o);if(s){r=H(t,i,ft,e.reportAllChanges);const n=J((()=>{mt[i.id]||(o(s.takeRecords()),s.disconnect(),mt[i.id]=!0,r(!0))}));["keydown","click"].forEach((t=>{q.j.document&&addEventListener(t,(()=>setTimeout(n,0)),!0)})),G(n)}}))})((t=>{Ct("lcp",{metric:t}),xt=t}),{reportAllChanges:!0})}function Dt(){return((t,e={})=>{const n=W("TTFB"),i=H(t,n,gt,e.reportAllChanges);vt((()=>{const t=B();if(t){const e=t.responseStart;if(e<=0||e>performance.now())return;n.value=Math.max(e-U(),0),n.entries=[t],i(!0)}}))})((t=>{Ct("ttfb",{metric:t}),Tt=t}))}function Lt(){return ht((t=>{Ct("inp",{metric:t}),St=t}))}function It(t,e,n,i,r=!1){let o;return Nt(t,e),_t[t]||(o=n(),_t[t]=!0),i&&e({metric:i}),Pt(t,e,r?o:void 0)}function Nt(t,e){yt[t]=yt[t]||[],yt[t].push(e)}function Pt(t,e,n){return()=>{n&&n();const i=yt[t];if(!i)return;const r=i.indexOf(e);-1!==r&&i.splice(r,1)}}function $t(t){return"number"==typeof t&&isFinite(t)}function Ft(t,e,n,{...r}){const o=(0,i.et)(t).start_timestamp;return o&&o>e&&"function"==typeof t.updateStartTime&&t.updateStartTime(e),O(t,(()=>{const t=A({startTime:e,...r});return t&&t.end(n),t}))}function qt(t){const e=(0,o.KU)();if(!e)return;const{name:n,transaction:i,attributes:r,startTime:s}=t,{release:a,environment:c}=e.getOptions(),l=e.getIntegrationByName("Replay"),u=l&&l.getReplayId(),p=(0,o.o5)(),d=p.getUser(),h=void 0!==d?d.email||d.id||d.ip_address:void 0;let f;try{f=p.getScopeData().contexts.profile.profile_id}catch(t){}return A({name:n,attributes:{release:a,environment:c,user:h||void 0,profile_id:f||void 0,replay_id:u||void 0,transaction:i,"user_agent.original":q.j.navigator&&q.j.navigator.userAgent,...r},startTime:s,experimental:{standalone:!0}})}function Mt(){return q.j&&q.j.addEventListener&&q.j.performance}function Rt(t){return t/1e3}function Ht(){let t,e,n=0;if(!function(){try{return M([PerformanceObserver,"access",t=>t.supportedEntryTypes,"optionalAccess",t=>t.includes,"call",t=>t("layout-shift")])}catch(t){return!1}}())return;let r=!1;function s(){r||(r=!0,e&&function(t,e,n){F.T&&p.vF.log(`Sending CLS span (${t})`);const i=Rt((g.k3||0)+(M([e,"optionalAccess",t=>t.startTime])||0)),r=(0,o.o5)().getScopeData().transactionName,s=e?(0,P.Hd)(M([e,"access",t=>t.sources,"access",t=>t[0],"optionalAccess",t=>t.node])):"Layout shift",c=(0,v.Ce)({[a.JD]:"auto.http.browser.cls",[a.uT]:"ui.webvital.cls",[a.jG]:M([e,"optionalAccess",t=>t.duration])||0,"sentry.pageload.span_id":n}),l=qt({name:s,transaction:r,attributes:c,startTime:i});M([l,"optionalAccess",t=>t.addEvent,"call",e=>e("cls",{[a.Sn]:"",[a.xc]:t})]),M([l,"optionalAccess",t=>t.end,"call",t=>t(i)])}(n,t,e),c())}const c=kt((({metric:e})=>{const i=e.entries[e.entries.length-1];i&&(n=e.value,t=i)}),!0);G((()=>{s()})),setTimeout((()=>{const t=M([(0,o.KU)(),"optionalAccess",t=>t.on,"call",e=>e("startNavigationSpan",(()=>{s(),t&&t()}))]),n=(0,i.Bk)(),r=n&&(0,i.zU)(n),a=r&&(0,i.et)(r);a&&"pageload"===a.op&&(e=r.spanContext().spanId)}),0)}let Bt,Ut,Wt=0,zt={};function Gt({recordClsStandaloneSpans:t}){const e=Mt();if(e&&g.k3){e.mark&&q.j.performance.mark("sentry-tracing-init");
2const n=It("fid",(({metric:t})=>{const e=t.entries[t.entries.length-1];if(!e)return;const n=Rt(g.k3),i=Rt(e.startTime);F.T&&p.vF.log("[Measurements] Adding FID"),zt.fid={value:t.value,unit:"millisecond"},zt["mark.fid"]={value:n+i,unit:"second"}}),Ot,wt),i=function(t,e=!1){return It("lcp",t,jt,xt,e)}((({metric:t})=>{const e=t.entries[t.entries.length-1];e&&(F.T&&p.vF.log("[Measurements] Adding LCP"),zt.lcp={value:t.value,unit:"millisecond"},Bt=e)}),!0),r=function(t){return It("ttfb",t,Dt,Tt)}((({metric:t})=>{t.entries[t.entries.length-1]&&(F.T&&p.vF.log("[Measurements] Adding TTFB"),zt.ttfb={value:t.value,unit:"millisecond"})})),o=t?Ht():kt((({metric:t})=>{const e=t.entries[t.entries.length-1];e&&(F.T&&p.vF.log(`[Measurements] Adding CLS ${t.value}`),zt.cls={value:t.value,unit:""},Ut=e)}),!0);return()=>{n(),i(),r(),o&&o()}}return()=>{}}function Jt(t,e){const n=Mt();if(!n||!q.j.performance.getEntries||!g.k3)return;F.T&&p.vF.log("[Tracing] Adding & adjusting spans using Performance API");const r=Rt(g.k3),o=n.getEntries(),{op:s,start_timestamp:c}=(0,i.et)(t);if(o.slice(Wt).forEach((e=>
2{const n=Rt(e.startTime),i=Rt(Math.max(0,e.duration));if(!("navigation"===s&&c&&r+n<c))switch(e.entryType){case"navigation":!function(t,e,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((i=>{Xt(t,e,i,n)})),Xt(t,e,"secureConnection",n,"TLS/SSL","connectEnd"),Xt(t,e,"fetch",n,"cache","domainLookupStart"),Xt(t,e,"domainLookup",n,"DNS"),function(t,e,n){const i=n+Rt(e.requestStart),r=n+Rt(e.responseEnd),o=n+Rt(e.responseStart);e.responseEnd&&(Ft(t,i,r,{op:"browser.request",name:e.name,attributes:{[a.JD]:"auto.ui.browser.metrics"}}),Ft(t,o,r,{op:"browser.response",name:e.name,attributes:{[a.JD]:"auto.ui.browser.metrics"}}))}(t,e,n)}(t,e,r);break;case"mark":case"paint":case"measure":{!function(t,e,n,i,r){const o=B(),s=Rt(o?o.requestStart:0),c=r+Math.max(n,s),l=r+n,u=l+i,p={[a.JD]:"auto.resource.browser.metrics"};c!==l&&(p["sentry.browser.measure_happened_before_request"]=!0,p["sentry.browser.measure_start_time"]=c);Ft(t,c,u,{name:e.name,op:e.entryType,attributes:p})}(t,e,n,i,r);const o=K(),s=e.startTime<o.firstHiddenTime;"first-paint"===e.name&&s&&(F.T&&p.vF.log("[Measurements] Adding FP"),zt.fp={value:e.startTime,unit:"millisecond"}),"first-contentful-paint"===e.name&&s&&(F.T&&p.vF.log("[Measurements] Adding FCP"),zt.fcp={value:e.startTime,unit:"millisecond"});break}case"resource":!function(t,e,n,i,r,o){if("xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType)return;const s=(0,$.Dl)(n),c={[a.JD]:"auto.resource.browser.metrics"};Vt(c,e,"transferSize","http.response_transfer_size"),Vt(c,e,"encodedBodySize","http.response_content_length"),Vt(c,e,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in e&&(c["resource.render_blocking_status"]=e.renderBlockingStatus);s.protocol&&(c["url.scheme"]=s.protocol.split(":").pop());s.host&&(c["server.address"]=s.host);c["url.same_origin"]=n.includes(q.j.location.origin);const l=o+i,u=l+r;Ft(t,l,u,{name:n.replace(q.j.location.origin,""),op:e.initiatorType?`resource.${e.initiatorType}`:"resource.other",attributes:c})}(t,e,e.name,n,i,r)}})),Wt=Math.max(o.length-1,0),function(t){const e=q.j.navigator;if(!e)return;const n=e.connection;n&&(n.effectiveType&&t.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&t.setAttribute("connectionType",n.type),$t(n.rtt)&&(zt["connection.rtt"]={value:n.rtt,unit:"millisecond"}));$t(e.deviceMemory)&&t.setAttribute("deviceMemory",`${e.deviceMemory} GB`);$t(e.hardwareConcurrency)&&t.setAttribute("hardwareConcurrency",String(e.hardwareConcurrency))}(t),"pageload"===s){!function(t){const e=B();if(!e)return;const{responseStart:n,requestStart:i}=e;i<=n&&(F.T&&p.vF.log("[Measurements] Adding TTFB Request Time"),t["ttfb.requestTime"]={value:n-i,unit:"millisecond"})}(zt);const n=zt["mark.fid"];n&&zt.fid&&(Ft(t,n.value,n.value+Rt(zt.fid.value),{name:"first input delay",op:"ui.action",attributes:{[a.JD]:"auto.ui.browser.metrics"}}),delete zt["mark.fid"]),"fcp"in zt&&e.recordClsOnPageloadSpan||delete zt.cls,Object.entries(zt).forEach((([t,e])=>{!function(t,e,n,r=(0,i.Bk)()){const o=r&&(0,i.zU)(r);o&&o.addEvent(t,{[a.xc]:e,[a.Sn]:n})}(t,e.value,e.unit)})),t.setAttribute("performance.timeOrigin",r),t.setAttribute("performance.activationStart",U()),function(t){Bt&&(F.T&&p.vF.log("[Measurements] Adding LCP Data"),Bt.element&&t.setAttribute("lcp.element",(0,P.Hd)(Bt.element)),Bt.id&&t.setAttribute("lcp.id",Bt.id),Bt.url&&t.setAttribute("lcp.url",Bt.url.trim().slice(0,200)),t.setAttribute("lcp.size",Bt.size));Ut&&Ut.sources&&(F.T&&p.vF.log("[Measurements] Adding CLS Data"),Ut.sources.forEach(((e,n)=>t.setAttribute(`cls.source.${n+1}`,(0,P.Hd)(e.node)))))}(t)}Bt=void 0,Ut=void 0,zt={}}function Xt(t,e,n,i,r,o){const s=o?e[o]:e[`${n}End`],c=e[`${n}Start`];c&&s&&Ft(t,i+Rt(c),i+Rt(s),{op:`browser.${r||n}`,name:e.name,attributes:{[a.JD]:"auto.ui.browser.metrics"}})}function Vt(t,e,n,i){const r=e[n];null!=r&&r<2147483647&&(t[i]=r)}const Kt=[],Qt=new Map;function Yt(){if(Mt()&&g.k3){const t=It("inp",(({metric:t})=>{if(null==t.value)return;const e=t.entries.find((e=>e.duration===t.value&&Zt[e.name]));if(!e)return;const{interactionId:n}=e,r=Zt[e.name],s=Rt(g.k3+e.startTime),c=Rt(t.value),l=(0,i.Bk)(),u=l?(0,i.zU)(l):void 0,p=(null!=n?Qt.get(n):void 0)||u,d=p?(0,i.et)(p).description:(0,o.o5)().getScopeData().transactionName,h=qt({name:(0,P.Hd)(e.target),transaction:d,attributes:(0,v.Ce)({[a.JD]:"auto.http.browser.inp",[a.uT]:`ui.interaction.${r}`,[a.jG]:e.duration}),startTime:s});M([h,"optionalAccess",t=>t.addEvent,"call",e=>e("inp",{[a.Sn]:"millisecond",[a.xc]:t.value})]),M([h,"optionalAccess",t=>t.end,"call",t=>t(s+c)])}),Lt,St);return()=>{t()}}return()=>{}}const Zt={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};var te=n(3741),ee=n(1135);const ne={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function ie(t,e={}){const n=new Map;let r,s=!1,u="externalFinish",h=!e.disableAutoFinish;const f=[],{idleTimeout:v=ne.idleTimeout,finalTimeout:y=ne.finalTimeout,childSpanTimeout:_=ne.childSpanTimeout,beforeSpanEnd:b}=e,w=(0,o.KU)();if(!w||!(0,c.w)())return new m;const x=(0,o.o5)(),T=(0,i.Bk)(),S=function(t){const e=A(t);return(0,l.r)((0,o.o5)(),e),d.T&&p.vF.log("[Tracing] Started span is an i
2dle span"),e}(t);function k(){r&&(clearTimeout(r),r=void 0)}function E(t){k(),r=setTimeout((()=>{!s&&0===n.size&&h&&(u="idleTimeout",S.end(t))}),v)}function C(t){r=setTimeout((()=>{!s&&h&&(u="heartbeatFailed",S.end(t))}),_)}function O(t){s=!0,n.clear(),f.forEach((t=>t())),(0,l.r)(x,T);const e=(0,i.et)(S),{start_timestamp:r}=e;if(!r)return;(e.data||{})[a.fs]||S.setAttribute(a.fs,u),p.vF.log(`[Tracing] Idle span "${e.op}" finished`);const o=(0,i.xO)(S).filter((t=>t!==S));let c=0;o.forEach((e=>{e.isRecording()&&(e.setStatus({code:ee.TJ,message:"cancelled"}),e.end(t),d.T&&p.vF.log("[Tracing] Cancelling span since span ended early",JSON.stringify(e,void 0,2)));const n=(0,i.et)(e),{timestamp:r=0,start_timestamp:o=0}=n,s=o<=t,a=r-o<=(y+v)/1e3;if(d.T){const t=JSON.stringify(e,void 0,2);s?a||p.vF.log("[Tracing] Discarding span since it finished after idle span final timeout",t):p.vF.log("[Tracing] Discarding span since it happened after idle span was finished",t)}a&&s||((0,i.VS)(S,e),c++)})),c>0&&S.setAttribute("sentry.idle_span_discarded_spans",c)}return S.end=new Proxy(S.end,{apply(t,e,n){b&&b(S);const[r,...o]=n,s=r||(0,g.zf)(),a=(0,i.cI)(s),c=(0,i.xO)(S).filter((t=>t!==S));if(!c.length)return O(a),Reflect.apply(t,e,[a,...o]);const l=c.map((t=>(0,i.et)(t).timestamp)).filter((t=>!!t)),u=l.length?Math.max(...l):void 0,p=(0,i.et)(S).start_timestamp,d=Math.min(p?p+y/1e3:1/0,Math.max(p||-1/0,Math.min(a,u||1/0)));return O(d),Reflect.apply(t,e,[d,...o])}}),f.push(w.on("spanStart",(t=>{if(s||t===S||(0,i.et)(t).timestamp)return;var e;(0,i.xO)(S).includes(t)&&(e=t.spanContext().spanId,k(),n.set(e,!0),C((0,g.zf)()+_/1e3))}))),f.push(w.on("spanEnd",(t=>{var e;s||(e=t.spanContext().spanId,n.has(e)&&n.delete(e),0===n.size&&E((0,g.zf)()+v/1e3))}))),f.push(w.on("idleSpanEnableAutoFinish",(t=>{t===S&&(h=!0,E(),n.size&&C())}))),e.disableAutoFinish||E(),setTimeout((()=>{s||(S.setStatus({code:ee.TJ,message:"deadline_exceeded"}),u="finalTimeout",S.end())}),y),S}var re=n(7397),oe=n(2221);let se=!1;function ae(){const t=(0,i.Bk)(),e=t&&(0,i.zU)(t);if(e){const t="internal_error";d.T&&p.vF.log(`[Tracing] Root span: ${t} -> Global error occured`),e.setStatus({code:ee.TJ,message:t})}}ae.tag="sentry_tracingErrorCallback";var ce=n(9085),le=n(9540),ue=n(2317),pe=n(9431),de=n(452);var he=n(5947),fe=n(6904),me=n(6752);function ge(t,e,n,r,s="auto.http.browser"){if(!t.fetchData)return;const l=(0,c.w)()&&e(t.fetchData.url);if(t.endTimestamp&&l){const e=t.fetchData.__span;if(!e)return;const n=r[e];return void(n&&(!function(t,e){if(e.response){(0,ee.N8)(t,e.response.status);const n=e.response&&e.response.headers&&e.response.headers.get("content-length");if(n){const e=parseInt(n);e>0&&t.setAttribute("http.response_content_length",e)}}else e.error&&t.setStatus({code:ee.TJ,message:"internal_error"});t.end()}(n,t),delete r[e]))}const p=(0,o.o5)(),d=(0,o.KU)(),{method:h,url:f}=t.fetchData,g=function(t){try{return new URL(t).href}catch(t){return}}(f),v=g?(0,$.Dl)(g).host:void 0,y=!!(0,i.Bk)(),_=l&&y?A({name:`${h} ${f}`,attributes:{url:f,type:"fetch","http.method":h,"http.url":g,"server.address":v,[a.JD]:s,[a.uT]:"http.client"}}):new m;if(t.fetchData.__span=_.spanContext().spanId,r[_.spanContext().spanId]=_,n(t.fetchData.url)&&d){const e=t.args[0];t.args[1]=t.args[1]||{};const n=t.args[1];n.headers=function(t,e,n,r,s){const a=(0,o.rm)(),{traceId:c,spanId:l,sampled:p,dsc:d}={...a.getPropagationContext(),...n.getPropagationContext()},h=s?(0,i.Qh)(s):(0,le.TC)(c,l,p),f=(0,fe.De)(d||(s?(0,u.k1)(s):(0,u.lF)(c,e))),m=r.headers||("undefined"!=typeof Request&&(0,me.tH)(t,Request)?t.headers:void 0);if(m){if("undefined"!=typeof Headers&&(0,me.tH)(m,Headers)){const t=new Headers(m);if(t.set("sentry-trace",h),f){const e=t.get(fe.hF);if(e){const n=ve(e);t.set(fe.hF,n?`${n},${f}`:f)}else t.set(fe.hF,f)}return t}if(Array.isArray(m)){const t=[...m.filter((t=>!(Array.isArray(t)&&"sentry-trace"===t[0]))).map((t=>{if(Array.isArray(t)&&t[0]===fe.hF&&"string"==typeof t[1]){const[e,n,...i]=t;return[e,ve(n),...i]}return t})),["sentry-trace",h]];return f&&t.push([fe.hF,f]),t}{const t="baggage"in m?m.baggage:void 0;let e=[];return Array.isArray(t)?e=t.map((t=>"string"==typeof t?ve(t):t)).filter((t=>""===t)):t&&e.push(ve(t)),f&&e.push(f),{...m,"sentry-trace":h,baggage:e.length>0?e.join(","):void 0}}}return{"sentry-trace":h,baggage:f}}(e,d,p,n,(0,c.w)()&&y?_:void 0)}return _}function ve(t){return t.split(",").filter((t=>!t.split("=")[0].startsWith(fe.sv))).join(",")}var ye=n(1098),_e=n(6013);const be=new WeakMap,we=new Map,xe={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function Te(t,e){const{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:s,shouldCreateSpanForRequest:l,enableHTTPTimings:p,tracePropagationTargets:d}={traceFetch:xe.traceFetch,traceXHR:xe.traceXHR,trackFetchStreamPerformance:xe.trackFetchStreamPerformance,...e},h="function"==typeof l?l:t=>!0,f=t=>function(t,e){const n=de.jf.location&&de.jf.location.href;if(n){let i,r;
2try{i=new URL(t,n),r=new URL(n).origin}catch(t){return!1}const o=i.origin===r;return e?(0,_e.Xr)(i.toString(),e)||o&&(0,_e.Xr)(i.pathname,e):o}{const n=!!t.match(/^\/(?!\/)/);return e?(0,_e.Xr)(t,e):n}}(t,d),g={};n&&(t.addEventProcessor((t=>("transaction"===t.type&&t.spans&&t.spans.forEach((t=>{if("http.client"===t.op){const e=we.get(t.span_id);e&&(t.timestamp=e/1e3,we.delete(t.span_id))}})),t))),s&&(0,ye.B$)((t=>{if(t.response){const e=be.get(t.response);e&&t.endTimestamp&&we.set(e,t.endTimestamp)}})),(0,ye.ur)((t=>{const e=ge(t,h,f,g);if(t.response&&t.fetchData.__span&&be.set(t.response,t.fetchData.__span),e){const n=Ee(t.fetchData.url),i=n?(0,$.Dl)(n).host:void 0;e.setAttributes({"http.url":n,"server.address":i})}p&&e&&Se(e)}))),r&&(0,he.Mn)((t=>{const e=function(t,e,n,r){const s=t.xhr,l=s&&s[he.Er];if(!s||s.__sentry_own_request__||!l)return;const p=(0,c.w)()&&e(l.url);if(t.endTimestamp&&p){const t=s.__sentry_xhr_span_id__;if(!t)return;const e=r[t];return void(e&&void 0!==l.status_code&&((0,ee.N8)(e,l.status_code),e.end(),delete r[t]))}const d=Ee(l.url),h=d?(0,$.Dl)(d).host:void 0,f=!!(0,i.Bk)(),g=p&&f?A({name:`${l.method} ${l.url}`,attributes:{type:"xhr","http.method":l.method,"http.url":d,url:l.url,"server.address":h,[a.JD]:"auto.http.browser",[a.uT]:"http.client"}}):new m;s.__sentry_xhr_span_id__=g.spanContext().spanId,r[s.__sentry_xhr_span_id__]=g;const v=(0,o.KU)();s.setRequestHeader&&n(l.url)&&v&&function(t,e,n){const r=(0,o.o5)(),s=(0,o.rm)(),{traceId:a,spanId:l,sampled:p,dsc:d}={...s.getPropagationContext(),...r.getPropagationContext()},h=n&&(0,c.w)()?(0,i.Qh)(n):(0,le.TC)(a,l,p),f=(0,fe.De)(d||(n?(0,u.k1)(n):(0,u.lF)(a,e)));!function(t,e,n){try{t.setRequestHeader("sentry-trace",e),n&&t.setRequestHeader(fe.hF,n)}catch(t){}}(t,h,f)}(s,v,(0,c.w)()&&f?g:void 0);return g}(t,h,f,g);p&&e&&Se(e)}))}function Se(t){const{url:e}=(0,i.et)(t).data||{};if(!e||"string"!=typeof e)return;const n=Et("resource",(({entries:i})=>{i.forEach((i=>{if(function(t){return"resource"===t.entryType&&"initiatorType"in t&&"string"==typeof t.nextHopProtocol&&("fetch"===t.initiatorType||"xmlhttprequest"===t.initiatorType)}(i)&&i.name.endsWith(e)){(function(t){const{name:e,version:n}=function(t){let e="unknown",n="unknown",i="";for(const r of t){if("/"===r){[e,n]=t.split("/");break}if(!isNaN(Number(r))){e="h"===i?"http":i,n=t.split(i)[1];break}i+=r}i===t&&(e=i);return{name:e,version:n}}(t.nextHopProtocol),i=[];if(i.push(["network.protocol.version",n],["network.protocol.name",e]),!g.k3)return i;return[...i,["http.request.redirect_start",ke(t.redirectStart)],["http.request.fetch_start",ke(t.fetchStart)],["http.request.domain_lookup_start",ke(t.domainLookupStart)],["http.request.domain_lookup_end",ke(t.domainLookupEnd)],["http.request.connect_start",ke(t.connectStart)],["http.request.secure_connection_start",ke(t.secureConnectionStart)],["http.request.connection_end",ke(t.connectEnd)],["http.request.request_start",ke(t.requestStart)],["http.request.response_start",ke(t.responseStart)],["http.request.response_end",ke(t.responseEnd)]]})(i).forEach((e=>t.setAttribute(...e))),setTimeout(n)}}))}))}function ke(t=0){return((g.k3||performance.timeOrigin)+t)/1e3}function Ee(t){try{return new URL(t,de.jf.location.origin).href}catch(t){return}}const Ce={...ne,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,_experiments:{},...xe},Ae=(t={})=>{se||(se=!0,(0,re.L)(ae),(0,oe.r)(ae));const{enableInp:e,enableLongTask:n,enableLongAnimationFrame:r,_experiments:{enableInteractions:s,enableStandaloneClsSpans:c},beforeStartSpan:l,idleTimeout:d,finalTimeout:h,childSpanTimeout:f,markBackgroundSpan:m,traceFetch:v,traceXHR:y,trackFetchStreamPerformance:_,shouldCreateSpanForRequest:b,enableHTTPTimings:w,instrumentPageLoad:x,instrumentNavigation:T}={...Ce,...t},S=Gt({recordClsStandaloneSpans:c||!1});e&&Yt(),r&&ce.O.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?new PerformanceObserver((t=>{if((0,i.Bk)())for(const e of t.getEntries()){if(!e.scripts[0])continue;const t=Rt(g.k3+e.startTime),n=Rt(e.duration),i={[a.JD]:"auto.ui.browser.metrics"},r=e.scripts[0],{invoker:o,invokerType:s,sourceURL:c,sourceFunctionName:l,sourceCharPosition:u}=r;i["browser.script.invoker"]=o,i["browser.script.invoker_type"]=s,c&&(i["code.filepath"]=c),l&&(i["code.function"]=l),-1!==u&&(i["browser.script.source_char_position"]=u);const p=A({name:"Main UI thread blocked",op:"ui.long-animation-frame",startTime:t,attributes:i});p&&p.end(t+n)}})).observe({type:"long-animation-frame",buffered:!0}):n&&Et("longtask",(({entries:t})=>{if((0,i.Bk)())for(const e of t){const t=Rt(g.k3+e.startTime),n=Rt(e.duration),i=A({name:"Main UI thread blocked",op:"ui.long-task",startTime:t,attributes:{[a.JD]:"auto.ui.browser.metrics"}});i&&i.end(t+n)}})),s&&Et("event",(({entries:t})=>{if((0,i.Bk)())for(const e of t)if("click"===e.name){const t=Rt(g.k3+e.startTime),n=Rt(e.duration),i={name:(0,P.Hd)(e.target),op:`ui.interaction.${e.name}`,startTime:t,attributes:{[a.JD]:"auto.ui.browser.metrics"}},r=(0,P.xE)(e.target);r&&(i.attributes["ui.component_name"]=r);const o=A(i);o&&o.end(t+n)}}));const k={name:void 0,source:void 0};function E(t,e){const n="pageload"===e.op,i=l?l(e):e,r=i.attributes||{};e.name!==i.name&&(r[a.i_]="custom",i.attributes=r),k.name=i.name,k.source=r[a.i_];const o=ie(i,{idleTimeout:d,finalTimeout:h,childSpanTimeout:f,disableAutoFinish:n,beforeSpanEnd:t=>{S(),Jt(t,{recordClsOnPageloadSpan:!c})}});function s(){["interactive","complete"].includes(de.jf.document.readyState)&&t.emit("idleSpanEnableAutoFinish",o)}return n&&de.jf.document&&(de.jf.document.addEventListener("readystatechange",(()=>{s()})),s()),o}return{name:"BrowserTracing",afterAllSetup(t){let n,r=de.jf.location&&de.jf.location.href;t.on("startNavigationSpan",(e=>{(0,o.KU)()===t&&(n&&!(0,i.et)(n).timestamp&&(pe.T&&p.vF.log(`[Tracing] Finishing current root span with op: ${(0,i.et)(n).op}`),n.end()),n=E(t,{op:"navigation",...e}))})),t.on("startPageLoadSpan",((e,r={})=>
2{if((0,o.KU)()!==t)return;n&&!(0,i.et)(n).timestamp&&(pe.T&&p.vF.log(`[Tracing] Finishing current root span with op: ${(0,i.et)(n).op}`),n.end());const s=r.sentryTrace||Oe("sentry-trace"),a=r.baggage||Oe("baggage"),c=(0,le.kM)(s,a);(0,o.o5)().setPropagationContext(c),n=E(t,{op:"pageload",...e})})),t.on("spanEnd",(t=>{const e=(0,i.et)(t).op;if(t!==(0,i.zU)(t)||"navigation"!==e&&"pageload"!==e)return;const n=(0,o.o5)(),r=n.getPropagationContext();n.setPropagationContext({...r,sampled:void 0!==r.sampled?r.sampled:(0,i.pK)(t),dsc:r.dsc||(0,u.k1)(t)})})),de.jf.location&&(x&&function(t,e,n){t.emit("startPageLoadSpan",e,n),(0,o.o5)().setTransactionName(e.name);const r=(0,i.Bk)();r&&(0,i.et)(r).op}(t,{name:de.jf.location.pathname,startTime:g.k3?g.k3/1e3:void 0,attributes:{[a.i_]:"url",[a.JD]:"auto.pageload.browser"}}),T&&(0,te._)((({to:e,from:n})=>{void 0===n&&r&&-1!==r.indexOf(e)?r=void 0:n!==e&&(r=void 0,function(t,e){(0,o.rm)().setPropagationContext((0,ue.J)()),(0,o.o5)().setPropagationContext((0,ue.J)()),t.emit("startNavigationSpan",e),(0,o.o5)().setTransactionName(e.name);const n=(0,i.Bk)();n&&(0,i.et)(n).op}(t,{name:de.jf.location.pathname,attributes:{[a.i_]:"url",[a.JD]:"auto.navigation.browser"}}))}))),m&&(de.jf&&de.jf.document?de.jf.document.addEventListener("visibilitychange",(()=>{const t=(0,i.Bk)();if(!t)return;const e=(0,i.zU)(t);if(de.jf.document.hidden&&e){const t="cancelled",{op:n,status:r}=(0,i.et)(e);pe.T&&p.vF.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${n}`),r||e.setStatus({code:ee.TJ,message:t}),e.setAttribute("sentry.cancellation_reason","document.hidden"),e.end()}})):pe.T&&p.vF.warn("[Tracing] Could not set up background tab detection due to lack of global document")),s&&function(t,e,n,r){let o;const s=()=>{const s="ui.action.click",c=(0,i.Bk)(),l=c&&(0,i.zU)(c);if(l){const t=(0,i.et)(l).op;if(["navigation","pageload"].includes(t))return void(pe.T&&p.vF.warn(`[Tracing] Did not create ${s} span because a pageload or navigation span is in progress.`))}o&&(o.setAttribute(a.fs,"interactionInterrupted"),o.end(),o=void 0),r.name?o=ie({name:r.name,op:s,attributes:{[a.i_]:r.source||"url"}},{idleTimeout:t,finalTimeout:e,childSpanTimeout:n}):pe.T&&p.vF.warn(`[Tracing] Did not create ${s} transaction because _latestRouteName is missing.`)};de.jf.document&&addEventListener("click",s,{once:!1,capture:!0})}(d,h,f,k),e&&function(){const t=({entries:t})=>{const e=(0,i.Bk)(),n=e&&(0,i.zU)(e);t.forEach((t=>{if(!function(t){return"duration"in t}(t)||!n)return;const e=t.interactionId;if(null!=e&&!Qt.has(e)){if(Kt.length>10){const t=Kt.shift();Qt.delete(t)}Kt.push(e),Qt.set(e,n)}}))};Et("event",t),Et("first-input",t)}(),Te(t,{traceFetch:v,traceXHR:y,trackFetchStreamPerformance:_,tracePropagationTargets:t.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:b,enableHTTPTimings:w})}}};function Oe(t){const e=(0,P.NX)(`meta[name=${t}]`);return e?e.getAttribute("content"):void 0}},2328:(t,e,n)=>{"use strict";n.d(e,{h:()=>d});var i=n(5200),r=n(6752),o=n(9085),s=n(4988);class a{constructor(t,e){let n,i;n=t||new s.H,i=e||new s.H,this._stack=[{scope:n}],this._isolationScope=i}withScope(t){const e=this._pushScope();let n;try{n=t(e)}catch(t){throw this._popScope(),t}return(0,r.Qg)(n)?n.then((t=>(this._popScope(),t)),(t=>{throw this._popScope(),t})):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function c(){const t=(0,i.E)(),e=(0,i.S)(t);return e.stack=e.stack||new a((0,o.B)("defaultCurrentScope",(()=>new s.H)),(0,o.B)("defaultIsolationScope",(()=>new s.H)))}function l(t){return c().withScope(t)}function u(t,e){const n=c();return n.withScope((()=>(n.getStackTop().scope=t,e(t))))}function p(t){return c().withScope((()=>t(c().getIsolationScope())))}function d(t){const e=(0,i.S)(t);return e.acs?e.acs:{withIsolationScope:p,withScope:l,withSetScope:u,withSetIsolationScope:(t,e)=>p(e),getCurrentScope:()=>c().getScope(),getIsolationScope:()=>c().getIsolationScope()}}},5200:(t,e,n)=>{"use strict";n.d(e,{E:()=>o,S:()=>s});var i=n(9085),r=n(8074);function o(){return s(i.O),i.O}function s(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||r.M,e[r.M]=e[r.M]||{}}},7313:(t,e,n)=>{"use strict";n.d(e,{U:()=>i});const i="production"},7968:(t,e,n)=>{"use strict";n.d(e,{KU:()=>p,m6:()=>l,o5:()=>a,rm:()=>c,v4:()=>u});var i=n(9085),r=n(2328),o=n(5200),s=n(4988);function a(){const t=(0,o.E)();return(0,r.h)(t).getCurrentScope()}function c(){const t=(0,o.E)();return(0,r.h)(t).getIsolationScope()}function l(){return(0,i.B)("globalScope",(()=>new s.H))}function u(...t){const e=(0,o.E)(),n=(0,r.h)(e);if(2===t.length){const[e,i]=t;return e?n.withSetScope(e,i):n.withScope(i)}return n.withScope(t[0])}function p(){return a().getClient()}},6674:(t,e,n)=>{"use strict";n.d(e,{T:()=>i});const i="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},5330:(t,e,n)=>{"use strict";n.d(e,{LE:()=>a,V7:()=>c,lu:()=>l});var i=n(4984),r=n(1447),o=n(1158),s=n(5915);function a(t,e,n,o){const s=(0,i.Cj)(n),a={sent_at:(new Date).toISOString(),...s&&{sdk:s},...!!o&&e&&{dsn:(0,r.SB)(e)}},c="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return(0,i.h4)(a,[c])}function c(t,e,n,r){const o=(0,i.Cj)(n),s=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n&&n.sdk);const a=(0,i.n2)(t,o,r,e);delete t.sdkProcessingMetadata;const c=[{type:s},t];return(0,i.h4)(a,[c])}function l(t,e){const n=(0,o.k1)(t[0]),a=e&&e.getDsn(),c=e&&e.getOptions().tunnel,l={sent_at:(new Date).toISOString(),...function(t){return!!t.trace_id&&!!t.public_key}(n)&&{trace:n},...!!c&&a&&{dsn:(0,r.SB)(a)}},u=e&&e.getOptions().beforeSendSpan,p=u?t=>u((0,s.et)(t)):t=>(0,s.et)(t),d=[];for(const e of t){const t=p(e);t&&d.push((0,i.y5)(t))}return(0,i.h4)(l,d)}},4251:(t,e,n)=>{"use strict";n.d(e,{Cp:()=>c,J0:()=>u,J5:()=>h,r:()=>l});var i=n(9085),r=n(7313),o=n(7968),s=n(9328),a=n(204);function c(t,e){return(0,o.o5)().captureException(t,(0,a.li)(e))}function l(t,e){return(0,o.o5)().captureEvent(t,e)}function u(t){const e=(0,o.KU)(),n=(0,o.rm)(),a=(0,o.o5)(),{release:c,environment:l=r.U}=e&&e.getOptions()||{},{userAgent:u}=i.O.navigator||{},d=(0,s.fj)({release:c,environment:l,user:a.getUser()||n.getUser(),...u&&{userAgent:u},...t}),h=n.getSession();return h&&"ok"===h.status&&(0,s.qO)(h,{status:"exited"}),p(),n.setSession(d),a.setSession(d),d}function p(){const t=(0,o.rm)(),e=(0,o.o5)(),n=e.getSession()||t.getSession();n&&(0,s.Vu)(n),d(),t.setSession(),e.setSession()}function d(){const t=(0,o.rm)(),e=(0,o.o5)(),n=(0,o.KU)(),i=e.getSession()||t.getSession();i&&n&&n.captureSession(i)}function h(t=!1){t?p():d()}},2409:(t,e,n)=>{"use strict";n.d(e,{g:()=>o});var i=n(179);const r="_sentryMetrics";function o(t){const e=t[r];if(!e)return;const n={};for(const[,[t,r]]of e){(n[t]||(n[t]=[])).push((0,i.Ce)(r))}return n}},4988:(t,e,n)=>{"use strict";n.d(e,{H:()=>p});
2var i=n(2317),r=n(6752),o=n(1305),s=n(9888),a=n(3932),c=n(9328),l=n(333);class u{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=(0,i.J)()}clone(){const t=new u;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,(0,l.r)(t,(0,l.f)(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,c.qO)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const e="function"==typeof t?t(this):t,[n,i]=e instanceof p?[e.getScopeData(),e.getRequestSession()]:(0,r.Qd)(e)?[t,t.requestSession]:[],{tags:o,extra:s,user:a,contexts:c,level:l,fingerprint:u=[],propagationContext:d}=n||{};return this._tags={...this._tags,...o},this._extra={...this._extra,...s},this._contexts={...this._contexts,...c},a&&Object.keys(a).length&&(this._user=a),l&&(this._level=l),u.length&&(this._fingerprint=u),d&&(this._propagationContext=d),i&&(this._requestSession=i),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,(0,l.r)(this,void 0),this._attachments=[],this._propagationContext=(0,i.J)(),this._notifyScopeListeners(),this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const i={timestamp:(0,o.lu)(),...t},r=this._breadcrumbs;return r.push(i),this._breadcrumbs=r.length>n?r.slice(-n):r,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,l.f)(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){const n=e&&e.event_id?e.event_id:(0,s.eJ)();if(!this._client)return a.vF.warn("No client configured on scope - will not capture exception!"),n;const i=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:i,...e,event_id:n},this),n}captureMessage(t,e,n){const i=n&&n.event_id?n.event_id:(0,s.eJ)();if(!this._client)return a.vF.warn("No client configured on scope - will not capture message!"),i;const r=new Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:r,...n,event_id:i},this),i}captureEvent(t,e){const n=e&&e.event_id?e.event_id:(0,s.eJ)();return this._client?(this._client.captureEvent(t,{...e,event_id:n},this),n):(a.vF.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
2h((t=>{t(this)})),this._notifyingListeners=!1)}}const p=u},4611:(t,e,n)=>{"use strict";n.d(e,{E1:()=>u,JD:()=>s,Sn:()=>c,fs:()=>a,i_:()=>i,jG:()=>p,sy:()=>r,uT:()=>o,xc:()=>l});const i="sentry.source",r="sentry.sample_rate",o="sentry.op",s="sentry.origin",a="sentry.idle_span_finish_reason",c="sentry.measurement_unit",l="sentry.measurement_value",u="sentry.profile_id",p="sentry.exclusive_time"},9328:(t,e,n)=>{"use strict";n.d(e,{Vu:()=>c,fj:()=>s,qO:()=>a});var i=n(1305),r=n(9888),o=n(179);function s(t){const e=(0,i.zf)(),n={sid:(0,r.eJ)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return(0,o.Ce)({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(n)};return t&&a(n,t),n}function a(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||(0,i.zf)(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,r.eJ)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function c(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),a(t,n)}},1158:(t,e,n)=>{"use strict";n.d(e,{LZ:()=>p,k1:()=>h,lF:()=>d});var i=n(179),r=n(6904),o=n(7313),s=n(7968),a=n(4611),c=n(237),l=n(5915);const u="_frozenDsc";function p(t,e){const n=t;(0,i.my)(n,u,e)}function d(t,e){const n=e.getOptions(),{publicKey:r}=e.getDsn()||{},s=(0,i.Ce)({environment:n.environment||o.U,release:n.release,public_key:r,trace_id:t});return e.emit("createDsc",s),s}function h(t){const e=(0,s.KU)();if(!e)return{};const n=d((0,l.et)(t).trace_id||"",e),i=(0,l.zU)(t),o=i[u];if(o)return o;const p=i.spanContext().traceState,h=p&&p.get("sentry.dsc"),f=h&&(0,r.yD)(h);if(f)return f;const m=(0,l.et)(i),g=m.data||{},v=g[a.sy];null!=v&&(n.sample_rate=`${v}`);const y=g[a.i_],_=m.description;return"url"!==y&&_&&(n.transaction=_),(0,c.w)()&&(n.sampled=String((0,l.pK)(i))),e.emit("createDsc",n,i),n}},1135:(t,e,n)=>{"use strict";n.d(e,{F3:()=>r,N8:()=>s,TJ:()=>o,a3:()=>i});const i=0,r=1,o=2;function s(t,e){t.setAttribute("http.response.status_code",e);const n=function(t){if(t<400&&t>=100)return{code:r};if(t>=400&&t<500)switch(t){case 401:return{code:o,message:"unauthenticated"};case 403:return{code:o,message:"permission_denied"};case 404:return{code:o,message:"not_found"};case 409:return{code:o,message:"already_exists"};case 413:return{code:o,message:"failed_precondition"};case 429:return{code:o,message:"resource_exhausted"};case 499:return{code:o,message:"cancelled"};default:return{code:o,message:"invalid_argument"}}if(t>=500&&t<600)switch(t){case 501:return{code:o,message:"unimplemented"};case 503:return{code:o,message:"unavailable"};case 504:return{code:o,message:"deadline_exceeded"};default:return{code:o,message:"internal_error"}}return{code:o,message:"unknown_error"}}(e);"unknown_error"!==n.message&&t.setStatus(n)}},237:(t,e,n)=>{"use strict";n.d(e,{w:()=>r});var i=n(7968);function r(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const e=(0,i.KU)(),n=t||e&&e.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}},1773:(t,e,n)=>{"use strict";n.d(e,{i:()=>o});var i=n(3932),r=n(6674);function o(t){if("boolean"==typeof t)return Number(t);const e="string"==typeof t?parseFloat(t):t;if(!("number"!=typeof e||isNaN(e)||e<0||e>1))return e;
2r.T&&i.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(t)} of type ${JSON.stringify(typeof t)}.`)}},204:(t,e,n)=>{"use strict";n.d(e,{li:()=>S,mG:()=>x});var i=n(9888),r=n(1305),o=n(6013),s=n(9085),a=n(6845),c=n(7313),l=n(7968),u=n(1114),p=n(3932),d=n(6752),h=n(6674);function f(t,e,n,i=0){return new u.T2(((r,o)=>{const s=t[i];if(null===e||"function"!=typeof s)r(e);else{const a=s({...e},n);h.T&&s.id&&null===a&&p.vF.log(`Event processor "${s.id}" dropped event`),(0,d.Qg)(a)?a.then((e=>f(t,e,n,i+1).then(r))).then(null,o):f(t,a,n,i+1).then(r).then(null,o)}}))}var m=n(4988),g=n(179),v=n(1158),y=n(5915);function _(t,e){const{fingerprint:n,span:r,breadcrumbs:o,sdkProcessingMetadata:s}=e;!function(t,e){const{extra:n,tags:i,user:r,contexts:o,level:s,transactionName:a}=e,c=(0,g.Ce)(n);c&&Object.keys(c).length&&(t.extra={...c,...t.extra});const l=(0,g.Ce)(i);l&&Object.keys(l).length&&(t.tags={...l,...t.tags});const u=(0,g.Ce)(r);u&&Object.keys(u).length&&(t.user={...u,...t.user});const p=(0,g.Ce)(o);p&&Object.keys(p).length&&(t.contexts={...p,...t.contexts});s&&(t.level=s);a&&"transaction"!==t.type&&(t.transaction=a)}(t,e),r&&function(t,e){t.contexts={trace:(0,y.kX)(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:(0,v.k1)(e),...t.sdkProcessingMetadata};const n=(0,y.zU)(e),i=(0,y.et)(n).description;i&&!t.transaction&&"transaction"===t.type&&(t.transaction=i)}(t,r),function(t,e){t.fingerprint=t.fingerprint?(0,i.k9)(t.fingerprint):[],e&&(t.fingerprint=t.fingerprint.concat(e));t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}(t,n),function(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}(t,o),function(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}(t,s)}function b(t,e){const{extra:n,tags:i,user:r,contexts:o,level:s,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:l,eventProcessors:u,attachments:p,propagationContext:d,transactionName:h,span:f}=e;w(t,"extra",n),w(t,"tags",i),w(t,"user",r),w(t,"contexts",o),w(t,"sdkProcessingMetadata",a),s&&(t.level=s),h&&(t.transactionName=h),f&&(t.span=f),c.length&&(t.breadcrumbs=[...t.breadcrumbs,...c]),l.length&&(t.fingerprint=[...t.fingerprint,...l]),u.length&&(t.eventProcessors=[...t.eventProcessors,...u]),p.length&&(t.attachments=[...t.attachments,...p]),t.propagationContext={...t.propagationContext,...d}}function w(t,e,n){if(n&&Object.keys(n).length){t[e]={...t[e]};for(const i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[e][i]=n[i])}}function x(t,e,n,u,p,d){const{normalizeDepth:h=3,normalizeMaxBreadth:g=1e3}=t,v={...e,event_id:e.event_id||n.event_id||(0,i.eJ)(),timestamp:e.timestamp||(0,r.lu)()},y=n.integrations||t.integrations.map((t=>t.name));!function(t,e){const{environment:n,release:i,dist:r,maxValueLength:s=250}=e;"environment"in t||(t.environment="environment"in e?n:c.U);void 0===t.release&&void 0!==i&&(t.release=i);void 0===t.dist&&void 0!==r&&(t.dist=r);t.message&&(t.message=(0,o.xv)(t.message,s));const a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=(0,o.xv)(a.value,s));const l=t.request;l&&l.url&&(l.url=(0,o.xv)(l.url,s))}(v,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(v,y),p&&p.emit("applyFrameMetadata",e),void 0===e.type&&function(t,e){const n=s.O._sentryDebugIds;if(!n)return;let i;const r=T.get(e);r?i=r:(i=new Map,T.set(e,i));const o=Object.entries(n).reduce(((t,[n,r])=>{let o;const s=i.get(n);s?o=s:(o=e(n),i.set(n,o));for(let e=o.length-1;e>=0;e--){const n=o[e];if(n.filename){t[n.filename]=r;break}}return t}),{});try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.filename&&(t.debug_id=o[t.filename])}))}))}catch(t){}}(v,t.stackParser);const w=function(t,e){if(!e)return t;const n=t?t.clone():new m.H;return n.update(e),n}(u,n.captureContext);n.mechanism&&(0,i.M6)(v,n.mechanism);const x=p?p.getEventProcessors():[],S=(0,l.m6)().getScopeData();if(d){b(S,d.getScopeData())}if(w){b(S,w.getScopeData())}const k=[...n.attachments||[],...S.attachments];k.length&&(n.attachments=k),_(v,S);return f([...x,...S.eventProcessors],v,n).then((t=>(t&&function(t){const e={};
2try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)}))}))}catch(t){}if(0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.entries(e).forEach((([t,e])=>{n.push({type:"sourcemap",code_file:t,debug_id:e})}))}(t),"number"==typeof h&&h>0?function(t,e,n){if(!t)return null;const i={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((t=>({...t,...t.data&&{data:(0,a.S8)(t.data,e,n)}})))},...t.user&&{user:(0,a.S8)(t.user,e,n)},...t.contexts&&{contexts:(0,a.S8)(t.contexts,e,n)},...t.extra&&{extra:(0,a.S8)(t.extra,e,n)}};t.contexts&&t.contexts.trace&&i.contexts&&(i.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(i.contexts.trace.data=(0,a.S8)(t.contexts.trace.data,e,n)));t.spans&&(i.spans=t.spans.map((t=>({...t,...t.data&&{data:(0,a.S8)(t.data,e,n)}}))));return i}(t,h,g):t)))}const T=new WeakMap;function S(t){if(t)return function(t){return t instanceof m.H||"function"==typeof t}(t)||function(t){return Object.keys(t).some((t=>k.includes(t)))}(t)?{captureContext:t}:t}const k=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]},333:(t,e,n)=>{"use strict";n.d(e,{f:()=>s,r:()=>o});var i=n(179);const r="_sentrySpan";function o(t,e){e?(0,i.my)(t,r,e):delete t[r]}function s(t){return t[r]}},5915:(t,e,n)=>{"use strict";n.d(e,{Bk:()=>O,CC:()=>h,Ck:()=>m,Hu:()=>k,Qh:()=>v,VS:()=>E,aO:()=>f,cI:()=>y,et:()=>b,kX:()=>g,pK:()=>w,xO:()=>C,yW:()=>x,zU:()=>A});var i=n(179),r=n(9540),o=n(1305),s=n(2328),a=n(5200),c=n(7968),l=n(2409),u=n(4611),p=n(1135),d=n(333);const h=0,f=1;function m(t){const{spanId:e,traceId:n}=t.spanContext(),{data:r,op:o,parent_span_id:s,status:a,origin:c}=b(t);return(0,i.Ce)({parent_span_id:s,span_id:e,trace_id:n,data:r,op:o,status:a,origin:c})}function g(t){const{spanId:e,traceId:n}=t.spanContext(),{parent_span_id:r}=b(t);return(0,i.Ce)({parent_span_id:r,span_id:e,trace_id:n})}function v(t){const{traceId:e,spanId:n}=t.spanContext(),i=w(t);return(0,r.TC)(e,n,i)}function y(t){return"number"==typeof t?_(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?_(t.getTime()):(0,o.zf)()}function _(t){return t>9999999999?t/1e3:t}function b(t){if(function(t){return"function"==typeof t.getSpanJSON}(t))return t.getSpanJSON();try{const{spanId:e,traceId:n}=t.spanContext();if(function(t){const e=t;return!!(e.attributes&&e.startTime&&e.name&&e.endTime&&e.status)}(t)){const{attributes:r,startTime:o,name:s,endTime:a,parentSpanId:c,status:p}=t;return(0,i.Ce)({span_id:e,trace_id:n,data:r,description:s,parent_span_id:c,start_timestamp:y(o),timestamp:y(a)||void 0,status:x(p),op:r[u.uT],origin:r[u.JD],_metrics_summary:(0,l.g)(t)})}return{span_id:e,trace_id:n}}catch(t){return{}}}function w(t){const{traceFlags:e}=t.spanContext();return e===f}function x(t){if(t&&t.code!==p.a3)return t.code===p.F3?"ok":t.message||"unknown_error"}const T="_sentryChildSpans",S="_sentryRootSpan";function k(t,e){const n=t[S]||t;(0,i.my)(e,S,n),t[T]?t[T].add(e):(0,i.my)(t,T,new Set([e]))}function E(t,e){t[T]&&t[T].delete(e)}function C(t){const e=new Set;return function t(n){if(!e.has(n)&&w(n)){e.add(n);const i=n[T]?Array.from(n[T]):[];for(const e of i)t(e)}}(t),Array.from(e)}function A(t){return t[S]||t}function O(){const t=(0,a.E)(),e=(0,s.h)(t);return e.getActiveSpan?e.getActiveSpan():(0,d.f)((0,c.o5)())}},6904:(t,e,n)=>{"use strict";n.d(e,{De:()=>p,hF:()=>s,sv:()=>a,yD:()=>u});var i=n(3364),r=n(6752),o=n(3932);const s="baggage",a="sentry-",c=/^sentry-/,l=8192;function u(t){const e=function(t){if(!t||!(0,r.Kg)(t)&&!Array.isArray(t))return;if(Array.isArray(t))return t.reduce(((t,e)=>{const n=d(e);return Object.entries(n).forEach((([e,n])=>{t[e]=n})),t}),{});return d(t)}(t);if(!e)return;const n=Object.entries(e).reduce(((t,[e,n])=>{if(e.match(c)){t[e.slice(a.length)]=n}return t}),{});return Object.keys(n).length>0?n:void 0}function p(t){if(!t)return;return function(t){if(0===Object.keys(t).length)return;return Object.entries(t).reduce(((t,[e,n],r)=>{const s=`${encodeURIComponent(e)}=${encodeURIComponent(n)}`,a=0===r?s:`${t},${s}`;return a.length>l?(i.T&&o.vF.warn(`Not adding key: ${e} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):a}),"")}(Object.entries(t).reduce(((t,[e,n])=>(n&&(t[`${a}${e}`]=n),t)),{}))}function d(t){return t.split(",").map((t=>t.split("=").map((t=>decodeURIComponent(t.trim()))))).reduce(((t,[e,n])=>(e&&n&&(t[e]=n),t)),{})}},5166:(t,e,n)=>{"use strict";n.d(e,{$N:()=>c,Hd:()=>s,NX:()=>l,xE:()=>u});var i=n(6752);const r=n(9085).O,o=80;function s(t,e={}){if(!t)return"<unknown>";try{let n=t;const i=5,r=[];let s=0,c=0;const l=" > ",u=l.length;let p;const d=Array.isArray(e)?e:e.keyAttrs,h=!Array.isArray(e)&&e.maxStringLength||o;for(;n&&s++<i&&(p=a(n,d),!("html"===p||s>1&&c+r.length*u+p.length>=h));)r.push(p),c+=p.length,n=n.parentNode;return r.reverse().join(l)}catch(t){return"<unknown>"}}function a(t,e){const n=t,o=[];if(!n||!n.tagName)return"";if(r.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}o.push(n.tagName.toLowerCase());const s=e&&e.length?e.filter((t=>n.getAttribute(t))).map((t=>[t,n.getAttribute(t)])):null;if(s&&s.length)s.forEach((t=>{o.push(`[${t[0]}="${t[1]}"]`)}));else{n.id&&o.push(`#${n.id}`);const t=n.className;if(t&&(0,i.Kg)(t)){const e=t.split(/\s+/);for(const t of e)o.push(`.${t}`)}}const a=["aria-label","type","name","title","alt"];for(const t of a){const e=n.getAttribute(t);e&&o.push(`[${t}="${e}"]`)}return o.join("")}function c(){try{return r.document.location.href}catch(t){return""}}function l(t){return r.document&&r.document.querySelector?r.document.querySelector(t):null}function u(t){if(!r.HTMLElement)return null;let e=t;for(let t=0;t<5;t++){if(!e)return null;if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null}},3364:(t,e,n)=>{"use strict";n.d(e,{T:()=>i});const i="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},1447:(t,e,n)=>{"use strict";n.d(e,{AD:()=>c,SB:()=>s});var i=n(3364),r=n(3932);const o=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function s(t,e=!1){const{host:n,path:i,pass:r,port:o,projectId:s,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&r?`:${r}`:""}@${n}${o?`:${o}`:""}/${i?`${i}/`:i}
2${s}`}function a(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function c(t){const e="string"==typeof t?function(t){const e=o.exec(t);if(!e)return void(0,r.pq)((()=>{console.error(`Invalid Sentry Dsn: ${t}`)}));const[n,i,s="",c="",l="",u=""]=e.slice(1);let p="",d=u;const h=d.split("/");if(h.length>1&&(p=h.slice(0,-1).join("/"),d=h.pop()),d){const t=d.match(/^\d+/);t&&(d=t[0])}return a({host:c,pass:s,path:p,projectId:d,port:l,protocol:n,publicKey:i})}(t):a(t);if(e&&function(t){if(!i.T)return!0;const{port:e,projectId:n,protocol:o}=t;return!(["protocol","publicKey","host","projectId"].find((e=>!t[e]&&(r.vF.error(`Invalid Sentry Dsn: ${e} missing`),!0)))||(n.match(/^\d+$/)?function(t){return"http"===t||"https"===t}(o)?e&&isNaN(parseInt(e,10))&&(r.vF.error(`Invalid Sentry Dsn: Invalid port ${e}`),1):(r.vF.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),1):(r.vF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(e))return e}},4984:(t,e,n)=>{"use strict";n.d(e,{Cj:()=>g,W3:()=>c,bN:()=>p,bm:()=>h,h4:()=>a,n2:()=>v,y5:()=>d,yH:()=>l,zk:()=>m});var i=n(1447),r=n(6845),o=n(179),s=n(9085);function a(t,e=[]){return[t,e]}function c(t,e){const[n,i]=t;return[n,[...i,e]]}function l(t,e){const n=t[1];for(const t of n){if(e(t,t[0].type))return!0}return!1}function u(t){return s.O.__SENTRY__&&s.O.__SENTRY__.encodePolyfill?s.O.__SENTRY__.encodePolyfill(t):(new TextEncoder).encode(t)}function p(t){const[e,n]=t;let i=JSON.stringify(e);function o(t){"string"==typeof i?i="string"==typeof t?i+t:[u(i),t]:i.push("string"==typeof t?u(t):t)}for(const t of n){const[e,n]=t;if(o(`\n${JSON.stringify(e)}\n`),"string"==typeof n||n instanceof Uint8Array)o(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify((0,r.S8)(n))}o(t)}}return"string"==typeof i?i:function(t){const e=t.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(e);let i=0;for(const e of t)n.set(e,i),i+=e.length;return n}(i)}function d(t){return[{type:"span"},t]}function h(t){const e="string"==typeof t.data?u(t.data):t.data;return[(0,o.Ce)({type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),e]}const f={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function m(t){return f[t]}function g(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function v(t,e,n,r){const s=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:(0,i.SB)(r)},...s&&{trace:(0,o.Ce)({...s})}}}},1098:(t,e,n)=>{"use strict";n.d(e,{B$:()=>u,ur:()=>l});var i=n(6752),r=n(179),o=n(2544),s=n(1305),a=n(9085),c=n(2433);function l(t,e){const n="fetch";(0,c.s5)(n,t),(0,c.AS)(n,(()=>p(void 0,e)))}function u(t){const e="fetch-body-resolved";(0,c.s5)(e,t),(0,c.AS)(e,(()=>p(d)))}function p(t,e=!1){e&&!(0,o.m7)()||(0,r.GS)(a.O,"fetch",(function(e){return function(...n){const{method:o,url:l}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){const[e,n]=t;return{url:f(e),method:h(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:f(e),method:h(e,"method")?String(e.method).toUpperCase():"GET"}}(n),u={args:n,fetchData:{method:o,url:l},startTimestamp:1e3*(0,s.zf)()};t||(0,c.aj)("fetch",{...u});const p=(new Error).stack;return e.apply(a.O,n).then((async e=>(t?t(e):(0,c.aj)("fetch",{...u,endTimestamp:1e3*(0,s.zf)(),response:e}),e)),(t=>{throw(0,c.aj)("fetch",{...u,endTimestamp:1e3*(0,s.zf)(),error:t}),(0,i.bJ)(t)&&void 0===t.stack&&(t.stack=p,(0,r.my)(t,"framesToPop",1)),t}))}}))}function d(t){let e;try{e=t.clone()}catch(t){return}!async function(t,e){if(t&&t.body){const n=t.body,i=n.getReader(),r=setTimeout((()=>{n.cancel().then(null,(()=>{}))}),9e4);let o=!0;for(;o;){let t;try{t=setTimeout((()=>{n.cancel().then(null,(()=>{}))}),5e3);const{done:r}=await i.read();clearTimeout(t),r&&(e(),o=!1)}catch(t){o=!1}finally{clearTimeout(t)}}clearTimeout(r),i.releaseLock(),n.cancel().then(null,(()=>{}))}}(e,(()=>{(0,c.aj)("fetch-body-resolved",{endTimestamp:1e3*(0,s.zf)(),response:t})}))}function h(t,e){return!!t&&"object"==typeof t&&!!t[e]}function f(t){return"string"==typeof t?t:t?h(t,"url")?t.url:t.toString?t.toString():"":""}},7397:(t,e,n)=>{"use strict";n.d(e,{L:()=>s});var i=n(9085),r=n(2433);let o=null;function s(t){const e="error";(0,r.s5)(e,t),(0,r.AS)(e,a)}function a(){o=i.O.onerror,i.O.onerror=function(t,e,n,i,s){const a={column:i,error:s,line:n,msg:t,url:e};return(0,r.aj)("error",a),!(!o||o.__SENTRY_LOADER__)&&o.apply(this,arguments)},i.O.onerror.__SENTRY_INSTRUMENTED__=!0}},2221:(t,e,n)=>{"use strict";n.d(e,{r:()=>s});var i=n(9085),r=n(2433);let o=null;function s(t){const e="unhandledrejection";(0,r.s5)(e,t),(0,r.AS)(e,a)}function a(){o=i.O.onunhandledrejection,i.O.onunhandledrejection=function(t){const e=t;return(0,r.aj)("unhandledrejection",e),!(o&&!o.__SENTRY_LOADER__)||o.apply(this,arguments)},i.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},2433:(t,e,n)=>{"use strict";n.d(e,{AS:()=>l,aj:()=>u,s5:()=>c});var i=n(3364),r=n(3932),o=n(6453);const s={},a={};function c(t,e){s[t]=s[t]||[],s[t].push(e)}function l(t,e){a[t]||(e(),a[t]=!0)}function u(t,e){const n=t&&s[t];if(n)for(const s of n)try{s(e)}catch(e){i.T&&r.vF.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${(0,o.qQ)(s)}\nError:`,e)}}},6752:(t,e,n)=>{"use strict";n.d(e,{BD:()=>a,Kg:()=>l,L2:()=>_,NF:()=>u,Qd:()=>d,Qg:()=>g,T2:()=>s,W6:()=>c,bJ:()=>r,gd:()=>m,mE:()=>v,sO:()=>p,tH:()=>y,vq:()=>f,xH:()=>h});const i=Object.prototype.toString;function r(t){switch(i.call(t)){case"[object Error]":case"[object E
2xception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return y(t,Error)}}function o(t,e){return i.call(t)===`[object ${e}]`}function s(t){return o(t,"ErrorEvent")}function a(t){return o(t,"DOMError")}function c(t){return o(t,"DOMException")}function l(t){return o(t,"String")}function u(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function p(t){return null===t||u(t)||"object"!=typeof t&&"function"!=typeof t}function d(t){return o(t,"Object")}function h(t){return"undefined"!=typeof Event&&y(t,Event)}function f(t){return"undefined"!=typeof Element&&y(t,Element)}function m(t){return o(t,"RegExp")}function g(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function v(t){return d(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function y(t,e){try{return t instanceof e}catch(t){return!1}}function _(t){return!("object"!=typeof t||null===t||!t.__isVue&&!t._isVue)}},3932:(t,e,n)=>{"use strict";n.d(e,{Ow:()=>o,Z9:()=>s,pq:()=>a,vF:()=>c});var i=n(3364),r=n(9085);const o=["debug","info","warn","error","log","assert","trace"],s={};function a(t){if(!("console"in r.O))return t();const e=r.O.console,n={},i=Object.keys(s);i.forEach((t=>{const i=s[t];n[t]=e[t],e[t]=i}));try{return t()}finally{i.forEach((t=>{e[t]=n[t]}))}}const c=(0,r.B)("logger",(function(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return i.T?o.forEach((n=>{e[n]=(...e)=>{t&&a((()=>{r.O.console[n](`Sentry Logger [${n}]:`,...e)}))}})):o.forEach((t=>{e[t]=()=>{}})),e}))},9888:(t,e,n)=>{"use strict";n.d(e,{$X:()=>a,GR:()=>u,M6:()=>l,eJ:()=>o,gO:()=>c,k9:()=>p});var i=n(179),r=n(9085);function o(){const t=r.O,e=t.crypto||t.msCrypto;let n=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(n=()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(t){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(t=>(t^(15&n())>>t/4).toString(16)))}function s(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function a(t){const{message:e,event_id:n}=t;if(e)return e;const i=s(t);return i?i.type&&i.value?`${i.type}: ${i.value}`:i.type||i.value||n||"<unknown>":n||"<unknown>"}function c(t,e,n){const i=t.exception=t.exception||{},r=i.values=i.values||[],o=r[0]=r[0]||{};o.value||(o.value=e||""),o.type||(o.type=n||"Error")}function l(t,e){const n=s(t);if(!n)return;const i=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...i,...e},e&&"data"in e){const t={...i&&i.data,...e.data};n.mechanism.data=t}}function u(t){if(t&&t.__sentry_captured__)return!0;try{(0,i.my)(t,"__sentry_captured__",!0)}catch(t){}return!1}function p(t){return Array.isArray(t)?t:[t]}},6845:(t,e,n)=>{"use strict";n.d(e,{S8:()=>s,cd:()=>a});var i=n(6752);var r=n(179),o=n(6453);function s(t,e=100,n=1/0){try{return c("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function a(t,e=3,n=102400){const i=s(t,e);return r=i,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(r))>n?a(t,e-1,n):i;var r}function c(t,e,n=1/0,s=1/0,a=function(){const t="function"==typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(let t=0;t<e.length;t++)if(e[t]===n)return!0;return e.push(n),!1},function(n){if(t)e.delete(n);else for(let t=0;t<e.length;t++)if(e[t]===n){e.splice(t,1);break}}]}()){const[l,u]=a;if(null==e||["boolean","string"].includes(typeof e)||"number"==typeof e&&Number.isFinite(e))return e;const p=function(t,e){try{if("domain"===t&&e&&"object"==typeof e&&e._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if("undefined"!=typeof global&&e===global)return"[Global]";if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if((0,i.L2)(e))return"[VueViewModel]";if((0,i.mE)(e))return"[SyntheticEvent]";if("number"==typeof e&&!Number.isFinite(e))return`[${e}]`;if("function"==typeof e)return`[Function: ${(0,o.qQ)(e)}]`;if("symbol"==typeof e)return`[${String(e)}]`;if("bigint"==typeof e)return`[BigInt: ${String(e)}]`;const n=function(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}(e);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(t){return`**non-serializable** (${t})`}}(t,e);if(!p.startsWith("[object "))return p;if(e.__sentry_skip_normalization__)return e;const d="number"==typeof e.__sentry_override_normalization_depth__?e.__sentry_override_normalization_depth__:n;if(0===d)return p.replace("object ","");if(l(e))return"[Circular ~]";const h=e;if(h&&"function"==typeof h.toJSON)try{return c("",h.toJSON(),d-1,s,a)}catch(t){}const f=Array.isArray(e)?[]:{};let m=0;const g=(0,r.W4)(e);for(const t in g){if(!Object.prototype.hasOwnProperty.call(g,t))continue;if(m>=s){f[t]="[MaxProperties ~]";break}const e=g[t];f[t]=c(t,e,d-1,s,a),m++}return u(e),f}},179:(t,e,n)=>{"use strict";n.d(e,{Ce:()=>v,GS:()=>c,HF:()=>g,W4:()=>h,my:()=>l,pO:()=>u,sp:()=>p,u4:()=>d});var i=n(5166),r=n(3364),o=n(6752),s=n(3932),a=n(6013);function c(t,e,n){if(!(e in t))return;const i=t[e],r=n(i);"function"==typeof r&&u(r,i),t[e]=r}function l(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch(n){r.T&&s.vF.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function u(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,l(t,"__sentry_original__",e)}catch(t){}}function p(t){return t.__sentry_original__}function d(t){return Object.keys(t).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`)).join("&")}function h(t){if((0,o.bJ)(t))return{message:t.message,name:t.name,stack:t.stack,...m(t)};if((0,o.xH)(t)){const e={type:t.type,target:f(t.target),currentTarget:f(t.currentTarget),...m
2(t)};return"undefined"!=typeof CustomEvent&&(0,o.tH)(t,CustomEvent)&&(e.detail=t.detail),e}return t}function f(t){try{return(0,o.vq)(t)?(0,i.Hd)(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}function m(t){if("object"==typeof t&&null!==t){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function g(t,e=40){const n=Object.keys(h(t));n.sort();const i=n[0];if(!i)return"[object has no keys]";if(i.length>=e)return(0,a.xv)(i,e);for(let t=n.length;t>0;t--){const i=n.slice(0,t).join(", ");if(!(i.length>e))return t===n.length?i:(0,a.xv)(i,e)}return""}function v(t){return y(t,new Map)}function y(t,e){if(function(t){if(!(0,o.Qd)(t))return!1;try{const e=Object.getPrototypeOf(t).constructor.name;return!e||"Object"===e}catch(t){return!0}}(t)){const n=e.get(t);if(void 0!==n)return n;const i={};e.set(t,i);for(const n of Object.getOwnPropertyNames(t))void 0!==t[n]&&(i[n]=y(t[n],e));return i}if(Array.isArray(t)){const n=e.get(t);if(void 0!==n)return n;const i=[];return e.set(t,i),t.forEach((t=>{i.push(y(t,e))})),i}return t}},2317:(t,e,n)=>{"use strict";n.d(e,{J:()=>r});var i=n(9888);function r(){return{traceId:(0,i.eJ)(),spanId:(0,i.eJ)().substring(16)}}},6453:(t,e,n)=>{"use strict";n.d(e,{RV:()=>d,gd:()=>a,qQ:()=>p,vk:()=>c,yF:()=>r});const i=50,r="?",o=/\(error: (.*)\)/,s=/captureMessage|captureException/;function a(...t){const e=t.sort(((t,e)=>t[0]-e[0])).map((t=>t[1]));return(t,n=0,a=0)=>{const c=[],u=t.split("\n");for(let t=n;t<u.length;t++){const n=u[t];if(n.length>1024)continue;const r=o.test(n)?n.replace(o,"$1"):n;if(!r.match(/\S*Error: /)){for(const t of e){const e=t(r);if(e){c.push(e);break}}if(c.length>=i+a)break}}return function(t){if(!t.length)return[];const e=Array.from(t);/sentryWrapped/.test(l(e).function||"")&&e.pop();e.reverse(),s.test(l(e).function||"")&&(e.pop(),s.test(l(e).function||"")&&e.pop());return e.slice(0,i).map((t=>({...t,filename:t.filename||l(e).filename,function:t.function||r})))}(c.slice(a))}}function c(t){return Array.isArray(t)?a(...t):t}function l(t){return t[t.length-1]||{}}const u="<anonymous>";function p(t){try{return t&&"function"==typeof t&&t.name||u}catch(t){return u}}function d(t){const e=t.exception;if(e){const t=[];try{return e.values.forEach((e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)})),t}catch(t){return}}}},6013:(t,e,n)=>{"use strict";n.d(e,{Xr:()=>s,gt:()=>o,xv:()=>r});var i=n(6752);function r(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function o(t,e){if(!Array.isArray(t))return"";const n=[];for(let e=0;e<t.length;e++){const r=t[e];try{(0,i.L2)(r)?n.push("[VueViewModel]"):n.push(String(r))}catch(t){n.push("[value cannot be serialized]")}}return n.join(e)}function s(t,e=[],n=!1){return e.some((e=>function(t,e,n=!1){return!!(0,i.Kg)(t)&&((0,i.gd)(e)?e.test(t):!!(0,i.Kg)(e)&&(n?t===e:t.includes(e)))}(t,e,n)))}},2544:(t,e,n)=>{"use strict";n.d(e,{a3:()=>a,m7:()=>c,vm:()=>s});var i=n(3364),r=n(3932);const o=n(9085).O;function s(){if(!("fetch"in o))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function a(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function c(){if("string"==typeof EdgeRuntime)return!0;if(!s())return!1;if(a(o.fetch))return!0;let t=!1;const e=o.document;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");
2n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=a(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){i.T&&r.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t}},1114:(t,e,n)=>{"use strict";n.d(e,{T2:()=>a,XW:()=>o,xg:()=>s});var i,r=n(6752);function o(t){return new a((e=>{e(t)}))}function s(t){return new a(((e,n)=>{n(t)}))}!function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(i||(i={}));class a{constructor(t){a.prototype.__init.call(this),a.prototype.__init2.call(this),a.prototype.__init3.call(this),a.prototype.__init4.call(this),this._state=i.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new a(((n,i)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){i(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){i(t)}else i(t)}]),this._executeHandlers()}))}catch(t){return this.then((t=>t),t)}finally(t){return new a(((e,n)=>{let i,r;return this.then((e=>{r=!1,i=e,t&&t()}),(e=>{r=!0,i=e,t&&t()})).then((()=>{r?n(i):e(i)}))}))}__init(){this._resolve=t=>{this._setResult(i.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(i.REJECTED,t)}}__init3(){this._setResult=(t,e)=>{this._state===i.PENDING&&((0,r.Qg)(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===i.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach((t=>{t[0]||(this._state===i.RESOLVED&&t[1](this._value),this._state===i.REJECTED&&t[2](this._value),t[0]=!0)}))}}}},1305:(t,e,n)=>{"use strict";n.d(e,{k3:()=>c,lu:()=>o,zf:()=>s});var i=n(9085);const r=1e3;function o(){return Date.now()/r}const s=function(){const{performance:t}=i.O;if(!t||!t.now)return o;const e=Date.now()-t.now(),n=null==t.timeOrigin?e:t.timeOrigin;return()=>(n+t.now())/r}();let a;const c=(()=>{const{performance:t}=i.O;if(!t||!t.now)return void(a="none");const e=36e5,n=t.now(),r=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+n-r):e,s=o<e,c=t.timing&&t.timing.navigationStart,l="number"==typeof c?Math.abs(c+n-r):e;return s||l<e?o<=l?(a="timeOrigin",t.timeOrigin):(a="navigationStart",c):(a="dateNow",r)})()},9540:(t,e,n)=>{"use strict";n.d(e,{TC:()=>a,kM:()=>s});var i=n(6904),r=n(9888);const o=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function s(t,e){const n=function(t){if(!t)return;const e=t.match(o);if(!e)return;let n;return"1"===e[3]?n=!0:"0"===e[3]&&(n=!1),{traceId:e[1],parentSampled:n,parentSpanId:e[2]}}(t),s=(0,i.yD)(e),{traceId:a,parentSpanId:c,parentSampled:l}=n||{};return n?{traceId:a||(0,r.eJ)(),parentSpanId:c||(0,r.eJ)().substring(16),spanId:(0,r.eJ)().substring(16),sampled:l,dsc:s||{}}:{traceId:a||(0,r.eJ)(),spanId:(0,r.eJ)().substring(16)}}function a(t=(0,r.eJ)(),e=(0,r.eJ)().substring(16),n){let i="";return void 0!==n&&(i=n?"-1":"-0"),`${t}-${e}${i}`}},8039:(t,e,n)=>{"use strict";function i(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",i=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:i,relative:e[5]+n+i}}n.d(e,{Dl:()=>i})},8074:(t,e,n)=>{"use strict";n.d(e,{M:()=>i});const i="8.36.0"},9085:(t,e,n)=>{"use strict";n.d(e,{B:()=>o,O:()=>r});var i=n(8074);const r=globalThis;function o(t,e,n){const o=n||r,s=o.__SENTRY__=o.__SENTRY__||{},a=s[i.M]=s[i.M]||{};return a[t]||(a[t]=e())}}}]);

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.