1function _arrayLikeToArray(s,h){(null==h||h>s.length)&&(h=s.length);for(var f=0,b=Array(h);f<h;f++)b[f]=s[f];return b}function _arrayWithHoles(s){if(Array.isArray(s))return s}function _arrayWithoutHoles(s){if(Array.isArray(s))return _arrayLikeToArray(s)}function _defineProperty(s,h,f){return(h=_toPropertyKey(h))in s?Object.defineProperty(s,h,{value:f,enumerable:!0,configurable:!0,writable:!0}):s[h]=f,s}function _iterableToArray(s){if(typeof Symbol<"u"&&null!=s[Symbol.iterator]||null!=s["@@iterator"])return Array.from(s)}function _iterableToArrayLimit(s,h){var f=null==s?null:typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(null!=f){var b,O,I,C,E=[],w=!0,R=!1;try{if(I=(f=f.call(s)).next,0!==h)for(;!(w=(b=I.call(f)).done)&&(E.push(b.value),E.length!==h);w=!0);}catch(j){R=!0,O=j}finally{try{if(!w&&null!=f.return&&(C=f.return(),Object(C)!==C))return}finally{if(R)throw O}}return E}}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ownKeys(s,h){var f,b=Object.keys(s);return Object.getOwnPropertySymbols&&(f=Object.getOwnPropertySymbols(s),h&&(f=f.filter(function(O){return Object.getOwnPropertyDescriptor(s,O).enumerable})),b.push.apply(b,f)),b}function _objectSpread2(s){for(var h=1;h<arguments.length;h++){var f=null!=arguments[h]?arguments[h]:{};h%2?ownKeys(Object(f),!0).forEach(function(b){_defineProperty(s,b,f[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(f)):ownKeys(Object(f)).forEach(function(b){Object.defineProperty(s,b,Object.getOwnPropertyDescriptor(f,b))})}return s}function _slicedToArray(s,h){return _arrayWithHoles(s)||_iterableToArrayLimit(s,h)||_unsupportedIterableToArray(s,h)||_nonIterableRest()}function _toConsumableArray(s){return _arrayWithoutHoles(s)||_iterableToArray(s)||_unsupportedIterableToArray(s)||_nonIterableSpread()}function _toPrimitive(s,h){if("object"!=typeof s||!s)return s;var f=s[Symbol.toPrimitive];if(void 0===f)return("string"===h?String:Number)(s);if("object"!=typeof(f=f.call(s,h||"default")))return f;throw new TypeError("@@toPrimitive must return a primitive value.")}function _toPropertyKey(s){return"symbol"==typeof(s=_toPrimitive(s,"string"))?s:s+""}function _typeof(s){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(h){return typeof h}:function(h){return h&&"function"==typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(s)}function _unsupportedIterableToArray(s,h){var f;if(s)return"string"==typeof s?_arrayLikeToArray(s,h):"Map"===(f="Object"===(f={}.toString.call(s).slice(8,-1))&&s.constructor?s.constructor.name:f)||"Set"===f?Array.from(s):"Arguments"===f||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?_arrayLikeToArray(s,h):void 0}!function(s,h){"object"==typeof exports&&typeof module<"u"?module.exports=h():"function"==typeof define&&define.amd?define(h):(s=typeof globalThis<"u"?globalThis:s||self).bootstrap=h()}(this,function(){"use strict";const s=new Map,h={set(i,e,t){s.has(i)||s.set(i,new Map);const n=s.get(i);n.has(e)||0===n.size?n.set(e,t):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(i,e)=>s.has(i)&&s.get(i).get(e)||null,remove(i,e){if(!s.has(i))return;const t=s.get(i);t.delete(e),0===t.size&&s.delete(i)}},f="transitionend",b=i=>(i&&window.CSS&&window.CSS.escape&&(i=i.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),i),O=i=>{i.dispatchEvent(new Event(f))},I=i=>!(!i||"object"!=typeof i)&&(void 0!==i.jquery&&(i=i[0]),void 0!==i.nodeType),C=i=>
vendor: 8,809 bytes, line 1
1I(i)?i.jquery?i[0]:i:"string"==typeof i&&i.length>0?document.querySelector(b(i)):null,E=i=>{if(!I(i)||0===i.getClientRects().length)return!1;const e="visible"===getComputedStyle(i).getPropertyValue("visibility"),t=i.closest("details:not([open])");if(!t)return e;if(t!==i){const n=i.closest("summary");if(n&&n.parentNode!==t||null===n)return!1}return e},w=i=>!i||i.nodeType!==Node.ELEMENT_NODE||!!i.classList.contains("disabled")||(void 0!==i.disabled?i.disabled:i.hasAttribute("disabled")&&"false"!==i.getAttribute("disabled")),R=i=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof i.getRootNode){const e=i.getRootNode();return e instanceof ShadowRoot?e:null}return i instanceof ShadowRoot?i:i.parentNode?R(i.parentNode):null},j=()=>{},Q=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Qe=[],le=()=>"rtl"===document.documentElement.dir,te=i=>{var e;e=()=>{const t=Q();if(t){const n=i.NAME,l=t.fn[n];t.fn[n]=i.jQueryInterface,t.fn[n].Constructor=i,t.fn[n].noConflict=()=>(t.fn[n]=l,i.jQueryInterface)}},"loading"===document.readyState?(Qe.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of Qe)t()}),Qe.push(e)):e()},ce=(i,e=[],t=i)=>"function"==typeof i?i(...e):t,oe=(i,e,t=!0)=>{if(!t)return void ce(i);const n=(g=>{if(!g)return 0;let{transitionDuration:_,transitionDelay:v}=window.getComputedStyle(g);const T=Number.parseFloat(_),L=Number.parseFloat(v);return T||L?(_=_.split(",")[0],v=v.split(",")[0],1e3*(Number.parseFloat(_)+Number.parseFloat(v))):0})(e)+5;let l=!1;const u=({target:g})=>{g===e&&(l=!0,e.removeEventListener(f,u),ce(i))};e.addEventListener(f,u),setTimeout(()=>{l||O(e)},n)},V=(i,e,t,n)=>{const l=i.length;let u=i.indexOf(e);return-1===u?!t&&n?i[l-1]:i[0]:(u+=t?1:-1,n&&(u=(u+l)%l),i[Math.max(0,Math.min(u,l-1))])},re=/[^.]*(?=\..*)\.|.*/,he=/\..*/,Ze=/::\d+$/,Oe={};let yt=1;const We={mouseenter:"mouseover",mouseleave:"mouseout"},Lt=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 xt(i,e){return e&&`${e}::${yt++}`||i.uidEvent||yt++}function ct(i){const e=xt(i);return i.uidEvent=e,Oe[e]=Oe[e]||{},Oe[e]}function It(i,e,t=null){return Object.values(i).find(n=>n.callable===e&&n.delegationSelector===t)}function a(i,e,t){const n="string"==typeof e,l=n?t:e||t;let u=p(i);return Lt.has(u)||(u=i),[n,l,u]}function r(i,e,t,n,l){if("string"!=typeof e||!i)return;let[u,g,_]=a(e,t,n);var M;e in We&&(M=g,g=function(P){if(!P.relatedTarget||P.relatedTarget!==P.delegateTarget&&!P.delegateTarget.contains(P.relatedTarget))return M.call(this,P)});const v=ct(i),T=v[_]||(v[_]={}),L=It(T,g,u?t:null);if(L)return void(L.oneOff=L.oneOff&&l);const A=xt(g,e.replace(re,"")),B=u?function(D,M,P){return function N(X){const ie=D.querySelectorAll(M);for(let{target:F}=X;F&&F!==this;F=F.parentNode)for(const K of ie)if(K===F)return o(X,{delegateTarget:F}),N.oneOff&&c.off(D,X.type,M,P),P.apply(F,[X])}}(i,t,g):function(D,M){return function P(N){return o(N,{delegateTarget:D}),P.oneOff&&c.off(D,N.type,M),M.apply(D,[N])}}(i,g);B.delegationSelector=u?t:null,B.callable=g,B.oneOff=l,B.uidEvent=A,T[A]=B,i.addEventListener(_,B,u)}function m(i,e,t,n,l){const u=It(e[t],n,l);u&&(i.removeEventListener(t,u,!!l),delete e[t][u.uidEvent])}function d(i,e,t,n){const l=e[t]||{};for(const[u,g]of Object.entries(l))u.includes(n)&&m(i,e,t,g.callable,g.delegationSelector)}function p(i){return i=i.replace(he,""),We[i]||i}const c={on(i,e,t,n){r(i,e,t,n,!1)},one(i,e,t,n){r(i,e,t,n,!0)},off(i,e,t,n){if("string"!=typeof e||!i)return;const[l,u,g]=a(e,t,n),_=g!==e,v=ct(i),T=v[g]||{},L=e.startsWith(".");if(void 0===u){if(L)for(const A of Object.keys(v))d(i,v,A,e.slice(1));for(const[A,B]of Object.entries(T)){const D=A.replace(Ze,"");_&&!e.includes(D)||m(i,v,g,B.callable,B.delegationSelector)}}else{if(!Object.keys(T).length)return;m(i,v,g,u,l?t:null)}},trigger(i,e,t){if("string"!=typeof e||!i)return null;const n=Q();let l=null,u=!0,g=!0,_=!1;e!==p(e)&&n&&(l=n.Event(e,t),n(i).trigger(l),u=!l.isPropagationStopped(),g=!l.isImmediatePropagationStopped(),_=l.isDefaultPrevented());const v=o(new Event(e,{bubbles:u,cancelable:!0}),t);return _&&v.preventDefault(),g&&i.dispatchEvent(v),v.defaultPrevented&&l&&l.preventDefault(),v}};function o(i,e={}){for(const[t,n]of Object.entries(e))try{i[t]=n}catch{Object.defineProperty(i,t,{configurable:!0,get:()=>n})}return i}function y(i){if("true"===i)return!0;if("false"===i)return!1;if(i===Number(i).toString())return Number(i);if(""===i||"null"===i)return null;if("string"!=typeof i)return i;try{return JSON.parse(decodeURIComponent(i))}catch{return i}}function U(i){return i.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const x={setDataAttribute(i,e,t){i.setAttribute(`data-bs-${U(e)}`,t)},removeDataAttribute(i,e){i.removeAttribute(`data-bs-${U(e)}`)},getDataAttributes(i){if(!i)return{};const e={},t=Object.keys(i.dataset).filter(n=>n.startsWith("bs")&&!n.startsWith("bsConfig"));for(const n of t){let l=n.replace(/^bs/,"");l=l.charAt(0).toLowerCase()+l.slice(1,l.length),e[l]=y(i.dataset[n])}return e},getDataAttribute:(i,e)=>y(i.getAttribute(`data-bs-${U(e)}`))};class S{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(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=I(t)?x.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...I(t)?x.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[l,u]of Object.entries(t)){const g=e[l],_=I(g)?"element":null==(n=g)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(u).test(_))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${l}" provided type "${_}" but expected type "${u}".`)}var n}}class W extends S{constructor(e,t){super(),(e=C(e))&&(this._element=e,this._config=this._getConfig(t),h.set(this._element,this.constructor.DATA_KEY,this))}dispose(){h.remove(this._element,this.constructor.DATA_KEY),c.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){oe(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return h.get(C(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.0"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const pe=i=>{let e=i.getAttribute("data-bs-target");if(!e||"#"===e){let t=i.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),e=t&&"#"!==t?t.trim():null}return b(e)},k={find:(i,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,i)),findOne:(i,e=document.documentElement)=>Element.prototype.querySelector.call(e,i),children:(i,e)=>[].concat(...i.children).filter(t=>t.matches(e)),parents(i,e){const t=[];let n=i.parentNode.closest(e);for(;n;)t.push(n),n=n.parentNode.closest(e);return t},prev(i,e){let t=i.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(i,e){let t=i.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(i){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,i).filter(t=>!w(t)&&E(t))},getSelectorFromElement(i){const e=pe(i);return e&&k.findOne(e)?e:null},getElementFromSelector(i){const e=pe(i);return e?k.findOne(e):null},getMultipleElementsFromSelector(i){const e=pe(i);return e?k.find(e):[]}},J=(i,e="hide")=>{const n=i.NAME;c.on(document,`click.dismiss${i.EVENT_KEY}`,`[data-bs-dismiss="${n}"]`,function(l){if(["A","AREA"].includes(this.tagName)&&l.preventDefault(),w(this))return;const u=k.getElementFromSelector(this)||this.closest(`.${n}`);i.getOrCreateInstance(u)[e]()})};
1class ne extends W{static get NAME(){return"alert"}close(){if(c.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),c.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=ne.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}J(ne,"close"),te(ne);const ue='[data-bs-toggle="button"]';class $ extends W{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){const t=$.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}c.on(document,"click.bs.button.data-api",ue,i=>{i.preventDefault();const e=i.target.closest(ue);$.getOrCreateInstance(e).toggle()}),te($);const He={endCallback:null,leftCallback:null,rightCallback:null},me={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ke extends S{constructor(e,t){super(),this._element=e,e&&ke.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return He}static get DefaultType(){return me}static get NAME(){return"swipe"}dispose(){c.off(this._element,".bs.swipe")}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),ce(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&ce(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(c.on(this._element,"pointerdown.bs.swipe",e=>this._start(e)),c.on(this._element,"pointerup.bs.swipe",e=>this._end(e)),this._element.classList.add("pointer-event")):(c.on(this._element,"touchstart.bs.swipe",e=>this._start(e)),c.on(this._element,"touchmove.bs.swipe",e=>this._move(e)),c.on(this._element,"touchend.bs.swipe",e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Je="next",Ge="prev",Ke="left",_e="right",Ne="slid.bs.carousel",xe="carousel",de="active",ge={ArrowLeft:_e,ArrowRight:Ke},ut={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ht={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ie extends W{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=k.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===xe&&this.cycle()}static get Default(){return ut}static get DefaultType(){return ht}static get NAME(){return"carousel"}next(){this._slide(Je)}nextWhenVisible(){!document.hidden&&E(this._element)&&this.next()}prev(){this._slide(Ge)}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?c.one(this._element,Ne,()=>this.cycle()):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void c.one(this._element,Ne,()=>this.to(e));const n=this._getItemIndex(this._getActive());n!==e&&this._slide(e>n?Je:Ge,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&c.on(this._element,"keydown.bs.carousel",e=>
1this._keydown(e)),"hover"===this._config.pause&&(c.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),c.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&ke.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of k.find(".carousel-item img",this._element))c.on(t,"dragstart.bs.carousel",n=>n.preventDefault());this._swipeHelper=new ke(this._element,{leftCallback:()=>this._slide(this._directionToOrder(Ke)),rightCallback:()=>this._slide(this._directionToOrder(_e)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}})}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=ge[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=k.findOne(".active",this._indicatorsElement);t.classList.remove(de),t.removeAttribute("aria-current");const n=k.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(de),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const n=this._getActive(),l=e===Je,u=t||V(this._getItems(),n,l,this._config.wrap);if(u===n)return;const g=this._getItemIndex(u),_=A=>c.trigger(this._element,A,{relatedTarget:u,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:g});if(_("slide.bs.carousel").defaultPrevented||!n||!u)return;const v=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(g),this._activeElement=u;const T=l?"carousel-item-start":"carousel-item-end",L=l?"carousel-item-next":"carousel-item-prev";u.classList.add(L),n.classList.add(T),u.classList.add(T),this._queueCallback(()=>{u.classList.remove(T,L),u.classList.add(de),n.classList.remove(de,L,T),this._isSliding=!1,_(Ne)},n,this._isAnimated()),v&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return k.findOne(".active.carousel-item",this._element)}_getItems(){return k.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return le()?e===Ke?Ge:Je:e===Ke?Je:Ge}_orderToDirection(e){return le()?e===Ge?Ke:_e:e===Ge?_e:Ke}static jQueryInterface(e){return this.each(function(){const t=Ie.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)})}}c.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(i){const e=k.getElementFromSelector(this);if(!e||!e.classList.contains(xe))return;i.preventDefault();const t=Ie.getOrCreateInstance(e),n=this.getAttribute("data-bs-slide-to");return n?(t.to(n),void t._maybeEnableCycle()):"next"===x.getDataAttribute(this,"slide")?(t.next(),void t._maybeEnableCycle()):(t.prev(),void t._maybeEnableCycle())}),c.on(window,"load.bs.carousel.data-api",()=>{const i=k.find('[data-bs-ride="carousel"]');for(const e of i)Ie.getOrCreateInstance(e)}),te(Ie);const be="show",ve="collapse",et="collapsing",Zt='[data-bs-toggle="collapse"]',$n={parent:null,toggle:!0},zn={parent:"(null|element)",toggle:"boolean"};class dt extends W{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=k.find(Zt);for(const l of n){const u=k.getSelectorFromElement(l),g=k.find(u).filter(_=>_===this._element);null!==u&&g.length&&this._triggerArray.push(l)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return $n}static get DefaultType(){return zn}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];
1if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(l=>l!==this._element).map(l=>dt.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||c.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const l of e)l.hide();const t=this._getDimension();this._element.classList.remove(ve),this._element.classList.add(et),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(et),this._element.classList.add(ve,be),this._element.style[t]="",c.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[t]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown()||c.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,this._element.classList.add(et),this._element.classList.remove(ve,be);for(const t of this._triggerArray){const n=k.getElementFromSelector(t);n&&!this._isShown(n)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(et),this._element.classList.add(ve),c.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(e=this._element){return e.classList.contains(be)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=C(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Zt);for(const t of e){const n=k.getElementFromSelector(t);n&&this._addAriaAndCollapsedClass([t],this._isShown(n))}}_getFirstLevelChildren(e){const t=k.find(":scope .collapse .collapse",this._config.parent);return k.find(e,this._config.parent).filter(n=>!t.includes(n))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const n=dt.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}})}}c.on(document,"click.bs.collapse.data-api",Zt,function(i){("A"===i.target.tagName||i.delegateTarget&&"A"===i.delegateTarget.tagName)&&i.preventDefault();for(const e of k.getMultipleElementsFromSelector(this))dt.getOrCreateInstance(e,{toggle:!1}).toggle()}),te(dt);var we="top",Ee="bottom",Te="right",ye="left",Dt="auto",ft=[we,Ee,Te,ye],tt="start",pt="end",wi="clippingParents",Gt="viewport",gt="popper",yi="reference",Xt=ft.reduce(function(i,e){return i.concat([e+"-"+tt,e+"-"+pt])},[]),Yt=[].concat(ft,[Dt]).reduce(function(i,e){return i.concat([e,e+"-"+tt,e+"-"+pt])},[]),Ci="beforeRead",Oi="afterRead",ki="beforeMain",Ti="afterMain",Si="beforeWrite",xi="afterWrite",Ii=[Ci,"read",Oi,ki,"main",Ti,Si,"write",xi];function Fe(i){return i?(i.nodeName||"").toLowerCase():null}function Se(i){if(null==i)return window;if("[object Window]"!==i.toString()){var e=i.ownerDocument;return e&&e.defaultView||window}return i}function it(i){return i instanceof Se(i).Element||i instanceof Element}function De(i){return i instanceof Se(i).HTMLElement||i instanceof HTMLElement}function Jt(i){return typeof ShadowRoot<"u"&&(i instanceof Se(i).ShadowRoot||i instanceof ShadowRoot)}const ei={name:"applyStyles",enabled:!0,phase:"write",fn:function(i){var e=i.state;Object.keys(e.elements).forEach(function(t){var n=e.styles[t]||{},l=e.attributes[t]||{},u=e.elements[t];De(u)&&Fe(u)&&(Object.assign(u.style,n),Object.keys(l).forEach(function(g){var _=l[g];!1===_?u.removeAttribute(g):u.setAttribute(g,!0===_?"":_)}))})},effect:function(i){var e=i.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEac
vendor: 4,175 bytes, line 1
1h(function(n){var l=e.elements[n],u=e.attributes[n]||{},g=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:t[n]).reduce(function(_,v){return _[v]="",_},{});De(l)&&Fe(l)&&(Object.assign(l.style,g),Object.keys(u).forEach(function(_){l.removeAttribute(_)}))})}},requires:["computeStyles"]};function Ue(i){return i.split("-")[0]}var nt=Math.max,Pt=Math.min,mt=Math.round;function ti(){var i=navigator.userAgentData;return null!=i&&i.brands&&Array.isArray(i.brands)?i.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Di(){return!/^((?!chrome|android).)*safari/i.test(ti())}function _t(i,e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var n=i.getBoundingClientRect(),l=1,u=1;e&&De(i)&&(l=i.offsetWidth>0&&mt(n.width)/i.offsetWidth||1,u=i.offsetHeight>0&&mt(n.height)/i.offsetHeight||1);var g=(it(i)?Se(i):window).visualViewport,_=!Di()&&t,v=(n.left+(_&&g?g.offsetLeft:0))/l,T=(n.top+(_&&g?g.offsetTop:0))/u,L=n.width/l,A=n.height/u;return{width:L,height:A,top:T,right:v+L,bottom:T+A,left:v,x:v,y:T}}function ii(i){var e=_t(i),t=i.offsetWidth,n=i.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:i.offsetLeft,y:i.offsetTop,width:t,height:n}}function Pi(i,e){var t=e.getRootNode&&e.getRootNode();if(i.contains(e))return!0;if(t&&Jt(t)){var n=e;do{if(n&&i.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function $e(i){return Se(i).getComputedStyle(i)}function Qn(i){return["table","td","th"].indexOf(Fe(i))>=0}function Xe(i){return((it(i)?i.ownerDocument:i.document)||window.document).documentElement}function Rt(i){return"html"===Fe(i)?i:i.assignedSlot||i.parentNode||(Jt(i)?i.host:null)||Xe(i)}function Ri(i){return De(i)&&"fixed"!==$e(i).position?i.offsetParent:null}function Ct(i){for(var e=Se(i),t=Ri(i);t&&Qn(t)&&"static"===$e(t).position;)t=Ri(t);return t&&("html"===Fe(t)||"body"===Fe(t)&&"static"===$e(t).position)?e:t||function(n){var l=/firefox/i.test(ti());if(/Trident/i.test(ti())&&De(n)&&"fixed"===$e(n).position)return null;var u=Rt(n);for(Jt(u)&&(u=u.host);De(u)&&["html","body"].indexOf(Fe(u))<0;){var g=$e(u);if("none"!==g.transform||"none"!==g.perspective||"paint"===g.contain||-1!==["transform","perspective"].indexOf(g.willChange)||l&&"filter"===g.willChange||l&&g.filter&&"none"!==g.filter)return u;u=u.parentNode}return null}(i)||e}function ni(i){return["top","bottom"].indexOf(i)>=0?"x":"y"}function At(i,e,t){return nt(i,Pt(e,t))}function Mi(i){return Object.assign({},{top:0,right:0,bottom:0,left:0},i)}function Ni(i,e){return e.reduce(function(t,n){return t[n]=i,t},{})}const Bi={name:"arrow",enabled:!0,phase:"main",fn:function(i){var e,Y,G,t=i.state,n=i.name,l=i.options,u=t.elements.arrow,g=t.modifiersData.popperOffsets,_=Ue(t.placement),v=ni(_),T=[ye,Te].indexOf(_)>=0?"height":"width";if(u&&g){var L=(G=t,Mi("number"!=typeof(Y="function"==typeof(Y=l.padding)?Y(Object.assign({},G.rects,{placement:G.placement})):Y)?Y:Ni(Y,ft))),A=ii(u),B="y"===v?we:ye,D="y"===v?Ee:Te,M=t.rects.reference[T]+t.rects.reference[v]-g[v]-t.rects.popper[T],P=g[v]-t.rects.reference[v],N=Ct(u),X=N?"y"===v?N.clientHeight||0:N.clientWidth||0:0,H=X/2-A[T]/2+(M/2-P/2),q=At(L[B],H,X-A[T]-L[D]);t.modifiersData[n]=((e={})[v]=q,e.centerOffset=q-H,e)}},effect:function(i){var e=i.state,t=i.options.element,n=void 0===t?"[data-popper-arrow]":t;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&Pi(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function bt(i){return i.split("-")[1]}var Zn={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ji(i){var e,t=i.popper,n=i.popperRect,l=i.placement,u=i.variation,g=i.offsets,_=i.position,v=i.gpuAcceleration,T=i.adaptive,L=i.roundOffsets,A=i.isFixed,B=g.x,D=void 0===B?0:B,M=g.y,P=void 0===M?0:M,N="function"==typeof L?L({x:D,y:P}):{x:D,y:P};D=N.x,P=N.y;var X=g.hasOwnProperty("x"),ie=g.hasOwnProperty("y"),F=ye,K=we,H=window;if(T){var q=Ct(t),Z="clientHeight",Y="clientWidth";q===Se(t)&&"static"!==$e(q=Xe(t)).position&&"absolute"===_&&(Z="scrollHeight",Y="scrollWidth"),(l===we||(l===ye||l===Te)&&u===pt)&&(K=Ee,P-=(A&&q===H&&H.visualVie
1wport?H.visualViewport.height:q[Z])-n.height,P*=v?1:-1),l!==ye&&(l!==we&&l!==Ee||u!==pt)||(F=Te,D-=(A&&q===H&&H.visualViewport?H.visualViewport.width:q[Y])-n.width,D*=v?1:-1)}var G,je,Ce,Re,se,ae=Object.assign({position:_},T&&Zn),Le=!0===L?(je={x:D,y:P},Ce=Se(t),Re=je.y,{x:mt(je.x*(se=Ce.devicePixelRatio||1))/se||0,y:mt(Re*se)/se||0}):{x:D,y:P};return D=Le.x,P=Le.y,Object.assign({},ae,v?((G={})[K]=ie?"0":"",G[F]=X?"0":"",G.transform=(H.devicePixelRatio||1)<=1?"translate("+D+"px, "+P+"px)":"translate3d("+D+"px, "+P+"px, 0)",G):((e={})[K]=ie?P+"px":"",e[F]=X?D+"px":"",e.transform="",e))}const oi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(i){var e=i.state,t=i.options,n=t.gpuAcceleration,l=void 0===n||n,u=t.adaptive,g=void 0===u||u,_=t.roundOffsets,v=void 0===_||_,T={placement:Ue(e.placement),variation:bt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:l,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,ji(Object.assign({},T,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:g,roundOffsets:v})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,ji(Object.assign({},T,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:v})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var Mt={passive:!0};const ri={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(i){var e=i.state,t=i.instance,n=i.options,l=n.scroll,u=void 0===l||l,g=n.resize,_=void 0===g||g,v=Se(e.elements.popper),T=[].concat(e.scrollParents.reference,e.scrollParents.popper);return u&&T.forEach(function(L){L.addEventListener("scroll",t.update,Mt)}),_&&v.addEventListener("resize",t.update,Mt),function(){u&&T.forEach(function(L){L.removeEventListener("scroll",t.update,Mt)}),_&&v.removeEventListener("resize",t.update,Mt)}},data:{}};var Gn={left:"right",right:"left",bottom:"top",top:"bottom"};function Nt(i){return i.replace(/left|right|bottom|top/g,function(e){return Gn[e]})}var Xn={start:"end",end:"start"};function Hi(i){return i.replace(/start|end/g,function(e){return Xn[e]})}function si(i){var e=Se(i);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ai(i){return _t(Xe(i)).left+si(i).scrollLeft}function li(i){var e=$e(i);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function Fi(i){return["html","body","#document"].indexOf(Fe(i))>=0?i.ownerDocument.body:De(i)&&li(i)?i:Fi(Rt(i))}function Ot(i,e){var t;void 0===e&&(e=[]);var n=Fi(i),l=n===(null==(t=i.ownerDocument)?void 0:t.body),u=Se(n),g=l?[u].concat(u.visualViewport||[],li(n)?n:[]):n,_=e.concat(g);return l?_:_.concat(Ot(Rt(g)))}function ci(i){return Object.assign({},i,{left:i.x,top:i.y,right:i.x+i.width,bottom:i.y+i.height})}function Ui(i,e,t){return e===Gt?ci(function(n,l){var u=Se(n),g=Xe(n),_=u.visualViewport,v=g.clientWidth,T=g.clientHeight,L=0,A=0;if(_){v=_.width,T=_.height;var B=Di();(B||!B&&"fixed"===l)&&(L=_.offsetLeft,A=_.offsetTop)}return{width:v,height:T,x:L+ai(n),y:A}}(i,t)):it(e)?((u=_t(n=e,!1,"fixed"===t)).top=u.top+n.clientTop,u.left=u.left+n.clientLeft,u.bottom=u.top+n.clientHeight,u.right=u.left+n.clientWidth,u.width=n.clientWidth,u.height=n.clientHeight,u.x=u.left,u.y=u.top,u):ci(function(n){var l,u=Xe(n),g=si(n),_=null==(l=n.ownerDocument)?void 0:l.body,v=nt(u.scrollWidth,u.clientWidth,_?_.scrollWidth:0,_?_.clientWidth:0),T=nt(u.scrollHeight,u.clientHeight,_?_.scrollHeight:0,_?_.clientHeight:0),L=-g.scrollLeft+ai(n),A=-g.scrollTop;return"rtl"===$e(_||u).direction&&(L+=nt(u.clientWidth,_?_.clientWidth:0)-v),{width:v,height:T,x:L,y:A}}(Xe(i)));var n,u}function Vi(i){var e,t=i.reference,n=i.element,l=i.placement,u=l?Ue(l):null,g=l?bt(l):null,_=t.x+t.width/2-n.width/2,v=t.y+t.height/2-n.height/2;switch(u){case we:e={x:_,y:t.y-n.height};break;case Ee:e={x:_,y:t.y+t.height};break;case Te:e={x:t.x+t.width,y:v};break;case ye:e={x:t.x-n.width,y:v};break;default:e={x:t.x,y:t.y}}var T=u?ni(u):null;if(null!=T){var L="y"===T?"height":"width";switch(g){case tt:e[T]=e[T]-(t[L]/2-n[L]/2);break;case pt:e[T]=e[T]+(t[L]/2-n[L]/2)}}return e}function vt(i,e){void 0===e&&(e={});var Ce,Pe,Re,se,ee,Ae,Me,Ve,qe,fe,n=e.placement,l=void 0===n?i.placement:n,u=e.strategy,g=void 0===u?i.strategy:u,_=e.boundary,v=void 0===_?wi:_,T=e.rootBoundary,L=void 0===T?Gt:T,A=e.elementContext,B=void 0===A?gt:A,D=e.altBoundary,M=void 0!==D&&D,P=e.padding,N=void 0===P?0:P,X=Mi("number"!=typeof N?N:Ni(N,ft)),F=i.rects.popper,K=i.elements[M?B===gt?yi:gt:B],H=(Ce=it(K)?K:K.contextElement||Xe(i.elements.popper),Re=L,se=g,Ve="clippingParents"===(Pe=v)?(Ae=Ot(Rt(ee=Ce)),it(Me=["absolute","fixed"].indexOf($e(ee).position)>=0&&De(ee)?Ct(ee):ee)?Ae.filter(function(Ye){return it(Ye)&&Pi(Ye,Me)&&"body"!==Fe(Ye)}):[]):[].concat(Pe),fe=(qe=[].concat(Ve,[Re])).reduce(function(ee,Ae){var Me=Ui(Ce,Ae,se);
1return ee.top=nt(Me.top,ee.top),ee.right=Pt(Me.right,ee.right),ee.bottom=Pt(Me.bottom,ee.bottom),ee.left=nt(Me.left,ee.left),ee},Ui(Ce,qe[0],se)),fe.width=fe.right-fe.left,fe.height=fe.bottom-fe.top,fe.x=fe.left,fe.y=fe.top,fe),q=_t(i.elements.reference),Z=Vi({reference:q,element:F,strategy:"absolute",placement:l}),Y=ci(Object.assign({},F,Z)),G=B===gt?Y:q,ae={top:H.top-G.top+X.top,bottom:G.bottom-H.bottom+X.bottom,left:H.left-G.left+X.left,right:G.right-H.right+X.right},Le=i.modifiersData.offset;if(B===gt&&Le){var je=Le[l];Object.keys(ae).forEach(function(Ce){var Pe=[Te,Ee].indexOf(Ce)>=0?1:-1,Re=[we,Ee].indexOf(Ce)>=0?"y":"x";ae[Ce]+=je[Re]*Pe})}return ae}const qi={name:"flip",enabled:!0,phase:"main",fn:function(i){var e=i.state,t=i.options,n=i.name;if(!e.modifiersData[n]._skip){for(var l=t.mainAxis,u=void 0===l||l,g=t.altAxis,_=void 0===g||g,v=t.fallbackPlacements,T=t.padding,L=t.boundary,A=t.rootBoundary,B=t.altBoundary,D=t.flipVariations,M=void 0===D||D,P=t.allowedAutoPlacements,N=e.options.placement,X=Ue(N),ie=v||(X!==N&&M?function(ee){if(Ue(ee)===Dt)return[];var Ae=Nt(ee);return[Hi(ee),Ae,Hi(Ae)]}(N):[Nt(N)]),F=[N].concat(ie).reduce(function(ee,Ae){return ee.concat(Ue(Ae)===Dt?function Yn(i,e){void 0===e&&(e={});var l=e.boundary,u=e.rootBoundary,g=e.padding,_=e.flipVariations,v=e.allowedAutoPlacements,T=void 0===v?Yt:v,L=bt(e.placement),A=L?_?Xt:Xt.filter(function(M){return bt(M)===L}):ft,B=A.filter(function(M){return T.indexOf(M)>=0});0===B.length&&(B=A);var D=B.reduce(function(M,P){return M[P]=vt(i,{placement:P,boundary:l,rootBoundary:u,padding:g})[Ue(P)],M},{});return Object.keys(D).sort(function(M,P){return D[M]-D[P]})}(e,{placement:Ae,boundary:L,rootBoundary:A,padding:T,flipVariations:M,allowedAutoPlacements:P}):Ae)},[]),K=e.rects.reference,H=e.rects.popper,q=new Map,Z=!0,Y=F[0],G=0;G<F.length;G++){var ae=F[G],Le=Ue(ae),je=bt(ae)===tt,Ce=[we,Ee].indexOf(Le)>=0,Pe=Ce?"width":"height",Re=vt(e,{placement:ae,boundary:L,rootBoundary:A,altBoundary:B,padding:T}),se=Ce?je?Te:ye:je?Ee:we;K[Pe]>H[Pe]&&(se=Nt(se));var Ve=Nt(se),qe=[];if(u&&qe.push(Re[Le]<=0),_&&qe.push(Re[se]<=0,Re[Ve]<=0),qe.every(function(ee){return ee})){Y=ae,Z=!1;break}q.set(ae,qe)}if(Z)for(var wt=function(ee){var Ae=F.find(function(Me){var Ye=q.get(Me);if(Ye)return Ye.slice(0,ee).every(function($t){return $t})});if(Ae)return Y=Ae,"break"},fe=M?3:1;fe>0&&"break"!==wt(fe);fe--);e.placement!==Y&&(e.modifiersData[n]._skip=!0,e.placement=Y,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Wi(i,e,t){return void 0===t&&(t={x:0,y:0}),{top:i.top-e.height-t.y,right:i.right-e.width+t.x,bottom:i.bottom-e.height+t.y,left:i.left-e.width-t.x}}function Ki(i){return[we,Te,Ee,ye].some(function(e){return i[e]>=0})}const $i={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(i){var e=i.state,t=i.name,n=e.rects.reference,l=e.rects.popper,u=e.modifiersData.preventOverflow,g=vt(e,{elementContext:"reference"}),_=vt(e,{altBoundary:!0}),v=Wi(g,n),T=Wi(_,l,u),L=Ki(v),A=Ki(T);e.modifiersData[t]={referenceClippingOffsets:v,popperEscapeOffsets:T,isReferenceHidden:L,hasPopperEscaped:A},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":L,"data-popper-escaped":A})}},zi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(i){var e=i.state,n=i.name,l=i.options.offset,u=void 0===l?[0,0]:l,g=Yt.reduce(function(L,A){return L[A]=(D=e.rects,M=u,P=Ue(
1B=A),N=[ye,we].indexOf(P)>=0?-1:1,ie=(ie=(X="function"==typeof M?M(Object.assign({},D,{placement:B})):M)[0])||0,F=((F=X[1])||0)*N,[ye,Te].indexOf(P)>=0?{x:F,y:ie}:{x:ie,y:F}),L;var B,D,M,P,N,X,ie,F},{}),_=g[e.placement],T=_.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=_.x,e.modifiersData.popperOffsets.y+=T),e.modifiersData[n]=g}},ui={name:"popperOffsets",enabled:!0,phase:"read",fn:function(i){var e=i.state;e.modifiersData[i.name]=Vi({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Qi={name:"preventOverflow",enabled:!0,phase:"main",fn:function(i){var vi,Kn,e=i.state,t=i.options,n=i.name,l=t.mainAxis,u=void 0===l||l,g=t.altAxis,_=void 0!==g&&g,B=t.tether,D=void 0===B||B,M=t.tetherOffset,P=void 0===M?0:M,N=vt(e,{boundary:t.boundary,rootBoundary:t.rootBoundary,padding:t.padding,altBoundary:t.altBoundary}),X=Ue(e.placement),ie=bt(e.placement),F=!ie,K=ni(X),H="x"===K?"y":"x",q=e.modifiersData.popperOffsets,Z=e.rects.reference,Y=e.rects.popper,G="function"==typeof P?P(Object.assign({},e.rects,{placement:e.placement})):P,ae="number"==typeof G?{mainAxis:G,altAxis:G}:Object.assign({mainAxis:0,altAxis:0},G),Le=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,je={x:0,y:0};if(q){if(u){var Ce,Pe="y"===K?we:ye,Re="y"===K?Ee:Te,se="y"===K?"height":"width",Ve=q[K],qe=Ve+N[Pe],wt=Ve-N[Re],fe=D?-Y[se]/2:0,ee=ie===tt?Z[se]:Y[se],Ae=ie===tt?-Y[se]:-Z[se],Me=e.elements.arrow,Ye=D&&Me?ii(Me):{width:0,height:0},$t=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Rn=$t[Pe],Mn=$t[Re],zt=At(0,Z[se],Ye[se]),Uo=F?Z[se]/2-fe-zt-Rn-ae.mainAxis:ee-zt-Rn-ae.mainAxis,Vo=F?-Z[se]/2+fe+zt+Mn+ae.mainAxis:Ae+zt+Mn+ae.mainAxis,_i=e.elements.arrow&&Ct(e.elements.arrow),qo=_i?"y"===K?_i.clientTop||0:_i.clientLeft||0:0,Nn=null!=(Ce=Le?.[K])?Ce:0,Wo=Ve+Vo-Nn,Bn=At(D?Pt(qe,Ve+Uo-Nn-qo):qe,Ve,D?nt(wt,Wo):wt);q[K]=Bn,je[K]=Bn-Ve}if(_){var jn,lt=q[H],Qt="y"===H?"height":"width",Hn=lt+N["x"===K?we:ye],Fn=lt-N["x"===K?Ee:Te],bi=-1!==[we,ye].indexOf(X),Un=null!=(jn=Le?.[H])?jn:0,Vn=bi?Hn:lt-Z[Qt]-Y[Qt]-Un+ae.altAxis,qn=bi?lt+Z[Qt]+Y[Qt]-Un-ae.altAxis:Fn,Wn=D&&bi?(Kn=At(Vn,lt,vi=qn))>vi?vi:Kn:At(D?Vn:Hn,lt,D?qn:Fn);q[H]=Wn,je[H]=Wn-lt}e.modifiersData[n]=je}},requiresIfExists:["offset"]};function Jn(i,e,t){void 0===t&&(t=!1);var n,l,A,B,D,M,u=De(e),g=De(e)&&(B=(A=e).getBoundingClientRect(),D=mt(B.width)/A.offsetWidth||1,M=mt(B.height)/A.offsetHeight||1,1!==D||1!==M),_=Xe(e),v=_t(i,g,t),T={scrollLeft:0,scrollTop:0},L={x:0,y:0};return(u||!u&&!t)&&(("body"!==Fe(e)||li(_))&&(T=(n=e)!==Se(n)&&De(n)?{scrollLeft:(l=n).scrollLeft,scrollTop:l.scrollTop}:si(n)),De(e)?((L=_t(e,!0)).x+=e.clientLeft,L.y+=e.clientTop):_&&(L.x=ai(_))),{x:v.left+T.scrollLeft-L.x,y:v.top+T.scrollTop-L.y,width:v.width,height:v.height}}function eo(i){var e=new Map,t=new Set,n=[];function l(u){t.add(u.name),[].concat(u.requires||[],u.requiresIfExists||[]).forEach(function(g){if(!t.has(g)){var _=e.get(g);_&&l(_)}}),n.push(u)}return i.forEach(function(u){e.set(u.name,u)}),i.forEach(function(u){t.has(u.name)||l(u)}),n}var Zi={placement:"bottom",modifiers:[],strategy:"absolute"};function Gi(){for(var i=arguments.length,e=new Array(i),t=0;t<i;t++)e[t]=arguments[t];return!e.some(function(n){return!(n&&"function"==typeof n.getBoundingClientRect)})}function Bt(i){void 0===i&&(i={});var t=i.defaultModifiers,n=void 0===t?[]:t,l=i.defaultOptions,u=void 0===l?Zi:l;return function(g,_,v){void 0===v&&(v=u);var T,L,A={placement:"bottom",orderedModifiers:[],options:Object.assign({},Zi,u),modifiersData:{},elements:{reference:g,popper:_},attributes:{},styles:{}},B=[],D=!1,M={state:A,setOptions:function(N){var X="function"==typeof N?N(A.options):N;P(),A.options=Object.assign({},u,A.options,X),A.scrollParents={reference:it(g)?Ot(g):g.contextElement?Ot(g.contextElement):[],popper:Ot(_)};var ie,F,H,q,K=(ie=[].concat(n,A.options.modifiers),F=ie.reduce(function(H,q){var Z=H[q.name];return H[q.name]=Z?Object.assign({},Z,q,{options:Object.assign({},Z.options,q.options),data:Object.assign({},Z.data,q.data)}):q,H},{}),H=Object.keys(F).map(function(H){return F[H]}),q=eo(H),Ii.reduce(function(Z,Y){return Z.concat(q.filter(function(G){return G.phase===Y}))},[]));return A.orderedModifiers=K.filter(function(H){return H.enabled}
vendor: 3,173 bytes, line 1
1),A.orderedModifiers.forEach(function(H){var Z=H.options,G=H.effect;if("function"==typeof G){var ae=G({state:A,name:H.name,instance:M,options:void 0===Z?{}:Z});B.push(ae||function(){})}}),M.update()},forceUpdate:function(){if(!D){var N=A.elements,X=N.reference,ie=N.popper;if(Gi(X,ie)){A.rects={reference:Jn(X,Ct(ie),"fixed"===A.options.strategy),popper:ii(ie)},A.reset=!1,A.placement=A.options.placement,A.orderedModifiers.forEach(function(G){return A.modifiersData[G.name]=Object.assign({},G.data)});for(var F=0;F<A.orderedModifiers.length;F++)if(!0!==A.reset){var K=A.orderedModifiers[F],H=K.fn,q=K.options;"function"==typeof H&&(A=H({state:A,options:void 0===q?{}:q,name:K.name,instance:M})||A)}else A.reset=!1,F=-1}}},update:(T=function(){return new Promise(function(N){M.forceUpdate(),N(A)})},function(){return L||(L=new Promise(function(N){Promise.resolve().then(function(){L=void 0,N(T())})})),L}),destroy:function(){P(),D=!0}};if(!Gi(g,_))return M;function P(){B.forEach(function(N){return N()}),B=[]}return M.setOptions(v).then(function(N){!D&&v.onFirstUpdate&&v.onFirstUpdate(N)}),M}}var to=Bt(),io=Bt({defaultModifiers:[ri,ui,oi,ei]}),hi=Bt({defaultModifiers:[ri,ui,oi,ei,zi,qi,Qi,Bi,$i]});const Xi=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Ti,afterRead:Oi,afterWrite:xi,applyStyles:ei,arrow:Bi,auto:Dt,basePlacements:ft,beforeMain:ki,beforeRead:Ci,beforeWrite:Si,bottom:Ee,clippingParents:wi,computeStyles:oi,createPopper:hi,createPopperBase:to,createPopperLite:io,detectOverflow:vt,end:pt,eventListeners:ri,flip:qi,hide:$i,left:ye,main:"main",modifierPhases:Ii,offset:zi,placements:Yt,popper:gt,popperGenerator:Bt,popperOffsets:ui,preventOverflow:Qi,read:"read",reference:yi,right:Te,start:tt,top:we,variationPlacements:Xt,viewport:Gt,write:"write"},Symbol.toStringTag,{value:"Module"})),Yi="dropdown",no="ArrowUp",Ji="ArrowDown",en="click.bs.dropdown.data-api",tn="keydown.bs.dropdown.data-api",kt="show",ot='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',oo=`${ot}.show`,jt=".dropdown-menu",ro=le()?"top-end":"top-start",so=le()?"top-start":"top-end",ao=le()?"bottom-end":"bottom-start",lo=le()?"bottom-start":"bottom-end",co=le()?"left-start":"right-start",uo=le()?"right-start":"left-start",ho={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},fo={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Be extends W{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=k.next(this._element,jt)[0]||k.prev(this._element,jt)[0]||k.findOne(jt,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return ho}static get DefaultType(){return fo}static get NAME(){return Yi}toggle(){return this._isShown()?this.hide():this.show()}show(){if(w(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!c.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".
1navbar-nav"))for(const t of[].concat(...document.body.children))c.on(t,"mouseover",j);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(kt),this._element.classList.add(kt),c.trigger(this._element,"shown.bs.dropdown",e)}}hide(){!w(this._element)&&this._isShown()&&this._completeHide({relatedTarget:this._element})}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!c.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))c.off(t,"mouseover",j);this._popper&&this._popper.destroy(),this._menu.classList.remove(kt),this._element.classList.remove(kt),this._element.setAttribute("aria-expanded","false"),x.removeDataAttribute(this._menu,"popper"),c.trigger(this._element,"hidden.bs.dropdown",e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!I(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Yi.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===Xi)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:I(this._config.reference)?e=C(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=hi(e,this._menu,t)}_isShown(){return this._menu.classList.contains(kt)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return co;if(e.classList.contains("dropstart"))return uo;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?so:ro:t?lo:ao}
vendor: 5,354 bytes, line 1
1_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(x.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...ce(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const n=k.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(l=>E(l));n.length&&V(n,t,e===Ji,!n.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=Be.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=k.find(oo);for(const n of t){const l=Be.getInstance(n);if(!l||!1===l._config.autoClose)continue;const u=e.composedPath(),g=u.includes(l._menu);if(u.includes(l._element)||"inside"===l._config.autoClose&&!g||"outside"===l._config.autoClose&&g||l._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const _={relatedTarget:l._element};"click"===e.type&&(_.clickEvent=e),l._completeHide(_)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,l=[no,Ji].includes(e.key);if(!l&&!n||t&&!n)return;e.preventDefault();const u=this.matches(ot)?this:k.prev(this,ot)[0]||k.next(this,ot)[0]||k.findOne(ot,e.delegateTarget.parentNode),g=Be.getOrCreateInstance(u);if(l)return e.stopPropagation(),g.show(),void g._selectMenuItem(e);g._isShown()&&(e.stopPropagation(),g.hide(),u.focus())}}c.on(document,tn,ot,Be.dataApiKeydownHandler),c.on(document,tn,jt,Be.dataApiKeydownHandler),c.on(document,en,Be.clearMenus),c.on(document,"keyup.bs.dropdown.data-api",Be.clearMenus),c.on(document,en,ot,function(i){i.preventDefault(),Be.getOrCreateInstance(this).toggle()}),te(Be);const on="mousedown.bs.backdrop",po={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},go={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class rn extends S{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return po}static get DefaultType(){return go}static get NAME(){return"backdrop"}show(e){if(!this._config.isVisible)return void ce(e);this._append();this._getElement().classList.add("show"),this._emulateAnimation(()=>{ce(e)})}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),ce(e)})):ce(e)}dispose(){this._isAppended&&(c.off(this._element,on),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=C(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),c.on(e,on,()=>{ce(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){oe(e,this._getElement(),this._config.isAnimated)}}const sn=".bs.focustrap",an="backward",mo={autofocus:!0,trapElement:null},_o={autofocus:"boolean",trapElement:"element"};class ln extends S{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return mo}static get DefaultType(){return _o}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),c.off(document,sn),c.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),c.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,c.off(document,sn))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const n=k.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===an?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?an:"forward")}}const cn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",un=".sticky-top",Ht="padding-right",hn="margin-right";class di{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Ht,t=>t+e),this._setElementAttributes(cn,Ht,t=>t+e),this._setElementAttributes(un,hn,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Ht),this._resetElementAttributes(cn,Ht),this._resetElementAttributes(un,hn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}
1_setElementAttributes(e,t,n){const l=this.getWidth();this._applyManipulationCallback(e,u=>{if(u!==this._element&&window.innerWidth>u.clientWidth+l)return;this._saveInitialAttribute(u,t);const g=window.getComputedStyle(u).getPropertyValue(t);u.style.setProperty(t,`${n(Number.parseFloat(g))}px`)})}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&x.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,n=>{const l=x.getDataAttribute(n,t);null!==l?(x.removeDataAttribute(n,t),n.style.setProperty(t,l)):n.style.removeProperty(t)})}_applyManipulationCallback(e,t){if(I(e))t(e);else for(const n of k.find(e,this._element))t(n)}}const dn=".bs.modal",fn="hidden.bs.modal",pn="show.bs.modal",gn="modal-open",fi="modal-static",bo={backdrop:!0,focus:!0,keyboard:!0},vo={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class rt extends W{constructor(e,t){super(e,t),this._dialog=k.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new di,this._addEventListeners()}static get Default(){return bo}static get DefaultType(){return vo}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||c.trigger(this._element,pn,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(gn),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){this._isShown&&!this._isTransitioning&&(c.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){c.off(window,dn),c.off(this._dialog,dn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new rn({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ln({trapElement:this._element})}_showElement(e){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 t=k.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,c.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){c.on(this._element,"keydown.dismiss.bs.modal",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),c.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),c.on(this._element,"mousedown.dismiss.bs.modal",e=>{c.one(this._element,"click.dismiss.bs.modal",t=>{this._element===e.target&&this._element===t.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(gn),this._resetAdjustments(),this._scrollBar.reset(),c.trigger(this._element,fn)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(c.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(fi)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(fi),this._queueCallback(()=>{this._element.classList.remove(fi),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;
1if(n&&!e){const l=le()?"paddingLeft":"paddingRight";this._element.style[l]=`${t}px`}if(!n&&e){const l=le()?"paddingRight":"paddingLeft";this._element.style[l]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const n=rt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}})}}c.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(i){const e=k.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&i.preventDefault(),c.one(e,pn,n=>{n.defaultPrevented||c.one(e,fn,()=>{E(this)&&this.focus()})});const t=k.findOne(".modal.show");t&&rt.getInstance(t).hide(),rt.getOrCreateInstance(e).toggle(this)}),J(rt),te(rt);const bn="showing",wn=".offcanvas.show",yn="hidePrevented.bs.offcanvas",Cn="hidden.bs.offcanvas",wo={backdrop:!0,keyboard:!0,scroll:!1},yo={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class ze extends W{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return wo}static get DefaultType(){return yo}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||c.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new di).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(bn),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(bn),c.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(c.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new di).reset(),c.trigger(this._element,Cn)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=!!this._config.backdrop;return new rn({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():c.trigger(this._element,yn)}:null})}_initializeFocusTrap(){return new ln({trapElement:this._element})}_addEventListeners(){c.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():c.trigger(this._element,yn))})}static jQueryInterface(e){return this.each(function(){const t=ze.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}c.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(i){const e=k.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),w(this))return;c.one(e,Cn,()=>{E(this)&&this.focus()});const t=k.findOne(wn);t&&t!==e&&ze.getInstance(t).hide(),ze.getOrCreateInstance(e).toggle(this)}),c.on(window,"load.bs.offcanvas.data-api",()=>{for(const i of k.find(wn))ze.getOrCreateInstance(i).show()}),c.on(window,"resize.bs.offcanvas",()=>{for(const i of k.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(i).position&&ze.getOrCreateInstance(i).hide()}),J(ze),te(ze);const An={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],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:[]},Co=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Ao=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Oo=(i,e)=>{const t=i.nodeName.toLowerCase();return e.includes(t)?!Co.has(t)||!!Ao.test(i.nodeValue):e.filter(n=>n instanceof RegExp).some(n=>n.test(t))},ko={allowList:An,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Eo={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},To={entry:"(string|element|function|null)",selector:"(string|element)"};class So extends S{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return ko}static get DefaultType(){return Eo}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>
vendor: 4,590 bytes, line 1
1this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[l,u]of Object.entries(this._config.content))this._setContent(e,u,l);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},To)}_setContent(e,t,n){const l=k.findOne(n,e);l&&((t=this._resolvePossibleFunction(t))?I(t)?this._putElementInTemplate(C(t),l):this._config.html?l.innerHTML=this._maybeSanitize(t):l.textContent=t:l.remove())}_maybeSanitize(e){return this._config.sanitize?function(t,n,l){if(!t.length)return t;if(l&&"function"==typeof l)return l(t);const u=(new window.DOMParser).parseFromString(t,"text/html"),g=[].concat(...u.body.querySelectorAll("*"));for(const _ of g){const v=_.nodeName.toLowerCase();if(!Object.keys(n).includes(v)){_.remove();continue}const T=[].concat(..._.attributes),L=[].concat(n["*"]||[],n[v]||[]);for(const A of T)Oo(A,L)||_.removeAttribute(A.nodeName)}return u.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return ce(e,[this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const Lo=new Set(["sanitize","allowList","sanitizeFn"]),pi="fade",Ft="show",kn="hide.bs.modal",Ut="hover",xo={AUTO:"auto",TOP:"top",RIGHT:le()?"left":"right",BOTTOM:"bottom",LEFT:le()?"right":"left"},Io={allowList:An,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"},Do={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 st extends W{constructor(e,t){if(void 0===Xi)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),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 Io}static get DefaultType(){return Do}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),c.off(this._element.closest(".modal"),kn,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 e=c.trigger(this._element,this.constructor.eventName("show")),t=(R(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:l}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(l.append(n),c.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(Ft),"ontouchstart"in document.documentElement)for(const u of[].concat(...document.body.children))c.on(u,"mouseover",j);this._queueCallback(()=>{c.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}
vendor: 5,340 bytes, line 1
1hide(){if(this._isShown()&&!c.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Ft),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))c.off(e,"mouseover",j);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),c.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(pi,Ft),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(l=>{do{l+=Math.floor(1e6*Math.random())}while(document.getElementById(l));return l})(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(pi),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new So({...this._config,content:e,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(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(pi)}_isShown(){return this.tip&&this.tip.classList.contains(Ft)}_createPopper(e){const t=ce(this._config.placement,[this,e,this._element]),n=xo[t.toUpperCase()];return hi(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return ce(e,[this._element])}_getPopperConfig(e){const t={placement:e,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:n=>{this._getTipElement().setAttribute("data-popper-placement",n.state.placement)}}]};return{...t,...ce(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)c.on(this._element,this.constructor.eventName("click"),this._config.selector,n=>{this._initializeOnDelegatedTarget(n).toggle()});else if("manual"!==t){const n=this.constructor.eventName(t===Ut?"mouseenter":"focusin"),l=this.constructor.eventName(t===Ut?"mouseleave":"focusout");c.on(this._element,n,this._config.selector,u=>{const g=this._initializeOnDelegatedTarget(u);g._activeTrigger["focusin"===u.type?"focus":Ut]=!0,g._enter()}),c.on(this._element,l,this._config.selector,u=>{const g=this._initializeOnDelegatedTarget(u);g._activeTrigger["focusout"===u.type?"focus":Ut]=g._element.contains(u.relatedTarget),g._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},c.on(this._element.closest(".modal"),kn,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),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(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=x.getDataAttributes(this._element);for(const n of Object.keys(t))Lo.has(n)&&delete t[n];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:C(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=st.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method n
1amed "${e}"`);t[e]()}})}}te(st);const Po={...st.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"},Ro={...st.DefaultType,content:"(null|string|element|function)"};class Vt extends st{static get Default(){return Po}static get DefaultType(){return Ro}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(e){return this.each(function(){const t=Vt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}te(Vt);const Tn="click.bs.scrollspy",Et="active",Mo={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},No={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Tt extends W{constructor(e,t){super(e,t),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 Mo}static get DefaultType(){return No}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=C(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(c.off(this._config.target,Tn),c.on(this._config.target,Tn,"[href]",e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,l=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:l,behavior:"smooth"});n.scrollTop=l}}))}_getNewObserver(){return new IntersectionObserver(t=>this._observerCallback(t),{root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin})}_observerCallback(e){const t=g=>this._targetLinks.get(`#${g.target.id}`),n=g=>{this._previousScrollData.visibleEntryTop=g.target.offsetTop,this._process(t(g))},l=(this._rootElement||document.documentElement).scrollTop,u=l>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=l;for(const g of e){if(!g.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(g));continue}const _=g.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(u&&_){if(n(g),!l)return}else u||_||n(g)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=k.find("[href]",this._config.target);for(const t of e){if(!t.hash||w(t))continue;const n=k.findOne(decodeURI(t.hash),this._element);E(n)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,n))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Et),this._activateParents(e),c.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))k.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(Et);else for(const t of k.parents(e,".nav, .list-group"))for(const n of k.prev(t,".nav-link, .nav-item > .nav-link, .list-group-item"))n.classList.add(Et)}_clearActiveClass(e){e.classList.remove(Et);const t=k.find("[href].active",e);for(const n of t)n.classList.remove(Et)}static jQueryInterface(e){return this.each(function(){const t=Tt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method n
1amed "${e}"`);t[e]()}})}}c.on(window,"load.bs.scrollspy.data-api",()=>{for(const i of k.find('[data-bs-spy="scroll"]'))Tt.getOrCreateInstance(i)}),te(Tt);const Bo="ArrowLeft",Ln="ArrowRight",jo="ArrowUp",xn="ArrowDown",qt="active",gi="show",Dn='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',mi=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${Dn}`;class at extends W{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),c.on(this._element,"keydown.bs.tab",t=>this._keydown(t)))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),n=t?c.trigger(t,"hide.bs.tab",{relatedTarget:e}):null;c.trigger(e,"show.bs.tab",{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(qt),this._activate(k.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),c.trigger(e,"shown.bs.tab",{relatedTarget:t})):e.classList.add(gi)},e,e.classList.contains("fade")))}_deactivate(e,t){e&&(e.classList.remove(qt),e.blur(),this._deactivate(k.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),c.trigger(e,"hidden.bs.tab",{relatedTarget:t})):e.classList.remove(gi)},e,e.classList.contains("fade")))}_keydown(e){if(![Bo,Ln,jo,xn].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[Ln,xn].includes(e.key),n=V(this._getChildren().filter(l=>!w(l)),e.target,t,!0);n&&(n.focus({preventScroll:!0}),at.getOrCreateInstance(n).show())}_getChildren(){return k.find(mi,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const n of t)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=k.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const n=this._getOuterElement(e);if(!n.classList.contains("dropdown"))return;const l=(u,g)=>{const _=k.findOne(u,n);_&&_.classList.toggle(g,t)};l(".dropdown-toggle",qt),l(".dropdown-menu",gi),n.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(qt)}_getInnerElement(e){return e.matches(mi)?e:k.findOne(mi,e)}
1_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each(function(){const t=at.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}c.on(document,"click.bs.tab",Dn,function(i){["A","AREA"].includes(this.tagName)&&i.preventDefault(),w(this)||at.getOrCreateInstance(this).show()}),c.on(window,"load.bs.tab",()=>{for(const i of k.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))at.getOrCreateInstance(i)}),te(at);const Wt="show",Kt="showing",Ho={animation:"boolean",autohide:"boolean",delay:"number"},Fo={animation:!0,autohide:!0,delay:5e3};class St extends W{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Fo}static get DefaultType(){return Ho}static get NAME(){return"toast"}show(){c.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(Wt,Kt),this._queueCallback(()=>{this._element.classList.remove(Kt),c.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(c.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(Kt),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(Kt,Wt),c.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Wt),super.dispose()}isShown(){return this._element.classList.contains(Wt)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){c.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),c.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),c.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),c.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=St.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return J(St),te(St),{Alert:ne,Button:$,Carousel:Ie,Collapse:dt,Dropdown:Be,Modal:rt,Offcanvas:ze,Popover:Vt,ScrollSpy:Tt,Tab:at,Toast:St,Tooltip:st}});var AF_URL_SCHEME="(https:\\/\\/)(([^\\.]+).)(.*\\/)(.*)",VALID_AF_URL_PARTS_LENGTH=5,GOOGLE_CLICK_ID="gclid",FACEBOOK_CLICK_ID="fbclid",GBRAID="gbraid",WBRAID="wbraid",ASSOCIATED_AD_KEYWORD="keyword",AF_KEYWORDS="af_keywords",AF_CUSTOM_EXCLUDE_PARAMS_KEYS=["pid","c","af_channel","af_ad","af_adset","deep_link_value","af_sub1","af_sub2","af_sub3","af_sub4","af_sub5"],GCLID_EXCLUDE_PARAMS_KEYS=["pid","c","af_channel","af_ad","af_adset","deep_link_value"],LOCAL_STORAGE_VALUES={SS_WEB_REFERRER:"ss_webReferrer"},isSkippedURL=function(b){var h=b.url,f=b.skipKeys;if(b=b.errorMsg,h){var O=h.toLowerCase();if(O)return(h=f.find(function(I){return O.includes(I.toLowerCase())}))&&console.debug(b,h),!!h}return!1},getGoogleClickIdParameters=function(s,h){var f=h[GOOGLE_CLICK_ID],b={};return f?(console.debug("This user comes from Google AdWords"),b[s]=f,(s=h[ASSOCIATED_AD_KEYWORD])&&(console.debug("There is a keyword associated with the ad"),b[AF_KEYWORDS]=s)):console.debug("This user comes from SRN or custom network"),b},stringifyParameters=function(){var s=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},h=Object.keys(s).reduce(function(f,b){return s[b]&&(f+="&".concat(b,"=").concat(s[b])),f},"");return console.debug("Generated OneLink parameters",h),h},getParameterValue=function(s){var h,f,b,O=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{keys:[],overrideValues:{},defaultValue:""};return null!=O&&O.keys&&Array.isArray(O.keys)||null!=O&&O.defaultValue?(b=void 0===(b=O.overrideValues)?{}:b,h=void 0===(h=O.defaultValue)?"":h,(f=(void 0===(f=O.keys)?[]:f).find(function(I){return!!s[I]}))&&(b[b=s[f]]||b)||h):(console.error("Parameter config structure is
1wrong",O),null)},isIOS=function(s){return/iphone|ipad|ipod/i.test(s&&s.toLowerCase())},isUACHSupported=function(){return"object"===(typeof navigator>"u"?"undefined":_typeof(navigator))&&"userAgentData"in navigator&&"getHighEntropyValues"in navigator.userAgentData&&!isIOS(navigator&&navigator.userAgent)},getQueryParamsAndSaveToLocalStorage=function(s){s||console.debug("website doesnt exist + ".concat(s));try{var h=new URL(s),f=new URLSearchParams(h.search),b=Array.from(f).reduce(function(E,j){var R=(j=_slicedToArray(j,2))[0];return j=j[1],_objectSpread2(_objectSpread2({},E),{},_defineProperty({},R,encodeURIComponent(j)))},{}),O=JSON.parse(localStorage.getItem("ss_incoming_params")||"[]"),I=(new Date).getTime()+72e5,C=_objectSpread2(_objectSpread2({},b),{},{af_ss_exp_at:I});O.unshift(C),localStorage.setItem("ss_incoming_params",JSON.stringify(O))}catch(E){console.debug("url isnt valid + ".concat(E))}},isValidUrl=function(s){try{return!!new URL(s)}catch{return!1}},getCurrentUrl=function(){return new URL(window.location.href)},getReferrerUrl=function(){var s=document.referrer;return s?new URL(s):null},isSameOrigin=function(s,h){return s.origin===h.origin},saveWebReferrer=function(){var s=getCurrentUrl(),h=getReferrerUrl();h&&isSameOrigin(s,h)?console.warn("You navigate from the same website"):localStorage.setItem(LOCAL_STORAGE_VALUES.SS_WEB_REFERRER,JSON.stringify(document.referrer))},removeExpiredLocalStorageItems=function(){var s=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Date.now(),h=JSON.parse(localStorage.getItem("ss_incoming_params")||"[]");localStorage.setItem("ss_incoming_params",JSON.stringify(h.filter(function(f){return s<f.af_ss_exp_at})))};function aggregateValuesFromParameters(){var s=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},h=[];return Object.values(s).forEach(function(f){f&&f.keys&&Array.isArray(f.keys)&&f.keys.forEach(function(b){return h.push(b)}),Array.isArray(f)&&f.forEach(function(b){Array.isArray(b?.keys)&&h.push.apply(h,_toConsumableArray(b.keys))})}),s.hasOwnProperty("googleClickIdKey")&&"string"==typeof s.googleClickIdKey&&h.push(GOOGLE_CLICK_ID),h}function getCurrentURLParams(s){var h={};return Object.keys(localStorage).includes("ss_incoming_params")?h=JSON.parse(localStorage.ss_incoming_params).find(function(f){return s.some(function(b){return b in f})})||{}:console.log("Key 'ss_incoming_params' not found in localStorage."),h}var isOneLinkURLValid=function(s){var h=null==(h=s||"")?void 0:h.toString().match(AF_URL_SCHEME);return!(!h||h?.length<VALID_AF_URL_PARTS_LENGTH)||(console.error("oneLinkURL is missing or not in the correct format, can't generate URL",s),!1)},isMSValid=function(){var s=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return!(null==s||!s.defaultValue)||(console.error("mediaSource is missing (default value was not supplied), can't generate URL",s),!1)},isSkipListsValid=function(f){var h=f.referrerSkipList;return f=void 0===(f=f.urlSkipList)?[]:f,!isSkippedURL({url:document.referrer,skipKeys:void 0===h?[]:h,errorMsg:"Generate url is skipped. HTTP referrer contains key:"})&&!isSkippedURL({url:document.URL,skipKeys:f,errorMsg:"Generate url is skipped. URL contains string:"})},extractCustomParams=function(s){var h=void 0===(h=s.afCustom)?[]:h,f=s.currentURLParams,b=void 0===f?{}:f,O=s.googleClickIdKey,I={};return Array.isArray(h)&&h.forEach(function(C){var E;null!=C&&C.paramKey&&(E=AF_CUSTOM_EXCLUDE_PARAMS_KEYS.find(function(w){return w===C?.paramKey}),C?.paramKey===O||E?console.debug("Custom parameter ParamKey can't override Google-Click-Id or AF Parameters keys",C):I[C.paramKey]=getParameterValue(b,C))}),I},validateAndMappedParams=function(){var s=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},h=2<arguments.length&&void 0!==arguments[2]&&arguments[2],f=(oe=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).mediaSource,b=oe.campaign,O=oe.channel,I=oe.ad,C=oe.adSet,E=oe.deepLinkValue,w=oe.afSub1,R=oe.afSub2,j=oe.afSub3,z=oe.afSub4,Q=oe.afSub5,Qe=oe.afCustom,le=oe.googleClickIdKey,te={};if(f){if(!(oe=getParameterValue(s,f)))return console.error("mediaSource was not found in the URL and default value was not supplied, can't generate URL",f),null;te[h?"af_media_source":"pid"]=oe}if(b){if(!(f=getParameterValue(s,b))&&h)return console.error("campaign was not found in the URL and default value was not supplied, can't generate URL",b),null;h?(te.af_campaign=f,te.af_campaign_id=f):te.c=f}O&&(te.af_channel=getParameterValue(s,O)),I&&(te.af_ad=getParameterValue(s,I)),C&&(te.af_adset=getParameterValue(s,C)),E&&(te.deep_link_value=getParameterValue(s,E)),[w,R,j,z,Q].forEac
1h(function(V,re){V&&(te["af_sub".concat(re+1)]=getParameterValue(s,V))}),le&&(GCLID_EXCLUDE_PARAMS_KEYS.find(function(V){return V===le})?console.debug("Google Click Id ParamKey can't override AF Parameters keys",le):(ce=getGoogleClickIdParameters(le,s),Object.keys(ce).forEach(function(V){te[V]=ce[V]})));var ce,oe=extractCustomParams({afCustom:Qe,currentURLParams:s,googleClickIdKey:le});return _objectSpread2(_objectSpread2({},te),oe)},isPlatformValid=function(s){return s?!!["smartcast","tizen","roku","webos","vidaa","playstation","android","ios","steam","quest","battlenet","epic","switch","xbox","nativepc"].includes(s.toLowerCase())||(console.error("platform need to be part of the known platforms supoorted"),!1):(console.error("platform is missing , can't generate URL",s),!1)};function getUserAgentData(){return new Promise(function(s){isUACHSupported()?navigator.userAgentData.getHighEntropyValues(["model","platformVersion"]).then(function(h){s({model:h.model,platformVersion:h.platformVersion})}).catch(function(){s()}):s()})}var createImpressionsLink=function(s){return s?new Promise(function(h){getUserAgentData().then(function(f){var b=new URL(s);b.hostname="impressions.onelink.me",f&&(b.searchParams.append("af_ch_model",encodeURIComponent(f.model)),b.searchParams.append("af_ch_os_version",encodeURIComponent(f.platformVersion))),h(b.href)}).catch(function(){h()})}):(console.debug("ClickURL is not valid"),null)};function getHexColorAfterValidation(s){return/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(s)?s:"#000"}function getParameterValueFromURL(s,h){return new URLSearchParams(s).get(h)}function updateFinalUrlWithForwardParameters(s,h,f){return h.reduce(function(b,O){var I=getParameterValueFromURL(f,O);return I?(console.debug("The URL contains forwarding parameter ".concat(O,".")),"".concat(b,"&").concat(O,"=").concat(encodeURIComponent(I))):b},s)}var processTrackingParameters=function(s){s=updateFinalUrlWithForwardParameters(s,[GOOGLE_CLICK_ID,FACEBOOK_CLICK_ID,GBRAID,WBRAID],window.location.search);var h=getParameterValueFromURL(window.location.search,GOOGLE_CLICK_ID),f=getParameterValueFromURL(window.location.search,GBRAID),b=getParameterValueFromURL(window.location.search,WBRAID);return(h||f||b)&&(h=getParameterValueFromURL(window.location.search,ASSOCIATED_AD_KEYWORD),f=getParameterValueFromURL(s,AF_KEYWORDS),h)&&!f?"".concat(s,"&").concat(AF_KEYWORDS,"=").concat(h):s};function QRCode(){var s,h,b="object"==(typeof global>"u"?"undefined":_typeof(global))&&global&&global.Object===Object&&global,O="object"==(typeof self>"u"?"undefined":_typeof(self))&&self&&self.Object===Object&&self,f=b||O||Function("return this")(),I=(O=(b="object"==(typeof exports>"u"?"undefined":_typeof(exports))&&exports&&!exports.nodeType&&exports)&&"object"==(typeof module>"u"?"undefined":_typeof(module))&&module&&!module.nodeType&&module,f.QRCode);function C(a,r,m){this.mode=w.MODE_8BIT_BYTE,this.data=a,this.parsedData=[];for(var d=0,p=this.data.length;d<p;d++){var c=[],o=this.data.charCodeAt(d);r?c[0]=o:65536<o?(c[0]=240|(1835008&o)>>>18,c[1]=128|(258048&o)>>>12,c[2]=128|(4032&o)>>>6,c[3]=128|63&o):2048<o?(c[0]=224|(61440&o)>>>12,c[1]=128|(4032&o)>>>6,c[2]=128|63&o):128<o?(c[0]=192|(1984&o)>>>6,c[1]=128|63&o):c[0]=o,this.parsedData.push(c)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),m||this.parsedData.length==this.data.length||(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function E(a,r){this.typeNumber=a,this.errorCorrectLevel=r,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}C.prototype={getLength:function(a){return this.parsedData.length},write:function(a){for(var r=0,m=this.parsedData.length;r<m;r++)a.put(this.parsedData[r],8)}},E.prototype={addData:function(a,r,m){a=new C(a,r,m),this.dataList.push(a),this.dataCache=null},isDark:function(a,r){if(a<0||this.moduleCount<=a||r<0||this.moduleCount<=r)throw new Error(a+","+r);return this.modules[a][r][0]},getEye:function(a,r){if(a<0||this.moduleCount<=a||r<0||this.moduleCount<=r)throw new Error(a+","+r);return(a=this.modules[a][r])[1]?(r="P"+a[1]+"_"+a[2],"A"==a[2]&&(r="A"+a[1]),{isDark:a[0],type:r}):null},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(a,r){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var m=0;m<this.moduleCount;m++){this.modules[m]=new Array(this.moduleCount);for(var d=0;d<this.moduleCount;d++)this.modules[m][d]=[]}this.setupPositionProbePattern(0,0,"TL"),this.setupPositionProbePattern(this.moduleCount-7,0,"BL"),this.setupPositionProbePattern(0,this.moduleCount-7,"TR"),this.setupPositionAdjustPattern("A"),this.setupTimingPattern(),this.setupTypeInfo(a,r),7<=this.typeNumber&&this.setupTypeNumber(a),null==this.dataCache&&(this.dataCache=E.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,r)},setupPositionProbePattern:function(a,r,m){for(var d=-1;d<=7;d++)if(!(a+d<=-1||this.moduleCount<=a+d))for(var p=-1;p<=7;p++)r+p<=-1||this.moduleCount<=r+p||(0<=d&&d<=6&&(0==p||6==p)||0<=p&&p<=6&&(0==d||6==d)||2<=d&&d<=4&&2<=p&&p<=4?(this.modules[a+d][r+p][0]=!0,this.modules[a+d][r+p][2]=m,this.modules[a+d][r+p][1]=-0==d||-0==p||6==d||6==p?"O":"I"):this.modules[a+d][r+p][0]=!1)},getBestMaskPattern:function(){for(var a=0,r=0,m=0;m<8;m++){this.makeImpl(!0,m);var d=V.getLostPoint(this);(0==m||d<a)&&(a=d,r=m)}return r},createMovieClip:function(a,r,m){var d=a.createEmptyMovieClip(r,m);this.make();for(var p=0;p<this.modules.length;p++)for(var c=+p,o=0;o<this.modules[p].length;o++){var y=+o;this.modules[p][o][0]&&(d.beginFill(0,100),d.moveTo(y,c),d.lineTo(1+y,c),d.lineTo(1+y,1+c),d.lineTo(y,1+c),d.endFill())}return d},setupTimingPattern:function(){for(var a=8;a<this.moduleCount-8;a++)null==this.modules[a][6][0]&&(this.modules[a][6][0]=a%2==0);for(var r=8;r<this.moduleCount-8;r++)null==this.modules[6][r][0]&&(this.modules[6][r][0]=r%2==0)},setupPositionAdjustPattern:function(a){for(var r=V.getPatternPosition(this.typeNumber),m=0;m<r.length;m++)for(var d=0;d<r.length;
1d++){var p=r[m],c=r[d];if(null==this.modules[p][c][0])for(var o=-2;o<=2;o++)for(var y=-2;y<=2;y++)-2==o||2==o||-2==y||2==y||0==o&&0==y?(this.modules[p+o][c+y][0]=!0,this.modules[p+o][c+y][2]=a,this.modules[p+o][c+y][1]=-2==o||-2==y||2==o||2==y?"O":"I"):this.modules[p+o][c+y][0]=!1}},setupTypeNumber:function(a){for(var r=V.getBCHTypeNumber(this.typeNumber),m=0;m<18;m++){var d=!a&&1==(r>>m&1);this.modules[Math.floor(m/3)][m%3+this.moduleCount-8-3][0]=d}for(m=0;m<18;m++)d=!a&&1==(r>>m&1),this.modules[m%3+this.moduleCount-8-3][Math.floor(m/3)][0]=d},setupTypeInfo:function(a,r){for(var m=V.getBCHTypeInfo(r|=this.errorCorrectLevel<<3),d=0;d<15;d++){var p=!a&&1==(m>>d&1);d<6?this.modules[d][8][0]=p:d<8?this.modules[d+1][8][0]=p:this.modules[this.moduleCount-15+d][8][0]=p}for(d=0;d<15;d++)p=!a&&1==(m>>d&1),d<8?this.modules[8][this.moduleCount-d-1][0]=p:d<9?this.modules[8][15-d-1+1][0]=p:this.modules[8][15-d-1][0]=p;this.modules[this.moduleCount-8][8][0]=!a},mapData:function(a,r){for(var m=-1,d=this.moduleCount-1,p=7,c=0,o=this.moduleCount-1;0<o;o-=2)for(6==o&&o--;;){for(var y,U,x=0;x<2;x++)null==this.modules[d][o-x][0]&&(y=!1,c<a.length&&(y=1==(a[c]>>>p&1)),U=V.getMask(r,d,o-x),this.modules[d][o-x][0]=y=U?!y:y,-1==--p)&&(c++,p=7);if((d+=m)<0||this.moduleCount<=d){d-=m,m=-m;break}}}},E.PAD0=236,E.PAD1=17,E.createData=function(a,r,m){for(var d=Oe.getRSBlocks(a,r),p=new yt,c=0;c<m.length;c++){var o=m[c];p.put(o.mode,4),p.put(o.getLength(),V.getLengthInBits(o.mode,a)),o.write(p)}var y=0;for(c=0;c<d.length;c++)y+=d[c].dataCount;if(p.getLengthInBits()>8*y)throw new Error("code length overflow. ("+p.getLengthInBits()+">"+8*y+")");for(p.getLengthInBits()+4<=8*y&&p.put(0,4);p.getLengthInBits()%8!=0;)p.putBit(!1);for(;!(p.getLengthInBits()>=8*y||(p.put(E.PAD0,8),p.getLengthInBits()>=8*y));)p.put(E.PAD1,8);return E.createBytes(p,d)},E.createBytes=function(a,r){for(var m=0,d=0,p=0,c=new Array(r.length),o=new Array(r.length),y=0;y<r.length;y++){var U=r[y].totalCount-(S=r[y].dataCount);d=Math.max(d,S),p=Math.max(p,U),c[y]=new Array(S);for(var x=0;x<c[y].length;x++)c[y][x]=255&a.buffer[x+m];m+=S;var S=V.getErrorCorrectPolynomial(U),W=new Ze(c[y],S.getLength()-1).mod(S);for(o[y]=new Array(S.getLength()-1),x=0;x<o[y].length;x++){var pe=x+W.getLength()-o[y].length;o[y][x]=0<=pe?W.get(pe):0}}var k=0;for(x=0;x<r.length;x++)k+=r[x].totalCount;var J=new Array(k),ne=0;for(x=0;x<d;x++)for(y=0;y<r.length;y++)x<c[y].length&&(J[ne++]=c[y][x]);for(x=0;x<p;x++)for(y=0;y<r.length;y++)x<o[y].length&&(J[ne++]=o[y][x]);return J};for(var w={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},R={L:1,M:0,Q:3,H:2},V={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(a){for(var r=a<<10;0<=V.getBCHDigit(r)-V.getBCHDigit(V.G15);)r^=V.G15<<V.getBCHDigit(r)-V.getBCHDigit(V.G15);return(a<<10|r)^V.G15_MASK},getBCHTypeNumber:function(a){for(var r=a<<12;0<=V.getBCHDigit(r)-V.getBCHDigit(V.G18);)r^=V.G18<<V.getBCHDigit(r)-V.getBCHDigit(V.G18);return a<<12|r},getBCHDigit:function(a){for(var r=0;0!=a;)r++,a>>>=1;return r},getPatternPosition:function(a){return V.PATTERN_POSITION_TABLE[a-1]},getMask:function(a,r,m){switch(a){case 0:return(r+m)%2==0;case 1:return r%2==0;case 2:return m%3==0;case 3:return(r+m)%3==0;case 4:return(Math.floor(r/2)+Math.floor(m/3))%2==0;case 5:return r*m%2+r*m%3==0;case 6:return(r*m%2+r*m%3)%2==0;case 7:return(r*m%3+(r+m)%2)%2==0;default:throw new Error("bad maskPattern:"+a)}},getErrorCorrectPolynomial:function(a){for(var r=new Ze([1],0),m=0;m<a;m++)r=r.multiply(new Ze([1,re.gexp(m)],0));return r},getLengthInBits:function(a,r){if(1<=r&&r<10)switch(a){case w.MODE_NUMBER:return 10;case w.MODE_ALPHA_NUM:return 9;
vendor: 6,408 bytes, line 1
1case w.MODE_8BIT_BYTE:case w.MODE_KANJI:return 8;default:throw new Error("mode:"+a)}else if(r<27)switch(a){case w.MODE_NUMBER:return 12;case w.MODE_ALPHA_NUM:return 11;case w.MODE_8BIT_BYTE:return 16;case w.MODE_KANJI:return 10;default:throw new Error("mode:"+a)}else{if(!(r<41))throw new Error("type:"+r);switch(a){case w.MODE_NUMBER:return 14;case w.MODE_ALPHA_NUM:return 13;case w.MODE_8BIT_BYTE:return 16;case w.MODE_KANJI:return 12;default:throw new Error("mode:"+a)}}},getLostPoint:function(a){for(var r=a.getModuleCount(),m=0,d=0;d<r;d++)for(var p=0;p<r;p++){for(var c=0,o=a.isDark(d,p),y=-1;y<=1;y++)if(!(d+y<0||r<=d+y))for(var U=-1;U<=1;U++)p+U<0||r<=p+U||0==y&&0==U||o==a.isDark(d+y,p+U)&&c++;5<c&&(m+=3+c-5)}for(d=0;d<r-1;d++)for(p=0;p<r-1;p++){var x=0;a.isDark(d,p)&&x++,a.isDark(d+1,p)&&x++,a.isDark(d,p+1)&&x++,a.isDark(d+1,p+1)&&x++,0!=x&&4!=x||(m+=3)}for(d=0;d<r;d++)for(p=0;p<r-6;p++)a.isDark(d,p)&&!a.isDark(d,p+1)&&a.isDark(d,p+2)&&a.isDark(d,p+3)&&a.isDark(d,p+4)&&!a.isDark(d,p+5)&&a.isDark(d,p+6)&&(m+=40);for(p=0;p<r;p++)for(d=0;d<r-6;d++)a.isDark(d,p)&&!a.isDark(d+1,p)&&a.isDark(d+2,p)&&a.isDark(d+3,p)&&a.isDark(d+4,p)&&!a.isDark(d+5,p)&&a.isDark(d+6,p)&&(m+=40);var S=0;for(p=0;p<r;p++)for(d=0;d<r;d++)a.isDark(d,p)&&S++;return m+Math.abs(100*S/r/r-50)/5*10}},re={glog:function(a){if(a<1)throw new Error("glog("+a+")");return re.LOG_TABLE[a]},gexp:function(a){for(;a<0;)a+=255;for(;256<=a;)a-=255;return re.EXP_TABLE[a]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},he=0;he<8;he++)re.EXP_TABLE[he]=1<<he;for(he=8;he<256;he++)re.EXP_TABLE[he]=re.EXP_TABLE[he-4]^re.EXP_TABLE[he-5]^re.EXP_TABLE[he-6]^re.EXP_TABLE[he-8];for(he=0;he<255;he++)re.LOG_TABLE[re.EXP_TABLE[he]]=he;function Ze(a,r){if(a.length==s)throw new Error(a.length+"/"+r);for(var m=0;m<a.length&&0==a[m];)m++;this.num=new Array(a.length-m+r);for(var d=0;d<a.length-m;d++)this.num[d]=a[d+m]}function Oe(a,r){this.totalCount=a,this.dataCount=r}function yt(){this.buffer=[],this.length=0}Ze.prototype={get:function(a){return this.num[a]},getLength:function(){return this.num.length},multiply:function(a){for(var r=new Array(this.getLength()+a.getLength()-1),m=0;m<this.getLength();m++)for(var d=0;d<a.getLength();d++)r[m+d]^=re.gexp(re.glog(this.get(m))+re.glog(a.get(d)));return new Ze(r,0)},mod:function(a){if(this.getLength()-a.getLength()<0)return this;for(var r=re.glog(this.get(0))-re.glog(a.get(0)),m=new Array(this.getLength()),d=0;d<this.getLength();d++)m[d]=this.get(d);for(d=0;d<a.getLength();d++)m[d]^=re.gexp(re.glog(a.get(d))+r);return new Ze(m,0).mod(a)}},Oe.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],Oe.getRSBlocks=function(a,r){var m=Oe.getRsBlockTable(a,r);if(m==s)throw new Error("bad rs block @ typeNumber:"+a+"/errorCorrectLevel:"+r);for(var d=m.length/3,p=[],c=0;c<d;c++)for(var o=m[3*c+0],y=m[3*c+1],U=m[3*c+2],x=0;x<o;x++)p.push(new Oe(y,U));return p},Oe.getRsBlockTable=function(a,r){switch(r){case R.L:return Oe.RS_BLOCK_TABLE[4*(a-1)+0];case R.M:return Oe.RS_BLOCK_TABLE[4*(a-1)+1];case R.Q:return Oe.RS_BLOCK_TABLE[4*(a-1)+2];case R.H:return Oe.RS_BLOCK_TABLE[4*(a-1)+3];default:return s}},yt.prototype={get:function(a){var r=Math.floor(a/8);return 1==(this.buffer[r]>>>7-a%8&1)},put:function(a,r){for(var m=0;m<r;m++)this.putBit(1==(a>>>r-m-1&1))},getLengthInBits:function(){return this.length},putBit:function(a){var r=Math.floor(this.length/8);this.buffer.length<=r&&this.buffer.push(0),a&&(this.buffer[r]|=128>>>this.length%8),this.length++}};var We=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,8
16,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function Lt(){var a=!1,r=navigator.userAgent;return/android/i.test(r)&&(a=!0,r=r.toString().match(/android ([0-9]\.[0-9])/i))&&r[1]?parseFloat(r[1]):a}var xt=typeof CanvasRenderingContext2D>"u"?(ct.prototype.draw=function(a){var r=this._htOption,m=this._el,d=a.getModuleCount(),p=Math.round(r.width/d),c=Math.round((r.height-r.titleHeight)/d),o=(c<=1&&(c=1),this._htOption.width=(p=p<=1?1:p)*d,this._htOption.height=c*d+r.titleHeight,this._htOption.quietZone=Math.round(this._htOption.quietZone),[]),ue="",y=Math.round(p*r.dotScale),U=Math.round(c*r.dotScale),x=(y<4&&(U=y=4),r.colorDark),S=r.colorLight;r.backgroundImage&&(r.autoColor?(r.colorDark="rgba(0, 0, 0, .6);filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#99000000', EndColorStr='#99000000');",r.colorLight="rgba(255, 255, 255, .7);filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#B2FFFFFF', EndColorStr='#B2FFFFFF');"):r.colorLight="rgba(0,0,0,0)",o.push($='<div style="display:inline-block; z-index:-10;position:absolute;"><img src="'+r.backgroundImage+'" widht="'+(r.width+2*r.quietZone)+'" height="'+(r.height+2*r.quietZone)+'" style="opacity:'+r.backgroundImageAlpha+";filter:alpha(opacity="+100*r.backgroundImageAlpha+'); "/></div>')),r.quietZone&&(ue="display:inline-block; width:"+(r.width+2*r.quietZone)+"px; height:"+(r.width+2*r.quietZone)+"px;background:"+r.quietZoneColor+"; text-align:center;"),o.push('<div style="font-size:0;'+ue+'">'),o.push('<table style="font-size:0;border:0;border-collapse:collapse; margin-top:'+r.quietZone+'px;" border="0" cellspacing="0" cellspadding="0" align="center" valign="middle">'),o.push('<tr height="'+r.titleHeight+'" align="center"><td style="border:0;border-collapse:collapse;margin:0;padding:0" colspan="'+d+'">'),r.title&&o.push('<div style="width:100%;margin-top:'+r.titleTop+"px;color:"+($=r.titleColor)+";font:"+(ue=r.titleFont)+";background:"+r.titleBackgroundColor+'">'+r.title+"</div>"),r.subTitle&&o.push('<div style="width:100%;margin-top:'+(r.subTitleTop-r.titleTop)+"px;color:"+r.subTitleColor+"; font:"+r.subTitleFont+'">'+r.subTitle+"</div>"),o.push("</td></tr>");for(var W=0;W<d;W++){o.push('<tr style="border:0; padding:0; margin:0;" height="7">');for(var pe=0;pe<d;pe++){var k=a.isDark(W,pe),J=a.getEye(W,pe);J?(k=J.isDark,J=r[J=J.type]||r[J.substring(0,2)]||x,o.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+p+"px;height:"+c+'px;"><span style="width:'+p+"px;height:"+c+"px;background-color:"+(k?J:S)+';display:inline-block"></span></td>')):(J=r.colorDark,6==W?(J=r.timing_H||r.timing||x,o.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+p+"px;height:"+c+"px;background-color:"+(k?J:S)+';"></td>')):6==pe?(J=r.timing_V||r.timing||x,o.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+p+"px;height:"+c+"px;background-color:"+(k?J:S)+';"></td>')):o.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+p+"px;height:"+c+'px;"><div style="display:inline-block;width:'+y+"px;height:"+U+"px;background-color:"+(k?J:r.colorLight)+';"></div></td>'))}o.push("</tr>")}o.push("</table>"),o.push("</div>"),r.logo&&($=new Image,null!=r.crossOrigin&&($.crossOrigin=r.crossOrigin),$.src=r.logo,(ue=r.width/3.5)!=($=r.height/3.5)&&(ue=$),r.logoWidth&&(ue=r.logoWidth),r.logoHeight&&($=r.logoHeight),ne="position:relative; z-index:1;display:table-cell;top:-"+((r.height-r.titleHeight)/2+$/2+r.quietZone)+"px;text-align:center; width:"+ue+"px; height:"+$+"px;line-height:"+ue+"px; vertical-align: middle;
1",r.logoBackgroundTransparent||(ne+="background:"+r.logoBackgroundColor),o.push('<div style="'+ne+'"><img src="'+r.logo+'" style="max-width: '+ue+"px; max-height: "+$+'px;" /> <div style=" display: none; width:1px;margin-left: -1px;"></div></div>')),r.onRenderingStart&&r.onRenderingStart(r),m.innerHTML=o.join("");var ne=m.childNodes[0],$=(r.height-ne.offsetHeight)/2;0<(ue=(r.width-ne.offsetWidth)/2)&&0<$&&(ne.style.margin=$+"px "+ue+"px"),this._htOption.onRenderingEnd&&this._htOption.onRenderingEnd(this._htOption,null)},ct.prototype.clear=function(){this._el.innerHTML=""},ct):function(){function a(){if("svg"==this._htOption.drawer){var p=this._oContext.getSerializedSvg(!0);this.dataURL=p,this._el.innerHTML=p}else try{var c=this._elCanvas.toDataURL("image/png");this.dataURL=c}catch(o){console.error(o)}this._htOption.onRenderingEnd&&(this.dataURL||console.error("Can not get base64 data, please check: 1. Published the page and image to the server 2. The image request support CORS 3. Configured `crossOrigin:'anonymous'` option"),this._htOption.onRenderingEnd(this._htOption,this.dataURL))}var r,m;function d(p,c){this._bIsPainted=!1,this._android=Lt(),this._el=p,this._htOption=c,"svg"==this._htOption.drawer?(this._oContext={},this._elCanvas={}):(this._elCanvas=document.createElement("canvas"),this._el.appendChild(this._elCanvas),this._oContext=this._elCanvas.getContext("2d")),this._bSupportDataURI=null,this.dataURL=null}return f._android&&f._android<=2.1&&(r=1/window.devicePixelRatio,m=CanvasRenderingContext2D.prototype.drawImage,CanvasRenderingContext2D.prototype.drawImage=function(p,c,o,y,U,x,S,W,pe){if("nodeName"in p&&/img/i.test(p.nodeName))for(var k=arguments.length-1;1<=k;k--)arguments[k]=arguments[k]*r;else void 0===W&&(arguments[1]*=r,arguments[2]*=r,arguments[3]*=r,arguments[4]*=r);m.apply(this,arguments)}),d.prototype.draw=function(p){var c,o=this._htOption,y=(o.title||o.subTitle||(o.height-=o.titleHeight,o.titleHeight=0),p.getModuleCount()),U=Math.round(o.width/y),x=Math.round((o.height-o.titleHeight)/y),S=(U<=1&&(U=1),x<=1&&(x=1),o.width=U*y,o.height=x*y+o.titleHeight,o.quietZone=Math.round(o.quietZone),this._elCanvas.width=o.width+2*o.quietZone,this._elCanvas.height=o.height+2*o.quietZone,"canvas"!=this._htOption.drawer&&(this._oContext=new C2S(this._elCanvas.width,this._elCanvas.height)),this.clear(),this._oContext),W=(S.lineWidth=0,S.fillStyle=o.colorLight,S.fillRect(0,0,this._elCanvas.width,this._elCanvas.height),this);function pe(){0<o.quietZone&&o.quietZoneColor&&(S.lineWidth=0,S.fillStyle=o.quietZoneColor,S.fillRect(0,0,W._elCanvas.width,o.quietZone),S.fillRect(0,o.quietZone,o.quietZone,W._elCanvas.height-2*o.quietZone),S.fillRect(W._elCanvas.width-o.quietZone,o.quietZone,o.quietZone,W._elCanvas.height-2*o.quietZone),S.fillRect(0,W._elCanvas.height-o.quietZone,W._elCanvas.width,o.quietZone))}function k(J){o.onRenderingStart&&o.onRenderingStart(o);for(var ne,ue,$=0;$<y;$++)for(var He=0;He<y;He++){var me,ke,Je=He*U+o.quietZone,Ge=$*x+o.quietZone,Ke=J.isDark($,He),_e=J.getEye($,He),Ne=o.dotScale;S.lineWidth=0,_e?(me=o[_e.type]||o[_e.type.substring(0,2)]||o.colorDark,ke=o.colorLight):o.backgroundImage?(ke="rgba(0,0,0,0)",6==$?o.autoColor?(me=o.timing_H||o.timing||o.autoColorDark,ke=o.autoColorLight):me=o.timing_H||o.timing||o.colorDark:6==He?o.autoColor?(me=o.timing_V||o.timing||o.autoColorDark,ke=o.autoColorLight):me=o.timing_V||o.timing||o.colorDark:o.autoColor?(me=o.autoColorDark,ke=o.autoColorLight):me=o.colorDark):(me=6==$?o.timing_H||o.timing||o.colorDark:6==He&&(o.timing_V||o.timing)||o.colorDark,ke=o.colorLight),S.strokeStyle=Ke?me:ke,S.fillStyle=Ke?me:ke,_e?(Ne="AO"==_e.type?o.dotScaleAO:"AI"==_e.type?o.dotScaleAI:1,o.backgroundImage&&o.autoColor?(me=("AO"==_e.type?o.AI:o.AO)||o.autoColorDark,ke=o.autoColorLight):me=("AO"==_e.type?o.AI:o.AO)||me):6==$?Ne=o.dotScaleTiming_H:6==He&&(Ne=o.dotScaleTiming_V),S.fillRect(Je+U*(1-Ne)/2,o.titleHeight+Ge+x*(1-Ne)/2,U*Ne,x*Ne),1==o.dotScale||_e||(S.strokeStyle=o.colorLight)}o.title&&(S.fillStyle=o.titleBackgroundColor,S.fillRect(0,0,this._elCanvas.width,o.titleHeight+o.quietZone),S.font=o.titleFont,S.fillStyle=o.titleColor,S.textAlign="center",S.fillText(o.title,this._elCanvas.width/2,+o.quietZone+o.titleTop)),o.subTitle&&(S.font=o.subTitleFont,S.fillStyle=o.subTitleColor,S.fillText(o.subTitle,this._elCanvas.width/2,+o.quietZone+o.subTitleTop)),o.logo?(ne=new Image,ue=this,ne.onload=function(){var xe,de,ge,ut,ht,Ie,be,ve,et;xe=ne,(de=Math.round(o.width/3.5))!==(ge=Math.round(o.height/3.5))&&(de=ge),o.logoMaxWidth?de=Math.round(o.logoMaxWidth):o.logoWidth&&(de=Math.round(o.logoWidth)),o.logoMaxHeight?ge=Math.round(o.logoMaxHeight):o.logoHeight&&(ge=Math.round(o.logoHeight)),ve=void 0===xe.naturalWi
1dth?(be=xe.width,xe.height):(be=xe.naturalWidth,xe.naturalHeight),(o.logoMaxWidth||o.logoMaxHeight)&&(o.logoMaxWidth&&be<=de&&(de=be),o.logoMaxHeight&&ve<=ge&&(ge=ve),be<=de)&&ve<=ge&&(de=be,ge=ve),ut=(o.width+2*o.quietZone-de)/2,ht=(o.height+o.titleHeight+2*o.quietZone-ge)/2,be*=Ie=Math.min(de/be,ge/ve),ve*=Ie,(o.logoMaxWidth||o.logoMaxHeight)&&(ut=(o.width+2*o.quietZone-(de=be))/2,ht=(o.height+o.titleHeight+2*o.quietZone-(ge=ve))/2),o.logoBackgroundTransparent||(S.fillStyle=o.logoBackgroundColor,S.fillRect(ut,ht,de,ge)),Ie=S.imageSmoothingQuality,et=S.imageSmoothingEnabled,S.imageSmoothingEnabled=!0,S.imageSmoothingQuality="high",S.drawImage(xe,ut+(de-be)/2,ht+(ge-ve)/2,be,ve),S.imageSmoothingEnabled=et,S.imageSmoothingQuality=Ie,pe(),ue._bIsPainted=!0,ue.makeImage()},ne.onerror=function(xe){console.error(xe)},null!=o.crossOrigin&&(ne.crossOrigin=o.crossOrigin),ne.originalSrc=o.logo,ne.src=o.logo):(pe(),this._bIsPainted=!0,this.makeImage())}o.backgroundImage?((c=new Image).onload=function(){S.globalAlpha=1,S.globalAlpha=o.backgroundImageAlpha;var J=S.imageSmoothingQuality,ne=S.imageSmoothingEnabled;S.imageSmoothingEnabled=!0,S.imageSmoothingQuality="high",S.drawImage(c,0,o.titleHeight,o.width+2*o.quietZone,o.height+2*o.quietZone-o.titleHeight),S.imageSmoothingEnabled=ne,S.imageSmoothingQuality=J,S.globalAlpha=1,k.call(W,p)},null!=o.crossOrigin&&(c.crossOrigin=o.crossOrigin),c.originalSrc=o.backgroundImage,c.src=o.backgroundImage):k.call(W,p)},d.prototype.makeImage=function(){this._bIsPainted&&function(p,c){var o=this;o._fFail=c,o._fSuccess=p,null===o._bSupportDataURI?((c=document.createElement("img")).onabort=p=function(){o._bSupportDataURI=!1,o._fFail&&o._fFail.call(o)},c.onerror=p,c.onload=function(){o._bSupportDataURI=!0,o._fSuccess&&o._fSuccess.call(o)},c.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="):!0===o._bSupportDataURI&&o._fSuccess?o._fSuccess.call(o):!1===o._bSupportDataURI&&o._fFail&&o._fFail.call(o)}.call(this,a)},d.prototype.isPainted=function(){return this._bIsPainted},d.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},d.prototype.remove=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1,this._el.innerHTML=""},d.prototype.round=function(p){return p&&Math.floor(1e3*p)/1e3},d}();function ct(a,r){this._el=a,this._htOption=r}(h=function(a,r){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:R.H,dotScale:1,dotScaleTiming:1,dotScaleTiming_H:s,dotScaleTiming_V:s,dotScaleA:1,dotScaleAO:s,dotScaleAI:s,quietZone:0,quietZoneColor:"rgba(0,0,0,0)",title:"",titleFont:"normal normal bold 16px Arial",titleColor:"#000000",titleBackgroundColor:"#ffffff",titleHeight:0,titleTop:30,subTitle:"",subTitleFont:"normal normal normal 14px Arial",subTitleColor:"#4F4F4F",subTitleTop:60,logo:s,logoWidth:s,logoHeight:s,logoMaxWidth:s,logoMaxHeight:s,logoBackgroundColor:"#ffffff",logoBackgroundTransparent:!1,PO:s,PI:s,PO_TL:s,PI_TL:s,PO_TR:s,PI_TR:s,PO_BL:s,PI_BL:s,AO:s,AI:s,timing:s,timing_H:s,timing_V:s,backgroundImage:s,backgroundImageAlpha:1,autoColor:!1,autoColorDark:"rgba(0, 0, 0, .6)",autoColorLight:"rgba(255, 255, 255, .7)",onRenderingStart:s,onRenderingEnd:s,version:0,tooltip:!1,binary:!1,drawer:"canvas",crossOrigin:null,utf8WithoutBOM:!0},r="string"==typeof r?{text:r}:r)for(var m in r)this._htOption[m]=r[m];(this._htOption.version<0||40<this._htOption.version)&&(console.warn("QR Code version '"+this._htOption.version+"' is invalidate, reset to 0"),this._htOption.version=0),(this._htOption.dotScale<0||1<this._htOption.dotScale)&&(console.warn(this._htOption.dotScale+" , is invalidate, dotScale must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScale=1),(this._htOption.dotScaleTiming<0||1<this._htOption.dotScaleTiming)&&(console.warn(this._htOption.dotScaleTiming+" , is invalidate, dotScaleTiming must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScaleTiming=1),this._htOption.dotScaleTiming_H?(this._htOption.dotScaleTiming_H<0||1<this._htOption.dotScaleTiming_H)&&(console.warn(this._htOption.dotScaleTiming_H+" , is invali
1date, dotScaleTiming_H must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScaleTiming_H=1):this._htOption.dotScaleTiming_H=this._htOption.dotScaleTiming,this._htOption.dotScaleTiming_V?(this._htOption.dotScaleTiming_V<0||1<this._htOption.dotScaleTiming_V)&&(console.warn(this._htOption.dotScaleTiming_V+" , is invalidate, dotScaleTiming_V must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScaleTiming_V=1):this._htOption.dotScaleTiming_V=this._htOption.dotScaleTiming,(this._htOption.dotScaleA<0||1<this._htOption.dotScaleA)&&(console.warn(this._htOption.dotScaleA+" , is invalidate, dotScaleA must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScaleA=1),this._htOption.dotScaleAO?(this._htOption.dotScaleAO<0||1<this._htOption.dotScaleAO)&&(console.warn(this._htOption.dotScaleAO+" , is invalidate, dotScaleAO must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScaleAO=1):this._htOption.dotScaleAO=this._htOption.dotScaleA,this._htOption.dotScaleAI?(this._htOption.dotScaleAI<0||1<this._htOption.dotScaleAI)&&(console.warn(this._htOption.dotScaleAI+" , is invalidate, dotScaleAI must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScaleAI=1):this._htOption.dotScaleAI=this._htOption.dotScaleA,(this._htOption.backgroundImageAlpha<0||1<this._htOption.backgroundImageAlpha)&&(console.warn(this._htOption.backgroundImageAlpha+" , is invalidate, backgroundImageAlpha must between 0 and 1, now reset to 1. "),this._htOption.backgroundImageAlpha=1),this._htOption.height=this._htOption.height+this._htOption.titleHeight,"string"==typeof a&&(a=document.getElementById(a)),this._htOption.drawer&&("svg"==this._htOption.drawer||"canvas"==this._htOption.drawer)||(this._htOption.drawer="canvas"),this._android=Lt(),this._el=a,this._oQRCode=null;var d={};for(m in this._htOption)d[m]=this._htOption[m];this._oDrawing=new xt(this._el,d),this._htOption.text&&this.makeCode(this._htOption.text)}).prototype.makeCode=function(a){this._oQRCode=new E(function It(a,r){for(var m,d=r.correctLevel,p=1,c=(m=encodeURI(a).toString().replace(/\%[0-9a-fA-F]{2}/g,"a")).length+(m.length!=a.length?3:0),o=0,y=We.length;o<y;o++){var U=0;switch(d){case R.L:U=We[o][0];break;case R.M:U=We[o][1];break;case R.Q:U=We[o][2];break;case R.H:U=We[o][3]}if(c<=U)break;p++}if(We.length<p)throw new Error("Too long data. the CorrectLevel."+["M","L","H","Q"][d]+" limit length is "+U);return 0!=r.version&&(p<=r.version?p=r.version:console.warn("QR Code version "+r.version+" too small, run version use "+p),r.runVersion=p),p}(a,this._htOption),this._htOption.correctLevel),this._oQRCode.addData(a,this._htOption.binary,this._htOption.utf8WithoutBOM),this._oQRCode.make(),this._htOption.tooltip&&(this._el.title=a),this._oDrawing.draw(this._oQRCode)},h.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||3<=this._android)&&this._oDrawing.makeImage()},h.prototype.clear=function(){this._oDrawing.remove()},h.prototype.resize=function(a,r){this._oDrawing._htOption.width=a,this._oDrawing._htOption.height=r,this._oDrawing.draw(this._oQRCode)},h.prototype.noConflict=function(){return f.QRCode===this&&(f.QRCode=I),h},h.CorrectLevel=R,"function"==typeof define&&(define.amd||define.cmd)?define([],function(){return h}):O?((O.exports=h).QRCode=h,b.QRCode=h):f.QRCode=h}var version="2.9.3",formatVersion=version.replace(/\./g,"_");QRCode(),removeExpiredLocalStorageItems(),getQueryParamsAndSaveToLocalStorage(window.location.href),saveWebReferrer(),window.AF_SMART_SCRIPT={generateOneLinkURL:function(){var s,h=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{afParameters:{}},f=h.oneLinkURL,b=(void 0===(b=h.afParameters)?{}:b).mediaSource,O=void 0===(O=h.referrerSkipList)?[]:O,I=void 0===(I=h.urlSkipList)?[]:I,C=h.webReferrer;return isOneLinkURLValid(f)&&isSkipListsValid({referrerSkipList:O,urlSkipList:I})&&isMSValid(b)&&(O=getCurrentURLParams(aggregateValuesFromParameters(h.afParameters)),I=validateAndMappedParams(h.afParameters,O))?(b=_objectSpread2
1({af_js_web:!0,af_ss_ver:window.AF_SMART_SCRIPT.version},I),s=f+stringifyParameters(b).replace("&","?"),h=JSON.parse(localStorage.getItem(LOCAL_STORAGE_VALUES.SS_WEB_REFERRER)),C&&h&&isValidUrl(h)&&(O="&".concat(C,"=").concat(h),s="".concat(s).concat(O)),s=processTrackingParameters(s),console.debug("Generated OneLink URL",s),window.AF_SMART_SCRIPT.displayQrCode=function(E){var w=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},R=void 0===(R=w.logo)?"":R,j=void 0===(j=w.codeColor)?"#000":j;return s?new QRCode(document.getElementById(E),{text:"".concat(s,"&af_ss_qr=").concat(w.logo||w.codeColor?"c":"true"," "),logo:R,colorDark:getHexColorAfterValidation(j),logoBackgroundTransparent:!0,crossOrigin:"anonymous",correctLevel:R?QRCode.CorrectLevel.Q:QRCode.CorrectLevel.L}):(console.debug("ClickURL is not valid"),null)},createImpressionsLink(s).then(function(E){E&&(window.AF_SMART_SCRIPT.fireImpressionsLink=function(){var w=new Image(1,1);w.style.display="none",w.style.position="absolute",w.style.left="-1px",w.style.top="-1px",w.src=E})}),{clickURL:s}):null},generateDirectClickURL:function(){var s,h=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{afParameters:{},referrerSkipList:[],urlSkipList:[]},f=void 0===(f=h.referrerSkipList)?[]:f,b=void 0===(b=h.urlSkipList)?[]:b,O=h.platform,I=h.app_id,C=h.redirectURL,E=(w=void 0===(w=h.afParameters)?{}:w).mediaSource,w=w.campaign;return E?w?I?C?(O=O?.toLowerCase(),isPlatformValid(O)?"string"!=typeof I?(console.error("app_id must be a string"),null):0!==(null==w||null==(s=w.keys)?void 0:s.length)||null!=w&&w.defaultValue?isSkipListsValid({referrerSkipList:f,urlSkipList:b})&&isMSValid(E)&&(s=getCurrentURLParams(aggregateValuesFromParameters(h.afParameters)),f=validateAndMappedParams(h.afParameters,s,!0))?(b=_objectSpread2({af_js_web:!0,af_ss_ver:window.AF_SMART_SCRIPT.version},f),h=stringifyParameters(b).replace("&","?"),s="https://engagements.appsflyer.com/v1.0/c2s/click/app/".concat(O),["ios","android"].includes(O)&&(s="https://app.appsflyer.com"),f="".concat(s,"/").concat(I).concat(h,"&af_r=").concat(encodeURIComponent(C)),["ios","android"].includes(O)&&(f=f.replace("af_media_source","pid").replace("af_campaign","c").replace("af_campaign_id","af_c_id")),f=processTrackingParameters(f),console.debug("generate Direct Click URL",f),delete window.AF_SMART_SCRIPT.displayQrCode,delete window.AF_SMART_SCRIPT.fireImpressionsLink,{clickURL:f}):null:(console.error("campaign is missing (default value was not supplied), can't generate URL",E),null):null):(console.error("redirectURL is missing , can't generate URL",C),null):(console.error("app_id is missing , can't generate URL",I),null):(console.error("campaign is missing , can't generate URL",w),null):(console.error("mediaSource is missing , can't generate URL",E),null)},version:formatVersion};var oneLinkURL="https://zoogvpn.onelink.me/OurL",mediaSource={keys:["utm_source"],defaultValue:"website"},campaign={keys:["utm_campaign"],defaultValue:"none"},channel={keys:["utm_medium"],defaultValue:"none"},ad={keys:["utm_ad"],defaultValue:"none"},adSet={keys:["utm_adset"],defaultValue:"none"},afSub1={keys:["ref"],defaultValue:"none"},afSub2={keys:["referralID"],defaultValue:"none"},afSub3={keys:["a_aid"],defaultValue:"none"},afSub4={keys:["fbc"],defaultValue:"none"},afSub5={keys:["fbp"],defaultValue:"none"},voluum_id={paramKey:"voluum_id",keys:["voluum_id"],defaultValue:"none"},custom_ss_ui={paramKey:"af_ss_ui",defaultValue:"true"},custom_ss_gtm_ui={paramKey:"af_ss_gtm_ui",defaultValue:"true"};AF_SMART_SCRIPT_RESULT=window.AF_SMART_SCRIPT.generateOneLinkURL({oneLinkURL,afParameters:{mediaSource,campaign,channel,ad,adSet,afSub1,afSub2,afSub3,afSub4,afSub5,afCustom:[voluum_id,custom_ss_ui,custom_ss_gtm_ui]}}),function(s,h){var f,b;"object"==typeof exports&&typeof module<"u"?module.exports=h():"function"==typeof define&&define.amd?define(h):(s=typeof globalThis<"u"?globalThis:s||self,f=s.Cookies,(b=s.Cookies=h()).noConflict=function(){return s.Cookies=f,b})}(this,function(){"use strict";function s(f){for(var b=1;b<arguments.length;b++){var O=arguments[b];for(var I in O)f[I]=O[I]}return f}var h=function f(b,O){function I(C,E,w){if(typeof document<"u"){"number"==typeof(w=s({},O,w)).expires&&(w.expires=new Date(Date.now()+864e5*w.expires)),w.expires&&(w.expires=w.expires.toUTCString()),C=encodeURIComponent(C).replace(/%(2[346B]|5E|60|7C)/g,decode
1URIComponent).replace(/[()]/g,escape);var R="";for(var j in w)w[j]&&(R+="; "+j,!0!==w[j]&&(R+="="+w[j].split(";")[0]));return document.cookie=C+"="+b.write(E,C)+R}}return Object.create({set:I,get:function(C){if(typeof document<"u"&&(!arguments.length||C)){for(var E=document.cookie?document.cookie.split("; "):[],w={},R=0;R<E.length;R++){var j=E[R].split("="),z=j.slice(1).join("=");try{var Q=decodeURIComponent(j[0]);if(w[Q]=b.read(z,Q),C===Q)break}catch{}}return C?w[C]:w}},remove:function(C,E){I(C,"",s({},E,{expires:-1}))},withAttributes:function(C){return f(this.converter,s({},this.attributes,C))},withConverter:function(C){return f(s({},this.converter,C),this.attributes)}},{attributes:{value:Object.freeze(O)},converter:{value:Object.freeze(b)}})}({read:function(f){return'"'===f[0]&&(f=f.slice(1,-1)),f.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(f){return encodeURIComponent(f).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});return h}),document.addEventListener("DOMContentLoaded",function(){const s=window.location.hostname.replace("app.",""),h="."+s.replace(/^www\./,""),f=365,b=new URLSearchParams(window.location.search);if(b.has("aff")){const z=parseInt(b.get("aff"));if(!isNaN(z)){Cookies.remove("connector_aff_id",{path:"",domain:h});const Q=Cookies.get("aff_id");(void 0===Q||parseInt(Q)!==z)&&Cookies.set("aff_id",z,{domain:h,expires:f})}}if(b.has("connector_aff")){const z=parseInt(b.get("connector_aff"));if(!isNaN(z)){Cookies.remove("aff_id",{path:"",domain:h});const Q=Cookies.get("connector_aff_id");(void 0===Q||parseInt(Q)!==z)&&Cookies.set("connector_aff_id",z,{domain:h,expires:f})}}if(b.has("promo_aff")){const z=b.get("promo_aff");if(z){const Q=Cookies.get("promo_aff");(void 0===Q||Q!==z)&&Cookies.set("promo_aff",z,{domain:h,expires:f})}}var O=null,I="none",C="none",E="none",w="none",R="none";if(window.location.search.indexOf("gclid=")>-1&&window.location.search.split("gclid=").length>1)I="google",R="cpc",(O=window.location.search.split("gclid=")[1]).split("&").length>1&&(O=O.split("&")[0]),O.split("GA1.2.").length>1&&(O=O.split("GA1.2.")[0]),window.location.search.indexOf("utm_campaign=")>-1&&window.location.search.split("utm_campaign=").length>1?(C=window.location.search.split("utm_campaign=")[1]).split("&").length>1&&(C=C.split("&")[0]):window.location.search.indexOf("campaignid=")>-1&&window.location.search.split("campaignid=").length>1&&(C=window.location.search.split("campaignid=")[1]).split("&").length>1&&(C=C.split("&")[0]),window.location.search.indexOf("utm_term=")>-1&&window.location.search.split("utm_term=").length>1?(E=window.location.search.split("utm_term=")[1]).split("&").length>1&&(E=E.split("&")[0]):window.location.search.indexOf("keyword=")>-1&&window.location.search.split("keyword=").length>1&&(E=window.location.search.split("keyword=")[1]).split("&").length>1&&(E=E.split("&")[0]),window.location.search.indexOf("utm_content=")>-1&&window.location.search.split("utm_content=").length>1&&(w=window.location.search.split("utm_content=")[1]).split("&").length>1&&(w=w.split("&")[0]);else if(window.location.search.indexOf("utm_source=")>-1&&window.location.search.split("utm_source=").length>1||window.location.search.indexOf("utm_medium=")>-1&&window.location.search.split("utm_medium=").length>1||window.location.search.indexOf("utm_campaign=")>-1&&window.location.search.split("utm_campaign=").length>1||window.location.search.indexOf("utm_term=")>-1&&window.location.search.split("utm_term=").length>1||window.location.search.indexOf("utm_content=")>-1&&window.location.search.split("utm_content=").length>1||window.location.search.indexOf("campaignid=")>-1&&window.location.search.split("campaignid=").length>1||window.location.search.indexOf("keyword=")>-1&&window.location.search.split("keyword=").length>1)window.location.search.indexOf("utm_source=")>-1&&window.location.search.split("utm_source=").length>1&&(I=window.location.search.split("utm_source=")[1]).split("&").length>1&&(I=I.split("&")[0]),window.location.search.indexOf("utm_medium=")>-1&&window.location.search.split("utm_medium=").length>1&&(R=window.location.search.split("utm_medium=")[1]).split("&").length>1&&(R=R.split("&")[0]),window.location.search.indexOf("utm_campaign=")>-1&&window.location.search.split("utm_campaign=").length>1?(C=window.location.search.split("utm_campaign=")[1]).split("&").length>1&&(C=C.split("&")[0]):window.location.search.indexOf("campaignid=")>-1&&window.location.search.split("campaignid=").length>1&&(C=window.location.search.split("campaignid=")[1]).split("&").length>1&&(C=C.split("&")[0]),window.location.search.indexOf("utm_term=")>-1&&window.location.search.split("utm_term=").length>1?(E=window.location.search.split("utm_term=")[1]).split("&").length>1&&(E=E.split("&")[0]):window.location.search.indexOf("keyword=")>-1&&window.location.search.split("keyword=").length>1&&(E=window.location.search.split("keyword=")[1]).split("&").length>1&&(E=E.split("&")[0]),window.location.search.indexOf("utm_content=")>-1&&window.location.search.split("utm_content=").length>1&&(w=window.location.search.split("utm_content=")[1]).split("&").length>1&&(w=w.split("&")[0]);else if(document.referrer&&document.referrer.length>1){var j=document.referrer;-1!==(j=j.replace(/(https?:\/\/)?(www.)?/i,"")).indexOf("/")&&(j=j.split("/")[0]);const z=["google.","bing.","yahoo.","duckduckgo.","yandex.","ya.","baidu."];z.forEach(Q=>{-1!==j.indexOf(Q)&&(j=Q.replace(".",""))}),R="referral",z.includes((I=j)+".")?R="organic":-1!==j.indexOf(s)&&(R="none",I="direct")}else I="direct";if((!Cookies.get("utm_source")||void 0===Cookies.get("utm_source")||void 0!==Cookies.get("utm_source")&&-1===document.referrer.indexOf(location.origin)&&-1===document.referrer.indexOf(s)&&"direct"!==I)&&(Cookies.set("gclid",O,{domain:h,expires:f}),localStorage.setItem("gclid",O),Cookies.set("utm_source",I,{domain:h,expires:f}),localStorage.setItem("utm_source",I),Cookies.set("utm_medium",R,{domain:h,expires:f}),localStorage.setItem("utm_medium",R),Cookies.set("utm_campaign",C,{domain:h,expires:f}),localStorage.setItem("utm_campaign",C),Cookies.set("utm_term",E,{domain:h,expires:f}),localStorage.setItem("utm_term",E),Cookies.set("utm_content",w,{domain:h,expires:f}),localStorage.setItem("utm_content",w)),document.referrer&&-1===document.referrer.indexOf(location.origin)&&document.referrer.split("/").length>2&&document.referrer.split("/")[2]&&-1===document.referrer.split("/")[2].indexOf("ranksonic.com")&&-1===document.referrer.split("/")[2].indexOf("rankactive.com")&&-1===document.referrer.split("/")[2].indexOf(s)&&Cookies.set("referrer",document.referrer,{domain:h,expires:f}),window.location.search.length>0){let z=window.location.search;if(z)for(let Q=1;Q<6&&(!Cookies.get("referrer_params_"+Q)||window.location.search!==Cookies.get("referrer_params_"+Q));Q++)if(!Cookies.get("referrer_params_"+Q)){Cookies.set("referrer_params_"+Q,z,{domain:h,expires:f});break}}},!1);
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.